/* Server-rendered pages: posto, cidade, UF, article. Same tokens as the landing. */
:root {
  --brand: #0B3B52; --deep: #072A3B; --signal: #FFC23D;
  --bg: #F4F1EA; --surface: #fff; --ink: #0E1C27; --ink-soft: #4A5967; --rule: #E2DDD2;
  --ok: #167041; --ok-bg: #E3F3EA; --warn: #8F5A00; --warn-bg: #FFF1D6; --bad: #B02A20; --bad-bg: #FBE6E3;
  --sem: #56636F; --sem-bg: #ECEEF0;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--ink); font: 17px/1.6 Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, .numv, .verdict-title { font-family: 'Bricolage Grotesque', Manrope, sans-serif; letter-spacing: -0.03em; }
a { color: var(--brand); font-weight: 700; }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 16px; }
.bar { background: var(--brand); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: 'Bricolage Grotesque', Manrope, sans-serif; font-weight: 800; font-size: 20px; }
.brand img { border-radius: 9px; }
.bar-link { color: #C9D9E2; font-size: 15px; text-decoration: none; }
main { padding-top: 18px; padding-bottom: 40px; }
.crumbs { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; overflow-wrap: anywhere; }
.crumbs a { font-weight: 600; }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.08; margin: 0 0 8px; overflow-wrap: break-word; }
h2 { font-size: 25px; line-height: 1.15; margin: 38px 0 12px; }
h3 { font-size: 19px; margin: 24px 0 6px; }
p, li { color: var(--ink-soft); }
.sub { margin: 0 0 18px; }
.lead { font-size: 19px; margin: 0 0 20px; }
.note, .legal { font-size: 14px; }
.legal { margin-top: 36px; border-top: 1px solid var(--rule); padding-top: 14px; }

.verdict { border-radius: 20px; padding: 20px 22px; margin: 18px 0; border-left: 8px solid var(--c); background: var(--cbg); }
.verdict.ok { --c: var(--ok); --cbg: var(--ok-bg); } .verdict.atencao { --c: var(--warn); --cbg: var(--warn-bg); }
.verdict.grave { --c: var(--bad); --cbg: var(--bad-bg); } .verdict.sem { --c: var(--sem); --cbg: var(--sem-bg); }
.verdict-title { font-size: 26px; font-weight: 800; color: var(--c); line-height: 1.15; }
.verdict-date { font-weight: 700; color: var(--c); margin-top: 2px; }
.verdict p { color: var(--ink); margin: 10px 0 0; }
.verdict-box { background: var(--surface); border-radius: 14px; padding: 12px 16px; margin-top: 12px; }
.verdict-box p { color: var(--ink-soft); margin-top: 4px; }
.recorrer { font-weight: 700; }

.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; }
.numc { background: var(--surface); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; box-shadow: 0 3px 12px rgba(14,28,39,.05); }
.numl { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.numv { font-size: 32px; font-weight: 800; line-height: 1.1; margin-top: 4px; }
.numn { font-size: 14px; color: var(--ink-soft); }
.ok-t { color: var(--ok); } .atencao-t { color: var(--warn); } .grave-t { color: var(--bad); }

.badge { display: inline-block; font-size: 13px; font-weight: 800; border-radius: 99px; padding: 2px 10px; white-space: nowrap; }
.badge.ok { color: var(--ok); background: var(--ok-bg); } .badge.atencao { color: var(--warn); background: var(--warn-bg); }
.badge.grave { color: var(--bad); background: var(--bad-bg); } .badge.sem { color: var(--sem); background: var(--sem-bg); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background: var(--sem); }
.dot.ok { background: var(--ok); } .dot.atencao { background: #F0A000; } .dot.grave { background: #D2382C; }

.visita { background: var(--surface); border-radius: 16px; padding: 14px 18px; margin: 12px 0; box-shadow: 0 3px 12px rgba(14,28,39,.05); }
.visita header { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 4px; }
.item { border-top: 1px solid var(--rule); padding: 8px 0; }
.item:first-of-type { border-top: 0; }
.item summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.item summary::-webkit-details-marker { display: none; }
.proc { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-left: 18px; }
.item p { margin: 6px 0 0 18px; font-size: 15px; }
.item .anp { font-style: italic; }

.tbl { overflow-x: auto; background: var(--surface); border-radius: 16px; box-shadow: 0 3px 12px rgba(14,28,39,.05); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; white-space: nowrap; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
tr:last-child td { border-bottom: 0; }

.precos { list-style: none; padding: 0; margin: 0; background: var(--surface); border-radius: 16px; box-shadow: 0 3px 12px rgba(14,28,39,.05); }
.precos li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--rule); color: var(--ink); }
.precos li:last-child { border-bottom: 0; }
.precos small { font-weight: 600; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span, .chips a { background: var(--surface); border-radius: 99px; padding: 5px 12px; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; box-shadow: 0 2px 8px rgba(14,28,39,.05); }
.chips a { color: var(--brand); }
.chips small { color: var(--ink-soft); font-weight: 600; }

.dados { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; background: var(--surface); border-radius: 16px; padding: 16px 18px; }
.dados dt { font-weight: 800; font-size: 14px; } .dados dd { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }

.lista { list-style: none; padding: 0; margin: 0; }
.lista li { background: var(--surface); border-radius: 14px; padding: 12px 16px; margin: 8px 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; box-shadow: 0 2px 8px rgba(14,28,39,.04); }
.lista li small { grid-column: 1 / -1; font-size: 14px; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.grid li { background: var(--surface); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; }
.grid small { font-size: 13px; }
.more { margin-top: 18px; }

details.faq { background: var(--surface); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
details.faq summary { cursor: pointer; font-weight: 800; color: var(--ink); }
details.faq p { margin: 8px 0 0; }

.cta-box { display: flex; align-items: center; gap: 14px; background: var(--brand); color: #fff; border-radius: 20px; padding: 16px 18px; margin: 30px 0; flex-wrap: wrap; }
.cta-box img { border-radius: 12px; }
.cta-box div { flex: 1; min-width: 180px; }
.cta-box p { color: #C9D9E2; margin: 2px 0 0; font-size: 15px; }
.store { background: var(--signal); color: var(--ink); text-decoration: none; border-radius: 12px; padding: 10px 18px; font-weight: 800; }

/* article */
.artigo h2 { margin-top: 34px; }
.artigo p, .artigo li { font-size: 17px; }
.artigo ol li, .artigo ul li { margin: 6px 0; }
.compara td:first-child { font-weight: 700; color: var(--ink); }
.resposta { background: var(--surface); border-left: 6px solid var(--signal); border-radius: 14px; padding: 14px 18px; margin: 16px 0; }
.resposta p { color: var(--ink); margin: 0; }

footer { padding-bottom: 40px; font-size: 14px; color: var(--ink-soft); border-top: 1px solid var(--rule); }
footer p { margin: 12px 0 0; }
footer a { margin-right: 14px; display: inline-block; }
@media (max-width: 480px) {
  .nums { grid-template-columns: 1fr 1fr; gap: 10px; }
  .numc { padding: 12px 14px; }
  .numv { font-size: 28px; }
  .numl { font-size: 11px; }
  td:last-child { white-space: normal; }
}
a.numc { text-decoration: none; color: inherit; transition: transform .1s; }
a.numc:hover { transform: translateY(-2px); }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; position: sticky; top: 0; background: var(--bg); padding: 8px 0; z-index: 2; }
.filtros button { font: inherit; font-size: 15px; font-weight: 800; border: 2px solid var(--rule); background: var(--surface); color: var(--ink); border-radius: 99px; padding: 5px 13px; cursor: pointer; }
.filtros button small { font-weight: 600; color: var(--ink-soft); }
.filtros button.ok { color: var(--ok); } .filtros button.atencao { color: var(--warn); } .filtros button.grave { color: var(--bad); } .filtros button.sem { color: var(--sem); }
.filtros button[aria-pressed="true"] { border-color: currentColor; background: var(--brand); color: #fff; }
.filtros button[aria-pressed="true"] small { color: #C9D9E2; }
.busca-cidade { width: 100%; font: inherit; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--rule); background: var(--surface); margin: 4px 0 14px; }
.ad { margin: 24px 0; min-height: 100px; }
