/* ============================================================
   NEWS — design system "sala de investigação" com estética Apple
   Inter + Instrument Serif + JetBrains Mono (Google Fonts), tema único claro,
   superfícies suaves, tom (verde/vermelho) discreto.
   ============================================================ */
:root {
  --fonte: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Instrument Serif", "Georgia", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --bg: #f6f6f8; --bg2: #ffffff; --bg3: #eeeef2; --texto: #111113; --texto2: #66666e; --texto3: #7a7a84;
  --linha: rgba(0,0,0,.08); --linha2: rgba(0,0,0,.14);
  --acento: #0071e3; --acento2: #0a84ff; --acento-bg: rgba(0,113,227,.09);
  --pos: #248a3d; --pos-bg: rgba(52,199,89,.13); --neg: #d70015; --neg-bg: rgba(255,59,48,.11); --misto: #c93400; --misto-bg: rgba(255,149,0,.13);
  --sombra: 0 1px 1px rgba(16,16,24,.03), 0 6px 20px rgba(16,16,24,.05), 0 0 0 1px rgba(16,16,24,.035);
  --raio: 18px; --raio2: 12px; --nav-h: 56px;
  --verde-br: #009c3b; --amarelo-br: #ffdf00; --azul-br: #002776;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--texto); font-family: var(--fonte); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01", "liga"; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(1200px 500px at 50% -120px, rgba(0,113,227,.07), transparent 70%); pointer-events: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--acento); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--texto2); }
.pular { position: absolute; left: -9999px; }
.pular:focus { left: 12px; top: 12px; background: var(--bg2); padding: 8px 12px; border-radius: 8px; z-index: 999; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); background: rgba(246,246,248,.78); border-bottom: 1px solid var(--linha); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: 100%; display: flex; align-items: center; gap: 22px; }
.logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo-bandeira { width: 21px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 .5px rgba(0,0,0,.15); }
.logo-texto { font-weight: 700; font-size: 15px; letter-spacing: .18em; color: var(--texto); }
.logo:hover .logo-texto { color: var(--texto); }
.nav-links { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { padding: 6px 11px; border-radius: 980px; font-size: 13.5px; color: var(--texto2); white-space: nowrap; transition: .15s; }
.nav-links a:hover { color: var(--texto); background: var(--bg3); }
.nav-links a[aria-current="page"] { color: var(--texto); background: var(--bg3); font-weight: 500; }
.nav-acoes { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-busca { position: relative; }
.nav-busca svg { position: absolute; left: 11px; top: 9px; width: 16px; height: 16px; color: var(--texto3); pointer-events: none; }
.nav-busca input { width: 250px; height: 34px; border: 0; border-radius: 980px; background: var(--bg3); padding: 0 12px 0 34px; font-size: 13.5px; outline: 0; transition: .2s; }
.nav-busca input:focus { width: 320px; background: var(--bg2); box-shadow: 0 0 0 3px var(--acento-bg), 0 0 0 1px var(--acento); }
.btn-icone { width: 34px; height: 34px; border-radius: 980px; border: 0; background: var(--bg3); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--texto2); }
.btn-icone svg { width: 17px; height: 17px; }
.btn-icone:hover { color: var(--texto); }
.nav-busca-mobile { display: none; }
@media (max-width: 900px) { .nav-busca { display: none; } .nav-busca-mobile { display: inline-flex; } .nav-links { gap: 0; } }

/* ---------- autocomplete ---------- */
.ac-lista { position: absolute; top: 40px; left: 0; right: 0; background: var(--bg2); border-radius: 14px; box-shadow: var(--sombra), 0 0 0 1px var(--linha); overflow: hidden; z-index: 60; }
.ac-lista a { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; font-size: 14px; border-bottom: 1px solid var(--linha); }
.ac-lista a:last-child { border-bottom: 0; }
.ac-lista a:hover, .ac-lista a.ativo { background: var(--acento-bg); color: var(--texto); }
.ac-lista small { color: var(--texto2); font-size: 11.5px; }

/* ---------- blocos gerais ---------- */
.secao { padding-top: 34px; padding-bottom: 10px; }
.secao-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.secao-cab h2 { font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: -.01em; }
.secao-cab a.mais { font-size: 13.5px; color: var(--acento); white-space: nowrap; }
.cartao { background: var(--bg2); border-radius: var(--raio); box-shadow: var(--sombra); }
.painel { background: var(--bg2); border-radius: var(--raio); padding: 20px 22px; box-shadow: var(--sombra); }
.painel h3 { font-size: 13px; color: var(--texto2); font-weight: 500; letter-spacing: .02em; margin-bottom: 12px; }
.grade-2 { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .grade-2 { grid-template-columns: 1fr; } }
.grade-cartoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

/* ---------- pills / chips ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 980px; font-size: 11.5px; font-weight: 500; letter-spacing: .02em; background: var(--bg3); color: var(--texto2); white-space: nowrap; }
.pill-cat { background: var(--acento-bg); color: var(--acento); }
.tom { display: inline-flex; align-items: center; gap: 4px; }
.tom::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--texto3); }
.tom-1 { color: var(--pos); } .tom-1::before { background: var(--pos); }
.tom-2 { color: var(--neg); } .tom-2::before { background: var(--neg); }
.tom-3 { color: var(--misto); } .tom-3::before { background: var(--misto); }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 980px; background: var(--bg3); font-size: 13.5px; transition: .15s; border: 1px solid transparent; }
.chip:hover { background: var(--acento-bg); color: var(--texto); border-color: var(--acento); }
.chip .tipo { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--texto3); }
.chip .n { font-family: var(--mono); font-size: 11px; color: var(--texto2); }
.chip.tom-1 { border-color: var(--pos-bg); background: var(--pos-bg); color: var(--texto); } .chip.tom-1::before { display: none; }
.chip.tom-2 { border-color: var(--neg-bg); background: var(--neg-bg); color: var(--texto); } .chip.tom-2::before { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rel { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; }
.rel-alta { color: var(--neg); } .rel-media { color: var(--misto); }

/* ---------- cartão de notícia ---------- */
.noticia-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.noticia-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16,16,24,.04), 0 18px 44px rgba(16,16,24,.1), 0 0 0 1px rgba(16,16,24,.04); }
.noticia-card .img { aspect-ratio: 16/9; background: var(--bg3); overflow: hidden; }
.noticia-card .img img { width: 100%; height: 100%; object-fit: cover; }
.noticia-card .corpo { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.noticia-card h3 { font-size: 16.5px; line-height: 1.3; }
.noticia-card h3 a:hover { color: var(--acento); }
.noticia-card .resumo { font-size: 14px; color: var(--texto2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; color: var(--texto2); }
.meta .fonte { font-weight: 500; color: var(--texto); }
.meta .fonte:hover { color: var(--acento); }
.meta time { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; }
.noticia-card.destaque h3 { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.12; letter-spacing: -.01em; }
.noticia-card.destaque .resumo { -webkit-line-clamp: 4; font-size: 15px; }
.manchetes { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: stretch; }
.noticia-card.destaque:not(:has(.img)) { background: linear-gradient(160deg, #ffffff 0%, #f1f4fb 100%); }
.noticia-card.destaque:not(:has(.img)) .corpo { justify-content: center; padding: 34px 32px; gap: 14px; }
.noticia-card.destaque:not(:has(.img)) h3 { font-size: 40px; }
.manchetes .lateral { display: grid; gap: 16px; }
@media (max-width: 760px) { .manchetes { grid-template-columns: 1fr; } }

/* ---------- lista de notícias (linha do tempo) ---------- */
.lista { display: flex; flex-direction: column; }
.item { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linha); align-items: start; }
.item:last-child { border-bottom: 0; }
.item .quando { font-family: var(--mono); font-size: 11px; color: var(--texto2); line-height: 1.5; padding-top: 3px; }
.item .quando b { display: block; font-size: 13px; color: var(--texto); font-weight: 600; }
.item h3 { font-size: 16px; line-height: 1.35; margin-bottom: 4px; }
.item .resumo { font-size: 14px; color: var(--texto2); margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .thumb { width: 96px; height: 68px; border-radius: 10px; object-fit: cover; background: var(--bg3); }
@media (max-width: 640px) { .item { grid-template-columns: 1fr; gap: 6px; } .item .thumb { display: none; } .item .quando b { display: inline; margin-right: 8px; } }

/* ---------- sala de situação (home) ---------- */
.situacao { padding-top: 28px; padding-bottom: 6px; }
.situacao-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.situacao-topo h1 { font-family: var(--display); font-weight: 400; font-size: 54px; letter-spacing: -.015em; line-height: 1; }
.situacao-topo p { color: var(--texto2); margin: 6px 0 0; max-width: 620px; font-size: 15.5px; }
.ao-vivo { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto2); }
.ao-vivo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 0 rgba(48,209,88,.6); animation: pulso 2s infinite; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(48,209,88,.5); } 70% { box-shadow: 0 0 0 8px rgba(48,209,88,0); } 100% { box-shadow: 0 0 0 0 rgba(48,209,88,0); } }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
@media (max-width: 760px) { .tiles, .tiles.dossie { grid-template-columns: repeat(2, 1fr); } }
.tile { background: var(--bg2); border-radius: var(--raio2); padding: 14px 16px; box-shadow: var(--sombra); }
.tile .mono { display: block; margin-bottom: 4px; }
.tile strong { font-size: 28px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tile small { display: block; color: var(--texto2); font-size: 12px; margin-top: 2px; }
.termometro { height: 6px; border-radius: 3px; background: var(--bg3); overflow: hidden; display: flex; margin-top: 8px; }
.termometro span { height: 100%; }
.termometro .p { background: var(--pos); } .termometro .n { background: var(--neg); } .termometro .z { background: var(--texto3); opacity: .5; }
.busca-grande { position: relative; margin: 10px 0 26px; }
.busca-grande > input[type=search] { width: 100%; height: 54px; border: 0; border-radius: 980px; background: var(--bg2); box-shadow: var(--sombra); padding: 0 124px 0 52px; font-size: 17px; outline: 0; }
.busca-grande > input[type=search]:focus { box-shadow: var(--sombra), 0 0 0 4px var(--acento-bg); }
.busca-grande > svg { position: absolute; left: 20px; top: 18px; width: 19px; height: 19px; color: var(--texto3); }
.busca-grande > button { position: absolute; right: 7px; top: 7px; height: 40px; padding: 0 18px; border: 0; border-radius: 980px; background: var(--acento); color: #fff; font-weight: 500; cursor: pointer; }
.busca-grande .ac-lista { top: 60px; }

/* ---------- barras / gráficos SVG ---------- */
.barras { display: flex; flex-direction: column; gap: 9px; }
.barra { display: grid; grid-template-columns: 1fr 44px; gap: 10px; align-items: center; font-size: 13.5px; }
.barra .trilha { height: 6px; border-radius: 3px; background: var(--bg3); overflow: hidden; margin-top: 5px; display: flex; }
.barra .trilha i { display: block; height: 100%; background: var(--acento); }
.barra .trilha i.p { background: var(--pos); } .barra .trilha i.n { background: var(--neg); }
.barra .valor { font-family: var(--mono); font-size: 11.5px; color: var(--texto2); text-align: right; }
.grafico { width: 100%; height: auto; display: block; overflow: visible; }
.grafico .eixo { fill: var(--texto3); font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; }
.grafico .b { fill: var(--acento); opacity: .85; } .grafico .b:hover { opacity: 1; }
.grafico .bp { fill: var(--pos); } .grafico .bn { fill: var(--neg); } .grafico .bz { fill: var(--texto3); opacity: .45; }
.grafico .linha { fill: none; stroke: var(--acento); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.grafico .area { fill: var(--acento); opacity: .12; }
.grafico .grade { stroke: var(--linha); stroke-width: 1; }
.legenda { display: flex; gap: 14px; font-size: 12px; color: var(--texto2); margin-top: 8px; }
.legenda i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }

/* ---------- em alta ---------- */
.em-alta { display: flex; flex-direction: column; gap: 2px; }
.em-alta a { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 10px; font-size: 14px; }
.em-alta a:hover { background: var(--bg3); color: var(--texto); }
.em-alta .pos { font-family: var(--mono); font-size: 11px; color: var(--texto3); }
.em-alta .nome { display: flex; flex-direction: column; line-height: 1.2; }
.em-alta .nome small { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--texto3); margin-top: 2px; }
.em-alta .qtd { font-family: var(--mono); font-size: 12px; color: var(--texto2); }

/* ---------- ficha da notícia ---------- */
.ficha { max-width: 800px; margin: 0 auto; padding-top: 36px; padding-bottom: 40px; }
.ficha-cab .mono { margin-bottom: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.ficha h1 { font-family: var(--display); font-weight: 400; font-size: 46px; letter-spacing: -.012em; line-height: 1.08; margin-bottom: 16px; }
@media (max-width: 640px) { .ficha h1 { font-size: 32px; } .situacao-topo h1 { font-size: 40px; } .dossie-cab h1 { font-size: 34px; } .tile strong { font-size: 22px; } .busca-grande > button { padding: 0 12px; } .busca-grande > input[type=search] { padding-right: 104px; } }
.ficha .titulo-original { color: var(--texto2); font-size: 14px; font-style: italic; margin-bottom: 14px; }
.ficha .lede { font-size: 20px; line-height: 1.55; color: var(--texto); margin: 18px 0 24px; font-weight: 400; }
.ficha .lede::first-letter { font-family: var(--display); font-size: 1.35em; }
.ficha figure { margin: 22px 0; border-radius: var(--raio); overflow: hidden; background: var(--bg3); }
.ficha figure img { width: 100%; max-height: 460px; object-fit: cover; }
.ficha figcaption { font-size: 12px; color: var(--texto2); padding: 8px 2px; }
.bloco { background: var(--bg2); border-radius: var(--raio); padding: 20px 22px; box-shadow: var(--sombra); margin: 18px 0; }
.bloco h2 { font-size: 13px; color: var(--texto2); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; font-family: var(--mono); }
.pontos { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pontos li { position: relative; padding-left: 22px; font-size: 15.5px; }
.pontos li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--acento); }
.contexto { font-size: 15px; color: var(--texto2); border-left: 3px solid var(--acento); padding-left: 14px; margin: 0; }
.fonte-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fonte-card .info { display: flex; flex-direction: column; gap: 2px; }
.fonte-card .info b { font-size: 16px; }
.fonte-card .info span { font-size: 13px; color: var(--texto2); word-break: break-all; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 980px; background: var(--acento); color: #fff !important; font-weight: 500; font-size: 14.5px; border: 0; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn.sec { background: var(--bg3); color: var(--texto) !important; }
.btn svg { width: 15px; height: 15px; }
.tom-grafico { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--texto2); margin-top: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { font-family: var(--mono); font-size: 11.5px; padding: 4px 9px; border-radius: 8px; background: var(--bg3); color: var(--texto2); }
.tags a:hover { color: var(--acento); }
.relacionadas { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.relacionadas a { background: var(--bg2); border-radius: var(--raio2); padding: 12px 14px; box-shadow: var(--sombra); font-size: 14px; line-height: 1.35; display: flex; flex-direction: column; gap: 6px; }
.relacionadas a:hover { color: var(--texto); transform: translateY(-1px); }
.relacionadas .meta { font-size: 11.5px; }
.rodape-ficha { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--texto2); font-size: 12.5px; margin-top: 10px; }
.aviso-pendente { background: var(--misto-bg); color: var(--misto); border-radius: var(--raio2); padding: 12px 16px; font-size: 14px; margin-bottom: 18px; }

/* ---------- dossiê ---------- */
.dossie-cab { padding-top: 36px; padding-bottom: 22px; display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.selo { width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, #0a84ff, #0051c3); color: #fff; box-shadow: 0 6px 16px rgba(0,113,227,.28); font-family: var(--display); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 26px; letter-spacing: -.02em; flex-shrink: 0; }
.dossie-cab h1 { font-family: var(--display); font-weight: 400; font-size: 48px; letter-spacing: -.012em; line-height: 1.05; }
.dossie-cab .aliases { color: var(--texto2); font-size: 14px; margin: 6px 0 0; }
.dossie-cab .mono { display: block; margin-bottom: 8px; }
.tiles.dossie { grid-template-columns: repeat(4, 1fr); margin: 10px 0 24px; }
.conexoes-graf { display: block; width: 100%; max-width: 420px; margin: 0 auto; }
.conexoes-graf .no { fill: var(--bg2); stroke: var(--acento); stroke-width: 1.5; }
.conexoes-graf .no-c { fill: var(--acento); }
.conexoes-graf .rotulo { font-family: var(--fonte); font-size: 10.5px; fill: var(--texto); }
.conexoes-graf .rotulo-c { font-weight: 600; fill: #fff; font-size: 11px; }
.conexoes-graf .aresta { stroke: var(--acento); opacity: .25; }
.conexoes-graf a:hover .no { fill: var(--acento-bg); }
.linha-tempo { position: relative; padding-left: 20px; }
.linha-tempo::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; background: var(--linha2); border-radius: 2px; }
.linha-tempo .item { position: relative; }
.linha-tempo .item::before { content: ""; position: absolute; left: -19px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--bg); border: 2px solid var(--acento); }
.linha-tempo .item.tom-1::before { border-color: var(--pos); } .linha-tempo .item.tom-2::before { border-color: var(--neg); }
.paginacao { display: flex; justify-content: center; gap: 10px; padding: 24px 0; }
.vazio { text-align: center; padding: 60px 20px; color: var(--texto2); }
.vazio h2 { font-size: 20px; margin-bottom: 8px; color: var(--texto); }

/* ---------- investigar (busca) ---------- */
.investigar { padding-top: 36px; padding-bottom: 10px; }
.investigar h1 { font-family: var(--display); font-weight: 400; font-size: 44px; margin-bottom: 14px; letter-spacing: -.012em; }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; align-items: center; }
.filtros input[type=date] { width: auto; }
.filtros select, .filtros input[type="date"] { height: 34px; border: 0; border-radius: 980px; background: var(--bg3); padding: 0 12px; font-size: 13px; outline: 0; }
.seg { display: inline-flex; background: var(--bg3); border-radius: 980px; padding: 3px; }
.seg a, .seg label { padding: 5px 12px; border-radius: 980px; font-size: 13px; color: var(--texto2); cursor: pointer; }
.seg a[aria-current], .seg input:checked + span { background: var(--bg2); color: var(--texto); box-shadow: var(--sombra); }
.seg input { display: none; }
.seg label span { display: inline-block; padding: 5px 12px; border-radius: 980px; margin: -5px -12px; }
.resultado-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 16px 0 4px; }
.resultado-cab .mono { font-size: 11px; }
.dossie-card { display: flex; gap: 16px; align-items: center; padding: 16px 18px; margin: 12px 0 8px; }
.dossie-card .selo { width: 48px; height: 48px; font-size: 20px; border-radius: 14px; }
.dossie-card .info { flex: 1; }
.dossie-card .info b { font-size: 17px; display: block; }
.dossie-card .info span { font-size: 13px; color: var(--texto2); }
mark { background: var(--misto-bg); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------- arquivo por data ---------- */
.calendario { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 14px 0 20px; }
.calendario a { background: var(--bg2); border-radius: 10px; padding: 10px 8px; text-align: center; box-shadow: var(--sombra); font-size: 13px; }
.calendario a b { display: block; font-size: 15px; }
.calendario a small { font-family: var(--mono); font-size: 10.5px; color: var(--texto2); }
.migalhas { display: flex; gap: 6px; font-size: 13px; color: var(--texto2); margin-bottom: 8px; flex-wrap: wrap; }
.migalhas a:hover { color: var(--acento); }

/* ---------- formulários ---------- */
.form { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.form label { font-size: 13px; color: var(--texto2); display: flex; flex-direction: column; gap: 5px; }
.form input, .form textarea, .form select { padding: 11px 13px; border: 1px solid var(--linha2); border-radius: 10px; background: var(--bg2); outline: 0; font-size: 15px; }
.form input:focus, .form textarea:focus { border-color: var(--acento); box-shadow: 0 0 0 3px var(--acento-bg); }
.alerta { padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.alerta.ok { background: var(--pos-bg); color: var(--pos); } .alerta.erro { background: var(--neg-bg); color: var(--neg); }
.prosa { max-width: 720px; font-size: 16.5px; }
.prosa h2 { font-size: 22px; margin: 28px 0 10px; }
.prosa p, .prosa li { color: var(--texto2); }

/* ---------- rodapé ---------- */
.rodape { margin-top: 60px; border-top: 1px solid var(--linha); padding: 36px 0 44px; font-size: 13px; color: var(--texto2); }
.rodape-topo { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.rodape-links { display: flex; gap: 18px; flex-wrap: wrap; }
.rodape-links a:hover { color: var(--acento); }
.rodape .aviso { max-width: 820px; line-height: 1.55; }
.logo-rodape .logo-texto { font-size: 14px; }
.rodape .mono { margin: 6px 0 0; }
