/* Portal da Prefeitura Municipal de Aragominas — mesmo visual do layout 2026 que estava no ar (WordPress), agora em PHP.
   Paleta do logo: verde #0B5E2C / #063A1B, amarelo #F0C030, laranja #EC6B23. */
:root {
  --pri: #0B5E2C; --pri-esc: #063A1B; --dest: #F0C030; --dest-claro: #F6D660; --laranja: #EC6B23; --verde: #12803F;
  --texto: #0F2418; --suave: #46594D; --linha: #DCE8DF; --fundo: #F3F7F4; --branco: #fff;
  --raio: 14px; --sombra: 0 6px 22px rgba(11,94,44,.08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font: 16px/1.6 Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--texto); background: var(--branco); overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--pri); }
a:hover { color: var(--pri-esc); }
h1, h2, h3 { line-height: 1.25; color: var(--texto); }
.caixa { width: min(1200px, 100% - 40px); margin-inline: auto; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pular { position: absolute; left: -999px; top: 8px; background: var(--dest); color: #000; padding: 8px 14px; z-index: 99; border-radius: 6px; }
.pular:focus { left: 8px; }
.ico { width: 1.1em; height: 1.1em; vertical-align: -.18em; flex: none; }
:focus-visible { outline: 3px solid var(--dest); outline-offset: 2px; }

/* ---------- barra de acessos do topo ---------- */
.barra-topo { background: var(--pri-esc); color: rgba(255,255,255,.9); font-size: 13px; }
.barra-topo .caixa { display: flex; gap: 12px; justify-content: space-between; align-items: center; min-height: 38px; flex-wrap: nowrap; }
.barra-topo .horario { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 500; }
.barra-topo .horario .ico { color: var(--dest); width: 14px; height: 14px; }
.barra-topo nav { display: flex; gap: 4px; align-items: center; flex-wrap: nowrap; }
.barra-topo nav > a:not(.rede) { color: rgba(255,255,255,.92); text-decoration: none; font-weight: 600; padding: 4px 8px; white-space: nowrap; }
.barra-topo nav > a:not(.rede):hover { color: var(--dest); }
.barra-topo .siga { font-weight: 600; font-size: 12.5px; color: rgba(255,255,255,.85); margin: 0 4px 0 8px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.3); white-space: nowrap; }
.rede { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; align-items: center; justify-content: center; text-decoration: none; margin-left: 4px; }
.rede .ico { width: 14px; height: 14px; }
.rede:hover { background: var(--dest); color: var(--pri-esc); }
.barra-seta { display: none; }

/* ---------- logo, busca, contato e Radar ---------- */
.cabecalho { background: var(--branco); }
.cabecalho > .caixa { display: flex; align-items: center; gap: 26px; padding: 14px 0; }
.marca { display: block; flex: none; }
.marca img { width: 280px; height: auto; display: block; }
.busca-bloco { flex: 1 1 40%; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.busca-rot { font-size: 13px; font-weight: 700; color: var(--pri); }
.busca-topo { display: flex; width: 100%; }
.busca-topo input { flex: 1; min-width: 0; height: 50px; border: 1.5px solid #c8dacd; border-right: 0; border-radius: 12px 0 0 12px; background: #f5f9f6; padding: 0 18px; font: 400 15px Roboto, Arial, sans-serif; color: #1b1b1b; }
.busca-topo input:focus { outline: 0; border-color: var(--pri); background: #fff; }
.busca-topo button { height: 50px; border: 0; border-radius: 0 12px 12px 0; background: var(--pri); color: #fff; padding: 0 22px; font: 700 15px Roboto, Arial, sans-serif; cursor: pointer; }
.busca-topo button:hover { background: var(--pri-esc); }
.contato-topo { display: flex; flex-direction: column; gap: 4px; padding: 0 18px; border-left: 1px solid var(--linha); border-right: 1px solid var(--linha); font-size: 14px; flex: none; }
.contato-topo a { text-decoration: none; font-weight: 600; color: var(--texto); display: flex; align-items: center; gap: 6px; }
.contato-topo a:hover { color: var(--pri); }
.contato-topo .ico { color: var(--pri); width: 14px; height: 14px; }
.radar { flex: none; display: block; }
.radar img { width: 150px; height: auto; display: block; }
.botao-menu { display: none; margin-left: auto; background: var(--pri); color: #fff; border: 0; border-radius: 10px; padding: 10px 14px; font: inherit; font-weight: 700; gap: 6px; align-items: center; cursor: pointer; }

/* ---------- menu principal (barra verde, fica fixa ao rolar) ---------- */
.menu { background: var(--pri); position: sticky; top: 0; z-index: 90; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.menu > ul { display: flex; list-style: none; padding: 0; margin-block: 0; flex-wrap: wrap; justify-content: center; }
.menu li { position: relative; }
.menu .menu-logo { display: none; }
.menu > ul > li > a { display: block; padding: 16px 14px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .4px; border-bottom: 3px solid transparent; }
.menu > ul > li:hover > a, .menu > ul > li:focus-within > a, .menu > ul > li.ativo > a { color: var(--dest); border-bottom-color: var(--dest); }
.menu .tem-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); }
.menu li ul { display: none; position: absolute; left: 0; top: 100%; min-width: 270px; background: #fff; list-style: none; margin: 0; padding: 6px 0; border-radius: 0 0 8px 8px; box-shadow: 0 10px 30px rgba(0,0,0,.18); z-index: 95; }
.menu li:hover > ul, .menu li:focus-within > ul { display: block; }
.menu li ul a { display: block; padding: 11px 18px; color: var(--texto); text-decoration: none; font-size: 14px; font-weight: 500; }
.menu li ul li:hover > a, .menu li ul a:hover { background: var(--pri); color: #fff; }
.menu li ul .tem-sub > a::after { float: right; margin-top: 5px; transform: rotate(-45deg); }
.menu li ul ul { left: 100%; top: 0; border-radius: 8px; }
/* logo que aparece à esquerda quando a barra gruda no alto */
.menu.fixa .menu-logo { display: block; margin-right: auto; }
.menu.fixa .menu-logo img { background: #fff; border-radius: 8px; padding: 4px 8px; height: 40px; width: auto; display: block; }
.menu.fixa > ul { justify-content: space-between; align-items: center; flex-wrap: nowrap; }
.menu.fixa > ul > li > a { padding: 13px 7px; font-size: 12.5px; }
.faixa-cores { height: 4px; background: linear-gradient(90deg, var(--laranja) 40%, var(--dest) 70%, var(--dest)); }

/* ---------- capa: faixa de abertura (texto, busca e atalhos POR CIMA da foto do banner) ---------- */
.hero { position: relative; background: var(--pri-esc) url("../img/banner-site.jpg") center top / 100% auto no-repeat; aspect-ratio: 2000 / 400; display: flex; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,40,18,.92) 30%, rgba(4,40,18,0) 68%); }
.hero-corpo { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; padding: 20px 0; width: min(1200px, 100% - 40px); }
.hero-corpo > * { max-width: 640px; }
.hero-pre { color: var(--dest); font-weight: 700; font-size: 14px; letter-spacing: 3px; }
.hero h1 { color: #fff; font-size: 38px; font-weight: 800; line-height: 1.1; margin: 0; }
.hero-frase { display: none; color: rgba(255,255,255,.92); font-size: 17px; line-height: 1.5; margin: 0; }
.hero-busca { display: flex; max-width: 640px; }
.hero-busca input { flex: 1; min-width: 0; height: 48px; border: 0; border-radius: 12px 0 0 12px; background: #fff; padding: 0 18px; font: 400 15px Roboto, Arial, sans-serif; color: #1b1b1b; }
.hero-busca button { height: 48px; border: 0; border-radius: 0 12px 12px 0; background: var(--dest); color: var(--pri-esc); padding: 0 24px; font: 700 15px Roboto, Arial, sans-serif; cursor: pointer; }
.hero-busca button:hover { background: var(--dest-claro); }
.hero-botoes { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; max-width: none; }
.bt { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 8px; font: 700 15px Roboto, Arial, sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.bt-dest { background: var(--dest); color: var(--pri-esc); }
.bt-dest:hover { background: var(--dest-claro); color: var(--pri-esc); }
.bt-contorno { background: transparent; color: #fff; border-color: #fff; }
.bt-contorno:hover { background: #fff; color: var(--pri); }
.bt-verde { background: var(--pri); color: #fff; }
.bt-verde:hover { background: var(--pri-esc); color: #fff; }
.bt-linha { background: transparent; color: var(--pri); border-color: var(--pri); }
.bt-linha:hover { background: var(--pri); color: #fff; }
.bt-peq { padding: 9px 16px; font-size: 14px; border-radius: 6px; }
@media (min-width: 1700px) { .hero-frase { display: none; } }
@media (max-width: 1699px) { .hero-frase { display: none; } }
/* abaixo de 1200px o banner fica baixo demais para o texto: foto inteira no alto, texto logo abaixo no verde */
@media (max-width: 1199px) {
  .hero { aspect-ratio: auto; padding-top: calc(20vw + 26px); display: block; background-position: center top; }
  .hero::before { top: 20vw; background: var(--pri-esc); }
  .hero-frase { display: block; }
  .hero-corpo { padding: 0 0 30px; }
  .hero-corpo > * { max-width: none; }
}

/* ---------- seções da capa ---------- */
.secao { padding: 64px 0; }
.secao.cinza { background: var(--fundo); }
.secao-tit h2 { margin: 0; font-size: 32px; font-weight: 800; color: var(--texto); }
.secao-tit p { margin: 6px 0 0; font-size: 17px; line-height: 1.5; color: var(--suave); }
.secao-tit.centro { text-align: center; }
.secao-tit.centro h2, .secao-tit.centro p { color: #fff; }
.secao-tit.centro p { color: rgba(255,255,255,.88); }
.secao-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.secao .secao-tit { margin-bottom: 28px; }
.secao-cab .secao-tit { margin-bottom: 0; }
.acessos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.acesso { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 26px 18px; background: #fff; border: 1px solid var(--linha); border-radius: 16px; box-shadow: 0 6px 22px rgba(11,94,44,.08); text-decoration: none; color: var(--texto); transition: transform .2s ease, box-shadow .2s ease; }
.acesso:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,94,44,.14); color: var(--texto); }
.acesso-ic { width: 60px; height: 60px; border-radius: 50%; background: #E3F1E7; color: var(--pri); display: grid; place-items: center; margin-bottom: 10px; }
.acesso-ic .ico { width: 26px; height: 26px; }
.acesso strong { font-size: 17px; font-weight: 700; }
.acesso small { font-size: 14px; color: #55665B; line-height: 1.4; }
.cards { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-not, .card-doc { background: #fff; border: 1px solid var(--linha); border-radius: 14px; box-shadow: 0 6px 22px rgba(11,94,44,.07); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card-not:hover, .card-doc:hover { box-shadow: 0 12px 28px rgba(11,94,44,.14); }
.card-img { position: relative; display: grid; place-items: center; aspect-ratio: 1 / .62; background: linear-gradient(135deg, var(--pri), var(--pri-esc)); color: rgba(255,255,255,.7); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.selo-cat { position: absolute; left: 12px; top: 12px; background: var(--pri); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 4px; }
.card-txt, .card-doc { padding: 0; }
.card-txt { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-doc { padding: 20px; gap: 8px; }
.card-not h3, .card-doc h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.card-doc h3 { font-weight: 800; word-break: break-word; }
.card-not h3 a, .card-doc h3 a { color: var(--texto); text-decoration: none; }
.card-not h3 a:hover, .card-doc h3 a:hover { color: var(--pri); }
.card-not p, .card-doc p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--suave); }
.ler { margin-top: auto; padding-top: 6px; color: var(--pri); font-weight: 800; font-size: 14px; text-decoration: none; text-transform: uppercase; }
.ler:hover { text-decoration: underline; }
.card-not time, .card-doc time { font-size: 13px; color: #65766B; border-top: 1px solid var(--linha); padding-top: 10px; margin-top: 4px; }
.videos .video-card { background: #fff; border: 1px solid var(--linha); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.video-card h3 { margin: 0; font-size: 18px; font-weight: 700; }
.video-card video { width: 100%; border-radius: 12px; background: #000; }

/* e-SIC, pesquisa de satisfação e ouvidoria (fundo verde, como na capa atual) */
.participe { background: linear-gradient(135deg, var(--pri), var(--pri-esc)); }
.duas-caixas { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.caixa-branca { background: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.caixa-branca h3 { margin: 0; font-size: 20px; font-weight: 800; }
.caixa-branca p { margin: 0; color: var(--suave); font-size: 15px; line-height: 1.5; }
.banner-esic { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); display: block; }
.botoes-linha { display: flex; flex-wrap: wrap; gap: 10px; }
.manifs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.manif { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; color: #fff; text-decoration: none; transition: background .2s ease; }
.manif:hover { background: rgba(255,255,255,.16); color: #fff; }
.manif .ico { width: 30px; height: 30px; color: var(--dest); }
.manif strong { font-size: 17px; font-weight: 700; }

/* ---------- rodapé ---------- */
.rodape { color: rgba(255,255,255,.86); font-size: 14.5px; }
.rodape-corpo { background: linear-gradient(160deg, var(--pri), var(--pri-esc)); padding: 60px 0 40px; }
.rodape a { color: #fff; }
.grade-rodape { display: grid; grid-template-columns: 28fr 16fr 24fr 23fr; gap: 32px 28px; }
.rodape h2 { color: var(--dest); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 12px; }
.logo-rodape { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.logo-rodape img { width: 250px; display: block; }
.lista-ic { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; line-height: 1.45; }
.lista-ic li { display: flex; gap: 10px; align-items: flex-start; }
.lista-ic .ico { color: var(--dest); margin-top: 3px; width: 15px; height: 15px; }
.lista-ic a { text-decoration: none; }
.lista-ic a:hover, .rodape li a:hover { color: var(--dest); }
.rodape .redes { display: flex; gap: 6px; margin: 0 0 18px; }
.rodape .redes .rede { margin: 0; }
.form-contato { display: flex; flex-direction: column; gap: 10px; }
.form-contato input, .form-contato textarea { padding: 10px 12px; border-radius: 8px; border: 0; background: rgba(255,255,255,.95); color: #1b1b1b; font: inherit; }
.form-contato button { align-self: flex-start; background: var(--dest); color: var(--pri-esc); border: 0; border-radius: 8px; padding: 10px 22px; font-weight: 700; cursor: pointer; }
.form-contato button:hover { background: var(--dest-claro); }
.cartao-prefeito { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: #fff; }
.cartao-prefeito img { width: 75%; border-radius: 14px; display: block; }
.cartao-prefeito strong { font-size: 17px; font-weight: 800; }
.cartao-prefeito span { color: rgba(255,255,255,.8); font-size: 14px; }
.col-sec ul { list-style: none; margin: 0; padding: 0; }
.col-sec li a { display: block; padding: 5px 0; font-size: 13.5px; font-weight: 500; line-height: 1.35; color: rgba(255,255,255,.86); text-decoration: none; }
.col-mapa iframe { width: 100%; height: 240px; border: 0; border-radius: 12px; display: block; }
.col-mapa p { margin: 10px 0 0; }
.col-mapa a { text-decoration: none; font-weight: 600; color: rgba(255,255,255,.86); }
.col-mapa .ico { color: var(--dest); }
.direitos { background: #03200F; font-size: 13px; color: rgba(255,255,255,.75); }
.direitos .caixa { display: flex; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; padding: 16px 0; align-items: center; }
.direitos .dev { font-weight: 600; }

/* botão "Precisa de ajuda?" (WhatsApp) */
.chat-zap { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.chat-zap span { background: #fff; color: #333; padding: 9px 14px; border-radius: 10px; font-size: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.chat-zap b { width: 52px; height: 52px; border-radius: 50%; background: #25a35a; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.chat-zap b .ico { width: 24px; height: 24px; }
.chat-zap:hover b { background: var(--pri); }
.a11y { top: auto; bottom: 24px; }

/* ---------- celular e tablet ---------- */
@media (max-width: 1180px) {
  .contato-topo { display: none; }
  .acessos { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .grade-rodape { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .radar { display: none; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .manifs { grid-template-columns: repeat(3, 1fr); }
  .duas-caixas { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .secao { padding: 44px 0; }
  .secao-tit h2 { font-size: 26px; }
  .barra-topo .horario { display: none; }
  .barra-topo .caixa { min-height: 0; position: relative; }
  .barra-topo nav { flex-wrap: nowrap; width: 100%; gap: 6px; overflow-x: auto; white-space: nowrap; padding: 6px 0; scrollbar-width: none; }
  .barra-topo nav::-webkit-scrollbar { display: none; }
  .barra-topo nav a { flex: none; }
  .barra-topo .siga { display: none; }
  .cabecalho > .caixa { flex-wrap: wrap; gap: 12px; padding: 10px 0; }
  .marca img { width: 210px; }
  .botao-menu { display: inline-flex; }
  .busca-bloco { order: 3; flex-basis: 100%; }
  .menu { display: none; }
  .menu.aberto { display: block; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
  .menu > ul { flex-direction: column; padding: 6px 0; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; }
  .menu > ul > li + li { border-top: 1px solid rgba(255,255,255,.1); }
  .menu > ul > li > a { padding: 14px 18px; border-bottom: 0; }
  .menu .tem-sub > a { display: flex; justify-content: space-between; align-items: center; }
  .menu li ul, .menu li ul ul { position: static; display: none; box-shadow: none; background: rgba(255,255,255,.07); border-radius: 0; margin: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .menu li:hover > ul, .menu li:focus-within > ul { display: none; }
  .menu li.sub-aberto > ul { display: block; }
  .menu li ul a { color: #fff; padding: 9px 16px; white-space: normal; }
  .menu li ul li:hover > a, .menu li ul a:hover { background: rgba(255,255,255,.12); color: var(--dest); }
  .menu li ul .tem-sub > a::after { float: none; margin-top: 0; transform: rotate(45deg); }
  .menu > ul > li.ativo > a, .menu li.sub-aberto > a { color: var(--dest); }
  .acessos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .acesso { padding: 18px 10px; }
  .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .manifs { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 30px; }
  .hero-botoes .bt { flex: 1 1 100%; justify-content: center; }
  .grade-rodape { grid-template-columns: 1fr; }
  .rodape-corpo { padding: 40px 0 28px; }
  .chat-zap span { display: none; }
  .filtros .q input { min-width: 0; width: 100%; }
  .filtros label { flex: 1 1 140px; }
}
@media print {
  .barra-topo, .cabecalho, .menu, .faixa-cores, .rodape, .aviso-cookies, .filtros, .exportar, .paginacao, .chat-zap, [vw] { display: none !important; }
  table.docs th { background: #ddd; color: #000; }
}


/* ====== páginas internas, listas, documentos (mesmo padrão das demais) ====== */
.botao { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 15px; }
.botao-claro { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.botao-claro:hover { background: rgba(255,255,255,.24); color: #fff; }
.botao-dest { background: var(--dest); color: #1b1300; }
.botao-dest:hover { filter: brightness(1.05); color: #1b1300; }
.botao-pri { background: var(--pri); color: #fff; }
.botao-pri:hover { background: var(--pri-esc); color: #fff; }
.botao-linha { background: #fff; color: var(--pri); border-color: var(--linha); }
.botao-linha:hover { border-color: var(--pri); }
/* cartões e listas */
.grade-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grade-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.cartao { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 20px; }
.cartao h3 { margin: 0 0 12px; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.cartao h3 .ico { color: var(--pri); }
.lista-docs { list-style: none; margin: 0; padding: 0; }
.lista-docs li { padding: 10px 0; border-top: 1px solid var(--linha); }
.lista-docs li:first-child { border-top: 0; }
.lista-docs a { text-decoration: none; font-weight: 600; color: var(--texto); }
.lista-docs a:hover { color: var(--pri); }
.lista-docs small { display: block; color: var(--suave); font-size: 13px; }
.mais { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font-weight: 600; text-decoration: none; font-size: 14px; }
/* páginas internas */
.interna { padding: 36px 0 64px; }
.interna h1 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 8px; }
.interna .sub { color: var(--suave); margin: 0 0 24px; }
.texto { max-width: 860px; }
.texto p, .texto li { font-size: 16.5px; }
.texto table { border-collapse: collapse; width: 100%; }
.texto td, .texto th { border: 1px solid var(--linha); padding: 8px 10px; }
.aviso { padding: 14px 16px; border-radius: 10px; background: #fff8e6; border: 1px solid #f3dfa6; margin: 16px 0; }
.aviso.info { background: #eef4ff; border-color: #cddcf8; }
.aviso.ok { background: #ebf7ee; border-color: #c6e8cf; }
.aviso.erro { background: #fdeeee; border-color: #f4c8c8; }

/* filtros e tabela de documentos */
.filtros { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; background: var(--fundo); border: 1px solid var(--linha); border-radius: var(--raio); padding: 14px; margin-bottom: 16px; }
.filtros label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--suave); }
.filtros input, .filtros select { padding: 9px 10px; border: 1px solid #cfd6e3; border-radius: 8px; font: inherit; min-width: 120px; background: #fff; }
.filtros .q input { min-width: 260px; }
.exportar { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.exportar a, .exportar button { font-size: 14px; padding: 7px 12px; }
.tabela-wrap { overflow-x: auto; border: 1px solid var(--linha); border-radius: var(--raio); }
table.docs { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
table.docs th { text-align: left; background: var(--pri); color: #fff; padding: 10px 12px; font-weight: 600; white-space: nowrap; }
table.docs td { padding: 10px 12px; border-top: 1px solid var(--linha); vertical-align: top; }
table.docs tr:nth-child(even) td { background: #fafbfd; }
table.docs td a { font-weight: 600; text-decoration: none; }
table.docs .acoes { white-space: nowrap; }
.contagem { color: var(--suave); font-size: 14px; margin: 6px 0 12px; }
.paginacao { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.paginacao a, .paginacao span { padding: 7px 12px; border: 1px solid var(--linha); border-radius: 8px; text-decoration: none; font-size: 14px; }
.paginacao .atual { background: var(--pri); color: #fff; border-color: var(--pri); }
.etiqueta { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #E3F1E7; color: var(--pri); }
.etiqueta.declara { background: #fff3d6; color: #7a5300; }

/* documento */
.doc-cab { display: flex; gap: 18px; justify-content: space-between; align-items: start; flex-wrap: wrap; }
.doc-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 18px 0; }
.doc-meta div { background: var(--fundo); border: 1px solid var(--linha); border-radius: 10px; padding: 10px 12px; }
.doc-meta dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--suave); font-weight: 700; }
.doc-meta dd { margin: 2px 0 0; font-weight: 600; }
.visualizador { width: 100%; height: 80vh; min-height: 520px; border: 1px solid var(--linha); border-radius: var(--raio); background: #f0f2f6; }

/* transparência */
.grupo-transp { margin-bottom: 30px; }
.grupo-transp h2 { font-size: 21px; margin: 0 0 12px; display: flex; gap: 8px; align-items: center; }
.itens-transp { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.item-transp { display: flex; gap: 10px; align-items: start; padding: 12px 14px; background: #fff; border: 1px solid var(--linha); border-radius: 10px; text-decoration: none; color: var(--texto); }
.item-transp:hover { border-color: var(--pri); color: var(--texto); }
.item-transp .cod { font-size: 11.5px; font-weight: 700; color: #fff; background: var(--pri); border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.item-transp strong { display: block; font-size: 15px; color: var(--pri-esc); }
.item-transp small { color: var(--suave); font-size: 13px; }
.item-transp.externo .cod { background: var(--verde); }
/* aviso de cookies */
.aviso-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 640px; margin-inline: auto; display: flex; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--linha); border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 14px 16px; font-size: 14px; }
.aviso-cookies[hidden] { display: none; }
.aviso-cookies p { margin: 0; }
.aviso-cookies button { flex: none; background: var(--pri); color: #fff; border: 0; border-radius: 8px; padding: 9px 16px; font-weight: 700; cursor: pointer; }

/* pesquisa de satisfação */
.notas { display: flex; gap: 8px; flex-wrap: wrap; }
.notas label { display: inline-flex; }
.notas input { position: absolute; opacity: 0; }
.notas span { display: inline-block; padding: 9px 14px; border: 1px solid var(--linha); border-radius: 10px; cursor: pointer; font-weight: 600; background: #fff; }
.notas input:checked + span { background: var(--pri); color: #fff; border-color: var(--pri); }
.notas input:focus-visible + span { outline: 3px solid var(--dest); }
.barra-res { height: 12px; background: var(--fundo); border-radius: 6px; overflow: hidden; }
.barra-res i { display: block; height: 100%; background: var(--pri); }
.responsavel-portal{text-align:center;font-size:.9rem;color:var(--suave);margin:1rem 0 0;line-height:1.6}
.rede-ver{display:inline-flex;align-items:center;gap:4px;font-size:14px;margin-top:4px}.rede-ver svg{width:16px;height:16px}
/* ---- ferramentas de acessibilidade ---- */
.a11y { position: fixed; left: 0; top: 160px; z-index: 60; display: flex; align-items: flex-start; }
.a11y-botao { order: 2; width: 52px; height: 52px; border: 0; border-radius: 0 10px 10px 0; background: var(--pri); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.a11y-botao:hover, .a11y-botao[aria-expanded="true"] { background: var(--pri-esc); }
.a11y-botao svg { width: 30px; height: 30px; fill: currentColor; }
.a11y-painel { order: 1; background: #fff; color: #222; width: 230px; padding: 16px 16px 10px; box-shadow: 0 8px 28px rgba(0,0,0,.25); border-radius: 0 0 10px 0; max-height: calc(100vh - 180px); overflow-y: auto; }
.a11y-painel[hidden] { display: none; }
.a11y-titulo { margin: 0 0 10px; font-weight: 700; font-size: 17px; line-height: 1.35; color: #222; }
.a11y-painel ul { list-style: none; margin: 0; padding: 0; }
.a11y-painel button { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 7px 6px; font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1.3; color: #333; cursor: pointer; border-radius: 6px; text-align: left; }
.a11y-painel button:hover { background: #EAF3EC; color: #000; }
.a11y-painel button[aria-pressed="true"] { background: #DCEEE1; color: var(--pri-esc); font-weight: 700; }
.a11y-painel svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* efeitos: classes no <html>; o próprio widget fica fora */
html.a11y-cinza body > *:not(.a11y) { filter: grayscale(1); }
html.a11y-negativo body { background: #000; }
html.a11y-negativo body > *:not(.a11y) { filter: invert(1) hue-rotate(180deg); }
html.a11y-negativo body > *:not(.a11y) img, html.a11y-negativo body > *:not(.a11y) video { filter: invert(1) hue-rotate(180deg); }
html.a11y-contraste body, html.a11y-contraste body > *:not(.a11y), html.a11y-contraste body > *:not(.a11y) *:not(svg):not(path):not(circle):not(rect):not(img) { background: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; }
html.a11y-contraste body > *:not(.a11y) a, html.a11y-contraste body > *:not(.a11y) a * { color: #ff0 !important; }
html.a11y-claro body, html.a11y-claro body > *:not(.a11y), html.a11y-claro body > *:not(.a11y) *:not(svg):not(path):not(circle):not(rect):not(img) { background: #fff !important; color: #000 !important; box-shadow: none !important; }
html.a11y-claro body > *:not(.a11y) a { color: #0645ad !important; }
html.a11y-links body > *:not(.a11y) a { text-decoration: underline !important; text-underline-offset: 2px; }
html.a11y-legivel body > *:not(.a11y), html.a11y-legivel body > *:not(.a11y) * { font-family: Verdana, Arial, Helvetica, sans-serif !important; letter-spacing: .02em; }
@media print { .a11y { display: none; } }
@media (max-width: 600px) { .a11y { top: auto; bottom: 90px; align-items: flex-end; } .a11y-botao { width: 46px; height: 46px; } .a11y-painel { border-radius: 0 10px 0 0; max-height: 70vh; } }
/* ---- faixa de título das páginas internas (padrão das outras Câmaras) ---- */
.faixa { background: linear-gradient(120deg, var(--pri-esc) 0%, var(--pri) 60%, var(--verde) 100%); color: #fff; position: relative; overflow: hidden; }
.faixa:after { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(240,192,48,.22), rgba(232,168,23,0) 65%); pointer-events: none; }
.faixa-in { padding: 22px 0 30px; position: relative; z-index: 1; }
.faixa-caminho { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; font-weight: 500; line-height: 1.4; color: rgba(255,255,255,.75); margin: 0 0 18px; }
.faixa-rot { color: var(--dest); font-weight: 700; }
.faixa-caminho ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 4px; }
.faixa-caminho li { display: flex; align-items: center; }
.faixa-caminho li + li:before { content: "›"; margin: 0 6px; color: rgba(255,255,255,.5); }
.faixa-caminho a { color: #fff; text-decoration: none; font-weight: 600; }
.faixa-caminho a:hover { text-decoration: underline; color: #fff; }
.faixa-caminho [aria-current] { color: rgba(255,255,255,.85); max-width: 520px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.faixa-corpo { display: flex; gap: 20px; align-items: flex-start; }
.faixa-ic { flex: 0 0 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; color: var(--dest); }
.faixa-ic .ico { width: 30px; height: 30px; }
.faixa-grupo { display: inline-block; font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--dest); margin-bottom: 8px; }
.faixa-tit { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; line-height: 1.15; color: #fff !important; margin: 0 0 8px; }
.faixa-sub { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.85); margin: 0 0 14px; max-width: 760px; }
.faixa-sub a { color: #fff; }
.faixa-num { display: flex; flex-wrap: wrap; gap: 8px; }
.faixa-num span { font-size: 13px; font-weight: 500; line-height: 1; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 30px; padding: 9px 14px; color: #fff; }
.faixa + main .interna { padding-top: 28px; }
@media (max-width: 600px) {
  .faixa-in { padding: 16px 0 22px; }
  .faixa-ic { flex-basis: 48px; height: 48px; border-radius: 14px; }
  .faixa-ic .ico { width: 24px; height: 24px; }
  .faixa-corpo { gap: 14px; }
  .faixa-caminho [aria-current] { max-width: 220px; }
}
@media print { .faixa { background: none; color: #000; } .faixa-caminho, .faixa-ic, .faixa-num { display: none; } .faixa-tit { color: #000 !important; } .faixa-sub { color: #333; } }
/* ---- resultado automático da pesquisa (PNTP 15.6) ---- */
.pesq-auto { margin: 0 0 28px; }
.pesq-auto-cab { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.pesq-auto-cab h2 { margin: 0 0 6px; font-size: 22px; }
.pesq-auto-cab p { margin: 0; color: var(--suave); max-width: 640px; }
.pesq-auto-bot { display: flex; flex-wrap: wrap; gap: 8px; }
.pesq-auto-sub { font-size: 18px; margin: 30px 0 12px; }
/* SIC físico na página da LAI */
.sic-quadro { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--linha); border-radius: var(--raio); background: #fff; }
.sic-quadro h2 { margin-top: 0; }
.sic-quadro h3 { margin: 18px 0 6px; font-size: 17px; color: var(--pri-esc); }
.doc-pub { color: var(--suave); }
/* botão de acessibilidade no canto inferior esquerdo (como o do portal anterior) */
.a11y { top: auto; bottom: 24px; left: 0; }
@media (max-width: 600px) { .a11y { bottom: 16px; } }
.anexos { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.anexos a { font-weight: 600; text-decoration: none; }
.anexos-tit { font-size: 18px; margin: 22px 0 8px; }
.doc-corpo img { border-radius: 8px; }
.lista-intro { margin-bottom: 18px; max-width: 900px; }
.texto { max-width: 920px; }
.texto img { max-width: 100%; height: auto; }
.texto object { max-width: 100%; }
