@charset "UTF-8";
/* Prefeitura Municipal de Laranjeiras do Sul — site público (Bootstrap 5.3) */

@font-face {
    font-family: amsi;
    src: url(../../fonts/AmsiProNormal-Light.ttf);
    font-display: swap;
}

:root {
    --azul: #0094e1;
    --azul-escuro: #1b49b2;
    --verde: #009335;
    --amarelo: #ffdc00;
    --cinza: #f8f9fa;
}

* { font-family: amsi, "Segoe UI", Arial, sans-serif; }
i.fa, i.fas, i.far, .fa, .fas, .far { font-family: "Font Awesome 5 Free"; }
i.fab, .fab { font-family: "Font Awesome 5 Brands"; }
html, body { height: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; color: #212529; overflow-wrap: break-word; }
#conteudo { flex: 1 0 auto; }
.footer { flex-shrink: 0; }
img { max-width: 100%; height: auto; }
iframe { max-width: 100%; }

/* ---------- barras do topo ---------- */
.a11y-bar {
    position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 1040;
    display: flex; flex-direction: column; background: #212529;
    border-radius: 10px 0 0 10px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.a11y-bar button {
    background: transparent; border: 0; color: #fff; width: 44px; height: 44px; font-size: 1.05rem; font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, .15); cursor: pointer;
}
.a11y-bar button:last-child { border-bottom: 0; }
.a11y-bar button:hover, .a11y-bar button:focus-visible { background: var(--azul); outline: 0; }
@media (max-width: 767.98px) {
    .a11y-bar button { width: 40px; height: 40px; }
    /* a barra é fixa na borda direita; reserva esse espaço no conteúdo para não sobrepor cards/carrossel */
    body { padding-right: 40px; }
    .top_bar, .logo_bar { margin-right: -40px; }
}
.top_bar { background: var(--azul); color: #fff; padding: 5px 0; }
.top_bar a { color: #fff; text-decoration: none; }
.top_bar a:hover { color: #ff0; }
.top_bar_texto { font-size: 12px; }
.top_bar_icones { font-size: 15px; }
.top_bar_sep { opacity: .7; margin: 0 .15rem; }
.top_bar .fa, .top_bar .fas { margin: .25rem !important; }
.logo_bar { background: repeating-linear-gradient(0deg, #fff, #f0f0f0 100%); }
.logo_bar .logo { width: 320px; max-width: 70vw; height: auto; }

.navbar-nav .btn_menu { margin-left: 5px; }
.btn_menu > a {
    display: flex; align-items: center; justify-content: center; height: 100%; min-height: 2.6rem;
    padding: .5rem 1rem; color: #fff !important; text-decoration: none;
    background: linear-gradient(90deg, #1188da, #14a0ea); border-radius: 10px; text-align: center; white-space: nowrap;
}
.btn_menu > a:hover, .btn_menu > a:focus-visible { background: linear-gradient(90deg, #0a78c9, #0f8fd3); }
@media (max-width: 991.98px) {
    .btn_menu { background: #fff; border-bottom: 1px solid #ccc; margin-left: 0; }
    .btn_menu > a { background: transparent; color: #333 !important; text-align: left; justify-content: flex-start; border-radius: 0; }
    .btn_menu > a:hover { background: #f0f0f0; }
    .navbar-collapse { border-bottom: 5px solid #000; padding-bottom: 1rem; }
}
@media (min-width: 992px) {
    .navbar-collapse { border-bottom: 5px solid #000; padding-bottom: 25px; flex-grow: 1; }
    .navbar-nav { flex-wrap: wrap; gap: .4rem; width: 100%; }
    .navbar-nav .btn_menu { margin-left: 0; }
    /* 3 por linha, todos do mesmo tamanho */
    .btn_menu { flex: 0 0 calc((100% - .8rem) / 3); }
    /* a fonte amsi tem ascendente maior que o descendente: sobe o texto ~2,5px para centralizar a tinta */
    .btn_menu > a { padding: .5rem .3rem calc(.5rem + 5px); }
}
@media (min-width: 1200px) {
    /* 6 na mesma linha, todos do mesmo tamanho */
    .btn_menu { flex: 1 1 0; min-width: 0; }
}

/* ---------- textos e links ---------- */
.titulo { color: var(--azul); }
a.a1, a.a1:visited { color: #333; text-decoration: none; }
a.a1:hover, a.a1:focus-visible { color: var(--azul) !important; }
a.a2, a.a2:visited { color: #fff; text-decoration: none; }
a.a2:hover, a.a2:focus-visible { color: #ff0; }
.btn_azul { background: var(--azul); }
.texto_longo { line-height: 150%; text-align: justify; font-weight: 300; }
.separador { width: 100%; color: var(--azul); background: var(--azul); height: 1px; opacity: 1; margin-bottom: 50px; }
.bloco_galeria { margin: 5px; box-shadow: 0 10px 35px #ccc; }
.conteudo-html { line-height: 1.6; text-align: justify; font-weight: 300; }
.conteudo-html img { max-width: 100%; height: auto; }
.conteudo-html table { max-width: 100%; }
.conteudo-html td, .conteudo-html th { overflow-wrap: anywhere; }
.breadcrumb { background: #f0f0f0; padding: .6rem 1rem; border-radius: .5rem; }
.breadcrumb-item + .breadcrumb-item { padding-left: .5rem; }
.breadcrumb-item a { color: var(--azul); text-decoration: none; }
.breadcrumb-item.active { color: #555; }

/* ---------- hero de notícias (home): foto 16/9 à esquerda, textos fora da imagem ---------- */
.hero-wrap { padding-top: 1rem; }
.hero { position: relative; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.hero-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-texto { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 1.5rem 2.25rem; }
.hero-data { display: inline-block; background: var(--azul); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; letter-spacing: .04em; margin-bottom: .9rem; }
.hero-texto h2 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.25; margin-bottom: .75rem; }
.hero-texto h2 a { color: #0b2540; text-decoration: none; }
.hero-texto h2 a:hover { color: var(--azul); }
.hero-texto p { color: #555; margin-bottom: 1.1rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hero-btn { display: inline-block; background: linear-gradient(90deg, #1188da, #14a0ea); color: #fff; font-weight: 700; padding: .55rem 1.2rem; border-radius: 10px; text-decoration: none; }
.hero-btn:hover, .hero-btn:focus-visible { background: var(--azul-escuro); color: #fff; }
/* setas sobre a foto (a foto ocupa 7/12 da largura no desktop) */
.hero .carousel-control-prev, .hero .carousel-control-next { width: 9%; }
.hero .carousel-control-prev { left: 0; }
.hero .carousel-control-next { right: auto; left: calc(58.3333% - 9%); }
.hero .carousel-control-prev-icon, .hero .carousel-control-next-icon { background-color: rgba(0, 0, 0, .45); border-radius: 50%; background-size: 55%; width: 2.4rem; height: 2.4rem; }
.hero-pontos { display: flex; justify-content: center; gap: .5rem; margin-top: .8rem; }
.hero-pontos button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: #b9c6d3; cursor: pointer; }
.hero-pontos button.active { background: var(--azul); }
@media (max-width: 991.98px) {
    .hero-texto { padding: 1.1rem 1.1rem 1.4rem; }
    .hero-texto p { -webkit-line-clamp: 3; }
    .hero .carousel-control-prev, .hero .carousel-control-next { width: 14%; top: 0; bottom: auto; height: auto; aspect-ratio: 16 / 9; }
    .hero .carousel-control-next { left: auto; right: 0; }
}
/* ---------- cards de notícias (home) ---------- */
.card-noticia { display: block; height: 100%; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: #212529; box-shadow: 0 6px 22px rgba(0, 0, 0, .12); transition: transform .15s, box-shadow .15s; }
.card-noticia:hover, .card-noticia:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, .2); color: #212529; }
.card-noticia img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-noticia-corpo { padding: .9rem 1rem 1.1rem; }
.card-noticia-corpo h3 { font-size: 1.02rem; line-height: 1.35; margin: .25rem 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-noticia:hover h3 { color: var(--azul); }
.card-noticia-corpo p { font-size: .85rem; color: #6b7686; margin: .4rem 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-noticia-semfoto { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1a3a5f, #1188da); color: rgba(255, 255, 255, .8); font-size: 2.2rem; }
@media (min-width: 1200px) { .row.g-3 .card-noticia-corpo h3, .col-xl-2 > .card-noticia .card-noticia-corpo h3 { font-size: .92rem; } }
/* ---------- cards de campanhas ---------- */
.card-campanha { display: block; height: 100%; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: #212529; box-shadow: 0 6px 22px rgba(0, 0, 0, .12); transition: transform .15s, box-shadow .15s; }
.card-campanha:hover, .card-campanha:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, .2); color: #212529; }
.card-campanha img { display: block; width: 100%; aspect-ratio: 4 / 1; object-fit: cover; }
.card-campanha-corpo { padding: .9rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.card-campanha-corpo h3 { font-size: .98rem; line-height: 1.35; margin: 0; }
.card-campanha:hover h3 { color: var(--azul); }
.card-campanha-seta { flex: 0 0 auto; color: #94a3b8; font-size: .85rem; }
/* ---------- destaque da home (legado) ---------- */
.banner-topo { margin-bottom: 1rem; overflow: hidden; }
.banner-topo img { max-width: none; width: 100%; height: auto; }
.div_slider { border: 1px solid #ccc; padding: 5px; }
.slide-img { width: 100%; height: 380px; object-fit: cover; background: #ddd; }
.carousel-caption-noticia {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 3rem 2.4rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0)); color: #fff; text-align: left;
}
.carousel-caption-noticia h4 { font-size: 1.15rem; }
.carousel-caption-noticia p { margin: 0; font-size: .95rem; }
@media (max-width: 767.98px) {
    .slide-img { height: 250px; }
    .carousel-caption-noticia { padding: .6rem 2.5rem 2rem; }
    .carousel-caption-noticia p { display: none; }
}

/* ---------- acesso rápido: cartões com ícone e descrição ---------- */
.bg_acesso { background: var(--cinza); }
.acesso-card { display: block; height: 100%; text-decoration: none; color: inherit; border-radius: 18px; }
.acesso-card:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }
.acesso-giro { display: block; height: 100%; }
.acesso-face {
    display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 230px;
    padding: 1.5rem 1.25rem; text-align: center; border-radius: 18px;
    background: linear-gradient(90deg, #1188da, #14a0ea); border-top: 4px solid var(--amarelo); border-bottom: 4px solid #a4e000;
    box-shadow: 0 8px 26px rgba(17, 136, 218, .3); transition: transform .2s ease, box-shadow .2s ease;
}
.acesso-card:hover .acesso-face, .acesso-card:focus-visible .acesso-face { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(17, 136, 218, .4); }
.acesso-icone {
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: #fff; font-size: 3.2rem;
}
.acesso-titulo { font-size: 1.2rem; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: .4rem; }
.acesso-desc { font-size: .92rem; color: rgba(255, 255, 255, .9); line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .acesso-face { transition: none; } .acesso-card:hover .acesso-face { transform: none; } }
@media (max-width: 575.98px) {
    .acesso-face { min-height: 200px; }
    .acesso-icone { font-size: 2.4rem; }
}
/* ---------- cartões ---------- */
.card:hover { background: #333; color: #fff; border-color: #ccc; }
.card:hover a, .card:hover .text-body-secondary { color: #fff !important; }
.card a { text-decoration: none; color: #333; }
.card .card-img-top { aspect-ratio: 16 / 9; object-fit: cover; }
.card-link-box:hover { background: inherit; color: inherit; }
.ratio-16x9-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; }

/* ---------- tabelas/listas ---------- */
.table td, .table th { overflow-wrap: anywhere; }
.lista-pontilhada p { border-bottom: 1px dotted #ccc; margin: 5px 0; line-height: 24px; padding-bottom: 4px; }

/* ---------- rodapé ---------- */
.footer { background: var(--azul); color: #fff; font-size: 13px; font-weight: 300; padding: 20px 0 5px; }
.footer p { margin: 0 0 4px; line-height: 25px; }
.footer-dev { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; opacity: .85; transition: opacity .15s; }
.footer-dev:hover, .footer-dev:focus-visible { opacity: 1; }
.footer-dev-label { font-size: 12px; color: rgba(255, 255, 255, .8); }
.footer-logo-dev { height: 26px; width: auto; }

/* ---------- galeria (lightbox simples) ---------- */
.lb-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, .9); z-index: 2000; display: none;
    align-items: center; justify-content: center; padding: 1rem;
}
.lb-overlay.aberto { display: flex; }
.lb-overlay img { max-width: 96vw; max-height: 90vh; box-shadow: 0 0 30px #000; }
.lb-overlay button { position: absolute; background: rgba(0, 0, 0, .5); color: #fff; border: 0; font-size: 2rem; padding: .3rem 1rem; cursor: pointer; }
.lb-fechar { top: 10px; right: 10px; }
.lb-ant { left: 10px; top: 50%; }
.lb-prox { right: 10px; top: 50%; }

/* ---------- pesquisa de satisfação ---------- */
.barra-voto { height: 30px; background: var(--azul); border-radius: 4px; min-width: 2px; max-width: 100%; }

/* ---------- popup da home ---------- */
#pop { position: fixed; inset: 0; z-index: 1900; background: rgba(0, 0, 0, .65); display: none; align-items: center; justify-content: center; padding: 1rem; }
#pop.aberto { display: flex; }
#pop .pop-box { position: relative; max-width: 900px; }
#pop .pop-box img { border: 5px solid #fff; max-height: 80vh; }
#pop .pop-fechar { position: absolute; top: -18px; right: -14px; background: #fff; border: 0; border-radius: 50%; width: 38px; height: 38px; font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* ---------- alto contraste ---------- */
body.alto-contraste, body.alto-contraste .logo_bar, body.alto-contraste .bg_acesso, body.alto-contraste .card, body.alto-contraste .acesso-face, body.alto-contraste .breadcrumb {
    background: #000 !important; color: #ff0 !important; border-color: #ff0 !important;
}
body.alto-contraste a, body.alto-contraste .titulo, body.alto-contraste h1, body.alto-contraste h2, body.alto-contraste h3, body.alto-contraste h4,
body.alto-contraste .btn_menu > a, body.alto-contraste .breadcrumb-item a, body.alto-contraste a.a1 { color: #ff0 !important; }
body.alto-contraste .top_bar, body.alto-contraste .footer, body.alto-contraste .btn_menu > a { background: #000 !important; border: 1px solid #ff0; }
body.alto-contraste .table { --bs-table-bg: #000; --bs-table-color: #ff0; --bs-table-striped-bg: #111; --bs-table-striped-color: #ff0; }

/* ---------- pesquisa de satisfação (modal em sdic.php) ---------- */
.opcoes { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.opcao { flex: 1; min-width: 100px; border: 2px solid transparent; border-radius: 15px; cursor: pointer; padding: 20px 10px; transition: .3s; text-align: center; }
.opcao:hover { transform: translateY(-5px); background: #f5f7fa; }
.opcao input { position: absolute; opacity: 0; pointer-events: none; }
.opcao .emoji { font-size: 45px; display: block; margin-bottom: 10px; }
.opcao .texto { font-size: 15px; color: #444; }
.opcao:has(input:checked) { border-color: #2b7cff; background: #edf5ff; }
.opcao:has(input:focus-visible) { outline: 2px solid #000; }
.btn-pesquisa { margin-top: 25px; width: 100%; padding: 16px; background: #2b7cff; color: #fff; border: 0; border-radius: 10px; font-size: 18px; cursor: pointer; }
.btn-pesquisa:hover { background: #145fd4; }
@media (max-width: 650px) { .opcoes { flex-direction: column; } }

/* ---------- transição do hero: saída rápida do slide anterior, entrada suave do novo ---------- */
.hero.carousel-fade .carousel-item { transition: opacity .4s ease .15s; }
.hero.carousel-fade .carousel-item.active.carousel-item-start,
.hero.carousel-fade .carousel-item.active.carousel-item-end { opacity: 0; transition: opacity .18s ease; }
@media (prefers-reduced-motion: reduce) {
    .hero.carousel-fade .carousel-item, .hero.carousel-fade .carousel-item.active.carousel-item-start,
    .hero.carousel-fade .carousel-item.active.carousel-item-end { transition: none; }
}

/* ---------- serviços (home): 8 selos lado a lado ---------- */
.servicos-box { padding: 0; }
.servicos-linha { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); align-items: start; gap: .5rem; }
.selo-servico {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 1rem .5rem;
    aspect-ratio: 1 / 1;
    background: linear-gradient(90deg, #1188da, #14a0ea); color: #fff; text-decoration: none; border-radius: 16px; text-align: center;
    font-size: .68rem; font-weight: 700; letter-spacing: .01em; line-height: 1.2; overflow-wrap: anywhere; transition: filter .15s, transform .15s;
}
.selo-servico:hover, .selo-servico:focus-visible { filter: brightness(.92); transform: translateY(-3px); color: #fff; }
.selo-icone { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 2.2rem; }
.selo-texto { display: block; }
.selo-ext { display: none; }
@media (max-width: 1199.98px) { .servicos-linha { grid-template-columns: repeat(4, minmax(0, 1fr)); } .selo-servico { font-size: .78rem; } }
@media (max-width: 575.98px) { .servicos-linha { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .selo-servico { transition: none; } .selo-servico:hover { transform: none; } }

/* ---------- vídeos, campanhas, rádio e redes sociais: uma linha de caixas ---------- */
.rede-linha { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; }
.rede-box {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; aspect-ratio: 1 / 1;
    border-radius: 16px; text-decoration: none; color: #fff; font-weight: 700; font-size: .95rem; text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12); transition: transform .15s ease, box-shadow .15s ease;
}
.rede-box:hover, .rede-box:focus-visible { color: #fff; transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0, 0, 0, .2); }
.rede-icone { font-size: 2rem; }
.rede-azul { background: linear-gradient(135deg, #1188da, #14a0ea); }
.rede-azul-escuro { background: linear-gradient(135deg, #1b49b2, #1188da); }
.rede-verde { background: linear-gradient(135deg, #007a2b, #009335); }
.rede-facebook { background: linear-gradient(135deg, #0d5cd6, #1877f2); }
.rede-instagram { background: linear-gradient(135deg, #6228d7, #c22aa1 55%, #f9a13a); }
.rede-youtube { background: linear-gradient(135deg, #b30000, #ff0000); }
@media (max-width: 991.98px) { .rede-linha { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .rede-linha { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rede-icone { font-size: 1.6rem; } .rede-box { font-size: .8rem; } }
@media (prefers-reduced-motion: reduce) { .rede-box { transition: none; } .rede-box:hover { transform: none; } }

/* ---------- foto da notícia: 16/9, centralizada, sem estourar o card ---------- */
.noticia-foto { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #eef1f4; }
.noticia-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ---------- compartilhar (abaixo do texto da notícia) ---------- */
.compartilhar-box { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #e2e8f0; }
.compartilhar-titulo { font-weight: 700; color: #1a3a5f; margin-right: .25rem; }
.compartilhar-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
    color: #fff; font-size: 1.05rem; border: 0; text-decoration: none; transition: transform .15s ease, filter .15s ease;
}
.compartilhar-btn:hover, .compartilhar-btn:focus-visible { transform: translateY(-3px); filter: brightness(.94); color: #fff; }
.compart-facebook { background: #1877f2; }
.compart-whatsapp { background: #25d366; }
.compart-twitter { background: #1da1f2; }
.compart-copiar { background: #64748b; cursor: pointer; }
.compartilhar-feedback { font-size: .85rem; color: var(--azul); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .compartilhar-btn { transition: none; } .compartilhar-btn:hover { transform: none; } }

/* ---------- estabelecimentos registrados no SIM/POA ---------- */
.simpoa-card { height: 100%; background: #fff; border-radius: 14px; padding: 1.25rem 1.4rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .1); border-top: 4px solid var(--azul); }
.simpoa-card-cabecalho { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.simpoa-icone { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1188da, #14a0ea); color: #fff; font-size: 1.4rem; }
.simpoa-numero { display: block; font-size: .75rem; font-weight: 700; color: var(--azul); letter-spacing: .04em; text-transform: uppercase; }
.simpoa-card-cabecalho h4 { margin: .1rem 0 0; font-size: 1.15rem; color: #1a3a5f; }
.simpoa-dados { display: grid; grid-template-columns: 130px 1fr; row-gap: .5rem; column-gap: .75rem; margin: 0 0 1rem; font-size: .92rem; }
.simpoa-dados dt { font-weight: 700; color: #475569; }
.simpoa-dados dd { margin: 0; overflow-wrap: anywhere; }
.simpoa-produtos-titulo { font-weight: 700; color: #475569; margin-bottom: .35rem; font-size: .92rem; }
.simpoa-produtos { margin: 0; padding-left: 1.15rem; font-size: .92rem; }
.simpoa-produtos li { margin-bottom: .2rem; }
@media (max-width: 575.98px) { .simpoa-dados { grid-template-columns: 1fr; row-gap: .15rem; } .simpoa-dados dt { margin-top: .4rem; } }

/* ---------- lista de documentos (ex.: legislação do SIM/POA) ---------- */
.doc-lista { display: flex; flex-direction: column; gap: .5rem; }
.doc-item {
    display: flex; align-items: center; gap: .9rem; padding: .75rem 1.1rem; background: #fff; border-radius: 10px;
    text-decoration: none; color: #1a3a5f; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); border-left: 4px solid var(--azul);
    transition: background .15s, transform .15s;
}
.doc-item:hover, .doc-item:focus-visible { background: #eef6fd; color: #1a3a5f; transform: translateX(4px); }
.doc-item-icone { flex: 0 0 auto; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #e6f4fd; color: var(--azul); font-size: 1.05rem; }
.doc-item-texto { flex: 1; font-weight: 600; font-size: .95rem; }
.doc-item-seta { flex: 0 0 auto; color: #94a3b8; font-size: .8rem; }
.doc-item-info { flex: 0 0 auto; font-size: .78rem; color: #94a3b8; font-weight: 400; text-align: right; }
@media (max-width: 575.98px) { .doc-item-info { display: none; } }
.doc-item-destaque { padding: .95rem 1.1rem; }
.doc-item-destaque .doc-item-texto { font-size: 1.12rem; }
.doc-item-destaque .doc-item-icone { width: 42px; height: 42px; font-size: 1.2rem; }
.doc-item-longo .doc-item-texto { font-weight: 400; font-size: .88rem; line-height: 1.45; color: #3d4a5c; }
.doc-lista-compacta .doc-item { padding: .5rem .9rem; font-size: .88rem; }
.doc-lista-compacta .doc-item-icone { width: 22px; height: 22px; background: transparent; font-size: .45rem; color: var(--azul); }
.doc-item-desabilitado { display: flex; align-items: center; gap: .9rem; padding: .5rem .9rem; color: #94a3b8; cursor: default; border-left: 4px solid #e2e8f0; }
.doc-item-icone-mudo { color: #cbd5e1 !important; }

/* ---------- lista simples de links (ex.: Mapa do Site) ---------- */
.mapa-lista { list-style: none; margin: 0; padding: 0; }
.mapa-lista li { border-bottom: 1px solid #eef1f4; }
.mapa-lista li:last-child { border-bottom: 0; }
.mapa-link { display: block; padding: .55rem .1rem; color: #334155; text-decoration: none; font-size: .93rem; }
.mapa-link:hover, .mapa-link:focus-visible { color: var(--azul); padding-left: .4rem; }
.mapa-link-desabilitado { display: block; padding: .55rem .1rem; color: #a3adba; font-size: .93rem; }

/* ---------- equipe e sede (ex.: SIM/POA) ---------- */
.pessoa-card { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: 14px; padding: 1.1rem 1.3rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .1); border-top: 4px solid var(--azul); }
.pessoa-avatar { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1188da, #14a0ea); color: #fff; font-weight: 700; font-size: 1.1rem; }
.pessoa-nome { display: block; font-weight: 700; color: #1a3a5f; }
.pessoa-cargo { display: block; font-size: .88rem; color: #6b7686; }
.pessoa-doc { display: inline-flex; align-items: center; gap: .35rem; margin-top: .4rem; font-size: .82rem; font-weight: 600; color: var(--azul); text-decoration: none; }
.pessoa-doc:hover, .pessoa-doc:focus-visible { color: var(--azul-escuro); text-decoration: underline; }
.sede-card { background: #fff; border-radius: 14px; padding: 1.3rem 1.4rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .1); border-top: 4px solid var(--azul); }
.sede-item { display: flex; align-items: flex-start; gap: 1rem; }
.sede-icone { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1188da, #14a0ea); color: #fff; font-size: 1.15rem; }
.sede-titulo { display: block; font-weight: 700; color: #1a3a5f; margin-bottom: .25rem; }
.sede-item p { margin: 0; color: #475569; text-align: left; }
.sede-contatos { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e2e8f0; }
.sede-contato { display: inline-flex; align-items: center; gap: .5rem; color: var(--azul); font-weight: 600; text-decoration: none; }
.sede-contato:hover, .sede-contato:focus-visible { color: var(--azul-escuro); }

/* ---------- símbolos oficiais (bandeira, brasão, hino) ---------- */
.simbolo-card { height: 100%; background: #fff; border-radius: 14px; padding: 1.5rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .1); border-top: 4px solid var(--azul); }
.simbolo-card-cabecalho { display: flex; align-items: center; gap: .9rem; justify-content: center; margin-bottom: 1rem; }
.simbolo-card-cabecalho h3 { margin: 0; font-size: 1.2rem; color: #1a3a5f; }
.simbolo-img { display: block; max-width: 80%; height: auto; margin: 0 auto; }
.simbolo-letra { line-height: 1.9; color: #334155; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- lista de feriados ---------- */
.feriados-lista { list-style: none; margin: 0; padding: 0; }
.feriados-lista li { display: flex; align-items: center; gap: .9rem; padding: .6rem 0; border-bottom: 1px solid #eef1f4; }
.feriados-lista li:last-child { border-bottom: 0; }
.feriado-data { flex: 0 0 64px; text-align: center; background: var(--azul); color: #fff; font-size: .78rem; font-weight: 700; padding: .3rem .4rem; border-radius: 8px; }
.feriado-data.feriado-movel { background: #eef1f4; color: #64748b; font-size: .68rem; flex-basis: 64px; }
.feriado-desc { flex: 1; color: #334155; font-size: .93rem; }

/* ---------- como chegar: rotas por cidade de origem ---------- */
.rota-card { height: 100%; background: #fff; border-radius: 14px; padding: 1.25rem 1.4rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .1); border-top: 4px solid var(--azul); }
.rota-card-cabecalho { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.rota-icone { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1188da, #14a0ea); color: #fff; font-size: 1.05rem; }
.rota-card-cabecalho h4 { margin: 0; font-size: 1.05rem; color: #1a3a5f; }
.rota-card p { font-size: .9rem; color: #475569; text-align: left; margin-bottom: 1rem; }
.rota-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.rota-badge { display: inline-flex; align-items: center; gap: .4rem; background: #eef6fd; color: var(--azul); font-size: .78rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; }
.rota-badge-pedagio { background: #fef3e6; color: #c2650a; }

/* ---------- badges informativos genéricos (ex.: ficha de licitação) ---------- */
.info-badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.info-badge { display: inline-flex; align-items: center; gap: .5rem; background: #eef6fd; color: var(--azul); font-size: .85rem; font-weight: 600; padding: .5rem .9rem; border-radius: 999px; }
.info-badge strong { font-weight: 700; color: #1a3a5f; }

/* ---------- laranjeiras em números: cartões de estatística ---------- */
.stat-card { height: 100%; text-align: center; background: #fff; border-radius: 14px; padding: 1.4rem 1rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .1); border-top: 4px solid var(--azul); }
.stat-icone { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: .8rem; background: linear-gradient(135deg, #1188da, #14a0ea); color: #fff; font-size: 1.3rem; }
.stat-valor { display: block; font-size: 1.15rem; font-weight: 700; color: #1a3a5f; line-height: 1.3; }
.stat-rotulo { display: block; font-size: .8rem; color: #6b7686; margin-top: .3rem; }

/* ---------- linha do tempo (ex.: Origem do nome) ---------- */
.timeline { position: relative; margin: 1.5rem 0 0; padding-left: 2.4rem; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: #dbe4ee; }
.timeline-item { position: relative; padding-bottom: 1.75rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marcador {
    position: absolute; left: -2.4rem; top: 2px; width: 24px; height: 24px; border-radius: 50%;
    background: linear-gradient(135deg, #1188da, #14a0ea); border: 3px solid #fff; box-shadow: 0 0 0 2px #dbe4ee;
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: .65rem;
}
.timeline-data { display: inline-block; background: #eef6fd; color: var(--azul); font-size: .75rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; margin-bottom: .4rem; }
.timeline-conteudo h4 { font-size: 1rem; color: #1a3a5f; margin: 0 0 .3rem; }
.timeline-conteudo p { font-size: .9rem; color: #475569; margin: 0; text-align: left; }
@media (max-width: 575.98px) { .timeline { padding-left: 1.9rem; } .timeline-marcador { left: -1.9rem; } }

/* ---------- biografia (Gabinete, Secretarias): foto + texto ---------- */
.bio-card { display: flex; align-items: flex-start; gap: 1.5rem; background: #fff; border-radius: 14px; padding: 1.5rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .1); border-top: 4px solid var(--azul); }
.bio-foto-link { flex: 0 0 auto; }
.bio-foto { flex: 0 0 200px; width: 200px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.bio-foto-larga { flex-basis: 340px; width: 340px; aspect-ratio: auto; height: auto; object-fit: contain; }
.bio-corpo { flex: 1; min-width: 0; }
.bio-cargo { display: inline-block; background: var(--azul); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; letter-spacing: .04em; margin-bottom: .4rem; }
.bio-corpo h3 { color: #1a3a5f; margin: 0 0 .75rem; }
.bio-corpo p { color: #475569; }
.bio-cargo-nome { font-weight: 700; color: #1a3a5f; }
@media (max-width: 575.98px) { .bio-card { flex-direction: column; } .bio-foto { width: 100%; flex-basis: auto; } }

/* ---------- doc-item: sub-item indentado (ex.: Resoluções do Conselho) ---------- */
.doc-item-sub { margin-left: 2rem; border-left-color: #b9c6d3; }

/* ---------- uma escola por card (Direção das Escolas) ---------- */
.escola-card { height: 100%; background: #fff; border-radius: 14px; padding: 1.4rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .1); border-top: 4px solid var(--azul); }
.escola-icone { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: .8rem; background: linear-gradient(135deg, #1188da, #14a0ea); color: #fff; font-size: 1.2rem; }
.escola-card h3 { font-size: 1.02rem; color: #1a3a5f; margin-bottom: .6rem; line-height: 1.3; }
.escola-corpo { font-size: .9rem; color: #475569; line-height: 1.6; }

/* ---------- telefone em destaque no card de unidade de saúde ---------- */
.escola-telefone { font-size: .88rem; font-weight: 700; color: var(--azul); margin-bottom: .5rem; }

/* ---------- seletor de ano em pills (ex.: Convênios) ---------- */
.ano-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.5rem; }
.ano-pill { display: inline-block; padding: .4rem 1rem; border-radius: 999px; background: #eef1f4; color: #475569; font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.ano-pill:hover, .ano-pill:focus-visible { background: #dbe4ee; color: #1a3a5f; }
.ano-pill.ativo { background: linear-gradient(90deg, #1188da, #14a0ea); color: #fff; }
.ano-pill.ativo:hover { color: #fff; }

/* ---------- botão de download em listas/tabelas (ex.: Convênios) ---------- */
.btn-baixar { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .9rem; border-radius: 999px; background: #eaf4fd; color: var(--azul); font-size: .82rem; font-weight: 700; text-decoration: none; border: 1px solid #d3e7fa; transition: background .15s, color .15s; }
.btn-baixar:hover, .btn-baixar:focus-visible { background: var(--azul); color: #fff; border-color: var(--azul); }

/* ---------- lista de programas de rádio (áudio) ---------- */
.audio-item { background: #fff; border-radius: 10px; padding: .9rem 1.1rem; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); border-left: 4px solid var(--azul); }
.audio-item-data { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: #1a3a5f; margin-bottom: .7rem; font-size: .95rem; }
.audio-item-icone { flex: 0 0 auto; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #e6f4fd; color: var(--azul); font-size: .95rem; }
.audio-item audio { width: 100%; }

/* ---------- cards de vídeos ---------- */
.card-video { height: 100%; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 22px rgba(0, 0, 0, .12); transition: transform .15s, box-shadow .15s; }
.card-video:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.card-video-corpo { padding: .9rem 1rem 1.1rem; }
.card-video-corpo small { color: #6b7686; }
.card-video-corpo h3 { font-size: 1.02rem; line-height: 1.35; margin: .25rem 0 0; }
.card-video-corpo h3 a { color: #212529; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-video-corpo h3 a:hover, .card-video-corpo h3 a:focus-visible { color: var(--azul); }

/* ---------- popup da página inicial ---------- */
.popup-conteudo { border: 0; border-radius: 14px; overflow: hidden; background: transparent; }
.popup-conteudo img { display: block; border-radius: 14px; }
.popup-fechar { position: absolute; top: .6rem; right: .6rem; z-index: 2; background-color: #fff; opacity: 1; border-radius: 50%; width: 2.2rem; height: 2.2rem; padding: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }

/* ---------- ícones de primeira/última página na paginação (mais visíveis, inclusive desabilitados) ---------- */
.pagination .page-link i { font-size: .95rem; }
.pagination .page-item.disabled .page-link { color: #495057; }

/* ---------- transparência (2 colunas com vários cards empilhados por coluna) ---------- */
.transparencia-coluna .simbolo-card { height: auto; }
