/* Autos 037 | estilos compartilhados
   Tema: escuro fixo (identidade da marca). Destaque único: vermelho 037.
   Raio: fotos, cards e painéis retos (0). Botões, chips e avatar em pílula/círculo. */

:root {
  --bg: #0a0a0c;
  --bg2: #131316;
  --fg: #f2f1ee;
  --mute: #a1a1a7;
  --line: rgba(255, 255, 255, .12);
  --red: #e0262c;
  --pad: clamp(16px, 4vw, 56px);
  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 16px/1.55 var(--f); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, canvas { display: block; max-width: 100%; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

/* granulação de filme: camada fixa, sem eventos */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-4%, 3%); }
  50% { transform: translate(3%, -5%); } 75% { transform: translate(-2%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- tipografia ---------- */
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.h-xl { font-size: clamp(46px, 8vw, 132px); font-weight: 800; font-stretch: 125%; line-height: .92; letter-spacing: -.025em; text-transform: uppercase; }
.h-lg { font-size: clamp(36px, 5.2vw, 80px); font-weight: 800; font-stretch: 118%; line-height: .98; letter-spacing: -.02em; }
.w { display: inline-block; white-space: nowrap; }
.cm { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .12em .1em; margin: -.04em -.12em -.1em; }
.ci { display: inline-block; }

/* logo da marca (arquivo com fundo transparente) */
.brand { display: block; width: min(100%, 620px); }
.brand img, .logo-img { display: block; width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .4s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn:active { transform: scale(.98); }
.btn i { font-size: 1.2em; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #c71f25; }
.btn-ghost { color: var(--fg); border-color: rgba(255, 255, 255, .3); background: rgba(10, 10, 12, .4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-light { background: var(--fg); color: #0a0a0c; }
.btn-light:hover { background: #fff; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 68px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(rgba(10, 10, 12, .8), rgba(10, 10, 12, 0));
}
.nav-logo { display: block; flex: none; }
.nav-logo img { display: block; height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); font-size: 14px; font-weight: 500; }
.nav-links > a:not(.btn) { opacity: .82; display: inline-flex; align-items: center; gap: 6px; transition: opacity .3s; }
.nav-links > a:not(.btn):hover { opacity: 1; }
.nav-links .ph-instagram-logo { font-size: 22px; }
@media (max-width: 640px) { .nav .btn span { display: none; } .nav .btn { width: 42px; padding: 0; } }

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }


/* conteúdo que entra animado: escondido até o JS, com fallback em 3 s */
.js .hero-copy, .js .ig, .js .vh-copy { visibility: hidden; animation: show 0s 3s forwards; }
.rm .hero-copy, .rm .ig, .rm .vh-copy { visibility: visible; animation: none; }
@keyframes show { to { visibility: visible; } }

/* ================= HOME ================= */
.hero {
  position: relative; min-height: 100dvh; display: grid; align-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 60% at 70% 75%, rgba(224, 38, 44, .18), transparent 60%), var(--bg);
}
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(110% 85% at 0% 45%, rgba(10, 10, 12, .88) 15%, transparent 62%), linear-gradient(transparent 72%, var(--bg));
}
.hero-in {
  width: 100%; max-width: 1440px; margin: 0 auto; padding: 108px var(--pad) 72px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(28px, 6vw, 110px); align-items: center;
}
.hero-copy { display: grid; gap: 24px; justify-items: start; container-type: inline-size; }
.hero .brand { width: min(100%, 600px); }
.hero-sub { font-size: clamp(17px, 1.45vw, 21px); color: #d8d7d3; max-width: 32ch; }

.ig {
  display: grid; gap: 18px; padding: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 40px 90px rgba(0, 0, 0, .5);
}
.ig-head { display: flex; align-items: center; gap: 14px; }
.ig-avatar {
  flex: none; width: 70px; height: 70px; border-radius: 50%; background: #050505; display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--red);
}
.ig-avatar img { width: 84%; height: auto; }
.ig-id { display: grid; line-height: 1.3; }
.ig-id strong { font-size: 18px; }
.ig-id span { color: var(--mute); font-size: 14px; }
.ig-glyph { margin-left: auto; font-size: 26px; opacity: .75; }
.ig-bio { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15px; color: #dddcd8; }
.ig-bio li { display: flex; gap: 10px; align-items: flex-start; }
.ig-bio i { flex: none; color: var(--red); font-size: 18px; margin-top: 2px; }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 112px; }
  .ig { max-width: 440px; }
}

/* faixa de serviços (única marquee da página) */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: clamp(16px, 2.4vw, 30px) 0; }
.mq-track { display: flex; align-items: center; width: max-content; }
.mq-track span { padding: 0 .38em; font-size: clamp(40px, 7vw, 108px); font-weight: 900; font-style: italic; font-stretch: 125%; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.mq-track span:nth-of-type(even) { color: var(--red); }
.mq-track i { flex: none; width: clamp(14px, 1.7vw, 26px); aspect-ratio: 1; background: var(--red); transform: skewX(-20deg); }

/* estoque: grade padrão de anúncios (Virtus primeiro, depois "em breve") */
.stock { max-width: 1440px; margin: 0 auto; padding: clamp(96px, 12vw, 160px) var(--pad) clamp(40px, 6vw, 80px); }
.stock-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.stock-count { color: var(--mute); font-size: 16px; }
.stock-count b { color: var(--fg); font-weight: 700; }
.stock-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; perspective: 1400px; }
.car-card, .soon-card { display: grid; align-content: start; gap: 6px; padding: 12px 12px 18px; background: var(--bg2); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease); }
.car-card:hover { border-color: rgba(255, 255, 255, .3); transform: translateY(-6px); }
.car-media, .soon-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; margin-bottom: 10px; }
.car-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; filter: saturate(.92) contrast(1.05); transition: transform 1s var(--ease); }
.car-card:hover .car-media img { transform: scale(1.06); }
.car-brand { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.car-card h3, .soon-card h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 800; font-stretch: 112%; line-height: 1.1; text-transform: uppercase; }
.car-card .sub, .soon-card .sub { color: var(--mute); font-size: 14px; }
.chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: #d9d8d4; }
.car-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.price-tag { font-size: clamp(19px, 1.5vw, 22px); font-weight: 800; font-stretch: 110%; letter-spacing: -.01em; white-space: nowrap; }
.car-card:hover .btn-red { background: #c71f25; }
.soon-card { border-style: dashed; }
.soon-media { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #111114 0 14px, #141418 14px 28px); }
.soon-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .06) 50%, transparent 70%); background-size: 220% 100%; animation: shimmer 2.6s linear infinite; }
.soon-media i { font-size: 54px; color: rgba(255, 255, 255, .18); }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (max-width: 1100px) { .stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .stock-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
  .stock-grid::-webkit-scrollbar { display: none; }
  .car-card, .soon-card { flex: none; width: 82%; scroll-snap-align: start; }
}

/* serviços: bento 4 células */
.services { max-width: 1440px; margin: 0 auto; padding: clamp(96px, 13vw, 180px) var(--pad); }
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(2, minmax(250px, 34vh)); gap: 12px; margin-top: clamp(32px, 4vw, 56px); }
.bento article { position: relative; overflow: hidden; isolation: isolate; container-type: inline-size; padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; background: var(--bg2); border: 1px solid var(--line); }
.bento img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.75) brightness(.5); transition: transform 1.2s var(--ease), filter .8s; }
.bento article:hover img { transform: scale(1.06); filter: saturate(.9) brightness(.6); }
.bento article::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 35%, rgba(10, 10, 12, .85)); }
/* tamanho pela largura do quadro: "CONSIGNAÇÃO" sempre cabe numa linha */
.bento h3 { font-size: min(40px, 9.5cqi); font-weight: 900; font-style: italic; font-stretch: 108%; line-height: 1.05; text-transform: uppercase; white-space: nowrap; }
.bento p { color: #dcdbd7; max-width: 30ch; }
.b-buy { grid-column: 1; grid-row: 1 / span 2; }
.b-sell { grid-column: 2; grid-row: 1; background: var(--red); border-color: var(--red); }
.b-sell::before { display: none; }
.b-sell p { color: #fff; }
.b-cons { grid-column: 2; grid-row: 2; }
.b-trade { grid-column: 3; grid-row: 1 / span 2; }
@media (max-width: 768px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .bento article { grid-column: auto; grid-row: auto; min-height: 230px; }
}

/* rodapé */
.foot { max-width: 1440px; margin: 0 auto; padding: clamp(96px, 12vw, 160px) var(--pad) 28px; border-top: 1px solid var(--line); }
.foot-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.foot .brand { width: min(80vw, 460px); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; color: var(--mute); font-size: 14px; }
.foot-base span, .foot-base a { display: inline-flex; align-items: center; gap: 6px; }
.foot-min { padding-top: 28px; }
.foot-min .foot-base { margin-top: 0; }

/* ================= PÁGINA DO CARRO ================= */
/* hero: a moldura é uma "janela" sobre uma camada do tamanho da tela; ao rolar, a janela abre. */
.vhero { position: relative; height: 100svh; overflow: hidden; }
.vh-frame { --t: 84px; --r: 3.5vw; --b: 5vh; --l: 50vw; position: absolute; z-index: 1; top: var(--t); right: var(--r); bottom: var(--b); left: var(--l); overflow: hidden; background: #000; view-transition-name: car; }
.js:not(.vt):not(.rm) .vh-frame { clip-path: inset(100% 0 0 0); animation: vh-fail 0s 4s forwards; }
@keyframes vh-fail { to { clip-path: inset(0 0 0 0); } }
.vh-layer { position: absolute; left: calc(var(--l) * -1); top: calc(var(--t) * -1); width: 100vw; height: 100svh; }
.vh-media { position: absolute; transform-origin: 0 0; will-change: transform; }
.vh-img, .vh-gl { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; transform: scale(1.03); filter: saturate(.92) contrast(1.05); }
.vh-gl { opacity: 0; transition: opacity 1s; }
.vh-gl.on { opacity: 1; }
.vh-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 55%, rgba(5, 5, 6, .55)); }
.vh-copy { position: absolute; z-index: 2; inset: 0 auto 0 var(--pad); width: min(44vw, 640px); display: grid; align-content: center; justify-items: start; gap: 24px; padding-top: 40px; }
.vh-title { font-size: clamp(54px, 7.2vw, 120px); font-weight: 800; font-stretch: 125%; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.vh-title em { display: block; font-style: italic; font-weight: 300; color: #cfcfd3; line-height: 1.1; padding-bottom: .06em; }
.vh-sub { font-size: clamp(16px, 1.3vw, 19px); color: #d8d7d3; max-width: 36ch; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 10, 12, .45); font-size: 13px; color: #dcdbd7; white-space: nowrap; }
.vh-price { display: grid; gap: 2px; }
.vh-price b { font-size: clamp(30px, 3.2vw, 48px); font-weight: 800; font-stretch: 112%; line-height: 1; letter-spacing: -.02em; }
.vh-price span { color: var(--mute); font-size: 13px; }
.vh-giant { position: absolute; z-index: 2; inset: auto 0 3vh; text-align: center; pointer-events: none; font-weight: 900; font-style: italic; font-stretch: 125%; font-size: 21vw; line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .8); opacity: 0; }
@media (max-width: 900px) {
  .vh-copy { inset: auto var(--pad) 0; width: auto; height: 46%; align-content: center; padding-top: 0; gap: 12px; }
  .vh-title { font-size: clamp(38px, 11vw, 72px); }
  .vh-copy .eyebrow, .vh-copy .vh-sub { display: none; }
}

/* enquadramento: foto posicionada pelo JS para o carro caber inteiro; o fundo desfocado completa a tela */
.bd { position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover; filter: brightness(.42) saturate(1.1); pointer-events: none; }
.fit { position: absolute; max-width: none; }
.soft { -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.softy { -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); }
.soft.softy {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* apresentação com tarjas de cinema */
.statement { position: relative; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.st-media { position: absolute; inset: 0; overflow: hidden; }
.st-img { filter: saturate(.85) contrast(1.06) brightness(.78); }
.st-bars { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.st-bars i { position: absolute; left: 0; right: 0; height: 13svh; background: #000; }
.st-bars i:first-child { top: 0; }
.st-bars i:last-child { bottom: 0; }
.st-lines { position: relative; z-index: 2; display: grid; place-items: center; padding: 0 var(--pad); }
.st-lines p { grid-area: 1 / 1; text-align: center; font-size: clamp(30px, 7.4vw, 120px); font-weight: 800; font-stretch: 125%; line-height: 1; letter-spacing: -.025em; text-transform: uppercase; text-shadow: 0 10px 60px rgba(0, 0, 0, .55); }

/* cenas de detalhe: câmera, fios e lentes */
.scene { position: relative; }
.stage { position: relative; height: 100svh; overflow: hidden; background: #050506; }
.cam { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.shot { position: absolute; max-width: none; filter: saturate(.92) contrast(1.05); }
.stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 60% 50%, transparent 45%, rgba(0, 0, 0, .72)); }
.lenses, .wires, .hots, .scene-title { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.wires { width: 100%; height: 100%; overflow: visible; }
.wires path { fill: none; stroke: rgba(255, 255, 255, .92); stroke-width: 1.2; }
.wires circle { fill: var(--red); }
.lens { position: absolute; inset: 0; clip-path: circle(0px at 50% 50%); }
.lens img { position: absolute; max-width: none; filter: saturate(.95) contrast(1.06); }
.lens-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .55); opacity: 0; }
.lens-ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .85); box-shadow: 0 30px 90px rgba(0, 0, 0, .55), inset 0 0 40px rgba(0, 0, 0, .35); }
.hot { position: absolute; left: var(--pad); top: 28%; width: min(30vw, 430px); display: grid; gap: 10px; }
.hot.r { left: auto; right: var(--pad); }
.hot.pass { display: none; }
/* sombra de leitura presa ao título: aparece e some junto com o texto */
.hot h3::before { content: ""; position: absolute; inset: -70px -90px -150px; z-index: -1; background: radial-gradient(closest-side, rgba(5, 5, 6, .86) 30%, transparent); pointer-events: none; }
.hot h3 { position: relative; font-size: clamp(28px, 3vw, 50px); font-weight: 800; font-stretch: 120%; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; text-shadow: 0 2px 22px rgba(0, 0, 0, .6); }
.hot p { color: #e0dfdb; font-size: clamp(15px, 1.15vw, 18px); max-width: 34ch; text-shadow: 0 1px 14px rgba(0, 0, 0, .8); }
.hot .val { font-family: var(--mono); color: var(--fg); font-size: 14px; }
.hot .val b { color: var(--red); font-weight: 500; }
.scene-title { display: grid; place-content: center; text-align: center; padding: var(--pad); }
.scene-title h2 { text-shadow: 0 10px 60px rgba(0, 0, 0, .6); }
.mk { position: absolute; width: 44px; height: 44px; margin: -22px; padding: 0; border: 0; border-radius: 50%; background: none; z-index: 1; }
.mk::before { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(224, 38, 44, .7); animation: pulse 2s infinite; }
.mk::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); }
@keyframes pulse { to { box-shadow: 0 0 0 18px rgba(224, 38, 44, 0); } }
@media (max-width: 900px) {
  .hot, .hot.r { left: var(--pad); right: var(--pad); top: auto; bottom: 8svh; width: auto; }
  .hot h3::before { inset: -40px -20px -110px; }
}

/* 360° em moldura: as fotos reais giram com a rolagem e com o arrasto */
.spin { position: relative; height: 100svh; overflow: hidden; background: var(--bg); }
.spin-in { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; padding: 88px var(--pad) 24px; justify-items: center; }
.spin-head { width: min(100%, 1180px); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.spin-hint { color: var(--mute); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.spin-frame {
  position: relative; width: min(100%, 1180px); height: 100%; overflow: hidden; perspective: 1400px;
  background: #050506; border: 1px solid var(--line); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.spin-frame:active { cursor: grabbing; }
/* cantos da moldura */
.spin-frame::after {
  content: ""; position: absolute; inset: 12px; z-index: 4; pointer-events: none; --c: rgba(255, 255, 255, .7);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 28px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 1.5px 28px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 28px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 1.5px 28px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 28px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 1.5px 28px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 28px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 1.5px 28px no-repeat;
}
.spin-shot { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; will-change: transform, opacity; }
.spin-shot .fit { filter: saturate(.92) contrast(1.05); }
.spin-hud { position: absolute; z-index: 5; left: 26px; bottom: 22px; display: flex; align-items: baseline; gap: 12px; pointer-events: none; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
.spin-deg { font-family: var(--mono); font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; font-variant-numeric: tabular-nums; }
.spin-name { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #d6d5d1; }
.spin-bar { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .1); }
.spin-bar i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }
.spin-strip { width: min(100%, 1180px); display: flex; justify-content: center; gap: 8px; }
.spin-thumb { width: clamp(52px, 6vw, 84px); aspect-ratio: 4 / 3; padding: 0; overflow: hidden; background: #000; border: 1px solid var(--line); opacity: .45; transition: opacity .3s, border-color .3s; }
.spin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.spin-thumb.on { opacity: 1; border-color: var(--red); }
@media (max-width: 760px) { .spin-in { padding-top: 80px; } .spin-hud { left: 18px; bottom: 16px; } }

/* opcionais do carro (lista da loja) */
.opts { max-width: 1440px; margin: 0 auto; padding: clamp(110px, 13vw, 190px) var(--pad) 0; }
.opts-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.opts-head p { color: var(--mute); max-width: 46ch; }
.opt-grid { list-style: none; margin: clamp(28px, 3.5vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 10px; }
.opt-grid li { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 14px 18px; background: var(--bg2); border: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.opt-grid i { flex: none; color: var(--red); font-size: 20px; }

/* ficha técnica */
.specs { max-width: 1440px; margin: 0 auto; padding: clamp(110px, 13vw, 190px) var(--pad) clamp(80px, 9vw, 120px); }
.spec-big { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.spec-big > div { min-height: 230px; padding: 26px 24px; display: grid; align-content: end; gap: 10px; background: var(--bg2); border: 1px solid var(--line); container-type: inline-size; }
.spec-big > div:first-child { background: var(--red); border-color: var(--red); }
.spec-big > div:first-child p { color: #fff; }
/* número cresce com o quadro: nunca sai da caixa (ex.: "20,4 kgfm" no celular) */
.num { font-size: min(104px, 27cqi); white-space: nowrap; font-weight: 800; font-stretch: 112%; line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.num small { margin-left: .14em; font-size: .3em; font-weight: 600; letter-spacing: 0; }
.spec-big p:not(.num) { color: #d6d5d1; font-size: 15px; }
.spec-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.spec-groups h3 { font-size: 19px; font-weight: 700; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.spec-groups dl { display: grid; gap: 16px; }
.spec-groups dl div { display: grid; grid-template-columns: 116px 1fr; gap: 14px; }
.spec-groups dt { color: var(--mute); font-size: 14px; }
.spec-groups dd { font-size: 15px; }
.spec-note { margin-top: clamp(40px, 5vw, 64px); color: var(--mute); font-size: 13px; max-width: 72ch; }
@media (max-width: 1200px) { .spec-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .spec-big { grid-template-columns: 1fr 1fr; } .spec-groups { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .spec-big > div { min-height: 180px; padding: 20px 16px; } }

/* galeria */
.gallery { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad) clamp(110px, 13vw, 190px); }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: clamp(32px, 4vw, 52px); }
.g-item { position: relative; aspect-ratio: 3 / 4; overflow: hidden; padding: 0; border: 0; background: #000; cursor: zoom-in; }
.g-item:first-child { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.9); transition: transform 1.1s var(--ease), filter .6s; }
.g-item:hover img { transform: scale(1.06); filter: none; }
@media (max-width: 768px) { .g-grid { grid-template-columns: 1fr 1fr; } }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 5, 6, .97); color: var(--fg); }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; padding: 72px 16px; }
.lb-btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(20, 20, 22, .75); font-size: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }

/* chamada final: carro à direita, texto à esquerda (no celular, carro em cima e texto embaixo) */
.cta { position: relative; min-height: 92svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.cta > .bd { z-index: -3; }
.cta-img { z-index: -2; filter: brightness(.8) saturate(.9); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 12, .92) 18%, rgba(10, 10, 12, .35) 52%, transparent 75%), linear-gradient(transparent 70%, var(--bg)); }
.cta-in { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); display: grid; gap: 22px; justify-items: start; }
@media (max-width: 900px) {
  .cta { align-items: end; }
  .cta::before { background: linear-gradient(transparent 34%, rgba(10, 10, 12, .94) 64%); }
  .cta-in { padding-bottom: 9svh; }
}

/* celular: barra fixa de contato */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; align-items: center;
    padding: 18px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(10, 10, 12, .94) 40%);
  }
  .mbar .btn { flex: 1; height: 52px; font-size: 16px; }
  .mbar-ig { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(20, 20, 22, .85); }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .nav .btn-red, .hero .ctas [data-whats], .vh-copy [data-whats], .cta-in [data-whats] { display: none; }
  .hot, .hot.r { bottom: calc(8svh + 70px) !important; }
  .vh-copy { padding-bottom: 64px; }
}
.cta-in p { color: #dcdbd7; font-size: clamp(17px, 1.4vw, 20px); max-width: 40ch; }

/* ---------- transições entre páginas (View Transitions API) ---------- */
@view-transition { navigation: auto; }
::view-transition-group(car) { animation-duration: .95s; animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
::view-transition-old(car), ::view-transition-new(car) { height: 100%; object-fit: cover; }
::view-transition-old(root) { animation: .45s ease both vt-out; }
::view-transition-new(root) { animation: .6s .2s ease both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- movimento reduzido e sem JS: cenas viram conteúdo estático ---------- */
/* ponytail: o site ignora o "reduzir movimento" do sistema: a loja quer o site sempre animado */
.rm .soon-media::after { animation: none; }
html:not(.js) .scene .stage, .rm .scene .stage { height: auto; overflow: visible; }
html:not(.js) .scene .cam, .rm .scene .cam { position: relative; height: 100svh; overflow: hidden; }
html:not(.js) .scene .shot + .shot, .rm .scene .shot + .shot,
html:not(.js) .scene .wires, .rm .scene .wires, html:not(.js) .scene .lenses, .rm .scene .lenses,
html:not(.js) .scene .hot.pass, .rm .scene .hot.pass, .rm .mk { display: none; }
html:not(.js) .scene .hots, .rm .scene .hots { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; padding: 48px var(--pad); }
html:not(.js) .scene .hot, .rm .scene .hot { position: static; width: auto; }
.rm .hot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
html:not(.js) .st-lines p, .rm .st-lines p { grid-area: auto; }
html:not(.js) .st-lines, .rm .st-lines { gap: 12px; }
@media (prefers-reduced-transparency: reduce) {
  .ig, .btn-ghost { backdrop-filter: none; -webkit-backdrop-filter: none; background: #18181b; }
}

/* crédito TriUnity no rodapé */
.foot-base .credit { gap: 10px; opacity: .7; transition: opacity .3s; }
.foot-base .credit:hover { opacity: 1; }
.credit img { display: block; height: 22px; width: auto; }
/* celular: a barra fixa já tem o WhatsApp; tira os botões da capa para não encostar nela */
@media (max-width: 760px) { .vh-copy .ctas { display: none; } }
@media (max-width: 760px) {
  .vh-copy { padding-bottom: 80px; gap: 10px; }
}
@media (max-width: 760px) and (max-height: 720px) {
  .vh-price span, .facts li:nth-child(n+4) { display: none; }
}

/* links de localização e rodapé */
.ig-bio a:hover, .foot-base a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* cards que levam à página de 360 e detalhes */
.explore { max-width: 1440px; margin: 0 auto; padding: clamp(72px, 9vw, 130px) var(--pad) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ex-card { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(280px, 34vw, 440px); display: flex; align-items: flex-end; border: 1px solid var(--line); background: var(--bg2); }
.ex-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.55); transition: transform 1.2s var(--ease), filter .6s; }
.ex-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 30%, rgba(10, 10, 12, .9)); }
.ex-card:hover img { transform: scale(1.05); filter: saturate(.95) brightness(.65); }
.ex-in { display: grid; gap: 8px; justify-items: start; padding: clamp(22px, 2.6vw, 36px); }
.ex-in h2 { font-size: clamp(30px, 3.4vw, 54px); font-weight: 900; font-style: italic; font-stretch: 112%; line-height: 1; text-transform: uppercase; }
.ex-in p:not(.car-brand) { color: #dcdbd7; max-width: 34ch; }
.ex-in .btn { margin-top: 8px; }
@media (max-width: 760px) { .explore { grid-template-columns: 1fr; } .ex-card { min-height: 260px; } }

/* fim da página de 360 e detalhes */
.tour-end { max-width: 1440px; margin: 0 auto; padding: clamp(96px, 12vw, 160px) var(--pad); display: grid; gap: 18px; justify-items: start; }
.tour-end p { color: var(--mute); max-width: 52ch; }
