/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; scroll-behavior: smooth; }
body { background-color: #ffffff; overflow-x: hidden; }

/* NAVBAR */
.navbar {
    position: fixed; width: 100%; top: 0; z-index: 1000;
    height: 100px; display: flex; align-items: center;
    background-color: rgba(209, 209, 209, 0.65); 
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-container {
    display: flex; width: 100%; max-width: 100%; margin: 0 auto;
    align-items: center; padding: 0 2% 0 3%;
}

.brand-group { 
    display: flex; align-items: center; gap: 15px; 
    flex: 1; 
    justify-content: flex-start;
}
.logo img { height: 55px; }
.brand-title { color: #1a4a7c; font-weight: 800; font-size: 1.4rem; line-height: 1.1; display: block; }
.brand-subtitle { color: #444; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; display: block; }

/* MENU CENTRALIZADO ABSOLUTO */
.nav-menu { 
    flex: 2; 
    display: flex; 
    justify-content: center; 
}
.nav-menu ul { display: flex; list-style: none; gap: 40px; align-items: center; }

.nav-menu ul li a { 
    text-decoration: none; color: #222; font-weight: 700; font-size: 12px; 
    text-transform: uppercase; position: relative; padding: 10px 0; 
}

/* BARRINHA AZUL NO MENU PRINCIPAL */
.nav-menu ul li a::after { 
    content: ""; position: absolute; width: 0; height: 3px; bottom: 0; left: 50%; 
    background-color: #1a4a7c; transition: 0.3s ease-in-out; transform: translateX(-50%);
}
.nav-menu ul li a:hover::after { width: 100%; }

.navbar-spacer { flex: 1; }

/* DROPDOWNS (INSTITUCIONAL E SERVIÇOS) */
.dropdown-container { position: relative; }
.mini-menu-vertical {
    visibility: hidden; opacity: 0; position: absolute; top: 45px; left: 50%;
    transform: translateX(-50%) translateY(10px); width: 220px;
    background-color: rgba(209, 209, 209, 0.95); backdrop-filter: blur(10px);
    border-radius: 4px; box-shadow: 0px 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease; z-index: 1100;
}
.mini-menu-vertical.active { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); }
.linha-azul-topo { width: 100%; height: 3px; background-color: #1a4a7c; }

.sub-items-box { display: flex; flex-direction: column; padding: 10px 0; }
.zoom-item { color: #222 !important; text-decoration: none !important; font-size: 10px !important; font-weight: 700; text-align: center; padding: 12px; transition: transform 0.3s ease; display: block; }
.zoom-item:hover { transform: scale(1.1); }
.zoom-item::after { display: none !important; }





/* --- CONFIGURAÇÃO DA SEÇÃO --- */
.secao-contato-premium {
    background-color: #f2f4f7;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* --- TÍTULOS --- */
.header-contato {
    text-align: center;
    margin-bottom: 80px;
}

.fale-script {
    font-family: 'MontSerrat', sans-serif;
    font-size: 5rem;
    color: #062149d8;
    margin: 0;
    text-shadow: 0 0 15px rgba(53, 208, 255, 0);
}

.conosco-neon {
    font-family: 'Syncopate', sans-serif;
    font-size: 3rem;
    color: #0a1a2a;
    letter-spacing: 12px;
    margin-top: -25px;
    font-weight: 700;
}

.linha-contato {
    width: 80px;
    height: 4px;
    background: #00d4ff;
    margin: 20px auto;
    box-shadow: 0 0 10px #00d4ff;
}

/* --- LAYOUT --- */
.container-contato-main {
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 60px;
    margin-bottom: 80px;
}

.info-contato-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 25px;
}

.info-item i {
    font-size: 1.8rem;
    color: #505564;
    text-shadow: 0 0 15px rgba(0, 68, 255, 0.6);
}

.info-item p {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
}

.logo-contato-glow {
    width: 130px;
    margin-top: 30px;
    filter: drop-shadow(0 0 20px rgba(26, 74, 124, 0.4));
    transition: 0.5s;
}

.logo-contato-glow:hover {
    transform: scale(1.1);
}

/* --- FORMULÁRIO GLASSMORPHISM --- */
.formulario-glass {
    flex: 1.5;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    gap: 20px;
}

input, textarea {
    width: 100%;
    padding: 20px 25px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

input:focus, textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.3);
    transform: translateY(-5px) scale(1.01);
}

/* --- BOTÃO ENVIAR --- */
.btn-enviar-neon {
    background: #0a1a2a;
    color: #00d4ff;
    border: none;
    padding: 22px;
    border-radius: 18px;
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.btn-enviar-neon:hover {
    background: #00d4ff;
    color: #0a1a2a;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.7);
    transform: translateY(-8px);
}

/* --- MAPA PREMIUM --- */
.container-mapa-premium {
    width: 100%;
    max-width: 1200px;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 80px rgba(0,0,0,0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.glow-borda-mapa {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 4px solid #00d5ff00;
    border-radius: 50px;
    pointer-events: none;
    box-shadow: inset 0 0 40px rgba(0, 213, 255, 0);
    z-index: 5;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 900px) {
    .container-contato-main { flex-direction: column; }
    .input-group { flex-direction: column; }
    .info-contato-box { text-align: center; align-items: center; }
    .fale-script { font-size: 3.5rem; }
    .conosco-neon { font-size: 2.2rem; }
    .formulario-glass { padding: 40px; }
}






/* FOOTER */
.main-footer { background-color: #111; color: #fff; padding: 60px 10%; text-align: center; }
.footer-logo { height: 65px; margin-bottom: 25px; }
.footer-social { display: flex; justify-content: center; gap: 30px; margin-top: 30px; }
.social-link { font-size: 2.5rem; color: #fff; text-decoration: none; transition: all 0.3s ease; }
.social-link.insta:hover { color: #E4405F; transform: scale(1.2); }
.social-link.linkedin:hover { color: #0077B5; transform: scale(1.2); }

/* WHATSAPP */
.whatsapp-btn { 
    position: fixed; bottom: 30px; right: 30px; background: #25d366; color: #fff; 
    width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; 
    align-items: center; font-size: 32px; z-index: 2000; text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.whatsapp-btn:hover { transform: scale(1.2) rotate(10deg); background-color: #128c7e; }

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .navbar { height: auto; padding: 20px 0; position: relative; }
    .navbar-container { flex-direction: column; gap: 20px; padding: 0 5%; }
    .brand-group { text-align: center; justify-content: center; }
    .nav-menu { width: 100%; }
    .nav-menu ul { flex-direction: column; gap: 15px; width: 100%; }
    .navbar-spacer { display: none; }
    .hero-section { margin-top: 0; }
    .form-grid { grid-template-columns: 1fr; }
}




@media (max-width: 600px) {
    /* 1. MANTÉM SUA BARRA HOME (SEM MEXER EM NADA) */
    .navbar { height: auto !important; padding: 10px 0 !important; position: relative !important;background-color: #b6b6b67c !important; overflow: visible !important; }
    .navbar-container { flex-direction: column !important; }
    .nav-menu { width: 100% !important; display: block !important; overflow: visible !important; }
    .nav-menu ul { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 25px !important; width: 100% !important; padding: 15px 10px !important; justify-content: flex-start !important; }
    .nav-menu ul li { flex: 0 0 auto !important; white-space: nowrap !important; }

    /* 2. RESOLVENDO O TEXTO COMENDO (ESTILO APPLE) */
    html, body {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important; /* ISSO MATA A LINHA BRANCA */
    }

    /* Container Principal - Ele trava a largura e centraliza tudo */
    .wrapper-portal, .container-central, .caixa-item {
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important; /* Padding não empurra a largura */
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Ajuste do Texto para ele "respirar" sem quebrar ou sumir */
    h1, h2, .portal-header h1 {
        font-size: 1.6rem !important; /* Tamanho fixo seguro para iPhone SE/12 */
        line-height: 1.2 !important;
        white-space: normal !important; /* Permite quebrar linha se a palavra for muito grande */
        overflow-wrap: break-word !important; /* Quebra no meio da palavra se precisar */
        text-align: center !important;
    }

    p, span, .zoom-item {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        overflow-wrap: break-word !important;
    }

    /* 3. DROPDOWN (SUBMENUS) - Ajuste de visualização */
    .mini-menu-vertical {
        display: none !important;
        position: fixed !important;
        top: 140px !important;
        left: 5% !important;
        right: 5% !important;
        width: 90% !important; /* Ocupa a largura da tela com margem */
        transform: none !important;
        background-color: rgba(255, 255, 255, 0.959) !important;
        z-index: 99999 !important;
        border-radius: 12px !important;
    }

    .mini-menu-vertical.active { display: block !important; }

    /* 4. RODAPÉ E CONTATOS (FOTO QUE VOCÊ MANDOU) */
    .contato-info, footer {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important; /* Empilha ícone e texto */
        align-items: center !important;
       
    }
}

@media (min-width: 601px) and (max-width: 768px) {
    /* 1. SUA BARRA PRINCIPAL: Mantida exatamente como você montou */
    .navbar { 
        height: auto !important; 
        padding: 10px 0 !important; 
        position: relative !important; 
        background-color: #b6b6b646 !important; /* Corrigido apenas o erro de sintaxe 'color' */
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        overflow: visible !important; 
    }
    
    .navbar-container { 
        flex-direction: column !important; 
        gap: 10px !important; 
    }

    .nav-menu { 
        width: 100% !important; 
        display: block !important; 
        overflow: visible !important;
    }
    
    .nav-menu ul { 
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important; 
        gap: 25px !important; 
        width: 100% !important; 
        padding: 15px 10px !important;
        justify-content: flex-start !important;
        background: transparent !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .nav-menu ul::-webkit-scrollbar { display: none !important; }

    .nav-menu ul li { 
        flex: 0 0 auto !important; 
        white-space: nowrap !important; 
    }

    /* 2. SEUS SUBMENUS: Dropdown Flutuante */
    .mini-menu-vertical {
        display: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important; 
        top: 120px !important; 
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 250px !important;
        background-color: rgba(255, 255, 255, 0.575) !important;
        border-radius: 8px !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.3) !important;
        z-index: 999999 !important;
    }

    .mini-menu-vertical.active {
        display: block !important;
    }

    /* 3. COMPLEMENTO PARA NÃO CORTAR TEXTO E EVITAR LINHA BRANCA NESSA TELA */
    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden;
    }

    .wrapper-portal {
        width: 100%;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        padding: 120px 20px 50px 20px; /* Padding lateral para o texto não encostar na borda */
        box-sizing: border-box;
    }

    .portal-header h1 {
        font-size: 1.8rem;
        word-wrap: break-word;
        text-align: center;
    }

    /* Grid em 2 colunas para tablet, para o texto ter espaço */
    .grid-caixas-ouvidoria {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
    }

    .aba-consulta-longa {
        grid-column: span 2;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    /* 1. SUA BARRA PRINCIPAL: Mantida fiel ao seu modelo */
    .navbar { 
        height: auto !important; 
        padding: 10px 0 !important; 
        position: relative !important; 
        background-color: #b6b6b646 !important; 
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        overflow: visible !important; 
    }
    
    .navbar-container { 
        flex-direction: column !important; 
        gap: 10px !important; 
    }

    .nav-menu { 
        width: 100% !important; 
        display: block !important; 
        overflow: visible !important;
    }
    
    .nav-menu ul { 
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important; 
        gap: 25px !important; 
        width: 100% !important; 
        padding: 15px 20px !important;
        justify-content: flex-start !important;
        background: transparent !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .nav-menu ul::-webkit-scrollbar { display: none !important; }

    .nav-menu ul li { 
        flex: 0 0 auto !important; 
        white-space: nowrap !important; 
    }

    /* 2. SEUS SUBMENUS: Dropdown Flutuante (Fixed) */
    .mini-menu-vertical {
        display: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important; 
        top: 120px !important; 
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 280px !important; /* Ligeiramente maior para telas médias */
        background-color: rgba(255, 255, 255, 0.575) !important;
        border-radius: 8px !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.3) !important;
        z-index: 999999 !important;
    }

    .mini-menu-vertical.active {
        display: block !important;
    }

    /* 3. AJUSTES DE CONTEÚDO PARA NÃO CORTAR TEXTO */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .wrapper-portal {
        width: 100%;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        padding: 100px 40px 50px 40px; /* Mais respiro lateral */
        box-sizing: border-box;
    }

    .portal-header h1 {
        font-size: 2.2rem; /* Título maior para telas médias */
        max-width: 90%;
        margin: 0 auto 20px;
        text-align: center;
    }

    /* Grid em 3 colunas (Ideal para 769px a 992px) */
    .grid-caixas-ouvidoria {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        width: 100%;
    }

    /* A aba de consulta longa ocupa as 3 colunas embaixo para não esmagar o texto */
    .aba-consulta-longa {
        grid-column: span 3;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .caixa-item {
        padding: 25px;
    }
}


