/* ==========================================================================
   Posto a Posto · landing "fable"
   Ideia-assinatura: a régua do tanque em serra (a mesma do app) vira a cortina de luz
   do hero. Cada barra é o nível do tanque naquele km da viagem real da PoC.
   ========================================================================== */

@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --c-teal: #27968f;
  --c-green: #72ff85;
  --c-cyan: #49ebf6;
  --c-ink: #011613;
  --c-white: #ffffff;
  --c-warn: #f5c451;
  --c-danger: #ff7b6b;

  --text: var(--c-white);
  --text-soft: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --line-dash: rgba(255, 255, 255, 0.22);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --teal-wash: rgba(39, 150, 143, 0.22);
  --cyan-wash: rgba(73, 235, 246, 0.14);
  --green-wash: rgba(114, 255, 133, 0.14);

  --grad-text: linear-gradient(96deg, var(--c-cyan) 0%, var(--c-white) 48%, var(--c-green) 100%);
  --grad-soft: linear-gradient(96deg, var(--c-cyan), var(--c-green));
  --grad-bar: linear-gradient(90deg, var(--c-cyan), var(--c-green));

  --font: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --r-frame: 26px;
  --r-card: 24px;
  --r-full: 999px;
  --wrap: 1160px;
  --gutter: 16px;
  --section: clamp(72px, 9vw, 132px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 720px) { :root { --gutter: 32px; --r-frame: 34px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--c-ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1.5px);
  background-size: 26px 26px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link {
  position: absolute; z-index: 50; top: 12px; left: 12px; transform: translateY(-160%);
  background: var(--c-white); color: var(--c-ink); padding: 10px 16px; border-radius: 12px;
  font-weight: 500; text-decoration: none; transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); }

.frame {
  position: relative; z-index: 1; margin: 10px;
  border-radius: var(--r-frame); border: 1px solid var(--line);
  background-color: var(--c-ink);
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.5px);
  background-size: 26px 26px;
  overflow: clip;
}
@media (min-width: 720px) { .frame { margin: 18px; } }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--section); }

/* ---------- tipografia ---------- */
.display {
  position: relative; z-index: 0; isolation: isolate;
  font-weight: 600; font-size: clamp(34px, 8.4vw, 104px);
  line-height: 1; letter-spacing: -0.035em; text-wrap: balance;
}
.display--sm { font-size: clamp(30px, 4.8vw, 58px); text-align: left; }
.hl { position: relative; display: inline-block; }
/* Contorno escuro deslocado (da referência): camada irmã, fora do recorte do degradê. */
.hl::before {
  content: attr(data-text) / "";
  position: absolute; inset: 0; z-index: -1;
  color: var(--c-ink);
  -webkit-text-stroke: 0.09em var(--c-ink);
  transform: translate(0.03em, 0.045em);
  pointer-events: none;
}
.grad {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 0.012em rgba(1, 22, 19, 0.9); paint-order: stroke fill;
}
.h2 { font-weight: 600; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
.h3 { font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-weight: 500; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-soft); max-width: 58ch; }
.lede--sm { font-size: 16px; color: var(--text-muted); }
.prose { display: grid; gap: 14px; color: var(--text-soft); font-size: 17px; max-width: 56ch; }
.source { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 6px 0 22px;
  border-radius: var(--r-full); border: 0; font: inherit; font-size: 15px; font-weight: 500;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s;
}
.btn--primary { background: var(--c-white); color: var(--c-ink); }
.btn__circle {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-ink); color: var(--c-green);
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.btn--primary:hover .btn__circle { background: var(--c-green); color: var(--c-ink); transform: rotate(45deg); }
.btn--primary:hover { transform: translateY(-1px); }
.btn--ghost {
  padding: 0 22px; border: 1px solid var(--line-strong); color: var(--text);
  background: rgba(1, 22, 19, 0.35); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.35); }
.btn--sm { height: 42px; font-size: 14px; padding-left: 18px; }
.btn--sm .btn__circle { width: 32px; height: 32px; }
.btn--sm.btn--ghost { padding: 0 18px; gap: 8px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.scroll-btn {
  display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.4); color: var(--text);
  transition: border-color 0.25s, background-color 0.25s;
}
.scroll-btn:hover { border-color: var(--c-cyan); background: var(--cyan-wash); }

/* ---------- topo ---------- */
.topbar { position: sticky; top: 0; z-index: 20; padding: 12px var(--gutter) 0; }
.navpill {
  position: relative; max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 6px 6px 6px 18px; border-radius: var(--r-full); border: 1px solid var(--line);
  background: rgba(1, 22, 19, 0.62); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}
.navpill::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 240px;
  background: linear-gradient(90deg, rgba(39, 150, 143, 0.4), transparent); pointer-events: none;
}
.brand { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 36px; text-decoration: none; }
.brand__mark { width: 30px; height: 19px; }
.brand__name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.navpill__links { display: none; gap: 26px; font-size: 14px; }
.navpill__links a { color: var(--text-soft); text-decoration: none; transition: color 0.2s; }
.navpill__links a:hover { color: var(--c-white); }
@media (min-width: 900px) { .navpill__links { display: flex; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  padding: 120px var(--gutter) 28px; text-align: center; isolation: isolate;
}
@media (min-width: 720px) { .hero { padding-top: 150px; } }
.hero__curtain, .final__curtain {
  position: absolute; inset: 0; z-index: -2; display: flex; align-items: flex-end; pointer-events: none;
}
.hero__curtain i, .final__curtain i {
  flex: 1 0 0; min-width: 0; margin-right: 2px;
  height: calc(16% + var(--h, 1) * 66%);
  border-radius: 2px 2px 0 0;
  border-top: 1.5px solid rgba(114, 255, 133, 0.6);
  box-shadow: 0 -4px 12px -4px rgba(114, 255, 133, 0.4);
  background: linear-gradient(to top, rgba(114, 255, 133, 0.7) 0%, rgba(73, 235, 246, 0.5) 30%, rgba(39, 150, 143, 0.32) 62%, rgba(39, 150, 143, 0.12) 100%);
  opacity: 0.92;
}
.hero__curtain i:last-child, .final__curtain i:last-child { margin-right: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero__curtain i {
    transform-origin: bottom;
    animation: rise-bar 1.4s var(--ease) both, breathe 7s ease-in-out 1.4s infinite;
    animation-delay: calc(var(--i, 0) * 12ms), calc(1.4s + var(--i, 0) * -0.11s);
  }
}
@keyframes rise-bar { from { transform: scaleY(0.05); } to { transform: none; } }
@keyframes breathe { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 30% at 50% 42%, rgba(1, 22, 19, 0.84), rgba(1, 22, 19, 0.35) 65%, transparent 100%),
    radial-gradient(34% 16% at 50% 100%, rgba(255, 255, 255, 0.5), transparent 75%),
    radial-gradient(60% 34% at 50% 100%, rgba(114, 255, 133, 0.45), transparent 70%),
    radial-gradient(90% 55% at 50% 100%, rgba(73, 235, 246, 0.28), transparent 70%),
    radial-gradient(70% 40% at 50% 0%, rgba(39, 150, 143, 0.35), transparent 70%),
    linear-gradient(to bottom, var(--c-ink) 0%, rgba(1, 22, 19, 0.7) 22%, rgba(1, 22, 19, 0) 55%);
}
.hero__copy { max-width: 1200px; margin-inline: auto; display: grid; justify-items: center; align-content: center; }
.hero__copy .lede { margin-top: 28px; text-align: center; max-width: 60ch; }
.hero__copy .cta-row { justify-content: center; margin-top: 34px; }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 0.9s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: 0.1s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.2s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero .scroll-btn { justify-self: center; margin-top: 22px; }

/* ---------- cards ---------- */
.card {
  position: relative; border-radius: var(--r-card); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: 24px;
}
@media (min-width: 720px) { .card { padding: 32px; } }

.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head--row { max-width: none; display: grid; gap: 18px; }
@media (min-width: 900px) { .section-head--row { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 56px; } }

/* ---------- números ---------- */
.numeros { padding-block: clamp(56px, 7vw, 96px); }
.stats { display: grid; gap: 0; border-top: 1px dashed var(--line-dash); border-bottom: 1px dashed var(--line-dash); }
.stat { display: grid; gap: 10px; padding: 28px 0; }
.stat + .stat { border-top: 1px dashed var(--line-dash); }
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 36px 28px; }
  .stat:first-child { padding-left: 0; }
  .stat + .stat { border-top: 0; border-left: 1px dashed var(--line-dash); }
}
.stat__num {
  font-size: clamp(64px, 9vw, 120px); font-weight: 400; line-height: 0.95; letter-spacing: -0.045em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.stat__num small { font-size: 0.42em; letter-spacing: 0; }
.stat__label { color: var(--text-soft); font-size: 16px; max-width: 26ch; }
.numeros .source { margin-top: 16px; }

/* ---------- replay da viagem ---------- */
.viagem { padding-top: clamp(40px, 5vw, 72px); }
.replay { display: grid; gap: 24px; padding: 0; overflow: hidden; }
@media (min-width: 900px) { .replay { grid-template-columns: 1.25fr 1fr; gap: 0; } }
.replay__map {
  position: relative; min-height: 360px;
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(39, 150, 143, 0.28), transparent 70%),
    radial-gradient(40% 40% at 60% 20%, rgba(73, 235, 246, 0.08), transparent 70%);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .replay__map { border-bottom: 0; border-right: 1px solid var(--line); } }
.map { display: block; width: 100%; height: 100%; max-height: 620px; }
.map__base { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.map__route {
  fill: none; stroke: url(#routeGrad); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(114, 255, 133, 0.6));
}
.map__end { fill: var(--c-white); }
.map__label { fill: var(--text-soft); font-size: 15px; font-family: var(--font); font-weight: 500; }
.map__label--stop { fill: var(--text-muted); transition: fill 0.4s; }
@media (max-width: 719px) { .map__label { font-size: 24px; } .map__end { r: 8; } }
.map__label--stop.is-lit { fill: var(--c-white); }
.map__stop { fill: var(--c-ink); stroke: rgba(255, 255, 255, 0.4); stroke-width: 2; transition: fill 0.4s, stroke 0.4s; }
.map__stop.is-lit { fill: var(--c-green); stroke: var(--c-green); filter: drop-shadow(0 0 10px var(--c-green)); }
.map__rider { fill: var(--c-white); filter: drop-shadow(0 0 8px var(--c-cyan)); }
.map__note { position: absolute; left: 20px; bottom: 16px; font-size: 11.5px; color: var(--text-muted); }

.replay__panel { display: grid; gap: 22px; align-content: start; padding: 24px; }
@media (min-width: 720px) { .replay__panel { padding: 32px; } }
.dash { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash__cell { display: grid; gap: 4px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.dash__label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.dash__val { font-size: clamp(32px, 4vw, 44px); font-weight: 400; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dash__val small { font-size: 0.45em; color: var(--text-muted); letter-spacing: 0; }
.tank { display: grid; gap: 8px; }
.tank__head { display: flex; justify-content: space-between; align-items: baseline; }
.tank__head b { font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.tank__bar { position: relative; height: 14px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.tank__bar i { position: absolute; inset: 0 auto 0 0; background: var(--grad-bar); border-radius: inherit; }
.tank__bar i.is-low { background: linear-gradient(90deg, var(--c-warn), var(--c-cyan)); }
.tank__reserve { position: absolute; top: -2px; bottom: -2px; left: 20%; border-left: 2px dashed rgba(1, 22, 19, 0.85); }
.tank__note { font-size: 12px; color: var(--text-muted); }
.legs { display: grid; gap: 0; }
.leg { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 10px 0; }
.leg:not(:last-child)::after {
  content: ""; position: absolute; left: 10px; top: 30px; bottom: -10px; border-left: 1px dashed var(--line-dash);
}
.leg__dot { width: 12px; height: 12px; margin: 5px 0 0 5px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.4); background: var(--c-ink); transition: all 0.4s; }
.leg.is-done .leg__dot { background: var(--c-green); border-color: var(--c-green); box-shadow: 0 0 12px var(--c-green); }
.leg div { display: grid; gap: 2px; }
.leg b { font-weight: 500; font-size: 15px; color: var(--text-muted); transition: color 0.4s; }
.leg.is-done b { color: var(--text); }
.leg span { font-size: 13.5px; color: var(--text-muted); }
.replay__btn { justify-self: start; }

.trip-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 20px; border-top: 1px dashed var(--line-dash); }
.trip-stats > div { padding: 18px 0; display: grid; gap: 4px; border-bottom: 1px dashed var(--line-dash); }
.trip-stats dt { font-size: 12.5px; color: var(--text-muted); }
.trip-stats dd { font-size: clamp(26px, 3vw, 36px); font-weight: 400; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .trip-stats { grid-template-columns: repeat(5, 1fr); border-bottom: 1px dashed var(--line-dash); }
  .trip-stats > div { border-bottom: 0; padding: 22px 20px; }
  .trip-stats > div + div { border-left: 1px dashed var(--line-dash); }
  .trip-stats > div:first-child { padding-left: 0; }
}

/* ---------- para quem ---------- */
.wrap--split { display: grid; gap: 36px; }
@media (min-width: 900px) { .wrap--split { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; } }
.paraquem .h2 { margin-bottom: 26px; }

/* ---------- imagens ---------- */
.imgslot { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.imgslot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.imgslot__ph {
  position: absolute; inset: 12px; z-index: 0; display: grid; place-content: center; justify-items: center; gap: 6px;
  border: 1px dashed rgba(255, 255, 255, 0.28); border-radius: calc(var(--r-card) - 10px);
  text-align: center; padding: 16px; color: var(--text-muted);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 10px, transparent 10px 20px);
}
.imgslot__ph b { font-size: 13px; color: var(--text-soft); font-weight: 500; }
.imgslot__ph span { font-size: 12px; max-width: 30ch; line-height: 1.35; }
.imgslot--land { aspect-ratio: 4 / 3; }
.imgslot--portrait { aspect-ratio: 3 / 4; }

/* ---------- como funciona ---------- */
.como { padding-top: 0; }
.steps { display: grid; border-top: 1px dashed var(--line-dash); }
.step { padding: 28px 0; border-bottom: 1px dashed var(--line-dash); display: grid; gap: 12px; }
.step p { color: var(--text-muted); max-width: 36ch; }
.step__num {
  font-size: 64px; font-weight: 400; line-height: 1; letter-spacing: -0.04em;
  background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.25; transition: opacity 0.8s var(--ease);
}
.step.is-in .step__num { opacity: 1; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); border-bottom: 1px dashed var(--line-dash); }
  .step { border-bottom: 0; padding: 36px 28px; }
  .step + .step { border-left: 1px dashed var(--line-dash); }
  .step:first-child { padding-left: 0; }
  .step:last-child { padding-right: 0; }
}

/* ---------- níveis: matriz ---------- */
.niveis { padding-top: 0; }
.matrix { padding: 8px 0; overflow-x: auto; }
.matrix__table { width: 100%; border-collapse: collapse; min-width: 0; }
.matrix__table th, .matrix__table td { padding: 16px 12px; text-align: center; vertical-align: middle; border-bottom: 1px dashed var(--line-dash); }
.matrix__table tr:last-child th, .matrix__table tr:last-child td { border-bottom: 0; }
.matrix__table thead th { font-size: 14px; font-weight: 500; color: var(--text-soft); padding-top: 20px; }
.matrix__table thead th.is-strict { color: var(--c-green); }
.matrix__table tbody th { text-align: left; font-weight: 400; font-size: 15px; color: var(--text-soft); max-width: 34ch; }
.matrix__table td.is-strict, .matrix__table th.is-strict { background: linear-gradient(180deg, rgba(114, 255, 133, 0.07), rgba(114, 255, 133, 0.03)); }
.matrix__use td { font-size: 13.5px; color: var(--text-muted); line-height: 1.4; }
.matrix__use th { font-size: 13.5px !important; color: var(--text-muted) !important; }
.yes { color: var(--c-green); padding: 4px; border-radius: 50%; background: var(--green-wash); transform: scale(0); transition: transform 0.5s var(--ease); }
.no { color: rgba(255, 255, 255, 0.35); transform: scale(0); transition: transform 0.5s var(--ease); }
.matrix.is-in .yes, .matrix.is-in .no { transform: none; }
.matrix tbody tr:nth-child(2) svg { transition-delay: 0.15s; }
.matrix tbody tr:nth-child(3) svg { transition-delay: 0.3s; }
.gauge-mini { display: block; width: 64px; margin: 0 auto 8px; }
.gauge-mini svg { display: block; width: 100%; height: auto; }
.gauge__track { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 8; stroke-linecap: round; }
.gauge__fill { fill: none; stroke: var(--c-green); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.2s var(--ease); }
.matrix.is-in .gauge__fill { stroke-dasharray: var(--fill) 100; }
@media (max-width: 719px) {
  .matrix__table, .matrix__table tbody, .matrix__table tr { display: block; }
  .matrix__table thead { display: block; }
  .matrix__table thead tr { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 8px; }
  .matrix__table thead th:first-child { display: none; }
  .matrix__table thead th { font-size: 13px; padding: 16px 4px 12px; }
  .matrix__table tbody tr { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 8px; border-bottom: 1px dashed var(--line-dash); }
  .matrix__table tbody tr:last-child { border-bottom: 0; }
  .matrix__table tbody th { grid-column: 1 / -1; max-width: none; padding: 14px 8px 4px; border: 0; font-size: 14px; }
  .matrix__table tbody td { border: 0; padding: 8px 4px 14px; }
  .gauge-mini { width: 48px; }
}

.strict-fail { margin-top: 14px; display: grid; gap: 32px; }
@media (min-width: 900px) { .strict-fail { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.strict-fail__text { display: grid; gap: 14px; }
.strict-fail__text p { color: var(--text-soft); }
.dots-chart { display: grid; gap: 22px; }
.dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 2vw, 18px); max-width: 360px; }
.d { display: block; aspect-ratio: 1; border-radius: 50%; }
.dots .d { transform: scale(0); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s; transition-delay: calc(var(--i) * 60ms); }
.dots-chart.is-in .dots .d, [data-reveal].is-in .dots .d { transform: none; opacity: 1; }
.d--open { background: var(--c-green); box-shadow: 0 0 18px rgba(114, 255, 133, 0.6); }
.d--closed { background: rgba(255, 123, 107, 0.85); }
.d--unknown { border: 1.5px dashed rgba(255, 255, 255, 0.45); }
.dots-legend { display: grid; gap: 8px; }
.dots-legend li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-soft); }
.dots-legend .d { width: 12px; height: 12px; flex: none; }
.dots-legend b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- o plano ---------- */
.plano { padding-top: 0; }
.card--plan { padding: clamp(22px, 4vw, 44px); display: grid; gap: clamp(28px, 4vw, 44px); overflow: hidden; }
.plan__head { display: grid; gap: 18px; }
@media (min-width: 900px) { .plan__head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 56px; } }
.saw { position: relative; padding-bottom: 54px; }
.saw__svg { display: block; width: 100%; height: clamp(170px, 24vw, 250px); overflow: visible; }
.saw__line { vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(114, 255, 133, 0.55)); transition: stroke-dashoffset 2.2s var(--ease); }
.saw__area { opacity: 0; transition: opacity 1s ease 1.2s; }
.saw__gap { opacity: 0; transition: opacity 0.8s ease 1.8s; }
.saw__reserve { stroke: rgba(255, 255, 255, 0.4); stroke-width: 1; stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; }
.saw__stops circle { fill: var(--c-green); opacity: 0; transition: opacity 0.4s ease 1.6s; filter: drop-shadow(0 0 8px var(--c-green)); }
.saw.is-in .saw__line { stroke-dashoffset: 0; }
.saw.is-in .saw__area, .saw.is-in .saw__gap, .saw.is-in .saw__stops circle, .saw.is-in .saw__gap-tag { opacity: 1; }
.saw__gap-tag {
  position: absolute; right: 0; top: -8px; font-size: 11.5px; color: var(--text-soft);
  opacity: 0; transition: opacity 0.6s ease 2s; white-space: nowrap;
}
.saw__labels { position: absolute; left: 0; right: 0; bottom: 0; height: 48px; border-top: 1px dashed var(--line-dash); }
.saw__labels span { position: absolute; top: 10px; left: calc(var(--at) * 100%); transform: translateX(-50%); display: grid; font-size: 13px; font-weight: 500; white-space: nowrap; }
.saw__labels span small { font-size: 11px; color: var(--text-muted); font-weight: 400; }
.saw__labels span:first-child { transform: none; }
.saw__labels span:last-child { transform: translateX(-100%); text-align: right; }
.saw__reserve-tag {
  position: absolute; left: 0; top: calc(76% - 42px); font-size: 11px; color: var(--text-muted);
  background: var(--c-ink); padding: 2px 8px; border-radius: var(--r-full); border: 1px dashed rgba(255, 255, 255, 0.3);
}
@media (max-width: 560px) {
  .saw__labels span:nth-child(2) small, .saw__labels span:nth-child(3) small { display: none; }
}

.charts { display: grid; gap: 12px; }
@media (min-width: 900px) { .charts { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.chart { display: grid; gap: 16px; align-content: start; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.chart__title { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.chart__title svg { color: var(--c-cyan); }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; font-size: 14px; }
.bar__label { color: var(--text-muted); }
.bar__track { height: 10px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar__track i { display: block; height: 100%; width: 0; border-radius: inherit; background: rgba(255, 255, 255, 0.35); transition: width 1.2s var(--ease); }
.bar--hi .bar__track i { background: var(--grad-bar); }
.bar b { font-weight: 500; font-variant-numeric: tabular-nums; }
.chart.is-in .bar__track i { width: var(--w); }
.chart.is-in .bar + .bar .bar__track i { transition-delay: 0.2s; }
.chart__big { font-size: 48px; font-weight: 400; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.chart__big small { font-size: 16px; color: var(--text-muted); letter-spacing: 0; }
.chart__sub { color: var(--text-soft); font-size: 14px; margin-top: -8px; }

.plan-items { display: grid; gap: 12px; }
@media (min-width: 720px) { .plan-items { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.plan-items li {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 2px;
  padding: 16px; border-radius: 18px; border: 1px solid var(--line);
}
.plan-items svg { grid-row: 1 / 3; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--cyan-wash); color: var(--c-cyan); }
.plan-items b { font-weight: 500; font-size: 15px; }
.plan-items span { font-size: 13.5px; color: var(--text-muted); }

/* ---------- na estrada ---------- */
.estrada { padding-top: 0; }
.wrap--estrada { display: grid; gap: 40px; }
@media (min-width: 900px) { .wrap--estrada { grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: center; } }
.estrada__copy .h2 { margin-bottom: 24px; }
.estrada__stage { display: grid; gap: 16px; justify-items: center; }
@media (min-width: 600px) { .estrada__stage { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.estrada__stage .imgslot--portrait { width: 100%; max-width: 320px; }
@media (min-width: 600px) { .estrada__stage .imgslot--portrait { aspect-ratio: auto; max-width: none; height: 100%; } }
.phone {
  width: 100%; max-width: 320px; aspect-ratio: 9 / 19; border-radius: 38px; padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, #0e4a44, #052521 45%, #011613);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.phone__screen {
  height: 100%; border-radius: 29px; overflow: hidden; padding: 26px 14px 16px;
  display: grid; align-content: start; gap: 10px;
  background: linear-gradient(180deg, rgba(39, 150, 143, 0.3), rgba(1, 22, 19, 0.1) 45%, rgba(1, 22, 19, 0.3));
  font-size: 11px; line-height: 1.3;
}
.ph-trip { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 10.5px; margin-top: 12px; }
.ph-track { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); position: relative; }
.ph-track i { position: absolute; left: 0; top: 50%; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--c-cyan); background: var(--c-ink); transform: translate(-2px, -50%); }
.ph-kicker { text-align: center; text-transform: uppercase; letter-spacing: 0.12em; font-size: 9.5px; color: var(--text-muted); margin-top: 16px; }
.ph-big { text-align: center; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; margin-bottom: 10px; }
.ph-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-card { display: grid; gap: 5px; align-content: start; padding: 11px 10px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.ph-card--main { border-color: rgba(73, 235, 246, 0.5); background: rgba(39, 150, 143, 0.16); }
.ph-card small { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.ph-card--main small { color: var(--c-cyan); }
.ph-card b { font-size: 12px; font-weight: 500; line-height: 1.2; }
.ph-card span { color: var(--text-muted); font-size: 10.5px; }
.ph-bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.ph-bar i { display: block; height: 100%; width: var(--v); background: var(--grad-bar); border-radius: 2px; }
.ph-bar--lg { flex: 1; height: 5px; }
.ph-btn { margin-top: 4px; text-align: center; padding: 8px; border-radius: var(--r-full); font-size: 12px; font-weight: 500; background: rgba(255, 255, 255, 0.1); }
.ph-btn--w { background: var(--c-white); color: var(--c-ink); }
.ph-btn--lg { padding: 13px; font-size: 14px; margin-top: 8px; }
.ph-tank { display: flex; align-items: center; gap: 8px; color: var(--text-muted); margin-top: 8px; }

/* ---------- condições ---------- */
.condicoes { padding-top: 0; }
.terms { display: grid; border-top: 1px dashed var(--line-dash); }
.term { display: grid; gap: 10px; padding: 26px 0; border-bottom: 1px dashed var(--line-dash); }
.term h3 { font-size: 22px; font-weight: 600; }
.term p { color: var(--text-muted); font-size: 15px; max-width: 44ch; }
.term a { color: var(--c-cyan); text-underline-offset: 3px; }
@media (min-width: 900px) {
  .terms { grid-template-columns: repeat(3, 1fr); border-bottom: 1px dashed var(--line-dash); }
  .term { border-bottom: 0; padding: 32px 28px; }
  .term + .term { border-left: 1px dashed var(--line-dash); }
  .term:first-child { padding-left: 0; }
}

/* ---------- faq ---------- */
.faq { padding-top: 0; }
.faq__list { border-top: 1px dashed var(--line-dash); }
.faq details { border-bottom: 1px dashed var(--line-dash); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq__toggle {
  flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--text); transition: transform 0.3s var(--ease), background-color 0.2s;
}
.faq details[open] .faq__toggle { transform: rotate(45deg); background: var(--c-green); color: var(--c-ink); border-color: var(--c-green); }
.faq details p { color: var(--text-muted); padding: 0 48px 20px 0; max-width: 60ch; }

/* ---------- cta final ---------- */
.final { padding-top: 0; padding-bottom: 72px; }
.final__card { position: relative; border-radius: 28px; border: 1px solid var(--line); padding: clamp(32px, 5vw, 64px); isolation: isolate; overflow: hidden; }
.final__curtain { opacity: 0.85; }
.final__curtain i { height: calc(var(--h, 1) * 100%); }
.final__card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 110%, rgba(114, 255, 133, 0.35), transparent 70%), linear-gradient(to bottom, rgba(1, 22, 19, 0.92), rgba(1, 22, 19, 0.4));
}
.final__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .final__grid { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 56px; } }
.final__side { display: grid; gap: 20px; justify-items: start; }
.final__side p { color: var(--text-soft); font-size: 18px; max-width: 36ch; }

/* ---------- rodapé ---------- */
.footer { padding: 0 0 40px; }
.footer__row { display: grid; gap: 18px; padding-top: 28px; border-top: 1px dashed var(--line-dash); }
@media (min-width: 720px) { .footer__row { grid-template-columns: 1fr auto; align-items: center; } }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__mark { width: 26px; height: 16px; flex: none; }
.footer__brand b { font-size: 17px; font-weight: 500; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.footer__links a { color: var(--text-soft); text-decoration: none; }
.footer__links a:hover { color: var(--c-white); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--line-dash);
  font-size: 12.5px; color: var(--text-muted);
}
@media (min-width: 720px) {
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer__by a { color: var(--c-green); text-decoration: none; }
.footer__by a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.gap { margin: 0; display: grid; gap: 14px; padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.gap__kicker { margin: 0; font-size: 14px; color: var(--text-muted); }
.gap__big { margin: 0; font-size: 20px; color: var(--text-soft); }
.gap__big b { display: block; font-size: clamp(44px, 6vw, 64px); font-weight: 600; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gap__svg { width: 100%; height: auto; overflow: visible; }
.gap__track { stroke: var(--line-strong); stroke-width: 4; stroke-linecap: round; }
.gap__seg { stroke: var(--c-danger); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 178; stroke-dashoffset: 0; }
.gap:not(.is-in) .gap__seg { stroke-dashoffset: 0; }
.gap.is-in .gap__seg { animation: gap-draw 1.2s ease-out both; }
@keyframes gap-draw { from { stroke-dashoffset: 178; } to { stroke-dashoffset: 0; } }
.gap__end { fill: var(--c-cyan); }
.gap__pin { fill: var(--c-ink); stroke: var(--c-danger); stroke-width: 2; }
.gap__lbl { fill: var(--text-soft); font-family: var(--font); font-size: 13px; font-variant-numeric: tabular-nums; }
.gap__lbl--soft { fill: var(--text-muted); }
.gap__cap { font-size: 13px; color: var(--text-muted); line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .gap.is-in .gap__seg { animation: none; } }
.estrada__stage:has(> :only-child) { grid-template-columns: 1fr; }

/* ---------- páginas legais (privacidade, termos) ---------- */
.legal { padding-top: 56px; }
.legal__header { max-width: 68ch; margin-bottom: 40px; }
.legal__header h1 { font-weight: 600; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.025em; }
.legal article { display: grid; gap: 40px; max-width: 68ch; }
.legal article section { padding: 0; display: grid; gap: 14px; }
.legal h2 { font-weight: 600; font-size: clamp(19px, 2vw, 22px); line-height: 1.25; letter-spacing: -0.01em; color: var(--text); }
.legal p { color: var(--text-soft); font-size: 16.5px; line-height: 1.6; }
.legal ul { display: grid; gap: 8px; padding-left: 22px; list-style: disc; color: var(--text-soft); font-size: 16.5px; line-height: 1.6; }
.legal a { color: var(--c-green); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--c-cyan); }
