/* IBG — shared type and neutral dark surfaces. Loaded after component styles. */
:root{
 --ibg-font:"IBG",system-ui,sans-serif;--ibg-font-display:var(--ibg-font);--ibg-font-heading:var(--ibg-font);--ibg-font-body:var(--ibg-font);
 --ibg-bg:#101415;--ibg-bg-2:#1a2022;--ibg-surface:#252c2f;--ibg-text:#edf2ef;--ibg-border:rgba(222,234,228,.18);
 --ibg-text-secondary:#becac4;--ibg-text-muted:#a3b1aa;--ibg-ivory:#edf2ef;
 --adm-bg:#121718;--adm-surface:#1c2325;--adm-card:#252d30;--adm-ink:#edf2ef;--adm-muted:#b7c5bf;--adm-line:#44504d;--adm-accent:#338362;--adm-accent-ink:#fff;--adm-danger:#f39898;
}
html{font-size:16px;text-size-adjust:100%}
body{font-family:var(--ibg-font);font-weight:400;line-height:1.6}
body :where(h1,h2,h3,h4,h5,h6,p,li,a,dt,dd,blockquote,figcaption,label,input,textarea,select,button,legend,th,td){font-family:var(--ibg-font)!important}
body :where(h1,h2,h3,h4,h5,h6){font-weight:700;line-height:1.15;text-wrap:balance}
body :where(strong,b){font-weight:700}
body :where(button,input,textarea,select){font-size:1rem}
html[data-brand="ibg"] body.ibg-site{
 --ibg07-text:var(--ibg-font);--ed04-type:var(--ibg-font);--ed04-body:var(--ibg-font);--ibg07-display:var(--ibg-font);--ibg08-display:var(--ibg-font);--ibg08-copy:var(--ibg-font);--ibg07-copy:var(--ibg-font);
 --ed04-paper:#d5dfda;--ed04-paper-light:#e9efeb;--ed04-ink:#151b19;--ibg-editorial-serif:var(--ibg-font);--ibg-editorial-paper:#262d30;--ibg-editorial-ink:#edf2ef;
 background:#101415!important;color:#edf2ef;
}
html[data-brand="ibg"] body.ibg-site #ministerios #ibg-nm-title,
html[data-brand="ibg"] body.ibg-site #noticias #ibg-blog-heading,
html[data-brand="ibg"] body.ibg-site #como-chegar #ibg-visit-title,
html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-heading,
html[data-brand="ibg"] body.ibg-site #inscricoes #ibg07-invite-title{
 font-family:var(--ibg-font)!important;font-size:clamp(30px,3.6vw,50px)!important;line-height:1.15!important;font-style:normal!important;font-weight:700!important;letter-spacing:-.035em!important;
}
html[data-brand="ibg"] body.ibg-site #ministerios,
html[data-brand="ibg"] body.ibg-site #noticias,
html[data-brand="ibg"] body.ibg-site #como-chegar,
html[data-brand="ibg"] body.ibg-site #ofertas{background:#141a1b!important}
html[data-brand="ibg"] body.ibg-site #inscricoes{background:#252d30!important;color:#edf2ef!important}
html[data-brand="ibg"] body.ibg-site #inscricoes :is(h2,p){color:#edf2ef!important}
html[data-brand="ibg"] body.ibg-site #inscricoes :is(.ibg07-invite__kicker,.ibg07-invite__lead){color:#bfccc5!important}
html[data-brand="ibg"] body.ibg-site #inscricoes a{background:#3d5147!important;color:#fff!important;border-color:#6a8075!important}
html[data-brand="ibg"] body.ibg-site #sobre #ibg-about-cta{color:#b6dfc8}
html[data-brand="ibg"] body.ibg-site :is(.ibg-header__list a,.ibg-nav-drawer__nav a,.ibg-footer__nav a){font-weight:500!important}
html[data-brand="ibg"] body.ibg-site :is(.ibg-blog-card,.ibg-post-article,.ibg-page-panel){color:#edf2ef}
html[data-brand="ibg"] body.ibg-site .ibg-footer{background:#101415!important}
/* Compact ministry carousel: four / three / two cards; mobile shows the next edge. */
html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm__inner{width:min(1120px,calc(100% - 48px))!important;max-width:1120px!important;padding:0!important}
html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-carousel{--nm-card-gap:20px;max-width:1120px!important;margin:auto}
html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-carousel__track{
 display:flex!important;gap:var(--nm-card-gap)!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important;scrollbar-color:#50665c transparent;scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;touch-action:auto!important;padding-bottom:12px!important;
}
html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-carousel__track::-webkit-scrollbar{display:block;height:4px}
html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-carousel__track > .ibg-nm-anim{flex:0 0 calc((100% - 60px)/4)!important;width:calc((100% - 60px)/4)!important;max-width:calc((100% - 60px)/4)!important;min-width:0!important;scroll-snap-align:start!important}
html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-card__media{aspect-ratio:4/5!important;height:auto!important;max-height:345px!important;outline-color:#405049!important}
html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-card__media img{object-position:center!important}
html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-card__copy{min-height:86px!important;padding-top:12px!important}
html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-card__name{font-size:15px!important;font-weight:700!important;line-height:1.35!important}
html[data-brand="ibg"] body.ibg-site #ministerios :is(.ibg-nm-card__category,.ibg-nm-card__tag){color:#bfd5c9!important}
html[data-brand="ibg"] body.ibg-site #ministerios .ibg09-carousel-nav .ibg-nm-carousel__btn{width:44px!important;height:44px!important;border-color:#587064!important;color:#e2eee7!important;background:transparent!important}
html[data-brand="ibg"] body.ibg-site #ministerios .ibg09-carousel-nav .ibg-nm-carousel__btn:hover:not(:disabled){background:#345444!important;color:#fff!important;border-color:#7b9d8a!important}
html[data-brand="ibg"] body.ibg-site #ministerios .ibg09-carousel-toolbar .ibg-nm-carousel__dot{flex:0 0 20px!important;width:20px!important;max-width:20px!important;height:20px!important;border:0!important;border-radius:50%!important;background:#53695d!important;opacity:.65}
html[data-brand="ibg"] body.ibg-site #ministerios .ibg09-carousel-toolbar .ibg-nm-carousel__dot.is-on{width:20px!important;max-width:20px!important;background:#a8cdb9!important;opacity:1}
html[data-brand="ibg"] body.ibg-site #ministerios .ibg09-carousel-toolbar .ibg-nm-carousel__dots{gap:6px!important;max-width:55%!important;flex-wrap:wrap!important}
html[data-brand="ibg"] body.ibg-site .ibg-nm-dialog__panel{background:#222c28!important;color:#edf2ef!important;border:1px solid #5a6f62;max-width:540px;width:calc(100% - 32px);max-height:calc(100dvh - 48px);overflow:auto}
html[data-brand="ibg"] body.ibg-site .ibg-nm-dialog__title{font-family:var(--ibg-font)!important;font-size:clamp(24px,4vw,34px)!important;font-weight:700!important;line-height:1.2!important;color:#edf2ef!important}
html[data-brand="ibg"] body.ibg-site .ibg-nm-dialog__body{color:#c5d3cb!important;line-height:1.6}
/* Keep the QR crisp, white and fully visible. The white quiet zone is necessary. */
html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__stage{width:min(1000px,calc(100% - 48px));grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:clamp(32px,6vw,72px);padding:72px 0;align-items:center}
html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas--noqr .ibg-ofertas__stage{grid-template-columns:minmax(0,720px)}
html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__qr-panel{width:100%;max-width:280px;justify-self:center}
html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__qr-frame{background:#fff;border:0;padding:16px;aspect-ratio:1;max-width:100%}
html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__qr-frame img{width:100%;height:100%;object-fit:contain;aspect-ratio:1}
html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root :is(.ibg-ofertas__eyebrow,.ibg-ofertas__field dt,.ibg-ofertas__scan){color:#b5cbc0}
html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__display-title{color:#8ad0ac!important;font-size:clamp(30px,3.4vw,46px)!important;font-weight:700!important;letter-spacing:-.03em}
html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__field{grid-template-columns:110px minmax(0,1fr);padding:14px 0;gap:14px}
html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__field dd{font-size:15px;line-height:1.5;color:#eef3f0;overflow-wrap:anywhere}
html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root :is(.ibg-ofertas__copy,.ibg-ofertas__cta){background:#344a3e;color:#edf5ef;border:1px solid #698675;border-radius:4px;min-height:48px;flex:0 1 auto;padding:12px 20px;font-weight:500}
html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__copy:hover{background:#446653}
html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__copy.is-copied{background:#2d6848;color:#fff}
html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root :is(.ibg-ofertas__qr-help p,.ibg-ofertas__lead,.ibg-ofertas__note){color:#bac8c0}
/* Sub-brands retain their accents while sharing the dark neutral surfaces and type. */
body.min-static{--min-bg:#161c1d;--min-ink:#edf1ee;--min-soft:#252d30;background:#161c1d;color:#edf1ee}
body.min-static :is(.min-header,.min-footer,.min-drawer,.min-invite){background:#101617;color:#edf1ee}
body.min-static .min-row{border-color:#45514b}
body.min-static .min-row span{color:#b5c2ba}
body.min-static .min-pill--ghost{color:#dbe8e0;border-color:#66796d}
body.min-static .min-chip{background:#26342d;color:#eef3f0}
/* Admin components use one set of dark tokens. */
body.adm :is(.adm-card,.adm-panel,.adm-form,.ev-section){min-width:0}
body.adm :is(.ev-steps button,.ev-steps button.is-on){background:#26312d;color:#edf1ee}
body.adm :is(.ev-steps button b){background:#3e5147;color:#edf1ee}
body.adm :is(.adm-danger,.adm-btn--danger){background:#3b2527;color:#ffb1b1}
body.adm :is(input,textarea,select){color:var(--adm-ink);color-scheme:dark}
body.adm :is(.adm-empty,.adm-note){color:#b5c2ba}
body.adm :is(.adm-msg,[role="status"]){overflow-wrap:anywhere}
body.ibg-registration{--ink:#edf2ef;--muted:#bcc9c2;--line:#41534a;--white:#242e29;--accent:#5dbb8d;--accent-dark:#91d8b4;background:#121718;color:#edf2ef}
body.ibg-registration #formulario{background:#242e29;border-color:#41534a}
body.ibg-registration :is(.control,.review-card,.notice,.upload){background:#1b241f;border-color:#50645a;color:#edf2ef}
body.ibg-registration :is(.intro h1,.review-value strong,.review-card h3,.panel h2){color:#edf2ef}
body.ibg-registration :is(.btn:not(.btn-primary),.choice){background:#2f4035;color:#edf2ef;border-color:#5f7869}
body.ibg-registration .btn-primary{color:#fff;background:#2c7651;border-color:#65a681}
@media(max-width:1100px){
 html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-carousel{--nm-card-gap:18px}
 html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-carousel__track > .ibg-nm-anim{flex-basis:calc((100% - 36px)/3)!important;width:calc((100% - 36px)/3)!important;max-width:calc((100% - 36px)/3)!important}
}
@media(max-width:800px){
 html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-carousel{--nm-card-gap:16px}
 html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-carousel__track > .ibg-nm-anim{flex-basis:calc((100% - 16px)/2)!important;width:calc((100% - 16px)/2)!important;max-width:calc((100% - 16px)/2)!important}
 html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__stage{grid-template-columns:minmax(200px,240px) minmax(0,1fr);gap:28px;width:calc(100% - 40px)}
 html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__field{grid-template-columns:1fr;gap:4px}
}
@media(max-width:600px){
 body{font-size:15px}
 html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm__inner{width:calc(100% - 36px)!important}
 html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__stage{grid-template-columns:minmax(0,1fr);width:calc(100% - 40px);gap:32px;padding:54px 0}
 html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__display{order:-1}
 html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__qr-panel{width:min(100%,240px);margin:auto}
 html[data-brand="ibg"] body.ibg-site #ofertas #ibg-ofertas-root .ibg-ofertas__copy{width:100%;flex-basis:100%}
 body.adm :is(.adm-actions,.adm-field-row){flex-wrap:wrap}
 body.adm .adm-actions > :is(input,select){min-width:0;max-width:100%}
}
@media(max-width:520px){
 html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-carousel__track > .ibg-nm-anim{flex-basis:min(78vw,280px)!important;width:min(78vw,280px)!important;max-width:min(78vw,280px)!important}
 html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-card__media{max-height:330px!important}
}
@media(prefers-reduced-motion:reduce){html[data-brand="ibg"] body.ibg-site #ministerios .ibg-nm-carousel__track{scroll-behavior:auto!important}}

/* Keep visually hidden uploads from inheriting full-width form rules. */
body.adm input.studio-file-off{width:1px!important;min-width:0!important;max-width:1px!important;height:1px!important;padding:0!important;clip-path:inset(50%)}


html[data-brand="ibg"] body.ibg-site .ibg-nm-dialog :is(.ibg-nm-dialog__cat,.ibg-nm-dialog__close-btn){color:#a7dfc0!important;border-color:#6d9d82!important}
