/*
 * VCC Viagens 1.5.0
 * Cards dinâmicos reproduzindo o visual existente da seção "Destinos".
 * A seção/títulos continuam sendo controlados no Elementor.
 */

.vcc-destinos-grid {
	--vcc-columns: 3;
	--petroleo: #073242;
	--vinho: #21010c;
	--vinho-2: #2b0512;
	--bordo: #8b2147;
	--rosa: #ec1a57;
	--rosa-claro: #f56589;
	--bege: #e8d3c2;
	--branco: #ffffff;

	display: grid;
	grid-template-columns: repeat(var(--vcc-columns), minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

.vcc-destino-card {
	position: relative;
	min-height: 430px;
	border-radius: 30px;
	overflow: hidden;
	isolation: isolate;
	background: var(--bege);
	border: 1px solid rgba(139, 33, 71, 0.14);
	box-shadow:
		0 18px 44px rgba(33, 1, 12, 0.10),
		inset 0 1px 0 rgba(255, 255, 255, 0.75);
	transition:
		transform .30s ease,
		box-shadow .30s ease,
		border-color .30s ease;
}

/* Destaques: mesmo visual/base, porém com presença maior ao redor do card. */
.vcc-destinos-grid--featured .vcc-destino-card {
	border-color: rgba(236, 26, 87, 0.34);
	box-shadow:
		0 20px 48px rgba(33, 1, 12, 0.13),
		0 0 0 4px rgba(236, 26, 87, 0.075),
		0 0 34px rgba(236, 26, 87, 0.10),
		inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.vcc-destino-card:hover {
	transform: translateY(-8px);
	border-color: rgba(236, 26, 87, 0.28);
	box-shadow:
		0 28px 58px rgba(33, 1, 12, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.vcc-destinos-grid--featured .vcc-destino-card:hover {
	border-color: rgba(236, 26, 87, 0.48);
	box-shadow:
		0 30px 62px rgba(33, 1, 12, 0.18),
		0 0 0 5px rgba(236, 26, 87, 0.10),
		0 0 42px rgba(236, 26, 87, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.vcc-destino-card__media {
	position: absolute;
	inset: 0;
	z-index: -3;
	display: grid;
	place-items: center;
	background-image:
		var(--destino-bg),
		linear-gradient(145deg, #efd6d8 0%, #d9b7bd 46%, #bea0a6 100%);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transform: scale(1.01);
	transition: transform .50s ease;
}

.vcc-destino-card:hover .vcc-destino-card__media {
	transform: scale(1.06);
}

.vcc-destino-card__placeholder {
	padding: 10px 14px;
	border-radius: 999px;
	font-size: 12px;
	line-height: 1;
	font-style: italic;
	color: rgba(7, 50, 66, 0.66);
	background: rgba(255, 255, 255, 0.44);
	border: 1px solid rgba(255, 255, 255, 0.50);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.vcc-destino-card.is-ready .vcc-destino-card__placeholder {
	display: none;
}

.vcc-destino-card__overlay {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(
			180deg,
			rgba(33, 1, 12, 0.02) 0%,
			rgba(33, 1, 12, 0.04) 38%,
			rgba(33, 1, 12, 0.28) 60%,
			rgba(33, 1, 12, 0.82) 100%
		);
}

.vcc-destino-card__content {
	min-height: 430px;
	padding: 26px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
}

.vcc-destino-card__date {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 13px;
	padding: 9px 12px;
	border-radius: 999px;
	font-size: 13px;
	line-height: 1;
	font-weight: 600;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
	-webkit-backdrop-filter: blur(14px) saturate(130%);
	backdrop-filter: blur(14px) saturate(130%);
}

.vcc-destino-card__date-icon {
	width: 18px;
	height: 18px;
	display: grid;
	place-items: center;
	color: var(--rosa-claro);
}

.vcc-destino-card__date-icon svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vcc-destino-card__title {
	max-width: 92%;
	margin: 0 !important;
	padding: 0 !important;
	font-size: clamp(24px, 2.3vw, 31px);
	line-height: 1.08;
	letter-spacing: -0.035em;
	font-weight: 800;
	color: #ffffff !important;
	text-wrap: balance;
	text-shadow: 0 7px 22px rgba(33, 1, 12, 0.38);
}

.vcc-destino-card__button {
	min-height: 50px;
	margin-top: 20px;
	padding: 0 12px 0 18px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	border-radius: 999px;
	text-decoration: none !important;
	background: #ffffff;
	color: var(--petroleo) !important;
	font-size: 14px;
	font-weight: 800;
	box-shadow: 0 12px 28px rgba(33, 1, 12, 0.20);
	transition:
		background-color .24s ease,
		color .24s ease,
		transform .24s ease,
		box-shadow .24s ease;
}

.vcc-destino-card__button-arrow {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(7, 50, 66, 0.08);
	transition:
		background-color .24s ease,
		transform .24s ease;
}

.vcc-destino-card__button-arrow svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vcc-destino-card__button:hover {
	background: var(--rosa);
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(236, 26, 87, 0.30);
}

.vcc-destino-card__button:hover .vcc-destino-card__button-arrow {
	background: rgba(255, 255, 255, 0.16);
	transform: translateX(2px);
}

.vcc-destino-card__button:active {
	transform: translateY(0) scale(.98);
}



/* Contagem regressiva exibida somente nos 15 dias anteriores à saída */
.vcc-destino-card__countdown {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100% - 36px);
	padding: 10px 12px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(236, 26, 87, .98), rgba(139, 33, 71, .98));
	border: 1px solid rgba(255, 255, 255, .28);
	box-shadow: 0 14px 32px rgba(33, 1, 12, .26), 0 0 0 3px rgba(255,255,255,.10);
	color: #fff;
	-webkit-backdrop-filter: blur(10px) saturate(130%);
	backdrop-filter: blur(10px) saturate(130%);
}

.vcc-destino-card__countdown-icon {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: rgba(255,255,255,.16);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}

.vcc-destino-card__countdown-icon svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vcc-destino-card__countdown-copy {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.vcc-destino-card__countdown-copy small {
	display: block;
	margin: 0;
	font-size: 10px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	opacity: .86;
}

.vcc-destino-card__countdown-copy strong {
	display: block;
	margin: 0;
	font-size: 14px;
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -.02em;
	white-space: nowrap;
}

@media (max-width: 980px) {

	.vcc-destinos-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.vcc-destinos-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.vcc-destino-card,
	.vcc-destino-card__content {
		min-height: 380px;
	}

	.vcc-destino-card {
		border-radius: 25px;
	}

	.vcc-destino-card__content {
		padding: 22px;
	}

	.vcc-destino-card__title {
		font-size: 26px;
	}

	.vcc-destino-card__date {
		font-size: 12.5px;
	}

	.vcc-destino-card__countdown {
		top: 14px;
		right: 14px;
		left: 14px;
		max-width: calc(100% - 28px);
		padding: 9px 11px;
		border-radius: 14px;
		gap: 9px;
	}

	.vcc-destino-card__countdown-icon {
		width: 30px;
		height: 30px;
		flex-basis: 30px;
		border-radius: 10px;
	}

	.vcc-destino-card__countdown-copy small {
		font-size: 9px;
	}

	.vcc-destino-card__countdown-copy strong {
		font-size: 13px;
	}

	.vcc-destinos-grid--featured .vcc-destino-card {
		box-shadow:
			0 18px 42px rgba(33, 1, 12, 0.14),
			0 0 0 3px rgba(236, 26, 87, 0.075),
			0 0 26px rgba(236, 26, 87, 0.09),
			inset 0 1px 0 rgba(255, 255, 255, 0.78);
	}
}



/* =========================================================
   Navegação das listas de viagens
   Destaques e próximas viagens permanecem carregados e são
   paginados visualmente no front-end.
   ========================================================= */

.vcc-trip-browser {
	width: 100%;
}

.vcc-destino-card.is-vcc-hidden {
	display: none !important;
}

.vcc-featured-controls {
	width: 100%;
	margin-top: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.vcc-featured-control,
.vcc-featured-view-all {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	font: inherit;
	cursor: pointer;
}

.vcc-featured-control {
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	display: grid;
	place-items: center;
	border-radius: 18px;
	background: rgba(255,255,255,.94);
	color: var(--petroleo);
	border: 1px solid rgba(139, 33, 71, .14);
	box-shadow: 0 12px 28px rgba(33, 1, 12, .09);
	transition: transform .22s ease, background .22s ease, color .22s ease, opacity .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.vcc-featured-control svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vcc-featured-control:hover:not(:disabled) {
	transform: translateY(-2px);
	background: var(--petroleo);
	color: #fff;
	border-color: var(--petroleo);
	box-shadow: 0 16px 34px rgba(7, 50, 66, .18);
}

.vcc-featured-control:disabled {
	cursor: default;
	opacity: .40;
	box-shadow: none;
	background: rgba(255,255,255,.74);
}

.vcc-featured-view-all {
	min-height: 52px;
	padding: 8px 10px 8px 18px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	border-radius: 18px;
	background: rgba(255,255,255,.94);
	color: var(--petroleo);
	border: 1px solid rgba(139, 33, 71, .14);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 12px 28px rgba(33, 1, 12, .09);
	transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.vcc-featured-view-all:hover {
	transform: translateY(-2px);
	background: var(--petroleo);
	color: #fff;
	border-color: var(--petroleo);
	box-shadow: 0 16px 34px rgba(7, 50, 66, .18);
}

.vcc-featured-view-all__label {
	white-space: nowrap;
}

.vcc-featured-view-all__count {
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--rosa) 0%, var(--bordo) 100%);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 10px 22px rgba(236, 26, 87, .16);
}

.vcc-featured-pages {
	min-height: 42px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border-radius: 999px;
	background: rgba(255,255,255,.74);
	border: 1px solid rgba(139, 33, 71, .10);
	color: rgba(7, 50, 66, .70);
	font-size: 12px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	box-shadow: 0 8px 20px rgba(33, 1, 12, .05);
}

.vcc-featured-pages__current,
.vcc-featured-pages__total {
	color: var(--petroleo);
}

.vcc-featured-pages__separator {
	opacity: .52;
	text-transform: lowercase;
}

.vcc-featured-pages[aria-hidden="true"] {
	display: none;
}

.vcc-trip-browser.is-expanded .vcc-featured-controls {
	margin-top: 30px;
}

.vcc-trip-browser.is-expanded .vcc-featured-control,
.vcc-trip-browser.is-expanded .vcc-featured-pages {
	display: none;
}

.vcc-trip-browser.is-expanded .vcc-featured-view-all {
	background: var(--petroleo);
	color: #fff;
	border-color: var(--petroleo);
	box-shadow: 0 16px 34px rgba(7, 50, 66, .18);
}

.vcc-trip-browser.is-expanded .vcc-featured-view-all:hover {
	background: var(--rosa);
	border-color: var(--rosa);
	box-shadow: 0 16px 34px rgba(236, 26, 87, .24);
}

@media (max-width: 640px) {
	.vcc-featured-controls {
		margin-top: 22px;
		gap: 8px;
	}

	.vcc-featured-control {
		width: 44px;
		height: 44px;
		flex-basis: 44px;
		border-radius: 14px;
	}

	.vcc-featured-view-all {
		min-height: 44px;
		padding: 8px 10px 8px 14px;
		gap: 8px;
		font-size: 12px;
		border-radius: 14px;
	}

	.vcc-featured-view-all__count {
		min-width: 28px;
		height: 28px;
		padding: 0 8px;
		border-radius: 10px;
		font-size: 11px;
	}

	.vcc-featured-pages {
		min-height: 38px;
		padding: 0 11px;
		font-size: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vcc-destino-card,
	.vcc-destino-card__media,
	.vcc-destino-card__button,
	.vcc-destino-card__button-arrow,
	.vcc-featured-control,
	.vcc-featured-view-all {
		transition: none !important;
	}
}
