/* ============================================================
   REVELAÇÃO PDF DOWNLOAD — ESTILOS FRONT-END
   ============================================================ */

/* ---- Wrapper do botão ---- */
.rpd-download-wrap {
	margin: 0 0 28px 0;
}

/* ---- Botão de download ---- */
.rpd-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	background: #c0392b;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	text-decoration: none !important;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
	box-shadow: 0 2px 8px rgba(192, 57, 43, 0.35);
	letter-spacing: 0.3px;
}

.rpd-btn:hover {
	background: #a93226;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(192, 57, 43, 0.45);
}

.rpd-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(192, 57, 43, 0.3);
}

.rpd-btn svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	fill: none;
	stroke: #fff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---- Overlay escuro ---- */
.rpd-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	z-index: 99998;
	align-items: center;
	justify-content: center;
	padding: 20px;
	backdrop-filter: blur(2px);
	animation: rpd-fade-in 0.2s ease;
}

.rpd-overlay.rpd-open {
	display: flex;
}

@keyframes rpd-fade-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* ---- Card do popup ---- */
.rpd-popup {
	background: #fff;
	border-radius: 12px;
	padding: 40px 36px 36px;
	max-width: 440px;
	width: 100%;
	text-align: center;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	animation: rpd-slide-up 0.25s ease;
}

@keyframes rpd-slide-up {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ---- Fechar popup ---- */
.rpd-popup-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 4px;
	transition: color 0.15s, background 0.15s;
}

.rpd-popup-close:hover {
	color: #333;
	background: #f0f0f0;
}

/* ---- Ícone de cadeado ---- */
.rpd-popup-icon {
	font-size: 48px;
	margin-bottom: 16px;
	line-height: 1;
}

/* ---- Título ---- */
.rpd-popup h3 {
	font-size: 22px;
	font-weight: 800;
	color: #1a1a1a;
	margin: 0 0 12px 0;
	line-height: 1.3;
}

/* ---- Texto descritivo ---- */
.rpd-popup p {
	font-size: 15px;
	color: #555;
	line-height: 1.6;
	margin: 0 0 20px 0;
}

/* ---- Botão CTA dentro do popup ---- */
.rpd-popup-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 28px;
	background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	font-family: inherit;
	text-decoration: none !important;
	border-radius: 8px;
	transition: opacity 0.2s, transform 0.15s;
	box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
	margin-bottom: 18px;
}

.rpd-popup-cta:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

/* ---- Linha divisória ---- */
.rpd-popup-divider {
	border: none;
	border-top: 1px solid #eee;
	margin: 0 0 16px 0;
}

/* ---- Link de login ---- */
.rpd-popup-login {
	font-size: 13px;
	color: #777;
	margin: 0 !important;
}

.rpd-popup-login a {
	color: #c0392b;
	font-weight: 600;
	text-decoration: none;
}

.rpd-popup-login a:hover {
	text-decoration: underline;
}

/* ---- Responsivo ---- */
@media (max-width: 480px) {
	.rpd-popup {
		padding: 32px 22px 28px;
	}
	.rpd-popup h3 {
		font-size: 19px;
	}
}
