/* Gol quadrado 1.6 1994 · venda particular (anúncio de exemplo, CROWORDER).
   Página de uma pessoa comum vendendo o próprio carro: asfalto escuro, creme quente, o vermelho do carro e o âmbar
   dos ponteiros do painel. Títulos em FK Screamer (caixa alta, condensada como letreiro de anúncio) e texto em Geist,
   servidos da rota /sales-assets/fonts/.?v=c8d24aeb7e Sem estilos inline: o JS só mexe em transform/opacity e em variáveis via CSSOM. */

@font-face { font-family: "FK Screamer"; src: url("/sales-assets/fonts/hero-screamer.woff2?v=c8d24aeb7e") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Geist; src: url("/sales-assets/fonts/geist-variable-latin-1.woff2?v=c8d24aeb7e") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Geist; src: url("/sales-assets/fonts/geist-variable-latin-ext-1.woff2?v=c8d24aeb7e") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02DD-02FF, U+1E00-1EFF; }

:root {
  --bg: #0c0a09;
  --bg-2: #15110f;
  --bg-3: #1e1916;
  --line: rgba(255, 236, 214, 0.11);
  --line-2: rgba(255, 236, 214, 0.22);
  --text: #f6efe7;
  --muted: #bcb0a3;
  --dim: #8f8478;
  --red: #e5372b;
  --red-hi: #f24b3c;
  --amber: #ffb547;
  --amber-soft: rgba(255, 181, 71, 0.2);
  --display: "FK Screamer", "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --sans: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --chrome: 92px;
  --band-top: 92px;
  --band-bottom: 480px;
  --rail-w: 0px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-weight: 400; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip:focus { left: 16px; top: 16px; }
.sr-only, .tour-on .cap__text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- Barra de aviso + cabeçalho (fixos) ---------- */
.chrome { position: fixed; inset: 0 0 auto; z-index: 50; pointer-events: none; }
.chrome > * { pointer-events: auto; }
.demo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; padding: 7px var(--gutter); background: #1b1512; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.35; color: var(--muted); text-align: center; }
.demo-strip p { margin: 0; }
.demo-strip a { color: var(--amber); font-weight: 600; text-decoration: none; white-space: nowrap; }
.demo-strip a:hover { text-decoration: underline; }
.site-header { display: flex; align-items: center; gap: 28px; padding: 12px var(--gutter); background: linear-gradient(to bottom, rgba(12, 10, 9, 0.78), rgba(12, 10, 9, 0)); transition: background-color 0.4s; }
.chrome.is-solid .site-header { background: rgba(12, 10, 9, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand__mark { width: 40px; height: 24px; }
.brand__mark path { fill: var(--red); }
.brand__mark circle { fill: var(--bg); stroke: var(--text); stroke-width: 2.2; }
.brand__name { font-family: var(--display); font-size: 27px; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
.brand__name b { font-weight: inherit; color: var(--red); }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; font: 600 15.5px/1 var(--sans); letter-spacing: 0.005em; text-decoration: none; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, transform 0.2s; }
.btn:active { transform: translateY(1px); }
.btn__icon { width: 19px; height: 19px; fill: currentColor; flex: none; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 14px 34px -14px rgba(229, 55, 43, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn--red:hover { background: var(--red-hi); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(12, 10, 9, 0.42); color: var(--text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(255, 236, 214, 0.45); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.site-header .btn--sm { margin-left: 4px; }

/* ---------- Passeio: palco fixo que acompanha a rolagem ---------- */
.tour { position: relative; }
.stage { display: none; }
.tour-on .stage { display: block; position: sticky; top: 0; z-index: 0; height: 100vh; height: 100lvh; overflow: hidden; background: var(--bg); contain: strict; }
.stage__ambient { position: absolute; inset: 0; display: none; }
.tour-on.tour-band .stage .stage__ambient { display: block; }
.stage__ambient canvas { width: 100%; height: 100%; transform: scale(1.35); filter: blur(34px) saturate(1.25) brightness(0.5); }
.stage__layers { position: absolute; inset: 0; }
.layer { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.layer.is-visible { visibility: visible; }
.layer__clip { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
.tour-on.tour-band .stage .layer__clip { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%); }
.layer canvas { width: 100%; height: 100%; }
.layer__img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; user-select: none; }
.layer.is-visible .layer__img { will-change: transform; }
.stage__shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to bottom, rgba(12, 10, 9, 0.78) 0, rgba(12, 10, 9, 0.2) 18%, rgba(12, 10, 9, 0) 30%),
  linear-gradient(to top, rgba(12, 10, 9, 0.82) 0, rgba(12, 10, 9, 0) 34%); }
.tour-on.tour-band .stage .stage__shade { background: linear-gradient(to top, rgba(12, 10, 9, 0.9) 0, rgba(12, 10, 9, 0) 30%); }

/* Marcadores: ponto âmbar, linha e rótulo. O JS só posiciona (transform) e liga/desliga (classe). */
.stage__markers { position: absolute; inset: 0; pointer-events: none; }
.mk { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; --len: calc(64px * var(--k, 1)); }
.mk__dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft), 0 0 22px rgba(255, 181, 71, 0.65); transform: scale(0); transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3); }
.mk__dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid rgba(255, 181, 71, 0.75); opacity: 0; }
.mk.is-on .mk__dot { transform: scale(1); }
.mk.is-on .mk__dot::after { animation: mk-pulse 2.4s ease-out 0.4s infinite; }
@keyframes mk-pulse { from { transform: scale(0.45); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }
.mk__line { position: absolute; left: 0; top: 0; width: var(--len); height: 1.5px; margin-top: -0.75px; background: linear-gradient(90deg, var(--amber), rgba(255, 181, 71, 0.4)); transform-origin: 0 50%; transform: rotate(var(--a, -40deg)) scaleX(0); transition: transform 0.45s cubic-bezier(0.3, 0.7, 0.2, 1) 0.08s; }
.mk.is-on .mk__line { transform: rotate(var(--a, -40deg)) scaleX(1); }
.mk__label { position: absolute; display: flex; align-items: flex-start; gap: 9px; width: max-content; max-width: 290px; padding: 10px 15px 10px 12px; border: 1px solid rgba(255, 236, 214, 0.16); border-radius: 13px; background: rgba(16, 12, 10, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.9); font-size: 14.5px; font-weight: 500; line-height: 1.3; color: var(--text); opacity: 0; transition: opacity 0.35s 0.25s, transform 0.45s cubic-bezier(0.3, 0.7, 0.2, 1) 0.2s; }
.mk__label::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 1px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3 6.9 11 12 5.4' fill='none' stroke='%230c0a09' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.mk.is-on .mk__label { opacity: 1; }
/* Direções: a linha sai do ponto num ângulo de 40° e o rótulo encosta na ponta dela. */
.mk--ne { --a: -40deg; }
.mk--nw { --a: -140deg; }
.mk--se { --a: 40deg; }
.mk--sw { --a: 140deg; }
.mk--ne .mk__label, .mk--se .mk__label { left: calc(var(--len) * 0.766 + 6px); }
.mk--nw .mk__label, .mk--sw .mk__label { right: calc(var(--len) * 0.766 + 6px); }
.mk--ne .mk__label, .mk--nw .mk__label { top: calc(var(--len) * -0.643); transform: translateY(-50%) translateY(6px); }
.mk--se .mk__label, .mk--sw .mk__label { top: calc(var(--len) * 0.643); transform: translateY(-50%) translateY(-6px); }
.mk.is-on .mk__label { transform: translateY(-50%); }
/* Deslize horizontal escolhido pelo JS (para sair de cima do texto, do trilho ou da borda): fora da transição, para o
   rótulo não atravessar o que está evitando. */
.mk__label { translate: var(--dx, 0px) 0; }
/* Sem lugar livre para o rótulo (cobriria o texto do capítulo, o trilho ou outro marcador): fica só o ponto. */
.mk.is-bare .mk__label { opacity: 0; }
.mk.is-bare .mk__line { transform: rotate(var(--a, -40deg)) scaleX(0); }

/* Textos do capítulo no palco (cópias decorativas do texto real, que fica na lista para leitores de tela). */
.stage__cards { position: absolute; inset: 0; pointer-events: none; }
.card { position: absolute; width: min(430px, 34vw); opacity: 0; }
.card::before { content: ""; position: absolute; inset: -110px -170px; z-index: -1; background: radial-gradient(closest-side, rgba(12, 10, 9, 0.86), rgba(12, 10, 9, 0.55) 55%, rgba(12, 10, 9, 0)); }
.card--tl { left: var(--gutter); top: calc(var(--chrome) + 5vh); }
.card--tr { right: calc(var(--gutter) + var(--rail-w)); top: calc(var(--chrome) + 5vh); }
.card--bl { left: var(--gutter); bottom: 7vh; }
.card--br { right: calc(var(--gutter) + var(--rail-w)); bottom: 7vh; }
.tour-on.tour-band .stage .card { left: var(--gutter); right: var(--gutter); top: calc(var(--band-bottom) + 6px); bottom: auto; width: auto; }
.tour-on.tour-band .stage .card::before { display: none; }

.cap__kicker { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.cap__num { padding: 4px 7px; border: 1px solid rgba(255, 181, 71, 0.45); border-radius: 6px; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.cap__title { margin: 14px 0 10px; font-family: var(--display); font-size: clamp(46px, 5.4vw, 80px); line-height: 0.88; letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance; }
.cap__body { margin: 0; max-width: 40ch; font-size: 16.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.cap__points { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.cap__points li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.35; color: var(--dim); transition: color 0.35s; }
.cap__points li::before { content: ""; position: absolute; left: 0; top: 0.66em; width: 12px; height: 1.5px; background: currentColor; transition: background-color 0.35s; }
.cap__points li.is-on { color: var(--text); }
.cap__points li.is-on::before { background: var(--amber); }
/* De onde vem a imagem quando ela não é deste carro (capítulos com `note` em chapters.js). */
.cap__note { max-width: 44ch; margin: 16px 0 0; padding-top: 11px; border-top: 1px solid var(--line-2); font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.tour-on.tour-band .stage .cap__title { margin: 10px 0 8px; font-size: clamp(38px, 11vw, 56px); }
.tour-on.tour-band .stage .cap__body { font-size: 15px; }
.tour-on.tour-band .stage .cap__points { margin-top: 12px; gap: 6px; }
.tour-on.tour-band .stage .cap__points li { font-size: 13.5px; }
.tour-on.tour-band .stage .cap__note { margin-top: 10px; padding-top: 0; border-top: 0; font-size: 12px; }

.stage__loading { position: absolute; left: 50%; bottom: 22px; z-index: 3; display: flex; align-items: center; gap: 10px; margin: 0; transform: translateX(-50%); font-size: 12px; color: var(--muted); transition: opacity 0.6s; }
.stage__loading-bar { position: relative; width: 72px; height: 2px; overflow: hidden; border-radius: 2px; background: var(--line-2); }
.stage__loading-bar span { position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.3s; }
.stage.is-ready .stage__loading { opacity: 0; }
.tour-on.tour-band .stage .stage__loading { top: calc(var(--band-top) + 12px); bottom: auto; }
.stage__hint { display: none; }

/* Trilho de capítulos */
.rail__title { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.rail ol { margin: 0; padding: 0; list-style: none; }
.rail a { text-decoration: none; }
.rail__num { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--amber); font-variant-numeric: tabular-nums; }
.tour-on .rail { position: fixed; z-index: 40; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.tour-on.tour-in .rail { opacity: 1; visibility: visible; }
@media (min-width: 1024px) {
  :root { --rail-w: 190px; }
  .tour-on .rail { right: var(--gutter); top: 50%; transform: translateY(-50%); width: 176px; padding: 16px 14px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12, 10, 9, 0.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .tour-on .rail ol { position: relative; display: grid; gap: 1px; padding-left: 12px; }
  .tour-on .rail ol::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line-2); }
  .rail__fill { position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--amber); transform: scaleY(0); transform-origin: 50% 0; }
  .tour-on .rail a { display: flex; align-items: baseline; gap: 9px; padding: 6px 8px; border-radius: 8px; font-size: 13px; font-weight: 500; line-height: 1.25; color: var(--dim); transition: color 0.25s, background-color 0.25s; }
  .tour-on .rail a:hover { color: var(--text); background: rgba(255, 236, 214, 0.06); }
  .tour-on .rail a[aria-current] { color: var(--text); background: rgba(255, 236, 214, 0.08); }
  .tour-on .rail a[aria-current] .rail__num { color: var(--amber); }
  /* Na abertura o trilho cobriria a frente do carro (a grade e o farol): ele aparece quando a rolagem começa, ou
     quando recebe o foco do teclado. */
  .tour-on.hero-on .rail:not(:focus-within) { opacity: 0; pointer-events: none; }
}
@media (max-width: 1023.98px) {
  .tour-on .rail { left: 0; right: 0; bottom: 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(12, 10, 9, 0.92), rgba(12, 10, 9, 0)); }
  .tour-on .rail__title { display: none; }
  .tour-on .rail ol { display: flex; gap: 6px; overflow-x: auto; padding: 0 var(--gutter); scrollbar-width: none; scroll-padding: 0 var(--gutter); }
  .tour-on .rail ol::-webkit-scrollbar { display: none; }
  .tour-on .rail li { flex: none; }
  .tour-on .rail a { display: flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(12, 10, 9, 0.7); font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
  .tour-on .rail a[aria-current] { border-color: var(--text); background: var(--text); color: var(--bg); }
  .tour-on .rail a[aria-current] .rail__num { color: var(--red); }
  .rail__fill { display: none; }
}

/* Abertura (sobre o palco, rola junto com a página) */
.hero { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 100vh; min-height: 100svh; padding: calc(var(--chrome) + 3.5vh) var(--gutter) 34px; }
.tour-on .hero { margin-top: -100vh; margin-top: -100lvh; }
/* Véu da abertura sobre a foto real (céu claro e cascalho): escurece o alto e a base para o título, o preço e os
   botões, e some junto com a abertura quando a rolagem começa. No celular a abertura fica abaixo da faixa. */
.tour-on:not(.tour-band) .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(to bottom, rgba(12, 10, 9, 0.5) 0, rgba(12, 10, 9, 0.18) 30%, rgba(12, 10, 9, 0) 46%),
  linear-gradient(to top, rgba(12, 10, 9, 0.86) 0, rgba(12, 10, 9, 0.55) 22%, rgba(12, 10, 9, 0) 46%),
  linear-gradient(to right, rgba(12, 10, 9, 0.45) 0, rgba(12, 10, 9, 0) 38%); }
.tour-on .hero__media { display: none; }
.hero__media { position: absolute; inset: 0; z-index: -1; margin: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(12, 10, 9, 0.8), rgba(12, 10, 9, 0) 40%, rgba(12, 10, 9, 0) 55%, rgba(12, 10, 9, 0.92)); }
.hero__top { text-align: center; }
.hero__kicker { display: inline-block; margin: 0; padding: 7px 14px 7px 16px; border: 1px solid rgba(255, 181, 71, 0.35); border-radius: 999px; background: rgba(12, 10, 9, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); }
.hero__title { margin: 12px 0 18px; font-family: var(--display); font-size: clamp(56px, 10.6vw, 176px); line-height: 0.84; letter-spacing: 0.006em; text-transform: uppercase; text-shadow: 0 8px 50px rgba(0, 0, 0, 0.5); }
.hero__title-b { color: var(--text); }
.hero__specs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hero__specs li { padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(12, 10, 9, 0.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero__price { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0 0 16px; }
.hero__price strong { font-family: var(--display); font-size: clamp(46px, 5vw, 74px); font-weight: 400; line-height: 0.9; letter-spacing: 0.01em; }
.hero__price-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }
.hero__price-note { font-size: 13px; font-weight: 500; color: var(--muted); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__scroll { max-width: 23ch; margin: 0; padding-right: var(--rail-w); font-size: 14px; line-height: 1.45; color: var(--muted); text-align: right; }
.hero__scroll::before { content: ""; display: block; width: 1px; height: 46px; margin: 0 0 12px auto; background: linear-gradient(to bottom, rgba(255, 181, 71, 0), var(--amber)); }
.tour-on .hero__scroll { padding-right: 0; }
@media (min-width: 1024px) { .tour-on .hero__bottom { padding-right: 0; } }

/* Capítulos: no modo imersivo viram espaçadores (altura = duração da rolagem); sem JS, seções normais. */
.caps { margin: 0; padding: 0; list-style: none; }
.tour-on .cap { position: relative; height: calc(var(--len, 1.5) * 100svh); }
.tour-on .cap:first-child { height: calc((var(--len, 2.5) - 1) * 100svh); }
.tour-on .cap__media { display: none; }
.tour-on .caps::after { content: ""; display: block; height: 100vh; height: 100lvh; }

html:not(.tour-on) .tour { display: flex; flex-direction: column; }
html:not(.tour-on) .hero { order: -1; }
html:not(.tour-on) .hero__scroll { display: none; }
html:not(.tour-on) .rail { width: 100%; max-width: 1240px; margin: 0 auto; padding: 48px var(--gutter) 8px; }
html:not(.tour-on) .rail ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
html:not(.tour-on) .rail a { display: flex; gap: 10px; align-items: baseline; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); font-size: 14.5px; color: var(--text); }
html:not(.tour-on) .rail a:hover { border-color: var(--line-2); }
html:not(.tour-on) .cap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 72px); max-width: 1240px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); scroll-margin-top: var(--chrome); }
html:not(.tour-on) .cap:nth-child(even) .cap__media { order: 2; }
html:not(.tour-on) .cap__media { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); }
html:not(.tour-on) .cap__media img { width: 100%; height: auto; }
html:not(.tour-on) .cap__points li { color: var(--text); }
html:not(.tour-on) .cap__points li::before { border-color: var(--amber); background: var(--amber); }

/* ---------- Seções depois do passeio ---------- */
.section { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: clamp(72px, 10vw, 136px) var(--gutter) 0; scroll-margin-top: calc(var(--chrome) - 24px); }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.section__title { margin: 12px 0 14px; font-family: var(--display); font-size: clamp(46px, 6.4vw, 96px); line-height: 0.88; letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance; }
.section__lead { margin: 0; max-width: 54ch; font-size: 18px; line-height: 1.55; color: var(--muted); }

.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 228px), 1fr)); gap: 0 32px; margin: 0; border-top: 1px solid var(--line); }
.specs > div { padding: 20px 0 18px; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.specs dd { margin: 6px 0 0; font-size: 20px; font-weight: 500; line-height: 1.3; }
.num { font-variant-numeric: tabular-nums; }
.specs__tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; line-height: 1.4; text-transform: uppercase; color: var(--dim); vertical-align: 3px; }
.specs__source { max-width: 86ch; margin: 20px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--dim); }

.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; display: grid; gap: 6px; padding: 24px 24px 24px 66px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.checks li::before { content: ""; position: absolute; left: 22px; top: 24px; width: 28px; height: 28px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3 6.9 11 12 5.4' fill='none' stroke='%230c0a09' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.checks__when { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); font-variant-numeric: tabular-nums; }
.checks strong { font-size: 19px; font-weight: 600; line-height: 1.25; }
.checks li > span:last-child { font-size: 15px; color: var(--muted); }

.preco { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.preco__card { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-2); }
.preco__value { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 18px 0 22px; font-family: var(--display); font-size: clamp(72px, 10vw, 148px); line-height: 0.84; letter-spacing: 0.01em; }
.preco__fipe { max-width: 46ch; margin: -6px 0 24px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.preco__fipe strong { font-weight: 600; color: var(--text); }
.preco__label { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.preco__terms { display: grid; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 17px; color: var(--text); }
.preco__terms li { position: relative; padding-left: 22px; }
.preco__terms li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--amber); }
.preco__seller { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.preco__avatar { width: 56px; height: 56px; }
.preco__avatar circle { fill: var(--bg-3); stroke: var(--line-2); }
.preco__avatar path { fill: var(--red); }
.preco__quote { margin: 0; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.45; text-wrap: pretty; }
.preco__who { margin: 0; font-size: 14px; font-weight: 600; color: var(--text); }
.preco__who span { font-weight: 400; color: var(--dim); }

.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 22px 48px 22px 0; font-size: 19px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--amber), var(--amber)) center / 14px 2px no-repeat, linear-gradient(var(--amber), var(--amber)) center / 2px 14px no-repeat; transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 62ch; font-size: 17px; color: var(--muted); }

.contato { padding-bottom: clamp(72px, 9vw, 120px); }
.form { display: grid; gap: 16px; max-width: 620px; }
.form__field { display: grid; gap: 8px; }
.form__field > span { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.form input, .form textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); color: var(--text); font: 400 16px/1.45 var(--sans); resize: vertical; }
.form input::placeholder { color: var(--dim); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: transparent; }
.form .btn { justify-self: start; }
.form__status { display: none; margin: 0; padding: 14px 16px; border: 1px solid rgba(255, 181, 71, 0.45); border-radius: 14px; background: rgba(255, 181, 71, 0.08); font-size: 15px; font-weight: 500; color: var(--text); }
.form__status:target, .form__status.is-shown { display: block; }

.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: #0a0807; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; max-width: 1240px; margin: 0 auto; padding: 40px var(--gutter) 28px; }
.footer__note { flex: 1 1 420px; max-width: 70ch; margin: 0; font-size: 14px; color: var(--muted); }
.footer__credits { max-width: 1240px; margin: 0 auto; padding: 18px var(--gutter); border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; color: var(--dim); }
.footer__credits p { max-width: 118ch; margin: 0; }
.footer__credits a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 2px; }
.footer__credits a:hover { color: var(--text); text-decoration-color: currentColor; }
.footer__demo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; max-width: 1240px; margin: 0 auto; padding: 20px var(--gutter) calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer__demo p { flex: 1 1 420px; margin: 0; }
.footer__demo a { color: var(--amber); font-weight: 600; text-decoration: none; white-space: nowrap; }
.footer__demo a:hover { text-decoration: underline; }

/* ---------- Telas menores ---------- */
@media (max-width: 1023.98px) {
  .tour-on.hero-on .rail { opacity: 0; visibility: hidden; }
  .site-nav { display: none; }
  .site-header .btn--sm { margin-left: auto; }
}
@media (max-width: 860px) {
  html:not(.tour-on) .cap { grid-template-columns: minmax(0, 1fr); }
  html:not(.tour-on) .cap:nth-child(even) .cap__media { order: 0; }
  .preco { grid-template-columns: minmax(0, 1fr); }
  .hero__bottom { flex-direction: column; align-items: stretch; }
  .hero__scroll { display: none; }
}
@media (max-width: 860px) {
  html:not(.tour-on) .hero { min-height: 0; justify-content: flex-start; }
  html:not(.tour-on) .hero__media { position: relative; z-index: 0; order: -1; margin: 0 calc(-1 * var(--gutter)) 4px; }
  html:not(.tour-on) .hero__media img { height: auto; aspect-ratio: 16 / 9; }
  html:not(.tour-on) .hero__media::after { background: linear-gradient(to bottom, rgba(12, 10, 9, 0) 55%, var(--bg)); }
  html:not(.tour-on) .hero__top { text-align: left; }
  html:not(.tour-on) .hero__specs { justify-content: flex-start; }
  html:not(.tour-on) .hero { padding-bottom: 8px; }
  html:not(.tour-on) .rail { padding-top: 32px; }
}
@media (max-width: 640px) {
  .demo-strip { font-size: 11.5px; padding: 6px 12px; }
  .demo-strip p span:last-child { display: none; }
  .site-header { gap: 12px; padding: 8px var(--gutter); }
  .brand__name { font-size: 24px; }
  .brand__mark { width: 34px; height: 21px; }
  .site-header .btn--sm { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
  .hero { gap: 18px; padding-bottom: 76px; }
  .hero__top { text-align: left; }
  .hero__title { margin: 8px 0 12px; font-size: clamp(44px, 14.4vw, 80px); line-height: 0.86; }
  .hero__specs { justify-content: flex-start; gap: 6px; }
  .hero__specs li { padding: 5px 10px; font-size: 12px; }
  .hero__price { margin-bottom: 10px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .tour-on .hero__actions .btn--ghost { display: none; }
  .section__lead { font-size: 16.5px; }
  .specs dd { font-size: 18px; }
  .checks li { padding: 20px 20px 20px 60px; }
  .checks li::before { left: 18px; top: 20px; }
  .faq summary { font-size: 17px; }
  .mk { --len: calc(34px * var(--k, 1)); }
  .mk__label { max-width: 190px; padding: 7px 11px 7px 9px; font-size: 12.5px; gap: 7px; border-radius: 11px; }
  .mk__label::before { width: 13px; height: 13px; }
}
@media (max-width: 380px) {
  .site-header .btn--sm span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .site-header .btn--sm { width: 42px; padding: 0; }
}
/* Palco em faixa (telas em pé, classe tour-band, decidida por boot.js antes da primeira pintura): a abertura começa
   abaixo da faixa do vídeo. */
.tour-on.tour-band .hero { justify-content: flex-start; padding-top: calc(var(--band-bottom) + 4px); }
.tour-on.tour-band .hero .hero__top { text-align: left; }
/* Os dados do carro quebram linha, mais compactos, para nenhum ficar escondido. */
.tour-on.tour-band .hero .hero__specs { justify-content: flex-start; gap: 5px; }
.tour-on.tour-band .hero .hero__specs li { padding: 4px 9px; font-size: 11.5px; line-height: 1.35; }
.tour-on.tour-band .hero .hero__bottom { margin-top: auto; }
/* Com os dados em duas linhas, o resto da abertura aperta um pouco para o botão continuar na primeira tela. */
@media (max-width: 640px) {
  .tour-on.tour-band .hero { gap: 12px; }
  .tour-on.tour-band .hero .hero__title { margin-bottom: 10px; }
  .tour-on.tour-band .hero .hero__price { gap: 5px; margin-bottom: 8px; }
}
@media (max-height: 800px) {
  .tour-on.tour-band .hero .hero__kicker { display: none; }
}
@media (max-height: 760px) {
  .tour-on.tour-band .stage .cap__body { display: none; }
}
@media (max-height: 680px) {
  .tour-on.tour-band .hero { gap: 10px; padding-bottom: 20px; }
  .tour-on.tour-band .hero .hero__specs { display: none; }
  .tour-on.tour-band .hero .hero__price strong { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .mk__dot, .mk__line, .mk__label, .btn, .cap__points li, .cap__points li::before { transition: none; }
  .mk.is-on .mk__dot::after { animation: none; }
}
