/* ==========================================================================
   Pousada Boutique — estilos
   Cores e fontes vêm do painel "Pousada" como variáveis (ver inc/setup.php).
   ========================================================================== */

:root {
	--c-primary: #1b463e;
	--c-accent: #b5764a;
	--c-sand: #d9c7a7;
	--c-bg: #f6f2ea;
	--c-ink: #22261f;
	--c-paper: color-mix(in srgb, var(--c-bg) 60%, #fff);
	--c-muted: color-mix(in srgb, var(--c-ink) 62%, var(--c-bg));
	--c-line: color-mix(in srgb, var(--c-ink) 14%, transparent);
	--c-deep: color-mix(in srgb, var(--c-primary) 82%, #000);

	--f-display: 'Fraunces', Georgia, serif;
	--f-body: 'Source Sans 3', system-ui, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--space: clamp(72px, 10vw, 140px);
	--radius: 4px;
	--radius-lg: 18px;
	--header-h: 84px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--glass: color-mix(in srgb, var(--c-bg) 58%, transparent);
	--glass-dark: color-mix(in srgb, var(--c-deep) 38%, transparent);
	--blur: saturate(140%) blur(18px);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-ink);
	font-family: var(--f-body);
	font-size: clamp(16px, 1.05vw, 18px);
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--c-accent); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--c-sand); color: var(--c-ink); }

.container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--c-ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; }

/* Imagem neutra enquanto não há foto */
.pb-placeholder {
	display: block; width: 100%; height: 100%; min-height: 220px;
	background:
		radial-gradient(120% 80% at 20% 10%, color-mix(in srgb, var(--c-sand) 70%, transparent), transparent 60%),
		radial-gradient(90% 70% at 90% 100%, color-mix(in srgb, var(--c-primary) 35%, transparent), transparent 70%),
		color-mix(in srgb, var(--c-sand) 45%, var(--c-bg));
}

/* Tipografia de apoio ------------------------------------------------------ */
.kicker {
	font-family: var(--f-body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--c-accent);
	margin: 0 0 1.1em;
}
.kicker--light { color: color-mix(in srgb, #fff 82%, var(--c-sand)); }
.section-title { font-size: clamp(32px, 4.2vw, 58px); }
.section-lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--c-muted); max-width: 46ch; }
.page-title { font-size: clamp(38px, 5vw, 68px); }
.lead { font-size: 1.2em; color: var(--c-muted); }

.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(26px, 2.6vw, 36px); margin-top: 1.6em; }
.prose h3 { font-size: 1.4em; margin-top: 1.4em; }
.prose a { color: var(--c-primary); }
.prose ul { padding-left: 1.1em; }

/* Botões -------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: 0 1.6em;
	border: 1px solid transparent; border-radius: 999px;
	background: var(--c-primary); color: #fff;
	font-family: var(--f-body); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
	text-decoration: none; cursor: pointer;
	transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { color: #fff; background: var(--c-deep); }
.btn .icon { width: 18px; height: 18px; }
.btn--accent { background: var(--c-accent); }
.btn--accent:hover { background: color-mix(in srgb, var(--c-accent) 82%, #000); }
.btn--light { background: #fff; color: var(--c-ink); }
.btn--light:hover { background: var(--c-sand); color: var(--c-ink); }
.btn--outline { background: transparent; color: var(--c-ink); border-color: color-mix(in srgb, var(--c-ink) 30%, transparent); }
.btn--outline:hover { background: var(--c-ink); color: var(--c-bg); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--glass { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn--glass:hover { background: rgba(255, 255, 255, .26); }
.btn--small { min-height: 40px; padding: 0 1.25em; font-size: 12px; }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex; align-items: center; gap: .6em;
	font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
	text-decoration: none; color: var(--c-primary);
	border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Header ------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	height: var(--header-h);
	color: var(--c-ink);
	background: var(--glass);
	-webkit-backdrop-filter: var(--blur);
	backdrop-filter: var(--blur);
	border-bottom: 1px solid var(--c-line);
	transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand__logo { max-height: 52px; width: auto; }
.brand__logo--light { display: none; }
.brand__name { font-family: var(--f-display); font-size: 26px; letter-spacing: .01em; }

.site-nav { margin-left: auto; }
.site-nav__list { list-style: none; display: flex; gap: clamp(16px, 2.2vw, 34px); margin: 0; padding: 0; }
.site-nav__list a { text-decoration: none; font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: 8px 0; position: relative; }
.site-nav__list a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.site-nav__list a:hover { color: inherit; }
.site-nav__list a:hover::after, .site-nav__list .current-menu-item > a::after { right: 0; }
.site-nav__list .sub-menu { display: none; }
.site-nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle .icon { width: 28px; height: 28px; }

/* Header transparente sobre a foto do topo */
.has-hero .site-header { position: fixed; left: 0; right: 0; color: #fff; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-hero .site-header .brand__logo--light { display: block; }
.has-hero .site-header .brand__logo--dark { display: none; }
.has-hero .site-header .btn--header { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.has-hero .site-header.is-scrolled { color: var(--c-ink); background: var(--glass); border-color: var(--c-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.has-hero .site-header.is-scrolled .brand__logo--light { display: none; }
.has-hero .site-header.is-scrolled .brand__logo--dark { display: block; }
.has-hero .site-header.is-scrolled .btn--header { background: var(--c-primary); border-color: transparent; }
.site-header.is-scrolled { height: 68px; }

/* Hero ---------------------------------------------------------------------- */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; color: #fff; isolation: isolate; overflow: hidden; }
.hero--media { min-height: 78svh; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img, .hero__video, .hero__media .pb-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img { animation: pb-slow-zoom 22s var(--ease) both; }
.hero__media .pb-placeholder { background: radial-gradient(80% 90% at 75% 20%, color-mix(in srgb, var(--c-sand) 55%, transparent), transparent 60%), linear-gradient(160deg, var(--c-primary), var(--c-deep)); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 14, 12, .62) 0%, rgba(10, 14, 12, .28) 45%, rgba(10, 14, 12, 0) 75%), linear-gradient(0deg, rgba(10, 14, 12, .45), rgba(10, 14, 12, 0) 40%); }
.hero__content { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(32px, 5vw, 56px); }
.hero__text { max-width: 640px; }
.hero__title { font-size: clamp(42px, 6.2vw, 92px); font-weight: 300; margin-bottom: .35em; }
.hero__lead { font-size: clamp(17px, 1.4vw, 21px); max-width: 44ch; color: rgba(255, 255, 255, .88); margin-bottom: 1.6em; }
.hero__booking { padding-bottom: clamp(24px, 4vw, 48px); }
.hero--media .hero__content { padding-bottom: clamp(40px, 6vw, 72px); }

@keyframes pb-slow-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Barra de reserva (vidro fosco) */
.booking__glass {
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .32);
	border-radius: var(--radius-lg);
	-webkit-backdrop-filter: var(--blur);
	backdrop-filter: var(--blur);
	padding: 10px;
	box-shadow: 0 20px 60px -30px rgba(0, 0, 0, .5);
}
.booking--page .booking__glass { background: var(--c-paper); border-color: var(--c-line); color: var(--c-ink); }
.booking__form { display: grid; grid-template-columns: 1fr 1fr .6fr .6fr auto; gap: 8px; align-items: stretch; }
.booking__field { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 16px; border-radius: 12px; background: rgba(255, 255, 255, .1); min-width: 0; }
.booking__field span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.booking__field input, .booking__field select { appearance: none; background: transparent; border: 0; color: inherit; font: inherit; font-size: 16px; padding: 2px 0; width: 100%; color-scheme: dark; }
.booking--page .booking__field { background: var(--c-bg); }
.booking--page .booking__field input, .booking--page .booking__field select { color-scheme: light; }
.booking__field select option { color: var(--c-ink); }
.booking__form .btn { min-height: 64px; border-radius: 12px; }
.booking__note { margin: 12px 4px 0; font-size: 13.5px; color: rgba(255, 255, 255, .86); }
.booking__note a { color: inherit; }
.booking--page .booking__note { color: var(--c-muted); }

/* Motor de reservas dentro da barra de vidro */
.booking .rp-search { grid-template-columns: 1fr 1fr 1.2fr auto; }
.booking .rp-search__field { background: rgba(255, 255, 255, .1); border-color: transparent; color: inherit; }
.booking .rp-search__field > span { color: inherit; opacity: .8; }
.booking .rp-search input[type='date'] { color-scheme: dark; }
.booking--page .rp-search__field { background: var(--c-bg); }
.booking--page .rp-search input[type='date'] { color-scheme: light; }
.booking .rp-search__submit { background: var(--c-accent); }
.rp-room-booking .rp-search__field, .rp-room-booking .rp-search input[type='date'] { color-scheme: light; }
.rp-card__title, .rp-slot__title, .rp-results__info, .rp-card__total, .rp-quote__ok strong, .rp-manage__title { font-family: var(--f-display); font-weight: 400; }
.site-main .rp-results, .site-main > .prose .rp-search { max-width: var(--wrap); }
.room-booking { margin-top: 2.4em; }

@media (max-width: 1100px) {
	.booking .rp-search { grid-template-columns: 1fr 1fr; }
}

/* Seções -------------------------------------------------------------------- */
.section { padding-block: var(--space); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.empty-note { padding: 28px; border: 1px dashed var(--c-line); border-radius: var(--radius-lg); color: var(--c-muted); text-align: center; }

/* Capítulo (foto + texto) */
.chapter { padding-block: var(--space); }
.chapter + .chapter { padding-top: 0; }
.chapter__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.chapter--direita .chapter__media { order: 2; }
.chapter__count { font-family: var(--f-display); font-size: 15px; color: var(--c-muted); margin-bottom: 2.2em; letter-spacing: .06em; }
.chapter__count span { font-size: 34px; color: var(--c-ink); font-style: italic; }
.chapter__text .section-title { font-size: clamp(32px, 3.6vw, 52px); }
.chapter__text .prose { color: var(--c-muted); max-width: 48ch; margin-bottom: 2em; }

.collage { display: grid; gap: 14px; }
.collage__item { overflow: hidden; border-radius: var(--radius); background: var(--c-sand); }
.collage__item img, .collage__item .pb-placeholder { width: 100%; height: 100%; object-fit: cover; }
.collage--1 .collage__item { aspect-ratio: 4 / 5; }
.collage--2 { grid-template-columns: 1.4fr 1fr; align-items: end; }
.collage--2 .collage__item--1 { aspect-ratio: 4 / 5; }
.collage--2 .collage__item--2 { aspect-ratio: 3 / 4; margin-bottom: -48px; }
.collage--3 { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; }
.collage--3 .collage__item--1 { grid-row: 1 / 3; aspect-ratio: 3 / 4.4; }
.collage--3 .collage__item--2, .collage--3 .collage__item--3 { aspect-ratio: 1; }

/* Acomodações */
.rooms__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.rooms__head .section-head { margin-bottom: 0; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--c-line); border-radius: 999px; }
.tabs__btn { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; cursor: pointer; font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.tabs__btn[aria-selected='true'] { background: var(--c-primary); color: #fff; }
.rooms__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); }

.room-card { display: flex; flex-direction: column; }
.room-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--c-sand); }
.room-card__media img, .room-card__media .pb-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-card:hover .room-card__media img { transform: scale(1.04); }
.room-card__badge { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(20, 24, 20, .32); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.room-card__body { padding-top: 22px; display: flex; flex-direction: column; flex: 1; }
.room-card__title { font-size: clamp(24px, 2vw, 30px); margin-bottom: .4em; }
.room-card__title a { text-decoration: none; }
.room-card__amenities { color: var(--c-muted); font-size: 15px; }
.room-card__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--c-line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.room-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 0 0 12px; font-size: 14px; color: var(--c-muted); }
.room-meta li { display: inline-flex; align-items: center; gap: 6px; }
.room-meta .icon { width: 17px; height: 17px; }
.room-meta--light { color: rgba(255, 255, 255, .9); font-size: 15px; }

.price { margin: 0; font-size: 14px; color: var(--c-muted); }
.price strong { font-family: var(--f-display); font-weight: 400; font-size: 24px; color: var(--c-ink); }
.price--large strong { font-size: 36px; }

/* Experiências */
.experiences__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.exp__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); margin-bottom: 20px; background: var(--c-sand); }
.exp__media img, .exp__media .pb-placeholder { width: 100%; height: 100%; object-fit: cover; }
.exp__title { font-size: 26px; }
.exp p { color: var(--c-muted); }

/* Feito por aqui */
.makers { background: color-mix(in srgb, var(--c-sand) 30%, var(--c-bg)); }
.makers__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px clamp(28px, 4vw, 64px); }
.maker { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: start; padding-top: 28px; border-top: 1px solid var(--c-line); }
.maker__photo { width: 112px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--c-sand); }
.maker__photo img, .maker__photo .pb-placeholder { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.maker__craft { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-accent); margin-bottom: .4em; }
.maker__name { font-size: 26px; margin-bottom: .3em; }
.maker__name a { text-decoration: none; }
.maker__story { color: var(--c-muted); margin: 0; }

/* Galeria */
.gallery__grid { columns: 4 220px; column-gap: 14px; }
.gallery__item { display: block; margin-bottom: 14px; break-inside: avoid; overflow: hidden; border-radius: var(--radius); }
.gallery__item img { width: 100%; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }

/* Depoimentos (rolagem manual) */
.reviews { background: var(--c-primary); color: #fff; }
.reviews .kicker { color: var(--c-sand); }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(460px, 86%); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.review { scroll-snap-align: start; padding: 36px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); display: flex; flex-direction: column; justify-content: space-between; }
.review blockquote { margin: 0 0 28px; font-family: var(--f-display); font-size: clamp(20px, 1.8vw, 25px); line-height: 1.35; font-weight: 300; }
.review figcaption { display: flex; flex-direction: column; font-size: 14px; color: rgba(255, 255, 255, .7); }
.review figcaption strong { color: #fff; font-weight: 500; }

/* Localização */
.location__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.location__address { display: flex; gap: 10px; color: var(--c-muted); }
.location__address .icon { flex: 0 0 auto; color: var(--c-accent); }
.location__route { color: var(--c-muted); font-size: 15px; }
.location__map { aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-sand); }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }
.distances { list-style: none; padding: 0; margin: 1em 0; }
.distances li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; }
.distances li span:last-child { color: var(--c-muted); white-space: nowrap; }
.distances--large li { font-size: 17px; padding: 12px 0; }
.distances--large li span:first-child { font-family: var(--f-display); font-size: 20px; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__item { border-top: 1px solid var(--c-line); }
.faq__item:last-child { border-bottom: 1px solid var(--c-line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; font-family: var(--f-display); font-size: clamp(19px, 1.6vw, 23px); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: 0 0 auto; transition: transform .35s var(--ease); color: var(--c-accent); }
.faq__item[open] summary .icon { transform: rotate(90deg); }
.faq__answer { padding: 0 0 22px; color: var(--c-muted); max-width: 62ch; }

/* Chamada final */
.cta { position: relative; padding-block: clamp(120px, 16vw, 220px); color: #fff; isolation: isolate; overflow: hidden; }
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__media img, .cta__media .pb-placeholder { width: 100%; height: 100%; object-fit: cover; }
.cta__media .pb-placeholder { background: linear-gradient(140deg, var(--c-primary), var(--c-deep)); }
.cta__media::after { content: ''; position: absolute; inset: 0; background: rgba(10, 14, 12, .3); }
.cta__panel { max-width: 560px; padding: clamp(32px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--glass-dark); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.cta__title { font-size: clamp(32px, 3.6vw, 50px); font-weight: 300; }
.cta__panel p { color: rgba(255, 255, 255, .86); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Páginas internas */
.page-header { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(32px, 4vw, 48px); }
.text-block .prose { color: var(--c-muted); }
.site-main > .prose { padding-bottom: var(--space); }
.not-found { padding-block: var(--space); text-align: center; }
.not-found .cta__actions { justify-content: center; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: var(--space); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); margin-bottom: 18px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__title { font-size: 26px; }
.post-card__title a { text-decoration: none; }
.post-cover { margin-bottom: 2em; border-radius: var(--radius); overflow: hidden; }

/* Página da acomodação */
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.room-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 10px; }
.room-gallery__item { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.room-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.room-gallery__item:hover img { transform: scale(1.04); }
.room-gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 20, 17, .5); color: #fff; font-family: var(--f-display); font-size: 28px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.room-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(40px, 6vw, 96px); padding-block: clamp(56px, 7vw, 100px); align-items: start; }
.room-subtitle { font-size: clamp(26px, 2.4vw, 34px); }
.amenities { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; margin: 0 0 2.4em; }
.amenities li { padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.room-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.room-aside__card { padding: 28px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: var(--c-paper); display: grid; gap: 12px; }
.room-aside__note, .room-aside__hours { margin: 0; font-size: 14px; color: var(--c-muted); }
.rooms--related { padding-top: 0; }

/* Rodapé -------------------------------------------------------------------- */
.site-footer { background: var(--c-deep); color: rgba(255, 255, 255, .78); padding-top: clamp(72px, 9vw, 120px); font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .kicker { color: var(--c-sand); font-size: 11.5px; margin-bottom: 1.4em; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 48px; padding-bottom: 64px; }
.site-footer .brand__logo { max-height: 64px; }
.site-footer .brand__name { color: #fff; font-size: 30px; }
.site-footer__lead { margin-top: 20px; max-width: 34ch; font-family: var(--f-display); font-size: 20px; line-height: 1.4; color: rgba(255, 255, 255, .88); }
.site-footer .distances li { border-color: rgba(255, 255, 255, .12); font-size: 14px; }
.site-footer .distances li span:last-child { color: rgba(255, 255, 255, .55); }
.site-footer .link-arrow { color: var(--c-sand); }
.contact-list, .footer-menu, .socials { list-style: none; margin: 0; padding: 0; }
.contact-list li + li, .footer-menu li + li { margin-top: 10px; }
.contact-list a { display: inline-flex; gap: 10px; align-items: center; }
.contact-list .icon { width: 18px; height: 18px; color: var(--c-sand); }
.hours { margin-top: 20px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; }
.socials .icon { width: 19px; height: 19px; }
.seals { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.seal__img { max-height: 64px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .85; }
.seal__text { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 32px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .5); }

/* WhatsApp flutuante e botão de reserva fixo no celular */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 40;
	width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
	color: #fff; background: color-mix(in srgb, var(--c-primary) 78%, transparent);
	border: 1px solid rgba(255, 255, 255, .3);
	-webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
	box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45);
	transition: transform .35s var(--ease);
}
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.wa-float .icon { width: 26px; height: 26px; }
.mobile-book { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 5vw; background: rgba(12, 15, 13, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox img { max-height: 86vh; width: auto; border-radius: var(--radius); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Revelar ao rolar (só com JS ativo) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Responsivo ------------------------------------------------------------- */
@media (max-width: 1100px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.rooms__grid { grid-template-columns: repeat(2, 1fr); }
	.booking__form { grid-template-columns: 1fr 1fr; }
	.booking__form .btn { grid-column: 1 / -1; min-height: 54px; }
}

@media (max-width: 900px) {
	:root { --header-h: 68px; }
	.menu-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; inset: 0; z-index: -1;
		display: flex; flex-direction: column; justify-content: center; gap: 32px;
		padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
		color: var(--c-ink);
		background: color-mix(in srgb, var(--c-bg) 86%, transparent);
		-webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
		opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; }
	.nav-open .site-header { color: var(--c-ink); }
	.nav-open .site-header .brand__logo--light { display: none; }
	.nav-open .site-header .brand__logo--dark { display: block; }
	.site-nav__list { flex-direction: column; gap: 6px; }
	.site-nav__list a { font-family: var(--f-display); font-size: 34px; letter-spacing: 0; text-transform: none; font-weight: 400; }
	.site-nav__mobile-extra { display: flex; }
	.btn--header { display: none; }
	.chapter__grid, .location__grid, .faq__grid, .room-layout { grid-template-columns: 1fr; }
	.chapter--direita .chapter__media { order: 0; }
	.collage--2 .collage__item--2 { margin-bottom: 0; }
	.experiences__grid, .posts-grid { grid-template-columns: 1fr; }
	.makers__list { grid-template-columns: 1fr; }
	.room-gallery { grid-template-columns: repeat(3, 1fr); }
	.room-aside { position: static; }
	.hero__shade { background: linear-gradient(0deg, rgba(10, 14, 12, .7) 0%, rgba(10, 14, 12, .25) 55%, rgba(10, 14, 12, .1) 100%); }

	/* No celular a barra de reserva vira um botão fixo; a busca completa fica na página. */
	.hero__booking { display: none; }
	.mobile-book {
		display: flex; align-items: center; justify-content: center;
		position: fixed; left: 16px; right: 88px; bottom: 20px; z-index: 40;
		min-height: 56px; border-radius: 999px;
		background: color-mix(in srgb, var(--c-accent) 88%, transparent); color: #fff;
		border: 1px solid rgba(255, 255, 255, .3);
		-webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
		font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
		box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45);
	}
	.mobile-book:hover { color: #fff; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
	.rooms__grid, .site-footer__grid { grid-template-columns: 1fr; }
	.amenities { grid-template-columns: 1fr; }
	.maker { grid-template-columns: 80px 1fr; gap: 16px; }
	.maker__photo { width: 80px; }
	.tabs { width: 100%; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.hero__video { display: none; }
}

/* Moeda */
.price__approx { display: block; font-size: .85em; opacity: .7; }
.site-header__currency select { min-height: 34px; padding: 2px 8px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: 13px; opacity: .85; }
.site-header__currency select option { color: #22261f; }
@media (max-width: 640px) { .site-header__currency { display: none; } }

/* Cabeçalho no celular: o nome da casa nunca empurra o menu para fora da tela */
.brand { min-width: 0; }
@media (max-width: 640px) {
	.site-header__inner { gap: 12px; }
	.brand { flex: 1 1 auto; }
	.brand__name { font-size: clamp(17px, 5.2vw, 22px); line-height: 1.15; white-space: normal; }
	.brand__logo { max-height: 40px; max-width: 100%; }
	.site-header__actions { flex: none; }
}
