/* --- 1. CONFIGURAÇÃO DE CORES E TEMAS (OTIMIZADO) --- */
:root {
    /* --- LIGHT MODE (Original) --- */
    --bg-body: #FFFFFF;
    --bg-section: #F8F9FA;
    --bg-card: #FFFFFF;
    --bg-header: rgba(255, 255, 255, 0.95);
    
    --text-main: #334155;     /* Slate 700 - Leitura confortável */
    --text-heading: #1e293b;  /* Slate 800 - Títulos fortes */
    
    --primary: #D4AF37;       /* Dourado Metálico Clássico */
    --primary-hover: #b5952f;
    --primary-glow: rgba(212, 175, 55, 0.4);
    
    --secondary: #2C3E50;     /* Azul Marinho da Marca */
    --secondary-text: #2C3E50; /* Texto secundário (escuro no light) */
    --accent: #E8A6A6;
    --success: #27ae60;
    
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.08);
    
    /* Cores Específicas de Seções */
    --bonus-bg: #2C3E50;
    --bonus-text: #ffffff;
    --offer-bg: #FFFFFF;
}

[data-theme="dark"] {
    /* --- DARK MODE (Premium Slate) --- */
    /* Superfícies: Camadas de azul profundo para profundidade */
    --bg-body: #020617;       /* Slate 950 (Fundo Base) */
    --bg-section: #0f172a;    /* Slate 900 (Seções Alternadas) */
    --bg-card: #1e293b;       /* Slate 800 (Cartões - Mais claro que o fundo) */
    --bg-header: rgba(2, 6, 23, 0.9);
    
    /* Textos: Off-white (nunca branco puro para não ofuscar) */
    --text-main: #cbd5e1;     /* Slate 300 */
    --text-heading: #f1f5f9;  /* Slate 50 */
    
    /* Cores de Marca Adaptadas */
    --primary: #fbbf24;       /* Amber 400 (Dourado mais luminoso/neon) */
    --primary-hover: #f59e0b;
    --primary-glow: rgba(251, 191, 36, 0.25);
    
    --secondary: #f8fafc;     /* Azul vira Branco/Gelo para ícones/bordas */
    --secondary-text: #f8fafc;
    --accent: #f472b6;
    --success: #4ade80;       /* Verde Neon Suave */
    
    /* UI Elements */
    --border-color: #334155;  /* Bordas sutis para separar camadas */
    --card-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    
    /* Ajustes Específicos */
    --bonus-bg: #1e293b;      /* Bônus se integra ao fundo de cards */
    --bonus-text: #e2e8f0;
    --offer-bg: #1e293b;
}

/* --- 2. RESET E GERAL --- */
* { margin: 0; padding: 0; box-sizing: border-box; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
html { scroll-behavior: smooth; }

body { 
    font-family: 'Open Sans', sans-serif; 
    background: var(--bg-body); 
    color: var(--text-main); 
    line-height: 1.6; 
}

h1, h2, h3, h4 { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700; 
    color: var(--text-heading); 
}

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

/* --- 3. COMPONENTES DE UI --- */

/* Top Bar (Scarcity) */
.top-bar { 
    background: var(--secondary); 
    color: #fff; /* Fixo branco no light */
    text-align: center; 
    padding: 8px; 
    font-size: 0.85rem; 
    font-weight: 600; 
}
[data-theme="dark"] .top-bar { 
    background: #1e293b; /* Slate 800 */
    color: var(--primary); 
    border-bottom: 1px solid var(--border-color);
}

/* Header Sales */
.header-sales { 
    padding: 15px 0; 
    border-bottom: 1px solid var(--border-color); 
    background: var(--bg-header); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--text-heading); }
.logo span { color: var(--primary); }
.nav-controls { display: flex; gap: 15px; align-items: center; }

.btn-sm-header { 
    padding: 8px 20px; 
    font-size: 0.85rem; 
    border-radius: 50px; 
    background: var(--secondary); 
    color: var(--bg-body); /* Inverte cor do texto */
    font-weight: 600; 
    border: 1px solid var(--secondary);
}
[data-theme="dark"] .btn-sm-header {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
[data-theme="dark"] .btn-sm-header:hover {
    background: var(--primary);
    color: #020617;
}

.theme-btn { 
    background: none; 
    border: none; 
    cursor: pointer; 
    color: var(--text-main); 
    font-size: 1.2rem; 
    padding: 5px;
}
.theme-btn:hover { color: var(--primary); }

/* --- 4. HERO SECTION --- */
.sales-hero { 
    padding: 80px 0; 
    text-align: center; 
    background: radial-gradient(circle at center, var(--bg-section) 0%, var(--bg-body) 100%); 
    border-bottom: 1px solid var(--border-color);
}
.badge-gold { 
    background: rgba(212, 175, 55, 0.15); 
    color: var(--primary); 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 1px; 
    display: inline-block; 
    margin-bottom: 20px; 
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.sales-hero h1 { 
    font-size: 2.8rem; 
    line-height: 1.2; 
    margin-bottom: 20px; 
    max-width: 900px; 
    margin-left: auto; 
    margin-right: auto; 
}
.subheadline { 
    font-size: 1.2rem; 
    color: var(--text-main); 
    margin-bottom: 40px; 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto; 
}

/* Video Container */
.video-container-sales { 
    max-width: 800px; 
    margin: 0 auto 40px; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.2); 
    border: 4px solid #fff; 
}
[data-theme="dark"] .video-container-sales { 
    border-color: #334155; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; background: #000; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* CTA Buttons (Otimizado para Dark) */
.btn-cta { 
    display: inline-block; 
    background: linear-gradient(180deg, var(--primary) 0%, #c49f26 100%); 
    color: #fff; 
    padding: 20px 40px; 
    border-radius: 8px; 
    font-size: 1.2rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4); 
    text-shadow: 0 1px 2px rgba(0,0,0,0.2); 
    border: none;
}
[data-theme="dark"] .btn-cta { 
    background: var(--primary); /* Remove gradiente no dark para ficar mais flat/neon */
    color: #020617 !important; /* Texto escuro para contraste com amarelo */
    box-shadow: 0 0 20px var(--primary-glow);
    text-shadow: none;
}
.btn-cta:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5); 
}
[data-theme="dark"] .btn-cta:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 30px var(--primary-glow);
}

.pulse-animation { animation: pulse 2s infinite; }
@keyframes pulse { 
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); } 
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } 
}

.guarantee-text { margin-top: 15px; font-size: 0.9rem; color: var(--text-main); opacity: 0.8; }

/* --- 5. SEÇÕES DE CONTEÚDO --- */

/* Pain Section */
.pain-section { padding: 80px 0; background: var(--bg-body); }
.pain-section h2 { text-align: center; margin-bottom: 50px; font-size: 2rem; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.pain-item { 
    background: var(--bg-card); 
    padding: 30px; 
    border-radius: 15px; 
    text-align: center; 
    border: 1px solid var(--border-color); 
    box-shadow: var(--card-shadow);
}
.pain-item i { font-size: 2.5rem; color: #e74c3c; margin-bottom: 20px; }
[data-theme="dark"] .pain-item i { color: #f87171; text-shadow: 0 0 10px rgba(248, 113, 113, 0.3); }

/* Solution Section */
.solution-section { padding: 80px 0; background: var(--bg-section); }
.solution-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.solution-text h2 { margin-bottom: 20px; color: var(--primary); }
.check-list { margin-top: 30px; }
.check-list li { margin-bottom: 15px; font-size: 1.05rem; display: flex; align-items: center; color: var(--text-main); }
.check-list i { color: var(--success); margin-right: 10px; font-size: 1.2rem; }
.img-placeholder-vertical { 
    height: 400px; 
    background: var(--bg-card); 
    border-radius: 20px; 
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    color: var(--text-main); 
    border: 1px solid var(--border-color);
}

/* Modules Accordion */
.modules-section { padding: 80px 0; background-color: var(--bg-body); }
.section-title { text-align: center; margin-bottom: 50px; }
.accordion-sales { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.module-item { 
    border: 1px solid var(--border-color); 
    border-radius: 10px; 
    overflow: hidden; 
    background: var(--bg-card); 
    box-shadow: var(--card-shadow);
}
.module-header { 
    padding: 20px; 
    display: flex; align-items: center; 
    cursor: pointer; 
    background: var(--bg-section); /* Leve contraste */
    user-select: none; 
    transition: 0.2s;
}
.module-header:hover { background-color: rgba(212, 175, 55, 0.05); }

.mod-number { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 800; 
    font-size: 1.5rem; 
    color: var(--primary); 
    opacity: 0.6; 
    margin-right: 20px; 
    min-width: 40px; 
}
.module-header h3 { flex: 1; font-size: 1.1rem; margin: 0; color: var(--text-heading); }
.module-body { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.3s ease; 
    padding: 0 20px; 
    color: var(--text-main); 
    background: var(--bg-card);
}
.module-item.active .module-body { padding: 20px; max-height: 200px; }
.module-item.active i { transform: rotate(180deg); color: var(--primary); }

.highlight-module { border: 1px solid var(--primary); }
.tag-new { background: var(--primary); color: #fff; font-size: 0.7rem; padding: 2px 8px; border-radius: 4px; margin-left: 10px; vertical-align: middle; text-transform: uppercase; }
[data-theme="dark"] .tag-new { color: #020617; }

/* Bonus Section */
.bonus-section { 
    padding: 80px 0; 
    background: var(--bonus-bg); 
    color: var(--bonus-text); 
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.bonus-section h2 { color: var(--primary); text-align: center; }
.subtitle { text-align: center; margin-bottom: 50px; opacity: 0.9; color: var(--bonus-text); }
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.bonus-card { 
    background: rgba(255,255,255,0.05); /* Efeito vidro */
    border-radius: 15px; 
    padding: 30px; 
    display: flex; gap: 20px; align-items: start; 
    border: 1px solid rgba(255,255,255,0.1); 
    transition: 0.3s;
}
.bonus-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.08); }
.bonus-img { font-size: 2.5rem; color: var(--primary); }
.bonus-content h4 { color: var(--primary); margin-bottom: 5px; }
.bonus-content p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 15px; }
.bonus-value { display: block; font-size: 0.8rem; opacity: 0.7; }
.bonus-free { display: block; font-weight: 800; color: var(--success); font-size: 1.1rem; margin-top: 5px; }

/* --- 6. OFFER SECTION --- */
.offer-section { padding: 80px 0; background: var(--bg-body); }
.offer-box { 
    max-width: 600px; 
    margin: 0 auto; 
    background: var(--offer-bg); 
    border-radius: 20px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.15); 
    overflow: hidden; 
    border: 2px solid var(--primary); 
}
[data-theme="dark"] .offer-box { box-shadow: 0 0 50px rgba(0,0,0,0.5); }

.offer-header { 
    background: var(--secondary); 
    color: #fff; 
    padding: 30px; 
    text-align: center; 
}
[data-theme="dark"] .offer-header { 
    background: var(--bg-section); /* Inverte no dark para contraste */
    border-bottom: 1px solid var(--border-color);
}
[data-theme="dark"] .offer-header h3 { color: var(--primary); }
[data-theme="dark"] .offer-header p { color: var(--text-main); }

.offer-body { padding: 40px; text-align: center; }
.price-display { margin-bottom: 10px; color: var(--text-heading); }
.currency { font-size: 1.5rem; vertical-align: middle; }
.amount { font-size: 4rem; font-weight: 800; color: var(--primary); line-height: 1; }
.cash-price { color: var(--text-main); margin-bottom: 30px; font-weight: 600; }

.offer-benefits { text-align: left; max-width: 350px; margin: 0 auto 30px; color: var(--text-main); }
.offer-benefits li { margin-bottom: 10px; display: flex; align-items: center; }
.offer-benefits i { color: var(--success); margin-right: 10px; }

.btn-full { width: 100%; text-align: center; }
.secure-badges { margin-top: 20px; font-size: 0.8rem; color: var(--text-main); opacity: 0.7; display: flex; justify-content: center; gap: 20px; }

/* FAQ Section */
.faq-section { padding: 80px 0; background: var(--bg-section); }
.faq-section h2 { text-align: center; margin-bottom: 40px; }

/* Footer */
.footer-sales { 
    padding: 40px 0; 
    text-align: center; 
    border-top: 1px solid var(--border-color); 
    font-size: 0.9rem; 
    opacity: 0.7; 
    background: var(--bg-body);
}

/* --- 7. RESPONSIVE --- */
@media (max-width: 768px) {
    .sales-hero h1 { font-size: 2rem; }
    .solution-content { grid-template-columns: 1fr; }
    .amount { font-size: 3rem; }
    .nav-controls .btn-sm-header { display: none; } /* Opcional: esconde botão extra no mobile */
}

/* --- Ajuste da Imagem na Seção Solução --- */

.solution-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-photo {
    width: 100%;
    max-width: 600px; /* Limita a largura para não ficar gigante em telas grandes */
    height: auto;
    border-radius: 20px; /* Bordas arredondadas */
    box-shadow: var(--card-shadow); /* Sombra suave definida nas variáveis */
    border: 4px solid #fff; /* Moldura branca para destacar */
    object-fit: cover; /* Garante que a foto preencha sem esticar */
    transition: transform 0.3s ease;
}

/* Efeito ao passar o mouse (Opcional - dá um charme extra) */
.solution-photo:hover {
    transform: scale(1.02);
}

/* Ajuste específico para o Modo Escuro */
[data-theme="dark"] .solution-photo {
    border-color: var(--border-color); /* Moldura vira cinza escuro no dark mode */
    opacity: 0.95; /* Leve ajuste de brilho para não ofuscar */
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .solution-photo {
        max-width: 100%; /* No celular ocupa a largura total */
        margin-top: 30px;
    }
}