/* ASFEB - Pop-ups por Página */

.asfeb-pop-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: rgba(0, 0, 0, .65);
	opacity: 0;
	transition: opacity .25s ease;
}

.asfeb-pop-overlay.asfeb-pop-aberto {
	opacity: 1;
}

.asfeb-pop-box {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	transform: scale(.96);
	transition: transform .25s ease;
}

.asfeb-pop-overlay.asfeb-pop-aberto .asfeb-pop-box {
	transform: scale(1);
}

.asfeb-pop-img {
	display: block;
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.asfeb-pop-link {
	display: block;
	line-height: 0;
}

.asfeb-pop-fechar {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #14459b;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .15s ease;
}

.asfeb-pop-fechar:hover {
	transform: scale(1.08);
}

.asfeb-pop-fechar:focus-visible {
	outline: 3px solid #93c5fd;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.asfeb-pop-fechar {
		top: 6px;
		right: 6px;
		background: rgba(255, 255, 255, .95);
	}
}

@media (prefers-reduced-motion: reduce) {
	.asfeb-pop-overlay,
	.asfeb-pop-box {
		transition: none;
	}
}
