
:root{--green-950:#153d33;--green-900:#245447;--green-800:#2c6051;--green-700:#346c5b;--green-100:#edf2ee;--gold:#ac9055;--paper:#fff;--cream:#f5f6f3;--ink:#24332e;--muted:#616d66;--line:#dce3dd}
body.home-refinement{--home-accent:#245447}
body .hero,body.home-refinement .hero{background:#214b40!important;background-image:none!important;color:#fff}
body .hero h1,body .hero p,body .hero .emec-link{color:#fff!important}
body .hero .banner-entry-value{color:#e7d5aa!important}
body .hero .button--light{background:#f4f1e8!important;color:#214b40!important}
body .home-strip--blue,body .resource-visual{background:#263f55!important}
body .polo-invitation{background:#263f55!important}
body .site-footer{background:#f1f4ef;border-top:2px solid #ac9055}
.brand-logo-frame{background:transparent!important;width:auto!important;height:auto!important}
.brand-crest{display:flex;align-items:center;gap:10px;color:#245447}
.brand-crest img{width:74px!important;height:74px!important;object-fit:contain}
.brand-crest b{font:800 25px Arial;letter-spacing:-.8px}.brand-crest small{display:block;font:9px Arial;letter-spacing:2.3px;margin-top:5px;color:#596860}
:focus-visible{outline-color:#263f55!important}
@media(max-width:600px){.brand-crest{gap:6px}.brand-crest img{width:54px!important;height:54px!important}.brand-crest b{font-size:18px}.brand-crest small{font-size:7px;letter-spacing:1.5px}}

/* Refinamento v2: base clara, azul institucional e verde pontual. */
:root{--green-950:#152b48;--green-900:#1d614e;--green-800:#174c3e;--green-700:#21634f;--green-100:#edf3ef;--gold:#b5924c;--paper:#fff;--cream:#f6f5f1;--ink:#23344a;--muted:#66717b;--line:#e2e5e5}
body.home-refinement{--home-accent:#1d614e;color:#23344a;background:#fff}
body.home-refinement main{background:#fff}
body .hero,body.home-refinement .hero{background:#f4f2eb!important;color:#152b48!important;border-bottom:1px solid #e4e1d7}
body .hero h1{color:#152b48!important}
body .hero p,body .hero .emec-link{color:#435268!important}
body .hero .ead-badge{background:#fff!important;border-color:#d6dfd7!important;color:#1d614e!important}
body .hero .banner-entry-value{color:#1d614e!important}
body .hero .banner-entry-value strong,body .hero .banner-entry-value span,body .hero .banner-entry-value sup{color:#1d614e!important}
body .hero .banner-entry-action .button{background:#1d614e!important;color:#fff!important;box-shadow:none!important}
body .hero .banner-entry-action small,body .hero .banner-entry-action small a{color:#52606c!important}
body.home-refinement main h2,body .home-featured-grid h3,body .formation-title{color:#152b48!important}
body.home-refinement #formacoes-home,body.home-refinement #destaques-home{background:#f5f6f5!important}
body .home-strip:not(.home-strip--blue){background:#edf3ef!important}
body .home-strip--blue,body .resource-visual{background:#1a324e!important;color:#fff!important}
body .home-strip--blue h2,body .resource-visual h3{color:#fff!important}
body .home-strip--blue .course-primary{background:#e8d7ac!important;color:#152b48!important}
body .polo-invitation{background:#1a324e!important;color:white}
body .site-footer{background:#f5f6f5!important;border-top:2px solid #b5924c;color:#23344a}
.brand-crest,.brand-crest b{color:#152b48!important}
body .utility-bar{background:#f6f7f7!important}
body a:hover{filter:none}

/* v3: recuperar o laranja da identidade publicada em acentos pontuais. */
:root{--brand-orange:#f4511e;--brand-orange-ink:#b83b14}
body .home-goal-icon{color:var(--brand-orange)!important}
body .home-carousel-controls button{color:var(--brand-orange-ink)!important;border-color:#edc7b8!important;background:#fff!important}
body .home-carousel-controls button:hover{background:#fff3ed!important}
body .home-kicker{color:var(--brand-orange-ink)!important}
body .home-formations summary::after{color:var(--brand-orange)!important}
body .site-footer{border-top-color:#e6774d!important}

/* A marca composta precisa da largura do nome, sem o recorte da antiga imagem. */
body .brand-logo-frame,body.home-refinement .site-header .brand-logo-frame{width:max-content!important;max-width:none!important;height:auto!important;aspect-ratio:auto!important;overflow:visible!important;flex:none}
.brand-crest{width:max-content;flex-shrink:0;white-space:nowrap}
.brand-crest img,.brand-crest>span{flex-shrink:0}
@media(max-width:700px){
 body.home-refinement .header-inner{flex-wrap:wrap!important}
 body.home-refinement .header-inner>.brand{flex:1 0 auto!important;min-width:max-content!important}
 body .brand-crest img{width:48px!important;height:48px!important}
 body .brand-crest b{font-size:18px!important}
 body .brand-crest small{font-size:7px;letter-spacing:1.3px}
}
@media(max-width:430px){
 body.home-refinement .header-inner>.nav-cta{margin-left:36px!important;padding:11px 18px!important}
}

/* Centralizar a assinatura institucional no rodapé. */
body .site-footer .footer-brand-group{display:flex;flex-direction:column;align-items:center;text-align:center;width:100%;min-width:0}
body .site-footer .brand--footer{align-self:center;justify-content:center;margin-inline:auto}
body .site-footer .footer-brasao{display:block;align-self:center;margin-inline:auto}

/* Evitar repetir o brasão na assinatura do rodapé. */
body .site-footer .brand-crest>img{display:none!important}
.carcara-sound{display:flex;flex-direction:column;align-items:center;gap:8px;background:transparent;border:0;padding:0;color:#435268;cursor:pointer;font:inherit;margin:0 auto}
.carcara-sound span{font-size:12px}.carcara-sound:hover{color:#1d614e}.carcara-sound:focus-visible{outline:2px solid #1d614e;outline-offset:6px;border-radius:8px}
.carcara-credit{font-size:11px;color:#66717b;max-width:260px;margin:8px auto 0;text-align:center}.carcara-credit summary{cursor:pointer}.carcara-credit p{font-size:11px}.carcara-status{font-size:12px;max-width:240px}

/* Pop-up: contraste claro e acentos mais vivos. */
body dialog.fac-exit>header{background:#123d68!important;border-bottom:4px solid #ff742e}
body dialog.fac-exit>header small{color:#ffca83!important}
body dialog.fac-exit>header h2,body dialog.fac-exit>header p{color:#fff!important}
body dialog.fac-exit .fac-exit-close{color:#fff!important;background:transparent!important;border:0}
body dialog.fac-exit .fac-exit-next,body dialog.fac-exit .fac-exit-submit{background:#c9440b!important;color:#fff!important;border-color:#c9440b!important;box-shadow:0 4px 12px rgb(201 68 11 / 18%)}
body dialog.fac-exit .fac-exit-next:hover,body dialog.fac-exit .fac-exit-submit:hover{background:#ad3707!important}
body dialog.fac-exit input:focus{outline:2px solid #df681f;outline-offset:2px;border-color:#df681f}

/* Cabeçalho promocional mais chamativo, solicitado na prévia. */
body dialog.fac-exit>header{background:#e74b0b!important;border-bottom:4px solid #ffb43b}
body dialog.fac-exit>header small{color:#fff!important}
body dialog.fac-exit>header h2,body dialog.fac-exit>header p{color:#fff!important}

/* Marca maior no cabeçalho, com dimensões adaptadas às telas menores. */
body .site-header .brand-crest{gap:12px}
body .site-header .brand-crest img{width:92px!important;height:92px!important}
body .site-header .brand-crest b{font-size:30px!important;letter-spacing:-.9px}
body .site-header .brand-crest small{font-size:10px;letter-spacing:2px}
@media(max-width:700px){
 body .site-header .brand-crest{gap:8px}
 body .site-header .brand-crest img{width:68px!important;height:68px!important}
 body .site-header .brand-crest b{font-size:23px!important;letter-spacing:-.6px}
 body .site-header .brand-crest small{font-size:8px;letter-spacing:1.4px}
}
@media(max-width:360px){
 body .site-header .brand-crest{gap:6px}
 body .site-header .brand-crest img{width:58px!important;height:58px!important}
 body .site-header .brand-crest b{font-size:21px!important}
 body .site-header .brand-crest small{font-size:7px;letter-spacing:1.2px}
}

/* Cabeçalho: nome acima e brasão destacado abaixo, centralizados. */
body .site-header .brand-crest{flex-direction:column;align-items:center;gap:10px;text-align:center}
body .site-header .brand-crest>span{order:0}
body .site-header .brand-crest>img{order:1;width:112px!important;height:112px!important}
body .site-header .brand-crest small{text-align:center}
body .site-header .brand{justify-content:center}
@media(max-width:700px){
 body.home-refinement .header-inner{position:relative;justify-content:center!important}
 body.home-refinement .header-inner>.brand{flex:0 1 100%!important;min-width:0!important;width:100%;justify-content:center}
 body.home-refinement .header-inner .home-mobile-menu{position:absolute;left:16px;top:16px}
 body.home-refinement .header-inner>.nav-cta{margin:0 auto!important}
 body .site-header .brand-crest{gap:8px}
 body .site-header .brand-crest>img{width:110px!important;height:110px!important}
}
