/* --- RESET BÁSICO E CONFIGURAÇÕES GLOBAIS (Mobile First) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    background-color: var(--branco);
    color: var(--cinza-texto);
    -webkit-font-smoothing: antialiased;
}

/* --- VARIÁVEIS DE COR MODERNIZADAS --- */
:root {
    --verde-principal: #009245;
    --amarelo-principal: #d7a800;
    --azul-principal: #003079;
    --branco: #ffffff;
    --cinza-escuro: #003e21;
    --cinza-claro: #f8f9fa;
    --cinza-texto: #343a40;
    --gradiente-amarelo: linear-gradient(45deg, #FFC700, #FFB800);
    --gradiente-verde: linear-gradient(45deg, #00A859, #009245);
}

/* --- BARRA DE PROMOÇÃO --- */
.promo-banner {
    background-color: var(--azul-principal);
    color: var(--branco);
    text-align: center;
    padding: 14px 5%;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-bottom: 3px solid var(--amarelo-principal);
}

#countdown-timer {
    background-color: var(--amarelo-principal);
    color: var(--cinza-escuro);
    padding: 4px 12px;
    border-radius: 6px;
    margin-left: 10px;
}

/* --- ESTILOS GERAIS DE SEÇÃO --- */
section {
    padding: 50px 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 { font-size: 2.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
h2 {
    font-size: 2.3rem;
    margin-bottom: 2rem;
    color: var(--azul-principal);
}

/* --- CABEÇALHO E NAVEGAÇÃO --- */
.header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--azul-principal);
    text-decoration: none;
    z-index: 1001;
    text-transform: uppercase;
}

/* --- ESTILOS DO MENU HAMBÚRGUER MELHORADOS --- */
.nav-links {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100vh;
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}

.nav-links.active {
    left: 0;
}

.nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-links.active li:nth-child(1) { transition-delay: 0.2s; }
.nav-links.active li:nth-child(2) { transition-delay: 0.3s; }
.nav-links.active li:nth-child(3) { transition-delay: 0.4s; }

.nav-links.active li {
    opacity: 1;
    transform: translateY(0);
}

.nav-links a {
    font-family: 'Oswald', sans-serif;
    color: var(--branco);
    font-size: 2.2rem;
    font-weight: 700;
    text-decoration: none;
    padding: 1rem;
    display: block;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.nav-links a:hover {
    color: var(--amarelo-principal);
    letter-spacing: 2px;
}

.hamburger {
    display: block;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--azul-principal);
    border-radius: 3px;
}

.hamburger.active .bar {
    background-color: var(--amarelo-principal);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* --- SEÇÃO HERO --- */
.hero-section {
    background-image: linear-gradient(rgba(45, 45, 45, 0.7), rgba(54, 54, 54, 0.7)), url('../images/Documentário 3.png');
    background-size: cover;
    background-position: center;
    color: var(--branco);
    padding: 100px 5%;
    text-align: center;
}
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.cta-button {
    background: var(--gradiente-amarelo);
    color: var(--cinza-escuro);
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 4px 20px rgba(255, 199, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 199, 0, 0.5);
}

/* --- SEÇÃO MANIFESTO (VISUAL MELHORADO) --- */
.manifesto-section {
    background: linear-gradient(180deg, var(--cinza-escuro) 0%, #000 100%);
    color: var(--branco);
    overflow: hidden;
    position: relative;
}
.manifesto-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"><rect fill="%231a1a1a" width="800" height="800"/><g fill-opacity="0.1"><circle fill="%23002776" cx="400" cy="400" r="600"/><circle fill="%231a1a1a" cx="400" cy="400" r="500"/><circle fill="%23002776" cx="400" cy="400" r="400"/><circle fill="%231a1a1a" cx="400" cy="400" r="300"/><circle fill="%23002776" cx="400" cy="400" r="200"/><circle fill="%231a1a1a" cx="400" cy="400" r="100"/></g></svg>');
    background-size: cover;
    opacity: 0.1;
}
.manifesto-section h2 {
    color: var(--amarelo-principal);
    font-size: 2rem;
    text-shadow: 0 0 15px rgba(255, 199, 0, 0.5);
}
.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.manifesto-item {
    border: 1px solid rgba(0, 39, 118, 0.5);
    padding: 2rem;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.manifesto-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--amarelo-principal);
}
.manifesto-item h3 {
    color: var(--branco);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}
.manifesto-solution {
    font-size: 1.3rem;
    font-weight: 700;
    max-width: 700px;
    margin: 2.5rem auto 0 auto;
    color: var(--cinza-claro);
    line-height: 1.5;
}


/* --- SEÇÃO DE APRESENTAÇÃO (SLIDER) --- */
.presentation-section {
    background-color: var(--cinza-claro);
}
.slider-container {
    position: relative;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.slides {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.slide {
    min-width: 100%;
}
.slide img {
    width: 100%;
    display: block;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    color: var(--azul-principal);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.slider-btn:hover {
    background-color: var(--branco);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.prev-btn {
    left: 15px;
}
.next-btn {
    right: 15px;
}




/* --- SEÇÃO DE PRODUTOS --- */
.ebooks-section { background-color: var(--cinza-claro); }
.ebooks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.ebook-card {
    background: var(--branco);
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.ebook-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.1);
}
.best-seller-seal {
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--gradiente-amarelo);
    color: var(--cinza-escuro);
    padding: 5px 35px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2;
}
.ebook-cover {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.ebook-card h3 {
    font-size: 1.6rem;
    color: var(--cinza-escuro);
    margin-bottom: 0.5rem;
}
.ebook-description {
    flex-grow: 1; 
    margin-bottom: 1rem;
}
.product-price {
    margin-bottom: 1rem;
}
.product-price .old-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}
.product-price .new-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--verde-principal);
}

.payment-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}
.payment-badges span {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    background-color: #e9e9e9;
    color: #555;
    letter-spacing: 0.5px;
}

.buy-button {
    margin-top: auto;
    background: var(--gradiente-verde);
    color: var(--branco);
    padding: 14px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    width: 100%;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 146, 69, 0.3);
    transition: all 0.3s ease;
}
.buy-button:hover { 
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 146, 69, 0.4);
}

/* --- SEÇÃO DE COMBO --- */
.combo-section {
    background: linear-gradient(180deg, #eaf5ff 0%, var(--branco) 100%); 
    padding-top: 60px;
    padding-bottom: 60px;
}
.combo-card {
    background: var(--branco);
    border: 3px solid var(--amarelo-principal);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: left;
}
.combo-image img {
    width: 100%;
    height: auto;
    display: block;
}
.combo-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.combo-details h3 {
    font-size: 2rem;
    color: var(--azul-principal);
    text-align: center;
    margin-bottom: 1rem;
}
.combo-details p {
    margin-bottom: 1.5rem;
    text-align: center;
}
.combo-details ul {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
}
.combo-details ul li {
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--verde-principal);
    font-size: 1.1rem;
}
.combo-price {
    text-align: center;
    margin-bottom: 1.5rem;
}
.combo-price .old-price {
    font-size: 1.3rem;
    color: #999;
    text-decoration: line-through;
    display: block;
}
.combo-price .new-price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--verde-principal);
    display: block;
}
.combo-button {
    width: 100%;
    max-width: 400px;
    text-align: center;
    font-size: 1.3rem;
    padding: 20px 30px;
    margin-bottom: 1.5rem;
}

/* --- SEÇÃO DE DEPOIMENTOS --- */
.testimonials-section { background-color: var(--branco); }
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.testimonial-card {
    background: var(--cinza-claro);
    padding: 2rem;
    border-radius: 16px;
    border-left: 5px solid var(--amarelo-principal);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.stars {
    color: var(--amarelo-principal);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.testimonial-card cite {
    font-weight: 700;
    margin-top: 1rem;
    display: block;
}

/* --- SEÇÃO FAQ --- */
.faq-section { background-color: var(--cinza-claro); }
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--branco);
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
}
.faq-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--cinza-escuro);
}

/* --- SEÇÃO SOBRE --- */
.about-section {
    background-color: var(--azul-principal);
    color: var(--branco);
}
.about-content h2 { color: var(--branco); }

/* --- RODAPÉ --- */
.footer {
    background-color: var(--cinza-escuro);
    color: var(--branco);
    text-align: center;
    padding: 3rem 5%;
}
.social-links a {
    color: var(--amarelo-principal);
    text-decoration: none;
    margin: 0 0.75rem;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--branco);
}

/* --- ESTILOS DO POP-UP (VISUAL MELHORADO) --- */
.purchase-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ffffff, #f7f8fa);
    padding: 0; /* Removido para dar espaço ao conteúdo interno */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
    visibility: hidden;
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
}
.purchase-popup::before {
    content: '✓';
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--branco);
    background-color: var(--verde-principal);
    padding: 1.5rem 1rem;
    border-top-left-radius: 11px;
    border-bottom-left-radius: 11px;
}
.purchase-popup.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}
.popup-content {
    padding: 1rem 1.5rem;
    text-align: left;
}
.popup-content p { 
    margin: 0; 
    font-size: 0.9rem; 
    font-weight: 700;
}
.popup-content span { 
    font-size: 0.8rem; 
    color: #666; 
}
.popup-content strong {
    color: var(--azul-principal);
}


/* --- ANIMAÇÃO DE SCROLL --- */
.animated-section > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animated-section.visible > * {
    opacity: 1;
    transform: translateY(0);
}
.animated-section.visible .ebook-card:nth-child(1),
.animated-section.visible .testimonial-card:nth-child(1),
.animated-section.visible .faq-item:nth-child(1),
.animated-section.visible .manifesto-item:nth-child(1) {
    transition-delay: 0.1s;
}
.animated-section.visible .ebook-card:nth-child(2),
.animated-section.visible .testimonial-card:nth-child(2),
.animated-section.visible .faq-item:nth-child(2),
.animated-section.visible .manifesto-item:nth-child(2) {
    transition-delay: 0.2s;
}
.animated-section.visible .ebook-card:nth-child(3),
.animated-section.visible .testimonial-card:nth-child(3),
.animated-section.visible .faq-item:nth-child(3),
.animated-section.visible .manifesto-item:nth-child(3) {
    transition-delay: 0.3s;
}

/* --- BOTÕES LATERAIS DE REDES SOCIAIS --- */
.social-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-sidebar a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--azul-principal);
    color: var(--branco);
    text-decoration: none;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-sidebar a:hover {
    transform: translateX(-10px);
}

.social-sidebar a.whatsapp:hover { background-color: #25D366; }
.social-sidebar a.facebook:hover { background-color: #1877F2; }
.social-sidebar a.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }

.social-sidebar svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}


/* --- ESTILOS PARA TABLETS --- */
@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .nav-links {
        position: static;
        left: auto;
        top: auto;
        height: auto;
        width: auto;
        background-color: transparent;
        flex-direction: row;
        gap: 2rem;
        list-style: none;
        padding: 0;
    }

    .nav-links li {
        opacity: 1;
        transform: none;
    }

    .nav-links a {
        color: var(--cinza-escuro);
        font-size: 1rem;
        padding: 0;
        font-family: 'Roboto', sans-serif;
        font-weight: 700;
    }

    .nav-links a:hover {
        color: var(--verde-principal);
        letter-spacing: normal;
    }

    section { padding: 80px 5%; }
    .logo { font-size: 1.5rem; }
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    .hero-content p {
        font-size: 1.2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .ebooks-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- ESTILOS PARA DESKTOPS --- */
@media (min-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 3rem; }
    .manifesto-grid { grid-template-columns: repeat(3, 1fr); }
    .ebooks-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .about-content p {
        max-width: 700px;
        margin: 0 auto;
        font-size: 1.1rem;
    }
    .combo-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 3rem;
        max-width: 1000px;
        margin: 0 auto;
    }
    .combo-details {
        padding: 3rem;
    }
}



