:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #9333ea;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-body: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); background: var(--bg-body); overflow-x: hidden; scroll-behavior: smooth; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar { position: sticky; top: 0; background: rgba(255,255,255,0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); z-index: 100; height: 70px; display: flex; align-items: center; }
.nav-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--primary); }
.logo-icon { background: var(--primary); color: white; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.95rem; transition: 0.2s; }
.nav-links a:hover { color: var(--primary); }

/* Buttons */
.btn-primary { background: var(--primary); color: white; border: none; padding: 14px 32px; border-radius: 50px; font-weight: 600; cursor: pointer; font-size: 1rem; transition: 0.3s; box-shadow: 0 10px 20px -5px rgba(37,99,235,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 25px -5px rgba(37,99,235,0.5); }
.btn-secondary { background: #eff6ff; color: var(--primary); border: none; padding: 10px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; }
.btn-white { background: white; color: var(--primary); border: none; padding: 14px 32px; border-radius: 50px; font-weight: 700; margin-top: 25px; cursor: pointer; }

/* Hero */
.hero { text-align: center; padding: 100px 0 60px; }
.badge-idiomas { background: #f1f5f9; color: #475569; padding: 6px 16px; border-radius: 100px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; border: 1px solid var(--border); }
.hero-title { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em; }
.text-gradient { background: linear-gradient(to right, #2563eb, #9333ea); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; }
.hero-stats { display: flex; justify-content: center; gap: 60px; margin-top: 80px; }
.stat-card { display: flex; flex-direction: column; align-items: center; }
.stat-card strong { font-size: 2.5rem; font-weight: 800; color: var(--text-main); }
.stat-card span { color: var(--text-muted); font-weight: 500; }

/* Features */
.features { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.label { background: #f1f5f9; padding: 4px 12px; border-radius: 4px; font-size: 0.7rem; font-weight: 800; color: #64748b; letter-spacing: 0.05em; display: inline-block; margin-bottom: 16px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.f-card { padding: 40px; border-radius: 20px; border: 1px solid var(--border); transition: 0.3s ease; }
.f-card i { font-size: 1.5rem; color: var(--primary); margin-bottom: 20px; }
.f-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.f-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }
.f-card.active { background: var(--primary); color: white; border-color: var(--primary); transform: scale(1.02); }
.f-card.active i, .f-card.active p { color: rgba(255,255,255,0.9); }
.f-card:hover:not(.active) { border-color: var(--primary); background: #f0f7ff; }

/* Languages */
.languages { text-align: center; padding: 100px 0; }
.lang-grid { display: flex; justify-content: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.lang-item { width: 150px; padding: 20px; border: 1px solid var(--border); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; transition: 0.3s; }
.lang-item:hover { border-color: var(--primary); transform: translateY(-5px); }
.lang-item strong { font-size: 1.5rem; color: #1e293b; }

/* Story */
.story-section { background: var(--bg-alt); padding: 100px 0; text-align: center; }
.quote-mark { font-size: 80px; color: #ffedd5; line-height: 1; font-family: serif; }
.story-content { max-width: 800px; margin: 30px auto; text-align: left; }
.story-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 20px; }

/* CTA Box */
.cta-box { background: var(--primary); border-radius: 32px; padding: 80px; text-align: center; color: white; margin: 60px 0; }
.cta-badge { background: rgba(255,255,255,0.2); padding: 6px 16px; border-radius: 50px; display: inline-block; margin-bottom: 20px; font-size: 0.9rem; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 100px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; }
.credit { color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2.5rem; }
}
/* 1. Suavidade Global */
html {
    scroll-behavior: smooth; /* Suporte nativo do navegador */
}

/* 2. Seção História (Design 50% melhor) */
.story-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--primary);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    box-shadow: 20px 20px 60px rgba(37, 99, 235, 0.1);
    background-image: url('https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?auto=format&fit=crop&w=800&q=80'); /* Exemplo de imagem de estudo */
    background-size: cover;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.experience-badge strong { font-size: 2rem; color: var(--primary); display: block; }

.story-text-content h2 { font-size: 2.8rem; margin: 15px 0; line-height: 1.2; }
.divider { width: 60px; height: 4px; background: var(--primary); margin-bottom: 25px; border-radius: 2px; }

.highlight-box {
    background: white;
    padding: 25px;
    border-left: 4px solid var(--accent);
    border-radius: 0 15px 15px 0;
    margin: 30px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.highlight-box i { color: var(--accent); font-size: 1.5rem; margin-top: 5px; }

/* 3. Footer (Completo e Moderno) */
.footer {
    background: #0f172a;
    color: #f8fafc;
    padding: 80px 0 40px;
    margin-top: 0; /* Removi o margin top exagerado */
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 100px;
    margin-bottom: 60px;
}

.footer-brand .logo { color: white; margin-bottom: 20px; }
.footer-brand p { color: #94a3b8; max-width: 300px; margin-bottom: 25px; }

.social-links { display: flex; gap: 15px; }
.social-links a { 
    width: 40px; height: 40px; background: rgba(255,255,255,0.05); 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; color: white; text-decoration: none; transition: 0.3s;
}
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }

.footer-nav h4 { margin-bottom: 25px; font-size: 1.1rem; color: white; }
.footer-nav a { 
    display: block; color: #94a3b8; text-decoration: none; 
    margin-bottom: 12px; transition: 0.2s; font-size: 0.95rem;
}
.footer-nav a:hover { color: var(--primary); padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-legal { display: flex; gap: 30px; }
.footer-legal a { color: #64748b; text-decoration: none; }
.footer-legal a:hover { color: white; }

/* Ajuste Responsivo para História */
@media (max-width: 768px) {
    .story-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}