/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #343a40;
}

/* CORES DA EMPRESA:
   Azul Escuro Principal: #004F75 
   Verde Destaque/Ação: #80FF00
   Branco: #FFFFFF
*/

/* -------------------- CABEÇALHO (DESKTOP) -------------------- */
.header {
    background-color: #004F75; /* Azul Escuro Principal */
    color: white;
    padding: 0.75rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed !important;
    top: 0;
	width: 100%;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
}

/* Container de Navegação em Desktop */
.nav-content {
    display: flex;
    align-items: center;
}

/* Links da Navegação Principal */
.nav ul {
    list-style: none;
    display: flex;
}

.nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    display: block;
    transition: background-color 0.3s;
    border-radius: 5px;
    font-size: 0.95rem;
}

.nav ul li a:hover {
    background-color: #003650;
}

/* Botões de Ação (Central do Cliente e WhatsApp) em Desktop */
.header-action-buttons {
    display: flex;
    margin-left: 20px;
}

/* Botão Hamburger (Escondido por Padrão no Desktop) */
.menu-toggle {
    display: none; 
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    z-index: 1001; 
}

/* -------------------- BOTÕES GERAIS DO CABEÇALHO -------------------- */

.btn-cliente-header {
    background-color: #004F75 !important;
    border: 1px solid white;
    color: white !important;
    padding: 0.5rem 0.8rem !important;
    border-radius: 25px !important;
    font-weight: bold;
    margin-left: 10px;
    text-decoration: none;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
}

.btn-cliente-header .fas {
    margin-right: 5px;
}

.btn-cliente-header:hover {
    background-color: #003650 !important;
}

.btn-whatsapp-header {
    background-color: #25d366 !important;
    color: white !important;
    padding: 0.5rem 0.8rem !important;
    border-radius: 25px !important;
    font-weight: bold;
    margin-left: 10px;
    text-decoration: none;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
}

.btn-whatsapp-header:hover {
    background-color: #128c7e !important;
}

/* -------------------- ANIMAÇÕES -------------------- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { animation: fadeIn 1s ease-out forwards; }
.animate-fade-in-delay { animation: fadeIn 1s ease-out forwards; animation-delay: 0.3s; }
.animate-fade-in-delay-2 { animation: fadeIn 1s ease-out forwards; animation-delay: 0.6s; }
.animate-fade-in-delay-3 { animation: fadeIn 1s ease-out forwards; animation-delay: 0.9s; }

.hero-logo, .hero h1, .hero p, .hero .btn-principal { opacity: 0; }


/* -------------------- CONTEÚDO PRINCIPAL -------------------- */
.main-content section {
    padding: 4rem 5%;
}

h1, h2 {
    color: #004F75;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Seção Hero (Banner Impactante) */
.hero {
    text-align: center;
    background: linear-gradient(rgba(0, 79, 117, 0.85), rgba(0, 79, 117, 0.75)), url('logo-jrnet-400px-tiny.png') center/cover;
    color: white;
    padding: 10rem 5%;
	margin-top: 65px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 250px;
    margin-bottom: 2rem;
    height: auto;
    filter: drop-shadow(0 0 15px #80FF00);
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    max-width: 800px;
}

/* Botões de Ação Principal */
.btn-principal {
    background-color: #80FF00;
    color: #004F75;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-principal:hover {
    background-color: #66CC00;
}

.btn-principal .fab {
    margin-right: 8px;
    font-size: 1.2em;
}

/* -------------------- SEÇÃO PLANOS -------------------- */
.plans {
    background-color: white;
}

.plans-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 2rem;
}

.plan-card {
    flex: 0 1 300px;
    text-align: center;
    padding: 2rem;
    border: 2px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.plan-card h3 {
    font-size: 1.8rem;
    color: #004F75;
    margin-bottom: 0.5rem;
}

.speed {
    font-size: 3rem;
    font-weight: bold;
    color: #80FF00;
    margin-bottom: 1.5rem;
}

.speed span {
    font-size: 1rem;
    display: block;
    color: #343a40;
    font-weight: normal;
}

.features {
    text-align: left;
    margin-bottom: 1.5rem;
}

.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    margin-bottom: 0.5rem;
    color: #495057;
}

.features .fa-check-circle {
    color: #80FF00;
    margin-right: 8px;
}

.featured-plan {
    background-color: #f0fff0;
    border-color: #004F75;
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 79, 117, 0.3);
}

.featured-plan h3 {
    color: #003650;
}

.btn-plano {
    background-color: #004F75;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 15px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-plano:hover {
    background-color: #003650;
}

/* -------------------- SEÇÃO SOBRE NÓS -------------------- */
.about-us {
    background-color: #f1f1f1;
    padding: 5rem 5%;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-us h2 {
    color: #004F75;
    margin-bottom: 2rem;
}

.story-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #495057;
    text-align: justify;
}

.story-text p:last-child {
    font-weight: bold;
    color: #004F75;
    text-align: center;
}

.btn-principal-secundario {
    display: inline-block;
    background-color: #004F75;
    color: white;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 2rem;
}

.btn-principal-secundario:hover {
    background-color: #003650;
}

/* -------------------- SEÇÃO FAQ (Perguntas Frequentes) -------------------- */
.faq {
    background-color: white;
    padding: 4rem 5%;
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto 0 auto;
}

.faq-contact-info {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding: 25px;
    background-color: #e9fff0;
    border: 1px solid #80FF00;
    border-radius: 8px;
    text-align: center;
}

.faq-contact-info h3 {
    color: #004F75;
    margin-bottom: 15px;
}

.faq-contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #343a40;
}

.faq-contact-info p i {
    color: #004F75;
    margin-right: 8px;
}

.faq-contact-info .btn-principal {
    margin-top: 20px;
    padding: 10px 30px;
}

.faq-item {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 10px;
}

.faq-item summary {
    display: block;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #004F75;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\25B6';
    position: absolute;
    right: 20px;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    content: '\25BC';
}

.faq-item p {
    padding: 15px 20px 20px 20px;
    margin: 0;
    border-top: 1px solid #e9ecef;
    background-color: #fff;
    font-size: 0.95rem;
}

.faq-item a {
    color: #004F75;
    text-decoration: none;
}

/* -------------------- RODAPÉ -------------------- */
.footer {
    background-color: #004F75;
    color: white;
    padding: 2rem 5%;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-info, .footer-hours, .footer-links {
    flex: 1 1 auto;
    min-width: 200px;
}

.footer-info p {
    margin: 5px 0;
    text-align: left;
}

.footer-phone {
    font-size: 1rem;
    font-weight: bold;
    color: #80FF00;
    margin-top: 10px;
}

.footer-hours h4 {
    color: white;
    margin-bottom: 10px;
}

.footer-hours ul {
    list-style: none;
    padding: 0;
}

.footer-hours li {
    margin-bottom: 5px;
}

.footer-links {
    text-align: right;
}

.footer-links a {
    color: #80FF00;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
}


/* -------------------- MEDIA QUERIES (Responsividade) -------------------- */

/* Telas médias (Ajuste de Botões no Cabeçalho e Planos) */
@media (max-width: 1200px) {
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav ul li {
        margin: 5px 0;
    }
    .btn-cliente-header, .btn-whatsapp-header {
        margin-left: 5px;
        margin-right: 5px;
    }
}

/* Telas pequenas (Celulares) - A partir daqui tudo é empilhado */
@media (max-width: 900px) {
    /* 1. Faz o Cabeçalho Mobile */
    .header {
        justify-content: space-between;
        padding: 0.75rem 5%;
        flex-wrap: wrap;
        position: relative;
    }

    /* 2. Mostra o botão Hamburger e Oculta Ações em Desktop */
    .menu-toggle {
        display: block !important;
    }
    .header-action-buttons {
        /* CRÍTICO: ESCONDE POR PADRÃO. Será redefinido para 'flex' na classe .nav-content.active */
        display: none; 
    }
    
    /* 3. Oculta e Estiliza o Conteúdo do Menu (Colapsável) */
    .nav-content {
        /* ... (max-height, overflow, transition, etc.) ... */
        display: flex; /* Mantenha o flex para que o JS possa controlar o max-height */
        flex-direction: column;
        width: 100%;
        background-color: #004F75;
        position: relative;
        left: 0;
        padding-bottom: 10px;
        max-height: 0; 
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    /* 4. Estado Ativo: O menu aparece (e empurra o banner) */
    .nav-content.active {
        max-height: 500px;
    }

    /* 5. Estilos para os Botões de Ação (dentro do nav-content) */
    /* *** CORREÇÃO AQUI ***: Garante que os botões sejam visíveis quando o menu estiver ativo */
    .nav-content.active .header-action-buttons {
        display: flex; /* OBRIGA os botões a aparecerem quando o menu está aberto */
        flex-direction: column;
        width: 90%;
        margin: 10px auto;
    }

    .btn-cliente-header, .btn-whatsapp-header {
        width: 100%;
        margin: 5px 0;
        justify-content: center;
        /* Não precisa do !important aqui, pois ele já tem display: inline-flex no padrão */
    }

    /* 6. Estilos da Lista de Navegação */
    .nav {
        width: 100%;
    }
    .nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .nav ul li {
        width: 90%;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav ul li:last-child {
        border-bottom: none;
    }
    .nav ul li a {
        padding: 10px 0;
    }

    /* Ajustes da Seção de Planos (Empilhamento) */
    .plans-container {
        flex-direction: column;
        align-items: center;
    }
    .plan-card, .featured-plan {
        width: 90%;
        max-width: 400px;
        transform: none;
        margin-bottom: 20px;
    }

    /* Ajustes no Rodapé (Centralização e Empilhamento) */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-info, .footer-hours, .footer-links {
        margin-bottom: 20px;
        min-width: 90%;
        text-align: center;
    }
    
    .footer-info p {
        text-align: center;
    }
    
    .footer-links a {
        display: block;
        margin: 5px 0;
    }
}