/* --- VARIÁVEIS DE CORES E FONTES --- */
:root {
    --bg-darker: #020617;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --color-green: #10b981;
    --color-green-hover: #059669;
    --text-main: #f8fafc;
    --text-muted: #9ca3af;
    --border-color: #334155;
    --font-main: 'Montserrat', sans-serif;
}

/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* REGRA DE OURO PARA RESPONSIVIDADE DE IMAGENS */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background-color: var(--color-green);
    color: #fff;
}

/* --- UTILITÁRIOS GERAIS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-small {
    max-width: 800px;
}
.text-center { text-align: center; }
.text-green { color: var(--color-green); }
.text-white { color: #fff; }
.text-red { color: #ef4444; }
.italic { font-style: italic; }
.small { font-size: 0.875rem; }
.mb-large { margin-bottom: 3rem; }
.section-padding { padding: 6rem 0; }
.section-dark {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.mt-section-action {
    margin-top: 4rem;
}

/* --- CABEÇALHOS DE SEÇÃO --- */
.section-header {
    margin-bottom: 5rem; 
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* --- HEADER / NAVBAR --- */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    background-color: rgba(2, 6, 23, 0.95); /* Deixei um pouco mais opaco para não misturar os textos */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding-top: env(safe-area-inset-top);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.logo-img {
    height: 72px;
    width: auto;
    min-width: 80px;
    transition: height 0.3s ease;
}
.footer-logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

/* --- BOTÕES E LINKS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background-color: var(--color-green);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--color-green-hover);
}
.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}
.btn-white {
    background-color: #fff;
    color: var(--bg-darker);
    padding: 16px 32px;
}
.btn-white:hover {
    background-color: #e2e8f0;
}
.btn-glow {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}
.btn-glow:hover {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.7);
    transform: translateY(-2px);
}
.link-action {
    color: var(--color-green);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid var(--color-green);
    padding-bottom: 2px;
    transition: color 0.3s, border-color 0.3s;
}
.link-action:hover {
    color: #fff;
    border-color: #fff;
}

/* --- HERO SECTION --- */
.hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-top: 140px;
    padding-bottom: 80px;
}
.hero-content {
    flex: 1;
}
.badge {
    display: inline-block;
    background-color: var(--bg-card);
    color: var(--color-green);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.scarcity {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}
.hero-image-wrapper {
    flex: 1;
    position: relative;
}
.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}
.hero-image:hover {
    filter: grayscale(0%);
}
.floating-card {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background-color: var(--bg-dark);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(16, 185, 129, 0.2);
    flex-shrink: 0;
}
.icon-box.red {
    background-color: rgba(239, 68, 68, 0.1);
}

/* --- GRIDS E CARDS --- */
.grid {
    display: grid;
    gap: 2rem;
}
.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.card {
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.card-dark { background-color: var(--bg-darker); }
.card-darker { background-color: var(--bg-card); }
.card:hover { 
    border-color: rgba(16, 185, 129, 0.5); 
    transform: translateY(-5px);
}
.pain-points .card:hover {
    border-color: rgba(239, 68, 68, 0.5);
}
.card h3 { margin: 1rem 0; font-size: 1.25rem; }
.card p { color: var(--text-muted); }

/* --- MÉTODO --- */
.method {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.method-steps { flex: 1; display: flex; flex-direction: column; gap: 1.5rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-number {
    width: 48px;
    height: 48px;
    background-color: var(--color-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 4px;
}
.method-content { flex: 1; }
.tag {
    color: var(--color-green);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}
.method-content h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}
.benefits-list li {
    margin-bottom: 1rem;
    color: #cbd5e1;
    display: flex;
    gap: 12px;
    align-items: center;
}

/* --- ABOUT --- */
.flex-row { display: flex; }
.gap-large { gap: 3rem; }
.about-image { flex: 1; }
.about-image img {
    border-radius: 1.5rem;
    border: 4px solid var(--border-color);
}
.about-content { flex: 2; }
.about-content h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.about-content p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.125rem; }

/* --- DEPOIMENTOS E FAQ --- */
.relative { position: relative; }
.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--color-green);
    opacity: 0.2;
}
.card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.avatar {
    width: 48px;
    height: 48px;
    background-color: var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    overflow: hidden; 
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
    background-color: var(--bg-card);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
}
.faq-item summary {
    padding: 1.5rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary i { transform: rotate(180deg); transition: transform 0.3s; }
.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
}

/* --- CTA FINAL --- */
.cta .large-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* --- FOOTER & WHATSAPP FLUTUANTE --- */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-dark);
}
.footer p { color: var(--text-muted); font-size: 0.875rem; margin-top: 0.5rem; }
.crn { font-size: 0.75rem; }

.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    /* AQUI É A NOVA COR DO BOTÃO DO WHATSAPP (PC E MOBILE) */
    background-color: var(--bg-card);
    border: 2px solid var(--color-green);
    color: var(--color-green);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: env(safe-area-inset-bottom);
}
.float-wa:hover { 
    transform: scale(1.1); 
    background-color: var(--color-green);
    color: #fff;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.7);
}

.wa-logo-img {
    width: 35px;
    height: auto;
}

/* --- ANIMAÇÕES --- */
.fade-in { animation: fadeIn 1s ease-in-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   RESPONSIVIDADE (TABLETS E CELULARES)
   ========================================= */

@media (max-width: 992px) {
    .hero, .method, .flex-row { flex-direction: column; text-align: center; }
    .hero-image-wrapper, .method-steps, .method-content, .about-image, .about-content { width: 100%; }
    .about-image img { max-width: 400px; margin: 0 auto 2rem; }
    .method { flex-direction: column-reverse; }
    
    .step { 
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
        gap: 0.5rem; 
    }
    .step-number { margin-bottom: 0.5rem; }
    
    .benefits-list li { justify-content: center; }
}

@media (max-width: 768px) {
    .hidden-mobile { display: none; }

    /* Força o header a ficar no topo acompanhando o scroll */
    .header {
        position: fixed !important;
        background-color: rgba(2, 6, 23, 0.98) !important; 
    }

    .navbar {
        height: auto;
        padding: 10px 0;
    }
    .logo-img {
        height: 50px; 
    }
    
    /* GERAL: Mantém bordas laterais para o texto não colar nas bordas do celular */
    .container { 
        padding: 0 24px !important; 
    }

    /* -------------------------------------------
       CORREÇÕES DE ESPAÇAMENTO SOLICITADAS 
       ------------------------------------------- */

    /* 1. Hero: Empurrada pra baixo para escapar do menu fixo */
    .hero { 
        padding-top: 160px !important; 
        margin-top: 0 !important;
        padding-bottom: 40px; 
        gap: 2rem;
    }
    .hero h1 { font-size: 2rem; } 
    
    .section-header h2, .method-content h2, .about-content h2, .cta .large-title { 
        font-size: 1.75rem; 
    }
    
    /* 2 e 5. Reforço no padding geral das seções escuras para dar respiro aos blocos */
    .section-padding { 
        padding: 6rem 0 !important; 
    }

    .method {
        padding-top: 4rem; /* Respiro em cima de "A Solução" */
    }
    
    .method-content {
        margin-bottom: 3rem; 
    }
    
    .method-steps {
        padding-bottom: 2rem; 
    }

    /* Mais espaço embaixo dos depoimentos */
    .testimonials {
        padding-bottom: 6rem;
    }

    /* Respiro generoso para a CTA (Pronto para dar o primeiro passo) */
    .cta {
        padding-top: 6rem !important;
        padding-bottom: 8rem !important;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
    }
    
    .floating-card { 
        position: relative;
        bottom: auto;
        left: auto;
        margin: -40px auto 0;
        width: 90%;
        justify-content: center;
        z-index: 10;
    }
    
    .hero-image { 
        height: auto; 
        max-height: 400px; 
    }

    .benefits-list li {
        text-align: left;
        justify-content: flex-start;
    }
    
    /* Botão flutuante do WhatsApp ajustado pro mobile */
    .float-wa { 
        width: 55px; 
        height: 55px; 
        bottom: 20px; 
        right: 20px; 
    }
    
    .wa-logo-img {
        width: 28px;
    }
}