/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f4043; /* Verde escuro sofisticado da logo */
    --secondary-color: #ebe6d5; /* Bege/Creme da logo */
    --accent-color: #caa768; /* Dourado/Tan da logo para botões e destaques */
    --dark-color: #0b2d2f;
    --text-color: #2a5356;
    --white: #ffffff;
    --container-width: 1100px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fcfbf7;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.grid { display: grid; gap: 40px; }

/* Header */
header {
    padding: 15px 0;
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.container-logo{
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
    display: block;
}

/* Movie Section */
.movie {
    background-color: var(--primary-color);
    width: 100%;
    min-height: 80vh; /* Ajustado para não ser tão alto em telas menores */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.movie .container {
    width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Hero Section */
.hero {
    padding: 100px 0; /* Aumentado para dar mais destaque */
    overflow: hidden;
}

.hero .grid {
    grid-template-columns: 1fr 1fr; /* Dividido igualmente para melhor equilíbrio */
    align-items: center;
    gap: 80px; /* Mais espaço entre texto e imagem */
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Ebook Mockup - Design Refinado e Responsivo */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.ebook-mockup {
    position: relative;
    width: 280px; /* Tamanho base para desktop */
    height: 380px;
    background: var(--accent-color);
    border-radius: 4px 12px 12px 4px;
    box-shadow: 15px 15px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease;
    z-index: 2;
}

.ebook-mockup:hover {
    transform: rotate(-2deg) translateY(-10px);
}

.book-spine {
    position: absolute;
    left: 0;
    width: 15px;
    height: 100%;
    background: rgba(0,0,0,0.15);
    border-radius: 4px 0 0 4px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.book-cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.mockup-logo {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
}

.book-cover h3 {
    font-size: 1.6rem;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-cover p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

.floating-badge {
    position: absolute;
    bottom: 10px;
    right: -10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 3;
    white-space: nowrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.btn-primary {
    background: var(--primary-color);
}

.btn-primary:hover {
    background: var(--accent-color);
}

.btn-large {
    font-size: 1.3rem;
    padding: 20px 50px;
    background: var(--accent-color);
}

/* Benefits */
.benefits {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    padding: 30px;
    background: var(--secondary-color);
    border-radius: 12px;
    text-align: center;
    border-bottom: 4px solid var(--accent-color);
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* CTA Final */
.cta-final {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--white);
}

.cta-final h2 {
    color: var(--white);
}

.price-box {
    margin: 30px 0;
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: rgba(255,255,255,0.6);
    font-size: 1.2rem;
}

.current-price {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.installments {
    font-size: 1rem;
    color: var(--secondary-color);
}

.secure-info {
    margin-top: 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

footer {
    padding: 40px 0;
    background: var(--dark-color);
    color: var(--white);
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Efeitos de Animação */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(202, 167, 104, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(202, 167, 104, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(202, 167, 104, 0); }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Enhancements */
.highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #456e70;
    margin-bottom: 30px;
}

.cta-subtext {
    font-size: 0.9rem;
    margin-top: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Pain Point */
.pain-point {
    padding: 60px 0;
    background: #f4f4f4;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.pain-point h2 {
    color: #d63031;
    margin-bottom: 20px;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    padding: 20px;
    background: var(--secondary-color);
    border-radius: 8px;
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* CTA Final Scarcity */
.scarcity-timer {
    background: #d63031;
    color: white;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 5px;
    font-weight: 700;
    margin-bottom: 20px;
}

.guarantee {
    margin-top: 20px;
    font-weight: 600;
    color: #27ae60;
}

.hero-list {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.hero-list li {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

@media (max-width: 768px) {
    .hero-list li {
        justify-content: center;
    }
}

/* Ebook Stack Effect (Preview Real) */
.ebook-stack {
    position: relative;
    width: 320px;
    height: 420px;
    margin: 0 auto;
}

.ebook-page {
    position: absolute;
    width: 260px;
    height: 360px;
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.page-1 { /* Capa */
    z-index: 3;
    left: 0;
    top: 0;
    transform: rotate(-2deg);
}

.page-2 { /* Página Interna 1 */
    z-index: 2;
    left: 30px;
    top: 20px;
    transform: rotate(3deg);
    background: #f9f9f9;
}

.page-3 { /* Página Interna 2 */
    z-index: 1;
    left: 60px;
    top: 40px;
    transform: rotate(8deg);
    background: #f1f1f1;
}

.ebook-stack:hover .page-1 { transform: rotate(-5deg) translateX(-20px); }
.ebook-stack:hover .page-2 { transform: rotate(0deg) translateY(-10px); }
.ebook-stack:hover .page-3 { transform: rotate(5deg) translateX(20px); }

.page-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback para quando não tem imagem (estilo placeholder antigo) */
.page-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--accent-color);
    color: white;
    padding: 20px;
    text-align: center;
}

/* Responsividade Geral e do Mockup */
@media (max-width: 768px) {
    .movie {
        min-height: auto;
        padding: 20px 0;
    }

    .hero .grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-image {
        /* Removido order: -1 para o livro ficar abaixo do texto */
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .current-price { font-size: 2.8rem; }

    .ebook-mockup {
        width: 220px; /* Reduz o tamanho no mobile */
        height: 300px;
        padding: 20px;
    }

    .book-cover h3 {
        font-size: 1.3rem;
    }

    .mockup-logo {
        width: 40px;
    }

    .floating-badge {
        right: 0;
        bottom: 0;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    
    .ebook-mockup {
        width: 180px;
        height: 250px;
    }

    .book-cover h3 {
        font-size: 1.1rem;
    }
}
