:root {
    --bg-cream: #F5F4F0; 
    --green-dark: #40503C; 
    --green-light: #8BA67E; 
    --green-box: #E8EBE3;
    --text-dark: #222222;
    --text-gray: #444444;
    --text-purple: #745C7A;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

/* ==================================================== */
/* --- RESET GLOBAL E BASE --- */
/* ==================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    max-width: 100%; 
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-cream);
    color: var(--text-gray);
    line-height: 1.5;
    overflow-x: hidden;
}

.container { width: 90%; max-width: 1150px; margin: 0 auto; }
img { max-width: 100%; height: auto; }
em { font-style: italic; color: var(--green-light); }

/* ==================================================== */
/* --- HEADER IGUAL AO DA PÁGINA PRINCIPAL --- */
/* ==================================================== */
header { 
    background-color: var(--bg-cream); 
    padding: 15px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
    gap: 20px;
}

/* Lado Esquerdo: Logo */
.logo { 
    display: flex; 
    align-items: center; 
    flex: 0 0 auto;
}
.logo img { 
    height: 80px; 
    width: 80px;
    border-radius: 50%; 
    object-fit: cover;
} 

/* Centro: Menu */
.header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1; 
}

.site-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--green-dark);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

nav ul { 
    list-style: none; 
    display: flex; 
    gap: 25px; 
    align-items: center;
    justify-content: center;
} 

nav a { 
    text-decoration: none; 
    color: var(--text-dark); 
    font-size: 0.95rem; 
    font-weight: 600; 
    transition: all 0.3s;
    padding: 8px 18px; 
    border-radius: 8px; 
    white-space: nowrap; 
} 
nav a:hover { color: var(--green-dark); }

/* Link Ativo */
nav a.active-link {
    background-color: #B5C9AC; 
    color: var(--green-dark); 
}

nav a.btn-dark-header.active-link {
    background-color: var(--green-dark);
    color: white;
}

/* Lado Direito: Botão Escuro */
.desktop-only-btn {
    flex: 0 0 auto; 
}

.btn-dark-header { 
    background-color: var(--green-dark); 
    color: white; 
    padding: 12px 24px;
    border-radius: 8px; 
    font-size: 0.95rem; 
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
}
.btn-dark-header:hover { background-color: #2a3528; }

/* Menu Mobile (Hambúrguer) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001; 
}
.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--green-dark);
    transition: all 0.3s ease;
    border-radius: 3px;
}
.mobile-only-btn { display: none; }


/* ==================================================== */
/* --- FAQ HERO SECTION (TAMANHO EXATO DO TESTEMUNHO) - */
/* ==================================================== */
.faq-hero-section {
    position: relative;
    width: 100%;
    height: 700px; /* Igual ao testemunho */
    max-height: 80vh; /* Igual ao testemunho */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* TEXTO PARA A ESQUERDA */
    text-align: left; /* TEXTO PARA A ESQUERDA */
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../img/hero-background.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--green-dark); 
    margin-bottom: 0;
    padding-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

.faq-hero-content {
    position: relative;
    z-index: 2; 
    max-width: 600px; /* TEXTO MAIS CURTO PARA NÃO PEGAR NA FOTO */
    margin-top: -80px; /* Ajuste para subir o texto no desktop, igual ao testemunho */
    margin-left: 10%; /* MARGEM PARA A ESQUERDA */
}

.faq-main-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--green-dark); 
    margin-bottom: 20px;
    line-height: 1.1;
}

.faq-subtitle {
    font-size: 1.4rem;
    color: #FFFFFF; 
    font-weight: 500;
    margin: 0; /* REMOVIDO AUTO QUE CENTRALIZAVA */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4); 
}
.faq-subtitle em {
    color: #E8EBE3; 
}

/* ==================================================== */
/* --- FAQ CONTENT (ACORDEÃO MANTIDO) --- */
/* ==================================================== */
.faq-content-section {
    padding: 80px 0 100px 0;
    background-color: var(--bg-cream);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-category-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--green-dark);
    margin-bottom: 40px;
    border-bottom: 2px solid var(--green-light);
    padding-bottom: 15px;
    display: inline-block;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.faq-item {
    background-color: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.faq-item.active {
    border-color: var(--green-light);
    box-shadow: 0 6px 20px rgba(139, 166, 126, 0.12);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 22px 30px;
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: background-color 0.3s;
}
.faq-question:hover {
    background-color: #FAFAFA;
}
.faq-item.active .faq-question {
    color: var(--green-dark);
    background-color: rgba(139, 166, 126, 0.03);
}
.faq-icon {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--green-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--green-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #FFFFFF;
}
.faq-answer p {
    padding: 5px 30px 30px 30px;
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ==================================================== */
/* --- FOOTER SIMPLES PADRONIZADO --- */
/* ==================================================== */
.footer-simple { 
    background-color: var(--bg-cream); 
    text-align: center; 
    padding: 60px 0 40px 0; 
    border-top: 1px solid rgba(0,0,0,0.05);
}
.social-icons { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 35px; flex-wrap: wrap; }
.social-icons a img { width: 40px; height: auto; transition: transform 0.3s ease, opacity 0.3s; }
.social-icons a:hover img { transform: translateY(-3px); opacity: 0.8; }

.footer-logo { display: flex; justify-content: center; margin-bottom: 30px; }
.footer-logo img { width: 180px; height: auto; border-radius: 50%; box-shadow: 0 4px 15px rgba(0,0,0,0.06); object-fit: cover;}

.copyright { font-family: var(--font-sans); font-size: 0.95rem; color: var(--text-gray); font-weight: 500; letter-spacing: 0.5px;}


/* ========================================= */
/* --- MEDIA QUERIES --- */
/* ========================================= */

@media (max-width: 992px) {
    .hamburger { display: flex; }
    .desktop-only-btn { display: none; }
    .mobile-only-btn { display: block; margin-top: 20px; }

    .header-center {
        position: static;
        flex: none;
    }

    .site-title {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.1rem;
        display: block; 
        width: max-content;
        z-index: 10;
    }
    
    .desktop-nav {
        position: fixed; 
        top: 0; 
        right: -100%;
        width: 80%; 
        max-width: 300px; 
        height: 100vh;
        background-color: var(--bg-cream);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        padding-top: 100px; 
        transition: right 0.4s ease; 
        z-index: 999;
    }
    
    .desktop-nav.active { right: 0; }
    
    nav ul { flex-direction: column; align-items: center; gap: 25px; }
    nav a { font-size: 1.2rem; }

    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

@media (max-width: 768px) {
    /* Ajuste responsivo igual ao hero do testemunho no tablet */
    .faq-hero-section { 
        height: 500px; 
        align-items: center; 
        padding-top: 0; 
    }
    .faq-hero-content { 
        margin-top: -60px; 
        margin-left: 5%; /* AJUSTE PARA O MOBILE */
    }
}

@media (max-width: 480px) {
    /* Ajuste responsivo igual ao hero do testemunho no mobile pequeno */
    .faq-hero-section { height: 450px; } 
    .faq-hero-content { margin-top: -50px; } 

    .faq-main-title { font-size: 3.2rem; }
    .faq-subtitle { font-size: 1.1rem; padding: 0 10px; }
    .faq-category-title { font-size: 1.8rem; }
}