@font-face{font-family:"Montserrat";font-style:normal;font-weight:400;font-display:swap;src:url(../assets/fonts/montserrat-latin-400-normal.woff2) format("woff2");}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:600;font-display:swap;src:url(../assets/fonts/montserrat-latin-600-normal.woff2) format("woff2");}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:700;font-display:swap;src:url(../assets/fonts/montserrat-latin-700-normal.woff2) format("woff2");}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:800;font-display:swap;src:url(../assets/fonts/montserrat-latin-800-normal.woff2) format("woff2");}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:400;font-display:swap;src:url(../assets/fonts/source-sans-3-latin-400-normal.woff2) format("woff2");}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:600;font-display:swap;src:url(../assets/fonts/source-sans-3-latin-600-normal.woff2) format("woff2");}

/* ==========================================================
   Tokens e estilos globais
   Matemática com Gui Marques · Turma de Medicina
   ========================================================== */

:root {
  /* Marca: vermelho do logo + tinta de quadro + papel quadriculado */
  --accent: #d7141a;
  --accent-deep: color-mix(in srgb, var(--accent) 74%, #000);
  --accent-soft: color-mix(in srgb, var(--accent) 9%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 28%, transparent);
  --navy: #1c2b4b;

  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --surface: #ffffff;
  --ink: #16181d;
  --ink-2: #3a3f4a;
  --muted: #5f6878;
  --line: #e3e7ee;
  --grid: #e9edf3;

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --shadow-card: 0 1px 0 rgba(22, 24, 29, 0.04), 0 12px 32px -18px rgba(28, 43, 75, 0.28);
  --shadow-float: 0 30px 60px -30px rgba(28, 43, 75, 0.45);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

[data-theme="cream"] {
  --bg: #fbf8f2;
  --bg-soft: #f2ede3;
  --surface: #fffdf9;
  --line: #e6dfd2;
  --grid: #ece5d8;
}

[data-theme="dark"] {
  --bg: #0f1420;
  --bg-soft: #151c2b;
  --surface: #182033;
  --ink: #f2f4f8;
  --ink-2: #cdd3de;
  --muted: #9aa4b5;
  --line: #263049;
  --grid: #1c2538;
  --accent-soft: color-mix(in srgb, var(--accent) 18%, transparent);
  --shadow-card: 0 1px 0 rgba(0, 0, 0, 0.2), 0 16px 36px -20px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  font-weight: 800;
}

h3 {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.25;
  font-weight: 700;
}

p { margin: 0; text-wrap: pretty; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-y) 0; position: relative; }
.section--soft { background: var(--bg-soft); }

/* Eyebrow: frase curta em caixa normal, com traço de caneta vermelha */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: 18px; }

/* Papel quadriculado: o motivo da página */
.graph-paper {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
}

/* Botões */
.btn {
  --btn-bg: var(--accent);
  --btn-ink: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--accent) 80%, transparent);
}
.btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-ink: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--ink-2); }

.btn--small { min-height: 42px; padding: 0 18px; font-size: 15px; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Placeholder rotulado para conteúdo que falta */
.ph {
  display: inline-block;
  padding: 0 6px;
  border-radius: 5px;
  background: color-mix(in srgb, #f5b400 22%, transparent);
  color: inherit;
  font-weight: 700;
  white-space: nowrap;
}

/* Reveal: só opacidade + leve deslocamento, uma vez */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, .reveal-fallback .reveal { opacity: 1; transform: none; }

/* Grid utilitário com minmax(0, …) para não estourar texto */
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===================== Tweaks ===================== */
.tweaks {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  font-family: var(--font-body);
}
.tweaks__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: 700 15px var(--font-display);
  cursor: pointer;
  box-shadow: var(--shadow-float);
}
.tweaks__panel {
  position: absolute;
  right: 0;
  bottom: 56px;
  width: 280px;
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-float);
  display: grid;
  gap: 18px;
}
.tweaks__group { display: grid; gap: 10px; }
.tweaks__label { font: 700 15px var(--font-display); }
.tweaks__swatches { display: flex; gap: 10px; }
.tweaks__swatch {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
}
.tweaks__swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.tweaks__seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 10px; background: var(--bg-soft); }
.tweaks__seg button {
  min-height: 34px; border: 0; border-radius: 7px; background: transparent; color: var(--ink-2);
  font: 600 15px var(--font-body); cursor: pointer;
}
.tweaks__seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.tweaks__switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; }
.tweaks__switch input { width: 42px; height: 24px; accent-color: var(--accent); }

/* ==========================================================
   Estilos por seção
   ========================================================== */

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 12px; }

/* ===================== 1. Nav ===================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav--scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(0,0,0,.4); }
.nav__inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; color: var(--ink); }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: grid; font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.01em; }
.brand__line1 { font-weight: 400; font-size: 13.5px; }
.brand__line2 { font-weight: 800; font-size: 17px; }
.nav__links { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav__links a {
  text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.nav__cta-short { display: none; }
@media (max-width: 760px) {
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
}
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__inner .btn { margin-left: auto; }
}

/* ===================== 2. Hero ===================== */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); }
.hero__paper {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%);
  opacity: 0.9;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 8px 14px 8px 12px;
  border-radius: 999px; border: 1px solid var(--accent-line);
  background: var(--surface);
  font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.chip__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero__title {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
}

/* O momento da página: risco de caneta vermelha, como correção de prova */
.strike {
  color: var(--muted);
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 58%;
  background-size: 0% 0.11em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: penStrike 0.8s 0.55s cubic-bezier(0.6, 0, 0.3, 1) forwards;
}
@keyframes penStrike { to { background-size: 100% 0.11em; } }

.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-deep) 55%, var(--navy) 120%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
[data-theme="dark"] .grad { background-image: linear-gradient(100deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 55%, #fff) 100%); }

.hero__lede { margin-top: 24px; max-width: 58ch; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__kpis {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line);
}
.hero__kpi { margin: 0; }
.hero__kpi-value {
  font: 800 clamp(30px, 3.2vw, 40px)/1 var(--font-display);
  letter-spacing: -0.03em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hero__kpi-label { margin: 8px 0 0; font-size: 15px; line-height: 1.4; color: var(--muted); }

.hero__visual { position: relative; min-height: 560px; }
.hero__glow {
  position: absolute; inset: 8% 0 10% 10%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 35%, transparent), transparent);
  filter: blur(30px);
  transition: opacity 0.4s var(--ease);
}
[data-glow="off"] .glow { opacity: 0; }

.hero__photo {
  position: relative; margin: 0 0 0 auto; width: min(78%, 420px);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-float);
  aspect-ratio: 760 / 1017;
  background: #2a2c31;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 20px 18px;
  background: linear-gradient(to top, rgba(10,12,18,.85), transparent);
  color: #fff; display: grid; gap: 2px; text-align: right;
}
.hero__photo figcaption strong { font: 800 18px var(--font-display); }
.hero__photo figcaption span { font-size: 15px; opacity: .85; }

.hero__dash {
  position: absolute; left: 0; bottom: 6%; width: min(66%, 330px);
  animation: dashIn 0.9s 0.35s var(--ease) both;
}
@keyframes dashIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Painel do aluno */
.dash {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px; box-shadow: var(--shadow-float);
  display: grid; gap: 14px;
}
.dash__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dash__title { font: 800 16px/1.2 var(--font-display); }
.dash__sub { font-size: 13.5px; color: var(--muted); }
.dash__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 3px 9px; border-radius: 999px;
}
.dash__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: livePulse 1.6s infinite; }
@keyframes livePulse { 50% { opacity: .3; } }
.dash__metrics { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.dash__metric { background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; display: grid; }
.dash__value { font: 800 22px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.dash__label { font-size: 13.5px; color: var(--muted); }
.dash__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.dash__bars li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 36px; align-items: center; gap: 8px; font-size: 13.5px; }
.dash__bar-name { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__bar-track { height: 7px; border-radius: 7px; background: var(--bg-soft); overflow: hidden; }
.dash__bar-fill { display: block; height: 100%; border-radius: 7px; background: var(--accent); transition: width 1s var(--ease); }
.dash__bar-num { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.dash__spark { display: grid; gap: 6px; }
.dash__spark svg { width: 100%; height: 52px; overflow: visible; }
.dash__spark-area { fill: var(--accent-soft); }
.dash__spark-line {
  fill: none; stroke: var(--accent); stroke-width: 2.2; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s 0.3s var(--ease);
}
.dash.is-on .dash__spark-line { stroke-dashoffset: 0; }
.dash__spark-dot { fill: var(--accent); }

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { min-height: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; align-items: end; }
  .hero__photo { width: 100%; margin: 0; }
  .hero__dash { position: relative; width: 100%; left: auto; bottom: auto; }
}
@media (max-width: 760px) {
  .hero__kpis { grid-template-columns: max-content minmax(0, 1fr); gap: 18px 14px; align-items: center; }
  .hero__kpi-label { line-height: 1.35; }
  .hero__kpi-value { justify-self: end; font-size: 30px; }
  .hero__kpi { display: contents; }
  .hero__kpi-label { margin: 0; }
  .hero__visual { grid-template-columns: minmax(0, 1fr); }
  .hero__photo { max-width: 360px; justify-self: center; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ===================== 3. Marquee ===================== */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--ink); color: var(--bg);
  padding: 18px 0;
}
.marquee__track { display: flex; width: max-content; animation: marqueeScroll 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__row { display: flex; flex-shrink: 0; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font: 700 clamp(17px, 1.6vw, 21px) var(--font-display); white-space: nowrap;
}
.marquee__sym { color: var(--accent); font-family: var(--font-body); font-weight: 600; font-size: 1.15em; }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }

/* ===================== 4. Tese ===================== */
.thesis__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.thesis__points { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 24px; }
.thesis__points li { padding-left: 20px; border-left: 3px solid var(--accent-line); }
.thesis__points h3 { margin-bottom: 6px; }
.thesis__points p { color: var(--ink-2); }

.thesis__chart {
  margin: 0; padding: clamp(16px, 2.5vw, 28px);
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background-color: var(--surface);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
.thesis__chart svg { width: 100%; height: auto; overflow: visible; }
.thesis__chart figcaption { margin-top: 14px; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.tc-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-weight: 600; }
.tc-legend li { display: inline-flex; align-items: center; gap: 8px; }
.tc-key { width: 22px; height: 4px; border-radius: 4px; }
.tc-key--effort { background: var(--ink); }
.tc-key--method { background: var(--accent); }
.tc-key--generic { background: var(--muted); }
.tc-note { font-size: 14px; }
.tc-grid line { stroke: var(--line); stroke-width: 1; }
.tc-axis { stroke: var(--ink-2); stroke-width: 1.5; }
.tc-line { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tc-line--effort { stroke: var(--ink); }
.tc-line--generic { stroke: var(--muted); stroke-dasharray: 1; }
.tc-line--method { stroke: var(--accent); }
.tc-gap { fill: var(--accent-soft); opacity: 0; transition: opacity 0.8s 1.3s var(--ease); }
.is-drawn .tc-line { transition: stroke-dashoffset 1.5s var(--ease); stroke-dashoffset: 0; }
.is-drawn .tc-line--generic { transition-delay: 0.25s; }
.is-drawn .tc-line--method { transition-delay: 0.6s; }
.is-drawn .tc-gap { opacity: 1; }
.tc-label { font: 700 15px var(--font-display); }
.tc-label--effort { fill: var(--ink); }
.tc-label--generic { fill: var(--muted); }
.tc-label--method { fill: var(--accent); }
.tc-gap-label { font: italic 600 15px var(--font-body); fill: var(--accent-deep); }
[data-theme="dark"] .tc-gap-label { fill: var(--ink-2); }
.tc-axis-label { font: 600 14px var(--font-body); fill: var(--muted); }
.tc-labels { opacity: 0; transition: opacity 0.6s 1.1s var(--ease); }
.is-drawn .tc-labels { opacity: 1; }

@media (max-width: 1080px) {
  .thesis__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===================== 5. Argumentos ===================== */
.args__grid { gap: 0; border-top: 2px solid var(--ink); }
.arg {
  padding: 30px 28px 30px 0;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.arg:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.arg__head { font-size: clamp(20px, 1.8vw, 24px); }
.arg__lede { font-weight: 600; color: var(--ink); }
.arg__body { color: var(--ink-2); }
.arg__stat { margin-top: auto; padding-top: 18px; display: flex; align-items: baseline; gap: 12px; }
.arg__stat-value {
  font: 800 clamp(32px, 3vw, 40px)/1 var(--font-display); color: var(--accent);
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums; flex-shrink: 0;
}
.arg__stat-label { font-size: 15px; line-height: 1.35; color: var(--muted); }

@media (max-width: 1080px) {
  .arg:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .arg:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .arg, .arg:nth-child(2n) { padding: 26px 0; border-left: 0; }
}

/* ===================== 6. Pull band ===================== */
.pull {
  position: relative; overflow: hidden;
  background: var(--accent); color: #fff;
  padding: clamp(56px, 8vw, 96px) 0;
}
.pull__paper {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 28px 28px;
}
.pull__quote {
  position: relative; max-width: 26ch;
  font: 800 clamp(28px, 4vw, 50px)/1.12 var(--font-display);
  letter-spacing: -0.03em; text-wrap: balance;
}

/* ===================== 7. Por que agora ===================== */
.why {
  padding: 28px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface);
  display: grid; align-content: start; gap: 10px;
}
.why__date {
  justify-self: start; font: 700 15px var(--font-display); color: var(--accent);
  padding: 4px 10px; border-radius: 6px; background: var(--accent-soft);
}
.why p:not(.why__date) { color: var(--ink-2); }

/* ===================== 8. Before / after ===================== */
.ba__grid { gap: 20px; }
.ba__panel { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.ba__panel h3 { margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.ba__panel--before h3::before, .ba__panel--after h3::before { content: ""; width: 12px; height: 12px; border-radius: 3px; }
.ba__panel--before h3::before { background: var(--muted); }
.ba__panel--after { border-color: var(--accent-line); box-shadow: 0 18px 40px -28px color-mix(in srgb, var(--accent) 60%, transparent); }
.ba__panel--after h3::before { background: var(--accent); }
.ba__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ba__row { display: grid; gap: 8px; }
.ba__label { font-size: 15px; color: var(--ink-2); font-weight: 600; }
.ba__track { height: 14px; border-radius: 14px; background: var(--bg-soft); overflow: hidden; }
.ba__fill { display: block; height: 100%; width: 0; border-radius: 14px; }
.ba__panel--before .ba__fill { background: var(--muted); }
.ba__panel--after .ba__fill { background: linear-gradient(90deg, var(--accent-deep), var(--accent)); }
.ba__grid.is-on .ba__fill { animation: baGrow 1.2s var(--ease) var(--d) forwards; }
@keyframes baGrow { from { width: 0; } to { width: var(--w); } }
.ba__note { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* ===================== 9. O serviço ===================== */
.service__top { align-items: start; }
.service__desc p { margin-top: 18px; color: var(--ink-2); font-size: 18px; max-width: 56ch; }
.service__fronts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.front { padding: 20px; border-radius: var(--r-md); background: var(--bg-soft); display: grid; gap: 8px; align-content: start; }
.front__icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface); color: var(--accent);
  border: 1px solid var(--accent-line);
}
.front h3 { font-size: 18px; }
.front p { font-size: 15px; color: var(--ink-2); }

.offers {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px; align-items: stretch;
}
.offer {
  position: relative; padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface);
  display: flex; flex-direction: column; gap: 14px;
  scroll-margin-top: 96px;
}
.offer--featured { border: 2px solid var(--accent); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--accent) 70%, transparent); }
.offer__badge {
  position: absolute; top: -15px; left: 24px;
  background: var(--accent); color: #fff;
  font: 700 14px var(--font-display); padding: 6px 12px; border-radius: 999px;
}
.offer__title { font-size: clamp(22px, 2vw, 26px); }
.offer__for { color: var(--ink-2); }
.offer__price { display: grid; gap: 2px; padding: 14px 0; border-block: 1px solid var(--line); }
.offer__price-value { font: 800 clamp(36px, 3.4vw, 46px)/1 var(--font-display); letter-spacing: -0.03em; }
.offer__price-value--sm { font-size: clamp(24px, 2.2vw, 28px); }
.offer__price-unit { font-size: 15px; color: var(--muted); }
.offer__note { font-size: 15px; color: var(--ink); background: var(--accent-soft); padding: 10px 12px; border-radius: 10px; }
.offer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.offer__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.offer__list svg { color: var(--accent); margin-top: 3px; }
.offer__cta { margin-top: auto; width: 100%; }

.maps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.maps__link {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  text-decoration: none; font-weight: 600;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.maps__link:hover { border-color: var(--accent); background: var(--accent-soft); }
.maps__go { font-size: 14px; color: var(--accent); font-weight: 700; }

@media (max-width: 1080px) {
  .service__top { grid-template-columns: minmax(0, 1fr); }
  .offers { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .offer--featured { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .offers { grid-template-columns: minmax(0, 1fr); }
  .front { padding: 16px; }
}
@media (max-width: 480px) {
  .service__fronts { grid-template-columns: minmax(0, 1fr); }
}

/* ===================== 10. Processo ===================== */
.process__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.process__head { position: sticky; top: 110px; margin-bottom: 0; }
.process__head .btn { margin-top: 28px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 21px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--accent), var(--accent-line));
}
.step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding-bottom: 34px; }
.step:last-child { padding-bottom: 0; }
.step__num {
  position: relative; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--accent); color: var(--accent);
  font: 800 18px var(--font-display);
}
.step:last-child .step__num { background: var(--accent); color: #fff; }
.step__body { padding-top: 6px; display: grid; gap: 6px; }
.step__when { font-size: 15px; font-weight: 600; color: var(--accent); }
.step__body > p:not(.step__when):not(.step__deliv) { color: var(--ink-2); }
.step__deliv {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px; padding: 6px 12px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 15px; font-weight: 600;
}
.step__deliv svg { color: var(--accent); flex-shrink: 0; }

@media (max-width: 1080px) {
  .process__grid { grid-template-columns: minmax(0, 1fr); }
  .process__head { position: static; }
}

/* ===================== 11. FAQ ===================== */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__grid .section-head a { color: var(--accent); font-weight: 600; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: inherit; }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer;
  font: 700 clamp(17px, 1.5vw, 19px)/1.35 var(--font-display);
}
.faq__icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p { padding: 0 54px 24px 0; color: var(--ink-2); }

@media (max-width: 1080px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===================== 12. CTA final ===================== */
.final__box {
  position: relative; overflow: hidden;
  border-radius: clamp(20px, 3vw, 32px);
  background: var(--navy); color: #fff;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  text-align: center;
}
[data-theme="dark"] .final__box { background: #0a0e18; border: 1px solid var(--line); }
.final__glow {
  position: absolute; left: 50%; top: 100%; width: 900px; height: 600px; transform: translate(-50%, -55%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 75%, transparent), transparent);
  filter: blur(20px); transition: opacity 0.4s var(--ease);
}
.final__paper {
  position: absolute; inset: 0; opacity: .5;
  --grid: rgba(255,255,255,.06);
}
.final__content { position: relative; max-width: 720px; margin: 0 auto; display: grid; justify-items: center; gap: 20px; }
.final__mark { width: 72px; height: 72px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); }
.final__content h2 { color: #fff; }
.final__content p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 56ch; }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.final__ghost { --btn-ink: #fff; border-color: rgba(255,255,255,.35); }
.final__ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ===================== 13. Footer ===================== */
.footer { padding: clamp(56px, 7vw, 80px) 0 28px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__logo img { width: 160px; height: auto; }
[data-theme="dark"] .footer__logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 14px; }
.footer__brand p { margin-top: 16px; color: var(--muted); max-width: 28ch; }
.footer__col h3 { font-size: 16px; margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__col a { text-decoration: none; color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--accent); text-decoration: underline; }
.footer__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================
   Páginas internas: turma, aulas particulares, mapas
   ========================================================== */

/* Nav: estado atual e menu do celular */
.nav__links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav__menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; place-items: center; flex-shrink: 0;
}
.nav__burger { display: grid; gap: 4px; width: 18px; }
.nav__burger span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav__menu { border-top: 1px solid var(--line); background: var(--bg); }
.nav__menu ul { list-style: none; margin: 0; padding-top: 8px; padding-bottom: 14px; display: grid; }
.nav__menu a {
  display: block; padding: 13px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; font: 700 17px var(--font-display); color: var(--ink);
}
.nav__menu li:last-child a { border-bottom: 0; }
.nav__menu a[aria-current="page"] { color: var(--accent); }
@media (max-width: 1080px) {
  .nav__menu-btn { display: grid; }
  .nav__inner { gap: 12px; }
}
@media (min-width: 1081px) { .nav__menu { display: none; } }

/* Hero das páginas internas */
.phero__title { font-size: clamp(34px, 4.4vw, 56px); }
.phero--solo .hero__grid { grid-template-columns: minmax(0, 1fr); }
.phero--solo .hero__copy { max-width: 820px; }
.phero__visual { min-height: 520px; }
.crumb { display: flex; gap: 10px; align-items: center; margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.crumb a { color: var(--accent); font-weight: 600; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.hero__ctas .btn svg { flex-shrink: 0; }

.datecard {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-left: 5px solid var(--accent);
  border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow-float);
  display: grid; gap: 4px;
}
.datecard__label { font-weight: 600; color: var(--ink-2); font-size: 15px; }
.datecard__date { font: 800 34px/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--accent); }
.datecard__note { font-size: 14px; color: var(--muted); }

@media (max-width: 1080px) {
  .phero__visual { min-height: 0; }
}

/* Depoimentos */
.testi__grid { list-style: none; margin: 0; padding: 0; }
.testi__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.testi__result { font: 800 19px/1.25 var(--font-display); color: var(--accent); }
.testi__text { color: var(--ink-2); }
.testi__name { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; }
.testi__source { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.testi__quote { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.55; }
.testi__extra { font-size: 15px; color: var(--ink-2); padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); }
.testi__group + .testi__group { margin-top: clamp(40px, 5vw, 60px); }
.testi__group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.testi__group-title { font-size: clamp(20px, 2vw, 24px); }
.testi__group-note { color: var(--muted); font-size: 15px; }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: start; }
.checklist li {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 18px 20px; border-radius: var(--r-md); background: var(--bg-soft);
  font-size: 18px; color: var(--ink);
}
.checklist svg { color: var(--accent); margin-top: 3px; }
.forwho__grid, .included__grid { align-items: start; }
.forwho__head, .included__grid .section-head { margin-bottom: 0; }

/* Fatos da turma */
.facts { list-style: none; margin: 0; padding: 0; gap: 16px; }
.facts .front { background: var(--surface); border: 1px solid var(--line); }

/* Investimento */
.invest__grid { align-items: start; }
.invest__card { gap: 16px; }
.rules h3 { margin-bottom: 14px; }
.rules dl { margin: 0; border-top: 2px solid var(--ink); }
.rules__row {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 18px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.rules dt { font-weight: 700; }
.rules dd { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) {
  .rules__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* Faixa da aula aberta */
.openclass__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.openclass__eyebrow { font: 700 16px var(--font-display); opacity: .9; margin-bottom: 8px; }
.openclass__title { color: #fff; font-size: clamp(28px, 3.6vw, 44px); max-width: 22ch; }
.openclass__body { margin-top: 14px; max-width: 60ch; color: rgba(255,255,255,.9); font-size: 18px; }
.openclass__btn { --btn-bg: #fff; --btn-ink: var(--accent); box-shadow: 0 14px 30px -14px rgba(0,0,0,.45); }
.openclass__btn:hover { background: #fff; transform: translateY(-2px); }

/* Bloco de contato + formulário */
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__intro { position: sticky; top: 110px; }
.contact__intro > p:not(.eyebrow) { margin-top: 18px; color: var(--ink-2); font-size: 18px; }
.contact__steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.contact__steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: center; color: var(--ink); font-weight: 600; }
.contact__num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--accent); color: var(--accent); font: 800 16px var(--font-display);
}
.contact__alt { font-size: 16px !important; }
.contact__alt a { color: var(--accent); font-weight: 700; }
.contact__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 3.5vw, 38px); box-shadow: var(--shadow-card);
  border-top: 5px solid var(--accent);
}
.contact__card-title { margin-bottom: 22px; }
@media (max-width: 1080px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__intro { position: static; }
}

/* Campos do formulário */
.lead { display: grid; gap: 22px; }
.ff { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ff__label { font-weight: 700; font-size: 16px; color: var(--ink); padding: 0; }
.ff__req { color: var(--accent); }
.ff__hint { font-size: 15px; color: var(--muted); margin-top: -2px; }
.ff input[type="text"], .ff input[type="email"], .ff input[type="tel"], .ff input[type="date"], .ff select {
  width: 100%; min-height: 50px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--ink);
  font: 400 16px var(--font-body);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.ff select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.ff input:focus, .ff select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.ff.is-invalid input, .ff.is-invalid select { border-color: #c0262d; }
.ff__error { font-size: 15px; font-weight: 600; color: #c0262d; }
[data-theme="dark"] .ff__error { color: #ff8a8f; }
.ff__options { display: grid; gap: 8px; }
.ff__options--wrap { display: flex; flex-wrap: wrap; }
.ff__opt {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 8px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--bg); cursor: pointer;
  font-size: 16px; line-height: 1.3;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.ff__opt:hover { border-color: var(--ink-2); }
.ff__opt.is-checked { border-color: var(--accent); background: var(--accent-soft); }
.ff__opt input, .ff__checkline input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; margin: 0; }
.ff__opt:focus-within { box-shadow: 0 0 0 4px var(--accent-soft); }
.ff--group.is-invalid .ff__opt { border-color: color-mix(in srgb, #c0262d 50%, var(--line)); }
.ff__checkline {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 16px; border-radius: 12px; background: var(--accent-soft); cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--ink);
}
.ff__checkline input { margin-top: 3px; }
.lead__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead__legal { font-size: 14px; color: var(--muted); }
.lead__alert { padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, #c0262d 10%, transparent); color: var(--ink); font-size: 15px; }
.lead__alert a { color: var(--accent); font-weight: 700; }
.lead__submit { width: 100%; }
.lead__submit[disabled] { opacity: .7; cursor: progress; }
.lead--done { justify-items: start; gap: 14px; padding: 8px 0; }
.lead__done-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.lead--done p { color: var(--ink-2); }

/* Mapas */
.mapgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mapcard {
  height: 100%; display: flex; flex-direction: column; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.mapcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.mapcard__thumb { display: block; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mapcard__thumb img, .mapcard__thumb .img-fallback { width: 100%; object-fit: cover; object-position: top; }
.mapcard__body { padding: 18px 20px 6px; display: grid; gap: 4px; }
.mapcard__body strong { font: 800 20px var(--font-display); }
.mapcard__body span { color: var(--muted); font-size: 15px; }
.mapcard__go { padding: 10px 20px 18px; margin-top: auto; color: var(--accent); font-weight: 700; font-size: 15px; }
.mapgrid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mapgrid--compact .mapcard__body { padding-top: 18px; }
@media (max-width: 1080px) {
  .mapgrid, .mapgrid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .mapgrid, .mapgrid--compact { grid-template-columns: minmax(0, 1fr); }
}

.img-fallback {
  display: grid; place-items: center; width: 100%;
  background-color: var(--bg-soft);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--accent); font: 800 clamp(20px, 2.4vw, 30px) var(--font-display); text-align: center; padding: 16px;
}

.howto__steps { list-style: none; margin: 0; padding: 0; }
.howto__step { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.howto__step p { color: var(--ink-2); }

/* Ilustração do mapa mental */
.mindmap { margin: 0; padding: clamp(16px, 3vw, 28px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-card); }
.mindmap svg { width: 100%; height: auto; overflow: visible; }
.mindmap__line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: mmDraw .9s var(--ease) forwards; }
.mindmap__core { fill: var(--accent); }
.mindmap__core-t { fill: #fff; font: 800 19px var(--font-display); }
.mindmap__node { opacity: 0; animation: mmPop .5s var(--ease) forwards; }
.mindmap__node rect { fill: var(--surface); stroke: var(--accent-line); stroke-width: 1.5; }
.mindmap__node text { fill: var(--ink); font: 700 14px var(--font-display); }
@keyframes mmDraw { to { stroke-dashoffset: 0; } }
@keyframes mmPop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Página de cada vestibular */
.exam__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.exam__figure { margin: 0; }
.exam__figure a { display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-card); }
.exam__figure img, .exam__figure .img-fallback { width: 100%; height: auto; }
.exam__figure figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.exam__side { display: grid; gap: 28px; position: sticky; top: 100px; }
.exam__side-title { font-size: 20px; margin-bottom: 14px; }
.exam__cta { padding: 26px; border-radius: var(--r-lg); background: var(--bg-soft); border-top: 5px solid var(--accent); display: grid; gap: 12px; justify-items: start; }
.exam__cta h2 { font-size: clamp(22px, 2.2vw, 26px); }
.exam__cta p { color: var(--ink-2); }
@media (max-width: 1080px) {
  .exam__grid { grid-template-columns: minmax(0, 1fr); }
  .exam__side { position: static; }
}

.video-card { display: grid; gap: 12px; text-decoration: none; color: var(--ink); }
.video-card__thumb { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; background: #111; }
.video-card__thumb img, .video-card__thumb .img-fallback { width: 100%; object-fit: cover; }
.video-card__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; box-shadow: 0 10px 30px -8px rgba(0,0,0,.5);
  transition: transform .15s var(--ease);
}
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.06); }
.video-card__text { display: grid; gap: 2px; }
.video-card__text strong { font: 700 17px var(--font-display); }
.video-card__text span { color: var(--accent); font-weight: 600; font-size: 15px; }

.hero__dash--top { bottom: auto; top: 6%; }
@media (max-width: 1080px) { .hero__dash--top { top: auto; } }
.exam__figure a, .mapcard { text-decoration: none; }
.phero--solo { padding-bottom: clamp(24px, 4vw, 48px); }
.phero--solo + .section { padding-top: clamp(24px, 4vw, 48px); }
.nav__cta { white-space: nowrap; }
@media (max-width: 420px) {
  .brand__line1 { display: none; }
  .brand__line2 { font-size: 16px; }
  .nav__cta { padding: 0 14px; }
}

/* Desktop: painel abaixo da foto, sem cobrir o rosto */
@media (min-width: 1081px) {
  .hero__visual, .phero__visual {
    min-height: 0;
    display: flex; flex-direction: column; align-items: flex-end; gap: 18px;
  }
  .hero__photo { width: min(82%, 400px); margin: 0; }
  .hero__dash, .hero__dash--top {
    position: relative; left: auto; right: auto; top: auto; bottom: auto;
    width: min(82%, 400px);
  }
}
