/* ============================================================
   AUTOWIKI — ficha técnica premium, mobile-first
   Dark é o default (identidade). Tema claro via [data-theme="light"].
   Todas as cores em custom properties — um lugar só pra trocar.
   Breakpoints: base = 390px · ≥720px tablet · ≥1080px desktop.
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #14120e;             /* papel escuro quente */
  --bg-grad: none;
  --surface: #1b1814;
  --surface-2: #221e18;
  --surface-3: #2a251d;
  --line: rgba(236, 229, 214, 0.10);
  --line-2: rgba(236, 229, 214, 0.24);
  --text: #ede8dc;
  --text-2: #b0a78f;
  --text-3: #9d947b;   /* >=4.9:1 até sobre --surface-3 (WCAG AA); ajustado de #93896e */
  --acc: #e0762a;            /* laranja-terroso (fill) */
  --acc-text: #e8934f;       /* p/ texto sobre --bg */
  --acc-dim: rgba(224, 118, 42, 0.16);
  --acc-2: #f0925a;
  --good: #7fc79b;
  --bad: #e89284;
  --btn-bg: #ede8dc;
  --btn-ink: #171410;
  --topbar-bg: rgba(20, 18, 14, 0.85);
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Archivo", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 14px;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f3ec;             /* papel quente */
  --bg-grad: none;
  --surface: #fffdf8;
  --surface-2: #efebe1;
  --surface-3: #e6e0d2;
  --line: rgba(29, 26, 21, 0.14);
  --line-2: rgba(29, 26, 21, 0.30);
  --text: #1d1a15;
  --text-2: #57503f;
  --text-3: #686151;   /* >=4.5:1 sobre --surface-3; ajustado de #857c68 */
  --acc: #b4530a;             /* laranja-terroso */
  --acc-text: #9c4507;
  --acc-dim: rgba(180, 83, 10, 0.12);
  --acc-2: #8a3d06;
  --good: #2e6b45;
  --bad: #a83a2b;
  --btn-bg: #1d1a15;
  --btn-ink: #f6f3ec;
  --topbar-bg: rgba(246, 243, 236, 0.88);
  --shadow: 0 8px 20px rgba(29, 26, 21, 0.08);
}

/* transição suave entre temas (e hovers) */
body, .topbar, .topnav, .card, .seccard, .chip, .statcell, .toolbar, .cmpbar,
.btn, .badge, .fotocard, .thumb, .pnum, .relchip, .decadebar, .pager .pcur,
.cmptable thead th, .cmptable .secrow td, .seqnav a, input, select {
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

* { box-sizing: border-box; }

/* canvas raiz pintado nos 2 temas: overscroll/elastic nada de branco cru */
html { scroll-behavior: smooth; background-color: var(--bg); }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--acc-dim); color: var(--acc-text); }

:focus-visible {
  outline: 2px solid var(--acc-text);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--acc); color: var(--btn-ink);
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 99;
  font-weight: 700; min-height: 44px; display: inline-block;
}
.skip:focus { left: 0; }

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--acc-text); }

/* ------------------------------------------------ topbar */

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--topbar-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex; align-items: center; gap: 8px;
  max-width: 1280px; margin: 0 auto;
  min-height: 60px;
  padding: 6px clamp(12px, 4vw, 40px);
}

/* hamburger (só mobile) — 44px */
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: 0 0 auto;
  background: none; border: 1px solid var(--line-2); border-radius: 10px;
  cursor: pointer; color: var(--text-2);
}
.menu-box, .menu-box::before, .menu-box::after {
  content: ""; display: block; width: 18px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.menu-box::before { transform: translateY(-6px); }
.menu-box::after { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] .menu-box { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-box::before { transform: translateY(0) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-box::after { transform: translateY(2px) rotate(-45deg); }

.logo {
  display: inline-flex; align-items: center; gap: 9px;
  flex: 1 1 auto; min-width: 0;
  color: var(--text);
}
.logo-mark { width: 26px; height: 26px; color: var(--acc); flex: 0 0 auto; }
.logo-text {
  font-weight: 800; letter-spacing: 0.02em; font-size: 15px; white-space: nowrap;
}
.logo-text em { font-style: normal; color: var(--acc-text); }

/* nav mobile: painel dropdown */
.topnav {
  position: absolute; top: 100%; left: 0; right: 0;
  display: none;
  flex-direction: column;
  background: var(--topbar-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.topnav.open { display: flex; }
.topnav a {
  display: flex; align-items: center;
  min-height: 48px; padding: 12px clamp(16px, 5vw, 44px);
  font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-2);
  border-top: 1px solid var(--line);
}
.topnav a:hover { color: var(--text); background: var(--surface-2); }
.topnav a[aria-current] {
  color: var(--acc-text); background: var(--acc-dim);
  box-shadow: inset 3px 0 0 var(--acc);
}

/* toggle de tema — 44px, canto superior direito */
.themebtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: 0 0 auto;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--text-2); cursor: pointer;
}
.themebtn:hover { color: var(--acc-text); border-color: var(--acc); }
.themebtn svg { width: 20px; height: 20px; }
[data-theme="dark"] .ic-moon { display: none; }
[data-theme="light"] .ic-sun { display: none; }

/* ------------------------------------------------ layout */

.view {
  flex: 1; width: 100%; max-width: 1240px; margin: 0 auto;
  padding: clamp(18px, 4vw, 44px) clamp(14px, 4vw, 44px) 110px;
}

.footer { border-top: 1px solid var(--line); padding: 26px clamp(14px, 4vw, 44px) 32px; }
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 16px 28px;
  justify-content: center; align-items: center; text-align: center;
  color: var(--text-3); font-size: 13px;
}
.footer-id { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.footer-brand { font-weight: 800; letter-spacing: 0.02em; color: var(--text-2); }
.footer-brand em { font-style: normal; color: var(--acc-text); }
.footer-tagline { margin: 0; color: var(--text-2); }
.footer-domain { font-family: var(--mono); font-size: 12px; }

/* pills institucionais — espelho do .themebtn: borda line-2, radius pill,
   fundo surface, hover pinta o texto de acc e a borda de acc */
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.footer-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 8px 16px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-2);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.footer-nav a:hover { color: var(--acc-text); border-color: var(--acc); background: var(--surface-2); }

.footer-note { flex: 1 1 100%; max-width: 78ch; margin: 0 auto; line-height: 1.6; }
.footer-credit {
  flex: 1 1 100%;
  display: flex; flex-wrap: wrap; gap: 4px 24px;
  justify-content: center; align-items: baseline;
}
.footer-credit a {
  color: var(--text-2); text-decoration: underline; text-underline-offset: 3px;
}
.footer-credit a:hover { color: var(--acc-text); }

/* ------------------------------------------------ páginas institucionais */
/* /sobre, /privacidade, /termos — prosa server-rendered, medida de leitura */
.textpage { max-width: 76ch; margin-top: 26px; }
.textpage h2 {
  font-size: 18px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--text);
  margin: 30px 0 10px;
}
.textpage h2:first-child { margin-top: 0; }
.textpage p {
  margin: 0 0 12px;
  font-size: 15.5px; line-height: 1.68; color: var(--text-2);
}
.textpage p:last-child { margin-bottom: 0; }
.textpage a {
  color: var(--text); text-decoration: underline; text-underline-offset: 3px;
}
.textpage a:hover { color: var(--acc-text); }

/* ------------------------------------------------ tipografia técnica */

/* eyebrow morreu (ritmo "de-IA"): a marca acima do h1 da ficha vira
   crumbmeta — sentence case, sem tracking */
.crumbmeta {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  margin: 0 0 10px;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 8.5vw, 60px);
  line-height: 1.04; letter-spacing: -0.015em;
  margin: 0 0 14px; text-wrap: balance;
}
.h-display .thin { color: var(--text-2); font-weight: 500; }

.h-page {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 6vw, 40px);
  line-height: 1.08; letter-spacing: -0.01em;
  margin: 0 0 12px; text-wrap: balance;
}
.h-page .thin { color: var(--text-3); font-weight: 500; }

/* section-head: h2 display normal (sentence case) — não é mais eyebrow */
.h-sec {
  font-size: 21px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 14px;
}
.h-sec .seeall {
  float: right; font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--text-3); text-transform: none;
}
.h-sec .seeall:hover { color: var(--acc-text); }

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.subtle { color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.subtle:hover { color: var(--acc-text); }

/* ------------------------------------------------ breadcrumb */

.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center;
  list-style: none; margin: 0 0 14px; padding: 0;
  font-size: 12.5px; color: var(--text-3);
}
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--text-3); }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--acc-text); }
.breadcrumb [aria-current] { color: var(--text-2); }

/* ------------------------------------------------ hero / home */

.hero { text-align: center; padding: clamp(20px, 5vw, 64px) 0 clamp(20px, 4vw, 40px); }
.hero .h-display { max-width: 780px; margin-inline: auto; }
.hero-sub { max-width: 560px; margin: 0 auto 28px; color: var(--text-2); font-size: 16px; }

.bigsearch { max-width: 720px; margin: 0 auto; }
.bigsearch form { position: relative; display: flex; flex-direction: column; gap: 10px; }
.bigsearch input[type="search"] {
  flex: 1; min-width: 0; min-height: 52px;
  padding: 12px 18px;
  font: 600 16px var(--font-body);       /* 16px evita zoom no iOS */
  letter-spacing: 0.02em;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 12px;
}
.bigsearch input[type="search"]::placeholder { color: var(--text-3); font-weight: 500; }
.bigsearch input[type="search"]:focus {
  outline: none; border-color: var(--acc);
  box-shadow: 0 0 0 4px var(--acc-dim);
}

/* sugestões de busca (JS) */
.sugbox {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  z-index: 30;
  background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: left;
}
.sugbox a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  min-height: 46px; padding: 10px 16px;
  color: var(--text); border-bottom: 1px solid var(--line);
}
.sugbox a:last-child { border-bottom: none; }
.sugbox a:hover, .sugbox a[aria-selected="true"] { background: var(--surface-2); }
.sugbox .sug-brand { font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: var(--acc-text); }
.sugbox .sug-name { font-weight: 600; }
.sugbox .sug-ano { font-family: var(--mono); font-size: 12px; color: var(--text-3); }

/* stats vivos */
.statrow {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; margin: 34px auto 0; max-width: 860px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.statcell { background: var(--surface); padding: 18px 12px; text-align: center; }
.statcell .num {
  display: block; font-size: clamp(26px, 6vw, 38px); font-weight: 600;
  color: var(--text); line-height: 1.05;
}
.statcell .statlabel {
  display: block; margin-top: 6px;
  font-size: 11px; font-weight: 600;
  color: var(--text-3);
}

/* chips de marcas */
.brandgrid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 8px; margin-top: 14px;
}
.chip {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 48px; padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 11px;
  transition: border-color 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
}
.chip:hover { border-color: var(--acc); background: var(--surface-2); transform: translateY(-2px); }
.chip .name { font-weight: 700; font-size: 13.5px; letter-spacing: 0.02em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip .count { font-family: var(--mono); font-size: 12.5px; color: var(--acc-text); flex: 0 0 auto; }

/* ------------------------------------------------ logos de marca (v2.4) */

/* tile de logo — caixa FIXA por kind, conteúdo object-contain (nunca
   esticado), alturas consistentes entre cards:
   - .si  silhouette (simple-icons 24x24): CSS mask, herda currentColor do
     card (cor do tema), hover colore com a cor oficial (--bcolor);
   - .art emblem/wordmark/png: <img>; .sq = 72x40, .wide = 96x24 (.sm: 44x26
     / 64x16) — caixa pelo aspect do arquivo;
   - tone: conteúdo branco (.t-light) vai em tile escuro fixo, preto
     (.t-dark) em chip claro — visível nos dois temas; colorido pinta
     direto (fundo do card = var(--surface));
   - v2.6 mono: rasters .art em repouso são grayscale+opacity (mesmo peso
     visual das silhuetas ink); no hover do card/faixa o filtro sai e a
     cor oficial (a arte original) volta — chips de tone permanecem;
   - .none sem logo: iniciais no tile gradiente (linguagem do placeholder) */
.bl { display: block; flex: 0 0 auto; }
.bl.si {
  width: 40px; height: 40px;
  background-color: currentColor;
  opacity: 0.88;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.bl.si.sm { width: 28px; height: 28px; }
.bl.art {
  object-fit: contain;
  filter: grayscale(1);         /* repouso mono = mesmo peso das silhuetas */
  opacity: 0.66;
  transition: filter 0.15s ease, opacity 0.15s ease;
}
.bl.art.sq { width: 72px; height: 40px; }
.bl.art.wide { width: 96px; height: 24px; }
.bl.art.sm.sq { width: 44px; height: 26px; }
.bl.art.sm.wide { width: 64px; height: 16px; }
.bl.art.t-dark {          /* conteúdo preto: chip claro nos dois temas */
  padding: 3px 7px; border-radius: 8px;
  background: #faf7f0;
  border: 1px solid var(--line);
  box-sizing: border-box;
}
.bl.art.t-light {         /* conteúdo branco: tile escuro nos dois temas */
  padding: 3px 7px; border-radius: 8px;
  background: linear-gradient(160deg, #3a342a, #211d16);
  box-sizing: border-box;
}
.bl.none {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(160deg, #3a342a, #211d16);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px; letter-spacing: 0.02em;
}
.bl.none.sm { width: 28px; height: 28px; font-size: 11.5px; border-radius: 8px; }

/* cards de marca (/marcas): grid uniforme, área de logo fixa 120x64
   centrada + nome + badge — nomes alinham entre cards da mesma linha */
.brandcards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.brandcard {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  min-height: 150px;
  padding: 16px 10px 14px;
  text-align: center;
  color: var(--text-2);              /* logo silhouette herda daqui */
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
}
.brandcard:hover {
  color: var(--text);
  border-color: var(--acc);
  background: var(--surface-2);
  transform: translateY(-3px);
}
.brandcard:hover .bl.si {
  background-color: var(--bcolor, var(--acc-text));
  opacity: 1;
}
.brandcard:hover .bl.art {   /* raster: arte original (cor oficial) volta */
  filter: none;
  opacity: 1;
}
.brandcard[hidden] { display: none; }  /* display:flex venceria [hidden] */
.bc-logo {
  width: 120px; height: 64px;
  display: flex; align-items: center; justify-content: center;
}
.bc-name {
  color: var(--text);
  font-weight: 700; font-size: 13.5px; letter-spacing: 0.02em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%;
}
.bc-count {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 11.5px;
  padding: 2px 9px;
  color: var(--acc-text);
  background: var(--acc-dim);
  border-radius: 8px;
}

/* filtro rápido de /marcas */
.brandtools { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; max-width: 440px; }
.brandtools input[type="search"] {
  flex: 1; min-width: 0; min-height: 44px;
  padding: 10px 14px;
  font: 600 14px var(--font-body);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 10px;
}
.brandtools input[type="search"]:focus {
  outline: none; border-color: var(--acc);
  box-shadow: 0 0 0 4px var(--acc-dim);
}
.brandcount { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.noresults { margin-top: 14px; font-size: 14px; }
.logo-credit { margin-top: 24px; font-size: 12.5px; }

/* faixa "Marcas em destaque" (home): logos em linha com wrap, altura da
   linha fixa — emblemas e wordmarks centrados na mesma base */
.homelogos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 14px;
  max-width: 900px; margin: 8px auto 0;
}
.home-marcas { margin-top: 34px; }
.hstrip {
  display: flex; align-items: center; justify-content: center;
  min-width: 48px; height: 48px;
  padding: 0 6px;
  border-radius: 10px;
  color: var(--text-3);
  transition: color 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
}
.hstrip:hover {
  color: var(--text);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.hstrip:hover .bl.si {
  background-color: var(--bcolor, var(--acc-text));
  opacity: 1;
}
.hstrip:hover .bl.art {     /* raster: cor oficial no hover, como nos cards */
  filter: none;
  opacity: 1;
}
.homecaption {
  margin: 10px 0 34px; text-align: center;
  font-size: 12.5px; font-weight: 500;
  color: var(--text-3);
}

/* barra de décadas */
.decaderow {
  display: flex; gap: 6px; align-items: flex-end; margin-top: 14px;
  min-height: 96px; overflow-x: auto; padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.decadebar {
  flex: 1 0 34px; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 5px; text-align: center; color: inherit; min-height: 44px;
}
.decadebar .bar {
  border-radius: 6px 6px 2px 2px;
  background: var(--acc);
  opacity: 0.85; min-height: 4px;
  transition: opacity 0.16s ease;
}
.decadebar:hover .bar { opacity: 1; }
.decadebar .dlabel { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }
.decadebar .dval { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); }

/* ------------------------------------------------ botões */

/* manual técnico: caixa sólida, sombra offset SEM blur, hover instantâneo
   (sem transition, sem lift) e press físico no :active. --btn-bg ainda não
   existe no :root (outra lane define — fallback local obrigatório);
   --btn-ink hoje é #1a1206 (tinta do btn âmbar antigo, ficaria invisível
   sobre o fundo novo), então o ink do btn é literal #f6f3ec — o mesmo paper
   que a lane do :root vai definir. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  font: 700 13px var(--font-body);
  color: var(--btn-ink);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-bg);
  border-radius: 4px;
  box-shadow: 3px 3px 0 rgba(29, 26, 21, 0.9);
  cursor: pointer;
  transition: none;
}
.btn:hover { background: var(--acc); border-color: var(--acc); color: #fffdf8; filter: none; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(29, 26, 21, 0.9); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-ghost {
  color: var(--text); background: transparent;
  border: 1.5px solid var(--text);
  box-shadow: none;
}
.btn-ghost:hover { color: inherit; border-color: var(--acc); background: var(--acc-dim); }

/* ------------------------------------------------ toolbar de busca */

.toolbar {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; margin-bottom: 18px;
}
.toolbar label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--text-3);
}
.toolbar select, .toolbar input {
  min-height: 44px; min-width: 0; width: 100%; padding: 8px 12px;
  font: 500 15px var(--font-body); color: var(--text);
  background: var(--surface-3); border: 1px solid var(--line-2);
  border-radius: 8px;
}
.toolbar select:focus, .toolbar input:focus { outline: none; border-color: var(--acc); }
.toolbar .btn { grid-column: 1 / -1; }
.toolbar .spacer { display: none; }

.resultmeta { color: var(--text-2); font-size: 14px; margin: 0 0 16px; }
.resultmeta strong { color: var(--text); }

/* ------------------------------------------------ cards de resultado */

.cardgrid { display: grid; grid-template-columns: 1fr; gap: 32px 28px; }

/* card editorial flat: sem caixa — conteúdo direto sobre o papel; o hover
   mora só no título (underline) e no playbtn/botões, nunca no card */
.card {
  display: flex; flex-direction: column;
  transition: none;
}

/* card sem imagem: faixa vazia discreta; com vídeo: player do YT no grid */
.card .thumb {
  aspect-ratio: 16/8.2;
  background: var(--surface-2);
  border-radius: 4px;
  outline: 1px solid rgba(255, 255, 255, 0.10); outline-offset: -1px;
}
/* vídeo no grid: facade (thumb + play) — iframe só nasce no clique */
.card .videoframe {
  position: relative; display: block; width: 100%; padding: 0; cursor: pointer;
  aspect-ratio: 16/9;
  border: 0; border-radius: 4px; overflow: hidden;
  background: #000;
}
.card .videoframe img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, 0.10); outline-offset: -1px;
}
[data-theme="light"] .card .thumb,
[data-theme="light"] .card .videoframe img {
  outline-color: rgba(0, 0, 0, 0.10);
}
.card .videoframe iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.card .videoframe .playbtn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(29, 26, 21, 0.72); color: #fff;
}
.card .videoframe:hover .playbtn { background: var(--acc); }

.card .body { padding: 14px 16px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .brandline {
  font-size: 12.5px; font-weight: 700; color: var(--text-2);
}
.card .cardtitle { font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
/* hover = underline accent instantâneo; texto continua tinta (o a:hover
   global âmbar não se aplica aqui) */
.card .cardtitle:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--acc);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.card .cardtitle .versao { color: var(--text-2); font-weight: 500; }
.card .metricrow {
  display: flex; align-items: baseline; gap: 18px; margin-top: auto;
  padding-top: 10px;
}
.card .metric { display: flex; flex-direction: column; gap: 2px; }
.card .metric .v { font-family: var(--mono); font-size: 15.5px; font-weight: 600; }
.card .metric .k {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: none; color: var(--text-3);
}
.card .actions { display: flex; gap: 8px; align-items: stretch; }
.card .actions .btn { flex: 1; padding: 8px 10px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--line-2); border-radius: 4px;
  padding: 3px 10px; margin-left: auto; align-self: center;
}

/* v2.8: badge discreto no card — preço vem da tabela FIPE, não da época */
.fipetag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--acc-text); background: var(--acc-dim);
  border-radius: 4px; padding: 1px 5px; vertical-align: 2px;
}

/* paginação — mesma linguagem ghost dos botões (tinta 1.5px, raio 4px,
   hover instantâneo); pcur = chip fundo tinta / texto papel */
.pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin-top: 26px; }
.pager .pnum, .pager .pcur, .pager .pgap {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 8px 10px;
  border-radius: 4px; font-size: 14px;
}
.pager .pnum {
  border: 1.5px solid var(--text); color: var(--text-2);
  transition: none;
}
.pager .pnum:hover { color: var(--text); border-color: var(--acc); background: var(--acc-dim); }
.pager .pcur { color: #f6f3ec; background: var(--btn-bg, #1d1a15); font-weight: 600; }
.pager .pgap { color: var(--text-3); }
.pager .btn { padding: 8px 14px; }

/* ------------------------------------------------ ficha v2 */

:root { --topbar-h: 73px; }  /* topbar-inner 60 + padding 12 + borda 1 */

/* hero full-bleed: quebra o padding do .view e ocupa a viewport */
.hero-ficha { margin-inline: calc(50% - 50vw); margin-top: -8px; }
.hf-media {
  position: relative; display: flex; align-items: flex-end;
  min-height: clamp(430px, 74vh, 660px);
  background: var(--surface-2);
  overflow: hidden;
}
.hf-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* thumb do YouTube (hqdefault 4:3, conteúdo 16:9 com barras pretas): em caixa
   larga o cover já corta as barras; esticando o box 36% (18% p/ cima e p/
   baixo via top negativo) o corte acontece em qualquer proporção (hero mobile
   incluso). height: auto NÃO funciona aqui — img é replaced e usaria a razão
   intrínseca 4:3 em vez de esticar. */
.hf-img.thumb-yt { top: -18%; bottom: auto; height: 136%; }
.hf-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 14, 0.6) 0%,
              rgba(20, 18, 14, 0) 28%, rgba(20, 18, 14, 0.5) 60%,
              rgba(20, 18, 14, 0.95) 100%);
}
[data-theme="light"] .hf-scrim {
  background: linear-gradient(180deg, rgba(29, 26, 21, 0.42) 0%,
              rgba(29, 26, 21, 0) 28%, rgba(29, 26, 21, 0.46) 60%,
              rgba(29, 26, 21, 0.93) 100%);
}
.hf-inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 1240px; margin: 0 auto;
  padding: 26px clamp(14px, 4vw, 44px) 20px;
  display: flex; flex-direction: column; gap: 13px;
}
.hf-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 8vw, 58px); line-height: 1.02; letter-spacing: -0.018em;
  margin: 0; color: #fff; text-wrap: balance;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.4);
}
.hf-ano { color: rgba(255, 255, 255, 0.72); font-weight: 500; font-size: 0.62em; }

/* sem foto na ficha: textura técnica em vez de imagem */
.hero-ficha.nofoto .hf-media {
  background:
    radial-gradient(900px 380px at 78% -12%, var(--acc-dim), transparent 62%),
    repeating-linear-gradient(135deg, var(--surface-2) 0 26px, var(--surface-3) 26px 27px);
}
.hero-ficha.nofoto .hf-scrim { background: none; }
.hero-ficha.nofoto .hf-title { color: var(--text); text-shadow: none; }
.hero-ficha.nofoto .hf-ano { color: var(--text-3); }
.hero-ficha.nofoto .hf-chip .v,
.hero-ficha.nofoto .hf-preco .v { color: var(--text); }

.hf-badges {
  display: flex; flex-wrap: wrap; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.hf-badges li {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 5px 11px; border-radius: 4px;
  background: rgba(20, 18, 14, 0.5); border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #efe9dd;
}
.hero-ficha.nofoto .hf-badges li {
  background: var(--surface); border-color: var(--line-2); color: var(--text-2);
}
.hf-badges b {
  font-size: 10px; font-weight: 600; letter-spacing: normal;
  color: rgba(255, 255, 255, 0.62);
}
.hf-badges span { font-family: var(--mono); font-size: 12px; font-weight: 600; }
.hero-ficha.nofoto .hf-badges b { color: var(--text-3); }

.hf-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.hf-chip {
  padding: 10px 12px 9px; border-radius: 8px;
  background: rgba(20, 18, 14, 0.52); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-ficha.nofoto .hf-chip {
  background: var(--surface); border-color: var(--line-2);
}
.hf-chip .v {
  display: block; font-family: var(--mono);
  font-size: clamp(24px, 6.4vw, 34px); font-weight: 700; line-height: 1.05;
  color: #f6f3ec;
}
.hf-chip .v i { font-style: normal; font-size: 12px; font-weight: 600; color: #c9c0ac; margin-left: 3px; }
.hf-chip .k {
  display: block; margin-top: 4px;
  font-size: 9.5px; font-weight: 600; letter-spacing: normal;
  color: #b3a992;
}
.hero-ficha.nofoto .hf-chip .v i { color: var(--text-3); }
.hero-ficha.nofoto .hf-chip .k { color: var(--text-3); }

.hf-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 2px;
}
/* dois blocos de preço lado a lado: época (branco) + FIPE atual (âmbar) */
.hf-precos { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.hf-precos .hf-preco { margin-left: 0; text-align: right; }
.hf-preco .v {
  display: block; font-family: var(--mono);
  font-size: clamp(20px, 5vw, 26px); font-weight: 700; color: #f6f3ec;
}
.hf-preco .k {
  display: block; margin-top: 2px;
  font-size: 9.5px; font-weight: 600; letter-spacing: normal;
  color: #b3a992;
}
.hf-preco.fipe .v { color: var(--acc); }
.hf-preco.fipe .k { color: var(--acc-text); }
.hero-ficha.nofoto .hf-preco .k { color: var(--text-3); }
.hero-ficha.nofoto .hf-preco.fipe .v { color: var(--acc); }
.hero-ficha.nofoto .hf-preco.fipe .k { color: var(--text-3); }

.notice {
  display: flex; gap: 10px; align-items: center;
  border: 1px solid var(--acc); background: var(--acc-dim);
  color: var(--acc-text); border-radius: 10px; padding: 12px 16px;
  font-size: 14px; margin: 18px 0 22px;
}

/* resumo rápido (AEO): lead editorial — parágrafo citável entre o hero e a
   nav de seções; mesma medida e hairline das seções abaixo */
.summary {
  margin: 26px auto 30px;
  max-width: 920px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}
.summary h2 {
  font-size: 12px; font-weight: 700;
  color: var(--text-3);
  margin: 0 0 8px;
}
.summary p {
  margin: 0; max-width: 68ch;
  font-size: 17.5px; line-height: 1.62; color: var(--text);
}

/* nav sticky de âncoras — trilha horizontal rolável */
.secnav-wrap {
  position: sticky; top: var(--topbar-h); z-index: 35;
  margin-inline: calc(50% - 50vw);
  background: var(--topbar-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.secnav {
  display: flex; gap: 18px;
  max-width: 1240px; margin: 0 auto;
  padding: 8px clamp(14px, 4vw, 44px);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.secnav::-webkit-scrollbar { display: none; }
.secnav a {
  flex: 0 0 auto; min-height: 36px;
  display: inline-flex; align-items: center;
  padding: 8px 1px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--text-2);
  transition: color 0.15s ease;
}
.secnav a:hover { color: var(--text); }
.secnav a.on {
  color: var(--acc-text);
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
}

/* seções de specs (âncora pega abaixo de topbar + secnav) — documento
   editorial (2026-09-19): fluxo de 1 coluna na medida 920px centrada, sem
   caixas; a régua de tinta abre cada seção, hairlines separam as linhas */
section[data-sec] { scroll-margin-top: calc(var(--topbar-h) + 58px); }
/* bloco de documento: specs + blocos auxiliares compartilham a mesma medida
   (o resto da página pode continuar mais largo) */
.secgrid, .hubbloco, .seccard.fask, .ficha-videos, .contexto, .vazias {
  max-width: 920px; margin-inline: auto;
}
.secgrid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(44px, 7vw, 64px);
  margin-top: 30px;
}
/* ≥880: seções curtas em par 2×2 (feedback do dono); largas (Motor c/
   medidores, checklists) ocupam a linha toda — sem mosaico desequilibrado */
@media (min-width: 880px) {
  .secgrid { grid-template-columns: 1fr 1fr; gap: 48px clamp(28px, 4vw, 48px); }
  .secgrid > .seccard.wide { grid-column: 1 / -1; }
}

.seccard {
  padding: 0; min-width: 0;
}
/* régua horizontal editorial: a faixa de tinta que abria o card vira a
   linha forte de topo da seção, na largura toda do documento */
.secgrid > .seccard { border-top: 2px solid var(--text); }
.seccard h2 {
  font-size: 21px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--text);
  margin: 14px 0 6px; display: flex; align-items: baseline; gap: 12px;
}
.seccard h2 .idx {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 12px; color: var(--text-3); font-weight: 600;
}

/* medidores do motor contra o acervo: sem o número grande (o chip do hero
   já o comunica) — rótulo à esquerda, bruto + percentil à direita, barra */
.meters { display: grid; gap: 14px; margin: 6px 0 10px; }
.meter-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.meter .mk {
  font-size: 13px; font-weight: 600;
  color: var(--text-2); text-align: left;
}
.meter-bar {
  margin-top: 7px; height: 4px; border-radius: 99px;
  background: var(--surface-3); overflow: hidden;
}
.meter-bar > span {
  display: block; height: 100%; width: var(--fill, 50%);
  border-radius: inherit;
  background: var(--acc);
}
.meter-frase {
  margin: 0; font-family: var(--mono); font-size: 11.5px;
  color: var(--text-3); letter-spacing: 0.01em; text-align: right;
}

/* specs em tabela-documento com leader dots: hairline sólida entre linhas,
   valor em mono SÓ quando numérico (classe .numv do template) */
.specrow {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0;
}
.specrows > * + * { border-top: 1px solid var(--line); }
.specrow .lbl { color: var(--text-2); font-size: 14px; flex-shrink: 0; max-width: 58%; }
.specrow .dots { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); min-width: 12px; }
.specrow .val {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--text); text-align: right;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 55%;
}
.specrow .val.numv { font-family: var(--mono); }
.specrow .val.na { color: var(--text-3); font-weight: 400; }

/* valor que não cabe no dots leader (classificado no view-model): bloco de
   largura total — rótulo miúdo em cima, valor quebra quantas linhas precisar.
   Nunca mistura alturas diferentes com dots leader (formato rejeitado no v21) */
.specrow.long { display: block; padding: 9px 0 10px; }
.specrow.long .lbl {
  display: block; max-width: 100%; margin-bottom: 3px;
  font-size: 11px; font-weight: 600;
  color: var(--text-3);
}
.specrow.long .val {
  display: block; max-width: 100%; text-align: left;
  white-space: normal; overflow: visible; text-overflow: clip;
  line-height: 1.5; overflow-wrap: anywhere;
}

/* equipamentos de série: no site original é tabela de checkbox em 2
   colunas — aqui, grid de checklist com checkmark accent por item */
.eqgrid {
  list-style: none; margin: 2px 0 4px; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 2px 22px;
}
.eqitem {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 2px; min-width: 0;
}
.eqcheck {
  flex: 0 0 auto; width: 15px; height: 15px; margin-top: 3px;
  border: 1.5px solid var(--acc); border-radius: 4px;
  background: var(--acc-dim); position: relative;
}
.eqcheck::after {  /* o ✓ do checkbox — desenho puro, sem glyph */
  content: ""; position: absolute; left: 4px; top: 1px;
  width: 4px; height: 8px;
  border: solid var(--acc-text); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.eqtxt {
  font-size: 14px; line-height: 1.45; color: var(--text);
  overflow-wrap: anywhere;
}
@media (min-width: 720px) {
  .eqgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 719px) {
  /* mono 13px: 20 chars (corte do specrow) cabem sem ellipsis até no 360px */
  .specrow .val { font-size: 13px; }
  /* labels longos tambem podem quebrar em 390px */
  .specrow .lbl { max-width: 70%; }
  /* meter: a frase (bruto + percentil) empilha sob o rótulo em vez de
     quebrar órfã alinhada à direita */
  .meter-top { flex-direction: column; align-items: flex-start; gap: 3px; }
  .meter-frase { text-align: left; }
}

/* campos sem dado — nota de rodapé do documento: recolhíveis, conteúdo no
   HTML p/ SEO, sem caixa (hairline tracejada abre o bloco) */
.vazias {
  margin-top: clamp(36px, 6vw, 48px); padding: 12px 0 0;
  border-top: 1px dashed var(--line-2);
}
.vazias summary {
  cursor: pointer; font-size: 11px; font-weight: 600;
  color: var(--text-3);
}
.vazias ul {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  list-style: none; margin: 8px 0 2px; padding: 0;
}
.vazias li { font-family: var(--mono); font-size: 12px; color: var(--text-3); }

/* fotos */
.ficha-fotos { margin-top: 30px; }
/* vídeos: mesmo respiro de documento dos blocos auxiliares */
.ficha-videos { margin-top: clamp(44px, 7vw, 64px); }
.fotorow { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
.fotocard {
  position: relative; aspect-ratio: 16/9; margin: 0;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--surface-2); cursor: zoom-in;
}
.fotocard:focus-visible { outline-offset: -3px; }
.fotocard::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, transparent 30%, var(--line) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}
.fotocard img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.fotocard:hover img { filter: brightness(1.06); }

/* contexto */
.contexto { margin-top: clamp(44px, 7vw, 64px); display: grid; gap: 20px; }
.h-min {
  font-size: 16px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--text); margin: 0 0 4px;
}
.sobre p {
  margin: 0 0 10px; max-width: 74ch;
  font-size: 15.5px; line-height: 1.68; color: var(--text-2);
}
.sobre p:last-child { margin-bottom: 0; }
.rivais-note { margin: 0 0 10px; font-size: 13px; }
.marca-link { justify-self: start; font-size: 14px; }

.seqnav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 4px;
}
.seqnav a {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  min-width: 0;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.seqnav a:hover { border-color: var(--acc); transform: translateY(-2px); }
.seqnav a:only-child { grid-column: 1 / -1; }
.seqnav .dir {
  font-size: 9.5px; font-weight: 600;
  color: var(--text-3);
}
.seqnav .nome {
  font-weight: 700; font-size: 14px; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.seqnav .next { align-items: flex-end; text-align: right; }

/* mobile: empilha anterior/próxima; cada um vira linha label <-> nome */
@media (max-width: 719px) {
  .seqnav { grid-template-columns: 1fr; }
  .seqnav a { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; }
  .seqnav a:only-child { grid-column: auto; }
  .seqnav .next { flex-direction: row-reverse; align-items: center; text-align: left; }
}

/* rivais (contexto da ficha) */
.bloco-rivais { min-width: 0; }
.relrow { display: grid; grid-template-columns: 1fr; gap: 8px; }
.relchip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 48px; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 11px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.relchip:hover { border-color: var(--acc); transform: translateY(-2px); }
.relchip .name { font-weight: 700; font-size: 14px; }
.relchip .relano { color: var(--text-3); font-weight: 400; }
.relchip .count { font-size: 12px; color: var(--text-3); flex: 0 0 auto; }

/* FAQ da ficha (mesmo conteúdo do JSON-LD FAQPage) */
.bloco-faq { min-width: 0; }
.faqitem {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 11px; margin-top: 8px;
}
.faqitem summary {
  display: flex; align-items: center; min-height: 44px;
  padding: 10px 14px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 14px;
}
.faqitem summary::-webkit-details-marker { display: none; }
.faqitem summary::after {
  content: "+"; margin-left: auto; color: var(--text-3);
  font-size: 18px; font-weight: 400; flex: 0 0 auto;
}
.faqitem[open] summary::after { content: "–"; }
.faqitem p {
  margin: 0; padding: 0 14px 12px; font-size: 13.5px;
  color: var(--text-2); line-height: 1.55;
}

/* FAQ da home — seção "Perguntas" (accordion + input inline p/ o Wikinho).
   Os 6 itens usam o .faqitem da ficha acima; aqui vive só o layout da
   seção (2 colunas no desktop) + o input + a resposta inline. Pontinhos de
   "digitando" (wk-typing), fontes (wk-srcs) e markdown (wk-md-*) vêm do
   assistant.css/md-render.css — já globais, já tem light/dark. */
.faqsec { margin-top: clamp(34px, 6vw, 64px); }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.faq-lede {
  margin: 0; max-width: 34ch;
  color: var(--text-2); font-size: 15px; line-height: 1.55;
}
.faq-body { min-width: 0; }

/* input inline: mesma linguagem do bigsearch (input) + wk-send (botão) */
.faq-ask { display: flex; align-items: stretch; gap: 8px; margin-top: 16px; }
.faq-ask input {
  flex: 1 1 auto; min-width: 0; min-height: 52px;
  padding: 12px 16px;
  font: 600 16px var(--font-body);  /* 16px: sem auto-zoom no iOS */
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 12px;
}
.faq-ask input::placeholder { color: var(--text-3); font-weight: 500; }
.faq-ask input:focus {
  outline: none; border-color: var(--acc);
  box-shadow: 0 0 0 4px var(--acc-dim);
}
.faq-send {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; flex: 0 0 auto;   /* alvo de toque >=40px */
  border-radius: 12px;
  background: var(--acc);
  color: var(--btn-ink);
  border: 1px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  touch-action: manipulation; /* sem zoom por double-tap */
  transition: transform 0.15s ease, filter 0.15s ease;
}
.faq-send svg { width: 22px; height: 22px; }
.faq-send:hover { transform: translateY(-1px); filter: brightness(1.06); }
.faq-send:active { transform: none; filter: none; }

/* chips de exemplo abaixo do input (mesma linguagem dos wk-sug do
   widget): clicar preenche e submete pelo mesmo fluxo (faq-ask.js) */
.faq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.faq-chip {
  min-height: 40px; padding: 9px 14px;   /* alvo de toque >=40px */
  font: 600 13.5px var(--font-body);
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  cursor: pointer;
  touch-action: manipulation; /* sem zoom por double-tap */
  transition: color 0.15s ease, border-color 0.15s ease;
}
.faq-chip:hover { color: var(--text); border-color: var(--acc); }

/* consumo restante do dia, discreto, junto do input */
.faq-left {
  margin: 8px 2px 0; text-align: right;
  font-size: 11px; font-weight: 600;
  color: var(--text-3);
}

/* resposta inline: caixa da superfície; markdown + fontes dentro */
.faq-out { margin-top: 14px; }
.faq-a {
  padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px; line-height: 1.55; color: var(--text);
  overflow-wrap: break-word;
}
.faq-a .wk-srcs { margin-top: 12px; }
.faq-err {
  padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--bad);
  border-radius: 12px; color: var(--text); font-size: 14px;
}

/* desktop (mesmo corte da nav inline): intro à esquerda, FAQ à direita */
@media (min-width: 880px) {
  .faq-grid { grid-template-columns: minmax(220px, 320px) 1fr; gap: 48px; }
}

/* CTA "Pergunte ao Wikinho sobre o <carro>" na ficha: card é uma seccard
   entre as specs e os vídeos; as classes do input/chips/contador/resposta
   são as do FAQ da home acima (globais). O wrapper .fask só ajusta o
   spacing dentro da seccard e dá voz ao subtítulo de 1 linha. */
.fask-sub {
  margin: -2px 0 0; max-width: 62ch;
  font-size: 13.5px; line-height: 1.55; color: var(--text-2);
}
.fask .faq-chips { margin-top: 14px; }
.fask .faq-left { margin-bottom: 0; }
.fask .faq-out { margin-bottom: 2px; }

/* ------------------------------------------------ comparador */

.cmp-hint { margin-top: -4px; font-size: 13.5px; }

.cmptable-wrap {
  overflow-x: auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
table.cmptable { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmptable th, .cmptable td { padding: 10px 14px; text-align: left; vertical-align: top; }
.cmptable thead th {
  background: var(--surface-2); border-bottom: 1px solid var(--line-2);
  font-size: 14.5px; font-weight: 700;
}
/* 1ª coluna fixa no scroll horizontal */
.cmptable thead th:first-child, .cmptable td.lbl {
  position: sticky; left: 0; z-index: 2;
  background: var(--surface-2);
  min-width: 128px; max-width: 168px;
}
.cmptable thead .brandline { font-size: 10px; font-weight: 700; letter-spacing: 0.01em; display: block; }
.cmptable thead .cname { display: block; margin-top: 2px; }
.cmptable thead a:hover .cname { color: var(--acc-text); }
.cmptable thead .sub { display: block; font-family: var(--mono); font-size: 12px; color: var(--text-3); font-weight: 400; margin-top: 3px; }
.cmptable thead .rm {
  margin-top: 10px; min-height: 36px; font-size: 11px; color: var(--text-3);
  background: none; border: 1px solid var(--line-2); border-radius: 6px;
  padding: 4px 10px; cursor: pointer; letter-spacing: 0.06em;
}
.cmptable thead .rm:hover { color: var(--bad); border-color: var(--bad); }

.cmptable .secrow td {
  background: var(--surface-2);
  font-size: 13px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--acc-text); padding: 8px 14px;
  border-top: 1px solid var(--line);
}
.cmptable td.lbl { color: var(--text-2); }
.cmptable td.val { font-family: var(--mono); font-size: 13.5px; }
.cmptable td.val.na { color: var(--text-3); }
.cmptable td.val.best {
  color: var(--good); font-weight: 600;
  box-shadow: inset 3px 0 0 var(--good);
}
.cmptable td.val.best::after { content: " ▲"; font-size: 10px; }
.cmptable td.val.best.lower::after { content: " ▼"; }

/* empty state */
.empty {
  text-align: center; padding: 48px 18px; color: var(--text-2);
  border: 1px dashed var(--line-2); border-radius: var(--radius);
}
.empty .big { font-size: 38px; display: block; margin-bottom: 10px; }
.empty .btn { margin: 6px 6px 0; }

/* ------------------------------------------------ barra flutuante do comparador */

.cmpbar {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 60;
  display: flex; align-items: center; gap: 10px;
  max-width: min(94vw, 780px);
  padding: 10px 12px;
  background: var(--topbar-bg); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--acc); border-radius: 14px;
  box-shadow: var(--shadow);
}
.cmpbar[hidden] { display: none; }
.cmpbar .cmpchips { display: flex; gap: 6px; flex-wrap: wrap; }
.cmpchip {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px;
  font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: 8px;
  background: var(--surface-3); border: 1px solid var(--line-2);
  color: var(--text-2); cursor: pointer;
  max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cmpchip:hover { color: var(--bad); border-color: var(--bad); }
.cmpbar .btn { padding: 10px 16px; font-size: 12px; white-space: nowrap; }
.cmpbar .clear {
  min-height: 40px; background: none; border: none; color: var(--text-3);
  cursor: pointer; font-size: 12px; letter-spacing: 0.06em; padding: 8px;
}
.cmpbar .clear:hover { color: var(--text); }

/* estado de carregamento (JS) */
.loading { text-align: center; color: var(--text-3); padding: 60px 0; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* toast */
.flash {
  position: fixed; bottom: 88px; left: 50%; transform: translateX(-50%);
  z-index: 70;
  background: var(--surface-3); color: var(--acc-text);
  border: 1px solid var(--acc); border-radius: 10px;
  padding: 10px 18px; font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0; transition: opacity 0.25s;
  pointer-events: none; max-width: 90vw; text-align: center;
}

/* 404 */
.notfound .big { font-size: 46px; letter-spacing: 0.1em; }

/* ============================================================
   ≥720px — tablet: grid de 2 colunas, busca em linha
   ============================================================ */
@media (min-width: 720px) {
  .view { padding-bottom: 100px; }

  .bigsearch form { flex-direction: row; }
  .bigsearch input[type="search"] { min-height: 56px; padding: 14px 22px; font-size: 17px; }
  .sugbox { left: 0; right: auto; min-width: min(560px, 100%); }

  .statrow { grid-template-columns: repeat(4, 1fr); }
  .brandgrid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); }
  .brandgrid .chip { min-height: 48px; }
  .brandtools { max-width: none; }
  .homelogos { gap: 8px 18px; }

  .toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; padding: 14px 16px; }
  .toolbar label { flex: 0 1 auto; }
  .toolbar select, .toolbar input { min-width: 118px; }
  .toolbar .btn { grid-column: auto; }
  .toolbar .spacer { display: block; flex: 1; }

  .cardgrid { grid-template-columns: repeat(2, 1fr); }

  .hf-chips { grid-template-columns: repeat(3, 1fr); }
  .hf-media { min-height: clamp(430px, 62vh, 620px); }

  .fotorow { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .relrow { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ≥880px — nav vira barra inline, hamburger some
   ============================================================ */
@media (min-width: 880px) {
  .menu-btn { display: none; }
  .logo { flex: 0 0 auto; }
  .topnav {
    position: static; display: flex; flex-direction: row; gap: 4px;
    margin-left: auto; margin-right: 8px;
    background: none; border: none; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .topnav a {
    min-height: 44px; padding: 10px 16px; border-radius: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
    color: var(--text-2); border-top: none;
    align-items: center; justify-content: center;
  }
  .topnav a:hover { color: var(--text); background: var(--surface-2); }
  .topnav a[aria-current] {
    color: var(--acc-text); background: var(--acc-dim);
    box-shadow: none;
    border: 1px solid var(--acc);
  }
}

/* ============================================================
   ≥1080px — desktop: grid de 3 colunas
   ============================================================ */
@media (min-width: 1080px) {
  .cardgrid { grid-template-columns: repeat(3, 1fr); }
  .hf-chips { grid-template-columns: repeat(6, 1fr); }
  .relrow { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { justify-content: space-between; text-align: left; }
  .footer-id { align-items: flex-start; }
  .footer-nav { justify-content: flex-end; }
  .footer-note { margin: 0; }
  .footer-credit { justify-content: space-between; }
}

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

/* ============================================================
   ≤480px — mobile 390px: grid de marcas em 2 colunas
   ============================================================ */
@media (max-width: 480px) {
  .brandcards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brandcard { min-height: 132px; padding: 12px 6px 10px; }
  .bc-logo { width: 100%; }  /* 2 colunas estreitas: centro do card */
  .homelogos { gap: 6px 10px; }
}

/* ── v2.5: videos — facade (thumb + play), iframe do YT só no clique via
   data-ytplay (app.js); mesmo componente do catálogo, mas fora do .card
   então as regras do facade vivem aqui ── */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px;
}
.video-grid .videoframe {
  position: relative; display: block; width: 100%; padding: 0; cursor: pointer;
  aspect-ratio: 16/9;
  border: 0; border-radius: 4px; overflow: hidden;
  background: #000;
}
.video-grid .videoframe img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, 0.10); outline-offset: -1px;
}
[data-theme="light"] .video-grid .videoframe img { outline-color: rgba(0, 0, 0, 0.10); }
.video-grid .videoframe iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-grid .videoframe .playbtn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(29, 26, 21, 0.72); color: #fff;
}
.video-grid .videoframe:hover .playbtn { background: var(--acc); }

/* ── hubs de modelo (/carro/<marca>/<modelo>) ── */
.vtable { width: 100%; border-collapse: collapse; }
.vtable th {
  text-align: left; font-size: 10.5px; font-weight: 600;
  color: var(--text-3);
  padding: 2px 10px 9px 0; border-bottom: 1px solid var(--line);
}
.vtable td {
  padding: 8px 10px 8px 0; border-bottom: 1px dotted var(--line);
  font-size: 14px; color: var(--text-2); vertical-align: baseline;
}
.vtable tbody tr:last-child td { border-bottom: 0; }
.vtable tbody tr:hover td { background: var(--surface-2); }
.vtable td:first-child { padding-left: 6px; }
.vtable th:first-child { padding-left: 6px; }
.vtable a { color: var(--text); font-weight: 600; }
.vtable a:hover { color: var(--acc-text); }
.vtable .c-ano { white-space: nowrap; width: 56px; }
.vtable .c-preco { white-space: nowrap; width: 168px; text-align: right; }
.vtable th.c-preco { text-align: right; }
.vtable-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; }
@media (max-width: 640px) {
  .vtable .c-preco { width: auto; }
  .vtable td .dim { display: none; }  /* "da época" cabe só com folga */
}

/* blocos de internal linking na ficha (outras versões / gostar) — mesmo
   header editorial dos blocos auxiliares: hairline + h2 já estilizado */
.hubbloco { margin-top: clamp(44px, 7vw, 64px); }
.hubbloco .relrow { margin-top: 8px; }

/* headers editoriais dos blocos auxiliares da ficha (o .h-sec global da
   home não ganha hairline — escopo é só os wrappers da ficha) */
.hubbloco .h-sec, .ficha-videos .h-sec, .contexto .h-sec {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* CTA Wikinho: seccard fora do secgrid — hairline (não a régua de tinta
   das seções de specs) + a medida do documento */
.seccard.fask {
  margin-top: clamp(44px, 7vw, 64px);
  border-top: 1px solid var(--line);
}
.seccard.fask h2 { margin-top: 14px; }

/* ── hub price chart v3: "Preço por ano" (/carro/<marca>/<modelo>) — SVG
   server-side inline no template, zero JS/lib de gráfico. Linha de
   mediana + pontos (último em accent) + banda min→max; labels diretos de
   valor no lugar de eixo Y. O tema sai de graça: o SVG inline herda as
   custom properties (light/dark). Sem hover nem transição — o <title>
   nativo do circle basta. ── */
.pricechart { display: block; width: 100%; height: auto; margin-top: 14px; }
.pricechart .band { fill: var(--text); fill-opacity: .07; }
.pricechart .floor { stroke: var(--text); stroke-opacity: .25; stroke-width: 1; }
.pricechart .medline {
  fill: none; stroke: var(--text); stroke-width: 2;
  stroke-linejoin: round; stroke-linecap: round;
}
/* ponto "vazado": fill da cor do papel deixa a banda/linha passarem por
   baixo do contorno — mesmo truque do mockup */
.pricechart .dot { fill: var(--bg); stroke: var(--text); stroke-width: 2; }
.pricechart .dot.last { fill: var(--acc); stroke: var(--acc); }
.pricechart text {
  fill: var(--text-3); font-family: var(--mono); font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.pricechart .vlab { font-size: 11.5px; font-weight: 600; fill: var(--text); }
.pricechart .xlab { fill: var(--text-3); }
.chartnote { font-size: 12.5px; color: var(--text-3); margin: 10px 0 0; }

/* mobile: o viewBox escala o SVG a ~0,5x e os 11px de fonte viriam ~6px
   de tela — sobe a fonte nas unidades do viewBox (labels legíveis ~11px
   renderizados). Eixo Y não existe na v3: labels diretos carregam os
   valores junto dos pontos. */
@media (max-width: 720px) {
  .pricechart text { font-size: 20px; }
}

/* ── página de marca (/carros/<marca>): hero + régua de anos (navegação
   ano → modelo → versão; os níveis 2/3 de /carros/<marca>/<ano> reusam
   .bp-hero.sm e a lista editorial .bp-fam*). Classes próprias .bp-* —
   nada reutilizado dos cards de /marcas (outra lane). Hover restraint:
   transição só de cor/borda, sem lift/sombra. ── */
.bp-hero { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.bp-hero .h-page { margin: 0; }
.bp-hero-txt { min-width: 0; }
.bp-stats { color: var(--text-2); font-size: 14.5px; margin: 6px 0 0; }
.bp-stats strong { color: var(--text); font-weight: 600; }
/* logo do hero maior que o tile default (40px); iniciais acompanham */
.bp-hero .bl.si { width: 56px; height: 56px; }
.bp-hero .bl.none { width: 56px; height: 56px; font-size: 20px; border-radius: 12px; }

/* famílias: lista editorial em hairlines (sem caixa) — 2 colunas ≥880px;
   reusada pelos modelos do ano (nível 2) e versões (nível 3) */
.bp-fams { margin-top: clamp(40px, 6vw, 56px); }
.bp-fams .h-sec {
  border-top: 1px solid var(--line); padding-top: 14px;
}
.bp-famlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.bp-fam {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
  padding: 11px 2px; border-bottom: 1px solid var(--line);
}
.bp-famname { font-weight: 700; font-size: 15px; color: var(--text); transition: color 0.12s ease; }
a.bp-famname:hover { color: var(--acc-text); text-decoration: underline; text-underline-offset: 3px; }
.bp-fammeta { color: var(--text-3); font-size: 12.5px; white-space: nowrap; }
.bp-famprice {
  margin-left: auto; white-space: nowrap;
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 12.5px; color: var(--text-2);
}

@media (min-width: 880px) {
  .bp-famlist { grid-template-columns: 1fr 1fr; column-gap: 44px; }
}

/* régua de anos da página de marca: grid de links-ano (só anos com fichas,
   ASC) — ano em destaque + contagem pequena; raio 8px aninhado, hover só
   de cor/borda (restraint, sem transform/sombra) */
.bp-years-sec { margin-top: clamp(40px, 6vw, 56px); }
.bp-years-sec .h-sec { border-top: 1px solid var(--line); padding-top: 14px; }
.bp-years {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
  margin-top: 18px;
}
.bp-year {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px;
  border: 1px solid var(--line-2); border-radius: 8px;
  text-align: center;
  transition: color 0.12s ease, border-color 0.12s ease;
}
.bp-year .y { font-weight: 700; font-size: 14.5px; color: var(--text); }
.bp-year .c { font-size: 11.5px; color: var(--text-3); }
.bp-year:hover {
  border-color: var(--acc);
  color: var(--acc-text);
  text-decoration: none;
}
.bp-year:hover .y { color: var(--acc-text); }

/* hero compacto dos níveis 2/3 (/carros/<marca>/<ano>[/<modelo>]): tile
   de logo de 40px (o default dos cards) em vez do 56px da página da marca */
.bp-hero.sm .bl.si { width: 40px; height: 40px; }
.bp-hero.sm .bl.none { width: 40px; height: 40px; font-size: 15px; border-radius: 10px; }

/* atalho do rodapé do nível 2 pro catálogo genérico pré-filtrado no ano */
.bp-allano { margin: 14px 0 0; font-size: 13px; }

/* ── polimento de craft (pós-lane marca-anos): ênfase tipográfica e
   micro-detalhes; nada estrutural, templates intocados ── */
.bp-years-sec .h-sec, .bp-fams .h-sec { border-top: 2px solid var(--text); }
.bp-year { background: var(--surface); position: relative; }
.bp-year .y { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bp-year::after {           /* outline interno no hover (assinatura craft) */
  content: ""; position: absolute; inset: 3px; border-radius: 5px;
  border: 1px solid transparent; transition: border-color 0.12s ease;
  pointer-events: none;
}
.bp-year:hover::after { border-color: color-mix(in srgb, var(--acc) 32%, transparent); }
.bp-hero.sm .h-page { font-size: clamp(24px, 5vw, 34px); }
.bp-fam { padding: 13px 2px; }
.bp-famname { font-size: 15.5px; }
.bp-famprice { color: var(--text); }

/* hero da marca: logo art segue o sistema mono da /marcas (grayscale em
   repouso; cor oficial volta no hover do logo, como nos cards) */
.bp-hero .bl.art {
  filter: grayscale(1);
  opacity: 0.66;
  transition: filter 0.15s ease, opacity 0.15s ease;
}
.bp-hero .bl.art:hover {
  filter: none;
  opacity: 1;
}

/* ── gráfico FIPE na ficha (lane fipe-grafico) — prefixo .fc-* ─────────
   Porta o visual do mockup validado (/home/rastrian/mockups/fipe-
   grafico.html): régua 2px de tinta + header baseline com nota e controles,
   SVG full-width do viewBox 860×260, tooltip monoespaçado invertido que
   segue a série (transition SÓ de opacity — hover restraint), rodapé com
   fonte. Cores 100% pelas vars dos 2 temas; nada hardcoded. */
.fc-sec {
  max-width: 920px; margin: 30px auto 0; min-width: 0;
}
.fc-head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  border-top: 2px solid var(--text); padding-top: 14px;
}
.fc-head .h-sec { margin: 0; font-size: 19px; }
.fc-note { color: var(--text-3); font-size: 12.5px; }
.fc-ctrl { margin-left: auto; display: flex; gap: 6px; }
.fc-btn {
  font: 600 12.5px var(--font-body); color: var(--text-2);
  background: transparent; border: 1px solid var(--line-2);
  border-radius: 6px; padding: 5px 10px; cursor: pointer;
  transition: color 0.12s ease, border-color 0.12s ease;
}
.fc-btn.on { color: var(--text); border-color: var(--text); }
.fc-btn:hover { color: var(--text); border-color: var(--acc); }
.fc-wrap { position: relative; margin-top: 14px; }
svg.fc-svg { width: 100%; height: auto; display: block; }
svg.fc-svg .fc-grid { stroke: var(--line); stroke-width: 1; }
svg.fc-svg .fc-gval,
svg.fc-svg .fc-year { fill: var(--text-3); font: 500 11px var(--mono); }
svg.fc-svg .fc-line { fill: none; stroke: var(--text-2); stroke-width: 1.8; }
svg.fc-svg .fc-area { fill: var(--acc-dim); stroke: none; }
svg.fc-svg .fc-dotlast { fill: var(--acc); }
svg.fc-svg .fc-hoverline { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 3; }
svg.fc-svg .fc-hoverdot { fill: var(--acc); stroke: var(--bg); stroke-width: 2; }
.fc-tip {
  position: absolute; pointer-events: none;
  background: var(--text); color: var(--bg);
  font: 600 12px var(--mono); padding: 5px 9px; border-radius: 5px;
  white-space: nowrap; transform: translate(-50%, -130%);
  opacity: 0; transition: opacity 0.1s ease;  /* nunca de posição */
}
.fc-foot {
  color: var(--text-3); font-size: 12px; margin-top: 8px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.fc-foot b { color: var(--text-2); font-weight: 600; }
