/* =============================================================================
   CABANA RENASCENTE · VENÂNCIO AIRES/RS — Design system + componentes (mobile-first)
   ============================================================================= */

/* ------------------------------------------------------------------ FONTES
   Servidas pelo próprio site (sem Google Fonts): subset latin em woff2,
   licença SIL OFL em assets/fonts/LICENSES. swap = o texto aparece na hora
   com a fonte do sistema e troca quando a fonte chega. */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/playfair-display-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("../fonts/playfair-display-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/outfit-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Cormorant só aparece na marca: arquivo reduzido ao peso 500 e às letras latinas básicas (10 KB) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-brand.woff2") format("woff2"); unicode-range: U+0020-007E, U+00B7, U+2013-2014; }

/* ------------------------------------------------------------------ TOKENS */
:root {
  /* Paleta da Cabana Renascente, tirada das fotos: forro de madeira cumaru,
     vigas pretas, pedra, a mata e a luz quente das lâmpadas ao anoitecer */
  --bone: #f3eee6;
  --bone-2: #e9e2d6;
  --sand: #ddd1bf;
  --clay: #c9b294;
  --ink: #171512;
  --ink-2: #221f1a;
  --ink-soft: #2a261f99;
  --stone: #675e53;
  --stone-2: #8a7f72;
  --ember: #a4552a;
  --ember-2: #874421;
  --moss: #3f4a33;
  --line: rgba(23, 21, 18, 0.12);
  --line-2: rgba(23, 21, 18, 0.2);
  --on-dark: #f3eee6;
  --on-dark-soft: #cbc3b5;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(23, 21, 18, 0.06), 0 4px 14px rgba(23, 21, 18, 0.06);
  --shadow: 0 10px 30px -12px rgba(23, 21, 18, 0.28);
  --shadow-lg: 0 26px 60px -22px rgba(23, 21, 18, 0.42);

  --container: 1180px;
  --gutter: clamp(1.15rem, 5vw, 3.25rem);
  --section-y: clamp(4rem, 12vw, 8rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 64px;
}

/* -------------------------------------------------------------------- RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* Fundo da "tela" (canvas): escuro só como fallback do overscroll/scroll elástico
   nas pontas (o topo é o hero escuro e o rodapé é escuro). NÃO afeta as seções —
   o body (--bone) continua atrás delas; isto só pinta a área além do body. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bone);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

/* CRÍTICO: garante que qualquer elemento com [hidden] fique realmente oculto.
   Sem isto, .lightbox/.bkmodal (display:grid) viram overlay invisível que bloqueia
   TODOS os cliques do mouse na página inteira. */
[hidden] { display: none !important; }

/* Camadas decorativas nunca interceptam o mouse */
.hero__bg, .hero__bg-scrim, .final-cta__media, .final-cta__scrim, .tabs__indicator { pointer-events: none; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--on-dark);
  padding: 10px 16px; border-radius: var(--r-sm); transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------- PRIMITIVES */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ember-2); margin-bottom: 0.9rem;
}
.eyebrow--light { color: var(--clay); }

.section-title {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(2rem, 7.5vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.section-title--sm { font-size: clamp(1.6rem, 5.5vw, 2.2rem); }
.section-lead {
  margin-top: 1rem; max-width: 46ch;
  color: var(--stone); font-size: 1.02rem;
}
.section-head { margin-bottom: clamp(2rem, 6vw, 3.25rem); }
.section-head--tight { margin-bottom: 1.5rem; }

.media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 0.85rem 1.4rem; min-height: 48px; border-radius: var(--r-pill);
  transition: transform 0.2s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative; text-align: center; white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary { background: var(--ember); color: #fff; box-shadow: 0 10px 24px -10px rgba(164, 85, 42, 0.7); }
.btn--primary:hover { background: var(--ember-2); }
.btn--outline { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: rgba(23, 21, 18, 0.04); }
.btn--light { background: var(--bone); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--block { display: flex; width: 100%; }
.btn--lg { min-height: 54px; padding: 1rem 1.7rem; font-size: 1rem; }
.btn--sm { min-height: 40px; padding: 0.55rem 1rem; font-size: 0.85rem; }

/* Header sobre o hero: botão outline em claro */
.site-header:not(.is-scrolled) .btn--outline { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.5); }
.site-header:not(.is-scrolled) .btn--outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* Spinner de loading */
.btn__spinner { display: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #fff; animation: spin 0.7s linear infinite; }
.is-loading .btn__label { visibility: hidden; }
.is-loading .btn__spinner { display: block; position: absolute; inset: 0; margin: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------------- HEADER */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.site-header.is-scrolled {
  background: rgba(244, 241, 236, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-color: var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--on-dark); transition: color 0.3s; }
.site-header.is-scrolled .brand { color: var(--ink); }
.brand__mark { display: grid; place-items: center; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.06rem; font-weight: 400; letter-spacing: 0.005em; white-space: nowrap; }
.brand__sub { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.8; }

.nav-desktop { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 0.6rem; }
/* Em telas pequenas o header fica só com marca + menu (o CTA vive no hero, no drawer e no sticky) */
.site-header__actions .btn { display: none; }
@media (min-width: 560px) { .site-header__actions .btn { display: inline-flex; } }

.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm);
  color: var(--on-dark); transition: color 0.3s, background 0.2s;
}
.menu-toggle svg { width: 24px; height: 24px; }
.site-header.is-scrolled .menu-toggle { color: var(--ink); }
.menu-toggle:hover { background: rgba(127, 127, 127, 0.12); }

/* ----------------------------------------------------------------- DRAWER */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(18, 20, 16, 0.5); z-index: 150; opacity: 0; transition: opacity 0.3s; }
.drawer-backdrop.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 160; height: 100dvh;
  width: min(84vw, 340px); background: var(--bone); color: var(--ink);
  padding: 1.1rem 1.4rem calc(1.4rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 1.2rem;
  transform: translateX(100%); transition: transform 0.34s var(--ease);
  box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding-block: 0.3rem 0.6rem; border-bottom: 1px solid var(--line); }
.drawer .menu-toggle { color: var(--ink); }
.drawer .brand__name { font-size: 1.15rem; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 350; padding: 0.7rem 0;
  border-bottom: 1px solid var(--line); transition: color 0.2s, padding-left 0.2s;
}
.drawer__nav a:hover { color: var(--ember-2); padding-left: 6px; }
.drawer .btn { margin-top: auto; }

/* ------------------------------------------------------- HERO (glassmorphism) */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--on-dark); overflow: hidden; isolation: isolate; background: #12140f;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%;
  opacity: 0.82; animation: heroIn 1.6s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.08); opacity: 0; } to { transform: scale(1); opacity: 0.82; } }
.hero__bg-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 12% 15%, rgba(18, 20, 15, 0.32), transparent 58%),
    linear-gradient(180deg, rgba(14, 16, 12, 0.55) 0%, rgba(14, 16, 12, 0.24) 32%, rgba(14, 16, 12, 0.34) 68%, rgba(14, 16, 12, 0.9) 100%),
    linear-gradient(90deg, rgba(14, 16, 12, 0.82) 0%, rgba(14, 16, 12, 0.28) 48%, transparent 80%);
}
.hero__wrap { position: relative; z-index: 2; width: 100%;
  padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: clamp(4rem, 12vw, 7rem); }
.hero__left { display: flex; flex-direction: column; gap: 1.35rem; max-width: 680px; }
.hero__badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.85rem; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-soft);
}
.hero__badge-ic { color: var(--clay); display: grid; place-items: center; }
.hero__badge-ic svg { width: 15px; height: 15px; }
.hero__title {
  font-family: var(--serif); font-weight: 330;
  font-size: clamp(2.3rem, 10.5vw, 5.6rem); line-height: 0.98; letter-spacing: -0.025em;
  text-wrap: balance; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}
/* Mobile: título respira mais (linhas menos coladas, sem encostar nas bordas) */
@media (max-width: 680px) {
  .hero__title { line-height: 1.06; letter-spacing: -0.015em; }
}
.hero__title-grad {
  background: linear-gradient(115deg, #ffffff 0%, #eef0e4 40%, #b9c2a1 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic;
}
.hero__sub { max-width: 40ch; font-size: 1.06rem; color: var(--on-dark-soft); line-height: 1.6; }

/* --- Roller animado do hero (efeito "text roller") --- */
.hero__roller {
  display: inline-flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap;
  margin: 0.15rem 0 0.1rem;
}
.hero__roller-prefix {
  font-family: var(--sans); font-weight: 500; font-size: 1.06rem;
  color: var(--on-dark-soft);
}
.hero__roller-mask { position: relative; overflow: hidden; display: inline-block; vertical-align: bottom; }
.hero__roller-track { position: relative; }
/* Fonte compartilhada entre as palavras animadas e o "sizer" (reserva largura) */
.hero__roller-word, .hero__roller-size {
  white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-weight: 360;
  font-size: clamp(1.5rem, 5.5vw, 2.15rem); line-height: 1.2; letter-spacing: -0.01em;
}
.hero__roller-size { visibility: hidden; display: block; }
/* Cada palavra sobe suave (rise + fade). Fica embaixo, entra subindo, sai por cima. */
.hero__roller-word {
  position: absolute; left: 0; top: 0; will-change: transform, opacity;
  color: var(--rc, var(--ember)); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
  opacity: 0; transform: translateY(115%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s ease;
}
.hero__roller-word.is-in { opacity: 1; transform: translateY(0); }
.hero__roller-word.is-out { opacity: 0; transform: translateY(-115%); }

.hero__actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.3rem; }
.hero__actions .btn { width: 100%; }
.btn__arrow { display: inline-flex; }
.btn__arrow svg { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow svg { transform: translateX(4px); }

.btn--glass {
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); color: var(--on-dark);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); }

.glass-pill {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.75rem; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em; color: var(--on-dark-soft);
}
.glass-pill svg { width: 13px; height: 13px; color: var(--clay); }
.glass-pill__ping { position: relative; display: inline-flex; width: 8px; height: 8px; }
.glass-pill__ping span { position: absolute; inset: 0; border-radius: 50%; }
.glass-pill__ping span:first-child { background: #34d17a; opacity: 0.75; animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite; }
.glass-pill__ping span:last-child { background: #22c55e; }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }

/* --- Slider "O que a cabana oferece" --- */

.marquee { position: relative; display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 2.2rem; padding: 0 1.4rem; white-space: nowrap; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; cursor: pointer;
  font-size: 0.98rem; font-weight: 600; color: #e6e7dc; transition: color 0.2s, opacity 0.2s;
}
.marquee__item svg { width: 18px; height: 18px; color: var(--clay); transition: color 0.2s; flex: none; }
.marquee__item:hover { color: #fff; }
.marquee__item:hover svg { color: #dfe6cc; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Fade-in de entrada --- */
@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.animate-fade-in { animation: fadeSlideIn 0.8s var(--ease) both; }
.delay-100 { animation-delay: 0.08s; }
.delay-300 { animation-delay: 0.28s; }
.delay-400 { animation-delay: 0.4s; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
  width: 42px; height: 42px; display: grid; place-items: center; color: #fff;
  opacity: 0.8; animation: bob 2.4s ease-in-out infinite; z-index: 2;
}
.hero__scroll svg { width: 22px; height: 22px; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

@media (min-width: 560px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }
}
/* (animações mantidas mesmo com reduce-motion — decisão de design do proprietário) */

/* --------------------------------------------- SEGUNDA DOBRA (A cabana num relance) */
.stats { background: var(--ink); color: var(--on-dark); }
.stats .eyebrow { color: var(--clay); }
.stats .section-title { color: var(--on-dark); }
.stats .section-lead { color: var(--on-dark-soft); }

/* ----------------------------------------------------------- AVAILABILITY */
/* Mesmo tratamento visual da 3ª dobra "Tudo o que te espera na serra":
   fundo ink + cartão de vidro (glass-card). O formulário fica dark. */
.availability { background: var(--ink); color: var(--on-dark); }
/* 2ª dobra: sem padding no topo (o ticker encosta na quebra) + fundo compacto */
.availability.section { padding-top: 0; padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.availability .eyebrow { color: var(--clay); }
.availability .section-title { color: var(--on-dark); }
.availability .section-lead { color: var(--on-dark-soft); }

.card {
  background: #fdfcf9; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.2rem, 5vw, 1.9rem); box-shadow: var(--shadow);
}
.availability__form { display: grid; gap: 0.9rem; scroll-margin-top: 90px; transition: box-shadow 0.4s, transform 0.4s; }

/* --- Cartão do formulário em vidro (igual ao glass-card da 2ª dobra) --- */
.availability .card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
}
.availability .field__label { color: #e9e8df; }
.availability .input,
.availability .datefield,
.availability .stepper {
  background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: #fff;
}
.availability .input::placeholder { color: var(--on-dark-soft); }
.availability .input:focus,
.availability .datefield:focus-within {
  border-color: var(--clay); background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(184, 193, 159, 0.22);
}
.availability .datefield:hover { border-color: rgba(255, 255, 255, 0.32); }
.availability .datefield__icon { color: var(--clay); }
.availability .datefield__label,
.availability .datefield__value { color: var(--on-dark-soft); }
.availability .datefield.is-filled .datefield__value { color: #fff; }
.availability .stepper__btn { color: #fff; }
.availability .stepper__btn:hover { background: rgba(255, 255, 255, 0.12); }
.availability .stepper__value { color: #fff; }
.availability .availability__note { color: var(--on-dark-soft); }
.availability .form-status { color: #7fdca4; }
.availability .field__error { color: #ff9c85; }

.availability__form.is-pulse { animation: pulseDark 1.1s var(--ease); }
@keyframes pulseDark {
  0% { box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7); }
  30% { box-shadow: 0 0 0 4px rgba(184, 193, 159, 0.35), 0 24px 60px -28px rgba(0, 0, 0, 0.7); }
  100% { box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7); }
}

/* ---- Seção única de reserva: card resumo (glass) + card do formulário ---- */
.booking__head { max-width: 760px; margin-bottom: 0; }
/* z-index: mantém o grid (e o calendário que sai do card) acima do marquee */
.booking__grid { display: grid; gap: clamp(1.6rem, 4vw, 3rem); position: relative; z-index: 2; }
@media (min-width: 860px) {
  .booking__grid { grid-template-columns: 1fr 1fr; align-items: center; }
}
/* Pills no rodapé do card do formulário (WhatsApp + Pet friendly) */
.booking__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
  margin-top: 0.4rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.booking__aside { display: flex; }
.booking__aside > .availability__form { flex: 1; align-content: start; }
.booking__formhead { margin-bottom: 0.9rem; text-align: center; }
.booking__formtitle { font-family: var(--serif); font-size: clamp(1.35rem, 4vw, 1.65rem); font-weight: 380; color: #fff; letter-spacing: -0.01em; }
.booking__formsub { margin-top: 0.35rem; font-size: 0.88rem; color: var(--on-dark-soft); }
/* Ticker "O que a cabana oferece" — faixa full-bleed na quebra hero -> reserva */
.booking__marquee {
  position: relative; z-index: 1; overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  margin-bottom: clamp(1.7rem, 4vw, 2.8rem);
}
.booking__marquee-inner { display: flex; align-items: center; min-height: 62px; }
.booking__marquee .marquee { flex: 1; min-width: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-row--split { grid-template-columns: 1fr auto; align-items: end; }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field--grow { min-width: 0; }
.field__label { font-size: 0.8rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0.01em; }

.input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bone); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 0.8rem 0.9rem; min-height: 50px; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input::placeholder { color: var(--stone-2); }
.input:focus { outline: none; border-color: var(--ember); background: #fff; box-shadow: 0 0 0 3px rgba(164, 85, 42, 0.14); }
.input[aria-invalid="true"] { border-color: #b4472f; box-shadow: 0 0 0 3px rgba(180, 71, 47, 0.14); }

/* Campo de data (botão que abre o calendário custom) */
.datefield {
  position: relative; width: 100%; text-align: left; display: flex; align-items: center; gap: 0.7rem;
  background: var(--bone); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 0.7rem 0.85rem; min-height: 62px; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.datefield:hover { border-color: var(--clay); }
.datefield:focus-within { border-color: var(--ember); background: #fff; box-shadow: 0 0 0 3px rgba(164, 85, 42, 0.14); }
.datefield__icon { color: var(--ember-2); display: grid; place-items: center; flex: none; }
.datefield__icon svg { width: 20px; height: 20px; }
.datefield__body { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.datefield__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--stone); }
.datefield__value { font-size: clamp(0.7rem, 3vw, 0.98rem); font-weight: 500; color: var(--stone-2);
  text-transform: uppercase; letter-spacing: 0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.datefield.is-filled .datefield__value { color: var(--ink); }

/* Stepper de hóspedes */
.field--guests { min-width: 0; }
.stepper {
  display: inline-flex; align-items: center; gap: 0.25rem;
  background: var(--bone); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 0.3rem;
}
.stepper__btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.stepper__btn svg { width: 18px; height: 18px; }
.stepper__btn:hover { background: rgba(23, 21, 18, 0.07); }
.stepper__btn:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper__value { min-width: 1.6ch; text-align: center; font-weight: 600; font-size: 1.05rem; }

.field__error { color: #b4472f; font-size: 0.82rem; display: flex; align-items: center; gap: 0.35rem; }
.availability__note { font-size: 0.8rem; color: var(--stone-2); text-align: center; }
/* Nota do formulário sempre numa linha: a letra acompanha a largura no celular */
.availability__note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: min(0.8rem, calc((100vw - 5rem) * 0.0348)); }
.form-status { font-size: 0.9rem; color: var(--moss); text-align: center; min-height: 1.2em; font-weight: 500; }

/* --------------------------------------------- CALENDÁRIO CUSTOM (date range) */
.form-row[data-date-row] { position: relative; }
.datepicker {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 50;
  opacity: 0; transform: translateY(-8px) scale(0.985); transform-origin: top center;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease); pointer-events: none;
}
.datepicker.is-open { opacity: 1; transform: none; pointer-events: auto; }
/* Enquanto o calendário está aberto, a sticky CTA não pode cobrir os dias */
body.dp-open .sticky-cta,
body.bk-open .sticky-cta { opacity: 0; pointer-events: none; transform: translateY(12px); }
.datepicker__panel {
  background: linear-gradient(180deg, rgba(38, 42, 34, 0.98), rgba(24, 27, 21, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  padding: 0.95rem 0.95rem 0.8rem;
}
.dp-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.7rem; }
.dp-arrow {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}
.dp-arrow:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); }
.dp-arrow:disabled { opacity: 0.25; cursor: not-allowed; }
.dp-arrow svg { width: 18px; height: 18px; }
.dp-title { font-family: var(--serif); font-size: 1.12rem; font-weight: 380; color: #fff; text-transform: capitalize; }
.dp-title__y { color: var(--on-dark-soft); font-weight: 340; }
.dp-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 0.3rem; }
.dp-weekdays span { text-align: center; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--stone-2); padding: 0.3rem 0; }
/* Sem gap horizontal: a faixa do intervalo fica num trilho contínuo (entrada → saída) */
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; column-gap: 0; }
.dp-cell--blank { aspect-ratio: 1 / 1; }
.dp-day {
  position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; border-radius: 12px;
  color: var(--on-dark); font-size: 0.92rem; font-weight: 500; background: transparent;
  transition: background 0.14s, color 0.14s, transform 0.08s;
}
.dp-day > span { position: relative; z-index: 1; }
.dp-day:hover:not(.is-disabled):not(.is-start):not(.is-end):not(.is-range) { background: rgba(255, 255, 255, 0.1); }
.dp-day:active:not(.is-disabled) { transform: scale(0.94); }
.dp-day.is-disabled { color: rgba(255, 255, 255, 0.2); cursor: not-allowed; }
/* Dias ocupados: risco discreto, além do esmaecido de indisponível */
.dp-day.is-blocked { color: rgba(255, 255, 255, 0.26); }
.dp-day.is-blocked::before { content: ""; position: absolute; left: 24%; right: 24%; top: 50%;
  height: 1.5px; background: rgba(255, 255, 255, 0.32); transform: rotate(-12deg); border-radius: 2px; }
/* Até 389px o WhatsApp fica com menos largura que o próprio exemplo "(51) 90000-0000" ao lado do
   seletor de hóspedes: hóspedes descem para a linha de baixo, no tamanho natural do seletor.
   Abaixo de 360px o botão "Consultar disponibilidade" (sem quebra, 27px de respiro de cada lado)
   media 264px e alargava a página em 3px. */
@media (max-width: 389px) {
  .availability__form .form-row--split { grid-template-columns: 1fr; }
  .availability__form .form-row--split .stepper { justify-self: start; }
}
@media (max-width: 359px) {
  .availability__form .btn--lg { padding-inline: 0.9rem; }
}

/* Telas pequenas: Entrada/Saída SEMPRE lado a lado, compactando o interno do
   campo (gap, padding, ícone, label) pra caber os dois sem espremer/quebrar. */
@media (max-width: 480px) {
  .form-row[data-date-row] { gap: 0.5rem; }
  .datefield { gap: 0.45rem; padding: 0.6rem 0.6rem; min-height: 58px; }
  .datefield__icon svg { width: 16px; height: 16px; }
  .datefield__label { font-size: 0.6rem; letter-spacing: 0.05em; }
}
@media (max-width: 360px) {
  .datefield { gap: 0.35rem; padding: 0.55rem 0.5rem; }
}
.dp-day.is-today::after {
  content: ""; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--clay);
}
/* Trilho contínuo entre a entrada e a saída */
.dp-day.is-range { background: rgba(164, 85, 42, 0.22); border-radius: 0; color: #fff; }
.dp-day.is-start, .dp-day.is-end {
  background: linear-gradient(135deg, var(--ember), var(--ember-2)); color: #fff; font-weight: 700;
  box-shadow: 0 8px 22px -8px rgba(164, 85, 42, 0.85); z-index: 2;
}
.dp-day.is-start:not(.is-end) { border-radius: 12px 0 0 12px; }
.dp-day.is-end:not(.is-start) { border-radius: 0 12px 12px 0; }
.dp-day.is-start.is-end { border-radius: 12px; }
/* Preview enquanto arrasta o mouse até a data de saída */
.dp-day.is-preview { opacity: 0.94; }
.dp-day.is-today.is-start::after, .dp-day.is-today.is-end::after { background: #fff; }
.dp-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin-top: 0.8rem; padding-top: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.dp-hint { font-size: 0.85rem; color: var(--on-dark-soft); }
.dp-actions { display: inline-flex; gap: 0.5rem; }
.dp-btn { padding: 0.5rem 0.95rem; border-radius: var(--r-pill); font-size: 0.85rem; font-weight: 600; transition: background 0.2s, color 0.2s, border-color 0.2s, filter 0.2s; }
.dp-btn--ghost { color: var(--on-dark-soft); border: 1px solid rgba(255, 255, 255, 0.14); background: transparent; }
.dp-btn--ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.dp-btn--solid { color: #fff; background: linear-gradient(135deg, var(--ember), var(--ember-2)); }
.dp-btn--solid:hover { filter: brightness(1.08); }

/* ------------------------------------------------------------- EXPERIENCE */
.experience { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); }
.experience .eyebrow { color: var(--clay); }
.experience .section-title { color: var(--on-dark); }
/* Brilho quente ambiente para dar aconchego à dobra */
.experience::before {
  content: ""; position: absolute; top: -12%; right: -8%; width: 42rem; height: 42rem;
  background: radial-gradient(circle, rgba(164, 85, 42, 0.24), transparent 62%);
  filter: blur(34px); pointer-events: none; z-index: 0;
}
.experience__grid { position: relative; z-index: 1; display: grid; gap: clamp(1.8rem, 6vw, 3rem); }
.experience__lead { margin-top: 1.2rem; font-family: var(--serif); font-size: clamp(1.25rem, 4.5vw, 1.6rem); font-weight: 340; line-height: 1.35; color: #e8e7dd; }
.experience__body { margin-top: 1rem; color: var(--on-dark-soft); max-width: 48ch; }
.experience__notes { margin-top: 1.6rem; display: grid; gap: 0.75rem; }
.experience__notes li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.98rem; color: #e9e8df; }
.experience__notes svg { width: 20px; height: 20px; color: var(--clay); flex: none; }
.experience__figure { position: relative; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.1); }
.experience__figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9, 11, 8, 0.5), transparent 46%); pointer-events: none; }
.experience__cap {
  position: absolute; left: 0.9rem; bottom: 0.9rem; z-index: 2; display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.85rem; border-radius: var(--r-pill);
  background: rgba(14, 16, 12, 0.5); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.02em;
}
.experience__cap svg { width: 14px; height: 14px; color: var(--clay); }

/* ------------------------------------------------- SPACES (dark / stay-cards) */
.spaces { background: var(--ink); color: var(--on-dark); }
.spaces .eyebrow { color: var(--clay); }
.spaces .section-title { color: var(--on-dark); }
.spaces .section-lead { color: var(--on-dark-soft); }

.tabs { position: relative; display: inline-flex; gap: 0.25rem; padding: 0.3rem; margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-pill);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tab {
  position: relative; z-index: 1; padding: 0.6rem 1.35rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.92rem; color: var(--on-dark-soft); transition: color 0.25s; min-height: 44px;
}
.tab.is-active { color: #fff; }
.tabs__indicator {
  position: absolute; top: 0.3rem; left: 0; height: calc(100% - 0.6rem); border-radius: var(--r-pill);
  background: var(--ember); transition: transform 0.32s var(--ease), width 0.32s var(--ease); z-index: 0;
}

.tabpanel { display: grid; gap: 1.1rem; }
.tabpanel[hidden] { display: none; }

/* Cards de acomodação (estilo card com imagem + inset sobreposto) */
.stay-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -26px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.stay-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.2); }
.stay-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #1e211b; }
.stay-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.stay-card:hover .stay-card__img { transform: scale(1.05); }
.stay-card__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9, 11, 8, 0.55), transparent 45%); pointer-events: none; }
.stay-card__grupo {
  position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2; display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.7rem; border-radius: var(--r-pill); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: rgba(14, 16, 12, 0.5); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.stay-card__grupo svg { width: 13px; height: 13px; color: var(--clay); }
.stay-card__inset {
  position: absolute; right: 0.8rem; bottom: 0.8rem; z-index: 2; width: 33%; max-width: 128px; aspect-ratio: 4 / 3;
  border-radius: 12px; overflow: hidden; border: 2px solid rgba(255, 255, 255, 0.55); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
.stay-card__inset img { width: 100%; height: 100%; object-fit: cover; }
.stay-card__body { position: relative; padding: 1.1rem 1.2rem 1.35rem; }
.stay-card__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.stay-card__title { font-family: var(--serif); font-weight: 380; font-size: 1.5rem; color: #fff; letter-spacing: -0.01em; }
.stay-card__feat {
  display: inline-flex; align-items: center; gap: 0.4rem; flex: none;
  padding: 0.35rem 0.7rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem; font-weight: 600; color: var(--clay); white-space: nowrap;
}
.stay-card__feat svg { width: 14px; height: 14px; }
.stay-card__resumo { margin-top: 0.5rem; color: var(--on-dark-soft); font-size: 0.94rem; line-height: 1.5; }
.stay-card__items { margin-top: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.stay-card__items li {
  font-size: 0.75rem; color: #dcdcd0; padding: 0.3rem 0.65rem; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 760px) { .tabpanel { grid-template-columns: 1fr 1fr; gap: 1.4rem; } }

/* ------------------------------------------------------------ HIGHLIGHTS */
.highlights { background: var(--ink-2); color: var(--on-dark); }
.highlights .eyebrow { color: var(--clay); }
.highlights .section-title { color: var(--on-dark); }
.highlights__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter); /* encaixe no recuo: abre com o 1º cartão alinhado ao título */
  scrollbar-width: none;
}
.highlights__track::-webkit-scrollbar { display: none; }
.highlight-card {
  scroll-snap-align: start; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r); padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: 0.7rem;
}
.highlight-card__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(164, 85, 42, 0.18); color: var(--clay); }
.highlight-card__icon svg { width: 24px; height: 24px; }
.highlight-card__title { font-family: var(--serif); font-weight: 380; font-size: 1.25rem; }
.highlight-card__text { color: var(--on-dark-soft); font-size: 0.94rem; }

/* ------------------------------------------------------------- CTA BAND */
.cta-band { background: var(--ember); color: #fff; text-align: center; }
.cta-band__inner { display: grid; place-items: center; gap: 0.6rem; }
.cta-band__title { font-family: var(--serif); font-weight: 350; font-size: clamp(1.9rem, 7vw, 2.9rem); line-height: 1.08; letter-spacing: -0.01em; }
.cta-band__text { color: rgba(255, 255, 255, 0.85); margin-bottom: 0.8rem; }

/* ------------------------------------------------------------ AMENITIES */
.amenities { background: var(--bone-2); }
.amenities__grid { display: grid; gap: 0.9rem; }

.pet-strip {
  margin-top: 1.8rem; display: flex; align-items: center; gap: 1rem;
  background: var(--moss); color: var(--on-dark); border-radius: var(--r-lg); padding: 1.3rem 1.5rem;
}
.pet-strip__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.15); flex: none; }
.pet-strip__icon svg { width: 24px; height: 24px; }
.pet-strip__title { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.pet-strip__text { color: rgba(241, 239, 232, 0.85); font-size: 0.9rem; }

/* --- Comodidades com efeito de "abrir card" (motion herdado das avaliações) --- */
.amx {
  background: #fdfcf9; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.15rem 1.3rem; align-self: start;
  box-shadow: 0 1px 2px rgba(23, 21, 18, 0.04), 0 16px 34px -24px rgba(23, 21, 18, 0.36);
  transition: transform 0.4s cubic-bezier(0.34, 1.3, 0.5, 1), box-shadow 0.4s, border-color 0.4s;
}
.amx:hover { transform: translateY(-4px); border-color: var(--clay);
  box-shadow: 0 1px 2px rgba(23, 21, 18, 0.05), 0 26px 52px -26px rgba(23, 21, 18, 0.45); }
.amx__top { display: flex; align-items: center; gap: 0.8rem; }
.amx__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: var(--ember-2); flex: none; }
.amx__icon svg { width: 21px; height: 21px; }
.amx__id { flex: 1; min-width: 0; }
.amx__title { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.15; overflow-wrap: break-word; }
.amx__count { font-size: 0.78rem; color: var(--stone-2); }
.amx__chev { color: var(--stone-2); display: grid; place-items: center; flex: none;
  transition: transform 0.44s cubic-bezier(0.34, 1.3, 0.5, 1), color 0.3s; }
.amx__chev svg { width: 20px; height: 20px; }
.amx:hover .amx__chev { transform: rotate(180deg); color: var(--ember-2); }
/* Região que expande: grid-rows 0fr -> 1fr (mesma técnica do .rvx) */
.amx__reveal {
  display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: 0;
  transition: grid-template-rows 0.44s cubic-bezier(0.34, 1.3, 0.5, 1), opacity 0.3s ease, margin-top 0.44s cubic-bezier(0.34, 1.3, 0.5, 1);
}
.amx__reveal-in { overflow: hidden; min-height: 0; }
.amx:hover .amx__reveal { grid-template-rows: 1fr; opacity: 1; margin-top: 0.9rem; }
.amx__items { display: flex; flex-wrap: wrap; gap: 0.45rem; padding-top: 0.1rem; }
.amx__items li {
  font-size: 0.85rem; color: var(--ink-2); background: var(--bone); border: 1px solid var(--line);
  padding: 0.35rem 0.75rem; border-radius: var(--r-pill);
  transform: translateY(8px); transition: transform 0.44s cubic-bezier(0.34, 1.3, 0.5, 1);
}
.amx:hover .amx__items li { transform: none; }
/* Touch/mobile: sem hover, cards já abertos */
@media (hover: none) {
  .amx__reveal { grid-template-rows: 1fr; opacity: 1; margin-top: 0.9rem; }
  .amx__items li { transform: none; }
  .amx__chev { transform: rotate(180deg); }
}

/* ----------------------------------------------------------------- INFO */
.info { background: var(--bone-2); }
.info__list { display: grid; gap: 0.7rem; }
.info__item { display: flex; align-items: flex-start; gap: 0.8rem; color: var(--stone);
  background: transparent; border: 1px dashed var(--line-2); border-radius: var(--r-sm); padding: 0.9rem 1.05rem; font-size: 0.92rem; }
.info__item svg { width: 20px; height: 20px; color: var(--stone-2); flex: none; margin-top: 1px; }

/* ------------------------------------------------------------------ FAQ */
.faq { background: var(--bone); }
.faq__inner { max-width: 780px; }
.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 0.2rem; text-align: left; font-size: 1.05rem; font-weight: 500; color: var(--ink);
}
.faq-item__chevron { color: var(--ember-2); display: grid; place-items: center; flex: none; transition: transform 0.3s var(--ease); }
.faq-item__chevron svg { width: 22px; height: 22px; }
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }
.faq-item__a { overflow: hidden; max-height: 0; visibility: hidden; transition: max-height 0.35s var(--ease), visibility 0.35s; }
.faq-item.is-open .faq-item__a { max-height: 22rem; visibility: visible; }
.faq-item__a p { padding: 0 0.2rem 1.2rem; color: var(--stone); max-width: 62ch; }

/* ------------------------------------------------------------- FINAL CTA */
.final-cta { position: relative; color: var(--on-dark); overflow: hidden; isolation: isolate;
  display: flex; align-items: center; min-height: 78svh;
  /* fallback sólido (mesma cor da imagem de fundo): impede o body claro de
     aparecer enquanto a imagem-filho faz o fade no reveal. Fica sob a imagem. */
  background: #12140f; }
.final-cta__media { position: absolute; inset: 0; z-index: -1;
  background: #12140f; }
.final-cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.final-cta__scrim { position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 16, 12, 0.85), rgba(14, 16, 12, 0.5) 55%, rgba(14, 16, 12, 0.6)); }
.final-cta__content { position: relative; padding-block: clamp(3.5rem, 12vw, 6rem); }
.final-cta__title { font-family: var(--serif); font-weight: 330; font-size: clamp(2.3rem, 10vw, 4rem); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.final-cta__text { margin-top: 1rem; max-width: 40ch; color: var(--on-dark-soft); font-size: 1.05rem; margin-bottom: 1.8rem; }

/* --------------------------------------------------------------- FOOTER */
.site-footer { background: var(--ink); color: var(--on-dark-soft); padding-block: clamp(2.5rem, 8vw, 4rem) 1.5rem; }
.site-footer__inner { display: grid; gap: 1.6rem; }
.site-footer__brand { display: flex; flex-direction: column; color: var(--on-dark); }
.site-footer__brand .brand__sub { opacity: 0.7; margin-top: 0.2rem; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; }
.site-footer__nav a { color: var(--on-dark-soft); font-size: 0.92rem; transition: color 0.2s; }
.site-footer__nav a:hover { color: var(--on-dark); }
.footer-wa { display: inline-flex; align-items: center; gap: 0.55rem; color: #fff; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--r-pill); padding: 0.7rem 1.3rem; justify-self: start; transition: background 0.2s; }
.footer-wa svg { width: 1.15em; height: 1.15em; }
.footer-wa:hover { background: rgba(255, 255, 255, 0.08); }
.site-footer__legal { margin-top: 2rem; font-size: 0.78rem; color: rgba(201, 201, 188, 0.6); }

/* ----------------------------------------------------------- STICKY CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: transparent;
  transform: translateY(120%); transition: transform 0.34s var(--ease); pointer-events: none;
}
.sticky-cta.is-visible { transform: translateY(0); pointer-events: auto; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ------------------------------------------------------------- LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(12, 14, 10, 0.975); opacity: 0; transition: opacity 0.26s; padding: env(safe-area-inset-top) 1rem;
}
.lightbox.is-open { opacity: 1; }
.lightbox__stage { max-width: min(94vw, 1100px); max-height: 82svh; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.lightbox__img { max-width: 100%; max-height: 74svh; width: auto; height: auto; object-fit: contain;
  border-radius: var(--r-sm); opacity: 0; transform: scale(0.98); transition: opacity 0.3s, transform 0.3s; box-shadow: var(--shadow-lg); }
.lightbox__img.is-ready { opacity: 1; transform: scale(1); }
.lightbox__caption { color: var(--on-dark-soft); font-size: 0.85rem; text-align: center; max-width: 60ch; }
.lightbox__count { position: absolute; top: calc(env(safe-area-inset-top) + 1rem); left: 1.2rem; color: var(--on-dark-soft); font-size: 0.85rem; letter-spacing: 0.05em; }
.lightbox__close { position: absolute; top: calc(env(safe-area-inset-top) + 0.6rem); right: 0.8rem;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.1); }
.lightbox__close svg { width: 24px; height: 24px; }
.lightbox__close:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.1); transition: background 0.2s; }
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__nav svg { width: 26px; height: 26px; }
.lightbox__nav--prev { left: 0.6rem; }
.lightbox__nav--next { right: 0.6rem; }

/* --------------------------------------------------------------- REVEAL */
/* Reveal em CARDS/elementos internos: fade do próprio elemento — fica sobre o
   fundo sólido da seção, então nunca expõe o fundo global. */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
/* Reveal em SEÇÕES: o FUNDO da seção nunca some/desloca (senão o fundo claro do
   body aparece na transição do scroll). A seção fica sempre sólida no lugar e
   só o CONTEÚDO interno faz o fade+rise. Corrige o flash/faixa clara entre dobras. */
section[data-reveal] { opacity: 1; transform: none; }
section[data-reveal] > * { opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
section[data-reveal].is-visible > * { opacity: 1; transform: none; }

/* ============================================================ BREAKPOINTS */
@media (min-width: 560px) {
  .highlights__track { grid-auto-columns: 46%; }
}
/* Comodidades: 2 colunas a partir de 620px e 3 a partir de 960px. Com 2 colunas entre
   560–619px e 3 colunas em 768px, "Entretenimento" e "Climatização" passavam por baixo da seta */
@media (min-width: 620px) {
  .amenities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .amenities__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  :root { --header-h: 72px; }
  .experience__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .experience__figure { aspect-ratio: 4 / 5; }
  /* Tablet: os 5 cards não cabem lado a lado (ficavam espremidos e o último cortado), então a
     faixa continua deslizável como no celular, com 2,5 cards à vista; a grade de 5 é a partir de 1024px */
  .highlights__track { grid-auto-columns: 36%; }
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: center; }
  .site-footer__nav { justify-content: center; }
}

/* Diferenciais no PC: 3 colunas até 1179px e as 5 lado a lado a partir de 1180px, quando cada
   card tem ~200px e "Hidromassagem" cabe sem vazar */
@media (min-width: 900px) {
  .highlights__track { grid-auto-columns: 1fr; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible;
    margin-inline: 0; padding-inline: 0; }
}
@media (min-width: 1180px) {
  .highlights__track { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Menu completo só a partir de 1100px: entre 900 e ~1060px os links quebravam em duas linhas
   e o botão "Disponibilidade" saía da tela; abaixo disso fica o menu lateral */
@media (min-width: 1100px) {
  .nav-desktop { display: flex; gap: 1.7rem; }
  .nav-desktop a { font-size: 0.9rem; font-weight: 500; color: var(--on-dark); position: relative; transition: color 0.2s; white-space: nowrap; }
  .nav-desktop a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1.5px; background: currentColor; transition: width 0.25s; }
  .nav-desktop a:hover::after { width: 100%; }
  .site-header.is-scrolled .nav-desktop a { color: var(--ink); }
  .menu-toggle { display: none; }
}

/* ============================================ GALERIA EM LEQUE (fan cards) */
.fangal { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.fangal .eyebrow--light { color: var(--clay); }
.fangal .section-title { color: var(--on-dark); }
.fangal .section-lead { color: var(--on-dark-soft); }
.fangal .section-head { margin-bottom: clamp(1rem, 4vw, 2.2rem); }

/* Coverflow: cards quadrados num anel 3D (porte do CoverflowCarousel). A largura
   do card (--cf-card) define passo, recuo e perspectiva, então tudo escala junto. */
.fangal { padding-block: clamp(3.5rem, 10vw, 6rem); }
.cflow { --cf-card: clamp(210px, 26vw, 340px); position: relative; }
@media (max-width: 760px) { .cflow { --cf-card: min(64vw, 290px); } }
/* padding vertical: as sombras não são cortadas pelo overflow */
.cflow__frame { overflow: hidden; padding-block: 2.5rem; perspective: calc(var(--cf-card) * 3);
  touch-action: pan-y; cursor: grab; outline: none; -webkit-tap-highlight-color: transparent; }
.cflow__frame:focus-visible { box-shadow: inset 0 0 0 2px var(--ember); }
.cflow__frame.is-dragging { cursor: grabbing; }
/* O palco não recebe cliques: as fotos laterais ficam atrás do plano dele (translateZ
   negativo) e, sem isso, o toque nelas cairia no palco em vez da foto */
.cflow__stage { position: relative; height: var(--cf-card); transform-style: preserve-3d; pointer-events: none;
  user-select: none; -webkit-user-select: none; }
.cflow__card { position: absolute; left: 50%; top: 0; width: var(--cf-card); aspect-ratio: 1; overflow: hidden;
  border-radius: 18px; background: #12140f; opacity: 0; transform: translateX(-50%); will-change: transform, opacity; pointer-events: auto;
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.8), 0 4px 14px rgba(0, 0, 0, 0.4); }
.cflow__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.cflow__card img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  user-select: none; -webkit-user-drag: none; }
.cflow__card.is-center { cursor: zoom-in; }
.cflow__frame.is-dragging .cflow__card { cursor: grabbing; }
.cflow__caption { min-height: 4.2rem; text-align: center; }
.cflow__title { max-width: 46ch; margin-inline: auto; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.02rem, 2.4vw, 1.22rem); line-height: 1.35; color: var(--on-dark); }
.cflow__cat { margin-top: 0.35rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); }

.fangal__ctrl { display: flex; align-items: center; justify-content: center; gap: 1.1rem;
  margin-top: clamp(1.1rem, 4vw, 1.9rem); }
.fangal__arrow { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center;
  cursor: pointer; color: var(--on-dark); background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16); transition: background 0.25s, border-color 0.25s, transform 0.15s; }
.fangal__arrow:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }
.fangal__arrow:active { transform: scale(0.92); }
.fangal__arrow svg { width: 20px; height: 20px; }
.fangal__counter { min-width: 5ch; text-align: center; font-variant-numeric: tabular-nums;
  font-size: 0.95rem; letter-spacing: 0.1em; color: var(--on-dark-soft); }

/* ------------------------------------------------------ MODAL DE RESERVA */
/* O painel leva .availability, então o tema escuro do formulário vem junto. */
.bkmodal { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center;
  padding: calc(env(safe-area-inset-top) + 0.75rem) 0.75rem calc(env(safe-area-inset-bottom) + 0.75rem);
  opacity: 0; transition: opacity 0.26s; }
.bkmodal.is-open { opacity: 1; }
.bkmodal__backdrop { position: absolute; inset: 0; background: rgba(14, 16, 12, 0.62);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.bkmodal__panel { position: relative; z-index: 1; width: min(520px, 100%); max-height: calc(100svh - 1.5rem);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-lg);
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.8);
  transform: translateY(18px) scale(0.98); transition: transform 0.3s var(--ease); }
.bkmodal.is-open .bkmodal__panel { transform: none; }
.bkmodal__close { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); transition: background 0.2s; }
.bkmodal__close:hover { background: rgba(255, 255, 255, 0.16); }
.bkmodal__close svg { width: 20px; height: 20px; }
/* O painel já é o cartão: o form perde a moldura de vidro própria */
.bkmodal .availability__form.card { background: transparent; border: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none; }
.bkmodal .booking__formhead { padding-inline: 2.6rem; }
/* No modal o calendário entra no fluxo e empurra os campos, em vez de flutuar
   por cima deles (o painel cresce até o limite da tela e depois rola) */
.bkmodal .datepicker { position: static; grid-column: 1 / -1; }

/* =============================================================================
   IDENTIDADE — tipografia, marca, vídeos (herdado da base Casa Essentia)
   ============================================================================= */
/* Títulos no peso editorial do flyer (Playfair Display, em minúsculas) */
.section-title, .cta-band__title, .final-cta__title { font-weight: 700; letter-spacing: -0.02em; }
.hero__title { font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.hero__roller-word, .hero__roller-size { font-weight: 500; }
.stay-card__title, .highlight-card__title { font-weight: 600; }
.drawer__nav a { font-weight: 500; }

/* Marca: triângulo da cabana em A + nome em caixa alta */
.brand { gap: 0.7rem; }
.brand__mark { color: var(--clay); }
.site-header.is-scrolled .brand__mark { color: var(--stone-2); }
.brand__name { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.17em; font-size: 1.04rem; }
.brand__sub { letter-spacing: 0.2em; }

.hero__bg-img { object-position: 50% 50%; }

/* Anel taupe do flyer como ornamento da seção "aqui, o tempo desacelera" */
.experience { position: relative; overflow: hidden; }
.experience::before { content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: min(80vw, 640px); aspect-ratio: 1; right: -20%; top: -12%; border-radius: 50%;
  border: clamp(14px, 2.2vw, 26px) solid rgba(207, 197, 184, 0.12); }
.experience > .container { position: relative; z-index: 1; }

/* Vídeos em painéis: lado a lado no PC (o ativo abre e toca); no celular,
   faixas empilhadas e o painel tocado abre em 3:4 */
.reels { background: var(--bone-2); }
.reels__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem; }
.reels__hint { margin-top: 0.4rem; display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.84rem; color: var(--stone); }
.reels__hint svg { width: 16px; height: 16px; color: var(--ember-2); flex: none; }
.reels__hint-mob { display: none; }
@media (hover: none) {
  .reels__hint-desk { display: none; }
  .reels__hint-mob { display: inline; }
}

.vpanels { display: flex; gap: 0.5rem; height: clamp(420px, 42vw, 540px); margin-top: clamp(1.6rem, 4vw, 2.4rem); }
.vpanel { position: relative; flex: 1 1 0%; min-width: 0; overflow: hidden; isolation: isolate; border-radius: 14px;
  background: #1b1d18; cursor: pointer; transition: flex-grow 0.6s var(--ease), box-shadow 0.3s;
  -webkit-tap-highlight-color: transparent; }
/* O aberto fica perto de 3:4: mais largo que isso cortaria demais os vídeos verticais */
.vpanel.is-active { flex-grow: 3.4; box-shadow: 0 24px 50px -28px rgba(23, 21, 18, 0.55); }
/* Botão nativo cobrindo o painel (clique, teclado e leitor de tela) */
.vpanel__hit { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit;
  background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vpanel__hit:focus-visible { outline: 2px solid var(--ember); outline-offset: -3px; }
@supports selector(:has(*)) {
  .vpanel__hit:focus-visible { outline: none; }
  .vpanel:has(.vpanel__hit:focus-visible) { outline: 2px solid var(--ember); outline-offset: 3px; }
}
.vpanel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  transform: scale(1.04); transition: transform 0.8s var(--ease); }
.vpanel.is-active .vpanel__video { transform: none; }
.vpanel__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 11, 9, 0.78), rgba(10, 11, 9, 0.2) 45%, rgba(10, 11, 9, 0.3)); }
.vpanel.is-active .vpanel__shade { background: linear-gradient(to top, rgba(10, 11, 9, 0.62), transparent 40%); }
.vpanel__num { position: absolute; top: 0.8rem; left: 0.85rem; z-index: 2; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.85); }
.vpanel__label { position: absolute; left: 50%; bottom: 1rem; z-index: 2; transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl; white-space: nowrap; color: #fff; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; transition: opacity 0.3s; }
.vpanel.is-active .vpanel__label { opacity: 0; }
.vpanel__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 0.6rem;
  padding: 1rem 1.1rem; color: #fff; opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease); }
.vpanel.is-active .vpanel__info { opacity: 1; transform: none; transition-delay: 0.25s; }
.vpanel__avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.3); }
.vpanel__avatar img { width: 100%; height: 100%; object-fit: cover; }
.vpanel__title { min-width: 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }
.vpanel__play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; display: grid; place-items: center; color: #fff; pointer-events: none;
  background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transform: scale(0.8); transition: opacity 0.3s, transform 0.3s; }
.vpanel__play svg { width: 20px; height: 20px; margin-left: 3px; }
.vpanel.is-active:not(.is-playing) .vpanel__play { opacity: 1; transform: none; transition-delay: 0.25s; }
.vpanel__sound { position: absolute; top: 0.65rem; right: 0.65rem; z-index: 4; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.3s, background 0.2s; }
.vpanel.is-active .vpanel__sound { opacity: 1; pointer-events: auto; transition-delay: 0.25s; }
.vpanel__sound svg { width: 17px; height: 17px; }
.vpanel__ic { display: grid; place-items: center; }
.vpanel__ic--on { display: none; }
.vpanel.is-sound .vpanel__ic--on { display: grid; }
.vpanel.is-sound .vpanel__ic--off { display: none; }
.vpanel.is-sound .vpanel__sound { background: var(--ember); border-color: var(--ember); }

/* Celular: painéis empilhados; o aberto em 3:4 e os outros viram faixas com número e nome */
@media (max-width: 760px) {
  .vpanels { flex-direction: column; height: auto; gap: 0.45rem; }
  .vpanel { flex: none; height: 64px; transition: height 0.6s var(--ease); }
  .vpanel.is-active { height: min(calc((100vw - 2 * var(--gutter)) * 4 / 3), 72svh); }
  .vpanel__label { left: 3.2rem; right: 1rem; bottom: auto; top: 50%; transform: translateY(-50%); writing-mode: horizontal-tb;
    overflow: hidden; text-overflow: ellipsis; text-transform: none; letter-spacing: 0.01em; font-size: 0.98rem; }
  .vpanel__num { top: 50%; transform: translateY(-50%); }
  .vpanel.is-active .vpanel__num { top: 0.8rem; transform: none; }
  .vpanel__shade { background: linear-gradient(90deg, rgba(10, 11, 9, 0.86), rgba(10, 11, 9, 0.6)); }
  .vpanel.is-active .vpanel__shade { background: linear-gradient(to top, rgba(10, 11, 9, 0.62), transparent 40%); }
}


/* Rodapé: faixa editorial do flyer + contato */
.site-footer__tag { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone-2); margin-top: 0.8rem; }
.site-footer__contact { display: grid; gap: 0.3rem; font-size: 0.9rem; font-style: normal; }
.site-footer__contact a { color: var(--on-dark); }
.site-footer__contact a:hover { text-decoration: underline; }

/* Logo original no rodapé (bloco bege, como na última página do flyer) */
.site-footer__logo { width: 92px; height: 92px; border-radius: var(--r); object-fit: cover; margin-bottom: 1rem; }

/* Hero com a fachada: foto em tratamento quente + véu âmbar (aconchego) */
.hero--fachada { background: #1c140d; }
.hero--fachada .hero__bg-img { opacity: 1; object-position: 50% 56%; animation-name: heroInWarm; }
/* Só zoom suave, sem fade: a foto aparece assim que chega (não atrasa a pintura) */
@keyframes heroInWarm { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero--fachada .hero__bg-scrim {
  background:
    radial-gradient(60% 45% at 74% 58%, rgba(255, 170, 90, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(30, 19, 10, 0.55) 0%, rgba(30, 19, 10, 0.12) 30%, rgba(30, 19, 10, 0.22) 64%, rgba(24, 15, 8, 0.88) 100%),
    linear-gradient(90deg, rgba(30, 19, 10, 0.84) 0%, rgba(30, 19, 10, 0.34) 46%, transparent 78%);
}
.hero--fachada .hero__title-grad { background: linear-gradient(115deg, #ffffff 0%, #f6e3c6 45%, #e2b27a 100%);
  -webkit-background-clip: text; background-clip: text; }
@media (max-width: 760px) {
  .hero--fachada .hero__bg-img { object-position: 54% 50%; }
  .hero--fachada .hero__bg-scrim {
    background:
      radial-gradient(80% 40% at 60% 52%, rgba(255, 170, 90, 0.14), transparent 70%),
      linear-gradient(180deg, rgba(30, 19, 10, 0.62) 0%, rgba(30, 19, 10, 0.40) 40%, rgba(30, 19, 10, 0.55) 70%, rgba(24, 15, 8, 0.92) 100%);
  }
}

/* Hero noturno (casa iluminada): véu mais leve para as luzes brilharem */
.hero--fachada { background: #0f1420; }
.hero--fachada .hero__bg-img { object-position: 50% 62%; }
.hero--fachada .hero__bg-scrim {
  background:
    linear-gradient(180deg, rgba(10, 12, 18, 0.50) 0%, rgba(10, 12, 18, 0.06) 28%, rgba(20, 14, 9, 0.10) 66%, rgba(18, 13, 9, 0.86) 100%),
    linear-gradient(90deg, rgba(14, 12, 10, 0.78) 0%, rgba(14, 12, 10, 0.30) 44%, transparent 72%);
}
@media (max-width: 760px) {
  .hero--fachada .hero__bg-img { object-position: 60% 50%; }
  .hero--fachada .hero__bg-scrim {
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.55) 0%, rgba(14, 12, 10, 0.38) 38%, rgba(14, 12, 10, 0.48) 70%, rgba(18, 13, 9, 0.92) 100%);
  }
}

/* Hero noturno: texto sobe para a área escura das árvores e ganha contraste
   sobre o beiral branco; a direita (suíte, banheira, piscina) fica limpa. */
.hero--fachada { align-items: flex-start; }
.hero--fachada .hero__wrap { padding-top: calc(var(--header-h) + clamp(1.25rem, 4.5vh, 2.75rem)); }
.hero--fachada .hero__title { font-size: clamp(2.2rem, 9.6vw, 4.5rem);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.35); }
.hero--fachada .hero__sub, .hero--fachada .hero__roller { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7); }
.hero--fachada .hero__bg-scrim {
  background:
    linear-gradient(180deg, rgba(10, 12, 18, 0.45) 0%, rgba(10, 12, 18, 0.06) 26%, rgba(20, 14, 9, 0.08) 66%, rgba(18, 13, 9, 0.86) 100%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.86) 0%, rgba(12, 11, 10, 0.62) 28%, rgba(12, 11, 10, 0.22) 52%, transparent 72%);
}
@media (max-width: 760px) {
  .hero--fachada .hero__bg-scrim {
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.58) 0%, rgba(12, 11, 10, 0.50) 30%, rgba(12, 11, 10, 0.54) 62%, rgba(18, 13, 9, 0.92) 100%);
  }
}
/* Texto em degradê (background-clip: text): text-shadow vaza pelo recorte e
   deixa a palavra cinza — usa drop-shadow, que respeita o recorte. */
.hero--fachada .hero__title-grad { text-shadow: none; filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.55)); }

/* Hero noturno (foto 4:3): casa ancorada embaixo do título; véu mais leve
   para as janelas acesas aparecerem (a leitura fica com as sombras do texto). */
.hero--fachada .hero__bg-img { object-position: 50% 0%; }
.hero--fachada .hero__bg-scrim {
  background:
    linear-gradient(180deg, rgba(10, 12, 18, 0.40) 0%, rgba(10, 12, 18, 0.04) 26%, rgba(20, 14, 9, 0.04) 66%, rgba(18, 13, 9, 0.84) 100%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.74) 0%, rgba(12, 11, 10, 0.44) 28%, rgba(12, 11, 10, 0.12) 52%, transparent 70%);
}
@media (max-width: 760px) {
  .hero--fachada .hero__bg-img { object-position: 56% 50%; }
  .hero--fachada .hero__bg-scrim {
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.52) 0%, rgba(12, 11, 10, 0.36) 30%, rgba(12, 11, 10, 0.34) 60%, rgba(18, 13, 9, 0.9) 100%);
  }
  .hero--fachada .hero__sub, .hero--fachada .hero__roller, .hero--fachada .hero__roller-prefix { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.6); }
}

/* <picture> não cria caixa: a <img> continua se comportando como filha direta (hero,
   cards, galeria, anfitrião, CTA final e lightbox) */
picture { display: contents; }
/* Sem zoom de entrada na foto: a primeira tela fica pronta assim que a foto chega */
.hero--fachada .hero__bg-img { animation: none; }
/* Celular em pé recebe o recorte retrato da foto (hero-noite-m), já centralizado */
@media (max-width: 760px) and (orientation: portrait) {
  .hero--fachada .hero__bg-img { object-position: 50% 50%; }
}
/* Celular: botões do hero um pouco mais abaixo (menos nas telas baixas, sem encostar na seta) */
@media (max-width: 559px) and (min-height: 701px) {
  .hero--fachada .hero__actions { margin-top: clamp(0.3rem, calc(18svh - 6.5rem), 4rem); }
}

/* Rodapé e formulário: texto legal com contraste AA e link da política */
.site-footer__legal { color: #a3a497; }
.site-footer__legal a, .availability__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__legal a:hover, .availability__note a:hover { color: #fff; }

/* A experiência: vídeo principal em 9:16, inteiro na tela (altura da janela menos
   uma folga) e exibido no máximo na resolução original de 720x1280 */
.experience__figure--video { aspect-ratio: 9 / 16; width: min(100%, calc((100svh - 9rem) * 9 / 16));
  justify-self: center; background: #12140f; border-radius: var(--r-lg); cursor: pointer; }
.experience__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Botão nativo transparente sobre o vídeo: pausa/retoma com clique, toque ou teclado */
.experience__toggle { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0;
  border-radius: inherit; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.experience__toggle:focus-visible { outline: 2px solid var(--clay); outline-offset: -4px; }
.experience__figure--video .experience__cap { pointer-events: none; }
.experience__sound { position: absolute; top: 0.8rem; right: 0.8rem; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 0.2s; }
.experience__sound svg { width: 18px; height: 18px; }
.experience__ic { display: grid; place-items: center; }
.experience__ic--on { display: none; }
.experience__figure.is-sound .experience__ic--on { display: grid; }
.experience__figure.is-sound .experience__ic--off { display: none; }
.experience__figure.is-sound .experience__sound { background: var(--ember); border-color: var(--ember); }
.experience__play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-radius: 50%; display: grid; place-items: center; color: #fff; pointer-events: none;
  background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s; }
.experience__play svg { width: 22px; height: 22px; margin-left: 3px; }
.experience__figure.is-paused .experience__play { opacity: 1; }
@media (min-width: 768px) { .experience__figure--video { justify-self: end; } }

/* ----------------------------------------------------- RENDERIZAÇÃO SOB DEMANDA
   Seções abaixo da primeira dobra: o navegador só calcula leiaute e pintura quando elas
   se aproximam da tela (content-visibility), o que corta a maior tarefa do carregamento
   no celular. contain-intrinsic-size é a altura do CONTEÚDO, sem o padding da seção (o
   navegador soma o padding por fora), medida em 390px, na média de 768/820px e em 1440px.
   "auto" passa a lembrar a altura exata depois da primeira vez. Quem pula para o meio da
   página deixa seções nunca desenhadas acima da tela: app.js (initSectionPrerender) desenha
   essas seções com a rolagem parada e corrige a posição, então a diferença entre estimativa
   e altura real não faz a página pular; as âncoras conferem a posição ao terminar de rolar
   (scrollToId). */
#experiencia, #espacos, #videos, .highlights, #galeria, .cta-band, #comodidades,
.info, #faq, #reservar, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* Alturas medidas na Cabana Renascente em 16/09/2026 (390 / média 768-820 / 1440). No tablet, as comodidades
   abrem expandidas em tela de toque (medidas com toque); o fechamento acompanha a altura da tela. */
@media (max-width: 759px) {
  #experiencia { contain-intrinsic-size: auto 1190px; } #espacos { contain-intrinsic-size: auto 2026px; }
  #videos { contain-intrinsic-size: auto 1044px; } .highlights { contain-intrinsic-size: auto 344px; }
  #galeria { contain-intrinsic-size: auto 673px; } .cta-band { contain-intrinsic-size: auto 182px; }
  #comodidades { contain-intrinsic-size: auto 1609px; } .info { contain-intrinsic-size: auto 465px; }
  #faq { contain-intrinsic-size: auto 748px; } #reservar { contain-intrinsic-size: auto 660px; }
  .site-footer { contain-intrinsic-size: auto 414px; }
}
@media (min-width: 760px) and (max-width: 899px) {
  #experiencia { contain-intrinsic-size: auto 686px; } #espacos { contain-intrinsic-size: auto 1196px; }
  #videos { contain-intrinsic-size: auto 654px; } .highlights { contain-intrinsic-size: auto 346px; }
  #galeria { contain-intrinsic-size: auto 607px; } .cta-band { contain-intrinsic-size: auto 167px; }
  #comodidades { contain-intrinsic-size: auto 1100px; } .info { contain-intrinsic-size: auto 435px; }
  #faq { contain-intrinsic-size: auto 758px; } #reservar { contain-intrinsic-size: auto 702px; }
  .site-footer { contain-intrinsic-size: auto 214px; }
}
@media (min-width: 900px) {
  #experiencia { contain-intrinsic-size: auto 756px; } #espacos { contain-intrinsic-size: auto 1400px; }
  #videos { contain-intrinsic-size: auto 778px; } .highlights { contain-intrinsic-size: auto 408px; }
  #galeria { contain-intrinsic-size: auto 741px; } .cta-band { contain-intrinsic-size: auto 167px; }
  #comodidades { contain-intrinsic-size: auto 577px; } .info { contain-intrinsic-size: auto 435px; }
  #faq { contain-intrinsic-size: auto 762px; } #reservar { contain-intrinsic-size: auto 702px; }
  .site-footer { contain-intrinsic-size: auto 210px; }
}

/* ------------------------------------------------------ MOVIMENTO REDUZIDO
   Só para quem ativou "Reduzir movimento" no sistema: tira deslocamentos e loops
   decorativos; o layout e o conteúdo continuam iguais. */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], section[data-reveal] > * { transform: none !important; transition-duration: 0.01ms !important; }
  .animate-fade-in { animation: none !important; }
  .hero__scroll, .glass-pill__ping span:first-child { animation: none !important; }
  .hero__roller-word, .vpanel, .vpanel__video { transition-duration: 0.01ms !important; }
}

/* Selos do formulário sempre lado a lado (inclusive no celular) */
.booking__pills { flex-wrap: nowrap; gap: 0.4rem; }
.booking__pills .glass-pill { flex: 0 1 auto; min-width: 0; white-space: nowrap; }
@media (max-width: 480px) {
  .booking__pills { gap: 0.3rem; }
  .booking__pills .glass-pill { font-size: clamp(0.56rem, 2.65vw, 0.7rem); padding: 0.32rem 0.5rem; gap: 0.3rem; letter-spacing: 0; }
  .booking__pills .glass-pill svg { width: 12px; height: 12px; }
}

/* Hero noturno no PC: a foto (6:5, vista da rede do deck) aparece INTEIRA, sem corte — ocupa a altura do
   hero, encosta à direita e se funde no fundo escuro à esquerda, onde fica o texto.
   Em telas mais "quadradas" que 4:3 (tablet em pé) volta ao cover normal. */
@media (min-width: 761px) and (min-aspect-ratio: 4/3) {
  .hero--fachada .hero__bg { display: flex; justify-content: flex-end; background: #0c1017; }
  .hero--fachada .hero__bg-img { width: auto; height: 100%; max-width: none; flex: none;
    aspect-ratio: 1440 / 1200; object-fit: cover; object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 12%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 12%, #000 30%); }
  .hero--fachada .hero__bg-scrim {
    background:
      linear-gradient(180deg, rgba(8, 11, 16, 0.35) 0%, rgba(8, 11, 16, 0) 22%, rgba(8, 11, 16, 0) 72%, rgba(14, 12, 10, 0.55) 100%),
      linear-gradient(90deg, rgba(10, 12, 16, 0.70) 0%, rgba(10, 12, 16, 0.38) 34%, rgba(10, 12, 16, 0.08) 56%, transparent 70%);
  }
}

/* Hero no celular em pé (foto da rede do deck): a cabana acesa fica no alto e o
   texto desce para cima da manta, onde a foto é escura. O texto continua ancorado
   por cima (espaço fixo acima dele): alinhado embaixo, o bloco inteiro subia quando
   a fonte chegava e isso contava como deslocamento de leiaute (CLS). */
@media (max-width: 760px) and (orientation: portrait) {
  .hero--fachada { align-items: flex-start; }
  .hero--fachada .hero__wrap { padding-top: calc(var(--header-h) + clamp(8.5rem, 34svh, 20rem)); padding-bottom: 4.5rem; }
  .hero--fachada .hero__left { gap: 1rem; }
  .hero--fachada .hero__badge { display: none; }
  .hero--fachada .hero__actions { margin-top: 0.35rem; }
  .hero--fachada .hero__bg-scrim {
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.50) 0%, rgba(10, 12, 18, 0.06) 20%, rgba(12, 11, 10, 0.18) 38%, rgba(14, 11, 8, 0.74) 56%, rgba(14, 11, 8, 0.94) 100%);
  }
}

