/**
 * Single /destinos/{slug} — display only.
 * Tokens from the theme. No checkout chrome.
 */

.sl-destino {
	background: var(--sl-surface);
	color: var(--sl-text);
	overflow-x: hidden;
}

.sl-destino-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(20rem, 52vh, 32rem);
	overflow: hidden;
	color: #fff;
	background: var(--sl-dark);
}

.sl-destino-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.sl-destino-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.sl-destino-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		180deg,
		rgba(15, 25, 35, 0.28) 0%,
		rgba(15, 25, 35, 0.45) 45%,
		rgba(15, 25, 35, 0.78) 100%
	);
}

.sl-destino-hero__wave {
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 60px;
	z-index: 2;
	pointer-events: none;
}

.sl-destino-hero__wave path {
	fill: var(--sl-surface);
}

.sl-destino-hero__inner {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: var(--sl-content-width, 72rem);
	margin: 0 auto;
	padding: 8rem 1.25rem 3.5rem;
}

.sl-destino-hero__title {
	margin: 0 0 0.75rem;
	max-width: 40rem;
	font-family: var(--sl-font-heading);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.sl-destino-hero__sub {
	margin: 0 0 1.25rem;
	max-width: 36rem;
	font-size: 1.0625rem;
	line-height: 1.55;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.sl-bloco {
	display: flex;
	align-items: center;
	max-width: var(--sl-content-width, 72rem);
	margin: 0 auto;
	padding: 3rem 1.25rem;
	gap: 0;
	scroll-margin-top: 5.5rem;
}

.sl-bloco__card {
	background: var(--sl-bg);
	padding: 2rem 2.25rem;
	width: 56%;
	position: relative;
	z-index: 2;
	border-radius: 0.25rem;
	box-shadow: 0 12px 34px rgba(40, 55, 70, 0.1);
	margin-right: -3rem;
}

.sl-bloco__titulo {
	margin: 0 0 1rem;
	font-family: var(--sl-font-heading);
	font-size: clamp(1.25rem, 2.4vw, 1.625rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--sl-primary);
}

.sl-bloco__body {
	font-size: 1.0625rem;
	line-height: 1.65;
}

.sl-bloco__body p,
.sl-bloco__body ul,
.sl-bloco__body ol {
	margin: 0 0 0.85rem;
}

.sl-bloco__body p:last-child,
.sl-bloco__body ul:last-child,
.sl-bloco__body ol:last-child {
	margin-bottom: 0;
}

.sl-bloco__body ul,
.sl-bloco__body ol {
	padding-left: 1.25rem;
}

.sl-bloco__body a {
	color: var(--sl-primary);
}

.sl-bloco__body b,
.sl-bloco__body strong {
	color: var(--sl-primary);
}

.sl-bloco__body .btn {
	margin-top: 1rem;
}

.sl-bloco__more {
	margin: 1rem 0 0;
}

.sl-bloco__more a {
	color: var(--sl-primary);
	font-weight: 700;
}

.sl-bloco__media {
	width: 48%;
	position: relative;
	z-index: 1;
}

.sl-bloco__media img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 0.25rem;
}

.sl-specs {
	margin: 0;
}

.sl-specs__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid rgba(73, 95, 118, 0.15);
}

.sl-specs__row:last-child {
	border-bottom: none;
}

.sl-specs dt {
	font-size: 0.95rem;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.sl-specs dd {
	margin: 0;
	font-weight: 700;
	color: var(--sl-primary);
	white-space: nowrap;
}

.sl-specs__desc,
.sl-specs__note {
	font-size: 0.8rem;
	font-weight: 400;
	color: var(--sl-text);
	opacity: 0.8;
}

.sl-galeria-sec {
	max-width: var(--sl-content-width, 72rem);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 2.5rem;
}

.sl-galeria-sec__title {
	margin: 0 0 1.25rem;
	font-family: var(--sl-font-heading);
	font-size: clamp(1.25rem, 2.4vw, 1.625rem);
	font-weight: 700;
	color: var(--sl-primary);
}

.sl-galeria {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.65rem;
}

.sl-galeria__item {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 0.25rem;
	cursor: zoom-in;
}

.sl-galeria__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.sl-galeria__item:hover img,
.sl-galeria__item:focus-visible img {
	transform: scale(1.06);
}

.sl-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(15, 22, 28, 0.88);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 0.85rem;
	z-index: 9999;
	cursor: zoom-out;
	padding: 1.5rem;
}

.sl-lightbox img {
	max-width: 90vw;
	max-height: 82vh;
	border-radius: 0.25rem;
	object-fit: contain;
}

.sl-lightbox__cap {
	color: #fff;
	font-size: 0.9rem;
}

.sl-lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1.25rem;
	color: #fff;
	font-size: 1.875rem;
	line-height: 1;
	background: none;
	border: none;
	cursor: pointer;
}

.sl-saidas {
	max-width: var(--sl-content-width, 72rem);
	margin: 0 auto;
	padding: 1rem 1.25rem 4rem;
	scroll-margin-top: 5.5rem;
}

.sl-saidas__title {
	margin: 0 0 1.25rem;
	font-family: var(--sl-font-heading);
	font-size: clamp(1.25rem, 2.4vw, 1.625rem);
	font-weight: 700;
	color: var(--sl-primary);
}

.sl-saidas__empty {
	margin: 0;
}

.sl-saidas__table {
	width: 100%;
	border-collapse: collapse;
	background: var(--sl-bg);
	border-radius: 0.25rem;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(20, 30, 38, 0.08);
}

.sl-saidas__table th,
.sl-saidas__table td {
	padding: 0.85rem 1rem;
	text-align: left;
	border-bottom: 1px solid rgba(73, 95, 118, 0.12);
}

.sl-saidas__table th {
	font-family: var(--sl-font-heading);
	font-size: 0.85rem;
	color: var(--sl-primary);
	background: rgba(73, 95, 118, 0.06);
}

.sl-saidas__table tr:last-child td {
	border-bottom: none;
}

.sl-saidas__acao {
	white-space: nowrap;
	text-align: right;
}

.sl-saidas__reservar {
	padding: 0.4rem 0.9rem;
	font-size: 0.85rem;
}

.sl-saidas__esgotada {
	font-size: 0.85rem;
	opacity: 0.7;
}

@media (max-width: 47.99rem) {
	.sl-destino-hero__title,
	.sl-destino-hero__sub {
		max-width: 100%;
	}

	.sl-bloco {
		flex-direction: column;
		padding: 2rem 1.25rem;
	}

	.sl-bloco__card,
	.sl-bloco__media {
		width: 100%;
	}

	.sl-bloco__card {
		margin: 0 0 -1.5rem;
	}

	.sl-galeria {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sl-saidas__table th:nth-child(2),
	.sl-saidas__table td:nth-child(2) {
		display: none;
	}
}
