/* Vista Motors — layout claro: cinza, preto e branco, tipografia Red Hat Display.
   O painel (/admin) usa painel.css e admin.css; este arquivo é só do site público. */
:root {
  --bg: #E3E3E0;
  --paper: #F3F3F1;
  --paper-2: #EDEDEA;
  --white: #FFFFFF;
  --fg: #141414;
  --black: #0A0A0A;
  --soft: #3B3D3F;
  --muted: #55585B;
  --line: #C6C6C2;
  --line-2: #A9A9A5;
  --accent: #F0FC00;
  --sold: #B42318;
  --night: #030304;
  --font: "Red Hat Display", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --top-h: 76px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--top-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font); font-weight: 300; letter-spacing: -0.015em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 em, h2 em, h1 b, h2 b { font-style: normal; font-weight: 700; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--muted); }
.logo { display: block; width: 100%; height: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead { color: var(--soft); font-size: 18px; margin: 0; max-width: 48ch; }

/* botões em pílula */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--black); background: var(--black); color: #fff; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: filter 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.btn:hover, .btn:focus-visible { filter: brightness(0.82); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn.ghost:hover, .btn.ghost:focus-visible { filter: none; background: var(--black); color: #fff; border-color: var(--black); }
.btn.neon { background: var(--accent); border-color: var(--accent); color: var(--black); font-weight: 700; }
.btn.light { background: #fff; border-color: #fff; color: var(--black); }
.btn.sm { min-height: 44px; padding: 0 20px; }
.btn.danger { background: transparent; color: var(--sold); border-color: var(--sold); }
.btn[disabled] { opacity: 0.5; cursor: default; }
.btn .ico { width: 18px; height: 18px; flex: none; }

/* topo: faixa branca translúcida, fixa, por cima do banner */
.top { position: sticky; top: 0; z-index: 20; height: var(--top-h); background: rgba(255,255,255,0.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding-top: env(safe-area-inset-top, 0px); box-sizing: content-box; }
.top .wrap { height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.top .logo-link { display: block; width: 174px; flex: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--fg); padding: 10px 0; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-links a[aria-current="page"] { font-weight: 700; }
.wa-top svg { width: 18px; height: 18px; flex: none; display: block; }
.menu-bt { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--fg); place-items: center; cursor: pointer; padding: 0; }
.menu-bt svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  :root { --top-h: 64px; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .top .logo-link { width: 136px; }
  .nav { gap: 8px; }
  .menu-bt { display: grid; }
  .wa-top { width: 44px; min-height: 44px; padding: 0; }
  .wa-top span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-top svg { width: 20px; height: 20px; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0,0,0,0.12); font-size: 18px; }
  .nav-links a { padding: 14px 0; border-top: 1px solid #E4E4E1; }
  .nav-links a:first-child { border-top: 0; }
  .top.is-open { background: #fff; }
  .top.is-open .nav-links { display: flex; }
}

/* banner de ponta a ponta, por baixo do topo */
.banner { background: #111; }
.is-home .banner { margin-top: calc(-1 * (var(--top-h) + env(safe-area-inset-top, 0px))); }
.banner .frame { position: relative; width: 100%; aspect-ratio: 2560 / 1050; min-height: 420px; max-height: 86vh; overflow: hidden; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.8s ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0) 56%); }
.banner.tem-link .frame { cursor: pointer; }
.cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding-bottom: 40px; color: #fff; }
.cap .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.cap-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.cap .eyebrow { color: #E9E9E6; font-weight: 500; }
.cap .cap-title { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; font-weight: 300; letter-spacing: -0.01em; max-width: 20ch; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.cap .cap-title b { font-weight: 700; }
.bnr-link { margin-top: 6px; }
.bnr-ui { display: flex; align-items: center; gap: 14px; flex: none; }
.bnr-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.6); background: rgba(0,0,0,0.25); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.bnr-arrow:hover { background: #fff; color: var(--black); }
.bnr-arrow svg { width: 18px; height: 18px; }
.dots { display: flex; gap: 2px; align-items: center; }
.dot { width: 26px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dot::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.45); transition: width 0.3s ease, background 0.3s ease; }
.dot[aria-current="true"] { width: 40px; }
.dot[aria-current="true"]::before { width: 34px; background: #fff; }
@media (max-width: 860px) {
  .banner .frame { aspect-ratio: auto; height: 500px; min-height: 0; max-height: none; }
  .cap { padding-bottom: 20px; }
  .cap .wrap { flex-direction: column; align-items: stretch; gap: 12px; }
  .bnr-ui { justify-content: space-between; }
  .bnr-arrow { display: none; }
  .dots { margin-left: auto; }
}

/* frase e três destaques: faixa branca */
.hero { background: var(--white); padding-block: 56px 48px; }
.hero-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(30px, 3.6vw, 44px); }
.facts { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line); padding-top: 22px; }
.facts b { display: block; font-weight: 700; font-size: 18px; }
.facts b i { font-style: normal; }
.facts span { color: var(--muted); }
@media (max-width: 860px) {
  .hero { padding-block: 36px 32px; }
  .hero-top { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hero .lead { font-size: 16px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; padding-top: 16px; }
}

/* estoque */
section { padding-block: 88px; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.head h2, .h2like { font-size: clamp(30px, 3.6vw, 44px); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #B9B9B5; background: transparent; color: var(--fg); font-weight: 500; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tab em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.tab[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; font-weight: 600; }
.tab[aria-pressed="true"] em { color: #C9C9C5; }
.tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }
.search { flex: 1 1 320px; display: flex; gap: 8px; margin: 0; }
.search input { flex: 1; min-width: 0; height: 48px; padding: 0 20px 0 46px; border-radius: 999px; border: 1px solid #D2D2CE; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355585B' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 18px center / 18px no-repeat; color: var(--fg); font-size: 15px; }
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: var(--black); outline: none; }
.search-info { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.f-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; }
.f-toggle { height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid #B9B9B5; background: transparent; color: var(--fg); font-weight: 600; font-size: 15px; cursor: pointer; display: inline-flex; gap: 10px; align-items: center; }
.f-toggle::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M7 12h10M10 17h4'/%3E%3C/svg%3E") center / contain no-repeat; }
.f-toggle[aria-expanded="true"] { background: var(--black); border-color: var(--black); color: #fff; }
.f-toggle[aria-expanded="true"]::before { filter: invert(1); }
.f-toggle em { font-style: normal; font-weight: 700; }
.f-limpar { min-height: 44px; background: transparent; color: var(--fg); border: 0; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.f-info { margin: 0; color: var(--muted); font-size: 15px; }
.filtros { margin: 12px 0 0; padding: 20px; background: var(--paper); border-radius: 22px; }
.f-marcas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.fchip { min-height: 40px; padding: 0 16px; border-radius: 999px; background: transparent; color: var(--fg); border: 1px solid #B9B9B5; font-weight: 500; font-size: 14.5px; cursor: pointer; }
.fchip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; font-weight: 600; }
.f-linha { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; align-items: end; }
.f-fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f-fld span { font-weight: 600; font-size: 13.5px; color: var(--muted); }
.f-fld select { height: 46px; padding: 0 14px; border-radius: 14px; background: #fff; color: var(--fg); border: 1px solid #B9B9B5; font-size: 15px; width: 100%; }
.f-fld select:focus { border-color: var(--black); outline: none; }
.is-searching .tabs, .is-searching .filtros, .is-searching .f-bar { display: none; }
.is-searching .panel-title { display: block; margin: 8px 0 -6px; font-size: 22px; font-weight: 700; color: var(--soft); grid-column: 1 / -1; }

.grid { margin-top: 28px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1240px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1040px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; } }
.car { position: relative; background: var(--paper); border-radius: 22px; padding: 8px 8px 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.photo-box { position: relative; }
.photo { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: #111; color: #C9C9C5; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.car:hover .photo img, .car:focus-within .photo img { transform: scale(1.045); }
@media (hover: none) { .car:hover .photo img { transform: none; } }
.photo .none { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; }
.badge { position: absolute; z-index: 1; top: 10px; left: 10px; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: var(--black); font-size: 12.5px; font-weight: 700; }
.badge.sold { background: var(--sold); color: #fff; }
.badge.draft { background: #fff; color: #000; }
.count { position: absolute; z-index: 1; top: 10px; right: 10px; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(10,10,10,0.6); color: #fff; font-size: 12.5px; font-weight: 500; }
.car.is-sold .photo img { opacity: 0.6; filter: grayscale(0.6); }
.share-ico { position: absolute; z-index: 3; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--black); text-decoration: none; }
.share-ico::after { content: ""; position: absolute; inset: -7px; }
.share-ico:hover, .share-ico:focus-visible { background: var(--black); color: #fff; }
.share-ico .ico { width: 14px; height: 14px; }
.car .body { padding: 0 8px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.car .brand { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.car h3 { font-size: 17px; line-height: 1.2; font-weight: 600; letter-spacing: 0; min-height: 41px; margin-top: 2px; }
.car h3 a { text-decoration: none; color: inherit; }
.car h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.car .kind { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.car .kind .tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; }
.pricebox { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.price { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.is-sold .price { color: var(--muted); text-decoration: line-through; }
.fipe-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.fipe { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.below { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: var(--black); font-size: 13px; font-weight: 600; }
.below b { font-weight: 800; margin-right: 4px; }
.car .foot { position: relative; z-index: 2; display: flex; }
.car .foot .btn { flex: 1; min-height: 44px; padding: 0 10px; border-color: var(--line-2); }
.car:hover .foot .btn { background: var(--black); color: #fff; border-color: var(--black); }
.empty { grid-column: 1 / -1; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 22px; padding: 28px; margin: 0; }
.empty b { color: var(--fg); }
@media (max-width: 860px) {
  section { padding-block: 52px; }
  .head { margin-bottom: 14px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; max-width: 100vw; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; padding: 0 16px; font-size: 14.5px; }
  .search .btn { display: none; }
  .search { flex: 1 1 0; min-width: 0; }
  .search input { height: 46px; font-size: 14.5px; padding-left: 42px; background-position: 15px center; }
  .f-toggle { height: 46px; padding: 0 18px; font-size: 14.5px; }
  .car { border-radius: 18px; padding: 6px 6px 12px; gap: 10px; }
  .photo { border-radius: 13px; }
  .badge, .count { top: 8px; height: 24px; padding: 0 10px; font-size: 11.5px; }
  .badge { left: 8px; } .count { right: 8px; }
  .share-ico { right: 8px; bottom: 8px; }
  .car .body { padding: 0 6px; gap: 8px; }
  .car .brand { font-size: 12px; }
  .car h3 { font-size: 15px; min-height: 36px; }
  .price { font-size: 17px; }
  .car .foot .btn { font-size: 14px; padding: 0 8px; }
}

/* encomenda + venda: faixa branca com dois blocos */
.enc { background: var(--white); padding-block: 72px; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.duo-card { border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; background: var(--paper-2); }
.duo-card h2 { font-size: clamp(25px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.01em; }
.duo-card .lead { font-size: 17px; }
.duo-card .btn { margin-top: 10px; }
.duo-card.dark { background: var(--black); color: #fff; }
.duo-card.dark .lead { color: #C9C9C5; }
.enc .caret { display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform 0.2s; }
.enc [aria-expanded="true"] .caret { transform: rotate(225deg); margin-top: 4px; }
.enc-form { margin-top: 20px; background: var(--paper); border-radius: 28px; padding: 32px; display: grid; gap: 16px; }
.enc-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enc-g3 { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 14px; }
label.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
label.f span { font-weight: 600; font-size: 14.5px; }
.enc-form input[type="text"], .enc-form input[type="tel"], .enc-form select, .enc-form textarea { height: 50px; padding: 0 16px; border-radius: 14px; background: #fff; color: var(--fg); border: 1px solid #B9B9B5; font-size: 16px; width: 100%; }
.enc-form textarea { height: auto; min-height: 90px; padding: 12px 16px; resize: vertical; }
.enc-form input:focus, .enc-form select:focus, .enc-form textarea:focus { border-color: var(--black); outline: 2px solid var(--black); outline-offset: 1px; }
.enc-ck { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--soft); cursor: pointer; }
.enc-ck input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: #0A0A0A; flex: none; }
.enc-form > .btn { justify-self: start; min-height: 54px; padding: 0 32px; font-size: 16px; }
.enc-nota { font-size: 14px; color: var(--muted); margin: 0; }
.enc-isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enc-ok { margin: 20px 0 0; padding: 16px 20px; border-radius: 16px; background: var(--accent); color: var(--black); }
.enc-erro { margin: 20px 0 0; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--sold); color: var(--sold); background: #fff; }
@media (max-width: 860px) {
  .enc { padding-block: 36px; }
  .duo { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .duo-card { border-radius: 22px; padding: 28px 22px; gap: 10px; }
  .duo-card .btn { white-space: normal; }
  .enc-form { border-radius: 22px; padding: 22px 16px; }
  .enc-g2, .enc-g3 { grid-template-columns: 1fr; }
  .enc-form > .btn { justify-self: stretch; }
}

/* loja: foto de fundo na seção inteira, texto claro sobre a parte escura */
.store { position: relative; color: #fff; background: #060606 url("/static/img/loja-fundo.jpg") right center / cover no-repeat; padding-block: 120px; }
.store::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 42%, rgba(0,0,0,0) 62%); }
.store .wrap { position: relative; }
.store h2 { font-size: clamp(30px, 3.6vw, 44px); }
.store .col { min-width: 0; max-width: min(520px, 31vw); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.addr { font-size: 18px; margin: 0; color: #F0F0EE; }
.addr span { display: block; }
.about { margin: 0; color: #D9D9D6; font-size: 16px; max-width: 52ch; }
.store-img { border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.store-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .store { padding-block: 52px 270px; background-position: 74% bottom; background-size: auto 250px; background-color: #050505; }
  .store .col { max-width: none; }
  .store::before { background: linear-gradient(to bottom, rgba(5,5,5,1) 0%, rgba(5,5,5,1) calc(100% - 250px), rgba(5,5,5,0) calc(100% - 170px)); }
  .store-img { border-radius: 22px; }
}

/* contato e rodapé: fecho preto com a logo cromada */
.contact { background: var(--night); color: #fff; padding-block: 80px 0; }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.contact h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.contact .info { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.contact .btn { min-height: 56px; padding: 0 28px; font-size: 17px; }
.contact .btn.ghost { color: #fff; border-color: #6B6E71; }
.contact .btn.ghost:hover { background: #fff; color: var(--black); border-color: #fff; }
.contact .num { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; margin-inline: 6px; }
footer { background: var(--night); color: #C9C9C5; padding-block: 72px 36px; font-size: 15px; }
.foot-top { padding-top: 32px; border-top: 1px solid #26282A; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.foot-logo { width: 240px; height: auto; display: block; }
footer p { margin: 0; }
footer p b { display: block; color: #fff; font-weight: 600; }
.foot-nav { display: flex; flex-direction: column; gap: 4px; }
.foot-nav a { color: #E9E9E6; text-decoration: none; padding: 4px 0; }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-copy { margin-top: 40px; color: #9A9DA0; font-size: 13.5px; }
.sem-contato footer { padding-top: 48px; }
.sem-contato .foot-top { border-top: 0; padding-top: 0; }
@media (max-width: 860px) {
  .contact { padding-top: 52px; }
  .contact .info { flex-direction: column; align-items: stretch; width: 100%; }
  .contact .num { text-align: center; }
  footer { padding-block: 44px 32px; }
  .foot-top { flex-direction: column; gap: 18px; padding-top: 28px; }
  .foot-logo { width: 200px; }
  .foot-nav { flex-direction: row; flex-wrap: wrap; gap: 0 18px; }
  .foot-nav a { padding: 10px 0; }
}

/* janela de galeria e página do carro */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(10,10,10,0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
.m-card { position: relative; background: var(--bg); border-radius: 28px; width: min(1200px, 100%); height: min(840px, 100%); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; }
.m-close { position: absolute; z-index: 4; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--black); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.m-close svg { width: 18px; height: 18px; }
.m-media { min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: 14px 0 14px 14px; gap: 10px; }
.m-stage { position: relative; flex: 1; min-height: 0; touch-action: pan-y; border-radius: 20px; overflow: hidden; background: #111; }
.m-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.m-stage .none { position: absolute; inset: 0; display: grid; place-items: center; color: #C9C9C5; }
.m-nav { position: absolute; bottom: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--black); cursor: pointer; display: grid; place-items: center; padding: 0; }
.m-nav:hover { background: var(--accent); }
.m-nav svg { width: 18px; height: 18px; }
.m-nav.prev { right: 66px; } .m-nav.next { right: 14px; }
.m-counter { position: absolute; z-index: 3; left: 14px; bottom: 20px; display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(10,10,10,0.6); color: #fff; font-size: 13.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.m-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.m-thumbs button { flex: none; width: 54px; height: 72px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #111; cursor: pointer; opacity: 0.65; }
.m-thumbs button[aria-current="true"] { border-color: var(--black); opacity: 1; }
.m-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-info { min-width: 0; min-height: 0; overflow-y: auto; padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 22px; }
.m-info h1, .m-info h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -0.02em; padding-right: 48px; }
.m-info .chips { display: flex; gap: 8px; flex-wrap: wrap; padding-right: 48px; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; }
.chip.on { background: var(--black); border-color: var(--black); color: #fff; }
.chip.sold { background: var(--sold); border-color: var(--sold); color: #fff; }
.m-buy { background: var(--paper); border-radius: 22px; padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.m-info .pricebox { margin-top: 0; }
.m-info .price { font-size: clamp(34px, 3.4vw, 44px); letter-spacing: -0.02em; line-height: 1.05; }
.m-info .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.m-info .actions .btn { min-height: 54px; font-size: 16px; }
.m-info .actions .btn:first-child { flex: 1 1 200px; font-weight: 700; }
.spec { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-bottom: 1px solid var(--line); }
.spec li { display: flex; flex-direction: column; min-width: 0; padding: 12px 0; border-top: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.spec li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.spec small { font-size: 13.5px; font-weight: 400; color: var(--muted); }
.selos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.selos li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; }
.selos li::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.selos li.mais::before { display: none; }
.m-info .desc { white-space: pre-line; color: var(--soft); font-size: 17px; margin: 0; max-width: 62ch; }
@media (max-width: 860px) {
  .m-card { grid-template-columns: minmax(0, 1fr); height: 100%; overflow-y: auto; grid-auto-rows: max-content; align-content: start; border-radius: 22px; }
  .m-media { display: block; padding: 8px 8px 0; }
  .m-stage { border-radius: 16px; }
  .m-stage img { position: static; width: 100%; height: auto; aspect-ratio: 3 / 4; max-height: 70vh; object-fit: cover; }
  .m-stage .none { position: static; aspect-ratio: 3 / 4; }
  .m-thumbs { margin-top: 8px; }
  .m-info { overflow: visible; padding: 20px 16px 28px; gap: 18px; }
  .m-info h1, .m-info h2 { padding-right: 0; }
  .m-buy { padding: 18px; border-radius: 18px; }
  .m-info .actions .btn { flex: 1 1 100%; }
}
.car-page { padding-block: 16px 88px; }
.crumbs { font-size: 15px; font-weight: 500; color: var(--muted); margin: 0 0 12px; min-height: 44px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--soft); }
.crumbs a:hover { text-decoration: underline; }
.m-card.inline { height: auto; background: transparent; border-radius: 0; overflow: visible; gap: 48px; align-items: start; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.m-card.inline .m-media { padding: 0; }
.m-card.inline .m-stage { flex: none; border-radius: 24px; }
.m-card.inline .m-stage img { position: static; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.m-card.inline .m-stage .none { position: static; aspect-ratio: 3 / 4; }
.m-card.inline .m-thumbs button { width: 66px; height: 88px; border-radius: 12px; }
.m-card.inline .m-info { overflow: visible; padding: 0; }
.m-card.inline .m-info h1 { font-size: clamp(34px, 4.4vw, 56px); padding-right: 0; }
.m-card.inline .m-info .chips { padding-right: 0; }
@media (max-width: 860px) { .car-page { padding-bottom: 52px; } .m-card.inline { grid-template-columns: minmax(0, 1fr); gap: 20px; overflow: visible; height: auto; } .m-card.inline .m-media { padding: 0; } .m-card.inline .m-info { padding: 0; } }
.notfound { padding-block: 120px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.notfound h1 { font-size: 40px; }

/* motos e busca */
.lead-motos { color: var(--soft); max-width: 60ch; margin: 0 0 8px; font-size: 17px; }
.grid + p { margin: 28px 0 0; }

/* aviso copiado, cookies, privacidade */
.toast { position: fixed; z-index: 90; left: 50%; bottom: max(24px, env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--black); color: #fff; font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 999px; transition: opacity 0.2s, transform 0.2s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 760px; margin-inline: auto; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 18px 22px; background: #fff; border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,0.22); font-size: 15px; }
.cookie p { margin: 0; flex: 1 1 280px; }
.cookie-bt { display: flex; gap: 10px; }
.legal { padding-block: 56px 88px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin: 6px 0 22px; }
.legal h2 { font-size: 22px; font-weight: 700; letter-spacing: 0; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--soft); font-size: 17px; }

/* página Anuncie conosco */
.anu { padding-block: 64px 96px; }
.anu-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.anu-txt { display: flex; flex-direction: column; gap: 22px; }
.anu-txt h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.03; letter-spacing: -0.02em; }
.anu-pts { list-style: none; margin: 12px 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.anu-pts li { padding: 20px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.anu-pts b { font-size: 20px; font-weight: 700; }
.anu-pts span { color: var(--muted); }
.anu .enc-form { margin-top: 0; padding: 36px; }
.anu .enc-form h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; }
.anu .enc-form .lead { font-size: 16px; margin-top: 6px; }
.anu .enc-form > .btn { justify-self: stretch; }
.anu-regras { background: var(--black); color: #E9E9E6; border-radius: 18px; padding: 20px 22px; }
.anu-regras > b { color: var(--accent); font-weight: 700; }
.anu-regras ul { margin: 8px 0 0; padding-left: 20px; }
.anu-regras li { margin: 4px 0; }
.anu-regras li b { color: #fff; }
@media (max-width: 860px) { .anu { padding-block: 36px 52px; } .anu-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; } .anu .enc-form { padding: 22px 16px; } }

@media (prefers-reduced-motion: reduce) { .slide, .photo img, .toast, .btn, .dot::before { transition: none; } }

/* zoom da foto */
.m-img { cursor: zoom-in; }
.zoom { position: fixed; inset: 0; z-index: 80; background: #0A0A0A; }
.zoom-rolo { position: absolute; inset: 0; overflow: auto; display: grid; place-items: center; -webkit-overflow-scrolling: touch; }
.zoom-img { display: block; max-width: 100%; max-height: 100vh; max-height: 100dvh; width: auto; height: auto; cursor: zoom-in; }
.zoom.is-in .zoom-rolo { place-items: start; }
.zoom.is-in .zoom-img { max-width: none; max-height: none; cursor: zoom-out; }
.zoom-bt { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--black); cursor: pointer; display: grid; place-items: center; padding: 0; }
.zoom-bt:hover { background: var(--accent); }
.zoom-bt svg { width: 20px; height: 20px; }
.zoom-x { top: max(14px, env(safe-area-inset-top, 0px)); right: 14px; }
.zoom-e { left: 14px; bottom: max(18px, env(safe-area-inset-bottom, 0px)); }
.zoom-d { right: 14px; bottom: max(18px, env(safe-area-inset-bottom, 0px)); }
.zoom-dica { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); bottom: max(28px, env(safe-area-inset-bottom, 0px)); margin: 0; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,0.14); color: #fff; font-size: 14px; pointer-events: none; white-space: nowrap; }
.zoom.is-in .zoom-dica { display: none; }
.zoom-aberto { overflow: hidden; }
@media (min-width: 861px) { .zoom-e, .zoom-d { top: 50%; bottom: auto; transform: translateY(-50%); } }

/* perguntas frequentes e páginas por origem */
.faq h2 { font-size: 24px; font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-size: 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 22px; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(225deg); top: 26px; }
.faq details p { margin: 0 0 18px; color: var(--soft); max-width: 56ch; }
.grid + p { display: flex; flex-wrap: wrap; gap: 10px; }
