/* ==========================================================================
   COMPONENTS — botões, ícones, cards, formulários, carrossel, lightbox...
   ========================================================================== */

@layer components {
	/* Ícones -------------------------------------------------------------- */
	.icon {
		flex-shrink: 0;
		width: 1.25em;
		height: 1.25em;
	}

	.logo__img--invert {
		filter: brightness(0) invert(1);
	}

	/* Sobretítulo --------------------------------------------------------- */
	.eyebrow {
		display: inline-flex;
		align-items: center;
		gap: 0.75rem;
		margin: 0 0 1rem;
		color: var(--c-petroleo);
		font-family: var(--font-display);
		font-size: var(--fs-xs);
		font-weight: 600;
		letter-spacing: 0.22em;
		text-transform: uppercase;
	}

	.eyebrow::before {
		content: "";
		width: 32px;
		height: 2px;
		background: var(--c-turquesa);
	}

	.eyebrow--light {
		color: #fff;
	}

	@media (max-width: 560px) {
		.eyebrow {
			gap: 0.5rem;
			letter-spacing: 0.16em;
		}

		.eyebrow::before,
		.eyebrow::after {
			width: 18px !important;
			flex-shrink: 0;
		}
	}

	.section-heading--center .eyebrow::after {
		content: "";
		width: 32px;
		height: 2px;
		background: var(--c-turquesa);
	}

	/* Botões -------------------------------------------------------------- */
	.btn {
		--btn-bg: var(--c-primary);
		--btn-fg: #fff;
		--btn-bd: var(--btn-bg);

		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.6rem;
		min-height: 48px;
		padding: 0.75rem 1.5rem;
		border: 1.5px solid var(--btn-bd);
		border-radius: var(--radius-pill);
		background: var(--btn-bg);
		color: var(--btn-fg);
		font-family: var(--font-display);
		font-size: 0.875rem;
		font-weight: 600;
		letter-spacing: 0.04em;
		line-height: 1.2;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
		white-space: nowrap;
		transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
	}

	.btn:hover {
		color: var(--btn-fg);
		transform: translateY(-2px);
		box-shadow: var(--shadow);
	}

	.btn .icon {
		width: 18px;
		height: 18px;
		transition: transform var(--dur) var(--ease);
	}

	.btn:hover .icon-arrow-right {
		transform: translateX(3px);
	}

	.btn--primary:hover { --btn-bg: var(--c-primary-hover); }

	.btn--accent {
		--btn-bg: var(--c-accent);
		--btn-fg: var(--c-petroleo-900);
	}

	.btn--accent:hover { --btn-bg: var(--c-accent-hover); }

	.btn--outline {
		--btn-bg: transparent;
		--btn-fg: var(--c-primary);
		--btn-bd: currentColor;
	}

	.btn--outline:hover {
		--btn-bg: var(--c-primary);
		--btn-fg: #fff;
		--btn-bd: var(--c-primary);
	}

	.btn--ghost {
		--btn-bg: rgb(255 255 255 / 0.08);
		--btn-fg: #fff;
		--btn-bd: rgb(255 255 255 / 0.6);
		backdrop-filter: blur(6px);
	}

	.btn--ghost:hover {
		--btn-bg: #fff;
		--btn-fg: var(--c-petroleo-900);
		--btn-bd: #fff;
	}

	.btn--whatsapp {
		--btn-bg: var(--c-whatsapp);
	}

	.btn--sm {
		min-height: 40px;
		padding: 0.5rem 1.1rem;
		font-size: 0.78rem;
	}

	.btn--lg {
		min-height: 56px;
		padding: 1rem 2rem;
		font-size: 0.9375rem;
	}

	.btn--block {
		width: 100%;
	}

	.link-arrow {
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
		color: var(--c-primary);
		font-family: var(--font-display);
		font-size: 0.875rem;
		font-weight: 600;
		text-decoration: none;
	}

	.link-arrow .icon {
		width: 16px;
		transition: transform var(--dur) var(--ease);
	}

	.link-arrow:hover .icon,
	.promo-card:hover .link-arrow .icon {
		transform: translateX(4px);
	}

	.actions {
		display: flex;
		flex-wrap: wrap;
		gap: 0.75rem;
		margin-top: 2rem;
	}

	.actions--center {
		justify-content: center;
	}

	.section-actions {
		display: flex;
		justify-content: center;
		margin-top: 3rem;
	}

	.round-btn {
		display: grid;
		place-items: center;
		width: 52px;
		height: 52px;
		border: 1.5px solid var(--c-line);
		border-radius: 50%;
		background: #fff;
		color: var(--c-ink);
		transition: all var(--dur) var(--ease);
	}

	.round-btn:hover {
		border-color: var(--c-primary);
		background: var(--c-primary);
		color: #fff;
	}

	/* Redes sociais ------------------------------------------------------- */
	.social {
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.social a {
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		border: 1px solid var(--c-line);
		border-radius: 50%;
		color: var(--c-primary);
		transition: all var(--dur) var(--ease);
	}

	.social a:hover {
		border-color: var(--c-primary);
		background: var(--c-primary);
		color: #fff;
	}

	.social .icon {
		width: 18px;
		height: 18px;
	}

	/* Lista de contatos --------------------------------------------------- */
	.contact-list {
		display: grid;
		gap: 0.9rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.contact-list li {
		display: flex;
		gap: 0.75rem;
		align-items: flex-start;
	}

	.contact-list__icon {
		width: 20px;
		height: 20px;
		margin-top: 0.2em;
		color: var(--c-primary);
	}

	.contact-list small {
		display: block;
		color: var(--c-muted);
		font-size: var(--fs-xs);
		letter-spacing: 0.06em;
		text-transform: uppercase;
	}

	.contact-list a {
		color: inherit;
		text-decoration: none;
	}

	.contact-list a:hover {
		color: var(--c-primary);
	}

	/* Cabeçalho de seção -------------------------------------------------- */
	.section-heading {
		max-width: 720px;
		margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
	}

	.section-heading--center {
		margin-inline: auto;
		text-align: center;
	}

	.section-heading--left {
		margin-bottom: 1.75rem;
	}

	.section-heading__title {
		margin-bottom: 0.4em;
	}

	.section-heading__text {
		margin: 0;
		color: var(--c-muted);
		font-size: var(--fs-lg);
	}

	/* Texto rico ---------------------------------------------------------- */
	.prose > :first-child { margin-top: 0; }
	.prose > :last-child { margin-bottom: 0; }

	.prose h2 { font-size: var(--fs-h3); margin-top: 2em; }
	.prose h3 { font-size: var(--fs-h4); margin-top: 1.75em; }

	.prose ul {
		padding-left: 0;
		list-style: none;
	}

	.prose ul li {
		position: relative;
		margin-bottom: 0.5em;
		padding-left: 1.5em;
	}

	.prose ul li::before {
		content: "";
		position: absolute;
		left: 0.2em;
		top: 0.7em;
		width: 7px;
		height: 7px;
		border-radius: 50%;
		background: var(--c-turquesa);
	}

	.prose img {
		border-radius: var(--radius);
	}

	.prose blockquote {
		margin: 2em 0;
		padding: 1.5rem 1.75rem;
		border-left: 4px solid var(--c-turquesa);
		background: var(--c-areia);
		border-radius: 0 var(--radius) var(--radius) 0;
		font-size: var(--fs-lg);
	}

	.prose--lg {
		font-size: var(--fs-lg);
	}

	.lead {
		color: var(--c-ink);
		font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
		line-height: 1.6;
	}

	/* Checklist ----------------------------------------------------------- */
	.checklist {
		display: grid;
		gap: 0.85rem;
		margin: 1.75rem 0 0;
		padding: 0;
		list-style: none;
	}

	.checklist li {
		display: flex;
		gap: 0.75rem;
		align-items: flex-start;
		color: var(--c-ink);
		font-weight: 500;
	}

	.checklist .icon {
		width: 30px;
		height: 30px;
		padding: 6px;
		border-radius: 50%;
		background: var(--c-turquesa-100);
		color: var(--c-petroleo);
	}

	.checklist--compact {
		gap: 0.6rem;
		margin-top: 0;
	}

	.checklist--compact li {
		font-weight: 400;
		color: var(--c-text);
	}

	.checklist--compact .icon {
		width: 22px;
		height: 22px;
		padding: 4px;
		margin-top: 0.15em;
	}

	.checklist--columns {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		margin-bottom: 2.5rem;
	}

	/* Specs (acomodação) -------------------------------------------------- */
	.specs {
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem 1.25rem;
		margin: 0 0 1rem;
		padding: 0;
		list-style: none;
		color: var(--c-muted);
		font-size: var(--fs-sm);
	}

	.specs li {
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
	}

	.specs .icon {
		width: 18px;
		height: 18px;
		color: var(--c-petroleo);
	}

	.specs--lg {
		gap: 0.75rem;
		margin-bottom: 2rem;
		font-size: var(--fs-base);
	}

	.specs--lg li {
		padding: 0.6rem 1rem;
		border: 1px solid var(--c-line);
		border-radius: var(--radius-pill);
		color: var(--c-ink);
	}

	/* Grade de cards ------------------------------------------------------ */
	.cards-grid {
		display: grid;
		grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
		gap: clamp(1.25rem, 2.5vw, 2rem);
	}

	.cards-grid--1 { --n: 1; max-width: 760px; margin-inline: auto; }
	.cards-grid--2 { --n: 2; max-width: 1000px; margin-inline: auto; }
	.cards-grid--3 { --n: 3; }

	@media (max-width: 1024px) {
		.cards-grid--3 { --n: 2; }
	}

	@media (max-width: 680px) {
		.cards-grid { --n: 1 !important; }
	}

	/* Card de acomodação -------------------------------------------------- */
	.room-card {
		display: flex;
		flex-direction: column;
		overflow: hidden;
		border-radius: var(--radius-lg);
		background: #fff;
		box-shadow: var(--shadow-sm);
		transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
	}

	.room-card:hover {
		box-shadow: var(--shadow-lg);
		transform: translateY(-4px);
	}

	.room-card__media {
		position: relative;
		display: block;
		aspect-ratio: 4 / 3;
		overflow: hidden;
	}

	.room-card__media img,
	.post-card__media img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		transition: transform 1.2s var(--ease);
	}

	.room-card:hover .room-card__media img,
	.post-card:hover .post-card__media img {
		transform: scale(1.06);
	}

	.room-card__price {
		position: absolute;
		left: 1rem;
		bottom: 1rem;
		padding: 0.45rem 0.9rem;
		border-radius: var(--radius-pill);
		background: rgb(255 255 255 / 0.94);
		color: var(--c-ink);
		font-family: var(--font-display);
		font-weight: 600;
	}

	.room-card__price small {
		color: var(--c-muted);
		font-weight: 400;
	}

	.room-card__body {
		display: flex;
		flex: 1;
		flex-direction: column;
		padding: 1.5rem 1.6rem 1.6rem;
	}

	.room-card__title {
		margin-bottom: 0.75rem;
	}

	.room-card__title a {
		color: inherit;
		text-decoration: none;
	}

	.room-card__text {
		color: var(--c-muted);
		font-size: var(--fs-sm);
	}

	.room-card__actions {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		margin-top: auto;
		padding-top: 1.25rem;
		border-top: 1px solid var(--c-line);
	}

	/* Uma acomodação só: card horizontal */
	@media (min-width: 900px) {
		.cards-grid--1 {
			max-width: none;
		}

		.cards-grid--1 .room-card {
			display: grid;
			grid-template-columns: 1.15fr 1fr;
		}

		.cards-grid--1 .room-card__media {
			aspect-ratio: auto;
			min-height: 420px;
		}

		.cards-grid--1 .room-card__body {
			justify-content: center;
			padding: clamp(2rem, 4vw, 3.5rem);
		}

		.cards-grid--1 .room-card__title {
			font-size: var(--fs-h2);
		}

		.cards-grid--1 .room-card__text {
			font-size: var(--fs-base);
		}

		.cards-grid--1 .room-card__actions {
			margin-top: 1.5rem;
		}
	}

	/* Card de promoção ---------------------------------------------------- */
	.promo-card {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		min-height: 460px;
		overflow: hidden;
		border-radius: var(--radius-lg);
		background: var(--c-petroleo-800);
		color: #fff;
		isolation: isolate;
	}

	.promo-card__media {
		position: absolute;
		inset: 0;
		z-index: -2;
	}

	.promo-card__media img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		transition: transform 1.2s var(--ease);
	}

	.promo-card::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		background: linear-gradient(to top, rgb(6 30 32 / 0.95) 10%, rgb(6 30 32 / 0.2) 60%, transparent);
	}

	.promo-card:hover .promo-card__media img {
		transform: scale(1.06);
	}

	.promo-card.is-expired {
		filter: grayscale(0.6);
	}

	.promo-card__badge {
		position: absolute;
		top: 1.25rem;
		left: 1.25rem;
		padding: 0.35rem 0.85rem;
		border-radius: var(--radius-pill);
		background: var(--c-amarelo);
		color: var(--c-petroleo-900);
		font-family: var(--font-display);
		font-size: var(--fs-xs);
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
	}

	.promo-card__body {
		padding: 1.75rem;
	}

	.promo-card__period {
		display: flex;
		align-items: center;
		gap: 0.4rem;
		margin-bottom: 0.6rem;
		color: var(--c-turquesa);
		font-size: var(--fs-sm);
		font-weight: 500;
	}

	.promo-card__period .icon {
		width: 16px;
	}

	.promo-card__title {
		margin-bottom: 0.5rem;
		color: #fff;
	}

	.promo-card__title a {
		color: inherit;
		text-decoration: none;
	}

	/* Card inteiro clicável */
	.promo-card__title a::after {
		content: "";
		position: absolute;
		inset: 0;
	}

	.promo-card__text {
		color: rgb(255 255 255 / 0.82);
		font-size: var(--fs-sm);
	}

	.promo-card__price {
		color: var(--c-amarelo);
		font-family: var(--font-display);
		font-weight: 600;
	}

	.promo-card .link-arrow {
		color: #fff;
	}

	/* Card de post -------------------------------------------------------- */
	.post-card {
		display: flex;
		flex-direction: column;
	}

	.post-card__media {
		display: block;
		aspect-ratio: 4 / 3;
		overflow: hidden;
		border-radius: var(--radius-lg);
		background: var(--c-areia);
	}

	.post-card__placeholder {
		display: grid;
		place-items: center;
		height: 100%;
		color: var(--c-areia-200);
	}

	.post-card__placeholder .icon {
		width: 56px;
		height: 56px;
	}

	.post-card__body {
		display: flex;
		flex: 1;
		flex-direction: column;
		padding: 1.25rem 0.25rem 0;
	}

	.post-card__meta {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.75rem;
		margin-bottom: 0.75rem;
		color: var(--c-muted);
		font-size: var(--fs-xs);
	}

	.post-card__title {
		font-size: var(--fs-h4);
	}

	.post-card__title a {
		color: inherit;
		text-decoration: none;
	}

	.post-card__title a:hover {
		color: var(--c-primary);
	}

	.post-card__excerpt {
		color: var(--c-muted);
		font-size: var(--fs-sm);
	}

	.post-card .link-arrow {
		margin-top: auto;
	}

	.tag {
		display: inline-block;
		padding: 0.2rem 0.7rem;
		border-radius: var(--radius-pill);
		background: var(--c-turquesa-100);
		color: var(--c-petroleo-700);
		font-size: var(--fs-xs);
		font-weight: 500;
		text-decoration: none;
	}

	/* Chips (filtro de categorias) */
	.chips {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.5rem;
		margin-bottom: 3rem;
	}

	.chip {
		padding: 0.5rem 1.1rem;
		border: 1px solid var(--c-line);
		border-radius: var(--radius-pill);
		color: var(--c-ink);
		font-size: var(--fs-sm);
		text-decoration: none;
		transition: all var(--dur) var(--ease);
	}

	.chip:hover,
	.chip.is-active {
		border-color: var(--c-primary);
		background: var(--c-primary);
		color: #fff;
	}

	/* Depoimento ---------------------------------------------------------- */
	.testimonial {
		position: relative;
		display: flex;
		flex-direction: column;
		height: 100%;
		margin: 0;
		padding: 2.25rem;
		border-radius: var(--radius-lg);
		background: #fff;
		box-shadow: var(--shadow-sm);
	}

	.testimonial__quote {
		position: absolute;
		top: 1.75rem;
		right: 1.75rem;
		width: 54px;
		height: 54px;
		color: var(--c-turquesa-100);
	}

	.testimonial__stars {
		display: flex;
		gap: 0.15rem;
		margin-bottom: 1rem;
		color: var(--c-amarelo);
	}

	.testimonial__stars .icon {
		width: 18px;
		height: 18px;
	}

	.testimonial__text {
		flex: 1;
		margin: 0 0 1.5rem;
		color: var(--c-ink);
		font-size: var(--fs-lg);
		line-height: 1.65;
	}

	.testimonial__author {
		display: flex;
		align-items: center;
		gap: 0.9rem;
	}

	.testimonial__photo,
	.testimonial__initial {
		width: 52px;
		height: 52px;
		border-radius: 50%;
		object-fit: cover;
	}

	.testimonial__initial {
		display: grid;
		place-items: center;
		background: var(--c-petroleo);
		color: #fff;
		font-family: var(--font-display);
		font-size: 1.25rem;
		font-weight: 600;
	}

	.testimonial__author strong {
		display: block;
		color: var(--c-ink);
		font-family: var(--font-display);
	}

	.testimonial__author small {
		color: var(--c-muted);
	}

	/* Carrossel (scroll-snap nativo) ------------------------------------- */
	.carousel__track {
		display: grid;
		grid-auto-columns: calc((100% - 2 * 1.5rem) / 3);
		grid-auto-flow: column;
		gap: 1.5rem;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		padding: 0.5rem 0.25rem 1.5rem;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.carousel__track::-webkit-scrollbar {
		display: none;
	}

	.carousel__item {
		scroll-snap-align: start;
	}

	/* Poucos depoimentos: centralizados, sem rolagem */
	.carousel--few .carousel__track {
		grid-auto-columns: min(100%, 720px);
		justify-content: center;
	}

	.carousel__nav {
		display: flex;
		justify-content: center;
		gap: 0.75rem;
		margin-top: 1.5rem;
	}

	@media (max-width: 1024px) {
		.carousel__track { grid-auto-columns: calc((100% - 1.5rem) / 2); }
	}

	@media (max-width: 680px) {
		.carousel__track { grid-auto-columns: 88%; }
	}

	/* Cartão de reserva lateral ------------------------------------------ */
	.booking-card {
		position: sticky;
		top: calc(var(--header-h) + 1.5rem);
		display: grid;
		gap: 1.25rem;
		padding: 2rem;
		border: 1px solid var(--c-line);
		border-radius: var(--radius-lg);
		background: #fff;
		box-shadow: var(--shadow);
	}

	.booking-card > * {
		margin: 0;
	}

	.booking-card__title {
		font-size: var(--fs-h4);
	}

	.booking-card__price {
		color: var(--c-ink);
		font-family: var(--font-display);
		font-size: 1.75rem;
		font-weight: 600;
	}

	.booking-card__price small {
		color: var(--c-muted);
		font-size: var(--fs-sm);
		font-weight: 400;
	}

	.booking-card__row {
		display: flex;
		gap: 0.75rem;
		align-items: center;
		color: var(--c-ink);
	}

	.booking-card__row .icon {
		color: var(--c-petroleo);
	}

	.booking-card__row small {
		display: block;
		color: var(--c-muted);
		font-size: var(--fs-xs);
	}

	.booking-card .contact-list {
		padding-top: 1.25rem;
		border-top: 1px solid var(--c-line);
		font-size: var(--fs-sm);
	}

	/* Avisos -------------------------------------------------------------- */
	.notice {
		margin: 0 0 2rem;
		padding: 1.25rem 1.5rem;
		border-radius: var(--radius);
	}

	.notice--warning {
		background: #fff6dc;
		color: #6b5200;
	}

	.notice--info {
		background: var(--c-areia);
	}

	.notice--info ul {
		margin: 0;
	}

	.empty-state {
		display: grid;
		justify-items: center;
		gap: 0.5rem;
		max-width: 620px;
		margin-inline: auto;
		padding: 3rem 1.5rem;
		border: 1px dashed var(--c-areia-200);
		border-radius: var(--radius-lg);
		text-align: center;
	}

	.empty-state__icon {
		width: 48px;
		height: 48px;
		color: var(--c-petroleo);
	}

	.empty-state .actions {
		margin-top: 1rem;
	}

	/* Trilha -------------------------------------------------------------- */
	.breadcrumb {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.5rem;
		margin-bottom: 1.25rem;
		font-size: var(--fs-xs);
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.breadcrumb a {
		color: rgb(255 255 255 / 0.8);
		text-decoration: none;
	}

	.breadcrumb a:hover {
		color: #fff;
	}

	.breadcrumb [aria-current] {
		color: var(--c-turquesa);
	}

	/* Paginação ----------------------------------------------------------- */
	.pagination {
		margin-top: 3.5rem;
	}

	.pagination ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.5rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.pagination .page-numbers {
		display: grid;
		place-items: center;
		min-width: 46px;
		height: 46px;
		padding: 0 0.5rem;
		border: 1px solid var(--c-line);
		border-radius: 50%;
		color: var(--c-ink);
		text-decoration: none;
	}

	.pagination .page-numbers.current,
	.pagination a.page-numbers:hover {
		border-color: var(--c-primary);
		background: var(--c-primary);
		color: #fff;
	}

	/* Compartilhar -------------------------------------------------------- */
	.share {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		margin-top: 3rem;
		padding-top: 1.5rem;
		border-top: 1px solid var(--c-line);
		color: var(--c-muted);
		font-size: var(--fs-sm);
	}

	.share a,
	.share button {
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 1px solid var(--c-line);
		border-radius: 50%;
		background: none;
		color: var(--c-primary);
	}

	.share .icon {
		width: 18px;
	}

	/* Formulários --------------------------------------------------------- */
	.form-card {
		padding: clamp(1.5rem, 3vw, 2.5rem);
		border-radius: var(--radius-lg);
		background: #fff;
		box-shadow: var(--shadow);
	}

	input:is([type="text"], [type="email"], [type="tel"], [type="search"], [type="number"], [type="date"], [type="url"]),
	select,
	textarea {
		width: 100%;
		min-height: 52px;
		padding: 0.8rem 1rem;
		border: 1px solid var(--c-line);
		border-radius: var(--radius-sm);
		background: #fff;
		color: var(--c-ink);
		transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
	}

	textarea {
		min-height: 140px;
		resize: vertical;
	}

	input:focus,
	select:focus,
	textarea:focus {
		border-color: var(--c-petroleo);
		box-shadow: 0 0 0 4px rgb(0 220 234 / 0.2);
		outline: none;
	}

	label {
		color: var(--c-ink);
		font-size: var(--fs-sm);
		font-weight: 500;
	}

	.search-form {
		display: flex;
		gap: 0.5rem;
		width: 100%;
		max-width: 480px;
		margin-top: 1rem;
	}

	/* Contact Form 7 */
	.wpcf7 .hidden-fields-container {
		display: none;
	}

	.wpcf7 form p {
		margin-bottom: 1rem;
	}

	.form-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1.25rem;
		margin-bottom: 1.5rem;
	}

	.form-grid label {
		display: block;
	}

	.form-grid__full {
		grid-column: 1 / -1;
	}

	@media (max-width: 560px) {
		.form-grid {
			grid-template-columns: 1fr;
		}
	}

	.wpcf7 .wpcf7-form-control-wrap {
		display: block;
		margin-top: 0.35rem;
	}

	.wpcf7 input[type="submit"],
	.wpcf7 button[type="submit"] {
		min-height: 52px;
		padding: 0.85rem 2rem;
		border: 0;
		border-radius: var(--radius-pill);
		background: var(--c-accent);
		color: var(--c-petroleo-900);
		font-family: var(--font-display);
		font-weight: 600;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		cursor: pointer;
		transition: background var(--dur) var(--ease);
	}

	.wpcf7 input[type="submit"]:hover {
		background: var(--c-accent-hover);
	}

	.wpcf7-not-valid-tip {
		margin-top: 0.35rem;
		color: #c0392b;
		font-size: var(--fs-xs);
	}

	.wpcf7 form .wpcf7-response-output {
		margin: 1rem 0 0;
		padding: 0.85rem 1rem;
		border-radius: var(--radius-sm);
		font-size: var(--fs-sm);
	}

	.wpcf7-spinner {
		vertical-align: middle;
	}

	/* Stepper (hóspedes) -------------------------------------------------- */
	.stepper {
		display: flex;
		align-items: center;
		height: 52px;
		border: 1px solid var(--c-line);
		border-radius: var(--radius-sm);
		background: #fff;
	}

	.stepper button {
		display: grid;
		place-items: center;
		width: 42px;
		height: 100%;
		padding: 0;
		border: 0;
		background: none;
		color: var(--c-petroleo);
	}

	.stepper .icon {
		width: 16px;
	}

	.stepper input {
		width: 100%;
		min-height: 0;
		height: 100%;
		padding: 0;
		border: 0;
		background: none;
		font-weight: 600;
		text-align: center;
		-moz-appearance: textfield;
		appearance: textfield;
	}

	.stepper input::-webkit-inner-spin-button,
	.stepper input::-webkit-outer-spin-button {
		-webkit-appearance: none;
		margin: 0;
	}

	.stepper input:focus {
		box-shadow: none;
	}

	/* Lightbox ------------------------------------------------------------ */
	.lightbox {
		width: 100vw;
		max-width: none;
		height: 100dvh;
		max-height: none;
		margin: 0;
		padding: 0;
		border: 0;
		background: rgb(6 20 22 / 0.95);
		color: #fff;
	}

	.lightbox[open] {
		display: grid;
		grid-template-columns: 72px 1fr 72px;
		align-items: center;
	}

	.lightbox::backdrop {
		background: transparent;
	}

	.lightbox__figure {
		display: grid;
		justify-items: center;
		gap: 0.75rem;
		margin: 0;
	}

	.lightbox__figure img {
		max-width: 100%;
		max-height: 84dvh;
		border-radius: var(--radius-sm);
		object-fit: contain;
	}

	.lightbox__figure figcaption {
		font-size: var(--fs-sm);
		opacity: 0.7;
	}

	.lightbox__close,
	.lightbox__nav {
		display: grid;
		place-items: center;
		width: 52px;
		height: 52px;
		margin: auto;
		padding: 0;
		border: 1px solid rgb(255 255 255 / 0.25);
		border-radius: 50%;
		background: transparent;
		color: #fff;
	}

	.lightbox__close {
		position: absolute;
		top: 1rem;
		right: 1rem;
	}

	.lightbox__nav:hover,
	.lightbox__close:hover {
		background: #fff;
		color: var(--c-ink);
	}

	@media (max-width: 680px) {
		.lightbox[open] {
			grid-template-columns: 0 1fr 0;
		}

		.lightbox__nav {
			position: absolute;
			bottom: 1.5rem;
		}

		.lightbox__nav--prev { left: calc(50% - 64px); }
		.lightbox__nav--next { right: calc(50% - 64px); }
	}

	/* Botões flutuantes --------------------------------------------------- */
	.floating {
		position: fixed;
		right: 1.25rem;
		bottom: 1.25rem;
		z-index: 40;
		display: grid;
		gap: 0.75rem;
		justify-items: center;
	}

	.floating__wa {
		position: relative;
		isolation: isolate;
		display: grid;
		place-items: center;
		width: 60px;
		height: 60px;
		border-radius: 50%;
		background: var(--c-whatsapp);
		color: #fff;
		box-shadow: 0 10px 25px -8px rgb(37 162 68 / 0.7);
		transition: transform var(--dur) var(--ease);
	}

	.floating__wa::before {
		content: "";
		position: absolute;
		width: 60px;
		height: 60px;
		border-radius: 50%;
		background: var(--c-whatsapp);
		animation: pulse 2.4s var(--ease) infinite;
		z-index: -1;
	}

	.floating__wa:hover {
		color: #fff;
		transform: scale(1.08);
	}

	.floating__wa .icon {
		width: 30px;
		height: 30px;
	}

	.floating__top {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #fff;
		color: var(--c-ink);
		box-shadow: var(--shadow);
		opacity: 0;
		pointer-events: none;
		transform: translateY(10px) rotate(180deg);
		transition: all var(--dur) var(--ease);
		order: -1;
	}

	.floating.is-visible .floating__top {
		opacity: 1;
		pointer-events: auto;
		transform: rotate(180deg);
	}

	@keyframes pulse {
		0% { transform: scale(1); opacity: 0.6; }
		100% { transform: scale(1.6); opacity: 0; }
	}

	.mobile-bar {
		display: none;
	}

	@media (max-width: 600px) {
		.floating {
			display: none;
		}

		.mobile-bar {
			position: fixed;
			inset: auto 0 0;
			z-index: 40;
			display: grid;
			grid-template-columns: 1fr 1fr;
			box-shadow: 0 -6px 20px rgb(10 53 56 / 0.15);
		}

		.mobile-bar__btn {
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 0.5rem;
			min-height: 60px;
			padding-bottom: env(safe-area-inset-bottom);
			font-family: var(--font-display);
			font-size: 0.875rem;
			font-weight: 600;
			letter-spacing: 0.04em;
			text-decoration: none;
			text-transform: uppercase;
		}

		.mobile-bar__btn--book {
			background: var(--c-accent);
			color: var(--c-petroleo-900);
		}

		.mobile-bar__btn--wa {
			background: var(--c-whatsapp);
			color: #fff;
		}

		.mobile-bar__btn:hover {
			color: inherit;
		}
	}
}
