/* =====================================================================
   Curso Pilot — estilos do site (home, Área do Aluno, trilhas)
   Direção: "navegação noturna". Tinta profunda, carta náutica, rosa dos
   ventos e o feixe do farol como único momento de encantamento.
   Azul da marca é o único acento; âmbar só para "luz" (feixe, Em breve).
   Motion: ease-out forte, só transform/opacity, nada em loop,
   hover só em ponteiro fino, reduced-motion = só opacidade.
   ===================================================================== */

:root {
  --ink-0: #07090d;
  --ink-1: #0c1017;
  --ink-2: #121823;
  --paper: #f3f1ec;
  --paper-2: #ebe8e1;
  --text: #0d1117;
  --text-muted: #5d6573;
  --text-d: #e9edf2;
  --muted-d: #8b95a4;
  --line: rgba(13, 17, 23, .12);
  --line-d: rgba(255, 255, 255, .08);
  --blue: #1f6fe5;
  --blue-hi: #5b9bff;
  --beacon: #f5b301;

  --display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --header-h: 76px;
  --wrap: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth; scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;
}
body {
  font-family: var(--display); font-size: 16px; line-height: 1.6; color: var(--text);
  background: var(--ink-0); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; touch-action: manipulation; }
ul { list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2 * clamp(20px, 5vw, 56px)); margin-inline: auto; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--paper); color: var(--text);
  padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top 200ms var(--ease-out);
}
.skip:focus { top: 16px; }

/* ===== Tipografia base ===== */
h1, h2, h3 { font-weight: 600; line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); font-stretch: 92%; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-stretch: normal; }
h2 em { color: var(--blue); }
.ink h2 em, .cta h2 em { color: var(--blue-hi); }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
}
.kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .6; }
.ink .kicker, .cta .kicker { color: var(--muted-d); }
.lede { color: var(--text-muted); font-size: 1.05rem; max-width: 52ch; margin-top: 20px; text-wrap: pretty; }
.ink .lede { color: var(--muted-d); }
.lede a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--display); letter-spacing: .005em; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .wa { width: 18px; height: 18px; flex: none; }
.btn-light { background: var(--paper); color: var(--text); }
.btn-line { border-color: rgba(255, 255, 255, .22); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn-light:hover { background: #fff; }
  .btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
}

/* ===== Cabeçalho ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent; color: var(--text-d);
  transition: background-color 300ms ease, border-color 300ms ease;
}
.header.scrolled {
  background: rgba(7, 9, 13, .72); border-color: var(--line-d);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
}
body.menu-open .header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { position: relative; z-index: 2; }
.logo img { height: 92px; width: auto; margin: -8px 0 -8px -22px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { position: relative; font-size: 14px; font-weight: 500; color: rgba(233, 237, 242, .72); transition: color 200ms ease; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease-out);
}
.nav .nav-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--paper); color: var(--text); font-weight: 600;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.nav .nav-cta:active { transform: scale(0.97); }
.nav-cta span { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: #fff; }
  .nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
  .nav .nav-cta:hover { background: #fff; color: var(--text); }
  .nav-cta:hover span { transform: translateX(3px); }
}
.menu-toggle {
  display: none; position: relative; z-index: 2; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}
.menu-toggle span {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--text-d);
  transition: transform 300ms var(--ease-out);
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  --cx: 70%; --cy: 46%;
  position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto;
  padding-top: var(--header-h); background: var(--ink-0); color: var(--text-d); overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::after { /* grão sutil, estático */
  content: ""; position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 96px 96px; background-position: calc(var(--cx) - 48px) calc(var(--cy) - 48px);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at var(--cx) var(--cy), #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at var(--cx) var(--cy), #000 0%, transparent 75%);
}
.hero-beam {
  position: absolute; left: var(--cx); top: var(--cy); width: 240vmax; height: 240vmax;
  translate: -50% -50%; border-radius: 50%;
  background: conic-gradient(from 270deg,
    transparent 0deg, rgba(255, 200, 110, .05) 10deg, rgba(255, 220, 160, .16) 22deg,
    rgba(255, 200, 110, .05) 34deg, transparent 46deg 360deg);
  -webkit-mask-image: radial-gradient(circle, #000 4%, rgba(0, 0, 0, .5) 22%, transparent 48%);
  mask-image: radial-gradient(circle, #000 4%, rgba(0, 0, 0, .5) 22%, transparent 48%);
}
.hero::before { /* brilho azul atrás da rosa */
  content: ""; position: absolute; z-index: -1; left: var(--cx); top: var(--cy); width: 900px; height: 900px;
  translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(31, 111, 229, .22), transparent 62%);
}
.rose {
  position: absolute; left: var(--cx); top: var(--cy); width: min(84vh, 820px); aspect-ratio: 1;
  translate: -50% -50%; overflow: visible;
}
.rose-spin { transform-box: fill-box; transform-origin: center; }
.rose .draw { fill: none; stroke: rgba(160, 195, 255, .55); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; }
.rose .draw.faint { stroke: rgba(160, 195, 255, .16); }
.rose .ticks { fill: none; stroke: rgba(160, 195, 255, .35); stroke-width: 9; stroke-dasharray: 1 22.562; }
.rose .ticks.major { stroke: rgba(160, 195, 255, .8); stroke-width: 20; stroke-dasharray: 1.5 210.56; stroke-dashoffset: .75; }
.rose .fill { fill: rgba(91, 155, 255, .16); }
.rose .cardinal { font: 500 16px var(--mono); fill: var(--blue-hi); }

.hero-inner { align-self: end; padding: 48px 0 clamp(40px, 6vh, 72px); position: relative; }
.hero-meta {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vh, 40px);
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d);
}
.hero-meta span:first-child { color: var(--blue-hi); }
.hero-title {
  font-size: clamp(3.1rem, 9.4vw, 9.6rem); font-weight: 700; font-stretch: 80%;
  line-height: .88; letter-spacing: -0.02em; text-transform: uppercase; text-wrap: initial;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.hero-title .line > span { display: inline-block; }
.hero-title em {
  text-transform: none; color: var(--blue-hi); font-size: 1.1em; line-height: .8; letter-spacing: -0.015em;
}
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 64px; margin-top: clamp(28px, 5vh, 48px);
}
.hero-lede { max-width: 46ch; color: rgba(233, 237, 242, .72); font-size: 1.06rem; text-wrap: pretty; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.manifest { border-top: 1px solid var(--line-d); }
.manifest-row {
  display: flex; align-items: center; gap: 32px; height: 64px;
  font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d);
}
.manifest ul { display: flex; gap: clamp(16px, 2.6vw, 36px); flex: 1; flex-wrap: wrap; color: var(--text-d); }
.manifest-label { color: var(--muted-d); }
.scroll-cue { display: inline-flex; gap: 10px; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .scroll-cue:hover { color: #fff; } }

/* Agenda (previsão da prova + próximo simulado), logo abaixo do hero */
.agenda { background: var(--ink-1); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); color: var(--text-d); }
.agenda[hidden], .agenda [hidden] { display: none; }
.agenda-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.agenda-item { display: flex; flex-direction: column; gap: 6px; padding: 26px 0; }
.agenda-item + .agenda-item { border-left: 1px solid var(--line-d); padding-left: clamp(20px, 4vw, 48px); }
.ag-k { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-hi); }
.ag-k::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--beacon); box-shadow: 0 0 10px 2px rgba(245, 179, 1, .45); vertical-align: middle; }
.ag-v { font: 500 clamp(1.05rem, 1.8vw, 1.3rem)/1.3 var(--display); color: #fff; }
.ag-c { font-size: 14px; color: var(--muted-d); }
.ag-num { font: 400 1.35em/1 var(--serif); color: var(--beacon); }
.agenda-sim { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .agenda-sim:hover .ag-c { color: #fff; } }
@media (max-width: 640px) {
  .agenda-item + .agenda-item { border-left: 0; border-top: 1px solid var(--line-d); padding-left: 0; }
}

/* Entrada do hero (uma vez, no carregamento) */
.js .hero-title .line > span { transform: translateY(105%); }
.js [data-hero] { opacity: 0; transform: translateY(14px); }
.js .hero-beam { opacity: 0; transform: rotate(-38deg); }
.js .rose .draw { stroke-dashoffset: 1; }
.js .rose .ticks, .js .rose .fill, .js .rose .cardinal { opacity: 0; }
.js .rose-spin { transform: rotate(-30deg) scale(.96); }
.js .hero::before { opacity: 0; }

.ready .hero-title .line > span {
  transform: none; transition: transform 1100ms var(--ease-out); transition-delay: calc(var(--d) * 90ms + 120ms);
}
.ready [data-hero] {
  opacity: 1; transform: none;
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--d) * 90ms + 120ms);
}
.ready .hero-beam { opacity: 1; transform: none; transition: opacity 1600ms ease, transform 2600ms var(--ease-out); transition-delay: 300ms; }
.ready .rose .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 2000ms var(--ease-in-out); }
.ready .rose .draw.faint { transition-delay: 250ms; }
.ready .rose .ticks, .ready .rose .fill, .ready .rose .cardinal { opacity: 1; transition: opacity 1200ms ease 1100ms; }
.ready .rose-spin { transform: none; transition: transform 2600ms var(--ease-out); }
.ready .hero::before { opacity: 1; transition: opacity 2000ms ease; }

/* A rosa gira alguns graus conforme a rolagem (ligada ao gesto, não em loop) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .rose { animation: rose-scroll linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes rose-scroll { to { rotate: 40deg; } }
  }
}

/* ===== Seções ===== */
.section { padding: clamp(96px, 12vw, 168px) 0; position: relative; }
.paper { background: var(--paper); }
.paper-2 { background: var(--paper-2); }
.ink { background: var(--ink-0); color: var(--text-d); }

.split-head {
  display: grid; grid-template-columns: 4fr 8fr; gap: 24px 48px; align-items: start;
  margin-bottom: clamp(56px, 7vw, 104px);
}
.split-head .kicker { margin-top: .9em; }

/* Revelação no scroll: só nos cabeçalhos e blocos-chave */
.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js [data-reveal].in {
  opacity: 1; transform: none;
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms);
}

/* ===== Diferenciais ===== */
.ledger { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.ledger > div { padding: 32px 28px 8px 0; }
.ledger > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.ledger dt { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.ledger .num {
  display: block; margin-bottom: 18px; font: 300 clamp(3rem, 5.6vw, 5.4rem)/.9 var(--display);
  font-stretch: 88%; letter-spacing: -0.04em; text-transform: none; font-variant-numeric: tabular-nums; color: var(--text);
}
.ledger .num small { font-size: .42em; letter-spacing: 0; color: var(--blue); margin-left: .08em; vertical-align: .9em; }
.ledger dd { margin-top: 10px; color: var(--text-muted); font-size: 15px; max-width: 30ch; text-wrap: pretty; }

/* ===== Rota / etapas ===== */
.route { position: relative; height: 56px; margin-bottom: 20px; }
.route-line { position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line-d); }
.route-line::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--blue-hi));
  transform: scaleX(0); transform-origin: left;
}
.route.in .route-line::after { transform: none; transition: transform 1600ms var(--ease-in-out) 200ms; }
.route span {
  position: absolute; left: var(--x); top: 0; translate: -50% 0; padding-top: 22px;
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); white-space: nowrap;
}
.route span:first-of-type { translate: 0 0; }
.route span:last-of-type { translate: -100% 0; }
.route span::before {
  content: ""; position: absolute; top: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink-0); border: 1px solid var(--blue-hi); left: 50%; translate: -50% 0;
}
.route span:first-of-type::before { left: 0; translate: 0 0; }
.route span:last-of-type::before { left: auto; right: 0; translate: 0 0; }

.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.stage {
  position: relative; display: flex; flex-direction: column; gap: 22px; padding: 32px 28px 28px;
  background: var(--ink-1); border: 1px solid var(--line-d); border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.stage.featured {
  background: linear-gradient(180deg, #112446 0%, #0d1424 55%, var(--ink-1) 100%);
  border-color: rgba(91, 155, 255, .32);
}
.ribbon {
  position: absolute; top: 30px; right: 28px; padding: 6px 10px; border-radius: 999px;
  font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: #cfe0ff; background: rgba(91, 155, 255, .16); border: 1px solid rgba(91, 155, 255, .3);
}
.stage header { display: grid; gap: 6px; }
.step { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--blue-hi); margin-bottom: 18px; }
.step::before { content: "Etapa "; color: var(--muted-d); }
.stage h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); font-stretch: 88%; color: #fff; }
.tagline { font: italic 400 1.2rem/1.2 var(--serif); color: #9cc2ff; }
.facts { border-top: 1px solid var(--line-d); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-d); }
.facts dt { font: 500 11px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
.facts dd { font-size: 14px; color: var(--text-d); text-align: right; font-variant-numeric: tabular-nums; }
.stage p { color: var(--muted-d); font-size: 15px; text-wrap: pretty; }
.stage p b { color: var(--text-d); font-weight: 500; }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-row span {
  font-size: 12px; font-weight: 500; color: rgba(233, 237, 242, .8); padding: 5px 11px;
  border: 1px solid var(--line-d); border-radius: 999px;
}
.btn-stage {
  margin-top: auto; width: 100%; background: rgba(255, 255, 255, .06); color: var(--text-d); border-color: var(--line-d);
}
.featured .btn-stage { background: var(--paper); color: var(--text); border-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .btn-stage:hover { background: rgba(255, 255, 255, .12); }
  .featured .btn-stage:hover { background: #fff; }
}
.consult-all { text-align: center; color: var(--muted-d); margin-top: 32px; font-size: 15px; }
.consult-all a { color: var(--text-d); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; transition: text-decoration-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .consult-all a:hover { text-decoration-color: currentColor; } }

/* Concursos */
.schools { margin-top: clamp(96px, 10vw, 144px); }
.schools .kicker { margin-bottom: 28px; }
.school-grid { display: grid; grid-template-columns: repeat(7, 1fr); padding: 1px 0 0 1px; }
.school-grid li {
  display: grid; gap: 10px; padding: 28px 22px; margin: -1px 0 0 -1px; border: 1px solid var(--line-d);
  transition: background-color 250ms ease;
}
.school-grid b { font: 600 clamp(1.7rem, 2.6vw, 2.4rem)/1 var(--display); font-stretch: 82%; letter-spacing: -0.02em; color: #fff; transition: color 250ms ease; }
.school-grid span { font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
@media (hover: hover) and (pointer: fine) {
  .school-grid li:hover { background: rgba(255, 255, 255, .03); }
  .school-grid li:hover b { color: var(--blue-hi); }
}

/* EFOMM em destaque (nosso foco) */
.manifest li.lead { color: var(--blue-hi); }
.manifest li.lead::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--blue-hi); vertical-align: middle; }
.school-grid { grid-template-columns: repeat(6, 1fr); }
.school-grid li.lead {
  grid-column: span 2; grid-row: span 2; align-content: end; gap: 14px; padding: 32px 28px;
  background: linear-gradient(160deg, rgba(31, 111, 229, .28), rgba(31, 111, 229, .06) 60%, transparent);
  border-color: rgba(91, 155, 255, .4); position: relative; z-index: 1;
}
.school-grid li.lead b { font-size: clamp(3rem, 6vw, 5.2rem); color: #fff; letter-spacing: -0.035em; }
.school-grid li.lead > span:last-child { color: rgba(233, 237, 242, .8); max-width: 26ch; }
.lead-tag {
  position: absolute; top: 24px; left: 28px; display: inline-flex; align-items: center; gap: 8px;
  font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #cfe0ff !important;
}
.lead-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 10px 2px rgba(91, 155, 255, .6); }
@media (hover: hover) and (pointer: fine) { .school-grid li.lead:hover b { color: #fff; } }
.lead-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; width: fit-content;
  font: 600 14px/1 var(--display) !important; letter-spacing: 0 !important; text-transform: none !important; color: #fff !important;
  padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.lead-link:active { transform: scale(0.97); }
.lead-link span { font: inherit; letter-spacing: 0; text-transform: none; color: inherit; transition: transform 200ms var(--ease-out); }
.school-grid li.lead > span:nth-of-type(2) { color: rgba(233, 237, 242, .8); max-width: 26ch; }
@media (hover: hover) and (pointer: fine) { .lead-link:hover { background: rgba(255, 255, 255, .14); } .lead-link:hover span { transform: translateX(3px); } }
.manifest li.lead a { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .manifest li.lead a:hover { color: #fff; } }

/* Turmas */
.turmas-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 36px; }
.turmas-head .kicker { margin-bottom: 0; }
.turmas-head p { color: var(--muted-d); font-size: 15px; max-width: 56ch; }
.turmas-head b { color: var(--text-d); font-weight: 500; }
.turma-label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px;
  font-size: 1.35rem; font-weight: 600; letter-spacing: -0.015em; color: #fff;
}
.turma-label small { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
.school-grid.regular { grid-template-columns: repeat(4, 1fr); }
.turmas-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.turmas-mini .esa { margin-top: 0; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.esa.alt { background: linear-gradient(160deg, rgba(31, 111, 229, .14), var(--ink-1) 55%); }
.soon.blue { color: var(--blue-hi); }
.soon.blue i { background: var(--blue-hi); box-shadow: 0 0 12px 2px rgba(91, 155, 255, .5); }
.meanwhile { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-d); font-size: 14px; color: var(--muted-d) !important; max-width: 44ch; }
.meanwhile a { color: var(--text-d); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; transition: text-decoration-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .meanwhile a:hover { text-decoration-color: currentColor; } }
.turmas-mini .esa > div { width: 100%; }
.mini-schools { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; }
.mini-schools li { font: 500 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); }
.mini-schools b { display: block; margin-bottom: 4px; font: 600 1.8rem/1 var(--display); font-stretch: 82%; letter-spacing: -0.02em; text-transform: none; color: #fff; }
@media (max-width: 860px) { .turmas-mini { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .school-grid.regular { grid-template-columns: repeat(2, 1fr); } }

/* Em breve: banco de questões (home) */
.bq-wrap { padding-bottom: clamp(56px, 7vw, 88px); }
.bq-teaser {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 56px; align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: #fff;
  border: 1px solid rgba(13, 17, 23, .06); box-shadow: 0 1px 2px rgba(13, 17, 23, .04), 0 30px 60px -36px rgba(13, 17, 23, .3);
}
.bq-copy .soon { margin-bottom: 16px; color: #9a5c00; }
.bq-copy h2 em { color: var(--blue); }
.bq-copy h2 em.hl { background: linear-gradient(transparent 62%, rgba(245, 179, 1, .38) 62%, rgba(245, 179, 1, .38) 92%, transparent 92%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.bq-points li.star { padding: 14px 16px; margin: 10px 0; border: 0; border-radius: 14px; background: #fff8eb; box-shadow: inset 3px 0 0 var(--beacon); color: var(--text); }
.bq-points li.star b { font-size: 16px; color: #8a5200; }
.bq-copy > p { margin-top: 16px; color: var(--text-muted); max-width: 52ch; font-size: 1.05rem; text-wrap: pretty; }
.bq-points { display: grid; gap: 0; margin: 24px 0 28px; border-top: 1px solid var(--line); }
.bq-points li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--text-muted); }
.bq-points b { display: block; color: var(--text); font-weight: 600; font-size: 15px; }
.btn-dark-solid { background: var(--text); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .btn-dark-solid:hover { background: var(--blue); } }

.bq-mock { position: relative; padding: 56px 12px 24px; }
.bq-mock::before {
  content: ""; position: absolute; inset: 0; border-radius: 22px; z-index: 0;
  background: radial-gradient(120% 90% at 70% 10%, rgba(31, 111, 229, .16), transparent 60%), var(--paper);
}
.bq-mock-card {
  position: relative; z-index: 1; padding: 20px; border-radius: 16px; background: #fff; transform: rotate(-1.2deg);
  border: 1px solid rgba(13, 17, 23, .07); box-shadow: 0 24px 48px -24px rgba(13, 17, 23, .35);
}
.bq-mock-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 10px; font: 500 9.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.bq-mock-meta .n { color: var(--blue); }
.bq-mock-meta .lv { padding: 2px 6px; border-radius: 5px; background: var(--paper); color: var(--text); }
.bq-mock-card p { font-size: 13.5px; line-height: 1.55; }
.bq-mock-card ul { display: grid; gap: 6px; margin-top: 12px; }
.bq-mock-card li { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; color: var(--text-muted); }
.bq-mock-card li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font: 600 11px/1 var(--mono); }
.bq-mock-card li.ok { border-color: #1f9d63; background: #f1faf5; color: var(--text); }
.bq-mock-card li.ok span { background: #1f9d63; color: #fff; }
.bq-mock-foot { margin-top: 10px; font-size: 12.5px; font-weight: 600; color: #1a8a56; }
.bq-mock-res { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.bq-mock-res .t { font-size: 13px; font-weight: 600; color: var(--blue); }
.bq-mock-res p { font-size: 12.5px; line-height: 1.55; color: var(--text-muted); }
.bq-mock-res .calc { padding: 7px 10px; border-radius: 8px; background: var(--paper); color: var(--text); text-align: center; font-size: 13px; }
.bq-mock-res .peg { padding: 7px 10px; border-radius: 8px; border: 1px dashed rgba(154, 92, 0, .45); background: #fff8eb; color: var(--text); }
.bq-mock-res .peg b { color: #8a5200; }
.bq-mock-stamp {
  position: absolute; z-index: 2; right: -6px; top: 0; padding: 12px 16px; border-radius: 14px; transform: rotate(3deg);
  background: var(--beacon); color: #3d2600; font: 500 10px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 18px 36px -18px rgba(7, 9, 13, .5);
}
.bq-mock-stamp b { display: block; font: 700 1.15rem/1.1 var(--display); letter-spacing: -0.01em; color: var(--ink-0); text-transform: none; margin-bottom: 2px; }
@media (max-width: 960px) { .bq-teaser { grid-template-columns: 1fr; } .bq-mock { max-width: 460px; } }

/* Curso avulso: Português Transpetro (home) */
.pt-wrap { padding-bottom: 0; }
.pt-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center;
  padding: clamp(32px, 6vw, 72px); border-radius: 28px; background: var(--ink-0); color: var(--text-d);
}
.pt-card::before {
  content: ""; position: absolute; z-index: -1; left: -15%; bottom: -70%; width: 75%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 111, 229, .26), transparent 65%);
}
.pt-card .kicker { color: var(--muted-d); }
.pt-card h2 { margin-top: 20px; }
.pt-card h2 em { color: var(--blue-hi); }
.pt-copy p { color: var(--muted-d); margin-top: 18px; max-width: 52ch; }
.pt-facts { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 32px; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
.pt-facts b { display: block; margin-bottom: 6px; font: 300 2.4rem/1 var(--display); font-stretch: 88%; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.pt-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.pt-actions .btn span { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pt-actions .btn:hover span { transform: translateX(3px); } }
.pt-list {
  list-style: none; counter-reset: pt; display: grid; gap: 0;
  border-top: 1px solid var(--line-d); font-size: 14px; color: rgba(233, 237, 242, .82);
}
.pt-list li { counter-increment: pt; display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line-d); }
.pt-list li::before { content: counter(pt, decimal-leading-zero); font: 500 11px/1.9 var(--mono); color: var(--blue-hi); }
@media (max-width: 960px) {
  .pt-card { grid-template-columns: 1fr; }
  .school-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .school-grid { grid-template-columns: repeat(2, 1fr); }
  .school-grid li.lead { grid-row: auto; padding-top: 64px; }
}

/* Turma ESA */
.esa {
  margin-top: clamp(64px, 8vw, 112px); position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px); border-radius: 24px; border: 1px solid var(--line-d);
  background: linear-gradient(100deg, var(--ink-1) 35%, rgba(12, 16, 23, .6)), url("img/banner.webp") right center / cover;
}
.soon {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--beacon);
}
.soon i { width: 7px; height: 7px; border-radius: 50%; background: var(--beacon); box-shadow: 0 0 12px 2px rgba(245, 179, 1, .55); }
.esa h3 { font-size: clamp(2rem, 4vw, 3.2rem); font-stretch: 85%; color: #fff; }
.esa p { color: var(--muted-d); max-width: 54ch; margin-top: 10px; }

/* ===== Professores ===== */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 16px; }
.teacher { display: flex; flex-direction: column; }
.teacher.lead { grid-column: span 2; grid-row: span 2; }
.teacher.lead .photo { flex: 1; aspect-ratio: auto; min-height: 320px; }
.teacher.lead h3 { font-size: 1.6rem; }
.teacher .photo {
  aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; position: relative;
  background:
    radial-gradient(110% 70% at 50% 105%, #2a5fb8 0%, #13284d 38%, transparent 70%),
    linear-gradient(180deg, #0a0d13, #0e1626);
}
.teacher .photo::after { /* linha do horizonte */
  content: ""; position: absolute; inset: auto 0 0; height: 35%;
  background: linear-gradient(to top, rgba(7, 9, 13, .35), transparent); pointer-events: none;
}
.teacher img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--p, center 15%);
  transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 50%);
  transition: transform 700ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .teacher:hover img { transform: scale(calc(var(--z, 1) * 1.035)); }
}
.teacher figcaption { padding: 16px 4px 0; }
.teacher h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
.teacher figcaption span {
  display: block; margin-top: 6px; font: 500 10.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted);
}

/* Credenciais dos professores */
.teacher .cred { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--text); max-width: 46ch; text-wrap: pretty; }
.cred-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.cred-tags b {
  font: 500 10.5px/1 var(--mono); letter-spacing: .04em; padding: 5px 7px; border-radius: 6px;
  color: var(--text-muted); border: 1px solid var(--line);
}
.cred-tags b.efomm { background: var(--blue); border-color: var(--blue); color: #fff; }
.teacher.lead .cred { font-size: 15px; }

/* ===== Aprovados ===== */
.stats {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: end; gap: 24px 56px;
  padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
.stat strong { display: block; font-variant-numeric: tabular-nums; }
.stat span { display: block; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-top: 10px; }
.stat.big strong { font: 300 clamp(4rem, 9vw, 8rem)/.85 var(--display); font-stretch: 85%; letter-spacing: -0.045em; }
.stat-schools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 32px; }
.stat-schools strong { font: 500 2rem/1 var(--display); color: var(--blue); }
.stats-note { color: var(--text-muted); font-size: 13px; margin: 16px 0 48px; }

.filters-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters-chips.season { margin-bottom: 40px; }
.filters-chips button {
  height: 36px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  background: transparent; color: var(--text); border: 1px solid var(--line);
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 160ms var(--ease-out);
}
.filters-chips button:active { transform: scale(0.97); }
.filters-chips button.on { background: var(--text); border-color: var(--text); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .filters-chips button:not(.on):hover { border-color: var(--text); } }

.approved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.approved {
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(13, 17, 23, .06);
  box-shadow: 0 1px 2px rgba(13, 17, 23, .04), 0 12px 28px -16px rgba(13, 17, 23, .18);
}
.approved .photo { position: relative; aspect-ratio: 480 / 700; overflow: hidden; background: linear-gradient(160deg, #dfe7f4, #9fb3d6); display: grid; place-items: center; }
.approved .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .approved:hover .photo img { transform: scale(1.03); } }
.approved .ini { font: 700 3.4rem var(--display); color: #fff; }
.approved .multi {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 10px; border-radius: 999px; background: rgba(7, 9, 13, .72); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.approved .multi::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--beacon); }
.approved .info { padding: 16px 16px 18px; }
.approved strong { display: block; font-size: 1.02rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 5px; }
.badges span {
  font: 500 10.5px/1 var(--mono); letter-spacing: .04em; padding: 5px 7px; border-radius: 6px;
  color: var(--text-muted); border: 1px solid var(--line); transition: background-color 150ms ease, color 150ms ease;
}
.badges span.hl { background: var(--blue); border-color: var(--blue); color: #fff; }
.badges span.efomm { border-color: rgba(31, 111, 229, .45); color: var(--blue); }
.stat-schools .stat:first-child strong { font-size: 2.8rem; }
.stat-schools .stat:first-child span { color: var(--blue); }

/* Mural: turmas anteriores */
.mural-wrap { margin-top: clamp(72px, 9vw, 120px); }
.mural-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.mural-head h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); letter-spacing: -0.02em; max-width: 26ch; }
.mural-head h3 em { color: var(--blue); }
.mural { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 18px 10px; }
.mural-item figcaption b { display: block; margin-top: 3px; font-weight: 500; color: var(--blue); }
.mural-item { margin: 0; }
.mural-item img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: #dfe7f4;
  box-shadow: 0 1px 2px rgba(13, 17, 23, .06), 0 10px 24px -16px rgba(13, 17, 23, .35);
  transition: transform 500ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .mural-item:hover img { transform: translateY(-3px); } }
.mural-item figcaption { margin-top: 8px; font: 500 10px/1.35 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 600px) { .mural { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; } .mural-item figcaption { font-size: 9px; } }

/* Troca de filtro: entrada curta, escalonamento de 30ms (máx. ~240ms) */
.approved-grid.swap .approved { animation: card-in 320ms var(--ease-out) both; animation-delay: calc(var(--i) * 30ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* ===== CTA Área do Aluno ===== */
.cta-wrap { padding-top: 0; }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 48px;
  padding: clamp(36px, 6vw, 80px); border-radius: 28px; background: var(--ink-0); color: var(--text-d);
}
.cta::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 111, 229, .28), transparent 65%);
}
.cta-rose {
  position: absolute; z-index: -1; right: -140px; top: -180px; width: 560px;
  fill: none; stroke: rgba(160, 195, 255, .16); stroke-width: 1; overflow: visible;
}
.cta-rose * { vector-effect: non-scaling-stroke; }
.cta .kicker { margin-bottom: 20px; }
.cta h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.cta p { color: var(--muted-d); margin-top: 14px; max-width: 48ch; }
.cta .btn span { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cta .btn:hover span { transform: translateX(3px); } }

/* ===== FAQ ===== */
.faq-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 72px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-head h2 { margin-top: 24px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0;
  cursor: pointer; list-style: none; font-size: 1.12rem; font-weight: 500; letter-spacing: -0.01em;
  transition: color 200ms ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform 250ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-muted); padding: 0 48px 26px 0; max-width: 62ch; text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--blue); } }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content {
    block-size: 0; overflow: clip; opacity: 0;
    transition: block-size 260ms var(--ease-out), opacity 200ms ease, content-visibility 260ms allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; opacity: 1; }
}

/* ===== Rodapé ===== */
.footer { background: var(--ink-0); color: var(--muted-d); padding: clamp(80px, 10vw, 128px) 0 28px; overflow: hidden; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 80px; width: auto; margin: -12px 0 8px -18px; }
.footer p { max-width: 38ch; font-size: 15px; }
.footer h4 { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-d); margin-bottom: 20px; }
.footer li { margin-bottom: 10px; font-size: 15px; }
.footer a { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: #fff; } }
.wordmark {
  margin: clamp(48px, 8vw, 96px) 0 0; text-align: center; user-select: none;
  font: 800 clamp(6rem, 27vw, 24rem)/.78 var(--display); font-stretch: 75%; letter-spacing: -0.04em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, 0) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.copy {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line-d); padding-top: 24px; font: 400 12px/1.4 var(--mono); letter-spacing: .04em;
}

/* ===== WhatsApp flutuante ===== */
.whats-float {
  position: fixed; right: 20px; bottom: 76px; /* acima do selo da Netlify */ z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .45);
  transition: transform 160ms var(--ease-out), opacity 200ms ease;
}
.whats-float svg { width: 28px; height: 28px; }
.whats-float:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .whats-float:hover { transform: translateY(-2px); } }
.menu-open .whats-float { opacity: 0; pointer-events: none; }

/* ===== Responsivo ===== */
@media (max-width: 1080px) {
  .school-grid { grid-template-columns: repeat(4, 1fr); }
  .ledger { grid-template-columns: repeat(2, 1fr); }
  .ledger > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ledger > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
}
@media (max-width: 960px) {
  .hero { --cx: 82%; --cy: 30%; }
  .rose { width: max(560px, 110vw); opacity: .55; }
  .hero-foot { grid-template-columns: 1fr; }
  .split-head { grid-template-columns: 1fr; }
  .split-head .kicker { margin-top: 0; }
  .stages { grid-template-columns: 1fr; max-width: 620px; }
  .route { display: none; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: auto auto; }
  .stat-schools { grid-column: 1 / -1; justify-content: flex-start; }
  .cta { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .footer .cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 6px; padding: var(--header-h) clamp(20px, 8vw, 56px) 48px; background: var(--ink-0);
    visibility: hidden; opacity: 0; transition: opacity 250ms ease, visibility 0s linear 250ms;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transition: opacity 300ms var(--ease-out); }
  .nav a { font-size: clamp(2.2rem, 10vw, 3.2rem); font-weight: 600; font-stretch: 85%; letter-spacing: -0.02em; color: #fff; }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav a { opacity: 0; transform: translateY(16px); }
  .menu-open .nav a {
    opacity: 1; transform: none;
    transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: calc(var(--i) * 45ms + 60ms);
  }
  .nav .nav-cta { margin-top: 28px; height: 52px; padding: 0 24px; font-size: 1rem; font-stretch: 100%; letter-spacing: 0; }
}
@media (max-width: 600px) {
  .hero-title { font-size: clamp(2.3rem, 11.4vw, 4.4rem); }
  .hero-meta .coord { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .manifest-label, .scroll-cue { display: none; }
  .manifest-row { height: auto; padding: 18px 0; }
  .manifest ul { gap: 10px 18px; }
  .ledger { grid-template-columns: 1fr; }
  .ledger > div, .ledger > div + div { padding: 28px 0 4px; border-left: 0; margin-top: 0; }
  .ledger > div + div { border-top: 1px solid var(--line); }
  .school-grid { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .teacher.lead { grid-row: auto; }
  .teacher.lead .photo { flex: none; aspect-ratio: 4 / 3.4; min-height: 0; }
  .approved-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .approved .info { padding: 12px 12px 14px; }
  .faq details p { padding-right: 0; }
  .footer .cols { grid-template-columns: 1fr; }
  .whats-float { right: 16px; }
}

/* =====================================================================
   Páginas internas (Área do Aluno, trilhas): uso frequente, então
   movimento mínimo — só feedback de toque e a janela do player.
   ===================================================================== */
.header.solid { background: rgba(7, 9, 13, .86); border-color: var(--line-d); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
.nav.simple { position: static; flex-direction: row; visibility: visible; opacity: 1; padding: 0; background: none; gap: 24px; }
.nav.simple a { opacity: 1; transform: none; font-size: 14px; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: rgba(233, 237, 242, .72); }
.nav.simple a:not(.nav-cta)::after { display: block; }
.nav.simple .nav-cta { margin-top: 0; height: 40px; padding: 0 18px; color: var(--text); }
@media (hover: hover) and (pointer: fine) { .nav.simple a:not(.nav-cta):hover { color: #fff; } }
@media (max-width: 600px) { .nav.simple .hide-sm { display: none; } }

.app { background: var(--paper); min-height: 100vh; }
.page-head {
  position: relative; overflow: hidden; isolation: isolate; background: var(--ink-0); color: var(--text-d);
  padding: calc(var(--header-h) + clamp(40px, 7vw, 88px)) 0 clamp(88px, 10vw, 128px);
}
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(ellipse 50% 90% at 85% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 50% 90% at 85% 40%, #000, transparent 75%);
}
.page-head::after {
  content: ""; position: absolute; z-index: -1; right: -6%; top: -30%; width: 640px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 111, 229, .24), transparent 62%);
}
.page-head .head-rose {
  position: absolute; z-index: -1; right: max(-120px, 4vw - 200px); top: 50%; translate: 0 -46%; width: min(520px, 70vw);
  fill: none; stroke: rgba(160, 195, 255, .16); stroke-width: 1; overflow: visible;
}
.head-rose * { vector-effect: non-scaling-stroke; }
.page-head h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-stretch: 85%; letter-spacing: -0.03em; margin-top: 20px; }
.page-head h1 em { color: var(--blue-hi); }
.page-head p { color: var(--muted-d); margin-top: 16px; max-width: 58ch; font-size: 1.05rem; text-wrap: pretty; }

/* campos */
.field {
  height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  font: 500 16px var(--display); color: var(--text); min-width: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 111, 229, .14); }
select.field {
  appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230d1117' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
}

/* ícones de linha */
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico.solid { fill: currentColor; stroke: none; }

/* player (janela modal) */
.modal {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(5, 7, 10, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  visibility: hidden; opacity: 0; transition: opacity 200ms ease, visibility 0s linear 200ms;
}
.modal.open { visibility: visible; opacity: 1; transition: opacity 250ms var(--ease-out); }
.modal-box {
  width: min(1080px, 100%); border-radius: 20px; overflow: hidden; color: var(--text-d);
  background: var(--ink-1); border: 1px solid var(--line-d); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6);
  transform: scale(.96); transition: transform 200ms var(--ease-out);
}
.modal.open .modal-box { transform: none; transition: transform 250ms var(--ease-out); }
.modal-video { aspect-ratio: 16 / 9; background: #000; display: grid; place-items: center; color: var(--muted-d); }
.modal-video iframe { width: 100%; height: 100%; border: 0; }
.modal-info { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; }
.modal-info h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
.modal-info small { display: block; margin-top: 6px; font: 500 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); }
.modal-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-dark { background: rgba(255, 255, 255, .08); color: var(--text-d); border-color: var(--line-d); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-ok { background: #1f9d63; color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover { background: rgba(255, 255, 255, .14); }
  .btn-blue:hover { background: #1a62cc; }
  .btn-ok:hover { background: #1a8a56; }
}

.help { text-align: center; color: var(--text-muted); padding: 64px 0 88px; font-size: 15px; }
.help a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Movimento reduzido: menos e mais suave, não zero ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-title .line > span, .js [data-hero], .js [data-reveal], .js .rose-spin, .js .hero-beam, .nav a { transform: none !important; }
  .js .rose .draw { stroke-dashoffset: 0; }
  .ready .hero-title .line > span, .ready [data-hero], .js [data-reveal].in, .ready .hero-beam, .ready .rose .draw, .ready .rose-spin {
    transition: opacity 400ms ease !important; transition-delay: 0ms !important;
  }
  .route-line::after { transform: none; transition: none !important; }
  .approved-grid.swap .approved { animation: fade 200ms ease both; animation-delay: 0ms; }
  @keyframes fade { from { opacity: 0; } }
  .teacher img, .approved .photo img { transition: none; }
  .modal-box, .modal.open .modal-box { transform: none; }
}
