/* =============================================================
   Template Pousada — folha unica.
   Tudo que muda por lead esta em custom properties no :root.
   Ver leads/README.md para o contrato de tema.
   ============================================================= */

:root {
  /* --- paleta (editavel por lead) --- */
  --ink: #1b1a17;
  --ink-soft: #5c584f;
  --surface: #f7f4ee;
  --surface-2: #efe9df;
  --surface-3: #e5ddd0;
  --line: #ddd4c5;
  --accent: #2f4a37;
  --accent-hover: #24382a;
  --accent-ink: #f7f4ee;
  --highlight: #b4763a;

  /* --- tipografia (editavel por lead) --- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display-weight: 400;

  /* --- forma --- */
  --radius: 2px;
  --radius-lg: 4px;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 128px);

  /* --- escala tipografica --- */
  --t-display: clamp(2.5rem, 6.2vw, 5rem);
  --t-h2: clamp(1.75rem, 3.4vw, 2.9rem);
  --t-h3: clamp(1.15rem, 1.6vw, 1.45rem);
  --t-body: clamp(1rem, 1.05vw, 1.075rem);
  --t-small: 0.875rem;
  --t-eyebrow: 0.72rem;

  /* calendario e select nativos seguem o tema do site */
  color-scheme: light;
}

/* Tema escuro por lead: <html data-theme="dark"> */
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f2efe8;
  --ink-soft: #b3aca0;
  --surface: #16191a;
  --surface-2: #1e2223;
  --surface-3: #272c2d;
  --line: #343a3b;
  --accent: #c9a227;
  --accent-hover: #b8930f;
  --accent-ink: #16191a;
  --highlight: #d9b775;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}
html[data-theme="dark"] :focus-visible { outline-color: var(--highlight); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 18px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.section--alt { background: var(--surface-2); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 56ch; }

.eyebrow {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 14px;
  font-weight: 500;
}

.section-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
}
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; align-items: start; } }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- botoes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  font-family: var(--font-text); font-size: 0.925rem; font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn--ghost:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.btn--on-media { border-color: rgba(255,255,255,.65); color: #fff; background: rgba(0,0,0,.18); backdrop-filter: blur(2px); }
.btn--on-media:hover { background: #fff; color: #111; border-color: #fff; }
.btn--wide { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px;
  font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--line);
  transition: border-color .2s ease;
}
.link-arrow:hover { border-color: currentColor; }
.link-arrow::after { content: "\2197"; font-size: 0.95em; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.header__inner {
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  height: 76px; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
}
.header.is-solid,
.header.is-inner {
  background: var(--surface); color: var(--ink); border-bottom-color: var(--line);
}
.brand {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--font-display); font-size: 1.22rem; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
}
/* Logo do lead: so aparece quando o arquivo do lead define um src, e nesse
   caso o nome em texto sai de cena. Sem logo, nada muda. */
.brand__logo { height: 38px; width: auto; max-width: 190px; object-fit: contain; }
.brand__logo:not([src]) { display: none; }
.brand:has(.brand__logo[src]) .brand__name,
.brand:has(.brand__logo[src]) .brand__mark { display: none; }
.header:not(.is-solid):not(.is-inner):not(.is-open) .brand__logo { filter: brightness(0) invert(1); }

.brand__mark { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: .7; font-family: var(--font-text); }
/* Em tela estreita a cidade empurrava o botao do menu para fora da margem. */
@media (max-width: 560px) { .brand__mark { display: none; } }
/* O botao de reserva mora dentro do <nav>: no desktop e o ultimo item da linha,
   no celular o ultimo item do painel. Sem posicionamento absoluto, que era o que
   fazia o botao cair por cima do primeiro link do menu. */
.nav {
  display: flex; align-items: center; flex-wrap: nowrap;
  gap: clamp(14px, 1.6vw, 26px); margin-left: auto;
}
.nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 0.775rem; letter-spacing: 0.11em; text-transform: uppercase;
  text-decoration: none; opacity: .85;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
.nav a:not(.btn):hover,
.nav a[aria-current="page"] { opacity: 1; border-bottom-color: currentColor; }
.header__cta { margin-left: clamp(0px, 1vw, 14px); }

.nav-toggle {
  display: none; position: relative; z-index: 2;
  margin-left: auto; background: none; border: 0; color: inherit;
  font: inherit; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  min-height: 44px; padding: 0 4px; cursor: pointer;
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .header.is-open { background: var(--surface); color: var(--ink); border-bottom-color: var(--line); }

  /* painel de tela cheia, comecando abaixo da barra do cabecalho */
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: stretch; justify-content: center;
    gap: 0; margin: 0;
    padding: 100px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--surface); color: var(--ink);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .28s ease, transform .32s cubic-bezier(.2,.7,.3,1), visibility .32s;
  }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }

  .nav a:not(.btn) {
    font-family: var(--font-display); font-size: clamp(1.4rem, 6vw, 1.9rem);
    letter-spacing: -0.01em; text-transform: none; opacity: 1;
    padding: 18px 0; min-height: 60px;
    border-bottom: 1px solid var(--line);
  }
  .nav a:not(.btn):first-child { border-top: 1px solid var(--line); }
  .header__cta { width: 100%; margin: 32px 0 0; min-height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.hero__media { position: absolute; inset: 0; overflow: hidden; background: var(--surface-3); }
/* poster e video empilhados: o poster aparece na hora, o video entra quando toca */
.hero__media img, .hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__media video { opacity: 0; transition: opacity .9s ease; }

/* Lead sem filmagem nao fica parado: a propria foto ganha uma deriva lenta.
   Quando existe video, ele cobre a foto e a animacao para. */
@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(0, -1.5%, 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: hero-drift 28s ease-in-out infinite alternate; }
  .hero__media:has(video.is-playing) img { animation: none; }
}
.hero__media video.is-playing { opacity: 1; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.22) 26%, rgba(0,0,0,.42) 52%, rgba(0,0,0,.86) 100%);
}
.hero__body { position: relative; z-index: 2; padding-block: clamp(28px, 6vh, 72px) clamp(24px, 4vh, 40px); }
.hero .eyebrow { color: rgba(255,255,255,.82); }
.hero h1 { max-width: 15ch; }
.hero__lede { max-width: 46ch; margin-top: 20px; color: rgba(255,255,255,.9); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(24px, 4vh, 40px); z-index: 2;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* ---------- barra de reserva ---------- */
.bookbar { position: relative; z-index: 3; background: var(--surface); border-top: 1px solid var(--line); }
.bookbar__form {
  max-width: var(--maxw); margin-inline: auto; padding: 18px var(--gutter);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 16px; align-items: end;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: var(--t-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select {
  font: inherit; font-size: .95rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  min-height: 44px; padding: 0 2px; border-radius: 0;
}
.field input:hover, .field select:hover { border-bottom-color: var(--ink-soft); }
@media (max-width: 860px) {
  .bookbar__form { grid-template-columns: 1fr 1fr; }
  .bookbar__form .btn { grid-column: 1 / -1; }
}

/* ---------- numeros ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: clamp(24px, 4vw, 56px); }
.stat__n { font-family: var(--font-display); font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; }
.stat__l { margin-top: 10px; font-size: var(--t-small); color: var(--ink-soft); max-width: 26ch; }

/* ---------- split editorial ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-3); border-radius: var(--radius-lg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body { max-width: 52ch; }
.split__body h2 { margin-bottom: 20px; }
.split__actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 3 / 2; }
}

/* ---------- acomodacoes ---------- */
.rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 32px); }
.room { display: flex; flex-direction: column; text-decoration: none; }
.room__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-3); border-radius: var(--radius-lg); }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.room:hover .room__media img { transform: scale(1.035); }
.room__tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--surface); color: var(--ink);
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: var(--radius);
}
.room__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; }
.room__price { font-size: var(--t-small); color: var(--ink-soft); white-space: nowrap; }
.room__desc { margin-top: 8px; font-size: .95rem; color: var(--ink-soft); }
.room__meta { margin-top: 12px; font-size: .8rem; letter-spacing: .06em; color: var(--ink-soft); }
/* grade deslocada, estilo editorial */
.rooms--offset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rooms--offset .room:nth-child(even) { margin-top: clamp(24px, 6vw, 88px); }
@media (max-width: 720px) {
  .rooms--offset { grid-template-columns: 1fr; }
  .rooms--offset .room:nth-child(even) { margin-top: 0; }
}

/* ---------- trilho de experiencias ---------- */
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; flex: 0 0 clamp(240px, 30vw, 340px); }
.xp { display: flex; flex-direction: column; }
.xp__media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface-3); border-radius: var(--radius-lg); }
.xp__media img { width: 100%; height: 100%; object-fit: cover; }
.xp h3 { margin-top: 16px; font-size: 1.1rem; }
.xp p { margin-top: 8px; font-size: .9rem; color: var(--ink-soft); }
.xp__meta { margin-top: 10px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- video ---------- */
.filmstrip { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-3); border-radius: var(--radius-lg); }
.filmstrip video, .filmstrip img { width: 100%; height: 100%; object-fit: cover; }
.filmstrip__ui { position: absolute; inset: auto 0 0 0; padding: clamp(16px, 3vw, 32px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.6)); }
.filmstrip__caption { font-size: .85rem; letter-spacing: .04em; max-width: 40ch; }
@media (max-width: 700px) { .filmstrip { aspect-ratio: 4 / 5; } }

/* ---------- video de secao ----------
   Mesmo empilhamento da abertura: a foto e o que aparece primeiro, o laco entra
   por cima quando consegue tocar. Se o video nao carregar, fica a foto. */
.split__media, .xp__media, .roomrow__media, .room__media, .filmstrip { position: relative; }
.split__media > video,
.xp__media > video,
.roomrow__media > video,
.room__media > video,
.filmstrip > video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s ease;
  pointer-events: none;
}
.split__media > video.is-playing,
.xp__media > video.is-playing,
.roomrow__media > video.is-playing,
.room__media > video.is-playing,
.filmstrip > video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .split__media > video, .xp__media > video, .roomrow__media > video,
  .room__media > video, .filmstrip > video { display: none; }
}

/* ---------- galeria ---------- */
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery button {
  display: block; width: 100%; margin: 0 0 16px; padding: 0;
  border: 0; background: var(--surface-3); cursor: zoom-in; border-radius: var(--radius-lg);
  overflow: hidden; break-inside: avoid;
}
.gallery img { width: 100%; height: auto; transition: opacity .25s ease; }
.gallery button:hover img { opacity: .88; }

.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(10,10,9,.94); display: none; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 56px); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff;
  min-width: 48px; min-height: 48px; cursor: pointer; font-size: 1.1rem; border-radius: var(--radius);
}
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav[data-dir="prev"] { left: 16px; }
.lightbox__nav[data-dir="next"] { right: 16px; }

/* ---------- depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(24px, 3vw, 48px); }
.quote { border-top: 1px solid var(--line); padding-top: 24px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; }
.quote figcaption { margin-top: 18px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- localizacao ---------- */
.location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.location__map { aspect-ratio: 4 / 3; background: var(--surface-3); border-radius: var(--radius-lg); overflow: hidden; }
.location__map img, .location__map iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.routes { list-style: none; margin: 24px 0 0; padding: 0; }
.routes li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.routes span:last-child { color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { max-width: 78ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 0; min-height: 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-display); font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-text); font-size: 1.3rem; color: var(--ink-soft); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 22px; color: var(--ink-soft); max-width: 68ch; }

/* ---------- cta final ---------- */
.closing { background: var(--accent); color: var(--accent-ink); text-align: center; }
.closing h2 { max-width: 20ch; margin-inline: auto; }
.closing p { margin-top: 18px; color: color-mix(in srgb, var(--accent-ink) 82%, transparent); max-width: 50ch; margin-inline: auto; }
.closing .btn--ghost:hover { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.closing__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

/* ---------- rodape ---------- */
.footer { background: var(--surface-2); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px) 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.footer h3 { font-family: var(--font-text); font-size: var(--t-eyebrow); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; font-size: .92rem; }
.footer a:hover { text-decoration: underline; }
.footer address { font-style: normal; font-size: .92rem; color: var(--ink-soft); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink-soft); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- acao flutuante no celular ----------
   Uma pilula so, nao uma barra: aparece depois da abertura, some quando o
   convite final entra na tela e nunca cobre o rodape. */
.dock {
  position: fixed; z-index: 80;
  right: var(--gutter); bottom: calc(20px + env(safe-area-inset-bottom));
  display: none; min-height: 50px; padding: 0 26px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(20, 19, 16, .22);
  opacity: 0; transform: translateY(14px) scale(.96); pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2, .7, .3, 1);
}
.dock { visibility: hidden; }
.dock.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
@media (max-width: 940px) { .dock { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) {
  .dock { transition: opacity .2s ease; transform: none; }
}

/* ---------- cabecalho de paginas internas ---------- */
.pagehead { padding-block: calc(76px + clamp(48px, 7vw, 96px)) clamp(32px, 5vw, 64px); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.pagehead h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.pagehead .lede { margin-top: 20px; }

/* ---------- revelacao ----------
   Feita so com CSS, ligada ao scroll. Onde o navegador nao suporta, o conteudo
   simplesmente aparece: nenhuma secao depende de JavaScript para ser vista. */
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 4% cover 24%;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .room__media img { transition: none; }
  .hero__media video { transition: none; }
}

/* ---------- utilitarios ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

/* =============================================================
   Componentes das paginas internas
   ============================================================= */

/* linha de acomodacao (paginas internas) */
.roomrow { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.roomrow:nth-child(even) .roomrow__media { order: 2; }
.roomrow__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-3); border-radius: var(--radius-lg); }
.roomrow__media img { width: 100%; height: 100%; object-fit: cover; }
.roomrow__body { max-width: 54ch; }
.roomrow__price { margin-top: 8px; font-size: .95rem; color: var(--ink-soft); }
.roomrow__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 28px; }
@media (max-width: 860px) {
  .roomrow { grid-template-columns: 1fr; }
  .roomrow:nth-child(even) .roomrow__media { order: 0; }
}

/* lista de itens inclusos */
.amenities { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 24px; font-size: .92rem; color: var(--ink-soft); }
.amenities li { padding-left: 18px; position: relative; }
.amenities li::before { content: "\2014"; position: absolute; left: 0; color: var(--line); }

/* cardapio */
.menu { display: grid; gap: 0; max-width: 78ch; }
.menu__item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.menu__item p { grid-column: 1 / -1; margin: 6px 0 0; font-size: .92rem; color: var(--ink-soft); }
.menu__item h3 { font-size: 1.08rem; }
.menu__price { font-size: .9rem; color: var(--ink-soft); white-space: nowrap; }

/* texto longo */
.prose { max-width: 66ch; font-size: 1.05rem; }
.prose h2 { margin: clamp(36px, 5vw, 56px) 0 16px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }

/* blocos de informacao pratica */
.infogrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(24px, 3vw, 48px); }
.infocard { border-top: 1px solid var(--line); padding-top: 22px; }
.infocard h3 { font-size: 1.05rem; margin-bottom: 10px; }
.infocard p { font-size: .93rem; color: var(--ink-soft); }

/* faixa de fotos larga */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.strip img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; background: var(--surface-3); border-radius: var(--radius-lg); }
@media (max-width: 720px) { .strip { grid-template-columns: 1fr 1fr; } .strip img:last-child { display: none; } }

/* ---------- ajustes de plataforma ----------
   iOS da zoom na pagina inteira quando um campo tem menos de 16px, e o zoom
   nao volta sozinho. A barra de datas e o unico formulario do site. */
@media (max-width: 940px) {
  .field input, .field select { font-size: 16px; }
}

/* O bloco verde de fechamento e escuro: os controles nativos dentro dele
   precisam do esquema escuro, senao o icone do calendario some. */
.closing .bookbar__form { color-scheme: dark; }

/* Enquanto o menu do celular esta aberto, o resto da pagina nao rola. */
.is-locked { overflow: hidden; }
