/* Card de Vagas para Elementor */

.cve-card-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
}

.cve-card {
	width: 100%;
	max-width: 340px;
	box-sizing: border-box;
}

.cve-card *,
.cve-card *::before,
.cve-card *::after {
	box-sizing: border-box;
}

.cve-card__panel {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}

/* ---------- Cabeçalho ---------- */

.cve-card__header {
	background-color: #b28a42;
	padding: 34px 24px 30px;
	text-align: center;
}

.cve-card__title {
	margin: 0 0 22px;
	padding: 0;
	color: #fff;
	font-family: Georgia, "Times New Roman", "Playfair Display", serif;
	font-size: 44px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0.01em;
}

.cve-card__price {
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
}

.cve-card__note {
	margin: 4px 0 16px;
	padding: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}

.cve-card__price--alt {
	margin: 0;
}

/* ---------- Benefícios ---------- */

.cve-card__body {
	background-color: #f1f1f1;
	padding: 30px 26px 42px;
}

.cve-card__features {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cve-card__features > li::before,
.cve-card__features > li::marker {
	content: none;
}

.cve-card__feature {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cve-card__feature-icon {
	flex: 0 0 auto;
	font-size: 16px;
	line-height: 1.5;
}

.cve-card__feature-text {
	color: #6b7280;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
}

/* ---------- Botão ---------- */

.cve-card__footer {
	position: relative;
	z-index: 2;
	display: flex;
	margin-top: -6px;
	padding: 0 20px;
}

.cve-card__btn {
	position: relative;
	overflow: hidden;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: visible;
	opacity: 1;
	background-color: #b28a42;
	color: #fff;
	padding: 19px 18px;
	border: 0;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cve-card__btn:hover,
.cve-card__btn:focus-visible {
	background-color: #9b762f;
	color: #fff;
	text-decoration: none;
}

.cve-card__btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* ---------- Brilho passando no botão ---------- */

.cve-card__btn-label {
	position: relative;
	z-index: 1;
	display: block;
}

.cve-card__btn--shine::after {
	content: "";
	position: absolute;
	top: -25%;
	bottom: -25%;
	left: -80%;
	right: auto;
	z-index: 2;
	width: var(--cve-shine-width, 55%);
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0) 0%,
		var(--cve-shine-color, rgba(255, 255, 255, 0.5)) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: skewX(var(--cve-shine-angle, -20deg));
	animation-name: cve-shine;
	animation-duration: var(--cve-shine-duration, 3.2s);
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	pointer-events: none;
}

/* Sem var() dentro do keyframes: anima apenas "left", que funciona
   em qualquer navegador independentemente das custom properties. */
@keyframes cve-shine {
	0% {
		left: -80%;
	}
	45% {
		left: 180%;
	}
	100% {
		left: 180%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cve-card__btn {
		transition: none;
	}

	.cve-card__btn--shine::after {
		animation: none;
		opacity: 0;
	}
}

/* ---------- Responsivo ---------- */

@media (max-width: 480px) {
	.cve-card__title {
		font-size: 38px;
	}
}
