/* Alphaville On — design system "dark dashboard vivo"
   Paleta: fundo escuro profundo + verde-lima elétrico
   Tipografia: Space Grotesk (display) + Inter (texto) + JetBrains Mono (dados)
   Fonte única de verdade: todo o CSS público vive aqui. */

:root {
  /* superfícies */
  --bg: #0a0e14;
  --bg-raise: #0f1520;
  --bg-raise-2: #151d2b;
  --glass: rgba(255, 255, 255, .04);
  --line: rgba(148, 163, 184, .14);
  --line-strong: rgba(148, 163, 184, .26);

  /* texto */
  --text: #eef2f6;
  --text-dim: #94a1af;
  --text-faint: #5d6a77;

  /* marca */
  --lime: #c8f04a;
  --lime-bright: #d9ff66;
  --lime-dim: rgba(200, 240, 74, .13);
  --lime-glow: rgba(200, 240, 74, .32);

  /* semáforo de dados: subiu = ruim, caiu = bom */
  --good: #4ade80;
  --warn: #fbbf24;
  --bad: #ff6b5e;

  /* séries de gráfico — 10 cores distintas; as views ciclam (i % 10) + 1 */
  --c1: #c8f04a;
  --c2: #5eead4;
  --c3: #93c5fd;
  --c4: #f0abfc;
  --c5: #fda4af;
  --c6: #fb923c;
  --c7: #a5b4fc;
  --c8: #38bdf8;
  --c9: #fde047;
  --c10: #4ade80;

  --radius: 14px;
  --radius-lg: 20px;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); }
::selection { background: var(--lime); color: var(--bg); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 4px; }

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  background: rgba(10, 14, 20, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: var(--text); text-decoration: none; letter-spacing: -.02em;
}
.brand em { font-style: normal; color: var(--lime); }
.site-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.site-nav a {
  color: var(--text-dim); text-decoration: none;
  font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em;
  transition: color .15s;
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--lime); }

/* ---------- layout ---------- */
.site-main { min-height: 60vh; }
.container { max-width: 76rem; margin: 0 auto; padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 4vw, 3rem); }

.section-title {
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  text-transform: uppercase; letter-spacing: .2em; color: var(--text);
  display: flex; align-items: center; gap: .8rem; margin: 0 0 1.5rem;
}
.section-title::before { content: ""; width: 1.4rem; height: 2px; background: var(--lime); border-radius: 2px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(110vmax 60vmax at 80% -20%, var(--lime-dim), transparent 52%),
    radial-gradient(80vmax 80vmax at 8% 115%, rgba(94, 234, 212, .06), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-inner { padding: clamp(3rem, 8vh, 6rem) 1.5rem clamp(2.5rem, 6vh, 4rem); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em; color: var(--lime);
}
.hero-kicker::before { content: ""; width: 2rem; height: 1px; background: var(--lime); }
.hero-title {
  font-family: var(--font-display); font-weight: 500; line-height: 1.02; letter-spacing: -.03em;
  font-size: clamp(2.5rem, 6.5vw, 5rem); margin: 1rem 0 1.1rem; max-width: 16ch; color: var(--text);
}
.hero-title em { font-style: normal; color: var(--lime); }
.hero-title strong { font-weight: 700; }
.hero-sub { max-width: 46ch; color: var(--text-dim); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.65; }

/* ---------- busca de preços (hero + página de preços) ---------- */
.pricebox { margin-top: 2rem; max-width: 40rem; }
.pricebox-field, .pf-search {
  display: flex; align-items: center; gap: .75rem;
  background: var(--bg-raise); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: .85rem 1.1rem; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.pricebox-field:focus-within, .pf-search:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-dim), 0 18px 50px -28px var(--lime-glow);
}
.pricebox-field input, .pf-search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: 1.05rem; font-family: var(--font-body); color: var(--text);
}
.pricebox-field input::placeholder, .pf-search input::placeholder { color: var(--text-faint); }
.pricebox-field svg, .pf-search svg { color: var(--lime); flex-shrink: 0; }

.spin {
  width: 18px; height: 18px; border: 2px solid var(--lime-dim);
  border-top-color: var(--lime); border-radius: 50%;
  animation: spin .7s linear infinite;
}
.htmx-indicator { opacity: 0; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.pricebox-results:not(:empty), .pf-results:not(:empty) {
  margin-top: .75rem; background: var(--bg-raise);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8);
}
.pf-search { max-width: 38rem; }
.pf-results:not(:empty) { margin: .75rem 0 1rem; max-width: 38rem; }
.price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--text);
  transition: background .15s;
}
.price-row:hover { background: var(--glass); }
.price-row:last-child { border-bottom: 0; }
.price-row .pr-left { display: flex; align-items: center; gap: .7rem; }
.price-row .pr-thumb {
  width: 40px; height: 40px; object-fit: contain; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; flex-shrink: 0;
}
.price-row .pr-name { font-weight: 600; }
.price-row .pr-unit { color: var(--text-dim); font-size: .8rem; }
.price-row .pr-best { text-align: right; }
.price-row .pr-value { font-family: var(--font-mono); font-weight: 700; font-size: 1.15rem; color: var(--lime); }
.price-row .pr-where { font-size: .78rem; color: var(--text-dim); }
.price-empty { padding: 1rem 1.1rem; color: var(--text-dim); }

/* ---------- widgets (home) ---------- */
.widgets {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
  margin-top: -1.5rem; position: relative; z-index: 2;
}
@media (min-width: 720px) { .widgets { grid-template-columns: 1fr 1.4fr; } }
.widget, .poll {
  background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.3rem 1.5rem;
  box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .9);
  text-decoration: none; color: inherit;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.widget:hover {
  transform: translateY(-3px); border-color: var(--line-strong);
  box-shadow: 0 28px 70px -38px var(--lime-glow);
}
.widget-tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em; color: var(--lime);
  background: var(--lime-dim); border-radius: 999px; padding: .25rem .7rem;
}
.widget-index { display: flex; flex-direction: column; gap: .45rem; }
.widget-big {
  font-family: var(--font-mono); font-weight: 700; font-size: 3rem;
  color: var(--lime); line-height: 1; text-shadow: 0 0 32px var(--lime-glow);
}
.widget-foot { color: var(--text-dim); font-size: .82rem; }

.traffic-list { list-style: none; margin: .8rem 0 0; padding: 0; }
.traffic-list li {
  display: flex; justify-content: space-between; align-items: center; gap: .6rem;
  padding: .5rem 0; border-bottom: 1px solid var(--line);
}
.traffic-list li:last-child { border-bottom: 0; }
.tr-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--text-faint); }
.tr-dot.tr-good { background: var(--good); box-shadow: 0 0 10px var(--good); }
.tr-dot.tr-warn { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.tr-dot.tr-bad  { background: var(--bad);  box-shadow: 0 0 10px var(--bad); }
.tr-name { font-size: .92rem; flex: 1; color: var(--text); }
.tr-time { font-family: var(--font-mono); font-weight: 600; color: var(--text); white-space: nowrap; }
.tr-time.tr-good { color: var(--good); }
.tr-time.tr-warn { color: var(--warn); }
.tr-time.tr-bad  { color: var(--bad); }
.tr-idle { color: var(--text-faint); }

/* ---------- enquete ---------- */
.poll-q { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: .7rem 0 1rem; color: var(--text); }
.poll-form { display: flex; flex-direction: column; gap: .55rem; }
.poll-choice {
  text-align: left; background: var(--glass); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; padding: .7rem 1rem;
  font-size: .98rem; font-family: var(--font-body); cursor: pointer; transition: .15s;
}
.poll-choice:hover { border-color: var(--lime); background: var(--lime-dim); }
.poll-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.poll-bar-row { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: .25rem; }
.poll-opt { color: var(--text); }
.poll-pct { font-family: var(--font-mono); font-weight: 600; color: var(--lime); }
.poll-bar { height: 8px; background: var(--glass); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.poll-bar span { display: block; height: 100%; background: var(--lime); border-radius: 5px; transition: width .5s; }
.poll-total { font-size: .8rem; color: var(--text-dim); margin-top: .9rem; }

/* ---------- notícias: destaque ---------- */
.featured {
  display: grid; gap: 1.5rem; margin-bottom: 2.5rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) { .featured { grid-template-columns: 3fr 2fr; align-items: center; } }
.featured img {
  border-radius: var(--radius); border: 1px solid var(--line);
  aspect-ratio: 16/9; object-fit: cover; width: 100%;
}
.featured h2 {
  font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem); margin: .4rem 0 .7rem;
}
.featured h2 a { color: var(--text); text-decoration: none; transition: color .15s; }
.featured h2 a:hover { color: var(--lime); }
.featured .lead { color: var(--text-dim); font-size: 1.05rem; margin: 0; }

/* ---------- notícias: cards ---------- */
.article-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.card { display: flex; flex-direction: column; gap: .5rem; }
.card img {
  border-radius: var(--radius); border: 1px solid var(--line);
  aspect-ratio: 16/10; object-fit: cover; width: 100%;
  transition: transform .2s, border-color .2s;
}
.card a:hover img { transform: translateY(-3px); border-color: var(--line-strong); }
.card h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  line-height: 1.3; letter-spacing: -.01em; margin: .2rem 0;
}
.card h3 a { color: var(--text); text-decoration: none; transition: color .15s; }
.card h3 a:hover { color: var(--lime); }
.card .lead { color: var(--text-dim); font-size: .9rem; margin: 0; }

.kicker {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--lime); text-decoration: none;
}
.byline { font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); }

/* ---------- artigo ---------- */
.article-page { max-width: 46rem; }
.article-page h1 {
  font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.025em;
  font-size: clamp(1.9rem, 4.5vw, 3rem); margin: .5rem 0 1rem; color: var(--text);
}
.article-page .lead { font-size: 1.15rem; color: var(--text-dim); margin: 0 0 1.5rem; }
.article-page .cover { border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 1.5rem; }
.prose { color: var(--text); }
.prose p { margin: 0 0 1.1rem; }
.prose h1, .prose h2, .prose h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; margin: 1.8rem 0 .8rem; color: var(--text); }
.prose ul { padding-left: 1.2rem; }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); }
.source-note {
  margin-top: 2rem; padding: 1rem 1.2rem;
  background: var(--glass); border: 1px solid var(--line); border-left: 3px solid var(--lime);
  font-size: .85rem; color: var(--text-dim); border-radius: 0 var(--radius) var(--radius) 0;
}
.source-note a { color: var(--lime); }

/* ---------- paginação ---------- */
.pagination { display: flex; gap: .6rem; justify-content: center; margin-top: 2.5rem; font-size: .9rem; }
.pagination a, .pagination span {
  font-family: var(--font-mono);
  padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; color: var(--text-dim); transition: .15s;
}
.pagination a:hover { border-color: var(--lime); color: var(--lime); }
.pagination .current { background: var(--lime); color: var(--bg); border-color: var(--lime); font-weight: 700; }

/* ---------- página de preços ---------- */
.pf-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2rem; }
.pf-chip {
  background: var(--glass); color: var(--text-dim);
  border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem;
  font-size: .85rem; cursor: pointer; font-family: var(--font-body); transition: .15s;
}
.pf-chip:hover { border-color: var(--lime); color: var(--text); }
.pf-chip.is-active { background: var(--lime); color: var(--bg); border-color: var(--lime); font-weight: 600; }

.price-table {
  width: 100%; border-collapse: collapse; font-size: .92rem;
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.price-table th {
  text-align: left; padding: .65rem .8rem;
  background: var(--bg-raise-2); color: var(--text-dim);
  font-family: var(--font-mono); font-weight: 600; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .1em;
  border-bottom: 1px solid var(--line-strong);
}
.price-table td {
  font-family: var(--font-mono); font-size: .88rem;
  padding: .55rem .8rem; border-top: 1px solid var(--line);
  white-space: nowrap; vertical-align: middle; color: var(--text);
}
.price-table tbody tr { transition: background .15s; }
.price-table tbody tr:hover { background: var(--glass); }
.price-table .product-name { white-space: normal; min-width: 16rem; }
.prod { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.prod-thumb {
  width: 44px; height: 44px; flex-shrink: 0; object-fit: contain;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.prod-thumb--ph { display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: var(--glass); }
.prod-info { display: flex; flex-direction: column; gap: .1rem; }
.prod-nm { font-family: var(--font-body); color: var(--text); font-weight: 500; line-height: 1.25; transition: color .15s; }
.prod:hover .prod-nm { color: var(--lime); }
.prod-save { font-family: var(--font-mono); font-size: .7rem; color: var(--good); font-weight: 600; }
.was { display: block; font-size: .72rem; color: var(--bad); text-decoration: line-through; line-height: 1; opacity: .8; }
.best-price { color: var(--lime); font-weight: 700; }
.best-price::after { content: " ●"; font-size: .6rem; vertical-align: middle; }
.na { color: var(--text-faint); }

/* ---------- histórico de produto ---------- */
.ph-wrap { max-width: 52rem; }
.ph-back { color: var(--text-dim); text-decoration: none; font-size: .85rem; font-family: var(--font-mono); }
.ph-back:hover { color: var(--lime); }
.ph-head { display: flex; align-items: center; gap: 1rem; margin: .8rem 0 .3rem; }
.ph-thumb {
  width: 72px; height: 72px; object-fit: contain; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); flex-shrink: 0;
}
.ph-title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 .3rem; color: var(--text);
}
.ph-sub { color: var(--text-dim); margin: 0 0 1.6rem; }
.ph-chart {
  position: relative; background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1rem 1rem 1rem 4.2rem; margin-top: 1.4rem;
  box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .9);
}
.ph-svg { width: 100%; height: 220px; display: block; }
@media (max-width: 720px) {
  .ph-svg { height: 300px; }  /* mais alto no celular p/ as linhas não colarem */
  .ph-chart { padding-left: 3.4rem; }
  .tank-row { flex-direction: column; align-items: stretch; gap: .3rem; }
  .tank-label { width: auto; text-align: left; }
  .tank-gas, .tank-eth { font-size: .62rem; padding: 0 .3rem; }
}
.ph-axis {
  position: absolute; left: .9rem; top: 1rem; bottom: 1rem;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--font-mono); font-size: .68rem; color: var(--text-faint);
}
.ph-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 4 6; }
.ph-legend { margin-top: 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.ph-line { display: flex; align-items: center; gap: .7rem; padding: .5rem .4rem; border-bottom: 1px solid var(--line); }
.ph-line:last-child { border-bottom: 0; }
.ph-line--best {
  background: var(--lime-dim); border: 1px solid var(--lime-glow); border-radius: 10px;
}
.ph-best-badge {
  font-family: var(--font-mono); font-size: .6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  background: var(--lime); color: var(--bg); border-radius: 999px;
  padding: .16rem .55rem; margin-left: .5rem; vertical-align: middle; white-space: nowrap;
}
.ph-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.ph-ret { flex: 1; font-weight: 600; color: var(--text); }
.ph-ret a { color: var(--text); text-decoration: none; }
.ph-ret a:hover { color: var(--lime); }
.ph-cur { font-family: var(--font-mono); font-weight: 600; color: var(--text); }
.ph-var { font-family: var(--font-mono); font-size: .85rem; min-width: 5rem; text-align: right; color: var(--text-dim); }
.ph-var.up { color: var(--bad); }
.ph-var.down { color: var(--good); }
.ph-note { font-size: .82rem; color: var(--text-dim); margin-top: 1.2rem; }

/* ---------- índice AlphaON ---------- */
.index-hero { margin: 1rem 0 2.5rem; }
.index-main { display: flex; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; }
.index-value {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(4rem, 12vw, 8rem); color: var(--lime); line-height: 1;
  text-shadow: 0 0 48px var(--lime-glow);
}
.index-deltas { display: flex; flex-direction: column; gap: .3rem; }
.delta { font-family: var(--font-mono); font-weight: 600; font-size: 1.1rem; color: var(--text-dim); }
.delta small {
  font-family: var(--font-body); font-weight: 400; font-size: .72rem;
  color: var(--text-faint); text-transform: uppercase; letter-spacing: .1em;
}
.delta.up { color: var(--bad); }
.delta.down { color: var(--good); }
.index-spark { width: 100%; max-width: 26rem; height: 60px; margin: 1rem 0 .5rem; display: block; }
.index-caption { color: var(--text-dim); font-size: .9rem; margin-top: .4rem; }
.sub-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); margin-bottom: 2.5rem; }
.sub-card {
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem; display: flex; flex-direction: column; gap: .3rem;
  transition: border-color .2s, transform .2s;
}
.sub-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.sub-key {
  font-family: var(--font-mono); font-size: .68rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--text-dim);
}
.sub-val { font-family: var(--font-mono); font-weight: 600; font-size: 1.5rem; color: var(--lime); }

/* ---------- registro / API ---------- */
.reg-wrap { max-width: 40rem; padding-top: 3rem; padding-bottom: 4rem; }
.reg-card, .reg-done {
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 2.2rem; box-shadow: 0 32px 80px -45px rgba(0, 0, 0, .9);
}
.reg-card h1, .reg-done h1 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem;
  line-height: 1.15; letter-spacing: -.02em; margin: .6rem 0 .5rem; color: var(--text);
}
.reg-sub { color: var(--text-dim); margin-bottom: 1.5rem; }
.reg-form { display: flex; flex-direction: column; gap: 1rem; }
.reg-field {
  display: flex; flex-direction: column; gap: .35rem;
  font-family: var(--font-mono); font-size: .74rem;
  text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim);
}
.reg-field input {
  padding: .75rem .9rem; background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 10px;
  font-size: 1rem; font-family: var(--font-body); text-transform: none; letter-spacing: 0;
  transition: border-color .15s, box-shadow .15s;
}
.reg-field input:focus { outline: 0; border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-dim); }
.reg-field select {
  padding: .75rem .9rem; background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 10px;
  font-size: 1rem; font-family: var(--font-body); text-transform: none; letter-spacing: 0;
}
.reg-field select:focus { outline: 0; border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-dim); }
.reg-field textarea {
  padding: .75rem .9rem; background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 10px;
  font-size: 1rem; font-family: var(--font-body); text-transform: none; letter-spacing: 0;
  resize: vertical; min-height: 7rem; line-height: 1.5;
}
.reg-field textarea:focus { outline: 0; border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-dim); }
.reg-field ul, .reg-field > div {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem;
  font-family: var(--font-body); text-transform: none; letter-spacing: 0;
  font-size: .95rem; color: var(--text);
}
.reg-field ul label, .reg-field > div label { display: flex; gap: .5rem; align-items: center; cursor: pointer; }
.reg-field input[type="radio"], .reg-field input[type="checkbox"] { accent-color: var(--lime); }
.reg-err { color: var(--bad); font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.btn {
  display: inline-block; background: var(--lime); color: var(--bg);
  border: 0; border-radius: 10px; padding: .85rem 1.4rem;
  font-size: 1rem; font-weight: 700; font-family: var(--font-display);
  cursor: pointer; text-decoration: none; text-align: center; margin-top: .5rem;
  box-shadow: 0 12px 36px -14px var(--lime-glow);
  transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.reg-note { font-size: .82rem; color: var(--text-dim); margin-top: 1.2rem; }
.token-box {
  display: flex; gap: .5rem; align-items: center;
  background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: .8rem 1rem; margin: 1rem 0;
}
.token-box code { flex: 1; word-break: break-all; font-family: var(--font-mono); font-size: .9rem; color: var(--lime); }
.token-box button {
  background: var(--lime-dim); color: var(--lime); border: 1px solid var(--lime);
  border-radius: 7px; padding: .5rem .9rem; cursor: pointer; font-family: var(--font-body);
  transition: .15s;
}
.token-box button:hover { background: var(--lime); color: var(--bg); }
.reg-help { margin: 1rem 0; color: var(--text-dim); }
.reg-help pre {
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  padding: 1rem; border-radius: 10px; overflow-x: auto;
  font-family: var(--font-mono); font-size: .82rem;
}
.reg-help code { font-family: var(--font-mono); color: var(--lime); }

/* ---------- imóveis ---------- */
.re-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.re-card {
  display: flex; flex-direction: column;
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.re-card:hover {
  transform: translateY(-3px); border-color: var(--line-strong);
  box-shadow: 0 28px 70px -38px var(--lime-glow);
}
.re-card-cover { aspect-ratio: 16/10; object-fit: cover; width: 100%; border-bottom: 1px solid var(--line); }
.re-card-cover--ph {
  aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center;
  background: var(--bg-raise-2); color: var(--text-faint); font-size: 2rem;
  border-bottom: 1px solid var(--line);
}
.re-card-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; }
.re-card h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  line-height: 1.25; letter-spacing: -.01em; margin: .1rem 0; color: var(--text);
}
.re-badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.re-badge {
  font-family: var(--font-mono); font-size: .64rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  padding: .22rem .6rem; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); color: var(--text-dim);
}
.re-badge.st-launch { color: var(--lime); border-color: var(--lime); background: var(--lime-dim); }
.re-badge.st-construction { color: var(--warn); border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .1); }
.re-badge.st-ready { color: var(--good); border-color: rgba(74, 222, 128, .4); background: rgba(74, 222, 128, .1); }
.re-meta { font-size: .84rem; color: var(--text-dim); }
.re-price { font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; color: var(--lime); margin-top: .2rem; }
.re-price small { font-family: var(--font-body); font-weight: 400; color: var(--text-dim); }

.re-gallery { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); margin: 1.2rem 0 2rem; }
.re-gallery img, .re-plans img {
  border-radius: var(--radius); border: 1px solid var(--line);
  aspect-ratio: 4/3; object-fit: cover; width: 100%; background: var(--bg-raise);
}
.re-plans { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); margin: 1.2rem 0 2rem; }
.re-plans img { object-fit: contain; background: #fff; }
.re-figcaption { font-size: .78rem; color: var(--text-dim); margin-top: .35rem; font-family: var(--font-mono); }

.re-cta {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  background: var(--bg-raise); border: 1px solid var(--line); border-left: 3px solid var(--lime);
  border-radius: var(--radius); padding: 1.2rem 1.5rem; margin: 2.5rem 0;
}
.re-cta strong { font-family: var(--font-display); }
.re-cta p { margin: .2rem 0 0; color: var(--text-dim); font-size: .9rem; }

.broker-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.broker-card {
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem;
  transition: border-color .2s, transform .2s;
}
.broker-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.broker-head { display: flex; align-items: center; gap: .8rem; }
.broker-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover; border: 2px solid var(--lime);
}
.broker-avatar--ph {
  display: flex; align-items: center; justify-content: center;
  background: var(--lime-dim); color: var(--lime);
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
}
.broker-name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--text); }
.broker-agency { font-size: .8rem; color: var(--text-dim); }
.broker-creci { font-family: var(--font-mono); font-size: .72rem; color: var(--text-faint); letter-spacing: .06em; }
.broker-actions { display: flex; gap: .6rem; margin-top: .3rem; }
.broker-actions .btn { margin-top: 0; padding: .55rem 1rem; font-size: .88rem; flex: 1; }
.btn--ghost {
  background: var(--glass); color: var(--text); border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); filter: none; }

/* ---------- picker de empreendimentos (cadastro de corretor) ---------- */
.dev-picker { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.dev-group {
  border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem;
  background: var(--bg); margin: 0;
}
.dev-group legend {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--lime);
  padding: 0 .4rem;
}
.dev-option {
  display: flex; align-items: flex-start; gap: .5rem; padding: .3rem 0;
  font-size: .92rem; text-transform: none; letter-spacing: 0; color: var(--text); cursor: pointer;
}
.dev-option input { accent-color: var(--lime); margin-top: .2rem; flex-shrink: 0; }

/* ---------- footer ---------- */
.site-footer {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  margin-top: 3rem; padding: 1.6rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--text-faint); font-size: .85rem;
}
.site-footer a { color: var(--text-dim); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--lime); }

/* --- Super dashboard de comparação (/precos/) --- */
.cmp-dash { margin: 1.5rem 0 2.2rem; }
.cmp-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 1.2rem; }
.cmp-kpi { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; display: flex; flex-direction: column; gap: .25rem; }
.cmp-kpi--hot { border-color: var(--lime-glow); background: var(--lime-dim); }
.cmp-num { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 700; color: var(--lime); line-height: 1; }
.cmp-kpi--hot .cmp-num { color: var(--lime-bright); }
.cmp-lbl { font-size: .78rem; color: var(--text-dim); }
.cmp-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.2rem; }
@media (max-width: 860px) { .cmp-grid { grid-template-columns: 1fr; } }
.cmp-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.cmp-h2 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text); margin: 0; }
.cmp-sub { font-size: .78rem; color: var(--text-dim); margin: .2rem 0 1rem; }
.cmp-rank { display: grid; grid-template-columns: 8rem 1fr 2.5rem; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.cmp-rank-name { font-size: .85rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-rank-bar { height: 8px; background: var(--glass); border-radius: 999px; overflow: hidden; }
.cmp-rank-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--lime-dim), var(--lime)); border-radius: 999px; }
.cmp-rank-val { font-family: var(--font-mono); font-size: .82rem; color: var(--text-dim); text-align: right; }
.cmp-deals { display: flex; flex-direction: column; gap: .5rem; }
.cmp-deal { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; padding: .4rem; border-radius: 10px; transition: background .15s; }
.cmp-deal:hover { background: var(--glass); }
.cmp-deal img, .cmp-deal-ph { width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.cmp-deal-ph { display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: var(--bg-raise-2); }
.cmp-deal-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .12rem; }
.cmp-deal-nm { font-size: .84rem; color: var(--text); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-deal-pr { font-size: .74rem; color: var(--text-dim); }
.cmp-deal-pr s { color: var(--text-faint); }
.cmp-deal-save { font-family: var(--font-mono); font-weight: 700; font-size: .85rem; color: var(--good); white-space: nowrap; }

/* --- Explorador de produtos (/precos/) --- */
.exp-filters { margin: 1rem 0 1.2rem; display: flex; flex-direction: column; gap: .8rem; }
.exp-search { display: flex; align-items: center; gap: .7rem; background: var(--bg-raise); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .8rem 1.1rem; }
.exp-search svg { color: var(--lime); flex-shrink: 0; }
.exp-search input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 1.02rem; font-family: var(--font-body); }
.exp-search input::placeholder { color: var(--text-faint); }
.exp-controls { display: flex; flex-wrap: wrap; gap: .8rem; }
.exp-sel { display: flex; flex-direction: column; gap: .2rem; font-size: .72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; }
.exp-sel select { background: var(--bg-raise); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: .5rem .7rem; font-family: var(--font-body); font-size: .9rem; text-transform: none; letter-spacing: 0; }
.exp-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.exp-chip input { position: absolute; opacity: 0; pointer-events: none; }
.exp-chip span { display: inline-block; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-size: .85rem; color: var(--text-dim); cursor: pointer; transition: .15s; }
.exp-chip span:hover { border-color: var(--lime-glow); color: var(--text); }
.exp-chip input:checked + span { background: var(--lime); border-color: var(--lime); color: #0a0e14; font-weight: 600; }
.exp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .7rem; }
.exp-card { display: flex; align-items: center; gap: .8rem; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .8rem; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.exp-card:hover { border-color: var(--lime-glow); transform: translateY(-1px); }
.exp-img { width: 54px; height: 54px; flex-shrink: 0; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.exp-img--ph { display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--bg-raise-2); }
.exp-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.exp-nm { font-size: .9rem; color: var(--text); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.exp-meta { font-size: .74rem; color: var(--text-dim); }
.exp-save { color: var(--good); font-weight: 600; }
.exp-price { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; gap: .1rem; }
.exp-val { font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem; color: var(--lime); }
.exp-store { font-size: .7rem; color: var(--text-faint); }
.exp-more-btn { display: block; width: 100%; margin: 1rem 0; background: var(--bg-raise); border: 1px solid var(--line-strong); color: var(--text); border-radius: 12px; padding: .85rem; font-family: var(--font-body); font-size: .95rem; cursor: pointer; transition: .15s; }
.exp-more-btn:hover { border-color: var(--lime); color: var(--lime); }
.exp-more-btn span { color: var(--text-faint); }
.exp-empty { color: var(--text-dim); padding: 2rem 1rem; text-align: center; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 12px; }
.exp-store { display: inline-flex; align-items: center; gap: .3rem; justify-content: flex-end; }
.exp-store-logo { width: 16px; height: 16px; object-fit: contain; background: #fff; border-radius: 3px; }

/* --- Concorrência: abas por tipo de loja (super × super, farmácia × farmácia…) --- */
.cmp-seg { margin: 1.2rem 0 1.6rem; }
.cmp-seg-radio { position: absolute; opacity: 0; pointer-events: none; }
.cmp-tabbar { display: flex; flex-wrap: wrap; gap: .4rem; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }
.cmp-tab { padding: .6rem 1.1rem; border-radius: 10px 10px 0 0; font-size: .92rem; color: var(--text-dim); cursor: pointer; border: 1px solid transparent; border-bottom: 0; transition: .15s; }
.cmp-tab:hover { color: var(--text); background: var(--glass); }
.cmp-panel { display: none; }
#seg-supermarket:checked ~ #panel-supermarket,
#seg-pharmacy:checked ~ #panel-pharmacy,
#seg-petshop:checked ~ #panel-petshop,
#seg-construction:checked ~ #panel-construction { display: block; }
#seg-supermarket:checked ~ .cmp-tabbar label[for="seg-supermarket"],
#seg-pharmacy:checked ~ .cmp-tabbar label[for="seg-pharmacy"],
#seg-petshop:checked ~ .cmp-tabbar label[for="seg-petshop"],
#seg-construction:checked ~ .cmp-tabbar label[for="seg-construction"] { color: var(--lime); background: var(--lime-dim); border-color: var(--line); border-bottom-color: var(--bg); margin-bottom: -1px; font-weight: 600; }
.cmp-seg-radio:focus-visible ~ .cmp-tabbar label[for="seg-supermarket"] { outline: 2px solid var(--lime); }

/* --- Concorrência: destaques mais barato/mais caro --- */
.cmp-heroes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0 1.4rem; }
.cmp-hero { border-radius: var(--radius); padding: 1.1rem 1.3rem; border: 1px solid var(--line); background: var(--bg-raise); display: flex; flex-direction: column; gap: .5rem; }
.cmp-hero--cheap { border-color: rgba(120, 220, 130, .4); background: linear-gradient(135deg, rgba(120,220,130,.10), transparent); }
.cmp-hero--pricey { border-color: rgba(240, 120, 120, .35); background: linear-gradient(135deg, rgba(240,120,120,.08), transparent); }
.cmp-hero-tag { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); font-weight: 600; }
.cmp-hero-store { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; font-family: var(--font-display); color: var(--text); }
.cmp-hero-store img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.cmp-hero-sub { font-size: .8rem; color: var(--text-dim); line-height: 1.4; }
.cmp-hero-sub b { color: var(--text); }

/* ranking com logo + sobrepreço */
.cmp-rank { grid-template-columns: 10rem 1fr 4.2rem; }
.cmp-rank-store { display: flex; align-items: center; gap: .45rem; min-width: 0; }
.cmp-rank-logo { width: 22px; height: 22px; object-fit: contain; background: #fff; border-radius: 5px; flex-shrink: 0; border: 1px solid var(--line); }
.cmp-rank-logo--ph { background: var(--bg-raise-2); border: 1px solid var(--line); }
.cmp-rank-val small { display: block; font-size: .66rem; color: var(--text-faint); font-weight: 400; }

/* comparador cabeça-a-cabeça */
.cmp-vs { margin: 1.8rem 0 2rem; background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.cmp-vs-form { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .8rem 0 0; }
.cmp-vs-form select { background: var(--bg-raise-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px; padding: .55rem .8rem; font-family: var(--font-body); font-size: .92rem; min-width: 12rem; flex: 1; }
.cmp-vs-x { color: var(--text-dim); font-weight: 700; }
.cmp-vs-form button { background: var(--lime); color: #0a0e14; border: 0; border-radius: 10px; padding: .6rem 1.3rem; font-weight: 700; font-family: var(--font-body); font-size: .92rem; cursor: pointer; }
.cmp-vs-form button:hover { background: var(--lime-bright); }
.cmp-vs-out { margin-top: 1.2rem; }
.cmp-vs-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.cmp-vs-side { display: flex; flex-direction: column; align-items: center; gap: .25rem; text-align: center; padding: 1rem; border-radius: 12px; border: 1px solid var(--line); }
.cmp-vs-side img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.cmp-vs-win { border-color: var(--lime); background: var(--lime-dim); }
.cmp-vs-nm { font-family: var(--font-display); font-size: 1.05rem; color: var(--text); }
.cmp-vs-wins { font-size: .78rem; color: var(--text-dim); }
.cmp-vs-total { font-family: var(--font-mono); font-weight: 700; color: var(--lime); font-size: 1rem; }
.cmp-vs-mid { text-align: center; display: flex; flex-direction: column; gap: .5rem; }
.cmp-vs-shared { font-size: .78rem; color: var(--text-dim); line-height: 1.2; }
.cmp-vs-verdict { font-size: .82rem; color: var(--text); background: var(--bg-raise-2); border-radius: 10px; padding: .5rem .7rem; }
.cmp-vs-table { width: 100%; margin-top: 1.2rem; border-collapse: collapse; font-size: .84rem; }
.cmp-vs-table th { text-align: left; color: var(--text-dim); font-weight: 600; padding: .5rem .6rem; border-bottom: 1px solid var(--line); font-size: .76rem; }
.cmp-vs-table td { padding: .5rem .6rem; border-bottom: 1px solid var(--line); color: var(--text-dim); font-family: var(--font-mono); }
.cmp-vs-table td:first-child { font-family: var(--font-body); color: var(--text); }
.cmp-vs-table td a { color: var(--text); text-decoration: none; }
.cmp-vs-table td a:hover { color: var(--lime); }
.cmp-vs-cell-win { color: var(--lime) !important; font-weight: 700; }
.cmp-empty { color: var(--text-dim); padding: 1.4rem; text-align: center; }
@media (max-width: 860px) { .cmp-heroes { grid-template-columns: 1fr; } .cmp-rank { grid-template-columns: 8rem 1fr 4rem; } }

/* ---------- home 2.0: stats do hero ---------- */
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem;
  margin: 2.2rem 0 0; padding: 0;
}
.hstat { display: flex; flex-direction: column-reverse; gap: .15rem; }
.hstat dd {
  margin: 0; font-family: var(--font-mono); font-weight: 700; font-size: 1.9rem;
  color: var(--lime); line-height: 1;
}
.hstat dt {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--text-faint); font-family: var(--font-mono);
}

/* widgets em 3 colunas quando há trânsito */
@media (min-width: 1024px) {
  .widgets:not(.widgets--2) { grid-template-columns: 1fr 1.5fr 1fr; }
}

/* ---------- home 2.0: rotator (enquetes + banners) ---------- */
[data-rotator] { position: relative; }
[data-rotator] .rot-slide { display: none; }
[data-rotator] .rot-slide.is-active { display: block; animation: rot-in .35s ease; }
@keyframes rot-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.rot-dots { display: flex; gap: .45rem; justify-content: center; margin-top: 1rem; }
.rot-dot {
  width: 22px; height: 5px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: var(--line-strong); transition: background .2s, width .2s;
}
.rot-dot.is-active { background: var(--lime); width: 34px; }
.rot-dot:hover { background: var(--text-dim); }

/* enquete dentro do rotator: o card é o widget, a enquete fica "nua" */
.poll-rotator .poll { background: none; border: 0; padding: 0; box-shadow: none; }

/* ---------- home 2.0: seções ---------- */
.home-sec { padding-top: 1rem; }
.home-sec-head { margin-bottom: 1.4rem; }
.home-sec-sub { color: var(--text-dim); max-width: 56ch; margin: -.6rem 0 0; font-size: .95rem; }
.home-sec-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.home-sec-cta .btn { margin-top: 0; }

/* ---------- home 2.0: marquee de incorporadoras ---------- */
.dev-marquee {
  overflow: hidden; margin-top: 1.6rem; padding: .9rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.dev-marquee-track {
  display: flex; gap: 2.8rem; width: max-content;
  animation: marquee 45s linear infinite;
}
.dev-marquee-track span {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--text-faint); text-transform: uppercase; letter-spacing: .12em;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- home 2.0: teaser de notícias (empty state) ---------- */
.news-teaser {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--bg-raise); border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; max-width: 46rem;
}
.news-teaser-badge { font-size: 1.8rem; line-height: 1; }
.news-teaser strong { font-family: var(--font-display); font-size: 1.05rem; }
.news-teaser p { margin: .3rem 0 0; color: var(--text-dim); font-size: .92rem; }

/* ---------- home 2.0: faixa de apoiadores ---------- */
.sponsor-band {
  margin-top: 2.5rem; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--glass), transparent);
}
.sponsor-label {
  display: block; font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em; color: var(--text-faint);
  margin-bottom: .9rem;
}
.sponsor-slide {
  display: flex; align-items: center; justify-content: center; min-height: 96px;
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color .2s, box-shadow .2s;
}
a.sponsor-slide:hover { border-color: var(--lime); box-shadow: 0 24px 60px -38px var(--lime-glow); }
.sponsor-art { width: 100%; max-height: 160px; object-fit: cover; }
.sponsor-text {
  display: flex; flex-direction: column; gap: .25rem; text-align: center; padding: 1.3rem 1.5rem;
}
.sponsor-text strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--text); }
.sponsor-text em { font-style: normal; color: var(--text-dim); font-size: .9rem; }
.sponsor-slide--cta { border-style: dashed; border-color: var(--line-strong); }
.sponsor-slide--cta strong { color: var(--lime); }

/* ---------- índice AlphaON v2 ---------- */
.basket-card {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center;
  background: var(--bg-raise); border: 1px solid var(--line); border-left: 3px solid var(--lime);
  border-radius: var(--radius); padding: 1.2rem 1.5rem; margin: 0 0 2.5rem; max-width: 46rem;
}
.basket-price {
  font-family: var(--font-mono); font-weight: 700; font-size: 2rem;
  color: var(--lime); line-height: 1.1;
}
.basket-note { margin: 0; color: var(--text-dim); font-size: .88rem; max-width: 30rem; flex: 1; min-width: 14rem; }
.sub-card--hot { border-color: var(--lime-glow); background: var(--lime-dim); }
.sub-foot { font-family: var(--font-mono); font-size: .7rem; color: var(--text-faint); }
.sub-small { font-family: var(--font-body); font-weight: 400; font-size: .68rem; color: var(--text-faint); }
.vs-up { color: var(--bad); }
.vs-down { color: var(--good); }
.index-note { color: var(--text-dim); font-size: .85rem; max-width: 52rem; margin: -1rem 0 2rem; }
.method { max-width: 52rem; }
.method-intro { color: var(--text-dim); font-size: .95rem; line-height: 1.7; }
.method-steps { padding-left: 1.4rem; display: flex; flex-direction: column; gap: .9rem; }
.method-steps li { color: var(--text-dim); font-size: .95rem; line-height: 1.65; }
.method-steps li strong { color: var(--text); font-family: var(--font-display); }
.method-steps li::marker { color: var(--lime); font-family: var(--font-mono); font-weight: 700; }

/* ---------- imóveis: hub premium ---------- */
.re-hero {
  background:
    radial-gradient(90vmax 50vmax at 85% -10%, var(--lime-dim), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  padding: clamp(2rem, 5vh, 3.5rem) 0 1.8rem;
}
.re-hero-title {
  font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -.03em;
  font-size: clamp(2rem, 5vw, 3.4rem); margin: .8rem 0 .8rem; max-width: 18ch; color: var(--text);
}
.re-hero-title em { font-style: normal; color: var(--lime); }
.re-hero-sub { max-width: 52ch; color: var(--text-dim); margin: 0; }
.re-hero .hero-stats { margin-top: 1.6rem; }

.dev-hub-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.dev-hub-card {
  display: flex; align-items: center; gap: .8rem;
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8rem 1rem; text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s;
}
.dev-hub-card:hover { border-color: var(--lime); transform: translateY(-1px); }
.dev-hub-logo {
  width: 44px; height: 44px; flex-shrink: 0; object-fit: contain;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.dev-hub-logo--ph {
  display: flex; align-items: center; justify-content: center;
  background: var(--lime-dim); color: var(--lime);
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
}
.dev-hub-body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.dev-hub-body strong { font-family: var(--font-display); font-size: .95rem; color: var(--text); }
.dev-hub-body span { font-size: .76rem; color: var(--text-dim); }

.dev-profile {
  display: flex; gap: 1.4rem; align-items: flex-start; margin-top: 1rem;
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
}
.dev-profile-logo {
  width: 84px; height: 84px; flex-shrink: 0; object-fit: contain;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.dev-profile-logo--ph {
  display: flex; align-items: center; justify-content: center;
  background: var(--lime-dim); color: var(--lime);
  font-family: var(--font-display); font-weight: 700; font-size: 2.2rem;
}
.dev-profile-body { min-width: 0; }
.dev-profile-body .ph-title { margin: .3rem 0 .5rem; }
.dev-profile-desc { color: var(--text-dim); max-width: 56ch; margin: 0 0 .8rem; }
.dev-profile-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .85rem; color: var(--text-dim); }
.dev-profile-meta a { color: var(--lime); text-decoration: none; }
@media (max-width: 640px) { .dev-profile { flex-direction: column; } }

/* ---------- imóveis: planos de apoio ---------- */
.reg-perks { display: flex; flex-direction: column; gap: .5rem; margin: 0 0 1.6rem; }
.reg-perk { display: flex; gap: .6rem; align-items: baseline; color: var(--text-dim); font-size: .92rem; }
.plan-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); text-transform: none; letter-spacing: 0; }
.plan-card {
  position: relative; display: flex; flex-direction: column; gap: .25rem; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; transition: border-color .15s, box-shadow .15s;
}
.plan-card:hover { border-color: var(--lime); }
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-card:has(input:checked) {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-dim), 0 18px 50px -30px var(--lime-glow);
  background: var(--lime-dim);
}
.plan-card--featured { border-color: var(--line-strong); }
.plan-flag {
  position: absolute; top: -0.65rem; right: .8rem;
  font-family: var(--font-mono); font-size: .6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  background: var(--lime); color: var(--bg); border-radius: 999px; padding: .2rem .6rem;
}
.plan-name { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.plan-price { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--lime); line-height: 1.1; }
.plan-cycle { font-size: .76rem; color: var(--text-dim); font-family: var(--font-mono); }
.plan-tagline { font-size: .82rem; color: var(--text); margin-top: .3rem; }
.plan-benefits { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.plan-benefits li { font-size: .8rem; color: var(--text-dim); padding-left: 1.1rem; position: relative; }
.plan-benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }

.broker-bio { margin: 0; font-size: .86rem; color: var(--text-dim); line-height: 1.5; }

/* ---------- letreiro estilo bolsa (preços + índices) ---------- */
.tick-wrap { margin: 0 0 1.4rem; }
.tick-wrap--edge { margin: 0; border-bottom: 1px solid var(--line); background: var(--bg-raise); }
.tick-band {
  overflow: hidden; padding: .55rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.tick-wrap:not(.tick-wrap--edge) .tick-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.tick-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.tick-band:hover .tick-track { animation-play-state: paused; }
.tick-run { display: flex; }
.tick-item {
  display: inline-flex; align-items: baseline; gap: .45rem;
  padding: 0 1.6rem; text-decoration: none; white-space: nowrap;
  border-right: 1px solid var(--line);
}
.tick-item:hover .tick-nm { color: var(--lime); }
.tick-ic { font-size: .85rem; align-self: center; }
.tick-nm {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim);
  max-width: 15rem; overflow: hidden; text-overflow: ellipsis; transition: color .15s;
}
.tick-val { font-family: var(--font-mono); font-weight: 700; font-size: .85rem; color: var(--text); }
.tick-delta { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; color: var(--text-faint); }
.tick-delta.up { color: var(--bad); }
.tick-delta.down { color: var(--good); }
.tick-delta--na { color: var(--text-faint); }
@media (prefers-reduced-motion: reduce) {
  .tick-band { overflow-x: auto; }
}

/* ---------- widget de clima ---------- */
.widget-weather { display: flex; flex-direction: column; gap: .6rem; }
.wx-now { display: flex; align-items: center; gap: .7rem; }
.wx-icon { font-size: 2.1rem; line-height: 1; }
.wx-temp {
  font-family: var(--font-mono); font-weight: 700; font-size: 2.4rem;
  color: var(--lime); line-height: 1; text-shadow: 0 0 28px var(--lime-glow);
}
.wx-desc { display: flex; flex-direction: column; gap: .1rem; font-size: .88rem; color: var(--text); }
.wx-desc small { color: var(--text-dim); font-size: .74rem; }
.wx-days { list-style: none; margin: .2rem 0 0; padding: 0; }
.wx-days li {
  display: flex; align-items: center; gap: .55rem;
  padding: .38rem 0; border-bottom: 1px solid var(--line);
}
.wx-days li:last-child { border-bottom: 0; }
.wx-day {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); width: 2.6rem;
}
.wx-day-ic { font-size: .95rem; }
.wx-minmax { font-family: var(--font-mono); font-size: .82rem; color: var(--text-dim); flex: 1; }
.wx-minmax b { color: var(--text); font-weight: 700; }
.wx-rain { font-family: var(--font-mono); font-size: .72rem; color: var(--c3); }

/* widgets em 4 colunas quando clima + trânsito estão ligados */
@media (min-width: 1024px) {
  .widgets.widgets--wx:not(.widgets--2) { grid-template-columns: 1fr 1.35fr 1fr 1fr; }
  .widgets--2.widgets--wx { grid-template-columns: 1fr 1.4fr 1fr; }
}

/* ---------- news desk (widget premium de notícias da home) ---------- */
.news-desk { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .news-desk { grid-template-columns: 1.25fr 1fr; align-items: stretch; } }
.nd-featured {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: 22rem; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--bg-raise) center/cover no-repeat;
  text-decoration: none; color: inherit;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.nd-featured:hover {
  transform: translateY(-3px); border-color: var(--line-strong);
  box-shadow: 0 30px 80px -40px var(--lime-glow);
}
.nd-featured--img { background-size: cover; }
.nd-feat-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,20,.15) 0%, rgba(10,14,20,.55) 55%, rgba(10,14,20,.94) 100%);
}
.nd-featured:not(.nd-featured--img) .nd-feat-scrim {
  background:
    radial-gradient(80vmax 40vmax at 90% -10%, var(--lime-dim), transparent 55%),
    linear-gradient(180deg, transparent, rgba(10,14,20,.6));
}
.nd-feat-body {
  position: relative; display: flex; flex-direction: column; gap: .55rem;
  padding: 1.6rem 1.7rem 1.5rem;
}
.nd-chip-row { display: flex; gap: .4rem; }
.nd-chip {
  font-family: var(--font-mono); font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  padding: .24rem .65rem; border-radius: 999px;
  background: rgba(10, 14, 20, .55); border: 1px solid var(--line-strong); color: var(--text-dim);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.nd-chip--hot { background: var(--lime); border-color: var(--lime); color: var(--bg); }
.nd-feat-title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.15; color: var(--text);
}
.nd-feat-lead { color: var(--text-dim); font-size: .95rem; max-width: 52ch; }
.nd-feat-meta { font-family: var(--font-mono); font-size: .72rem; color: var(--lime); letter-spacing: .06em; }
.nd-wire {
  display: flex; flex-direction: column;
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.2rem 1.4rem 1.1rem;
}
.nd-wire-head {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .2em; color: var(--text-dim);
  padding-bottom: .8rem; border-bottom: 1px solid var(--line);
}
.nd-live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow); animation: nd-pulse 1.6s ease-in-out infinite;
}
@keyframes nd-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.nd-list { list-style: none; margin: 0; padding: 0; flex: 1; }
.nd-list li { border-bottom: 1px solid var(--line); }
.nd-list li:last-child { border-bottom: 0; }
.nd-list a {
  display: flex; gap: .85rem; align-items: baseline;
  padding: .75rem .2rem; text-decoration: none; border-radius: 8px;
  transition: background .15s;
}
.nd-list a:hover { background: var(--glass); }
.nd-num {
  font-family: var(--font-mono); font-weight: 700; font-size: .8rem; color: var(--lime);
  opacity: .8; flex-shrink: 0;
}
.nd-item-body { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.nd-item-meta {
  font-family: var(--font-mono); font-size: .64rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--text-faint);
}
.nd-item-title {
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  line-height: 1.3; color: var(--text); transition: color .15s;
}
.nd-list a:hover .nd-item-title { color: var(--lime); }
.nd-all {
  margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--lime); text-decoration: none;
}
.nd-all:hover { color: var(--lime-bright); }

/* ---------- índice: cards uniformes (bitcoin/hortifruti tortos) ---------- */
.sub-grid { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); grid-auto-rows: 1fr; }
.sub-card { min-height: 7.4rem; }
.sub-card .sub-key { min-height: 2.3em; }
.sub-card .sub-val { white-space: nowrap; }
/* rodapé pode quebrar linha — altura uniforme já vem do grid-auto-rows/min-height */
.sub-card .sub-foot { white-space: normal; line-height: 1.5; margin-top: auto; }

/* ---------- imóveis: caixas padronizadas do empreendimento ---------- */
.dev-stats { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.dev-stats .sub-card { min-height: 6.6rem; }
.dev-stats .sub-val--text {
  white-space: normal; font-size: 1.02rem; line-height: 1.4; overflow-wrap: anywhere;
}
.dev-stats .sub-val--num { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.dev-stats .sub-val--na {
  white-space: normal; color: var(--text-faint); font-size: .95rem; font-weight: 500;
}

/* ---------- guia de restaurantes ---------- */
.guide-top { list-style: none; margin: 0 0 1rem; padding: 0; max-width: 46rem; }
.guide-top li { border-bottom: 1px solid var(--line); }
.guide-top li:last-child { border-bottom: 0; }
.guide-top a, .guide-card {
  display: flex; align-items: center; gap: .9rem; padding: .8rem .5rem;
  text-decoration: none; color: inherit; border-radius: 10px; transition: background .15s;
}
.guide-top a:hover, .guide-card:hover { background: var(--glass); }
.guide-pos { font-family: var(--font-mono); font-weight: 700; color: var(--lime); opacity: .85; }
.guide-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.guide-nm { font-family: var(--font-display); font-weight: 600; color: var(--text); line-height: 1.25; }
.guide-meta { font-size: .78rem; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guide-score { font-family: var(--font-mono); font-weight: 700; color: var(--warn); white-space: nowrap; text-align: right; }
.guide-score small { display: block; font-weight: 400; font-size: .68rem; color: var(--text-faint); }
.guide-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
.guide-card { background: var(--bg-raise); border: 1px solid var(--line); }
.guide-card:hover { border-color: var(--lime-glow); }
.guide-rank { font-family: var(--font-mono); font-weight: 700; font-size: .8rem; color: var(--text-faint); width: 1.8rem; }

/* ---------- guia: patrocínio, resenhas e comentários ---------- */
.badge-sponsor, .badge-review {
  font-family: var(--font-mono); font-size: .58rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  border-radius: 999px; padding: .14rem .5rem; margin-left: .45rem; vertical-align: middle;
  white-space: nowrap;
}
.badge-sponsor { background: var(--lime); color: var(--bg); }
.badge-review { background: var(--glass); color: var(--c2); border: 1px solid var(--line-strong); }
.re-badge.badge-sponsor { font-size: .64rem; margin-left: 0; border: 0; }
.sponsor-strip {
  background: var(--lime-dim); border: 1px solid var(--lime-glow); border-radius: var(--radius-lg);
  padding: 1.1rem 1.3rem; margin-bottom: 1.8rem;
}
.sponsor-strip-label {
  display: block; font-family: var(--font-mono); font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em; color: var(--lime); margin-bottom: .8rem;
}
.sponsor-strip-row { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.guide-card--sponsor { border-color: var(--lime-glow); }
.sponsor-strip-note { margin: .8rem 0 0; font-size: .76rem; color: var(--text-dim); }
.review-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem; margin: 1.6rem 0; background: var(--bg-raise);
}
.review-card--editorial { border-left: 3px solid var(--good); }
.review-card--sponsored { border-left: 3px solid var(--warn); background: rgba(251, 191, 36, .04); }
.review-card h2 { font-family: var(--font-display); font-size: 1.35rem; margin: .7rem 0 .6rem; }
.review-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.review-tag {
  font-family: var(--font-mono); font-size: .64rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  border-radius: 999px; padding: .22rem .65rem;
  background: var(--glass); color: var(--text-dim); border: 1px solid var(--line-strong);
}
.review-tag--editorial { background: rgba(74, 222, 128, .12); color: var(--good); border-color: rgba(74, 222, 128, .4); }
.review-tag--sponsored { background: rgba(251, 191, 36, .12); color: var(--warn); border-color: rgba(251, 191, 36, .4); }
.review-tag--paid { color: var(--good); }
.review-tag a { color: inherit; }
.review-note { font-size: .78rem; color: var(--text-faint); margin: 1rem 0 0; border-top: 1px dashed var(--line); padding-top: .8rem; }
.comment-list { display: flex; flex-direction: column; gap: .9rem; max-width: 42rem; }
.comment { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; }
.comment-head { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .3rem; }
.comment-head b { font-family: var(--font-display); color: var(--text); }
.comment-head small { color: var(--text-faint); font-family: var(--font-mono); font-size: .7rem; }
.comment-stars { color: var(--warn); letter-spacing: .1em; }
.comment p { margin: 0; color: var(--text-dim); font-size: .93rem; }
.guide-ctas { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); margin-top: 2rem; }
.guide-cta {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--bg-raise); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
  padding: 1.2rem 1.4rem;
}
.guide-cta-icon { font-size: 1.5rem; line-height: 1; }
.guide-cta strong { font-family: var(--font-display); }
.guide-cta p { margin: .25rem 0 0; color: var(--text-dim); font-size: .9rem; }

/* ---------- guia: filtros, pódio, fotos e página do lugar ---------- */
.guide-filter { position: sticky; top: 64px; z-index: 5; background: var(--bg); padding: .6rem 0; margin: 0 0 1.4rem; }
.guide-count {
  font-family: var(--font-mono); font-size: .66rem; background: var(--glass);
  border-radius: 999px; padding: .05rem .45rem; margin-left: .3rem; color: var(--text-faint);
}
.pf-chip.is-active .guide-count { color: inherit; background: rgba(10, 14, 20, .18); }
.guide-ctas--top { margin: 0 0 1.6rem; }
.guide-thumb {
  width: 56px; height: 56px; flex-shrink: 0; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line);
}
.guide-thumb--ph {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-raise-2); font-size: 1.4rem;
}
.guide-rank--gold { color: #ffd75e; font-size: .95rem; }
.guide-rank--silver { color: #cbd5e1; font-size: .9rem; }
.guide-rank--bronze { color: #f0a86b; font-size: .9rem; }
.guide-card--podium { background: linear-gradient(160deg, var(--glass), var(--bg-raise) 55%); }

.place-hero { display: grid; gap: 1.6rem; margin: 1rem 0 1.4rem; }
@media (min-width: 860px) { .place-hero--img { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.place-hero-photo {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: 0 28px 70px -40px rgba(0, 0, 0, .9);
}
.place-summary { color: var(--text-dim); font-size: 1.02rem; font-style: italic; max-width: 46ch; }
.place-summary small { font-style: normal; color: var(--text-faint); font-size: .74rem; }
.place-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; margin: 1.1rem 0; }
.place-fact { display: flex; flex-direction: column; gap: .15rem; }
.place-fact-val { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--text); }
.place-fact-val--link { color: var(--lime); text-decoration: none; font-size: 1.15rem; }
.place-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.place-actions .btn { margin-top: 0; }
.place-hours {
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .9rem 1.2rem; margin: 0 0 1.4rem; max-width: 30rem;
}
.place-hours summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; color: var(--text); }
.place-hours ul { list-style: none; margin: .8rem 0 0; padding: 0; color: var(--text-dim); font-size: .92rem; display: flex; flex-direction: column; gap: .3rem; }

/* ---------- combustíveis: spread PIX × cartão ---------- */
.fuel-spreads { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); margin-bottom: 1.4rem; }
.fuel-spread-card {
  display: flex; align-items: center; gap: .9rem;
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .9rem 1.1rem;
}
.fuel-spread-card--top { border-color: rgba(255, 107, 94, .5); background: linear-gradient(135deg, rgba(255,107,94,.09), transparent); }
.fuel-spread-pct { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--bad); white-space: nowrap; }
.fuel-spread-body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.fuel-spread-body b { font-family: var(--font-display); color: var(--text); }
.fuel-spread-body small { color: var(--text-dim); font-size: .78rem; }
.fuel-brand, .fuel-brand-tag {
  font-family: var(--font-mono); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--c3);
}
.re-badge.fuel-brand { color: var(--c3); border-color: rgba(147, 197, 253, .4); background: rgba(147, 197, 253, .1); }
.fuel-brand-tag { font-size: .7rem; }
.fuel-net-tag { color: var(--lime); font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- combustíveis: linhas antigas + tabela responsiva ---------- */
.fuel-stale-hint { font-size: .8rem; color: var(--text-dim); margin: 0 0 .8rem; }
.fuel-row-stale td { opacity: .5; }
.fuel-row-stale .exp-meta { opacity: 1; }
.fuel-stale-date { color: var(--warn); }

/* mobile: a tabela de 7 colunas vira cartões empilhados (sem scroll lateral) */
@media (max-width: 720px) {
  .fuel-table, .fuel-table thead, .fuel-table tbody, .fuel-table tr, .fuel-table td { display: block; }
  .fuel-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fuel-table tr {
    background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius);
    padding: .7rem .9rem; margin-bottom: .7rem;
  }
  .fuel-table td {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    border: 0; padding: .28rem 0; white-space: normal; text-align: right;
    font-family: var(--font-mono); font-size: .92rem;
  }
  .fuel-table td.product-name { text-align: left; padding-bottom: .5rem; border-bottom: 1px solid var(--line); margin-bottom: .4rem; }
  .fuel-table td[data-label]::before {
    content: attr(data-label);
    font-family: var(--font-mono); font-size: .66rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint);
    text-align: left; flex-shrink: 0;
  }
  .fuel-table td[data-label] .na { color: var(--text-faint); }
  .fuel-table .prod-nm { font-size: 1rem; }
}

/* ---------- infográfico do tanque ---------- */
.tank-card {
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem 1.7rem; margin-bottom: 1.8rem;
  box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .9);
}
.tank-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; }
.tank-icon { font-size: 2rem; line-height: 1; }
.tank-bars { display: flex; flex-direction: column; gap: .8rem; margin: 1.1rem 0 1.4rem; }
.tank-row { display: flex; align-items: center; gap: 1rem; }
.tank-label {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); width: 7.5rem;
  text-align: right; flex-shrink: 0;
}
.tank-bar {
  flex: 1; display: flex; height: 44px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line-strong);
}
.tank-gas, .tank-eth {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  white-space: nowrap; overflow: hidden;
}
.tank-gas { background: linear-gradient(180deg, #f0c94a, #d9a92c); color: #201a05; }
.tank-eth { background: linear-gradient(180deg, #4ade80, #2f9e57); color: #04240f; }
.tank-stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.tank-stat {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .9rem 1.1rem; display: flex; flex-direction: column; gap: .2rem;
}
.tank-stat-val { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--lime); }

/* ---------- termômetro do aluguel ---------- */
.rent-panels { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); margin-top: .5rem; }
.rent-panel {
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.3rem 1.5rem; box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .9);
}
.rent-panel--hot { border-color: var(--lime-glow); background: linear-gradient(160deg, var(--lime-dim), var(--bg-raise) 45%); }
.rent-panel-head { display: flex; align-items: baseline; gap: .6rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.rent-panel-icon { font-size: 1.2rem; }
.rent-panel-title { flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--text); }
.rent-panel-total { font-family: var(--font-mono); font-weight: 700; font-size: 1.3rem; color: var(--lime); }
.rent-panel-total small { font-family: var(--font-body); font-weight: 400; font-size: .68rem; color: var(--text-dim); }
.rent-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.2rem; margin: 1rem 0 0; }
.rent-stats > div { display: flex; flex-direction: column-reverse; gap: .1rem; }
.rent-stats dt {
  font-family: var(--font-mono); font-size: .64rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--text-faint);
}
.rent-stats dd { margin: 0; font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; color: var(--text); }
.rent-stats dd.rent-range { font-size: .85rem; color: var(--text-dim); }

/* CTA compacto p/ /alugueis/ na página de imóveis novos */
.rent-cta {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  background: var(--bg-raise); border: 1px solid var(--line); border-left: 3px solid var(--lime);
  border-radius: var(--radius); padding: 1.1rem 1.4rem; margin: 2.2rem 0 1rem;
}
.rent-cta-num { font-family: var(--font-mono); font-weight: 700; font-size: 1.6rem; color: var(--lime); }
.rent-cta p { margin: .15rem 0 0; color: var(--text-dim); font-size: .88rem; }

/* ---------- rodapé com contato ---------- */
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- cadastro de corretor: empreendimento faltando ---------- */
.dev-missing {
  margin: .8rem 0 0; padding: .8rem 1rem;
  background: var(--glass); border: 1px dashed var(--line-strong); border-radius: 10px;
  font-family: var(--font-body); font-size: .85rem; color: var(--text-dim);
  text-transform: none; letter-spacing: 0; line-height: 1.55;
}
.dev-missing a { color: var(--lime); }

/* ---------- imóveis: documentos (PDFs) ---------- */
.doc-list { display: flex; flex-direction: column; gap: .6rem; max-width: 34rem; }
.doc-item {
  display: flex; align-items: center; gap: .8rem;
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8rem 1.1rem; text-decoration: none; color: var(--text);
  transition: border-color .15s, transform .15s;
}
.doc-item:hover { border-color: var(--lime); transform: translateY(-1px); }
.doc-icon { font-size: 1.2rem; }
.doc-title { flex: 1; font-weight: 500; }
.doc-hint { font-family: var(--font-mono); font-size: .74rem; color: var(--lime); }

/* ---------- termômetro do aluguel (/alugueis/) ---------- */
.rentals { padding-bottom: 3rem; }
.rn-kicker { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--lime); display: flex; align-items: center;
  gap: .6rem; margin-bottom: 1rem; }
.rn-kicker::before { content: ''; width: 1.4rem; height: 1.5px; background: var(--lime); }
.rn-h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .8rem; }
.rn-lede { font-family: var(--font-display); font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.5; margin: 0; max-width: 60ch; }
.rn-lede b { color: var(--lime); }
.rn-stamp { font-family: var(--font-mono); font-size: .72rem; color: var(--text-dim);
  margin-top: .8rem; }
.rn-missing { color: #e0a458; }
.rn-sec { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.rn-h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: -.015em; margin: 0 0 1rem; }
.rn-lbl { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-dim); }
.rn-note { font-size: .75rem; color: var(--text-dim); margin-top: .7rem; line-height: 1.5; }
.rn-meth { font-size: .8rem; color: var(--text-dim); line-height: 1.7; max-width: 78ch; }
.rn-qa { border-left: 2px solid var(--lime); padding: .15rem 0 .15rem 1rem; margin-bottom: 1.1rem; }
.rn-qa h3 { margin: 0 0 .25rem; font-size: .95rem; font-family: var(--font-display); font-weight: 700; }
.rn-qa p { margin: 0; font-size: .88rem; color: var(--text-dim); line-height: 1.6; max-width: 68ch; }
.rn-qa p b { color: var(--lime); font-family: var(--font-mono); }
/* ferramenta */
.rn-tool { background: linear-gradient(180deg, rgba(200,240,74,.06), transparent 60%), var(--bg-raise);
  border: 1px solid rgba(200,240,74,.35); border-radius: var(--radius-lg); padding: 1.2rem; }
.rn-ctl { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; margin-bottom: .8rem; }
.rn-ctl > .rn-lbl { width: 4.2rem; }
.rn-pill { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
  padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--line);
  color: var(--text-dim); background: var(--bg); cursor: pointer; transition: all .15s; }
.rn-pill:hover { border-color: var(--line-strong); color: var(--text); }
.rn-pill.on { background: var(--lime); border-color: var(--lime); color: var(--bg); font-weight: 700; }
.rn-out { display: grid; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
@media (min-width: 700px) { .rn-out { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.rn-big { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--lime); line-height: 1.05; letter-spacing: -.02em; }
.rn-big-sub { font-size: .72rem; color: var(--text-dim); text-transform: uppercase;
  letter-spacing: .1em; margin-top: .35rem; font-family: var(--font-mono); }
.rn-verdict { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8rem .9rem; }
.rn-verdict p { margin: 0 0 .35rem; font-size: .76rem; color: var(--text-dim); line-height: 1.5; }
.rn-verdict b { color: var(--lime); font-family: var(--font-mono); }
/* fontes */
.rn-srcs { display: grid; gap: .5rem; }
.rn-src { display: grid; gap: .2rem .8rem; align-items: baseline; padding: .6rem .8rem;
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 700px) { .rn-src { grid-template-columns: 1.4fr .8fr 1.2fr 1.2fr; } }
.rn-src-n { font-size: .88rem; display: flex; flex-direction: column; }
.rn-src-n small { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-dim); }
.rn-src-v { font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; color: var(--lime); }
.rn-src-v small { font-size: .65rem; color: var(--text-dim); font-weight: 400; }
.rn-src-d { font-family: var(--font-mono); font-size: .72rem; }
.rn-src-d .up { color: #e06c6c; } .rn-src-d .down { color: var(--lime); }
.rn-first { color: var(--text-dim); font-style: italic; }
.rn-src-c { font-family: var(--font-mono); font-size: .72rem; color: var(--text-dim); }
.rn-src-c em { font-style: normal; opacity: .8; margin-left: .3rem; }
.rn-range { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap; margin-top: .8rem; padding: .8rem 1rem; background: var(--bg-raise);
  border: 1px solid var(--line); border-radius: var(--radius); }
.rn-range span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
  color: var(--text-dim); }
.rn-range b { font-family: var(--font-mono); font-size: 1.1rem; color: var(--lime); }
/* histograma */
.rn-hist { display: flex; align-items: flex-end; gap: .3rem; height: 6rem; }
.rn-hist div { flex: 1; min-height: 2px; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--lime), rgba(200,240,74,.22)); }
.rn-hist-x { display: flex; gap: .3rem; margin-top: .4rem; }
.rn-hist-x span { flex: 1; text-align: center; font-family: var(--font-mono);
  font-size: .58rem; color: var(--text-dim); }
.rn-quart { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  margin-top: 1rem; font-family: var(--font-mono); font-size: .68rem; color: var(--text-dim); }
.rn-quart b { color: var(--lime); }
/* tabela */
.rn-tb { width: 100%; border-collapse: collapse; font-size: .82rem; }
.rn-tb th { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-dim); text-align: right; padding: .5rem .4rem;
  border-bottom: 1px solid var(--line); font-weight: 600; }
.rn-tb th:first-child, .rn-tb td:first-child { text-align: left; }
.rn-tb td { padding: .55rem .4rem; border-bottom: 1px solid rgba(30,41,56,.5);
  font-family: var(--font-mono); text-align: right; }
/* índices */
.rn-idx { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.rn-idx-card { background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .9rem; }
.rn-idx-head { font-size: .82rem; font-weight: 600; display: flex; flex-direction: column; }
.rn-idx-head small { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-dim); }
.rn-idx-v { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem;
  color: var(--lime); margin: .5rem 0; line-height: 1; }
.rn-idx-v small { display: block; font-size: .58rem; color: var(--text-dim);
  letter-spacing: .1em; text-transform: uppercase; font-weight: 400; margin-top: .3rem; }
.rn-idx-kv { margin: 0; display: grid; gap: .2rem; }
.rn-idx-kv div { display: flex; justify-content: space-between; font-size: .7rem; }
.rn-idx-kv dt { color: var(--text-dim); }
.rn-idx-kv dd { margin: 0; font-family: var(--font-mono); }
