/* Acopiara Transparente · polimento editorial, novembro de 2026.
   Conteúdo imediato; movimento reservado ao retorno das interações. */
:root {
  --r: 8px;
  --line: #dedfd6;
  --surface-2: #f2f3ed;
  --shadow: 0 1px 3px #142b1e08, 0 8px 24px #142b1e0a;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --top: 120px;
}
[data-theme="dark"] { --line: #303d35; --surface-2: #1b2520; --shadow: 0 1px 3px #0003, 0 8px 24px #0002; }
html { scroll-behavior: auto; scrollbar-gutter: stable; }
body { transition: background-color 160ms ease, color 160ms ease; -webkit-tap-highlight-color: transparent; }
main:focus { outline: none; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--verde); outline-offset: 4px; }
:where(button, a, input, select, textarea, summary) { touch-action: manipulation; }
:where(h1, h2, h3) { text-wrap: balance; }
:where(.row > *, .grid > *, .stats > *, .topin > *) { min-width: 0; }
:where(.prose, .rec, .proc, .frame, .evid, .src) { overflow-wrap: anywhere; }
.kicker { line-height: 1.5; letter-spacing: .12em; }
.lead { line-height: 1.65; }
.sec-head { align-items: center; gap: 32px; }
.sec-head h2 { max-width: 820px; }
.sec-head > .btn { flex-shrink: 0; }

/* Duas linhas no desktop deixam a marca e todas as seções respirar. */
.top { background: var(--bg); backdrop-filter: none; }
.flagbar { height: 3px; }
.topin { display: grid; grid-template-columns: 1fr auto; height: auto; min-height: 117px; gap: 0 24px; }
.brand { grid-column: 1; grid-row: 1; min-height: 70px; width: fit-content; }
.brand b { font-size: 23px; letter-spacing: -.025em; }
.brand small { font-size: 11.5px; margin-top: 4px; letter-spacing: .015em; }
.logomark { width: 38px; height: 38px; transition: none; }
.brand:hover .logomark { transform: none; }
.tools { grid-column: 2; grid-row: 1; align-items: center; gap: 8px; }
.ibtn { width: 44px; height: 44px; border-radius: 7px; flex-shrink: 0; }
.search-trigger { display: inline-flex; gap: 10px; width: auto; padding: 0 12px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--muted); }
.search-trigger svg { width: 17px; height: 17px; }
.search-trigger kbd { display: grid; place-items: center; width: 22px; height: 22px; margin-left: 22px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; font: 12px var(--sans); }
.nav { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; border-top: 1px solid var(--line); gap: 12px; }
.nav a { position: relative; height: 47px; padding: 0 8px; font-size: 13px; font-weight: 500; border-radius: 0; color: var(--muted); }
.nav a:first-child { padding-left: 0; }
.nav a:hover, .nav a.on { background: transparent; color: var(--verde); }
.nav a.on { font-weight: 700; }
.nav a.on::after { content: ""; position: absolute; inset: auto 8px -1px; height: 3px; background: var(--verde); border-radius: 2px 2px 0 0; }
.nav a:first-child.on::after { left: 0; }

/* Capa: título, contexto, próximo passo e evidência da origem. */
.hero { padding: 32px 0 0; border-bottom: 0; }
.hero-location { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 36px; font-size: 11px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-location span:first-child { color: var(--verde); font-weight: 700; }
.hero-grid { align-items: center; gap: 40px; }
.hero-grid > .c7 { grid-column: span 7; }
.hero-grid > .c5 { grid-column: span 5; }
.hero h1 { font-size: clamp(36px, 4.1vw, 56px); line-height: 1.1; letter-spacing: -.035em; margin-bottom: 24px; }
.hero .lead { max-width: 600px; margin-bottom: 12px; font-size: 18px; color: var(--muted); }
.hero-details { max-width: 600px; font-size: 14px; color: var(--muted); }
.hero-details summary { width: fit-content; cursor: pointer; color: var(--ink-2); text-underline-offset: 4px; }
.hero-details summary::marker { color: var(--verde); }
.hero-details p { padding-top: 12px; margin: 0; }
.hero .hero-actions { margin-top: 24px; gap: 10px; }
.hero-actions .btn { min-height: 48px; padding: 0 20px; font-size: 14px; }
.hero-actions .solid span { margin-left: 12px; }
.source-note { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; margin-top: 20px; font-size: 11.5px; line-height: 1.5; color: var(--muted); text-decoration: none; }
.source-note svg { width: 15px; height: 15px; flex-shrink: 0; }
.source-note > span { margin-left: 4px; }
.heroart .capa { padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.capa img { border-radius: 6px; }
.capa figcaption { margin: 12px 0 4px; font-size: 10px; font-weight: 500; letter-spacing: .08em; }
.stats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-block: 1px solid var(--line); }
.stat { background: transparent; padding: 24px 18px; border: 0; border-right: 1px solid var(--line); border-radius: 0; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--sans); font-size: clamp(21px, 2vw, 26px); font-weight: 700; letter-spacing: -.055em; font-variant-numeric: tabular-nums; line-height: 1.2; color: var(--verde); margin-bottom: 10px; }
.stat span { font-size: 12px; line-height: 1.6; }

/* Comportamento consistente nos controles, sem espera para ler. */
.rv, .rv.in { opacity: 1; transform: none; transition: none; }
.cena-img img, .cena-img.in img, svg.cena .b, .dia i, .dia em, .bar i, .vb i, .tl::before, .evid.rv img, .evid.in img { opacity: 1; transform: none; transition: none; }
.evid.rv img, .evid.in img { filter: none; }
.draw path, .draw line, .draw circle, .draw rect, .draw polyline { transition: none; stroke-dashoffset: 0; }
.card { border-color: var(--line); transition: border-color 160ms ease, box-shadow 180ms ease, transform 160ms var(--ease-out); }
.card:hover { transform: none; box-shadow: none; }
.card .body { padding: 24px; gap: 12px; }
.card .meta { font-size: 10.5px; letter-spacing: .075em; line-height: 1.5; }
.card h3 { font-size: 21px; line-height: 1.28; letter-spacing: -.02em; }
.card p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.card .cfoot { flex-wrap: wrap; row-gap: 12px; padding-top: 16px; }
.card .val { font: 700 17px/1.4 var(--sans); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.chip { max-width: 100%; white-space: normal; padding-block: 5px; font-size: 11px; border-radius: 4px; min-height: 28px; line-height: 1.3; }
button.chip { min-height: 40px; padding-inline: 14px; font-size: 12px; }
.btn, .ibtn, .rbtn, button.chip, .seg button, .ext a { transition: transform 140ms var(--ease-out), background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
.btn:active, .ibtn:active, .rbtn:active, button.chip:active, .seg button:active { transform: scale(.97); }
.btn.solid { box-shadow: 0 1px 2px #0001, inset 0 1px 0 #ffffff18; }
.btn.solid:hover { filter: none; background: color-mix(in srgb, var(--verde) 88%, var(--ink)); }
.filters { padding: 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; gap: 12px; }
.filters input, .filters select, .field { min-width: 0; font-size: 16px; min-height: 46px; border-radius: 6px; }
.field:focus, .filters input:focus, .filters select:focus { border-color: var(--verde); }
.count { font-size: 13px; }
.casehead h1 { max-width: 1000px; letter-spacing: -.035em; }
.prose p, .prose li { line-height: 1.8; }
.tscroll { overflow-x: auto; }
.aside { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.procs > * { min-width: 0; }
.proc dl { grid-template-columns: auto minmax(0, 1fr); }
.lrow h3 { text-wrap: pretty; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.sheet-head h2 { margin: 0; font-size: 23px; }
.sheet .in { border-radius: 16px 16px 0 0; overscroll-behavior: contain; }
.sheet a.li { font-size: 15px; min-height: 48px; }
.overlay-open { overflow: hidden; }
.modal { background: #08140fb3; }
.modal .in { max-height: calc(100dvh - 48px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 80px #0003; }
.modal .mh { background: var(--surface); }
.modal .in, .sheet .in { opacity: 1; transform: none; transition: opacity 180ms ease, transform 180ms var(--ease-out); }
@starting-style { .modal .in { opacity: 0; transform: translateY(8px) scale(.98); } .sheet .in { opacity: 0; transform: translateY(12px); } }
.res a { padding: 16px 12px; border-radius: 6px; }
.res a b { display: block; line-height: 1.45; }
.toast { max-width: calc(100% - 32px); text-align: center; }
.foot { padding-top: 32px; }
.foot a:not(.btn) { width: fit-content; text-decoration: none; font-size: 14px; padding-block: 4px; }
.foot p { line-height: 1.8; color: var(--muted); }
.foot h4 { color: var(--ink); }

@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--verde) 45%, var(--line)); }
  .lrow:hover h3, .source-note:hover, .hero-details summary:hover, .foot a:not(.btn):hover { color: var(--verde); text-decoration: underline; }
  .res a:hover { background: var(--surface-2); }
}
@media (hover: none) {
  .card:hover { border-color: var(--line); box-shadow: none; transform: none; }
  .ibtn:hover { background: none; color: var(--ink); }
  .btn:hover { background: var(--surface); }
  .btn.solid:hover { background: var(--verde); }
}
@media (max-width: 1240px) {
  body { --top: 76px; }
  .topin { min-height: 73px; }
  .brand { min-height: 73px; }
  .tools { margin-left: auto; }
  .hero-grid > .c7 { grid-column: span 7; }
  .hero-grid > .c5 { grid-column: span 5; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat:nth-child(3n) { border-right: 0; }
  .stat:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .stat:nth-child(4) { padding-left: 0; }
}
@media (min-width: 761px) and (max-width: 1024px) {
  .hero h1 { font-size: 36px; }
  .hero-grid { gap: 24px; }
  .hero .lead { font-size: 16px; }
  .hero-actions .btn { padding-inline: 14px; }
  .hero-location { margin-bottom: 24px; }
  .capa figcaption { font-size: 9px; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters > input { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body.m { --pad: 20px; --top: 68px; }
  .topin { min-height: 65px; gap: 8px; }
  .brand { min-height: 65px; gap: 9px; }
  body.m .brand b { font-size: 17px; letter-spacing: -.025em; }
  body.m .logomark { width: 29px; height: 29px; }
  .tools { gap: 2px; }
  .search-trigger { display: inline-grid; width: 40px; padding: 0; border-color: transparent; background: transparent; color: var(--ink); }
  .search-trigger span, .search-trigger kbd { display: none; }
  body.m .hero { padding: 24px 0 0; }
  .hero-location { margin-bottom: 24px; font-size: 9px; letter-spacing: .075em; gap: 8px; }
  .hero-location span:last-child { text-align: right; max-width: 130px; }
  .hero-grid { display: block; }
  body.m .hero h1 { font-size: clamp(29px, 7.7vw, 48px); line-height: 1.14; letter-spacing: -.04em; margin-bottom: 20px; }
  body.m .hero .lead { font-size: 16px; line-height: 1.7; margin-bottom: 12px; }
  .hero-details { font-size: 13px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { padding: 0 10px; font-size: 12px; }
  .hero-actions .solid span { margin-left: 0; }
  .source-note { margin-top: 16px; font-size: 10.5px; }
  .heroart:not(.m) { display: none; }
  .heroart.m { margin-top: 28px; }
  .heroart .capa { padding: 6px; border-radius: 10px; }
  .capa figcaption { margin: 10px 0 3px; font-size: 8px; }
  body.m .stats { margin-top: 24px; grid-template-columns: 1fr 1fr; gap: 0; }
  body.m .stat { padding: 20px 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  body.m .stat:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  body.m .stat:nth-last-child(-n+2) { border-bottom: 0; }
  body.m .stat b { font-size: 24px; }
  body.m .stat span { font-size: 11.5px; }
  body.m section.block { padding-block: 36px; }
  body.m .sec-head h2 { font-size: 26px; line-height: 1.2; }
  .lrow { grid-template-columns: 80px minmax(0, 1fr); padding-block: 20px; gap: 14px; align-items: start; }
  .lrow .th { width: 80px; height: 80px; border-radius: 6px; }
  .lrow h3 { font-size: 17px; line-height: 1.4; letter-spacing: -.02em; margin-block: 5px 10px; }
  .lrow .meta { font-size: 9px; line-height: 1.6; }
  .lrow .val { font-family: var(--sans); font-size: 13px; }
  .lrow .chip { font-size: 10px; white-space: normal; }
  .filters { margin-top: 24px; padding: 12px; gap: 10px; }
  body.m .casehead h1 { font-size: 31px; }
  body.m .aside { position: static; max-height: none; overflow: visible; }
  body.m .procs { grid-template-columns: minmax(0, 1fr); }
  body.m .tabbar { box-shadow: 0 -4px 20px #10211706; }
  .tabbar a, .tabbar button { gap: 5px; }
  .tabbar .on { position: relative; }
  .tabbar .on::before { content: ""; position: absolute; top: 0; width: 24px; height: 3px; border-radius: 0 0 2px 2px; background: var(--verde); }
  body.m .modal { padding: 12px; padding-top: max(12px, env(safe-area-inset-top)); }
  body.m .modal .in { max-height: calc(100dvh - 24px); border-radius: 12px; }
  .modal .mh, .modal .mb { padding: 16px; }
  .sheet .in { max-height: 90dvh; }
  body.m .bigs { grid-template-columns: 1fr; }
  body.m .bigs div { padding: 20px; }
}
@media (max-width: 359px) {
  body.m { --pad: 16px; }
  body.m .brand b { font-size: 15px; }
  .tools .ibtn { width: 36px; height: 40px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-location { font-size: 8px; }
}
[data-input="keyboard"] :is(.btn, .ibtn, .rbtn, button.chip, .seg button, .modal .in, .sheet .in) { transition: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .card:hover, .btn:active, .ibtn:active, .rbtn:active, button.chip:active, .seg button:active { transform: none; }
}
@media print {
  .hero-details > p { display: block; }
  .hero-location { margin-bottom: 16px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
.capa-art, .footer-art { display: block; overflow: hidden; border-radius: var(--r); }
.footer-art { aspect-ratio: 3 / 1; max-height: 260px; background: var(--verde-2); }
.footer-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.foot .doodle-row { margin-bottom: 32px; }
.acao h3 { display: flex; align-items: center; gap: 10px; }
.civic-icon { flex: 0 0 28px; color: var(--verde); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .footer-art { aspect-ratio: 2.4 / 1; }
  .foot .doodle-row { margin-bottom: 24px; }
}

/* Each reading develops one argument through distinct, comfortably spaced paragraphs. */
.concl .leitura-title { font: 600 clamp(21px, 2.2vw, 27px)/1.3 var(--serif); margin: 14px 0 20px; text-wrap: balance; }
.concl .leitura-body p { font-weight: 400; line-height: 1.8; margin: 0 0 18px; }
.concl .leitura-body p:last-child { margin-bottom: 0; }

/* Valores financeiros conciliados: leitura por etapa, sem colunas adicionais. */
.financial-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.financial-summary>div{padding:14px;border:1px solid var(--line);border-radius:8px;min-width:0}
.financial-summary dt{font-size:12px;line-height:1.4;color:var(--muted)}
.financial-summary dd{margin:6px 0 0;font-size:clamp(15px,2vw,20px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.financial-detail{min-width:140px;max-width:100%;font-variant-numeric:tabular-nums}
.financial-detail summary{cursor:pointer;white-space:normal}
.financial-detail summary span{display:block;font-size:11px;line-height:1.5;margin-top:5px;color:var(--muted)}
.financial-detail dl{display:grid;grid-template-columns:1fr;gap:2px;margin:12px 0 0;font-size:12px;line-height:1.5}
.financial-detail dd{margin:0 0 8px;overflow-wrap:anywhere}
.financial-detail dt{color:var(--muted)}
.review-note{margin:20px 0;padding:20px;border:1px solid var(--line);border-left:3px solid var(--verde);border-radius:8px;font-size:14px;line-height:1.75}
.review-note h3{font-size:17px;margin-top:0}.review-note p:last-child{margin-bottom:0}
@media(max-width:380px){.financial-summary{grid-template-columns:1fr}}
@media(max-width:760px){.filters:has(#dq){grid-template-columns:minmax(0,1fr)!important}.filters:has(#dq) select{width:100%;min-width:0}}
