/* =========================================================
   Projeto MDC. Direção: "clínico editorial"
   Tinta quase preta + papel quente + um único acento menta.
   Motion: tokens de Emil Kowalski (emilkowalski/skills).
   ========================================================= */

:root {
  /* cor */
  --ink: #070b0a;
  --ink-2: #0d1412;
  --ink-3: #131c19;
  --line-d: rgba(255, 255, 255, .1);
  --text-d: #f2f4f3;
  --muted-d: #a3aca8;

  --paper: #f3f1ec;
  --paper-2: #e8e5dd;
  --line-l: rgba(11, 15, 14, .12);
  --text-l: #0b0f0e;
  --muted-l: #535a57;
  --body-l: #3c4340;   /* texto corrido sobre papel */
  --body-d: #cfd6d3;   /* texto corrido sobre tinta */

  --mint: #0cf9ba;
  --mint-soft: #7dfcd8;
  --mint-ink: #07785b;   /* menta legível sobre papel */

  /* tipo */
  --sans: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;

  /* motion (emil-design-eng) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  /* layout */
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 20px;
  --nav-h: 68px;

  /* grão de filme (guia): pontos tingidos da paleta, alfa em V em torno do cinza médio */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='discrete' tableValues='0.03 0.95'/%3E%3CfeFuncG type='discrete' tableValues='0.04 0.95'/%3E%3CfeFuncB type='discrete' tableValues='0.04 0.93'/%3E%3CfeFuncA type='table' tableValues='0.035 0 0.035'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: clamp(17px, 0.95rem + 0.3vw, 20px);
  line-height: 1.6;
  color: var(--text-d);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
s { text-decoration-thickness: 1.5px; text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.paper :focus-visible { outline-color: var(--mint-ink); }
::selection { background: var(--mint); color: var(--ink); }

/* Toque: resposta imediata, sem atraso de duplo toque nem flash azul */
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* Barra de rolagem na paleta */
html { scrollbar-color: #2b3532 var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2b3532; border-radius: 6px; border: 3px solid var(--ink); }

/* Sublinhado que se desenha: uma linha fraca fixa e uma forte que cresce da esquerda */
.draw-link {
  --weak: currentColor;
  text-decoration: none;
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--weak), var(--weak));
  background-size: 0% 1px, 100% 1px;
  background-position: 0 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 250ms var(--ease-out), color 200ms ease;
}
.faq-help .draw-link { --weak: rgba(7, 120, 91, .35); }
.nav-links .draw-link { --weak: transparent; }
.draw-link[aria-current="true"] { color: var(--text-d); background-size: 100% 1px, 100% 1px; }
@media (hover: hover) and (pointer: fine) { .draw-link:hover { background-size: 100% 1px, 100% 1px; } }

/* Grão no fundo de cada campo (não por cima da página): fotos e texto ficam acima dele */
body .hero, body .sec, body .footer { background-image: var(--noise); background-size: 256px; }
@media (min-resolution: 2dppx) { body .hero, body .sec, body .footer { background-size: 128px; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--mint); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }

/* =================== Tipografia =================== */
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.ink em, .hero em, .offer em, .footer em { color: var(--mint); }
.paper em { color: var(--mint-ink); }

.display {
  font-size: clamp(36px, 5.6vw, 84px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 18ch;
}
.display em { font-size: 1.06em; line-height: .9; }
.h2 {
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 22ch;
}
.h2 em { font-size: 1.06em; }
.light { color: var(--text-d); }

.label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted-l);
  font-variant-numeric: tabular-nums;
}
.ink .label, .offer .label { color: var(--muted-d); }

.prose p, .cols p { max-width: 62ch; }
.prose p + p { margin-top: 1.1em; }
.prose.light { color: var(--body-d); }
.prose .hl { color: var(--text-d); font-size: 1.18em; line-height: 1.45; letter-spacing: -0.01em; }
.paper .prose { color: var(--body-l); }
.prose.narrow { margin-top: 28px; }

/* =================== Seções =================== */
.sec { padding-block: clamp(88px, 12vw, 168px); position: relative; }
.paper { background: var(--paper); color: var(--text-l); }
.ink { background: var(--ink); color: var(--text-d); }
.ink + .ink { border-top: 1px solid var(--line-d); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 40px var(--gutter); }
.head-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.head-row > .label { grid-column: 1 / -1; }
.head-lead { color: var(--body-l); }
.head-lead p + p { margin-top: .8em; }
.ink .head-lead { color: var(--body-d); }
.label-top { margin-bottom: 20px; }

/* Frase-chave: um degrau entre o título e o texto corrido */
.lead { font-size: clamp(21px, 1.1rem + 0.6vw, 27px); line-height: 1.38; letter-spacing: -0.015em; font-weight: 500; color: var(--text-l); text-wrap: pretty; }
.ink .lead, .offer .lead { color: var(--text-d); }
.prose .lead + p, .platform .lead + p { margin-top: .9em; }

/* Duas colunas: frase-chave à esquerda, apoio à direita */
.text-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.text-cols > p:not(.lead), .text-cols > div { color: var(--body-d); max-width: 52ch; }
.text-cols > div p + p { margin-top: 1em; }
.paper .text-cols > p:not(.lead), .paper .text-cols > div { color: var(--body-l); }
.head-row-spaced { margin-top: clamp(96px, 12vw, 160px); }

/* =================== Botões =================== */
.btn {
  --bg: var(--mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font: 600 16px/1 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
.btn-primary { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: var(--mint-soft); }
  .btn:hover .arrow { transform: translateX(3px); }
}

/* =================== Nav =================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.nav.is-solid {
  background-color: rgba(7, 11, 10, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--line-d);
}
.nav-inner { height: 100%; width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; display: flex; align-items: center; gap: 32px; }
.nav-logo img { width: 104px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted-d); }

@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--text-d); } }
/* CTA da nav só aparece depois que o CTA do hero sai da tela */
.nav-cta { opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), background-color 200ms ease; }
.nav.is-solid .nav-cta { opacity: 1; transform: none; pointer-events: auto; }
.nav.is-solid .nav-cta:active { transform: scale(0.97); }

/* =================== Hero =================== */
.hero {
  position: relative;
  min-height: min(100svh, 1080px);
  padding-top: calc(var(--nav-h) + clamp(40px, 8vh, 104px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero-glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 90%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(12, 249, 186, .28) 0%, rgba(12, 249, 186, .08) 45%, transparent 72%);
}
.hero-inner { flex: 1; display: flex; flex-direction: column; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted-d); margin-bottom: 28px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }

.hero-title {
  font-size: clamp(38px, 6.9vw, 104px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -0.045em;
}
/* folga em em, do tamanho da letra: acento em maiúscula em cima, descendente embaixo */
.hero-title .line { display: block; overflow: hidden; padding: .14em 0 .18em; margin: -.14em 0 -.18em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-size: 1.05em; letter-spacing: -0.02em; padding-right: .04em; }

.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; margin-top: clamp(32px, 5vh, 56px); }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; color: #c9d0cd; max-width: 34ch; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-price { font-size: 14px; color: var(--muted-d); }
.hero-price strong { color: var(--text-d); font-weight: 600; font-variant-numeric: tabular-nums; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: clamp(36px, 6vh, 64px); padding-top: 24px; border-top: 1px solid var(--line-d); font-size: 14px; color: var(--muted-d); }
.hero-meta li { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta svg { width: 18px; height: 18px; fill: none; stroke: var(--mint); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Faixa de cursos: movimento constante = linear */
.marquee {
  margin-top: clamp(48px, 7vh, 80px);
  padding-bottom: 40px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.marquee-track.is-driven { animation: none; will-change: transform; }
.marquee-track img { width: clamp(150px, 15vw, 184px); /* arquivo de 369px: no máximo metade na tela */ aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-d); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* =================== 01 Projeto =================== */
.statement {
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.3;
  max-width: 30ch;
  letter-spacing: -0.025em;
  font-weight: 500;
  text-wrap: pretty;
}
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(40px, 6vw, 96px); margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-l); color: var(--body-l); }

/* =================== Problema / manifesto =================== */
.problem .display, .manifesto .display { max-width: 20ch; }
.manifesto .label { margin-bottom: 28px; }

/* =================== Depoimentos =================== */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 32px 28px 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 var(--line-l), 0 20px 40px -28px rgba(11, 15, 14, .25);
}
.quote blockquote { font-size: 19px; line-height: 1.45; letter-spacing: -0.015em; text-wrap: pretty; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted-l); }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.quote figcaption strong { display: block; color: var(--text-l); font-weight: 600; }
.quotes-dark .quote { background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-d); color: var(--text-d); }
.quotes-dark .quote figcaption { color: var(--muted-d); }
.quotes-dark .quote figcaption strong { color: var(--text-d); }

/* Momento de escala: o depoimento-tese ganha quase uma tela */
.quote-feature { min-height: min(80vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-bottom: clamp(48px, 6vw, 96px); }
.feature-text { font-size: clamp(34px, 5.4vw, 84px); font-weight: 500; line-height: 1.04; letter-spacing: -0.035em; max-width: 19ch; text-wrap: balance; }
.feature-text em { font-size: 1.04em; }
.quote-feature figcaption { display: flex; align-items: center; gap: 14px; margin-top: 40px; font-size: 15px; color: var(--muted-l); }
.quote-feature figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.quote-feature figcaption strong { display: block; color: var(--text-l); font-weight: 600; }
.quotes-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Depoimentos da seção escura: título empilhado, sem coluna de rótulo */
.results-head { margin: clamp(96px, 12vw, 160px) 0 clamp(40px, 5vw, 64px); }
.results-head .label { margin-bottom: 16px; }

/* =================== Índice de cursos =================== */
.index { border-top: 1px solid var(--line-d); counter-reset: c; }
.index li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 190px 80px;
  gap: 16px;
  align-items: baseline;
  padding: 22px 12px;
  margin-inline: -12px;
  border-bottom: 1px solid var(--line-d);
  border-radius: 4px;
  transition: background-color 200ms ease;
}
.index .n { font-size: 13px; color: var(--muted-d); font-variant-numeric: tabular-nums; }
.index .t { font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -0.02em; line-height: 1.35; }
.index .m { font-size: 14px; color: var(--muted-d); }
.index .p { font-size: 14px; color: var(--muted-d); text-align: right; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .index li:hover { background-color: rgba(12, 249, 186, .06); }
}

.value { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 24px 48px; align-items: end; margin-top: 64px; }
.value-from { color: var(--muted-d); max-width: 30ch; }
.value-from s { color: var(--text-d); text-decoration-color: rgba(255, 90, 90, .9); text-decoration-thickness: 2px; }
.value-to { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.32; letter-spacing: -0.025em; max-width: 26ch; }
.value-to strong { color: var(--mint); font-weight: 600; font-variant-numeric: tabular-nums; }

/* =================== História =================== */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.story-media { position: sticky; top: calc(var(--nav-h) + 32px); }
.photo { overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.caption { margin-top: 14px; font-size: 13px; color: var(--muted-l); }

.timeline { border-left: 1px solid var(--line-l); }
.timeline li { position: relative; padding: 0 0 64px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--mint-ink); }
.year { display: block; font-size: 13px; font-weight: 600; color: var(--mint-ink); letter-spacing: .02em; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.timeline h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 14px; }
.timeline p { color: var(--body-l); max-width: 56ch; }
.timeline p + p { margin-top: 1em; }
.photo-inline { margin: 4px 0 20px; max-width: 360px; }
.photo-inline img { aspect-ratio: 16 / 11; }

.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line-l); }
.figures > div { padding: 28px 24px 0 0; }
.figures > div + div { padding-left: 24px; border-left: 1px solid var(--line-l); }
.figures dt { font-size: clamp(48px, 6vw, 88px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.figures dd { margin-top: 12px; color: var(--muted-l); max-width: 24ch; }

/* =================== Díptico da história ===================
   Ideia da página: "dentro x fora do consultório". A história começa no papel
   (2010, cinco clínicas) e, na virada, uma costura horizontal abre o campo escuro
   "fora dele", que segue pelos números e continua na seção seguinte: termina num campo só. */
.story { overflow-x: clip; }
.story > .wrap { position: relative; z-index: 1; }
.story-field {
  display: none;
  position: absolute;
  left: 0; right: 0; bottom: -1px; /* -1px: sem fresta de papel por arredondamento na emenda com a seção seguinte */
  z-index: 0;
  background-color: var(--ink);
  background-image: var(--noise);
  background-size: 256px;
}
@media (min-resolution: 2dppx) { .story-field { background-size: 128px; } }
.story.has-field .story-field { display: block; }

.field-label { font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--muted-l); padding-left: 36px; margin-bottom: 20px; }
.seam { height: 0; margin-top: clamp(56px, 7vw, 96px); }
.field-label-out { padding-top: clamp(56px, 7vw, 96px); }

/* Só com o campo posicionado o texto "fora" fica claro (sem JS continua escuro sobre o papel) */
.has-field .field-label-out { color: var(--muted-d); }
.has-field .timeline-out { border-left-color: var(--line-d); }
.has-field .timeline-out li::before { background: var(--ink); box-shadow: inset 0 0 0 2px var(--mint); }
.has-field .timeline-out .year { color: var(--mint); }
.has-field .timeline-out h3 { color: var(--text-d); }
.has-field .timeline-out p { color: var(--body-d); }
.has-field .figures { border-top-color: var(--line-d); }
.has-field .figures > div + div { border-color: var(--line-d); }
.has-field .figures dt { color: var(--text-d); }
.has-field .figures dd { color: var(--muted-d); }
.caption { transition: color 200ms ease; }
.caption.on-ink { color: var(--muted-d); }

/* O campo desce a partir da costura; o texto de dentro dele espera a abertura */
.js .story.has-field .story-field { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
.js .story.has-field.is-open .story-field { clip-path: inset(0 0 0 0); }
.js .story.has-field:not(.is-open) .field-label-out,
.js .story.has-field:not(.is-open) .timeline-out [data-reveal],
.js .story.has-field:not(.is-open) .figures > * { opacity: 0 !important; }

/* =================== Plataforma ===================
   Receita própria: texto à esquerda, painel com os aparelhos à direita (sem cards de números). */
.platform { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.platform .prose { margin-top: 28px; }

/* =================== Para quem =================== */
.for { border-top: 1px solid var(--line-d); }
.for li { display: grid; grid-template-columns: 56px minmax(0, 60ch); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-d); font-size: clamp(18px, 1.7vw, 23px); letter-spacing: -0.02em; line-height: 1.35; }
.for .n { font-family: var(--serif); font-style: italic; font-size: 1.2em; color: var(--mint); line-height: 1.1; }

/* =================== Oferta =================== */
.offer { background: var(--ink); overflow: hidden; isolation: isolate; border-top: 1px solid var(--line-d); }
.offer-glow { position: absolute; z-index: -1; right: -10%; top: 10%; width: 70%; height: 80%; background: radial-gradient(closest-side, rgba(12, 249, 186, .22), transparent); }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px var(--gutter); align-items: center; }
.offer .display { margin: 24px 0 40px; max-width: 12ch; }
.includes { border-top: 1px solid var(--line-d); max-width: 520px; }
.includes li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-d); color: #c9d0cd; }
.includes li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23070b0a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

.card-wrap { position: relative; }
.price-card {
  position: relative;
  padding: 36px 32px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  box-shadow: inset 0 0 0 1px rgba(12, 249, 186, .3), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.pc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.pc-top img { width: 104px; }
.pc-from { color: var(--muted-d); font-size: 15px; }
.pc-from s { text-decoration-color: rgba(255, 90, 90, .9); text-decoration-thickness: 2px; font-variant-numeric: tabular-nums; }
.pc-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.pc-x { font-size: 18px; color: var(--muted-d); }
.pc-cur { font-size: 26px; font-weight: 500; color: var(--mint); }
.pc-num { font-size: clamp(72px, 8vw, 108px); font-weight: 500; letter-spacing: -0.06em; line-height: .9; color: var(--mint); }
.pc-cash { color: var(--muted-d); font-size: 14px; margin: 14px 0 28px; }
.pc-pay { width: 240px; margin: 22px auto 0; opacity: .7; filter: invert(1) grayscale(1); }

.guarantee { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; margin-top: clamp(80px, 10vw, 128px); padding-top: 48px; border-top: 1px solid var(--line-d); }
.guarantee img { width: 220px; }
.guarantee-text { max-width: 640px; }
.guarantee h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.025em; margin-bottom: 10px; }
.guarantee p { color: #c9d0cd; max-width: 60ch; margin-inline: auto; }
.guarantee strong { color: var(--text-d); font-weight: 600; }

/* =================== FAQ =================== */
#faq .label { margin-bottom: 16px; }
.faq-help { margin-top: 24px; color: var(--muted-l); font-size: 17px; max-width: 30ch; }
.faq-help a { color: var(--mint-ink); }
.faq { border-top: 1px solid var(--line-l); }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-l); transition: background-color 200ms ease; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: var(--text-l); border-radius: 1px; transition: transform 200ms var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .faq summary:hover i { background-color: var(--paper-2); } }
.faq-a { overflow: hidden; color: var(--body-l); }
.faq-a > * { max-width: 64ch; }
.faq-a p + p, .faq-a p + ul { margin-top: .9em; }
.faq-a ul { padding-left: 1.1em; list-style: disc; }
.faq-a > :last-child { padding-bottom: 28px; }

/* =================== Footer =================== */
.footer { background: var(--ink); border-top: 1px solid var(--line-d); padding: clamp(88px, 12vw, 160px) 0 36px; }
.footer-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-cta .display { max-width: 14ch; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: clamp(80px, 10vw, 140px); padding-top: 28px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--muted-d); }
.footer-bottom img { width: 96px; }

/* =================== 404 =================== */
.notfound { min-height: 100svh; display: flex; align-items: center; padding-block: 64px; }
.notfound .nav-logo { display: inline-block; margin-bottom: clamp(64px, 12vh, 128px); }
.notfound .display { margin-bottom: 40px; }

/* =================== Dock mobile =================== */
.dock { display: none; }

/* =========================================================
   MOVIMENTO
   Uma gramática para a página toda (guia + emilkowalski/skills):
   - mesma curva de entrada (--ease-out) e de "mover no lugar" (--ease-in-out);
   - títulos: palavra a palavra, subindo de dentro de uma máscara;
   - texto: aparece depois do título, com 12px de subida;
   - imagens: abrem de baixo (clip-path), depois do texto;
   - detalhes que contam algo: preço riscado na hora, número que rola, fio da história.
   A abertura é vista uma vez por visita: é onde mora o "tchan".
   ========================================================= */
@keyframes word-up { from { transform: translateY(150%); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes glow-in { from { opacity: 0; transform: scale(.85); } }
@keyframes rule-in { from { transform: scaleX(0); } }
@keyframes cover-in { from { clip-path: inset(100% 0 0 0 round 12px); transform: translateY(36px); } }
@keyframes show { to { opacity: 1; } }

/* ---------- Máscara de palavra (títulos) ----------
   Cada palavra tem a própria máscara: a quebra de linha continua natural (sem medir linhas).
   Folga em em para acento e descendente. */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .02em .2em; margin: -.14em -.02em -.2em; }
.wi { display: inline-block; }

/* ---------- Abertura ----------
   0 ms     etiqueta aparece
   60–480   palavras do título sobem (linha a linha, palavras sobrepostas)
   650–800  subtítulo e botão
   900      linha de dados se desenha, itens aparecem
   1150     traço à mão sob "bem pago"
   1200+    capas sobem uma a uma; o brilho acende por trás de tudo (lento, sem loop) */
.hero [data-hero] { animation: fade 700ms var(--ease-out) both; }
.hero [data-hero="3"] { animation-delay: 0ms; }
.hero [data-hero="4"] { animation-name: rise; animation-delay: 650ms; }
.hero [data-hero="5"] { animation-name: rise; animation-delay: 760ms; }
.hero [data-hero="6"] { animation-delay: 950ms; }
.hero [data-hero="7"] { animation: none; }
.hero-title [data-hero] { animation: none; }

/* sem JS: o título sobe linha a linha (comportamento anterior) */
html:not(.js) .hero-title [data-hero] { animation: word-up 900ms var(--ease-out) both; }

/* com JS: espera a divisão em palavras; se o JS falhar, aparece sozinho em 2 s */
.js .hero-title:not(.is-split) { opacity: 0; animation: show 1ms 2s forwards; }
.hero-title.is-split .line { overflow: visible; padding: 0; margin: 0; }
.hero-title.is-split .wi { animation: word-up 950ms var(--ease-out) both; animation-delay: var(--d, 0ms); }

/* traço à mão: uma vez, depois que as palavras pousam */
.mark { position: relative; display: inline-block; }
.swoosh { position: absolute; left: -2%; right: -2%; bottom: -.16em; width: 104%; height: .3em; overflow: visible; pointer-events: none; }
.swoosh path { fill: none; stroke: var(--mint); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .swoosh { opacity: 0; }
.js .hero-title.is-split .swoosh { animation: show 1ms 1150ms forwards; }
.js .hero-title.is-split .swoosh path { animation: draw 900ms var(--ease-in-out) 1150ms forwards; }
html:not(.js) .swoosh path { stroke-dashoffset: 0; }

.js .hero-glow { animation: glow-in 2200ms var(--ease-out) 200ms both; transform-origin: 50% 70%; }
.js .hero-meta { border-top-color: transparent; position: relative; }
.js .hero-meta::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line-d); transform-origin: left; animation: rule-in 1100ms var(--ease-in-out) 850ms both; }

/* capas: sobem uma a uma depois do texto (as cópias do loop não animam) */
.js .marquee-track img { animation: cover-in 1000ms var(--ease-out) both; }
.js .marquee-track img:nth-child(1) { animation-delay: 1200ms; }
.js .marquee-track img:nth-child(2) { animation-delay: 1270ms; }
.js .marquee-track img:nth-child(3) { animation-delay: 1330ms; }
.js .marquee-track img:nth-child(4) { animation-delay: 1380ms; }
.js .marquee-track img:nth-child(5) { animation-delay: 1420ms; }
.js .marquee-track img:nth-child(n+6) { animation-delay: 1450ms; }

/* ---------- Folha que vira ----------
   O hero fica fixo enquanto "O projeto" sobe por cima, com cantos arredondados;
   durante a subida o hero recua e escurece (o JS escreve transform/opacity direto). */
.sheet { position: relative; }
.js .sheet .hero { position: sticky; z-index: 0; transform-origin: 50% 80%; }
.hero-dim { position: absolute; inset: 0; z-index: 5; background: #000; opacity: 0; pointer-events: none; }
.sheet .hero + .sec { position: relative; z-index: 1; border-radius: 28px 28px 0 0; margin-top: -28px; box-shadow: 0 -30px 60px -28px rgba(0, 0, 0, .55); }

/* ---------- Títulos das seções: palavra a palavra ---------- */
.js [data-reveal].is-split { opacity: 1; transform: none; transition: none; }
.js [data-reveal].is-split .wi { transform: translateY(150%); transition: transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-split.is-in .wi { transform: none; }

/* ---------- Texto e blocos: aparece com 12px, sempre depois do título ---------- */
.js [data-reveal]:not(.is-split),
.js [data-stagger] > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--d, 0ms) + 120ms);
}
.js [data-reveal].is-in:not(.is-split),
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

/* cards de depoimento sobem um pouco mais (são objetos, não texto) */
.js .quotes[data-stagger] > * { transform: translateY(28px); }
.js .quotes[data-stagger].is-in > * { transform: none; }

/* ---------- Listas: linhas em cascata (o contêiner não faz fade) ---------- */
.js .rows[data-reveal] { opacity: 1; transform: none; }
.js .rows > li { opacity: 0; transform: translateY(10px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rows.is-in > li { opacity: 1; transform: none; }

/* ---------- Preço riscado na hora ---------- */
.strike { position: relative; text-decoration: none !important; white-space: nowrap; }
.strike::after { content: ""; position: absolute; left: -3px; right: -3px; top: 54%; height: 2px; border-radius: 1px; background: rgba(255, 90, 90, .9); transform: rotate(-4deg) scaleX(1); transform-origin: left center; }
.js .strike::after { transform: rotate(-4deg) scaleX(0); transition: transform 550ms var(--ease-in-out); transition-delay: var(--sd, 350ms); }
.js .is-in .strike::after, .js .is-in.strike::after { transform: rotate(-4deg) scaleX(1); }

/* ---------- Números que rolam (contador mecânico, cada dígito na sua máscara) ---------- */
.js .roll .wi { transform: translateY(150%); transition: transform 1000ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .is-in .roll .wi, .js .roll.is-in .wi { transform: none; }

/* ---------- Itens da oferta: o check entra antes do texto ---------- */
.js .includes > li::before { transform: scale(.4); opacity: 0; transition: transform 500ms var(--ease-out), opacity 300ms ease; transition-delay: var(--d, 0ms); }
.js .includes.is-in > li::before { transform: none; opacity: 1; }

/* ---------- Fotos: abrem de baixo + leve zoom-out, mesma curva ---------- */
.js [data-clip] { clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1000ms var(--ease-in-out); }
.js [data-clip] img { transform: scale(1.12); transition: transform 1000ms var(--ease-in-out); }
.js [data-clip].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-clip].is-in img { transform: none; }

/* mockup da plataforma: sobe depois do painel */
/* ---------- Fio da história: desenha com a rolagem e acende cada ponto ---------- */
.thread { position: absolute; left: 0; width: 2px; margin-left: -1px; background: var(--mint-ink); transform-origin: top; transform: scaleY(0); pointer-events: none; z-index: 1; }
.thread.on-ink { background: var(--mint); }
.timeline li::before { transition: background-color 250ms ease, box-shadow 250ms ease; }
.timeline li.is-passed::before { background: var(--mint-ink); }
.has-field .timeline-out li.is-passed::before { background: var(--mint); }

/* ---------- Hover com um gesto só (só mouse) ---------- */
@media (hover: hover) and (pointer: fine) {
  .marquee-track img { transition: transform 250ms var(--ease-out); }
  .marquee-track img:hover { transform: translateY(-8px) rotate(-1deg); }
  .index .t { transition: transform 250ms var(--ease-out); }
  .index .n { transition: color 200ms ease; }
  .index li:hover .t { transform: translateX(6px); }
  .index li:hover .n { color: var(--mint); }
}

/* =========================================================
   INTERAÇÃO (referências: Codrops "magnetic buttons", Webflow "image reveal on hover",
   motion.dev "scroll word reveal"; regras de emilkowalski/skills gestures + animate)
   - o que segue o cursor é decorativo: vai com mola (JS), nunca grudado na posição;
   - só com mouse (hover: hover, pointer: fine); no toque e com movimento reduzido, nada disso.
   ========================================================= */



/* Cartão de preço: inclinação 3D e reflexo que acompanham o cursor */
.price-card { transform-style: preserve-3d; overflow: hidden; }
.pc-sheen {
  position: absolute; left: 0; top: 0; z-index: 0;
  width: 420px; height: 420px; margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(12, 249, 186, .16), transparent);
  pointer-events: none; opacity: 0;
  transition: opacity 300ms ease;
}
.price-card.is-hover .pc-sheen { opacity: 1; }
.price-card > :not(.pc-sheen) { position: relative; z-index: 1; }

/* Texto que acende com a rolagem (o JS escreve a opacidade de cada palavra) */
.sw { transition: none; }

/* Fotos da história: folga para o parallax leve (o JS escreve translate) */
.js .story .photo img { scale: 1.06; }

/* Rodapé revelado por baixo: a página "sai de cima" dele no fim (fecha a folha da abertura) */
.hero { background-color: var(--ink); }
main { position: relative; z-index: 1; }
.js .footer.is-under { position: sticky; bottom: 0; z-index: 0; }
.js .footer.is-under ~ .dock { z-index: 60; }
main > section:last-of-type { border-radius: 0 0 28px 28px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55); }

/* =========================================================
   CENA DOS CURSOS (guia: "cena fixa na rolagem")
   A seção fica presa e a rolagem vertical anda com os cartões na horizontal.
   O cartão que chega ao centro ganha escala, luz e o preço riscado.
   Sem JS, no celular e com movimento reduzido: faixa que se arrasta com o dedo.
   ========================================================= */
.courses-scene { background-color: var(--ink); background-image: var(--noise); background-size: 256px; border-top: 1px solid var(--line-d); padding-bottom: clamp(88px, 12vw, 168px); }
.scene { position: relative; }
.scene-pin { display: flex; flex-direction: column; gap: clamp(28px, 4vh, 48px); padding: clamp(88px, 12vw, 168px) 0 0; }
.scene.is-pinned .scene-pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh; min-height: 640px;
  justify-content: center;
  padding: calc(var(--nav-h) + 12px) 0 28px;
  overflow: hidden;
}
.scene-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.scene-head .label { margin-bottom: 16px; }
.scene-count { font-size: clamp(56px, 7vw, 112px); font-weight: 500; line-height: .85; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; color: var(--text-d); white-space: nowrap; }
.scene-total { font-size: .28em; letter-spacing: 0; color: var(--muted-d); margin-left: .35em; }

.scene-track { display: flex; gap: clamp(24px, 3vw, 48px); list-style: none; padding-inline: max(var(--gutter), (100vw - 1240px) / 2); }
.scene.is-pinned .scene-track { width: max-content; will-change: transform; }
.scene:not(.is-pinned) .scene-track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-bottom: 8px; }
.scene:not(.is-pinned) .scene-track::-webkit-scrollbar { display: none; }
.course { flex: 0 0 auto; width: clamp(200px, 19vw, 260px); scroll-snap-align: start; transform-origin: 50% 70%; } /* capa de 369px: até ~260px */
.course-cover { border-radius: 14px; overflow: hidden; background: var(--ink-3); box-shadow: 0 0 0 1px var(--line-d), 0 30px 60px -28px rgba(0, 0, 0, .8); }
.course-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.course-info { padding-top: 18px; }
.course-n { font-size: 13px; font-weight: 600; color: var(--mint); font-variant-numeric: tabular-nums; }
.course h3 { font-size: clamp(17px, 1.3vw, 20px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; margin: 6px 0 12px; text-wrap: balance; min-height: 3.9em; }
.course-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line-d); font-size: 14px; color: var(--muted-d); }
.course-price { color: var(--muted-d); font-variant-numeric: tabular-nums; }

.scene-foot { display: flex; align-items: center; gap: 24px; }
.scene-bar { position: relative; flex: 1; height: 1px; background: var(--line-d); overflow: hidden; }
.scene-bar > span { position: absolute; inset: 0; background: var(--mint); transform-origin: left; transform: scaleX(0); }
.scene-hint { font-size: 13px; color: var(--muted-d); white-space: nowrap; }
.scene-value { padding-top: clamp(64px, 8vw, 120px); }
.scene-value .value { margin-top: 0; }

/* =========================================================
   PLATAFORMA DESENHADA EM CÓDIGO (sem o print antigo)
   Janela de navegador + celular, montados com as capas reais.
   ========================================================= */
.platform { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.platform-mock { position: relative; padding: 0 26px 36px 0; }
.pm-window { border-radius: 14px; overflow: hidden; background: #0b100f; color: var(--text-d); box-shadow: 0 0 0 1px rgba(11, 15, 14, .08), 0 40px 80px -36px rgba(11, 15, 14, .6); }
.pm-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #141b19; border-bottom: 1px solid var(--line-d); font-size: 11px; color: var(--muted-d); }
.pm-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b3532; }
.pm-bar span { position: absolute; left: 50%; transform: translateX(-50%); }
.pm-app { display: grid; grid-template-columns: 148px minmax(0, 1fr); height: clamp(300px, 29vw, 410px); }
.pm-side { border-right: 1px solid var(--line-d); padding: 18px 12px; }
.pm-side img { width: 74px; margin: 0 0 22px 6px; }
.pm-side ul { display: grid; gap: 2px; }
.pm-side li { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 6px; font-size: 12px; color: var(--muted-d); }
.pm-side li i { width: 11px; height: 11px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px currentColor; }
.pm-side li.on { background: rgba(12, 249, 186, .08); color: var(--text-d); }
.pm-side li.on i { box-shadow: inset 0 0 0 1.5px var(--mint); }
.pm-main { position: relative; overflow: hidden; }
.pm-main::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(transparent, #0b100f); pointer-events: none; }
.pm-scroll { padding: 18px; }
.pm-hero { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: end; padding: 14px; border-radius: 10px; background: linear-gradient(120deg, rgba(12, 249, 186, .14), rgba(12, 249, 186, .02) 70%); box-shadow: inset 0 0 0 1px var(--line-d); }
.pm-hero img { width: 92px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.pm-tag { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mint); }
.pm-hero b { display: block; margin: 6px 0 4px; font-size: clamp(13px, 1.05vw, 15px); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.pm-hero small { display: block; margin-bottom: 10px; font-size: 11px; color: var(--muted-d); }
.pm-play { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: 11px; font-weight: 600; }
.pm-progress { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.pm-progress > span { display: block; height: 100%; background: var(--mint); transform-origin: left; }
.pm-row-title { margin: 18px 0 8px; font-size: 11px; font-weight: 500; color: var(--muted-d); }
.pm-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pm-tile img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.pm-tile .pm-progress { margin-top: 6px; }
.pm-phone { position: absolute; right: 0; bottom: 0; width: clamp(120px, 11vw, 150px); padding: 7px; border-radius: 24px; background: #0b100f; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 60px -22px rgba(11, 15, 14, .7); }
.pm-phone-screen { padding: 12px 9px 14px; border-radius: 18px; background: var(--ink); }
.pm-phone-logo { width: 52px; margin-bottom: 10px; }
.pm-phone-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.pm-phone-hero .pm-progress { margin: 6px 0 10px; }
.pm-phone-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.platform-mock figcaption { margin-top: 28px; padding-right: 26px; color: var(--muted-l); font-size: 17px; line-height: 1.5; }
.platform-mock figcaption strong { display: block; margin-bottom: 6px; color: var(--text-l); font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.pm-note { display: block; margin-top: 8px; font-size: 13px; }

/* entrada do mock: janela, depois o conteúdo em cascata, depois o celular; as barras de progresso enchem por último */
.js .platform-mock .pm-hero, .js .platform-mock .pm-row-title, .js .platform-mock .pm-tile { opacity: 0; transform: translateY(10px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .platform-mock.is-in .pm-hero, .js .platform-mock.is-in .pm-row-title, .js .platform-mock.is-in .pm-tile { opacity: 1; transform: none; }
.js .platform-mock.is-in .pm-hero { transition-delay: 250ms; }
.js .platform-mock.is-in .pm-row-title { transition-delay: 380ms; }
.js .platform-mock.is-in .pm-row .pm-tile:nth-child(1) { transition-delay: 420ms; }
.js .platform-mock.is-in .pm-row .pm-tile:nth-child(2) { transition-delay: 480ms; }
.js .platform-mock.is-in .pm-row .pm-tile:nth-child(3) { transition-delay: 530ms; }
.js .platform-mock.is-in .pm-row .pm-tile:nth-child(4) { transition-delay: 570ms; }
.js .platform-mock .pm-phone { opacity: 0; transform: translateY(40px); transition: opacity 700ms var(--ease-out) 450ms, transform 900ms var(--ease-out) 450ms; }
.js .platform-mock.is-in .pm-phone { opacity: 1; transform: none; }
.js .pm-progress > span { transform: scaleX(0); transition: transform 1100ms var(--ease-in-out) 750ms; }

/* =================== Responsivo =================== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .split, .head-row { grid-template-columns: 1fr; }
  .head-row, .text-cols { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .index li { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .index .m { grid-column: 2; grid-row: 2; margin-top: -8px; }
  .index .p { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .value { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-media { position: static; max-width: 420px; }
  .for li { grid-template-columns: 40px minmax(0, 1fr); }
  .offer-grid { grid-template-columns: 1fr; }
  .platform { grid-template-columns: 1fr; }
  .platform-mock { padding-right: 0; }
  .pm-app { grid-template-columns: minmax(0, 1fr); }
  .pm-side { display: none; }
  .pm-phone { display: none; }
  .scene-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .quotes-pair { grid-template-columns: 1fr; }
  .quote-feature { min-height: 0; }
  .card-wrap { max-width: 460px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .cols { grid-template-columns: 1fr; gap: 16px; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .hero-meta { flex-direction: column; gap: 10px; }
  .figures { grid-template-columns: 1fr; }
  .figures > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-l); margin-top: 28px; }
  .guarantee img { width: 180px; }
  .price-card { padding: 28px 22px 22px; }

  /* Barra fixa: aparece depois do hero, some na seção da oferta.
     Gaveta = curva de drawer, 400ms; saída mais rápida (250ms). */
  .dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    left: 12px; right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 60;
    padding: 8px 8px 8px 18px;
    border-radius: 999px;
    background: rgba(13, 20, 18, .86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 0 0 1px var(--line-d), 0 18px 40px -12px rgba(0, 0, 0, .6);
    font-size: 14px;
    color: var(--muted-d);
    transform: translateY(calc(100% + 24px));
    transition: transform 250ms var(--ease-out);
  }
  .dock strong { color: var(--text-d); font-variant-numeric: tabular-nums; }
  /* a barra de baixo (alcance do polegar, com o preço) substitui o botão do menu */
  .nav-cta { display: none; }
  .dock.is-on { transform: none; transition: transform 400ms var(--ease-drawer); }
}

/* =================== Movimento reduzido ===================
   Menos e mais suave, não zero: mantém opacidade, remove deslocamento. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero [data-hero], .hero-title [data-hero], .js .hero-title:not(.is-split) { animation: fade 400ms ease both !important; animation-delay: 0ms !important; opacity: 1; }
  .hero-title.is-split .wi, .js .marquee-track img, .js .hero-glow, .js .hero-meta::before { animation: none !important; }
  .swoosh path, .js .hero-title.is-split .swoosh path { animation: none !important; stroke-dashoffset: 0; }
  .js .swoosh, .js .hero-title.is-split .swoosh { animation: none !important; opacity: 1; }
  .js [data-reveal].is-split .wi, .js .roll .wi { transform: none !important; transition: none !important; }
  .js [data-reveal]:not(.is-split), .js [data-stagger] > *, .js .rows > li, .js .quotes[data-stagger] > * { transform: none !important; transition: opacity 400ms ease; transition-delay: 0ms; }
  .js .strike::after { transform: rotate(-4deg) scaleX(1); transition: none; }
  .js .includes > li::before { transform: none; opacity: 1; transition: none; }
  .js [data-clip] { clip-path: none; opacity: 0; transition: opacity 400ms ease; }
  .js [data-clip].is-in { opacity: 1; }
  .js [data-clip] img { transform: none; opacity: 1; transition: none; }
  .js .sheet .hero { position: relative; top: auto !important; transform: none !important; }
  .hero-dim { display: none; }
  .thread { display: none; }
  .pc-sheen { display: none; }
  .js .platform-mock .pm-hero, .js .platform-mock .pm-row-title, .js .platform-mock .pm-tile, .js .platform-mock .pm-phone { opacity: 1; transform: none; transition: none; }
  .js .pm-progress > span { transition: none; }
  .js .story .photo img { scale: none; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .btn, .btn .arrow, .dock, .dock.is-on, .nav-cta { transition-property: opacity, background-color; }
  .draw-link { transition-property: color; }
  .js .story.has-field .story-field { transition: none; }
}
