:root {
  --fundo: #08090a;
  --fundo-2: #0f1113;
  --cartao: #141619;
  --cartao-2: #1c1f23;
  --amarelo: #f2df2a;          /* o amarelo-limão da marca (foto de perfil do Instagram) */
  --amarelo-claro: #fff27a;
  --texto: #f3f4f5;
  --texto-2: #9ca2ab;
  --linha: rgba(255, 255, 255, .09);
  --linha-am: rgba(242, 223, 42, .38);
  --verde: #8fc79a;
  --vermelho: #e8786a;
  --largo: "Archivo", "Arial Black", sans-serif;
  --sans: "Barlow", system-ui, sans-serif;
  --g: clamp(16px, 4vw, 48px);
  --larg: 1320px;
  --raio: 16px;
  --topo: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--fundo); color-scheme: dark; scroll-padding-top: calc(var(--topo) + 8px); }
html:not(.js) { scroll-behavior: smooth; }
body { background: var(--fundo); color: var(--texto); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--amarelo); outline-offset: 3px; }
::selection { background: var(--amarelo); color: #000; }
h1, h2, h3 { font-family: var(--largo); font-stretch: 125%; font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: -.01em; }
.sobre { font: 700 12px/1 var(--largo); font-stretch: 125%; letter-spacing: .24em; text-transform: uppercase; color: var(--amarelo); margin-bottom: 14px; }

/* ---------- botões ---------- */
.btn { position: relative; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .01em; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn-amarelo { background: var(--amarelo); color: #0a0a0a; }
.btn-amarelo:hover { background: var(--amarelo-claro); transform: translateY(-2px); }
.btn-linha { border: 1px solid var(--linha-am); color: var(--amarelo-claro); }
.btn-linha:hover { background: rgba(242, 223, 42, .08); }
.btn-vidro { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(10px); }
.btn-vidro:hover { background: rgba(255, 255, 255, .16); }
.btn-p { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-g { min-height: 58px; padding: 0 30px; font-size: 16px; }
.ico-wa { width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.2-.4.7-1.4.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2l-.6-.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.2-.4.7-1.4.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2l-.6-.3Z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- abertura ---------- */
.abertura { position: fixed; inset: 0; z-index: 100; background: var(--fundo); display: grid; place-items: center; padding: var(--g); }
html:not(.js) .abertura { display: none; }
.ab-marca { width: min(560px, 86vw); display: grid; justify-items: center; gap: 10px; }
.ab-desenho svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 18px rgba(242, 223, 42, .35)); }
.ab-nome { font: 900 clamp(38px, 8vw, 76px)/1 var(--largo); font-stretch: 125%; font-style: italic; color: #fff; overflow: hidden; letter-spacing: -.01em; }
.ab-nome span { display: inline-block; }
.ab-sub { display: flex; align-items: center; gap: 18px; font: 700 clamp(13px, 2vw, 18px)/1 var(--largo); font-stretch: 125%; letter-spacing: .32em; color: #fff; }
.ab-sub b { color: var(--amarelo); font-weight: 400; }
.ab-sub i { width: clamp(30px, 8vw, 80px); height: 2px; background: var(--amarelo); transform-origin: center; }

/* ---------- topo ---------- */
.topo { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--topo); display: flex; align-items: center; gap: 24px; padding: 0 var(--g); transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.topo.solido, .pg-veiculo .topo { background: rgba(8, 9, 10, .82); backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--linha); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 58px; height: auto; }
.logo span { font: 900 19px/1 var(--largo); font-stretch: 125%; font-style: italic; color: #fff; white-space: nowrap; }
.logo b { font-weight: 900; }
.topo-nav { flex: 1; display: flex; gap: 28px; justify-content: center; }
.topo-nav a { position: relative; text-decoration: none; font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .72); transition: color .2s; }
.topo-nav a::after { content: ""; position: absolute; inset: auto 0 -6px; height: 2px; background: var(--amarelo); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.topo-nav a:hover { color: #fff; }
.topo-nav a:hover::after { transform: scaleX(1); }
@media (max-width: 860px) {
  .topo { gap: 12px; }
  .topo-nav { display: none; }
  .logo { flex: 1; }
  .logo img { width: 48px; }
  .logo span { font-size: 16px; }
}
@media (max-width: 380px) {
  .logo { min-width: 0; gap: 8px; }
  .logo img { width: 40px; }
  .logo span { font-size: 13px; }
  .topo > .btn-p { padding: 0 14px; gap: 6px; }
}

/* ---------- seções ---------- */
main > section, .rodape { padding-inline: var(--g); }
.estoque, .passos, .rodape { max-width: var(--larg); margin-inline: auto; }
.sec-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-topo h2 { font-size: clamp(36px, 6vw, 78px); }
.sec-topo > p { color: var(--texto-2); font-size: 15px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-content: end; padding-top: calc(var(--topo) + 40px); padding-bottom: clamp(96px, 12vh, 150px); overflow: hidden; isolation: isolate; }
.hero-fundo { position: absolute; inset: 0; z-index: -2; background: var(--fundo-2); transform-origin: 50% 60%; }
.hero-slide { position: absolute; inset: 0; background: center 72% / cover no-repeat; opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 7s linear; }
.hero-slide.ativo { opacity: 1; transform: scale(1.02); }
.hero-veu { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(8, 9, 10, .92) 0%, rgba(8, 9, 10, .6) 20%, rgba(8, 9, 10, .2) 36%, rgba(8, 9, 10, .35) 55%, rgba(8, 9, 10, .96) 100%),
  linear-gradient(90deg, rgba(8, 9, 10, .85) 0%, rgba(8, 9, 10, .25) 60%, transparent 100%); }
.hero-txt { max-width: var(--larg); width: 100%; margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1.3 var(--largo); font-stretch: 125%; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: rgba(8, 9, 10, .45); border: 1px solid rgba(255, 255, 255, .16); padding: 9px 14px; border-radius: 99px; backdrop-filter: blur(8px); margin-bottom: 22px; }
.ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--amarelo); box-shadow: 0 0 0 0 rgba(242, 223, 42, .6); animation: pulsa 2s infinite; }
@keyframes pulsa { 70% { box-shadow: 0 0 0 10px rgba(242, 223, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 223, 42, 0); } }
/* um tamanho só, que cresce junto com a tela (sem pulo em nenhum ponto de quebra) */
.hero-titulo { font-size: clamp(34px, 6.4vw + 14px, 124px); font-weight: 900; line-height: .98; max-width: 14ch; text-wrap: balance; }
/* a máscara da animação tem folga em cima e embaixo: acento (Á, Ó) e o "ç" não são cortados */
.hero-titulo .linha { display: block; overflow: hidden; padding: .14em .08em .08em 0; margin: -.14em 0 -.08em; }
.hero-titulo .l-in { display: inline-block; }
.anim .hero-titulo .l-in { transform: translateY(115%); animation: rede-de-seguranca 0s 4s forwards; }
.anim .hero .kicker, .anim .hero-sub, .anim .hero-acoes { opacity: 0; animation: rede-de-seguranca 0s 4s forwards; }
@keyframes rede-de-seguranca { to { transform: none; opacity: 1; } }   /* se o JS falhar, o texto aparece sozinho */
.hero-titulo em { font-style: italic; color: var(--amarelo); }
.hero-sub { max-width: 44ch; color: rgba(255, 255, 255, .8); font-size: clamp(16px, 1.5vw, 19px); margin: 22px 0 30px; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-legenda { position: absolute; right: var(--g); bottom: clamp(96px, 12vh, 150px); max-width: 340px; }
.hero-legenda a { display: grid; gap: 2px; text-decoration: none; text-align: right; padding: 14px 18px; border-radius: 14px; background: rgba(8, 9, 10, .55); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); animation: legenda .7s var(--ease); }
@keyframes legenda { from { opacity: 0; transform: translateY(10px); } }
.hero-legenda small { font-size: 12px; color: var(--texto-2); }
.hero-legenda strong { font: 800 20px/1.1 var(--largo); font-stretch: 125%; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-legenda a { min-width: 0; }
.hero-legenda span { color: var(--amarelo); font-weight: 700; }
.contagem { position: absolute; left: var(--g); right: var(--g); bottom: 28px; list-style: none; display: flex; gap: clamp(18px, 4vw, 48px); max-width: var(--larg); margin-inline: auto; }
.contagem li { display: flex; align-items: baseline; gap: 8px; color: var(--texto-2); font-size: 14px; }
.contagem b { font: 900 clamp(26px, 3vw, 38px)/1 var(--largo); font-stretch: 125%; color: #fff; }
.rolar { position: absolute; right: var(--g); bottom: 30px; width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 12px; }
.rolar span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--amarelo); animation: rolar 1.8s infinite; }
@keyframes rolar { 60% { transform: translateY(12px); opacity: 0; } }
/* até tablet: legenda e contagem entram no fluxo, embaixo dos botões (nada fica por cima de nada) */
@media (max-width: 1023px) {
  .hero { align-content: end; padding-bottom: 28px; }
  .hero-legenda, .contagem { position: static; }
  .hero-legenda { margin-top: 22px; max-width: 560px; }
  .hero-legenda a { text-align: left; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 12px 16px; }
  .hero-legenda small { grid-column: 1 / -1; }
  .contagem { margin: 22px 0 0; }
  .rolar { display: none; }
}
/* celular: uma ideia por tela — título, frase, dois botões lado a lado e a contagem; o carro em destaque fica para a vitrine */
@media (max-width: 860px) {
  .hero-veu { background: linear-gradient(180deg, rgba(8, 9, 10, .92) 0%, rgba(8, 9, 10, .72) 26%, rgba(8, 9, 10, .3) 42%, rgba(8, 9, 10, .8) 62%, rgba(8, 9, 10, .98) 100%); }
  .pg-inicio .topo > .btn { display: none; }
  /* no celular o topo fica opaco: sem desfoque o título não passa borrado por trás do logo e a rolagem não engasga */
  .topo.solido { background: var(--fundo); backdrop-filter: none; }
  .kicker { background: none; border: 0; padding: 0; backdrop-filter: none; margin-bottom: 16px; font-size: 11px; color: rgba(255, 255, 255, .85); }
  .hero-titulo { font-size: clamp(30px, 8.6vw, 46px); }
  .hero-sub { font-size: 16px; margin: 16px 0 22px; }
  .hero-acoes { flex-wrap: nowrap; gap: 10px; }
  .hero-acoes .btn { flex: 1 1 0; min-width: 0; padding: 0 14px; min-height: 54px; font-size: 15px; }
  .so-largo { display: none; }
  .hero-legenda { display: none; }
  .contagem { margin-top: 26px; gap: 20px; }
  .contagem li { font-size: 13px; gap: 6px; }
  .contagem b { font-size: 22px; }
}

/* ---------- letreiro ---------- */
.letreiro { overflow: hidden; padding: clamp(18px, 3vw, 30px) 0; border-block: 1px solid var(--linha); background: var(--fundo); }
.letreiro-trilho { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); width: max-content; will-change: transform; }
.letreiro span { font: 900 clamp(34px, 7vw, 96px)/1 var(--largo); font-stretch: 125%; font-style: italic; text-transform: uppercase; white-space: nowrap; }
.letreiro .vazado { color: transparent; -webkit-text-stroke: 2px var(--amarelo); }
.letreiro i { color: var(--amarelo); font-style: normal; font-size: clamp(16px, 2.4vw, 30px); }
html:not(.js) .letreiro-trilho, .sem-gsap .letreiro-trilho { animation: correr 30s linear infinite; }
@keyframes correr { to { transform: translateX(-50%); } }

/* ---------- cartões ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; text-decoration: none; transition: border-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { border-color: var(--linha-am); transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(242, 223, 42, .12); }
.card-foto { position: relative; aspect-ratio: 4 / 3; background: #000; overflow: hidden; }
.card-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; }
.card-foto img.alt { opacity: 0; }
.card:hover .card-foto img { transform: scale(1.05); }
.card:hover .card-foto img.alt { opacity: 1; }
.card.vendido .card-foto img { filter: grayscale(.85) brightness(.65); }
.faixas { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 1; }
.card-cod { position: absolute; right: 12px; top: 12px; z-index: 1; font: 700 11px/1 var(--largo); font-stretch: 125%; letter-spacing: .1em; padding: 6px 8px; border-radius: 6px; background: rgba(8, 9, 10, .7); color: rgba(255, 255, 255, .8); }
.faixa { font: 800 11px/1 var(--largo); font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 6px; background: rgba(8, 9, 10, .82); }
.faixa.reservado { background: var(--amarelo); color: #0a0a0a; }
.faixa.vendido { background: var(--vermelho); color: #0a0a0a; }
.faixa.zero { background: var(--amarelo); color: #0a0a0a; }
.card-txt { padding: 16px 18px 18px; display: grid; gap: 4px; flex: 1; align-content: start; }
.card h3 { font-size: 21px; font-weight: 800; }
.card-versao { font-size: 13px; color: var(--texto-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-versao:empty { display: none; }
.card-dados { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--texto-2); margin-top: 4px; }
.card-dados li + li::before { content: "·"; margin-right: 12px; color: var(--linha-am); }
.card-preco { font: 900 26px/1 var(--largo); font-stretch: 125%; color: var(--amarelo); margin-top: 12px; }
.card.vendido .card-preco { color: var(--vermelho); }
.entra { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .9s var(--ease), border-color .3s, box-shadow .5s; }
.entra.visto { opacity: 1; transform: none; }
.entra.visto:hover { transform: translateY(-4px); }

/* ---------- vitrine ---------- */
.vitrine { position: relative; display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; min-height: 100svh; padding-block: calc(var(--topo) + 24px) 48px; overflow: hidden; }
.vitrine-cab { position: relative; z-index: 2; align-self: stretch; display: grid; align-content: center; background: linear-gradient(90deg, var(--fundo) 82%, transparent); margin-right: -40px; padding-right: 40px; }
.vitrine-cab::before { content: ""; position: absolute; z-index: -1; top: -50vh; bottom: -50vh; right: 100%; width: 100vw; background: var(--fundo); }
.vitrine-cab h2 { font-size: clamp(40px, 3.8vw, 64px); font-weight: 900; font-style: italic; }
.vitrine-ajuda { color: var(--texto-2); margin: 18px 0 26px; }
.so-toque { display: none; color: var(--amarelo); }
.vitrine-progresso { height: 3px; background: var(--linha); border-radius: 2px; overflow: hidden; max-width: 240px; }
.vitrine-progresso span { display: block; height: 100%; background: var(--amarelo); transform: scaleX(0); transform-origin: left; }
.vitrine-trilho { display: flex; gap: 20px; overflow: visible; min-width: 0; }
.card-grande { flex: none; width: clamp(300px, 34vw, 480px); }
.card-grande h3 { font-size: clamp(22px, 2vw, 30px); }
.card-grande .card-preco { font-size: clamp(26px, 2.4vw, 36px); }
@media (max-width: 899px), (pointer: coarse) {
  .vitrine { grid-template-columns: 1fr; min-height: 0; padding-block: 64px 40px; }
  .vitrine-cab { background: none; margin: 0; padding: 0; }
  .so-toque { display: inline; }
  .vitrine-trilho { overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--g)); padding-inline: var(--g); scroll-padding-inline: var(--g); scrollbar-width: none; padding-bottom: 6px; }
  .vitrine-trilho::-webkit-scrollbar { display: none; }
  .card-grande { width: min(82vw, 420px); scroll-snap-align: start; }
}

/* ---------- motos | carros ---------- */
.dois { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-inline: 0 !important; }
.dois-lado { position: relative; display: grid; align-content: end; min-height: clamp(380px, 70vh, 720px); padding: clamp(24px, 4vw, 56px); overflow: hidden; text-decoration: none; isolation: isolate; }
.dois-foto { position: absolute; inset: -8% 0; z-index: -2; background: center 72% / cover no-repeat; transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.4) brightness(.6); }
.dois-lado::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(8, 9, 10, .92)); }
.dois-lado:hover .dois-foto { filter: none; transform: scale(1.06); }
.dois-lado h2 { font-size: clamp(44px, 7vw, 110px); font-weight: 900; font-style: italic; }
.dois-ver { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--amarelo); transition: transform .4s var(--ease); }
.dois-lado:hover .dois-ver { transform: translateX(8px); }
.dois-lado + .dois-lado { border-left: 1px solid var(--linha); }
@media (max-width: 760px) {
  .dois { grid-template-columns: 1fr; }
  .dois-lado { min-height: 340px; }
  .dois-lado + .dois-lado { border-left: 0; border-top: 1px solid var(--linha); }
  .dois-foto { filter: grayscale(.2) brightness(.7); }
}

/* ---------- estoque ---------- */
.estoque { padding-block: clamp(64px, 9vw, 120px) 72px; }
.filtros { position: sticky; top: var(--topo); z-index: 10; display: grid; grid-template-columns: auto 1fr 200px 180px; gap: 10px; padding: 12px 0; margin-bottom: 22px; background: var(--fundo); border-bottom: 1px solid var(--linha); }
.seg { display: flex; background: var(--cartao); border: 1px solid var(--linha); border-radius: 999px; padding: 4px; }
.seg button { min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--texto-2); transition: background .25s, color .25s; }
.seg [aria-selected=true] { background: var(--amarelo); color: #0a0a0a; }
.filtros input, .filtros select { width: 100%; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--linha); background: var(--cartao); color: var(--texto); font-size: 16px; }
.filtros input:focus, .filtros select:focus { border-color: var(--amarelo); outline: none; }
@media (max-width: 900px) {
  .filtros { grid-template-columns: 1fr 1fr; }
  .seg, .filtros input { grid-column: 1 / -1; }
  .seg button { flex: 1; }
}
@media (max-width: 640px) { .filtros { position: static; } }
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 18px; }
.vazio, .erro-estoque { text-align: center; padding: 48px 0; color: var(--texto-2); display: grid; gap: 10px; justify-items: center; }
.vazio .btn { margin-top: 8px; }

/* ---------- financiamento ---------- */
.financia { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: clamp(72px, 10vw, 140px); background: var(--amarelo); color: #0a0a0a; overflow: hidden; }
.fin-numero { font: 900 clamp(150px, 26vw, 400px)/.8 var(--largo); font-stretch: 125%; font-style: italic; letter-spacing: -.04em; justify-self: center; display: flex; align-items: flex-start; }
.fin-numero small { font-size: .36em; margin-top: .12em; }
.financia .sobre { color: #0a0a0a; opacity: .7; }
.financia h2 { font-size: clamp(32px, 4.4vw, 64px); font-weight: 900; margin-bottom: 18px; }
.fin-txt > p { font-size: 17px; max-width: 46ch; margin-bottom: 24px; }
.financia .btn-amarelo { background: #0a0a0a; color: var(--amarelo); }
.financia .btn-amarelo:hover { background: #222; }
.financia .nota { font-size: 12px; opacity: .7; margin: 18px 0 0; max-width: 60ch; }
@media (max-width: 760px) { .financia { grid-template-columns: 1fr; } .fin-numero { justify-self: start; } }

/* ---------- como funciona ---------- */
.passos { padding-block: clamp(64px, 9vw, 120px); }
.passos ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.passos li { background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio); padding: 28px; display: grid; gap: 10px; align-content: start; }
.passos li b { font: 900 48px/1 var(--largo); font-stretch: 125%; font-style: italic; color: transparent; -webkit-text-stroke: 1.5px var(--amarelo); }
.passos h3 { font-size: 22px; }
.passos p { color: var(--texto-2); font-size: 15px; }
@media (max-width: 760px) { .passos ol { grid-template-columns: 1fr; } }

/* ---------- loja ---------- */
.loja { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: center; max-width: var(--larg); margin: 0 auto; padding-block: 0 clamp(72px, 10vw, 130px); }
.loja-foto { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--cartao); }
.loja-foto img { width: 100%; height: 116%; object-fit: cover; object-position: 50% 30%; }
.loja h2 { font-size: clamp(34px, 5vw, 68px); font-weight: 900; margin-bottom: 18px; }
.loja-end { font-size: 18px; color: var(--texto-2); }
.loja-hora { font-size: 16px; margin-top: 6px; }
.loja-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 760px) { .loja { grid-template-columns: 1fr; } .loja-foto { aspect-ratio: 4 / 3; } }

/* ---------- rodapé ---------- */
.rodape { padding-block: 40px calc(48px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linha); display: grid; gap: 6px; font-size: 13px; color: var(--texto-2); }
.rodape img { width: 110px; margin-bottom: 10px; opacity: .9; }
.rodape-adm { justify-self: start; margin-top: 10px; font-size: 12px; color: var(--texto-2); opacity: .7; }

.wa-flutuante { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); transition: transform .3s var(--ease), opacity .3s; }
.wa-flutuante.escondido { opacity: 0; transform: scale(.6); pointer-events: none; }
.wa-flutuante:hover { transform: scale(1.08); }
.wa-flutuante .ico-wa { width: 30px; height: 30px; }

/* ---------- página do veículo ---------- */
.pg-veiculo main { padding-top: calc(var(--topo) + 28px); }
.veic { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: clamp(20px, 3vw, 48px); max-width: var(--larg); margin: 0 auto; padding: 28px var(--g) 40px; align-items: start; }
.veic > section { padding-inline: 0; min-width: 0; }
.galeria { display: grid; gap: 10px; min-width: 0; }
.g-palco { position: relative; border-radius: var(--raio); overflow: hidden; background: #000; }
.g-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; }
.g-trilho::-webkit-scrollbar { display: none; }
.g-trilho img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; cursor: zoom-in; }
.g-seta { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(8, 9, 10, .7); color: #fff; font-size: 28px; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.g-seta:hover { background: var(--amarelo); color: #000; }
.g-ant { left: 12px; } .g-prox { right: 12px; }
.g-conta { position: absolute; right: 12px; bottom: 12px; font-size: 13px; font-weight: 600; background: rgba(8, 9, 10, .75); padding: 4px 10px; border-radius: 99px; }
.g-miniaturas { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.g-miniaturas button { flex: none; width: 86px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: .55; transition: opacity .2s; }
.g-miniaturas button.ativo { border-color: var(--amarelo); opacity: 1; }
.g-miniaturas img { width: 100%; height: 100%; object-fit: cover; }
@media (pointer: coarse) { .g-seta { display: none; } }

.v-info { position: sticky; top: calc(var(--topo) + 20px); display: grid; gap: 10px; }
.v-cod { font: 700 12px/1 var(--largo); font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; color: var(--amarelo); }
.v-info h1 { font-size: clamp(32px, 3.5vw, 52px); font-weight: 900; font-style: italic; overflow-wrap: anywhere; padding-right: .1em; }
.v-versao { color: var(--texto-2); font-size: 16px; }
.v-preco { font: 900 clamp(38px, 4.6vw, 56px)/1 var(--largo); font-stretch: 125%; color: var(--amarelo); margin: 8px 0 4px; }
.v-preco.consulte { font-size: 32px; }
.v-preco.vendido { color: var(--vermelho); }
.v-aviso { background: var(--cartao-2); border-left: 3px solid var(--amarelo); padding: 12px 14px; border-radius: 6px; font-size: 14px; }
.v-acoes { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 6px 0 10px; }
.ficha { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--linha); border: 1px solid var(--linha); border-radius: 14px; overflow: hidden; }
.ficha div { background: var(--cartao); padding: 12px 14px; }
.ficha dt { font-size: 11px; color: var(--texto-2); text-transform: uppercase; letter-spacing: .1em; }
.ficha dd { font-weight: 600; font-size: 16px; }
.v-info h2 { font-size: 20px; margin: 16px 0 8px; }
.itens { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.itens li { font-size: 13px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--linha-am); color: var(--amarelo-claro); }
.v-desc { white-space: pre-line; color: var(--texto); font-size: 15px; }
.v-local { font-size: 13px; color: var(--texto-2); margin-top: 12px; }
.outros { grid-column: 1 / -1; padding-top: 40px; min-width: 0; }
.outros .trilho { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 310px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--cartao-2) transparent; }
.outros .trilho > * { scroll-snap-align: start; }
.outros h2 { font-size: clamp(28px, 4vw, 48px); }
.veic .galeria, .veic .v-info { animation: sobe .9s var(--ease) both; }
.veic .v-info { animation-delay: .1s; }
@keyframes sobe { from { opacity: 0; transform: translateY(24px); } }

.barra-fixa { display: none; }
@media (max-width: 860px) {
  .veic { grid-template-columns: minmax(0, 1fr); }   /* minmax(0): sem isso o trilho de "outros" (8 cartões) estica a coluna para ~2300px e a foto vira um zoom gigante */
  .g-trilho img { cursor: default; }
  .outros .trilho { grid-auto-columns: min(78vw, 300px); margin-inline: calc(-1 * var(--g)); padding-inline: var(--g); scroll-padding-inline: var(--g); scrollbar-width: none; }
  .v-acoes { grid-template-columns: 1fr; }
  .v-info h1 { font-size: clamp(26px, 8.6vw, 40px); overflow-wrap: break-word; }
  .v-preco { font-size: clamp(32px, 10vw, 44px); }
  .v-acoes .btn { width: 100%; }
  .pg-veiculo main { padding-top: var(--topo); }
  .galeria { margin-inline: calc(-1 * var(--g)); }
  .g-palco { border-radius: 0; }
  .g-miniaturas { padding-inline: var(--g); }
  .v-info { position: static; }
  .pg-veiculo .rodape { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .barra-fixa { position: fixed; inset: auto 0 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--g) calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 9, 10, .96); border-top: 1px solid var(--linha); backdrop-filter: blur(10px); }
  .barra-fixa[hidden] { display: none; }
  .barra-fixa div { display: grid; min-width: 0; }
  .barra-fixa small { font-size: 12px; color: var(--texto-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .barra-fixa strong { font: 900 clamp(17px, 5.4vw, 22px)/1 var(--largo); font-stretch: 125%; color: var(--amarelo); white-space: nowrap; }
  .barra-fixa .btn { flex: none; padding: 0 clamp(14px, 4vw, 24px); }
}
.pg-veiculo .wa-flutuante { display: none; }

.tela-cheia { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; padding: 0; overflow: hidden; max-width: none; max-height: none; margin: 0; border: 0; background: #000; color: #fff; }
.tela-cheia::backdrop { background: #000; }
html:has(.tela-cheia[open]) { overflow: hidden; }
.tela-cheia .g-trilho img { max-width: 100%; max-height: 100%; }
.tela-cheia .g-trilho { height: 100%; aspect-ratio: auto; }
.tela-cheia .g-trilho img { cursor: default; }
.tc-fechar { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; }

.nao-achei { max-width: 640px; margin: 0 auto; padding: 80px var(--g); display: grid; gap: 16px; }
.nao-achei h1 { font-size: clamp(40px, 8vw, 68px); }
.nao-achei p { color: var(--texto-2); }
.nao-achei .hero-acoes .btn { flex: 0 1 auto; }

/* sem WhatsApp cadastrado os botões vão para a DM do Instagram: tira o ícone do WhatsApp e o botão repetido */
.sem-wa .ico-wa { display: none; }
.sem-wa .wa-flutuante, .sem-wa .loja-acoes [data-contato] { display: none; }

/* ---------- stories do pátio ---------- */
.stories { padding: 30px var(--g) 34px; max-width: var(--larg); margin-inline: auto; display: grid; justify-items: center; gap: 16px; text-align: center; }
.stories-rotulo { display: flex; align-items: center; gap: 10px; font: 700 12px/1.2 var(--largo); font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; color: var(--texto-2); white-space: nowrap; }
.stories-trilho { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; max-width: 100%; }
/* centraliza quando cabe e continua deslizando quando não cabe (justify-content: center cortaria o começo) */
.stories-trilho > :first-child { margin-left: auto; }
.stories-trilho > :last-child { margin-right: auto; }
.stories-trilho::-webkit-scrollbar { display: none; }
.story-bola { flex: none; display: grid; justify-items: center; gap: 8px; width: 84px; }
.sb-anel { width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, var(--amarelo), #ff9f1c, var(--amarelo-claro), var(--amarelo)); transition: transform .3s var(--ease); }
.sb-anel img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--fundo); }
.story-bola:hover .sb-anel { transform: scale(1.06) rotate(-4deg); }
.story-bola.visto .sb-anel { background: rgba(255, 255, 255, .22); }
.sb-nome { font-size: 13px; font-weight: 600; color: var(--texto); white-space: nowrap; }
@media (max-width: 860px) {
  .stories { gap: 12px; padding-block: 22px 26px; }
  .stories-trilho { width: calc(100% + 2 * var(--g)); max-width: none; margin-inline: calc(-1 * var(--g)); padding-inline: var(--g); gap: 14px; }
  .story-bola { width: 74px; }
  .sb-anel { width: 70px; height: 70px; }
}

/* tela cheia */
html.stv-aberto { overflow: hidden; }
.stv { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: rgba(4, 5, 6, .94); color: #fff; overscroll-behavior: contain; }
.stv::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(12px); }
.stv[open] { animation: stv-entra .35s var(--ease); }
@keyframes stv-entra { from { opacity: 0; transform: scale(.94); } }
.stv-palco { position: relative; width: min(100vw, calc(100dvh * 9 / 16)); height: 100dvh; margin: 0 auto; overflow: hidden; background: #000; touch-action: none; user-select: none; transition: transform .25s var(--ease); }
@media (max-width: 699px) { .stv-palco { width: 100vw; } }
@media (min-width: 700px) { .stv-palco { height: min(100dvh - 40px, 860px); width: min(calc((100dvh - 40px) * 9 / 16), 484px); margin-top: max(20px, calc((100dvh - 860px) / 2)); border-radius: 18px; } }
.stv-fundo { position: absolute; inset: -40px; background: center / cover; filter: blur(30px) brightness(.45) saturate(1.3); }
.stv-fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 32%; opacity: 0; transform: scale(1.04); transition: opacity .6s ease, transform 6s linear; }
.stv-fotos img.ativa { opacity: 1; transform: scale(1); }
.stv-palco::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 18%, transparent 50%, rgba(0, 0, 0, .92) 100%); }
.stv-barras { position: absolute; z-index: 3; top: calc(10px + env(safe-area-inset-top)); left: 10px; right: 10px; display: flex; gap: 4px; }
.stv-barras span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.stv-barras i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.stv-cab { position: absolute; z-index: 4; top: calc(22px + env(safe-area-inset-top)); left: 14px; right: 6px; display: flex; align-items: center; gap: 4px; }
.stv-grupo { flex: 1; font: 800 14px/1 var(--largo); font-stretch: 125%; text-transform: uppercase; letter-spacing: .04em; }
.stv-cab button { width: 44px; height: 44px; border-radius: 50%; color: #fff; font-size: 18px; display: grid; place-items: center; }
.stv-pausa::before { content: ""; width: 12px; height: 14px; border-inline: 4px solid #fff; box-sizing: border-box; }
.stv.pausado .stv-pausa::before { width: 0; height: 0; border: 0; border-left: 12px solid #fff; border-block: 7px solid transparent; }
.stv-toque { position: absolute; z-index: 2; top: 0; bottom: 0; }
.stv-ant { left: 0; width: 32%; }
.stv-prox { right: 0; width: 68%; }
.stv-toque:focus-visible { outline-offset: -6px; }
.stv-info { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 18px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 6px; justify-items: start; pointer-events: none; }
.stv-info > * { pointer-events: auto; }
.stv-cod { font: 700 12px/1 var(--largo); font-stretch: 125%; letter-spacing: .2em; color: var(--amarelo); margin-bottom: 4px; }
.stv-info h2 { font-size: clamp(28px, 8vw, 38px); font-weight: 900; font-style: italic; line-height: .95; overflow-wrap: anywhere; }
.stv-dados { color: rgba(255, 255, 255, .78); font-size: 15px; }
.stv-preco { font: 900 34px/1 var(--largo); font-stretch: 125%; color: var(--amarelo); margin: 6px 0 10px; }
.stv-acoes { display: grid; grid-template-columns: 1fr auto; gap: 10px; width: 100%; }
.stv-acoes .btn { min-height: 54px; }

/* ---------- velocímetro do bolso ---------- */
.bolso { max-width: var(--larg); margin-inline: auto; padding-block: clamp(72px, 10vw, 130px) 24px; display: grid; grid-template-columns: 1fr minmax(300px, 520px); grid-template-areas: "txt vel" "rod vel"; gap: 12px clamp(24px, 5vw, 80px); align-items: center; }
.bolso-txt { grid-area: txt; align-self: end; }
.bolso h2 { font-size: clamp(36px, 5.4vw, 76px); font-weight: 900; max-width: 11ch; }
.bolso-ajuda { color: var(--texto-2); font-size: 17px; margin-top: 16px; }
.vel { grid-area: vel; position: relative; }
.vel-svg { display: block; width: 100%; height: auto; touch-action: none; cursor: grab; overflow: visible; user-select: none; -webkit-user-select: none; }
.mexendo .vel-svg { cursor: grabbing; }
.vel-arco { fill: none; stroke: var(--cartao-2); stroke-width: 6; stroke-linecap: round; }
.vel-progresso { fill: none; stroke: var(--amarelo); stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(242, 223, 42, .7)); }
.vel-marcas line { stroke: rgba(255, 255, 255, .16); stroke-width: 2; stroke-linecap: round; transition: stroke .2s; }
.vel-marcas line.m-maior { stroke-width: 4; }
.vel-marcas line.aceso { stroke: var(--amarelo); }
.m-num { fill: var(--texto-2); font: 800 17px var(--largo); font-stretch: 125%; text-anchor: middle; }
.vel-ponteiro { transform-box: view-box; transform-origin: 200px 200px; }
.vel-ponteiro path { fill: var(--amarelo); filter: drop-shadow(0 0 10px rgba(242, 223, 42, .8)); }
.vel-eixo { fill: var(--cartao-2); stroke: var(--amarelo); stroke-width: 3; }
.vel-eixo-in { fill: var(--amarelo); }
.vel-halo { opacity: 0; transition: opacity 1s; }
.ligado .vel-halo { opacity: 1; }
.vel-leitura { position: relative; margin-top: -9%; display: grid; justify-items: center; text-align: center; gap: 4px; pointer-events: none; }
.vel-ate { font-size: 13px; color: var(--texto-2); text-transform: uppercase; letter-spacing: .2em; }
.vel-teto { font: 900 clamp(30px, 4vw, 46px)/1 var(--largo); font-stretch: 125%; font-style: italic; color: #fff; }
.vel-leitura > span { font-size: 15px; color: var(--texto-2); }
.vel-conta { color: var(--amarelo); font: 900 20px/1 var(--largo); font-stretch: 125%; }
.vel-rotulo-sr, .vel-range { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vel:has(.vel-range:focus-visible) .vel-svg { outline: 2px solid var(--amarelo); outline-offset: 6px; border-radius: 20px; }
.vel-rodape { grid-area: rod; align-self: start; display: grid; gap: 18px; justify-items: start; }
.vel-minis { display: flex; min-height: 58px; }
.vel-minis a { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; border: 3px solid var(--fundo); margin-left: -14px; transition: transform .3s var(--ease); animation: mini .35s var(--ease) both; }
.vel-minis a:first-child { margin-left: 0; }
.vel-minis a:hover { transform: translateY(-4px); z-index: 1; }
.vel-minis img { width: 100%; height: 100%; object-fit: cover; }
@keyframes mini { from { opacity: 0; transform: scale(.6); } }
.vel-ver:disabled { opacity: .45; pointer-events: none; }
.tira-teto { font-size: 13px; font-weight: 700; color: var(--amarelo); border: 1px solid var(--linha-am); border-radius: 99px; padding: 4px 12px; margin-left: 6px; }
@media (max-width: 860px) {
  .bolso { grid-template-columns: 1fr; grid-template-areas: "txt" "vel" "rod"; padding-block: 64px 16px; }
  .vel { max-width: 440px; width: 100%; justify-self: center; }
  .vel-rodape { justify-items: center; }
  .vel-rodape .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .entra { opacity: 1; transform: none; }
  .hero-slide.ativo { transform: none; }
}
