/* ==========================================================================
   Design System - Ebook Filé Mignon Lucrativo
   ========================================================================== */

:root {
    /* Cores extraídas das fotos do Ebook */
    --olive-dark: #595E3C;        /* Verde Oliva Escuro (Principal) */
    --olive-medium: #6D724D;      /* Verde Oliva Médio */
    --olive-light: #8B936C;       /* Verde Oliva Claro (Sage) */
    --cream-white: #FCFAF7;       /* Off-White Cremoso (Fundo Principal) */
    --cream-light: #F4F1EA;       /* Creme Claro (Fundos de Seções) */
    --cream-dark: #EBE8DF;        /* Areia / Bege Escuro (Fundos de Destaque) */
    --charcoal-dark: #2A2722;     /* Charcoal Quente (Títulos e Textos Fortes) */
    --text-body: #4E4A42;         /* Cinza-Castanho Quente (Texto Corrido) */
    --terracota: #A75D33;         /* Terracota / Ferrugem (Acento de Alto Contraste para CTA) */
    --gold: #C59B27;              /* Dourado Sutil (Detalhes Premium) */

    /* Mapeamento Semântico */
    --primary-color: var(--olive-dark);
    --accent-color: var(--terracota);
    --bg-main: var(--cream-white);
    --bg-secondary: var(--cream-light);
    --bg-tertiary: var(--cream-dark);
    --text-title: var(--charcoal-dark);
    
    /* Fontes */
    --font-heading: 'Cormorant Garamond', 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Tipografia */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-title);
    font-weight: 600;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

a {
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Títulos das Seções */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    color: var(--text-title);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--olive-medium);
    margin-top: -0.5rem;
    margin-bottom: 3.5rem;
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Faixa de Urgência no Topo */
.urgency-banner {
    background: var(--olive-dark);
    color: var(--cream-white);
    text-align: center;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gold);
}

.urgency-banner i {
    color: var(--gold);
    margin-right: 8px;
}

/* Botões de Ação (CTA) */
.cta-button {
    display: inline-block;
    background-color: var(--terracota);
    color: var(--cream-white);
    padding: 1.1rem 2.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px; /* Formato retangular premium mais alinhado com o Ebook */
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(167, 93, 51, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.cta-button:hover {
    background-color: #924f2a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(167, 93, 51, 0.35);
}

.cta-button.large {
    font-size: 1.25rem;
    padding: 1.3rem 3.5rem;
}

.cta-container {
    text-align: center;
    margin-top: 3.5rem;
    width: 100%;
}

.cta-subtext {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--text-body);
}

/* Animação Pulse */
.pulse {
    animation: pulse-animation 2.2s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Hero Section */
.hero {
    background-color: var(--bg-secondary);
    color: var(--text-title);
    padding: 5rem 0 6rem;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(89, 94, 60, 0.1);
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.tagline {
    display: inline-block;
    border: 1px solid var(--olive-light);
    color: var(--olive-dark);
    padding: 6px 18px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--font-body);
    background-color: rgba(252, 250, 247, 0.8);
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1.8rem;
    letter-spacing: -0.5px;
}

.hero .highlight {
    color: var(--olive-dark);
    font-style: italic;
    border-bottom: 2px solid var(--gold);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-body);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* Premium Video Border */
.video-wrapper {
    max-width: 760px;
    margin: 0 auto 3rem;
    padding: 10px;
    background: var(--bg-main);
    border: 1px solid var(--olive-light);
    box-shadow: 0 15px 35px rgba(42, 39, 34, 0.08);
    position: relative;
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid var(--gold);
    pointer-events: none;
    z-index: 1;
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
    position: relative;
    z-index: 2;
}

.hero-price-info {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.5;
}

.old-price-small {
    text-decoration: line-through;
    opacity: 0.7;
}

.hero-price-info strong {
    color: var(--terracota);
    font-size: 1.3rem;
    font-weight: 700;
}

/* Intro Course (Benefícios) */
.intro-course {
    padding: 6rem 0;
    background-color: var(--bg-main);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 0;
    text-align: center;
    border: 1px solid rgba(89, 94, 60, 0.15);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(42, 39, 34, 0.02);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--olive-dark);
    box-shadow: 0 10px 25px rgba(89, 94, 60, 0.08);
}

.benefit-card i {
    font-size: 2.2rem;
    color: var(--olive-dark);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-title);
}

.benefit-card p {
    font-size: 0.98rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* Curriculum (O Caminho da Excelência) */
.curriculum {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(89, 94, 60, 0.15);
    border-bottom: 1px solid rgba(89, 94, 60, 0.15);
}

/* Receitas Grid */
.recipes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    background: var(--bg-main);
    padding: 4rem;
    border: 1px solid rgba(89, 94, 60, 0.15);
    max-width: 950px;
    margin: 2rem auto 0;
    box-shadow: 0 10px 30px rgba(42, 39, 34, 0.04);
}

.recipe-list-column {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recipe-list-column li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-title);
    font-weight: 500;
}

.recipe-list-column i {
    color: var(--olive-dark);
    font-size: 1.1rem;
}

/* Ebook Page Preview Component */
.ebook-preview-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
}

.ebook-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--olive-light);
    color: var(--olive-dark);
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: var(--olive-light);
    color: var(--cream-white);
}

.tab-btn.active {
    background: var(--olive-dark);
    border-color: var(--olive-dark);
    color: var(--cream-white);
}

.ebook-pages-container {
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1500px;
}

.ebook-page-spread {
    display: none;
    grid-template-columns: 1fr 1fr;
    background: var(--cream-dark);
    padding: 16px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
    border: 1px solid rgba(42, 39, 34, 0.15);
    gap: 8px;
    animation: fadeIn 0.6s ease;
}

.ebook-page-spread.active {
    display: grid;
}

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

/* Folha individual do Ebook */
.ebook-leaf {
    background: #FCFAF5;
    padding: 2.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 580px;
    border: 1px solid rgba(42, 39, 34, 0.05);
}

.ebook-leaf-left {
    border-right: 1px solid rgba(42, 39, 34, 0.08);
}

.ebook-leaf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(89, 94, 60, 0.15);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.ebook-leaf-logo {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--olive-medium);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ebook-leaf-title-area {
    margin-bottom: 20px;
    position: relative;
}

.ebook-page-number {
    display: inline-flex;
    width: 32px;
    height: 32px;
    background: var(--olive-dark);
    color: var(--cream-white);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.ebook-leaf-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.15;
    color: var(--charcoal-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.ebook-leaf-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 0;
    border: 1px solid rgba(42, 39, 34, 0.1);
}

/* Colunas de Receita Interna */
.recipe-internal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.recipe-block-olive {
    background: var(--olive-dark);
    color: var(--cream-white);
    padding: 1.5rem;
    border-radius: 0;
}

.recipe-block-olive h4 {
    color: var(--cream-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 6px;
    margin-bottom: 12px;
    font-weight: 700;
}

.recipe-block-olive ul {
    list-style: none;
    padding-left: 0;
}

.recipe-block-olive ul li {
    font-size: 0.85rem;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.recipe-block-olive ul li::before {
    content: "•";
    color: var(--gold);
    font-weight: bold;
}

.recipe-block-cream {
    color: var(--text-body);
}

.recipe-block-cream h4 {
    color: var(--olive-dark);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(89, 94, 60, 0.2);
    padding-bottom: 6px;
    margin-bottom: 12px;
    font-weight: 700;
}

.recipe-block-cream p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.recipe-block-cream ol {
    padding-left: 14px;
    font-size: 0.85rem;
}

.recipe-block-cream ol li {
    margin-bottom: 8px;
    line-height: 1.4;
    padding-left: 4px;
}

.recipe-suggestions-box {
    margin-top: 15px;
    border-top: 1px dashed var(--olive-light);
    padding-top: 12px;
}

.recipe-suggestions-box h5 {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--olive-dark);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.recipe-suggestions-box p {
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: var(--text-body);
}

.recipe-suggestions-box strong {
    color: var(--charcoal-dark);
}

/* Gallery Section (Pratos) */
.gallery {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.gallery-grid {
    column-count: 2;
    column-gap: 1.25rem;
}

@media(min-width: 768px) {
    .gallery-grid {
        column-count: 4;
    }
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.25rem;
    background-color: var(--cream-white);
    padding: 10px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(89, 94, 60, 0.18);
    box-shadow: 0 6px 18px rgba(42, 39, 34, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    border: 1px solid rgba(89, 94, 60, 0.08);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--olive-dark);
    box-shadow: 0 12px 28px rgba(89, 94, 60, 0.12);
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-cta-container {
    text-align: center;
    margin-top: 3.5rem;
}

/* Lucratividade (Por que filé mignon?) */
.lucratividade {
    padding: 6rem 0;
    background-color: var(--bg-main);
}

.profit-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-body);
    font-size: 1.15rem;
    line-height: 1.7;
}

.profit-highlight {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--olive-dark);
    margin-bottom: 1.8rem;
    font-family: var(--font-heading);
    line-height: 1.4;
}

/* Provas Reais Section */
.real-proof {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(89, 94, 60, 0.15);
    border-bottom: 1px solid rgba(89, 94, 60, 0.15);
}

.real-proof-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-body);
    line-height: 1.7;
}

.real-proof-content p {
    margin-bottom: 1.8rem;
}

.real-proof-content strong {
    color: var(--olive-dark);
}

.real-proof-quote {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--charcoal-dark);
    font-family: var(--font-heading);
    margin: 2rem 0;
    font-style: italic;
}

.real-proof-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.real-proof-gallery img {
    border-radius: 0;
    border: 1px solid rgba(89, 94, 60, 0.15);
    box-shadow: 0 10px 25px rgba(42, 39, 34, 0.05);
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Oferta (Box) */
.offer {
    padding: 7rem 0;
    background-color: var(--bg-main);
    text-align: center;
}

.offer-box {
    background: var(--bg-secondary);
    color: var(--text-body);
    max-width: 650px;
    margin: 0 auto;
    padding: 4rem 3rem;
    border-radius: 0;
    border: 1px solid var(--olive-dark);
    box-shadow: 0 15px 40px rgba(89, 94, 60, 0.06);
    position: relative;
}

.offer-box::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid var(--gold);
    pointer-events: none;
}

.offer-label {
    display: inline-block;
    background: var(--olive-dark);
    color: var(--cream-white);
    padding: 6px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.offer-box h2 {
    font-size: 2.6rem;
    margin-bottom: 2rem;
    line-height: 1.15;
    color: var(--text-title);
}

.price-container {
    margin-bottom: 2.5rem;
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: var(--olive-medium);
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.new-price {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--terracota);
    line-height: 1;
    font-family: var(--font-heading);
}

.installments {
    display: block;
    font-size: 1.2rem;
    color: var(--olive-dark);
    font-weight: 600;
    margin-top: 0.5rem;
}

.guarantee {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--olive-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.guarantee i {
    color: var(--gold);
}

/* FAQ (Acordeão) */
.faq {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(89, 94, 60, 0.15);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: var(--bg-main);
    margin-bottom: 1.2rem;
    border-radius: 0;
    padding: 1.6rem;
    box-shadow: 0 4px 15px rgba(42, 39, 34, 0.02);
    cursor: pointer;
    border: 1px solid rgba(89, 94, 60, 0.12);
    transition: border 0.3s ease;
}

details:hover {
    border-color: var(--olive-light);
}

details[open] {
    border-color: var(--olive-dark);
}

summary {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-title);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--olive-dark);
    font-weight: 400;
}

details[open] summary::after {
    content: '-';
}

details p {
    margin-top: 1.2rem;
    color: var(--text-body);
    border-top: 1px solid rgba(89, 94, 60, 0.1);
    padding-top: 1.2rem;
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--charcoal-dark);
    color: var(--cream-white);
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 3px solid var(--gold);
}

footer p {
    opacity: 0.85;
}

.footer-links {
    margin-top: 1rem;
    opacity: 0.6;
    font-size: 0.8rem;
}

/* ==========================================================================
   Responsividade Mobile
   ========================================================================== */

@media (max-width: 900px) {
    .ebook-page-spread {
        grid-template-columns: 1fr;
        padding: 8px;
    }
    .ebook-leaf {
        min-height: auto;
        padding: 1.8rem;
    }
    .ebook-leaf-left {
        border-right: none;
        border-bottom: 1px dashed rgba(42, 39, 34, 0.15);
        padding-bottom: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container { 
        padding: 0 20px; 
    }
    
    .hero { 
        padding: 4rem 0; 
    }
    
    .hero h1 { 
        font-size: 2.2rem; 
        line-height: 1.25; 
    }
    
    .hero-subtitle { 
        font-size: 1.05rem; 
    }
    
    .section-title { 
        font-size: 2.1rem; 
    }
    
    .section-subtitle { 
        font-size: 1.05rem; 
    }
    
    .recipes-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 1.2rem;
    }
    
    .recipe-list-column li {
        font-size: 1rem;
    }

    .cta-button { 
        width: 100%; 
        text-align: center; 
        padding: 1.1rem 1.5rem; 
        font-size: 1.05rem; 
        white-space: normal; 
        line-height: 1.3; 
    }
    
    .intro-course, .curriculum, .lucratividade, .gallery, .real-proof, .offer, .faq { 
        padding: 4.5rem 0; 
    }
    
    .benefits-grid, .real-proof-gallery { 
        gap: 1.8rem; 
    }
    
    .offer-box { 
        padding: 3rem 1.5rem; 
    }
    
    .offer-box h2 { 
        font-size: 2.1rem; 
    }
    
    .new-price { 
        font-size: 3.2rem; 
    }
}