/* ===== VARIÁVEIS ===== */
:root {
    --primary-dark: #0a0f3c;
    --primary-light: #007BFF;
    --accent: #f8c045;
    --white: #ffffff;
    --gray-light: #f8f8f8;
    --gray: #e0e0e0;
    --gray-dark: #666666;
    --black: #222222;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== RESET E ESTILOS BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.highlight {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin: 1.5rem 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* ===== BOTÕES ===== */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button.primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.cta-button.primary:hover {
    background: #e6b53d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(248, 192, 69, 0.3);
}

.cta-button.dark {
    background: var(--primary-dark);
    color: var(--white);
}

.cta-button.dark:hover {
    background: #080c2d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 15, 60, 0.3);
}

.cta-button.large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ===== HEADER FIXO ===== */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.fixed-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.logo span {
    color: var(--accent);
}

/* ===== SEÇÃO HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a237e 100%);
    color: var(--white);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(248, 192, 69, 0.1) 0%, rgba(10, 15, 60, 0) 50%);
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.book-cover {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 5/7;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a237e 100%);
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 15px 15px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.book-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(248, 192, 69, 0.15) 0%, rgba(10, 15, 60, 0) 50%);
    z-index: 1;
}

.book-cover-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    position: relative;
}

.book-cover-content h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
}

.book-cover-content p {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.book-cover-content .highlight-text {
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 800;
    margin-top: 20px;
}

.book-cover:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4), 20px 20px 40px rgba(0, 0, 0, 0.3);
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    margin-top: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* ===== SEÇÕES GERAIS ===== */
section {
    padding: 100px 0;
    position: relative;
}

/* Seção de Problema */
.problem {
    background: var(--white);
    text-align: center;
}

.problem h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.problem-content {
    max-width: 800px;
    margin: 0 auto;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--accent);
}

.problem p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Seção do Método */
.method {
    background: var(--gray-light);
    text-align: center;
}

.method h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

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

.card {
    background: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Seção de Matérias */
.subjects {
    background: var(--white);
    text-align: center;
}

.subjects h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.subject-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.subject-card {
    background: var(--white);
    border-radius: 10px;
    padding: 40px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--accent);
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.subject-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Seção de Redação */
.essay {
    background: var(--primary-light);
    color: var(--white);
    padding: 80px 0;
}

.essay-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.essay-text {
    flex: 1;
}

.essay h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.essay p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.essay-features {
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.feature i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.2rem;
}

.essay-image {
    flex: 1;
    text-align: center;
}

.essay-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.essay-image img:hover {
    transform: scale(1.03);
}

/* Seção de Depoimentos */
.testimonials {
    background: var(--white);
    text-align: center;
}

.testimonials h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 3rem;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 40px;
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    scroll-snap-align: start;
}

.testimonial-content {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--gray);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--accent);
    object-fit: cover;
}

.stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 15px;
    font-style: normal;
}

.testimonial-score {
    font-size: 0.9rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-top: 10px;
    background: rgba(0, 123, 255, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    background: var(--gray-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.verified-badge i {
    color: var(--accent);
    margin-right: 8px;
    font-size: 1rem;
}

/* Seção de Bônus */
.bonus {
    background: #fff9e6;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bonus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path fill="%23f8c045" fill-opacity="0.1" d="M50 0l15 30 30 15-30 15-15 30-15-30-30-15 30-15z"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.bonus .container {
    position: relative;
    z-index: 2;
}

.bonus h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.bonus-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.bonus-item {
    background: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px dashed var(--accent);
    position: relative;
    overflow: hidden;
}

.bonus-item::before {
    content: 'BÔNUS';
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 3px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
}

.bonus-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.bonus-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Seção de Oferta */
.offer {
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path fill="%23f8c045" fill-opacity="0.05" d="M50 0l15 30 30 15-30 15-15 30-15-30-30-15 30-15z"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.offer .container {
    position: relative;
    z-index: 2;
}

offer h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.offer .highlight {
    font-size: 1.5rem;
    color: var(--white);
    margin: 2rem 0;
}

.warning {
    color: #ff6b6b;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 1.5rem 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.price-box {
    padding: 30px;
    margin: 40px auto;
    max-width: 500px;
}

.original-price {
    text-decoration: line-through;
    font-size: 1.5rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.price-red {
    color: #ff4444;
    font-weight: 800;
}

.discount-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.price-blue {
    color: #00FF00;
    font-weight: 800;
}

.or {
    font-size: 1.2rem;
    opacity: 0.9;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.guarantee i {
    margin-right: 10px;
    color: var(--accent);
}

/* Seção Final CTA */
.final-cta {
    background: var(--white);
    text-align: center;
    padding: 100px 0;
}

.final-cta h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.final-cta .highlight {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 2rem 0;
}

.quote {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--gray-dark);
    margin: 2rem 0;
}

/* Rodapé */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--accent);
}

.footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: var(--white);
    margin: 0 10px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links span {
    opacity: 0.5;
}

/* Botão Flutuante */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .essay-content {
        flex-direction: column;
    }
    
    .essay-text {
        margin-bottom: 40px;
    }
    
    .testimonial {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    section {
        padding: 70px 0;
    }
    
    .hero {
        padding: 150px 0 70px;
    }
    
    .method-cards, .subject-cards, .bonus-items {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        flex: 0 0 100%;
    }
    
    .price-box {
        padding: 20px;
    }
    
    .discount-price {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .cta-button {
        width: 100%;
        padding: 15px;
    }
    
    .floating-cta {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }
    
    .floating-cta .cta-button {
        width: 100%;
    }
}
