/* ==========================================================================
   1. VARIÁVEIS E RESET
   ========================================================================== */
:root {
    --color-fundo: #F5E9E6;      /* Nude Rosado */
    --color-secundaria: #C27A6A; /* Terracota */
    --color-apoio: #E2C7B6;      /* Areia Quente */
    --color-texto: #3E3E3E;      /* Grafite Suave */
    --color-cta: #8A3F4C;        /* Borgonha */
    --bg-white: #ffffff;
    
    /* Gradientes */
    --gradiente-hero: linear-gradient(105deg, var(--color-fundo) 0%, var(--color-secundaria) 100%);
    --gradiente-btn: linear-gradient(to right, var(--color-secundaria) 0%, var(--color-cta) 100%);
    --gradiente-global: linear-gradient(to bottom, #ffffff 0%, var(--color-fundo) 100%);

    --shadow: 0 10px 30px rgba(138, 63, 76, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--color-texto);
    line-height: 1.6;
    background: var(--gradiente-global);
    overflow-x: hidden; /* Evita rolagem lateral indesejada */
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--color-cta);
    margin-bottom: 1rem;
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. COMPONENTES (Botões e Títulos)
   ========================================================================== */

/* --- Botões Padrão --- */
.btn-primary, 
.btn-nav,
a.btn-primary,
a.btn-nav {
    display: inline-block;
    background: var(--gradiente-btn) !important; 
    color: #ffffff !important; /* Garante texto branco */
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(138, 63, 76, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    opacity: 1 !important;
    text-shadow: none !important;
}

.btn-primary:hover, 
.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 63, 76, 0.4) !important;
    color: #ffffff !important;
    opacity: 0.95;
}

.btn-nav {
    padding: 8px 20px; /* Ajuste específico para o menu */
    box-shadow: 0 4px 10px rgba(138, 63, 76, 0.2);
}

/* --- Botão Invertido (Para fundos escuros/rodapé) --- */
.btn-inverted,
a.btn-inverted {
    background: #ffffff !important;     /* Fundo Branco */
    color: var(--color-cta) !important; /* Texto Vinho */
    border: 2px solid #ffffff !important;
    box-shadow: none !important;
}

.btn-inverted:hover,
a.btn-inverted:hover {
    background: transparent !important; /* Fundo Transparente */
    color: #ffffff !important;          /* Texto Branco */
    border-color: #ffffff !important;   /* Borda Branca */
    transform: none;
}

/* --- Padronização de Títulos de Seção --- */
#sobre .section-title h3, 
#video-section .section-title h3, 
#como-funciona .section-title h3, 
#faq .section-title h3,
.pain-points .section-title h3 {
    color: var(--color-cta) !important;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: none;
    margin-bottom: 30px;
    text-shadow: none;
    position: relative;
}

/* Remove decorações antigas */
#sobre .section-title h3::after, 
#video-section .section-title h3::after, 
#como-funciona .section-title h3::after, 
#faq .section-title h3::after {
    display: none;
}

/* Parágrafos de apoio */
#sobre .section-title p, 
#video-section .section-title p, 
#como-funciona .section-title p, 
#faq .section-title p,
.pain-points .section-title p {
    color: var(--color-texto) !important;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

/* ==========================================================================
   3. HEADER E MENU (Desktop)
   ========================================================================== */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.logo h1 { font-size: 1.5rem; margin-bottom: 0; }
.logo span { font-size: 0.8rem; color: var(--color-secundaria); }

/* Menu Desktop */
.nav-menu ul { display: flex; align-items: center; gap: 20px; }
.nav-menu a { color: var(--color-texto); font-weight: 500; }
.nav-menu a:hover { color: var(--color-secundaria); }

/* Grupo de Ícones Sociais (Desktop) */
.nav-menu .social-li { display: flex; align-items: center; }

.social-icons-group {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
    border-left: 1px solid rgba(138, 63, 76, 0.3);
    border-right: 1px solid rgba(138, 63, 76, 0.3);
    height: 20px;
}

.social-icons-group a {
    color: var(--color-cta);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-icons-group a:hover {
    color: var(--color-secundaria);
    transform: translateY(-2px);
}

/* Ícone Mobile (Escondido no Desktop) */
.mobile-menu-icon {
    display: none; 
    font-size: 1.8rem; 
    cursor: pointer; 
    color: var(--color-cta);
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
    background: var(--gradiente-hero);
    padding: 20px 0 0 0; 
    overflow: hidden;
    position: relative;
    min-height: 500px;
    display: flex; 
    align-items: flex-end; 
}

.hero-container {
    display: flex;
    align-items: flex-end;
    gap: 50px;
    width: 100%; 
}

.hero-text {
    flex: 1;
    padding-bottom: 90px;
    animation: fadeInUpHero 1s ease-out forwards;
}

.hero-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-cta); 
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5); /* Melhora leitura */
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--color-texto);
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5); /* Melhora leitura */
}

.hero-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    height: auto; 
    opacity: 0; 
    animation: fadeInUpHero 1s ease-out 0.5s forwards;
}

.hero-img img {
    border: none;
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
    margin-bottom: 0;
}

/* ==========================================================================
   5. SEÇÃO DORES (Pain Points)
   ========================================================================== */
.pain-points {
    background-color: var(--color-fundo);
    padding: 80px 0;
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 60px auto 0;
}

.card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(138, 63, 76, 0.15);
    border-bottom: 4px solid var(--color-secundaria);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--color-secundaria);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(194, 122, 106, 0.3);
}

.icon-wrapper i { color: #fff; font-size: 2rem; }

.card h4 {
    color: var(--color-cta);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.card p {
    color: var(--color-texto);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-link {
    margin-top: auto;
    color: var(--color-secundaria);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid var(--color-secundaria);
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.card-link:hover {
    background-color: var(--color-secundaria);
    color: #fff;
}

/* ==========================================================================
   6. SEÇÃO SOBRE
   ========================================================================== */
.about-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
                url('https://dayanepsicologa.com.br/wp-content/uploads/2026/01/about-background.webp');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 0;
}

.about-image-container { position: relative; z-index: 1; padding-right: 20px; }
.about-image-container img {
    width: 100%; max-width: 480px; border-radius: 12px; box-shadow: var(--shadow); border: 8px solid var(--bg-white);
}

.image-bg-decoration {
    position: absolute; top: -20px; left: -20px; width: 100%; height: 100%; border: 3px solid var(--color-cta); border-radius: 12px; z-index: -1;
}

.about-text-box {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 0 16px 16px 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    position: relative; margin-left: -60px; z-index: 2;
    border-left: 6px solid var(--color-secundaria);
}

.tag-destaque {
    text-transform: uppercase; font-size: 0.85rem; letter-spacing: 2px; font-weight: 700; color: var(--color-secundaria); display: block; margin-bottom: 15px;
}
.about-text-box h3 { font-size: 2rem; line-height: 1.2; margin-bottom: 25px; color: var(--color-cta); }
.about-text-box p { font-size: 1rem; color: #555; margin-bottom: 20px; line-height: 1.7; text-align: left; }
.closing-text { font-style: italic; opacity: 0.9; }
.signature { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; font-weight: 700; color: var(--color-cta); }


/* ==========================================================================
   7. SEÇÃO VÍDEO
   ========================================================================== */
.video-area {
    padding: 80px 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(138, 63, 76, 0.1);
    border-bottom: 1px solid rgba(138, 63, 76, 0.1);
}

.video-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
    background: #ffffff;
    padding: 10px;
    border: 10px solid #ffffff; 
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(138, 63, 76, 0.2);
    box-sizing: border-box;
    display: block;
    line-height: 0;
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 8px;
    background-color: #000;
}

/* ==========================================================================
   8. SEÇÃO PARA QUEM (Target Audience)
   ========================================================================== */
.target-audience {
    background: linear-gradient(rgba(138, 63, 76, 0.72), rgba(99, 38, 50, 0.95)),
                url('https://dayanepsicologa.com.br/wp-content/uploads/2026/01/consultorio.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    color: #fff;
    position: relative;
}

/* Correção de Contraste: Texto Branco */
.target-audience .section-title h3 {
    color: #ffffff !important;
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    display: inline-block;
    padding-bottom: 15px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
}

.target-audience .section-title { width: 100%; text-align: center !important; margin-bottom: 50px; }

.target-audience .section-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 5px;
    background-color: var(--color-secundaria);
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.5);
}

.target-intro { text-align: center; max-width: 900px; margin: 0 auto 60px auto; }

/* Texto branco com sombra para leitura */
.target-intro p { 
    color: #ffffff !important; 
    font-size: 1.2rem; 
    font-weight: 400; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.target-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border-bottom: 5px solid var(--color-secundaria);
}
.target-item:hover { transform: translateY(-8px); }

/* Garante que o texto DENTRO do card branco seja escuro */
.target-item h4 {
    color: var(--color-cta) !important;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex; align-items: center; gap: 12px;
    text-shadow: none !important;
}
.target-item h4 i { color: var(--color-secundaria); font-size: 1.3rem; }
.target-item p { 
    color: var(--color-texto) !important; 
    font-size: 1rem; 
    text-align: justify; 
    text-shadow: none !important;
}


/* ==========================================================================
   9. SEÇÃO COMO FUNCIONA, FAQ & FOOTER
   ========================================================================== */
.how-it-works { padding: 100px 0; background-color: var(--color-fundo); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.step-card {
    background-color: var(--bg-white); padding: 40px 30px; border-radius: 16px; text-align: center; position: relative; box-shadow: 0 10px 30px rgba(138, 63, 76, 0.1); border-bottom: 5px solid var(--color-cta); transition: transform 0.3s ease;
}
.step-card:hover { transform: translateY(-10px); }
.step-icon {
    width: 70px; height: 70px; margin: 0 auto 25px auto; background: var(--color-apoio); color: var(--color-cta); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: inset 0 0 0 4px rgba(255,255,255,0.5);
}

.faq-section { padding: 80px 0; }
.accordion-item { background: var(--bg-white); border-radius: 8px; margin-bottom: 15px; box-shadow: var(--shadow); border: none; }
.accordion-header {
    width: 100%; background: none; border: none; padding: 20px; text-align: left; font-size: 1rem; font-weight: 600; color: var(--color-cta); display: flex; justify-content: space-between; cursor: pointer;
}
.accordion-content { display: none; padding: 0 20px 25px 20px; }
.accordion-content.active { display: block; }

/* --- RODAPÉ --- */
footer { background: linear-gradient(135deg, var(--color-cta) 30%, var(--color-secundaria) 100%); color: var(--bg-white); padding-top: 80px; }
.cta-final { text-align: center; margin-bottom: 60px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; }
.copyright { text-align: center; padding: 25px 0; background-color: rgba(0,0,0,0.2); font-size: 0.9rem; }

/* Correção de cores do Rodapé */
footer h2, footer p, footer span, footer div { color: #ffffff !important; }
footer h4 { color: var(--color-apoio) !important; }
footer a { color: rgba(255, 255, 255, 0.8) !important; }
footer a:hover { color: #ffffff !important; }
.social-links a { color: var(--bg-white) !important; font-size: 1.8rem; margin-right: 20px; opacity: 0.8; transition: 0.3s; }
.social-links a:hover { opacity: 1; transform: translateY(-3px); }

/* ==========================================================================
   10. EXTRAS (Whatsapp & Animações)
   ========================================================================== */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px;
    background-color: #25d366; color: #FFF; border-radius: 50%;
    text-align: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; text-decoration: none; animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover { background-color: #20ba5a; transform: scale(1.1); }
@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Animações de Scroll (Anime-Up) */
.anime-up { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.anime-up.animate { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

@keyframes fadeInUpHero {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   11. RESPONSIVIDADE TOTAL (CORREÇÃO MENU & LAYOUT)
   Aqui concentramos todas as regras para Celular/Tablet
   ========================================================================== */
@media (max-width: 900px) {
    
/* Botão do Hambúrguer visível */
    .mobile-menu-icon {
        display: block !important;
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--color-cta);
        z-index: 1001; /* Fica acima do menu */
    }

    /* MENU GAVETA (ESCONDER POR PADRÃO) */
    .nav-menu {
        display: none !important; /* Força esconder no mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 30px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(0,0,0,0.05);
        flex-direction: column;
        align-items: center;
        z-index: 1000;
    }

    /* MENU GAVETA (QUANDO ATIVO PELO JS) */
    .nav-menu.active {
        display: flex !important; /* Força aparecer */
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
       from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* LISTA DO MENU MOBILE */
    .nav-menu ul {
        flex-direction: column !important;
        width: 100%;
        gap: 25px;
    }

    /* ÍCONES SOCIAIS NO MOBILE */
    .social-icons-group {
        border: none !important;
        padding: 10px 0;
        justify-content: center;
        width: 100%;
        gap: 35px;
        margin: 15px 0;
    }
    .social-icons-group a { font-size: 1.8rem; }

    /* AJUSTES GERAIS DE SEÇÃO */
    .hero { padding: 30px 0 50px 0; display: block; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-text { padding-bottom: 0; margin-bottom: 30px; }
    .hero-img { justify-content: center; }
    .hero-img img { max-width: 80%; margin: 0 auto; }

    .about-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .about-text-box { margin-left: 0; border-radius: 16px; border-left: none; border-top: 6px solid var(--color-secundaria); padding: 30px 20px; }
    .about-image-container { padding-right: 0; justify-content: center; display: flex; }
    
    .cards-grid, .target-grid, .steps-grid { grid-template-columns: 1fr; }
    .target-intro p { font-size: 1rem; padding: 0 20px; }
    
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; font-size: 26px; }
}