:root{--leg-blue:#176fc0;--leg-green:#07864f;--leg-yellow:#f4bf19;--leg-orange:#ef7100;--leg-ink:#102650;--leg-muted:#53617a}.legislation-page{color:var(--leg-ink);background:linear-gradient(180deg,#fff 0%,#f8fbff 48%,#fffaf0 100%);overflow:hidden}.legislation-shell{width:min(1180px,calc(100% - 2rem));margin-inline:auto}.legislation-hero{position:relative;min-height:510px;background:radial-gradient(circle at 12% 20%,rgba(7,134,79,.16),transparent 28%),radial-gradient(circle at 72% 12%,rgba(39,117,184,.2),transparent 34%),linear-gradient(120deg,#f3fbff 0%,#edf7ff 52%,#fff5df 100%);isolation:isolate}.legislation-hero::before{position:absolute;width:190px;height:190px;top:-95px;left:-75px;border-radius:50%;background:linear-gradient(135deg,var(--leg-green),#12b2ab);content:"";opacity:.88}.legislation-hero::after{position:absolute;top:45px;left:2%;width:105px;height:130px;background:radial-gradient(circle,rgba(23,111,192,.38) 2px,transparent 3px) 0 0/20px 20px;content:""}.legislation-hero__grid{display:grid;position:relative;z-index:2;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,6vw,6rem);min-height:510px;align-items:center;padding-block:2rem 5.5rem}.legislation-hero .breadcrumbs{margin-bottom:1.8rem}.legislation-kicker,.legislation-card__type,.legislation-section__heading p{margin:0;color:var(--leg-green);font-size:.75rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.legislation-hero h1{margin:.4rem 0;color:var(--leg-ink);font:800 clamp(3.6rem,7vw,6rem)/1 'Manrope',sans-serif;letter-spacing:-.06em}.legislation-hero__lead{max-width:580px;margin:.8rem 0 1.7rem;color:#263856;font-size:clamp(1.05rem,1.8vw,1.3rem);line-height:1.55}.legislation-hero__note{display:grid;max-width:560px;grid-template-columns:62px 1fr;gap:1rem;padding:1.15rem;align-items:center;border:1px solid rgba(255,255,255,.85);border-radius:1.2rem;background:rgba(255,255,255,.72);box-shadow:0 18px 45px rgba(16,38,80,.08);backdrop-filter:blur(8px)}.legislation-hero__note span{display:grid;width:62px;height:62px;border-radius:18px;color:#fff;background:linear-gradient(145deg,var(--leg-blue),#1746a2);font-size:1.8rem;place-items:center}.legislation-hero__note p{margin:0;color:#33415e;font-size:.9rem;line-height:1.55}.legislation-hero__art{position:relative;height:380px;filter:drop-shadow(0 28px 28px rgba(16,38,80,.18))}.legislation-hero__art svg{position:absolute;z-index:2;width:88%;right:0;bottom:0}.legislation-hero__art .art-wood{fill:#a85a27;stroke:#713616;stroke-width:5}.legislation-hero__art .art-dark{fill:#703714;stroke:#4b250e;stroke-width:6}.legislation-hero__art .art-shadow{fill:none;stroke:#102650;stroke-linecap:round;stroke-width:13;opacity:.18}.legislation-hero__book{position:absolute;right:-5%;bottom:25px;width:68%;height:82px;border-radius:8px 0 0 8px;background:linear-gradient(180deg,#fff 10%,#dce8f3 11% 88%,#fff 89%);box-shadow:inset 15px 0 #176fc0,0 15px 30px rgba(16,38,80,.14);transform:rotate(-3deg)}.legislation-hero__book--two{right:-10%;bottom:105px;width:58%;height:72px;background:linear-gradient(180deg,#fff 10%,#f6e6b6 11% 88%,#fff 89%);box-shadow:inset 15px 0 var(--leg-yellow),0 15px 30px rgba(16,38,80,.12);transform:rotate(5deg)}.legislation-hero__wave{position:absolute;right:-3%;bottom:-1px;left:-3%;height:62px;border-radius:55% 45% 0 0/100% 100% 0 0;background:#fff}.legislation-index{display:grid;position:relative;z-index:5;grid-template-columns:repeat(4,1fr);gap:.8rem;margin-top:-25px;margin-bottom:4rem;padding:.7rem;border:1px solid rgba(16,38,80,.09);border-radius:1.4rem;background:rgba(255,255,255,.92);box-shadow:0 18px 45px rgba(16,38,80,.1);backdrop-filter:blur(12px)}.legislation-index a{display:flex;gap:.7rem;align-items:center;justify-content:center;padding:.85rem;border-radius:.9rem;color:var(--leg-ink);font-weight:750;text-decoration:none;transition:transform .25s,background .25s,color .25s}.legislation-index a span{font-size:1.25rem}.legislation-index a:hover,.legislation-index a:focus-visible{color:#fff;background:linear-gradient(105deg,var(--leg-green),var(--leg-blue));transform:translateY(-3px)}.legislation-content{padding-bottom:5rem}.legislation-section{--section-color:var(--leg-blue);--section-soft:#edf5ff;scroll-margin-top:130px;margin-bottom:4.7rem}.legislation-section--yellow{--section-color:#c89100;--section-soft:#fff9e8}.legislation-section--green{--section-color:var(--leg-green);--section-soft:#edf9f3}.legislation-section--orange{--section-color:var(--leg-orange);--section-soft:#fff3eb}.legislation-section__heading{text-align:center;margin-bottom:1.6rem}.legislation-section__heading>span{display:grid;width:46px;height:46px;margin:0 auto .5rem;border-radius:50%;color:#fff;background:linear-gradient(145deg,var(--section-color),color-mix(in srgb,var(--section-color) 65%,#102650));font-size:1.4rem;place-items:center;box-shadow:0 10px 25px color-mix(in srgb,var(--section-color) 24%,transparent)}.legislation-section__heading p{color:var(--section-color)}.legislation-section__heading h2{display:flex;gap:1.5rem;align-items:center;justify-content:center;margin:.25rem 0;color:var(--leg-ink);font:800 clamp(2rem,4vw,3rem)/1.15 'Manrope',sans-serif}.legislation-section__heading h2::before,.legislation-section__heading h2::after{width:100px;height:2px;background:linear-gradient(90deg,transparent,var(--section-color));content:""}.legislation-section__heading h2::after{background:linear-gradient(90deg,var(--section-color),transparent)}.legislation-documents{display:grid;gap:1rem}.legislation-card{display:grid;position:relative;grid-template-columns:190px minmax(0,1fr) 125px;overflow:hidden;min-height:175px;align-items:stretch;border:1px solid color-mix(in srgb,var(--section-color) 18%,#dce5eb);border-radius:1.35rem;background:linear-gradient(105deg,var(--section-soft),rgba(255,255,255,.94) 36%,rgba(255,255,255,.84));box-shadow:0 12px 35px rgba(16,38,80,.06);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s,border-color .35s}.legislation-card::after{position:absolute;right:-60px;bottom:-85px;width:180px;height:180px;border:1px solid color-mix(in srgb,var(--section-color) 20%,transparent);border-radius:50%;content:"";transition:transform .5s}.legislation-card:hover{border-color:color-mix(in srgb,var(--section-color) 42%,transparent);box-shadow:0 22px 52px rgba(16,38,80,.12);transform:translateY(-5px)}.legislation-card:hover::after{transform:scale(1.2)}.legislation-card__identity{display:flex;position:relative;z-index:1;flex-direction:column;gap:.7rem;align-items:center;justify-content:center;padding:1.2rem;color:var(--section-color);background:color-mix(in srgb,var(--section-color) 5%,transparent);text-align:center}.legislation-card__icon{display:grid;width:74px;height:74px;border-radius:50%;color:#fff;background:linear-gradient(145deg,var(--section-color),color-mix(in srgb,var(--section-color) 70%,#102650));box-shadow:0 12px 28px color-mix(in srgb,var(--section-color) 22%,transparent);place-items:center;transition:transform .4s,rotate .4s}.legislation-card:hover .legislation-card__icon{transform:scale(1.08);rotate:-5deg}.legislation-card__icon svg{width:43px;height:43px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.legislation-card__identity strong{font-size:.86rem}.legislation-card__body{position:relative;z-index:1;padding:1.4rem 1.7rem;align-self:center}.legislation-card__type{color:var(--section-color);font-size:.64rem}.legislation-card h3{margin:.25rem 0 .55rem;color:var(--leg-ink);font-size:1.12rem}.legislation-card__body>p:not(.legislation-card__type){margin:0;color:var(--leg-muted);font-size:.86rem;line-height:1.6}.legislation-card__body small{display:block;margin-top:.65rem;color:var(--section-color);font-weight:700}.legislation-card__action{display:flex;position:relative;z-index:2;flex-direction:column;gap:.2rem;align-items:center;align-self:center;justify-content:center;width:105px;height:112px;border:1px solid rgba(255,255,255,.9);border-radius:1rem;color:var(--section-color);background:rgba(255,255,255,.82);text-decoration:none;box-shadow:0 8px 22px rgba(16,38,80,.06);transition:transform .3s,background .3s,color .3s}.legislation-card__action>span{display:grid;width:42px;height:42px;border-radius:50%;background:color-mix(in srgb,var(--section-color) 11%,#fff);font-size:1.7rem;line-height:1;place-items:center;transition:transform .35s}.legislation-card__action strong{font-size:.78rem}.legislation-card__action small{font-size:.62rem}.legislation-card__action:not(.is-disabled):hover,.legislation-card__action:not(.is-disabled):focus-visible{color:#fff;background:var(--section-color);transform:translateY(-4px)}.legislation-card__action:not(.is-disabled):hover>span{background:rgba(255,255,255,.2);transform:translateY(4px)}.legislation-card__action.is-disabled{cursor:not-allowed;filter:grayscale(.35);opacity:.62}.legislation-help{padding:2.2rem 0;background:linear-gradient(100deg,#075a46 0%,#07864f 30%,#176fc0 68%,#ef7100 120%)}.legislation-help>.legislation-shell{display:grid;grid-template-columns:64px 1fr auto;gap:1.3rem;align-items:center;color:#fff}.legislation-help>.legislation-shell>span{display:grid;width:62px;height:62px;border:2px solid rgba(255,255,255,.45);border-radius:50%;font:800 1.8rem 'Manrope';place-items:center}.legislation-help h2,.legislation-help p{margin:.15rem 0}.legislation-help h2{font-size:1.25rem}.legislation-help p{color:rgba(255,255,255,.82)}.legislation-help a{display:flex;gap:.8rem;padding:.85rem 1.2rem;align-items:center;border-radius:999px;color:var(--leg-ink);background:linear-gradient(90deg,#fff6bc,#f4bf19);font-weight:800;text-decoration:none}.legislation-help a i{font-style:normal;transition:transform .25s,rotate .25s}.legislation-help a:hover i{transform:translateX(5px);rotate:-45deg}[data-legislation-reveal]{opacity:0;transform:translateY(30px);transition:opacity .7s ease var(--reveal-delay,0ms),transform .7s cubic-bezier(.2,.8,.2,1) var(--reveal-delay,0ms)}[data-legislation-reveal].is-visible{opacity:1;transform:none}

@media(max-width:820px){.legislation-hero{min-height:auto}.legislation-hero__grid{grid-template-columns:1fr;min-height:auto;padding-top:2rem}.legislation-hero__content{position:relative;z-index:2}.legislation-hero__art{height:260px;margin-top:-1.5rem;opacity:.88}.legislation-hero__art svg{width:65%;right:13%}.legislation-hero__book{right:4%;width:63%;height:60px}.legislation-hero__book--two{right:0;bottom:85px;height:55px}.legislation-index{grid-template-columns:1fr 1fr}.legislation-card{grid-template-columns:145px minmax(0,1fr)}.legislation-card__action{grid-column:2;width:auto;height:auto;margin:0 1.3rem 1.2rem;padding:.65rem;flex-direction:row}.legislation-card__action>span{width:34px;height:34px}.legislation-help>.legislation-shell{grid-template-columns:55px 1fr}.legislation-help a{grid-column:1/-1;justify-content:center}}
@media(max-width:560px){.legislation-shell{width:min(100% - 24px,1180px)}.legislation-hero::before{width:120px;height:120px}.legislation-hero::after{display:none}.legislation-hero__grid{padding-bottom:4.5rem}.legislation-hero h1{font-size:3.45rem}.legislation-hero__lead{font-size:1rem}.legislation-hero__note{grid-template-columns:48px 1fr;padding:.85rem}.legislation-hero__note span{width:48px;height:48px;border-radius:13px}.legislation-hero__note p{font-size:.78rem}.legislation-hero__art{height:220px}.legislation-index{grid-template-columns:1fr;gap:.35rem;margin-top:-18px;margin-bottom:3rem}.legislation-index a{justify-content:flex-start;padding:.65rem .9rem}.legislation-section{margin-bottom:3.7rem}.legislation-section__heading h2{font-size:1.85rem}.legislation-section__heading h2::before,.legislation-section__heading h2::after{width:34px}.legislation-card{grid-template-columns:1fr;min-height:0}.legislation-card__identity{display:grid;grid-template-columns:58px 1fr;gap:1rem;justify-items:start;padding:1rem;text-align:left}.legislation-card__icon{width:58px;height:58px;grid-row:1}.legislation-card__icon svg{width:34px;height:34px}.legislation-card__body{padding:1.1rem 1rem}.legislation-card h3{font-size:1.05rem}.legislation-card__body>p:not(.legislation-card__type){font-size:.82rem}.legislation-card__action{grid-column:1;margin:0 1rem 1rem}.legislation-help{padding:2rem 0}.legislation-help>.legislation-shell{grid-template-columns:1fr;text-align:center}.legislation-help>.legislation-shell>span{margin:auto}.legislation-help h2{font-size:1.1rem}}
@media(prefers-reduced-motion:reduce){[data-legislation-reveal]{opacity:1;transform:none;transition:none}.legislation-card,.legislation-card__icon,.legislation-index a{transition:none}}

/* Ilustração vetorial do hero: balança proporcional e nítida em qualquer tela. */
.legislation-hero__art{filter:none}
.legislation-hero__halo{position:absolute;width:350px;max-width:90%;aspect-ratio:1;right:2%;bottom:5px;border:1px solid rgba(255,255,255,.82);border-radius:50%;background:radial-gradient(circle at 38% 28%,rgba(255,255,255,.96),rgba(226,243,255,.82) 48%,rgba(244,191,25,.2) 72%,rgba(239,113,0,.2));box-shadow:0 28px 65px rgba(16,38,80,.15),inset 0 0 55px rgba(255,255,255,.72);backdrop-filter:blur(8px)}
.legislation-hero__art svg{width:min(420px,96%);filter:drop-shadow(0 20px 18px rgba(16,38,80,.16))}
.legislation-hero__art .art-scales{fill:none;stroke:#125a8f;stroke-linecap:round;stroke-linejoin:round;stroke-width:8}
.legislation-hero__art .art-scales circle{fill:#f4bf19;stroke:#ef7100}
.legislation-hero__art .art-books{stroke:#fff;stroke-linejoin:round;stroke-width:5}
.legislation-hero__art .art-books path:first-child{fill:#176fc0}
.legislation-hero__art .art-books path:nth-child(2){fill:#07864f}
.legislation-hero__art .art-books path:last-child{fill:#ef7100}
@media(max-width:820px){.legislation-hero__art{height:275px}.legislation-hero__art svg{width:300px;max-width:82%;right:9%}.legislation-hero__halo{width:260px;right:10%}}
@media(max-width:560px){.legislation-hero__art{height:225px}.legislation-hero__art svg{width:245px;right:8%}.legislation-hero__halo{width:210px;right:11%}}
