/* Vitrine pública — Pátio
   Tipografia: Archivo (eixo de largura). Larga e pesada para nomes de carro e preço,
   largura normal para leitura. Cor da marca vem da loja (--accent). */

:root {
  --paper: #f3f4f6;
  --surface: #ffffff;
  --ink: #15181c;
  --ink-2: #3a4049;
  --muted: #646c76;
  --line: #d9dde2;
  --line-2: #e8eaee;
  --good: #11744a;
  --warn: #9a5800;
  --scrim: rgba(10, 12, 15, .62);
  --radius: 6px;
  --radius-l: 10px;
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 40px);
  --head-h: 64px;
  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --paper: #101215;
  --surface: #181b1f;
  --ink: #eceef1;
  --ink-2: #c9ced4;
  --muted: #98a0aa;
  --line: #2b3037;
  --line-2: #22262c;
  --good: #4cc38a;
  --warn: #f0a648;
  --scrim: rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--f); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.i { flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: var(--radius); z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pre { white-space: pre-line; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Tipos ---------- */
.display, .display-s, .hero-title, .v-title, .h2 {
  font-stretch: 125%; font-weight: 800; letter-spacing: -.012em; line-height: .98; margin: 0;
}
.display { font-size: clamp(2.6rem, 7vw, 4.8rem); }
.display-s { font-size: clamp(2rem, 5vw, 3rem); }
.h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 112%; margin: 0 0 .9rem; letter-spacing: -.005em; }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.45; color: var(--ink-2); max-width: 38ch; margin: 0; }
.fine { font-size: .82rem; color: var(--muted); line-height: 1.45; margin: .6rem 0 0; }

/* ---------- Botões ---------- */
.btn {
  --b-bg: var(--surface); --b-fg: var(--ink); --b-bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: 0 1.15rem; border-radius: var(--radius);
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
  font-weight: 600; font-stretch: 105%; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: filter .15s, background-color .15s, border-color .15s;
}
.btn:hover { filter: brightness(.96); }
.btn:active { filter: brightness(.9); }
.btn[disabled] { opacity: .65; cursor: default; filter: none; }
.btn-accent { --b-bg: var(--accent); --b-fg: var(--on-accent); --b-bd: var(--accent); }
.btn-ghost { --b-bg: transparent; }
.btn-ghost:hover { --b-bd: var(--ink); filter: none; }
.btn-light { --b-bg: #fff; --b-fg: #15181c; --b-bd: #fff; }
.btn-sm { min-height: 38px; padding: 0 .85rem; font-size: .93rem; }
.btn-lg { min-height: 56px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.linkish {
  display: inline-flex; align-items: center; gap: .45rem; background: none; border: 0; padding: .35rem 0;
  color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; cursor: pointer;
}
.linkish:hover { color: var(--ink); text-decoration-color: currentColor; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; cursor: pointer; color: var(--ink-2); }
.icon-btn:hover { background: var(--line-2); color: var(--ink); }

/* ---------- Topo ---------- */
.top {
  position: sticky; top: 0; z-index: 40; height: var(--head-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.top-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; text-decoration: none; min-width: 0; }
.brand-logo { height: 36px; width: auto; max-width: 180px; object-fit: contain; }
.brand-name { font-stretch: 125%; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-nav { display: flex; align-items: center; gap: 1.4rem; }
.top-nav > a:not(.btn) { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.top-nav > a:not(.btn):hover { color: var(--ink); }
@media (max-width: 640px) {
  .top-nav > a:not(.btn) { display: none; }
}

/* ---------- Hero: o carro em destaque ---------- */
.hero { position: relative; background: #0e1013; }
.hero-link { display: block; color: #fff; text-decoration: none; position: relative; }
.hero-ph { position: relative; height: min(84svh, 780px); min-height: 420px; overflow: hidden; }
.hero-ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 12, 0) 38%, rgba(8, 10, 12, .35) 62%, rgba(8, 10, 12, .86) 100%);
}
.hero-cap { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(28px, 6vh, 64px); z-index: 1; }
.hero-title { font-size: clamp(3rem, 10.5vw, 9rem); line-height: .86; letter-spacing: -.025em; max-width: 12ch; text-wrap: balance; }
.hero-ver { margin: .9rem 0 0; font-size: clamp(1rem, 1.8vw, 1.2rem); color: rgba(255, 255, 255, .82); line-height: 1.4; }
.hero-price { margin: .6rem 0 1.3rem; font-stretch: 118%; font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-variant-numeric: tabular-nums; }
.hero-link:hover .btn-light { filter: brightness(.94); }
/* No celular a foto aparece inteira (4:3) e o texto vem logo abaixo, sem cortar o carro */
@media (max-width: 700px) {
  .hero-ph { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .hero-ph::after { background: linear-gradient(180deg, rgba(8, 10, 12, 0) 70%, #0e1013 100%); }
  .hero-cap { position: static; padding-top: .4rem; padding-bottom: 28px; }
  .hero-title { font-size: clamp(2.6rem, 13vw, 3.6rem); }
}

/* ---------- Apresentação da loja ---------- */
.intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; padding-top: clamp(40px, 7vw, 80px); padding-bottom: 8px; }
.intro-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; color: var(--muted); }
.intro-facts li { display: flex; gap: .55rem; align-items: center; }
.intro-solo { padding-top: clamp(48px, 9vw, 110px); padding-bottom: 8px; display: grid; gap: 1.2rem; }

/* ---------- Estoque ---------- */
.stock { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.stock-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.stock-count { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }

.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 1rem; padding: 0 var(--gut) 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.05rem; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 500; background: var(--surface);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.filters { margin-bottom: 2rem; }
.filters-row { display: grid; grid-template-columns: 1fr auto auto; gap: .6rem; align-items: start; }
.search {
  display: flex; align-items: center; gap: .6rem; min-height: 46px; padding: 0 .9rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted);
}
.search:focus-within { border-color: var(--ink); }
.search input { border: 0; outline: 0; background: none; width: 100%; min-width: 0; color: var(--ink); height: 44px; }
.more { position: relative; }
.more > summary { list-style: none; }
.more > summary::-webkit-details-marker { display: none; }
.more[open] > summary { border-color: var(--ink); }
.more-grid {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: min(560px, 92vw);
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; padding: 1.1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: 0 18px 48px -18px rgba(10, 14, 20, .35);
}
.fld { display: grid; gap: .3rem; font-size: .9rem; color: var(--muted); }
.fld > span em { font-style: normal; opacity: .8; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 46px; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); font-size: 1rem;
}
.fld textarea { min-height: 88px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.fld-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.clear { display: inline-block; margin-top: .7rem; color: var(--muted); font-size: .92rem; }
@media (max-width: 720px) {
  .filters-row { grid-template-columns: 1fr auto; }
  .filters-row > .btn-accent { grid-column: 1 / -1; }
  .more { position: static; }
  .more-grid { position: static; width: auto; margin-top: .6rem; grid-template-columns: 1fr 1fr; box-shadow: none; grid-column: 1 / -1; }
  .filters-row:has(.more[open]) { grid-template-columns: 1fr; }
}

/* Lista de carros: foto grande e texto direto no papel, sem cartão */
.cars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(28px, 4vw, 48px) clamp(16px, 2.4vw, 32px); }
.car-link { display: block; text-decoration: none; color: inherit; }
.car-ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--line-2); }
.car-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.car-link:hover .car-ph img { transform: scale(1.03); }
.ph-empty { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); }
.ph-count {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: .3rem;
  padding: .2rem .5rem; border-radius: 4px; background: rgba(10, 12, 15, .62); color: #fff; font-size: .78rem; font-variant-numeric: tabular-nums;
}
.badge { position: absolute; left: 10px; top: 10px; padding: .28rem .6rem; border-radius: 4px; font-size: .82rem; font-weight: 600; }
.badge-res { background: #f5c242; color: #2a1d00; }
.car-body { padding-top: .95rem; }
.car-title { margin: 0; font-stretch: 118%; font-weight: 750; font-size: 1.3rem; line-height: 1.1; letter-spacing: -.01em; }
.car-ver { margin: .2rem 0 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.specline { list-style: none; margin: .55rem 0 0; padding: 0; display: flex; flex-wrap: wrap; color: var(--ink-2); font-size: .93rem; font-variant-numeric: tabular-nums; }
.specline li + li::before { content: ""; display: inline-block; width: 1px; height: .85em; background: var(--line); margin: 0 .65rem; vertical-align: -1px; }
.car-price { margin: .55rem 0 0; font-stretch: 118%; font-weight: 750; font-size: 1.5rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

.empty { padding: 2.5rem 0; max-width: 44ch; }
.empty-t { font-size: 1.25rem; font-weight: 650; margin: 0 0 .4rem; color: var(--ink); }
.empty p { color: var(--muted); }

/* ---------- Página do veículo ---------- */
.crumbs { padding-top: 1rem; padding-bottom: .9rem; }
.crumbs a { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: var(--ink); }

.vp {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  grid-template-areas: "media sum" "content sum"; gap: 0 clamp(24px, 4vw, 56px); align-items: start;
}
.vp-media { grid-area: media; min-width: 0; }
.sum { grid-area: sum; position: sticky; top: calc(var(--head-h) + 20px); }
.vp-content { grid-area: content; min-width: 0; }

/* Galeria com rolagem nativa (deslizar no celular) */
.gal { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--line-2); }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; aspect-ratio: 4 / 3; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.gal-slide img { width: 100%; height: 100%; object-fit: cover; }
.gal-nav, .gal-full {
  position: absolute; display: grid; place-items: center; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: #15181c; border-radius: 50%; width: 46px; height: 46px;
  box-shadow: 0 4px 16px -6px rgba(0, 0, 0, .4);
}
.gal-nav { top: 50%; transform: translateY(-50%); }
.gal-prev { left: 14px; }
.gal-next { right: 14px; }
.gal-full { right: 14px; bottom: 14px; width: 42px; height: 42px; }
.gal-count { position: absolute; left: 14px; bottom: 14px; padding: .25rem .6rem; border-radius: 4px; background: rgba(10, 12, 15, .62); color: #fff; font-size: .85rem; font-variant-numeric: tabular-nums; }
.gal-badge { left: 14px; top: 14px; }
.gal-nav[disabled] { opacity: 0; pointer-events: none; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: thin; }
.thumb { flex: 0 0 104px; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 4px; overflow: hidden; cursor: pointer; opacity: .55; outline-offset: -2px; background: var(--line-2); transition: opacity .15s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on, .thumb:hover { opacity: 1; }
.thumb.on { outline: 2px solid var(--ink); }

/* Resumo */
.sum-in { padding: 4px 0 0; }
.v-title { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: .92; letter-spacing: -.02em; text-wrap: balance; }
.v-ver { margin: .6rem 0 0; font-size: 1.12rem; color: var(--ink-2); line-height: 1.35; }

/* Mostradores: leitura rápida como num painel de instrumentos */
.readouts { display: grid; grid-template-columns: repeat(2, 1fr); margin: 1.4rem 0 0; border-top: 1px solid var(--line); }
.readouts > div { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.readouts > div:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--line); }
.readouts > div:nth-child(even) { padding-left: 1rem; }
.readouts dt { font-size: .82rem; color: var(--muted); }
.readouts dd { margin: .15rem 0 0; font-stretch: 112%; font-weight: 650; font-size: 1.2rem; font-variant-numeric: tabular-nums; line-height: 1.2; }

.price-box { margin: 1.4rem 0 1.2rem; }
.price-old { margin: 0; color: var(--muted); font-size: .95rem; }
.price { margin: 0; font-stretch: 122%; font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 2.9rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fipe { margin: .55rem 0 0; font-size: .95rem; color: var(--muted); }
.fipe.good { color: var(--good); font-weight: 600; }
.sold-note { padding: .9rem 1rem; border-radius: var(--radius); background: var(--line-2); margin: 0 0 1rem; }
.cta { display: grid; gap: .6rem; }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.cta-row .btn { padding: 0 .7rem; }
.cta .linkish { justify-self: start; }

/* Simulador */
.sim { margin-top: 1.1rem; border-top: 1px solid var(--line); }
.sim > summary { display: flex; align-items: center; gap: .55rem; padding: 1rem 0 .3rem; cursor: pointer; font-weight: 600; list-style: none; }
.sim > summary::-webkit-details-marker { display: none; }
.sim > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.sim[open] > summary::after { transform: rotate(-135deg); }
.sim-body { padding: .7rem 0 .2rem; display: grid; gap: 1rem; }
.sim-row { display: grid; gap: .5rem; }
.sim-row > span { display: flex; justify-content: space-between; color: var(--muted); font-size: .92rem; }
.sim-row output { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; }
.sim-terms { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.sim-terms legend { font-size: .92rem; color: var(--muted); margin-bottom: .45rem; padding: 0; }
.sim-terms label { position: relative; }
.sim-terms input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sim-terms span { display: grid; place-items: center; min-height: 42px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-variant-numeric: tabular-nums; }
.sim-terms input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sim-terms input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sim-result { margin: 0; font-size: 1.05rem; }
.sim-result strong { font-stretch: 118%; font-size: 1.7rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* Conteúdo abaixo da galeria */
.sec { padding-top: clamp(32px, 4vw, 48px); }
.hl { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hl li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem .5rem .7rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; font-size: .95rem; }
.prose { max-width: 66ch; color: var(--ink-2); }
.prose p { margin: 0 0 1em; }
.sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.sheet > div { display: grid; gap: .1rem; padding: .8rem 1rem .8rem 0; border-bottom: 1px solid var(--line); }
.sheet dt { font-size: .85rem; color: var(--muted); }
.sheet dd { margin: 0; font-weight: 600; }
.plate { display: inline-flex; flex-direction: column; width: 46px; border: 1.5px solid currentColor; border-radius: 3px; overflow: hidden; vertical-align: middle; line-height: 1; text-align: center; }
.plate-band { background: #1b3a8f; color: #fff; font-size: .55rem; font-weight: 700; padding: 2px 0; letter-spacing: .08em; }
.plate-num { font-stretch: 112%; font-weight: 800; font-size: 1rem; padding: 3px 0 2px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem 2rem; }
.opt-h { margin: 0 0 .5rem; font-size: .95rem; font-weight: 650; color: var(--muted); }
.opt-g ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.opt-g li { display: flex; gap: .5rem; align-items: flex-start; }
.opt-g li .i { color: var(--good); margin-top: 3px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-l); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.similar { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.similar .h2 { margin-bottom: 1.6rem; }

/* Barra fixa no celular */
.dock { display: none; }
@media (max-width: 999px) {
  .vp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "sum" "content"; }
  .sum { position: static; padding-top: 1.4rem; }
  .vp-media { margin-inline: calc(var(--gut) * -1); }
  .gal { border-radius: 0; }
  .thumbs { display: none; }
  .gal-nav { display: none; }
  .crumbs { display: none; }
  .dock {
    display: flex; align-items: center; gap: .8rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: .7rem var(--gut) calc(.7rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease;
  }
  .dock.show { transform: none; }
  .dock-price { display: grid; min-width: 0; flex: 1; line-height: 1.2; }
  .dock-price span { font-size: .85rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dock-price strong { font-stretch: 118%; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
  body.is-vehicle .foot { padding-bottom: 96px; }
}

/* Modo showroom: o cliente chegou pela etiqueta NFC */
.showroom { background: var(--accent); color: var(--on-accent); }
.showroom-in { display: flex; align-items: center; gap: .9rem; min-height: 64px; padding-top: .6rem; padding-bottom: .6rem; }
.showroom-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); flex: none; }
.showroom-t { margin: 0; flex: 1; font-weight: 600; line-height: 1.3; }
.showroom .btn-light { color: #15181c; }
.showroom.is-called .showroom-ic { animation: pulse 1.6s ease-out 2; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); } 100% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } }
@media (max-width: 560px) {
  .showroom-in { flex-wrap: wrap; }
  .showroom-t { flex-basis: calc(100% - 56px); }
  .showroom .btn { width: 100%; }
}

/* ---------- Diálogos ---------- */
.dlg {
  width: min(520px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: var(--radius-l);
  background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5);
}
.dlg::backdrop { background: var(--scrim); }
.dlg-form, .dlg-ok { padding: 1.4rem; }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dlg-head .h3 { margin: 0; font-size: 1.4rem; }
.dlg-car { margin: .35rem 0 1.1rem; color: var(--muted); }
.dlg-fields { display: grid; gap: .9rem; }
.dlg .btn-block { margin-top: 1rem; }
.form-err { color: #b42318; margin: .7rem 0 0; font-weight: 500; }
[data-theme="dark"] .form-err { color: #ff8a80; }
.hp { position: absolute; left: -9999px; }
.dlg-ok { text-align: center; display: grid; justify-items: center; gap: .3rem; padding: 2.2rem 1.4rem; }
.dlg-ok p { color: var(--muted); margin: 0 0 1rem; }
.ok-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: .6rem; }
@media (max-width: 560px) {
  .dlg { width: 100vw; max-width: 100vw; max-height: 92svh; margin: auto 0 0; border-radius: var(--radius-l) var(--radius-l) 0 0; }
}

/* Tela cheia de fotos */
.lb { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #08090b; color: #fff; }
.lb::backdrop { background: #08090b; }
.lb-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; display: grid; place-items: center; }
.lb-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .8); }
@media (max-width: 700px) { .lb-prev, .lb-next { display: none; } }

/* ---------- Etiqueta sem carro / mensagens ---------- */
.tag-land { padding-top: clamp(48px, 9vw, 110px); padding-bottom: 24px; display: grid; gap: 1.1rem; justify-items: start; }
.tag-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.tag-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }

/* ---------- Rodapé ---------- */
.foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 0; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem 4rem; padding-top: clamp(40px, 6vw, 64px); padding-bottom: 2.4rem; }
.foot-name { font-stretch: 125%; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.015em; line-height: 1; }
.foot-about { color: var(--muted); max-width: 46ch; margin: .9rem 0 0; }
.foot-info { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; align-content: start; }
.foot-info li { display: flex; gap: .7rem; align-items: flex-start; }
.foot-info li .i { margin-top: 3px; color: var(--muted); }
.foot-info a { text-decoration: none; }
.foot-info a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.2rem; padding-bottom: 1.6rem; border-top: 1px solid var(--line-2); color: var(--muted); font-size: .85rem; }
@media (max-width: 720px) { .foot-in { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Aviso de loja de demonstração */
.demo-bar { background: var(--ink); color: var(--paper); text-align: center; font-size: .82rem; line-height: 1.35; padding: .45rem var(--gut); }
@media (max-width: 640px) { .demo-more { display: none; } }
