/* ============================================================
   LANDING PAGE - Prepara Rio Largo
   ============================================================ */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --accent: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;

    --dark: #0f172a;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50:  #f9fafb;
    --white: #ffffff;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius: 12px;
    --radius-lg: 20px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    box-shadow: var(--shadow);
    border-bottom-color: var(--gray-200);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
    color: var(--gray-900);
}
.logo-text-themed {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 22px;
    box-shadow: var(--shadow);
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
    position: relative;
}
/* Links de menu padrão (sem .btn) */
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: var(--transition);
}
.nav-links a:not(.btn):hover::after { width: 100%; }

/* Botões dentro do menu: mantém cor própria, sem sublinhado */
.nav-links a.btn,
.nav-links a.btn i,
.nav-links a.btn:hover,
.nav-links a.btn:hover i { color: white; }

.nav-links a.btn-outline,
.nav-links a.btn-outline i { color: var(--gray-800); }
.nav-links a.btn-outline:hover,
.nav-links a.btn-outline:hover i { color: var(--primary); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    line-height: 1;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white !important;
    box-shadow: 0 4px 14px rgb(0 0 0 / 0.15);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.25);
    color: white !important;
    filter: brightness(1.05);
}
.btn-primary i { color: white !important; }
.btn-secondary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--gray-800);
    border: 2px solid var(--gray-300);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-lg { padding: 16px 32px; font-size: 17px; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-800);
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff 0%, #faf5ff 50%, #fffbeb 100%);
}
.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.hero > .container { position: relative; z-index: 2; }
.hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(139,92,246,0.18), transparent 70%);
    border-radius: 50%;
    animation: floatA 14s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.15), transparent 70%);
    border-radius: 50%;
    animation: floatB 16s ease-in-out infinite;
}
@keyframes floatA {
    0%,100% { transform: translate(0,0); }
    50%     { transform: translate(-30px,30px); }
}
@keyframes floatB {
    0%,100% { transform: translate(0,0); }
    50%     { transform: translate(40px,-30px); }
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50%     { transform: scale(1.3); opacity: 0.6; }
}
.hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 24px;
    letter-spacing: -1px;
}
.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
    position: relative;
    height: 500px;
}
.hero-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}
.hero-card-1 {
    top: 0; left: 0;
    width: 260px;
    animation: cardFloat1 6s ease-in-out infinite;
}
.hero-card-2 {
    top: 130px; right: 0;
    width: 280px;
    animation: cardFloat2 7s ease-in-out infinite;
}
.hero-card-3 {
    bottom: 0; left: 40px;
    width: 300px;
    animation: cardFloat3 8s ease-in-out infinite;
}
@keyframes cardFloat1 {
    0%,100% { transform: translateY(0) rotate(-3deg); }
    50%     { transform: translateY(-15px) rotate(-3deg); }
}
@keyframes cardFloat2 {
    0%,100% { transform: translateY(0) rotate(2deg); }
    50%     { transform: translateY(-20px) rotate(2deg); }
}
@keyframes cardFloat3 {
    0%,100% { transform: translateY(0) rotate(-1deg); }
    50%     { transform: translateY(-12px) rotate(-1deg); }
}
.hero-card h4 { font-size: 14px; color: var(--gray-500); margin-bottom: 8px; font-weight: 500; }
.hero-card .big { font-size: 28px; font-weight: 800; color: var(--gray-900); }
.hero-card .icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: grid; place-items: center;
    color: white; font-size: 18px;
    margin-bottom: 12px;
}

/* ===== SEÇÕES GERAIS ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-subtitle { font-size: 17px; color: var(--gray-600); }

/* ===== DIFERENCIAIS ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.feature-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 16px;
    display: grid; place-items: center;
    font-size: 26px;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.feature-card p { color: var(--gray-600); font-size: 15px; }

/* ===== DISCIPLINAS ===== */
.disciplines { background: var(--gray-50); }
.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.discipline-card {
    background: white;
    padding: 28px 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}
.discipline-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.discipline-card .ic {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: grid; place-items: center;
    font-size: 22px;
    margin: 0 auto 14px;
    color: white;
}
.discipline-card h4 { font-weight: 700; color: var(--gray-900); }
.discipline-card .h { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

/* ===== ESTATÍSTICAS ===== */
.stats {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
      radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1), transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1), transparent 40%);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    text-align: center;
    position: relative;
}
.stat-number { font-size: 52px; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 16px; opacity: 0.92; }

/* ===== DEPOIMENTOS ===== */
.testimonials-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.testimonial::before {
    content: '"';
    position: absolute;
    top: 12px; left: 24px;
    font-size: 90px;
    color: var(--primary);
    opacity: 0.12;
    font-family: Georgia, serif;
    line-height: 1;
}
.stars { color: var(--secondary); font-size: 18px; margin-bottom: 12px; }
.testimonial p { color: var(--gray-700); font-style: italic; margin-bottom: 20px; position: relative; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: grid; place-items: center;
    font-weight: 700;
}
.author-name { font-weight: 700; color: var(--gray-900); }
.author-role { font-size: 13px; color: var(--gray-500); }

/* ===== FAQ ===== */
.faq { background: var(--gray-50); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--gray-900);
}
.faq-question .icon { transition: var(--transition); }
.faq-item.open .faq-question .icon { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: var(--gray-600);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 24px 20px; }

/* ===== CTA ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray-900), var(--primary-dark));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      radial-gradient(circle at 10% 20%, rgba(139,92,246,0.3), transparent 50%),
      radial-gradient(circle at 90% 80%, rgba(245,158,11,0.25), transparent 50%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer h4 { color: white; font-weight: 700; margin-bottom: 16px; font-size: 16px; }
.footer a { color: var(--gray-400); transition: var(--transition); display: block; margin-bottom: 8px; font-size: 14px; }
.footer a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
}
.social { display: flex; gap: 12px; }
.social a {
    width: 40px; height: 40px;
    background: var(--gray-800);
    border-radius: 10px;
    display: grid; place-items: center;
    color: white;
    margin: 0;
}
.social a:hover { background: var(--primary); }

/* ===== AOS-LIKE ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { height: 460px; margin-top: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .section { padding: 60px 0; }
    .hero { padding: 110px 0 60px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-card-1 { width: 200px; }
    .hero-card-2 { width: 220px; right: -20px; }
    .hero-card-3 { width: 240px; }
}
