/* Construtor de home: tudo escopado em .hb-* e controlado pelas variáveis do tema (--hb-*). */
.hb-root{font-family:var(--hb-bfont);color:var(--hb-text);background:var(--hb-bg);line-height:1.6}
.hb-root *,.hb-root *::before,.hb-root *::after{box-sizing:border-box}
.hb-root img{max-width:100%}
.hb-root:not(.mp-comar) h1,.hb-root:not(.mp-comar) h2,.hb-root:not(.mp-comar) h3,.hb-root:not(.mp-comar) .hb-h{font-family:var(--hb-hfont);line-height:1.2;margin:0}
.hb-wrap{width:100%;max-width:72rem;margin:0 auto;padding-left:1rem;padding-right:1rem}
.hb-wrap-wide{max-width:84rem}.hb-wrap-narrow{max-width:46rem}
.hb-boxed{margin-left:auto;margin-right:auto}.hb-boxed-boxed{max-width:72rem}.hb-boxed-wide{max-width:84rem}.hb-boxed-narrow{max-width:46rem}
.hb-block{position:relative}
.hb-grid{display:grid;grid-template-columns:repeat(var(--c-d,1),minmax(0,1fr))}
@media(max-width:900px){.hb-grid{grid-template-columns:repeat(var(--c-t,1),minmax(0,1fr))}}
@media(max-width:600px){.hb-grid{grid-template-columns:repeat(var(--c-m,1),minmax(0,1fr))}.hb-hide-m{display:none!important}}
@media(min-width:601px){.hb-hide-d{display:none!important}}
.hb-empty{border:2px dashed currentColor;opacity:.4;border-radius:12px;padding:2rem;text-align:center;font-size:14px}
.hb-muted-box{background:var(--hb-surface);border-radius:var(--hb-radius);padding:1.25rem;color:var(--hb-muted);margin:0}
.hb-muted{color:var(--hb-muted)}
[data-anim]{opacity:0;transition:opacity .6s,transform .6s}[data-anim=fade-up]{transform:translateY(24px)}[data-anim=zoom]{transform:scale(.94)}
[data-anim].hb-in{opacity:1;transform:none}
/* botões */
.hb-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;font-weight:700;text-decoration:none;border:2px solid transparent;border-radius:var(--hb-btn-radius);padding:.65rem 1.25rem;font-size:15px;cursor:pointer;transition:filter .15s,transform .15s;font-family:var(--hb-bfont)}
.hb-btn:hover{filter:brightness(.94);transform:translateY(-1px)}
.hb-btn-sm{padding:.4rem .9rem;font-size:13px}.hb-btn-lg{padding:.85rem 1.7rem;font-size:16px}.hb-btn-full{width:100%}
.hb-btn-primary{background:var(--hb-primary);color:var(--hb-on-primary)}
.hb-btn-dark{background:var(--hb-secondary);color:var(--hb-on-secondary)}
.hb-btn-light{background:#fff;color:#111827}
.hb-btn-outline{background:transparent;border-color:currentColor;color:inherit}
.hb-btn-ghost{background:transparent;color:var(--hb-primary);padding-left:.4rem;padding-right:.4rem}
.hb-btn-onimg{color:#fff}
.hb-btn-row{text-align:inherit}
/* títulos e textos */
.hb-eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--hb-primary);margin:0 0 .35rem}
.hb-head-sm .hb-h{font-size:1.5rem}.hb-head-md .hb-h{font-size:2rem}.hb-head-lg .hb-h{font-size:2.6rem}.hb-head-xl .hb-h{font-size:3.4rem}
.hb-hl{color:var(--hb-primary)}.hb-sub{color:var(--hb-muted);font-size:1.05rem;max-width:42rem;margin:.6rem auto 0}
.hb-text-sm{font-size:.9rem}.hb-text-md{font-size:1.05rem}.hb-text-lg{font-size:1.3rem}.hb-text a{color:var(--hb-primary);text-decoration:underline}
.hb-link{color:var(--hb-primary);font-weight:700;text-decoration:none}.hb-link:hover{text-decoration:underline}
.hb-badge{display:inline-block;background:var(--hb-primary);color:var(--hb-on-primary);font-size:11px;font-weight:700;border-radius:999px;padding:.15rem .65rem;margin-right:.5rem}
.hb-has-color .hb-sub,.hb-has-color .hb-eyebrow,.hb-has-color .hb-hl{color:inherit}
/* imagem / cards */
.hb-fig{margin:0}.hb-fig figcaption{text-align:center;color:var(--hb-muted);font-size:.85rem;margin-top:.4rem}
.hb-img{display:block;width:100%}.hb-frame-rounded{border-radius:var(--hb-radius)}.hb-frame-circle{border-radius:50%;aspect-ratio:1/1;object-fit:cover}
.hb-img-empty{display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.06);color:var(--hb-muted);font-size:14px;width:100%;min-height:8rem}
.hb-card{display:flex;flex-direction:column;height:100%;overflow:hidden;border-radius:inherit}
.hb-card>img{width:100%;object-fit:cover}.hb-card-b{padding:1.25rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.hb-card h3{font-size:1.25rem}.hb-card p{margin:0;color:var(--hb-muted);flex:1}
.hb-card-h{flex-direction:row}.hb-card-h>img{width:40%;min-height:12rem}
@media(max-width:600px){.hb-card-h{flex-direction:column}.hb-card-h>img{width:100%}}
.hb-card-ov{position:relative;overflow:hidden;border-radius:inherit;color:#fff;display:flex}
.hb-card-ov>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hb-card-ov::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.8),transparent 70%)}
.hb-card-ov-tx{position:relative;z-index:1;margin-top:auto;padding:1.25rem;display:flex;flex-direction:column;gap:.4rem}.hb-card-ov h3{font-size:1.4rem}.hb-card-ov p{margin:0;opacity:.9}
.hb-feature{display:flex;gap:1rem;color:inherit;text-decoration:none}.hb-feature-stacked{flex-direction:column}
.hb-feature strong{display:block;font-size:1.05rem}.hb-feature small{display:block;color:var(--hb-muted);margin-top:.15rem}
.hb-feature-ico{width:3rem;height:3rem;display:inline-flex;align-items:center;justify-content:center;font-size:1.5rem;flex:none;background:var(--hb-primary);color:var(--hb-on-primary)}
.hb-ico-square{border-radius:.9rem}.hb-ico-circle{border-radius:50%}.hb-ico-none{background:none!important;width:auto;height:auto}
.hb-stat{padding:.5rem}.hb-stat b{display:block;font-size:2.2rem;font-family:var(--hb-hfont);color:var(--hb-primary)}.hb-stat span{color:var(--hb-muted);font-size:.9rem}
.hb-faq details{background:var(--hb-surface);border-radius:var(--hb-radius);padding:1rem 1.25rem;margin-bottom:.6rem}
.hb-faq summary{cursor:pointer;font-weight:700}.hb-faq details>div{margin-top:.6rem;color:var(--hb-muted)}
.hb-video{overflow:hidden;border-radius:var(--hb-radius)}.hb-video iframe{width:100%;height:100%;border:0}
.hb-cta{display:grid;gap:2rem;align-items:center}.hb-cta-img{grid-template-columns:1fr 1fr}.hb-cta h2{font-size:2.2rem}.hb-cta p{opacity:.9;max-width:34rem}
.hb-cta img{width:100%;border-radius:var(--hb-radius);object-fit:cover;max-height:22rem}.hb-order1{order:-1}.hb-order2{order:2}
@media(max-width:700px){.hb-cta-img{grid-template-columns:1fr}.hb-cta h2{font-size:1.7rem}}
.hb-hr{border:0;border-top:2px solid #dfe5e1;margin:1.5rem auto;max-width:72rem}
/* topo e rodapé */
.hb-bar{display:flex;justify-content:space-between;gap:1rem;align-items:center;font-size:13px;flex-wrap:wrap}
.hb-bar nav{display:flex;gap:1.1rem}.hb-bar a{color:inherit;text-decoration:none;opacity:.9}.hb-bar a:hover{text-decoration:underline}
.hb-bar-date{opacity:.8}
/* topo/cabeçalho usam o markup original das propostas: sem layout próprio */
.hb-header,.hb-topbar,.hb-footer{display:block}
header.hb-block[data-sticky="1"]{position:sticky;top:0;z-index:40;box-shadow:0 1px 0 rgba(0,0,0,.08)}
.hb-brand{display:flex;flex-direction:column;color:inherit;text-decoration:none;font-size:1.15rem;gap:.1rem}.hb-brand img{max-height:3rem;width:auto}.hb-brand small{font-size:12px;opacity:.7}
.hb-nav{display:flex;align-items:center;gap:1.3rem;flex-wrap:wrap}.hb-nav a:not(.hb-btn){color:inherit;text-decoration:none;font-weight:600;font-size:15px}.hb-nav a:not(.hb-btn):hover{color:var(--hb-primary)}
.hb-burger{display:none;background:none;border:1px solid currentColor;border-radius:8px;color:inherit;font-size:20px;padding:.2rem .6rem;cursor:pointer}
@media(max-width:860px){.hb-burger{display:block}.hb-nav{display:none;position:absolute;left:0;right:0;top:100%;background:inherit;flex-direction:column;align-items:flex-start;padding:1rem;gap:.9rem;box-shadow:0 14px 30px rgba(0,0,0,.15)}.hb-nav.open{display:flex}.hb-header{position:relative}}
.hb-foot{display:grid;grid-template-columns:2fr repeat(auto-fit,minmax(10rem,1fr));gap:2rem}
.hb-foot-brand img{max-height:3.2rem;width:auto;margin-bottom:.75rem}.hb-foot-brand p{margin:.4rem 0;opacity:.85;font-size:14px}
.hb-foot-col h2{font-size:1rem;margin-bottom:.75rem}.hb-foot-col ul{list-style:none;margin:0;padding:0}.hb-foot-col li{margin:.4rem 0}.hb-foot-col a{color:inherit;opacity:.85;text-decoration:none;font-size:14px}.hb-foot-col a:hover{opacity:1;text-decoration:underline}
.hb-foot-bottom{border-top:1px solid rgba(255,255,255,.18);margin-top:2rem;padding-top:1rem;font-size:13px;opacity:.8}
@media(max-width:700px){.hb-foot{grid-template-columns:1fr}}
/* seções do portal */
.hb-sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.hb-sec-head .hb-h{font-size:1.9rem}
.hb-hero{position:relative;overflow:hidden}
.hb-slide{position:relative;display:flex;align-items:center}.hb-hero-lg .hb-slide{min-height:30rem}.hb-hero-md .hb-slide{min-height:21rem}
.hb-slide[hidden]{display:none}
.hb-slide-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hb-hero-overlay .hb-slide-bg+.hb-slide-in::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.1))}
.hb-slide-in{position:relative;z-index:1;padding-top:3rem;padding-bottom:3rem}.hb-slide-copy{max-width:36rem;position:relative}
.hb-hero-centered .hb-slide-copy{margin:0 auto;text-align:center}.hb-hero-centered .hb-slide-actions{justify-content:center}
.hb-slide-copy h1{font-size:2.8rem}.hb-slide-copy p{font-size:1.1rem;opacity:.92}.hb-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:700;margin:0 0 .5rem}
.hb-tag{display:inline-block;background:rgba(255,255,255,.18);border-radius:999px;font-size:12px;padding:.15rem .7rem;margin-bottom:.6rem}
.hb-slide-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.2rem}
.hb-dots{position:absolute;bottom:1rem;left:0;right:0;display:flex;justify-content:center;gap:.5rem;z-index:2}.hb-dots button{width:.65rem;height:.65rem;border-radius:50%;border:0;background:rgba(255,255,255,.5);cursor:pointer}.hb-dots button[aria-current=true]{background:#fff;transform:scale(1.25)}
@media(max-width:700px){.hb-slide-copy h1{font-size:2rem}.hb-hero-lg .hb-slide{min-height:24rem}}
.hb-search label{display:block;font-weight:700;margin-bottom:.5rem;font-size:1.1rem}.hb-search-row{display:flex;gap:.6rem}
.hb-search input{flex:1;min-width:0;border:1px solid #cfd8d2;border-radius:var(--hb-btn-radius);padding:.8rem 1rem;font-size:16px;background:#fff}
.hb-chips{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;margin:.8rem 0 0;font-size:14px;color:var(--hb-muted)}.hb-chips a{background:var(--hb-surface);color:var(--hb-text);border-radius:999px;padding:.2rem .8rem;text-decoration:none}
.hb-svc a{display:flex;gap:.9rem;align-items:center;background:var(--hb-surface);color:inherit;border-radius:var(--hb-radius);padding:1.1rem;text-decoration:none;transition:transform .15s,box-shadow .15s}
.hb-svc a:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.1)}
.hb-svc-ico{width:2.8rem;height:2.8rem;border-radius:.8rem;background:var(--hb-primary);color:var(--hb-on-primary);display:inline-flex;align-items:center;justify-content:center;font-size:1.3rem;flex:none}
.hb-svc strong{display:block}.hb-svc small{display:block;color:var(--hb-muted);font-size:13px}
.hb-svc-tiles a{background:var(--hb-primary);color:var(--hb-on-primary);flex-direction:column;text-align:center;justify-content:center;min-height:8rem}.hb-svc-tiles .hb-svc-ico{background:rgba(255,255,255,.18);color:inherit}.hb-svc-tiles small{color:inherit;opacity:.8}
.hb-svc-list{grid-template-columns:1fr!important}.hb-svc-list a{border-radius:0;border-bottom:1px solid #dfe5e1;background:none;padding:.9rem .2rem}
.hb-news{display:grid;grid-template-columns:2fr 1fr;gap:1.5rem}.hb-news-grid{grid-template-columns:repeat(3,1fr)}
.hb-news-item img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--hb-radius);display:block;margin-bottom:.6rem}
.hb-news-item h3{font-size:1.1rem;margin:.4rem 0}.hb-news-item h3 a{color:inherit;text-decoration:none}.hb-news-item h3 a:hover{color:var(--hb-primary)}.hb-news-item p{margin:0;color:var(--hb-muted);font-size:14px}.hb-news-item time{font-size:12px;color:var(--hb-muted)}
.hb-news-main{grid-row:span 3}.hb-news-main h3{font-size:1.6rem}
.hb-news:not(.hb-news-grid) .hb-news-item:not(.hb-news-main){display:grid;grid-template-columns:7rem 1fr;gap:.9rem;align-items:start}.hb-news:not(.hb-news-grid) .hb-news-item:not(.hb-news-main) img{margin:0;aspect-ratio:4/3}
@media(max-width:800px){.hb-news,.hb-news-grid{grid-template-columns:1fr}.hb-news-main{grid-row:auto}}
.hb-news-list{list-style:none;margin:0;padding:0}.hb-news-list li{display:flex;justify-content:space-between;gap:1rem;padding:.8rem 0;border-bottom:1px solid #dfe5e1}.hb-news-list a{color:inherit;text-decoration:none;font-weight:600}.hb-news-list time{color:var(--hb-muted);font-size:13px;white-space:nowrap}
.hb-chipbar{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}.hb-chipbar button{border:1px solid #cfd8d2;background:#fff;border-radius:999px;padding:.25rem .9rem;cursor:pointer;font-size:13px}.hb-chipbar .is-on{background:var(--hb-primary);color:var(--hb-on-primary);border-color:var(--hb-primary)}
.hb-tablist{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.2rem}.hb-tablist button{border:1px solid #cfd8d2;background:#fff;border-radius:999px;padding:.4rem 1.1rem;cursor:pointer;font-weight:600}.hb-tablist [aria-selected=true]{background:var(--hb-primary);color:var(--hb-on-primary);border-color:var(--hb-primary)}
.hb-pub{display:flex;flex-direction:column;gap:.5rem;background:#fff;border:1px solid #dfe5e1;border-radius:var(--hb-radius);padding:1.1rem;color:inherit;text-decoration:none}.hb-pub h3{font-size:1.1rem}.hb-pub a:not(.hb-link){display:flex;flex-direction:column;color:inherit;text-decoration:none;padding:.35rem 0;border-bottom:1px solid #eef1ee}.hb-pub small{color:var(--hb-muted)}.hb-pub p{margin:0;color:var(--hb-muted)}
.hb-vid{display:block;color:inherit;text-decoration:none}.hb-vid img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--hb-radius);display:block;margin-bottom:.4rem}
.hb-root .hb-block+.hb-block{margin-top:0}
/* editor: bloco selecionado na prévia */
.hb-selected{outline:3px solid #2563eb!important;outline-offset:-3px}

/* Garante a cor do texto dos botões acima de regras genéricas de links dos CSS antigos. */
.hb-root a.hb-btn-light,.hb-root button.hb-btn-light{color:#111827}
.hb-root a.hb-btn-primary,.hb-root button.hb-btn-primary{color:var(--hb-on-primary)}
.hb-root a.hb-btn-dark,.hb-root button.hb-btn-dark{color:var(--hb-on-secondary)}
.hb-root a.hb-btn-onimg{color:#fff}

/* Proposta 1 A: o banner usa .mp3-hero (sem .mp2-hero), então repete as cores do banner escuro */
.mp3-hero{position:relative;background:var(--mp2-dark,#0b1220);color:#fff}.mp3-hero h1{font-size:52px;line-height:1.08;letter-spacing:-1px;font-weight:700;color:#fff}.mp3-hero .mp2-hero-tag,.mp3-hero .mp2-hero-kicker{color:#fff}.mp-v2 .mp3-hero a,.mp-v2 .mp3-hero-slide a.mp2-ghost{color:#fff}.mp-v2 .mp3-hero a.mp-button{color:#fff}@media(max-width:700px){.mp3-hero h1{font-size:34px}}

/* Proposta 1 A: campanhas (cartões lado a lado + comunicados oficiais) */
.mp3c-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.mp3c-card{overflow:hidden;border:1px solid var(--mp-border-muted,#e5e7eb);border-radius:16px;background:#fff}
.mp3c-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.mp3c-body{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:20px}
.mp3c-body h3{font-size:18px;line-height:1.3;font-weight:700}.mp3c-body p{font-size:14px;line-height:1.5;color:var(--mp-secondary,#4b5563)}
.mp-v2 .mp3c-link{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--mp-primary)}
.mp3c-notices{padding:24px;border:1px solid var(--mp-border-muted,#e5e7eb);border-radius:16px;background:#f9fafb}
.mp3c-notices h3{font-size:16px;font-weight:700;margin-bottom:12px}.mp3c-notices ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.mp3c-notices li{position:relative;padding-left:16px;display:flex;flex-direction:column;gap:2px}.mp3c-notices li::before{content:"";position:absolute;left:0;top:6px;width:6px;height:6px;border-radius:50%;background:#d97706}
.mp3c-notices li span{font-size:12px;color:var(--mp-secondary,#6b7280)}.mp-v2 .mp3c-notices a{font-size:14px;font-weight:600;line-height:1.4;color:var(--mp-text,#111827)}
@media(max-width:900px){.mp3c-grid{grid-template-columns:1fr}}

/* Topo, cabeçalho e rodapé usam o markup original: cor de fundo/texto escolhida no editor vale sobre ele */
.hb-has-bg.hb-topbar>*,.hb-has-bg.hb-header>*,.hb-has-bg.hb-footer>*{background:transparent!important}
.hb-has-color.hb-topbar .mp-wrap,.hb-has-color.hb-header .mp-wrap,.hb-has-color.hb-footer .mp-wrap,.hb-has-color.hb-topbar a:not(.mp-button),.hb-has-color.hb-header a:not(.mp-button),.hb-has-color.hb-footer a:not(.mp-button),.hb-has-color.hb-topbar .mp-wrap *:not(.mp-button),.hb-has-color.hb-header .mp-wrap *:not(.mp-button),.hb-has-color.hb-footer .mp-wrap *:not(.mp-button){color:var(--hb-fg)!important}


/* Alto contraste: fundo preto, texto branco, links amarelos */
.mp-portal.mp-high-contrast{filter:none!important;background:#000!important;color:#fff!important}
.mp-high-contrast *{background-color:#000!important;background-image:none!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important;text-shadow:none!important}
.mp-high-contrast a,.mp-high-contrast a *{color:#ffd400!important;text-decoration:underline!important}
.mp-high-contrast button,.mp-high-contrast input,.mp-high-contrast select,.mp-high-contrast textarea,.mp-high-contrast .mp-button{border:2px solid #fff!important}
.mp-high-contrast .mp-button,.mp-high-contrast .mp-button *{color:#ffd400!important}
.mp-high-contrast .mp-icon img,.mp-high-contrast svg{filter:invert(1) brightness(2);background-color:transparent!important}
.mp-high-contrast .mp-brand img{filter:none!important;background-color:#fff!important}
.mp-high-contrast img{background-color:transparent!important}
.mp-high-contrast img:not(.mp-icon img):not(.mp-brand img){filter:grayscale(1) contrast(1.1)}
.mp-high-contrast .mp-badge,.mp-high-contrast [class*="badge"]{border:1px solid #fff}
.mp-high-contrast [vw],.mp-high-contrast [vw] *{background-color:transparent!important;filter:none!important;border:0!important}
.mp-high-contrast .mp2-hero-slide::after,.mp-high-contrast .mp3-hero .mp2-hero-slide::after{background:rgba(0,0,0,.7)!important}

/* topo/rodapé com cor de texto própria (todos os temas): busca e submenus têm fundo claro e precisam de texto escuro */
.hb-has-color.hb-header .mp-wrap .mp-search input,.hb-has-color.hb-topbar .mp-wrap .mp-search input,.hb-has-color.hb-footer .mp-wrap .mp-search input{color:var(--mp-text)!important}
.hb-has-color.hb-header .mp-wrap .mp-search kbd,.hb-has-color.hb-topbar .mp-wrap .mp-search kbd,.hb-has-color.hb-footer .mp-wrap .mp-search kbd{color:var(--mp-subtle)!important}
.hb-has-color.hb-header .mp-wrap .mp-search svg,.hb-has-color.hb-topbar .mp-wrap .mp-search svg,.hb-has-color.hb-footer .mp-wrap .mp-search svg,.hb-has-color.hb-header .mp-wrap .mp-search svg *,.hb-has-color.hb-topbar .mp-wrap .mp-search svg *,.hb-has-color.hb-footer .mp-wrap .mp-search svg *{color:var(--mp-text)!important}
.hb-has-color.hb-header .mp-wrap .mp-nav-children a,.hb-has-color.hb-topbar .mp-wrap .mp-nav-children a,.hb-has-color.hb-footer .mp-wrap .mp-nav-children a,.hb-has-color.hb-header .mp-wrap .mp-nav-children a *,.hb-has-color.hb-topbar .mp-wrap .mp-nav-children a *,.hb-has-color.hb-footer .mp-wrap .mp-nav-children a *{color:var(--mp-text)!important}
.hb-has-color.hb-header .mp-wrap .mp-nav-children a:hover,.hb-has-color.hb-topbar .mp-wrap .mp-nav-children a:hover,.hb-has-color.hb-footer .mp-wrap .mp-nav-children a:hover{color:var(--mp-primary)!important}

/* cabeçalho fixo: configurável no editor (data-fix = none | desktop | all); sem atributo = computador e celular */
.hb-block.hb-header[data-fix="all"]{position:sticky;top:0;z-index:60}
@media(min-width:861px){.hb-block.hb-header:not([data-fix="none"]){position:sticky;top:0;z-index:60}}
@media(max-width:860px){
  .hb-block.hb-header[data-fix="all"] .mp-quick-chips{display:none}
  .hb-block.hb-header.hb-hd-nosearch .mp-search{display:none}
  .hb-block.hb-header.hb-hd-nochips .mp-quick-chips{display:none}
  .hb-block.hb-header .mp-header-content{padding-block:12px;gap:12px}
}
/* celular: botão Menu (fundo branco) e atalho em destaque precisam de texto escuro quando o topo tem cor própria */
.hb-has-color.hb-header .mp-wrap .mp-quick-chips a:first-child,.hb-has-color.hb-header .mp-wrap .mp-quick-chips a:first-child *{color:var(--mp-primary)!important}
/* cabeçalho fixo sem fundo próprio: fundo sólido para o conteúdo não aparecer por trás ao rolar */
.hb-block.hb-header:not(.hb-has-bg){background-color:#fff}
.hb-block.hb-header[data-fix="none"]:not(.hb-has-bg){background-color:transparent}
/* menu lateral (celular): a regra que zera o fundo dos filhos do cabeçalho não pode deixá-lo transparente */
.hb-has-bg.hb-header>.mp-drawer{background:#fff!important}
.hb-has-bg.hb-header>.mp-drawer-backdrop{background:rgba(17,24,39,.5)!important}
.hb-has-color.hb-header .mp-drawer,.hb-has-color.hb-header .mp-drawer a,.hb-has-color.hb-header .mp-drawer summary,.hb-has-color.hb-header .mp-drawer strong,.hb-has-color.hb-header .mp-drawer button,.hb-has-color.hb-header .mp-drawer svg{color:var(--mp-text)!important}
.hb-has-color.hb-header .mp-drawer details[open]>summary{color:var(--mp-primary)!important}
.hb-has-color.hb-header .mp-drawer details a{color:var(--mp-secondary)!important}
/* ícones (arquivos SVG) de topo/rodapé com cor de texto própria: pegam a cor do texto em vez do cinza do arquivo */
.hb-has-color.hb-footer .mp-icon,.hb-has-color.hb-header .mp-icon,.hb-has-color.hb-topbar .mp-icon{position:relative}
.hb-has-color.hb-footer .mp-icon img,.hb-has-color.hb-header .mp-icon img,.hb-has-color.hb-topbar .mp-icon img{opacity:0}
.hb-has-color.hb-footer .mp-icon::after,.hb-has-color.hb-header .mp-icon::after,.hb-has-color.hb-topbar .mp-icon::after{content:"";position:absolute;inset:0;background-color:currentColor;-webkit-mask:var(--mp-icon) center/contain no-repeat;mask:var(--mp-icon) center/contain no-repeat}

/* Blocos do portal (p_*): fundo e cor de texto escolhidos na aba Estilo valem sobre a seção original do tema.
   O banner (p_hero) fica de fora: tem imagem e camadas próprias. */
.hb-has-bg[class*="hb-p_"]:not(.hb-p_hero) section,
.hb-has-bg[class*="hb-p_"]:not(.hb-p_hero) section.mp-section,
.hb-has-bg[class*="hb-p_"]:not(.hb-p_hero) .mp-wrap{background:transparent!important;background-image:none!important}
.hb-has-color[class*="hb-p_"]:not(.hb-p_hero) :is(h1,h2,h3,h4,h5,h6,p,li,small,strong,time,span,em,dt,dd,figcaption):not(:is(a,button,article,form,label,details,select,input,table,[class*="card"],[class*="btn"],[class*="button"],[class*="pill"],[class*="chip"],[class*="badge"],[class*="tab"],[class*="item"],[class*="tag"],[class*="kpi"],[class*="player"]) *):not(:is(a,button,[class*="btn"],[class*="button"],[class*="pill"],[class*="chip"],[class*="badge"],[class*="tab"],[class*="tag"],[class*="eyebrow"],[class*="live"])){color:var(--hb-fg)!important}
/* texto personalizado nos blocos simples (destaque, numero, card, FAQ, CTA...) */
.hb-has-color:not([class*="hb-p_"]):not(.hb-topbar):not(.hb-header):not(.hb-footer):not(.hb-button) :is(h1,h2,h3,h4,h5,h6,p,li,small,strong,b,span,em,dt,dd,summary,figcaption,blockquote):not(.hb-feature-ico):not(.hb-btn):not(a *):not(button *){color:var(--hb-fg)!important}
/* banner (p_hero): cor de fundo e de texto escolhidas no Estilo */
.hb-has-bg.hb-p_hero section,.hb-has-bg.hb-p_hero [class*="hero"]:not(img):not([class*="slide-bg"]):not([class*="overlay"]){background-color:transparent!important;background-image:none!important}
.hb-has-color.hb-p_hero :is(h1,h2,h3,p,small,span,strong):not(:is(a,button,[class*="btn"],[class*="button"],[class*="dot"],[class*="ctrl"]) *):not(a):not(button):not([class*="btn"]){color:var(--hb-fg)!important}
