/* ==========================================================================
   VIX MOTORS | Folha de estilo
   Menu no padrão André Veículos, estoque no padrão Allcar, vídeos no padrão
   Gatti, rodapé no padrão Avantgarde.
   ========================================================================== */

:root {
  /* dourado do logo (amostrado do arquivo original): fundos, bordas e detalhes */
  --gold: #f0c642;
  --gold-h: #e3b52c;
  /* mesmo tom, mais fechado: texto e ícones sobre fundo claro */
  --gold-text: #9c7608;
  --ink: #111;
  --text: #252c2f;
  --grey: #516067;
  --line: #e3e7e9;
  --soft: #f6f7f8;
  --wa: #25d366;
  --hdr: 70px;
  --font: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "Oswald", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; padding-bottom: 40px; background: #fff; color: var(--text); font-family: var(--font); font-size: 14px; font-weight: 500; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 30px; }

/* ---------- Botões ---------- */
/* ao passar o mouse, a cor de destaque (--fill) enche o botão da esquerda para a direita */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px; border: 1px solid transparent; border-radius: 6px; background: linear-gradient(var(--fill, transparent), var(--fill, transparent)) no-repeat 0 0 / 0% 100%; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; white-space: nowrap; transition: background-size .45s cubic-bezier(.6, 0, .2, 1), background-color .25s, color .25s, border-color .25s; }
.btn:hover { background-size: 100% 100%; }
.btn .i { font-size: 18px; }
.btn--gold { --fill: #fff; background-color: var(--gold); border-color: var(--gold); color: #000; }
.btn--gold:hover { border-color: #fff; }
.btn--wa { background-color: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa:hover { background-color: #1ebe5b; border-color: #1ebe5b; }
.btn--line { --fill: var(--gold); border-color: var(--gold); color: var(--gold-text); }
.btn--line:hover { color: #000; }
.btn--dark { --fill: #2a2a2a; background-color: #000; border-color: #000; color: #fff; }
.btn--block { width: 100%; }
/* botão de canto cortado (padrão Avantgarde) */
.btn-cut { display: inline-flex; align-items: center; justify-content: center; min-width: 231px; height: 48px; padding: 0 28px; background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 0 / 0% 100%; background-color: #221a08; color: var(--gold); font-size: 11.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%); transition: background-size .45s cubic-bezier(.6, 0, .2, 1), color .25s; }
.btn-cut:hover { background-size: 100% 100%; color: #000; }
.btn-cut--solid { background-image: linear-gradient(#fff, #fff); background-color: var(--gold); color: #000; }

/* ---------- Formulários ---------- */
.label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; color: var(--grey); }
.control { width: 100%; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; outline: 0; transition: border-color .2s; }
.control:focus { border-color: var(--gold); }
select.control { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23516067' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 4.5 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 13px center; }
.control:disabled { background-color: var(--soft); color: #9aa3a8; cursor: not-allowed; }
.control[readonly] { background-color: var(--soft); }
textarea.control { height: 96px; padding: 12px 14px; resize: vertical; }
.input-group { display: flex; }
.input-group span { display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--line); border-right: 0; border-radius: 6px 0 0 6px; background: var(--soft); color: var(--grey); font-weight: 600; }
.input-group .control { border-radius: 0 6px 6px 0; }
.ifield { position: relative; }
.ifield .control { padding-right: 42px; }
.ifield .i { position: absolute; right: 14px; top: 15px; font-size: 16px; color: #8a959b; pointer-events: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.checks { display: grid; gap: 8px; margin-top: 4px; }
.checks label, .radios label { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text); cursor: pointer; }
.radios { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px; }
input[type="radio"], input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--gold); }
.range { width: 100%; accent-color: var(--gold); cursor: pointer; }

/* ---------- Cabeçalho (padrão André Veículos) ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .08); }
.hdr__in { display: flex; align-items: center; gap: 56px; height: var(--hdr); padding: 0 40px; }
.hdr__logo img { height: 46px; width: auto; }
.hdr__nav { display: flex; align-items: center; gap: 26px; }
.hdr__link { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 500; letter-spacing: .3px; color: #000; white-space: nowrap; transition: color .2s; }
.hdr__link .i { font-size: 13px; }
.hdr__link:hover, .hdr__link.is-active { color: var(--gold-text); }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 13.5px; font-weight: 500; color: #000; }
.hdr__right > a, .hdr__right > button { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: color .2s; }
.hdr__right > a:hover, .hdr__right > button:hover { color: var(--gold-text); }
.hdr__right .i { font-size: 15px; }
.hdr__sep { width: 1px; height: 14px; background: #cfd4d6; }
.hdr__right .hdr__burger { display: none; width: 40px; height: 40px; place-items: center; font-size: 24px; color: #000; }
.spanel { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 22px 40px 26px; background: #fff; border-top: 1px solid #eef0f1; box-shadow: 0 16px 30px rgba(0, 0, 0, .08); }
.is-search .spanel { display: block; }
.spanel form { display: flex; align-items: center; gap: 16px; max-width: 980px; }
.spanel input { flex: 1; min-width: 0; height: 52px; border: 0; border-bottom: 1px solid #cfd4d6; outline: 0; font-size: 20px; font-weight: 500; color: var(--ink); background: transparent; }
.spanel input:focus { border-color: var(--gold); }
.mnav { display: none; padding: 4px 20px 18px; background: #fff; border-top: 1px solid #eef0f1; }
.mnav a { display: flex; align-items: center; gap: 6px; padding: 14px 0; border-bottom: 1px solid #eef0f1; font-size: 14px; font-weight: 500; color: #000; }
.mnav .btn { margin-top: 16px; display: flex; color: #fff; border-bottom: 0; }

/* ---------- Vídeo do topo ---------- */
.vhero { position: relative; height: min(80vh, 760px); overflow: hidden; background: #000; }
.vhero video { width: 100%; height: 100%; object-fit: cover; }
.vhero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }

/* ---------- Estoque (padrão Allcar) ---------- */
.stock { padding: 28px 0 50px; }
.stock__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 0 30px 22px; }
.stock__title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; color: var(--grey); }
.stock__title b { color: var(--ink); }
.sortbox { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--grey); }
.sortbox .control { width: auto; height: 38px; font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 32px; padding: 0 30px; }
.stock-more { margin-top: 40px; text-align: center; }

/* card de veículo (padrão André Veículos): foto sem moldura, marca, modelo grande, ano/km/câmbio e preço */
.car { position: relative; display: flex; flex-direction: column; min-width: 0; }
.car__foto { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid #1c1c1c; }
.car__galeria { position: absolute; inset: 0; transition: transform 1.5s cubic-bezier(.555, .32, .205, .63); }
.car__galeria img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s cubic-bezier(.5, 0, 0, 1); }
.car__galeria img.is-on.is-loaded { opacity: 1; }
.car__pontos { position: absolute; z-index: 2; right: 10px; bottom: 14px; display: grid; gap: 16px; pointer-events: none; }
.car__pontos i { width: 8px; height: 8px; border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 0 3px rgba(0, 0, 0, .35); transition: background-color .7s cubic-bezier(.5, 0, 0, 1), border-color .7s cubic-bezier(.5, 0, 0, 1); }
.car__pontos i.is-on { background: var(--gold); border-color: var(--gold); }
.car__marca { margin-top: 20px; font-size: clamp(13px, .95vw, 18px); font-weight: 700; letter-spacing: .04em; color: #8d8d8d; }
.car__titulo { margin: 8px 0 12px; font-family: var(--display); font-size: clamp(28px, 2.35vw, 44px); font-weight: 500; line-height: 1.05; text-transform: uppercase; }
.car__titulo a { display: inline-flex; align-items: center; max-width: 100%; color: #fff; }
/* ao passar o mouse, o dourado varre o nome da esquerda para a direita */
.car__titulo span { background-image: linear-gradient(to right, var(--gold) 0, var(--gold) 33%, #fff 66%, #fff 100%); background-size: 300% 100%; background-position: right center; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transition: background-position .7s cubic-bezier(.5, 0, 0, 1); }
.car__titulo .i { flex: none; margin-left: 14px; font-size: .5em; color: var(--gold); opacity: 0; transform: translate(-5px, 5px); transition: opacity .5s cubic-bezier(.5, 0, 0, 1), transform .5s cubic-bezier(.5, 0, 0, 1); }
.car__dados { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: clamp(14px, 1.1vw, 21px); font-weight: 500; color: #8d8d8d; }
.car__preco { margin-top: 14px; font-family: var(--display); line-height: 1; color: var(--gold); }
.car__preco span { margin-right: 5px; font-size: clamp(14px, 1.1vw, 21px); font-weight: 500; letter-spacing: .04em; }
.car__preco strong { font-size: clamp(22px, 1.65vw, 32px); font-weight: 600; letter-spacing: .02em; }
@media (hover: hover) and (min-width: 1024px) {
  .car:hover .car__galeria { transform: scale(1.05); }
  .car:hover .car__titulo span { background-position: left center; }
  .car:hover .car__titulo .i { opacity: 1; transform: none; }
}

/* ---------- Faixa preta (padrão Gatti) ---------- */
.strip { background: #000; }
.strip__in { max-width: 1680px; margin: 0 auto; padding: 0 30px; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.strip p { font-size: 20px; font-weight: 400; color: var(--gold); }

/* ---------- Vídeos verticais (padrão Gatti) ---------- */
.reels { padding: 60px 0 50px; }
.reels__in { max-width: 1680px; margin: 0 auto; padding: 0 28px; }
.reels__list { list-style: none; margin: 0 80px; padding: 0; display: flex; gap: 2px; }
.reel { position: relative; flex: 1; aspect-ratio: 9 / 16; border-radius: 7px; overflow: hidden; background: #111; }
.reel > a { position: absolute; inset: 0; display: block; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__stack { position: absolute; inset: 0; }
.reel__stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; animation: kb 9s ease-in-out infinite alternate; }
.reel__stack img.is-on { opacity: 1; }
.reel:nth-child(2) .reel__stack img { animation-delay: -3s; }
.reel:nth-child(3) .reel__stack img { animation-delay: -6s; }
@keyframes kb { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.reel__avatar { position: absolute; z-index: 2; left: 36px; top: 32px; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold); background: #000 url("../favicon.png") center / cover no-repeat; pointer-events: none; }
.reel__cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78)); color: #fff; pointer-events: none; }
.reel__cap strong { display: block; font-size: 15px; font-weight: 600; text-transform: uppercase; }
.reel__cap span { display: block; font-size: 17px; font-weight: 600; color: var(--gold); }
.reels__foot { margin: 14px 80px 0; font-size: 15px; font-weight: 400; color: #000; }
.reels__foot a { font-weight: 600; transition: color .2s; }
.reels__foot a:hover { color: var(--gold-text); }

/* ---------- Financiamento + avaliação ---------- */
.duo { padding: 70px 0; background: var(--soft); }
.duo__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 34px; color: var(--text); }
.card h2 { font-size: 22px; color: var(--ink); }
.card > p { margin-top: 6px; color: var(--grey); }

.sim__row { margin-top: 20px; }
.sim__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.sim__head .label { margin: 0; }
.sim__head strong { font-size: 14px; color: var(--ink); }
.range-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--grey); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.seg button { height: 42px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--text); transition: all .2s; }
.seg button:hover { border-color: var(--gold); }
.seg button.is-on { background: var(--gold); border-color: var(--gold); color: #000; }
.sim__result { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.sim__result small { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--grey); }
.sim__value { font-size: 30px; font-weight: 600; line-height: 1.2; color: var(--gold-text); }
.sim__value span { font-size: 14px; color: var(--grey); margin-left: 3px; }
.sim__meta { display: grid; gap: 2px; text-align: right; font-size: 12px; color: var(--grey); }
.sim__meta b { color: var(--ink); font-weight: 600; }
.sim .btn { margin-top: 20px; }
.disclaimer { margin-top: 10px; font-size: 11px; line-height: 1.5; color: #8a959b; }

/* ---------- Sobre + contato ---------- */
.about { padding: 70px 0; }
.about__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 50px; align-items: stretch; }
.about h2 { font-size: 22px; color: var(--ink); }
.about__text { margin-top: 10px; color: var(--grey); }
.info { list-style: none; margin: 24px 0 0; padding: 0; }
.info li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.info .i { margin-top: 2px; font-size: 20px; color: var(--gold-text); }
.info small { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--grey); }
.info b { display: block; font-weight: 600; color: var(--ink); }
.hours { display: grid; grid-template-columns: auto auto; gap: 0 16px; justify-content: start; font-size: 13px; color: var(--text); }
.status { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; }
.status.is-open { color: #15803d; }
.status.is-closed { color: #b91c1c; }
.about__ctas { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.map { position: relative; min-height: 440px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--soft); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Faixa "Conheça a Vix" (padrão Avantgarde) ---------- */
.exp { --exp-max: 1240px; background: #151313; color: #fff; overflow: hidden; }
.exp__in { display: flex; align-items: stretch; max-width: var(--exp-max); margin: 0 auto; padding: 0 20px 0 0; }
/* em tela mais larga que a faixa, a foto encosta na borda esquerda da tela, mas nunca passa de 640 px de largura */
.exp__img { flex: 0 0 min(640px, calc(44% + max(0px, (100vw - var(--exp-max)) / 2))); margin-left: min(0px, (var(--exp-max) - 100vw) / 2); min-height: 180px; background: #222 center / cover no-repeat; clip-path: polygon(76px 0, 100% 0, calc(100% - 76px) 100%, 0 100%); filter: grayscale(.9) brightness(.7) contrast(1.05); transition: filter .4s; }
.exp:hover .exp__img { filter: grayscale(.4) brightness(.8); }
.exp__body { flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; gap: 16px 40px; padding: 30px 0 28px 30px; }
.exp__title { font-size: 23px; font-weight: 700; line-height: 1.15; }
.exp__title em { display: block; font-style: italic; }
.exp__desc { max-width: 260px; font-size: 13px; font-weight: 600; line-height: 1.45; color: #e2e2e2; }
.exp__link { grid-column: 1 / -1; display: flex; align-items: center; gap: 46px; font-size: 11px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); }
.exp__link::after { content: ""; flex: 1; height: 1px; background: #4a4545; transition: background-color .3s; }
.exp__link:hover::after { background: var(--gold); }

/* ---------- Rodapé (padrão Avantgarde) ---------- */
.ftr { position: relative; overflow: hidden; background: #000; color: #fff; font-size: 15px; font-weight: 400; }
.ftr__in { position: relative; z-index: 1; max-width: 1175px; margin: 0 auto; padding: 90px 20px 0; }
/* carro do logo ao fundo: branco a 8%, sumindo para baixo e cortado pela borda (no celular fica mais largo que a tela) */
.ftr__marca { position: absolute; z-index: 0; left: 50%; bottom: 0; width: 100%; max-width: none; height: auto; transform: translate(-50%, 30%); opacity: .08; pointer-events: none; user-select: none; -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 92%); mask-image: linear-gradient(to bottom, #000 35%, transparent 92%); }
.ftr__logo { width: 210px; height: auto; }
.ftr__row1 { margin-top: 40px; display: flex; align-items: center; gap: 40px; }
.ftr__slogan { white-space: nowrap; }
.ftr__line { flex: 1; height: 1px; background: #2a2a2a; }
.ftr__row2 { margin-top: 56px; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.ftr__tel { font-size: 20px; transition: color .2s; }
.ftr__addr { margin-top: 12px; line-height: 1.7; }
.ftr__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 38px; }
.ftr a { transition: color .2s; }
.ftr a:hover { color: var(--gold); }
.ftr__bottom { margin-top: 80px; padding: 26px 0 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 10px; letter-spacing: 1px; color: #888; }
.ftr__social { display: flex; gap: 32px; }
.ftr__social a { display: inline-flex; align-items: center; gap: 12px; letter-spacing: 4px; text-transform: uppercase; }
.ftr__social .i { font-size: 19px; color: #aaa; }
.ftr__credit { font-size: 12px; letter-spacing: 0; }
.ftr__credit a { color: #b5b5b5; }

/* ---------- Faixa dourada fixa + aba do WhatsApp (padrão Allcar) ---------- */
.bbar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; height: 40px; display: flex; align-items: center; gap: 28px; padding: 0 30px; background: var(--gold); color: #1f1f1f; font-size: 13px; font-weight: 500; }
.bbar a, .bbar button { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: opacity .2s; }
.bbar a:hover, .bbar button:hover { opacity: .7; }
.bbar .i { font-size: 16px; }
.bbar__right { margin-left: auto; }
.bbar__car { display: none; }
.watab { position: fixed; z-index: 55; right: 0; top: 50%; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; border-radius: 4px 0 0 4px; background: var(--wa); color: #fff; font-size: 24px; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); transition: width .2s; }
.watab:hover { width: 50px; }

/* ---------- Topo das páginas internas ---------- */
.phead { padding: 26px 30px 6px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--grey); }
.crumbs a:hover { color: var(--gold-text); }
.crumbs .i { font-size: 11px; }
.phead h1 { margin-top: 8px; font-size: 24px; color: var(--ink); }

/* ---------- Página de estoque ---------- */
.fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 30px 6px; }
.fbar .control { width: auto; height: 42px; font-size: 13px; }
.fbar .fbar__q { width: 240px; }
.fbar__clear { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--gold-text); }
.fbar__clear:hover { color: var(--ink); }
.fbar-toggle { display: none; }
.empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; border: 1px solid var(--line); border-radius: 10px; }
.empty h3 { font-size: 18px; color: var(--ink); }
.empty p { max-width: 460px; margin: 8px auto 20px; color: var(--grey); }
.empty div { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   Página do veículo
   ========================================================================== */
/* faixa de fotos de ponta a ponta (padrão Gatti) */
.sg { position: relative; background: #0d0d0d; }
.sg__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.sg__track::-webkit-scrollbar { display: none; }
.sg__item { position: relative; flex: 0 0 25%; aspect-ratio: 4 / 3; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; background: #1a1a1a; }
.sg__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; }
.sg__item:hover img { transform: scale(1.04); filter: brightness(1.06); }
.sg__btn { position: absolute; z-index: 2; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #111; font-size: 18px; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); transition: transform .2s, opacity .2s; }
.sg__btn:hover { transform: scale(1.08); }
.sg__btn:disabled { opacity: 0; pointer-events: none; }
.sg__btn--prev { left: 20px; }
.sg__btn--next { right: 20px; }
.sg__all { position: absolute; z-index: 2; right: 20px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 4px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 12px; font-weight: 600; }
.sg__all:hover { background: #000; }

.vd { max-width: 1320px; margin: 0 auto; padding: 34px 30px 80px; display: grid; grid-template-columns: minmax(0, 1fr) 370px; grid-template-areas: "top aside" "rest aside"; gap: 0 60px; }
.vd__head { grid-area: top; }
.vd__aside { grid-area: aside; }
.vd__rest { grid-area: rest; }
.vd .crumbs { margin-bottom: 22px; }
.vd__titlebar { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.vd__brand { font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-text); }
.vd__model { margin-top: 6px; font-family: var(--display); font-size: 64px; font-weight: 600; line-height: 1; letter-spacing: .5px; text-transform: uppercase; color: var(--ink); }
.vd__ver { margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #6b7479; }
.vd__share { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); font-size: 18px; transition: border-color .2s, color .2s; }
.vd__share:hover { border-color: var(--gold); color: var(--gold-text); }
.vd__specs { margin-top: 30px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vd__specs div { padding: 16px 8px; text-align: center; }
.vd__specs div + div { border-left: 1px solid var(--line); }
.vd__specs small { display: block; font-size: 11px; color: var(--grey); }
.vd__specs b { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }

.vtabs { position: sticky; top: var(--hdr); z-index: 5; margin-top: 40px; display: flex; gap: 36px; background: #fff; border-bottom: 1px solid var(--line); }
.vtabs a { margin-bottom: -1px; padding: 16px 0; border-bottom: 2px solid transparent; font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #9aa3a8; transition: color .2s, border-color .2s; }
.vtabs a:hover { color: var(--ink); }
.vtabs a.is-on { color: var(--ink); border-color: var(--gold); }
.vsec { padding-top: 50px; }
.vhead { margin-bottom: 22px; }
.vhead h2 { font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: .3px; text-transform: uppercase; color: var(--ink); }
.vhead p { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--gold-text); }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pgrid button { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #eef0f1; }
.pgrid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pgrid button:hover img { transform: scale(1.05); }
.slist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 50px; }
.slist div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.slist span { color: var(--grey); }
.slist b { font-weight: 600; color: var(--ink); text-align: right; }
.vtext { max-width: 760px; font-size: 14.5px; line-height: 1.85; color: var(--text); }

/* coluna fixa de preço e mensagem (padrão Gatti) */
.vbox { position: sticky; top: calc(var(--hdr) + 26px); padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 40px rgba(0, 0, 0, .06); }
.vbox__price { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.vbox__price strong { font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--ink); }
.vbox__wa { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; font-size: 24px; transition: transform .2s; }
.vbox__wa:hover { transform: scale(1.06); }
.vbox__inst { margin-top: 6px; font-size: 12.5px; color: var(--grey); }
.vbox__inst a { color: var(--gold-text); font-weight: 600; text-decoration: underline; }
.vbox h3 { margin: 24px 0 12px; font-size: 14px; color: var(--ink); }
.vbox form { display: grid; gap: 10px; }
.vbox .checks { margin: 4px 0 6px; }
.vbox__store { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 12.5px; color: var(--grey); }
.vbox__store a, .vbox__store span { display: flex; gap: 8px; align-items: flex-start; }
.vbox__store a:hover { color: var(--ink); }
.vbox__store .i { margin-top: 2px; font-size: 15px; color: var(--gold-text); }
.vbox__store .vbox__rate .i { color: var(--gold-h); }
.vbox__store .vbox__rate span { display: inline; }
.vbox__rate b { font-weight: 600; color: var(--ink); }
.vbox__pdf { margin-top: 10px; }
.vbox__pdf:disabled { opacity: .6; cursor: progress; }

/* bloco preto de financiamento (padrão André) */
.dream { padding: 90px 0; background: #0b0b0b; color: #fff; }
.dream__in { max-width: 1320px; margin: 0 auto; padding: 0 30px; display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 70px; align-items: center; }
.dream__k { font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); }
.dream__txt h2 { margin-top: 14px; font-family: var(--display); font-size: 64px; font-weight: 600; line-height: 1; text-transform: uppercase; }
.dream__txt p { margin-top: 20px; max-width: 470px; font-size: 15px; line-height: 1.7; color: #b9b9b9; }
.dream .btn-cut { margin-top: 32px; }

/* outros modelos (padrão Avantgarde) */
.others { padding: 90px 0 60px; }
.others__head { max-width: 1320px; margin: 0 auto 40px; padding: 0 30px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.others__k { font-size: 22px; font-weight: 400; color: var(--ink); }
.others h2 { font-family: var(--display); font-size: 56px; font-weight: 600; line-height: 1; text-transform: uppercase; color: var(--ink); }
.others__txt { max-width: 340px; font-size: 13px; line-height: 1.7; color: var(--grey); }
.others__txt b { display: block; margin-bottom: 4px; color: var(--ink); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 150; display: none; grid-template-rows: auto 1fr auto; background: rgba(0, 0, 0, .95); color: #fff; }
.lb.is-open { display: grid; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-size: 13px; }
.lb__btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; }
.lb__btn:hover { background: var(--gold); color: #000; }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 80px; touch-action: pan-y; }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb__stage .lb__btn { position: absolute; top: 50%; margin-top: -22px; }
.lb__prev { left: 20px; }
.lb__next { right: 20px; }
.lb__cap { padding: 12px 20px 20px; text-align: center; font-size: 13px; color: #bbb; }
.toast { position: fixed; z-index: 160; left: 50%; bottom: 56px; transform: translateX(-50%); padding: 10px 18px; border-radius: 6px; background: #000; color: #fff; font-size: 13px; display: none; }
.toast.is-on { display: block; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1360px) {
  .hdr__in { gap: 40px; padding: 0 30px; }
  .hdr__nav { gap: 20px; }
}

@media (max-width: 1199px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reels__list, .reels__foot { margin-left: 0; margin-right: 0; }
  .sg__item { flex-basis: 33.3333%; }
  .vd { grid-template-columns: minmax(0, 1fr) 330px; gap: 0 40px; }
  .vd__specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vd__specs div:nth-child(4) { border-left: 0; }
  .vd__specs div:nth-child(n + 4) { border-top: 1px solid var(--line); }
}

@media (max-width: 1180px) {
  :root { --hdr: 64px; }
  .hdr__in { gap: 16px; padding: 0 20px; }
  .hdr__logo img { height: 40px; }
  .hdr__nav { display: none; }
  .hdr__right .hide-m { display: none; }
  .hdr__right .hdr__sep { display: none; }
  .hdr__right .hdr__burger { display: grid; }
  .is-menu .mnav { display: block; }
  .spanel { padding: 16px 20px 20px; }
}

@media (max-width: 1080px) {
  .duo__in, .about__in, .dream__in { grid-template-columns: minmax(0, 1fr); }
  .vd { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "aside" "rest"; }
  .vbox { position: static; margin-top: 30px; }
  .dream__in { gap: 40px; }
  .others__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .exp__img { flex-basis: 40%; }
}

@media (max-width: 899px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 20px; padding: 0 20px; }
  .strip__in { flex-direction: column; justify-content: center; padding: 22px 20px; text-align: center; }
  .strip p { font-size: 17px; }
  .reels__list { overflow-x: auto; gap: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .reels__list::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 62%; scroll-snap-align: start; }
  .reel__avatar { left: 16px; top: 16px; width: 48px; height: 48px; }
  .fbar-toggle { display: inline-flex; }
  .fbar { display: none; }
  .fbar.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fbar.is-open .control, .fbar.is-open .fbar__q { width: 100%; }
  .fbar.is-open .fbar__q { grid-column: 1 / -1; }
  .sg__item { flex-basis: 50%; }
  .vd__model { font-size: 48px; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slist { grid-template-columns: minmax(0, 1fr); }
  .dream__txt h2, .others h2 { font-size: 46px; }
  .exp__in { flex-direction: column; padding: 0; }
  .exp__img { flex: none; height: 190px; clip-path: none; }
  .exp__body { grid-template-columns: minmax(0, 1fr); padding: 26px 20px 30px; }
  .ftr__in { padding-top: 60px; }
  .ftr__row1 { flex-direction: column; align-items: flex-start; gap: 22px; }
  .ftr__line { display: none; }
  .ftr__row2 { flex-direction: column; gap: 30px; margin-top: 40px; }
  .ftr__links { justify-content: flex-start; gap: 12px 26px; }
  .ftr__bottom { flex-direction: column; align-items: flex-start; margin-top: 50px; }
  .ftr__marca { width: 190vw; }
}

@media (max-width: 599px) {
  .wrap { padding: 0 16px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 44px; padding: 0 16px; }
  .stock__head, .phead, .fbar { padding-left: 16px; padding-right: 16px; }
  .reels__in { padding: 0 16px; }
  .reel { flex-basis: 78%; }
  .duo, .about { padding: 44px 0; }
  .card { padding: 22px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .map { min-height: 320px; }
  .hdr__right .hdr__btxt { display: none; }
  .sg__item { flex-basis: 88%; }
  .sg__btn { display: none; }
  .vd { padding: 24px 16px 50px; }
  .vd__model { font-size: 40px; }
  .vd__specs b { font-size: 13px; }
  .vtabs { gap: 22px; overflow-x: auto; scrollbar-width: none; }
  .vtabs::-webkit-scrollbar { display: none; }
  .vtabs a { white-space: nowrap; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .vbox { padding: 20px; }
  .dream { padding: 60px 0; }
  .dream__in, .others__head { padding: 0 16px; }
  .dream__txt h2, .others h2 { font-size: 38px; }
  .others { padding: 60px 0 40px; }
  .btn-cut { width: 100%; }
  .lb__stage { padding: 0 8px; }
  .lb__stage .lb__btn { display: none; }
  .bbar { gap: 18px; padding: 0 16px; font-size: 12px; }
  .bbar .bbar__right { display: none; }
  /* página do veículo: a faixa dourada vira preço + interesse */
  .is-car .bbar > :not(.bbar__car) { display: none; }
  .is-car .bbar__car { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 12px; }
  .is-car .bbar { height: 56px; }
  .is-car .watab { display: none; }
  .is-car { padding-bottom: 56px; }
  .bbar__car strong { font-size: 18px; font-weight: 700; }
  .bbar__car .btn { height: 38px; padding: 0 16px; font-size: 12px; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel__stack img { animation: none; }
  .sg__track { scroll-behavior: auto; }
}

/* ---------- Fotos: espaço reservado com brilho suave e entrada em fade ---------- */
.car__foto, .pgrid button { background: linear-gradient(100deg, #eceff0 30%, #f6f7f8 50%, #eceff0 70%) 0 0 / 300% 100%; animation: brilho 1.6s ease-in-out infinite; }
.sg__item { background: linear-gradient(100deg, #161616 30%, #222 50%, #161616 70%) 0 0 / 300% 100%; animation: brilho 1.6s ease-in-out infinite; }
@keyframes brilho { from { background-position: 100% 0; } to { background-position: 0 0; } }
.car__foto:has(img.is-loaded), .pgrid button:has(img.is-loaded), .sg__item:has(img.is-loaded) { animation: none; }
.sg__item img, .pgrid img, #lb-img { opacity: 0; transition: opacity .6s ease, transform .6s ease; }
.sg__item img.is-loaded, .pgrid img.is-loaded, #lb-img.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .car__foto, .pgrid button, .sg__item { animation: none; }
  .car__galeria, .car__galeria img, .sg__item img, .pgrid img, #lb-img { transition: none; }
}

/* ---------- Itens do veículo e condições ---------- */
.igroups { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.igroup { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.igroup h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.igroup h3 .i { font-size: 20px; color: var(--gold-text); }
.igroup h3 small { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--grey); }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.clist li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.4; color: var(--text); }
.clist .i { flex: none; margin-top: 1px; font-size: 15px; stroke-width: 2.4; color: var(--gold-text); }
.attrs { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.attrs:empty { display: none; }
.attrs span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.attrs .i { font-size: 17px; color: var(--gold-text); }
@media (max-width: 599px) {
  .vsec { padding-top: 40px; }
  .vhead h2 { font-size: 26px; }
  .igroup { padding: 18px; }
  .attrs span { height: 36px; padding: 0 12px; font-size: 12.5px; }
}

/* ==========================================================================
   Efeitos (06/10/2026): menu que encolhe, entrada ao rolar e foto ampliada
   que nasce da miniatura (os botões que enchem de dourado ficam lá em cima)
   ========================================================================== */
/* menu fixo que encolhe ao descer a página; o corpo reserva a altura cheia para nada pular */
:root { --hdr-max: 70px; }
body { padding-top: var(--hdr-max); }
.hdr { position: fixed; left: 0; right: 0; top: 0; transition: box-shadow .3s; }
.hdr__in { transition: height .3s ease; }
.hdr__logo img { transition: height .3s ease; }
html.is-scrolled { --hdr: 58px; }
/* com o menu fixo, o menu do celular rola por dentro quando não cabe na tela (celular deitado) */
.mnav { max-height: calc(100vh - var(--hdr)); max-height: calc(100dvh - var(--hdr)); overflow-y: auto; overscroll-behavior: contain; }
.is-scrolled .hdr__logo img { height: 38px; }
@media (max-width: 1180px) {
  :root { --hdr-max: 64px; }
  html.is-scrolled { --hdr: 56px; }
  .is-scrolled .hdr__logo img { height: 34px; }
}

/* entrada ao rolar (a classe .rv só é posta pelo app.js no que está abaixo da tela).
   Não usar em elemento que já tenha "animation" própria: uma regra anula a outra e ele some. */
.rv { opacity: 0; }
.rv.is-in { animation: rv-sobe .8s cubic-bezier(.2, .65, .25, 1) var(--rv-d, 0ms) both; }
@keyframes rv-sobe { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }

/* foto ampliada: cópia que voa da miniatura até o centro */
.lb-voo { position: fixed; z-index: 151; object-fit: cover; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .hdr__in, .hdr__logo img { transition: none; }
}

/* ==========================================================================
   Tema preto (pedido em 06/10/2026). Separado de propósito: para voltar ao
   claro, apagar este bloco e voltar o logo do cabeçalho para logo-vix-escuro.svg.
   ========================================================================== */
:root {
  color-scheme: dark;
  --gold-text: #f0c642;
  --ink: #fff;
  --text: #cfcfcf;
  --grey: #8d8d8d;
  --line: #262626;
  --soft: #121212;
  --bg: #0b0b0b;
  --panel: #141414;
}
body { background: var(--bg); }
::selection { background: var(--gold); color: #000; }

/* cabeçalho */
.hdr { background: rgba(0, 0, 0, .9); box-shadow: 0 1px 0 #1c1c1c; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.is-scrolled .hdr { box-shadow: 0 1px 0 #1c1c1c, 0 12px 30px rgba(0, 0, 0, .55); }
.hdr__link, .hdr__right, .hdr__right .hdr__burger { color: #fff; }
.hdr__sep { background: #333; }
.spanel, .mnav { background: #0b0b0b; border-top-color: #1f1f1f; }
.spanel { box-shadow: 0 16px 30px rgba(0, 0, 0, .5); }
.spanel input { border-bottom-color: #333; }
.mnav a { color: #fff; border-bottom-color: #1f1f1f; }

/* formulários */
.control { background-color: #101010; border-color: #2a2a2a; }
.control::placeholder { color: #6f6f6f; }
select.control { background-color: #101010; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%238d8d8d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 4.5 4 4 4-4'/%3E%3C/svg%3E"); }
.control:disabled, .control[readonly] { background-color: #161616; color: #9a9a9a; }
.input-group span { background: #1a1a1a; }
.ifield .i { color: #6f6f6f; }
.disclaimer { color: #777; }

/* estoque e seções da página inicial */
.strip { border-top: 1px solid #1c1c1c; border-bottom: 1px solid #1c1c1c; }
.reels__foot { color: var(--text); }
.duo { background: #111; }
.card { background: var(--panel); }
.status.is-open { color: #4ade80; }
.status.is-closed { color: #f87171; }
.map iframe { filter: grayscale(1) invert(.9) contrast(.95); }
.toast { background: #1c1c1c; border: 1px solid #333; }

/* página do carro */
.vd__ver { color: #9a9a9a; }
.vtabs { background: var(--bg); }
.vtabs a { color: #6f6f6f; }
.vbox { background: var(--panel); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); }
.igroup { background: var(--panel); }
.attrs span { background: #161616; }
.dream { background: #000; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; }

/* espaço reservado das fotos enquanto carregam */
.car__foto, .pgrid button { background-color: #161616; background-image: linear-gradient(100deg, #161616 30%, #222 50%, #161616 70%); }

/* ---------- Entrada com o logo: o carro entra da esquerda e depois o nome se preenche (movimento no app.js) ----------
   Só na página inicial, uma vez por visita. html.tem-intro cobre a tela desde a primeira pintura.
   Nome diferente de propósito: ".intro" é só a tela da entrada (se o <html> também fosse .intro, as regras abaixo desmontariam a página). */
/* trava a rolagem, mas guarda o espaço da barra para o site não pular para o lado quando ela voltar */
html.tem-intro { scrollbar-gutter: stable; background: #000; }
html.tem-intro body { overflow: hidden; }
html.tem-intro body::after { content: ""; position: fixed; inset: 0; z-index: 199; background: #000; }
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; overflow: hidden; background: #000; transition: opacity 1s cubic-bezier(.5, 0, 0, 1); }
.intro__logo { position: relative; width: min(640px, 84vw); aspect-ratio: 2310 / 740; transition: transform 1s cubic-bezier(.5, 0, 0, 1), opacity 1s cubic-bezier(.5, 0, 0, 1); }
.intro__carro, .intro__nome { position: absolute; top: 0; bottom: 0; left: 0; will-change: transform; }
.intro__carro { right: 0; }
/* o nome fica numa janela 60 px mais larga que o logo, com a borda direita esfumada */
.intro__nome { right: -60px; overflow: hidden; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 50px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 50px), transparent); }
.intro__nome > div { position: absolute; inset: 0; will-change: transform; }
.intro svg { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; }
.intro__nome svg { width: calc(100% - 60px); }
.intro.is-out { opacity: 0; pointer-events: none; }
.intro.is-out .intro__logo { transform: scale(1.12); opacity: 0; }

/* ---------- Telas grandes ----------
   O estoque, a faixa de fotos do carro e os outros modelos já ocupam a tela inteira. Em monitor
   grande, as colunas de conteúdo (simulação, sobre, faixa da loja, rodapé, página do carro)
   crescem junto para não sobrar faixa vazia dos lados. O estoque fica sempre com 4 carros por fileira. */
/* a partir de 1440 px, rodapé e faixa da loja acompanham a largura das outras seções */
@media (min-width: 1440px) {
  .ftr__in { max-width: 1400px; }
  .exp { --exp-max: 1400px; }
}
@media (min-width: 1800px) {
  .wrap { max-width: 1640px; }
  .vd, .dream__in, .others__head { max-width: 1640px; }
  .vd { grid-template-columns: minmax(0, 1fr) 400px; gap: 0 80px; }
  .strip__in, .reels__in { max-width: 1640px; }
  .reels__list, .reels__foot { margin-left: 0; margin-right: 0; }
  .exp { --exp-max: 1640px; }
  .ftr__in { max-width: 1640px; }
}
@media (min-width: 2300px) {
  .wrap, .vd, .dream__in, .others__head, .strip__in, .reels__in, .ftr__in { max-width: 1840px; }
  .exp { --exp-max: 1840px; }
  .sg__item { flex-basis: 20%; }
}

/* ---------- Ficha em PDF (só aparece na impressão) ---------- */
#ficha-pdf { display: none; }
@media print {
  @page { size: A4; margin: 10mm; }
  html, body { margin: 0 !important; padding: 0 !important; background: #fff !important; }
  body > *:not(#ficha-pdf) { display: none !important; }
  :root { color-scheme: light; }
  #ficha-pdf { --gold-text: #9c7608; display: block; color: #111; font-size: 10pt; line-height: 1.45; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .fp__top { display: flex; justify-content: space-between; align-items: center; gap: 8mm; padding-bottom: 3.5mm; border-bottom: .6mm solid var(--gold); }
  .fp__top img { height: 11.5mm; width: auto; }
  .fp__top div { text-align: right; font-size: 8.5pt; color: #444; }
  .fp__top b { display: block; font-size: 12pt; color: #111; }
  .fp__title { margin-top: 5mm; }
  .fp__title small { font-size: 9pt; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-text); }
  .fp__title h1 { font-family: var(--display); font-size: 27pt; font-weight: 600; line-height: 1; text-transform: uppercase; }
  .fp__title p { margin-top: 1.5mm; font-size: 10pt; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: #555; }
  .fp__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2mm 6mm; margin-top: 3mm; }
  .fp__price strong { font-size: 20pt; font-weight: 600; }
  .fp__price span { font-size: 9.5pt; color: #555; }
  .fp__fotos { margin-top: 4mm; display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 16.5mm; gap: 2mm; }
  .fp__fotos img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.5mm; }
  .fp__fotos img:first-child { grid-row: span 3; }
  #ficha-pdf h2 { margin: 5mm 0 2mm; font-family: var(--display); font-size: 13pt; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; break-after: avoid; }
  .fp__ficha { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8mm; }
  .fp__ficha div { display: flex; justify-content: space-between; gap: 4mm; padding: 1.1mm 0; border-bottom: .3mm solid #ddd; font-size: 9pt; }
  .fp__ficha span { color: #555; }
  .fp__ficha b { font-weight: 600; text-align: right; }
  .fp__cond { margin-top: 3mm; display: flex; flex-wrap: wrap; gap: 2mm; }
  .fp__cond span { padding: 1mm 3mm; border: .3mm solid #ccc; border-radius: 1mm; font-size: 8.5pt; font-weight: 600; }
  .fp__itens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5mm; break-inside: avoid; }
  .fp__itens h3 { font-size: 10pt; font-weight: 600; }
  .fp__itens ul { margin: 1.5mm 0 0; padding-left: 4mm; font-size: 8.5pt; }
  .fp__itens li { margin-bottom: .4mm; line-height: 1.35; }
  .fp__foot { margin-top: 5mm; padding-top: 2.5mm; border-top: .3mm solid #ccc; font-size: 7.5pt; color: #666; break-inside: avoid; }
  .fp__foot p + p { margin-top: 1mm; }
}
