/* =========================================================================
   BF Carhaus — Vitrine
   Linguagem visual das marcas premium (padrão porsche.com): fundo claro,
   tipografia grande, muito respiro, botões em pílula e linhas finas.
   ========================================================================= */
:root {
  --bg: #ffffff;
  --surface: #eff0f2;
  --surface-2: #f7f8f9;
  --ink: #010205;
  --ink-2: #6b6d70;
  --ink-3: #96989c;
  --line: #e3e4e5;
  --line-2: #c9cacb;
  --gold: #8f711f;
  --gold-2: #c8a14a;
  --ok: #018a16;
  --warn: #b8600f;
  --dark: #0b0b0d;

  --sans: "Barlow", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.25, 1, .5, 1);
  --r: 8px;
  --r-lg: 12px;
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1600px;
  --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.serif { font-family: inherit; font-style: normal; font-weight: 600; color: inherit; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
::view-transition-group(carro-foto) { animation-duration: .5s; animation-timing-function: var(--ease); }

/* ===== Tipografia ======================================================= */
.eyebrow { display: block; font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.h-section { font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; margin: 0; font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
.lead { color: var(--ink-2); font-size: clamp(1rem, 1.15vw, 1.15rem); max-width: 58ch; margin: 0; }

/* ===== Botões =========================================================== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font-size: 16px; font-weight: 500; white-space: nowrap; border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.98); }
.btn--gold, .btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--gold:hover, .btn--ink:hover { background: #25262a; border-color: #25262a; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: #ededee; border-color: #ededee; }
.btn--ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn--ghost:hover { background: rgba(1, 2, 5, .06); }
.hero .btn--ghost:hover, .sell .btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn--wa { background: #0f8a3d; color: #fff; border-color: #0f8a3d; }
.btn--wa:hover { background: #0c7533; border-color: #0c7533; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.icon-btn { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; position: relative; color: inherit; transition: background .25s; }
.icon-btn:hover { background: rgba(1, 2, 5, .07); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn .count {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.icon-btn .count.on { transform: scale(1); }

/* ===== Header =========================================================== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); background: #fff; border-bottom: 1px solid var(--line); transition: transform .4s var(--ease); }
.header.hide { transform: translateY(-100%); }
.header__in { height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; height: 100%; margin-right: 10px; }
.brand img { height: 24px; width: auto; }
.nav { display: flex; gap: 2px; margin-right: auto; }
.nav a { position: relative; padding: 10px 14px; font-size: 16px; font-weight: 500; color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 6px; }
.menu-btn { display: none; }
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header__actions { margin-left: auto; }
  .header__actions .btn { display: none; }
}

.drawer-nav {
  position: fixed; inset: 0; z-index: 70; background: #fff;
  display: flex; flex-direction: column; padding: calc(var(--header) + 16px) var(--gutter) 32px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.drawer-nav.open { opacity: 1; visibility: visible; }
.drawer-nav a {
  font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 600; letter-spacing: -.02em; padding: 16px 0;
  border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
  transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
.drawer-nav a::after { content: "→"; font-weight: 400; color: var(--ink-3); }
.drawer-nav.open a { transform: none; opacity: 1; }
.drawer-nav.open a:nth-child(2) { transition-delay: .03s } .drawer-nav.open a:nth-child(3) { transition-delay: .06s }
.drawer-nav.open a:nth-child(4) { transition-delay: .09s } .drawer-nav.open a:nth-child(5) { transition-delay: .12s }
.drawer-nav.open a:nth-child(6) { transition-delay: .15s }
.drawer-nav .close { position: absolute; top: 14px; right: var(--gutter); }
.drawer-nav .btn { margin-top: auto; }
.drawer-nav .btn::after { content: none; }

/* ===== Hero ============================================================= */
.hero { position: relative; height: 86vh; min-height: 560px; max-height: 920px; overflow: hidden; background: #000; margin-top: var(--header); color: #fff; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__slide.on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__slide.on img { animation: kenburns 11s linear forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.25) 44%, rgba(0,0,0,0) 72%),
              linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 58%);
}
.hero__content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding-bottom: clamp(160px, 20vh, 215px); }
.hero__info { max-width: 820px; }
.hero__tag { color: rgba(255,255,255,.78); font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.hero__title { margin: 0; font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; }
.hero__sub { color: rgba(255,255,255,.8); font-size: clamp(1rem, 1.4vw, 1.2rem); margin: 16px 0 28px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.hero__sub b { color: #fff; font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__price { display: flex; flex-direction: column; margin-right: 14px; }
.hero__price small { color: rgba(255,255,255,.7); font-size: 14px; }
.hero__price strong { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: -.02em; }
.hero__swap > * { transition: opacity .4s, transform .6s var(--ease); }
.hero__swap.out > * { opacity: 0; transform: translateY(14px); }

.hero__dots { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(160px, 20vh, 215px); display: flex; gap: 10px; align-items: center; }
.hero__dot { display: block; width: 46px; height: 3px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero__dot span { display: none; }
.hero__dot i { position: absolute; inset: 0; display: block; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.on i { animation: fill var(--dur, 7s) linear forwards; }
.hero.paused .hero__dot.on i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
@media (max-width: 860px) {
  .hero { height: 78vh; }
  .hero__dots { left: var(--gutter); right: auto; bottom: auto; top: calc(var(--header) + 16px); }
  .hero__dot { width: 30px; }
  .hero__content { padding-bottom: 170px; }
  .hero__price { width: 100%; margin: 0 0 6px; }
}

/* ===== Busca ============================================================ */
.finder { position: absolute; z-index: 5; left: 0; right: 0; bottom: 26px; }
.finder__box {
  position: relative; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 999px; padding: 8px 8px 8px 24px; max-width: 760px;
  box-shadow: 0 18px 50px -24px rgba(0,0,0,.7); color: var(--ink);
}
.finder__box > svg { width: 20px; height: 20px; color: var(--ink-2); flex: none; }
.finder__input { flex: 1; min-width: 0; height: 52px; background: none; border: 0; outline: 0; font-size: 17px; color: var(--ink); }
.finder__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.finder__ghost { position: absolute; left: 56px; right: 170px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-3); font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.finder__ghost .caret { display: inline-block; width: 1px; height: 1.1em; background: var(--ink); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.finder__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; min-height: 30px; }
.chip-p { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; font-size: 14px; background: rgba(255,255,255,.92); color: var(--ink); animation: pop .3s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } }
.finder__hint { font-size: 14px; color: rgba(255,255,255,.75); margin: 12px 0 0; }
.finder__hint button { color: #fff; text-decoration: underline; text-underline-offset: 4px; margin: 0 3px; }
@media (max-width: 760px) {
  .finder { bottom: 20px; }
  .finder__box { padding-left: 18px; }
  .finder__box .btn span { display: none; }
  .finder__box .btn { width: 52px; padding: 0; }
  .finder__ghost { left: 48px; right: 70px; font-size: 16px; }
  .finder__input { font-size: 16px; }
  .finder__hint { display: none; }
}

/* ===== Seções =========================================================== */
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 52px); }
.section--ivory { background: var(--surface); }

/* ===== Estoque ========================================================== */
.live { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.live.demo .dot { background: var(--warn); }

.toolbar {
  position: sticky; top: calc(var(--header) - 1px); z-index: 20; margin: 0 calc(-1 * var(--gutter)) 32px;
  padding: 12px var(--gutter); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: top .4s var(--ease), border-color .3s;
}
body.header-oculto .toolbar { top: 0; }
.toolbar.stuck { border-color: var(--line); }
.toolbar__row { display: flex; align-items: center; gap: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; transition: all .25s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { color: var(--ink-3); font-size: 13px; }
.chip.on small { color: rgba(255,255,255,.6); }
.select {
  height: 42px; padding: 0 38px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  appearance: none; -webkit-appearance: none; font-size: 15px; color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23010205' stroke-width='1.6'%3E%3Cpath d='M2 4.5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.active-filters:empty { display: none; }
.af { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 14px; border-radius: 999px; font-size: 14px; background: var(--surface); color: var(--ink); }
.af button { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.af button:hover { background: var(--line); color: var(--ink); }
.af button svg { width: 14px; height: 14px; }
.af--clear { background: none; text-decoration: underline; text-underline-offset: 4px; padding: 0 8px; color: var(--ink-2); }
@media (max-width: 640px) { .toolbar .select { display: none; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 370px), 1fr)); gap: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 36px); }

/* cartão como a linha de modelos de uma marca: foto solta, texto embaixo */
.card { position: relative; display: flex; flex-direction: column; }
.card__link { position: absolute; inset: 0; z-index: 2; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); border-radius: var(--r); isolation: isolate; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; }
.card__media img.alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__media img { transform: scale(1.04); }
  .card:hover .card__media img.alt { opacity: 1; }
  .card:hover .card__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .card:hover .card__go { background: var(--ink); color: #fff; border-color: var(--ink); }
}
.card__badges { position: absolute; z-index: 3; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(255,255,255,.94); color: var(--ink); backdrop-filter: blur(6px); }
.badge svg { width: 14px; height: 14px; }
.badge--gold { background: var(--ink); color: #fff; }
.badge--ok svg { color: var(--ok); }
.badge--fipe { background: #e4f3e7; color: var(--ok); }
.badge--res { background: #fdefe2; color: var(--warn); }
.card__fav { position: absolute; z-index: 3; top: 10px; right: 10px; background: rgba(255,255,255,.9); }
.card__fav:hover { background: #fff; }
.fav svg path { transition: fill .25s, stroke .25s; }
.fav.on svg path { fill: var(--ink); stroke: var(--ink); }
.fav.on { animation: beat .4s var(--ease); }
@keyframes beat { 40% { transform: scale(1.2); } }
.card__body { padding: 18px 2px 0; }
.card__brand { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.card__name { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 2px 0; }
.card__ver { color: var(--ink-2); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__specs { display: flex; gap: 14px; margin: 14px 0 16px; font-size: 14px; color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--line); }
.card__specs span + span { position: relative; padding-left: 14px; }
.card__specs span + span::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; background: var(--line-2); transform: translateY(-50%); }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.card__price { font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.card__inst { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.card__inst b { font-weight: 500; color: var(--ink); }
.card__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .25s, color .25s, border-color .25s; }
.card__go svg { width: 18px; height: 18px; }
.card__compare { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.card__compare i { width: 18px; height: 18px; border-radius: 4px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .25s; }
.card__compare:hover, .card__compare.on { color: var(--ink); }
.card__compare.on i { background: var(--ink); border-color: var(--ink); }
.card__compare.on i::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.card--sold .card__media img { filter: grayscale(.35); }

.empty { text-align: center; padding: 72px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2); }
.empty h3 { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 10px; }
.empty p { color: var(--ink-2); margin: 0 auto 24px; max-width: 48ch; }

.skel { border-radius: var(--r); background: linear-gradient(100deg, var(--surface-2) 30%, var(--line) 50%, var(--surface-2) 70%); background-size: 300% 100%; animation: shimmer 1.4s infinite; aspect-ratio: 4 / 4.6; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ===== Painel de filtros =============================================== */
.sheet-bg { position: fixed; inset: 0; z-index: 80; background: rgba(1,2,5,.4); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.sheet-bg.open { opacity: 1; visibility: visible; }
.sheet { position: fixed; z-index: 81; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(102%); transition: transform .45s var(--ease); }
.sheet.open { transform: none; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.sheet__head h3 { margin: 0; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.sheet__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.sheet__foot { padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 10px; }
.fgroup { padding: 20px 0; border-bottom: 1px solid var(--line); }
.fgroup h4 { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--ink); }
.fgroup .chips { flex-wrap: wrap; overflow: visible; }
.fgroup .chip { height: 40px; font-size: 15px; }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .sheet { top: auto; left: 0; width: 100%; max-height: 88vh; border-radius: 16px 16px 0 0; transform: translateY(102%); } }

/* ===== Campos =========================================================== */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; color: var(--ink-2); }
.input { height: 54px; width: 100%; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 16px; outline: 0; transition: border-color .25s, box-shadow .25s; }
textarea.input { height: 110px; padding: 14px 16px; resize: vertical; }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.input::placeholder { color: var(--ink-3); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23010205' stroke-width='1.6'%3E%3Cpath d='M2 4.5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full, .form-grid .form-ok { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 13.5px; color: var(--ink-2); margin: 12px 0 0; }
.form-ok { display: none; text-align: center; padding: 28px 10px; }
.form-ok > svg { width: 56px; height: 56px; color: var(--ok); margin: 0 auto 16px; display: block; }
.form-ok h4 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 8px; }
.form-ok p { color: var(--ink-2); margin: 0 0 20px; }
form.done > :not(.form-ok) { display: none !important; }
form.done .form-ok { display: block; animation: pop .4s var(--ease); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); gap: 2px; }
.seg button { height: 42px; padding: 0 18px; border-radius: 999px; font-size: 15px; color: var(--ink-2); transition: all .25s; }
.seg button.on { background: var(--ink); color: #fff; }

/* ===== Encontre pra mim ================================================ */
.hunt { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.hunt__in { display: grid; grid-template-columns: 1.05fr 1fr; }
.hunt__copy { padding: clamp(32px, 5vw, 80px); background: var(--surface); }
.hunt__copy .h-section { margin: 0 0 20px; }
.hunt__steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.hunt__steps li { display: flex; gap: 16px; align-items: baseline; color: var(--ink-2); }
.hunt__steps li b { font-weight: 600; color: var(--ink); font-size: 15px; }
.hunt__form { padding: clamp(28px, 4vw, 56px); background: #fff; }
@media (max-width: 900px) { .hunt__in { grid-template-columns: 1fr; } }

/* ===== Simulador ======================================================== */
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 90px); align-items: start; }
.sim__panel { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 46px); }
.range { margin-bottom: 30px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.range__top label { font-size: 15px; color: var(--ink-2); }
.range__top output { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; --p: 50%; touch-action: pan-y; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p), var(--line-2) var(--p)); }
input[type=range]::-moz-range-track { height: 2px; background: var(--line-2); }
input[type=range]::-moz-range-progress { height: 2px; background: var(--ink); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); margin-top: -12px; box-shadow: 0 2px 10px rgba(0,0,0,.14); transition: transform .2s var(--ease); }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.terms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.terms button { height: 46px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2); transition: all .25s; }
.terms button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sim__result { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sim__result small { display: block; color: var(--ink-2); font-size: 15px; }
.sim__big { font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.sim__big span { font-size: .38em; letter-spacing: 0; color: var(--ink-2); font-weight: 500; margin-right: 8px; }
.sim__legal { font-size: 13px; color: var(--ink-2); margin: 20px 0 0; }
.sim__copy .h-section { margin: 0 0 20px; }
.banks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.banks span { font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
@media (max-width: 900px) { .sim { grid-template-columns: 1fr; } }

/* ===== Venda seu carro ================================================= */
.sell { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.sell__bg { position: absolute; inset: 0; }
.sell__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.sell__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,13,.96) 20%, rgba(11,11,13,.55) 62%, rgba(11,11,13,.85)); }
.sell__in { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(28px, 6vw, 96px); align-items: center; }
.sell .eyebrow { color: rgba(255,255,255,.7); }
.sell .lead { color: rgba(255,255,255,.78); }
.sell__card { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); }
.sell__card h3 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.sell__card > p { color: var(--ink-2); margin: 0 0 24px; font-size: 15.5px; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.8); }
.checks svg { width: 20px; height: 20px; color: #fff; flex: none; }
@media (max-width: 900px) { .sell__in { grid-template-columns: 1fr; } }

/* ===== Visite =========================================================== */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.visit__info { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; gap: 30px; }
.visit__info .h-section { margin: 0; }
.visit__row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; }
.visit__row dt { color: var(--ink-2); font-size: 15px; }
.visit__row dd { margin: 0; }
.visit__row dd span { display: block; color: var(--ink-2); }
.visit__map { position: relative; min-height: 420px; background: var(--surface-2); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .visit__map { min-height: 300px; } .visit__row { grid-template-columns: 1fr; gap: 2px; } }

/* ===== Rodapé =========================================================== */
.footer { background: var(--surface); padding: clamp(56px, 7vw, 90px) 0 calc(32px + env(safe-area-inset-bottom)); margin-top: clamp(64px, 8vw, 120px); }
.footer__big { display: none; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer h5 { margin: 0 0 16px; font-size: 15px; font-weight: 600; color: var(--ink); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer li, .footer li a { color: var(--ink-2); font-size: 15.5px; transition: color .25s; }
.footer li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: 13.5px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child, .footer__grid > :last-child { grid-column: 1 / -1; } }

/* ===== Flutuantes ====================================================== */
.fab-wa { position: fixed; z-index: 40; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; background: #0f8a3d; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); transition: transform .35s var(--ease), opacity .3s; }
.fab-wa svg { width: 28px; height: 28px; }
.fab-wa:hover { transform: scale(1.06); }
.fab-wa.hidden, .fab-wa.no-hero { opacity: 0; transform: scale(.7); pointer-events: none; }

.compare-bar { position: fixed; z-index: 45; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); transition: transform .45s var(--ease); max-width: calc(100% - 32px); }
.compare-bar.on { transform: translate(-50%, 0); }
.compare-bar__thumbs { display: flex; }
.compare-bar__thumbs img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); margin-left: -8px; }
.compare-bar__thumbs img:first-child { margin-left: 0; }
.compare-bar span { font-size: 15px; white-space: nowrap; }
.compare-bar .btn--ink { background: #fff; color: var(--ink); border-color: #fff; }
.compare-bar .x { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.7); }

/* ===== Modal ============================================================ */
.modal-bg { position: fixed; inset: 0; z-index: 90; background: rgba(1,2,5,.5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; display: grid; place-items: center; padding: 16px; }
.modal-bg.open { opacity: 1; visibility: visible; }
.modal { width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); position: relative; transform: translateY(18px); transition: transform .45s var(--ease); }
.modal--wide { width: min(1080px, 100%); }
.modal-bg.open .modal { transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; }
.modal h3 { margin: 0 34px 8px 0; font-size: 1.6rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.modal .sub { color: var(--ink-2); margin: 0 0 24px; font-size: 16px; }
.modal__car { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--surface-2); margin-bottom: 22px; }
.modal__car img { width: 92px; height: 66px; border-radius: 6px; object-fit: cover; }
.modal__car b { display: block; font-weight: 600; }
.modal__car span { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 640px) {
  .modal-bg { place-items: end stretch; padding: 0; }
  .modal { width: 100%; max-width: none; border-radius: 16px 16px 0 0; max-height: calc(100dvh - 24px); padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); }
  .modal::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); margin: -10px auto 16px; }
}

/* comparar */
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
.cmp th, .cmp td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th { color: var(--ink-2); font-weight: 400; font-size: 14px; width: 150px; }
.cmp td img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); margin-bottom: 12px; background: var(--surface-2); }
.cmp td b { font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; }
.cmp .best { color: var(--ok); font-weight: 600; }
.cmp-wrap { overflow-x: auto; margin: 0 -4px; }
@media (max-width: 640px) { .cmp th, .cmp td { padding: 12px 6px; font-size: 14px; } .cmp th { width: 78px; } }

/* toast */
.toast { position: fixed; z-index: 100; left: 50%; top: 20px; transform: translate(-50%, -150%); background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px; font-size: 15px; transition: transform .45s var(--ease); max-width: calc(100% - 32px); }
.toast.on { transform: translate(-50%, 0); }

/* ===== Revelação ao rolar ============================================== */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv-clip { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); transition-delay: var(--d, 0s); }
.rv-clip.in { clip-path: inset(0 0 0 0); }
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 40ms + var(--d, 0s)); }
.words.in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv, .rv-clip, .words .w > span { opacity: 1; transform: none; clip-path: none; }
}

/* =========================================================================
   Página do carro
   ========================================================================= */
.page-top { padding-top: calc(var(--header) + 24px); }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink-2); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.crumbs i { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }

.car { display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-areas: "gal panel" "info panel"; column-gap: clamp(24px, 3.4vw, 56px); align-items: start; }
.car__gal { grid-area: gal; min-width: 0; }
.car__info { grid-area: info; min-width: 0; }
.car > .panel { grid-area: panel; }
@media (max-width: 1100px) { .car { grid-template-columns: 1fr; grid-template-areas: "gal" "panel" "info"; } .car > .panel { position: static; margin-top: 24px; } }

.gallery__main { position: relative; aspect-ratio: 16 / 10.5; border-radius: var(--r); overflow: hidden; background: var(--surface-2); cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; view-transition-name: carro-foto; }
.gallery__main .fade { animation: fadein .4s var(--ease); }
@keyframes fadein { from { opacity: 0; } }
.gallery__nav { position: absolute; inset: auto 14px 14px auto; display: flex; gap: 8px; z-index: 2; }
.gallery__nav button { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--ink); }
.gallery__nav button:hover { background: #fff; }
.gallery__nav svg { width: 18px; height: 18px; }
.gallery__count { position: absolute; left: 14px; bottom: 14px; z-index: 2; font-size: 13.5px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.92); }
.gallery__3d { position: absolute; z-index: 3; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; }
.gallery__3d svg { width: 18px; height: 18px; }
.gallery__main model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; background: radial-gradient(90% 70% at 50% 45%, #fff, #e9eaec 80%); --poster-color: transparent; }
.gallery__main.em-3d { cursor: grab; }
.gallery__main.em-3d .gallery__nav, .gallery__main.em-3d .gallery__count { display: none; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumbs button { flex: none; width: 112px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--surface-2); outline: 1px solid var(--line); outline-offset: -1px; transition: outline-color .25s; }
.gallery__thumbs button.on { outline: 2px solid var(--ink); outline-offset: -2px; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.panel { position: sticky; top: calc(var(--header) + 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.panel__brand { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.panel h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin: 4px 0 6px; }
.panel__ver { color: var(--ink-2); margin: 0 0 18px; font-size: 16px; }
.panel__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.panel__badges .badge:not(.badge--gold):not(.badge--fipe):not(.badge--res) { background: var(--surface); }
.panel__price { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.panel__price strong { display: block; font-size: 2.2rem; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.panel__price span { display: block; color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.panel__price span b { color: var(--ink); font-weight: 600; }
.panel__cta { display: grid; gap: 10px; }
.panel__cta .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.panel__trust { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); }
.panel__trust li { display: flex; gap: 10px; align-items: center; }
.panel__trust svg { width: 18px; height: 18px; color: var(--ink); flex: none; }
.panel__tools { display: flex; gap: 6px; justify-content: flex-end; margin: -12px -12px 0 0; float: right; }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 40px; }
.spec { background: #fff; padding: 22px 22px 24px; }
.spec small { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.spec b { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; }
@media (max-width: 700px) { .specs { grid-template-columns: 1fr 1fr; } }

.block { margin-top: 56px; }
.block h2 { font-size: 1.7rem; font-weight: 600; letter-spacing: -.025em; margin: 0 0 20px; }
.desc { color: var(--ink-2); font-size: 17px; line-height: 1.65; white-space: pre-line; max-width: 72ch; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 28px; list-style: none; padding: 0; margin: 0; }
.opts li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.opts svg { width: 16px; height: 16px; color: var(--ink); flex: none; }

.mini-sim { background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; }
.mini-sim .range { margin-bottom: 20px; }
.mini-sim .sim__big { font-size: clamp(2rem, 3.6vw, 2.8rem); }
@media (max-width: 700px) { .mini-sim { grid-template-columns: 1fr; } }

.mobile-bar { position: fixed; z-index: 44; left: 0; right: 0; bottom: 0; display: none; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .4s var(--ease); }
.mobile-bar.on { transform: none; }
.mobile-bar div { flex: 1; min-width: 0; }
.mobile-bar small { display: block; color: var(--ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-bar b { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.mobile-bar .btn { height: 46px; padding: 0 20px; }
@media (max-width: 1100px) { .mobile-bar { display: flex; } body.has-bar .fab-wa { display: none; } body.has-bar .footer { padding-bottom: 110px; } }

.lightbox { position: fixed; inset: 0; z-index: 95; background: #fff; display: none; }
.lightbox.open { display: block; }
.lightbox__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__track img { flex: none; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.lightbox .icon-btn { position: absolute; top: 16px; right: 16px; background: var(--surface); }
.lightbox__count { position: absolute; top: 26px; left: 22px; font-size: 14px; color: var(--ink-2); }

.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 600; letter-spacing: -.03em; margin: 0 0 14px; }
.notfound p { color: var(--ink-2); margin: 0 0 28px; }

/* ===== Ficha aberta ===================================================== */
.ficha { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 44px); scroll-margin-top: calc(var(--header) + 20px); }
.ficha__head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 600; letter-spacing: -.025em; margin: 10px 0; }
.ficha__head p { color: var(--ink-2); margin: 0; max-width: 58ch; }
.ficha__grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 30px; }
.ficha__col { background: #fff; padding: 26px; }
.ficha__col h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 18px; }
.ficha__col h3 svg { width: 20px; height: 20px; color: var(--ink); }
.ficha__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ficha__lista li { display: flex; flex-direction: column; gap: 2px; font-size: 15.5px; }
.ficha__lista small { color: var(--ink-2); font-size: 13.5px; }
.ficha__ok li { flex-direction: row; align-items: center; gap: 10px; }
.ficha__ok svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.ficha__nota { color: var(--ink-2); font-size: 13.5px; margin: 18px 0 0; }
.ficha__big { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; color: var(--ok); }
.barras { display: grid; gap: 14px; margin-top: 24px; }
.barras > div { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.barras i { display: block; height: 8px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.barras i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--line-2); border-radius: 4px; transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) .2s; }
.barras .bf i::after { background: var(--ok); }
.ficha.in .barras i::after { transform: scaleX(1); }
.barras b { grid-column: 2; font-weight: 600; color: var(--ink); margin-top: 5px; }
@media (max-width: 900px) { .ficha__grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Tela de carregamento — só a marca e um fio de progresso
   ========================================================================= */
html.carregando, html.carregando body { overflow: hidden; }
html.ld-skip .loader { display: none; }
.loader {
  position: fixed; inset: 0; z-index: 1000; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  animation: ld-seguranca 0s 9s forwards;
}
.loader__logo {
  width: min(190px, 46vw); aspect-ratio: 600 / 202; background: var(--ink);
  -webkit-mask: url("/assets/logo-h.png") center / contain no-repeat; mask: url("/assets/logo-h.png") center / contain no-repeat;
  animation: ld-entra .6s var(--ease) both;
}
.loader__bar { width: min(190px, 46vw); height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.loader.saindo { opacity: 0; transition: opacity .5s var(--ease); }
@keyframes ld-entra { from { opacity: 0; } }
@keyframes ld-seguranca { to { visibility: hidden; } }

/* entrada do hero por baixo da tela de carregamento */
.hero__slides { transition: transform 1.4s var(--ease), filter 1s var(--ease); }
html.carregando .hero__slides { transform: scale(1.05); filter: brightness(.7); }
.hero__info, .finder, .hero__dots { transition: opacity .7s .15s var(--ease), transform .9s .15s var(--ease); }
html.carregando .hero__info, html.carregando .finder, html.carregando .hero__dots { opacity: 0; transform: translateY(18px); }

/* ===== Celular ========================================================== */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .card__compare { padding: 12px 12px 12px 0; margin: 4px 0 -12px; }
  .crumbs a { padding: 6px 0; }
}
@media (hover: none) { .card:active .card__media img { transform: scale(1.02); } }

/* campos: o foco já tem borda e sombra, sem anel do navegador */
.input:focus-visible, .finder__input:focus-visible { outline: none; }
