/* FW Pop-up Telemedicina */
.fwpt-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, .8);
	opacity: 0;
	transition: opacity .25s ease;
}
.fwpt-overlay[hidden] { display: none; }
.fwpt-overlay.is-open { opacity: 1; }

.fwpt-modal {
	position: relative;
	width: 90%;
	max-width: 600px;
	max-height: calc(100vh - 40px);
	background: #fff;
	border-radius: 7px;
	box-shadow: 0 0 25px rgba(0, 0, 0, .35);
	transform: translateY(12px);
	transition: transform .25s ease;
	outline: none;
	display: flex;
}
.fwpt-overlay.is-open .fwpt-modal { transform: none; }

.fwpt-body {
	padding: 12px 16px 24px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	width: 100%;
	color: #1d306b;
}

.fwpt-overlay .fwpt-close {
	position: absolute !important;
	top: -18px;
	right: -18px;
	width: 36px !important;
	height: 36px !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 3px solid #fff !important;
	border-radius: 50% !important;
	background: #2b2b2b !important;
	color: #fff !important;
	font-size: 0 !important;
	line-height: 0 !important;
	cursor: pointer;
	box-shadow: 0 1px 6px rgba(0, 0, 0, .45) !important;
	outline: none;
	z-index: 2;
	transition: background-color .2s ease;
}
.fwpt-overlay .fwpt-close:hover { background: #ed9724 !important; }
.fwpt-overlay .fwpt-close:focus-visible {
	outline: 2px solid #ed9724;
	outline-offset: 2px;
}

/* X desenhado em CSS (não depende de ícone/SVG) */
.fwpt-overlay .fwpt-x {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 14px;
	transform: translate(-50%, -50%);
	display: block;
	pointer-events: none;
}
.fwpt-overlay .fwpt-x::before,
.fwpt-overlay .fwpt-x::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 3px;
	margin-top: -1.5px;
	background: #fff;
	border-radius: 2px;
}
.fwpt-overlay .fwpt-x::before { transform: rotate(45deg); }
.fwpt-overlay .fwpt-x::after  { transform: rotate(-45deg); }

.fwpt-title {
	margin: 10px 0 18px !important;
	font-size: 28px;
	line-height: 1.25;
	font-weight: 700 !important;
	color: #1d306b;
}

.fwpt-content,
.fwpt-content p,
.fwpt-content li {
	font-size: 17px;
	line-height: 1.55;
	color: #1d306b;
}
.fwpt-content ol,
.fwpt-content ul {
	margin: 0 0 10px;
	padding-left: 3em;
}
.fwpt-content li { margin-bottom: 2px; }
.fwpt-content a { color: #ed9724; text-decoration: none; }
.fwpt-content a:hover { text-decoration: underline; }

.fwpt-cta {
	margin: 26px 0 0;
	text-align: center;
}
.fwpt-wa-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 10px 30px;
	border-radius: 30px;
	background: #16b79c;
	color: #1d306b !important;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	line-height: 1.5;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
	transition: transform .2s ease, box-shadow .2s ease;
}
.fwpt-wa-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

body.fwpt-lock { overflow: hidden; }

@media (max-width: 600px) {
	.fwpt-modal { width: 100%; }
	.fwpt-overlay .fwpt-close { top: -14px; right: -8px; }
	.fwpt-title { font-size: 22px; }
	.fwpt-content,
	.fwpt-content p,
	.fwpt-content li { font-size: 15px; }
	.fwpt-content ol,
	.fwpt-content ul { padding-left: 1.6em; }
	.fwpt-wa-btn { font-size: 17px; padding: 10px 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.fwpt-overlay,
	.fwpt-modal { transition: none; }
}
