/* A navegação usa os mesmos links e controles no desktop e no menu recolhido. */
.utility.portal-toolbar {
  min-height:34px;height:auto;display:flex;flex-wrap:nowrap;justify-content:space-between;
  gap:8px;padding:2px clamp(14px,3.5vw,64px);background:#eef0f2;color:#353c49;
  font-size:.78rem;font-weight:600;line-height:1.3;z-index:1;
}
#portal-social {display:flex;align-items:center;gap:6px;flex-shrink:0}
#portal-social a {display:grid;place-items:center;min-width:28px;min-height:28px;border-radius:4px}
#portal-social a:hover {background:#dfe2e8}
#portal-social img {width:20px;height:20px;display:block}
.header {height:auto;min-height:76px;padding:9px clamp(14px,3vw,58px);gap:clamp(.75rem,1.4vw,2rem);z-index:35;position:sticky;top:0}
.header .brand {padding:0;gap:8px;flex:none}
.header .official-logo {width:clamp(110px,9.7vw,163px);height:auto}
.header .brand-state {display:none}
.header #portal-menu {
  position:static;display:flex;align-items:center;flex-direction:row;justify-content:center;
  flex-wrap:nowrap;gap:clamp(9px,.85vw,18px);margin:0 auto;background:#fff;padding:0;
  color:#182946;border:none;box-shadow:none;max-height:none;overflow:visible;line-height:1.3;
}
.header #portal-menu>details>summary, .header #portal-menu>a {
  display:flex;align-items:center;gap:4px;white-space:nowrap;list-style:none;
  line-height:1.2;font-size:.86rem;font-weight:650;min-height:44px;padding:4px 0;
}
#portal-menu summary::-webkit-details-marker {display:none}
#portal-menu summary::after {content:"";border:solid currentColor;border-width:0 1.6px 1.6px 0;width:5px;height:5px;transform:translateY(-2px) rotate(45deg)}
#portal-menu details[open]>summary::after {transform:translateY(2px) rotate(225deg)}
#portal-menu [aria-current="page"],#portal-menu details.secao-atual>summary,#portal-menu details[open]>summary,#portal-menu summary:hover {color:#1044a6}
.header #portal-menu .portal-dropdown {position:absolute;top:100%;left:0;min-width:12rem;width:max-content;max-width:19rem;max-height:min(65vh,34rem);overflow-y:auto}
.header #portal-menu .portal-dropdown a {color:#182946;font-size:.89rem;display:block;padding:.65rem .75rem}
.header #menu-toggle {display:none}
.header .header-actions {gap:1px;flex:none}
.header .icon-button {width:39px;height:44px;color:#193956}
.header .icon-button svg {width:21px;height:21px;stroke:currentColor}
.header #portal-credencial {min-height:42px;padding:0 15px;font-size:.83rem;margin-left:6px;white-space:nowrap}
#portal-credencial[hidden] {display:none}
.header.menu-compacto #menu-toggle {display:inline-flex}
.header.menu-compacto #portal-menu {display:none}
.header.menu-compacto.menu-open #portal-menu {
  position:absolute;top:100%;left:0;right:0;display:flex;align-items:stretch;flex-direction:column;
  gap:0;margin:0;padding:.5rem clamp(16px,4vw,60px) 1rem;max-height:calc(100dvh - 125px);overflow:auto;
  overscroll-behavior:contain;box-shadow:0 14px 24px #14244724;border-bottom:1px solid #d9dfeb;
}
.header.menu-compacto #portal-menu>details>summary,.header.menu-compacto #portal-menu>a {
  justify-content:space-between;min-height:46px;font-size:1rem;white-space:normal;border-bottom:1px solid #e0e5eb;
}
.header.menu-compacto #portal-menu .portal-dropdown {position:static;min-width:0;width:100%;max-width:none;max-height:none;border:0;border-left:2px solid #d7e2f3;border-radius:0;box-shadow:none;padding:.15rem .6rem}
.header.menu-compacto #portal-menu .portal-dropdown a {min-height:42px;display:flex;align-items:center;padding:.5rem .65rem}
#main {scroll-margin-top:5.5rem}
#main:focus {outline:none}
html {scroll-padding-top:5.5rem}
body :focus-visible {outline:3px solid #0a63c7;outline-offset:3px}
.skip-link {z-index:90}
#footer {background:#102447;color:#eef2f7;padding:clamp(32px,5vw,68px) clamp(18px,5.5vw,94px) 32px}
.footer-contact {display:grid;grid-template-columns:1fr 1.25fr 1fr;align-items:start;gap:1.5rem;border-bottom:1px solid #ffffff40;padding-bottom:2rem;margin-bottom:2rem}
.footer-contact .footer-logo {max-width:min(185px,100%);height:auto;margin:0}
.footer-contact h2,.footer-map h3 {font-family:var(--font);font-size:1rem;color:white;margin:0 0 .6rem}
.footer-contact p {margin:0;line-height:1.6}
.footer-contact a,.footer-map a {display:block;width:fit-content;padding:.2rem 0;font-size:.9rem;line-height:1.5;color:#e3e9f2}
.footer-contact a:hover,.footer-map a:hover {color:white;text-decoration:underline}
.footer-map {display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:1.6rem 2rem;align-items:start}
.footer-bottom {margin:2rem 0 0}
#portal-whatsapp {position:fixed;z-index:21;right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}
#portal-whatsapp a {display:grid;place-items:center;width:48px;height:48px;border:2px solid white;border-radius:50%;background:#087849;box-shadow:0 2px 8px #0d372b45}
#portal-whatsapp a:hover {background:#065437}
#portal-whatsapp img {display:block;width:27px;height:29px;filter:brightness(0) invert(1)}
#access-dialog {max-width:25rem}
#access-dialog h2 {font-size:1.35rem;margin:0}
#access-dialog>label {display:flex;align-items:center;gap:.8rem;min-height:48px;cursor:pointer;border-bottom:1px solid #d7dce5}
#access-dialog input {width:1.2rem;height:1.2rem;accent-color:#1944bd}
#access-dialog .button {margin-top:1.25rem}
.menos-movimento *, .menos-movimento *::before, .menos-movimento *::after {
  scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after {scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
.alto-contraste {--ink:white;--blue:#8dcaff;--muted:#eee;--line:#bbb;--paper:#111;--navy:#000}
.alto-contraste body, .alto-contraste body :where(header,main,nav,footer,dialog,details,summary,article,aside,section,div,span,p,label,small,em,b,strong,h1,h2,h3,h4,h5,h6,ol,ul,li,dt,dd,th,td,time,figcaption,a,button,input,select,textarea) {
  color:white!important;background-color:#101010!important;background-image:none!important;text-shadow:none!important;
}
.alto-contraste body :is(a,a *,button,button *,summary,summary *) {color:#ffec85!important;text-decoration-color:currentColor}
.alto-contraste body a {text-decoration:underline}
.alto-contraste body :is(button,input,select,textarea,details,.button) {border:1px solid #eee!important}
.alto-contraste body :focus-visible {outline:3px solid #55dcff!important}
.alto-contraste #portal-social a,.alto-contraste .header .brand {background:white!important}
.alto-contraste .header .brand {padding:4px}
.alto-contraste #portal-menu summary {padding-inline:.4rem}
@media(max-width:680px) {
  .header {min-height:61px;padding-block:6px;gap:5px}
  .header .official-logo {width:112px}
  .header .icon-button {width:36px}
  .header #portal-credencial {padding:0 11px;font-size:.76rem;min-height:38px;margin-left:1px}
  #portal-social {gap:1px}
  .utility.portal-toolbar {font-size:.7rem;min-height:32px}
  #portal-social img {width:18px;height:18px}
  #portal-whatsapp a {width:44px;height:44px}
  #footer {padding-bottom:4rem}
  .footer-contact {grid-template-columns:1fr 1fr;gap:1.1rem}
  .footer-contact>a {grid-column:1/-1}
  .footer-contact .footer-logo {width:132px}
  .footer-map {grid-template-columns:repeat(2,minmax(0,1fr));gap:1.35rem 1rem}
  .footer-map a {min-height:32px}
}
@media(max-width:380px) {
  .header .brand {flex:0 1 92px;min-width:0}
  .header .official-logo {width:100%}
  .header #portal-credencial {padding-inline:8px}
  .header {padding-inline:9px}
  .header .icon-button {width:32px}
  .utility.portal-toolbar {padding-inline:8px}
  #portal-social a {min-width:25px}
}
@media(max-width:480px) {
  .large-text .header {flex-wrap:wrap}
  .large-text .header .header-actions {margin-left:auto}
  .large-text .utility.portal-toolbar {flex-wrap:wrap}
}
@media(max-width:1180px) {
  .header:not(.menu-open) #portal-menu {display:none}
  .header #menu-toggle {display:inline-flex}
}
