:root {
    --bg-main: #030303;
    --text-main: #F2F2F2;
    --text-muted: #888888;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Cor Padrão (Fallback) */
    --theme-color: #D4AF37; 
    --theme-glow: rgba(212, 175, 55, 0.3);
}

/* --- TEMAS (CORES ESPECÍFICAS) --- */
/* Vendas (Vermelho) */
body.theme-vendas {
    --theme-color: #FF3B3B; 
    --theme-glow: rgba(255, 59, 59, 0.4);
}
/* Mentalidade (Dourado Puro) */
body.theme-mentalidade {
    --theme-color: #FFD700; 
    --theme-glow: rgba(255, 215, 0, 0.4);
}
/* Persuasão (Bronze/Cobre) */
body.theme-persuasao {
    --theme-color: #C69C6D; 
    --theme-glow: rgba(198, 156, 109, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background Texture */
.texture-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: -2; opacity: 0.05;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    mix-blend-mode: overlay;
}

/* Luz Ambiente */
.ambient-light {
    position: fixed; top: -20%; left: 50%; transform: translateX(-50%);
    width: 120vw; height: 100vw;
    background: radial-gradient(circle, var(--theme-glow) 0%, transparent 60%);
    opacity: 0.15; pointer-events: none; z-index: -1;
    animation: pulseLight 8s infinite ease-in-out alternate;
}
@keyframes pulseLight { 0% { opacity: 0.1; } 100% { opacity: 0.25; } }

/* LAYOUT PRINCIPAL */
.lp-container {
    max-width: 1200px; width: 100%;
    padding: 40px 20px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center;
}

/* CAPA DO LIVRO (3D & Floating) */
.book-showcase {
    position: relative; perspective: 1000px; display: flex; justify-content: center;
    animation: fadeInScale 1s ease-out;
}
.book-cover {
    width: 100%; max-width: 380px; border-radius: 12px;
    box-shadow: -15px 20px 50px rgba(0,0,0,0.6), 0 0 30px var(--theme-glow);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
    animation: floatBook 6s ease-in-out infinite;
}
@keyframes floatBook { 
    0%, 100% { transform: translateY(0) rotateY(-15deg) rotateX(5deg); } 
    50% { transform: translateY(-15px) rotateY(-12deg) rotateX(2deg); } 
}

/* CONTEÚDO */
.lp-content { z-index: 2; }

.tag-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 50px;
    border: 1px solid var(--theme-color);
    color: var(--theme-color); font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    background: rgba(0,0,0,0.3); margin-bottom: 20px;
    animation: slideInUp 0.8s ease-out;
}

h1 {
    font-family: var(--font-heading); font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, var(--theme-color));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: slideInUp 0.8s ease-out 0.2s backwards;
}

.description {
    font-size: 1.1rem; color: #ccc; margin-bottom: 35px; border-left: 3px solid var(--theme-color);
    padding-left: 20px; line-height: 1.7;
    animation: slideInUp 0.8s ease-out 0.4s backwards;
}

/* LISTA DE BENEFÍCIOS */
.features-list {
    list-style: none; margin-bottom: 40px;
    animation: slideInUp 0.8s ease-out 0.6s backwards;
}
.features-list li {
    display: flex; align-items: flex-start; gap: 15px;
    margin-bottom: 15px; font-size: 1rem; color: #e0e0e0;
}
.features-list i { color: var(--theme-color); flex-shrink: 0; margin-top: 3px; }

/* PREÇO E BOTÃO */
.action-area {
    display: flex; align-items: center; gap: 30px;
    padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
    animation: slideInUp 0.8s ease-out 0.8s backwards;
}

.price-box { display: flex; flex-direction: column; }
.price-label { font-size: 0.7rem; text-transform: uppercase; color: #666; letter-spacing: 1px; }

/* Correção Desktop: R$ e Valor na mesma linha */
.price-val { 
    font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; 
    display: flex; gap: 10px; align-items: baseline; white-space: nowrap; 
}
.price-old { font-size: 1rem; text-decoration: line-through; color: #555; font-weight: 400; }

.btn-buy {
    background: var(--theme-color); color: #000;
    padding: 16px 40px; border-radius: 50px;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 0 20px var(--theme-glow);
    position: relative; overflow: hidden; white-space: nowrap;
}
.btn-buy::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-20deg); animation: shineBtn 4s infinite;
}
@keyframes shineBtn { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }
.btn-buy:active { transform: scale(0.95); }

/* --- ANIMAÇÕES --- */
@keyframes slideInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInScale { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* --- MOBILE RESPONSIVO --- */
@media (max-width: 991px) {
    body { align-items: flex-start; padding-top: 40px; height: auto; display: block; }
    .lp-container { 
        grid-template-columns: 1fr; gap: 40px; text-align: center; 
        padding-bottom: 200px; /* Garante espaço para ler tudo antes do botão fixo */
    }
    
    .book-cover { max-width: 220px; margin: 0 auto; animation: floatBookMobile 5s ease-in-out infinite; }
    @keyframes floatBookMobile { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

    h1 { font-size: 2.5rem; }
    .description { border-left: none; padding-left: 0; font-size: 1rem; }
    .features-list { text-align: left; display: inline-block; margin-bottom: 20px; }
    
    /* Botão Fixo no Mobile */
    .action-area {
        flex-direction: column; gap: 12px;
        background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(15px);
        padding: 20px; border-radius: 20px 20px 0 0;
        position: fixed; bottom: 0; left: 0; right: 0;
        z-index: 1000; border-top: 1px solid var(--theme-glow);
        box-shadow: 0 -10px 30px rgba(0,0,0,0.8);
        margin: 0;
    }
    .price-box { flex-direction: row; align-items: baseline; gap: 10px; width: 100%; justify-content: center; }
    .btn-buy { width: 100%; justify-content: center; padding: 18px; font-size: 0.9rem; }
}