/* Color Palette */
:root {
    --primary: #385ca0;
    --primary-dark: #264073;
    --secondary: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    color: #1a4fa0;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    background-color: #ffffff;
    padding-bottom: 70px; /* Space for fixed partners bar */
}

/* Splash Screen Animation */






@keyframes simplePulse {
    0% { transform: scale(0.9); opacity: 0; }
    20% { transform: scale(1); opacity: 1; }
    80% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.1); opacity: 0; }
}

/* Scroll Animations */
.fade-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.fade-in { opacity: 0; transition: opacity 0.8s ease-in-out; }
.slide-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.slide-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.show-animate { opacity: 1; transform: translateY(0) translateX(0); }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px; font-weight: 600; text-decoration: none;
    transition: var(--transition); cursor: pointer; border: 2px solid transparent; text-align: center;
}
.btn-primary { background-color: var(--primary); color: var(--white); box-shadow: 0 4px 14px rgba(56, 92, 160, 0.3); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(56, 92, 160, 0.4); }
.btn-outline { background-color: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background-color: var(--primary); color: var(--white); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(56, 92, 160, 0.2); }
.btn-large { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 24px; font-size: 0.95rem; }
.btn-glow { position: relative; overflow: hidden; z-index: 1; }
.btn-glow::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); animation: shine 3s infinite; z-index: -1; }
@keyframes shine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }
.text-center { text-align: center; }
.section { padding: 100px 0; }
.bg-light { background-color: var(--secondary); }
.section-title { font-size: 2.5rem; font-weight: 800; color: #1a4fa0; margin-bottom: 16px; }
.section-title span { color: var(--primary); }
.section-subtitle { color: #1a4fa0; font-size: 1.15rem; margin-bottom: 48px; max-width: 650px; margin-left: auto; margin-right: auto; }

/* Header */
#header {
    position: fixed; top: 0; width: 100%; background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,0.05); z-index: 1000;
    padding: 16px 0; transition: var(--transition);
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.header-logo { height: 45px; transition: var(--transition); }
.main-nav .nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--primary); font-weight: 600; transition: var(--transition); position: relative; padding: 5px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px;
    background-color: var(--primary); transition: var(--transition); border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary); cursor: pointer; }

/* Hero Section */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; object-fit: cover; object-position: center center; }
.desktop-video { display: block; }
.mobile-video { display: none; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(56, 92, 160, 0.75) 100%); z-index: -1; }
.hero-content { color: var(--white); max-width: 800px; margin-top: 80px; }
.hero-title { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
.hero-subtitle { font-size: 1.25rem; margin-bottom: 40px; color: #e2e8f0; font-weight: 400; }
.hero-buttons { display: flex; gap: 20px; }

/* Stats Section */
.stats-section { background-color: var(--primary); padding: 40px 0; color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 2.8rem; font-weight: 800; margin-bottom: 5px; }
.stat-item p { font-size: 0.95rem; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* Sobre Nós & Planos */
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sobre-text p { margin-bottom: 20px; color: #1a4fa0; font-size: 1.1rem; }
.features-list { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; align-items: flex-start; background: var(--white); padding: 24px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); transition: var(--transition); border: 1px solid rgba(0,0,0,0.02); }
.feature-item:hover { transform: translateX(10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: rgba(56, 92, 160, 0.1); }
.feature-item i { font-size: 2.2rem; color: var(--primary); margin-right: 20px; margin-top: 4px; transition: transform 0.3s ease; }
.feature-item:hover i { transform: scale(1.1) rotate(-10deg); }
.feature-item h4 { margin-bottom: 8px; font-size: 1.2rem; }
.feature-item p { margin-bottom: 0; font-size: 0.95rem; }

.img-hover-effect img { border-radius: 20px; width: 100%; box-shadow: 0 20px 40px rgba(0,0,0,0.1); transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s; }
.img-hover-effect:hover img { transform: scale(1.02) translateY(-5px); box-shadow: 0 30px 50px rgba(0,0,0,0.15); }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 30px; }
.card { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); padding: 48px 32px; border-radius: 24px; box-shadow: 0 10px 40px rgba(0,0,0,0.04); text-align: center; border: 1px solid rgba(0,0,0,0.03); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.card:hover { transform: translateY(-15px); box-shadow: 0 25px 50px rgba(56, 92, 160, 0.12); border-color: rgba(56, 92, 160, 0.3); background: var(--white); }
.card-icon { width: 80px; height: 80px; background-color: var(--secondary); color: var(--primary); border-radius: 24px; display: flex; justify-content: center; align-items: center; font-size: 2.5rem; margin: 0 auto 24px; transition: all 0.4s ease; box-shadow: 0 10px 20px rgba(0,0,0,0.02); }
.card:hover .card-icon { background-color: var(--primary); color: var(--white); transform: scale(1.15) rotate(5deg) translateY(-5px); box-shadow: 0 15px 25px rgba(56, 92, 160, 0.2); }
.card-title { margin-bottom: 16px; font-size: 1.5rem; font-weight: 700; }
.card-desc { color: #1a4fa0; margin-bottom: 32px; }

/* Gamified Form */
.form-wrapper { max-width: 800px; margin: 0 auto; }
.gamified-container { background: var(--white); padding: 50px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.08); overflow: hidden; position: relative; margin-top: 20px; }
.progress-container { width: 100%; height: 8px; background: #e2e8f0; border-radius: 4px; margin-bottom: 40px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--primary); width: 20%; transition: width 0.4s ease; }
.steps-container { position: relative; min-height: 300px; }
.form-step { display: none; animation: slideIn 0.4s ease forwards; }
.form-step.active { display: block; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.slide-in { animation: slideInDown 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
@keyframes slideInDown { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.step-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; color: var(--primary); text-align: center; }
.step-desc { text-align: center; color: #1a4fa0; margin-top: -15px; margin-bottom: 20px; }

.options-grid { display: grid; gap: 15px; }
.options-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.options-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.option-card { background: var(--white); border: 2px solid #e2e8f0; padding: 25px 20px; border-radius: 16px; font-size: 1.1rem; font-weight: 600; color: #1a4fa0; cursor: pointer; transition: var(--transition); display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: auto; position: relative; z-index: 1; }
.option-card i { font-size: 2.5rem; color: var(--primary); transition: var(--transition); }
.option-card:hover { border-color: var(--primary); background: #f0f4f8; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(56, 92, 160, 0.1); }
.option-card:hover i { color: var(--primary); }

.input-group { position: relative; margin-bottom: 20px; max-width: 500px; margin-left: auto; margin-right: auto; }
.input-group i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: #1a4fa0; }
.input-group input { width: 100%; padding: 18px 20px 18px 50px; border: 2px solid #e2e8f0; border-radius: 12px; font-size: 1.1rem; outline: none; transition: var(--transition); }
.input-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(56, 92, 160, 0.1); }

.slider-container { margin-bottom: 30px; text-align: center; max-width: 500px; margin-left: auto; margin-right: auto; }
.slider-value { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.slider { width: 100%; height: 10px; border-radius: 5px; background: #e2e8f0; outline: none; -webkit-appearance: none; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); cursor: pointer; transition: transform 0.1s; box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.slider::-webkit-slider-thumb:active { transform: scale(1.2); }

.btn-back { display: block; margin: 20px auto 0; background: none; border: none; color: var(--text-light); font-weight: 600; cursor: pointer; font-size: 1rem; transition: var(--transition); }
.btn-back:hover { color: var(--text-dark); }
.next-btn { width: 100%; max-width: 500px; display: block; margin: 10px auto 0; font-size: 1.1rem; padding: 16px; }

.success-content { text-align: center; }
.success-icon { font-size: 5rem; color: #10b981; margin-bottom: 20px; animation: scaleUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes scaleUp { 0% { transform: scale(0); } 100% { transform: scale(1); } }

/* Footer */
.footer { background-color: #0f172a; color: var(--white); padding: 60px 0 30px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; margin-bottom: 40px; }
.footer-logo p { color: #ffffff; margin-top: 15px; max-width: 400px; font-size: 0.95rem; }
.footer-contato h4 { font-size: 1.2rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-contato h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background-color: #ffffff; border-radius: 2px; }
.footer-contato p { margin-bottom: 12px; color: #ffffff; font-size: 0.95rem; }
.footer-contato i { margin-right: 10px; color: #ffffff; width: 20px; text-align: center; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: #ffffff; font-size: 0.9rem; }

/* Floating WhatsApp */
.float-whatsapp { position: fixed; width: 60px; height: 60px; bottom: 90px; right: 20px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 998; display: flex; justify-content: center; align-items: center; transition: transform 0.3s ease; text-decoration: none; }
.float-whatsapp:hover { transform: scale(1.1) translateY(-5px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6); }

/* Fixed Partners Bar (Marquee) */
.fixed-partners-bar {
    position: fixed; bottom: 0; left: 0; width: 100%; background: #ffffff; padding: 12px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08); z-index: 997; overflow: hidden; display: flex; align-items: center;
}
.marquee-content { display: flex; animation: marquee 40s linear infinite; gap: 60px; align-items: center; padding-left: 60px; width: max-content; }
.marquee-content img { height: 35px; width: auto; object-fit: contain; filter: opacity(0.9); transition: all 0.3s ease; cursor: pointer; }
.marquee-content img:hover { filter: opacity(1); transform: scale(1.05); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Media Queries */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
    .sobre-image { order: -1; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
    .main-nav, .nav-btn { display: none; }
    .mobile-menu-btn { display: block; }
    .desktop-video { display: none; }
    .mobile-video { display: block; object-position: center top; }
    .hero-title { font-size: 1.5rem; line-height: 1.3; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    .cards-grid { grid-template-columns: 1fr; }
    .options-grid.cols-3 { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item h3 { font-size: 2rem; }
    .marquee-content img { height: 28px; }
    .fixed-partners-bar { padding: 10px 0; }
    .gamified-container { padding: 30px 20px; }
    .slider-value { font-size: 2rem; }
    
    .main-nav.active {
        display: block; position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 24px; border-top: 1px solid #f1f5f9;
    }
    .main-nav.active .nav-links { flex-direction: column; align-items: center; gap: 20px; }
    .main-nav.active .nav-links a { font-size: 1.1rem; width: 100%; text-align: center; display: block; }
}

.option-card.selected { border-color: var(--primary); background: #eef2ff; color: var(--primary); }
.option-card.selected i { color: var(--primary); }

/* Mobile/Desktop visibility */
.mobile-only { display: none; }
.desktop-only { display: block; }
@media (max-width: 768px) {
    .mobile-only { display: block; }
    .desktop-only { display: none; }
}


/* ── Feedbacks / Videos Section ── */
.feedbacks-col { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.feedbacks-header { width: 100%; display: flex; justify-content: center; }
.feedbacks-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #385ca0, #4a7fc1);
    color: #fff; font-size: 0.9rem; font-weight: 700;
    padding: 8px 18px; border-radius: 50px;
    box-shadow: 0 4px 15px rgba(56,92,160,0.3);
}
.feedbacks-badge i { color: #fbbf24; }

.feedbacks-videos {
    position: relative;
    width: 280px;
    aspect-ratio: 9/16;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 25px 50px rgba(56,92,160,0.18);
    margin: 0 auto;
}
.feedback-video-card {
    position: absolute; inset: 0;
    opacity: 0; transform: scale(0.96);
    transition: opacity 0.5s ease, transform 0.5s ease;
    cursor: pointer;
    border-radius: 20px; overflow: hidden;
}
.feedback-video-card.active { opacity: 1; transform: scale(1); z-index: 2; }
.feedback-video-card video { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.feedback-video-overlay {
    position: absolute; inset: 0; border-radius: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%);
    pointer-events: none;
}
.feedback-video-card.unmuted::after {
    content: '🔊'; position: absolute; top: 12px; right: 14px;
    font-size: 1.2rem; background: rgba(0,0,0,0.5);
    border-radius: 50%; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
}
.feedbacks-dots { display: flex; gap: 8px; }
.fdot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #cbd5e1; border: none; cursor: pointer;
    transition: all 0.3s ease;
}
.fdot.active { background: #385ca0; width: 28px; border-radius: 6px; }

/* Google Review Button */
.google-review-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #1a4fa0; color: #fff !important;
    border: none; border-radius: 50px;
    padding: 12px 22px; font-weight: 700; font-size: 0.95rem;
    text-decoration: none; cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    animation: pulse-google 2.5s infinite;
}
.google-review-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    animation: none;
}
.google-rating {
    color: #fff !important;
    font-weight: 800;
    font-size: 1rem;
}
.google-stars {
    color: #FBBC05 !important;
    font-size: 1rem;
    letter-spacing: 1px;
}
.google-label {
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
}
@keyframes pulse-google {
    0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
    50% { box-shadow: 0 4px 28px rgba(0,0,0,0.4), 0 0 0 6px rgba(251,188,5,0.12); }
}

@media (max-width: 768px) {
    .feedbacks-videos { width: 240px; }
    .google-review-btn { font-size: 0.9rem; padding: 12px 18px; }
}


/* ── Reviews Text Cards (temporário — vídeos voltam no futuro) ── */
.reviews-carousel {
    position: relative;
    width: 100%;
    min-height: 260px;
}
.review-card {
    display: none;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(26,79,160,0.10);
    border: 1px solid #e8eef8;
    animation: fadeInReview 0.4s ease;
}
.review-card.active { display: flex; }
@keyframes fadeInReview {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.review-stars { color: #FBBC05; font-size: 1.2rem; letter-spacing: 2px; }
.review-text {
    color: #1a4fa0;
    font-size: 0.98rem;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}
.review-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a4fa0, #4a7fc1);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.review-author strong { color: #1a4fa0; font-size: 0.95rem; display: block; }
.review-author span { color: #7aa0d4; font-size: 0.82rem; }
