/* SAEMAP 5.0 — camada de design, acessibilidade e atendimento ao cidadão */
:root{--navy:#082f4a;--blue:#066f99;--blue2:#008ab0;--mint:#8bd728;--green:#71bd22;--ink:#143c52;--muted:#587284;--line:#dfeaf0;--sky:#f3f8fb;--shadow:0 18px 50px rgba(12,56,80,.085);--round:19px}
html{scroll-padding-top:110px}body{background:#fff;font-family:Inter,'Segoe UI',system-ui,-apple-system,Arial,sans-serif;overflow-x:hidden}button,a,input{touch-action:manipulation}a,button{transition:background-color .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #21b7c6!important;outline-offset:3px}.site-container{max-width:1270px}
.utility{background:#062a42}.utility-inner{min-height:36px;font-size:.74rem}.utility-inner>span{opacity:.92}.utility-links a{color:#dbedf5}.utility-links button{color:#e8f3f9}.main-header{box-shadow:0 2px 20px #0739560a;background:rgba(255,255,255,.98);backdrop-filter:saturate(170%) blur(12px)}.header-inner{min-height:90px;gap:26px}.brand{gap:12px;min-width:235px}.brand img{height:60px;width:48px;object-fit:contain}.brand strong{font-size:1.84rem;letter-spacing:-.05em;line-height:1.05;color:#082f4a}.brand small{color:#5d7b8a;font-size:.7rem;line-height:1.35}.header-search{border-radius:99px;background:#f3f8fa;border:1px solid #dce9ee;padding:3px 5px 3px 8px;box-shadow:none;max-width:400px}.header-search input{background:transparent!important;border:0!important;box-shadow:none!important;font-size:.86rem!important}.header-search button{border-radius:99px;background:#e0f5f7;color:#116a82}.header-actions{gap:12px}.header-protocol{font-size:.77rem;font-weight:750;white-space:nowrap}.bill-top{background:#0a6d92;border:0;border-radius:99px;font-size:.83rem;padding:13px 16px}.bill-top:hover{background:#094e72}.nav-shell{background:white;border-top:1px solid #edf2f4;border-bottom:1px solid #e7eef2}.site-nav{gap:6px;align-items:center;justify-content:center;min-height:48px}.site-nav>a{padding:12px 17px;border-radius:10px;color:#3c6076;font-size:.83rem;font-weight:700}.site-nav>a:hover,.site-nav>a[aria-current=page]{background:#eaf7f8;color:#0b647b;text-decoration:none}.site-nav .v5-nav-more{position:relative;min-width:0}.v5-nav-more>summary{cursor:pointer;list-style:none;font-size:.82rem;font-weight:740;padding:12px 18px;color:#355f73;border-radius:10px}.v5-nav-more>summary::-webkit-details-marker{display:none}.v5-nav-more>summary:after{content:'⌄';font-size:1rem;margin-left:8px}.v5-nav-more[open]>summary{background:#eaf7f8;color:#0b647b}.v5-nav-dropdown{position:absolute;z-index:120;right:0;top:100%;display:grid;min-width:255px;gap:2px;background:white;border:1px solid #dce9ef;border-radius:18px;box-shadow:0 18px 50px #083b5626;padding:9px}.v5-nav-dropdown a{padding:10px 12px;border-radius:9px;color:#234c63;font-size:.85rem;font-weight:650}.v5-nav-dropdown a:hover{background:#eaf7f8;text-decoration:none}.mobile-menu{border:1px solid #d8e5ec;border-radius:12px;padding:9px 14px}
.v5-alertbar{background:#e8f8f4;color:#205f60;border-bottom:1px solid #c9e8e2}.v5-alertbar-inner{min-height:49px;display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:.81rem}.v5-alert-left{display:flex;align-items:center;gap:13px;min-width:0}.v5-alert-badge{display:inline-flex;align-items:center;gap:7px;background:#d4f2e4;color:#106b60;border-radius:99px;font-size:.69rem;font-weight:850;padding:7px 11px;white-space:nowrap;letter-spacing:.04em}.v5-alert-badge .i{width:15px;height:15px}.v5-alert-message{overflow-wrap:anywhere}.v5-alert-dash{color:#70a6a0;padding:0 3px}.v5-alertbar-inner>a{font-weight:800;display:inline-flex;align-items:center;gap:7px;color:#095c68;white-space:nowrap}.v5-alertbar-inner>a .i{width:15px}.v5-active-notice{margin-top:12px!important;background:#fff5e4;border:1px solid #efcf8f;border-radius:14px;padding-top:12px!important;padding-bottom:12px!important;display:flex;justify-content:space-between;gap:14px;align-items:center;color:#714510;font-size:.86rem}.v5-active-notice>span{display:inline-flex;align-items:center;gap:8px}.v5-active-notice a{color:#804e10;font-weight:850}
.v5-hero{position:relative;background:linear-gradient(118deg,#072c48 5%,#06486b 55%,#087a84 114%);color:#fff;overflow:hidden}.v5-hero:before{content:'';position:absolute;inset:auto -7% -58% 38%;height:500px;background:radial-gradient(ellipse,rgba(66,212,203,.16),transparent 70%);pointer-events:none}.v5-hero-inner{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);align-items:center;gap:24px;min-height:525px;padding-top:63px;padding-bottom:70px;position:relative}.v5-hero-copy{position:relative;z-index:2}.v5-eyebrow{font-size:.72rem;letter-spacing:.15em;word-spacing:.09em;font-weight:850;color:#bdedec;display:inline-flex;align-items:center;gap:9px}.v5-eyebrow-dot{height:8px;width:8px;border-radius:50%;background:#a7f33d;box-shadow:0 0 0 5px #9dee2b1d}.v5-hero h1{margin:25px 0 18px;font-size:clamp(2.7rem,4.55vw,4.45rem);line-height:1.09;letter-spacing:-.054em;color:#fff;font-weight:850;max-width:730px}.v5-hero h1 span{color:#a1e56c}.v5-hero-copy>p{max-width:580px;color:#c5dfeb;font-size:1.04rem;line-height:1.72;margin:0 0 30px}.v5-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:11px}.v5-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:13px;border:1px solid transparent;padding:14px 18px;font-size:.88rem;font-weight:850;min-height:49px;line-height:1.25;text-decoration:none;white-space:normal}.v5-button:hover{text-decoration:none;transform:translateY(-2px)}.v5-button .i{width:18px;height:18px}.v5-button-lime{background:#a0e242;border-color:#a0e242;color:#163c35;box-shadow:0 10px 26px #a0e24229}.v5-button-lime:hover{background:#b3ee61;color:#173c35}.v5-button-ghost{background:#ffffff0d;border-color:#ffffff59;color:#fff}.v5-button-ghost:hover{background:#ffffff21;color:#fff}.v5-button-dark{background:#0a5274;color:#fff}.v5-button-dark:hover{background:#073f61;color:#fff}.v5-button-outline{background:white;color:#0e526b;border-color:#bddadf}.v5-hero-links{display:flex;flex-wrap:wrap;gap:12px 19px;color:#d2e8eb;margin-top:30px;font-size:.73rem}.v5-hero-links span{display:flex;align-items:center;gap:5px}.v5-hero-links .i{color:#a1e56c;width:15px;height:15px}.v5-hero-visual{min-height:430px;position:relative;display:flex;align-items:center;justify-content:center}.v5-water-glow{position:absolute;width:min(400px,88%);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#72d7dd3e 0%,#66bfc90b 72%);border:1px solid #ffffff20;box-shadow:0 0 0 32px #ffffff08,0 0 0 66px #ffffff04}.v5-water-wave{position:absolute;width:95%;height:180px;left:8%;top:63%;border-top:2px solid #a0e5df32;border-radius:50%;transform:rotate(-12deg)}.v5-water-wave-two{top:72%;left:2%;border-color:#b2ecde20;transform:rotate(-4deg)}.v5-hero-logo{position:relative;width:270px;height:325px;display:grid;place-items:center;filter:drop-shadow(0 28px 27px rgba(0,16,35,.16))}.v5-hero-logo img{max-width:100%;max-height:100%;object-fit:contain}.v5-visual-label{position:absolute;right:3%;bottom:4%;background:#ffffffed;color:#123f53;border:1px solid #ffffffa0;border-radius:16px;padding:13px 16px;box-shadow:0 20px 50px #03294328;display:flex;align-items:center;gap:11px;max-width:260px}.v5-visual-icon{width:37px;height:37px;display:grid;place-items:center;background:#e2f5f2;color:#0d8195;border-radius:12px}.v5-visual-label b,.v5-visual-label small{display:block}.v5-visual-label b{font-size:.85rem}.v5-visual-label small{font-size:.69rem;color:#607c8a;line-height:1.4}
.v5-service-band{padding-top:67px;padding-bottom:76px}.v5-section-top{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.v5-kicker{font-size:.71rem;font-weight:850;color:#007e99;letter-spacing:.145em}.v5-section-top h2,.v5-operational h2,.v5-final-cta h2{color:#103e57;font-weight:850;letter-spacing:-.044em;line-height:1.17;font-size:clamp(1.8rem,2.7vw,2.65rem);margin:10px 0}.v5-section-top p,.v5-operational p,.v5-final-cta p{color:#658094;margin:0;font-size:.92rem}.v5-small-link{display:inline-flex;align-items:center;gap:8px;color:#0b728e;font-weight:820;font-size:.84rem;white-space:nowrap}.v5-small-link .i{width:16px}.v5-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.v5-quick{min-height:125px;background:#fff;border:1px solid #e0eaef;border-radius:18px;box-shadow:0 9px 32px #0b4f6b0a;padding:21px;display:flex;align-items:center;gap:14px;color:#163c53;text-decoration:none;min-width:0;position:relative}.v5-quick:hover{border-color:#79c8d1;box-shadow:0 18px 42px #08526b1c;transform:translateY(-3px);text-decoration:none}.v5-quick-featured{background:#effaf8;border-color:#bde8dd}.v5-quick-icon{width:48px;height:48px;flex:0 0 auto;display:grid;place-items:center;border-radius:14px}.v5-quick-icon .i{width:23px;height:23px}.v5-cyan{color:#03759b;background:#e0f4f9}.v5-green{color:#458e29;background:#eaf7e5}.v5-blue{color:#135dc2;background:#e7efff}.v5-violet{color:#7954b3;background:#f0e9fa}.v5-quick>span:nth-child(2){display:flex;flex-direction:column;min-width:0;gap:6px}.v5-quick strong{font-size:.93rem;color:#103e57;line-height:1.3}.v5-quick small{font-size:.76rem;color:#718999;line-height:1.4}.v5-quick>i{margin-left:auto;color:#a2bfcb}.v5-quick>i .i{width:17px}
.v5-operational{background:linear-gradient(130deg,#edf8f9,#eff6fa);padding:67px 0}.v5-operational-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:8%;align-items:center}.v5-operational h2{max-width:490px}.v5-operational p{max-width:540px;line-height:1.7}.v5-bairro-search{margin-top:26px;padding:6px;display:flex;max-width:530px;background:white;border:1px solid #d9e9ee;border-radius:15px;box-shadow:0 10px 25px #0a477c0d}.v5-bairro-search input{border:0!important;flex:1;min-width:0;margin:0!important;background:transparent!important;box-shadow:none!important;font-size:.86rem}.v5-bairro-search .v5-button{padding:10px 14px;min-height:42px}.v5-operation-panel{padding:27px;border:1px solid #d3e7e9;border-radius:24px;background:white;box-shadow:0 20px 60px #0a477c12}.v5-operation-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #e7eff0;padding-bottom:18px;margin-bottom:19px}.v5-operation-heading>span:first-child{font-size:.73rem;font-weight:900;color:#007b87;display:inline-flex;gap:7px;align-items:center}.v5-operation-updated{font-size:.73rem;color:#8098a5}.v5-operation-panel>strong{display:block;font-size:1.22rem;color:#103f58}.v5-operation-panel>p{font-size:.86rem;margin:7px 0 17px}.v5-operation-panel>a{font-size:.84rem;font-weight:800;color:#047b91;display:inline-flex;align-items:center;gap:8px}.v5-operation-warning{border-top:1px solid #e8eff0;margin-top:21px;padding-top:15px;font-size:.73rem;color:#7e929d;line-height:1.55}
.v5-midsection{padding-top:80px;padding-bottom:84px}.v5-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.v5-feature{border:1px solid #e1edf0;border-radius:22px;background:white;padding:29px;min-height:275px;display:flex;flex-direction:column;align-items:flex-start;color:#173e53;box-shadow:0 12px 34px #0b457c0a;text-decoration:none}.v5-feature:hover{text-decoration:none;transform:translateY(-3px);box-shadow:0 23px 52px #084e751e}.v5-feature-primary{background:#073c5d;border-color:#073c5d;color:#fff}.v5-feature-icon{width:47px;height:47px;display:grid;place-items:center;background:#eaf7f6;color:#04768b;border-radius:14px}.v5-feature-primary .v5-feature-icon{background:#ffffff1e;color:#b0efcd}.v5-feature h3{margin:20px 0 9px;font-size:1.16rem;letter-spacing:-.025em;color:inherit}.v5-feature p{color:#718a97;font-size:.85rem;line-height:1.6;margin:0 0 16px}.v5-feature-primary p{color:#c1dce9}.v5-feature-link{margin-top:auto;font-size:.81rem;color:#007a99;font-weight:850;display:flex;gap:7px;align-items:center}.v5-feature-primary .v5-feature-link{color:#b0f0cf}
.v5-news-section{background:#f4f9fb;padding:70px 0 80px}.v5-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.v5-news-card{padding:25px;border:1px solid #dfeaf0;background:white;border-radius:20px;min-height:220px;display:flex;flex-direction:column}.v5-news-card>span{font-size:.71rem;color:#0b8298;font-weight:800;letter-spacing:.03em}.v5-news-card h3{font-size:1.14rem;line-height:1.4;color:#164155;margin:16px 0 10px}.v5-news-card p{font-size:.84rem;line-height:1.6;color:#758b9b;margin:0 0 20px}.v5-news-card>a{margin-top:auto;font-size:.81rem;font-weight:800;display:flex;align-items:center;gap:7px;color:#087692}.v5-empty-news{display:flex;align-items:center;gap:18px;border:1px dashed #b8d9e3;border-radius:20px;padding:25px;background:white}.v5-empty-news>span{display:grid;place-items:center;background:#ebf6fa;color:#0e8aa2;border-radius:14px;width:50px;height:50px;flex:none}.v5-empty-news strong{color:#18455b}.v5-empty-news p{margin:3px 0;color:#718a97;font-size:.85rem}.v5-empty-news a{margin-left:auto;font-size:.82rem;font-weight:800;white-space:nowrap}.v5-final-cta{padding-top:39px;padding-bottom:41px;display:flex;align-items:center;justify-content:space-between;gap:18px}.v5-final-cta>div:last-child{display:flex;gap:10px;flex-wrap:wrap}.v5-final-cta h2{font-size:clamp(1.5rem,2.4vw,2.2rem)}
/* Componentes compartilhados e formulários */
.page-banner{background:linear-gradient(110deg,#063e60,#087a88);border:0;color:#fff;padding:50px 0}.page-banner h1{color:#fff;font-size:clamp(1.8rem,3vw,2.65rem);letter-spacing:-.045em;line-height:1.18}.page-banner p{color:#d0e8ef;max-width:830px}.page-banner .eyebrow{color:#b4e7d4}.page-body{padding-top:42px;padding-bottom:62px}.panel,.topic,.entry-card,.v4-report,.v4-proc{border-radius:19px;border-color:#dfebef;box-shadow:0 9px 34px #06395a0a}.btn{border-radius:11px}.btn-primary{background:#086d91;border-color:#086d91}.btn-primary:hover{background:#065777;border-color:#065777}.v4-section-hero{background:linear-gradient(120deg,#073e60,#0a7b86);border-radius:19px}.v4-chat-bubble{line-height:1.55}.v4-float-ia{background:#0b6e85;border:1px solid #ffffff80;border-radius:99px;font-size:.79rem;padding:13px 17px;right:17px;bottom:17px;box-shadow:0 13px 38px #042f4580}.v4-float-ia:hover{background:#07506d}.v4-home-banner{display:none}.footer-top{background:#072e46}.footer-bottom{background:#05253a}.footer-grid h3{color:#eef9fb}.footer-grid a{color:#d5e8ee}.mobile-dock a{min-width:0}
/* Painel: atalhos de fluxo e controle editorial */
.v5-admin-welcome{padding:25px 30px;margin:0 0 22px;background:linear-gradient(118deg,#073c5d,#087e85);color:white;border-radius:20px}.v5-admin-welcome h2{color:white!important;margin:0 0 7px!important;font-size:1.7rem}.v5-admin-welcome p{color:#d6eced;margin:0 0 17px}.v5-admin-buttons{display:flex;gap:9px;flex-wrap:wrap}.v5-admin-buttons a{color:#144858;background:#fff;padding:10px 13px;border-radius:10px;font-size:.83rem;font-weight:800}.v5-admin-buttons a:hover{background:#d9f6ed;text-decoration:none}.v5-admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:15px 0 26px}.v5-admin-stat{border:1px solid #dfecef;padding:20px;background:white;border-radius:16px;box-shadow:0 7px 20px #0a45680a;text-decoration:none}.v5-admin-stat b{display:block;font-size:1.95rem;color:#064d70;line-height:1.1}.v5-admin-stat span{font-size:.83rem;color:#6c8492}.v5-admin-stat:hover{border-color:#76c5c7;text-decoration:none}.v5-admin-queue{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:24px}.v5-admin-task{background:#fff;border:1px solid #deebee;border-radius:17px;padding:21px}.v5-admin-task h3{margin:0 0 5px;font-size:1rem;color:#10485e}.v5-admin-task p{font-size:.83rem;color:#677e8b;margin:0 0 12px}.v5-admin-task a{font-size:.83rem;font-weight:800}
@media(max-width:1260px){.site-nav>a{padding:12px 9px}.header-protocol{display:none}.v5-hero h1{font-size:clamp(2.65rem,4.8vw,4.2rem)}}
@media(max-width:1040px){.v5-hero-inner{grid-template-columns:1.1fr .8fr}.v5-hero-visual{min-height:340px}.v5-hero-logo{width:220px;height:270px}.v5-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v5-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v5-feature:last-child{grid-column:span 2}.v5-operational-grid{gap:35px;grid-template-columns:minmax(0,1fr) minmax(310px,.9fr)}.v5-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:840px){.header-inner{min-height:73px}.brand{min-width:0}.brand img{height:50px;width:43px}.brand strong{font-size:1.65rem}.nav-shell{border:0}.site-nav{min-height:0;top:100%;max-height:calc(100vh - 72px);overflow:auto;gap:5px;justify-content:flex-start;padding-bottom:30px}.site-nav>a{padding:12px 15px;font-size:.92rem}.v5-nav-more{width:100%}.v5-nav-more>summary{padding:12px 15px}.v5-nav-dropdown{position:static;border:0;box-shadow:none;min-width:0;background:#f4f9fa}.v5-hero-inner{grid-template-columns:1fr;min-height:0;padding-top:60px;padding-bottom:55px}.v5-hero-copy{max-width:680px}.v5-hero-visual{display:none}.v5-hero h1{max-width:680px}.v5-operational-grid{grid-template-columns:1fr;gap:27px}.v5-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v5-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v5-final-cta{flex-direction:column;align-items:flex-start}.v5-empty-news{align-items:flex-start}.v5-empty-news a{white-space:normal}.header-actions{display:none}}
@media(max-width:640px){.utility-inner{min-height:35px}.utility-inner>span{font-size:.62rem}.utility-links{gap:7px}.utility-links a{display:none}.v5-alertbar-inner{align-items:flex-start;flex-direction:column;padding-top:10px!important;padding-bottom:11px!important;gap:6px}.v5-alert-message{font-size:.72rem}.v5-alertbar-inner>a{font-size:.73rem}.v5-active-notice{display:block;font-size:.77rem}.v5-active-notice a{display:block;margin-top:7px}.v5-hero-inner{padding-top:46px;padding-bottom:45px}.v5-hero h1{font-size:clamp(2.4rem,9.8vw,3.35rem);margin:17px 0}.v5-eyebrow{font-size:.57rem;letter-spacing:.09em}.v5-hero-copy>p{font-size:.94rem}.v5-hero-actions{align-items:stretch}.v5-hero-actions .v5-button{width:100%}.v5-hero-links{gap:7px 14px;font-size:.67rem}.v5-service-band{padding-top:45px;padding-bottom:53px}.v5-section-top{align-items:flex-start;flex-direction:column;gap:8px}.v5-section-top h2{font-size:1.8rem}.v5-quick-grid,.v5-feature-grid,.v5-news-grid{grid-template-columns:1fr}.v5-quick{min-height:92px;padding:17px 15px}.v5-quick-icon{width:44px;height:44px}.v5-feature:last-child{grid-column:auto}.v5-feature{min-height:225px;padding:23px}.v5-operational{padding:48px 0}.v5-bairro-search{display:block;background:transparent;border:0;box-shadow:none;padding:0}.v5-bairro-search input{display:block;width:100%;padding:14px!important;background:white!important;border:1px solid #dae9ee!important;border-radius:12px;margin-bottom:9px!important}.v5-bairro-search button{width:100%}.v5-operation-panel{padding:22px}.v5-midsection,.v5-news-section{padding-top:52px;padding-bottom:55px}.v5-empty-news{display:block}.v5-empty-news a{display:inline-block;margin:13px 0 0}.v5-final-cta{padding-top:40px;padding-bottom:40px}.v5-final-cta>div:last-child{flex-direction:column;width:100%}.v5-final-cta .v5-button{width:100%}.v4-float-ia{bottom:76px;right:11px;padding:10px 12px;font-size:.7rem}.v5-admin-stats,.v5-admin-queue{grid-template-columns:1fr}.page-banner{padding:39px 0}}
@media print{.v5-alertbar,.v5-hero-actions,.v5-hero-visual,.v5-bairro-search,.v5-final-cta .v5-button,.v4-float-ia{display:none!important}.v5-hero{background:none!important;color:#142a38!important}.v5-hero h1,.v5-hero h1 span{color:#142a38!important}.v5-hero-copy>p{color:#142a38!important}.v5-quick,.v5-feature,.v5-operation-panel{box-shadow:none;break-inside:avoid}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}}
body.high-contrast .v5-hero,body.high-contrast .v5-operational,body.high-contrast .v5-news-section,body.high-contrast .v5-feature-primary{background:white!important;color:#000!important}body.high-contrast .v5-hero h1,body.high-contrast .v5-hero h1 span,body.high-contrast .v5-hero-copy>p,body.high-contrast .v5-feature-primary h3,body.high-contrast .v5-feature-primary p,body.high-contrast .v5-hero-links,body.high-contrast .v5-eyebrow{color:#000!important}body.high-contrast .v5-quick,body.high-contrast .v5-feature,body.high-contrast .v5-operation-panel,body.high-contrast .v5-news-card{border:2px solid #000!important}body.high-contrast .v5-button{color:#000!important;border:2px solid #000!important;background:#fff!important}

/* 5.1: Contraste dos selos sobre fundos institucionais escuros. */
.page-banner .eyebrow,.page-banner .eyebrow-blue,.v4-section-hero .eyebrow,.v4-section-hero .eyebrow-blue{background:#def7ed!important;color:#064733!important;border:1px solid #9cdcc6!important;letter-spacing:.045em!important;font-weight:850!important;text-shadow:none!important;box-shadow:none!important}
body.high-contrast .page-banner .eyebrow,body.high-contrast .v4-section-hero .eyebrow{background:#fff!important;color:#000!important;border:2px solid #000!important}
.v51-user{border:1px solid #dae8ed;border-radius:15px;margin:13px 0;padding:15px;display:grid;grid-template-columns:minmax(130px,1fr) minmax(250px,1.6fr);gap:16px;align-items:center;background:#fff}.v51-user .mini{margin:4px 0 0}.v51-user-edit{display:flex;flex-wrap:wrap;gap:11px;align-items:end}.v51-user-edit label{min-width:150px;flex:1;font-size:.82rem}.v51-user-edit select{margin-top:3px}.v51-active{display:flex;align-items:center;gap:7px;white-space:nowrap}.v51-active input{width:18px;height:18px}.v51-user-edit button{align-self:end;min-height:40px}.v51-perfil-hint{border-left:4px solid #0f7d95;padding:11px 15px;background:#f0f8fa;border-radius:8px;margin:14px 0}
@media(max-width:720px){.v51-user{grid-template-columns:1fr}.v51-user-edit{flex-direction:column;align-items:stretch}.v51-user-edit label{width:100%}}


/* SAEMAP 5.1.1 — marca institucional solicitada: símbolo + SAEMAP / MONTE AZUL PAULISTA.
   Mantém o nome legível no celular, sem invadir o menu. */
.main-header .brand-institucional {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  gap: 12px;
  white-space: nowrap;
  text-decoration: none;
}
.main-header .brand-institucional img {
  display: block;
  width: 48px;
  height: 69px;
  flex: 0 0 48px;
  object-fit: contain;
  background: transparent;
  border: 0;
  padding: 0;
}
.main-header .brand-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.main-header .brand-title {
  display: block;
  color: #083956;
  font-size: 1.86rem;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -.045em;
}
.main-header .brand-city {
  display: block;
  margin: 6px 0 0;
  color: #2b6681;
  font-size: .71rem;
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: .075em;
  white-space: nowrap;
}
.main-header .brand-institucional:hover .brand-title { color: #065f89; }
@media (max-width: 840px) {
  .main-header .header-inner { gap: 12px; }
  .main-header .brand-institucional { margin-right: auto; gap: 10px; }
  .main-header .brand-institucional img { width: 43px; height: 62px; flex-basis: 43px; }
  .main-header .brand-title { font-size: 1.67rem; }
  .main-header .brand-city { font-size: .66rem; letter-spacing: .06em; margin-top: 4px; }
  .main-header .mobile-menu { flex: 0 0 auto; }
}
@media (max-width: 420px) {
  .main-header .header-inner { gap: 8px; min-height: 76px; }
  .main-header .brand-institucional { gap: 8px; }
  .main-header .brand-institucional img { width: 37px; height: 55px; flex-basis: 37px; }
  .main-header .brand-title { font-size: 1.55rem; }
  .main-header .brand-city { font-size: .59rem; letter-spacing: .035em; }
  .main-header .mobile-menu { font-size: .76rem; padding: 9px 10px; }
}
@media (max-width: 345px) {
  .main-header .brand-institucional { gap: 6px; }
  .main-header .brand-institucional img { width: 31px; height: 49px; flex-basis: 31px; }
  .main-header .brand-title { font-size: 1.42rem; }
  .main-header .brand-city { font-size: .53rem; letter-spacing: 0; }
  .main-header .mobile-menu { padding: 8px 7px; }
}
body.high-contrast .main-header .brand-title,
body.high-contrast .main-header .brand-city { color: #000 !important; }
@media print { .main-header .brand-city { color: #000 !important; } }
