/* =====================================================================
   PORTAL DE ARNEIROZ — R6 FINAL INTERNO
   20/11/2026
   Carregado APÓS cada página interna para vencer estilos legados locais.
   Não altera lógica, consultas, URLs, formulários ou dados.
   ===================================================================== */

:root{
  --r6-blue-950:#06396f;
  --r6-blue-900:#084a89;
  --r6-blue-800:#075aa5;
  --r6-blue-700:#0875c1;
  --r6-blue-600:#0a94dc;
  --r6-blue-100:#e7f6ff;
  --r6-blue-50:#f5fbff;
  --r6-ink:#173f68;
  --r6-muted:#61778e;
  --r6-border:#d7e8f3;
  --r6-bg:#f5f9fc;
  --r6-shadow:0 8px 24px rgba(0,64,120,.075);
}

/* ---------- 1. TOPO INTERNO MUITO MAIS COMPACTO ---------- */
.pma-universal-internal{background:var(--r6-bg)!important;padding:0!important;}
.pma-universal-internal>.container-xl{
  width:calc(100% - 56px)!important;max-width:1360px!important;margin:0 auto!important;padding:0!important;
}
.pma-universal-breadcrumb{
  min-height:28px!important;height:auto!important;padding:4px 0 3px!important;margin:0!important;
  display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:7px!important;
  font-size:.70rem!important;line-height:1.15!important;text-align:left!important;
}
.pma-universal-breadcrumb a{color:#0872be!important;font-weight:800!important;text-decoration:none!important;}
.pma-universal-breadcrumb strong{color:#506b84!important;font-weight:800!important;}

/* Antes: ~118px. R6: faixa de título em torno de 54–58px. */
.pma-internal-hero-global{
  min-height:56px!important;height:auto!important;margin:0!important;padding:7px 14px 7px 16px!important;
  border-radius:15px!important;gap:10px!important;align-items:center!important;
  background:
    radial-gradient(circle at 93% 50%,rgba(255,255,255,.14) 0 34px,transparent 35px),
    linear-gradient(108deg,#07509a 0%,#0875c1 58%,#18aae5 100%)!important;
  box-shadow:0 7px 20px rgba(0,72,135,.12)!important;overflow:hidden!important;
}
.pma-internal-hero-global::after{display:none!important;}
.pma-internal-hero-global .pma-internal-hero-copy{
  max-width:none!important;min-width:0!important;display:flex!important;align-items:baseline!important;gap:10px!important;flex-wrap:wrap!important;
}
.pma-internal-hero-global .pma-internal-kicker{
  margin:0!important;font-size:.56rem!important;line-height:1!important;letter-spacing:.075em!important;white-space:nowrap!important;
  color:rgba(255,255,255,.82)!important;
}
.pma-internal-hero-global h1{
  margin:0!important;font-size:clamp(1.08rem,1.55vw,1.34rem)!important;line-height:1.08!important;
  letter-spacing:-.02em!important;color:#fff!important;font-weight:850!important;
}
/* Descrição continua no código/DOM, apenas é ocultada no cabeçalho compacto para não desperdiçar espaço. */
.pma-internal-hero-global p{display:none!important;}
.pma-internal-hero-global .pma-internal-hero-icon{
  width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:11px!important;
  font-size:1rem!important;background:rgba(255,255,255,.13)!important;border:1px solid rgba(255,255,255,.22)!important;
}

/* ---------- 2. NAVEGAÇÃO/BREADCRUMBS ANTIGOS ---------- */
.pma-legacy-content .links-navegacao,
.pma-legacy-content .breadcrumb,
.pma-legacy-content .breadcrumb-custom,
.pma-legacy-content .page-titles,
.pma-legacy-content .pma-internal-breadcrumb,
.pma-legacy-content .pma-internal-hero{display:none!important;}

/* ---------- 3. ÁREA ÚTIL COMUM PARA TODAS AS PÁGINAS ---------- */
.pma-legacy-content{
  padding:8px 0 26px!important;background:var(--r6-bg)!important;min-height:220px!important;color:var(--r6-ink)!important;
}
.pma-legacy-content>.container,
.pma-legacy-content>.container-fluid,
.pma-legacy-content>.content-body>.container,
.pma-legacy-content .content-body>.container,
.pma-legacy-content>.table-container,
.pma-legacy-content>.antialiased>.container,
.pma-legacy-content>.portal-standard-page>.container,
.pma-legacy-content .portal-standard-page>.container,
.pma-legacy-content .pma-internal>.container-xl{
  width:calc(100% - 56px)!important;max-width:1360px!important;margin-left:auto!important;margin-right:auto!important;
}
.pma-legacy-content .content-body,
.pma-legacy-content .portal-standard-page,
.pma-legacy-content .antialiased,
.pma-legacy-content .timeline-page,
.pma-legacy-content .esporte-page,
.pma-legacy-content .esic-page,
.pma-legacy-content .esic-wrap,
.pma-legacy-content .transp-wrap{
  margin:0!important;padding-top:0!important;background:transparent!important;color:var(--r6-ink)!important;
}

/* ---------- 4. TÍTULOS DUPLICADOS INTERNOS ---------- */
/* O título principal já está na faixa azul universal. Mantemos textos auxiliares sem repetir um segundo H1 enorme. */
.pma-legacy-content .portal-page-head{
  margin:0 0 10px!important;padding:0 2px 9px!important;border:0!important;border-bottom:1px solid #deebf3!important;
  border-radius:0!important;background:transparent!important;
}
.pma-legacy-content .portal-page-head h1{display:none!important;}
.pma-legacy-content .portal-page-head p{margin:0!important;color:var(--r6-muted)!important;font-size:.79rem!important;line-height:1.4!important;}
.pma-legacy-content .titulo-pagina{font-size:1.22rem!important;color:var(--r6-blue-950)!important;margin-bottom:4px!important;}
.pma-legacy-content .subtitulo-pagina{font-size:.80rem!important;color:var(--r6-muted)!important;margin-bottom:10px!important;}

/* ---------- 5. CARTÕES/PANÉIS — PADRÃO PREMIUM ---------- */
.pma-legacy-content .card,
.pma-legacy-content .well,
.pma-legacy-content .panel,
.pma-legacy-content .box,
.pma-legacy-content .about-item,
.pma-legacy-content .card-principal,
.pma-legacy-content .card-transparencia-principal,
.pma-legacy-content .contact_form{
  border:1px solid var(--r6-border)!important;border-radius:16px!important;background:#fff!important;
  box-shadow:var(--r6-shadow)!important;color:var(--r6-ink)!important;
}
.pma-legacy-content .card-header{
  padding:.68rem .9rem!important;background:linear-gradient(180deg,#fbfdff,#edf7fd)!important;
  border-color:var(--r6-border)!important;border-radius:15px 15px 0 0!important;color:var(--r6-blue-950)!important;font-weight:850!important;
}
.pma-legacy-content .card-body{background:transparent!important;}
.pma-legacy-content .card.p-4,
.pma-legacy-content .about-item.p-4{padding:1rem!important;}

/* Links/cards antigos de Transparência, Serviços, mapa e menus internos */
.pma-legacy-content .card-inicial{
  min-height:116px!important;padding:13px 10px!important;border:1px solid #d5e9f5!important;border-radius:15px!important;
  background:linear-gradient(180deg,#fff 0%,#f1f9fe 100%)!important;color:var(--r6-blue-950)!important;
  box-shadow:0 5px 15px rgba(0,69,124,.055)!important;transition:.18s ease!important;
}
.pma-legacy-content .card-inicial:hover,
.pma-legacy-content .card-inicial:focus{
  transform:translateY(-3px)!important;border-color:#94cdeb!important;background:#e9f7ff!important;
  box-shadow:0 10px 22px rgba(0,78,140,.11)!important;
}
.pma-legacy-content .card-icon{
  width:48px!important;height:48px!important;border-radius:13px!important;background:#e4f4fd!important;margin-bottom:8px!important;
}
.pma-legacy-content .card-icon img{max-width:34px!important;max-height:34px!important;filter:none!important;}
.pma-legacy-content .titulo-link,
.pma-legacy-content .card-inicial .titulo-link,
.pma-legacy-content .card-inicial strong{
  color:#0a4a84!important;font-size:.79rem!important;font-weight:850!important;line-height:1.22!important;
}
.pma-legacy-content .card-inicial:hover .titulo-link,
.pma-legacy-content .card-inicial:focus .titulo-link,
.pma-legacy-content .card-inicial:hover strong{color:#06396f!important;}

/* Mapa do site */
.pma-legacy-content .mapa-site-list{padding:0!important;margin:0!important;}
.pma-legacy-content .mapa-site-list ul{margin-left:.55rem!important;padding-left:.55rem!important;border-left:1px solid #d8e9f3!important;}
.pma-legacy-content .mapa-site-list .faixa-verde{
  background:#e7f6ff!important;color:#075b9e!important;border:1px solid #d2eaf8!important;border-radius:9px!important;
  margin:5px 0!important;padding:8px 10px!important;font-size:.73rem!important;
}
.pma-legacy-content a.mapa-site{
  display:block!important;padding:6px 9px!important;margin:2px 0!important;border-radius:8px!important;text-decoration:none!important;
  color:#315a7e!important;font-size:.79rem!important;
}
.pma-legacy-content a.mapa-site:hover{background:#edf8fe!important;color:#075a9e!important;}

/* ---------- 6. SECRETARIAS / GESTORES ---------- */
body[class*="pagina-sec-"] .pma-legacy-content .content-body>.container>.row.card,
body.pagina-gabinete .pma-legacy-content .content-body>.container>.row.card,
body.pagina-procuradoria .pma-legacy-content .content-body>.container>.row.card,
body.pagina-controladoria .pma-legacy-content .content-body>.container>.row.card{
  padding:16px!important;border-radius:18px!important;
}
body[class*="pagina-sec-"] .pma-legacy-content .message-box h4,
body.pagina-gabinete .pma-legacy-content .message-box h4,
body.pagina-procuradoria .pma-legacy-content .message-box h4{
  display:inline-flex!important;align-items:center!important;padding:5px 9px!important;margin-bottom:7px!important;
  border-radius:999px!important;background:#e8f6ff!important;border:1px solid #d4ebf8!important;color:#075ca1!important;
  font-size:.70rem!important;font-weight:850!important;
}
body[class*="pagina-sec-"] .pma-legacy-content .message-box h3,
body.pagina-gabinete .pma-legacy-content .message-box h3,
body.pagina-procuradoria .pma-legacy-content .message-box h3{
  margin:0 0 7px!important;font-size:clamp(1.28rem,1.9vw,1.65rem)!important;color:#063e75!important;letter-spacing:-.02em!important;
}
body[class*="pagina-sec-"] .pma-legacy-content .about-icon,
body.pagina-gabinete .pma-legacy-content .about-icon,
body.pagina-procuradoria .pma-legacy-content .about-icon{
  width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:11px!important;background:#e6f5fe!important;display:grid!important;place-items:center!important;
}
body[class*="pagina-sec-"] .pma-legacy-content .about-icon i,
body.pagina-gabinete .pma-legacy-content .about-icon i,
body.pagina-procuradoria .pma-legacy-content .about-icon i{font-size:.95rem!important;color:#0871bc!important;}
body[class*="pagina-sec-"] .pma-legacy-content img[style*="max-height"]{max-height:220px!important;border-radius:14px!important;object-fit:cover!important;}

/* ---------- 7. LISTAS / LIST-GROUP ---------- */
.pma-legacy-content .list-group{border-radius:13px!important;overflow:hidden!important;}
.pma-legacy-content .list-group-item{
  border-color:#e2edf4!important;background:#fff!important;color:#345b7d!important;padding:.68rem .8rem!important;
}
.pma-legacy-content a.list-group-item:hover{background:#f0f9fe!important;color:#075a9f!important;}

/* ---------- 8. TABELAS ---------- */
.pma-legacy-content .table-container,
.pma-legacy-content .portal-table-wrap,
.pma-legacy-content .table-responsive{
  border:1px solid #d7e8f3!important;border-radius:14px!important;background:#fff!important;box-shadow:0 5px 16px rgba(0,65,118,.055)!important;overflow:auto!important;
}
.pma-legacy-content .table-container{padding:0!important;}
.pma-legacy-content table,
.pma-legacy-content table.table,
.pma-legacy-content .table-slim{width:100%!important;margin:0!important;background:#fff!important;color:#111827!important;font-size:.86rem!important;line-height:1.48!important;}
.pma-legacy-content table thead th,
.pma-legacy-content table.table thead th,
.pma-legacy-content .table-slim th{
  background:#e9f5fc!important;color:#083f70!important;border-color:#d4e7f2!important;
  font-size:.72rem!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.025em!important;padding:.70rem .68rem!important;
}
.pma-legacy-content table tbody td,
.pma-legacy-content table.table tbody td,
.pma-legacy-content .table-slim td{padding:.70rem .68rem!important;border-color:#e8f0f5!important;color:#111827!important;vertical-align:middle!important;}
.pma-legacy-content table tbody tr:nth-child(even){background:#fcfdff!important;}
.pma-legacy-content table tbody tr:hover{background:#f1f9fe!important;}
.pma-legacy-content .portal-desc{color:#111827!important;line-height:1.5!important;}
.pma-legacy-content table tbody td strong,
.pma-legacy-content table tbody td.fw-semibold{color:#0f172a!important;}

/* R8 - ações de listagens sempre lado a lado */
.pma-legacy-content .portal-actions{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.38rem!important;
  flex-wrap:nowrap!important;white-space:nowrap!important;min-width:148px!important;
}
.pma-legacy-content .portal-actions .btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.28rem!important;
  min-height:32px!important;padding:.34rem .58rem!important;font-size:.78rem!important;line-height:1!important;
}
.pma-legacy-content .portal-actions + *{margin-left:.25rem!important;}
.pma-legacy-content .details-pane{background:#f4faff!important;border-left:3px solid #0781ca!important;color:#395f7c!important;border-radius:8px!important;}
.pma-legacy-content .btn-exp{color:#0769af!important;border-color:#9bcfea!important;background:#eef9ff!important;}

/* ---------- 9. FORMULÁRIOS/FILTROS ---------- */
.pma-legacy-content .portal-filter{
  padding:.75rem!important;margin-bottom:.85rem!important;border:1px solid #d9e8f2!important;border-radius:13px!important;background:#f8fcff!important;
}
.pma-legacy-content .form-control,
.pma-legacy-content .form-select,
.pma-legacy-content select,
.pma-legacy-content textarea,
.pma-legacy-content input[type="text"],
.pma-legacy-content input[type="search"],
.pma-legacy-content input[type="email"],
.pma-legacy-content input[type="date"],
.pma-legacy-content input[type="number"],
.pma-legacy-content input[type="password"],
.pma-legacy-content input[type="tel"]{
  min-height:40px!important;border:1px solid #cfe1ed!important;border-radius:10px!important;background:#fff!important;color:#284d6c!important;box-shadow:none!important;
}
.pma-legacy-content textarea{min-height:92px!important;}
.pma-legacy-content .form-control:focus,
.pma-legacy-content .form-select:focus,
.pma-legacy-content input:focus,
.pma-legacy-content select:focus,
.pma-legacy-content textarea:focus{border-color:#38a5df!important;box-shadow:0 0 0 .18rem rgba(18,147,216,.11)!important;}
.pma-legacy-content label{color:#294f70!important;font-weight:750!important;font-size:.79rem!important;}

/* ---------- 10. BOTÕES ---------- */
.pma-legacy-content .btn{border-radius:9px!important;font-weight:800!important;box-shadow:none!important;}
.pma-legacy-content .btn-primary,
.pma-legacy-content .btn-info,
.pma-legacy-content .btn-success{
  background:linear-gradient(180deg,#0aa5e7,#086dbb)!important;border-color:#086dbb!important;color:#fff!important;
}
.pma-legacy-content .btn-primary:hover,
.pma-legacy-content .btn-info:hover,
.pma-legacy-content .btn-success:hover{background:linear-gradient(180deg,#078ecb,#075a9f)!important;border-color:#075a9f!important;}
.pma-legacy-content .btn-outline-primary{color:#0765aa!important;border-color:#8fc9e8!important;background:#fff!important;}
.pma-legacy-content .btn-outline-primary:hover{color:#06477f!important;background:#eaf7ff!important;border-color:#65b5dd!important;}

/* ---------- 11. ACCORDIONS / FAQ / ABAS ---------- */
.pma-legacy-content .accordion-item{border:1px solid #d7e8f3!important;border-radius:12px!important;overflow:hidden!important;margin-bottom:8px!important;background:#fff!important;}
.pma-legacy-content .accordion-button{padding:.78rem .9rem!important;background:#f8fcff!important;color:#0a4a84!important;font-weight:800!important;box-shadow:none!important;}
.pma-legacy-content .accordion-button:not(.collapsed){background:#e9f6fe!important;color:#064f90!important;}
.pma-legacy-content .nav-tabs{gap:4px!important;border-bottom-color:#d9e8f2!important;}
.pma-legacy-content .nav-tabs .nav-link{border:0!important;border-radius:9px 9px 0 0!important;color:#456680!important;font-weight:800!important;}
.pma-legacy-content .nav-tabs .nav-link.active{background:#0877c4!important;color:#fff!important;}

/* ---------- 12. NOTÍCIAS / GALERIAS / UNIDADES ---------- */
.pma-legacy-content .noticia-premium-card,
.pma-legacy-content .portal-gallery-card,
.pma-legacy-content .gallery-item,
.pma-legacy-content .galeria-item{
  border:1px solid #d9e9f3!important;border-radius:15px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 6px 18px rgba(0,64,116,.07)!important;
}
.pma-legacy-content .noticia-premium-card img,
.pma-legacy-content .portal-gallery-card img,
.pma-legacy-content .img-galeria{border-radius:0!important;object-fit:cover!important;}
.pma-legacy-content .badge-categoria{background:#0877c4!important;color:#fff!important;}

/* ---------- 13. MODAIS / PAGINAÇÃO / ALERTAS ---------- */
.pma-legacy-content .modal-content{border:0!important;border-radius:16px!important;box-shadow:0 18px 55px rgba(0,44,83,.18)!important;}
.pma-legacy-content .modal-header{background:#f5fbff!important;border-color:#dbeaf3!important;border-radius:16px 16px 0 0!important;}
.pma-legacy-content .pagination .page-link{color:#076ab3!important;border-color:#d7e6f0!important;}
.pma-legacy-content .pagination .active .page-link{background:#0877c4!important;border-color:#0877c4!important;color:#fff!important;}
.pma-legacy-content .alert{border-radius:12px!important;}

/* ---------- 14. TIPOGRAFIA E ESPAÇAMENTO ---------- */
.pma-legacy-content h1,.pma-legacy-content h2,.pma-legacy-content h3,.pma-legacy-content h4,.pma-legacy-content h5,.pma-legacy-content h6{color:#103f6d!important;}
.pma-legacy-content h1{font-size:1.45rem!important;}
.pma-legacy-content h2{font-size:1.28rem!important;}
.pma-legacy-content h3{font-size:1.15rem!important;}
.pma-legacy-content h4{font-size:1.02rem!important;}
.pma-legacy-content h5{font-size:.92rem!important;}
.pma-legacy-content p,.pma-legacy-content li{color:#516b82;}
.pma-legacy-content .mt-5{margin-top:1.45rem!important;}
.pma-legacy-content .mb-5{margin-bottom:1.45rem!important;}
.pma-legacy-content .py-5{padding-top:1.35rem!important;padding-bottom:1.35rem!important;}

/* ---------- 15. RESPONSIVIDADE ---------- */
@media(max-width:1199.98px){
  .pma-universal-internal>.container-xl,
  .pma-legacy-content>.container,.pma-legacy-content>.container-fluid,
  .pma-legacy-content>.content-body>.container,.pma-legacy-content .content-body>.container,
  .pma-legacy-content>.table-container,.pma-legacy-content>.antialiased>.container,
  .pma-legacy-content>.portal-standard-page>.container,.pma-legacy-content .portal-standard-page>.container,
  .pma-legacy-content .pma-internal>.container-xl{width:calc(100% - 36px)!important;}
}
@media(max-width:991.98px){
  .pma-universal-internal>.container-xl,
  .pma-legacy-content>.container,.pma-legacy-content>.container-fluid,
  .pma-legacy-content>.content-body>.container,.pma-legacy-content .content-body>.container,
  .pma-legacy-content>.table-container,.pma-legacy-content>.antialiased>.container,
  .pma-legacy-content>.portal-standard-page>.container,.pma-legacy-content .portal-standard-page>.container,
  .pma-legacy-content .pma-internal>.container-xl{width:calc(100% - 28px)!important;}
  .pma-internal-hero-global{min-height:52px!important;padding:6px 12px!important;}
  .pma-internal-hero-global h1{font-size:1.08rem!important;}
  .pma-internal-hero-global .pma-internal-hero-icon{width:34px!important;height:34px!important;flex-basis:34px!important;}
}
@media(max-width:767.98px){
  .pma-universal-breadcrumb{min-height:25px!important;font-size:.66rem!important;padding:3px 0!important;}
  .pma-internal-hero-global{min-height:48px!important;padding:6px 10px!important;border-radius:12px!important;}
  .pma-internal-hero-global .pma-internal-hero-copy{gap:6px!important;}
  .pma-internal-hero-global .pma-internal-kicker{font-size:.50rem!important;}
  .pma-internal-hero-global h1{font-size:1rem!important;}
  .pma-internal-hero-global .pma-internal-hero-icon{width:31px!important;height:31px!important;flex-basis:31px!important;border-radius:9px!important;font-size:.82rem!important;}
  .pma-legacy-content{padding-top:6px!important;}
  .pma-legacy-content>.container,.pma-legacy-content>.container-fluid,
  .pma-legacy-content>.content-body>.container,.pma-legacy-content .content-body>.container,
  .pma-legacy-content>.table-container,.pma-legacy-content>.antialiased>.container,
  .pma-legacy-content>.portal-standard-page>.container,.pma-legacy-content .portal-standard-page>.container,
  .pma-legacy-content .pma-internal>.container-xl{width:calc(100% - 20px)!important;}
  .pma-legacy-content .card.p-4,.pma-legacy-content .about-item.p-4{padding:.82rem!important;}
  .pma-legacy-content .table-responsive{border-radius:11px!important;}
  .pma-legacy-content table,.pma-legacy-content table.table,.pma-legacy-content .table-slim{font-size:.79rem!important;line-height:1.42!important;}
  .pma-legacy-content table thead th,.pma-legacy-content table.table thead th,.pma-legacy-content .table-slim th{font-size:.65rem!important;padding:.58rem .50rem!important;}
  .pma-legacy-content table tbody td,.pma-legacy-content table.table tbody td,.pma-legacy-content .table-slim td{padding:.58rem .50rem!important;}
  .pma-legacy-content .portal-actions{min-width:82px!important;gap:.28rem!important;}
  .pma-legacy-content .portal-actions .btn{min-width:34px!important;min-height:31px!important;padding:.30rem .42rem!important;}
  .pma-legacy-content .portal-actions .btn span{display:none!important;}
  body[class*="pagina-sec-"] .pma-legacy-content .content-body>.container>.row.card{padding:12px!important;}
}
@media(max-width:480px){
  .pma-internal-hero-global .pma-internal-kicker{display:none!important;}
  .pma-internal-hero-global .pma-internal-hero-icon{display:grid!important;}
  .pma-internal-hero-global h1{font-size:.96rem!important;}
}

/* ---------- 16. ADAPTADORES DE PÁGINAS ESPECÍFICAS ANTIGAS ---------- */
/* Serviços / Carta de Serviços */
.pma-legacy-content .card-servico-item,
.pma-legacy-content .servico-card-item{
  min-height:120px!important;padding:13px!important;border:1px solid #d5e8f4!important;border-radius:15px!important;
  background:linear-gradient(180deg,#fff,#f3f9fd)!important;box-shadow:0 5px 16px rgba(0,67,120,.06)!important;text-decoration:none!important;
}
.pma-legacy-content .card-servico-item:hover,
.pma-legacy-content .servico-card-item:hover{transform:translateY(-3px)!important;border-color:#8fc9e8!important;box-shadow:0 10px 22px rgba(0,75,135,.11)!important;}
.pma-legacy-content .icon-servico{color:#0873bd!important;background:#e5f4fd!important;border-radius:12px!important;}
.pma-legacy-content .titulo-servico{color:#0a4a84!important;font-weight:850!important;}

/* e-SIC / Ouvidoria */
.pma-legacy-content .esic-container,
.pma-legacy-content .esic-wrapper,
.pma-legacy-content .esic-manifestacao-container{max-width:1360px!important;margin:0 auto!important;}
.pma-legacy-content .esic-breadcrumb,.pma-legacy-content .esic-breadcrumb-wrap{display:none!important;}
.pma-legacy-content .esic-card,
.pma-legacy-content .esic-ouvidoria-box{
  border:1px solid #d8e8f2!important;border-radius:15px!important;background:#fff!important;box-shadow:var(--r6-shadow)!important;
}
.pma-legacy-content .esic-title{color:#0a477f!important;font-size:1.25rem!important;}
.pma-legacy-content .esic-subtitle{color:#657d92!important;font-size:.82rem!important;}

/* Busca */
.pma-legacy-content .busca-global{max-width:1360px!important;margin:0 auto!important;padding-top:0!important;}
.pma-legacy-content .busca-head{border:1px solid #d8e8f2!important;border-radius:15px!important;background:#fff!important;box-shadow:var(--r6-shadow)!important;}
.pma-legacy-content .busca-item{border:1px solid #ddebf4!important;border-radius:13px!important;background:#fff!important;box-shadow:0 5px 15px rgba(0,65,118,.05)!important;}
.pma-legacy-content .busca-chip{background:#e8f6ff!important;color:#075a9c!important;border-color:#cfe8f6!important;}

/* Home Licitações / opções de transparência */
.pma-legacy-content .transp-option{
  border:1px solid #d7e9f4!important;border-radius:15px!important;background:linear-gradient(180deg,#fff,#f3f9fd)!important;
  box-shadow:0 5px 16px rgba(0,66,117,.06)!important;
}
.pma-legacy-content .transp-option:hover{border-color:#91cbea!important;box-shadow:0 10px 22px rgba(0,75,135,.10)!important;}
.pma-legacy-content .transp-icon{color:#0873bd!important;background:#e5f4fd!important;}

/* LRF / relatórios */
.pma-legacy-content .card-lrf-main{border:1px solid #d7e8f3!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--r6-shadow)!important;}
.pma-legacy-content .table-container-lrf{border-radius:13px!important;overflow:auto!important;border:1px solid #d7e8f3!important;}
.pma-legacy-content .ementa-texto{color:#506b82!important;line-height:1.42!important;}

/* Galeria de ex-prefeitos / timeline */
.pma-legacy-content .timeline-hero{display:none!important;}
.pma-legacy-content .timeline-wrapper{max-width:1200px!important;margin:0 auto!important;padding-top:4px!important;}
.pma-legacy-content .timeline-card,
.pma-legacy-content .timeline-card-inner{
  border:1px solid #d9e8f2!important;border-radius:16px!important;background:#fff!important;box-shadow:0 6px 18px rgba(0,62,113,.07)!important;
}
.pma-legacy-content .timeline-dot{background:#0876c2!important;border-color:#dff3ff!important;}
.pma-legacy-content .timeline-badge{background:#e8f6ff!important;color:#075b9e!important;border-color:#d1eaf8!important;}

/* Notícias */
.pma-legacy-content .noticia-premium-card{height:100%!important;transition:.18s ease!important;}
.pma-legacy-content .noticia-premium-card:hover{transform:translateY(-3px)!important;box-shadow:0 12px 26px rgba(0,74,132,.11)!important;}
.pma-legacy-content .btn-noticia-premium{background:#0875c1!important;color:#fff!important;border-radius:9px!important;text-decoration:none!important;}
.pma-legacy-content .btn-noticia-premium:hover{background:#075a9e!important;color:#fff!important;}

/* Conselhos / CME / gestores */
.pma-legacy-content .card-link-hover,
.pma-legacy-content .hover-card{transition:.18s ease!important;}
.pma-legacy-content .card-link-hover:hover,
.pma-legacy-content .hover-card:hover{transform:translateY(-3px)!important;box-shadow:0 10px 22px rgba(0,73,132,.10)!important;}
.pma-legacy-content .bg-primary-blue{background:#0875c1!important;}
.pma-legacy-content .text-primary-blue{color:#0875c1!important;}
.pma-legacy-content .border-primary-blue{border-color:#87c8ea!important;}

/* Esporte — preserva composição especial, harmoniza cores e cartões */
.pma-legacy-content .esporte-secretaria-card,
.pma-legacy-content .campeonato-hero,
.pma-legacy-content .jogo-card,
.pma-legacy-content .noticia-card{
  border:1px solid #d8e8f2!important;border-radius:16px!important;box-shadow:var(--r6-shadow)!important;
}
.pma-legacy-content .campeonato-hero{background:linear-gradient(115deg,#084d8c,#0875c1,#14a6df)!important;}
.pma-legacy-content .esporte-btn-primary{background:#0875c1!important;border-color:#0875c1!important;color:#fff!important;}
.pma-legacy-content .section-title{color:#083f74!important;}

/* Unidades e diretórios */
body[class*="pagina-und-"] .pma-legacy-content .card,
body.pagina-unidadeseduc .pma-legacy-content .card{
  border:1px solid #d8e8f2!important;border-radius:15px!important;background:#fff!important;box-shadow:0 6px 18px rgba(0,65,118,.065)!important;
}

/* Detalhes de licitação */
.pma-legacy-content .licit-hero{background:linear-gradient(115deg,#074b8d,#0875c1,#18a8e2)!important;border-radius:16px!important;box-shadow:var(--r6-shadow)!important;}
.pma-legacy-content .licit-files-table,.pma-legacy-content .doc-table{border-radius:13px!important;overflow:auto!important;border:1px solid #d8e8f2!important;}
.pma-legacy-content .licit-contact{border-radius:13px!important;background:#f3faff!important;border:1px solid #d9ebf5!important;}

/* Privacidade/LGPD */
.pma-legacy-content .direito-item{border:1px solid #d8e9f3!important;border-radius:14px!important;background:#fff!important;box-shadow:0 5px 15px rgba(0,64,115,.055)!important;}

/* =====================================================================
   R7 — BREADCRUMB INTEGRADO AO CARD INTERNO
   20/11/2026
   Desktop: título à esquerda | navegação centralizada | ícone à direita.
   Mobile: título/ícone na primeira linha e breadcrumb centralizado abaixo.
   ===================================================================== */
.pma-universal-breadcrumb{display:none!important;}

.pma-internal-hero-global{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:14px!important;
}
.pma-internal-hero-global .pma-internal-hero-copy{
  grid-column:1!important;
  grid-row:1!important;
  justify-self:start!important;
  min-width:0!important;
  overflow:hidden!important;
}
.pma-internal-hero-breadcrumb{
  grid-column:2!important;
  grid-row:1!important;
  justify-self:center!important;
  align-self:center!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  max-width:100%!important;
  min-width:0!important;
  padding:5px 12px!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.10)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;
  backdrop-filter:blur(4px)!important;
  -webkit-backdrop-filter:blur(4px)!important;
  color:rgba(255,255,255,.82)!important;
  font-size:.65rem!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.pma-internal-hero-breadcrumb a{
  color:#fff!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.pma-internal-hero-breadcrumb a:hover{
  color:#d9f5ff!important;
  text-decoration:none!important;
}
.pma-internal-hero-breadcrumb span{color:rgba(255,255,255,.52)!important;}
.pma-internal-hero-breadcrumb strong{
  color:#fff!important;
  font-weight:750!important;
  max-width:220px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.pma-internal-hero-global .pma-internal-hero-icon{
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end!important;
  margin:0!important;
}

@media (max-width:991.98px){
  .pma-internal-hero-global{column-gap:10px!important;}
  .pma-internal-hero-breadcrumb{font-size:.60rem!important;padding:4px 9px!important;gap:5px!important;}
  .pma-internal-hero-breadcrumb strong{max-width:160px!important;}
}

@media (max-width:767.98px){
  .pma-internal-hero-global{
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    row-gap:3px!important;
    column-gap:9px!important;
    min-height:58px!important;
    padding-top:6px!important;
    padding-bottom:5px!important;
  }
  .pma-internal-hero-global .pma-internal-hero-copy{
    grid-column:1!important;
    grid-row:1!important;
  }
  .pma-internal-hero-global .pma-internal-hero-icon{
    grid-column:2!important;
    grid-row:1!important;
  }
  .pma-internal-hero-breadcrumb{
    grid-column:1 / -1!important;
    grid-row:2!important;
    justify-self:center!important;
    max-width:96%!important;
    padding:2px 8px!important;
    border-color:transparent!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    font-size:.58rem!important;
  }
  .pma-internal-hero-breadcrumb strong{
    max-width:210px!important;
  }
}

@media (max-width:479.98px){
  .pma-internal-hero-global{min-height:56px!important;}
  .pma-internal-hero-breadcrumb{font-size:.55rem!important;gap:4px!important;}
  .pma-internal-hero-breadcrumb strong{max-width:170px!important;}
}
