:root {
  --brand: #0066cc;
  --brand-2: #007bf8;
  --ink: #232323;
  --muted: #676767;
  --faint: #757575;
  --line: #ddd;
  --page: #f3f3f3;
  --soft: #eaf3ff;
  --navy: #0b2175;
  --bar: #1f3db0;
  --footer-title: #83a8fa;
  --footer-muted: #acc7fb;
  --white: #fff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --font: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); font-weight: 500; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button { cursor: pointer; }

.wrap { width: min(1920px, 100%); margin: 0 auto; padding: 0 40px; }
main { display: flex; flex-direction: column; gap: 64px; padding: 16px 0 64px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.5; white-space: nowrap;
}
.btn-fill { background: var(--brand); color: var(--white); }
.btn-white { background: var(--white); color: var(--brand); }
.btn-lg { height: 56px; }

.menu {
  position: sticky; top: 0; z-index: 20; height: 100px; display: flex; align-items: center;
  gap: 48px; padding: 0 40px; background: var(--white); border-bottom: 1px solid var(--line);
}
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 32px; align-items: stretch; height: 100%; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-btn, .menu-burger {
  border: 0; background: transparent; color: var(--ink); font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-btn { position: relative; padding: 0; cursor: pointer; }
.nav-btn i { color: var(--faint); font-size: 12px; transition: transform .2s ease; }
/* Item aberto: traço azul 16px abaixo do texto, na largura do texto (Figma "Item ativo"). */
.nav-item:is(:hover, :focus-within, .is-open) .nav-btn::after {
  content: ""; position: absolute; left: 0; top: calc(100% + 16px); width: calc(100% - 16px); height: 2px; background: var(--brand);
}
.nav-item:is(:hover, :focus-within, .is-open) .nav-btn i { transform: rotate(180deg); }
/* Fundo escurecido: só visual, não segura o mouse (antes ele cobria a tela e o menu nunca fechava). */
.nav-shade {
  display: none; position: fixed; z-index: 19; left: 0; right: 0; top: 100px; bottom: 0;
  background: rgba(35, 35, 35, 0.72); pointer-events: none;
}
.nav-item:is(:hover, :focus-within, .is-open) .nav-shade { display: block; }
/* Painel: 12px abaixo do menu e alinhado ao item (40px antes, para a 1ª coluna ficar sob a palavra). */
.nav-drop {
  display: none; position: absolute; z-index: 21; top: calc(100% + 12px); left: -40px;
  background: transparent; border: 0;
}
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:is(:hover, :focus-within, .is-open) .nav-drop.mega {
  display: grid; grid-template-columns: 260px 260px 300px; gap: 40px;
  padding: 36px 40px; background: var(--white); border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}
/* Telas mais estreitas: colunas menores para o painel caber. */
@media (max-width: 1100px) {
  .nav-item:is(:hover, :focus-within, .is-open) .nav-drop.mega { grid-template-columns: 220px 220px 260px; gap: 28px; padding: 32px; }
}
.mega-col { display: grid; gap: 16px; align-content: start; }
.mega-col > p { margin: 0; font-size: 12px; font-weight: 700; color: var(--muted); }
.mega-col a { display: flex; align-items: center; gap: 16px; }
/* Ícone do item (Figma "item-menu"): caixa blue/50 com ícone blue/600 — 40px no desktop, 32px no mobile. */
.menu-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: var(--soft); }
.menu-ico img { flex: none; }
.mega-txt { display: grid; gap: 2px; min-width: 0; }
.mega-col a strong { font-size: 16px; line-height: 1.5; }
.mega-txt span { font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--muted); }
.mega-col a:hover strong { color: var(--brand); }
.mega-card {
  background: var(--brand); color: var(--white); border-radius: 24px; padding: 28px;
  display: grid; align-content: start; align-self: start; gap: 12px;
}
.mega-card h3 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -0.24px; }
.mega-card p { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 500; }
.mega-card .btn { width: 100%; min-width: 0; padding: 0 16px; background: var(--white); color: var(--brand); }
.drawer { display: none; }
.menu-account { height: 45px; margin-left: auto; }
.menu-account i { display: none; }
.menu-burger { display: none; margin-left: auto; font-size: 20px; }

.hero { position: relative; height: 560px; }
.hero-banner {
  position: relative; height: 456px; border-radius: 35px; overflow: hidden;
  background: linear-gradient(162deg, #155dfc 0%, #1447e6 50%, #193cb8 100%);
}
.shape, .hero-shadow, .hero-car, .hero-hand, .hero-keyfob, .shot { position: absolute; pointer-events: none; }
.shape-left { left: -5.2%; top: 14.5%; width: 38.3%; height: auto; }
.shape-right { left: 64.2%; top: -10.6%; width: 38.3%; height: auto; }
.shot { overflow: hidden; border-radius: 33px; }
.shot img { position: absolute; max-width: none; }
.shot-lot { left: -3.9%; top: 35.8%; width: 22.2%; height: 55%; }
.shot-lot img { width: 288%; height: 241%; left: -94%; top: -130%; }
.shot-badge { left: 12.9%; top: -13.6%; width: 14.3%; height: 43.4%; }
.shot-badge img { width: 181%; height: 121%; left: -40%; top: -21%; }
.hero-shadow { left: -5.2%; top: 24.7%; width: 35.8%; height: 73.8%; object-fit: cover; mix-blend-mode: multiply; }
.hero-car { left: -6.2%; top: 24.8%; width: 35.8%; height: 73.8%; object-fit: cover; }
.shot-palm { left: 89.21%; top: 75.73%; width: 19.28%; height: 46.69%; background: #eaeaea; }
.shot-palm img { width: 159.66%; height: 138.29%; left: -18.97%; top: -38.54%; }
.shot-keys { left: 75.6%; top: 6.8%; width: 14.8%; height: 48.9%; }
.shot-keys img { width: 214%; height: 291%; left: 0; top: -186%; }
.hero-hand { left: 75.6%; top: 16.2%; width: 23.6%; height: 71.5%; object-fit: cover; }
.hero-keyfob { left: 87.4%; top: 74.2%; width: 28.3%; height: 48.3%; object-fit: cover; border-radius: 33px; }
.hero-copy {
  position: relative; z-index: 2; width: min(628px, 92%); margin: 71px auto 0;
  text-align: center; color: var(--white);
}
.hero-copy h1 { margin: 0; font-size: 60px; line-height: 1.2; letter-spacing: -1.2px; font-weight: 700; }
.hero-copy p { margin: 12px 0 0; font-size: 16px; line-height: 1.5; }
.region-chip {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--white);
  background: var(--navy); color: var(--white); font-size: 14px;
}
.region-chip i { font-size: 14px; }
.region-chip span { font-weight: 500; }

.filter {
  position: absolute; z-index: 3; left: 50%; top: 346px; transform: translateX(-50%);
  width: min(1000px, calc(100% - 64px)); background: var(--white); border: 1px solid var(--line);
  border-radius: 32px; padding: 28px 40px; display: grid; gap: 16px;
}
.filter-title { display: flex; align-items: center; gap: 8px; }
.filter-title h2 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -0.24px; }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tabs, .kind { display: flex; gap: 8px; }
.tabs button, .kind button {
  height: 40px; border-radius: 32px; border: 1px solid var(--line); background: var(--white);
  color: #848484; padding: 0 24px; font-size: 16px; font-weight: 500;
}
.tabs button.is-on { background: var(--brand); color: var(--white); border-color: var(--brand); }
.kind { background: var(--soft); padding: 4px; border-radius: 999px; gap: 4px; }
.kind button { height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 14px; font-weight: 700; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; }
.kind button.is-on { background: var(--brand); color: var(--white); }
.filter-search { display: flex; gap: 16px; }
.filter-search input {
  flex: 1; height: 56px; border-radius: 60px; border: 1px solid var(--brand-2);
  padding: 0 24px; color: #4b4b4b; outline: none;
}

.shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shortcuts a {
  display: flex; align-items: center; gap: 12px; min-height: 97px; padding: 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
}
.shortcuts i { width: 28px; color: var(--brand); font-size: 22px; text-align: center; }
.shortcuts strong, .shortcuts em { display: block; font-style: normal; }
.shortcuts strong { font-size: 16px; line-height: 1.5; }
.shortcuts em { margin-top: 2px; color: var(--muted); font-size: 14px; }

.block, .panel { display: flex; flex-direction: column; gap: 24px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.block-head h1, .block-head h2 { margin: 0; color: var(--brand); font-size: 40px; line-height: 1.2; letter-spacing: -0.4px; font-weight: 700; }
.block-head h2.ink, .block-head h1 { color: var(--ink); }
.block-head h2.ink { font-size: 32px; letter-spacing: -0.32px; }
.block-head p { margin: 4px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.block-head p.small { font-size: 14px; }
.block-head > a, .block-actions a { color: var(--brand); font-size: 14px; font-weight: 700; }
.block-actions { display: flex; align-items: center; gap: 20px; }
.arrows { display: flex; gap: 8px; }
.arrows button {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--brand);
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 24px; }
.rail-window { overflow: hidden; container-type: inline-size; }
.rail { display: flex; gap: 24px; }
.rail .vcard { flex: 0 0 calc((100cqi - 96px) / 5); scroll-snap-align: start; }
@container (max-width: 1599px) {
  .rail .vcard { flex-basis: calc((100cqi - 72px) / 4); }
}
@container (max-width: 1191px) {
  .rail .vcard { flex-basis: calc((100cqi - 48px) / 3); }
}
@container (max-width: 887px) {
  .rail .vcard { flex-basis: calc((100cqi - 24px) / 2); }
}
@container (max-width: 583px) {
  .rail .vcard { flex-basis: 100cqi; }
}
.vcard { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-width: 0; }
.vcard-photo { position: relative; display: block; aspect-ratio: 285 / 214; background: #eaeaea; overflow: hidden; }
.vcard-photo img, .vcard-empty { width: 100%; height: 100%; object-fit: cover; }
.vcard-fav {
  position: absolute; top: 12px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 999px;
  background: var(--white); color: var(--ink);
}
.vcard-fav.is-on { color: #e11d48; }
.vcard-count {
  position: absolute; left: 12px; bottom: 12px; background: var(--ink); color: var(--white);
  border-radius: 999px; padding: 4px 8px; font-size: 12px;
}
.vcard-hover {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px;
  transform: translateY(12px); opacity: 0; transition: .2s ease;
}
.vcard:hover .vcard-hover { opacity: 1; transform: none; }
.vcard:hover .vcard-count { opacity: 0; }
.vcard-hover span {
  flex: 1; height: 36px; border-radius: 999px; background: var(--white); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 700;
}
.vcard-body { display: grid; gap: 8px; min-width: 0; padding: 12px 16px 16px; }
.vcard-body a { display: grid; gap: 2px; min-width: 0; }
.vcard-body strong, .vcard-body em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; font-size: 14px; line-height: 1.5; }
.vcard-body em { color: var(--muted); font-weight: 500; }
.vcard-price { margin: 0; color: var(--brand); font-size: 24px; line-height: 1.2; letter-spacing: -0.24px; font-weight: 700; }
.vcard-specs, .vcard-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; max-width: 100%; color: var(--muted); font-size: 14px; }
.vcard-foot { gap: 6px 10px; }
.vcard-specs i, .vcard-foot i { flex: none; color: var(--faint); }
.vcard-foot i.fa-location-dot { color: var(--brand); }
.vcard-specs span, .vcard-foot span { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; min-width: 0; }
/* Nome da revenda no rodapé do card (Figma "Card Veículo" › Loja, 9400:12807): uma linha, cortada com reticências se for longo. */
.vcard-store { display: flex; align-items: center; gap: 6px; min-width: 0; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.vcard-store i { flex: none; font-size: 12px; }
.vcard-store span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

.ranges, .profiles, .stores { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ranges a {
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 156px;
  padding: 32px 28px; border-radius: 24px; background: var(--brand); color: var(--white);
}
.ranges a > span { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.ranges strong { display: flex; align-items: baseline; gap: 8px; font-weight: 700; line-height: 1; }
.ranges b { font-size: 48px; letter-spacing: -0.96px; }
.ranges small { font-size: 18px; }

.body-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.body-chips button, .cities a, .chip {
  height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  color: var(--ink); padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px;
}
.body-chips button.is-on { background: var(--brand); color: var(--white); border-color: var(--brand); }
.body-chips button { cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.body-chips button:hover:not(.is-on) { border-color: var(--brand); color: var(--brand); }
/* Ícone do carro como máscara: pinta com a cor do texto do botão (cinza, azul no hover, branco no selecionado). */
.chip-ico {
  width: 40px; height: 17px; flex: none; background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.model { position: relative; height: 322px; border-radius: 16px; overflow: hidden; background: #123; display: block; }
.model img { width: 100%; height: 100%; object-fit: cover; }
.model span {
  position: absolute; left: 16px; right: 16px; bottom: 16px; color: var(--white); display: grid; gap: 2px;
  background: linear-gradient(transparent, rgba(10, 20, 64, .85)); margin: 0 -16px -16px; padding: 70px 16px 16px;
}
.model em { font-style: normal; font-size: 14px; }
.model strong { font-size: 20px; letter-spacing: -0.2px; line-height: 1.2; }
.model small { font-size: 14px; font-weight: 500; }
.model.is-hidden { display: none; }

.profiles article {
  position: relative; height: 232px; border-radius: 24px; padding: 28px; color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.profiles h3 { margin: 0 0 8px; font-size: 24px; letter-spacing: -0.24px; line-height: 1.2; }
.profiles p { margin: 0; max-width: 270px; font-size: 16px; line-height: 1.5; opacity: .9; }
.watermark { position: absolute; right: -8px; bottom: -28px; font-size: 150px; opacity: .1; }
.profiles .btn { align-self: flex-start; }

.panel { background: var(--white); border-radius: 32px; padding: 48px; }
.brand-row { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)) 88px; gap: 12px; }
.brand-row a {
  height: 88px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 12px 16px;
}
.brand-row img { width: 100%; height: 100%; object-fit: contain; }
.brand-all { background: var(--soft); border: 0; color: var(--brand); font-size: 14px; font-weight: 700; }
.model-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 8px; border-top: 1px solid var(--line); }
.model-cols div { display: grid; gap: 14px; }
.model-cols a { font-size: 16px; line-height: 1.5; font-weight: 700; }
.model-cols span { color: var(--faint); font-weight: 500; margin-right: 8px; }
.brands { gap: 28px; }

/* Lojas parceiras: slider (6 por vez no desktop), com setas, arraste e troca automática (app.js). */
.stores {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 24px) / 6); grid-template-columns: none; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 12px; margin: -4px -2px -12px;
}
.stores::-webkit-scrollbar { display: none; }
.stores a { scroll-snap-align: start; background: var(--white); border-color: var(--line) !important; transition: transform .2s ease, box-shadow .2s ease; }
.stores a:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(10, 33, 117, 0.14); }
.stores a {
  height: 130px; border-radius: 16px; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; padding: 18px 20px; border: 1px solid transparent;
}
.stores a[style*="#fff"], .stores a[style*="rgb(255"] { border-color: var(--line); }
.stores img { width: 100%; height: 100%; max-height: 84px; object-fit: contain; }
@media (max-width: 1100px) { .stores { grid-auto-columns: calc((100% - 3 * 24px) / 4); } }
@media (max-width: 700px) { .stores { grid-auto-columns: calc((100% - 16px) / 2.3); gap: 16px; } }

.safety {
  display: flex; align-items: center; gap: 40px; background: var(--navy); color: var(--white);
  border-radius: 16px; padding: 32px; width: min(1840px, calc(100% - 80px)); margin-inline: auto;
}
.safety > i { font-size: 32px; }
.safety div { display: grid; gap: 4px; }
.safety strong { font-size: 18px; line-height: 1.4; }
.safety a { font-size: 14px; font-weight: 700; }
.safety ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; flex: 1; }
.safety li { display: flex; gap: 8px; align-items: center; font-size: 14px; flex: 1; }
.safety li i { color: var(--footer-muted); }

.cities, .chips { display: flex; flex-wrap: wrap; gap: 12px; }
.cities a { background: var(--page); border-color: transparent; }

.faq { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq details { padding: 20px 24px; border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--muted); font-size: 14px; transition: transform .2s; }
.faq details[open] summary i { transform: rotate(180deg); }
.faq p { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }

.ad-slot { display: flex; justify-content: center; }
.ad {
  width: min(970px, 100%); height: 120px; border-radius: 16px; overflow: hidden; position: relative;
  display: grid; grid-template-columns: 170px 232px 1fr auto; align-items: center; gap: 24px;
  padding: 0 28px 0 28px; color: #111; background: #21e467;
}
.ad-logo { width: 170px; height: 38px; }
.ad p { margin: 0; width: 232px; font-family: "DM Sans", Inter, sans-serif; font-size: 17px; line-height: 1.18; font-weight: 400; }
.ad p strong { font-weight: 700; }
.ad-screen { position: absolute; right: 250px; top: 8px; width: 210px; height: 138px; object-fit: cover; object-position: top; }
.ad-wa { position: absolute; right: 228px; top: -6px; width: 52px; height: 52px; object-fit: cover; transform: rotate(18deg); }
.ad span {
  justify-self: end; background: #000; color: #fff; border-radius: 999px; padding: 12px 22px;
  font-family: "DM Sans", Inter, sans-serif; font-weight: 900; font-size: 15px;
}

.footer-body {
  background: var(--navy); color: var(--white); border-radius: 48px 48px 0 0;
  padding: 48px 32px 40px; display: grid; gap: 40px;
}
.footer-top, .footer-bar, .footer-cols { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-logo { width: 272px; height: 72px; }
.socials { display: flex; gap: 16px; }
.socials a {
  width: 48px; height: 48px; border-radius: 999px; background: var(--white); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; font-size: 22px;
}
.footer-links { display: flex; flex: none; gap: 24px; min-width: 0; }
.footer-links div { flex: none; width: 182px; display: grid; gap: 16px; align-content: start; }
.footer-links p { margin: 0; color: var(--footer-title); font-size: 12px; font-weight: 700; letter-spacing: 0; line-height: 1.5; }
.footer-links a { font-size: 14px; line-height: 1.5; white-space: nowrap; }
.gestor-card {
  position: relative; width: 526px; height: 252px; border-radius: 32px; overflow: hidden; background: #0a0d0d; color: #fff; flex: none;
}
.gestor-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8, 10, 10, .92), rgba(8, 10, 10, .35));
}
.gestor-bg, .gestor-tint { position: absolute; inset: -13% -62% auto; width: 225%; height: 261%; object-fit: cover; filter: blur(5px); }
.gestor-tint { mix-blend-mode: color; opacity: 1; filter: none; }
.gestor-glow { position: absolute; right: -90px; bottom: -90px; width: 368px; }
.gestor-laptop { position: absolute; z-index: 2; left: 263px; top: 21px; width: 364px; height: 239px; object-fit: cover; object-position: left top; }
.gestor-mark { position: absolute; z-index: 2; inset: 0; }
.gestor-logo-word { position: absolute; left: 32px; top: 32px; width: 78.5px; height: 15.7px; }
.gestor-logo-mark { position: absolute; left: 111px; top: 32px; width: 40.9px; height: 15.5px; }
.gestor-logo-sub { position: absolute; left: 95.5px; top: 49.4px; width: 51.6px; height: 5.7px; }
.gestor-card p {
  position: absolute; z-index: 2; left: 32px; top: 80px; width: 215px; margin: 0;
  font-family: Poppins, Inter, sans-serif; font-weight: 300; font-size: 22px; line-height: 1.12;
}
.gestor-card strong { display: block; color: #21e467; font-weight: 700; }
.gestor-btn {
  position: absolute; z-index: 2; left: 32px; top: 180px; height: 40px; padding: 0 20px; border-radius: 999px;
  background: #21e467; color: #000; display: inline-flex; align-items: center;
  font-family: "DM Sans", Inter, sans-serif; font-weight: 900; font-size: 12.5px;
}
.footer-line { height: 1px; background: var(--bar); }
.footer-note { margin: 0; color: var(--footer-muted); font-size: 14px; line-height: 1.5; }
.footer-note a { color: var(--white); font-weight: 700; text-decoration: underline; }
.footer-bar { height: 72px; align-items: center; background: var(--bar); padding: 0 32px; font-size: 14px; }
@media (min-width: 1800px) {
  .footer-body { padding-left: 40px; padding-right: 40px; }
  .footer-bar { padding-left: 40px; padding-right: 40px; }
  .footer-links { flex: 1; }
  .footer-links div { flex: 1 1 0; width: auto; max-width: 298px; }
}
.footer-bar p { margin: 0; color: #fff; }
.credits { display: flex; align-items: center; gap: 32px; }
.credits span { display: inline-flex; align-items: center; gap: 5px; }
.credits span:first-child { gap: 1px; }
.credits img { width: auto; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(11, 20, 40, .55); }
.modal-card {
  position: relative; width: min(640px, calc(100% - 32px)); background: var(--white); border-radius: 28px; padding: 28px 32px 32px;
  display: grid; gap: 16px;
}
.modal-head { display: flex; justify-content: space-between; gap: 16px; }
.modal-head h2 { margin: 0; font-size: 28px; letter-spacing: -0.3px; }
.modal-head p, .modal-label { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.modal-head button { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.modal-locate, .modal-apply { width: 100%; }
.modal-search {
  height: 52px; border: 1px solid var(--line); border-radius: 999px; display: flex; align-items: center; gap: 10px; padding: 0 18px; color: var(--faint);
}
.modal-search input { border: 0; outline: none; width: 100%; color: var(--ink); }
.chip.is-on { background: var(--brand); color: var(--white); border-color: var(--brand); }

.listing, .detail, .soon { padding-top: 32px; padding-bottom: 64px; }
.listing-filters { display: flex; gap: 12px; flex-wrap: wrap; }
.listing-filters input {
  height: 48px; border-radius: 999px; border: 1px solid var(--line); padding: 0 18px; background: var(--white); min-width: 160px;
}
.listing .grid { margin-top: 8px; }
.empty, .listing-range { color: var(--muted); }
.detail { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; align-items: start; }
.detail-gallery { display: grid; gap: 12px; }
.detail-gallery img { width: 100%; border-radius: 16px; background: #eaeaea; }
.detail-info { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: grid; gap: 12px; position: sticky; top: 116px; }
.detail-kicker { margin: 0; color: var(--muted); }
.detail-info h1 { margin: 0; font-size: 40px; letter-spacing: -0.4px; }
.detail-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.detail-info li { display: flex; gap: 8px; align-items: center; }
.detail-text { white-space: pre-line; color: var(--muted); line-height: 1.5; }
.soon { min-height: 40vh; }
.soon h1 { font-size: 40px; letter-spacing: -0.4px; color: var(--brand); }

@media (max-width: 1200px) {
  .brand-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stores { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .safety { flex-wrap: wrap; }
  .safety ul { flex-wrap: wrap; }
  .footer-links a { white-space: normal; }
  .gestor-card { width: min(420px, 100%); }
  .gestor-laptop { left: auto; right: -48px; width: 280px; height: 210px; }
  .hero-copy h1 { font-size: 46px; }
  .ad-screen, .ad-wa { display: none; }
  .ad { grid-template-columns: 150px 1fr auto; }
}

@media (max-width: 900px) {
  .menu { height: 49px; padding: 0 16px; gap: 16px; }
  .logo img { height: 24px; }
  .nav, .menu-account, .nav-shade { display: none; }
  .menu.is-open .drawer {
    display: block; position: fixed; z-index: 25; inset: 49px 0 0; overflow: auto;
    background: var(--white); padding: 8px 16px 110px;
  }
  .drawer details { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
  .drawer summary {
    display: flex; align-items: center; justify-content: space-between; height: 56px;
    font-size: 20px; font-weight: 700; list-style: none; cursor: pointer;
  }
  .drawer summary::-webkit-details-marker { display: none; }
  .drawer summary i { color: var(--faint); font-size: 14px; transition: transform 0.2s; }
  .drawer details[open] summary i { transform: rotate(180deg); }
  .drawer details a, .drawer-links a { display: flex; align-items: center; gap: 12px; min-height: 32px; font-size: 16px; font-weight: 500; line-height: 1.5; }
  .drawer details a { padding: 6px 0; color: var(--muted); }
  .drawer .menu-ico { width: 32px; height: 32px; }
  .drawer .menu-ico img { width: 20px; height: 20px; }
  .drawer-links { display: grid; gap: 14px; padding-top: 18px; }
  .drawer-links a { color: var(--ink); }
  .menu.is-open .menu-account {
    display: inline-flex; position: fixed; z-index: 26; left: 16px; right: 16px; bottom: 24px;
    width: auto; height: 52px; margin: 0;
  }
  .menu.is-open .menu-account i { display: inline-block; }
  .menu-burger { display: inline-flex; font-size: 22px; }
  main { gap: 40px; padding: 8px 0 40px; }
  .wrap { padding: 0 16px; }
  .hero { height: auto; }
  .hero-banner { height: 248px; border-radius: 28px; overflow: hidden; }
  .shot-keys, .shot-badge, .shot-lot, .shot-palm { display: none; }
  .shape-left { left: -28%; top: auto; bottom: -20%; width: 70%; }
  .shape-right { left: auto; right: -18%; top: -28%; width: 62%; }
  .hero-shadow, .hero-car { left: -22%; top: auto; bottom: -6%; width: 58%; height: 62%; }
  .hero-hand { left: auto; right: -14%; top: 36%; width: 34%; height: 70%; }
  .hero-keyfob { left: auto; right: -22%; top: auto; bottom: -10%; width: 40%; height: 42%; }
  .hero-copy { width: calc(100% - 24px); margin-top: 24px; }
  .hero-copy h1 { font-size: 32px; line-height: 1.2; letter-spacing: -0.4px; }
  .hero-copy p { margin-top: 8px; font-size: 14px; }
  .region-chip { margin-top: 12px; }
  .filter {
    position: static; transform: none; width: calc(100% - 24px); margin: 16px auto 0;
    padding: 20px 16px; border-radius: 24px; gap: 14px;
  }
  .filter-title { align-items: flex-start; }
  .filter-title h2 { font-size: 20px; line-height: 1.25; }
  .filter-row { justify-content: flex-start; }
  .kind { display: none; }
  .tabs { gap: 8px; }
  .tabs button { height: 40px; padding: 0 16px; font-size: 14px; }
  .filter-search { flex-direction: column; align-items: stretch; gap: 10px; }
  .filter-search input, .filter-search .btn { width: 100%; height: 52px; }
  .shortcuts { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shortcuts a { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 113px; padding: 15px; }
  .block, .panel { gap: 16px; }
  .block-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .block-head h2, .soon h1, .detail-info h1 { font-size: 32px; letter-spacing: -0.32px; }
  .block-head h2.ink { font-size: 28px; }
  .block-actions .arrows { display: none; }
  .rail-window { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .rail-window::-webkit-scrollbar { display: none; }
  .ranges, .models { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .ranges a { min-height: 110px; padding: 16px 14px; border-radius: 16px; gap: 12px; }
  .ranges strong { flex-wrap: nowrap; gap: 4px; }
  .ranges b { font-size: 32px; letter-spacing: -0.8px; }
  .ranges small { font-size: 14px; }
  .body-chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-bottom: 2px; scrollbar-width: none; }
  .body-chips::-webkit-scrollbar { display: none; }
  .body-chips button { flex: none; }
  .model { height: 200px; }
  .profiles { grid-template-columns: 1fr; gap: 12px; }
  .profiles article { height: auto; min-height: 168px; padding: 20px; }
  .panel { padding: 24px 16px; border-radius: 24px; }
  .brand-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .brand-row a { height: 88px; padding: 10px; }
  .model-cols { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .model-cols a { font-size: 14px; }
  .stores { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .stores a { height: 75px; padding: 12px; }
  .safety { flex-direction: column; align-items: flex-start; gap: 16px; width: auto; margin-inline: 16px; padding: 20px; }
  .safety ul { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-body { padding: 32px 16px 40px; gap: 28px; }
  .footer-logo { width: 163px; height: auto; }
  .footer-links { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 16px; width: 100%; }
  .footer-links div { width: auto; min-width: 0; }
  .footer-links a { white-space: normal; }
  .footer-cols { width: 100%; min-width: 0; }
  .footer-top, .footer-bar, .footer-cols { flex-direction: column; align-items: stretch; }
  .footer-top { flex-direction: row; align-items: center; }
  .gestor-card { display: block; width: 100%; height: 172px; border-radius: 32px; }
  .gestor-mark { transform: scale(.72); transform-origin: 22px 16px; }
  .gestor-card p { left: 22px; top: 52px; width: 168px; font-size: 15px; }
  .gestor-btn { left: 22px; top: 124px; bottom: auto; height: 26px; padding: 0 12px; font-size: 8.5px; }
  .gestor-laptop { left: auto; width: 190px; height: 150px; right: -24px; top: 18px; }
  .footer-bar { height: auto; align-items: flex-start; gap: 16px; padding: 16px 16px 24px; }
  .credits { flex-wrap: wrap; gap: 16px; }
  .detail { grid-template-columns: 1fr; }
  .detail-info { position: static; }
  .ad-slot { padding: 0 16px; }
  .ad {
    width: 100%; height: 100px; min-height: 0; display: block; padding: 0; border-radius: 16px;
  }
  .ad-logo { position: absolute; left: 12px; top: 10px; width: 78px; height: auto; }
  .ad p { position: absolute; left: 12px; top: 32px; width: 158px; margin: 0; font-size: 13px; line-height: 1.2; }
  .ad span { position: absolute; left: 12px; bottom: 10px; padding: 6px 12px; font-size: 9.5px; }
  .ad-screen { display: block; right: -8px; top: 10px; width: 148px; height: 96px; }
  .ad-wa { display: none; }
}

.product { gap: 24px; padding: 24px 0 64px; }
.product-top { display: grid; gap: 24px; }
.crumbs { display: flex; align-items: center; gap: 8px; min-height: 18px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.crumbs a:hover { color: var(--brand); }
.crumbs i { color: var(--faint); font-size: 9px; }
.crumbs span { color: var(--ink); font-weight: 700; }
/* Galeria: a altura acompanha a largura (cada foto em 4:3, a proporção das fotos do Gestorcar). */
.gallery {
  position: relative; display: flex; gap: 8px; overflow: hidden; border-radius: 24px; background: var(--white);
}
.gallery-shot { flex: 1; min-width: 0; aspect-ratio: 4 / 3; }
/* Uma foto só: ocupa a largura toda em 16:9, para não ficar alta demais. */
.gallery-shot:only-of-type { aspect-ratio: 16 / 9; }
.gallery-shot img, .lightbox img { width: 100%; height: 100%; object-fit: cover; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: var(--white); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
}
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-pill {
  position: absolute; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 37px; padding: 0 14px;
  border: 0; border-radius: 999px; background: rgba(0, 0, 0, .6); color: var(--white); font-size: 14px; font-weight: 700;
}
.gallery-count { left: 16px; }
.gallery-all { right: 16px; }
.product-grid { display: grid; grid-template-columns: minmax(0, 909fr) minmax(280px, 443fr); gap: 24px; align-items: start; }
.product-main, .product-side { display: grid; gap: 24px; min-width: 0; }
.product-side { position: sticky; top: 116px; }
.sheet, .seller, .lead {
  background: var(--white); border-radius: 24px; padding: 32px;
}
.sheet { display: grid; gap: 28px; }
.sheet-title, .sheet-name, .seller-id, .seller-stats, .seller-actions, .price-box, .fipe-head, .fipe-range, .fipe-legend {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.sheet-name { justify-content: flex-start; min-width: 0; }
.make-logo { width: 72px; height: 72px; object-fit: contain; flex: none; }
.sheet-name h1, .seller h2 { margin: 0; font-size: 32px; line-height: 1.2; letter-spacing: -0.32px; }
.sheet-name p { margin: 2px 0 0; color: var(--faint); font-size: 16px; line-height: 1.5; }
.sheet-actions { display: flex; gap: 8px; }
.sheet-actions button {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 16px;
}
.sheet-actions .is-on { color: #e11d48; }
.price-box { background: #eaeaea; border-radius: 16px; padding: 20px 24px; }
.price-box p { display: flex; align-items: flex-end; gap: 6px; margin: 0; }
.price-box small { color: var(--muted); font-size: 20px; line-height: 1.2; letter-spacing: -0.2px; font-weight: 500; margin-bottom: 4px; }
.price-box strong { font-size: 40px; line-height: 1.2; letter-spacing: -0.4px; }
.price-box > span { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: 14px; font-weight: 700; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; margin: 0; }
.specs div { display: grid; gap: 4px; }
.specs dt { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 14px; }
.specs dd { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 700; }
.sheet-block { display: grid; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.sheet-block h2, .lead h2 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -0.24px; }
.sheet-block p, .seller-id p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.optionals, .tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.optionals li {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 16px;
}
.optionals i { color: var(--brand); font-size: 12px; }
.tags li { height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: #eaeaea; color: var(--muted); font-size: 14px; }
.fipe { gap: 20px; }
.fipe-head { align-items: baseline; }
.fipe-head p { margin: 0; color: var(--faint); font-size: 14px; white-space: nowrap; }
.fipe-track { position: relative; height: 28px; }
.fipe-track::before, .fipe-fill {
  content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 999px; background: #e3e3e3;
}
.fipe-fill { right: auto; width: var(--announced); background: #b9dcff; }
.fipe-dot, .fipe-tick { position: absolute; top: 7px; }
.fipe-dot { left: var(--announced); width: 14px; height: 14px; border-radius: 999px; background: var(--brand); transform: translateX(-50%); }
.fipe-tick { left: var(--median); width: 3px; height: 14px; background: var(--ink); transform: translateX(-50%); }
.fipe-range { align-items: flex-start; }
.fipe-range p, .fipe-legend p { display: grid; gap: 2px; margin: 0; }
.fipe-range p:last-child { text-align: right; }
.fipe-range span, .fipe-legend { color: var(--faint); font-size: 14px; }
.fipe-range strong { font-size: 18px; line-height: 1.4; color: var(--ink); }
.fipe-legend { justify-content: flex-start; gap: 32px; flex-wrap: wrap; }
.fipe-legend p { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.fipe-legend strong { color: var(--ink); }
.fipe-legend i { width: 12px; height: 12px; border-radius: 999px; background: var(--brand); }
.fipe-legend b { width: 3px; height: 14px; background: var(--ink); }
.seller { display: grid; gap: 24px; padding-top: 28px; }
.seller-kicker { margin: 0; color: var(--faint); font-size: 16px; }
.seller-id { justify-content: flex-start; align-items: center; }
.seller-logo {
  width: 142px; height: 95px; border-radius: 12px; background: #000; display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden;
}
.seller-logo img { width: 80%; height: 70%; object-fit: contain; }
.seller-id p { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.seller-id i { color: var(--faint); font-size: 12px; }
.seller-stats { justify-content: flex-start; gap: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; }
.seller-stats p { display: flex; align-items: center; gap: 8px; margin: 0; }
.seller-stats i { color: var(--faint); }
.seller-stats strong { color: var(--brand); }
.seller-actions { padding-top: 24px; border-top: 1px solid var(--line); }
.seller-actions .btn { flex: 1; }
.btn-line { background: var(--white); color: var(--ink); border: 1px solid #c8c8c8; }
.btn-wa { background: #1b7d44; color: var(--white); }
.lead { display: grid; gap: 16px; }
.lead-label { margin: 0; font-size: 14px; font-weight: 700; }
.lead input[type="text"], .lead input[type="email"], .lead input:not([type]), .share-sheet input {
  height: 40px; border: 1px solid #c8c8c8; border-radius: 8px; padding: 0 12px; color: var(--ink); background: var(--white);
}
.lead input::placeholder, .lead textarea::placeholder { color: var(--faint); }
.lead input[type="tel"] {
  height: 40px; border: 1px solid #c8c8c8; border-radius: 8px; padding: 0 12px; color: var(--ink); background: var(--white);
}
.lead textarea {
  min-height: 84px; resize: vertical; border: 1px solid #c8c8c8; border-radius: 8px; padding: 10px 12px;
  color: var(--ink); background: var(--white); font: inherit; font-size: 14px; line-height: 1.5;
}
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field-opt { color: var(--faint); font-weight: 500; }
.field :is(input, textarea):focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 102, 204, .15); }
/* Estado de erro: borda e mensagem em vermelho, no lugar do balão nativo do navegador. */
.field.is-error :is(input, textarea) { border-color: #d92d20; box-shadow: 0 0 0 3px rgba(217, 45, 32, .12); }
.field.is-error label { color: #b42318; }
.field-error { display: flex; align-items: center; gap: 6px; margin: 0; color: #b42318; font-size: 13px; line-height: 1.4; font-weight: 500; }
.field-error::before { content: "\f06a"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 12px; }
.field-error[hidden] { display: none; }
.lead-privacy a { color: var(--brand); text-decoration: underline; }
.lead-privacy i { margin-right: 2px; }
.check { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.lead .btn, .lead .lead-label { width: 100%; }
.lead small, .lead-ok { color: var(--faint); font-size: 12px; line-height: 1.5; }
.lead-ok { margin: 0; color: #1b7d44; font-size: 14px; font-weight: 700; }
.lead.is-sent .field, .lead.is-sent .check, .lead.is-sent .btn-fill, .lead.is-sent small, .lead.is-sent .lead-label { display: none; }
.gad {
  position: relative; display: block; width: 288px; height: 250px; border-radius: 16px; overflow: hidden; background: #0a0d0d; color: #fff;
}
.gad-bg, .gad-tint { position: absolute; left: -180px; top: -18px; width: 649px; height: 360px; max-width: none; object-fit: cover; }
.gad-bg { filter: blur(3px); }
.gad-tint { mix-blend-mode: plus-lighter; }
.gad-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 10, .92), rgba(8, 10, 10, .35)); }
.gad-glow { position: absolute; left: 173px; top: 88px; width: 202px; height: 400px; }
.gad-mark { position: absolute; }
.gad-mark-c { left: 20px; top: 20px; width: 68px; height: 14px; }
.gad-mark-b { left: 89px; top: 20px; width: 35px; height: 13px; }
.gad-mark-a { left: 75px; top: 35px; width: 45px; height: 5px; }
.gad-title, .gad-copy { position: absolute; left: 20px; margin: 0; font-family: Poppins, Inter, sans-serif; font-weight: 300; }
.gad-title { top: 55px; width: 230px; font-size: 25px; line-height: 1.15; }
.gad-title strong { color: #21e467; font-weight: 700; }
.gad-copy { top: 128px; width: 104px; font-size: 10px; line-height: 1.35; }
.gad-copy strong { color: #21e467; font-weight: 700; }
.gad > span {
  position: absolute; left: 20px; top: 202px; height: 28px; display: inline-flex; align-items: center; padding: 0 16px;
  border-radius: 999px; background: #21e467; color: #000; font-family: "DM Sans", Inter, sans-serif; font-weight: 900; font-size: 11px;
}
.gad-laptop { position: absolute; left: 120px; top: 125px; width: 202px; height: 133px; object-fit: cover; }
.similar { display: grid; gap: 24px; padding-top: 32px; }
.similar h2 { margin: 0; font-size: 32px; line-height: 1.2; letter-spacing: -0.32px; }
.similar-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
@media (min-width: 981px) and (max-width: 1279px) {
  .similar-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .similar-rail .vcard:nth-child(n+5) { display: none; }
}
.product-cta { display: none; }
.share, .lightbox { position: fixed; inset: 0; z-index: 40; }
.share-backdrop { position: absolute; inset: 0; border: 0; background: rgba(17, 17, 17, .55); }
.share-sheet {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(420px, calc(100% - 32px));
  background: var(--white); border-radius: 24px; padding: 28px 20px; display: grid; gap: 24px;
}
.share-handle { display: none; }
.share-sheet header, .share-sheet label span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.share-sheet h2 { margin: 0; font-size: 24px; letter-spacing: -0.24px; }
.share-sheet header button { border: 0; background: transparent; color: var(--muted); font-size: 18px; }
.share-car { display: flex; gap: 14px; align-items: center; background: #eaeaea; border-radius: 16px; padding: 12px 16px 12px 12px; }
.share-car img { width: 88px; height: 66px; object-fit: cover; border-radius: 10px; }
.share-car strong, .share-car p, .share-car b { display: block; margin: 0; }
.share-car p { color: var(--muted); font-size: 14px; font-weight: 500; }
.share-car b { color: var(--brand); font-size: 16px; }
.share-channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.share-channels a {
  height: 84px; border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 14px;
}
.share-channels i { font-size: 24px; }
.share-sheet label { display: grid; gap: 8px; color: var(--faint); font-size: 14px; }
.share-sheet input { flex: 1; min-width: 0; height: 48px; border-radius: 12px; border-color: var(--line); color: var(--faint); }
.lightbox { background: #111; display: flex; align-items: center; justify-content: center; }
.lightbox img { width: min(1100px, calc(100% - 160px)); height: min(78vh, 760px); object-fit: contain; background: transparent; }
.lightbox-close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--white); font-size: 18px;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-count { left: 50%; bottom: 24px; transform: translateX(-50%); }
[hidden] { display: none !important; }

.catalog { gap: 24px; padding: 24px 0 64px; }
.catalog-top { display: grid; gap: 16px; }
.catalog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.catalog h1, .catalog-head h2 { margin: 0; font-size: 32px; line-height: 1.2; letter-spacing: -0.32px; }
.catalog-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.sort, .select { position: relative; display: block; }
.sort { width: 220px; }
.sort select, .select select, .filter-panel input {
  width: 100%; height: 44px; border: 1px solid #c8c8c8; border-radius: 12px; background: var(--white);
  padding: 0 36px 0 14px; color: var(--ink); appearance: none;
}
.sort select { height: 40px; border-radius: 8px; color: var(--faint); }
.sort i, .select i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 12px; pointer-events: none; }
.select { margin-top: 0; }
.filter-panel .select + .select { margin-top: 0; }
.catalog-grid { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 24px; align-items: start; }
.filter-panel { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 8px 20px; align-self: start; }
.filter-panel section, .filter-panel details { display: grid; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.filter-panel section:first-child { border-top: 0; }
.filter-panel h3, .filter-panel summary { display: flex; justify-content: space-between; align-items: center; margin: 0; font-size: 16px; font-weight: 700; cursor: pointer; }
.filter-panel summary { list-style: none; }
.filter-panel summary::-webkit-details-marker { display: none; }
.filter-panel section.is-shut > :not(h3),
.filter-panel details:not([open]) > :not(summary) { display: none; }
.filter-panel section.is-shut h3 i,
.filter-panel details[open] summary i { transform: rotate(180deg); }
.filter-panel h3 i, .filter-panel summary i { color: var(--muted); font-size: 12px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* 3 marcas por linha no painel (antes 77px fixos não cabiam: sobravam 2 por linha). */
.brand-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.brand-tiles a { min-width: 0; height: 46px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--white); padding: 6px; font-size: 11px; text-align: center; }
.brand-tiles img { width: 100%; height: 100%; object-fit: contain; }
.brand-tiles .is-extra, .brand-tiles .is-miss { display: none; }
.brand-tiles.is-all .is-extra { display: flex; }
.filter-chips a { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 14px; }
.filter-chips img { width: 29px; height: 12px; object-fit: contain; }
.brand-tiles .is-on, .filter-chips .is-on { background: #232323; color: var(--white); border-color: #232323; font-weight: 700; }
.filter-chips .is-on img { filter: brightness(0) invert(1); }
.filter-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-more { justify-self: start; border: 0; background: transparent; color: var(--brand); font-size: 14px; font-weight: 700; padding: 0; cursor: pointer; }
/* Filtro Loja: lista com marcador redondo, busca e "Ver todas". */
.store-filter { display: grid; gap: 2px; }
.store-filter a { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 4px 0; font-size: 14px; color: var(--ink); }
.store-filter span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-filter em { flex: none; font-style: normal; color: var(--muted); font-size: 13px; }
.store-filter-dot { flex: none; width: 18px; height: 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); }
.store-filter a:hover .store-filter-dot { border-color: #232323; }
.store-filter .is-on { font-weight: 700; }
.store-filter .is-on .store-filter-dot { border: 5px solid #232323; }
.store-filter .is-extra, .store-filter .is-miss { display: none; }
.store-filter.is-all .is-extra:not(.is-miss), .store-filter.is-searching .is-extra:not(.is-miss) { display: flex; }
.filter-last { padding-bottom: 18px; }
.store-head { display: flex; align-items: center; gap: 32px; background: var(--white); border-radius: 24px; padding: 36px 40px; }
.store-logo, .dealer-logo { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); flex: none; overflow: hidden; box-sizing: border-box; }
/* Sem logo cadastrado: caixa cinza-clara no lugar do preto. */
.store-logo:empty, .dealer-logo:empty { background: #f3f4f6; }
.store-logo { width: 168px; height: 104px; border-radius: 16px; }
.store-logo img { width: 100%; height: 100%; padding: 10px; box-sizing: border-box; object-fit: contain; }
/* Loja sem logo: iniciais com ícone, no lugar do quadro cinza vazio. */
.logo-initials { position: relative; background: var(--soft) !important; border-color: transparent; color: var(--brand); }
.logo-initials b { font-size: 36px; font-weight: 700; letter-spacing: 1px; line-height: 1; }
.logo-initials i { position: absolute; right: 10px; bottom: 8px; font-size: 14px; color: var(--brand); opacity: .55; }
.dealer-logo.logo-initials b { font-size: 26px; }
.dealer-logo.logo-initials i { right: 8px; bottom: 6px; font-size: 12px; }
.dealer .store-link { color: var(--brand); font-weight: 700; }
.store-head .store-link { color: var(--brand); font-weight: 700; }
.store-head .store-link:hover { text-decoration: underline; }
.store-head h1 { margin: 0 0 12px; font-size: 40px; line-height: 1.2; letter-spacing: -0.4px; }
.store-head p, .store-stats p { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--muted); font-size: 16px; }
.store-head i { color: var(--faint); font-size: 12px; }
.store-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.store-stats p { margin: 0; color: var(--ink); }
.store-stats strong, .dealer-foot strong { color: var(--brand); }
.store-actions { margin-left: auto; display: grid; gap: 12px; }
.store-actions .btn { width: 240px; }
.dealer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dealer { background: var(--white); border-radius: 24px; padding: 28px; display: grid; gap: 20px; }
.dealer-id { display: flex; gap: 20px; align-items: center; min-width: 0; }
.dealer-logo { width: 120px; height: 80px; border-radius: 12px; }
.dealer-logo img { width: 100%; height: 100%; padding: 8px; box-sizing: border-box; object-fit: contain; }
.dealer h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.2; letter-spacing: -0.24px; }
.dealer-id p { display: flex; gap: 8px; margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.dealer-id i { color: var(--faint); font-size: 12px; margin-top: 4px; }
.dealer-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; }
.dealer-foot p { margin: 0; font-size: 14px; }
.dealer-foot strong { font-size: 16px; margin-right: 6px; }
.dealer-foot span { display: block; margin-top: 2px; color: var(--faint); }
.dealer-foot div { display: flex; gap: 8px; }
.more { display: grid; justify-items: center; gap: 12px; padding-top: 28px; }
.more p { margin: 0; color: var(--muted); font-size: 14px; text-align: center; }
.catalog-tools { display: none; }
.catalog-side { display: grid; gap: 16px; align-content: start; }
.catalog-results { container-type: inline-size; min-width: 0; }
.catalog-results .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@container (max-width: 1399px) { .catalog-results .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container (max-width: 879px) { .catalog-results .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (max-width: 639px) { .catalog-results .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@container (max-width: 399px) { .catalog-results .grid { grid-template-columns: 1fr; } }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.active-filters a {
  height: 37px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px;
}
.active-filters i { color: var(--faint); font-size: 12px; }
.active-filters .clear { border: 0; background: transparent; color: var(--brand); font-weight: 700; padding: 0; }
.fipe-banner {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 90px; padding: 18px 40px; border-radius: 24px; background: var(--soft); color: var(--ink);
}
.fipe-banner strong { display: block; font-size: 20px; letter-spacing: -0.2px; line-height: 1.2; }
.fipe-banner em { display: block; margin-top: 6px; font-style: normal; font-size: 16px; font-weight: 500; }
.side-ad {
  position: relative; display: grid; align-content: start; gap: 10px; min-height: 250px; overflow: hidden;
  padding: 20px; border-radius: 16px; background: #21e467; color: #111;
}
.side-ad img:first-child { width: 120px; height: auto; }
.side-ad p { margin: 0; width: 150px; font-size: 16px; line-height: 1.3; font-weight: 700; }
.side-ad-screen { position: absolute; right: -8px; bottom: 0; width: 150px; height: 120px; object-fit: cover; object-position: left top; }
.side-ad span { justify-self: start; background: #000; color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 900; }
.empty-state { display: grid; justify-items: center; gap: 16px; padding: 48px 16px; text-align: center; }
.empty-state i { width: 72px; height: 72px; border-radius: 999px; background: var(--soft); color: var(--brand); display: grid; place-items: center; font-size: 28px; }
.empty-state h2 { margin: 0; font-size: 24px; letter-spacing: -0.24px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 14px; }
.gestor-strip {
  width: min(970px, 100%); min-height: 120px; margin: 0 auto; border-radius: 16px; background: #0a0d0d; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 32px;
}
.gestor-strip { justify-content: flex-start; gap: 30px; padding: 24px 36px; }
.strip-logo { position: relative; flex: none; width: 150px; height: 29px; }
.strip-logo img { position: absolute; }
.strip-logo-word { left: 0; top: 0; width: 98.3px; height: 19.7px; }
.strip-logo-mark { left: 98.9px; top: 0.3px; width: 51.1px; height: 19.3px; }
.strip-logo-sub { left: 79.4px; top: 21.7px; width: 64.1px; height: 7.1px; }
.strip-divider { flex: none; width: 1px; height: 56px; background: rgba(255, 255, 255, 0.25); }
.gestor-strip p { margin: 0; max-width: 338px; font-family: Poppins, Inter, sans-serif; font-size: 19px; font-weight: 300; line-height: 1.25; }
.gestor-strip strong { color: #21e467; font-weight: 700; }
.gestor-strip > span:last-child { margin-left: auto; height: 48px; display: inline-flex; align-items: center; background: #21e467; color: #000; border-radius: 999px; padding: 0 29px; font-family: "DM Sans", Inter, sans-serif; font-weight: 900; font-size: 17px; white-space: nowrap; }
.brand-search { position: relative; width: min(360px, 100%); }
.brand-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.brand-search input { width: 100%; height: 52px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px 0 44px; }
.brand-popular h2, .brand-index h2 { margin: 0 0 16px; font-size: 24px; letter-spacing: -0.24px; }
.brand-popular > div { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.brand-popular a {
  height: 167px; border-radius: 16px; background: var(--white); border: 1px solid var(--line);
  display: grid; justify-items: center; align-content: center; gap: 12px;
}
.brand-popular img { width: 96px; height: 64px; object-fit: contain; }
.brand-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.brand-index div { display: grid; align-content: start; gap: 8px; }
.brand-index a { font-size: 16px; font-weight: 500; }
.brand-popular .is-miss, .brand-index .is-miss { display: none; }

@media (max-width: 980px) {
  .catalog .crumbs, .catalog .sort { display: none; }
  .catalog .sort.is-open { display: block; width: 100%; }
  .catalog-grid, .dealer-grid { grid-template-columns: 1fr; }
  .catalog-tools { display: flex; gap: 12px; }
  .catalog-tools button { flex: 1; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 700; }
  .side-ad { display: none; }
  .filter-panel { display: none; }
  .fipe-banner { flex-direction: column; align-items: flex-start; padding: 20px; }
  .gestor-strip { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .strip-divider { display: none; }
  .gestor-strip > span:last-child { margin-left: 0; height: 40px; padding: 0 20px; font-size: 13px; }
  .brand-popular > div, .brand-index { grid-template-columns: 1fr 1fr; }
  .filter-panel.is-open { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; max-height: 82vh; overflow: auto; border-radius: 24px 24px 0 0; }
  .store-head, .dealer-id, .dealer-foot { flex-direction: column; align-items: stretch; }
  .store-actions { margin: 0; }
  .store-actions .btn, .dealer-foot .btn { width: 100%; }
  .store-head { padding: 20px 16px; }
  .store-head h1, .catalog h1 { font-size: 24px; }
  .sort { width: 100%; }
}

.info { gap: 0; padding: 24px 0 64px; }
.info-top { display: grid; gap: 24px; }
.info-hero, .contact-stage { position: relative; overflow: hidden; border-radius: 32px; background: var(--brand); color: var(--white); }
.info-hero { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 56px 80px; }
.hero-mask { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.info-hero > :not(.hero-mask), .contact-copy, .contact-card { position: relative; z-index: 1; }
.info-kicker { margin: 0 0 14px; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }
.info-hero h1, .contact-copy h1, .about-grid h2, .promo-copy h2 { margin: 0; font-size: 48px; line-height: 1; letter-spacing: -0.96px; }
.info-hero p { margin: 14px 0 0; max-width: 760px; font-size: 18px; line-height: 1.5; }
.faq-list { width: min(760px, 100%); margin: 0 auto; display: grid; gap: 16px; }
.faq-item { background: var(--white); border-radius: 999px; padding: 16px 28px; }
.faq-item[open] { border-radius: 16px; padding: 22px 28px 24px; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { font-weight: 700; }
.faq-item summary i { color: var(--brand); }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p { margin: 12px 0 0; color: var(--muted); }
.faq-more { display: grid; justify-items: center; gap: 12px; padding-top: 16px; text-align: center; }
.faq-more p { margin: 0; font-size: 18px; font-weight: 700; }
.contact-stage { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 48px; align-items: center; padding: 56px 80px; }
.contact-copy { display: grid; gap: 16px; max-width: 616px; }
.contact-copy p { margin: 0; font-size: 18px; line-height: 1.5; }
.social-row { display: flex; gap: 12px; }
.social-row a { width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.channel { display: flex; align-items: center; gap: 16px; min-height: 73px; padding: 12px 24px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; }
.channel i { color: var(--brand); width: 18px; text-align: center; }
.channel span { display: grid; }
.channel small { color: var(--faint); font-size: 14px; }
.contact-card { display: grid; gap: 16px; background: var(--white); color: var(--ink); border-radius: 32px; padding: 36px 40px 40px; box-shadow: 0 12px 32px rgba(10, 33, 117, 0.14); }
.contact-card h2 { margin: 0; color: var(--brand); text-align: center; font-size: 24px; letter-spacing: -0.24px; }
.contact-card label { display: grid; gap: 6px; font-weight: 500; }
.contact-card input, .contact-card textarea { width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: 16px; font: inherit; color: var(--ink); background: var(--white); }
.contact-card textarea { height: 96px; border-radius: 28px; resize: vertical; }
.contact-card .fine, .contact-card .lead-ok { margin: 0; color: var(--faint); font-size: 14px; font-weight: 500; }
.about-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(280px, 636px); gap: 80px; align-items: center; }
.about-grid p { margin: 16px 0 0; color: var(--muted); line-height: 1.5; }
.collage { position: relative; width: 100%; aspect-ratio: 636 / 647; }
.collage img { position: absolute; object-fit: cover; border-radius: 16px; }
.collage .shot-woman { left: 0; top: 9%; width: 48.1%; height: 64.3%; object-position: 35% center; }
.collage .shot-light { left: 51.9%; top: 0; width: 30.8%; height: 23.8%; }
.collage .shot-couple { left: 51.9%; top: 26.7%; width: 48.1%; height: 61.7%; object-position: 72% center; }
.collage .shot-lot { left: 17.3%; top: 76.2%; width: 30.8%; height: 23.8%; }
.promo { position: relative; min-height: 520px; border-radius: 51px; background: #155dfc; overflow: hidden; color: var(--white); }
.promo-scene { position: absolute; right: 0; top: 14%; width: 50%; height: 86%; object-fit: cover; }
.promo-tablet { position: absolute; right: 2%; top: 6%; width: 46%; height: auto; z-index: 1; }
.promo-copy { position: relative; z-index: 2; max-width: 560px; padding: 83px 40px 83px 79px; display: grid; gap: 24px; }
.promo-copy p { margin: 0; }
.promo-copy div { display: flex; gap: 16px; flex-wrap: wrap; }
.promo .btn-white { color: #344054; }
.contact-card .btn { width: 100%; height: 52px; }
.gestor-lockup { position: relative; display: block; width: 206px; height: 40px; }
.gestor-lockup img { position: absolute; left: 0; top: 0; }
.gestor-lockup .gestor-mark { left: 136px; }
.gestor-lockup .gestor-word { left: 109px; top: 30px; }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--white); }
.btn-brand { background: var(--white); color: var(--brand); border: 1px solid var(--brand); }
/* Mais buscados (src/ui/ranking.tsx) — Figma "Mais buscados v3" */
.rank { padding: 16px 0 80px; }
.rank-wrap { display: grid; gap: 40px; }
.rank-hero { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 56px; border-radius: 32px; background: var(--brand); color: var(--white); }
.rank-hero-copy { display: grid; justify-items: start; gap: 12px; }
.rank-badge { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); font-size: 14px; font-weight: 700; line-height: 1.5; }
.rank-hero h1 { margin: 0; font-size: 48px; line-height: 1; letter-spacing: -0.96px; }
.rank-hero p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.5; }
.rank-toggle { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); flex: none; }
.rank-toggle a { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; color: var(--white); font-weight: 700; line-height: 1.5; }
.rank-toggle a i { font-size: 14px; }
.rank-toggle a.is-on { background: var(--white); color: var(--brand); }
.rank-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rank-card {
  --medal: linear-gradient(156.8deg, #8c421d 15.4%, #fbe67b 38.5%, #fcfbe7 53.4%, #f7d14e 70%, #d4a041 86.3%);
  display: grid; gap: 20px; padding: 28px 32px 32px; border: 3px solid transparent; border-radius: 24px;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    conic-gradient(from var(--brilho), transparent 0deg 250deg, rgba(255, 255, 255, 0.95) 300deg, transparent 350deg) border-box,
    var(--medal) border-box;
  animation: rank-brilho 4s linear infinite;
}
/* Brilho que percorre a borda dos cards do pódio (ouro, prata e bronze, um pouco defasados). */
@property --brilho { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes rank-brilho { to { --brilho: 360deg; } }
.rank-card--prata { animation-delay: -1.3s; }
.rank-card--bronze { animation-delay: -2.6s; }
.rank-number { position: relative; overflow: hidden; }
.rank-number::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
  animation: rank-reflexo 4s ease-in-out infinite;
}
@keyframes rank-reflexo { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.rank-card--prata .rank-number::after { animation-delay: -1.3s; }
.rank-card--bronze .rank-number::after { animation-delay: -2.6s; }
@media (prefers-reduced-motion: reduce) {
  .rank-card, .rank-number::after { animation: none; }
}
.rank-card--prata { --medal: linear-gradient(159.9deg, #7a96ac 2.3%, #eaeff3 19.8%, #c2d4e1 32.9%, #fff 50.2%, #d4dee5 62.1%, #abbdc8 78.7%, #bccad7 95.2%); }
.rank-card--bronze { --medal: linear-gradient(162.4deg, #bc6554 2.3%, #62362d 21.7%, #a1503d 40.7%, #ca7561 50.2%, #e2aa9d 67.5%, #62362d 83.1%, #aa5946 95.2%); }
.rank-medal { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--medal); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.5; }
.rank-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.rank-number { width: 80px; height: 80px; border-radius: 16px; background: var(--medal); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 700; letter-spacing: -0.4px; }
.rank-card--bronze .rank-medal, .rank-card--bronze .rank-number { color: var(--white); }
.rank-logo { object-fit: contain; flex: none; }
.rank-logo--letter { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #eaf3ff; color: var(--brand); font-weight: 700; font-size: 20px; }
.rank-card .rank-logo--letter { font-size: 40px; }
.rank-name { display: grid; gap: 2px; }
.rank-name small, .rank-row-name small { color: var(--faint); font-size: 14px; font-weight: 500; line-height: 1.5; }
.rank-name strong { font-size: 32px; line-height: 1.2; letter-spacing: -0.32px; }
.rank-name span, .rank-count { color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.5; }
.rank-card .btn { width: 100%; }
.rank-list { display: grid; padding: 12px 40px; background: var(--white); border-radius: 24px; }
.rank-row { display: flex; align-items: center; gap: 24px; padding: 16px 0; color: var(--ink); }
.rank-row + .rank-row { border-top: 1px solid var(--line); }
.rank-pos { width: 48px; flex: none; color: var(--faint); font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -0.24px; }
.rank-row-name { flex: 1; min-width: 0; display: grid; gap: 2px; }
.rank-row-name strong { font-size: 20px; line-height: 1.2; letter-spacing: -0.2px; }
.rank-more { display: flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; line-height: 1.5; white-space: nowrap; }
.rank-row:hover .rank-row-name strong { color: var(--brand); }
.rank-empty { justify-items: center; gap: 16px; padding: 40px; text-align: center; }
.rank-empty p { margin: 0; color: var(--muted); }
@media (max-width: 1100px) {
  .rank-podium { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .rank-wrap { gap: 24px; }
  .rank-hero { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .rank-hero h1 { font-size: 36px; }
  .rank-card { padding: 20px 24px 24px; gap: 16px; }
  .rank-number { width: 64px; height: 64px; font-size: 32px; }
  .rank-card .rank-logo { width: 72px; height: 72px; }
  .rank-name strong { font-size: 28px; }
  .rank-list { padding: 4px 20px; }
  .rank-row { gap: 16px; }
  .rank-pos { width: 28px; font-size: 18px; }
  .rank-row .rank-logo { width: 36px; height: 36px; }
  .rank-row-name strong { font-size: 18px; }
  .rank-count, .rank-more span { display: none; }
}
/* Tabela FIPE (src/ui/fipe.tsx) — Figma "Tabela FIPE v3" */
.fipe { padding-bottom: 80px; }
.fipe-hero { position: relative; margin-top: 16px; padding: 56px 56px 0; border-radius: 32px; background: var(--brand); color: var(--white); }
.fipe-hero h1 { margin: 0; font-size: 60px; line-height: 1.2; letter-spacing: -1.2px; }
.fipe-hero > p { margin: 12px 0 0; max-width: 640px; font-size: 18px; line-height: 1.5; font-weight: 500; }
.fipe-search {
  position: relative; display: grid; gap: 20px; width: min(1180px, 100%); margin: 40px auto -116px;
  padding: 32px; background: var(--white); color: var(--ink); border-radius: 24px; box-shadow: 0 12px 32px rgba(10, 33, 117, 0.14);
}
.fipe-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fipe-row--end { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 180px; align-items: end; }
.fipe-field { position: relative; display: grid; gap: 8px; }
.fipe-field span { font-size: 14px; font-weight: 700; }
.fipe-field select {
  appearance: none; width: 100%; height: 52px; padding: 0 40px 0 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer;
}
.fipe-field select:disabled { background: #f7f7f7; color: var(--faint); cursor: not-allowed; }
.fipe-field i { position: absolute; right: 16px; bottom: 20px; font-size: 12px; color: var(--muted); pointer-events: none; }
.fipe-submit { height: 52px; width: 100%; }
.fipe-result {
  display: grid; gap: 28px; width: min(1180px, 100%); margin: 156px auto 0; padding: 36px 40px 40px;
  background: var(--white); border-radius: 24px; grid-template-columns: minmax(0, 1fr);
}
.fipe-result hr { width: 100%; margin: 0; border: 0; border-top: 1px solid var(--line); }
.fipe-result h3 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -0.24px; }
.fipe-note { margin: 4px 0 0; color: var(--faint); font-size: 14px; font-weight: 500; }
.fipe-result-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fipe-car { display: flex; align-items: center; gap: 16px; }
.fipe-car img { width: 72px; height: 72px; object-fit: contain; }
.fipe-car-initial { width: 72px; height: 72px; border-radius: 50%; background: #eaf3ff; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.fipe-car h2 { margin: 0; font-size: 32px; line-height: 1.2; letter-spacing: -0.32px; }
.fipe-car p { margin: 2px 0 0; color: var(--faint); font-weight: 500; }
.fipe-few { display: grid; gap: 4px; }
.fipe-few small { color: var(--muted); font-size: 14px; font-weight: 700; }
.fipe-few strong { font-size: 32px; line-height: 1.2; letter-spacing: -0.32px; color: var(--brand); }
.fipe-search.is-loading select { opacity: .6; }
.fipe-bar { position: relative; height: 28px; }
.fipe-bar::before, .fipe-bar span { content: ""; position: absolute; left: 0; top: 10px; height: 8px; border-radius: 999px; }
.fipe-bar::before { right: 0; background: #eaeaea; }
.fipe-bar span { background: #eaf3ff; }
.fipe-bar i { position: absolute; top: 3px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--brand); border: 6px solid #eaf3ff; box-sizing: border-box; }
.fipe-values { display: flex; justify-content: space-between; gap: 16px; }
.fipe-values div { display: grid; gap: 4px; }
.fipe-values div:last-child { text-align: right; }
.fipe-values small { color: var(--faint); font-size: 14px; font-weight: 500; }
.fipe-values strong { font-size: 32px; line-height: 1.2; letter-spacing: -0.32px; }
.fipe-avg { text-align: center; }
.fipe-avg strong { font-size: 40px; color: var(--brand); letter-spacing: -0.4px; }
.fipe-empty { justify-items: start; gap: 12px; }
.fipe-official { display: grid; gap: 4px; }
.fipe-official strong { font-size: 48px; line-height: 1.1; letter-spacing: -0.5px; color: var(--brand); }
.fipe-diff { margin: 0; font-size: 16px; font-weight: 700; color: var(--muted); }
.fipe-diff.is-below { color: #12805c; }
.fipe-diff.is-above { color: #b45309; }
.fipe-warn { width: min(1180px, 100%); margin: 156px auto -132px; padding: 12px 16px; border-radius: 12px; background: #fff7e6; color: #8a5a00; font-size: 14px; font-weight: 600; }
@media (max-width: 900px) {
  .fipe-official strong { font-size: 36px; }
  .fipe-warn { margin: 64px auto -48px; }
}
.fipe-ad { margin-top: 80px; }
@media (max-width: 900px) {
  .fipe-hero { padding: 32px 20px 0; }
  .fipe-hero h1 { font-size: 40px; }
  .fipe-hero > p { font-size: 16px; }
  .fipe-search { padding: 20px; margin-bottom: -40px; }
  .fipe-row, .fipe-row--end { grid-template-columns: 1fr; gap: 14px; }
  .fipe-result { margin-top: 64px; padding: 24px 20px; }
  .fipe-result .btn { width: 100%; white-space: normal; height: auto; min-height: 48px; text-align: center; }
  .fipe-car h2 { font-size: 24px; }
  .fipe-values { gap: 8px; }
  .fipe-values small { font-size: 12px; }
  .fipe-values strong { font-size: 17px; white-space: nowrap; }
  .fipe-avg strong { font-size: 20px; }
  .fipe-ad { margin-top: 48px; }
}
/* Páginas do menu Vender (src/ui/sell.tsx) */
.sell-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.sell-block { display: grid; gap: 24px; padding: 24px 0 8px; }
.sell-block > h2, .sell-form-title { margin: 0; font-size: 40px; line-height: 1.1; letter-spacing: -0.8px; }
.sell-block > h2 { text-align: center; }
.sell-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sell-card { display: grid; align-content: start; gap: 12px; background: var(--white); border-radius: 24px; padding: 28px; }
.sell-card h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.sell-card p, .sell-steps p { margin: 0; color: var(--muted); line-height: 1.5; }
.sell-icon { width: 48px; height: 48px; border-radius: 14px; background: #eaf3ff; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.sell-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.sell-steps li { display: grid; gap: 8px; background: var(--white); border-radius: 24px; padding: 28px; }
.sell-steps strong { font-size: 20px; }
.sell-num { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.contact-stage .sell-form-title { color: var(--white); }
@media (max-width: 1100px) { .sell-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .sell-cards, .sell-steps { grid-template-columns: 1fr; }
  .sell-block > h2, .sell-form-title { font-size: 28px; }
  .sell-actions .btn { width: 100%; }
}
.legal { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.legal-index { position: sticky; top: 116px; display: grid; gap: 4px; background: var(--white); border-radius: 24px; padding: 20px; }
.legal-index p { margin: 0 0 4px; color: var(--faint); font-size: 12px; font-weight: 700; }
.legal-index a { padding: 8px 12px; border-radius: 10px; font-size: 14px; }
.legal-index a.is-on { background: #eaf3ff; color: var(--brand); font-weight: 700; }
.legal-copy { display: grid; gap: 28px; background: var(--white); border-radius: 24px; padding: 40px 48px; }
.legal-copy h2 { margin: 0 0 12px; font-size: 24px; letter-spacing: -0.24px; }
.legal-copy p { margin: 0; color: var(--muted); }
.cookie-table { width: 100%; margin-top: 12px; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.cookie-table th, .cookie-table td { padding: 12px 16px; border-top: 1px solid #eee; text-align: left; font-size: 14px; }
.cookie-table th { background: #f7f7f7; }
.cookie-table td:first-child { font-weight: 700; }
.missing { max-width: 760px; margin: 8px auto 0; padding: 64px 80px; background: var(--white); border-radius: 32px; text-align: center; }
.missing-code { margin: 0; color: var(--brand); font-size: 60px; font-weight: 700; line-height: 1.2; letter-spacing: -1.2px; }
.missing h1 { margin: 16px 0; font-size: 32px; letter-spacing: -0.32px; }
.missing > p { margin: 0 auto; max-width: 600px; color: var(--muted); }
.missing-actions { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.missing-search {
  display: flex; align-items: center; gap: 8px; max-width: 520px; margin: 24px auto 0; padding: 4px 4px 4px 18px;
  border: 1px solid var(--brand-2, #c8c8c8); border-radius: 999px; background: var(--white);
}
.missing-search i { color: var(--faint); }
.missing-search input { flex: 1; min-width: 0; height: 44px; border: 0; outline: none; font: inherit; color: var(--ink); background: transparent; }
.missing-search .btn { height: 44px; }
.ad-formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ad-formats article { background: var(--white); border-radius: 24px; padding: 32px; display: grid; gap: 8px; align-content: start; }
.ad-formats i { color: var(--brand); font-size: 24px; }
.ad-formats h2 { margin: 8px 0 0; font-size: 20px; line-height: 1.2; }
.ad-formats p, .ad-contact p, .ad-note { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.ad-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--white); border-radius: 24px; padding: 32px; }
.ad-contact h2 { margin: 0 0 4px; font-size: 24px; }
.ad-contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ad-note a { color: var(--brand); font-weight: 700; }
@media (max-width: 900px) {
  .ad-formats { grid-template-columns: 1fr; gap: 12px; }
  .ad-formats article, .ad-contact { padding: 20px; }
  .ad-contact-actions, .ad-contact-actions .btn { width: 100%; }
  .missing-search { flex-wrap: wrap; border-radius: 24px; padding: 8px; }
  .missing-search .btn { width: 100%; }
}
.useful { margin-top: 26px; }
.useful p { margin: 0 0 10px; color: var(--muted); font-size: 14px; font-weight: 700; }
.useful div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.useful a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--brand); font-size: 14px; }
.cookie-bar { position: fixed; left: 32px; right: 32px; bottom: 24px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 32px; background: var(--white); border-radius: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18); }
.cookie-bar strong { display: block; font-size: 18px; }
.cookie-bar p { margin: 4px 0 0; max-width: 820px; color: var(--muted); font-size: 14px; }
.cookie-bar a { color: var(--brand); font-weight: 700; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-prefs { width: min(640px, calc(100% - 32px)); padding: 28px 32px; border: 0; border-radius: 24px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18); }
.cookie-prefs::backdrop { background: rgba(11, 17, 35, 0.45); }
.cookie-prefs header { display: flex; align-items: center; justify-content: space-between; }
.cookie-prefs h2 { margin: 0; font-size: 24px; letter-spacing: -0.24px; }
.cookie-prefs header button { border: 0; background: transparent; color: var(--muted); font-size: 18px; }
.pref { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 16px 20px; background: #eaeaea; border-radius: 16px; }
.pref span { display: grid; gap: 2px; flex: 1; }
.pref small { color: var(--muted); font-size: 14px; }
.cookie-prefs .cookie-actions { margin-top: 16px; }
.cookie-prefs .cookie-actions .btn { flex: 1; }
.switch { appearance: none; width: 48px; height: 28px; margin: 0; border: 0; border-radius: 999px; background: #d0d0d0; position: relative; cursor: pointer; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); }
.switch:checked { background: var(--brand); }
.switch:checked::after { left: 23px; }
.switch:disabled { cursor: default; }

@media (max-width: 980px) {
  .info-hero, .contact-stage { padding: 32px 24px; }
  .info-hero { min-height: 240px; }
  .info-hero h1, .contact-copy h1, .about-grid h2, .promo-copy h2 { font-size: 32px; }
  .contact-stage, .about-grid, .legal { grid-template-columns: 1fr; }
  .legal-index { position: static; }
  .legal-copy, .missing { padding: 24px 20px; }
  .promo { min-height: 0; }
  .promo-scene, .promo-tablet { position: relative; width: 100%; top: auto; right: auto; }
  .promo-copy { padding: 32px 24px; }
  .cookie-bar { left: 16px; right: 16px; bottom: 16px; flex-direction: column; align-items: stretch; }
  .missing-actions, .cookie-prefs .cookie-actions { flex-direction: column; }
  .missing-actions .btn, .cookie-bar .btn { width: 100%; }
}

@media (max-width: 980px) {
  .gallery-shot-next, .gallery .gallery-arrow { display: none; }
  .gallery-shot, .gallery-shot:only-of-type { aspect-ratio: 4 / 3; }
  .product-grid, .specs { grid-template-columns: 1fr 1fr; }
  .product-side { position: static; }
  .gad { display: none; }
  .seller-actions, .seller-stats, .fipe-head { flex-direction: column; align-items: stretch; }
  .sheet-name h1 { font-size: 24px; }
  .sheet { position: relative; padding: 20px 16px; }
  .sheet-actions { position: absolute; right: 16px; top: 20px; }
  .price-box { align-items: flex-start; flex-direction: column; }
  .similar-rail { display: flex; overflow-x: auto; gap: 24px; scroll-snap-type: x mandatory; }
  .similar-rail .vcard { flex: 0 0 264px; scroll-snap-align: start; }
  .product { padding-bottom: 120px; }
  .product-cta {
    display: flex; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    background: var(--white); border-top: 1px solid var(--line); padding: 12px 16px 16px;
  }
  .product-cta .btn { flex: 1; }
  .share-sheet { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: auto; border-radius: 24px 24px 0 0; max-height: 92vh; overflow: auto; }
  .share-handle { display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto; }
}

/* Acessibilidade: "Pular para o conteúdo" aparece só ao receber foco pelo teclado. */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 20px; border-radius: 999px;
  background: var(--brand); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }
#conteudo { display: block; height: 0; outline: none; }

/* Como evitar golpes */
.safety-tips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.safety-tips article { background: var(--white); border-radius: 24px; padding: 28px; display: grid; gap: 8px; align-content: start; }
.safety-tips i { color: var(--brand); font-size: 24px; }
.safety-tips h2 { margin: 8px 0 0; font-size: 20px; line-height: 1.2; }
.safety-tips p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }

/* Meus favoritos */
.favs-grid[aria-busy="true"] { min-height: 200px; }

/* ===================== Ajustes mobile (revisão 23/11) ===================== */

/* Áreas de toque: coração do card (40px visível + 44px de toque) e links "Ver todos os…". */
.vcard-fav { width: 40px; height: 40px; top: 10px; right: 8px; }
.vcard-fav::after { content: ""; position: absolute; inset: -2px; }
.block-head > a, .block-actions > a { display: inline-flex; align-items: center; min-height: 44px; }

/* Cards de perfil: espaço fixo entre o texto e o botão. */
.profiles article { gap: 20px; }

/* Destaques da home: botão "Ver todos" só aparece no celular (ver abaixo). */
.rail-all { display: none; }

/* Folha de filtros: título/fechar e rodapé só existem no celular. */
.filter-sheet-head, .filter-sheet-foot { display: none; }
.filter-backdrop { position: fixed; inset: 0; z-index: 29; background: rgba(11, 20, 40, .55); }
.filter-backdrop[hidden] { display: none; }
body.is-locked { overflow: hidden; }

@media (max-width: 980px) {
  /* Produto: uma coluna (antes ficava 2 colunas de 167px e o formulário saía da tela). */
  .product-grid, .product-main, .product-side { grid-template-columns: minmax(0, 1fr); }
  .sheet, .seller, .lead { min-width: 0; }
  .seller, .lead { padding: 20px 16px; }
  .specs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  /* Título não encosta nos botões de compartilhar/favoritar (2 × 44px + 8px + 12px de folga). */
  .sheet-name { padding-right: 108px; }
  .sheet-name h1 { overflow-wrap: anywhere; }

  /* Filtros como folha. */
  .filter-panel.is-open { padding: 0 16px; gap: 0; max-height: 88vh; border: 0; box-shadow: 0 -8px 32px rgba(0, 0, 0, .18); }
  .filter-panel.is-open .filter-sheet-head {
    display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2;
    margin: 0 -16px; padding: 12px 8px 12px 20px; background: var(--white); border-bottom: 1px solid var(--line);
  }
  .filter-sheet-head strong { font-size: 20px; }
  .filter-sheet-head button { width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--page); color: var(--ink); font-size: 18px; }
  .filter-panel.is-open .filter-sheet-foot {
    display: block; position: sticky; bottom: 0; z-index: 2; margin: 0 -16px; padding: 12px 16px 16px;
    background: var(--white); border-top: 1px solid var(--line);
  }
  .filter-sheet-foot .btn { width: 100%; }
  .filter-panel.is-open section:first-of-type { border-top: 0; }
}

@media (max-width: 900px) {
  /* Header: logo maior (~127px) e hambúrguer de 28px com área de toque de 44px. */
  .menu { height: 60px; }
  .logo img { height: 34px; }
  .menu.is-open .drawer { inset: 60px 0 0; }
  .menu-burger { width: 44px; height: 44px; justify-content: center; margin-right: -8px; font-size: 28px; }

  /* Menu: subitens com 44px de altura. */
  .drawer details a, .drawer-links a { min-height: 44px; }

  /* Busca da home: campo e botões com 44px+ (o campo encolhia para 22px por causa do flex: 1 na coluna). */
  .filter-search input { flex: none; }
  .tabs button, .body-chips button { height: 44px; }

  /* Perfis: padding igual nos 4 cards. */
  .profiles article { padding: 24px; }

  /* Destaques: sem slider; 6 veículos em 2 colunas e o botão abaixo. */
  .rail-window { overflow: visible; }
  .rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; transform: none !important; }
  .rail .vcard { flex: none; }
  .rail .vcard:nth-child(n + 7) { display: none; }
  .rail-all { display: flex; width: 100%; }
  .block:has(.rail-all) .block-actions > a { display: none; }
}

/* Listas de veículos no celular: 2 por linha com o card compacto (Categoria, Loja, Favoritos e destaques da home). */
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  :is(.grid, .rail) .vcard-photo { aspect-ratio: 4 / 3; }
  :is(.grid, .rail) .vcard-hover { display: none; }
  :is(.grid, .rail) .vcard-count { left: 8px; bottom: 8px; padding: 2px 6px; font-size: 11px; }
  :is(.grid, .rail) .vcard-fav { top: 6px; right: 6px; width: 36px; height: 36px; }
  :is(.grid, .rail) .vcard-fav::after { inset: -4px; }
  :is(.grid, .rail) .vcard-body { gap: 4px; padding: 10px 10px 12px; }
  :is(.grid, .rail) .vcard-body strong, :is(.grid, .rail) .vcard-body em { font-size: 13px; }
  :is(.grid, .rail) .vcard-price { font-size: 18px; letter-spacing: -0.18px; }
  :is(.grid, .rail) .vcard-specs, :is(.grid, .rail) .vcard-foot, :is(.grid, .rail) .vcard-store { font-size: 12px; gap: 4px 8px; }
  :is(.grid, .rail) .vcard-fuel { display: none; }
}
@container (max-width: 399px) { .catalog-results .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* ===== Hero mobile (Figma "Home v4 — Mobile 390" › Hero, 9393:12752) =====
   Um card azul só: fotos como decoração a 25% no topo, título, chip de região e o card de busca dentro do azul.
   Posições horizontais em % da largura do card (358px no Figma) e verticais em px, como no Figma. */
@media (max-width: 900px) {
  .hero.wrap {
    width: auto; margin: 8px 16px 0; padding: 0 0 8px; position: relative; overflow: hidden;
    background: var(--brand); border-radius: 24px;
  }
  .hero-banner { position: static; height: auto; overflow: visible; border-radius: 0; background: none; }
  .hero::before {
    content: ""; position: absolute; left: -30.72%; top: -20px; width: 161.43%; height: 191.7px; border-radius: 14.8px;
    background: linear-gradient(161.6deg, #155dfc 0%, #1447e6 50%, #193cb8 100%); opacity: .25; pointer-events: none;
  }
  .shape, .hero-shadow, .hero-car, .hero-hand, .shot-keys { opacity: .25; }
  .shape-left { left: -39.17%; top: 7.8px; bottom: auto; right: auto; width: 61.78%; height: auto; }
  .shape-right { left: 72.94%; right: auto; top: -40.4px; width: 61.78%; height: auto; }
  .hero-shadow { left: -39.08%; top: 88.6px; bottom: auto; width: 57.75%; height: auto; aspect-ratio: 206.75 / 141.48; }
  .hero-car { left: -40.72%; top: 88.7px; bottom: auto; width: 57.75%; height: auto; aspect-ratio: 206.75 / 141.48; }
  .shot-keys { display: block; left: 91.3%; top: -7px; width: 23.82%; height: auto; aspect-ratio: 85.29 / 93.74; border-radius: 12.3px; }
  .hero-hand { left: 91.3%; right: auto; top: 11.1px; width: 38.17%; height: auto; aspect-ratio: 136.63 / 137.16; }
  /* Fora do card no Figma (ficam além das bordas): escondidos. */
  .shot-lot, .shot-badge, .shot-palm, .hero-keyfob { display: none; }

  .hero-copy { width: calc(100% - 32px); margin: 28px auto 0; }
  .hero-copy h1 { font-size: 32px; line-height: 1.2; letter-spacing: -0.32px; }
  .hero-copy p { margin-top: 12px; font-size: 14px; line-height: 1.5; }
  .region-chip { margin-top: 31px; height: 44px; }

  .filter {
    position: relative; z-index: 3; left: auto; top: auto; transform: none;
    width: calc(100% - 24px); margin: 48px auto 0; padding: 20px 16px; border-radius: 32px; gap: 14px;
  }
  .filter-title { align-items: center; }
  .filter-title h2 { font-size: 18px; line-height: 1.4; letter-spacing: 0; }
  .tabs button { font-size: 16px; padding: 0 16px; }
  .filter-search input { padding: 0 24px; font-size: 16px; }
  .filter-search .btn { font-size: 16px; }

  /* Cabeçalho mobile do Figma: 58.6px de altura, logo 127×34. */
  .menu { height: 59px; }
  .menu.is-open .drawer { inset: 59px 0 0; }
}

/* Anúncios 288×250 da coluna lateral (Categoria e Produto): imagem exportada do Figma em 2x. */
.ad-rect { display: block; width: 100%; max-width: 288px; border-radius: 16px; overflow: hidden; background: #eaeaea; }
.ad-rect img { width: 100%; height: auto; aspect-ratio: 288 / 250; }
@media (max-width: 980px) { .ad-rect { display: none; } }
.seller-logo.logo-initials b { font-size: 28px; }
.seller-logo.logo-initials i { right: 8px; bottom: 6px; font-size: 12px; }

/* Conta do visitante — Figma "06 · Conta — login, cadastro e favoritos" (src/ui/conta.tsx) */
.auth-stage {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center;
  padding: 72px 16px 96px; background: var(--brand);
}
.auth-deco { position: absolute; pointer-events: none; }
.auth-deco--1 { left: -120px; top: -100px; width: 420px; height: 420px; }
.auth-deco--2 { right: -230px; top: 380px; width: 520px; height: 520px; }
.auth-card {
  position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px;
  width: min(520px, 100%); padding: 36px 40px 40px; border-radius: 32px; background: var(--white); color: var(--ink);
}
.auth-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #eaeaea; }
.auth-tabs a {
  flex: 1; display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 999px;
  background: var(--white); color: var(--faint); font-size: 16px; font-weight: 700; line-height: 1.5;
}
.auth-tabs a.is-on { color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.auth-head { display: grid; gap: 4px; }
.auth-head h1 { margin: 0; font-size: 32px; line-height: 1.2; letter-spacing: -0.32px; font-weight: 700; }
.auth-head p { margin: 0; color: var(--muted); font-size: 16px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-fields { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.auth-field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.auth-field > span:first-child { font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.auth-field input {
  width: 100%; height: 58px; padding: 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; line-height: 1.5;
}
.auth-field input::placeholder { color: var(--faint); }
.auth-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 102, 204, .15); }
.auth-pass { position: relative; display: block; }
.auth-pass input { padding-right: 56px; }
.auth-pass button {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: #667085; font-size: 16px; cursor: pointer;
}
.auth-link { display: inline-flex; align-items: center; min-height: 21px; color: var(--brand); font-size: 14px; font-weight: 700; line-height: 1.5; }
.auth-check { display: flex; gap: 10px; align-items: flex-start; width: 100%; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.5; }
.auth-check input {
  appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--line); border-radius: 5px;
  background: var(--white); cursor: pointer; display: grid; place-content: center;
}
.auth-check input:checked { background: var(--brand); border-color: var(--brand); }
.auth-check input:checked::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px; color: var(--white); }
.auth-check input:focus-visible { outline: 3px solid rgba(0, 102, 204, .35); outline-offset: 2px; }
.auth-check a { color: var(--brand); font-weight: 700; }
.auth-submit { width: 100%; height: 52px; font-size: 16px; }
.auth-alt { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.5; }
.auth-alt a { color: var(--brand); font-weight: 700; }
.auth-msg { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 12px 16px; border-radius: 16px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.auth-msg i { margin-top: 2px; }
.auth-msg--erro { background: #fef3f2; color: #b42318; }
.auth-msg--ok { background: #ecfdf3; color: #067647; }
.auth-note { margin: 0; color: var(--muted); font-size: 14px; }
.auth-more { border-top: 1px solid var(--line); padding-top: 16px; }
.auth-more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; }
.auth-more[open] summary { margin-bottom: 12px; }
.auth-danger summary { color: #b42318; }
.auth-btn-danger { background: #d92d20; color: var(--white); }

/* Favoritos (Figma "Favoritos — 1440 / Vazio / Mobile 390") */
.favs .info-top { gap: 24px; padding-bottom: 80px; }
.favs .crumbs { font-size: 14px; }
.favs .crumbs i { font-size: 12px; color: var(--muted); }
.favs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.favs-head h1 { margin: 0; font-size: 32px; line-height: 1.2; letter-spacing: -0.32px; }
.favs-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.5; }
.favs-share { height: 48px; flex: none; }
.favs-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.favs-chips a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.5;
}
.favs-chips a.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); font-weight: 700; }
.favs-empty {
  display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 80px 32px; border-radius: 24px;
  background: var(--white); text-align: center;
}
.favs-empty > i { color: var(--brand); font-size: 40px; }
.favs-empty h2 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -0.24px; }
.favs-empty p { margin: 0; max-width: 646px; color: var(--muted); font-size: 16px; font-weight: 500; line-height: 1.5; }
.favs-empty .btn { height: 48px; }
.favs-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
[data-favs-empty][hidden] { display: none; }

@media (max-width: 640px) {
  .auth-stage { padding: 24px 16px 32px; }
  .auth-deco--2 { right: -90px; top: 300px; width: 280px; height: 280px; }
  .auth-card { padding: 24px 20px; }
  .favs .info-top { gap: 16px; padding-bottom: 40px; }
  .favs .crumbs { display: none; }
  .favs-head h1 { font-size: 24px; letter-spacing: -0.24px; }
  .favs-share { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .favs-share span { display: none; }
  .favs-chip-drop { display: none !important; }
  .favs-empty { padding: 48px 20px; }
}
