:root {
  --navy: #0b2a66;
  --blue: #1b4fc4;
  --blue-600: #1640a3;
  --sky: #e8f0ff;
  --sun: #ffc629;
  --sun-600: #e9ae00;
  --ink: #16213a;
  --muted: #56627a;
  --line: #dde4f2;
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 42, 102, .10);
  --wrap: 1180px;
  --font-head: "Nunito", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img, iframe { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 900; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Placeholders visíveis (dados a confirmar com a escola) */
.fill {
  display: inline-block;
  background: #fff4cc;
  color: #6b4e00;
  border: 1px dashed #d9a400;
  border-radius: 6px;
  padding: 0 6px;
  font-size: .88em;
  font-weight: 600;
}
.tag-sugerido {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6b4e00;
  background: #fff4cc;
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 10px;
}

/* Topbar */
.topbar { background: var(--navy); color: #cfdcff; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { width: 16px; height: 16px; }
.topbar-links { display: flex; gap: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 900; font-size: 1.6rem;
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--blue);
}
.brand strong { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.25rem; letter-spacing: .02em; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: .78rem; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: 10px; }
.nav a:hover { background: var(--sky); color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); background: var(--sky); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font: 600 .95rem var(--font-body); color: var(--navy); cursor: pointer; min-height: 44px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 700 1rem var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sun { background: var(--sun); color: var(--navy); }
.btn-sun:hover { background: var(--sun-600); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-600); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.header-cta { white-space: nowrap; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 70%, #2f6ee8 100%); color: #fff; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -160px; background: rgba(255,255,255,.07); }
.hero::after { width: 260px; height: 260px; left: -90px; bottom: -120px; background: rgba(255,198,41,.18); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 72px 0 84px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero p.lead { font-size: 1.15rem; color: #dbe6ff; max-width: 34em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,198,41,.16); color: var(--sun); border: 1px solid rgba(255,198,41,.45); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.25); transform: rotate(1.5deg); }
.hero-card .photo { aspect-ratio: 4/3; }
.hero-card figcaption { padding: 12px 6px 4px; font-size: .9rem; color: var(--muted); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: #fff; line-height: 1; }
.hero-stats span { font-size: .85rem; color: #c3d3fb; }

/* Page hero (páginas internas) */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; padding: 56px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -140px; background: rgba(255,255,255,.07); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.page-hero p { color: #dbe6ff; max-width: 42em; font-size: 1.08rem; margin: 0; }
.crumbs { font-size: .85rem; color: #b9cbf7; margin-bottom: 10px; }
.crumbs a { color: #fff; }

/* Photo placeholder */
.photo {
  position: relative; border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(circle at 25% 30%, rgba(27,79,196,.22), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(255,198,41,.35), transparent 50%),
    var(--sky);
  display: grid; place-items: center; text-align: center; color: var(--blue-600);
  min-height: 160px;
}
.photo span { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; padding: 12px; }
.photo .icon { width: 34px; height: 34px; opacity: .7; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker { font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 8px; display: block; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.card .ico .icon { width: 26px; height: 26px; }
.card .age { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--blue); background: var(--sky); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.card-link .icon { width: 18px; height: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: #fff; background: var(--blue); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 2px; }

/* Faixa matrícula */
.band { background: var(--sun); color: var(--navy); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 0; }
.band h2 { margin: 0; font-size: clamp(1.3rem, 2.8vw, 1.8rem); }
.band p { margin: 4px 0 0; font-weight: 500; }

/* Lite YouTube */
.yt { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; border: 0; padding: 0; width: 100%; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s, transform .3s; }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt .play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; background: rgba(220,0,0,.92); border-radius: 14px; display: grid; place-items: center; }
.yt .play::before { content: ""; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.video-card .yt { border-radius: 0; }
.video-card .meta { padding: 16px 18px 20px; }
.video-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.video-card small { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 .95rem var(--font-body); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Timeline */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--blue), var(--sun)); border-radius: 3px; }
.timeline li { position: relative; padding: 0 0 36px 68px; }
.timeline li::before { content: ""; position: absolute; left: 12px; top: 4px; width: 23px; height: 23px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
.timeline .year { font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; color: var(--blue); display: block; }
.timeline h3 { margin: 2px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.step { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--navy); font: 900 1.1rem var(--font-head); margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Form */
.form-card { background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: 400 1rem var(--font-body); color: var(--ink);
  border: 1px solid #c9d3e8; border-radius: 12px; padding: 12px 14px; min-height: 48px; background: #fff; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(27,79,196,.25); border-color: var(--blue); }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #c9d3e8; border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; font-weight: 500; }
.radio-row input { accent-color: var(--blue); width: 18px; height: 18px; min-height: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--blue); flex: none; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* Units / contato */
.unit { display: grid; grid-template-rows: auto 1fr; overflow: hidden; padding: 0; }
.unit iframe { width: 100%; height: 240px; border: 0; }
.unit .body { padding: 24px; }
.info-list { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 10px; }
.info-list li { display: flex; gap: 10px; color: var(--muted); }
.info-list .icon { color: var(--blue); width: 20px; height: 20px; margin-top: 3px; }
.info-list a { color: var(--ink); font-weight: 600; text-decoration: none; }

/* CTA final */
.cta { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; border-radius: 28px; padding: 52px; display: grid; grid-template-columns: 1.3fr auto; gap: 28px; align-items: center; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: #dbe6ff; margin: 0; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.footer { background: #07183d; color: #b6c4e6; padding: 60px 0 0; margin-top: 0; font-size: .94rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { color: #dfe7ff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .brand strong { color: #fff; }
.footer .brand small { color: #b6c4e6; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding: 20px 0 96px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; color: #8ea0cc; }
.demo-note { color: var(--sun); }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1faa53; color: #fff; text-decoration: none; font-weight: 700;
  padding: 14px 20px; border-radius: 999px; box-shadow: 0 12px 28px rgba(0,0,0,.25); min-height: 52px;
}
.wa-float .icon { width: 24px; height: 24px; }

/* Responsivo */
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.02rem; }
  .menu-toggle { display: inline-flex; }
  .site-header .wrap { position: relative; }
  .header-cta { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero .wrap, .split, .cta { grid-template-columns: 1fr; }
  .hero .wrap { padding: 52px 0 64px; gap: 36px; }
  .hero-card { transform: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cta { padding: 34px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
}
@media (max-width: 560px) {
  .grid-4, .steps, .footer .cols { grid-template-columns: 1fr; }
  .topbar-links .hide-sm { display: none; }
  .brand small { display: none; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .hero-stats { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
