:root{--green-950:#043d24;--green-900:#064d2b;--green-800:#075c32;--green-700:#08723d;--green-600:#119653;--green-100:#e2f3e9;--green-50:#f2faf5;--ink:#173229;--muted:#61736d;--line:#dce7e1;--soft:#f5f8f6;--white:#fff;--accent:#d8ef58;--shadow:0 14px 40px rgba(7,69,39,.09);--radius:18px;--container:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;line-height:1.55;background:#fff}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}.container{width:min(var(--container),calc(100% - 40px));margin:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:100;left:16px;top:-100px;background:#fff;color:var(--green-900);padding:10px 14px;border-radius:8px;box-shadow:var(--shadow)}.skip-link:focus{top:16px}:focus-visible{outline:3px solid #8fcf1a;outline-offset:3px}
.utility-bar{background:var(--green-950);color:#cae4d6;font-size:.77rem;letter-spacing:.02em}.utility-inner{min-height:34px;display:flex;justify-content:space-between;align-items:center}.utility-links{display:flex;gap:24px}.utility-links a:hover{color:#fff}.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.97);box-shadow:0 1px 0 rgba(15,64,42,.1);backdrop-filter:blur(12px)}.main-nav{height:82px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:13px}.brand>span:last-child{display:flex;flex-direction:column;line-height:1.25}.brand strong{font-size:.98rem;color:var(--green-950);font-weight:750}.brand small{font-size:.74rem;color:var(--muted);margin-top:3px}.brand-mark{display:grid;grid-template-columns:repeat(3,7px);grid-template-rows:repeat(3,7px);gap:3px;width:27px}.brand-mark i{display:block;background:var(--green-600);border-radius:1.5px}.brand-mark i:first-child{background:#e63835;border-radius:50%}.nav-links{display:flex;align-items:center;gap:27px;font-size:.87rem;font-weight:650}.nav-links>a:not(.button){padding:12px 0;border-bottom:2px solid transparent}.nav-links>a:not(.button):hover{color:var(--green-700);border-color:var(--green-600)}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:0 19px;border:0;border-radius:10px;font-weight:750;font-size:.9rem;transition:.2s transform,.2s box-shadow,.2s background}.button:hover{transform:translateY(-2px)}.button-suap,.button-green{background:var(--green-700);color:#fff;box-shadow:0 8px 18px rgba(8,114,61,.18)}.button-suap:hover,.button-green:hover{background:var(--green-800)}.menu-button{display:none;border:0;background:transparent;padding:10px}.menu-button span{display:block;width:24px;height:2px;margin:5px;background:var(--green-900)}
.hero{position:relative;overflow:hidden;background:linear-gradient(116deg,var(--green-900),#08713f 69%,#0b7f46);color:#fff;padding:75px 0 88px}.hero-inner{position:relative;z-index:2}.eyebrow,.kicker{font-size:.76rem;text-transform:uppercase;font-weight:800;letter-spacing:.13em;color:var(--green-700)}.eyebrow{display:flex;align-items:center;gap:8px;color:#d8f0e2}.eyebrow span{width:22px;height:2px;background:var(--accent)}.hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(2.45rem,5vw,4.25rem);line-height:1.04;letter-spacing:-.035em;margin:15px 0 18px;max-width:800px}.hero>div>p{max-width:680px;margin:0 0 29px;color:#e0eee6;font-size:1.08rem}.search-box{width:min(790px,100%);height:66px;background:#fff;border-radius:13px;display:flex;align-items:center;padding:7px 7px 7px 20px;box-shadow:0 16px 38px rgba(0,36,19,.25)}.search-box svg{width:23px;fill:none;stroke:#597069;stroke-width:2}.search-box input{height:100%;min-width:0;flex:1;border:0;outline:0;padding:0 15px;font-size:1rem;color:var(--ink)}.search-box input::placeholder{color:#84938e}.search-box button{border:0;border-radius:9px;height:50px;padding:0 26px;color:#fff;background:var(--green-700);font-weight:750}.search-suggestions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:18px;font-size:.78rem;color:#d1e6da}.search-suggestions button{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;border-radius:100px;padding:5px 11px;font-size:.75rem}.search-suggestions button:hover{background:rgba(255,255,255,.18)}.hero-pattern{position:absolute;width:570px;height:570px;right:-100px;top:-180px;border:1px solid rgba(255,255,255,.08);border-radius:50%}.hero-pattern:before,.hero-pattern:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.07);border-radius:50%}.hero-pattern:before{inset:70px}.hero-pattern:after{inset:145px}
.quick-section{padding:48px 0 67px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:28px}.section-heading.compact{margin-bottom:22px}.section-heading h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(1.85rem,3vw,2.55rem);line-height:1.13;letter-spacing:-.025em;color:var(--green-950);margin:7px 0 0}.section-heading p{color:var(--muted);margin:7px 0 0}.quick-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.quick-card{position:relative;min-height:190px;border:1px solid var(--line);border-radius:15px;padding:22px 18px;display:flex;flex-direction:column;background:#fff;transition:.22s box-shadow,.22s border-color,.22s transform}.quick-card:hover{border-color:#a9cfb9;box-shadow:var(--shadow);transform:translateY(-3px)}.quick-icon{font-size:1.55rem;color:var(--green-700);height:38px}.quick-card strong{font-family:Georgia,"Times New Roman",serif;color:var(--green-950);font-size:1.08rem;line-height:1.15;font-weight:600}.quick-card small{color:var(--muted);line-height:1.38;margin-top:9px;font-size:.76rem}.quick-card b{position:absolute;right:17px;bottom:14px;color:var(--green-700);font-weight:500}.siae-section{padding:0 0 75px}.siae-panel{position:relative;overflow:hidden;display:grid;grid-template-columns:110px 1fr 220px;align-items:center;gap:28px;color:#fff;background:linear-gradient(115deg,var(--green-950),var(--green-800));border-radius:21px;padding:38px 42px;box-shadow:0 18px 44px rgba(4,61,36,.18)}.siae-symbol{width:94px;height:94px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);border-radius:20px;display:grid;place-items:center;position:relative}.siae-symbol span{font-family:Georgia,serif;font-size:3rem}.siae-symbol i{position:absolute;width:12px;height:12px;background:var(--accent);border-radius:50%;right:13px;top:13px}.kicker.light{color:#cfe8d8}.siae-copy h2{font-family:Georgia,serif;font-weight:500;font-size:2rem;line-height:1.16;margin:8px 0}.siae-copy>p{color:#d5e7dd;font-size:.91rem;max-width:650px;margin:0}.siae-status{display:flex;align-items:center;gap:8px;margin-top:17px;font-size:.76rem}.siae-status i{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(216,239,88,.14)}.siae-status small{color:#a9c9b8;margin-left:5px}.siae-actions{display:flex;flex-direction:column;gap:9px}.siae-actions .button{width:100%}.button-white{background:#fff;color:var(--green-900)}.button-outline{color:#fff;background:transparent;border:1px solid rgba(255,255,255,.45)}.siae-actions>a{text-align:center;font-size:.78rem;text-decoration:underline;color:#cce3d6;margin-top:3px}
.section{padding:76px 0}.section-soft{background:var(--soft)}.text-link{border:0;background:none;color:var(--green-700);font-weight:750;font-size:.88rem;padding:8px 0}.text-link span{margin-left:7px}.filter-row{display:flex;gap:8px;overflow:auto;padding-bottom:8px;margin-bottom:19px;scrollbar-width:thin}.filter-row button{white-space:nowrap;border:1px solid var(--line);border-radius:999px;background:#fff;color:#53675f;padding:8px 14px;font-size:.78rem;font-weight:700}.filter-row button.active{background:var(--green-800);border-color:var(--green-800);color:#fff}.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.service-card{border:1px solid var(--line);border-radius:14px;background:#fff;padding:22px;display:flex;flex-direction:column;min-height:210px;transition:.2s}.service-card:hover{border-color:#a2cdb5;box-shadow:0 12px 28px rgba(6,77,43,.08)}.service-card header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.channel-pill,.service-card .channel{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:.69rem;text-transform:uppercase;letter-spacing:.06em;font-weight:850}.channel.SUAP,.channel-pill.SUAP{background:#e7f5ec;color:#08703d}.channel.SIAE,.channel-pill.SIAE{background:#edf2f0;color:#52665e}.channel.INFORMACAO,.channel-pill.INFORMACAO{background:#eef0fb;color:#47558c}.service-card h3{font-family:Georgia,serif;font-size:1.22rem;line-height:1.25;margin:0 0 8px;color:var(--green-950);font-weight:600}.service-card p{color:var(--muted);font-size:.86rem;margin:0 0 19px}.service-card button{margin-top:auto;border:0;background:transparent;color:var(--green-700);font-weight:760;text-align:left;padding:0;font-size:.84rem}.service-card button span{float:right}.empty-state{text-align:center;border:1px dashed #acc7b8;border-radius:14px;padding:40px}.empty-state p{color:var(--muted)}
.selection-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:17px}.selection-feature,.selection-list article{background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.selection-feature{padding:32px}.selection-feature>div:first-child{display:flex;justify-content:space-between;align-items:center}.tag{display:inline-flex;padding:5px 10px;border-radius:999px;font-weight:800;font-size:.67rem;text-transform:uppercase;letter-spacing:.06em}.tag.open{color:#0a6f3c;background:#def3e7}.tag.planning{color:#785800;background:#fff3c6}.tag.results{color:#405396;background:#e8ecff}.tag.notice{color:#8c3f1d;background:#ffeadf}.meta{font-size:.78rem;color:var(--muted)}.selection-feature h3{font-family:Georgia,serif;font-size:2rem;color:var(--green-950);margin:21px 0 8px}.selection-feature>p{color:var(--muted);max-width:560px}.date-line{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:13px;align-items:center;margin:25px 0;padding:17px 0}.date-line>span{font-size:1.4rem;color:var(--green-700)}.date-line div{display:flex;flex-direction:column}.date-line small{color:var(--muted);font-size:.7rem}.selection-list{display:grid;gap:10px}.selection-list article{padding:18px 22px;position:relative}.selection-list h3{font-family:Georgia,serif;color:var(--green-950);margin:11px 0 1px;font-size:1.06rem}.selection-list p{color:var(--muted);font-size:.78rem;margin:0}.selection-list a{position:absolute;right:20px;bottom:18px;color:var(--green-700);font-size:.75rem;font-weight:750}.notice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.notice-grid article{display:grid;grid-template-columns:60px 1fr;gap:17px;border-top:3px solid var(--green-700);background:var(--soft);border-radius:4px 4px 14px 14px;padding:23px}.notice-grid time{text-align:center;border-right:1px solid var(--line);padding-right:14px;display:flex;flex-direction:column}.notice-grid time b{font-family:Georgia,serif;color:var(--green-800);font-size:1.8rem;line-height:1}.notice-grid time span{font-size:.59rem;color:var(--muted);font-weight:850;margin-top:5px}.notice-category{color:var(--green-700);text-transform:uppercase;font-size:.66rem;letter-spacing:.08em;font-weight:850}.notice-grid h3{font-family:Georgia,serif;font-size:1.05rem;line-height:1.3;color:var(--green-950);margin:7px 0}.notice-grid p{font-size:.78rem;color:var(--muted);margin:0 0 12px}.notice-grid a{color:var(--green-700);font-size:.76rem;font-weight:750}
.flow-section{background:var(--green-950);color:#fff}.flow-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:95px;align-items:center}.kicker.light-green{color:#bce397}.flow-intro h2{font-family:Georgia,serif;font-weight:500;font-size:2.55rem;line-height:1.1;margin:9px 0 17px}.flow-intro p{color:#bcd1c5;margin:0 0 24px}.steps{margin:0;padding:0;list-style:none;display:grid}.steps li{display:grid;grid-template-columns:48px 1fr;gap:17px;position:relative;padding:0 0 24px}.steps li:not(:last-child):before{content:"";position:absolute;left:23px;top:42px;bottom:2px;width:1px;background:#287351}.steps li>span{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#0e7441;border:1px solid #3f946d;font-family:Georgia,serif;font-size:1.2rem}.steps h3{margin:1px 0 3px;font-family:Georgia,serif;font-weight:500;font-size:1.15rem}.steps p{margin:0;color:#abc8b9;font-size:.84rem}.docs-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.docs-grid article{background:var(--soft);border:1px solid transparent;border-radius:var(--radius);padding:27px;min-height:230px;display:flex;flex-direction:column}.docs-grid article:hover{background:#fff;border-color:var(--line);box-shadow:var(--shadow)}.docs-grid article>span{font-family:Georgia,serif;color:#8cbba0;font-size:1.5rem}.docs-grid h3{font-family:Georgia,serif;font-size:1.27rem;color:var(--green-950);margin:18px 0 8px}.docs-grid p{color:var(--muted);font-size:.84rem;margin:0}.docs-grid a{margin-top:auto;color:var(--green-700);font-size:.82rem;font-weight:750}.docs-grid a b{float:right}.calendar-section{padding-top:20px}.calendar-panel{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:31px 38px;display:grid;grid-template-columns:95px 1fr auto;align-items:center;gap:25px}.calendar-icon{width:78px;height:78px;border:2px solid var(--green-700);border-radius:13px;overflow:hidden;text-align:center}.calendar-icon span{display:block;background:var(--green-700);color:#fff;font-size:.69rem;font-weight:850;padding:5px}.calendar-icon b{display:block;font-family:Georgia,serif;color:var(--green-900);font-size:1.2rem;padding-top:12px}.calendar-panel h2{font-family:Georgia,serif;color:var(--green-950);font-weight:500;font-size:1.8rem;margin:5px 0}.calendar-panel p{color:var(--muted);margin:0;max-width:690px;font-size:.86rem}.institutional-section{padding:0 0 75px}.institutional-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.institutional-grid>a{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:14px;padding:17px}.institutional-grid>a:hover{border-color:#9ec9b1;box-shadow:var(--shadow)}.initial{width:45px;height:45px;border-radius:11px;display:grid;place-items:center;font-weight:850}.initial.suap{background:#e4f5eb;color:var(--green-700)}.initial.siae{background:var(--green-800);color:#fff}.initial.ifto{background:#edf0f0;color:#42564e}.institutional-grid div{display:flex;flex:1;flex-direction:column}.institutional-grid strong{color:var(--green-950)}.institutional-grid small{color:var(--muted);font-size:.72rem}.institutional-grid>a>b{color:var(--green-700)}
.site-footer{background:#032f1c;color:#c7ddd1}.footer-main{padding:53px 0 42px;display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:50px}.brand.inverse strong{color:#fff}.brand.inverse small{color:#a9c4b6}.footer-brand>p{font-size:.82rem;color:#91b2a1;margin-top:20px}.footer-main h2{color:#fff;font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;margin:0 0 15px}.footer-main>div:not(:first-child){display:flex;flex-direction:column;gap:8px}.footer-main a,.footer-main p{font-size:.78rem;margin:0;color:#9fbdad}.footer-main a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);min-height:57px;display:flex;align-items:center;justify-content:space-between;font-size:.69rem;color:#7fa392}
.service-dialog{width:min(560px,calc(100% - 30px));border:0;border-radius:18px;padding:35px;box-shadow:0 30px 90px rgba(0,29,16,.3);color:var(--ink)}.service-dialog::backdrop{background:rgba(2,34,19,.62);backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:1.8rem;color:#60736b}.service-dialog h2{font-family:Georgia,serif;color:var(--green-950);font-size:1.8rem;line-height:1.15;margin:17px 0 9px}.service-dialog>p{color:var(--muted)}.dialog-note{background:var(--green-50);border-left:3px solid var(--green-600);padding:14px 17px;margin:22px 0}.dialog-note strong{color:var(--green-900);font-size:.8rem}.dialog-note p{margin:4px 0 0;color:#50675d;font-size:.84rem}.toast{position:fixed;z-index:80;right:25px;bottom:25px;background:#fff;border-left:4px solid var(--green-600);box-shadow:0 18px 50px rgba(0,44,24,.24);border-radius:10px;padding:15px 20px;max-width:360px}.toast strong,.toast span{display:block}.toast span{color:var(--muted);font-size:.8rem;margin-top:2px}
@media(max-width:1050px){.nav-links{gap:16px}.nav-links>a:not(.button){display:none}.quick-grid{grid-template-columns:repeat(3,1fr)}.quick-card{min-height:165px}.services-grid{grid-template-columns:repeat(2,1fr)}.docs-grid{grid-template-columns:repeat(2,1fr)}.flow-layout{gap:45px}.footer-main{grid-template-columns:1.3fr repeat(3,1fr);gap:25px}}
@media(max-width:760px){.container{width:min(100% - 28px,var(--container))}.utility-bar{display:none}.main-nav{height:68px}.brand strong{font-size:.87rem}.brand small{font-size:.68rem}.menu-button{display:block}.nav-links{display:none;position:absolute;left:0;right:0;top:68px;background:#fff;padding:16px 20px 22px;box-shadow:0 15px 28px rgba(0,45,24,.15);flex-direction:column;align-items:stretch}.nav-links.open{display:flex}.nav-links>a:not(.button){display:block;padding:9px}.hero{padding:52px 0 62px}.hero h1{font-size:2.55rem}.hero>div>p{font-size:.96rem}.search-box{height:58px;padding-left:14px}.search-box button{height:44px;padding:0 17px}.search-suggestions span{width:100%}.quick-section{padding:38px 0 50px}.quick-grid{grid-template-columns:repeat(2,1fr)}.quick-card{padding:18px 15px;min-height:178px}.siae-panel{grid-template-columns:1fr;padding:30px 24px}.siae-symbol{width:68px;height:68px}.siae-symbol span{font-size:2.2rem}.siae-actions{display:grid;grid-template-columns:1fr 1fr}.siae-actions>a{grid-column:1/-1}.section{padding:57px 0}.section-heading{align-items:start;flex-direction:column}.services-grid,.selection-grid,.notice-grid,.institutional-grid{grid-template-columns:1fr}.selection-feature{padding:25px}.flow-layout{grid-template-columns:1fr;gap:45px}.flow-intro h2{font-size:2.2rem}.calendar-panel{grid-template-columns:76px 1fr;padding:25px}.calendar-panel>a{grid-column:1/-1}.footer-main{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-bottom{padding:18px 0;align-items:flex-start;gap:8px;flex-direction:column}}
@media(max-width:480px){.hero h1{font-size:2.18rem}.search-box input{font-size:.9rem}.search-box button{padding:0 13px}.quick-grid{gap:9px}.quick-card{min-height:171px}.quick-card strong{font-size:1rem}.quick-card small{font-size:.7rem}.services-grid,.docs-grid{grid-template-columns:1fr}.siae-actions{grid-template-columns:1fr}.selection-list a{position:static;display:block;margin-top:11px}.notice-grid article{padding:18px}.calendar-panel{grid-template-columns:1fr}.calendar-icon{display:none}.footer-main{grid-template-columns:1fr}.footer-brand{grid-column:auto}.service-dialog{padding:28px 22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* Ficha funcional do catálogo; a composição da home permanece inalterada. */
.channel.EDITAL,.channel-pill.EDITAL{background:#fff3d7;color:#7b5700}
.channel.ESPECIALIZADO,.channel-pill.ESPECIALIZADO{background:#f0ebfa;color:#62458d}
.channel.INFORMATIVO,.channel-pill.INFORMATIVO{background:#eef0fb;color:#47558c}
.service-dialog{box-sizing:border-box;width:min(850px,calc(100% - 30px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}
.dialog-meta{display:flex;align-items:center;gap:8px;padding-right:28px}
.status-pill{display:inline-flex;border-radius:999px;padding:4px 9px;font-size:.64rem;font-weight:800}
.status-pill.validated{background:#e7f5ec;color:#08703d}
.status-pill.pending{background:#fff0dc;color:#875108}
.service-details{display:grid;grid-template-columns:1fr 1fr;gap:1px 24px;border-top:1px solid var(--line);margin:20px 0;padding-top:9px}
.service-details section{padding:10px 0;border-bottom:1px solid var(--line)}
.service-details .detail-wide{grid-column:1/-1}
.service-details h3{font-size:.7rem;text-transform:uppercase;letter-spacing:.07em;color:var(--green-800);margin:0 0 3px}
.service-details p{font-size:.8rem;line-height:1.45;color:#50675d;margin:0}
.service-dialog>.button{margin-top:4px}
@media(max-width:480px){.service-details{grid-template-columns:1fr}.service-details .detail-wide{grid-column:auto}}

/* Revisão de densidade visual — alinhada ao protótipo aprovado */
:root{--container:1480px;--radius:15px;--shadow:0 8px 24px rgba(7,69,39,.075)}
.container{width:min(var(--container),calc(100% - 48px))}
.utility-inner{min-height:28px}
.main-nav{height:64px;gap:24px}
.brand{gap:10px}.brand strong{font-size:.9rem}.brand small{font-size:.69rem;margin-top:1px}
.brand-mark{grid-template-columns:repeat(3,6px);grid-template-rows:repeat(3,6px);gap:2.5px;width:23px}
.nav-links{gap:22px;font-size:.81rem}.nav-links>a:not(.button){padding:8px 0}
.button{min-height:40px;padding:0 17px;font-size:.83rem;border-radius:8px}
.hero{padding:34px 0 38px;min-height:238px}
.hero h1{font-size:clamp(2.15rem,3.35vw,3.35rem);line-height:1.02;margin:9px 0 11px;max-width:720px}
.hero>div>p{max-width:650px;margin:0 0 18px;font-size:.94rem;line-height:1.45}
.eyebrow,.kicker{font-size:.68rem;letter-spacing:.11em}
.search-box{width:min(820px,100%);height:56px;border-radius:11px;padding:6px 6px 6px 17px;box-shadow:0 10px 28px rgba(0,36,19,.2)}
.search-box svg{width:20px}.search-box input{padding:0 13px;font-size:.94rem}.search-box button{height:44px;padding:0 24px;border-radius:8px;font-size:.84rem}
.search-box:focus-within{outline:3px solid #8fc7ff;outline-offset:3px}.search-box input:focus-visible{outline:2px solid #075c32;outline-offset:-2px;border-radius:6px}.academic-module-frame{display:block;width:100%;min-height:640px;height:900px;border:0;border-radius:14px;overflow:hidden}.module-fullscreen{margin:0 0 12px;text-align:right}.module-fullscreen a,.calendar-source-rule a{font-weight:750;color:var(--green-700)}
.search-suggestions{gap:7px;margin-top:10px;font-size:.71rem}.search-suggestions button{padding:3px 9px;font-size:.69rem}
.hero-pattern{width:440px;height:440px;right:-70px;top:-150px}
.quick-section{position:relative;z-index:3;margin-top:-22px;padding:0 0 28px}
.quick-section>.container{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px 16px 16px;box-shadow:0 10px 30px rgba(5,64,36,.1)}
.quick-section .section-heading.compact{margin-bottom:10px}.quick-section .section-heading h2{font-family:Inter,"Segoe UI",sans-serif;font-size:.9rem;font-weight:800;letter-spacing:0;margin:0;color:var(--green-900)}
.quick-section .kicker{display:none}
.quick-grid{gap:10px}
.quick-card{min-height:104px;border-radius:11px;padding:13px 13px;display:grid;grid-template-columns:35px 1fr;grid-template-rows:auto 1fr;column-gap:10px;align-content:center}
.quick-card:nth-child(1){background:#f1f8f2}.quick-card:nth-child(2){background:#f1f6fc}.quick-card:nth-child(3){background:#f7f2fb}.quick-card:nth-child(4){background:#fff6ed}.quick-card:nth-child(5){background:#f2f7f2}.quick-card:nth-child(6){background:#f0f8fa}
.quick-icon{grid-row:1/3;width:35px;height:35px;display:grid;place-items:center;align-self:center;font-size:1.65rem}
.quick-card strong{font-family:Inter,"Segoe UI",sans-serif;font-size:.83rem;line-height:1.18;font-weight:800;align-self:end}
.quick-card small{font-size:.68rem;line-height:1.28;margin-top:5px;align-self:start}.quick-card b{right:10px;bottom:7px;font-size:.74rem}
.siae-section{padding:0 0 38px}.siae-panel{grid-template-columns:76px 1fr 330px;gap:22px;border-radius:16px;padding:24px 28px;box-shadow:0 12px 32px rgba(4,61,36,.14)}
.siae-symbol{width:68px;height:68px;border-radius:15px}.siae-symbol span{font-size:2.25rem}.siae-symbol i{width:9px;height:9px;right:10px;top:10px}
.siae-copy h2{font-size:1.55rem;margin:5px 0}.siae-copy>p{font-size:.82rem;line-height:1.45}.siae-status{margin-top:10px;font-size:.7rem}
.siae-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.siae-actions>a{grid-column:1/-1;margin-top:0;font-size:.7rem}
.section{padding:46px 0}.section-heading{margin-bottom:18px}.section-heading.compact{margin-bottom:15px}.section-heading h2{font-size:clamp(1.55rem,2.25vw,2.05rem);margin-top:4px}.section-heading p{margin-top:4px;font-size:.84rem}
.filter-row{margin-bottom:12px;padding-bottom:5px}.filter-row button{padding:6px 11px;font-size:.71rem}
.services-grid{grid-template-columns:repeat(3,1fr);gap:11px}.service-card{padding:16px 18px;min-height:166px;border-radius:12px}.service-card header{margin-bottom:10px}.channel-pill,.service-card .channel{padding:3px 8px;font-size:.62rem}.service-card h3{font-size:1.06rem;margin-bottom:5px}.service-card p{font-size:.78rem;line-height:1.42;margin-bottom:12px}.service-card button{font-size:.76rem}
.selection-grid{gap:13px}.selection-feature{padding:23px}.selection-feature h3{font-size:1.58rem;margin:14px 0 5px}.selection-feature>p{font-size:.82rem;margin:0}.date-line{margin:16px 0;padding:11px 0}.selection-list{gap:8px}.selection-list article{padding:14px 18px}.selection-list h3{margin:7px 0 0;font-size:.96rem}.selection-list a{right:17px;bottom:14px}.tag{padding:4px 8px;font-size:.61rem}
.notice-grid{gap:11px}.notice-grid article{grid-template-columns:50px 1fr;gap:13px;padding:17px 18px;border-radius:4px 4px 12px 12px}.notice-grid time{padding-right:11px}.notice-grid time b{font-size:1.5rem}.notice-grid h3{font-size:.94rem;margin:5px 0}.notice-grid p{margin-bottom:8px}
.flow-layout{grid-template-columns:.8fr 1.2fr;gap:58px}.flow-intro h2{font-size:2rem;margin:6px 0 11px}.flow-intro p{font-size:.83rem;margin-bottom:17px}.steps{grid-template-columns:repeat(4,1fr);gap:13px}.steps li{grid-template-columns:37px 1fr;gap:10px;padding:0}.steps li:not(:last-child):before{left:36px;top:18px;bottom:auto;width:calc(100% - 23px);height:1px}.steps li>span{width:37px;height:37px;font-size:1rem;position:relative;z-index:1}.steps h3{font-size:.95rem;margin:0 0 2px}.steps p{font-size:.73rem;line-height:1.4}
.docs-grid{gap:11px}.docs-grid article{padding:20px;min-height:175px;border-radius:13px}.docs-grid article>span{font-size:1.2rem}.docs-grid h3{font-size:1.08rem;margin:12px 0 5px}.docs-grid p,.docs-grid a{font-size:.76rem}
.calendar-section{padding-top:12px}.calendar-panel{padding:21px 28px;grid-template-columns:72px 1fr auto;gap:19px;border-radius:14px}.calendar-icon{width:62px;height:62px;border-radius:10px}.calendar-icon b{font-size:1rem;padding-top:8px}.calendar-panel h2{font-size:1.45rem;margin:2px 0}.calendar-panel p{font-size:.78rem}
.institutional-section{padding:0 0 44px}.institutional-grid{gap:10px}.institutional-grid>a{padding:13px 15px;border-radius:11px}.initial{width:39px;height:39px;border-radius:9px}.institutional-grid strong{font-size:.86rem}
.footer-main{padding:35px 0 28px;gap:35px}.footer-brand>p{margin-top:13px}.footer-main h2{margin-bottom:10px}.footer-main>div:not(:first-child){gap:5px}.footer-bottom{min-height:46px}

@media(max-width:1050px){
  .container{width:min(100% - 32px,var(--container))}
  .quick-grid{grid-template-columns:repeat(3,1fr)}.quick-card{min-height:98px}
  .siae-panel{grid-template-columns:64px 1fr 250px}.siae-actions{grid-template-columns:1fr}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr);gap:20px}.steps li:not(:last-child):before{display:none}
}
@media(max-width:760px){
  .container{width:min(100% - 28px,var(--container))}.main-nav{height:66px}
  .hero{padding:37px 0 47px;min-height:0}.hero h1{font-size:2.35rem;line-height:1.05;margin:8px 0 12px}.hero>div>p{font-size:.93rem;margin-bottom:18px}
  .search-box{height:56px}.search-box button{height:44px;min-width:76px}.search-suggestions{margin-top:12px}
  .quick-section{margin-top:-15px;padding-bottom:31px}.quick-section>.container{padding:14px}.quick-grid{grid-template-columns:repeat(2,1fr);gap:9px}.quick-card{min-height:126px;display:flex;padding:14px}.quick-icon{height:31px;width:31px;display:block}.quick-card strong{font-size:.88rem}.quick-card small{font-size:.72rem;margin-top:6px}.quick-card b{bottom:10px}
  .siae-panel{grid-template-columns:1fr;padding:24px 21px;gap:15px}.siae-copy h2{font-size:1.5rem}.siae-actions{grid-template-columns:1fr 1fr}.siae-actions>a{grid-column:1/-1}
  .section{padding:42px 0}.section-heading{margin-bottom:16px}.section-heading h2{font-size:1.75rem}.services-grid,.selection-grid,.notice-grid,.institutional-grid{grid-template-columns:1fr}
  .service-card{min-height:158px}.flow-layout{grid-template-columns:1fr;gap:32px}.flow-intro h2{font-size:1.9rem}.steps{grid-template-columns:1fr}.steps li{grid-template-columns:42px 1fr}.steps li>span{width:39px;height:39px}
  .docs-grid{grid-template-columns:repeat(2,1fr)}.docs-grid article{min-height:170px;padding:17px}.calendar-panel{padding:20px;grid-template-columns:62px 1fr}.calendar-panel>a{grid-column:1/-1}
  .footer-main{padding:32px 0 25px}
}
@media(max-width:480px){
  .hero{padding:32px 0 42px}.hero h1{font-size:2.02rem}.hero br{display:none}.hero>div>p{font-size:.88rem}.search-box{padding-left:12px}.search-box input{font-size:.86rem;padding:0 9px}.search-box button{min-width:68px;padding:0 10px}
  .quick-section>.container{padding:12px}.quick-card{min-height:132px}.quick-card small{font-size:.7rem}
  .siae-actions{grid-template-columns:1fr}.section{padding:38px 0}.docs-grid{grid-template-columns:1fr}.docs-grid article{min-height:150px}
  .calendar-panel{grid-template-columns:1fr}.footer-main{grid-template-columns:1fr}
}

/* Ajuste final da faixa de categorias: quebra compacta no desktop e gesto sem barra no mobile. */
@media(min-width:1051px){
  .filter-row{flex-wrap:wrap;overflow:visible;row-gap:6px;padding-bottom:0;scrollbar-width:none}
  .filter-row::-webkit-scrollbar{display:none}
}
@media(max-width:1050px){
  .filter-row{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none}
  .filter-row::-webkit-scrollbar{display:none}
}

/* Páginas internas — reutilizam integralmente a identidade visual aprovada. */
body{min-height:100vh;display:flex;flex-direction:column}
main{display:flex;flex:1;flex-direction:column}
.portal-page{width:100%;flex:1;padding:34px 0 64px;background:#fff}
.home-dates-panel{margin-top:10px;border:1px solid var(--line);border-radius:12px;padding:13px 16px}.home-dates-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.home-dates-heading h3{font-family:Georgia,serif;font-size:1rem;font-weight:500;color:var(--green-950);margin:0}.home-dates-heading a{color:var(--green-700);font-size:.72rem;font-weight:800}.home-dates-list{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.home-dates-list article{min-width:0;border-left:2px solid var(--green-600);background:var(--soft);border-radius:3px 8px 8px 3px;padding:9px 10px;display:flex;flex-direction:column}.home-dates-list time{color:var(--green-800);font-size:.66rem;font-weight:850}.home-dates-list strong{color:var(--green-950);font-size:.71rem;line-height:1.3;margin:4px 0}.home-dates-list small{color:var(--muted);font-size:.62rem;line-height:1.25}.home-dates-list span{font-size:.58rem;font-weight:800;margin-top:7px}.home-dates-list .forecast{color:#785800}.home-dates-list .official{color:#08703d}.home-dates-empty{grid-column:1/-1;color:var(--muted);font-size:.75rem;margin:0}
.breadcrumbs{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.72rem;margin-bottom:16px}
.breadcrumbs a{color:var(--green-700);font-weight:750}.breadcrumbs strong{font-weight:650;color:#51665d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page-heading{max-width:920px;margin-bottom:26px}.page-heading h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(2rem,3vw,3rem);line-height:1.08;letter-spacing:-.03em;color:var(--green-950);margin:6px 0 8px}.page-heading p{color:var(--muted);font-size:.9rem;margin:0;max-width:760px}
.content-group{margin-top:35px}.group-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:13px}.group-heading>div{display:flex;align-items:center;gap:10px}.group-heading h2{font-family:Georgia,serif;font-weight:500;color:var(--green-950);font-size:1.45rem;margin:0}.group-count{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:var(--green-50);color:var(--green-700);font-size:.72rem;font-weight:850}
.content-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.content-card{border:1px solid var(--line);border-radius:13px;padding:17px;background:#fff;display:flex;flex-direction:column;min-height:170px}.content-card:hover{border-color:#a2cdb5;box-shadow:var(--shadow)}.content-card>div:first-child{display:flex;gap:6px;align-items:center}.content-card h3{font-family:Georgia,serif;color:var(--green-950);font-size:1.06rem;line-height:1.24;margin:13px 0 6px}.content-card>p{color:var(--muted);font-size:.75rem;line-height:1.4;margin:0}.card-foot{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:auto;padding-top:15px}.card-foot small{color:#7b8d86;font-size:.66rem}.card-foot a{color:var(--green-700);font-size:.74rem;font-weight:800;white-space:nowrap}
.tag.neutral{background:#edf3ef;color:#52675e}.tag.validated{background:#e2f3e9;color:#08703d}.content-card .tag+.tag{margin-left:0}
.page-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;margin-bottom:23px}.page-tabs::-webkit-scrollbar{display:none}.page-tabs a{white-space:nowrap;color:#5d7068;font-weight:700;font-size:.76rem;padding:9px 12px;border-bottom:3px solid transparent}.page-tabs a:hover{color:var(--green-700)}.page-tabs a.active{color:var(--green-800);border-color:var(--green-600)}
.tab-content{max-width:1180px}.facts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0}.facts-grid>div{background:var(--soft);border:1px solid #edf2ef;border-radius:11px;padding:15px}.facts-grid dt,.contact-panel dt,.norm-card dt{color:#73847d;font-size:.66rem;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.facts-grid dd,.contact-panel dd,.norm-card dd{color:var(--green-950);font-weight:700;font-size:.83rem;margin:4px 0 0}.info-panel,.contact-panel{margin-top:16px;background:var(--green-50);border:1px solid #dcece2;border-radius:13px;padding:22px}.info-panel h2,.contact-panel h2,.document-links h2{font-family:Georgia,serif;font-weight:500;color:var(--green-950);font-size:1.35rem;margin:0 0 8px}.info-panel p{color:#52685f;font-size:.82rem;margin:7px 0}.info-panel .button{margin-top:12px}.source-note{max-width:820px}
.stack-list{display:grid;gap:11px}.ppc-card{border:1px solid var(--line);border-radius:13px;padding:20px}.ppc-card.featured{background:var(--green-50);border-color:#afd6bf}.ppc-card>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px}.ppc-card h3{font-family:Georgia,serif;color:var(--green-950);font-size:1.2rem;margin:13px 0 6px}.ppc-card p{font-size:.78rem;color:var(--muted);margin:4px 0}.ppc-card .button{margin-top:13px}.availability-note{color:#8a6a22!important;font-weight:700}.compact-stack{margin-top:14px}.version-row{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid var(--line);border-radius:11px;padding:14px 17px}.version-row h3{font-family:Georgia,serif;color:var(--green-950);font-size:1rem;margin:6px 0 0}.version-row p{font-size:.73rem;color:var(--muted);margin:2px 0}.muted-label{color:#8a7a57;font-size:.72rem;font-weight:700}
.button-soft{background:var(--green-50);color:var(--green-800);border:1px solid #cbe2d5;box-shadow:none}.button-soft:hover{background:#e6f4eb}.contact-panel{max-width:780px}.contact-panel dl{display:grid;grid-template-columns:repeat(2,1fr);gap:1px 24px;margin:0}.contact-panel dl>div{padding:10px 0;border-bottom:1px solid #d4e7dc}.contact-panel a{color:var(--green-700)}.document-links{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.document-links article{border:1px solid var(--line);border-radius:13px;padding:21px}.document-links p{color:var(--muted);font-size:.8rem;min-height:45px}.document-links .button{margin-top:6px}
.content-toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:0 0 17px}.content-search{flex:0 1 370px}.content-search input{width:100%;height:42px;border:1px solid var(--line);border-radius:9px;padding:0 13px;color:var(--ink);outline:0}.content-search input:focus{border-color:var(--green-600);box-shadow:0 0 0 3px rgba(17,150,83,.11)}.content-filters{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.content-filters button{border:1px solid var(--line);background:#fff;color:#596d64;border-radius:999px;padding:6px 10px;font-size:.69rem;font-weight:750}.content-filters button.active{background:var(--green-800);border-color:var(--green-800);color:#fff}
.norm-list{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.norm-card{border:1px solid var(--line);border-radius:13px;padding:20px}.norm-card>div:first-child{display:flex;justify-content:space-between;align-items:center}.norm-card h2{font-family:Georgia,serif;font-size:1.18rem;line-height:1.25;color:var(--green-950);margin:13px 0}.norm-card dl{margin:0}.norm-card dl>div{display:grid;grid-template-columns:115px 1fr;gap:12px;border-top:1px solid #e8eeea;padding:8px 0}.norm-card dd{font-size:.75rem;margin:0;font-weight:600}.norm-card>p{font-size:.74rem;color:var(--muted);background:var(--soft);border-radius:8px;padding:10px;margin:10px 0}.norm-card .button{margin-top:9px}
.calendar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.calendar-card{border:1px solid var(--line);border-radius:13px;padding:20px;display:grid;grid-template-columns:62px 1fr;gap:15px}.calendar-card .calendar-icon{grid-row:1/3}.calendar-card h2{font-family:Georgia,serif;color:var(--green-950);font-size:1.12rem;line-height:1.25;margin:10px 0 5px}.calendar-card p{color:var(--muted);font-size:.73rem;margin:0}.calendar-actions{grid-column:1/-1;display:flex;gap:7px}.calendar-actions .button{flex:1;padding:0 11px}
.upcoming-section{margin-top:42px}.timeline-list{display:grid;gap:8px}.timeline-list article{display:grid;grid-template-columns:210px 1fr;gap:22px;border:1px solid var(--line);border-radius:12px;padding:16px 19px}.timeline-list time{display:flex;flex-direction:column;border-right:1px solid var(--line);padding-right:18px}.timeline-list time b{color:var(--green-900);font-family:Georgia,serif;font-size:1rem}.timeline-list time span{color:var(--muted);font-size:.7rem;margin-top:3px}.timeline-list h3{font-family:Georgia,serif;color:var(--green-950);font-size:1.02rem;margin:7px 0 2px}.timeline-list p{color:var(--muted);font-size:.73rem;margin:0}
.status-banner{display:flex;gap:14px;align-items:flex-start;background:#fff8e5;border:1px solid #efdca5;border-radius:13px;padding:18px 20px}.status-dot{width:10px;height:10px;background:#d69618;border-radius:50%;margin-top:6px;box-shadow:0 0 0 5px rgba(214,150,24,.12)}.status-banner strong{color:#604b1e}.status-banner p{color:#756744;font-size:.78rem;margin:3px 0 0}.process-list{display:grid;gap:12px}.process-card{border:1px solid var(--line);border-radius:13px;padding:21px}.process-card header>div{display:flex;justify-content:space-between;gap:12px}.process-card h3{font-family:Georgia,serif;color:var(--green-950);font-size:1.25rem;margin:12px 0 18px}.process-stages{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;list-style:none;margin:0;padding:0}.process-stages li{position:relative;background:var(--soft);border-radius:9px;padding:11px;min-height:92px}.process-stages li>span{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#dfe8e3;color:#596d64;font-size:.65rem;font-weight:850;margin-bottom:8px}.process-stages li.planned>span{background:#fff0bf;color:#785800}.process-stages strong,.process-stages small{display:block}.process-stages strong{color:var(--green-950);font-size:.7rem}.process-stages small{color:var(--muted);font-size:.62rem;line-height:1.35;margin-top:3px}.process-card footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);margin-top:14px;padding-top:13px}.process-card footer p{color:var(--muted);font-size:.7rem;margin:0}
.search-group{margin-top:28px}.search-group>h2{font-family:Georgia,serif;color:var(--green-950);font-weight:500;font-size:1.35rem;border-bottom:1px solid var(--line);padding-bottom:8px}.search-group>h2 span{font-family:Inter,sans-serif;font-size:.65rem;background:var(--green-50);color:var(--green-700);border-radius:999px;padding:3px 7px;vertical-align:middle}.search-result-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.search-result-list article{border:1px solid var(--line);border-radius:10px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:15px}.search-result-list div{display:flex;flex-direction:column}.search-result-list strong{color:var(--green-950);font-size:.82rem}.search-result-list small{color:var(--muted);font-size:.65rem;margin-top:2px}.search-result-list a,.search-result-list button{border:0;background:none;color:var(--green-700);font-size:.72rem;font-weight:800;white-space:nowrap;padding:5px}

@media(max-width:1050px){.home-dates-list{grid-template-columns:repeat(3,1fr)}.content-grid{grid-template-columns:repeat(3,1fr)}.calendar-grid{grid-template-columns:1fr}.process-stages{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.portal-page{padding:25px 0 48px}.page-heading{margin-bottom:21px}.content-grid,.norm-list{grid-template-columns:repeat(2,1fr)}.facts-grid{grid-template-columns:repeat(2,1fr)}.content-toolbar{align-items:stretch;flex-direction:column}.content-search{flex-basis:auto}.content-filters{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.content-filters::-webkit-scrollbar{display:none}.version-row{align-items:flex-start;flex-direction:column}.document-links{grid-template-columns:1fr}.timeline-list article{grid-template-columns:1fr;gap:10px}.timeline-list time{border-right:0;border-bottom:1px solid var(--line);padding:0 0 9px}.process-stages{grid-template-columns:repeat(2,1fr)}.process-card footer{align-items:flex-start;flex-direction:column}.search-result-list{grid-template-columns:1fr}}
@media(max-width:480px){.home-dates-heading{align-items:flex-start;flex-direction:column}.home-dates-list{grid-template-columns:1fr}.content-grid,.norm-list,.facts-grid{grid-template-columns:1fr}.content-card{min-height:150px}.contact-panel dl{grid-template-columns:1fr}.calendar-card{grid-template-columns:1fr}.calendar-card .calendar-icon{display:block;grid-row:auto}.calendar-actions{flex-direction:column}.process-stages{grid-template-columns:1fr}.norm-card dl>div{grid-template-columns:1fr;gap:3px}.search-result-list article{align-items:flex-start;flex-direction:column}.page-tabs a{padding:8px 10px}}

/* Navegação lateral responsiva — evolução da versão 11. */
:root{--sidebar-width:230px;--container:1080px}
html,body{max-width:100%;overflow-x:hidden}
body{padding-left:var(--sidebar-width)}
.portal-sidebar{position:fixed;z-index:60;inset:0 auto 0 0;width:var(--sidebar-width);display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(180deg,#073f2b 0%,#052f21 100%);color:#fff;border-right:1px solid rgba(255,255,255,.08);box-shadow:7px 0 26px rgba(2,35,22,.12)}
.sidebar-head{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid rgba(255,255,255,.11);padding:15px 15px}
.sidebar-identity{min-width:0;display:flex;align-items:center;gap:10px}.sidebar-identity>span:last-child{min-width:0;display:flex;flex-direction:column;line-height:1.25}.sidebar-identity strong{color:#fff;font-size:.82rem}.sidebar-identity small{color:#b7d1c4;font-size:.62rem;margin-top:2px}.portal-sidebar .brand-mark i{background:#73c896}.portal-sidebar .brand-mark i:first-child{background:#e6403b}.sidebar-close{display:none;width:38px;height:38px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:rgba(255,255,255,.08);color:#fff;font-size:1.45rem;line-height:1}.sidebar-close:hover{background:rgba(255,255,255,.14)}
.sidebar-nav{display:grid;gap:3px;padding:17px 11px}.sidebar-section-label{display:block;color:#91b4a4;font-size:.61rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase;margin:0 9px 7px}
.sidebar-nav a{position:relative;min-height:41px;display:flex;align-items:center;gap:10px;border-radius:8px;padding:7px 11px;color:#d6e7df;font-size:.76rem;font-weight:720}.sidebar-nav a:hover{background:rgba(255,255,255,.075);color:#fff}.sidebar-nav a.active{background:rgba(255,255,255,.12);color:#fff;font-weight:850}.sidebar-nav a.active:before{content:"";position:absolute;left:-1px;top:8px;bottom:8px;width:3px;border-radius:3px;background:#e6403b}.sidebar-icon{width:20px;display:grid;place-items:center;color:#a8d4bd;font-size:1rem;line-height:1}.sidebar-nav a.active .sidebar-icon{color:#fff}
.sidebar-institutional{margin-top:auto;border-top:1px solid rgba(255,255,255,.11);padding:14px 11px 16px}.sidebar-institutional>a{position:relative;display:grid;grid-template-columns:1fr auto;gap:1px 8px;border-radius:9px;padding:9px 11px;color:#edf7f2}.sidebar-institutional>a:hover{background:rgba(255,255,255,.075)}.sidebar-institutional strong{font-size:.72rem}.sidebar-institutional small{grid-column:1;color:#9fc0b1;font-size:.59rem}.sidebar-institutional b{grid-column:2;grid-row:1/3;align-self:center;color:#a8d4bd;font-size:.72rem}.sidebar-institutional .sidebar-siae{background:#0b6b40;border:1px solid rgba(255,255,255,.13);color:#fff;margin-bottom:5px;box-shadow:0 8px 20px rgba(0,23,13,.16)}.sidebar-institutional .sidebar-siae:hover{background:#0d7547}.sidebar-institutional .sidebar-siae small{color:#d0e6da}.sidebar-institutional .sidebar-siae b{color:#fff}.sidebar-institutional .sidebar-siae.active:after{content:"";position:absolute;right:8px;top:7px;width:6px;height:6px;border-radius:50%;background:#ed4a46}
.sidebar-backdrop{display:none}
.container{width:min(var(--container),calc(100% - 40px))}
.site-header .nav-links>a:not(.button-suap){display:none}
.site-header .nav-links{margin-left:auto}

@media(max-width:1099px){
  body{padding-left:0}
  .portal-sidebar{width:min(var(--sidebar-width),calc(100vw - 44px));transform:translateX(-100%);transition:transform .22s ease;box-shadow:10px 0 34px rgba(2,42,23,.24)}
  body.sidebar-open{overflow:hidden}
  body.sidebar-open .portal-sidebar{transform:translateX(0)}
  .sidebar-close{display:grid;place-items:center}
  .sidebar-backdrop{display:block;position:fixed;z-index:55;inset:0;border:0;background:rgba(2,35,20,.48);backdrop-filter:blur(2px)}
  .sidebar-backdrop[hidden]{display:none}
  .menu-button{display:block;order:2}
  .site-header .nav-links{order:3}
}
@media(max-width:760px){
  .container{width:min(100% - 28px,var(--container))}
  .site-header .nav-links{display:flex;position:static;left:auto;right:auto;top:auto;background:transparent;padding:0;box-shadow:none;flex-direction:row;align-items:center}
  .site-header .nav-links .button-suap{min-height:36px;padding:0 12px;font-size:.72rem}
}
@media(max-width:600px){
  .site-header .nav-links{display:none}
  .main-nav{gap:10px}
}
@media(prefers-reduced-motion:reduce){.portal-sidebar{transition:none}}

/* Compensa o cabeçalho fixo ao navegar diretamente para seções da Home. */
#inicio,#siae,#servicos,#processos,#fluxos,#documentos,#calendario,#acessos{scroll-margin-top:102px}
@media(max-width:760px){#inicio,#siae,#servicos,#processos,#fluxos,#documentos,#calendario,#acessos{scroll-margin-top:76px}}

/* Grades ajustadas à área útil quando a sidebar permanece visível em telas intermediárias. */
@media(min-width:1100px) and (max-width:1279px){
  .quick-grid,.content-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

.derived-source{color:#657970!important;font-size:.69rem!important;margin-top:5px!important}

/* Documentos e Normas — ações da versão 16. */
.norm-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.norm-actions .button{margin-top:0}.norm-actions .button-soft{background:#fff}
@media(max-width:480px){.norm-actions{flex-direction:column}.norm-actions .button{width:100%}}

/* Processos seletivos — v17: filtros e estados preparados para edital/inscrição oficiais. */
.process-source-rule{margin:12px 0 0;padding:11px 14px;border-left:3px solid var(--green-700);background:var(--soft);border-radius:0 9px 9px 0;color:var(--muted);font-size:.73rem}.process-source-rule strong,.process-source-rule b{color:var(--green-900)}.process-filters{margin:0 0 14px}.process-stages li.available>span{background:#dcefe5;color:var(--green-800)}.process-stages li a{display:inline-block;margin-top:7px;color:var(--green-800);font-size:.64rem;font-weight:800;text-decoration:none}.process-stages li a:hover{text-decoration:underline}.process-actions{display:flex;gap:8px;flex-wrap:wrap}.status-banner.status-open{background:#eef8f2;border-color:#c9e5d4}.status-banner.status-open .status-dot{background:#25804e;box-shadow:0 0 0 5px rgba(37,128,78,.12)}.status-banner.status-open strong{color:var(--green-900)}

/* v18 — Calendário Acadêmico e datas importantes */
.calendar-source-rule{margin:15px 0 0;padding:12px 15px;border-left:3px solid var(--green-700);background:var(--soft);border-radius:0 9px 9px 0;color:var(--muted);font-size:.75rem}.calendar-source-rule strong,.calendar-source-rule b{color:var(--green-900)}
.calendar-filters{margin:0 0 14px}.calendar-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.tag.calendar-category{background:#f0f3f2;color:#60736b}

/* v22 — refinamento visual leve, FAQ e contato CAI */
:root{--card-soft:#f7faf8;--card-line:#cbded3}
.quick-card,.service-card,.selection-feature,.selection-list article,.content-card,.norm-card,.calendar-card,.timeline-list article,.search-result-list article{background:var(--card-soft);border-color:var(--card-line)}
.quick-card:hover,.service-card:hover,.content-card:hover{background:#fff;border-color:#9fc8b1}
.selection-feature,.selection-list article{border-color:#c7ddd1}
.calendar-panel{background:#fbfdfc;border-color:#c7ddd1}
.institutional-grid{grid-template-columns:repeat(4,1fr)}
.institutional-grid>a{background:var(--card-soft);border-color:var(--card-line)}
.initial.whatsapp{background:#e2f3e9;color:var(--green-800)}
.faq-section{background:var(--soft)}
.faq-layout{display:grid;grid-template-columns:.78fr 1.22fr;gap:54px;align-items:start}
.faq-intro h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(1.85rem,3vw,2.55rem);line-height:1.13;letter-spacing:-.025em;color:var(--green-950);margin:7px 0 12px}
.faq-intro>p{color:var(--muted);margin:0;max-width:430px}
.cai-contact-card{margin-top:25px;background:#fff;border:1px solid #b9d5c5;border-radius:15px;padding:21px;box-shadow:0 10px 28px rgba(7,69,39,.06)}
.contact-label{display:block;color:var(--green-700);font-size:.68rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em;margin-bottom:7px}
.cai-contact-card strong{display:block;font-family:Georgia,serif;color:var(--green-950);font-size:1.18rem}
.cai-contact-card p{color:var(--muted);font-size:.78rem;margin:7px 0 16px}
.faq-list{display:grid;gap:9px}
.faq-list details{background:#fff;border:1px solid var(--card-line);border-radius:13px;overflow:hidden}
.faq-list details[open]{border-color:#a9cdb9;box-shadow:0 8px 22px rgba(7,69,39,.05)}
.faq-list summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;color:var(--green-950);font-weight:760;font-size:.88rem}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary span{flex:0 0 auto;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:var(--green-50);color:var(--green-700);font-size:1rem;transition:transform .2s}
.faq-list details[open] summary span{transform:rotate(45deg)}
.faq-list details p{border-top:1px solid #e3ece7;margin:0;padding:14px 19px 17px;color:var(--muted);font-size:.8rem;line-height:1.55}
@media(max-width:1050px){.institutional-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.faq-layout{grid-template-columns:1fr;gap:27px}.cai-contact-card{margin-top:18px}.institutional-grid{grid-template-columns:1fr}.faq-list summary{padding:15px 16px}.faq-list details p{padding:13px 16px 16px}}

/* Manual Operacional da GEAE — documentação web (v24 desenvolvimento). */
.manual-feature-card{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid var(--card-line,#cbded3);background:var(--card-soft,#f7faf8);border-radius:14px;padding:20px 22px;margin-bottom:22px}.manual-feature-card h2{font-family:Georgia,serif;color:var(--green-950);font-size:1.28rem;margin:8px 0 4px}.manual-feature-card p{color:var(--muted);font-size:.76rem;max-width:720px;margin:0}.manual-feature-card .button{flex:none}
.manual-page{position:relative}.manual-hero{display:flex;justify-content:space-between;gap:30px;align-items:flex-end;border-bottom:1px solid var(--line);padding:7px 0 22px;margin-bottom:15px}.manual-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,3vw,3rem);font-weight:500;line-height:1.08;letter-spacing:-.03em;color:var(--green-950);margin:7px 0 5px}.manual-hero p{margin:0;color:var(--muted);font-size:.82rem}.manual-meta{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.manual-meta span{display:flex;flex-direction:column;min-width:92px;background:var(--soft);border:1px solid var(--line);border-radius:9px;padding:8px 10px;color:var(--green-950);font-size:.72rem;font-weight:750}.manual-meta b{font-size:.57rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:2px}
.manual-official-note{display:flex;align-items:center;justify-content:space-between;gap:22px;background:#f7faf8;border:1px solid #cbded3;border-left:4px solid var(--green-700);border-radius:12px;padding:15px 17px;margin-bottom:14px}.manual-official-note strong{color:var(--green-950);font-size:.82rem}.manual-official-note p{color:var(--muted);font-size:.7rem;margin:3px 0 0;max-width:690px}.manual-top-actions{display:flex;gap:6px;flex:none}.manual-top-actions .button{height:38px;padding:0 12px;font-size:.68rem}
.manual-search-panel{position:relative;display:grid;grid-template-columns:280px 1fr;align-items:center;gap:20px;background:var(--green-950);border-radius:12px;padding:16px 18px;margin-bottom:16px}.manual-search-panel label{display:flex;flex-direction:column;color:#fff}.manual-search-panel label strong{font-size:.83rem}.manual-search-panel label span{color:#c5ddd1;font-size:.64rem;margin-top:2px}.manual-search-panel>input{height:44px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:#fff;color:var(--ink);padding:0 14px;font-size:.78rem;outline:none}.manual-search-panel>input:focus{box-shadow:0 0 0 3px rgba(216,239,88,.35)}.manual-search-results{position:absolute;z-index:25;left:300px;right:18px;top:68px;max-height:430px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:0 16px 40px rgba(2,45,26,.18);padding:8px}.manual-search-summary{display:flex;justify-content:space-between;align-items:center;padding:7px 8px;border-bottom:1px solid var(--line);font-size:.68rem;color:var(--muted)}.manual-search-summary button{border:0;background:none;color:var(--green-700);font-weight:800;font-size:.68rem}.manual-search-hit{display:grid;grid-template-columns:78px 1fr;gap:2px 8px;border-bottom:1px solid #eef2f0;padding:10px;border-radius:7px}.manual-search-hit:hover{background:var(--green-50)}.manual-search-hit>span{grid-row:1/3;color:var(--green-700);font-size:.64rem;font-weight:850}.manual-search-hit strong{color:var(--green-950);font-size:.75rem}.manual-search-hit p{grid-column:2;color:var(--muted);font-size:.63rem;line-height:1.4;margin:2px 0 0}
.manual-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:28px;align-items:start}.manual-toc{position:sticky;top:100px;align-self:start;height:max-content;max-height:calc(100vh - 118px);border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}.manual-toc-head{display:flex;align-items:center;justify-content:space-between;padding:12px 13px;border-bottom:1px solid var(--line);background:var(--soft);color:var(--green-950);font-size:.74rem}.manual-toc-close{display:none;border:0;background:none;font-size:1.25rem;color:var(--green-950)}.manual-toc-scroll{max-height:calc(100vh - 166px);overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:9px 8px 14px}.manual-toc-label{display:block;color:#7d9188;font-size:.55rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;margin:12px 8px 5px}.manual-toc a{display:flex;gap:6px;align-items:flex-start;border-radius:7px;padding:6px 8px;color:#536860;font-size:.65rem;line-height:1.32}.manual-toc a:hover{background:var(--green-50);color:var(--green-800)}.manual-toc a.active{background:#e8f4ed;color:var(--green-900);font-weight:800;box-shadow:inset 3px 0 0 var(--green-600)}.manual-toc a span{flex:none;color:var(--green-700);font-size:.58rem;font-weight:850;min-width:42px}.manual-toc-group{border-top:1px solid #edf1ef;margin-top:3px;padding-top:3px}.manual-toc-group summary{list-style:none;cursor:pointer;border-radius:7px;padding:7px 8px;color:var(--green-950);font-size:.65rem;font-weight:820}.manual-toc-group summary::-webkit-details-marker{display:none}.manual-toc-group summary:before{content:"▾";display:inline-block;width:15px;color:var(--green-600)}.manual-toc-group:not([open]) summary:before{content:"▸"}.manual-toc-group>div{padding-left:2px}
.manual-toc-toggle{display:none;width:100%;height:42px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--green-900);font-size:.72rem;font-weight:800;margin-bottom:12px}.manual-content{min-width:0}.manual-section,.manual-procedure,.manual-chapter{scroll-margin-top:22px}.manual-section{border-bottom:1px solid var(--line);padding:25px 0 30px}.manual-section:first-child{padding-top:3px}.manual-section-heading span,.manual-chapter-heading>span{display:block;color:var(--green-700);font-size:.57rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}.manual-section-heading h2,.manual-chapter-heading h2{font-family:Georgia,serif;color:var(--green-950);font-size:1.55rem;line-height:1.2;font-weight:500;margin:0 0 14px}.manual-chapter{padding:34px 0 13px;border-bottom:2px solid var(--green-900)}.manual-chapter-heading{position:relative}.manual-chapter-heading h2{margin-bottom:2px}.manual-chapter-heading small{color:var(--muted);font-size:.62rem}.manual-procedure{border:1px solid var(--line);border-radius:12px;margin:14px 0;padding:0 20px 16px;background:#fff;box-shadow:0 4px 15px rgba(7,69,39,.035)}.manual-procedure>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:16px 0 13px;margin-bottom:14px}.manual-procedure>header>div{display:flex;align-items:baseline;gap:10px;min-width:0}.manual-code{display:inline-flex;flex:none;background:var(--green-900);color:#fff;border-radius:6px;padding:3px 6px;font-size:.59rem;font-weight:850;letter-spacing:.04em}.manual-procedure h3{font-family:Georgia,serif;color:var(--green-950);font-size:1.18rem;line-height:1.25;font-weight:500;margin:0}.manual-copy-link{flex:none;width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--line);border-radius:7px;color:#7a8d85;font-size:.72rem}.manual-copy-link:hover{border-color:#b7d1c4;color:var(--green-700);background:var(--green-50)}.manual-procedure>footer{border-top:1px dashed var(--line);padding-top:10px;margin-top:14px;color:#86978f;font-size:.56rem}.manual-block{padding:10px 0;border-bottom:1px solid #eef2f0}.manual-block:last-of-type{border-bottom:0}.manual-block h4{color:var(--green-900);font-size:.68rem;margin:0 0 4px;text-transform:none}.manual-verbatim{white-space:pre-line;color:#3e544b;font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;font-size:.72rem;line-height:1.55;overflow-wrap:anywhere}.manual-flow{background:#f7faf8;border:1px solid #dbe8e1;border-radius:9px;padding:11px 13px;margin:8px 0}.manual-flow h4{color:var(--green-700)}.manual-flow .manual-verbatim{font-size:.7rem;font-weight:650;color:#234438}.manual-checklist{background:#fbfcfb;border-radius:8px;padding:10px 12px;margin-top:7px}.manual-back-top{position:fixed;z-index:20;right:22px;bottom:22px;display:flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--green-800);box-shadow:0 8px 24px rgba(4,61,36,.14);padding:8px 11px;font-size:.67rem;font-weight:800}.manual-back-top:hover{background:var(--green-50)}
@media(max-width:1099px){.manual-layout{grid-template-columns:1fr;gap:0}.manual-toc-toggle{display:block}.manual-toc{display:none;position:fixed;z-index:75;inset:70px 14px 14px 14px;max-height:none;overscroll-behavior:contain;box-shadow:0 18px 55px rgba(1,31,18,.28)}.manual-toc.open{display:block}.manual-toc-head{padding:13px 15px}.manual-toc-close{display:block}.manual-toc-scroll{max-height:calc(100vh - 132px);overscroll-behavior:contain;touch-action:pan-y}body.manual-toc-open{overscroll-behavior:none}.manual-search-results{left:18px;top:76px}.manual-back-top{bottom:16px;right:16px}}
@media(max-width:760px){.manual-feature-card{align-items:flex-start;flex-direction:column}.manual-hero{align-items:flex-start;flex-direction:column}.manual-meta{justify-content:flex-start}.manual-official-note{align-items:flex-start;flex-direction:column}.manual-top-actions{width:100%;flex-wrap:wrap}.manual-search-panel{grid-template-columns:1fr;gap:9px;padding:14px}.manual-search-results{left:14px;right:14px;top:116px}.manual-procedure{padding:0 14px 14px}.manual-procedure>header>div{align-items:flex-start;flex-direction:column;gap:6px}.manual-procedure h3{font-size:1.08rem}.manual-section-heading h2,.manual-chapter-heading h2{font-size:1.35rem}.manual-back-top span{display:none}}
@media(max-width:480px){.manual-meta span{min-width:85px;flex:1}.manual-top-actions{display:grid;grid-template-columns:1fr 1fr}.manual-top-actions .button:last-child{grid-column:1/-1}.manual-search-hit{grid-template-columns:1fr}.manual-search-hit>span{grid-row:auto}.manual-search-hit p{grid-column:1}.manual-verbatim{font-size:.7rem}}
@media print{
  body{padding-left:0!important;background:#fff!important}.portal-sidebar,.site-header,.site-footer,.sidebar-backdrop,.manual-toc,.manual-toc-toggle,.manual-search-panel,.manual-top-actions,.manual-back-top,.breadcrumbs{display:none!important}.portal-page{padding:0!important}.container{width:100%!important;max-width:none!important}.manual-hero{border-bottom:2px solid #000;padding:0 0 12px}.manual-hero h1,.manual-section-heading h2,.manual-chapter-heading h2,.manual-procedure h3{color:#000!important}.manual-meta span,.manual-official-note,.manual-flow,.manual-checklist{background:#fff!important;border-color:#bbb!important;box-shadow:none!important}.manual-layout{display:block}.manual-section,.manual-procedure,.manual-chapter{break-inside:auto;box-shadow:none!important}.manual-procedure>header{break-after:avoid}.manual-procedure h3{break-after:avoid}.manual-block{break-inside:avoid-page}.manual-code{background:#fff!important;color:#000!important;border:1px solid #777}.manual-copy-link{display:none}.manual-verbatim{font-size:9pt;color:#111}.manual-procedure>footer{color:#555}}
.sidebar-institutional>a.active{background:rgba(255,255,255,.1);color:#fff;box-shadow:inset 3px 0 0 #e6403b}
.manual-toc-backdrop{display:none}
@media(max-width:1099px){.manual-toc-backdrop{display:none;position:fixed;z-index:74;inset:0;border:0;background:rgba(1,31,18,.42);cursor:default}body.manual-toc-open .manual-toc-backdrop{display:block}}
@media print{.manual-toc-backdrop{display:none!important}}

/* v24 R3 — correções finais de posicionamento do Manual (B1/B3) */
:root{--manual-sticky-offset:100px}
@supports (overflow:clip){html,body{overflow-x:clip}}
.manual-page,.manual-layout,.manual-content{overflow:visible}
@media(min-width:1100px){
  .manual-toc{position:sticky!important;top:var(--manual-sticky-offset)!important;align-self:start!important;max-height:calc(100vh - var(--manual-sticky-offset) - 10px)!important}
  .manual-toc-scroll{max-height:calc(100vh - var(--manual-sticky-offset) - 58px)!important}
}
@media(max-width:1099px){
  .manual-toc-toggle{position:sticky;top:var(--manual-sticky-offset);z-index:29;background:#fff;box-shadow:0 5px 16px rgba(4,61,36,.10)}
  .manual-toc{inset:var(--manual-sticky-offset) 14px 14px 14px}
  .manual-toc-scroll{max-height:calc(100vh - var(--manual-sticky-offset) - 62px)}
  body.manual-toc-open{overflow:hidden!important}
}


/* v24 R4 — drawer sem mutação do overflow da página (B2/B3) */
@media(max-width:1099px){
  body.manual-toc-open{overflow:visible!important}
  .manual-toc-backdrop{touch-action:none;overscroll-behavior:contain}
  .manual-toc{overscroll-behavior:contain}
}

/* v24 R6 — B2/B3: controle do sumário fora do fluxo rolável no responsivo.
   O botão sticky podia ser focado em sua posição de fluxo original e o Chromium
   compensava o scroll em ~300–400 px. Como controle fixed, o foco não altera
   a posição do documento. O espaçamento do layout é preservado explicitamente. */
@media(max-width:1099px){
  .manual-toc-toggle{
    position:fixed!important;
    top:var(--manual-sticky-offset)!important;
    right:16px!important;
    left:auto!important;
    width:auto!important;
    min-width:168px;
    margin:0!important;
    z-index:30;
  }
  .manual-layout{padding-top:54px}
}

/* v24 R7 — smartphone: reserva a faixa do botão fixed nos saltos por âncora.
   B1–B5 permanecem inalterados; apenas evita que o título-alvo fique sob o botão. */
@media(max-width:480px){
  .manual-section,.manual-procedure,.manual-chapter{
    scroll-margin-top:calc(var(--manual-sticky-offset) + 52px)!important;
  }
}

/* v25 corrective: mobile service dialog must always fit the visible viewport. */
@media(max-width:1099px){.service-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);margin:auto}}

/* E37-A — acabamento essencial sem alteração da identidade visual. */
:focus-visible{outline-color:#1f6fae}
.portal-sidebar :focus-visible,.flow-section :focus-visible{outline-color:#d8ef58}
.button.is-disabled{pointer-events:none;cursor:not-allowed;opacity:.68;box-shadow:none;transform:none}
.process-card header>div{flex-wrap:wrap;align-items:flex-start}
.process-card header .meta{max-width:100%;overflow-wrap:anywhere;text-align:right}
.process-card h3,.process-stages strong,.process-stages small{overflow-wrap:anywhere}
.accessible-list{margin:0;padding-left:21px;color:var(--muted)}
.accessible-list li+li{margin-top:8px}

@media(max-width:1099px){
  .portal-sidebar{box-shadow:none}
  body.sidebar-open .portal-sidebar{box-shadow:10px 0 34px rgba(2,42,23,.24)}
}

@media(max-width:760px){
  .quick-card{display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-content:center;text-align:left}
  .quick-icon{grid-row:1/3;align-self:start;display:grid;place-items:center}
  .quick-card strong,.quick-card small{min-width:0}
  .process-card header .meta{text-align:left}
}

/* E37-B3 — contraste e áreas de toque (correções transversais, sem redesign). */
.docs-grid article>span{color:#3f6f55}
.breadcrumbs a,.utility-links a,.footer-main a,.siae-actions>a{display:inline-flex;align-items:center;min-height:24px}
.service-card button,.selection-list a,.notice-grid a,.course-card .card-foot a{display:inline-flex;align-items:center;min-height:24px}
.service-card button{justify-content:space-between}
@media(max-width:760px){.service-card button{min-height:44px}}
.module-fullscreen a{display:inline-flex;align-items:center;min-height:44px}
.calendar-source-rule a{display:inline-flex;align-items:center;min-height:24px}
.portal-page h1[tabindex="-1"]:focus{outline:none}
