/* Unicenter Core — popups (substituem o JetPopup). Medidas de produção, 05/11/2026. */
.uc-popup[hidden] { display: none !important; }
.uc-popup { position: fixed; inset: 0; z-index: var(--uc-z, 999); display: flex; pointer-events: none; }
.uc-popup .jet-popup__inner { position: relative; display: flex; width: 100%; justify-content: var(--uc-justify, center); align-items: var(--uc-align, center); pointer-events: none; }
.uc-popup .uc-popup__overlay { position: absolute; inset: 0; z-index: 1; background-color: var(--uc-overlay, rgba(0,0,0,.5)); opacity: 0; pointer-events: all; transition: opacity .4s ease; }
.uc-popup.is-open .uc-popup__overlay { opacity: 1; }
.uc-popup .jet-popup__container {
	position: relative; z-index: 2; display: flex; justify-content: center; align-items: stretch;
	width: var(--uc-width, 500px); max-width: 100%; height: var(--uc-height, auto); max-height: 100%;
	pointer-events: all; opacity: 0; outline: none;
}
@media (max-width: 767px) { .uc-popup .jet-popup__container { height: var(--uc-height-mobile, var(--uc-height, auto)); } }
.uc-popup .jet-popup__container-inner {
	position: relative; z-index: 1; display: flex; flex-flow: column; justify-content: flex-start; align-items: stretch;
	width: 100%; overflow: hidden auto; padding: 20px; background-color: var(--uc-bg, #fff); box-shadow: var(--uc-shadow, none);
}
.uc-popup .jet-popup__container-overlay { position: absolute; inset: 0; z-index: 1; }
.uc-popup .jet-popup__container-content { position: relative; z-index: 2; }

/* Botão de fechar */
.uc-popup .uc-popup__close {
	position: absolute; top: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: center;
	width: var(--uc-close-size, 32px); height: var(--uc-close-size, 32px); padding: 0; margin: 0; border: 0; border-radius: 0;
	background: var(--uc-close-bg, #000); color: var(--uc-close-color, #fff); cursor: pointer; transition: .2s;
	transform: translate(var(--uc-close-x, 0), var(--uc-close-y, 0));
}
.uc-popup .uc-popup__close:hover, .uc-popup .uc-popup__close:focus { background: var(--uc-close-bg-h); color: var(--uc-close-color-h); }
.uc-popup .uc-popup__close svg { width: var(--uc-close-icon, 16px); height: auto; fill: currentColor; }

/* Animações (anime.js do JetPopup: abrir 750 ms easeOutQuart, fundido 400 ms; fechar 400 ms easeInQuart) */
.uc-popup .jet-popup__container { transition: transform .75s cubic-bezier(.25, 1, .5, 1), opacity .4s cubic-bezier(.25, 1, .5, 1); }
.uc-popup.is-closing .jet-popup__container { transition: transform .4s cubic-bezier(.5, 0, .75, 0), opacity .4s cubic-bezier(.5, 0, .75, 0); }
.uc-popup--anim-slide-in-up .jet-popup__container { transform: translateY(100vh); }
.uc-popup--anim-slide-in-down .jet-popup__container { transform: translateY(-100vh); }
.uc-popup--anim-slide-in-right .jet-popup__container { transform: translateX(100vw); }
.uc-popup--anim-slide-in-left .jet-popup__container { transform: translateX(-100vw); }
.uc-popup--anim-zoom-in .jet-popup__container { transform: scale(.75); }
.uc-popup.is-open .jet-popup__container { opacity: 1; transform: none; }
.uc-popup.is-closing .jet-popup__container { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .uc-popup .jet-popup__container, .uc-popup .uc-popup__overlay { transition: none !important; } }

.uc-popup-trigger { cursor: pointer; }
.uc-popup-prevent-scroll { overflow: hidden; max-height: 100vh; }

/* Botão «Fechar» dentro do conteúdo (widget jet-popup-action-button) */
.uc-popup-action { display: flex; }
.uc-popup-action .jet-popup-action-button__instance,
.uc-popup-action .jet-popup-action-button__instance:hover,
.uc-popup-action .jet-popup-action-button__instance:focus {
	display: inline-flex; align-items: center; gap: 0; padding: 0; margin: 0; border: 0; border-radius: 0;
	background: transparent; cursor: pointer; font-family: "Inter", sans-serif; font-size: 15px; font-weight: 400; line-height: 1.5;
	color: var(--e-global-color-primary, #002c78); text-decoration: none;
}
.uc-popup-action .jet-popup-action-button__instance:hover { color: var(--e-global-color-accent, #00a5ff); }
.uc-popup-action .jet-popup-action-button__icon { display: inline-flex; margin-left: 10px; font-size: 24px; line-height: 1; }
.uc-popup-action .jet-popup-action-button__icon svg { width: 1em; height: 1em; fill: currentColor; }
@media (max-width: 767px) {
	.uc-popup-action .jet-popup-action-button__instance { font-size: 14px; }
	.uc-popup-action .jet-popup-action-button__icon { font-size: 22px; }
}

/* Popup 284 «Saber mais»: etiqueta «Inscrições Abertas» (widget 5b73061) estava a #212121 sobre o fundo azul
   (também em produção). Texto em branco, como na ficha do curso. */
.elementor-284 .elementor-element-5b73061,
.elementor-284 .elementor-element-5b73061 * { color: var(--e-global-color-b310b5b, #fff) !important; }
