/* ── Variables ── */
:root {
  --bg: #faf9f7;
  --bg-alt: #f2f0ec;
  --navy: #1a2744;
  --navy-light: #2a3a5c;
  --gold: #e8a838;
  --gold-light: #f5c76a;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --white: #ffffff;
  --border: #e2dfd8;
  --radius: 10px;
  --radius-lg: 18px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
.section-label { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.section-title { font-size: clamp(28px, 4vw, 44px); color: var(--navy); margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 480px; margin-bottom: 40px; }

/* ── Hero ── */
.hero { padding: 80px 0 60px; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); background: rgba(232,168,56,0.15); border: 1px solid rgba(232,168,56,0.3); padding: 4px 10px; border-radius: 20px; margin-bottom: 20px; }
.hero-title { font-size: clamp(36px, 5vw, 62px); font-weight: 700; color: var(--white); margin-bottom: 20px; line-height: 1.1; }
.hero-lede { font-size: 18px; color: rgba(255,255,255,0.75); line-height: 1.65; max-width: 460px; }

/* Quiz card stack */
.quiz-card-stack { position: relative; height: 360px; }
.quiz-card { position: absolute; background: var(--white); border-radius: var(--radius-lg); padding: 22px 24px; width: 100%; color: var(--text); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.quiz-card-1 { top: 0; left: 0; z-index: 3; transform: rotate(-1.5deg); }
.quiz-card-2 { top: 80px; left: 24px; z-index: 2; transform: rotate(1.2deg); }
.quiz-card-3 { top: 165px; left: 10px; z-index: 1; transform: rotate(-0.8deg); }
.qc-subject { font-size: 11px; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.qc-q { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 12px; line-height: 1.35; }
.qc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.qc-opt { font-size: 12px; padding: 6px 10px; border-radius: 6px; background: var(--bg-alt); color: var(--text-muted); }
.qc-opt-wrong { background: #fde8e8; color: #b91c1c; }
.qc-opt-correct { background: #dcfce7; color: #15803d; }

/* Hero badges */
.hero-badges { max-width: 1100px; margin: 48px auto 0; padding: 0 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.badge { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--gold); border: 1px solid rgba(232,168,56,0.4); padding: 5px 14px; border-radius: 20px; }
.hero-cta { font-size: 13px; font-weight: 700; color: var(--navy); background: var(--gold); padding: 7px 18px; border-radius: 20px; text-decoration: none; transition: background 0.2s, transform 0.2s; margin-left: auto; }
.hero-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── Matérias ── */
.materias { padding: 80px 0; }
.materias-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.materias-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.materia-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 28px 32px; transition: box-shadow 0.2s, transform 0.2s; }
.materia-card:hover { box-shadow: 0 8px 30px rgba(26,39,68,0.08); transform: translateY(-2px); }
.mc-icon { width: 48px; height: 48px; background: var(--navy); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--gold); }
.materia-card h3 { font-family: var(--font-display); font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.materia-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ── Como Funciona ── */
.comofunciona { background: var(--navy); padding: 80px 0; }
.cf-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.comofunciona .section-title { color: var(--white); }
.comofunciona .section-label { color: var(--gold); }
.cf-header { margin-bottom: 56px; }
.cf-steps { display: flex; align-items: center; gap: 0; margin-bottom: 48px; }
.cf-step { flex: 1; }
.cf-n { font-family: var(--font-display); font-size: 56px; font-weight: 700; color: var(--gold); margin-bottom: 12px; line-height: 1; }
.cf-text h3 { font-family: var(--font-display); font-size: 20px; color: var(--white); margin-bottom: 8px; }
.cf-text p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.cf-divider { font-size: 28px; color: rgba(255,255,255,0.2); padding: 0 24px; flex-shrink: 0; }
.cf-pricing-note { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.cf-price { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7); }
.cf-sep { color: rgba(255,255,255,0.25); }

/* ── Formato ── */
.formato { padding: 80px 0; background: var(--bg-alt); }
.formato-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.formato-visual { background: var(--navy); border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 20px 60px rgba(26,39,68,0.15); }
.fv-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.fv-quiz { background: var(--white); border-radius: var(--radius); padding: 24px; }
.fv-q-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.fv-tag { background: #dcfce7; color: #15803d; padding: 2px 8px; border-radius: 10px; font-size: 11px; }
.fv-question { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 16px; line-height: 1.35; }
.fv-answers { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.fv-a { font-size: 13px; padding: 8px 14px; border-radius: 6px; background: var(--bg); color: var(--text-muted); }
.fv-a-wrong { background: #fde8e8; color: #b91c1c; }
.fv-a-right { background: #dcfce7; color: #15803d; }
.fv-explanation { font-size: 12px; color: var(--text-muted); line-height: 1.6; background: var(--bg-alt); padding: 12px; border-radius: 6px; border-left: 3px solid var(--gold); }
.formato-list { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.formato-list li { display: flex; align-items: flex-start; gap: 16px; }
.fl-icon { width: 32px; height: 32px; background: var(--navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.formato-list strong { font-size: 15px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 2px; }
.formato-list span { font-size: 14px; color: var(--text-muted); }

/* ── Visão ── */
.visao { padding: 80px 0; }
.visao-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.visao-quote { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); font-style: italic; color: var(--navy); line-height: 1.4; margin-bottom: 24px; border-left: 4px solid var(--gold); padding-left: 24px; }
.visao-body { font-size: 16px; color: var(--text-muted); line-height: 1.7; }
.visao-stats { display: flex; flex-direction: column; gap: 32px; }
.vs-item { }
.vs-number { font-family: var(--font-display); font-size: 64px; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.vs-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* ── Footer ── */
.footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 48px 0; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.footer-brand { margin-bottom: 24px; }
.footer-name { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 13px; margin-bottom: 24px; }
.footer-note { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .materias-grid { grid-template-columns: repeat(2, 1fr); }
  .cf-steps { flex-direction: column; gap: 32px; }
  .cf-divider { display: none; }
  .formato-inner { grid-template-columns: 1fr; }
  .visao-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .materias-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 48px; }
  .hero-badges { gap: 8px; }
  .formato-visual { padding: 24px 20px; }
  .fv-answers { grid-template-columns: 1fr; }
}