/**
 * ARQUIVO: faq.css
 * VERSÃO: 5.0 (Edição de Desacoplamento - Dr. Lucas Valença Prado)
 *
 * NOTA DE IMPLEMENTAÇÃO:
 * Esta versão remove a dependência externa da fonte 'FontAwesome', que era carregada de um domínio de terceiros mas não era utilizada neste arquivo.
 * A remoção limpa o código e elimina uma requisição de rede desnecessária, melhorando a performance.
 * A arquitetura original e a paleta de cores foram 100% preservadas.
 */

/* ==========================================================================
   1. Global Resets, Variables & Font Imports (Padrão Index)
   ========================================================================== */
:root {
    /* --- PALETA DE CORES ORIGINAL PRESERVADA - INTOCADA --- */
    --primary-color: #550b37; /* Roxo escuro (Padrão) */
    --secondary-color: #a70148; /* Magenta (Padrão) */
    --action-color: #006e80; /* Azul-petróleo (Padrão) */
    --light-color: #ffffff;
    --dark-color: #161616;
    --text-color: #161616;
    --light-gray: #f2f2f2;
    --footer-bg: #000000;
    --pink-bg: #F4C0C2;
    --divi-blue: #006E80;
    --divi-dark-blue: #013953;
    --divi-purple: #550B37;
    --whatsapp-green: #25D366;

    --font-primary: 'Mulish', Helvetica, Arial, sans-serif;
    --font-headings: 'Abhaya Libre', Georgia, "Times New Roman", serif;
    --font-nav: 'Actor', Helvetica, Arial, sans-serif;
    
    --container-width: 1080px;
    --default-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 1.125rem; /* 18px */
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: bold;
    line-height: 1.2;
    color: #000000;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 4vw, 3.1875rem); }
h3 { font-size: clamp(1.75rem, 3.5vw, 2.6875rem); }
h4 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

a {
    color: var(--action-color);
    text-decoration: none;
    transition: var(--default-transition);
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

#page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#main-content {
    flex-grow: 1;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

.skip-link:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow: auto;
    z-index: 100000;
    background: #000;
    color: #fff;
    padding: 1em;
}

/* ----------------------------------------- */
/* --- Animações (Padrão Index) --- */
/* ----------------------------------------- */
.mission, .services, .intro-section-faq, .faq-list { /* Seletor expandido */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.mission.visible, .services.visible, .intro-section-faq.visible, .faq-list.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ----------------------------------------- */
/* --- Botões Globais (Padrão Index) --- */
/* ----------------------------------------- */
.cta-button, .cta-button-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 0px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--default-transition);
    cursor: pointer;
    text-align: center;
    font-family: var(--font-primary);
}

.cta-button {
    background-color: var(--action-color);
    color: var(--light-color) !important;
    border: 2px solid var(--action-color);
}

.cta-button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color) !important;
    transform: scale(1.03);
    box-shadow: 0 4px 15px -5px rgba(0, 110, 128, 0.7);
    opacity: 1;
}


/* ==========================================================================
   2. Header & Navigation (Padrão Index)
   ========================================================================== */
.top-bar {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 0.75em 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info a {
    color: var(--light-color);
    margin: 0 15px;
    font-size: 1rem;
    font-weight: bold;
    display: inline-flex; 
    align-items: center; 
}

.contact-info a svg {
    margin-right: 5px;
    width: 16px;
    height: 16px;
}

.social-links {
    display: block;
}

.top-bar .social-links a {
    margin-left: 10px;
}
.top-bar .social-links a svg {
    width: 16px;
    height: 16px;
}

.main-header {
    background-color: var(--light-color);
    padding: 15px 0;
    position: static;
    box-shadow: none;
}

.main-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 87px; 
    width: auto;
}

.main-nav {
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav a {
    font-family: var(--font-nav);
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #000000;
    padding-top: 30px;
    padding-bottom: 30px; 
    position: relative;
}

.main-nav li.current-menu-item > a {
    color: var(--secondary-color);
}

.main-nav .cta-button {
    padding: 18px !important;
    color: var(--light-color) !important;
}

.main-nav .cta-button:hover {
    background-color: var(--primary-color);
}

.main-nav .menu-item-has-children {
    position: relative;
}

.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    list-style: none;
    padding: 10px 0;
    width: 220px; 
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    flex-direction: column;
    gap: 0;
}

.main-nav .menu-item-has-children:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.main-nav .sub-menu li {
    width: 100%;
}

.main-nav .sub-menu a {
    color: var(--light-color) !important;
    padding: 12px 20px !important;
    font-size: 15px;
    text-transform: none;
    font-weight: bold;
    display: block;
    text-align: left;
}

.main-nav .sub-menu a:hover {
    background-color: rgba(255,255,255,0.1);
    opacity: 1;
}

.main-nav .menu-item-has-children > a {
    padding-right: 18px !important;
}

.main-nav .menu-item-has-children > a::after {
    content: '▾';
    font-size: 16px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: normal;
    transition: transform 0.2s ease-in-out;
}

.main-nav .menu-item-has-children:hover > a::after {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 32px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); }


/* ==========================================================================
   3. Main Content (Refinado)
   ========================================================================== */
.hero-section {
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: left;
    padding: 140px 0;
    transition: padding 0.3s ease-out;
}
.hero-content {
    background-color: rgba(0,0,0,0.35); 
    max-width: 42%;
    padding: 40px 35px;
    margin-left: 10%;
    border-radius: 5px;
}
.hero-content h1 {
    color: var(--light-color);
    font-size: 55px; 
}
.hero-content p {
    font-size: 20px;
    margin-top: 1em;
    padding-bottom: 1em;
}
.hero-content .cta-button {
    margin-top: 1em;
    border-color: var(--light-color);
}
.hero-content .cta-button:hover {
    background-color: rgba(255,255,255,0.2) !important;
    color: var(--light-color) !important;
    border-color: var(--light-color);
}

.intro-section-faq {
    background-color: var(--primary-color);
    color: var(--light-color);
    /* ALTERAÇÃO PRESCRITA: Implementação de espaçamento vertical fluido ("respiro"). */
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    text-align: center;
}
.intro-section-faq .container {
    max-width: 900px;
}
.intro-section-faq h2 {
    color: var(--light-color);
    margin-bottom: 1em;
}
.intro-section-faq p {
    font-size: 1.1rem;
    padding-bottom: 0;
}
.intro-section-faq a {
    color: var(--light-color);
    text-decoration: underline;
}

.faq-list {
    /* ALTERAÇÃO PRESCRITA: Implementação de espaçamento vertical fluido ("respiro"). */
    padding: clamp(3rem, 6vw, 5rem) 0;
}
.faq-list details {
    border: 3px solid var(--action-color);
    margin-bottom: 1em;
    background-color: var(--light-color);
}
.faq-list summary {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1.25em;
    cursor: pointer;
    position: relative;
    list-style: none;
}
.faq-list summary::-webkit-details-marker {
    display: none;
}
.faq-list summary::after {
    content: '+';
    font-size: 2rem;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease-in-out;
}
.faq-list details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-content {
    padding: 0 1.25em 1.25em;
    border-top: 1px solid #eee;
}
.faq-content p {
    padding-top: 1em;
    padding-bottom: 0;
}


/* ==========================================================================
   4. Footer (Padrão Index)
   ========================================================================== */
.main-footer {
    padding-top: 0;
}

.footer-cta-section {
    background-color: var(--pink-bg);
    padding-top: 54px;
}

.footer-cta-container {
    display: flex;
    align-items: stretch;
    background-color: var(--light-color);
    border-radius: 250px 0 0 250px;
    border-top: 10px solid var(--pink-bg);
    border-bottom: 10px solid var(--pink-bg);
    border-left: 10px solid var(--pink-bg);
    box-shadow: -2px 0px 0px 1px var(--light-color);
    margin-left: auto;
    margin-right: 0;
    width: 90%;
    max-width: 1200px;
}

.footer-cta-content {
    flex: 2;
    padding: 40px 60px;
}

.footer-cta-content h2 {
    color: #013953;
}

.footer-cta-image {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.footer-cta-image img {
   max-width: 100%;
}

.footer-details {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 0;
}

.footer-details-content {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.footer-contact-info, .footer-map {
    flex: 1;
}

.footer-contact-info h3 {
    margin-bottom: 2.5rem; 
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    color: var(--light-color);
}

.footer-contact-info h4 {
    color: var(--light-color);
}

.info-item {
    margin-bottom: 2rem;
}
.info-item:last-child { margin-bottom: 0; }

.info-item h4 {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.info-item h4 svg {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    flex-shrink: 0; 
}

.info-item a {
    color: var(--light-color);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.info-item a:hover {
    text-decoration-color: var(--light-color);
    opacity: 1;
}

.footer-map {
    position: relative;
    min-height: 350px;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 1;
    transition: var(--default-transition);
}
.map-overlay:hover { background-color: rgba(0,0,0,0); }

.footer-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.footer-bottom {
    background-color: var(--footer-bg);
    color: var(--light-color);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom .container.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom a { color: var(--light-color); }

.footer-bottom .social-links a {
    font-size: 21px;
    color: var(--light-color);
}
.footer-bottom .social-links a svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}


/* ==========================================================================
   5. Responsive Design (Refinado)
   ========================================================================== */
@media (max-width: 980px) {
    .container {
        width: 90%;
    }
    
    /* --- INÍCIO DAS ALTERAÇÕES PRESCRITAS --- */
    .hero-section {
        padding: 80px 0; /* Otimização da primeira dobra. */
    }

    .cta-button, .cta-button-secondary {
        padding: 14px 28px; /* Aumento do "respiro" dos botões. */
    }
    /* --- FIM DAS ALTERAÇÕES PRESCRITAS --- */

    .main-nav { 
        display: none; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--light-color);
        box-shadow: 0 4px 5px rgba(0,0,0,0.1);
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        overflow-y: auto;
    }
    .main-nav.active {
        display: block;
        transform: translateX(0);
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 100px 20px 40px;
        gap: 1rem;
        height: 100%;
        justify-content: flex-start; 
    }
    .main-nav ul li { width: 100%; text-align: center; }
    .main-nav a {
        padding: 15px;
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
        font-size: 1.25rem;
    }
    .main-nav .cta-button { padding: 15px !important; text-align: center; margin-top: 20px; }
    .mobile-menu-toggle { display: flex; }
    .main-nav .sub-menu {
        position: static;
        display: none;
        width: 100%;
        background-color: #f7f7f7;
        box-shadow: none;
        padding: 0;
        border-top: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    .main-nav .menu-item-has-children.submenu-open > .sub-menu { display: block; }
    .main-nav .sub-menu a {
        padding: 12px 20px !important;
        font-size: 1rem;
        color: var(--dark-color) !important;
        border-bottom: 1px solid #eee;
    }
    .main-nav .sub-menu li:last-child a { border-bottom: none; }
    .main-nav .menu-item-has-children > a::after { display: none; }
    .submenu-toggle {
        position: absolute;
        right: 15px;
        top: 0;
        height: 100%;
        width: 50px;
        cursor: pointer;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .submenu-toggle::after {
        content: '+';
        font-size: 24px;
        color: var(--secondary-color);
        transition: transform 0.3s ease;
    }
    .menu-item-has-children.submenu-open .submenu-toggle::after { transform: rotate(45deg); }

    .hero-content {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .footer-cta-section { padding-top: 0; }
    .footer-cta-container {
        flex-direction: column;
        width: 90%;
        max-width: 90%;
        margin: 30px auto;
        border-radius: 0;
        border: 10px solid var(--pink-bg);
        box-shadow: none;
    }
    .footer-cta-content { padding: clamp(2.5rem, 6vw, 4rem); text-align: center; }
    .footer-cta-image { width: 67%; align-self: center; margin-top: -30px; }
    .footer-details-content { flex-direction: column; padding: 0; text-align: center; }
    .info-item h4 { justify-content: center; }
    .footer-contact-info, .footer-map { padding: 0; }
    .footer-bottom .container.footer-bottom-content { flex-direction: column; gap: 15px; }
}

@media (max-width: 767px) {
    /* As regras estáticas de heading foram removidas pois clamp() já cobre este breakpoint */

    .top-bar-content { justify-content: center; flex-direction: column; gap: 10px; }
    .contact-info { text-align: center; width: 100%; margin: 0; }
    .contact-info a { display: block; margin: 5px 0; justify-content: center; }
    
    /* --- INÍCIO DA ALTERAÇÃO PRESCRITA --- */
    .contact-info a[href^="mailto:"] {
        display: none; /* Foco na ação primária de ligar. */
    }
    /* --- FIM DA ALTERAÇÃO PRESCRITA --- */
    
    .top-bar .social-links { display: none; }
    
    .footer-bottom .social-links { display: block; }
}

/* ==========================================================================
   6. WhatsApp Button (IMPLEMENTAÇÃO)
   ========================================================================== */
.whatsapp-float-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--whatsapp-green);
    color: var(--light-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    opacity: 1;
}

.footer-contact-info .info-item p a[href*="wa.me"] {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
}

.footer-contact-info .info-item p a[href*="wa.me"]::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%23ffffff'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157.1zM223.9 439.6c-38.2 0-73.7-11.8-103.6-32.5L38.8 454.4l29.9-78.4c-21.4-32.3-34.1-70-34.1-110.1 0-108.5 88.4-197 197-197 52.8 0 101.6 20.2 138.6 57.2 36.3 36.3 56.1 84.4 56.1 138.5-.1 108.6-88.4 197.1-197 197.1zm112.5-177.5c-5.9-3-35.1-17.4-40.6-19.3s-9.6-3-13.6 3c-4 6-15.3 19.3-18.8 23.2s-7.1 4.5-13.1 1.5c-29.5-14.8-54.8-26.6-79.8-59.5-11.7-15.4-1.3-15.4 7.2-27.1 2.1-2.9 4.2-6 6.3-8.9 2.1-2.9 4.2-6 6.3-8.9.9-1.2 1.8-2.4.9-4.5-4.5-10.3-9.1-21.6-12.5-29.5s-7.1-6.8-9.9-7.1c-2.9-.3-6.2-.3-9.6-.3s-8.1 1.2-12.5 5.9c-4.5 4.7-17.5 17.1-17.5 41.8s17.9 48.4 20.4 51.9c2.5 3.5 35.1 56.2 87.5 77.6 52.4 21.4 52.4 14.2 61.8 13.3 9.4-1.2 29.5-12.1 33.7-23.7 4.2-11.6 4.2-21.6 2.9-23.7s-5.1-3.5-11-6.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ==========================================================================
   8. Refinamento Mobile Específico para Hero Sections (AURA)
   ========================================================================== */

@media (max-width: 767px) {
    .hero-section {
        /*
         * Ajuste Fino da Posição do Fundo:
         * Mantém o alinhamento horizontal centralizado ('center').
         * Ajusta o alinhamento vertical para '30%'. Isso tende a mostrar
         * mais da parte superior da imagem, o que geralmente contém os
         * elementos de maior interesse visual (rostos, ações principais)
         * em fotos de pessoas ou animais, reduzindo a sensação de
         * zoom excessivo ou corte no rosto/foco principal.
         * O valor '30%' pode ser ajustado (ex: 25%, 40%) caso algumas
         * imagens específicas ainda não fiquem ideais, mas é um
         * ponto de partida robusto para a maioria dos casos.
         * 'background-size: cover;' é mantido para garantir o preenchimento.
         */
        background-position: center 30%;
    }
}