@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --primary-color: #1e3a5f;
    --accent-color: #2c7a7b;
    --bg-page: #eef1f5;
    --white: #ffffff;
    --text-dark: #222222;
    --text-light: #555555;
}

html {
    scroll-behavior: smooth;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 18px;
    user-select: none;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    line-height: 1.2;
}

/* --- CABEÇALHO (MENU) --- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    transition: all 0.3s ease;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -1.5px;
    width: 250px;
}

.menu-items {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.menu-items a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s;
}

.menu-items a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}
.menu-items a:hover::after { width: 100%; }

.btn-aluno {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
    width: 250px;
    font-size: 1rem;
    transition: all 0.3s;
}
.btn-aluno:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

.mobile-menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
    user-select: none;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 70vh;
    padding: 40px 20px;
    margin-bottom: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center center;
    opacity: 0.15;
    z-index: -1;
    filter: grayscale(100%);
}

.hero h1 { font-size: 4.5rem; margin-bottom: 25px; max-width: 1000px; }
.hero p { font-size: 1.5rem; color: var(--text-light); margin-bottom: 40px; max-width: 800px; }

/* Lista de Benefícios Hero */
.hero-benefits {
    list-style: none;
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-benefits li {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-button {
    background-color: var(--accent-color);
    color: white !important;
    padding: 20px 50px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.2rem;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(44, 122, 123, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    user-select: auto;
}
.cta-button:hover { 
    transform: translateY(-5px); 
    background-color: #236c6d; 
    box-shadow: 0 10px 20px rgba(44, 122, 123, 0.4);
}

/* --- VSL (VÍDEO DE VENDAS) --- */
.vsl-section {
    width: 100%;
    padding: 30px 0 60px 0;
    background-color: var(--bg-page);
    text-align: center;
}

.video-wrapper {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 25%; /* Altura reduzida (25% da largura) */
    height: 0;
    border: 1px solid rgba(0,0,0,0.1); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    background: #000;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- BLOCOS DE CONTEÚDO --- */
.main-container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

.content-block {
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    margin-bottom: 80px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 500px;
    transition: transform 0.3s;
}
.content-block:hover { transform: translateY(-5px); }
.content-block.reverse { flex-direction: row-reverse; }

.text-area { flex: 1; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.text-area h2 { font-size: 3rem; margin-bottom: 25px; }
.text-area p { font-size: 1.3rem; color: var(--text-light); margin-bottom: 25px; }

.image-area { flex: 1; position: relative; }
.image-area img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

/* --- DEPOIMENTOS (CARROSSEL) --- */
.testimonials-section {
    padding: 60px 0 100px 0;
    text-align: center;
    background-color: var(--white);
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.marquee-wrapper { width: 100%; overflow: hidden; position: relative; }
.marquee-track { display: flex; gap: 30px; width: max-content; animation: scroll 60s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }

.testimonial-card {
    background: #f9f9f9;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
    border-top: 5px solid var(--accent-color);
    min-width: 350px;
    max-width: 350px;
    white-space: normal;
}

.stars { color: #FFD700; font-size: 1.2rem; margin-bottom: 15px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; color: var(--text-light); font-size: 1.0rem; margin-bottom: 20px; line-height: 1.6; height: 100px; overflow: hidden; }
.author { display: flex; align-items: center; gap: 15px; }
.author-avatar { width: 50px; height: 50px; background-color: var(--primary-color); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }
.author-info strong { display: block; color: var(--primary-color); font-size: 1.0rem; }
.author-info span { font-size: 0.85rem; color: var(--accent-color); font-weight: 700; }

@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- FAQ PREMIUM --- */
.faq-container { max-width: 800px; margin: 0 auto 80px auto; padding: 0 20px; }
details { background: var(--white); margin-bottom: 20px; border-radius: 12px; border: 1px solid transparent; box-shadow: 0 4px 15px rgba(0,0,0,0.03); overflow: hidden; transition: all 0.3s ease; }
details:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.08); transform: translateY(-2px); }
details[open] { border-color: var(--accent-color); box-shadow: 0 4px 20px rgba(44, 122, 123, 0.15); }
summary { padding: 25px 30px; cursor: pointer; font-size: 1.2rem; font-weight: 700; color: var(--primary-color); list-style: none; position: relative; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s; }
summary::-webkit-details-marker { display: none; }

/* FIX DA SETA GIGANTE: Adicionado min-width e flex-shrink */
.faq-icon { 
    width: 24px; 
    height: 24px; 
    min-width: 24px; /* Garante que não amasse */
    flex-shrink: 0; /* Garante que o flexbox não altere o tamanho */
    fill: var(--accent-color); 
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
}

details[open] .faq-icon { transform: rotate(180deg); }
details p { color: var(--text-light); font-size: 1.1rem; line-height: 1.7; margin: 0; padding: 0 30px 30px 30px; opacity: 0; transform: translateY(-10px); transition: all 0.4s ease; }
details[open] p { opacity: 1; transform: translateY(0); }

/* --- CABEÇALHOS PÁGINAS INTERNAS --- */
.page-header { text-align: center; padding: 60px 20px 40px 20px; }
.page-header h1 { font-size: 4rem; margin-bottom: 20px; }
.page-header p { font-size: 1.4rem; color: var(--text-light); max-width: 800px; margin: 0 auto; }

/* --- BOTÃO WHATSAPP FLUTUANTE --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 10000;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 35px; height: 35px; filter: brightness(0) invert(1); }

/* --- ANIMAÇÕES DE ENTRADA --- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero h1, .hero p, .hero .cta-button, .hero-benefits, .vsl-section,
.content-block, .page-header, .module-card, .feature-card, .pricing-card, details {
    opacity: 0; animation: fadeInUp 0.8s ease-out forwards;
}
.hero p { animation-delay: 0.2s; }
.hero-benefits { animation-delay: 0.3s; }
.hero .cta-button { animation-delay: 0.4s; }
.content-block { animation-delay: 0.3s; }

/* --- RODAPÉ (FOOTER) --- */
footer { background-color: var(--primary-color); color: var(--white); padding: 60px 20px; text-align: center; margin-top: 50px; border-top: 5px solid var(--accent-color); }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.social-links { display: flex; gap: 25px; margin-bottom: 10px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background-color: rgba(255,255,255,0.1); border-radius: 50%; transition: all 0.3s ease; text-decoration: none; }
.social-links a svg { width: 24px; height: 24px; fill: var(--white); transition: all 0.3s ease; }
.social-links a:hover { background-color: var(--accent-color); transform: translateY(-5px); }
.copyright { font-size: 0.9rem; opacity: 0.8; }
.cnpj-text { font-size: 0.8rem; opacity: 0.5; margin-top: -15px; }

/* --- RESPONSIVIDADE (MOBILE) --- */
@media (max-width: 900px) {
    nav { height: 70px; padding: 0 20px; position: relative; justify-content: space-between; }
    .logo { font-size: 1.8rem; width: auto; }
    .menu-items, .btn-aluno { display: none; width: 100%; text-align: center; }
    .mobile-menu-icon { display: block; }
    nav.active { height: auto; flex-direction: column; align-items: center; padding-bottom: 30px; background-color: var(--white); }
    nav.active .menu-items { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; margin-bottom: 20px; }
    nav.active .btn-aluno { display: flex; width: 100%; max-width: 300px; }
    nav.active .mobile-menu-icon { position: absolute; top: 15px; right: 20px; }
    
    .hero { height: auto; padding: 60px 20px; min-height: 50vh; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    
    /* FIX DO BOTÃO EM CIMA DA LISTA: Margem inferior e espaçamento na lista */
    .hero-benefits { 
        flex-direction: column; 
        gap: 15px; 
        margin-bottom: 40px; /* Garante espaço para o botão */
    }
    
    .content-block, .content-block.reverse { flex-direction: column; height: auto; margin-bottom: 40px; }
    .text-area { padding: 30px; }
    .text-area h2 { font-size: 2rem; }
    .text-area p { font-size: 1rem; }
    .image-area { height: 250px; }
    .page-header h1 { font-size: 2.5rem; }
    .page-header { padding-top: 40px; }
    .pricing-card { padding: 30px 20px; }
    .price-big { font-size: 3.5rem; }
    .features-grid, .modules-grid { grid-template-columns: 1fr; }
    .whatsapp-float { bottom: 15px; right: 15px; width: 50px; height: 50px; }
    .whatsapp-float img { width: 28px; height: 28px; }
    .testimonial-card { min-width: 300px; max-width: 300px; }
}