/* =========================================================
   VENDANAHORA.COM.BR — design system premium
   Paleta: azul (confiança) · laranja (ação) · grafite 80% (texto/estrutura) · dourado (premium)
   Fontes: Sora (títulos) + Plus Jakarta Sans (texto), hospedadas no próprio site.
   Mobile first. Home: 1 carro por vez no celular (scroll-snap).
   ========================================================= */

/* ---------- Fontes (self-hosted, sem Google) ---------- */
@font-face { font-family: "Sora"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

/* ---------- Tokens: tema PREMIUM (padrão) ---------- */
:root,
[data-theme="premium"] {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --surface-3: #e9ecf1;
  --line: #e3e6eb;
  --line-strong: #d3d8e0;

  --text: #333333;            /* cinza 80% */
  --heading: #1f2226;
  --muted: #6b7280;

  --primary: #1b4fd1;         /* azul */
  --primary-ink: #ffffff;
  --primary-soft: #e8eefc;
  --primary-deep: #0b2a5b;    /* azul-marinho */

  --accent: #f26a1b;          /* laranja */
  --accent-ink: #ffffff;
  --accent-soft: #fff0e6;

  --gold: #c8a24d;            /* dourado */
  --gold-ink: #3a2c08;
  --gold-soft: #f7f0dc;
  --gold-line: #e6d4a3;

  --graphite: #333333;
  --graphite-deep: #1e2023;

  --hero: #1e2023;
  --hero-2: #0b2a5b;
  --hero-ink: #ffffff;
  --hero-muted: #c3c9d4;

  --ok: #1f8a5b;
  --warn: #b7791f;
  --danger: #d23b2a;

  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05);
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 10px 30px rgba(17, 24, 39, .06);
  --shadow-lg: 0 24px 60px rgba(17, 24, 39, .14);
  --ring: 0 0 0 4px rgba(27, 79, 209, .16);
  color-scheme: light;
}
/* Temas alternativos (Admin → Aparência) */
[data-theme="azul-verde"] { --primary: #1d4ed8; --primary-soft: #e3ebff; --accent: #10b981; --accent-soft: #d8f8ea; --hero-2: #12306e; }
[data-theme="azul-laranja"] { --primary: #1e40af; --primary-soft: #e2e8fb; --accent: #f97316; --accent-soft: #ffe8d6; --hero: #0f1f4d; --hero-2: #1e40af; }
[data-theme="preto-dourado"],
[data-theme="grafite-limao"],
[data-theme="grafite-laranja"] {
  --bg: #121316; --surface: #1b1d21; --surface-2: #23262b; --surface-3: #2b2f35; --line: #30343b; --line-strong: #3b4048;
  --text: #e7e9ec; --heading: #ffffff; --muted: #9aa1ab; --primary-soft: #1d2840; --accent-soft: #3a2616;
  --gold-soft: #2d2615; --gold-line: #5c4b22; --hero: #0b0c0e; --hero-2: #15181d;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35); --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
[data-theme="preto-dourado"] { --primary: #3b82f6; --accent: #d4a537; --accent-ink: #1a1203; }
[data-theme="grafite-limao"] { --primary: #3b82f6; --accent: #c5f135; --accent-ink: #1a2200; }
[data-theme="grafite-laranja"] { --primary: #f97316; --accent: #22d3ee; --accent-ink: #062a31; }

:root { --radius: 20px; --radius-sm: 14px; --radius-xs: 10px; --gutter: 16px; --header-h: 70px; }
@media (min-width: 900px) { :root { --gutter: 24px; } }

/* Fontes */
:root { --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif; }
[data-font="manrope"] { --font: "Manrope", system-ui, sans-serif; --font-display: "Manrope", system-ui, sans-serif; }
[data-font="dmsans"]  { --font: "DM Sans", system-ui, sans-serif; --font-display: "DM Sans", system-ui, sans-serif; }
[data-font="inter"]   { --font: "Inter", system-ui, sans-serif; --font-display: "Inter", system-ui, sans-serif; }
[data-font="nunito"]  { --font: "Nunito Sans", system-ui, sans-serif; --font-display: "Nunito Sans", system-ui, sans-serif; }
[data-font="roboto"]  { --font: "Roboto", system-ui, sans-serif; --font-display: "Roboto", system-ui, sans-serif; }
[data-font="sistema"] { --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --font-display: var(--font); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(1.75rem, 4.6vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 700; }
h3, .h3 { font-size: 1.12rem; font-weight: 700; }
.h4 { font-size: 1rem; margin-top: 1rem; }
p { margin: 0 0 1em; }
strong, b { color: inherit; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--primary-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
::selection { background: var(--gold-soft); color: var(--heading); }
.wrap { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.section { padding-top: 40px; padding-bottom: 40px; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.ic-lg { width: 26px; height: 26px; }
.ic-xl { width: 56px; height: 56px; stroke-width: 1.4; }
code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: .85em; }
.show-mobile { display: initial; }
.hide-mobile { display: none !important; }
@media (min-width: 900px) { .show-mobile { display: none !important; } .hide-mobile { display: inline-flex !important; } }

/* Eyebrow com fio dourado */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: .95rem; letter-spacing: .005em; cursor: pointer; text-decoration: none !important; transition: transform .14s ease, background .16s, box-shadow .2s, border-color .16s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--primary) 60%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 88%, #000); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 90%, #000); }
.btn-gold { background: linear-gradient(135deg, #d9b765, var(--gold) 55%, #a8842f); color: var(--gold-ink); }
.btn-ghost { background: var(--surface); color: var(--heading); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: .86rem; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.danger { color: var(--danger) !important; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--heading); cursor: pointer; transition: border-color .15s, color .15s; }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn.sm { width: 34px; height: 34px; border-radius: 10px; }
.icon-btn:disabled { opacity: .35; cursor: default; }
.linklike { background: none; border: 0; padding: 0; color: var(--primary); font: inherit; cursor: pointer; }

/* ---------- Pills / status / selos ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .76rem; font-weight: 700; }
.pill-accent { background: var(--accent); color: var(--accent-ink); }
.pill-gold { background: var(--gold-soft); color: #8a6a1f; border: 1px solid var(--gold-line); }
.status { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; padding: 4px 11px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .02em; background: var(--surface-2); color: var(--muted); font-family: var(--font); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .85; }
.status-published, .status-aceita { background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok); }
.status-pending, .status-em_contato, .status-nova { background: color-mix(in srgb, var(--accent) 14%, transparent); color: color-mix(in srgb, var(--accent) 80%, #000); }
.status-rejected, .status-recusada { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
.status-sold { background: var(--primary-soft); color: var(--primary); }
.ver { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; border: 1px solid var(--line-strong); color: var(--muted); background: var(--surface); }
.ver-documentado { border-color: color-mix(in srgb, var(--primary) 45%, transparent); color: var(--primary); background: var(--primary-soft); }
.ver-verificado { background: linear-gradient(135deg, #d9b765, var(--gold)); color: var(--gold-ink); border-color: var(--gold); }
.sug { font-style: normal; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 6px; background: var(--gold-soft); color: #8a6a1f; border: 1px solid var(--gold-line); vertical-align: middle; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--accent) 50%, var(--primary) 80%, transparent); opacity: .55; }
.header-row { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--heading); text-decoration: none !important; margin-right: auto; min-width: 0; }
.brand-mark { position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, var(--primary-deep), var(--primary)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 6px 14px -6px var(--primary); flex: none; }
.brand-mark::after { content: ""; position: absolute; inset: auto 8px 6px; height: 2px; border-radius: 2px; background: var(--gold); }
.brand-mark svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.1; stroke-linejoin: round; stroke-linecap: round; margin-top: -3px; }
.brand-mark svg circle { fill: var(--accent); stroke: var(--accent); }
.brand-text { display: grid; min-width: 0; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; line-height: 1; color: var(--heading); white-space: nowrap; }
.wordmark span { color: var(--accent); }
.brand-text small { display: block; font-size: .6rem; font-weight: 800; letter-spacing: .24em; color: var(--gold); margin-top: 5px; white-space: nowrap; }
.brand-logo { max-height: 46px; width: auto; }
@media (max-width: 380px) { .wordmark { font-size: .98rem; } .brand-mark { width: 40px; height: 40px; } }
.nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--line); background: var(--surface); color: var(--heading); border-radius: 14px; cursor: pointer; }
.nav-toggle .ic { width: 24px; height: 24px; }
.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 12px var(--gutter) 22px; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.nav-main a, .nav-account > li > a { display: flex; padding: 13px 6px; color: var(--heading); font-weight: 600; }
.nav-main a.btn { margin-top: 10px; justify-content: center; padding: 0 20px; color: var(--accent-ink); }
.nav-main a.is-active { color: var(--primary); }
.nav-account { border-top: 1px solid var(--line); margin-top: 10px !important; padding-top: 8px !important; }
.account-menu summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 8px 4px; font-weight: 700; color: var(--heading); }
.account-menu summary::-webkit-details-marker { display: none; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--primary-deep), var(--primary)); color: #fff; font-weight: 800; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--gold-line); }
.account-pop { display: grid; gap: 2px; padding: 6px 0; }
.account-pop a, .account-pop button { padding: 11px 10px; border-radius: 10px; color: var(--heading); text-align: left; font-weight: 600; }
.account-pop a:hover, .account-pop button:hover { background: var(--surface-2); text-decoration: none; }
.account-role { font-size: .7rem; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; margin: 4px 10px 6px; }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; position: static; background: none; border: 0; box-shadow: none; padding: 0; align-items: center; gap: 18px; }
  .site-nav ul { display: flex; align-items: center; gap: 4px; }
  .nav-main a { padding: 9px 14px; border-radius: 999px; font-size: .95rem; }
  .nav-main a:hover { background: var(--surface-2); text-decoration: none; }
  .nav-main a.btn { margin: 0 0 0 8px; padding: 0 20px; min-height: 42px; }
  .nav-main a.btn:hover { background: color-mix(in srgb, var(--accent) 90%, #000); }
  .nav-account { border: 0; margin: 0 !important; padding: 0 0 0 14px !important; border-left: 1px solid var(--line) !important; }
  .nav-account > li > a { padding: 9px 12px; }
  .account-menu { position: relative; }
  .account-pop { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 8px; }
}

/* ---------- Avisos ---------- */
.flashes { padding-top: 18px; display: grid; gap: 8px; }
.flash { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); border-left-width: 4px; font-weight: 600; font-size: .95rem; margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.flash .ic { margin-top: 2px; }
.flash-success { border-left-color: var(--ok); }
.flash-success .ic { color: var(--ok); }
.flash-error { border-left-color: var(--danger); background: color-mix(in srgb, var(--danger) 5%, var(--surface)); }
.flash-error .ic { color: var(--danger); }
.flash-info { border-left-color: var(--primary); }
.flash-info .ic { color: var(--primary); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--hero-ink); padding: 44px 0 34px;
  background:
    radial-gradient(900px 420px at 92% -10%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, color-mix(in srgb, var(--primary) 45%, transparent), transparent 60%),
    linear-gradient(150deg, var(--hero) 0%, var(--hero-2) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--accent), var(--primary)); }
.hero-inner { position: relative; display: grid; gap: 24px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 6.2vw, 3.5rem); max-width: 17ch; margin-bottom: 14px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { color: var(--hero-muted); max-width: 58ch; font-size: 1.05rem; margin: 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding: 0; list-style: none; color: #e7eaf0; font-size: .88rem; font-weight: 600; }
.hero-badges li { display: inline-flex; align-items: center; gap: 7px; }
.hero-badges .ic { color: var(--gold); }
.hero-search { display: grid; gap: 12px; background: var(--surface); color: var(--text); padding: 16px; border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .6); }
.hero-search .field > span { font-size: .68rem; }
.quick-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.quick-chips::-webkit-scrollbar { display: none; }
.quick-chips a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-weight: 600; font-size: .88rem; background: rgba(255, 255, 255, .07); backdrop-filter: blur(6px); }
.quick-chips a:hover { background: rgba(255, 255, 255, .16); border-color: var(--gold); text-decoration: none; }
@media (min-width: 900px) {
  .hero { padding: 76px 0 52px; }
  .hero-search { grid-template-columns: 1.1fr 1.5fr 1fr auto; align-items: end; padding: 18px; }
}

/* ---------- Faixa de garantias ---------- */
.trust-strip { position: relative; z-index: 2; margin-top: -1px; background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.trust-item { display: flex; gap: 12px; align-items: center; padding: 16px 8px; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: .92rem; color: var(--heading); line-height: 1.2; }
.trust-item span { font-size: .78rem; color: var(--muted); }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } .trust-item { padding: 22px 12px; } .trust-item + .trust-item { border-left: 1px solid var(--line); padding-left: 22px; } }

/* Ícone em caixa (usado em blocos de informação) */
.ic-tile { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--primary-soft); color: var(--primary); }
.ic-tile .ic { width: 22px; height: 22px; }
.ic-tile.gold { background: var(--gold-soft); color: #9c7a2e; }
.ic-tile.orange { background: var(--accent-soft); color: var(--accent); }
.ic-tile.dark { background: var(--graphite-deep); color: var(--gold); }

/* ---------- Seções ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; }
.page-head { margin-bottom: 24px; }
.page-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.head-actions form { margin: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
@media (min-width: 900px) { .panel { padding: 26px 28px; } }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.panel-head h2 { margin: 0; }
.panel h2.h3 { display: flex; align-items: center; gap: 10px; }
.panel h2.h3 > .ic { width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); }
.empty { text-align: center; padding: 52px 22px; background: var(--surface); border: 1.5px dashed var(--line-strong); border-radius: var(--radius); }
.empty .ic-xl { color: var(--gold); margin: 0 auto 14px; }
.small-empty { padding: 26px; }

/* ---------- Carrossel / grade de carros ---------- */
.car-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; padding: 6px 2px 18px; margin: 0 -2px; scrollbar-width: none; }
.car-rail::-webkit-scrollbar { display: none; }
.rail-item { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; min-width: 0; }
.rail-controls { display: flex; align-items: center; gap: 10px; }
.rail-counter { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; min-width: 56px; text-align: center; color: var(--heading); }
@media (min-width: 720px) {
  .rail-controls { display: none; }
  .car-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); overflow: visible; gap: 24px; }
  .rail-item { scroll-snap-align: none; }
}
.car-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .car-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .car-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } .car-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.car-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease, border-color .22s; }
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-line); }
.car-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.car-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(0, 0, 0, .28)); pointer-events: none; }
.car-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.car-card:hover .car-photo img { transform: scale(1.045); }
.no-photo { display: grid; place-items: center; height: 100%; color: var(--muted); }
.no-photo .ic { width: 64px; height: 64px; stroke-width: 1.2; }
.car-flag { position: absolute; left: 14px; top: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; background: linear-gradient(135deg, #e3c477, var(--gold)); color: var(--gold-ink); box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.car-count { position: absolute; right: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; background: rgba(20, 22, 26, .66); backdrop-filter: blur(6px); color: #fff; font-size: .78rem; font-weight: 700; }
.fav-form { position: absolute; right: 14px; top: 14px; margin: 0; z-index: 2; }
.fav-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--graphite); cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.fav-btn .ic, .fav-wide .ic { width: 22px; height: 22px; }
.fav-btn.is-on .ic, .fav-wide.is-on .ic { fill: var(--accent); stroke: var(--accent); }
.car-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.car-title { margin: 0; font-size: 1.3rem; font-weight: 700; }
.car-title a { color: var(--heading); }
.car-title a:hover { text-decoration: none; color: var(--primary); }
.car-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.car-version { margin: -6px 0 0; color: var(--muted); font-weight: 600; font-size: .92rem; min-height: 1.3em; }
.car-specs, .car-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.car-specs li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 10px; background: var(--surface-2); font-size: .84rem; font-weight: 700; color: var(--heading); }
.car-specs .ic { color: var(--primary); }
.car-trust li { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--ok); }
.car-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.car-price small { display: block; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); }
.car-price strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--heading); }
.car-price .small { display: block; }
.car-loc { display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; color: var(--muted); font-weight: 600; text-align: right; }

/* ---------- Por que / como funciona ---------- */
.how-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); overflow: hidden; }
.how-step .ic-tile { margin-bottom: 14px; }
.how-step h3 { margin-bottom: 6px; }
.how-step p { margin: 0; }
.how-num { position: absolute; right: 20px; top: 12px; font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--surface-3); line-height: 1; }
.brand-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.brand-cloud a { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--heading); font-weight: 700; font-size: .92rem; transition: border-color .15s; }
.brand-cloud a:hover { border-color: var(--gold); text-decoration: none; }
.brand-cloud span { color: var(--gold); font-weight: 700; margin-left: 4px; }
.cta-band { position: relative; overflow: hidden; display: grid; gap: 18px; align-items: center; padding: 30px; border-radius: 28px; color: #fff; background: radial-gradient(500px 240px at 100% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%), linear-gradient(135deg, var(--graphite-deep), var(--primary-deep)); }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: var(--hero-muted); margin: 0; }
.cta-band .btn-group { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; padding: 40px 44px; } }

/* ---------- Formulários ---------- */
.field { display: grid; gap: 7px; min-width: 0; }
.field > span, .city-field > label > span { font-size: .74rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; min-height: 48px; padding: 11px 15px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--heading); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
textarea { resize: vertical; line-height: 1.6; }
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--line-strong)); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
input:disabled { opacity: .6; }
::placeholder { color: #9aa1ab; }
.is-suggested input, .is-suggested select { border-color: var(--gold-line); background: color-mix(in srgb, var(--gold-soft) 55%, var(--surface)); }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } .span-2 { grid-column: span 2; } }
@media (min-width: 980px) { .form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stack { display: grid; gap: 16px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-size: .74rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; padding: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.switch { display: flex; gap: 12px; align-items: center; cursor: pointer; padding: 7px 0; font-weight: 600; font-size: .95rem; color: var(--heading); }
.switch input { appearance: none; -webkit-appearance: none; width: 46px; height: 27px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none; cursor: pointer; transition: background .18s; margin: 0; }
.switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; transition: transform .18s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.switch input:checked { background: var(--primary); }
.switch input:checked::after { transform: translateX(19px); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.check-chip input { position: absolute; opacity: 0; pointer-events: none; }
.check-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 600; font-size: .88rem; cursor: pointer; background: var(--surface); color: var(--heading); transition: all .15s; }
.check-chip span:hover { border-color: var(--primary); }
.check-chip input:checked + span { background: var(--graphite-deep); border-color: var(--graphite-deep); color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.check-chip input:focus-visible + span { outline: 3px solid var(--accent); }
.label-lg { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--heading); margin-bottom: 10px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.radio-row { display: grid; gap: 8px; margin: 12px 0 6px; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .82rem; }
.install fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.install legend { padding: 0 6px; }

/* ---------- Busca ---------- */
.search-page { padding-top: 26px; padding-bottom: 44px; }
.search-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.search-head h1 { margin: 0; }
.search-head p { margin: 4px 0 0; }
.search-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; max-width: 100%; }
.sort { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .84rem; color: var(--muted); min-width: 0; flex: 1 1 auto; }
.sort select { min-height: 44px; width: auto; min-width: 0; max-width: 100%; }
@media (max-width: 480px) { .search-head { flex-direction: column; align-items: stretch; } .search-tools { justify-content: space-between; } .sort { font-size: .8rem; } }
.search-layout { display: grid; gap: 26px; }
.filters { display: none; }
.filters.open { display: block; position: fixed; inset: 0; z-index: 60; background: var(--bg); overflow-y: auto; padding: 0 var(--gutter) 120px; }
.filters form { display: grid; gap: 20px; }
.filters fieldset, .filters .more-filters { padding-top: 18px; border-top: 1px solid var(--line); }
.filters-top { position: sticky; top: 0; display: flex !important; justify-content: space-between; align-items: center; padding: 16px 0; background: var(--bg); z-index: 1; font-family: var(--font-display); font-size: 1.25rem; color: var(--heading); }
.filters-actions { display: grid; gap: 8px; }
.filters.open .filters-actions { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0, 0, 0, .08); }
.more-filters summary { cursor: pointer; font-size: .74rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
@media (min-width: 900px) {
  .search-layout { grid-template-columns: 310px 1fr; align-items: start; }
  .filters { display: block; position: sticky; top: calc(var(--header-h) + 18px); max-height: calc(100vh - var(--header-h) - 36px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); scrollbar-width: thin; }
  .filters-top { display: none !important; }
  .results .car-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1260px) { .results .car-grid { grid-template-columns: repeat(3, 1fr); } }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 32px 0 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; color: var(--heading); padding: 0 12px; }
.pagination a:hover { border-color: var(--primary); text-decoration: none; }
.pagination .current { background: var(--graphite-deep); color: #fff; border-color: var(--graphite-deep); box-shadow: inset 0 -2px 0 var(--gold); }

/* ---------- Página do veículo ---------- */
.vehicle { padding-top: 18px; padding-bottom: 44px; }
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs .ic { width: 14px; height: 14px; }
.vehicle-layout { display: grid; gap: 24px; }
.vehicle-layout > * { min-width: 0; }
.vehicle { overflow-x: clip; }
@media (min-width: 980px) { .vehicle-layout { grid-template-columns: minmax(0, 1fr) 370px; align-items: start; } .vehicle-side { position: sticky; top: calc(var(--header-h) + 18px); } }
.gallery { position: relative; margin: 0 calc(var(--gutter) * -1) 18px; }
@media (min-width: 720px) { .gallery { margin: 0 0 18px; } }
.gallery-stage { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; background: #0f1012; aspect-ratio: 4 / 3; }
@media (min-width: 720px) { .gallery-stage { border-radius: 26px; aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); } }
.gallery-stage::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.empty-photo { color: #6b7280; }
.gallery-nav { position: absolute; top: calc(50% - 50px); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: #111; display: none; place-items: center; cursor: pointer; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.gallery-nav.prev { left: 16px; } .gallery-nav.next { right: 16px; }
@media (hover: hover) and (min-width: 720px) { .gallery-nav { display: grid; } }
.gallery-count { position: absolute; right: 16px; top: 16px; padding: 5px 13px; border-radius: 999px; background: rgba(15, 16, 18, .66); backdrop-filter: blur(6px); color: #fff; font-weight: 700; font-size: .85rem; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--gutter) 0; scrollbar-width: thin; }
@media (min-width: 720px) { .gallery-thumbs { padding: 12px 0 0; } }
.gallery-thumbs button { flex: 0 0 92px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 2.5px solid transparent; padding: 0; cursor: pointer; background: var(--surface-2); opacity: .65; transition: opacity .15s; }
.gallery-thumbs button.is-active { border-color: var(--gold); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-head h1 { margin-bottom: 6px; }
.vehicle-head h1 span { color: var(--muted); font-family: var(--font); font-weight: 600; font-size: .58em; display: block; margin-top: 6px; letter-spacing: 0; }
.vehicle-sub { color: var(--muted); font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0 22px; }
@media (min-width: 640px) { .specs { grid-template-columns: repeat(3, 1fr); } }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-sm); }
.spec .ic-tile { width: 40px; height: 40px; border-radius: 12px; }
.spec span { display: block; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.spec strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--heading); overflow-wrap: normal; word-break: normal; hyphens: none; }
.spec > div { min-width: 0; }
@media (max-width: 520px) {
  .spec { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .spec .ic-tile { width: 34px; height: 34px; border-radius: 10px; }
  .spec strong { font-size: .95rem; }
  .info-table th, .info-table td { padding: 11px 12px; font-size: .9rem; }
  .info-table th .ic { display: none; }
}
.docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 10px 0 14px; }
.docs-grid div { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
.docs-grid dt { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.docs-grid dd { margin: 3px 0 0; font-weight: 700; color: var(--heading); }
.st-pago, .st-em_dia, .st-isento { color: var(--ok) !important; }
.st-pendente, .st-atrasado { color: var(--danger) !important; }
.st-parcelado { color: var(--warn) !important; }
.prose { overflow-wrap: anywhere; }

/* Tabelas de informação (ficha técnica, documentação) */
.info-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.info-table th, .info-table td { padding: 13px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 44%; font-weight: 600; color: var(--muted); background: var(--surface-2); }
.info-table th .ic { color: var(--primary); margin-right: 8px; }
.info-table td { font-weight: 700; color: var(--heading); background: var(--surface); }
.info-table .pill { font-size: .78rem; }
@media (min-width: 760px) { .info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .info-cols .info-table th { width: 46%; } }
.state { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; background: var(--surface-2); color: var(--muted); }
.state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.state.good { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.state.bad { background: color-mix(in srgb, var(--danger) 11%, transparent); color: var(--danger); }
.state.mid { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }

.price-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; overflow: hidden; }
.price-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--accent)); }
.price-card .eyebrow { margin: 0; }
.price-big { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; margin: -4px 0 0; line-height: 1.05; color: var(--heading); }
.fipe { margin: 0; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.privacy-note { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: var(--gold-soft); border: 1px solid var(--gold-line); font-size: .88rem; color: #5a4a22; }
.privacy-note p { margin: 0; }
.privacy-note .ic { color: #9c7a2e; width: 22px; height: 22px; flex: none; }
.offer-form { display: grid; gap: 12px; }
.offer-status { padding: 14px; border-radius: 14px; background: var(--primary-soft); }
.offer-status p { margin: 0; }
.preview-bar { background: var(--graphite-deep); color: #fff; padding: 12px 0; font-size: .92rem; border-bottom: 2px solid var(--gold); }
.preview-bar a { color: var(--gold); text-decoration: underline; font-weight: 800; }
.mobile-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; margin-top: 14px; box-shadow: var(--shadow); }
.mobile-price small { display: block; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); }
.mobile-price strong { display: block; font-family: var(--font-display); font-size: 1.65rem; font-weight: 800; line-height: 1.1; color: var(--heading); }
@media (min-width: 900px) { .mobile-price { display: none !important; } }

/* ---------- Linha do tempo ---------- */
.legend { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold-line), var(--line)); }
.tl-item { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 0 0 18px; }
.tl-icon { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); border: 3px solid var(--surface); }
.tl-sinistro .tl-icon { background: color-mix(in srgb, var(--danger) 13%, var(--surface)); color: var(--danger); }
.tl-pintura .tl-icon { background: var(--accent-soft); color: var(--accent); }
.tl-revisao .tl-icon, .tl-troca_oleo .tl-icon { background: color-mix(in srgb, var(--ok) 13%, var(--surface)); color: var(--ok); }
.tl-documento .tl-icon, .tl-ipva .tl-icon, .tl-licenciamento .tl-icon { background: var(--gold-soft); color: #9c7a2e; }
.tl-body { min-width: 0; background: var(--surface-2); border-radius: 16px; padding: 12px 16px; }
.tl-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .8rem; color: var(--muted); font-weight: 700; }
.tl-meta span { display: inline-flex; align-items: center; gap: 4px; }
.tl-date { color: var(--heading); font-family: var(--font-display); }
.tl-title { margin: 6px 0 4px; font-size: 1.02rem; }
.tl-body p { margin: 0 0 6px; overflow-wrap: anywhere; }
.tl-extra { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.doc-badge { color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.tl-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tl-photos img { width: 92px; height: 70px; object-fit: cover; border-radius: 10px; }
.tl-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tl-actions form { margin: 0; }
.timeline.compact .tl-item { padding-bottom: 14px; }

/* ---------- Anunciar / editar ---------- */
.new-grid { display: grid; gap: 18px; }
.new-grid > * { min-width: 0; }
.new-grid textarea { max-width: 100%; }
@media (min-width: 980px) { .new-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } .new-grid .sticky-actions { grid-column: span 2; } }
.new-grid .panel { margin: 0; }
.span-all { grid-column: 1 / -1; }
.tips { margin-top: 14px; }
.tips summary { cursor: pointer; font-weight: 700; color: var(--primary); display: flex; gap: 6px; align-items: center; }
.tips-list { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: .92rem; }
.dropzone { position: relative; display: block; border: 2px dashed var(--line-strong); border-radius: 20px; background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--primary); background: var(--primary-soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dz-inner { display: grid; justify-items: center; gap: 4px; padding: 36px 16px; text-align: center; pointer-events: none; }
.dz-inner .ic-lg { color: var(--primary); }
.dropzone.compact .dz-inner { padding: 18px 12px; grid-auto-flow: column; justify-content: center; align-items: center; gap: 8px; }
.photo-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 12px; }
.photo-previews:empty { display: none; }
.photo-previews figure { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.photo-previews img { width: 100%; height: 100%; object-fit: cover; }
.photo-previews figure:first-child::after { content: "Capa"; position: absolute; left: 6px; top: 6px; padding: 2px 9px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: .68rem; font-weight: 800; }
.photo-tips { margin: 12px 0 0; padding-left: 18px; }
.sticky-actions { position: sticky; bottom: 0; z-index: 20; display: grid; gap: 8px; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); }
.upload-progress { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.upload-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--gold)); transition: width .2s; }
.assistant-box { background: linear-gradient(135deg, var(--gold-soft), color-mix(in srgb, var(--gold-soft) 40%, var(--surface))); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; }
.assistant-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.assistant-head > div { display: grid; }
.assistant-head > .ic { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--graphite-deep); color: var(--gold); }
.assistant-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: .94rem; }
.assistant-box li { display: flex; gap: 8px; align-items: flex-start; }
.assistant-box li .ic { margin-top: 3px; color: #9c7a2e; }
.edit-tabs { position: sticky; top: var(--header-h); z-index: 15; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; margin-bottom: 16px; background: var(--bg); scrollbar-width: none; }
.edit-tabs a { flex: none; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--heading); font-weight: 700; font-size: .88rem; }
.edit-tabs a:hover { border-color: var(--gold); text-decoration: none; }
.edit-form .panel h2.h3:not(:first-child) { margin-top: 24px; }
.photo-manage { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.pm-item { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--surface-2); border: 2px solid transparent; display: block; }
.pm-item.is-cover { border-color: var(--gold); }
.pm-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pm-cover { position: absolute; left: 8px; top: 8px; background: var(--gold); color: var(--gold-ink); }
.pm-item figcaption { display: flex; justify-content: center; gap: 4px; padding: 6px; }
.pm-item form { margin: 0; }
.quick-add { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 18px; }
.qa-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--heading); font-weight: 600; font-size: .85rem; }
.qa-chip .ic { color: var(--primary); }
.qa-chip:hover { border-color: var(--gold); text-decoration: none; }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 25%, var(--line)); }
.action-bar { position: sticky; bottom: 0; z-index: 30; margin-top: 10px; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0, 0, 0, .07); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
.action-bar-inner { display: flex; gap: 10px; justify-content: flex-end; align-items: center; }
.action-bar-inner .btn { flex: 1; }
@media (min-width: 640px) { .action-bar-inner .btn { flex: none; } .action-bar-inner > span { margin-right: auto; } }
.cat-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 8px; }
.cat-opt input { position: absolute; opacity: 0; }
.cat-opt span { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 700; font-size: .88rem; cursor: pointer; height: 100%; color: var(--heading); }
.cat-opt span .ic { color: var(--primary); }
.cat-opt input:checked + span { border-color: var(--graphite-deep); background: var(--graphite-deep); color: #fff; }
.cat-opt input:checked + span .ic { color: var(--gold); }
.cat-opt input:focus-visible + span { outline: 3px solid var(--accent); }
.file-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.file-list a { font-weight: 700; overflow-wrap: anywhere; }
.file-list .icon-btn { margin-left: auto; }

/* Modelos de anúncio */
.tpl-panel { margin: 0; }
.tpl-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; }
.tpl-card { flex: 0 0 78%; scroll-snap-align: start; display: grid; gap: 7px; align-content: start; padding: 18px; border-radius: 20px; border: 1.5px solid var(--line); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.tpl-card:hover { border-color: var(--gold-line); box-shadow: var(--shadow); }
.tpl-card strong { font-family: var(--font-display); font-size: 1.02rem; color: var(--heading); }
.tpl-card.is-on { border-color: var(--primary); box-shadow: var(--ring); }
.tpl-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }
.tpl-card:first-child .tpl-ic { background: var(--gold-soft); color: #9c7a2e; }
.tpl-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
@media (min-width: 640px) { .tpl-card { flex-basis: 44%; } }
@media (min-width: 980px) { .tpl-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; } }
.tpl-status { background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: 12px; padding: 9px 13px; margin: 0 0 10px; font-weight: 600; color: #5a4a22; }
.tpl-row { grid-template-columns: 56px 1fr; }
.tpl-row.is-off { opacity: .6; }
@media (min-width: 900px) { .tpl-row { grid-template-columns: 56px 1fr auto; } }

/* ---------- Listas (meus anúncios, admin) ---------- */
.my-list { display: grid; gap: 12px; }
.my-item { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); transition: border-color .15s; }
.my-item:hover { border-color: var(--gold-line); }
.my-thumb { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.my-thumb img { width: 100%; height: 100%; object-fit: cover; }
.my-thumb .no-photo .ic { width: 28px; height: 28px; }
.my-info h3 { margin: 6px 0 2px; }
.my-info h3 small { color: var(--muted); font-weight: 600; font-family: var(--font); }
.my-info p { margin: 0; }
.my-actions { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.my-actions form { margin: 0; }
@media (min-width: 900px) { .my-item { grid-template-columns: 136px 1fr auto; } .my-actions { grid-column: auto; justify-content: flex-end; max-width: 440px; } }

/* ---------- Login / cadastro ---------- */
.auth-wrap { padding: 36px var(--gutter) 56px; display: grid; place-items: center; }
.auth-card { position: relative; width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 30px; box-shadow: var(--shadow-lg); overflow: hidden; }
.auth-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent), var(--gold)); }
.auth-card.wide { max-width: 700px; }
.auth-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.auth-option { display: grid; gap: 2px; padding: 16px; border-radius: 18px; background: var(--surface-2); color: var(--heading); font-size: .86rem; border: 1px solid transparent; }
.auth-option .ic-lg { color: var(--primary); margin-bottom: 6px; }
.auth-option span { color: var(--muted); }
.auth-option:hover { text-decoration: none; border-color: var(--gold); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--surface-2); border-radius: 999px; margin-bottom: 22px; }
.tabs a { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 11px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: .92rem; }
.tabs a.is-active { background: var(--surface); color: var(--heading); box-shadow: var(--shadow); }
.tabs a:hover { text-decoration: none; }

/* ---------- Tabelas / admin ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--surface-2); font-weight: 800; }
.table tbody tr:hover td { background: color-mix(in srgb, var(--surface-2) 55%, var(--surface)); }
.table tr:last-child td { border-bottom: 0; }
.table form { margin: 0; }
.thumb-cell img { width: 76px; height: 57px; object-fit: cover; border-radius: 10px; }
.admin-nav { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 22px; padding-bottom: 4px; }
.admin-nav a { flex: none; padding: 10px 17px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--heading); font-weight: 700; font-size: .9rem; }
.admin-nav a:hover { border-color: var(--gold); text-decoration: none; }
.admin-nav a.is-active { background: var(--graphite-deep); border-color: var(--graphite-deep); color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 22px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1180px) { .stats { grid-template-columns: repeat(7, 1fr); } }
.stat { display: grid; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow-sm); }
.stat strong { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--heading); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .84rem; font-weight: 600; }
.stat.accent { background: linear-gradient(135deg, var(--graphite-deep), var(--primary-deep)); border-color: transparent; }
.stat.accent strong { color: var(--gold); }
.stat.accent span { color: var(--hero-muted); }
.stat:hover { text-decoration: none; border-color: var(--gold-line); }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar select, .toolbar input { width: auto; flex: 1 1 200px; }
.admin-review { display: grid; gap: 22px; }
@media (min-width: 980px) { .admin-review { grid-template-columns: 1fr 350px; align-items: start; } }
.admin-hist { display: grid; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .admin-hist { grid-template-columns: 1fr auto; align-items: start; } }
.inline-form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0; }
.inline-form select, .inline-form input { width: auto; min-height: 40px; padding: 7px 12px; }
.inline-form select { padding-right: 36px; }
.wrap-form input[name=admin_notes] { flex: 1 1 220px; }
.offers { display: grid; gap: 14px; }
.offer-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.offer-head h3 { margin: 0 0 4px; }
.offer-values { text-align: right; display: grid; }
.offer-values strong { font-family: var(--font-display); font-size: 1.45rem; color: var(--heading); }
.offer blockquote { margin: 12px 0; padding: 12px 16px; border-left: 4px solid var(--gold); background: var(--surface-2); border-radius: 0 14px 14px 0; }
.offer-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.counter { display: flex; gap: 6px; flex: 1 1 260px; }
.counter input { min-height: 38px; }
.parties { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 760px) { .parties { grid-template-columns: 1fr 1fr; } }
.parties > div { background: var(--surface-2); padding: 12px 14px; border-radius: 14px; }
.grid-2 { display: grid; gap: 18px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.module-list { padding-left: 18px; display: grid; gap: 6px; }
.checks { list-style: none; padding: 0; display: grid; gap: 6px; }
.checks .ok { color: var(--ok); } .checks .fail { color: var(--danger); }
.theme-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.theme-card { position: relative; display: grid; gap: 8px; padding: 12px; border-radius: 16px; border: 2px solid var(--line); cursor: pointer; font-weight: 700; font-size: .85rem; }
.theme-card:has(input:checked) { border-color: var(--primary); box-shadow: var(--ring); }
.theme-card input { position: absolute; opacity: 0; }
.theme-card .swatch { width: 100%; height: 46px; border-radius: 12px; }
.logo-preview { max-height: 80px; background: var(--surface-2); padding: 10px; border-radius: 12px; }

/* Amostras dos temas */
.swatch { display: inline-block; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0; }
.swatch-premium { background: conic-gradient(#1b4fd1 0 25%, #f26a1b 0 50%, #333333 0 75%, #c8a24d 0); }
.swatch-azul-verde { background: linear-gradient(135deg, #1d4ed8 50%, #34d399 50%); }
.swatch-azul-laranja { background: linear-gradient(135deg, #1e40af 50%, #f97316 50%); }
.swatch-preto-dourado { background: linear-gradient(135deg, #0a0b0f 34%, #3b82f6 34% 66%, #d4a537 66%); }
.swatch-grafite-limao { background: linear-gradient(135deg, #24282f 34%, #3b82f6 34% 66%, #c5f135 66%); }
.swatch-grafite-laranja { background: linear-gradient(135deg, #25292f 34%, #f97316 34% 66%, #22d3ee 66%); }
.swatch.is-active { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; margin-top: 48px; background: var(--graphite-deep); color: #c6cad1; padding: 44px 0 22px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--accent), var(--primary)); }
.site-footer a { color: #e9ecf1; }
.site-footer .muted { color: #9aa1ab; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: inline-block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.footer-brand span { color: var(--accent); }
.footer-grid nav { display: grid; gap: 10px; align-content: start; }
.footer-grid nav a { font-weight: 600; }
.footer-title { font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 6px; }
.appearance-title { font-weight: 800; display: flex; gap: 6px; align-items: center; margin-bottom: 12px; color: #fff; }
.theme-swatches { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.site-footer .swatch { border-color: #3a3e45; }
.font-pick { display: grid; gap: 6px; font-size: .74rem; font-weight: 800; color: #9aa1ab; max-width: 260px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .07em; }
.site-footer select { background-color: #2a2d32; border-color: #3a3e45; color: #fff; }
.site-footer .linklike { color: var(--gold); }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid #33373d; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }

/* ---------- Páginas de texto / erro / instalação ---------- */
.prose-page h2 { margin-top: 1.6em; }
.prose-page li { margin-bottom: .4em; }
.lead { font-size: 1.12rem; color: var(--muted); }
.error-page { padding: 72px var(--gutter); text-align: center; }
.error-code { font-family: var(--font-display); font-size: 5.5rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; line-height: 1; }
.actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.plain-main { padding: 36px var(--gutter); }
.plain-brand { margin-bottom: 18px; }
.plain-brand strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--heading); }
.plain-brand strong span { color: var(--accent); }
.plain-brand small { display: block; font-size: .66rem; letter-spacing: .24em; color: var(--gold); font-weight: 800; margin-top: 4px; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 11, 13, .94); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close { position: fixed; top: 16px; right: 16px; z-index: 2; }

/* ---------- Histórico de óleo (módulo oilhistory) ---------- */
.oil-ui .oil-vehicle { display: grid; grid-template-columns: 1fr; overflow: hidden; border: 1px solid var(--line); background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); margin: 0 0 22px; }
@media (min-width: 760px) { .oil-ui .oil-vehicle { grid-template-columns: 220px minmax(0, 1fr) auto; } }
.oil-vehicle .oil-photo { position: relative; min-height: 160px; background: linear-gradient(135deg, var(--graphite-deep), var(--primary-deep)); display: grid; place-items: center; color: var(--gold); }
.oil-vehicle .oil-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oil-vehicle .oil-photo .ic { width: 56px; height: 56px; stroke-width: 1.3; }
.oil-vehicle .oil-info { padding: 20px 24px; align-self: center; }
.oil-vehicle .oil-info h2 { margin: 6px 0 4px; font-size: 1.35rem; }
.oil-vehicle .odo { padding: 18px 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (min-width: 760px) { .oil-vehicle .odo { border-top: 0; border-left: 1px solid var(--line); flex-direction: column; align-items: flex-start; justify-content: center; min-width: 200px; } }
.odo small { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.odo strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--heading); letter-spacing: -.02em; }
.odo .edit { border: 0; background: none; color: var(--accent); padding: 4px 0; font: inherit; font-size: .86rem; font-weight: 800; cursor: pointer; }
.oil-ui .stat-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .oil-ui .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.oil-ui .stat { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 140px; }
.oil-ui .stat.dark { background: linear-gradient(135deg, var(--graphite-deep), var(--primary-deep)); border-color: transparent; color: #fff; }
.oil-ui .stat .name { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.oil-ui .stat.dark .name { color: var(--gold); }
.oil-ui .stat .figure { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--heading); margin-top: 10px; letter-spacing: -.02em; }
.oil-ui .stat.dark .figure { color: #fff; }
.oil-ui .stat .sub { color: var(--muted); font-size: .84rem; }
.oil-ui .stat.dark .sub { color: var(--hero-muted); }
.oil-ui .stat .glyph { position: absolute; right: 16px; top: 16px; }
.oil-ui .alert { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--gold-line); background: var(--gold-soft); border-radius: 16px; padding: 15px 18px; margin-top: 14px; }
.oil-ui .alert.ok { border-color: color-mix(in srgb, var(--ok) 30%, transparent); background: color-mix(in srgb, var(--ok) 8%, var(--surface)); }
.oil-ui .alert.danger { border-color: color-mix(in srgb, var(--danger) 30%, transparent); background: color-mix(in srgb, var(--danger) 7%, var(--surface)); }
.oil-ui .alert-icon { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 900; background: var(--surface); color: #9c7a2e; }
.oil-ui .alert.ok .alert-icon { color: var(--ok); }
.oil-ui .alert.danger .alert-icon { color: var(--danger); }
.oil-ui .alert strong { display: block; color: var(--heading); margin-bottom: 2px; }
.oil-ui .alert p { margin: 0; font-size: .9rem; }
.oil-ui .filterbar { display: flex; gap: 6px; }
.oil-ui .filter-btn { background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .84rem; font-weight: 700; color: var(--heading); cursor: pointer; }
.oil-ui .filter-btn.active { background: var(--graphite-deep); color: #fff; border-color: var(--graphite-deep); }
.oil-ui .oil-timeline { position: relative; padding-left: 26px; margin-top: 16px; }
.oil-ui .oil-timeline::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--gold-line), var(--line)); }
.oil-ui .event { position: relative; margin-bottom: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.oil-ui .event::before { content: ""; position: absolute; left: -24px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--gold-line); }
.oil-ui .event-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.oil-ui .event-date { color: var(--gold); text-transform: uppercase; font-weight: 800; font-size: .72rem; letter-spacing: .12em; }
.oil-ui .event h3 { margin: 4px 0; font-size: 1.05rem; }
.oil-ui .event-meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 10px 0; color: var(--muted); font-size: .85rem; font-weight: 600; }
.oil-ui .event-meta span { display: inline-flex; align-items: center; gap: 5px; }
.oil-ui .event .desc { color: var(--muted); font-size: .9rem; margin: 8px 0; }
.oil-ui .chips { margin-top: 10px; }
.oil-ui .chip { background: var(--surface-2); border: 1px solid var(--line); color: var(--heading); border-radius: 8px; padding: 5px 9px; font-size: .76rem; font-weight: 700; }
.oil-ui .evidence { font-size: .82rem; color: var(--ok); margin-top: 10px; display: flex; align-items: center; gap: 6px; }
.oil-ui .event-actions { display: flex; gap: 6px; }
.oil-ui .event-actions .icon-btn { width: 36px; height: 36px; border-radius: 10px; }
.oil-ui dialog { border: 0; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 0; width: min(760px, calc(100vw - 24px)); max-height: min(92vh, 980px); color: var(--text); background: var(--surface); }
.oil-ui dialog::backdrop { background: rgba(15, 16, 18, .6); backdrop-filter: blur(4px); }
.oil-ui .dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 22px 26px 16px; border-bottom: 1px solid var(--line); }
.oil-ui .dialog-head small { font-size: .7rem; letter-spacing: .16em; font-weight: 800; color: var(--gold); text-transform: uppercase; }
.oil-ui .dialog-head h2 { margin: 4px 0 0; }
.oil-ui .form-body { padding: 18px 26px; max-height: 64vh; overflow-y: auto; }
.oil-ui .form-body .field label { font-size: .74rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.oil-ui .field.wide { grid-column: 1 / -1; }
.oil-ui .form-group-title { grid-column: 1 / -1; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--line); padding: 10px 0 8px; }
.oil-ui .helper { font-size: .8rem; color: var(--muted); }
.oil-ui .checkgrid { display: flex; gap: 8px; flex-wrap: wrap; }
.oil-ui .checkgrid .check { align-items: center; border: 1.5px solid var(--line); background: var(--surface-2); padding: 8px 12px; border-radius: 12px; font-size: .88rem; }
.oil-ui .dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 26px 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.oil-ui .dialog-footer .actions { display: flex; gap: 8px; margin-left: auto; }
.oil-ui .error { font-size: .88rem; color: var(--danger); min-height: 18px; font-weight: 600; }
.oil-ui .toast { position: fixed; right: 18px; bottom: 18px; background: var(--graphite-deep); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 70; max-width: 380px; font-weight: 700; display: none; border-left: 4px solid var(--gold); }
.oil-ui .toast.show { display: block; }
.oil-ui .oil-foot { font-size: .82rem; color: var(--muted); margin-top: 24px; }

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

/* =========================================================
   Capa, faixas e banners (módulo sitebuilder)
   ========================================================= */
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); border-color: var(--gold); }

/* Camada de mídia e escurecimento (capa, faixas, fullbanner) */
.hero-media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-media picture, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media[data-parallax] img, .hero-media[data-parallax] picture { inset: -12% 0; height: 124%; will-change: transform; }
.hero-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(14, 16, 20, calc(var(--hero-shade, .55) + .15)) 0%, rgba(14, 16, 20, var(--hero-shade, .55)) 45%, rgba(11, 42, 91, calc(var(--hero-shade, .55) * .6)) 100%); }
.hero > .wrap, .page-band > .wrap, .sb-faixa > .wrap, .sb-full > .wrap, .cta-band > :not(.hero-media):not(.hero-shade) { position: relative; z-index: 1; }

/* Capa: modos e alturas */
.hero--imagem, .hero--parallax, .hero--video, .hero--slider { background: var(--hero); }
.hero--imagem::before, .hero--parallax::before, .hero--video::before, .hero--slider::before { display: none; }
.hero-inner { align-content: center; }
.hero-h-compacta { min-height: 420px; }
.hero-h-media { min-height: 540px; }
.hero-h-alta { min-height: 680px; }
.hero-h-tela { min-height: calc(100svh - var(--header-h)); }
.hero[class*="hero-h-"] { display: grid; align-items: center; }
@media (max-width: 719px) { .hero-h-compacta { min-height: 380px; } .hero-h-media { min-height: 480px; } .hero-h-alta { min-height: 600px; } }
.hero-center .hero-copy { text-align: center; margin-inline: auto; }
.hero-center .hero-copy .eyebrow { justify-content: center; }
.hero-center .hero-copy h1, .hero-center .hero-copy .hero-title, .hero-center .hero-sub { margin-inline: auto; }
.hero-center .hero-badges, .hero-center .sb-actions, .hero-center .quick-chips { justify-content: center; }
.hero-title { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 6.2vw, 3.5rem); line-height: 1.08; letter-spacing: -.035em; max-width: 17ch; margin: 0 0 14px; }
.hero .hero-copy { text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.sb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Slider */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide-media { opacity: 0; transition: opacity .9s ease, transform 7s ease; transform: scale(1.06); }
.hero-slide-media.is-active { opacity: 1; transform: scale(1); }
.hero-copy-stack { display: grid; }
.hero-slide-copy { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease, visibility 0s .6s; }
.hero-slide-copy.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease .15s, transform .6s ease .15s; }
.hero-slider-ui { display: flex; align-items: center; gap: 10px; }
.hero-center .hero-slider-ui { justify-content: center; }
.hero-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.hero-arrow:hover { border-color: var(--gold); background: rgba(255, 255, 255, .2); }
.hero-arrow.is-paused { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.hero-dots { display: flex; gap: 6px; }
.hero-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .3s, background .3s; }
.hero-dot.is-active { width: 30px; background: var(--gold); }

/* Faixa do topo das páginas */
.page-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--graphite-deep), var(--primary-deep)); display: grid; align-items: center; }
.page-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--accent), var(--primary)); z-index: 1; }
.band-h-fina { min-height: 90px; } .band-h-baixa { min-height: 170px; } .band-h-media { min-height: 260px; } .band-h-alta { min-height: 380px; }
.page-band-inner { padding-top: 26px; padding-bottom: 26px; }
.page-band-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.3rem); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 8px; color: #fff; }
.page-band-sub { margin: 0; color: var(--hero-muted); max-width: 64ch; }
.tone-azul:not(.has-media) { background: linear-gradient(135deg, var(--primary-deep), var(--primary)); }
.tone-laranja:not(.has-media) { background: linear-gradient(135deg, #c94b0b, var(--accent)); }
.tone-dourado:not(.has-media) { background: linear-gradient(135deg, #a8842f, #d9b765); color: var(--gold-ink); }
.tone-claro:not(.has-media) { background: var(--surface); color: var(--heading); border-bottom: 1px solid var(--line); }
.tone-dourado:not(.has-media) .page-band-title, .tone-dourado:not(.has-media) .sb-title, .tone-claro:not(.has-media) .page-band-title, .tone-claro:not(.has-media) .sb-title { color: var(--heading); }
.tone-dourado:not(.has-media) .page-band-sub, .tone-dourado:not(.has-media) .sb-body { color: #4a3a10; }
.tone-claro:not(.has-media) .page-band-sub, .tone-claro:not(.has-media) .sb-body { color: var(--muted); }
.tone-dourado:not(.has-media) .eyebrow, .tone-laranja:not(.has-media) .eyebrow { color: #fff; }
.tone-dourado:not(.has-media) .eyebrow::before, .tone-laranja:not(.has-media) .eyebrow::before { background: #fff; }
.tone-claro .btn-glass, .tone-dourado .btn-glass { color: var(--heading); border-color: rgba(0, 0, 0, .2); background: rgba(255, 255, 255, .5); }
.tone-laranja .btn-accent { background: var(--graphite-deep); color: #fff; }

/* Blocos: posição */
.site-slot { display: grid; gap: 0; }
.site-slot > .wrap { padding-top: 14px; padding-bottom: 14px; }
.slot-all_top > :first-child, .slot-home_after_hero > :first-child { margin-top: 0; }

/* Faixa */
.sb-faixa { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--graphite-deep), var(--primary-deep)); margin: 18px 0; }
.sb-faixa-inner { display: grid; gap: 16px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
@media (min-width: 900px) { .sb-faixa-inner { grid-template-columns: 1fr auto; padding-top: 38px; padding-bottom: 38px; } .sb-faixa .sb-actions { margin-top: 0; } }
.sb-centro .sb-faixa-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sb-centro .eyebrow { justify-content: center; }
.sb-title { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: clamp(1.3rem, 3.2vw, 1.9rem); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 6px; }
.sb-body { margin: 0; color: var(--hero-muted); max-width: 70ch; }
.sb-ad { display: inline-block; font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--graphite); margin-bottom: 10px; }

/* Container (imagem + texto) */
.sb-container-wrap { padding-top: 18px; padding-bottom: 18px; }
.sb-container { display: grid; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.sb-container.tone-escuro { background: linear-gradient(135deg, var(--graphite-deep), var(--primary-deep)); border-color: transparent; color: #fff; }
.sb-container.tone-azul { background: linear-gradient(135deg, var(--primary-deep), var(--primary)); border-color: transparent; color: #fff; }
.sb-container.tone-laranja { background: linear-gradient(135deg, #c94b0b, var(--accent)); border-color: transparent; color: #fff; }
.sb-container.tone-dourado { background: linear-gradient(135deg, var(--gold-soft), #fff); border-color: var(--gold-line); }
.sb-container.tone-claro .sb-title, .sb-container.tone-dourado .sb-title { color: var(--heading); }
.sb-container.tone-claro .sb-body, .sb-container.tone-dourado .sb-body { color: var(--muted); }
.sb-container.tone-claro .btn-glass, .sb-container.tone-dourado .btn-glass { color: var(--heading); border-color: var(--line-strong); background: var(--surface); }
.sb-container-media { margin: 0; position: relative; min-height: 220px; background: var(--surface-2); }
.sb-container-media picture, .sb-container-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-container-body { padding: 28px; align-self: center; }
.sb-container .sb-ad { background: var(--gold-soft); color: #8a6a1f; }
@media (min-width: 860px) {
  .sb-container { grid-template-columns: 1fr 1fr; min-height: 340px; }
  .sb-container.img-direita .sb-container-media { order: 2; }
  .sb-container.no-img { grid-template-columns: 1fr; min-height: 0; }
  .sb-container-body { padding: 44px; }
}

/* Fullbanner */
.sb-full { position: relative; overflow: hidden; display: grid; align-items: center; background: var(--graphite-deep); margin: 18px 0; }
.full-h-baixa { min-height: 220px; } .full-h-media { min-height: 360px; } .full-h-alta { min-height: 520px; }
@media (max-width: 719px) { .full-h-baixa { min-height: 180px; } .full-h-media { min-height: 300px; } .full-h-alta { min-height: 440px; } }
.sb-full-link { position: absolute; inset: 0; z-index: 2; }
.sb-full-inner { padding-top: 36px; padding-bottom: 36px; }
.sb-full .sb-text { max-width: 620px; color: #fff; }
.sb-full.sb-centro .sb-text { margin-inline: auto; text-align: center; }
.sb-full.sb-centro .sb-actions, .sb-full.sb-centro .eyebrow { justify-content: center; }
.sb-full-ad { position: absolute; right: 14px; top: 14px; z-index: 3; }

/* Banners de anúncio */
.sb-banners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.sb-banner { position: relative; display: block; grid-column: span 6; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.sb-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; }
.sb-banner img { width: 100%; height: auto; display: block; }
.sb-banner .sb-ad { position: absolute; left: 12px; top: 12px; margin: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.sb-banner-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); color: #fff; font-weight: 700; font-size: .92rem; }
@media (min-width: 720px) { .sb-banner.w-metade { grid-column: span 3; } .sb-banner.w-terco { grid-column: span 2; } }

/* Cartão compacto (lateral da página do carro) */
.slot-vehicle_sidebar { gap: 14px; margin-top: 16px; }
.sb-card { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.sb-card.tone-escuro, .sb-card.tone-azul, .sb-card.tone-laranja { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--graphite-deep), var(--primary-deep)); }
.sb-card.tone-laranja { background: linear-gradient(135deg, #c94b0b, var(--accent)); }
.sb-card-img img { width: 100%; height: auto; display: block; }
.sb-card-body { padding: 18px; }
.sb-card .sb-title { font-size: 1.1rem; }
.sb-card.tone-claro .sb-title, .sb-card.tone-dourado .sb-title { color: var(--heading); }
.sb-card.tone-claro .sb-body, .sb-card.tone-dourado .sb-body { color: var(--muted); }
.sb-card .sb-actions { margin-top: 12px; }
.sb-card .btn-lg { min-height: 44px; font-size: .9rem; padding: 0 16px; }
.sb-card > .sb-ad { position: absolute; left: 10px; top: 10px; z-index: 1; }

/* Chamada final com imagem */
.cta-band.has-media { background: var(--graphite-deep); }
.cta-band .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Painel: Capa e banners ---------- */
.sb-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px; margin: -6px 0 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; scrollbar-width: none; }
.sb-tabs a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; border-radius: 13px; color: var(--heading); font-weight: 700; font-size: .9rem; }
.sb-tabs a:hover { background: var(--surface-2); text-decoration: none; }
.sb-tabs a.is-active { background: var(--primary-soft); color: var(--primary); }
.sb-tabs .sb-tab-view { margin-left: auto; color: var(--accent); }
.mode-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.mode-cards.compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.mode-card input { position: absolute; opacity: 0; }
.mode-card-in { display: grid; gap: 6px; height: 100%; padding: 16px; border-radius: 18px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.mode-card-in strong { font-family: var(--font-display); color: var(--heading); }
.mode-card:hover .mode-card-in { border-color: var(--gold-line); }
.mode-card input:checked + .mode-card-in { border-color: var(--primary); box-shadow: var(--ring); }
.mode-card input:focus-visible + .mode-card-in { outline: 3px solid var(--accent); }
.type-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 22px; }
.type-card { display: grid; gap: 6px; padding: 18px; border-radius: 20px; border: 1.5px dashed var(--line-strong); background: var(--surface); color: var(--text); transition: border-color .15s; }
.type-card strong { font-family: var(--font-display); color: var(--heading); display: inline-flex; gap: 6px; align-items: center; }
.type-card:hover { border-color: var(--accent); border-style: solid; text-decoration: none; }
.sb-list { display: grid; gap: 10px; }
.sb-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.sb-item.is-off { opacity: .62; }
.sb-thumb { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--surface-2); color: var(--muted); }
.sb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sb-info { display: grid; gap: 3px; min-width: 0; }
.sb-info strong { color: var(--heading); }
.sb-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.sb-tools { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.sb-tools form { margin: 0; }
@media (min-width: 900px) { .sb-item { grid-template-columns: 128px 1fr auto; } .sb-tools { grid-column: auto; justify-content: flex-end; } }
.mp { display: grid; gap: 10px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface-2); min-width: 0; }
.mp-head { display: grid; gap: 2px; }
.mp-label { font-size: .74rem; font-weight: 800; color: var(--heading); text-transform: uppercase; letter-spacing: .07em; }
.mp-row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center; }
.mp-current { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: .8rem; text-align: center; }
.mp-current img, .mp-current video { width: 100%; height: 100%; object-fit: cover; }
.mp-current.is-empty { border-style: dashed; }
.mp-actions { display: grid; gap: 6px; min-width: 0; }
.mp-actions .dropzone { background: var(--surface); }
.mp-filename { overflow-wrap: anywhere; color: var(--primary); font-weight: 700; }
.mp-lib summary { cursor: pointer; font-weight: 700; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; font-size: .9rem; }
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; max-height: 260px; overflow-y: auto; padding: 2px; }
.mp-opt { position: relative; cursor: pointer; }
.mp-opt input { position: absolute; opacity: 0; }
.mp-opt img, .mp-opt .mp-video, .mp-opt .mp-keep { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 2.5px solid transparent; background: var(--surface); font-size: .74rem; font-weight: 700; color: var(--muted); text-align: center; padding: 0; }
.mp-opt .mp-video { gap: 2px; align-content: center; }
.mp-opt .mp-video small { font-size: .62rem; padding: 0 4px; }
.mp-opt input:checked + * { border-color: var(--primary); box-shadow: var(--ring); }
.mp-opt input:focus-visible + * { outline: 3px solid var(--accent); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.media-item { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.media-item img, .media-item video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: #111; }
.media-item figcaption { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 12px; align-items: center; }
.media-item figcaption form { grid-row: 1 / 3; grid-column: 2; margin: 0; }
.media-name { font-weight: 700; font-size: .86rem; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.section-order { display: grid; gap: 8px; margin-top: 10px; }
.so-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.so-item.fixed { justify-content: space-between; font-weight: 700; color: var(--heading); background: var(--surface-2); }
.so-item span { display: inline-flex; align-items: center; gap: 8px; }
.so-slot { font-size: .76rem; font-weight: 700; color: #8a6a1f; padding: 6px 14px; border: 1.5px dashed var(--gold-line); border-radius: 12px; background: var(--gold-soft); }
input[type=range] { width: 100%; min-height: 0; padding: 0; border: 0; accent-color: var(--accent); background: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .hero-slide-media, .hero-slide-copy { transition: none !important; transform: none !important; } }
.hero-center .hero-shade, .sb-full.sb-centro .hero-shade { background: radial-gradient(ellipse at center, rgba(14, 16, 20, calc(var(--hero-shade, .55) + .2)) 0%, rgba(14, 16, 20, var(--hero-shade, .55)) 70%); }
.sb-full .sb-text, .page-band.has-media .page-band-inner, .sb-faixa.has-media .sb-text { text-shadow: 0 2px 16px rgba(0, 0, 0, .45); }
.sb-full .sb-body { color: rgba(255, 255, 255, .9); }
.results .site-slot .wrap, .results .sb-banners, .vehicle-side .wrap { padding-inline: 0; width: 100%; max-width: none; }
.results .sb-faixa, .results .sb-full { border-radius: 22px; }

/* ---------- Marca: tamanho personalizável (Admin → Aparência) ---------- */
:root { --brand-h: 44px; --brand-h-m: 40px; }
.brand { --bh: var(--brand-h-m); padding-block: 8px; }
@media (min-width: 720px) { .brand { --bh: var(--brand-h); } }
.brand-logo { height: var(--bh); max-height: none; width: auto; max-width: min(100%, 72vw); object-fit: contain; display: block; }
.brand-mark, .brand-icon { width: var(--bh); height: var(--bh); flex: none; }
.brand-mark { border-radius: calc(var(--bh) * .32); }
.brand-mark svg { width: 64%; height: 64%; }
.brand-mark::after { inset: auto 18% 13%; height: max(2px, calc(var(--bh) * .045)); }
.brand-icon { object-fit: contain; border-radius: calc(var(--bh) * .22); }
.brand--icone_texto { gap: calc(var(--bh) * .27); }
.wordmark { font-size: clamp(.95rem, calc(var(--bh) * .4), 6rem); }
.brand-text small { font-size: clamp(.56rem, calc(var(--bh) * .14), 2rem); }
.brand--texto .wordmark { font-size: clamp(1rem, calc(var(--bh) * .55), 7rem); }
@media (max-width: 380px) { .wordmark { font-size: clamp(.9rem, calc(var(--bh) * .36), 6rem); } .brand-mark { width: var(--bh); height: var(--bh); } }
.site-header.is-tall { position: relative; }
.footer-logo { display: block; max-height: 64px; max-width: 260px; width: auto; margin-bottom: 12px; padding: 8px 12px; border-radius: 14px; background: #fff; }

/* Painel: prévia da marca */
.brand-preview { display: grid; gap: 10px; padding: 16px; border-radius: 18px; border: 1px dashed var(--line-strong); background: var(--surface); overflow: hidden; }
.brand-preview .brand { margin: 0; pointer-events: none; max-width: 100%; overflow: hidden; }
.brand-preview .brand { --bh: var(--pv-h, var(--brand-h)); }
.brand-preview [data-preview-mode] { display: none; }
.brand-preview[data-mode="imagem"] [data-preview-mode="imagem"], .brand-preview[data-mode="icone_texto"] [data-preview-mode="icone_texto"], .brand-preview[data-mode="texto"] [data-preview-mode="texto"] { display: flex; }
.brand-files { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.brand-file { display: grid; gap: 8px; align-content: start; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); }
.brand-file .bf-thumb { height: 84px; display: grid; place-items: center; border-radius: 12px; background: repeating-conic-gradient(#eef0f3 0% 25%, #fff 0% 50%) 50% / 16px 16px; border: 1px solid var(--line); overflow: hidden; color: var(--muted); font-size: .8rem; }
.brand-file .bf-thumb img { max-height: 72px; max-width: 90%; object-fit: contain; }
.brand-file input[type=file] { font-size: .85rem; max-width: 100%; }
.site-nav a { white-space: nowrap; }

/* =========================================================
   Detalhes para reparo (caixa vermelha)
   ========================================================= */
:root { --red: #d92d20; --red-deep: #9f1c12; --red-soft: #fef1f0; --red-line: #f6c4be; }
.pill-red { background: var(--red); color: #fff; border: 1px solid var(--red); text-decoration: none !important; }
.pill-red:hover { background: var(--red-deep); }
.ic-tile.red { background: var(--red-soft); color: var(--red); }
.btn-danger { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 8px 18px -10px var(--red); }
.btn-danger:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }

.repair-box { position: relative; margin: 22px 0; border: 2px solid var(--red); border-radius: 24px; background: linear-gradient(180deg, var(--red-soft), var(--surface) 140px); box-shadow: 0 18px 40px -24px rgba(217, 45, 32, .55); overflow: hidden; }
.repair-box::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: repeating-linear-gradient(135deg, var(--red) 0 14px, var(--red-deep) 14px 28px); }
.repair-box-head { display: flex; gap: 14px; align-items: center; padding: 24px 22px 6px; }
.repair-box-ic { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 10px 20px -10px var(--red); }
.repair-box-ic .ic { width: 28px; height: 28px; }
.repair-box h2 { margin: 0; font-size: clamp(1.2rem, 3vw, 1.5rem); color: var(--red-deep); letter-spacing: -.02em; }
.repair-box-head p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.repair-stats { list-style: none; margin: 12px 22px 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.repair-stats li { display: flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--red-line); }
.repair-stats strong { font-family: var(--font-display); color: var(--red); font-size: 1.15rem; }
.repair-stats span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.repair-list { display: grid; gap: 10px; padding: 14px 22px 4px; }
.repair-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--red); }
.repair-row.st-atencao { border-left-color: #e8a317; }
.repair-row-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); }
.repair-row.st-atencao .repair-row-ic { background: #fff6e0; color: #b7791f; }
.repair-row-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.repair-row h3 { margin: 0 4px 0 0; font-size: 1rem; color: var(--heading); }
.repair-row p { margin: 6px 0 0; color: var(--text); overflow-wrap: anywhere; }
.rstate { font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--red); color: #fff; }
.rstate-atencao { background: #f5b82e; color: #3d2a00; }
.rchip { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--heading); }
.rchip .ic { width: 14px; height: 14px; }
.repair-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.repair-photos a { display: block; width: 92px; height: 70px; border-radius: 10px; overflow: hidden; border: 2px solid var(--red-line); }
.repair-photos img { width: 100%; height: 100%; object-fit: cover; }
.repair-photos a:hover { border-color: var(--red); }
.repair-note { margin: 8px 22px 20px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
@media (max-width: 540px) { .repair-box-head, .repair-list { padding-left: 14px; padding-right: 14px; } .repair-stats, .repair-note { margin-left: 14px; margin-right: 14px; } .repair-row { grid-template-columns: 1fr; } .repair-row-ic { width: 38px; height: 38px; } }

/* Card da vitrine */
.car-repair { display: flex; align-items: center; gap: 6px; margin: 2px 0 10px; padding: 7px 10px; border-radius: 10px; background: var(--red-soft); border: 1px solid var(--red-line); color: var(--red-deep); font-size: .8rem; font-weight: 800; text-decoration: none !important; }
.car-repair .ic { width: 16px; height: 16px; color: var(--red); flex: none; }
.car-repair:hover { background: var(--red); color: #fff; }
.car-repair:hover .ic { color: #fff; }

/* Painel do vendedor */
.edit-tabs .tab-red { color: var(--red) !important; }
.repair-panel { border: 2px solid var(--red-line); background: linear-gradient(180deg, var(--red-soft), var(--surface) 120px); }
.repair-panel .panel-head h2 { color: var(--red-deep); }
.repair-panel .panel-head h2 .ic { color: var(--red); }
.repair-count { font-weight: 800; color: #fff; background: var(--red); padding: 5px 12px; border-radius: 999px; font-size: .82rem; }
.repair-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); align-items: start; }
.repair-item { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.repair-item.st-reparo { border-color: var(--red-line); border-left: 5px solid var(--red); }
.repair-item.st-atencao { border-left: 5px solid #f5b82e; }
.repair-item summary { display: flex; align-items: center; gap: 10px; padding: 12px; cursor: pointer; list-style: none; }
.repair-item summary::-webkit-details-marker { display: none; }
.repair-item summary .ic-tile { width: 40px; height: 40px; flex: none; }
.ri-title { display: grid; flex: 1; min-width: 0; }
.ri-title strong { color: var(--heading); }
.ri-body { display: grid; gap: 10px; padding: 0 12px 14px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.seg-opt input { position: absolute; opacity: 0; }
.seg-opt span { display: block; text-align: center; padding: 8px 4px; border-radius: 9px; font-size: .8rem; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--accent); }
.seg-ok input:checked + span { background: #e7f6ec; color: #1f7a3d; }
.seg-warn input:checked + span { background: #fff1cc; color: #8a5a00; }
.seg-bad input:checked + span { background: var(--red); color: #fff; }
.ri-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.ri-photos figure { position: relative; margin: 0; width: 84px; height: 64px; }
.ri-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.ri-photos .icon-btn { position: absolute; right: -6px; top: -6px; background: var(--surface); }
.repair-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 14px; }

/* Anunciar: caixa vermelha de ajuda */
.repair-hint { display: grid; gap: 10px; padding: 16px 18px; border-radius: 18px; border: 2px solid var(--red-line); border-left: 6px solid var(--red); background: var(--red-soft); }
.repair-hint h3 { margin: 0; color: var(--red-deep); font-size: 1rem; display: flex; gap: 8px; align-items: center; }
.repair-hint h3 .ic { color: var(--red); }
.repair-hint p { margin: 0; font-size: .9rem; }
.repair-hint .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.repair-hint .chips span { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--red-line); color: var(--red-deep); }

/* =========================================================
   Selos Impecável (azul) e Filé (amarelo-ouro) · etiqueta de desconto laranja
   ========================================================= */
:root { --seal-blue: #1554d6; --seal-blue-deep: #0b2f86; --seal-gold: #f2b705; --seal-gold-deep: #b8860b; --seal-gold-ink: #3a2a00; --discount: #f26a1b; --discount-deep: #d4520a; }
.seal { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; line-height: 1.2; }
.seal .ic { width: 14px; height: 14px; stroke-width: 3; }
.seal-impecavel { background: linear-gradient(135deg, #2f6bff, var(--seal-blue) 55%, var(--seal-blue-deep)); color: #fff; box-shadow: 0 6px 16px -6px rgba(21, 84, 214, .7), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.seal-file { background: linear-gradient(135deg, #ffd84d, var(--seal-gold) 50%, var(--seal-gold-deep)); color: var(--seal-gold-ink); box-shadow: 0 6px 16px -6px rgba(184, 134, 11, .75), inset 0 0 0 1px rgba(255, 255, 255, .35); }
.seal-file .ic { fill: currentColor; }
.seal-lg { font-size: .82rem; padding: 7px 14px; }
.seal-lg .ic { width: 16px; height: 16px; }
.car-seal { position: absolute; left: 14px; bottom: 14px; z-index: 1; }
.car-repair.is-small { background: #fff8e1; border-color: #f3d58a; color: #7a5600; }
.car-repair.is-small .ic { color: var(--seal-gold-deep); }
.car-repair.is-small:hover { background: var(--seal-gold); color: var(--seal-gold-ink); }
.repair-box h2 .seal { vertical-align: middle; margin-left: 6px; font-size: .68rem; }
.seal-box { display: flex; gap: 14px; align-items: center; margin: 22px 0; padding: 20px 22px; border-radius: 24px; border: 2px solid var(--seal-blue); background: linear-gradient(180deg, #eaf1ff, var(--surface)); box-shadow: 0 18px 40px -26px rgba(21, 84, 214, .6); }
.seal-box-ic { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--seal-blue); color: #fff; }
.seal-box-ic .ic { width: 28px; height: 28px; stroke-width: 3; }
.seal-box h2 { margin: 0; color: var(--seal-blue-deep); font-size: 1.3rem; }
.seal-box p { margin: 2px 0 0; color: var(--muted); }
.seal-legend { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; margin: 12px 0; }
.seal-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.seal-opt input { position: absolute; opacity: 0; }
.seal-opt > span { cursor: pointer; opacity: .55; transition: opacity .15s, transform .15s; }
.seal-opt > span:not(.seal) { display: inline-flex; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .78rem; font-weight: 700; }
.seal-opt input:checked + span { opacity: 1; transform: scale(1.04); outline: 2px solid var(--heading); outline-offset: 2px; }
.seal-opt input:focus-visible + span { outline: 3px solid var(--accent); }

/* Desconto em laranja */
.car-flag { background: linear-gradient(135deg, #ff8a3d, var(--discount) 60%, var(--discount-deep)); color: #fff; }
.pill-orange { background: var(--discount); color: #fff; border: 1px solid var(--discount); }

/* Painel: editor de cores */
.theme-card .swatch { flex: none; }
.palette-pane { display: grid; gap: 14px; margin-top: 12px; }
.palette-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.color-field { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.color-field input[type=color] { flex: none; width: 52px; height: 52px; padding: 0; border: 2px solid var(--line-strong); border-radius: 14px; background: none; cursor: pointer; min-height: 0; }
.color-field input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.color-field input[type=color]::-webkit-color-swatch { border: 0; border-radius: 11px; }
.color-field span { display: grid; gap: 1px; min-width: 0; }
.color-field small { font-size: .74rem; line-height: 1.3; }
.color-field code { font-size: .74rem; color: var(--heading); }
.palette-preview { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--pv-bg, var(--bg)); }
.pp-hero { display: grid; gap: 6px; padding: 18px; background: linear-gradient(135deg, var(--pv-hero, var(--hero)), color-mix(in srgb, var(--pv-hero, var(--hero)), var(--pv-primary, var(--primary)) 45%)); color: #fff; }
.pp-eyebrow { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--pv-gold, var(--gold)); font-weight: 800; }
.pp-hero strong { font-family: var(--font-display); font-size: 1.3rem; }
.pp-btns { display: flex; gap: 8px; }
.pp-btn { padding: 7px 14px; border-radius: 999px; font-weight: 800; font-size: .8rem; }
.pp-accent { background: var(--pv-accent, var(--accent)); color: var(--pv-accent-ink, #fff); }
.pp-primary { background: var(--pv-primary, var(--primary)); color: var(--pv-primary-ink, #fff); }
.pp-body { padding: 16px; }
.pp-card { position: relative; display: grid; gap: 4px; max-width: 280px; padding: 40px 14px 14px; border-radius: 14px; background: var(--pv-surface, var(--surface)); color: var(--pv-text, var(--text)); box-shadow: var(--shadow); }
.pp-card b { color: var(--pv-text, var(--text)); }
.pp-card a { color: var(--pv-primary, var(--primary)); font-weight: 700; font-size: .85rem; }
.pp-flag { position: absolute; left: 12px; top: 10px; font-size: .68rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--discount); color: #fff; }
.pp-seal { justify-self: start; font-size: .68rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--pv-gold, var(--gold)); color: var(--pv-gold-ink, #3a2a00); text-transform: uppercase; }
.palette-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.color-field > input[type=color] { width: 52px !important; max-width: 52px; flex: 0 0 52px; }
.color-field > span { flex: 1 1 auto; }
.color-field > input[type=color] { height: 52px; padding: 3px !important; }
.color-field > input[type=color]::-moz-color-swatch { border: 0; border-radius: 10px; }
.pp-seal { background: linear-gradient(135deg, #ffd84d, var(--seal-gold) 50%, var(--seal-gold-deep)); color: var(--seal-gold-ink); }

/* =========================================================
   Deu negócio
   ========================================================= */
:root { --deal: #12a150; --deal-deep: #0b7a3b; --deal-soft: #e7f8ee; }
.btn-deal { background: linear-gradient(135deg, #1fc266, var(--deal) 55%, var(--deal-deep)); color: #fff; border-color: var(--deal-deep); box-shadow: 0 8px 18px -10px var(--deal); font-weight: 800; }
.btn-deal:hover { filter: brightness(1.06); color: #fff; }
.status-sold { background: var(--deal-soft); color: var(--deal-deep); }
.deal-pop { position: relative; display: inline-block; }
.deal-pop > summary { list-style: none; cursor: pointer; }
.deal-pop > summary::-webkit-details-marker { display: none; }
.deal-form { position: absolute; z-index: 30; right: 0; top: calc(100% + 8px); width: min(340px, 86vw); padding: 16px; border-radius: 18px; background: var(--surface); border: 2px solid var(--deal); box-shadow: var(--shadow-lg); text-align: left; }
@media (max-width: 719px) { .deal-pop { position: static; } .deal-form { left: 12px; right: 12px; width: auto; } .my-item { position: relative; } }
.deal-title { color: var(--deal-deep); font-family: var(--font-display); }
.deal-offers { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.deal-stamp-sm { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; background: var(--deal); color: #fff; font-size: .8rem; font-weight: 800; }
.deal-stamp-sm .ic { width: 15px; height: 15px; stroke-width: 3; }
.my-item.is-sold .my-thumb img { filter: grayscale(.5); }
.adm-actions { display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: middle; }
.actions-cell { white-space: nowrap; }
.check-col { width: 34px; text-align: center; }
.check-col input { width: 18px; height: 18px; min-height: 0; }
.bulk-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 10px 14px; margin-bottom: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.bulk-bar select { width: auto; min-width: 220px; }
.bulk-bar.has-selection { border-color: var(--primary); box-shadow: var(--ring); }
.stat-deal strong { color: var(--deal); }
.deal-panel { border: 2px solid color-mix(in srgb, var(--deal) 35%, var(--line)); }
.deal-panel h2 .ic { color: var(--deal); }
.deal-done { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--deal-soft); color: var(--deal-deep); }

/* Vitrine e anúncio */
.car-card.is-sold .car-photo img { filter: grayscale(.35) brightness(.92); }
.deal-ribbon { position: absolute; z-index: 2; top: 22px; right: -46px; width: 190px; padding: 7px 0; transform: rotate(35deg); text-align: center; background: linear-gradient(135deg, #1fc266, var(--deal-deep)); color: #fff; font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.car-photo { overflow: hidden; }
.gallery.is-sold { position: relative; }
.deal-stamp { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; }
.deal-stamp span { padding: 12px 30px; border: 6px solid #fff; border-radius: 18px; background: rgba(18, 161, 80, .9); color: #fff; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem, 6vw, 3.2rem); letter-spacing: .04em; text-transform: uppercase; transform: rotate(-10deg); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.deal-box { display: flex; gap: 12px; align-items: center; padding: 14px; margin-bottom: 12px; border-radius: 16px; background: var(--deal-soft); border: 2px solid var(--deal); color: var(--deal-deep); }
.deal-box p { margin: 2px 0 0; color: var(--text); }
.deal-box-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--deal); color: #fff; }
.deal-box-ic .ic { stroke-width: 3; }

/* Página do carro: ícones centralizados nos boxes */
.spec { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 16px 10px; }
.spec > div { width: 100%; }
.spec .ic-tile { margin: 0 auto; }
@media (max-width: 639px) { .spec { align-items: center; padding: 12px 8px; } }
.info-table th .ic { vertical-align: -3px; }

/* Estado e conservação */
.cond-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cond-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 14px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.cond-tile .ic-tile { width: 42px; height: 42px; margin: 0 auto; }
.cond-tile-label { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cond-tile strong { font-family: var(--font-display); color: var(--heading); font-size: .98rem; }
.cond-tile.tone-good .ic-tile { background: #e7f6ec; color: #1f7a3d; }
.cond-tile.tone-warn { border-color: #f3d58a; background: #fffaf0; }
.cond-tile.tone-warn .ic-tile { background: #fff1cc; color: #8a5a00; }
.cond-tile.tone-bad { border-color: var(--red-line); background: var(--red-soft); }
.cond-tile.tone-bad .ic-tile { background: var(--red); color: #fff; }
.cond-tile.tone-bad strong { color: var(--red-deep); }
.cond-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 22px 0; }
.cond-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; background: var(--surface); border: 1px solid var(--red-line); color: var(--red-deep); }
.cond-chip .ic { width: 15px; height: 15px; }
.cond-chip.tone-warn { border-color: #f3d58a; color: #7a5600; background: #fffaf0; }
@media (max-width: 540px) { .cond-chips { padding-left: 14px; padding-right: 14px; } }
/* Edição: opções do carro */
.cond-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.cond-item { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); min-width: 0; }
.cond-item legend { display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; font-weight: 800; color: var(--heading); font-size: .9rem; }
.cond-item legend .ic { width: 18px; height: 18px; color: var(--primary); }
.cond-item.is-suggested { border-color: var(--gold-line); background: var(--gold-soft); }
.cond-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.cond-opt input { position: absolute; opacity: 0; }
.cond-opt span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .82rem; font-weight: 700; color: var(--muted); cursor: pointer; background: var(--surface); }
.cond-opt input:focus-visible + span { outline: 3px solid var(--accent); }
.cond-opt input:checked + span { background: var(--surface-3); color: var(--heading); border-color: var(--heading); }
.cond-opt.tone-good input:checked + span { background: #e7f6ec; color: #1f7a3d; border-color: #1f7a3d; }
.cond-opt.tone-warn input:checked + span { background: #fff1cc; color: #8a5a00; border-color: #c48a00; }
.cond-opt.tone-bad input:checked + span { background: var(--red); color: #fff; border-color: var(--red); }
.cond-extra { margin-top: 10px; }

/* Catirei (joinha) */
.catirei-form { margin: 0; display: inline-flex; }
.catirei-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 2px solid var(--accent); background: var(--surface); color: var(--accent); font-weight: 900; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; text-decoration: none !important; line-height: 1; transition: transform .15s, background .15s, color .15s; }
.catirei-btn:hover { background: var(--accent-soft); }
.catirei-btn:active { transform: scale(.95); }
.catirei-ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; }
.catirei-ic .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.catirei-count { min-width: 18px; padding: 2px 6px; border-radius: 999px; background: var(--accent-soft); text-align: center; font-size: .72rem; }
.catirei-btn.is-on { background: var(--accent); color: #fff; }
.catirei-btn.is-on .catirei-ic { background: #fff; color: var(--accent); }
.catirei-btn.is-on .catirei-ic .ic { fill: currentColor; }
.catirei-btn.is-on .catirei-count { background: rgba(255, 255, 255, .25); }
.catirei-btn.is-static { cursor: default; }
.catirei-btn.is-big { padding: 10px 18px 10px 10px; font-size: .95rem; gap: 10px; }
.catirei-btn.is-big .catirei-ic { width: 32px; height: 32px; }
.catirei-btn.is-big .catirei-ic .ic { width: 18px; height: 18px; }
.catirei-btn.pop .catirei-ic { animation: catira-pop .45s ease; }
@keyframes catira-pop { 0% { transform: scale(1); } 40% { transform: scale(1.45) rotate(-12deg); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .catirei-btn.pop .catirei-ic { animation: none; } }
.catirei-row { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; }
.car-foot { align-items: flex-end; }
.car-foot-side { display: grid; justify-items: end; gap: 8px; margin-left: auto; min-width: 0; }
.catira-mini { display: inline-flex; align-items: center; gap: 3px; color: var(--accent); font-weight: 800; }
.catira-mini .ic { width: 14px; height: 14px; }
/* botões dentro do card ficam acima do link que cobre o card inteiro */
.car-foot-side .catirei-form, .car-foot-side a.catirei-btn, .car-foot-side .catirei-btn.is-static, .car-repair { position: relative; z-index: 2; }
.car-catirei { display: flex; margin: 0 0 10px; position: relative; z-index: 2; }
.catirei-row { flex-wrap: wrap; }
.catirei-row .catirei-btn { flex: none; }
.catirei-row > span { flex: 1 1 140px; }

/* VOU NESSE (interesse de compra) */
.vou-form { margin: 0; display: inline-flex; flex-direction: column; gap: 6px; }
.vou-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 2px solid var(--primary); background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 80%, #fff), var(--primary) 55%, var(--primary-deep)); color: #fff; font-weight: 900; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; text-decoration: none !important; line-height: 1; box-shadow: 0 8px 18px -10px var(--primary); transition: transform .15s, filter .15s; }
.vou-btn:hover { filter: brightness(1.08); color: #fff; }
.vou-btn:active { transform: scale(.96); }
.vou-ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.vou-ic .ic { width: 15px; height: 15px; }
.vou-btn.is-on { background: var(--deal-soft, #e7f8ee); color: var(--deal-deep, #0b7a3b); border-color: var(--deal, #12a150); box-shadow: none; cursor: default; }
.vou-btn.is-on .vou-ic { background: var(--deal, #12a150); color: #fff; }
.vou-btn.is-big { width: 100%; padding: 14px 18px; font-size: 1.05rem; gap: 10px; border-radius: 16px; }
.vou-btn.is-big .vou-ic { width: 32px; height: 32px; }
.vou-btn.is-big .vou-ic .ic { width: 19px; height: 19px; }
.vou-row { display: grid; gap: 8px; margin: 6px 0 14px; }
.vou-row .vou-form { display: grid; }
.vou-more summary { cursor: pointer; color: var(--primary); font-weight: 700; }
.vou-more .field { margin-top: 8px; }
.vou-done { margin: 0; display: flex; gap: 6px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--deal-soft, #e7f8ee); color: var(--deal-deep, #0b7a3b); }
.vou-done .ic { flex: none; margin-top: 2px; }
.vou-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.vou-badge .ic { width: 14px; height: 14px; }
.offer.is-vou { border: 2px solid var(--primary); box-shadow: var(--ring); }
.stat-vou strong { color: var(--primary); }
.car-catirei { gap: 8px; flex-wrap: wrap; align-items: center; }
.car-catirei .vou-form { position: relative; z-index: 2; }
.car-catirei .vou-btn { position: relative; z-index: 2; }
.offer-title { margin: 6px 0 0; }

/* =========================================================
   VOU NESSE: conversa com a assistente
   ========================================================= */
.vou-btn.is-started { box-shadow: 0 0 0 3px var(--primary-soft); }
.vou-sub { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .02em; text-transform: none; opacity: .85; }
.vou-btn.is-big { flex-wrap: wrap; }
.chat-layout { display: grid; gap: 18px; align-items: start; }
@media (min-width: 960px) { .chat-layout { grid-template-columns: 340px minmax(0, 1fr); } .chat-car { position: sticky; top: calc(var(--header-h) + 16px); } }
.chat-car { display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 14px; box-shadow: var(--shadow); }
.chat-car-photo { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.chat-car-photo img { width: 100%; height: 100%; object-fit: cover; }
.chat-car-body { display: grid; gap: 4px; justify-items: start; }
.chat-car-body h1 { margin: 4px 0 0; }
.chat-car-price { margin: 4px 0 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--heading); }
.chat-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.chat-steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.chat-steps li .ic { width: 16px; height: 16px; }
.chat-steps li.is-done { color: var(--deal-deep, #0b7a3b); font-weight: 700; }
.chat-car .privacy-note { margin: 0; display: flex; gap: 8px; }
.chat-box { display: flex; flex-direction: column; min-height: min(78vh, 760px); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, var(--primary-deep), var(--primary)); color: #fff; }
.chat-head strong { display: block; color: #fff; }
.chat-head .muted { color: rgba(255, 255, 255, .8) !important; }
.chat-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.chat-msgs { list-style: none; margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; overflow-y: auto; max-height: 62vh; background: var(--bg); }
.chat-msgs.admin { max-height: 70vh; border-radius: 16px; margin-bottom: 14px; }
.msg { max-width: 82%; display: grid; gap: 2px; }
.msg-who { font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.msg-body { padding: 10px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--text); overflow-wrap: anywhere; line-height: 1.45; }
.msg time { font-size: .66rem; color: var(--muted); }
.msg-agente .msg-body { border-top-left-radius: 4px; }
.msg-equipe .msg-body { border-top-left-radius: 4px; background: var(--deal-soft, #e7f8ee); border-color: color-mix(in srgb, var(--deal, #12a150) 35%, var(--line)); }
.msg-cliente { align-self: flex-end; justify-items: end; }
.msg-cliente .msg-body { background: var(--primary); color: #fff; border-color: var(--primary); border-top-right-radius: 4px; }
.msg-sistema { align-self: center; max-width: 100%; justify-items: center; }
.msg-sistema .msg-body { background: none; border: 0; padding: 2px 8px; font-size: .78rem; color: var(--muted); font-style: italic; }
.chat-typing { display: flex; gap: 4px; padding: 0 22px 10px; background: var(--bg); }
.chat-typing[hidden] { display: none; }
.chat-typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; } .chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 0; border-top: 1px solid var(--line); background: var(--surface); }
.chat-chips:empty { display: none; }
.chip-btn { border: 1.5px solid var(--primary); background: var(--primary-soft); color: var(--primary); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .85rem; cursor: pointer; }
.chip-btn:hover { background: var(--primary); color: #fff; }
.chat-form { display: flex; gap: 8px; padding: 12px 14px; background: var(--surface); align-items: flex-end; }
.chat-form textarea { flex: 1; min-height: 46px; max-height: 140px; resize: none; border-radius: 14px; }
.chat-form .btn { min-height: 46px; padding: 0 16px; }
.chat-closed { margin: 0; padding: 16px; text-align: center; font-weight: 700; color: var(--heading); background: var(--surface-2); }

/* CRM (equipe) */
.nav-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 900; }
.crm-top { display: grid; gap: 12px; margin-bottom: 10px; }
.crm-funnel { display: flex; flex-wrap: wrap; gap: 8px; }
.fun-step { display: grid; padding: 8px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: .76rem; font-weight: 700; color: var(--muted); min-width: 92px; }
.fun-step strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--heading); }
.fun-step.conv { background: var(--deal-soft, #e7f8ee); border-color: var(--deal, #12a150); }
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; }
.kan-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px; border-radius: 18px; background: var(--surface-2); border-top: 4px solid var(--line-strong); scroll-snap-align: start; }
.kan-col header { display: grid; grid-template-columns: 1fr auto; gap: 0 6px; }
.kan-col header small { grid-column: 1 / -1; color: var(--muted); font-size: .72rem; }
.kan-n { min-width: 26px; text-align: center; padding: 2px 8px; border-radius: 999px; background: var(--surface); font-weight: 800; font-size: .8rem; }
.kan-col.tone-blue { border-top-color: var(--primary); } .kan-col.tone-orange { border-top-color: var(--accent); } .kan-col.tone-purple { border-top-color: #7c3aed; }
.kan-col.tone-gold { border-top-color: var(--gold); } .kan-col.tone-green { border-top-color: var(--deal, #12a150); } .kan-col.tone-red { border-top-color: var(--red, #d92d20); }
.kan-list { display: grid; gap: 8px; align-content: start; }
.kan-empty { text-align: center; margin: 6px 0; }
.lead-card { display: grid; gap: 8px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lead-link { display: grid; gap: 5px; color: var(--text); text-decoration: none !important; }
.lead-top { display: flex; align-items: center; gap: 6px; }
.lead-top strong { flex: 1; min-width: 0; color: var(--heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-score { padding: 2px 8px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 900; font-size: .72rem; }
.lead-unread { padding: 2px 7px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 900; font-size: .7rem; }
.lead-car { display: flex; align-items: center; gap: 5px; color: var(--muted); }
.lead-car .ic { width: 14px; height: 14px; flex: none; }
.lead-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ltag { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); font-size: .7rem; font-weight: 700; color: var(--heading); }
.ltag .ic { width: 12px; height: 12px; }
.ltag.gold { background: var(--gold-soft); color: #7a5a14; }
.lead-last { font-style: italic; overflow-wrap: anywhere; }
.lead-move { display: flex; gap: 6px; margin: 0; }
.lead-move select { min-height: 34px; padding: 4px 8px; font-size: .8rem; flex: 1; }
.icon-btn.wa { color: #fff; background: #1fa855; border-color: #1fa855; }
.lead-layout { display: grid; gap: 18px; align-items: start; }
@media (min-width: 1000px) { .lead-layout { grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); } }
.status.stage-novo { background: var(--surface-3); color: var(--muted); }
.status.stage-atendimento { background: var(--primary-soft); color: var(--primary); }
.status.stage-qualificado { background: var(--accent-soft); color: var(--accent); }
.status.stage-negociacao { background: #efe7ff; color: #6d28d9; }
.status.stage-proposta { background: var(--gold-soft); color: #7a5a14; }
.status.stage-ganho { background: var(--deal-soft, #e7f8ee); color: var(--deal-deep, #0b7a3b); }
.status.stage-perdido { background: var(--red-soft, #fef1f0); color: var(--red, #d92d20); }
.plain-list { margin: 0; padding-left: 18px; }

/* Dashboard e listas: ações sempre lado a lado */
.my-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
.my-actions > .adm-actions { display: contents; }
.adm-actions { display: inline-flex; flex-wrap: nowrap; gap: 6px; align-items: center; }
.actions-cell { white-space: nowrap; }
.actions-cell > * { vertical-align: middle; }

/* Detalhes para reparo: caixas selecionáveis */
.chk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 8px; }
.chk-box { position: relative; display: flex; align-items: center; gap: 8px; padding: 10px 34px 10px 10px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; min-height: 50px; }
.chk-box input { position: absolute; opacity: 0; pointer-events: none; }
.chk-ic { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.chk-ic .ic { width: 17px; height: 17px; }
.chk-label { font-weight: 700; font-size: .86rem; color: var(--heading); line-height: 1.2; }
.chk-tick { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line-strong); display: grid; place-items: center; color: transparent; background: var(--surface); }
.chk-tick .ic { width: 13px; height: 13px; stroke-width: 3.2; }
.chk-box:hover { border-color: var(--red-line, #f6c4be); }
.chk-box input:focus-visible ~ .chk-tick { outline: 3px solid var(--accent); outline-offset: 2px; }
.chk-box.is-on, .chk-box:has(input:checked) { border-color: var(--red, #d92d20); background: var(--red-soft, #fef1f0); box-shadow: 0 6px 16px -12px var(--red, #d92d20); }
.chk-box.is-on .chk-ic, .chk-box:has(input:checked) .chk-ic { background: var(--red, #d92d20); color: #fff; }
.chk-box.is-on .chk-tick, .chk-box:has(input:checked) .chk-tick { background: var(--red, #d92d20); border-color: var(--red, #d92d20); color: #fff; }
.chk-extra { display: grid; gap: 10px; margin-top: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .chk-extra { grid-template-columns: 2fr 1fr 1fr; align-items: end; } }
.chk-extra textarea { min-height: 46px; }
.repair-sub { margin: 18px 0 10px; display: flex; gap: 6px; align-items: center; color: var(--red-deep, #9f1c12); }
.seg.seg-2 { grid-template-columns: repeat(2, 1fr); }
.repair-hint .chk-grid { margin-top: 2px; }
.ltag.hot { background: var(--accent); color: #fff; }

/* ================= v9 ================= */
/* Capa: faixa de 800 px e busca compacta (largura e transparência no Admin → Capa) */
.hero-h-800 { min-height: min(800px, calc(100svh - var(--header-h))); }
@media (min-width: 720px) { .hero-h-800 { min-height: 800px; } }
.hero-h-tela { min-height: min(800px, calc(100svh - var(--header-h))); }
.hero-search-wrap { width: 100%; display: grid; gap: 14px; }
.hero-search-wrap .hero-search {
  background: rgba(255, 255, 255, var(--search-a, .2)); color: #fff; border: 1px solid rgba(255, 255, 255, .32);
  -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55);
}
.hero-search-wrap .hero-search .field > span { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.hero-search-wrap .hero-search select, .hero-search-wrap .hero-search input { background-color: rgba(255, 255, 255, .94); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-thumb { position: relative; }
.sb-vid { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; background: rgba(0, 0, 0, .65); color: #fff; font-style: normal; font-size: .7rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.sb-vid .ic { width: 12px; height: 12px; }

/* Valor FIPE pela placa */
.fipe-box { border: 1px solid var(--gold-line); background: linear-gradient(180deg, var(--gold-soft), var(--surface) 70%); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; margin-top: 14px; }
.fipe-head { display: flex; gap: 12px; align-items: flex-start; }
.fipe-head > div { display: grid; gap: 2px; }
.fipe-head .ic-tile { background: var(--graphite-deep); color: var(--gold); }
.fipe-row { display: flex; gap: 10px; flex-wrap: wrap; }
.fipe-box .plate-input { flex: 1 1 200px; max-width: 260px; min-height: 56px; font: 800 1.35rem/1 var(--font-display); letter-spacing: .18em; text-transform: uppercase; text-align: center; padding: 20px 14px 8px; border-radius: 12px;
  border: 2px solid #1d3f8f; background: linear-gradient(180deg, #1d3f8f 0 12px, #fff 12px); color: #111; }
.fipe-box .plate-input::placeholder { color: #b8bec9; letter-spacing: .18em; }
.fipe-box .plate-input:focus { outline: none; box-shadow: var(--ring); }
.fipe-msg { margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); }
.fipe-msg.is-ok { background: #e7f6ee; color: #11603d; }
.fipe-msg.is-warn { background: #fff4e0; color: #8a5300; }
.fipe-result { display: grid; gap: 10px; }
.fipe-car { display: grid; gap: 2px; }
.fipe-opts { display: grid; gap: 8px; }
.fipe-opt { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-align: left; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; color: var(--text); font: inherit; }
.fipe-opt .fo-code { grid-column: 1; }
.fipe-opt .fo-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--font-display); font-size: 1.15rem; color: var(--primary); }
.fipe-opt:hover { border-color: var(--primary); }
.fipe-opt.is-on { border-color: var(--ok); box-shadow: 0 0 0 3px rgba(31, 138, 91, .14); }
.fipe-opt.is-on .fo-price::before { content: "✓ "; color: var(--ok); }
.fipe-fill { justify-self: start; }
.fipe-alt summary { cursor: pointer; font-weight: 600; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; color: var(--primary); }
.fipe-selects { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 720px) { .fipe-selects { grid-template-columns: 1fr 1.6fr 1fr; } }
.fipe-last { margin: 0; display: inline-flex; gap: 6px; align-items: center; }
.field.is-filled input, .field.is-filled select { border-color: var(--ok); box-shadow: 0 0 0 3px rgba(31, 138, 91, .14); }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* Modelo de posições das fotos */
.photo-guide { margin: 12px 0 16px; }
.pg-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.pg-head > div { display: grid; gap: 3px; }
.pg-head strong { display: inline-flex; gap: 6px; align-items: center; }
.pg-count { flex: none; font-family: var(--font-display); font-weight: 800; background: var(--graphite-deep); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: .9rem; }
.pg-count b { color: var(--gold); }
.pg-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .pg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pg-slot { position: relative; }
.pg-pick { position: relative; display: grid; gap: 6px; height: 100%; padding: 8px 8px 10px; border: 1.5px dashed var(--line-strong); border-radius: 16px; background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pg-pick:hover, .pg-pick:focus-within { border-color: var(--primary); box-shadow: var(--ring); }
.pg-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; z-index: 2; }
.pg-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 11px; background: var(--surface-2); overflow: hidden; display: grid; place-items: center; }
.pg-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pos-art { width: 82%; height: auto; color: var(--primary-deep); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.pos-art.flip { transform: scaleX(-1); }
symbol[id^="pos-"] .w { fill: rgba(27, 79, 209, .14); }
symbol[id^="pos-"] .t { fill: #2b2f36; stroke: #2b2f36; }
symbol[id^="pos-"] .l { fill: #f6d27a; }
symbol[id^="pos-"] .r { fill: #e2463a; stroke: #b3261e; }
symbol[id^="pos-"] .g { stroke-dasharray: 3 4; opacity: .5; }
.pg-num { position: absolute; left: 7px; top: 7px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); color: var(--heading); font-weight: 800; font-size: .8rem; display: grid; place-items: center; box-shadow: var(--shadow-sm); z-index: 1; }
.pg-ok { position: absolute; right: 7px; top: 7px; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: #fff; display: none; place-items: center; z-index: 1; }
.pg-ok .ic { width: 15px; height: 15px; }
.pg-slot.has-photo .pg-ok { display: grid; }
.pg-slot.has-photo .pg-pick { border-style: solid; border-color: rgba(31, 138, 91, .45); }
.pg-slot:first-child .pg-pick { border-color: var(--gold); }
.pg-label { display: grid; gap: 1px; line-height: 1.25; }
.pg-label strong { font-size: .9rem; }
.pg-label .small { font-size: .74rem; }
.pg-act { display: inline-flex; gap: 5px; align-items: center; color: var(--primary); font-weight: 700; }
.pg-act .ic { width: 15px; height: 15px; }
.pg-more { margin: 18px 0 8px; display: flex; gap: 6px; align-items: center; }

/* Simulador de financiamento */
.fin-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--primary); margin: 2px 0 10px; }
.fin-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .fin-grid { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.fin-inputs { display: grid; gap: 14px; }
.fin-price { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; background: var(--surface-2); border-radius: 14px; }
.fin-price strong { font-family: var(--font-display); font-size: 1.2rem; }
.fin-pct { float: right; font-weight: 800; color: var(--primary); }
.fin-inputs input[type=range] { width: 100%; accent-color: var(--accent); margin-top: 8px; }
.fin-terms { border: 0; padding: 0; margin: 0; }
.fin-terms legend { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.fin-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fin-chip input { position: absolute; opacity: 0; pointer-events: none; }
.fin-chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; cursor: pointer; background: var(--surface); }
.fin-chip input:checked + span { background: var(--graphite-deep); color: #fff; border-color: var(--graphite-deep); }
.fin-chip input:focus-visible + span { box-shadow: var(--ring); }
.fin-rate { max-width: 220px; }
.fin-result { background: linear-gradient(160deg, var(--hero), var(--hero-2)); color: #fff; border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; }
.fin-result > span.small { color: var(--hero-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .72rem; }
.fin-pmt { margin: 0; font-size: 1.05rem; color: #e7eaf0; }
.fin-pmt strong { display: block; font-family: var(--font-display); font-size: 2.1rem; color: #fff; letter-spacing: -.02em; }
.fin-list { margin: 0; display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .14); }
.fin-list div { display: flex; justify-content: space-between; gap: 10px; }
.fin-list dt { color: var(--hero-muted); font-size: .88rem; }
.fin-list dd { margin: 0; font-weight: 700; }
.fin-note { margin: 0; color: var(--hero-muted); font-size: .74rem; }
.fin-cta { margin: 4px 0 0; }

/* Como funciona com mídia */
.how-intro { max-width: 760px; margin-bottom: 26px; }
.how-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.how-jump a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: .9rem; }
.how-block { margin-bottom: 34px; }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.how-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: grid; align-content: start; }
.how-card-body { position: relative; padding: 22px; }
.how-card-body .ic-tile { margin-bottom: 12px; }
.how-card-body h3 { margin: 0 0 6px; padding-right: 54px; }
.how-card-body p { margin: 0; }
.how-card .how-num { top: 14px; }
.step-media { background: #0f1115; aspect-ratio: 16 / 10; overflow: hidden; }
.step-media img, .step-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.how-step.has-media { padding: 0 0 22px; }
.how-step.has-media > :not(.step-media):not(.how-num) { margin-inline: 22px; }
.how-step.has-media .step-media { margin-bottom: 16px; }
.how-step.has-media .how-num { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
@media (min-width: 1000px) { .how-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.how-more { margin: 14px 0 0; }
.how-more a { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--primary); }

/* Chat: nova conversa */
.chat-head { position: relative; }
.chat-reset { margin-left: auto; }
.chat-reset-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 7px 12px; font: 700 .8rem/1 var(--font-body, inherit); cursor: pointer; }
.chat-reset-btn:hover { background: rgba(255, 255, 255, .24); }
.chat-reset-btn .ic { width: 15px; height: 15px; }

/* ================= v9.1 — home ================= */
/* Faixa com altura em px (Admin → Capa), textos à esquerda/centro/direita e topo/meio/base */
.hero-h-px { min-height: var(--hero-h, 600px); padding: 32px 0; }
@media (min-width: 720px) { .hero-h-px { height: var(--hero-h, 600px); padding: 28px 0; } }
.hero-h-px .hero-inner { height: 100%; }
.hero-y-topo .hero-inner { align-content: start; align-items: start; }
.hero-y-meio .hero-inner { align-content: center; align-items: center; }
.hero-y-base .hero-inner { align-content: end; align-items: end; }
.hero-main { display: grid; gap: 14px; min-width: 0; }
.hero-main .hero-title { margin-bottom: 8px; }
.hero-main .hero-sub { margin: 0; max-width: 52ch; }
/* botões em duas linhas */
.hero .sb-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; max-width: 460px; }
.hero .sb-actions .btn { justify-content: center; width: 100%; }
.hero-center .sb-actions { margin-inline: auto; }
@media (min-width: 960px) {
  .hero.has-search .hero-inner { grid-template-columns: minmax(0, 1fr) var(--search-w, 50%); gap: 40px; }
  .hero.has-search.hero-x-direita .hero-main { order: 2; }
  .hero.has-search.hero-x-centro .hero-inner { grid-template-columns: 1fr; justify-items: center; }
  .hero.has-search.hero-x-centro .hero-search-wrap { width: var(--search-w, 50%); }
  .hero-x-direita .hero-copy, .hero-x-direita .hero-slider-ui { justify-self: end; text-align: right; }
  .hero-x-direita .hero-copy .hero-title, .hero-x-direita .hero-sub { margin-left: auto; }
  .hero-x-direita .sb-actions { margin-left: auto; }
  .hero-x-direita .hero-slider-ui { justify-content: flex-end; }
  .hero-x-direita .eyebrow { justify-content: flex-end; }
}
.hero-x-centro .hero-main { text-align: center; justify-items: center; }
.hero-x-centro .hero-slider-ui { justify-content: center; }
.hero-search-wrap .hero-search { grid-template-columns: 1fr 1fr; align-items: end; padding: 18px; gap: 12px; }
.hero-search-wrap .hero-search .hs-q, .hero-search-wrap .hero-search .btn { grid-column: 1 / -1; }
.hero-search-wrap .hero-search .hs-q input { min-height: 54px; font-size: 1.05rem; }
.hero-search-wrap.is-wide .hero-search { grid-template-columns: 2fr 1fr 1fr auto; }
.hero-search-wrap.is-wide .hero-search .hs-q, .hero-search-wrap.is-wide .hero-search .btn { grid-column: auto; }
.hero-search-wrap .quick-chips { flex-wrap: wrap; overflow: visible; }
@media (max-width: 959px) { .hero-search-wrap .hero-search { grid-template-columns: 1fr; } .hero .sb-actions { max-width: none; } }
.hero-h-px .quick-chips a { padding: 7px 12px; font-size: .84rem; }

/* blocos de carros: 4 colunas */
.home-block { padding-top: 34px; padding-bottom: 10px; }
.home-block + .home-block { padding-top: 18px; }
@media (min-width: 1100px) { .home-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 640px) and (max-width: 1099px) { .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .home-grid.home-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 6px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .home-grid.home-rail > * { scroll-snap-align: start; }
}
.home-more { margin: 24px 0 0; }
.home-featured .section-head h2::before { content: "★ "; color: var(--gold); }

/* faixa institucional */
.inst-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--hero) 0%, var(--hero-2) 100%); margin: 30px 0 8px; }
.inst-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--accent), var(--primary)); }
.inst-inner { position: relative; z-index: 1; display: grid; gap: 26px; padding-top: 44px; padding-bottom: 44px; align-items: center; }
@media (min-width: 960px) { .inst-inner { grid-template-columns: 1.1fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 56px; } }
.inst-copy h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 0 0 12px; max-width: 24ch; }
.inst-text { color: var(--hero-muted); margin: 0 0 20px; max-width: 58ch; font-size: 1.02rem; }
.inst-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .inst-items { grid-template-columns: 1fr 1fr; } }
.inst-items li { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.inst-items div { display: grid; gap: 2px; }
.inst-items strong { color: #fff; font-size: .95rem; }
.inst-items span:not(.ic-tile) { color: var(--hero-muted); font-size: .82rem; }

/* full banner 1200 x 250 */
.home-banner-wrap { padding-top: 26px; padding-bottom: 8px; }
.home-banner { display: block; max-width: 1200px; margin: 0 auto; aspect-ratio: 1200 / 250; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.home-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-banner-default { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(18px, 4vw, 48px); color: #fff; text-decoration: none;
  background: radial-gradient(circle at 85% 50%, rgba(242, 106, 27, .35), transparent 45%), linear-gradient(110deg, var(--graphite-deep) 0%, var(--primary-deep) 60%, var(--primary) 100%); }
.hb-text { display: grid; gap: 4px; }
.hb-text small { color: var(--gold); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.hb-text strong { font-family: var(--font-display); font-size: clamp(1.05rem, 2.6vw, 1.9rem); line-height: 1.15; }
@media (max-width: 639px) { .home-banner-default { aspect-ratio: auto; flex-direction: column; align-items: flex-start; padding: 22px; } }

/* admin: estrela de destaque e linhas por bloco */
.feat-btn.is-on { color: #8a6a1d; border-color: var(--gold); background: var(--gold-soft); }
.feat-btn.is-on .ic { fill: currentColor; }
.so-rows { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.so-n { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; }
.so-n input { width: 64px; min-height: 36px; padding: 4px 8px; }
.pos-pick { border: 0; padding: 0; margin: 0; }
.pos-pick legend { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }

/* página do anúncio: fotos sem faixas vazias */
.gallery-slide img { object-fit: cover; }
.gallery-stage { aspect-ratio: 4 / 3; }
@media (min-width: 720px) { .gallery-stage { aspect-ratio: 3 / 2; } }
@media (min-width: 720px) {
  .gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); overflow: visible; gap: 8px; }
  .gallery-thumbs button { flex: none; width: 100%; }
}
.vou-row { margin: 2px 0 4px; }
.catirei-row { margin: 0 0 4px; }

/* modelo de fotos: quadros do mesmo tamanho, sem sobra */
.pg-pick { grid-template-rows: auto 1fr auto; align-content: start; }
.pg-label .small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-height: 2.7em; line-height: 1.35; align-self: start; }
.pg-label { align-content: start; }
.pg-act { align-self: end; }
@media (min-width: 1100px) {
  .home-grid .car-price strong { font-size: 1.3rem; white-space: nowrap; }
  .home-grid .car-body { padding-left: 16px; padding-right: 16px; }
}

/* v9.2 — Anunciar: descrição + fotos à esquerda, reparos à direita */
.new-col { display: grid; gap: 18px; align-content: start; min-width: 0; }
.new-col-main .photo-guide .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .new-col-main .photo-guide .pg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .new-col-main .photo-guide .pg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* v9.2 — capa: título → subtítulo → busca (40%, à esquerda) → botões Comprar / Vender */
.hero-main { display: grid; gap: 16px; justify-items: start; }
.hero-main > * { width: 100%; }
.hero-main .hero-copy, .hero-main .hero-copy-stack { width: auto; max-width: 760px; }
.hero-search-wrap { width: 100%; gap: 10px; }
.hero-search-wrap .hero-search { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; padding: 14px; }
.hero-search-wrap .hero-search .hs-q { grid-column: 1; }
.hero-search-wrap .hero-search .btn { grid-column: 2; min-height: 54px; }
.hero-search-wrap .quick-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.hero-search-wrap .quick-chips::-webkit-scrollbar { display: none; }
.hero-btn-stack { display: grid; }
.hero-slide-btns { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.hero-slide-btns.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease .1s; }
.hero .sb-actions { margin-top: 0; max-width: none; }
@media (min-width: 960px) {
  .hero-search-wrap, .hero-main > .sb-actions, .hero-btn-stack { width: max(var(--search-w, 40%), 380px); }
  .hero-x-centro .hero-main { justify-items: center; }
  .hero-x-direita .hero-main { justify-items: end; }
}
@media (max-width: 520px) { .hero-search-wrap .hero-search { grid-template-columns: 1fr; } .hero-search-wrap .hero-search .btn { grid-column: 1; } }
.hero-h-px .hero-title { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.hero-search-wrap .hero-search .hs-q input { font-size: .95rem; padding-left: 14px; padding-right: 10px; }
.hero-search-wrap .hero-search .btn { padding-left: 18px; padding-right: 20px; font-size: 1rem; }

/* ================= v9.3 ================= */
/* etiqueta REPASSE */
.tag-repasse { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 7px; background: #0f7a4a; color: #fff; font: 800 .68rem/1 var(--font-display, inherit); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 4px 12px -4px rgba(15, 122, 74, .6); }
.tag-repasse.tag-lg { font-size: .78rem; padding: 7px 12px; }
.car-repasse { position: absolute; right: 12px; top: 12px; z-index: 2; }
.car-cat { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--primary); margin-right: 4px; }
.car-cat .ic { width: 15px; height: 15px; }
.repasse-switch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; cursor: pointer; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); }
.repasse-switch input { width: 18px; height: 18px; accent-color: #0f7a4a; }
.repasse-switch .small { flex: 1 1 220px; }

/* menu flutuante de categorias */
.cat-menu { position: relative; display: inline-block; z-index: 60; }
.cat-menu[open] { z-index: 80; }
.cat-menu > summary { list-style: none; }
.cat-menu > summary::-webkit-details-marker { display: none; }
.cat-trigger { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); cursor: pointer; min-height: 52px; }
.cat-trigger:hover, .cat-menu[open] .cat-trigger { border-color: var(--primary); box-shadow: var(--ring); }
.cat-trigger-txt { display: grid; line-height: 1.15; text-align: left; }
.cat-trigger-txt small { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cat-trigger-txt strong { font-size: .98rem; }
.cat-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }
.cat-ic .ic { width: 22px; height: 22px; }
.cat-caret .ic { width: 16px; height: 16px; transition: transform .2s; }
.cat-menu[open] .cat-caret .ic { transform: rotate(180deg); }
.cat-pop { position: absolute; left: 0; top: calc(100% + 8px); width: min(560px, calc(100vw - 32px)); display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
@keyframes catpop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cat-opt { position: relative; display: grid; justify-items: center; gap: 6px; padding: 12px 8px; border-radius: 14px; border: 1.5px solid transparent; text-align: center; font-weight: 700; font-size: .88rem; color: var(--heading); cursor: pointer; text-decoration: none; background: var(--surface-2); }
.cat-opt:hover { border-color: var(--primary); }
.cat-opt.is-on { border-color: var(--primary); background: var(--primary-soft); }
.cat-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cat-opt em { position: absolute; right: 8px; top: 6px; font-style: normal; font-size: .7rem; color: var(--muted); }
.cat-panel-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; }
.cat-panel .label-lg { display: inline-flex; gap: 8px; align-items: center; }
.edit-cat { margin: 0 0 16px; }
.field.is-optional > span::after { content: " (opcional para esta categoria)"; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }

/* busca: categorias e blocos */
.search-cats { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 18px 0 4px; }
.repasse-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; text-decoration: none; color: var(--heading); }
.repasse-chip.is-on { border-color: #0f7a4a; background: #e6f6ee; }
.cat-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 100%; padding-bottom: 2px; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: .86rem; color: var(--heading); text-decoration: none; }
.cat-strip a .ic { width: 17px; height: 17px; color: var(--primary); }
.cat-strip a.is-on { background: var(--graphite-deep); color: #fff; border-color: var(--graphite-deep); }
.cat-strip a.is-on .ic { color: var(--gold); }
.search-block { padding-top: 18px; padding-bottom: 6px; }
.repasse-filter { margin-bottom: 12px; }

/* menu: ícone início */
.nav-home { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.nav-home .ic { width: 20px; height: 20px; }
@media (min-width: 900px) { .nav-home-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .nav-home { width: 40px; height: 40px; border-radius: 12px; } .nav-home:hover, .nav-home.is-active { background: var(--primary-soft); color: var(--primary); } }

/* perfil, página do usuário e Minhas compras */
.avatar.has-img { padding: 0; overflow: hidden; background: #fff; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-pic { display: flex; gap: 16px; align-items: center; }
.profile-avatar { width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--primary-deep), var(--primary)); color: #fff; font: 800 2rem/1 var(--font-display, inherit); overflow: hidden; box-shadow: var(--shadow); }
.profile-avatar.has-img { background: #fff; border: 1px solid var(--line); }
.profile-avatar img { width: 100%; height: 100%; object-fit: contain; }
.profile-avatar.sm { width: 56px; height: 56px; border-radius: 16px; font-size: 1.4rem; }
.profile-pic-actions { display: grid; gap: 6px; justify-items: start; }
.file-btn { position: relative; overflow: hidden; cursor: pointer; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.user-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.user-head-name { display: grid; flex: 1 1 200px; }
.user-head-name strong { font: 800 1.3rem/1.2 var(--font-display, inherit); color: var(--heading); }
.user-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.user-tabs::-webkit-scrollbar { display: none; }
.user-tabs a { flex: none; display: inline-flex; gap: 6px; align-items: center; padding: 11px 14px; font-weight: 700; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.user-tabs a .ic { width: 17px; height: 17px; }
.user-tabs a.is-active { color: var(--heading); border-bottom-color: var(--accent); }
.buy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.buy-item { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.buy-item > div { display: grid; gap: 2px; flex: 1 1 260px; }
.buy-item.is-won { border-color: rgba(15, 122, 74, .4); background: #f1faf5; }
.lstage { padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 800; background: var(--surface-2); color: var(--heading); }
.lstage.tone-blue { background: var(--primary-soft); color: var(--primary); }
.lstage.tone-orange { background: var(--accent-soft); color: #b14a0e; }
.lstage.tone-purple, .lstage.tone-gold { background: var(--gold-soft); color: #8a6a1d; }
.empty.compact { padding: 18px; }
.own-note { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--primary-soft); margin: 0; }
.cat-opt > span:not(.cat-ic) { border: 0; background: none; padding: 0; box-shadow: none; min-height: 0; border-radius: 0; }
.cat-menu-link .cat-pop { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(440px, calc(100vw - 32px)); }
.cat-menu-pick .cat-pop { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 520px) { .cat-menu-pick .cat-pop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* v9.4 — cidade com menu flutuante */
.city-field { display: grid; gap: 6px; position: relative; }
.city-box { position: relative; }
.city-box input { width: 100%; padding-right: 44px; }
.city-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.city-pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70; max-height: 300px; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; display: grid; gap: 2px; }
.city-opt { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; padding: 9px 12px; border: 0; border-radius: 10px; background: none; font: inherit; color: var(--heading); cursor: pointer; }
.city-opt:hover, .city-opt.is-active { background: var(--primary-soft); }
.city-opt small { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }
.city-opt.is-cap { font-weight: 700; }
.city-other { color: var(--primary); font-weight: 700; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }
.city-empty { margin: 0; padding: 9px 12px; color: var(--muted); font-size: .88rem; }
.city-hint { font-size: .76rem; }
/* repasse: escolha e aviso "sem garantia" */
.repasse-choice { border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; margin: 0; display: grid; gap: 8px; background: var(--surface); flex: 1 1 420px; }
.repasse-choice legend { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; padding: 0 6px; }
.rc-opt { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; padding: 8px 10px; border-radius: 12px; border: 1.5px solid transparent; }
.rc-opt:has(input:checked) { border-color: #0f7a4a; background: #f1faf5; }
.rc-opt input { margin-top: 3px; accent-color: #0f7a4a; width: 18px; height: 18px; }
.rc-opt span { display: grid; gap: 2px; }
.rc-opt small { color: var(--muted); }
.asis-alert { display: flex; gap: 12px; align-items: center; padding: 14px 16px; margin: 0 0 18px; border-radius: 16px; background: #fff4e0; border: 2px solid #f0b44c; border-left: 6px solid #d9860b; color: #6b3e00; }
.asis-alert strong { display: block; font: 800 1.02rem/1.25 var(--font-display, inherit); letter-spacing: .02em; color: #5a3300; }
.asis-alert span:not(.asis-ic) { font-size: .88rem; }
.asis-ic { width: 40px; height: 40px; border-radius: 12px; background: #d9860b; color: #fff; display: grid; place-items: center; flex: none; }
.asis-mini { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -4px 0 4px; font-weight: 700; font-size: .84rem; color: #8a5300; }
.car-asis { margin: 0; display: inline-flex; gap: 5px; align-items: center; font-size: .76rem; font-weight: 800; color: #9a5a00; text-transform: uppercase; letter-spacing: .03em; }
.car-asis .ic { width: 14px; height: 14px; }

/* ================= v9.5 — capa ================= */
@media (min-width: 720px) { .hero-h-px { height: auto; min-height: var(--hero-h, 600px); padding: 34px 0; } }
.hero-h-px .hero-title { font-size: clamp(1.8rem, 3.5vw, 2.85rem); max-width: 22ch; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.hero-main { gap: 10px; }
.hero-main .hero-sub { margin: 0; font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-main .hero-copy .eyebrow { margin-bottom: 6px; }
.hero-main .hero-search-wrap { margin-top: 6px; }
.hero-main .sb-actions .btn { min-height: 48px; padding-top: 10px; padding-bottom: 10px; }
.hero--slider { padding-bottom: 84px !important; }
.hero--slider .hero-slider-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 22px; width: auto; margin: 0 auto; padding: 0 var(--gutter); max-width: 1260px; justify-content: flex-start; }
.hero-x-centro.hero--slider .hero-slider-ui { justify-content: center; }
.hero-x-direita.hero--slider .hero-slider-ui { justify-content: flex-end; }
.home-banner-top { padding-top: 22px; padding-bottom: 0; }
.hb-alt { background: radial-gradient(circle at 12% 50%, rgba(200, 162, 77, .35), transparent 40%), linear-gradient(110deg, var(--primary-deep) 0%, var(--graphite-deep) 70%); }
/* banners de publicidade em tamanho padrão e vídeo */
.sb-banner.has-format { width: 100%; max-width: var(--ad-w); margin-inline: auto; aspect-ratio: var(--ad-ratio); overflow: hidden; }
.sb-banner.has-format picture, .sb-banner.has-format img, .sb-banner .ad-video, .sb-banner .ad-video video, .sb-banner .ad-video iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.ad-video { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #000; }
.ad-video video, .ad-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.ad-embed iframe { pointer-events: none; }
.sb-banner:not(.has-format) .ad-video { aspect-ratio: 16 / 9; }
.sb-full .hero-media .ad-video { position: absolute; inset: 0; }
.ads-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.ads-summary .stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 2px; }
.ads-summary .stat strong { font: 800 1.5rem/1 var(--font-display, inherit); color: var(--heading); }
.ads-table tr.is-off { opacity: .55; }
/* compartilhar */
.share-box { display: grid; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line); }
.share-title { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.share-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--heading); font: 700 .8rem/1 inherit; text-decoration: none; cursor: pointer; }
.share-btn .ic { width: 15px; height: 15px; }
.share-btn:hover { border-color: var(--primary); }
.share-whatsapp { background: #1fa855; color: #fff; border-color: #1fa855; }
.share-facebook { background: #1b5fd9; color: #fff; border-color: #1b5fd9; }
.share-x { background: #111; color: #fff; border-color: #111; }
.share-telegram { background: #2a9fd8; color: #fff; border-color: #2a9fd8; }
.share-copy.is-done { background: #e6f6ee; border-color: #0f7a4a; color: #0f7a4a; }
/* foto do perfil clicável */
.avatar-form { margin: 0; }
.avatar-pick { position: relative; cursor: pointer; }
.avatar-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.avatar-cam { position: absolute; right: -4px; bottom: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); border: 2px solid #fff; }
.avatar-cam .ic { width: 14px; height: 14px; }
.profile-avatar.sm .avatar-cam { width: 22px; height: 22px; }
.avatar-pick:hover { box-shadow: var(--ring); }
.avatar-pick.is-loading { opacity: .6; }
.profile-avatar { overflow: visible; }
.profile-avatar img { border-radius: inherit; }

/* v9.5 — fotos: arrastar e enquadrar */
.photo-manage { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.pm-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; touch-action: auto; }
.pm-frame img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.pm-num { position: absolute; left: 8px; top: 8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(15, 16, 18, .7); color: #fff; font-size: .75rem; font-weight: 800; }
.pm-cover { top: 8px; left: 38px; }
.pm-grip { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .92); color: #111; display: grid; place-items: center; cursor: grab; touch-action: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.pm-grip .ic { width: 18px; height: 18px; }
.js-photos .pm-item { cursor: grab; }
.pm-item.is-dragging { position: fixed; z-index: 200; pointer-events: none; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); transform: rotate(-1.5deg) scale(1.03); cursor: grabbing; }
.pm-placeholder { border: 2px dashed var(--primary); background: var(--primary-soft); border-radius: 16px; }
.js-photos .pm-nojs { display: none; }
.pm-only-focus { display: none; }
.pm-item.is-focus { border-color: var(--primary); box-shadow: var(--ring); cursor: default; }
.pm-item.is-focus .pm-frame { cursor: move; touch-action: none; }
.pm-item.is-focus .pm-only-focus { display: inline-flex; }
.pm-item.is-focus .pm-hide-focus, .pm-item.is-focus .pm-grip, .pm-item.is-focus [data-focus-edit] { display: none; }
.pm-focus-hint { position: absolute; inset: auto 8px 8px 8px; display: none; align-items: center; justify-content: center; gap: 6px; padding: 6px 8px; border-radius: 10px; background: rgba(15, 16, 18, .72); color: #fff; font-size: .74rem; font-weight: 700; pointer-events: none; }
.pm-focus-hint .ic { width: 14px; height: 14px; }
.pm-item.is-focus .pm-focus-hint { display: flex; }
.pm-item.is-focus .pm-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 33.33% 33.33%; }
.pm-help { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 0 0 10px; }
.pm-help .ic { width: 15px; height: 15px; }
.pm-status { margin: 6px 0 12px; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); }
.pm-status.is-ok { background: #e7f6ee; color: #11603d; }

/* ---------- v9.5 · anúncio em etapas ---------- */
.step-tabs { counter-reset: none; }
.step-tabs a { display: inline-flex; align-items: center; gap: 8px; }
.step-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-3); color: var(--muted); font-size: .72rem; font-weight: 800; }
.step-tabs a.is-active .step-n { background: var(--accent); color: var(--accent-ink); }
.step-tabs a.is-active { color: var(--heading); border-color: var(--accent) !important; background: var(--accent-soft); }
.is-stepped .edit-step[hidden] { display: none !important; }
.step-pager { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.step-pager .btn-primary { margin-left: auto; }

/* ---------- v9.5 · menus flutuantes e caixas de marcar ---------- */
.sr-select { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.field { position: relative; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip, .fsel-opt { display: inline-flex; align-items: center; gap: 9px; font: inherit; font-weight: 600; color: var(--heading); cursor: pointer; }
.opt-chip { padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--surface); min-height: 44px; transition: border-color .15s, background .15s; }
.opt-chip:hover { border-color: var(--primary); }
.opt-chip.is-on { border-color: var(--primary); background: var(--primary-soft); }
.opt-box { flex: none; width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--line-strong); background: var(--surface); position: relative; }
.is-on > .opt-box { background: var(--primary); border-color: var(--primary); }
.is-on > .opt-box::after { content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fsel { position: relative; }
.fsel-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--heading); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.fsel-btn.is-empty .fsel-label { color: var(--muted); font-weight: 500; }
.fsel-btn .ic { width: 18px; height: 18px; transition: transform .15s; }
.fsel.is-open .fsel-btn { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.fsel.is-open .fsel-btn .ic { transform: rotate(180deg); }
.fsel-pop { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 220px; }
.fsel-search { width: 100%; margin-bottom: 6px; padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; background: var(--surface-2); color: var(--heading); }
.fsel-list { max-height: 280px; overflow-y: auto; display: grid; gap: 2px; }
.fsel-opt { width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: transparent; text-align: left; }
.fsel-opt:hover, .fsel-opt:focus-visible { background: var(--surface-2); outline: none; }
.fsel-opt.is-on { background: var(--primary-soft); }
.fsel-opt.is-empty { color: var(--muted); font-weight: 500; }
.fsel-opt[hidden] { display: none; }

/* ---------- v9.5 · lojista: comissões e histórico ---------- */
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.d-block { display: block; }
.table .num { text-align: right; white-space: nowrap; }
.deal-stats { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .deal-stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .deal-stats { grid-template-columns: repeat(6, 1fr); } }
.deal-stats .stat strong { font-size: 1.35rem; }
.deal-table td { vertical-align: top; }
.pos { color: var(--green, #15803d); }
.neg { color: var(--red, #dc2626); }
.lstage.tone-green { background: #dcfce7; color: #166534; }
.lstage.tone-gray { background: var(--surface-2); color: var(--muted); }
.paid-pill { margin-top: 4px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; border: 1px dashed var(--line-strong); background: var(--surface); color: #b14a0e; font: inherit; font-size: .72rem; font-weight: 800; cursor: pointer; }
.paid-pill .ic { width: 13px; height: 13px; }
.paid-pill.is-paid { border-style: solid; border-color: #bbf7d0; background: #dcfce7; color: #166534; }
.mchart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 220px; padding: 8px 0 0; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.mchart-col { display: grid; grid-template-rows: auto 1fr auto; height: 100%; text-align: center; min-width: 0; outline: none; }
.mchart-col > .mchart-bar { align-self: end; justify-self: center; width: min(34px, 80%); min-height: 0; background: var(--primary); border-radius: 4px 4px 0 0; transition: filter .15s; }
.mchart-col:hover .mchart-bar, .mchart-col:focus-visible .mchart-bar { filter: brightness(1.15); }
.mchart-val { font-size: .7rem; font-weight: 700; color: var(--muted); align-self: end; padding-bottom: 4px; }
.mchart-x { font-size: .68rem; color: var(--muted); padding: 6px 0 4px; white-space: nowrap; overflow: hidden; }
.mchart-col { grid-template-rows: 1fr auto; }
.mchart-col .mchart-val { display: none; }
@media (min-width: 700px) { .mchart-col { grid-template-rows: auto 1fr auto; } .mchart-col .mchart-val { display: block; } }
.cost-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cost-bars li { display: grid; grid-template-columns: minmax(120px, 210px) 1fr auto; gap: 12px; align-items: center; font-size: .9rem; }
.cost-track { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.cost-track > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.cost-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 0; }
.cost-list li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cost-list .cost-total { border-bottom: 0; font-weight: 700; }
.prefill summary { cursor: pointer; }
.prefill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.prefill-list .chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--heading); font-size: .85rem; font-weight: 600; }
.prefill-list .chip:hover { border-color: var(--primary); text-decoration: none; }
.field-check { display: flex; gap: 10px; align-items: center; align-self: end; min-height: 48px; }
.field-check input { width: 20px; height: 20px; }
.ledger-form .form-actions { justify-content: flex-end; margin-top: 8px; }
.ledger-form .form-actions .danger { margin-right: auto; color: var(--red, #dc2626); }
@media (max-width: 639px) { .hide-sm { display: none; } }
.ads-table .state, .table .state { white-space: nowrap; }
.table td.num-money, .table .state { white-space: nowrap; }

/* ---------- v10 · anúncio suspenso ---------- */
.status-suspended { background: color-mix(in srgb, var(--danger) 16%, transparent); color: var(--danger); }

/* ---------- v10 · Admin → Anúncios compacto (cabe na tela) ---------- */
.status-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.status-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--heading); font-size: .85rem; font-weight: 700; text-decoration: none; }
.status-tabs a:not(:has(.status)) { padding-left: 14px; }
.status-tabs a b { min-width: 24px; text-align: center; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); font-size: .76rem; }
.status-tabs a.is-active { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.status-tabs a.has-alert b { background: var(--accent); color: var(--accent-ink); }
.adm-search { max-width: 640px; }
.adm-table { table-layout: fixed; }
.adm-table .c-check { width: 40px; } .adm-table .c-price { width: 15%; } .adm-table .c-seller { width: 21%; } .adm-table .c-status { width: 13%; } .adm-table .c-act { width: 212px; }
.adm-table th, .adm-table td { padding: 9px 10px; }
.adm-table td { vertical-align: middle; }
.adm-car { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--heading); text-decoration: none; }
.adm-car:hover strong { color: var(--primary); }
.adm-thumb { flex: none; width: 64px; height: 48px; border-radius: 9px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); }
.adm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm-car-txt { display: grid; min-width: 0; }
.adm-car-txt > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.t-right { text-align: right !important; }
.feat-star .ic { width: 14px; height: 14px; color: var(--gold); fill: var(--gold); vertical-align: -2px; }
.role-pill { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.role-pill.is-dealer { background: var(--primary-soft); color: var(--primary); }
.adm-table .actions-cell { white-space: nowrap; }
.adm-table .actions-cell .btn, .adm-actions.is-icons .btn { width: 34px; height: 34px; min-height: 34px; padding: 0; justify-content: center; border-radius: 10px; }
.adm-actions.is-icons { gap: 4px; }
.susp-btn.is-on { border-color: var(--primary); color: var(--primary); }
.adm-table .status { white-space: nowrap; }
@media (max-width: 899px) {
  .adm-table, .adm-table tbody, .adm-table tr, .adm-table td { display: block; width: auto !important; }
  .adm-table colgroup, .adm-table thead { display: none; }
  .adm-table tr { position: relative; padding: 10px 12px 10px 46px; border-bottom: 1px solid var(--line); }
  .adm-table td { padding: 3px 0; border: 0; }
  .adm-table td.check-col { position: absolute; left: 12px; top: 22px; }
  .adm-table .actions-cell { text-align: left !important; padding-top: 8px; }
}
@media (min-width: 900px) { .admin-nav { flex-wrap: wrap; overflow: visible; } .admin-nav a { padding: 8px 14px; font-size: .86rem; } }

/* ---------- v10 · área do usuário: fullbanner, nome com link e submenu ---------- */
.account-banner { margin: 0 0 20px; }
.account-banner .sb-banners { padding: 0; }
.account-banner .home-banner { max-width: 1200px; margin: 0 auto; }
.account-banner-default { aspect-ratio: 1200 / 250; min-height: 0; }
@media (max-width: 719px) { .account-banner-default { aspect-ratio: auto; } }
.user-head-link { color: inherit; text-decoration: none; }
.user-head-link:hover strong { color: var(--primary); }
@media (min-width: 900px) { .user-tabs { flex-wrap: wrap; overflow: visible; } .user-tabs a { padding: 10px 12px; font-size: .92rem; } }
.account-body { margin-left: auto; margin-right: auto; }
.account-pop a { display: flex; align-items: center; gap: 10px; }
.account-pop a .ic { width: 17px; height: 17px; color: var(--muted); }
.account-pop a.is-active { background: var(--primary-soft); color: var(--primary); }
.account-pop a.is-active .ic { color: var(--primary); }
a.account-home { color: inherit; text-decoration: none; }
a.account-home:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.account-caret .ic { width: 15px; height: 15px; color: var(--muted); transition: transform .15s; }
.account-menu details[open] .account-caret .ic { transform: rotate(180deg); }

/* ---------- v10 · Painel da loja ---------- */
.dh-hello { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 18px; }
.dh-hello h1 { margin: 0 0 4px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.dh-hello p { margin: 0; }
.dh-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.dh-alerts { display: grid; gap: 8px; margin-bottom: 16px; }
.dh-alert { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--heading); text-decoration: none; }
.dh-alert span { flex: 1; }
.dh-alert.tone-orange { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-soft); }
.dh-alert.tone-red { border-color: color-mix(in srgb, var(--danger) 35%, transparent); background: color-mix(in srgb, var(--danger) 7%, var(--surface)); }
.dh-alert:hover { text-decoration: none; filter: brightness(.98); }
.dh-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 18px; }
.dh-tile { position: relative; display: grid; gap: 2px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.dh-tile:hover, .dh-tile:focus-visible { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow); text-decoration: none; }
.dh-ic { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 10px; background: var(--surface-2); color: var(--heading); }
.dh-ic .ic { width: 23px; height: 23px; }
.dh-ic.tone-blue { background: var(--primary-soft); color: var(--primary); }
.dh-ic.tone-orange { background: var(--accent-soft); color: #c2560f; }
.dh-ic.tone-green { background: #dcfce7; color: #15803d; }
.dh-ic.tone-gold { background: var(--gold-soft); color: #8a6a1f; }
.dh-ic.tone-purple { background: #ede9fe; color: #6d28d9; }
.dh-ic.tone-red { background: #fee2e2; color: #dc2626; }
.dh-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface); }
.dh-label { font-weight: 800; color: var(--heading); }
.dh-big { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--heading); line-height: 1.15; }
.dh-sub { color: var(--muted); font-size: .86rem; }
.dh-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .82rem; }
.dh-go .ic { width: 16px; height: 16px; color: var(--primary); transition: transform .15s; }
.dh-tile:hover .dh-go .ic { transform: translateX(3px); }
.dh-grid { display: grid; gap: 18px; }
@media (min-width: 980px) { .dh-grid { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.dh-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.dh-panel-head h2, .dh-panel-head h3 { margin: 0; }
.dh-panel-head a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.dh-panel-head a .ic { width: 14px; height: 14px; }
.dh-sub-head { margin-top: 18px; }
.dh-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
@media (min-width: 640px) { .dh-kpis { grid-template-columns: repeat(4, 1fr); } }
.dh-kpis > div { display: grid; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.dh-kpis span { font-size: .74rem; color: var(--muted); font-weight: 700; }
.dh-kpis strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--heading); }
.dh-kpis small { font-size: .72rem; color: var(--muted); }
.dh-chart { grid-template-columns: repeat(6, 1fr); height: 170px; margin-bottom: 8px; }
.dh-cars, .dh-props { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dh-cars a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--heading); text-decoration: none; }
.dh-cars a:hover { background: var(--surface-2); text-decoration: none; }
.dh-car-txt { display: grid; flex: 1; min-width: 0; }
.dh-car-txt strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dh-props li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.dh-props li:last-child { border-bottom: 0; }
@media (min-width: 1100px) { .dh-tiles { grid-template-columns: repeat(4, 1fr); } }
.dh-kpis > div { align-content: space-between; gap: 4px; }
@media (min-width: 900px) { .user-tabs { gap: 2px; } .user-tabs a { padding: 10px 10px; font-size: .88rem; } }
.adm-actions .susp-btn { width: 34px; padding: 0; justify-content: center; }
