/* Global Reset & Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0c;
    --bg-card: #121217;
    --accent-gold: #d4af37;
    --accent-gold-hover: #f1c40f;
    --accent-crimson: #8b0000;
    --text-primary: #f0f0f5;
    --text-muted: #a0a0b0;
    --border-color: rgba(212, 175, 55, 0.2);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Announcement Bar */
.top-bar {
    background: linear-gradient(90deg, #500, #800, #500);
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: radial-gradient(circle at top center, #1c131d 0%, var(--bg-dark) 70%);
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1 1 500px;
}

.badge {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 0 20px rgba(139, 0, 0, 0.5);
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.author-tag {
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 25px;
}

.hero-benefits {
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #ccc;
}

.benefit-item .icon {
    width: 20px;
    height: 20px;
    fill: var(--accent-gold);
}

.cta-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
    color: #000;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 18px 30px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, var(--accent-gold-hover) 0%, var(--accent-gold) 100%);
}

.secure-checkout {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* =================================================== */
/* ANIMAÇÃO DE MOCKUP 3D DA CAPA (EFEITO LIVRO EM 3D)  */
/* =================================================== */
.hero-media {
    flex: 1 1 350px;
    display: flex;
    justify-content: center;
    perspective: 1200px; /* Cria profundidade tridimensional */
}

.book-cover-wrapper {
    position: relative;
    max-width: 280px;
    border-radius: 6px 14px 14px 6px;
    /* Posição inicial: levemente virado em ângulo 3D */
    transform: rotateY(-22deg) rotateX(6deg) translateZ(0);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
    box-shadow: 
        -15px 15px 30px rgba(0, 0, 0, 0.8),
        -5px 5px 15px rgba(212, 175, 55, 0.2);
}

/* Efeito da lombada física de livro no mockup */
.book-cover-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(0,0,0,0.4) 100%);
    border-radius: 6px 0 0 6px;
    z-index: 2;
    pointer-events: none;
}

.ebook-cover-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px 14px 14px 6px;
}

/* INTERAÇÃO NO HOVER: Muda de posição, desvira suavemente e flutua */
.book-cover-wrapper:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-12px) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(212, 175, 55, 0.4);
}

/* Capa do Autor (Segunda Imagem) com efeito 3D suave */
.author-preview-section {
    padding: 50px 0;
    background-color: #0d0d10;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.author-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.author-image-wrapper {
    max-width: 300px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

.author-image-wrapper:hover {
    transform: translateY(-10px) rotate(2deg) scale(1.04);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.author-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Quote Section */
.alert-section {
    background-color: #12090c;
    border-top: 1px solid rgba(139, 0, 0, 0.4);
    border-bottom: 1px solid rgba(139, 0, 0, 0.4);
    padding: 40px 0;
}

.quote-box {
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: #e5e5e5;
    text-align: center;
}

.quote-box cite {
    display: block;
    margin-top: 15px;
    font-size: 1rem;
    color: var(--accent-gold);
    font-style: normal;
    font-weight: 700;
}

/* Chapters Section */
.chapters-section {
    padding: 80px 0;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

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

.chapter-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.chapter-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.chapter-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-crimson);
    display: block;
    margin-bottom: 10px;
}

.chapter-card h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.chapter-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Target Section */
.target-section {
    padding: 60px 0 80px;
    background-color: #0e0e12;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.target-card {
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.target-card:hover {
    transform: translateY(-5px);
}

.target-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.target-card h3 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.target-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =================================================== */
/*   ANIMAÇÃO DE EXPANSÃO E BRILHO AO PASSAR NO PREÇO   */
/* =================================================== */
.pricing-section {
    padding: 80px 0;
    background: radial-gradient(circle at center, #20080d 0%, var(--bg-dark) 80%);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 2px solid var(--accent-gold);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.pricing-badge {
    background-color: var(--accent-crimson);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-card h2 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.8rem;
    margin: 15px 0 10px;
}

.pricing-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Caixa do preço com transição estendida */
.price-box {
    margin: 30px 0;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1rem;
    display: block;
    transition: color 0.3s ease;
}

.current-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    line-height: 1;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease, text-shadow 0.3s ease;
}

.currency {
    font-size: 1.8rem;
    vertical-align: top;
}

.pay-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-top: 5px;
}

/* INTERAÇÃO HOVER NO PREÇO: Expande a letra/número e aplica iluminação Dourada */
.price-box:hover {
    background: rgba(212, 175, 55, 0.08);
}

.price-box:hover .current-price {
    transform: scale(1.18); /* Expande o valor do preço */
    color: var(--accent-gold-hover);
    text-shadow: 0 0 25px rgba(241, 196, 15, 0.8), 0 0 50px rgba(212, 175, 55, 0.4);
}

.price-box:hover .old-price {
    color: #bbb;
}

.pricing-features {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 0 auto 30px;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #222;
    color: #ddd;
    font-size: 0.95rem;
}

.btn-checkout {
    width: 100%;
    margin-bottom: 20px;
}

.guarantee-box {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed #444;
}

.guarantee-shield {
    font-size: 2rem;
}

.guarantee-text strong {
    color: #fff;
    display: block;
    font-size: 0.9rem;
}

.guarantee-text p {
    font-size: 0.8rem;
    color: #aaa;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid #222;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

/* Footer */
footer {
    background-color: #050507;
    padding: 40px 0;
    border-top: 1px solid #151518;
    color: #666;
    font-size: 0.85rem;
}

.copyright {
    margin-top: 10px;
    font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .current-price {
        font-size: 2.8rem;
    }

    .book-cover-wrapper {
        max-width: 230px;
    }
}