:root {
  --bg: #ffffff;
  --bg2: #f6f5f2;
  --card: #ffffff;
  --field: #f4f3f0;
  --line: #e6e3dd;
  --text: #17181b;
  --muted: #6b6f78;
  --gold: #b8892f;
  --gold2: #dcae52;
  --silver: #9aa0a8;
  --ok: #1f9d63;
  --warn: #c98a12;
  --danger: #d64545;
  --shadow: 0 18px 40px -22px rgba(30, 25, 10, .28);
  --r: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-d: 'Unbounded', system-ui, sans-serif;
  --font: 'Manrope', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
.wrap { width: min(1320px, 100% - 40px); margin-inline: auto; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
::selection { background: var(--gold); color: #000; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
/* mesmo cinza do menu do site atual (#222) com a faixa dourada em cima */
.top { background: #222222; border-top: 3px solid #c3943c; color: #fff; }
.top.scrolled { box-shadow: 0 8px 24px -12px rgba(0,0,0,.45); }
.top nav a { color: #d6d6d6 !important; }
.top nav a:hover { color: #fff !important; }
.top .icon-btn { border-color: rgba(255, 255, 255, .22); color: #fff; }
.top .icon-btn:hover { border-color: var(--gold2); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.top .logo img { height: 40px; width: auto; }
.top nav { display: flex; gap: 24px; margin-left: auto; font-weight: 600; font-size: 14px; }
.top nav a { color: var(--muted); transition: color .2s; position: relative; }
.top nav a:hover { color: var(--text); }
.top .actions { display: flex; gap: 10px; align-items: center; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); }
.badge.on { transform: scale(1); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .2s var(--ease), background .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-gold { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: #fff; box-shadow: 0 8px 24px -10px rgba(184, 137, 47, .8); }
.btn-gold:hover { box-shadow: 0 12px 40px -8px rgba(201, 162, 74, .9); }
.btn-ghost { border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-wa { background: #25d366; color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ---------- banner ---------- */
.banner { padding: 79px 0 0; background: #c98a2b; }
.banner img { width: 100%; height: auto; aspect-ratio: 2000 / 770; object-fit: cover; }
.quick-wrap { position: relative; margin-top: -46px; z-index: 5; }
.quick { display: flex; gap: 14px; align-items: end; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 24px 50px -24px rgba(30, 25, 10, .35); }
.qf { display: grid; gap: 6px; min-width: 150px; }
.qf.grow { flex: 1; }
.qf label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qf select { background: var(--field); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; outline: 0; }
.qf select:focus { border-color: var(--gold); }
.quick .btn { padding: 15px 30px; }
.searchbar { display: flex; align-items: center; gap: 10px; background: var(--field); border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; position: relative; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.searchbar:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 137, 47, .12); }
.searchbar input { flex: 1; background: none; border: 0; outline: 0; padding: 13px 0; min-width: 0; color: var(--text); }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: none; z-index: 5; box-shadow: var(--shadow); color: var(--text); }
.suggest.on { display: block; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.suggest a:hover, .suggest a.active { background: var(--bg2); }
.suggest img { width: 60px; height: 40px; object-fit: cover; border-radius: 8px; }
.suggest small { color: var(--gold); font-weight: 700; margin-left: auto; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0 10px; }
.hero-stats > div { padding: 16px 18px; border-radius: 16px; background: var(--bg2); }
.hero-stats b { font-family: var(--font-d); font-size: 22px; display: block; font-weight: 600; }
.hero-stats span { color: var(--muted); font-size: 13px; }
.seg { display: flex; gap: 6px; margin-top: 10px; background: var(--field); border-radius: 12px; padding: 4px; }
.seg button { flex: 1; padding: 8px 0; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--muted); transition: all .2s; }
.seg button.on { background: var(--card); color: var(--gold); box-shadow: 0 2px 10px rgba(0,0,0,.08); }

/* range slider */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), var(--line) var(--p, 50%)); outline: 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); cursor: grab; box-shadow: 0 4px 14px #0008; transition: transform .15s; }
input[type=range]::-webkit-slider-thumb:active { transform: scale(1.2); cursor: grabbing; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); cursor: grab; }

/* dual range */
.dual { position: relative; height: 28px; }
.dual input { position: absolute; inset: 11px 0 auto; pointer-events: none; background: none; height: 6px; }
.dual input::-webkit-slider-thumb { pointer-events: auto; }
.dual input::-moz-range-thumb { pointer-events: auto; }
.dual .track { position: absolute; left: 0; right: 0; top: 11px; height: 6px; border-radius: 6px; background: var(--line); }
.dual .fill { position: absolute; top: 11px; height: 6px; border-radius: 6px; background: var(--gold); }

/* marquee de marcas */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg2); }
.marquee .track { display: flex; gap: 60px; width: max-content; animation: marq 30s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee button { font-family: var(--font-d); font-size: 28px; font-weight: 600; color: transparent; -webkit-text-stroke: 1px #b4b0a6; transition: color .3s, -webkit-text-stroke-color .3s; white-space: nowrap; }
.marquee button:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.marquee button sup { font-family: var(--font); font-size: 12px; -webkit-text-stroke: 0; color: var(--muted); margin-left: 4px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
section { padding: 90px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--font-d); font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: -.02em; margin-top: 12px; font-weight: 700; }

/* ---------- estoque ---------- */
.stock { display: grid; grid-template-columns: 290px 1fr; gap: 34px; align-items: start; }
.filters { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; max-height: calc(100vh - 116px); overflow: auto; scrollbar-width: thin; }
.filters h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 22px 0 12px; display: flex; justify-content: space-between; }
.filters h4:first-of-type { margin-top: 0; }
.filters h4 output { color: var(--text); letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; transition: all .2s var(--ease); display: inline-flex; gap: 6px; align-items: center; }
.chip small { color: var(--muted); font-weight: 500; }
.chip:hover { border-color: var(--muted); }
.chip.on { background: var(--gold); border-color: var(--gold); color: #fff; }
.chip.on small { color: #fbecd0; }
.bodies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.body-opt { border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px 8px; text-align: center; font-size: 12px; font-weight: 700; transition: all .2s; }
.body-opt svg { width: 100%; height: 34px; color: var(--muted); transition: color .2s, transform .3s var(--ease); }
.body-opt:hover svg { transform: translateX(4px); }
.body-opt.on { border-color: var(--gold); background: rgba(184, 137, 47, .08); }
.body-opt.on svg { color: var(--gold); }
.filters .clear { width: 100%; margin-top: 22px; padding: 12px; border-radius: 12px; border: 1px dashed var(--line); color: var(--muted); font-weight: 700; font-size: 13px; }
.filters .clear:hover { color: var(--text); border-color: var(--muted); }
.mobile-filter-btn { display: none; }

.toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar .count { font-family: var(--font-d); font-size: 18px; }
.toolbar .count b { color: var(--gold); }
.active-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.active-tags button { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); }
.active-tags button::after { content: ' ✕'; color: var(--muted); }
.toolbar select { margin-left: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; outline: 0; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.view-toggle button { padding: 9px 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.view-toggle button.on { background: var(--bg2); color: var(--gold); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; position: relative; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; transform-style: preserve-3d; animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.card:hover { border-color: #d6d1c7; box-shadow: var(--shadow); }
.card .media, .card .body { display: block; }
.card .media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--field); }
.card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s, transform .8s var(--ease); }
.card .media img.on { opacity: 1; }
.card:hover .media img.on { transform: scale(1.04); }
.card .dots { position: absolute; bottom: 10px; left: 12px; right: 12px; display: flex; gap: 4px; opacity: 0; transition: opacity .2s; }
.card:hover .dots { opacity: 1; }
.card .dots i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.card .dots i.on { background: #fff; }
.card .tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.tag { color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }
.tag.gold { background: var(--gold); color: #fff; }
.tag.warn { background: var(--warn); color: #fff; }
.tag.sold { background: var(--danger); color: #fff; }
.card .fav, .card .cmp { position: absolute; top: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); display: grid; place-items: center; transition: transform .2s var(--ease), background .2s; z-index: 2; color: #fff; }
.card .fav { right: 10px; }
.card .cmp { right: 54px; }
.card .fav:hover, .card .cmp:hover { transform: scale(1.1); }
.card .fav svg, .card .cmp svg { width: 18px; height: 18px; }
.card .fav.on { background: var(--gold); color: #fff; }
.card .fav.on svg { fill: currentColor; }
.card .cmp.on { background: #fff; color: var(--text); }
.card .body { padding: 18px 18px 20px; }
.card .brand { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.card h3 { font-size: 18px; font-weight: 700; line-height: 1.25; margin: 4px 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 45px; }
.specs { display: flex; gap: 6px; flex-wrap: wrap; }
.specs span { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--field); padding: 5px 9px; border-radius: 8px; }
.card .price { display: flex; align-items: end; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.card .price b { font-family: var(--font-d); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.card .price small { color: var(--muted); font-size: 12px; display: block; }
.card .price .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s var(--ease); }
.card:hover .price .arrow { background: var(--gold); border-color: var(--gold); color: #fff; transform: rotate(-45deg); }
.grid.list { grid-template-columns: 1fr; }
.grid.list .card { display: grid; grid-template-columns: 320px 1fr; }
.grid.list .card .media { aspect-ratio: auto; min-height: 210px; }
.empty { text-align: center; padding: 80px 20px; border: 1px dashed var(--line); border-radius: var(--r); grid-column: 1 / -1; }
.empty h3 { font-family: var(--font-d); margin-bottom: 8px; }

/* ---------- modo match (swipe) ---------- */
.match-sec { background: linear-gradient(180deg, var(--bg2), #fbf5e7); }
.match { display: grid; grid-template-columns: 1fr 420px 1fr; gap: 40px; align-items: center; }
.match .side h2 { font-family: var(--font-d); font-size: clamp(30px, 3.6vw, 50px); line-height: 1; margin: 14px 0 16px; }
.deck { position: relative; height: 560px; perspective: 1000px; }
.deck .sw { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: grab; touch-action: none; user-select: none; transition: transform .45s var(--ease), opacity .45s; }
.deck .sw:active { cursor: grabbing; }
.deck .sw img { width: 100%; height: 66%; object-fit: cover; pointer-events: none; }
.deck .sw .info { padding: 20px 22px; }
.deck .sw h3 { font-size: 22px; line-height: 1.2; margin: 4px 0 12px; }
.deck .sw .p { font-family: var(--font-d); color: var(--gold); font-size: 26px; font-weight: 700; margin-top: 12px; }
.deck .stamp { position: absolute; top: 30px; padding: 8px 18px; border: 4px solid; border-radius: 12px; font-family: var(--font-d); font-weight: 800; font-size: 26px; opacity: 0; letter-spacing: .05em; }
.deck .stamp.like { left: 24px; color: var(--ok); transform: rotate(-14deg); }
.deck .stamp.nope { right: 24px; color: var(--danger); transform: rotate(14deg); }
.deck-ctrl { display: flex; justify-content: center; gap: 18px; margin-top: 22px; }
.deck-ctrl button { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; transition: transform .2s var(--ease), border-color .2s; }
.deck-ctrl button:hover { transform: scale(1.1); }
.deck-ctrl .no:hover { border-color: var(--danger); color: var(--danger); }
.deck-ctrl .yes:hover { border-color: var(--ok); color: var(--ok); }
.deck-ctrl svg { width: 26px; height: 26px; }
.deck-end { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; border: 1px dashed var(--line); border-radius: 26px; padding: 30px; }
.liked-list { display: grid; gap: 10px; margin-top: 16px; }
.liked-list a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); animation: cardIn .4s var(--ease); }
.liked-list img { width: 64px; height: 46px; border-radius: 10px; object-fit: cover; }
.liked-list b { font-size: 14px; display: block; }
.liked-list small { color: var(--gold); font-weight: 700; }

/* vendidos */
.sold-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.sold-item { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.sold-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.8) brightness(.6); transition: filter .4s; }
.sold-item:hover img { filter: none; }
.sold-item .lbl { color: #fff; position: absolute; inset: auto 0 0; padding: 12px; background: linear-gradient(transparent, #000c); font-size: 13px; font-weight: 700; }
.sold-item .stamp2 { position: absolute; top: 12px; right: -30px; transform: rotate(35deg); background: var(--danger); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 36px; letter-spacing: .1em; }

/* venda seu carro / CTA */
.cta { border-radius: 30px; padding: clamp(30px, 5vw, 64px); background: linear-gradient(120deg, #fbf3e1, var(--bg2) 60%); border: 1px solid var(--line); display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { font-family: var(--font-d); font-size: clamp(28px, 3.6vw, 48px); line-height: 1.05; }
.form { display: grid; gap: 12px; }
.form input, .form textarea, .form select { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; outline: 0; transition: border-color .2s; }
.form input:focus, .form textarea:focus { border-color: var(--gold); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* localização (mapa) */
.visit { padding: 70px 0 80px; }
.visit-box { display: grid; grid-template-columns: 380px 1fr; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.visit-info { padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; }
.visit-info h2 { font-family: var(--font-d); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; font-weight: 700; }
.vi-row { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.vi-row svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.vi-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.vi-btns .btn { padding: 12px 18px; }
.visit-map { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.9); }

/* footer — mesmo cinza do menu */
footer { background: #222222; border-top: 3px solid #c3943c; padding: 60px 0 40px; color: #a9a9a9; font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
footer a:hover { color: var(--gold2); }
footer .gold { color: var(--gold2); }
footer .bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; font-size: 12px; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px -6px #25d36699; transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2s infinite; }
@keyframes ping { to { transform: scale(1.6); opacity: 0; } }

/* drawer (favoritos) e barra de comparação */
.drawer-bg { position: fixed; inset: 0; background: rgba(20, 18, 12, .35); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer-bg.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg2); border-left: 1px solid var(--line); z-index: 81; transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; }
.drawer.on { transform: none; }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 22px; border-bottom: 1px solid var(--line); }
.drawer header h3 { font-family: var(--font-d); }
.drawer .list { padding: 16px; overflow: auto; display: grid; gap: 10px; align-content: start; flex: 1; }
.drawer .item { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 14px; }
.drawer .item img { width: 90px; height: 64px; object-fit: cover; border-radius: 10px; }
.drawer .item b { font-size: 14px; line-height: 1.25; display: block; }
.drawer .item small { color: var(--gold); font-weight: 700; }

.compare-bar { position: fixed; left: 50%; bottom: 22px; z-index: 45; transform: translate(-50%, 150%); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 20px; padding: 10px 10px 10px 18px; display: flex; align-items: center; gap: 14px; transition: transform .45s var(--ease); box-shadow: 0 20px 50px -16px rgba(0,0,0,.3); }
.compare-bar.on { transform: translate(-50%, 0); }
.compare-bar .slots { display: flex; gap: 8px; }
.compare-bar .slots div { width: 64px; height: 46px; border-radius: 10px; border: 1px dashed var(--line); overflow: hidden; position: relative; }
.compare-bar .slots img { width: 100%; height: 100%; object-fit: cover; }

.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(20, 18, 12, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal.on { opacity: 1; pointer-events: auto; }
.modal .box { background: var(--bg2); border: 1px solid var(--line); border-radius: 24px; width: min(1000px, 100%); max-height: 90vh; overflow: auto; transform: translateY(20px) scale(.98); transition: transform .4s var(--ease); }
.modal.on .box { transform: none; }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; vertical-align: top; }
.cmp-table th { color: var(--muted); font-weight: 600; width: 160px; }
.cmp-table td.best { color: var(--ok); font-weight: 800; }
.cmp-table td.best::after { content: ' ★'; }
.cmp-table img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }

.toast { position: fixed; top: 90px; left: 50%; transform: translate(-50%, -20px); background: var(--text); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 14px; z-index: 100; opacity: 0; transition: all .35s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- página do carro ---------- */
.detail { padding-top: 100px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold); }
.d-grid { display: grid; grid-template-columns: 1fr 400px; gap: 34px; align-items: start; }
/* galeria em mosaico (desktop) + carrossel (celular) */
.gallery { position: relative; margin-bottom: 30px; }
.mosaic { display: grid; gap: 8px; height: clamp(300px, 34vw, 460px); border-radius: 20px; overflow: hidden; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.mosaic.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.mosaic.n2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.mosaic.n3 { grid-template-columns: 2fr 1fr; }
.mosaic .tile { position: relative; overflow: hidden; padding: 0; cursor: zoom-in; background: var(--field); min-height: 0; }
.mosaic .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.mosaic .tile:hover img { transform: scale(1.04); filter: brightness(1.05); }
.mosaic .big { grid-row: 1 / -1; }
.mosaic .more { position: absolute; inset: 0; background: rgba(15, 12, 6, .55); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.gallery .g-tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; pointer-events: none; }
.gallery .all-btn { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--text); padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .4); transition: transform .2s var(--ease); }
.gallery .all-btn:hover { transform: translateY(-2px); }
.gallery .all-btn svg { width: 16px; height: 16px; }
.strip { display: none; }
.g-count { display: none; }
.side-card { position: sticky; top: 96px; background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.side-card h1 { font-family: var(--font-d); font-size: 26px; line-height: 1.15; margin: 6px 0 4px; font-weight: 700; }
.side-card .bigprice { font-family: var(--font-d); font-size: 40px; font-weight: 700; color: var(--gold); margin: 18px 0 4px; letter-spacing: -.02em; }
.side-card .btns { display: grid; gap: 10px; margin-top: 20px; }
.side-card .btns .btn { justify-content: center; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 28px; }
.spec { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; transition: border-color .2s, transform .3s var(--ease); }
.spec:hover { border-color: var(--gold); transform: translateY(-3px); }
.spec svg { width: 22px; height: 22px; color: var(--gold); }
.spec small { display: block; color: var(--muted); font-size: 12px; margin-top: 10px; }
.spec b { font-size: 16px; }
.block { margin-top: 40px; }
.block h2 { font-family: var(--font-d); font-size: 22px; margin-bottom: 16px; font-weight: 600; }
.feat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.feat-list span { padding: 9px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.feat-list span::before { content: '✓'; color: var(--gold); font-weight: 900; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(10, 10, 10, .96); display: none; grid-template-rows: auto 1fr auto; }
.lightbox.on { display: grid; }
.lightbox .lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; color: #fff; font-weight: 700; }
.lightbox .lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 70px; }
.lightbox .lb-stage img { max-width: 100%; max-height: calc(100dvh - 170px); object-fit: contain; border-radius: 8px; user-select: none; }
.lightbox .lb-btn { color: #fff; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font-size: 26px; transition: background .2s; }
.lightbox .lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox .l, .lightbox .r { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .l { left: 12px; } .lightbox .r { right: 12px; }
.lightbox .lb-thumbs { display: flex; gap: 8px; padding: 14px 18px 18px; overflow-x: auto; justify-content: safe center; scrollbar-width: thin; }
.lightbox .lb-thumbs img { width: 84px; height: 60px; object-fit: cover; border-radius: 8px; opacity: .45; cursor: pointer; flex-shrink: 0; border: 2px solid transparent; transition: opacity .2s; }
.lightbox .lb-thumbs img.on { opacity: 1; border-color: var(--gold2); }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .match { grid-template-columns: 1fr; text-align: center; }
  .match .side { max-width: 520px; margin-inline: auto; }
  .deck { width: min(420px, 100%); margin-inline: auto; }
  .d-grid { grid-template-columns: 1fr; }
  .mosaic { height: clamp(260px, 44vw, 420px); }
  .side-card { position: static; }
}
@media (max-width: 900px) {
  .top nav { display: none; }
  .top .actions { margin-left: auto; }
  .quick { flex-wrap: wrap; }
  .qf, .qf.grow { flex: 1 1 45%; min-width: 0; }
  .qf.grow { flex-basis: 100%; }
  .quick .btn { flex: 1 1 100%; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .quick-wrap { margin-top: -18px; }
  .stock { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0; top: auto; max-height: 80vh; border-radius: 24px 24px 0 0; z-index: 85; transform: translateY(105%); transition: transform .45s var(--ease); }
  .filters.on { transform: none; }
  .mobile-filter-btn { display: inline-flex; }
  .cta { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .visit-box { grid-template-columns: 1fr; }
  .visit-map { min-height: 300px; }
  .grid.list .card { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .mosaic, .gallery .all-btn { display: none; }
  .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 16px; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .strip img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
  .g-count { display: block; position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, .6); color: #fff; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
  .lightbox .lb-stage { padding: 0 8px; }
  .lightbox .l, .lightbox .r { display: none; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .quick-wrap { margin-top: 14px; }
  .qf { flex-basis: 100%; }
  .top .btn-gold { display: none; }
  .deck { height: 500px; }
  footer .cols { grid-template-columns: 1fr; }
  .compare-bar { width: calc(100% - 24px); }
  .compare-bar .slots div { width: 48px; height: 36px; }
  .form .row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
