/*
 * Chalé Hotel — design system e layout (celular primeiro).
 * Conceito: vila italiana no interior paulista — reboco creme, terracota, oliva e arcos.
 * Autor: Kametani Digital
 * Projeto Gerado pelo Prompt Mestre do Desenvolvedor e Vibe Coder Dante Testa — www.dantetesta.com.br
 */

/* ---------- Tokens ---------- */
:root {
	--cream: #f6f5ee;
	--paper: #fffffc;
	--sage: #e7ebdd;
	--ink: #1f2a1f;
	--muted: #5a6457;
	--brand: #2a422a;
	--brand-dark: #1e301f;
	--blue: #3f6596;
	--blue-logo: #6087bb;
	--yellow: #d1c85f;
	--deep: #223822;
	--deep-2: #2e4a2e;
	--on-dark: #f6f5ee;
	--on-dark-muted: #c5cdbd;
	--wa: #1f7a46;
	--wa-dark: #18653a;
	--line: rgba(31, 42, 31, .12);
	--line-strong: rgba(31, 42, 31, .22);

	--serif: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* títulos */
	--sans: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* textos */

	--fs-body: 1.125rem;
	--fs-small: .9375rem;
	--fs-h1: clamp(2.2rem, 5.4vw + 1rem, 5rem);
	--fs-h2: clamp(1.85rem, 3.2vw + 1rem, 3.25rem);
	--fs-h3: clamp(1.2rem, .6vw + 1rem, 1.45rem);

	--gutter: clamp(1.125rem, 4vw, 2.5rem);
	--section: clamp(4.25rem, 9vw, 8rem);
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(31, 42, 31, .06), 0 14px 40px -12px rgba(31, 42, 31, .22);
	--shadow-soft: 0 1px 2px rgba(31, 42, 31, .05), 0 8px 24px -10px rgba(31, 42, 31, .16);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 64px;
	--bar-h: 0px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: var(--fs-body);
	font-weight: 500;
	line-height: 1.6;
	color: var(--ink);
	background: var(--cream);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
:where(ul[role="list"], ul.rail, .menu-mobile__list, .nav-desktop ul, .socials, .langs, .contact-list, .footer-links) { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: #d1c85f; }
::selection { background: rgba(42, 66, 42, .2); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; color: #fff; background: var(--ink); border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.site-main:focus { outline: none; }

.chale-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .6em;
	margin: 0 0 .9rem; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; flex: none; width: 1.75rem; height: 2px; border-radius: 2px; background: var(--yellow); }
.hero__eyebrow { letter-spacing: .1em; font-size: .75rem; }
.hero__eyebrow[style] { color: var(--eyebrow-color); }
.hero__eyebrow[style]::before { background: currentColor; }
@media (min-width: 640px) { .hero__eyebrow { letter-spacing: .14em; font-size: .8125rem; } }
.eyebrow--light { color: #e3dc8a; }
.section-head { max-width: 40rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: var(--fs-h2); }
.section-text { margin-top: 1rem; font-size: 1.0625rem; color: var(--muted); max-width: 36rem; }
.section-head--center .section-text { margin-inline: auto; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.section-head-row .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.prose p { color: var(--muted); }
.prose p:first-child { color: var(--ink); }

/* ---------- Botões ---------- */
.btn {
	--b-bg: var(--brand); --b-fg: #fff; --b-bd: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	min-height: 52px; padding: .8rem 1.4rem;
	font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.15; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
	color: var(--b-fg); background: var(--b-bg); border: 1.5px solid var(--b-bd); border-radius: 999px;
	cursor: pointer; transition: background-color .2s var(--ease), color .2s, border-color .2s, transform .15s var(--ease), box-shadow .2s;
	-webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--b-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .chale-icon { width: 1.2em; height: 1.2em; }
.btn--primary:hover { --b-bg: var(--brand-dark); box-shadow: 0 10px 24px -10px rgba(42, 66, 42, .7); }
.btn--light { --b-bg: rgba(255, 255, 255, .14); --b-fg: #fff; --b-bd: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--light:hover { --b-bg: #fff; --b-fg: var(--ink); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-strong); }
.btn--ghost:hover { --b-bd: var(--ink); --b-fg: var(--ink); }
.btn--whatsapp { --b-bg: var(--wa); --b-fg: #fff; }
.btn--whatsapp:hover { --b-bg: var(--wa-dark); }
.btn--block { width: 100%; }
/* Sobre fundos escuros (hero, eventos), o botão principal usa o amarelo da logo. */
.hero .btn--primary, .site-header.is-over-hero:not(.is-solid) .btn--primary, .section--dark .btn--primary { --b-bg: var(--yellow); --b-fg: var(--brand-dark); }
.hero .btn--primary:hover, .site-header.is-over-hero:not(.is-solid) .btn--primary:hover, .section--dark .btn--primary:hover { --b-bg: #ddd57a; --b-fg: var(--brand-dark); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; }
.link-arrow .chale-icon { transition: transform .2s var(--ease); }
.link-arrow:hover .chale-icon { transform: translateX(4px); }

/* ---------- Cabeçalho ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
	color: var(--ink); background: rgba(246, 245, 238, .92); backdrop-filter: saturate(150%) blur(12px);
	border-bottom: 1px solid var(--line); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header.is-over-hero:not(.is-solid) { color: #fff; background: transparent; border-color: transparent; backdrop-filter: none; }
.site-header.is-over-hero:not(.is-solid)::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; background: linear-gradient(rgba(12, 20, 13, .45), rgba(12, 20, 13, 0)); pointer-events: none; }
body:not(.has-hero) .site-main { padding-top: var(--header-h); }

.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.brand__logo { display: block; width: auto; height: var(--logo-h, 30px); max-width: calc(100vw - 2 * var(--gutter) - 60px); object-fit: contain; object-position: left center; }
.brand__logo--light { display: none; }
.site-header.is-over-hero:not(.is-solid) .brand__logo--dark { display: none; }
.site-header.is-over-hero:not(.is-solid) .brand__logo--light { display: block; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__main { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -.01em; }
.brand__sub { margin-top: .2rem; font-size: .6875rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; opacity: .85; }

.nav-desktop { display: none; }
.site-header__actions { display: flex; align-items: center; gap: .5rem; }
.site-header__actions .btn { display: none; min-height: 44px; padding: .55rem 1.15rem; font-size: .9375rem; }
.menu-toggle { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; padding: 0; background: none; border: 0; border-radius: 50%; cursor: pointer; color: inherit; }
.menu-toggle .chale-icon { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity .2s, transform .25s var(--ease); }
.menu-toggle__close { opacity: 0; transform: rotate(-45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { opacity: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { opacity: 1; transform: none; }
.langs { display: flex; gap: .25rem; }
.langs a { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 .4rem; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; color: inherit; text-decoration: none; border-radius: 999px; opacity: .75; }
.langs a[aria-current] { opacity: 1; background: rgba(42, 66, 42, .12); }
.site-header.is-over-hero:not(.is-solid) .langs a[aria-current] { background: rgba(255, 255, 255, .18); }
.langs--header { display: none; }

/* Menu do celular */
.menu-mobile {
	position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between;
	padding: calc(var(--header-h) + 1.5rem) var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
	background: var(--cream); overflow-y: auto;
}
.menu-mobile[hidden] { display: none; }
.menu-mobile__list a {
	display: block; padding: .55rem 0; font-family: var(--serif); font-size: clamp(1.9rem, 8vw, 2.5rem); font-weight: 600; line-height: 1.15; color: var(--ink); text-decoration: none;
	opacity: 0; transform: translateY(12px); animation: menu-in .45s var(--ease) forwards; animation-delay: calc(var(--i) * 40ms + 60ms);
}
.menu-mobile__list a:hover { color: var(--brand); }
.menu-mobile__foot { display: flex; flex-direction: column; gap: 1rem; padding-top: 2rem; }
.menu-mobile__foot .btn { width: 100%; }
@keyframes menu-in { to { opacity: 1; transform: none; } }
html.menu-open { overflow: hidden; }
html.menu-open .site-header { color: var(--ink) !important; background: var(--cream) !important; border-color: var(--line) !important; }
html.menu-open .site-header::before { display: none; }
html.menu-open .site-header .brand__logo--dark { display: block !important; }
html.menu-open .site-header .brand__logo--light { display: none !important; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 100svh; min-height: max(100svh, 560px); color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--deep); }
.hero__media picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 45%; }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(12, 20, 13, .40) 0%, rgba(12, 20, 13, .05) 28%, rgba(12, 20, 13, .12) 48%, rgba(12, 20, 13, .70) 78%, rgba(12, 20, 13, .86) 100%);
}
.hero__media--empty {
	background:
		radial-gradient(120% 70% at 80% 10%, rgba(209, 200, 95, .45), transparent 60%),
		radial-gradient(90% 60% at 10% 90%, rgba(96, 135, 187, .55), transparent 60%),
		linear-gradient(160deg, #36573a, #223822 55%, #172617);
}
.hero__media--empty::before {
	content: ""; position: absolute; inset: 0; opacity: .14;
	background: radial-gradient(circle at 50% 100%, transparent 58%, #f6f5ee 58.5%, #f6f5ee 59.5%, transparent 60%) 0 0 / 140px 140px;
}
.hero__hint { position: absolute; top: calc(var(--header-h) + 12px); left: var(--gutter); right: var(--gutter); z-index: 2; margin: 0; padding: .6rem .9rem; font-size: .8125rem; color: #fff; background: rgba(0, 0, 0, .35); border: 1px dashed rgba(255, 255, 255, .5); border-radius: 10px; }
.hero__content { position: relative; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(5.5rem, 10vh, 7rem); }
.hero__eyebrow { animation: rise .8s var(--ease) both; }
.hero__title { max-width: 15ch; font-size: var(--fs-h1); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); animation: rise .9s .05s var(--ease) both; }
.hero__subtitle { max-width: 34rem; margin-top: 1.1rem; font-size: clamp(1.0625rem, .5vw + 1rem, 1.25rem); line-height: 1.55; color: rgba(255, 255, 255, .92); animation: rise .9s .12s var(--ease) both; }
.hero__actions { display: grid; gap: .75rem; margin-top: 1.75rem; animation: rise .9s .2s var(--ease) both; }
.hero__actions .btn { width: 100%; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.25rem; display: none; color: rgba(255, 255, 255, .8); transform: translateX(-50%); animation: nudge 2.4s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ---------- Formulário de reserva ---------- */
.booking-section { position: relative; z-index: 3; margin-top: -3rem; scroll-margin-top: calc(var(--header-h) + 8px); }
.booking { padding: 1.35rem; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.booking__head { margin-bottom: 1rem; }
.booking__title { font-size: 1.5rem; }
.booking__note { margin: .25rem 0 0; font-size: .875rem; color: var(--muted); }
.booking__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.booking__submit { grid-column: 1 / -1; margin-top: .25rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field label, .booking__ages legend { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input[type="date"], .booking__ages select {
	width: 100%; min-height: 52px; padding: .7rem .85rem; font: 600 1rem/1.2 var(--sans); color: var(--ink);
	background: var(--cream); border: 1.5px solid transparent; border-radius: var(--radius-sm); appearance: none; -webkit-appearance: none;
}
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field input[type="date"]:focus, .booking__ages select:focus { outline: none; border-color: var(--brand); background: #fff; }
.field input[type="date"]:invalid:not(:focus) { color: var(--muted); }
.stepper { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 4px; background: var(--cream); border: 1.5px solid transparent; border-radius: var(--radius-sm); }
.stepper:focus-within { border-color: var(--brand); background: #fff; }
.stepper button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper button .chale-icon { width: 18px; height: 18px; }
.stepper input { width: 2.5rem; padding: 0; font: 700 1.125rem/1 var(--sans); text-align: center; color: var(--ink); background: none; border: 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.booking__ages { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; }
.booking__ages-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .5rem; margin-top: .35rem; }
.booking__ages-list label { display: block; margin-bottom: .2rem; font-size: .8125rem; color: var(--muted); }
.booking__chip { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; padding: .4rem .5rem .4rem .8rem; font-size: .9375rem; font-weight: 600; color: var(--brand); background: rgba(42, 66, 42, .09); border-radius: 999px; }
.booking__chip[hidden] { display: none; }
.booking__chip-clear { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: inherit; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.booking__chip-clear:hover { background: rgba(42, 66, 42, .12); }
.booking__chip-clear .chale-icon { width: 16px; height: 16px; }
.booking__error { margin: .9rem 0 0; padding: .7rem .9rem; font-size: .9375rem; font-weight: 600; color: #7a2615; background: #fbe9e4; border-radius: 10px; }

/* ---------- Seções ---------- */
.section { padding-block: var(--section); }
.section--sage { background: var(--sage); }
.section--dark { color: var(--on-dark); background: var(--deep); }
.section--dark .eyebrow { color: #d1c85f; }
.section--dark .section-text, .section--dark p { color: var(--on-dark-muted); }

/* Nosso Hotel */
.about { padding-top: calc(var(--section) * .85); }
.about__grid { display: grid; gap: 2.5rem; align-items: center; }
.about__text .section-title { margin-bottom: 1.25rem; max-width: 16ch; }
.prose { font-size: 1.0625rem; }
.quick-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.75rem 0 0; }
.quick-facts > div { padding: .9rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.quick-facts > div:last-child { grid-column: 1 / -1; }
.quick-facts dt { display: flex; align-items: center; gap: .45rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.quick-facts dt .chale-icon { width: 16px; height: 16px; color: var(--brand); }
.quick-facts dd { margin: .3rem 0 0; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.quick-facts dd small { display: block; margin-top: .15rem; font-family: var(--sans); font-size: .875rem; color: var(--muted); }
.about__media { position: relative; margin: 0; max-width: 460px; justify-self: center; width: 100%; }
.arch { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); background: var(--sage); box-shadow: var(--shadow-soft); }
.arch img, .arch .chale-ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; border-radius: 0; }
.badge-round { position: absolute; left: -6px; bottom: 28px; display: flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; font-weight: 700; color: #fff; background: var(--blue); border-radius: 999px; box-shadow: var(--shadow-soft); }

/* Serviços */
.services { margin-top: clamp(3rem, 7vw, 5.5rem); }
.services__title { margin-bottom: 1.25rem; font-size: var(--fs-h3); }
.services__featured { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.service-tile { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.service-tile__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: .35rem; color: var(--brand); background: rgba(42, 66, 42, .09); border-radius: 14px; }
.service-tile__icon .chale-icon { width: 24px; height: 24px; }
.service-tile strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.service-tile span:not(.service-tile__icon) { font-size: .875rem; line-height: 1.45; color: var(--muted); }
.services__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.services__chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; font-size: .9375rem; font-weight: 500; background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; }
.services__chips .chale-icon { width: 18px; height: 18px; color: var(--blue); }

/* Galeria de fotos do hotel (lightbox igual ao dos quartos) */
.hotel-gallery { margin-top: clamp(3rem, 7vw, 5rem); }
.hotel-gallery__grid {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 360px); gap: .6rem;
	margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .5rem; overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.hotel-gallery__grid::-webkit-scrollbar { display: none; }
.hotel-gallery__item { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sage); border-radius: var(--radius-sm); scroll-snap-align: start; }
.hotel-gallery__item.is-extra { display: none; }
.hotel-gallery__item .photo-link { position: absolute; inset: 0; }
.hotel-gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; aspect-ratio: auto !important; transition: transform .5s var(--ease); }
.hotel-gallery__more { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 700; color: #fff; background: rgba(23, 38, 23, .58); transition: background .2s; }
.photo-link:hover .hotel-gallery__more { background: rgba(23, 38, 23, .7); }
.hotel-gallery__hint { margin: .75rem 0 0; }
.hotel-gallery__swipe { margin-left: .25rem; }

/* Computador: 5 fotos por linha, todas do mesmo tamanho (abaixo de 900 px, deslizantes). */
@media (min-width: 900px) {
	.hotel-gallery__grid { grid-auto-flow: row; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-columns: auto; gap: .6rem; margin-inline: 0; padding: 0; overflow: visible; }
	.hotel-gallery__swipe { display: none; }
	.hotel-gallery__item .photo-link__zoom { width: 32px; height: 32px; right: .45rem; bottom: .45rem; }
	.hotel-gallery__item .photo-link__zoom .chale-icon { width: 15px; height: 15px; }
}

/* Vídeo */
.video-facade { position: relative; margin-top: clamp(2.5rem, 6vw, 4rem); overflow: hidden; aspect-ratio: 16 / 9; background: var(--deep); border-radius: var(--radius); }
.video-facade__img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.video-facade--empty { background: radial-gradient(90% 80% at 85% 10%, rgba(209, 200, 95, .35), transparent 60%), linear-gradient(160deg, #36573a, #223822 60%, #172617); }
.video-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12, 20, 13, .6)); pointer-events: none; }
.video-facade__play { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: 1rem; font-weight: 600; color: #fff; background: none; border: 0; cursor: pointer; }
.video-facade__icon { display: grid; place-items: center; width: 72px; height: 72px; color: var(--ink); background: rgba(255, 255, 255, .92); border-radius: 50%; transition: transform .2s var(--ease); }
.video-facade__icon .chale-icon { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; }
.video-facade__play:hover .video-facade__icon { transform: scale(1.06); }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Trilhos (cards deslizantes) ---------- */
.rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 340px); gap: 1rem;
	padding: .25rem var(--gutter) 1.25rem; overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; display: flex; }
.rail--packages { grid-auto-columns: min(72vw, 300px); }
.rail-nav { display: none; gap: .5rem; padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.rail-nav button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: var(--ink); background: transparent; border: 1.5px solid var(--line-strong); border-radius: 50%; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.rail-nav button:hover:not(:disabled) { color: #fff; background: var(--ink); border-color: var(--ink); }
.rail-nav button:disabled { opacity: .35; cursor: default; }
.rooms__more { margin-top: 1rem; }

/* ---------- Cards ---------- */
.card { display: flex; width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__link { display: flex; flex-direction: column; width: 100%; color: inherit; text-decoration: none; }
.card__link:hover { color: inherit; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sage); }
.card__media--tall { aspect-ratio: 4 / 4.4; }
.card__media img, .card__media .chale-ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__badge, .card__date { position: absolute; top: .85rem; left: .85rem; padding: .35rem .75rem; font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); background: rgba(255, 255, 252, .94); border-radius: 999px; }
.card__date { color: var(--brand); background: var(--yellow); text-transform: uppercase; }
.card__body { display: flex; flex: 1; flex-direction: column; gap: .6rem; padding: 1.15rem 1.15rem 1.25rem; }
.card__title { font-size: var(--fs-h3); }
.card__text { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .25rem; }
.meta-pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 600; color: var(--blue); }
.meta-pill .chale-icon { width: 18px; height: 18px; }
.amenity-icons { display: flex; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.amenity-icons li { display: grid; place-items: center; width: 32px; height: 32px; color: var(--muted); background: var(--cream); border-radius: 50%; }
.amenity-icons .chale-icon { width: 17px; height: 17px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--line); }
.card__cta { display: inline-flex; align-items: center; gap: .4rem; font-size: .9375rem; font-weight: 700; color: var(--brand); }
.card__cta .chale-icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.card:hover .card__cta .chale-icon { transform: translateX(4px); }
.card__price { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.card__price small { display: block; font-family: var(--sans); font-size: .75rem; color: var(--muted); }
.package-card .card__cta { margin-top: auto; padding-top: .5rem; }

/* Placeholder de imagem (campos ainda sem foto) */
.chale-ph {
	position: relative; display: grid; place-items: center; width: 100%;
	background:
		radial-gradient(circle at 50% 120%, rgba(42, 66, 42, .16), transparent 60%),
		repeating-linear-gradient(135deg, rgba(31, 42, 31, .035) 0 12px, transparent 12px 24px),
		linear-gradient(160deg, #eef0e6, #dfe5d3);
}
.chale-ph::before { content: ""; width: 44px; height: 54px; border: 2px solid rgba(63, 94, 59, .35); border-bottom: 0; border-radius: 999px 999px 0 0; }
.chale-ph__label { position: absolute; left: .75rem; right: .75rem; bottom: .7rem; font-size: .75rem; font-weight: 600; color: var(--muted); text-align: center; }
.chale-ph__label:empty { display: none; }

/* ---------- Janela (dialog) ---------- */
.sheet {
	width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0;
	color: var(--ink); background: var(--paper); border: 0; overscroll-behavior: contain;
}
.sheet::backdrop { background: rgba(15, 24, 16, .62); backdrop-filter: blur(4px); }
.sheet[open] { animation: sheet-in .38s var(--ease); }
.sheet[open]::backdrop { animation: fade-in .3s ease; }
@keyframes sheet-in { from { transform: translateY(32px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.sheet__inner { position: relative; display: flex; flex-direction: column; min-height: 100%; }
.sheet__close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: var(--ink); background: rgba(255, 255, 252, .94); border: 0; border-radius: 50%; box-shadow: var(--shadow-soft); cursor: pointer; }
.sheet__close .chale-icon { width: 22px; height: 22px; }
.sheet__gallery { position: relative; background: var(--sage); }
.sheet__gallery > .chale-ph, .sheet__gallery > img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
/* Mini galeria: miniaturas que trocam a foto grande (janela e página do pacote) */
.swap-thumbs { display: flex; gap: .45rem; padding: .6rem var(--gutter); overflow-x: auto; scrollbar-width: none; background: var(--paper); }
.swap-thumbs::-webkit-scrollbar { display: none; }
.swap-thumbs__btn { flex: none; width: 64px; height: 48px; padding: 0; overflow: hidden; background: var(--sage); border: 2px solid transparent; border-radius: 10px; opacity: .72; cursor: pointer; transition: opacity .2s, border-color .2s; }
.swap-thumbs__btn img { display: block; width: 100%; height: 100%; object-fit: cover; }
.swap-thumbs__btn:hover { opacity: 1; }
.swap-thumbs__btn[aria-pressed="true"] { opacity: 1; border-color: var(--brand); }
.swap-thumbs__btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[data-swap-main] { transition: opacity .18s ease; }
[data-swap-main].is-swapping { opacity: .35; }
.entry-thumb--swap .swap-thumbs { padding-inline: 0; background: none; }
.gallery { display: flex; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; }
.gallery__slide img, .gallery__slide .chale-ph { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { position: absolute; left: 50%; bottom: .9rem; display: flex; align-items: center; gap: .35rem; padding: .25rem; color: #fff; background: rgba(15, 24, 16, .58); border-radius: 999px; transform: translateX(-50%); backdrop-filter: blur(6px); }
.gallery__nav button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; color: inherit; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.gallery__nav button:hover { background: rgba(255, 255, 255, .15); }
.gallery__count { min-width: 3.5rem; font-size: .875rem; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.sheet__body { flex: 1; padding: 1.5rem var(--gutter) 1.75rem; }
.sheet__title { font-size: clamp(1.85rem, 3vw + 1rem, 2.5rem); margin-bottom: 1rem; }
.sheet__subtitle { margin: 1.75rem 0 .85rem; font-family: var(--sans); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.spec-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.spec-list li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; font-size: .9375rem; font-weight: 600; background: var(--cream); border-radius: 999px; }
.spec-list .chale-icon { width: 18px; height: 18px; color: var(--brand); }
.amenity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.amenity-grid li { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; font-size: .9375rem; background: var(--cream); border-radius: var(--radius-sm); }
.amenity-grid .chale-icon { width: 20px; height: 20px; color: var(--blue); }
.check-list { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: .6rem; }
.check-list .chale-icon { width: 20px; height: 20px; margin-top: .15rem; color: var(--blue); }
.sheet__foot {
	position: sticky; bottom: 0; display: grid; gap: .6rem;
	padding: .9rem var(--gutter) calc(.9rem + env(safe-area-inset-bottom));
	background: rgba(255, 255, 252, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.sheet__foot .btn { width: 100%; }
html.has-dialog, html.has-lightbox { overflow: hidden; }

/* ---------- Gastronomia ---------- */
.gastro-grid { display: grid; gap: 2.25rem; }
.gastro-item__media { overflow: hidden; margin-bottom: 1.1rem; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--sage); }
.gastro-item__media img, .gastro-item__media .chale-ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; }
.gastro-item:nth-child(2) .gastro-item__media { border-radius: 999px 999px var(--radius) var(--radius); }
.gastro-item__title { margin-bottom: .5rem; font-size: 1.6rem; }
.gastro-item p { color: var(--muted); }
.gastro-item__hours { display: flex; gap: .5rem; margin-top: .75rem; font-size: .9375rem; font-weight: 600; color: var(--blue) !important; }
.gastro-item__hours .chale-icon { width: 18px; height: 18px; margin-top: .15rem; }
.gastro-item__note { margin-top: .6rem; padding-left: .75rem; font-size: .875rem; font-style: italic; border-left: 2px solid var(--line-strong); }

/* ---------- Avaliações ---------- */
.reviews-grid { display: grid; gap: 1rem; }
.review { height: 100%; margin: 0; padding: 1.5rem; background: var(--paper); border-radius: var(--radius); }
.review__stars { display: flex; gap: 2px; margin-bottom: .9rem; color: #8c8226; }
.review__stars .chale-icon { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.5; }
.review figcaption { display: flex; flex-direction: column; margin-top: 1.1rem; font-size: .9375rem; }
.review figcaption span { color: var(--muted); }
.reviews__cta { margin-top: 2rem; text-align: center; }
/* Carrossel de avaliações (passa sozinho; pausa ao tocar, passar o mouse ou focar) */
.reviews-track {
	--per: 1.12; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * 1rem) / var(--per)); gap: 1rem;
	margin: 0; padding: 0 0 .25rem; list-style: none; overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track > li { scroll-snap-align: start; }
.reviews-track:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: var(--radius); }
.reviews-nav { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1.25rem; }
.reviews-nav[hidden] { display: none; }
.reviews-nav__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--brand); background: var(--paper); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.reviews-nav__btn:hover { background: #fff; }
.reviews-nav__btn .chale-icon { width: 20px; height: 20px; }
.reviews-nav__dots { display: flex; gap: .4rem; }
.reviews-nav__dot { width: 9px; height: 9px; padding: 0; background: rgba(42, 66, 42, .25); border: 0; border-radius: 999px; cursor: pointer; transition: width .25s var(--ease), background .25s; }
.reviews-nav__dot[aria-current="true"] { width: 26px; background: var(--brand); }
@media (min-width: 640px) { .reviews-track { --per: 2; } }
@media (min-width: 1024px) { .reviews-track { --per: 3; } }

/* ---------- Eventos ---------- */
.events__grid { display: grid; gap: 2.5rem; }
.events__intro .section-head { margin-bottom: 1.75rem; }
.events__intro .btn { width: 100%; }
.events__list { display: grid; gap: 0; border-top: 1px solid rgba(246, 245, 238, .16); }
.event-item { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(246, 245, 238, .16); }
.event-item__num { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: #d1c85f; padding-top: .2rem; }
.event-item__media { width: 72px; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.event-item__media img { width: 100%; height: 100%; object-fit: cover; }
.event-item h3 { margin-bottom: .35rem; font-size: 1.45rem; color: var(--on-dark); }
.event-item p { margin: 0; font-size: .9375rem; }
.event-item__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.event-item__tags li { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; font-size: .8125rem; color: var(--on-dark); background: rgba(246, 245, 238, .1); border-radius: 999px; }
.event-item__tags .chale-icon { width: 15px; height: 15px; }
.event-item__wa { display: grid; place-items: center; width: 44px; height: 44px; color: var(--on-dark); border: 1px solid rgba(246, 245, 238, .3); border-radius: 50%; transition: background .2s, color .2s; }
.event-item__wa::after { content: ""; position: absolute; inset: 0; }
.event-item__wa:hover { color: var(--deep); background: var(--on-dark); }
.event-item__wa .chale-icon { width: 20px; height: 20px; }

/* ---------- Parceiros ---------- */
.partners-grid { display: grid; gap: 1rem; }
.partner { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.partner__logo { display: grid; place-items: center; flex: none; width: 88px; height: 64px; padding: .4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.partner__logo img { max-height: 100%; width: auto; object-fit: contain; }
.partner__initials { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; color: var(--brand); }
.partner h3 { margin-bottom: .3rem; font-size: 1.3rem; }
.partner p { margin: 0; font-size: .9375rem; color: var(--muted); }
.partner__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .6rem !important; font-weight: 600; }
.partner__meta span, .partner__meta a { display: inline-flex; align-items: center; gap: .3rem; color: var(--blue); }
.partner__meta a { color: var(--brand); text-decoration: none; }
.partner__meta .chale-icon { width: 15px; height: 15px; }

/* ---------- Localização ---------- */
.location__grid { display: grid; gap: 2rem; }
.address-card { display: flex; gap: .85rem; padding: 1.1rem 1.2rem; font-style: normal; line-height: 1.5; background: var(--paper); border-radius: var(--radius); }
.address-card > .chale-icon { width: 24px; height: 24px; color: var(--brand); margin-top: .1rem; }
.address-card strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.distances { display: grid; gap: 0; margin: 1rem 0 0; }
.distances li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem .2rem; border-bottom: 1px dashed var(--line-strong); }
.distances strong { color: var(--blue); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.location__actions { display: grid; gap: .65rem; margin-top: 1.5rem; }
.location__actions .btn { width: 100%; }
.map-facade { position: relative; overflow: hidden; min-height: 320px; border-radius: var(--radius); background: #e3e8d9; }
.map-facade__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-facade__pin { position: absolute; left: 50%; top: 42%; display: grid; place-items: center; width: 58px; height: 58px; color: #fff; background: var(--brand); border-radius: 50% 50% 50% 0; transform: translate(-50%, -50%) rotate(-45deg); box-shadow: 0 12px 24px -8px rgba(42, 66, 42, .8); }
.map-facade__pin .chale-icon { width: 26px; height: 26px; transform: rotate(45deg); }
.map-facade__btn { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); --b-bg: var(--paper); --b-fg: var(--ink); --b-bd: transparent; box-shadow: var(--shadow-soft); backdrop-filter: none; }
.map-facade__btn:hover { --b-bg: #fff; transform: translateX(-50%) translateY(-1px); }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 1rem; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding: 1rem 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.3; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon { width: 24px; height: 24px; color: var(--brand); transition: transform .25s var(--ease); }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { padding: 0 2.5rem 1.25rem 0; color: var(--muted); }

/* ---------- Chamada final ---------- */
.cta-final { padding-block: clamp(4rem, 9vw, 7rem); text-align: center; background: var(--cream); }
.cta-final__inner { display: flex; flex-direction: column; align-items: center; }
.cta-final__mark { position: relative; width: 84px; height: 46px; margin-bottom: 1.75rem; }
.cta-final__mark::before { content: ""; position: absolute; left: 50%; top: 6px; width: 60px; height: 60px; border: 7px solid var(--yellow); border-right: 0; border-bottom: 0; transform: translateX(-50%) rotate(45deg); }
.cta-final__mark::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 30px; height: 15px; background: var(--blue-logo); border-radius: 30px 30px 0 0; transform: translateX(-50%); }
.cta-final__title { max-width: 18ch; font-size: var(--fs-h2); }
.cta-final__actions { display: grid; gap: .65rem; width: 100%; max-width: 420px; margin-top: 2rem; }
.cta-final__actions .btn { width: 100%; }

/* ---------- Rodapé ---------- */
.site-footer { padding-top: clamp(3.5rem, 7vw, 5.5rem); color: var(--on-dark); background: var(--deep); padding-bottom: calc(var(--bar-h) + 1rem); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.5rem; }
.site-footer__brand p { max-width: 30rem; margin-top: 1rem; color: var(--on-dark-muted); }
.site-footer .brand__logo { height: 120px; max-width: 100%; }
.site-footer .brand__logo.is-wide { height: 52px; }
.site-footer .brand__logo.is-medium { height: 90px; }
.site-footer__title { margin-bottom: 1rem; font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #d1c85f; }
.contact-list { display: grid; gap: .75rem; }
.contact-list a { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.45; }
.contact-list .chale-icon { width: 20px; height: 20px; margin-top: .1rem; color: #d1c85f; }
.footer-links { display: grid; gap: .55rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 0; }
.facts dt { font-size: .8125rem; color: var(--on-dark-muted); }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.facts__full { grid-column: 1 / -1; }
.facts__full dd { font-family: var(--sans); font-size: 1rem; }
.site-footer__legal { display: flex; flex-direction: column; gap: .75rem; margin-top: 3rem; padding-block: 1.5rem; font-size: .875rem; color: var(--on-dark-muted); border-top: 1px solid rgba(246, 245, 238, .14); }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.site-footer__legal a { color: var(--on-dark-muted); }

/* Redes nas cores oficiais */
.socials { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social { display: grid; place-items: center; width: 46px; height: 46px; color: #fff !important; border-radius: 50%; transition: transform .2s var(--ease), filter .2s; }
.social:hover { transform: translateY(-2px); filter: brightness(1.08); text-decoration: none !important; }
.social .chale-icon { width: 22px; height: 22px; }
.social--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social--facebook { background: #0866ff; }
.social--youtube { background: #ff0000; }
.social--tiktok { background: #000; }
.social--tripadvisor { background: #34e0a1; color: #000 !important; }
.socials--menu { margin-top: .25rem; }

/* ---------- Barra fixa do celular ---------- */
.action-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
	padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
	background: rgba(255, 255, 252, .95); backdrop-filter: saturate(150%) blur(12px); border-top: 1px solid var(--line);
	transform: translateY(110%); transition: transform .35s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar .btn { min-height: 48px; padding-inline: 1rem; }
body.bar-visible { --bar-h: 76px; }

/* Aviso de cookies (plugin) */
.chale-consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--bar-h)); z-index: 60; display: grid; gap: .85rem; max-width: 440px; padding: 1.1rem 1.2rem; font-size: .9375rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.chale-consent p { margin: 0; color: var(--muted); }
.chale-consent__actions { display: flex; gap: .5rem; }
.chale-consent button { flex: 1; min-height: 46px; font-weight: 600; color: var(--ink); background: transparent; border: 1.5px solid var(--line-strong); border-radius: 999px; cursor: pointer; }
.chale-consent button.is-primary { color: #fff; background: var(--brand); border-color: var(--brand); }

/* ---------- Páginas internas ---------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-hero__title { font-size: var(--fs-h2); max-width: 22ch; }
.page-hero__text { margin-top: 1rem; max-width: 40rem; font-size: 1.125rem; color: var(--muted); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; font-size: .875rem; list-style: none; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
.grid-cards { display: grid; gap: 1.25rem; padding-bottom: var(--section); }
.room-page { padding-bottom: var(--section); }
/* Galeria do quarto: todas as fotos no mesmo formato (4:3), recortadas pelo centro. */
.room-page__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .75rem; }
.room-page__gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-sm); background: var(--sage); aspect-ratio: 4 / 3; }
.room-page__gallery figure:first-child { grid-column: 1 / -1; }
.room-page__gallery .photo-link { position: absolute; inset: 0; }
.room-page__gallery img, .room-page__gallery .chale-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; aspect-ratio: auto !important; transition: transform .5s var(--ease); }
.room-page__hint-more { margin-left: .25rem; }
.room-page__hint { display: flex; align-items: center; gap: .45rem; margin: 0 0 2rem; font-size: .9375rem; color: var(--muted); }
.room-page__hint .chale-icon { width: 18px; height: 18px; color: var(--brand); }

/* Foto que abre no lightbox */
.photo-link { position: relative; display: block; width: 100%; height: 100%; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.photo-link:hover img { transform: scale(1.03); }
.photo-link__zoom { position: absolute; right: .6rem; bottom: .6rem; display: grid; place-items: center; width: 38px; height: 38px; color: var(--brand); background: rgba(255, 255, 252, .92); border-radius: 50%; box-shadow: var(--shadow-soft); opacity: .92; transition: opacity .2s, transform .2s var(--ease); pointer-events: none; }
.photo-link__zoom .chale-icon { width: 18px; height: 18px; }
.photo-link:hover .photo-link__zoom, .photo-link:focus-visible .photo-link__zoom { opacity: 1; transform: scale(1.08); }
.gallery__slide .photo-link__zoom { top: .75rem; bottom: auto; left: .75rem; right: auto; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; color: #fff; background: #0a100b; border: 0; overflow: hidden; overscroll-behavior: contain; }
.lightbox::backdrop { background: #0a100b; }
.lightbox[open] { display: block; animation: fade-in .25s ease; }
/* Barra (topo), palco (meio) e legenda (base) com posições fixas: a foto nunca empurra a tela. */
.lightbox__bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--lb-top, 68px); padding: env(safe-area-inset-top) 1rem 0; }
.lightbox__count { font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; color: #dfe5d3; }
.lightbox__stage { position: absolute; left: 0; right: 0; top: var(--lb-top, 68px); bottom: var(--lb-bottom, 64px); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 0 .5rem; touch-action: pan-y pinch-zoom; }
/* A foto sempre cabe inteira na tela: vertical ou horizontal, sem rolagem. */
.lightbox__img { display: block; flex: none; width: auto; height: auto; max-width: calc(100vw - 1rem); max-height: calc(100vh - var(--lb-top, 68px) - var(--lb-bottom, 64px)); max-height: calc(100dvh - var(--lb-top, 68px) - var(--lb-bottom, 64px)); object-fit: contain; border-radius: 6px; user-select: none; -webkit-user-drag: none; transition: opacity .2s; }
.lightbox__img.is-loading { opacity: .35; }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: center; height: var(--lb-bottom, 64px); margin: 0; padding: 0 1rem env(safe-area-inset-bottom); overflow: hidden; font-size: .9375rem; line-height: 1.3; text-align: center; color: #dfe5d3; }
.lightbox button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: #fff; background: rgba(255, 255, 255, .12); border: 0; border-radius: 50%; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox button .chale-icon { width: 24px; height: 24px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: .75rem; }
.lightbox__next { right: .75rem; }
.lightbox[data-single] .lightbox__prev, .lightbox[data-single] .lightbox__next, .lightbox[data-single] .lightbox__count { display: none; }
.room-page__layout { display: grid; gap: 2.5rem; }
.room-page__aside .booking { position: sticky; top: calc(var(--header-h) + 1rem); }
.entry { padding-bottom: var(--section); }
.entry-content { max-width: 44rem; font-size: 1.125rem; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2 { font-size: 2rem; margin-top: 2em; }
.entry-content h3 { font-size: 1.5rem; margin-top: 1.75em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content a { color: var(--brand); }
.entry-thumb { overflow: hidden; margin: 0 0 2rem; border-radius: var(--radius); aspect-ratio: 16 / 9; background: var(--sage); }
.entry-thumb img { width: 100%; height: 100%; object-fit: cover; }
.entry-meta { margin-top: .75rem; font-size: .9375rem; color: var(--muted); }
.post-card .card__media { aspect-ratio: 16 / 9; }
.post-card time { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; padding-bottom: var(--section); }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 .75rem; color: var(--ink); text-decoration: none; border: 1px solid var(--line-strong); border-radius: 999px; }
.pagination .current { color: #fff; background: var(--ink); border-color: var(--ink); }
.not-found { padding-block: var(--section); text-align: center; }
.not-found .cta-final__mark { margin-inline: auto; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
	.hero__actions { display: flex; flex-wrap: wrap; }
	.hero__actions .btn { width: auto; }
	.booking__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.services__featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.amenity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gastro-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
	.reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.location__actions, .cta-final__actions { display: flex; flex-wrap: wrap; justify-content: center; max-width: none; }
	.location__actions { justify-content: flex-start; }
	.location__actions .btn, .cta-final__actions .btn, .events__intro .btn { width: auto; }
	.grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Capa = 2 colunas × 2 linhas; as demais preenchem colunas de cima para baixo, crescendo para a direita. */
	.room-page__gallery.is-many {
		--gap: .5rem;
		--col-w: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
		grid-template-columns: none; grid-template-rows: auto auto; grid-auto-flow: column; grid-auto-columns: var(--col-w); gap: var(--gap);
	}
	.room-page__gallery.is-many figure:first-child { grid-column: span 2; grid-row: 1 / 3; aspect-ratio: auto; }
	.room-page__gallery.is-two figure:first-child { aspect-ratio: 4 / 3; }
	.room-page__gallery.is-two figure:nth-child(2) { grid-row: 1 / 3; aspect-ratio: auto; }
	.room-page__gallery.is-scroll { overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .5rem; scrollbar-width: thin; scrollbar-color: var(--brand) transparent; }
	.room-page__gallery.is-scroll figure { scroll-snap-align: start; }
	.room-page__gallery:not(.is-many) figure { max-height: 620px; }
	.lightbox__prev { left: 1.5rem; }
	.lightbox__next { right: 1.5rem; }
	.lightbox__stage { padding: 0 5.5rem; }
	.lightbox__img { max-width: calc(100vw - 11rem); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__legal { flex-direction: row; justify-content: space-between; }
	.sheet__foot { grid-template-columns: 1fr auto; }
	.sheet__foot .btn { width: auto; }
	.sheet__foot .btn--primary { width: 100%; }
}

/* ---------- Computador ---------- */
@media (min-width: 1024px) {
	:root { --header-h: 80px; }
	.nav-desktop { display: block; }
	.nav-desktop ul { display: flex; gap: clamp(.75rem, 1.6vw, 1.75rem); }
	.nav-desktop a { position: relative; padding: .5rem 0; font-size: .9375rem; font-weight: 600; color: inherit; text-decoration: none; }
	.nav-desktop a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
	.nav-desktop a:hover::after, .nav-desktop a[aria-current]::after { transform: none; }
	.site-header__actions .btn, .langs--header { display: inline-flex; }
	.menu-toggle, .menu-mobile { display: none !important; }
	.brand__logo { height: var(--logo-h, 38px); max-width: min(27vw, 420px); }
	.nav-desktop a { white-space: nowrap; }
	.site-header__inner { gap: clamp(1rem, 2vw, 2rem); }
	.nav-desktop ul { gap: clamp(.75rem, 1.4vw, 1.75rem); }

	.hero { align-items: flex-end; }
	.hero__content { padding-bottom: clamp(9rem, 16vh, 11rem); }
	.hero__scroll { display: block; }
	.booking-section { margin-top: -5.25rem; }


	.about__grid { grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 6vw, 6rem); }
	.about__media { justify-self: end; }
	.quick-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.quick-facts > div:last-child { grid-column: auto; }

	.rail { grid-auto-columns: calc((min(100vw, 1240px) - 2 * var(--gutter) - 2rem) / 3); padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); }
	.rail--packages { grid-auto-columns: calc((min(100vw, 1240px) - 2 * var(--gutter) - 3rem) / 4); }
	.rail-nav { display: flex; }

	.sheet { width: min(1040px, calc(100vw - 4rem)); height: auto; max-height: min(760px, calc(100vh - 4rem)); margin: auto; border-radius: 24px; overflow: hidden; }
	.sheet__inner { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: 1fr auto; min-height: 0; height: min(760px, calc(100vh - 4rem)); }
	.sheet__gallery { grid-row: 1 / 3; height: 100%; min-width: 0; overflow: hidden; }
	.sheet__gallery.has-thumbs .swap-thumbs { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.25rem 1rem .9rem; background: linear-gradient(180deg, transparent, rgba(12, 20, 13, .55)); }
	.sheet__gallery.has-thumbs .swap-thumbs__btn { width: 76px; height: 57px; border-color: rgba(255, 255, 255, .6); }
	.sheet__gallery.has-thumbs .swap-thumbs__btn[aria-pressed="true"] { border-color: #fff; }
	.sheet__gallery > .chale-ph, .sheet__gallery > img, .gallery, .gallery__slide { height: 100%; aspect-ratio: auto !important; }
	.sheet__body { min-width: 0; }
	.sheet__body { overflow-y: auto; padding: 2.5rem 2.25rem 1.5rem; }
	.sheet__foot { position: static; padding: 1rem 2.25rem 1.5rem; }
	.sheet__close { position: absolute; top: 14px; right: 14px; }
	.amenity-grid { grid-template-columns: 1fr 1fr; }

	.gastro-grid { gap: 2.25rem; }
	.reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.events__grid { grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
	.events__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
	.partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.location__grid { grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: stretch; }
	.map-facade { min-height: 460px; }
	.faq__grid { grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
	.faq__grid .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
	.site-footer__grid { grid-template-columns: 1.4fr 1fr .8fr 1fr; gap: 3rem; }
	.grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.room-page__layout { grid-template-columns: 1fr 380px; gap: 4rem; align-items: start; }
	.room-page__aside .booking { display: block; padding: 1.5rem; }
	.room-page__aside .booking__grid { grid-template-columns: 1fr 1fr; }
	.room-page__aside .booking__chip { margin: 0 0 .9rem; }
	.room-page__aside .booking__head { margin-bottom: 1rem; }
	.room-page__aside .booking__submit { grid-column: 1 / -1; }

	.action-bar { display: none; }
	body.bar-visible { --bar-h: 0px; }
	.chale-consent { left: auto; right: 24px; bottom: 24px; }
}

/* ---------- Telas largas: formulário de reserva lado a lado ---------- */
@media (min-width: 1280px) {
	/* Título (e quarto escolhido) à esquerda; campos sempre na coluna da direita. */
	/* Barra da home mais larga que o conteúdo (até 1400 px) para as datas aparecerem inteiras. */
	.booking-section > .container { max-width: 1400px; }
	.booking { display: grid; grid-template-columns: 15rem minmax(0, 1fr); align-items: center; gap: .75rem 2rem; padding: 1.5rem 1.75rem; }
	.booking__head { grid-column: 1; grid-row: 1; margin: 0; align-self: end; }
	.booking__chip { grid-column: 1; grid-row: 2; margin: 0; justify-self: start; align-self: start; max-width: 100%; }
	.booking__chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.booking__grid { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: repeat(2, minmax(10.5rem, 1.25fr)) repeat(2, minmax(9.5rem, 1fr)) auto; align-items: end; }
	.booking__submit { grid-column: auto; margin: 0; min-height: 52px; }
	.booking__ages { grid-column: 1 / -1; }
	.booking__error { grid-column: 1 / -1; grid-row: 3; margin: 0; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.menu-mobile__list a { opacity: 1; transform: none; }
}
