/* Buraco do Prefeito — visual popular: amarelo de obra, contorno preto grosso, vermelho de alerta. Mobile-first. */
:root {
  --tinta: #111; --tinta2: #2a2a2a; --papel: #fff6d6; --cartao: #fff; --linha: #111;
  --ambar: #ffd400; --ambar-e: #7a5300; --verde: #0a8f4d; --texto: #111; --texto2: #4d4a40; --perigo: #e8261c;
  --raio: 16px; --sombra: 4px 4px 0 #111; --titulo: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papel); color: var(--texto); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding-bottom: 68px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: 1.7rem; } h2 { font-size: 1.25rem; margin-top: 1.6em; } h3 { font-size: 1rem; }
h2 small, h3 small { font-weight: 500; color: var(--texto2); font-size: .8em; }
p { margin: 0 0 .8em; } a { color: inherit; } img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; } li { margin-bottom: .3em; }
button, input, select, textarea { font: inherit; color: inherit; }
main { min-height: 60vh; }
.meta { color: var(--texto2); font-size: .85rem; } .sub { color: var(--texto2); margin-top: -.3em; }
.centro { text-align: center; margin-top: 1.4em; } .grande { font-size: 2rem; }
.so-desk { display: none !important; }

/* faixa demonstrativa + topo */
.faixa-demo { background: repeating-linear-gradient(-45deg, #f2b01e, #f2b01e 12px, #e9a70f 12px, #e9a70f 24px); color: #151a21; font-size: .72rem; padding: 5px 12px; text-align: center; }
.faixa-demo span { background: #151a21; color: #f2b01e; font-weight: 700; padding: 1px 7px; border-radius: 4px; margin-right: 6px; letter-spacing: .04em; }
.topo { background: var(--tinta); color: #fff; display: flex; align-items: center; gap: 14px; padding: 10px 16px; position: sticky; top: 0; z-index: 30; }
.marca-l { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.marca-l span { display: flex; flex-direction: column; line-height: 1.1; } .marca-l b { font-size: 1.1rem; letter-spacing: -.02em; } .marca-l small { font-size: .66rem; color: #aab2bd; }
.nav-p { display: none; gap: 4px; margin-left: 12px; }
.nav-p a { text-decoration: none; color: #c9d0d9; padding: 7px 11px; border-radius: 8px; font-size: .92rem; } .nav-p a.on, .nav-p a:hover { color: #fff; background: var(--tinta2); }
.topo-d { margin-left: auto; display: flex; gap: 10px; align-items: center; } .conta { text-decoration: none; }
.rodape { background: var(--tinta); color: #aab2bd; padding: 26px 16px; font-size: .85rem; margin-top: 40px; } .rodape b { color: #fff; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.nav-cel { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: #fff; border-top: 1px solid var(--linha); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.nav-cel a { text-decoration: none; text-align: center; font-size: .68rem; color: var(--texto2); padding: 7px 0 6px; } .nav-cel i { display: block; font-style: normal; font-size: 1.25rem; line-height: 1.1; }
.nav-cel a.on { color: var(--tinta); font-weight: 700; }
.nav-cel a.pub i { background: var(--ambar); color: var(--tinta); width: 40px; height: 40px; line-height: 38px; border-radius: 50%; margin: -18px auto 1px; font-size: 1.6rem; box-shadow: var(--sombra); border: 3px solid #fff; }

/* botões, selos, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid var(--tinta); background: transparent; color: var(--tinta); border-radius: 10px; padding: 9px 16px; font-weight: 600; font-size: .92rem; text-decoration: none; cursor: pointer; min-height: 42px; }
.btn:hover { background: rgba(21, 26, 33, .06); }
.btn-ambar { background: var(--ambar); border-color: var(--ambar); color: var(--tinta); } .btn-ambar:hover { background: #ffc03a; }
.btn-escuro { background: var(--tinta); color: #fff; } .btn-escuro:hover { background: var(--tinta2); }
.btn-claro { border-color: var(--linha); background: #fff; } .btn-claro-inv { border-color: #4a5462; color: #fff; }
.btn-p { padding: 6px 12px; min-height: 36px; font-size: .84rem; border-width: 1px; border-color: #c9c3b4; background: #fff; }
.btn-g { padding: 13px 22px; font-size: 1rem; } .btn-perigo { color: var(--perigo); border-color: var(--perigo); }
.btn.on { background: var(--tinta); color: #fff; border-color: var(--tinta); } .btn[disabled] { opacity: .7; cursor: default; }
.lnk { background: none; border: 0; color: var(--texto2); text-decoration: underline; cursor: pointer; font-size: .82rem; padding: 4px 0; } .bloco-l { display: block; margin-top: 10px; }
.acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.selo { display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .05em; padding: 3px 7px; border-radius: 5px; background: #ebe7dc; color: #4a4435; vertical-align: middle; white-space: nowrap; }
.selo-demo { background: #fff3cf; color: #7a5300; border: 1px dashed #d9a514; } .selo-local { background: #e3f1ff; color: #1d4f85; border: 1px dashed #2c6fb3; }
.selo-pend { background: #f0ecf9; color: #51398f; border: 1px dashed #7a5cc4; } .selo-cert { background: #dcf3ee; color: #075b53; } .selo-ncert { background: #eceae4; color: #5b6470; } .selo-ambar { background: var(--ambar); color: var(--tinta); }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: #f0ede5; color: var(--texto); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #888); } .chip-rec { background: #fde8e6; color: var(--perigo); } .chip-cat { background: color-mix(in srgb, var(--c) 14%, #fff); }
.chips, .cartao-topo, .cab-selos { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--tinta); color: var(--ambar); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; } .avatar.anon { background: #c9c3b4; color: #fff; }
.aviso { background: #fff; border: 1px solid var(--linha); border-left: 4px solid var(--tinta); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; font-size: .9rem; } .aviso.ambar { border-left-color: var(--ambar); background: #fffbef; }
.migalha { display: inline-block; font-size: .85rem; color: var(--texto2); text-decoration: none; margin-bottom: 8px; }

/* estrutura */
.bloco, .pag-mun { padding: 22px 16px; max-width: 1180px; margin: 0 auto; } .estreito { max-width: 720px; } .texto { max-width: 900px; }
.grade { display: grid; gap: 14px; grid-template-columns: 1fr; }
.painel { background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio); padding: 16px; margin-bottom: 14px; } .painel h2, .painel h3 { margin-top: 0; }
.duas, .duas-col { display: grid; gap: 20px; }

/* início */
.heroi { background: var(--tinta); color: #fff; display: grid; }
.heroi-t { padding: 34px 18px 26px; max-width: 640px; } .heroi h1 { font-size: 2.2rem; letter-spacing: -.03em; margin-bottom: .4em; }
.sobre { color: var(--ambar); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; } .lead { color: #c9d0d9; font-size: 1.05rem; } .heroi-nota { color: #8e98a5; font-size: .8rem; margin-top: 14px; }
.heroi .btn-claro { background: transparent; color: #fff; border-color: #4a5462; }
.heroi-m { height: 260px; position: relative; } .heroi-m::after { content: "MAPA DEMONSTRATIVO"; position: absolute; left: 10px; bottom: 10px; font-size: .64rem; font-weight: 700; background: #fff3cf; color: #7a5300; padding: 3px 7px; border-radius: 5px; border: 1px dashed #d9a514; }
.pilar, .cat { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 16px; } .pilar p, .cat p { color: var(--texto2); font-size: .86rem; margin: 0; }
.pilar-i, .cat-i { font-size: 1.6rem; display: block; margin-bottom: 6px; } .cat { border-top: 4px solid var(--c); }
.bloco-escuro { background: var(--tinta); color: #e6e9ed; max-width: none; padding: 34px 16px; } .bloco-escuro > .duas { max-width: 1148px; margin: 0 auto; } .bloco-escuro h2 { margin-top: 0; color: #fff; }
.nao { list-style: none; padding: 0; margin: 0; } .nao li { padding: 10px 0 10px 30px; border-bottom: 1px solid #2c343f; position: relative; } .nao li::before { content: "✕"; position: absolute; left: 4px; color: var(--ambar); font-weight: 700; }
.camadas { display: grid; gap: 8px; } .camada { background: #fff; border: 1px solid var(--linha); border-radius: 10px; padding: 11px 13px; font-weight: 600; font-size: .9rem; display: flex; gap: 10px; align-items: center; }
.camada b, .camada-b h3 b { width: 24px; height: 24px; border-radius: 50%; background: var(--tinta); color: var(--ambar); display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; flex: none; }

/* território */
.regiao { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--texto2); margin: 1.4em 0 .6em; }
.ufs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.uf { background: #fff; border: 1px solid var(--linha); border-radius: 10px; padding: 10px 12px; text-decoration: none; display: flex; gap: 10px; align-items: center; font-size: .88rem; } .uf b { background: var(--tinta); color: var(--ambar); border-radius: 6px; padding: 3px 6px; font-size: .78rem; } .uf:hover, .mun:hover, .mob:hover { border-color: var(--tinta); }
.mun, .mob { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 16px; text-decoration: none; display: flex; justify-content: space-between; gap: 10px; align-items: center; } .mun h3, .mob h3 { margin: 0 0 2px; } .mob { display: block; margin-bottom: 12px; }

/* município */
.cab-mun { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; } .cab-mun h1 { margin-bottom: 6px; font-size: 1.45rem; }
.abas { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--linha); margin: 6px -16px 14px; padding: 0 16px; scrollbar-width: none; }
.abas a { text-decoration: none; padding: 10px 12px; font-size: .9rem; font-weight: 600; color: var(--texto2); border-bottom: 3px solid transparent; white-space: nowrap; } .abas a.on { color: var(--tinta); border-color: var(--ambar); }
.filtros { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; align-items: center; scrollbar-width: none; }
.filtros select, .campo select, .campo input, .campo textarea, .form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea, .form-coment textarea, .busca input, textarea { border: 1px solid #c9c3b4; border-radius: 10px; background: #fff; padding: 9px 11px; min-height: 42px; }
.filtros select { flex: none; font-size: .86rem; max-width: 210px; }
.marca { display: flex; gap: 8px; align-items: center; font-size: .88rem; white-space: nowrap; margin: 6px 0; } .marca input { width: 18px; height: 18px; accent-color: var(--tinta); }
.contagem { margin-bottom: 12px; }

/* mapa */
.mapa-caixa { position: relative; height: calc(100vh - 330px); min-height: 380px; border-radius: var(--raio); overflow: hidden; border: 1px solid var(--linha); background: #e9e5da; } .mapa-pub { height: 340px; min-height: 0; margin-bottom: 14px; }
#mapa, .mapa-demo { position: absolute; inset: 0; } .heroi-m.mapa-demo, .mapa-mini.mapa-demo { position: relative; inset: auto; }
.mapa-demo svg { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; user-select: none; }
.md-marca { font: 700 26px system-ui, sans-serif; fill: #cfc8b6; letter-spacing: .1em; pointer-events: none; } .md-marca2 { font: 500 13px system-ui, sans-serif; fill: #bdb6a3; pointer-events: none; }
.md-marcador, .md-grupo, .md-mini { cursor: pointer; } .md-marcador.sel circle:last-of-type { stroke: #151a21; } .md-marcador text { pointer-events: none; }
.md-apoios { font-weight: 700; fill: #151a21; paint-order: stroke; stroke: #f3f0e8; stroke-width: .25em; }
.md-grupo circle { fill: #151a21; stroke: #f2b01e; stroke-width: .18em; } .md-grupo text { fill: #fff; font-weight: 700; pointer-events: none; font-family: system-ui, sans-serif; } .md-mini { fill: #151a21; opacity: .55; }
.mapa-zoom { position: absolute; right: 10px; bottom: 54px; display: grid; gap: 6px; } .mapa-zoom button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--linha); background: #fff; font-size: 1.3rem; cursor: pointer; box-shadow: var(--sombra); }
.mapa-topo { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; pointer-events: none; } .mapa-topo .selo { white-space: normal; } .mapa-n { background: var(--tinta); color: #fff; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.mapa-linha { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; }
.mapa-modo { pointer-events: auto; display: flex; background: #fff; border-radius: 10px; border: 1px solid var(--linha); overflow: hidden; box-shadow: var(--sombra); } .mapa-modo button { border: 0; background: none; padding: 8px 12px; font-size: .8rem; font-weight: 600; cursor: pointer; } .mapa-modo button.on { background: var(--tinta); color: #fff; }
.mapa-leg { position: absolute; left: 10px; bottom: 10px; right: 60px; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .68rem; background: rgba(255, 255, 255, .92); border-radius: 8px; padding: 6px 9px; width: fit-content; } .mapa-leg span { display: flex; gap: 4px; align-items: center; } .mapa-leg i { width: 9px; height: 9px; border-radius: 50%; } .mapa-leg i.rec { border: 2px dashed var(--perigo); background: none; }
.resumo { position: absolute; left: 8px; right: 8px; bottom: 8px; background: #fff; border-radius: var(--raio); box-shadow: 0 10px 40px rgba(21, 26, 33, .25); transform: translateY(120%); transition: transform .22s; z-index: 5; }
.resumo.on { transform: none; } .resumo-a { display: flex; gap: 12px; padding: 12px; text-decoration: none; } .resumo-a h3 { margin-bottom: 4px; font-size: .95rem; } .resumo-a .meta { margin-bottom: 5px; }
.resumo-x { position: absolute; right: 6px; top: 4px; border: 0; background: none; font-size: 1.4rem; cursor: pointer; padding: 4px 8px; z-index: 2; }
.fab { position: fixed; right: 14px; bottom: 82px; z-index: 20; background: var(--ambar); color: var(--tinta); font-weight: 700; text-decoration: none; padding: 12px 18px; border-radius: 99px; box-shadow: 0 6px 20px rgba(21, 26, 33, .3); }
.mapa-mini { height: 150px; border-radius: 10px; overflow: hidden; margin-bottom: 10px; border: 1px solid var(--linha); }

.mapa-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--texto2); font-size: .9rem; gap: 4px; } .mapa-msg.erro { color: #7a2a25; background: #fdf1ef; } .mapa-msg code { background: #fff; padding: 1px 6px; border-radius: 5px; }
.mapa-caixa.real .mapa-topo { top: 60px; } .mapa-caixa.real .mapa-leg { bottom: 26px; }
.muns { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; max-height: 420px; overflow: auto; margin-bottom: 8px; }
.mun-r { background: #fff; border: 1px solid var(--linha); border-radius: 9px; padding: 9px 11px; text-decoration: none; font-size: .88rem; display: flex; justify-content: space-between; gap: 6px; } .mun-r:hover { border-color: var(--tinta); } .mun-r b { background: var(--ambar); border-radius: 99px; padding: 0 7px; font-size: .74rem; }
.busca-mun { width: 100%; max-width: 380px; border: 1px solid #c9c3b4; border-radius: 10px; padding: 9px 11px; min-height: 42px; margin-bottom: 10px; background: #fff; }
/* cartões e capas */
.cartao { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; } .cartao:hover { transform: translateY(-2px); box-shadow: var(--sombra); }
.cartao-c { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; } .cartao h3 { font-size: .98rem; margin-bottom: 4px; }
.cartao-pe, .cartao-sel { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-size: .8rem; } .cartao-sel { margin-top: 0; }
.autor-mini { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .autor-mini .avatar { width: 22px; height: 22px; font-size: .7rem; } .contagens { color: var(--texto2); white-space: nowrap; }
.capa { aspect-ratio: 16/9; background: #ddd; overflow: hidden; } .capa img { width: 100%; height: 100%; object-fit: cover; }
.capa-demo { background: linear-gradient(135deg, color-mix(in srgb, var(--c) 78%, #151a21), color-mix(in srgb, var(--c) 35%, #151a21)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; position: relative; }
.capa-ic { font-size: 2.6rem; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .3)); } .capa-rot { font-size: .6rem; font-weight: 700; letter-spacing: .1em; color: rgba(255, 255, 255, .8); border: 1px dashed rgba(255, 255, 255, .5); padding: 2px 7px; border-radius: 4px; }
.capa-p { width: 92px; aspect-ratio: 1; border-radius: 10px; flex: none; } .capa-p .capa-ic { font-size: 1.7rem; } .capa-p .capa-rot { display: none; }
.capa-g { aspect-ratio: auto; height: 210px; } .capa-g .capa-ic { font-size: 4rem; }
.rank { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--linha); text-decoration: none; } .rank > b { width: 20px; color: var(--texto2); } .rank span { flex: 1; display: flex; flex-direction: column; font-weight: 600; font-size: .92rem; } .rank small { font-weight: 400; color: var(--texto2); font-size: .74rem; } .rank em { font-style: normal; font-weight: 700; }

/* detalhe */
.oc-corpo { max-width: 1180px; margin: 0 auto; padding: 18px 16px; display: grid; gap: 20px; } .oc h1 { font-size: 1.5rem; }
.autor-l { display: flex; align-items: center; gap: 10px; margin: 10px 0 14px; } .autor-l > div { flex: 1; display: flex; flex-direction: column; } .autor-l small { color: var(--texto2); font-size: .8rem; } .autor-l a { text-decoration: none; }
.acoes-oc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.acao { background: #fff; border: 1px solid var(--linha); border-radius: 12px; padding: 9px 2px; text-align: center; cursor: pointer; text-decoration: none; display: flex; flex-direction: column; gap: 2px; } .acao b { font-size: .95rem; } .acao span { font-size: .66rem; color: var(--texto2); line-height: 1.15; }
.acao.on { background: var(--tinta); border-color: var(--tinta); color: #fff; } .acao.on span { color: #c9d0d9; }
.nota-apoio { font-size: .78rem; color: var(--texto2); margin: 8px 0 16px; }
.camada-b { background: #fff; border: 1px solid var(--linha); border-left: 4px solid var(--tinta); border-radius: 12px; padding: 14px; margin-bottom: 12px; } .camada-b h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.c2 { border-left-color: #2c6fb3; } .c3 { border-left-color: var(--ambar); } .c4 { border-left-color: #7a5cc4; } .c5 { border-left-color: #2f8f5b; }
.evs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-bottom: 10px; } .evs figure { margin: 0; } .evs img, .ev-demo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; } .evs figcaption { font-size: .7rem; color: var(--texto2); margin-top: 3px; }
.ev-demo { background: color-mix(in srgb, var(--c) 60%, #151a21); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; } .ev-demo small { font-size: .54rem; letter-spacing: .08em; opacity: .8; }
.resp { background: #f6f3fb; border-radius: 8px; padding: 9px 11px; margin-bottom: 8px; } .resp p { margin: 3px 0 0; } .resp small { color: var(--texto2); font-size: .76rem; }
.avaliar { border-top: 1px solid var(--linha); margin-top: 10px; padding-top: 10px; } .avaliar h4 { margin-bottom: 4px; }
.coment { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--linha); } .coment > div { flex: 1; } .coment p { margin: 2px 0 0; } .coment small { color: var(--texto2); }
.form-coment { display: flex; gap: 8px; margin-top: 12px; align-items: flex-end; } .form-coment textarea { flex: 1; }
.linha-t { list-style: none; padding: 0; margin: 0; } .linha-t li { border-left: 2px solid var(--linha); padding: 0 0 14px 14px; position: relative; margin: 0; } .linha-t li::before { content: ""; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--texto2); }
.linha-t .t-prefeitura::before { background: #7a5cc4; } .linha-t .t-comunidade::before { background: var(--ambar); } .linha-t .t-cidadao::before { background: var(--tinta); }
.linha-t small { color: var(--texto2); font-size: .74rem; display: block; } .linha-t b { font-size: .86rem; } .linha-t p { margin: 0; font-size: .86rem; }
.oc-lado textarea { width: 100%; margin-bottom: 8px; }

/* formulários */
.form label, .campo { display: flex; flex-direction: column; gap: 5px; font-size: .86rem; font-weight: 600; margin-bottom: 12px; } .form label.marca, .form label.opcao { flex-direction: row; font-weight: 400; }
fieldset { border: 0; padding: 0; margin: 0 0 12px; } legend { font-weight: 700; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.opcoes { display: grid; gap: 8px; margin-bottom: 8px; } .opcao { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1.5px solid var(--linha); border-radius: 12px; padding: 11px 12px; cursor: pointer; margin: 0; }
.opcao:has(input:checked) { border-color: var(--tinta); background: #fffbef; } .opcao input { margin-top: 3px; accent-color: var(--tinta); } .opcao span { display: flex; flex-direction: column; } .opcao small { color: var(--texto2); font-weight: 400; }
.perfil-topo { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 18px; } .perfil-topo > .avatar { width: 64px; height: 64px; font-size: 1.6rem; } .perfil-topo > div { flex: 1; min-width: 220px; } .perfil-topo h1 { margin-bottom: 6px; }
.dim { margin-bottom: 14px; } .dim-t { display: flex; justify-content: space-between; font-weight: 600; font-size: .9rem; } .dim-b { height: 8px; background: #ece8dd; border-radius: 99px; overflow: hidden; margin: 4px 0; } .dim-b i { display: block; height: 100%; background: var(--tinta); border-radius: 99px; }
.dim ul { list-style: none; padding: 0; margin: 0; font-size: .76rem; color: var(--texto2); columns: 2; } .dim li { margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; } .kpi { background: #fff; border: 1px solid var(--linha); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.painel .kpi { background: var(--papel); } .kpi-v { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; } .kpi-r { font-size: .78rem; font-weight: 600; } .kpi-n { font-size: .7rem; color: var(--texto2); }
.recs { list-style: none; padding: 0; } .recs li { padding: 6px 0; font-size: .9rem; }

/* publicação */
.modos { display: grid; gap: 10px; } .modo { background: #fff; border: 1.5px solid var(--linha); border-radius: var(--raio); padding: 16px; text-align: left; cursor: pointer; display: grid; grid-template-columns: 46px 1fr; column-gap: 12px; } .modo:hover { border-color: var(--tinta); }
.modo span { grid-row: span 2; font-size: 2rem; } .modo small { color: var(--texto2); }
.passos { list-style: none; display: flex; gap: 4px; padding: 0; margin: 10px 0 18px; } .passos li { flex: 1; font-size: .68rem; font-weight: 600; color: var(--texto2); border-top: 4px solid var(--linha); padding-top: 5px; margin: 0; } .passos li.on { border-color: var(--ambar); color: var(--tinta); } .passos li.ok { border-color: var(--tinta); }
.pub-corpo h2 { margin-top: 0; } .pub-nav { display: flex; justify-content: space-between; gap: 10px; position: sticky; bottom: 68px; background: var(--papel); padding: 12px 0; z-index: 6; }
.cats-esc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; } .cat-b { background: #fff; border: 1.5px solid var(--linha); border-radius: 12px; padding: 10px; font-size: .8rem; font-weight: 600; text-align: left; cursor: pointer; display: flex; gap: 8px; align-items: center; } .cat-b span { font-size: 1.3rem; } .cat-b.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.duas-c { display: grid; gap: 0 12px; } .dup { border-color: var(--ambar); background: #fffbef; } .dup-i { background: #fff; border: 1px solid var(--linha); border-radius: 10px; padding: 10px; margin-bottom: 8px; display: grid; gap: 4px; }

/* institucional / admin */
.inst { border-radius: var(--raio); padding: 18px; border: 1px solid var(--linha); background: #fff; border-top: 5px solid #b9b3a4; } .inst.cert { border-top-color: var(--verde); } .inst h2 { margin-top: 0; }
.barra { display: grid; grid-template-columns: minmax(90px, 38%) 1fr 38px; gap: 8px; align-items: center; font-size: .8rem; margin-bottom: 6px; } .barra-t { background: #ece8dd; border-radius: 99px; height: 10px; overflow: hidden; } .barra-t b { display: block; height: 100%; border-radius: 99px; } .barra-n { text-align: right; font-weight: 700; } .barra-r { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabela-r { overflow-x: auto; background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); margin-bottom: 14px; } table { border-collapse: collapse; width: 100%; font-size: .84rem; } th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--linha); vertical-align: top; } th { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--texto2); background: #faf8f3; white-space: nowrap; } tr:last-child td { border-bottom: 0; }
.vazio { border: 1.5px dashed #c9c3b4; border-radius: 12px; padding: 16px; text-align: center; color: var(--texto2); font-size: .84rem; display: flex; flex-direction: column; gap: 3px; margin-bottom: 12px; } .vazio b { color: var(--texto); }
.busca { display: flex; gap: 8px; margin-bottom: 12px; } .busca input { flex: 1; } .abas-adm { margin-bottom: 18px; }
.plano { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 18px; } .preco { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; } .plano li { font-size: .9rem; }
.fases { list-style: none; padding: 0; display: grid; gap: 8px; } .fases li { background: #fff; border: 1px solid var(--linha); border-radius: 12px; padding: 12px 14px; font-size: .88rem; margin: 0; } .fases b { display: block; } .fases li.on { border-color: var(--ambar); background: #fffbef; }
.ciclo { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; } .ciclo > b { color: var(--texto2); }
.lead-p { font-size: 1.05rem; } .lista-s { font-size: .82rem; margin-top: 12px; }

/* toast e modal */
#toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 30px); background: var(--tinta); color: #fff; padding: 11px 16px; border-radius: 12px; font-size: .88rem; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; max-width: 92vw; text-align: center; } #toast.on { opacity: 1; transform: translate(-50%, 0); }
#modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; } .modal-f { position: absolute; inset: 0; background: rgba(21, 26, 33, .55); }
.modal-c { position: relative; background: var(--papel); border-radius: 18px 18px 0 0; padding: 22px 18px; width: 100%; max-width: 520px; max-height: 88vh; overflow: auto; } .modal-c h2 { margin-top: 0; } .modal-x { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 1.6rem; cursor: pointer; }

@media (min-width: 620px) {
  .g2, .g3, .g4, .g5 { grid-template-columns: repeat(2, 1fr); } .kpis { grid-template-columns: repeat(3, 1fr); } .modos { grid-template-columns: repeat(3, 1fr); } .modo { grid-template-columns: 1fr; } .modo span { grid-row: auto; }
  .cats-esc { grid-template-columns: repeat(4, 1fr); } .duas-c { grid-template-columns: 1fr 1fr; } .camadas { grid-template-columns: repeat(5, 1fr); } .camada { flex-direction: column; text-align: center; } .fases { grid-template-columns: repeat(3, 1fr); }
  .resumo { left: auto; right: 12px; bottom: 12px; width: 380px; } #modal { align-items: center; } .modal-c { border-radius: 18px; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; } .nav-cel, .so-cel { display: none !important; } .so-desk { display: inline-flex !important; } .nav-p { display: flex; }
  h1 { font-size: 2rem; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g5 { grid-template-columns: repeat(5, 1fr); } .kpis { grid-template-columns: repeat(5, 1fr); } .painel .kpis { grid-template-columns: repeat(2, 1fr); }
  .heroi { grid-template-columns: 1fr 1fr; align-items: stretch; } .heroi-t { padding: 70px 40px 60px max(24px, calc((100vw - 1180px) / 2 + 16px)); max-width: none; } .heroi h1 { font-size: 3.2rem; } .heroi-m { height: auto; min-height: 420px; }
  .duas { grid-template-columns: 1fr 1fr; align-items: center; } .duas-col { grid-template-columns: 1fr 360px; align-items: start; } .oc-corpo { grid-template-columns: 1fr 350px; align-items: start; } .capa-g { height: 320px; }
  .mapa-caixa { height: calc(100vh - 290px); } .mapa-pub { height: 400px; } .pub-nav { bottom: 0; } #toast { bottom: 30px; } .acao b { font-size: 1.05rem; } .acao span { font-size: .76rem; }
}
@media print {
  .faixa-demo, .topo, .rodape, .nav-cel, .nao-imprimir, .fab { display: none !important; } body { background: #fff; padding: 0; } .duas-col { display: block; } .cartao { break-inside: avoid; }
}

/* ===================== TEMA POPULAR ===================== */
h1, h2, h3, h4, .btn, .marca-l b, .kpi-v, .abas a, .preco, .nav-cel a, .chip, .selo { font-family: var(--titulo); }
h1 { font-size: 2rem; font-weight: 800; } h2 { font-size: 1.5rem; font-weight: 800; } h3 { font-size: 1.12rem; font-weight: 700; }
body { background: var(--papel); }
.faixa-demo { background: #111; color: #ffd400; } .faixa-demo span { background: #ffd400; color: #111; } .faixa-demo a { color: #fff; }
.topo { background: var(--ambar); color: #111; border-bottom: 4px solid #111; padding: 6px 14px; }
.marca-l { gap: 6px; } .marca-l b { font-size: 1.35rem; font-weight: 800; line-height: 1; } .marca-l small { color: #111; font-weight: 600; font-size: .7rem; } .marca-l .mascote { margin: -4px 0 -8px; }
.nav-p a { color: #111; font-weight: 700; font-family: var(--titulo); font-size: 1.02rem; } .nav-p a.on, .nav-p a:hover { background: #111; color: #ffd400; }
.btn { border: 3px solid #111; border-radius: 14px; font-weight: 800; font-size: 1rem; box-shadow: 3px 3px 0 #111; background: #fff; color: #111; transition: transform .08s, box-shadow .08s; }
.btn:hover { background: #fff; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #111; } .btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 #111; }
.btn-ambar { background: var(--perigo); border-color: #111; color: #fff; } .btn-ambar:hover { background: #ff3b30; }
.btn-escuro { background: #111; color: #ffd400; } .btn-escuro:hover { background: #111; }
.btn-claro { border-color: #111; } .btn-claro-inv { border-color: #111; color: #111; background: #fff; }
.btn-p { border-width: 2.5px; border-color: #111; box-shadow: 2px 2px 0 #111; font-size: .9rem; } .btn-g { font-size: 1.2rem; padding: 14px 24px; border-radius: 16px; box-shadow: 5px 5px 0 #111; }
.btn.on { background: #111; color: #ffd400; }
.selo { border-radius: 7px; border: 2px solid #111; font-weight: 800; font-size: .68rem; } .selo-demo, .selo-local, .selo-pend { border-style: dashed; }
.selo-demo { background: #fff; color: #111; } .selo-cert { background: #b9f5d0; color: #111; } .selo-ncert { background: #e8e4d6; color: #111; } .selo-ambar { background: var(--ambar); }
.chip { border: 2px solid #111; background: #fff; font-weight: 700; font-size: .82rem; } .chip i { border: 1.5px solid #111; width: 11px; height: 11px; } .chip-rec { background: #ffd9d6; color: #111; }
.avatar { background: var(--ambar); color: #111; border: 2.5px solid #111; font-family: var(--titulo); font-weight: 800; } .avatar.anon { background: #ddd; color: #111; }
.painel, .cartao, .pilar, .cat, .mun, .mob, .plano, .kpi, .camada-b, .camada, .tabela-r, .inst, .opcao, .modo, .cat-b, .acao, .uf, .mun-r, .aviso, .fases li, .dup-i { border: 3px solid #111; box-shadow: var(--sombra); }
.aviso { border-left-width: 10px; } .aviso.ambar { background: #fff; border-left-color: var(--ambar); }
.camada-b { border-left-width: 10px; } .c2 { border-left-color: #2c6fb3; } .c3 { border-left-color: var(--ambar); } .c4 { border-left-color: #7a5cc4; } .c5 { border-left-color: var(--verde); }
.painel .kpi { box-shadow: none; background: var(--papel); } th, td { border-bottom: 1.5px solid #e2d9b8; } th { background: var(--ambar); color: #111; font-family: var(--titulo); font-size: .82rem; }
.cartao:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #111; } .capa { border-bottom: 3px solid #111; } .capa-p { border: 3px solid #111; } .capa-g { border-bottom: 4px solid #111; }
.cat { border-top: 10px solid var(--c); } .uf b { background: var(--ambar); color: #111; border: 2px solid #111; }
.abas { border-bottom: 3px solid #111; } .abas a { font-size: 1.02rem; font-weight: 700; border-bottom-width: 6px; margin-bottom: -3px; } .abas a.on { border-color: var(--perigo); color: #111; }
.filtros select, .campo select, .campo input, .campo textarea, .form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea, .form-coment textarea, .busca input, textarea, .busca-mun { border: 2.5px solid #111; border-radius: 12px; }
.opcao:has(input:checked) { background: var(--ambar); } .cat-b.on { border-color: #111; background: var(--ambar); }
.passos li { border-top-width: 7px; font-family: var(--titulo); font-size: .8rem; } .passos li.on { border-color: var(--perigo); } .passos li.ok { border-color: #111; }
.acao b { font-family: var(--titulo); font-size: 1.1rem; } .acao.on { background: var(--ambar); border-color: #111; color: #111; } .acao.on span { color: #111; }
.dim-b { height: 14px; border: 2px solid #111; background: #fff; } .dim-b i { background: var(--perigo); border-radius: 0; }
.barra-t { height: 14px; border: 2px solid #111; background: #fff; } .barra-t b { border-radius: 0; }
.mapa-caixa { border: 4px solid #111; box-shadow: var(--sombra); } .mapa-modo, .mapa-zoom button { border: 2.5px solid #111; box-shadow: 2px 2px 0 #111; } .mapa-modo button.on { background: #111; color: #ffd400; } .mapa-n { background: var(--perigo); border: 2px solid #111; font-family: var(--titulo); font-size: .86rem; }
.mapa-leg { border: 2px solid #111; font-weight: 600; } .resumo { border: 3px solid #111; box-shadow: 6px 6px 0 #111; }
.rodape { background: #111; border-top: 6px solid var(--ambar); } .rodape b { color: var(--ambar); font-family: var(--titulo); font-size: 1.1rem; }
.nav-cel { border-top: 4px solid #111; background: var(--ambar); } .nav-cel a { color: #111; font-weight: 700; font-size: .78rem; } .nav-cel i { font-size: 1.35rem; } .nav-cel a.on { text-decoration: underline; text-decoration-thickness: 3px; }
.nav-cel a.pub i { background: var(--perigo); border: 4px solid #111; width: 56px; height: 56px; line-height: 46px; margin-top: -30px; box-shadow: 3px 3px 0 #111; font-size: 1.5rem; }
#toast { background: #111; color: #ffd400; border: 3px solid #ffd400; font-family: var(--titulo); font-size: 1rem; } .modal-c { border: 4px solid #111; }
.vazio { border: 2.5px dashed #111; background: #fff; } .linha-t li { border-left: 3px solid #111; } .linha-t li::before { border: 2px solid #111; width: 12px; height: 12px; left: -8px; }
.resp { background: #efe9ff; border: 2px solid #111; } .coment { border-bottom: 2px dashed #111; } .mun-r b { border: 2px solid #111; }
.fases li.on { background: var(--ambar); } .preco { font-size: 1.6rem; font-weight: 800; }

/* herói com o mascote */
.heroi { background: var(--ambar); color: #111; border-bottom: 5px solid #111; background-image: radial-gradient(#111 1.6px, transparent 1.7px); background-size: 22px 22px; background-color: var(--ambar); }
.heroi-t { background: var(--ambar); } .heroi h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.02; letter-spacing: -.02em; } .heroi h1 mark { background: #111; color: #ffd400; padding: 0 .18em; border-radius: 10px; display: inline-block; transform: rotate(-2deg); }
.sobre { color: #111; background: #fff; display: inline-block; border: 2.5px solid #111; border-radius: 99px; padding: 3px 12px; font-family: var(--titulo); letter-spacing: .03em; } .lead { color: #111; font-size: 1.15rem; font-weight: 500; } .heroi-nota { color: #111; font-size: .86rem; }
.heroi .btn-claro { background: #fff; color: #111; border-color: #111; }
.heroi-m { height: auto; padding: 8px 16px 22px; display: flex; flex-direction: column; align-items: center; } .heroi-m::after { content: none; } .heroi-m .mascote { max-width: 62vw; height: auto; filter: drop-shadow(6px 6px 0 rgba(17, 17, 17, .25)); }
.balao { background: #fff; border: 4px solid #111; border-radius: 22px; padding: 10px 18px; font-family: var(--titulo); font-size: 1.15rem; line-height: 1.15; text-align: center; box-shadow: var(--sombra); position: relative; transform: rotate(-3deg); margin-bottom: 4px; }
.balao b { color: var(--perigo); font-size: 1.35rem; } .balao::after { content: ""; position: absolute; left: 50%; bottom: -17px; width: 22px; height: 22px; background: #fff; border-right: 4px solid #111; border-bottom: 4px solid #111; transform: translateX(-50%) rotate(45deg); }
.masc-nome { font-family: var(--titulo); font-weight: 700; background: #111; color: #ffd400; padding: 3px 14px; border-radius: 99px; margin: 6px 0 0; font-size: .9rem; text-align: center; }
.passos3 { display: grid; gap: 14px; } .passo3 { background: #fff; border: 3px solid #111; border-radius: var(--raio); box-shadow: var(--sombra); padding: 14px 16px 14px 74px; position: relative; } .passo3 p { margin: 0; color: var(--texto2); }
.passo3 > b { position: absolute; left: 14px; top: 12px; width: 46px; height: 46px; border-radius: 50%; background: var(--perigo); color: #fff; border: 3px solid #111; font: 800 1.6rem var(--titulo); display: flex; align-items: center; justify-content: center; }
.bloco-escuro { background: #111; border-block: 5px solid var(--ambar); } .bloco-escuro h2 { color: var(--ambar); } .nao li { border-bottom: 2px dashed #444; font-weight: 600; } .nao li::before { color: var(--perigo); font-size: 1.2rem; }
.camada b, .camada-b h3 b { background: var(--ambar); color: #111; border: 2.5px solid #111; width: 30px; height: 30px; font-family: var(--titulo); font-size: 1rem; }
@media (min-width: 620px) { .passos3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { h1 { font-size: 2.5rem; } .heroi h1 { font-size: 4.2rem; } .heroi-m { justify-content: center; padding: 30px; } .heroi-m .mascote { max-width: 360px; width: 360px; } .balao { font-size: 1.4rem; } .balao b { font-size: 1.7rem; } .topo { padding: 6px 24px; } }

.dup.piloto [data-acao="dup-complementar"]{display:none}
