/* --- VARIÁVEIS DE ALTO PADRÃO --- */
:root {
    --bg-body: #FAFAFA;
    --bg-card: #FFFFFF;
    --primary-dark: #070B14; /* Azul meia-noite ultra premium */
    --primary: #1E293B;
    --accent: #D4AF37; /* Dourado Ouro Clássico */
    --accent-hover: #C59B27;
    --text-main: #334155;
    --text-light: #64748B;
    --border-subtle: rgba(10, 15, 28, 0.08);
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-premium: 0 10px 40px -10px rgba(0,0,0,0.06);
    --shadow-hover: 0 20px 40px -10px rgba(212, 175, 55, 0.15);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    line-height: 1.2;
}

/* --- ANIMAÇÕES GERAIS --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- ANIMAÇÃO DE PULSAÇÃO PREMIUM DOS BOTÕES --- */
@keyframes pulsePremium {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5); /* Brilho dourado mais intenso */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    }
}

/* --- HEADER --- */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: all 0.4s ease;
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-dark);
}

.logo img {
    height: 48px;
}

.cta-header {
    background: var(--primary-dark);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s var(--ease-out-expo);
    border: 1px solid transparent;
}

.cta-header:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* --- HERO SECTION --- */
.hero {
    background: var(--primary-dark);
    background-image: radial-gradient(circle at 50% 0%, #151F32 0%, var(--primary-dark) 80%);
    color: #fff;
    padding: 180px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Efeito de granulação (Noise) sutil estilo Apple */
.noise-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 56px;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--accent);
    font-style: italic;
}

.hero .subtitle {
    font-size: 20px;
    font-weight: 300;
    color: #94A3B8;
    max-width: 700px;
    margin: 0 auto 40px;
}

.ctas-hero {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-btn.small {
    padding: 12px 24px;
    font-size: 14px;
}

.cta-btn.primary {
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    /* Pulsação garantida e suave */
    animation: pulsePremium 2s infinite ease-in-out;
}

.cta-btn.primary:hover {
    background: #FFF;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    /* Pausa a pulsação quando a pessoa passa o rato por cima */
    animation: none; 
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFF;
}

/* --- LAYOUT GERAL --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 38px;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* --- ÁREAS DE TRATAMENTO --- */
.section-problema {
    background: var(--bg-body);
}

.grid-6-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card-premium {
    background: var(--bg-card);
    padding: 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.3);
}

.card-premium:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 56px;
    height: 56px;
    background: #F8FAFC;
    color: var(--accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.card-premium:hover .icon-box {
    background: var(--primary-dark);
    color: var(--accent);
    transform: scale(1.05);
}

.card-premium h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 12px;
}

.card-premium p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- ESPECIALISTAS --- */
.section-credibilidade {
    background: #FFF;
}

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

.prof-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-body);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s var(--ease-out-expo);
}

.prof-card:hover {
    box-shadow: var(--shadow-premium);
    border-color: rgba(10, 15, 28, 0.15);
    transform: translateY(-5px);
}

.prof-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
    margin-bottom: 24px;
}

.prof-info h3 {
    font-size: 26px;
    margin-bottom: 6px;
}

.prof-info .credential {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    display: block;
}

.prof-info p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.prof-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.tag {
    background: #FFF;
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-dark);
}

.prof-action {
    margin-top: auto;
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
}

/* --- DEPOIMENTOS --- */
.section-dark {
    background: var(--primary-dark);
    color: #FFF;
}
.section-dark h2, .section-dark p { color: #FFF; }

.grid-3-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 32px;
    border-radius: var(--radius-md);
}

.stars { color: var(--accent); margin-bottom: 20px; font-size: 18px; letter-spacing: 2px; }
.testimonial-card p { font-size: 16px; color: #CBD5E1; font-style: italic; margin-bottom: 24px; }
.testimonial-card .author { font-weight: 600; color: #FFF; font-size: 15px; }
.testimonial-card .role { font-size: 13px; color: #64748B; }

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
    padding: 24px 0;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-dark);
}

.faq-icon {
    font-size: 24px;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out-expo);
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-item.active .faq-answer { max-height: 300px; }

/* --- FOOTER (COM IMAGEM CORRIGIDA) --- */
footer {
    background: #020408;
    color: #64748B;
    padding: 80px 20px 40px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.footer-logo img {
    height: 70px; /* Tamanho majestoso no rodapé */
    /* Ao invés de invert, aplicamos um brilho elegante para manter a cor original limpa */
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1)); 
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 1;
}

footer p { font-size: 15px; margin-bottom: 8px; }
footer a { color: var(--accent); text-decoration: none; }

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .grid-6-cards, .grid-3-cards { grid-template-columns: repeat(2, 1fr); }
    .profissionais { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 42px; }
    header .cta-header { display: none; }
    .grid-6-cards, .grid-3-cards { grid-template-columns: 1fr; }
    .cta-btn { width: 100%; }
    .prof-card { padding: 32px 20px; text-align: center; }
    .prof-tags { justify-content: center; }
    .prof-avatar { margin: 0 auto 24px; }
}