/* =====================================================================
   Coco Bambu Botafogo · Landing page de reserva de mesa no salão
   1 Tokens · 2 Base e tipografia · 3 Botões · 4 Cabeçalho · 5 Hero
   6 Seções · 7 Galeria · 8 Mesas · 9 A casa · 10 Momentos
   11 Avaliações · 12 Endereço · 13 Passos e FAQ · 14 Reserva
   15 Rodapé · 16 Responsivo · 17 Movimento · 18 Notas e selos
   ===================================================================== */

/* ---------- 1 Tokens ---------- */
:root {
  /* Paleta do logotipo (dourado e vinho) e do ambiente da casa:
     madeira, tijolo, luz de vela e linho das mesas. */
  --espresso: #1A100B;
  --wood: #2A1A12;
  --wood-2: #33221A;
  --maroon: #4A1B17;
  --gold: #C9A45C;
  --gold-soft: #E3C68B;
  --gold-deep: #A8853F;
  --linen: #F4ECDF;
  --linen-80: rgba(244, 236, 223, 0.82);
  --linen-70: rgba(244, 236, 223, 0.72);
  --linen-50: rgba(244, 236, 223, 0.52);
  --parchment: #EFE5D3;
  --paper: #FAF5EA;
  --ink: #2A1A12;
  --ink-70: rgba(42, 26, 18, 0.72);
  --ink-50: rgba(42, 26, 18, 0.55);
  --olive: #6B7A57;
  --error: #F0A28F;
  --error-border: #E38B76;

  --hair-dark: rgba(201, 164, 92, 0.22);
  --hair-light: rgba(42, 26, 18, 0.14);

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  --font: 'Roboto', 'Helvetica Neue', Arial, system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section-y: clamp(5rem, 11vw, 9.5rem);

  color-scheme: dark;
}

/* ---------- 2 Base e tipografia ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--espresso);
  color: var(--linen);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Roboto em registro editorial: títulos grandes em peso leve, largura
   levemente condensada e tracking negativo; rótulos pequenos em caixa
   alta espaçada; números tabulares. */
h1, h2, h3 {
  font-family: var(--font);
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  font-weight: 300;
  font-stretch: 92%;
  letter-spacing: -0.035em;
  line-height: 1.03;
}
h3 {
  font-size: clamp(1.12rem, 1.3vw, 1.28rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { display: block; }
figure { margin: 0; }
strong, b { font-weight: 500; }

.label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.num { font-variant-numeric: tabular-nums lining-nums; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--gold);
  color: var(--espresso);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.scroll-sentinel {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 90px;
  pointer-events: none;
}

/* Grão fino fixo: textura de papel sem custo de repaint no scroll. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.section--light :focus-visible { outline-color: var(--maroon); }

/* ---------- 3 Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 48px;
  padding: 0.9rem 1.6rem 0.9rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 0.94rem/1 var(--font);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.5s var(--ease),
    background-color 0.5s var(--ease),
    border-color 0.5s var(--ease),
    color 0.5s var(--ease),
    box-shadow 0.6s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--gold); color: var(--espresso); }
.btn--ghost {
  background: rgba(244, 236, 223, 0.06);
  color: var(--linen);
  border-color: rgba(244, 236, 223, 0.3);
}
.btn__icon {
  width: 2rem;
  height: 2rem;
  margin-right: -0.7rem;
  border-radius: 50%;
  background: rgba(26, 16, 11, 0.12);
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease);
}
.btn__icon svg, .icon-btn svg, .ico {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn__icon svg { width: 1rem; height: 1rem; stroke-width: 1.5; }
.btn--sm { min-height: 40px; padding: 0.65rem 1.2rem; font-size: 0.88rem; }
.btn--lg { min-height: 56px; padding: 1.1rem 2.1rem; font-size: 1rem; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(244, 236, 223, 0.28);
  background: transparent;
  color: var(--linen);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.5s var(--ease), color 0.5s var(--ease), background-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.25; }
.icon-btn:active { transform: scale(0.95); }
.icon-btn[disabled] { opacity: 0.35; cursor: default; }
.section--light .icon-btn { color: var(--ink); border-color: rgba(42, 26, 18, 0.22); }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--gold-soft);
}
.kicker::before { content: ""; width: 2.5rem; height: 1px; background: var(--gold); flex: none; }

.note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--linen-50); max-width: 70ch; }
.section--light .note { color: var(--ink-50); }

/* Moldura dupla: casca fina + núcleo com raio concêntrico. */
.bezel {
  padding: 6px;
  border-radius: var(--r-lg);
  background: rgba(244, 236, 223, 0.04);
  border: 1px solid var(--hair-dark);
  box-shadow: 0 40px 80px -48px rgba(0, 0, 0, 0.7);
}
.bezel > * {
  border-radius: calc(var(--r-lg) - 6px);
  background: var(--wood);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.section--light .bezel {
  background: rgba(42, 26, 18, 0.04);
  border-color: var(--hair-light);
  box-shadow: 0 40px 70px -48px rgba(42, 26, 18, 0.45);
}
.section--light .bezel > * { background: var(--paper); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8); }

/* ---------- 4 Cabeçalho ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  padding: 1rem 0;
  border-bottom: 1px solid transparent;
  transition: background-color 0.6s var(--ease), padding 0.6s var(--ease), border-color 0.6s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(26, 16, 11, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  border-bottom-color: var(--hair-dark);
  padding: 0.6rem 0;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { height: 30px; width: auto; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.9rem; }
.site-nav a {
  position: relative;
  color: var(--linen-70);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.4rem 0.1rem;
  transition: color 0.4s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.site-nav a[aria-current="true"] { color: var(--linen); }
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }

/* Barra de leitura: só existe onde há animação ligada ao scroll. */
.site-header__progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  display: none;
}

/* ---------- 5 Hero com camada sobreposta ----------
   O hero fica preso (sticky) e a seção seguinte sobe por cima dele.
   --stick-top é calculado no JS para que um hero mais alto que a tela
   seja lido inteiro antes de ser coberto. */
.hero {
  position: sticky;
  top: var(--stick-top, 0px);
  z-index: 0;
}
.hero__stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  isolation: isolate;
  overflow: hidden;
  transform-origin: 50% 30%;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #0B0705;
  opacity: 0;
  pointer-events: none;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Filtro escuro sob a coluna de texto e nas bordas de cima e de baixo.
     Medido sobre a foto: nos 5% de pixels mais claros atrás do texto, o
     contraste fica acima de 6,5:1 no desktop e de 5,9:1 no celular. */
  background:
    linear-gradient(90deg, rgba(18, 11, 7, 0.9) 0%, rgba(18, 11, 7, 0.78) 30%, rgba(18, 11, 7, 0.45) 55%, rgba(18, 11, 7, 0.12) 78%, rgba(18, 11, 7, 0) 100%),
    linear-gradient(180deg, rgba(18, 11, 7, 0.6) 0%, rgba(18, 11, 7, 0) 26%, rgba(18, 11, 7, 0) 55%, rgba(18, 11, 7, 0.92) 100%);
}
.hero__content {
  align-self: end;
  padding-top: clamp(7rem, 17vh, 11rem);
  padding-bottom: clamp(2rem, 4.5vw, 3.5rem);
}
.hero .kicker { font-size: 0.9rem; font-weight: 400; letter-spacing: 0.01em; }
.hero__title {
  margin-top: 1.4rem;
  font-size: clamp(2.7rem, 6.6vw, 6.4rem);
  font-weight: 300;
  font-stretch: 86%;
  letter-spacing: -0.045em;
  line-height: 0.96;
  color: var(--linen);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}
.hero__title span { display: block; }
.hero__lead {
  margin-top: 1.6rem;
  max-width: 50ch;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 350;
  line-height: 1.6;
  color: rgba(244, 236, 223, 0.9);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
  text-wrap: pretty;
}
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__note { margin-top: 1rem; font-size: 0.84rem; color: var(--linen-70); }

.hero__facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  /* folga inferior extra: a próxima seção entra por cima destes 2,25rem */
  padding: 1.4rem 0 calc(1.7rem + 2.25rem);
  border-top: 1px solid rgba(244, 236, 223, 0.16);
}
.hero__facts dt { color: var(--gold); }
.hero__facts dd {
  margin: 0.45rem 0 0;
  font-size: 1.2rem;
  font-weight: 300;
  font-stretch: 94%;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--linen);
}

/* A seção que cobre o hero: cantos arredondados, sombra e um filete
   dourado na borda, como uma folha pousando sobre a foto. */
.section--overlap {
  margin-top: -2.25rem;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  border-top: 1px solid rgba(201, 164, 92, 0.3);
  box-shadow: 0 -40px 80px -20px rgba(0, 0, 0, 0.6);
}

/* ---------- 6 Seções ---------- */
.section {
  position: relative;
  z-index: 1;
  padding-block: var(--section-y);
  scroll-margin-top: 4.5rem;
}
.section--dark { background: var(--espresso); }
.section--light { background: var(--parchment); color: var(--ink); color-scheme: light; }
.section--light h2, .section--light h3 { color: var(--ink); }

.section__head { max-width: 64ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head p {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--linen-70);
  max-width: 56ch;
  text-wrap: pretty;
}
.section--light .section__head p { color: var(--ink-70); }

/* Luz que acompanha o ponteiro nos cartões (valores vêm do JS). */
.spotlight { position: relative; }
.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(227, 198, 139, 0.14), transparent 45%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}

/* ---------- 7 Galeria ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(120px, 19vw, 260px);
  gap: clamp(0.6rem, 1.2vw, 1rem);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--ph, var(--wood));
  grid-column: span 4;
  grid-row: span 2;
}
.gallery__item--wide { grid-column: span 8; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.gallery__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(26, 16, 11, 0.55));
  opacity: 0.7;
  transition: opacity 0.8s var(--ease);
  pointer-events: none;
}
.gallery__item figcaption {
  position: absolute;
  left: 1rem;
  bottom: 0.95rem;
  z-index: 2;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--linen);
  transition: transform 0.8s var(--ease);
}

/* ---------- 8 Calculadora e salões ---------- */
.finder { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.finder__inner {
  padding: clamp(1.5rem, 3.2vw, 2.75rem);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.finder__control { display: grid; gap: 0.5rem; }
.finder__out { display: flex; align-items: baseline; gap: 0.6rem; margin-top: 0.3rem; color: var(--ink); }
.finder__out strong {
  font-size: clamp(3.6rem, 6.4vw, 5.6rem);
  font-weight: 200;
  font-stretch: 90%;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--maroon);
  font-variant-numeric: tabular-nums;
}
.finder__out span { font-size: 1rem; color: var(--ink-70); }
.finder__scale { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--ink-50); margin-top: -0.4rem; font-variant-numeric: tabular-nums; }

.finder input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.finder input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--maroon) var(--fill, 30%), rgba(42, 26, 18, 0.16) var(--fill, 30%));
}
.finder input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -11.5px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--paper);
  box-shadow: 0 2px 12px rgba(42, 26, 18, 0.35);
  transition: transform 0.4s var(--ease);
}
.finder input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.finder input[type="range"]::-moz-range-track { height: 3px; border-radius: 2px; background: rgba(42, 26, 18, 0.16); }
.finder input[type="range"]::-moz-range-progress { height: 3px; border-radius: 2px; background: var(--maroon); }
.finder input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--paper);
  box-shadow: 0 2px 12px rgba(42, 26, 18, 0.35);
}
.finder input[type="range"]:focus-visible { outline: none; }
.finder input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--maroon); outline-offset: 3px; }
.finder input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--maroon); outline-offset: 3px; }

.finder__answer { display: grid; gap: 1.25rem; justify-items: start; }
.finder__result { font-size: 1.05rem; font-weight: 300; line-height: 1.55; color: var(--ink-70); text-wrap: pretty; }
.finder__result strong { color: var(--ink); font-weight: 500; }
.finder__result a { color: var(--maroon); }

.rooms {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.room {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--hair-light);
  transition: border-color 0.6s var(--ease), box-shadow 0.7s var(--ease), transform 0.7s var(--ease);
}
.room.is-match {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.32), 0 30px 60px -40px rgba(42, 26, 18, 0.45);
}
.room__media { aspect-ratio: 4 / 3; background: var(--ph, var(--wood)); overflow: hidden; }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.room__body { padding: 1.4rem 1.6rem 1.75rem; }
.room__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem 0.38rem 0.6rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--espresso);
  font-size: 0.76rem;
  font-weight: 500;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.5);
}
.room__tag svg { width: 14px; height: 14px; stroke-width: 1.75; }
.room.is-match .room__tag { display: inline-flex; }
.room__cap { display: flex; align-items: baseline; gap: 0.5rem; margin: 0.55rem 0 0.8rem; color: var(--maroon); }
.room__cap b {
  font-size: 3.2rem;
  font-weight: 200;
  font-stretch: 90%;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.room__cap span { font-size: 0.95rem; color: var(--ink-70); }
.room__body p:last-child { color: var(--ink-70); font-size: 0.97rem; font-weight: 300; line-height: 1.6; }
.room.spotlight::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 164, 92, 0.16), transparent 45%); }

/* ---------- 9 Serviço: textos travados + cartões que empilham ----------
   À esquerda, título, texto e lista ficam presos. À direita, cada formato
   é um cartão sticky: o seguinte sobe com a sua barra e cobre o anterior,
   deixando a borda de cada camada à vista. */
.service {
  --stack-top: 6.5rem;
  --card-h: min(68vh, 600px);
  --card-gap: 12vh;
  overflow: clip;
}
.service::before {
  content: "";
  position: absolute;
  width: 70vw;
  height: 70vw;
  right: -25vw;
  top: 10%;
  background: radial-gradient(closest-side, rgba(201, 164, 92, 0.1), transparent);
  pointer-events: none;
}
.service__grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) 1.22fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.service__aside {
  position: sticky;
  top: var(--stack-top);
  display: grid;
  gap: clamp(1.5rem, 3vh, 2.25rem);
}
.service__intro p { margin-top: 1.15rem; font-size: 1.05rem; font-weight: 300; line-height: 1.65; color: var(--linen-70); max-width: 44ch; }

.formats__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.format-link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 0.95rem 1.2rem 0.95rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  color: var(--linen-70);
  text-decoration: none;
  overflow: hidden;
  transition: background-color 0.6s var(--ease), border-color 0.6s var(--ease), color 0.6s var(--ease);
}
.format-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.7s var(--ease);
}
.format-link__ico { width: 24px; height: 24px; margin-top: 0.1rem; stroke: var(--gold); stroke-width: 1.2; opacity: 0.55; transition: opacity 0.6s var(--ease); }
.format-link__title { display: block; font-size: 1.12rem; font-weight: 400; letter-spacing: -0.015em; line-height: 1.25; color: var(--linen-80); transition: color 0.6s var(--ease); }
.format-link__desc { display: block; margin-top: 0.25rem; font-size: 0.88rem; font-weight: 300; line-height: 1.5; }
.format-link[aria-current="true"] { background: rgba(244, 236, 223, 0.045); border-color: var(--hair-dark); color: var(--linen-80); }
.format-link[aria-current="true"]::before { transform: scaleY(1); }
.format-link[aria-current="true"] .format-link__ico { opacity: 1; }
.format-link[aria-current="true"] .format-link__title { color: var(--linen); }

.formats__progress { display: flex; align-items: center; gap: 1rem; font-size: 0.8rem; color: var(--linen-50); font-variant-numeric: tabular-nums; }
.formats__progress-bar { flex: 0 1 180px; height: 2px; border-radius: 2px; background: rgba(244, 236, 223, 0.14); overflow: hidden; }
.formats__progress-bar span {
  display: block;
  height: 100%;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(var(--fp, 0.25));
  transition: transform 0.8s var(--ease);
}

.formats__stack { position: relative; }
.format-sentinel { display: block; height: 0; }
.format-card {
  position: sticky;
  top: calc(var(--stack-top) + var(--i, 0) * 16px);
  height: var(--card-h);
  margin-bottom: var(--card-gap);
}
.format-card:last-of-type { margin-bottom: 0; }
.format-card__inner {
  position: relative;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--ph, var(--wood));
  border: 1px solid rgba(244, 236, 223, 0.1);
  box-shadow: 0 -18px 50px -24px rgba(0, 0, 0, 0.75), 0 50px 90px -50px rgba(0, 0, 0, 0.9);
  transform-origin: 50% 0%;
}
.format-card__media { position: absolute; inset: 0; z-index: -1; }
.format-card__media img { width: 100%; height: 100%; object-fit: cover; }
.format-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 16, 11, 0) 38%, rgba(26, 16, 11, 0.82) 100%);
}
.format-card__bar {
  position: absolute;
  left: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem 2rem;
  align-items: end;
  padding: 1.35rem 1.5rem 1.45rem;
  border-radius: var(--r-md);
  background: rgba(26, 16, 11, 0.82);
  border: 1px solid rgba(244, 236, 223, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 48px -24px rgba(0, 0, 0, 0.7);
}
.format-card__head h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 300; font-stretch: 94%; letter-spacing: -0.025em; line-height: 1.1; color: var(--linen); }
.format-card__head h3:focus { outline: none; }
.format-card__head p { margin-top: 0.6rem; font-size: 0.95rem; font-weight: 300; line-height: 1.55; color: var(--linen-80); }
.format-card__fit .label { color: var(--gold); }
.format-card__veil { position: absolute; inset: 0; z-index: 3; background: #0B0705; opacity: 0; pointer-events: none; }
.chips { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 236, 223, 0.18);
  font-size: 0.8rem;
  color: var(--linen-80);
}

/* Adega: faixa tipográfica com números finos. */
.cellar {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--hair-dark);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(201, 164, 92, 0.1), transparent 55%),
    rgba(244, 236, 223, 0.02);
  overflow: hidden;
}
.cellar h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 300; font-stretch: 94%; letter-spacing: -0.03em; line-height: 1.1; }
.cellar p { margin-top: 0.9rem; font-size: 0.98rem; font-weight: 300; line-height: 1.65; color: var(--linen-70); max-width: 46ch; }
.cellar__stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cellar__stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.6rem;
  padding: 0.25rem clamp(0.9rem, 2vw, 1.75rem);
  border-left: 1px solid var(--hair-dark);
}
.cellar__stats dd {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 200;
  font-stretch: 90%;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
}
.cellar__stats dt { font-size: 0.86rem; font-weight: 300; line-height: 1.4; color: var(--linen-70); }

/* ---------- 10 Ocasiões: rolagem horizontal ----------
   Modo nativo (celular, movimento reduzido): trilho com deslize e snap.
   Modo preso (desktop): a seção vira um trilho que anda na horizontal
   enquanto a página rola na vertical. --hs-distance vem do JS. */
.occasions__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.occasions__head > div:first-child { max-width: 60ch; }
.occasions__head p { margin-top: 1.1rem; font-size: 1.08rem; font-weight: 300; line-height: 1.6; color: var(--linen-70); max-width: 52ch; }
.occasions__meta { display: flex; align-items: center; gap: 1.25rem; flex: none; padding-bottom: 0.35rem; }
.occasions__progress { width: 140px; height: 2px; border-radius: 2px; background: rgba(244, 236, 223, 0.14); overflow: hidden; }
.occasions__progress span {
  display: block;
  height: 100%;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(var(--occ-p, 0));
}
.scroller__controls { display: flex; gap: 0.6rem; }

.occasions__viewport {
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
}
.occasions__viewport::-webkit-scrollbar { display: none; }
.occasions__viewport:focus-visible { outline-offset: -3px; }
.occasions__track {
  display: flex;
  gap: clamp(0.8rem, 1.5vw, 1.25rem);
  width: max-content;
  padding: 0.25rem var(--edge) 0.75rem;
}

.occasion {
  position: relative;
  flex: 0 0 clamp(260px, 26vw, 350px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--wood);
  border: 1px solid var(--hair-dark);
  transition: transform 0.7s var(--ease), border-color 0.6s var(--ease), box-shadow 0.7s var(--ease);
}
.occasion figure { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ph, var(--wood)); }
.occasion img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.occasion__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.occasion h3 { font-size: 1.3rem; font-weight: 400; letter-spacing: -0.02em; }
.occasion p { font-size: 0.94rem; font-weight: 300; line-height: 1.55; color: var(--linen-70); flex: 1; }
.occasion a {
  margin-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: start;
  color: var(--gold-soft);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.occasion a svg { width: 16px; height: 16px; stroke-width: 1.5; transition: transform 0.6s var(--ease); }
/* O cartão inteiro é clicável, mas o link continua sendo o único alvo. */
.occasion a::before { content: ""; position: absolute; inset: 0; z-index: 3; }
.occasion a:focus-visible { outline: none; }
.occasion:has(a:focus-visible) { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

.occasions.is-pinned { padding-block: 0; height: calc(100vh + var(--hs-distance, 0px)); }
.occasions.is-pinned .occasions__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4rem;
  overflow: clip;
}
.occasions.is-pinned .occasions__viewport { overflow: visible; scroll-snap-type: none; }
.occasions.is-pinned .occasions__track { will-change: transform; }
.occasions.is-pinned .occasion { flex-basis: clamp(280px, 24vw, 340px); }
.occasions.is-pinned .occasion figure { aspect-ratio: auto; height: clamp(180px, 32vh, 360px); }

@keyframes occ-slide { to { transform: translate3d(calc(-1 * var(--hs-distance, 0px)), 0, 0); } }
@keyframes occ-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .occasions.is-pinned { view-timeline: --occ block; }
  .occasions.is-pinned .occasions__track,
  .occasions.is-pinned .occasions__progress span {
    animation: occ-slide linear both;
    animation-timeline: --occ;
    animation-range: contain 0% contain 100%;
  }
  .occasions.is-pinned .occasions__progress span { animation-name: occ-fill; }

  .occasions:not(.is-pinned) { timeline-scope: --occ-x; }
  .occasions:not(.is-pinned) .occasions__viewport { scroll-timeline: --occ-x inline; }
  .occasions:not(.is-pinned) .occasions__progress span {
    animation: occ-fill linear both;
    animation-timeline: --occ-x;
  }
}

/* ---------- 11 Depoimentos: palco escuro sobre fundo claro ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.testimonials__intro > p { margin-top: 1.2rem; font-size: 1.08rem; font-weight: 300; line-height: 1.6; color: var(--ink-70); max-width: 40ch; }
.t-tabs { margin-top: 2.25rem; display: grid; gap: 0.5rem; }
.t-tab {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 0.85rem 1.1rem 0.85rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.7s var(--ease);
}
.t-tab[aria-selected="true"] {
  background: var(--paper);
  border-color: var(--hair-light);
  box-shadow: 0 22px 40px -30px rgba(42, 26, 18, 0.4);
}
.t-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(42, 26, 18, 0.08);
  color: var(--ink-70);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}
.t-tab[aria-selected="true"] .t-avatar { background: linear-gradient(145deg, var(--gold-soft), var(--gold-deep)); color: var(--espresso); }
.t-tab strong { display: block; font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; }
.t-tab small { display: block; font-size: 0.85rem; font-weight: 300; color: var(--ink-50); }

.t-stage {
  position: relative;
  padding: clamp(2rem, 4.5vw, 4rem) clamp(1.5rem, 4.5vw, 4rem) clamp(1.75rem, 3.5vw, 3rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(201, 164, 92, 0.16), transparent 60%),
    var(--espresso);
  color: var(--linen);
  overflow: hidden;
  box-shadow: 0 60px 100px -60px rgba(42, 26, 18, 0.7);
}
.t-stage__mark {
  display: block;
  height: 0.62em;
  font-size: clamp(7rem, 13vw, 11rem);
  font-weight: 200;
  line-height: 1;
  color: var(--gold);
}
.t-quotes { display: grid; margin-top: 1.25rem; }
.t-quote { grid-area: 1 / 1; margin: 0; }
.t-quote blockquote { margin: 0; }
.t-quote blockquote p {
  font-size: clamp(1.2rem, 1.9vw, 1.62rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.55;
  color: var(--linen);
  text-wrap: pretty;
}
.t-quote figcaption { margin-top: 1.75rem; display: flex; align-items: center; gap: 0.9rem; font-size: 0.92rem; color: var(--linen-70); }
.t-quote figcaption::before { content: ""; width: 2rem; height: 1px; background: var(--gold); }
.t-quote figcaption strong { color: var(--linen); }
.t-stage__foot {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 236, 223, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.t-stage__source { font-size: 0.8rem; color: var(--linen-50); max-width: 36ch; }
.t-stage__nav { display: flex; align-items: center; gap: 0.6rem; }
.t-stage__count { min-width: 3.5rem; text-align: center; font-size: 0.85rem; color: var(--linen-70); font-variant-numeric: tabular-nums; }
.t-stage .icon-btn { color: var(--linen); border-color: rgba(244, 236, 223, 0.28); }

.testimonials.is-enhanced .t-quote {
  opacity: 0;
  visibility: hidden;
  translate: 0 14px;
  transition: opacity 0.6s var(--ease), translate 0.8s var(--ease), visibility 0s linear 0.6s;
}
.testimonials.is-enhanced .t-quote.is-active {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition: opacity 0.7s var(--ease) 0.1s, translate 0.9s var(--ease) 0.1s, visibility 0s;
}
.testimonials:not(.is-enhanced) .t-quotes { gap: 2.5rem; }
.testimonials:not(.is-enhanced) .t-stage__nav { display: none; }

/* ---------- 12 Endereço e comodidades ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split--reverse .split__text { order: 2; }
.split__text h2 { margin-bottom: 1.1rem; }
.split__text > p { color: var(--linen-70); font-size: 1.08rem; font-weight: 300; line-height: 1.65; max-width: 52ch; text-wrap: pretty; }
.split__media { display: grid; gap: 1rem; }
.split__media figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--ph, var(--wood));
  aspect-ratio: 3 / 2;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.split__media figcaption {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  font-size: 0.8rem;
  color: var(--linen);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.amenities { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; gap: 1.4rem; }
.amenities li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.amenities svg { width: 26px; height: 26px; margin-top: 0.1rem; stroke: var(--gold); stroke-width: 1.2; }
.amenities h3 { font-size: 1.1rem; font-weight: 500; }
.amenities p { margin-top: 0.25rem; font-size: 0.95rem; font-weight: 300; line-height: 1.55; color: var(--linen-70); }
.numbers {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hair-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.75rem;
}
.numbers > div { display: flex; flex-direction: column-reverse; gap: 0.35rem; }
.numbers dt { color: var(--linen-50); }
.numbers dd {
  margin: 0;
  font-size: 2rem;
  font-weight: 200;
  font-stretch: 92%;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
}
.address {
  font-style: normal;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--hair-dark);
  border-radius: var(--r-md);
  font-weight: 300;
  line-height: 1.75;
  color: var(--linen-70);
}
.address strong { display: block; margin-bottom: 0.2rem; color: var(--linen); font-size: 1.2rem; font-weight: 400; letter-spacing: -0.01em; }
.address__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 0.9rem; font-weight: 400; }
.address__links a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold-soft); text-decoration: none; }
.address__links svg { width: 18px; height: 18px; stroke-width: 1.25; }

/* ---------- 13 Passos, preço e FAQ ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.steps li { padding-top: 1.4rem; border-top: 1px solid var(--hair-light); }
.steps__n {
  display: block;
  margin-bottom: 1rem;
  font-size: 2.6rem;
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 0.5rem; }
.steps p { color: var(--ink-70); font-size: 0.98rem; font-weight: 300; line-height: 1.6; }

.price { margin-top: clamp(2.5rem, 5vw, 4rem); }
.price__inner {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 3rem;
  align-items: center;
}
.price__value { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.price__value strong {
  font-size: 1.7em;
  font-weight: 200;
  font-stretch: 90%;
  letter-spacing: -0.04em;
  color: var(--maroon);
  font-variant-numeric: tabular-nums;
}
.price__note { color: var(--ink-70); font-size: 0.95rem; font-weight: 300; max-width: 56ch; }
.price__inner .btn { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }

.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__head p { margin-top: 1.1rem; font-weight: 300; color: var(--linen-70); max-width: 34ch; }
.faq__head a { color: var(--gold-soft); }
.faq__list details { border-top: 1px solid var(--hair-dark); }
.faq__list details:last-child { border-bottom: 1px solid var(--hair-dark); }
.faq__list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 0.25rem 1.35rem 0;
  font-size: 1.12rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.35;
  transition: color 0.5s var(--ease);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin: 0 0.5rem 0.35rem 0;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.6s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq__a { padding: 0 0 1.5rem; font-weight: 300; color: var(--linen-70); max-width: 60ch; line-height: 1.65; }

/* ---------- 14 Orçamento: foto cheia de fundo + formulário em etapas ---------- */
.section--form { isolation: isolate; overflow: clip; background: var(--espresso); }
.form-bg { position: absolute; inset: 0; z-index: -2; }
.form-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.section--form::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--espresso) 0%, rgba(26, 16, 11, 0.12) 14%, rgba(26, 16, 11, 0.12) 86%, var(--espresso) 100%),
    linear-gradient(90deg, rgba(26, 16, 11, 0.8) 0%, rgba(26, 16, 11, 0.45) 45%, rgba(26, 16, 11, 0.2) 100%);
}
.form-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.form-intro > p { margin-top: 1.2rem; color: var(--linen-80); font-size: 1.1rem; font-weight: 300; line-height: 1.6; max-width: 40ch; }
.form-intro__list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.form-intro__list li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-weight: 300; color: var(--linen-80); }
.form-intro__list svg { width: 20px; height: 20px; margin-top: 0.2rem; stroke: var(--gold); stroke-width: 1.5; }
.contact-alt { list-style: none; padding: 1.5rem 0 0; margin: 2rem 0 0; display: grid; gap: 0.8rem; border-top: 1px solid rgba(244, 236, 223, 0.14); }
.contact-alt a { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--gold-soft); text-decoration: none; }
.contact-alt svg { width: 20px; height: 20px; stroke-width: 1.25; }

/* ---------- 15 Rodapé e barra do celular ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--espresso);
  border-top: 1px solid var(--hair-dark);
  padding: 3.5rem 0 2.5rem;
  color: var(--linen-50);
  font-size: 0.9rem;
  font-weight: 300;
}
.site-footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem 3rem; }
.site-footer img { height: 26px; width: auto; }
.site-footer address { font-style: normal; margin-top: 1.1rem; line-height: 1.75; }
.site-footer h3 { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a { display: inline-block; padding-block: 0.15rem; color: var(--linen-70); text-decoration: none; transition: color 0.4s var(--ease); }
.legal { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgba(244, 236, 223, 0.08); font-size: 0.8rem; }
/* Assinatura da V4 Mundim & Co: última linha, no tamanho dos rótulos e na cor do texto legal. */
.site-footer__credito { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.45rem; margin-top: 1rem; font-size: 0.7rem; line-height: 1.4; }
.site-footer__credito a { display: inline-flex; align-items: center; gap: 0.4rem; }
.site-footer__credito img { height: 11px; width: auto; flex: none; }

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(26, 16, 11, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--hair-dark);
  transform: translateY(105%);
  transition: transform 0.6s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; }

/* ---------- 16 Responsivo ---------- */
@media (max-width: 1100px) {
  .finder__inner { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  /* minmax(0, 1fr): a coluna não cresce por causa de listas que rolam na horizontal */
  .rooms, .steps, .split, .faq, .form-layout, .testimonials__grid, .service__grid, .cellar { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__text { order: 0; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .t-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .t-tabs::-webkit-scrollbar { display: none; }
  .form-intro__list { display: none; }
}

@media (max-width: 760px) {
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
  /* No celular o texto ocupa a largura toda: filtro por igual, mais forte embaixo. */
  .hero__scrim { background: linear-gradient(180deg, rgba(18, 11, 7, 0.62) 0%, rgba(18, 11, 7, 0.5) 30%, rgba(18, 11, 7, 0.72) 60%, rgba(18, 11, 7, 0.95) 100%); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(120px, 27vw, 200px); }
  .gallery__item { grid-column: span 1; }
  .gallery__item--wide { grid-column: span 2; }
  .price__inner { grid-template-columns: 1fr; }
  .price__inner .btn { grid-column: 1; grid-row: auto; justify-self: start; }
  .occasions__head { flex-direction: column; align-items: flex-start; }
  .scroller__controls { display: none; }
  .occasion { flex-basis: min(78vw, 300px); }
  .cellar__stats > div { padding-inline: 0.8rem; }
  .cellar__stats dd { font-size: 1.85rem; }
  .cellar__stats > div:first-child { border-left: 0; padding-left: 0; }
  .t-stage__foot { flex-direction: column; align-items: flex-start; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  .site-footer { padding-bottom: 6rem; }
  .brand img { height: 26px; }
  .site-header .btn--sm { padding-inline: 1rem; }
  .section--overlap { border-radius: 26px 26px 0 0; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 2.7rem; }
  .hero__lead { font-size: 1rem; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* ---------- 17 Movimento ---------- */
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hero-recede { to { transform: scale(0.93) translateY(-2%); } }
@keyframes hero-veil { to { opacity: 0.78; } }
@keyframes read-progress { to { transform: scaleX(1); } }
@keyframes reveal-up { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: 0 0; } }
@keyframes reveal-zoom { from { scale: 1.14; } to { scale: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .occasions__progress span { animation-duration: auto !important; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Um momento orquestrado na carga: a foto assenta e o texto sobe. */
  .hero__media img { animation: hero-settle 2.6s var(--ease-out) both; }
  .hero .kicker, .hero__title span, .hero__lead, .hero__actions, .hero__note, .hero__facts { animation: rise 1s var(--ease-out) both; }
  .hero .kicker { animation-delay: 0.15s; }
  .hero__title span:nth-child(1) { animation-delay: 0.28s; }
  .hero__title span:nth-child(2) { animation-delay: 0.4s; }
  .hero__title span:nth-child(3) { animation-delay: 0.52s; }
  .hero__lead { animation-delay: 0.7s; }
  .hero__actions { animation-delay: 0.82s; }
  .hero__note { animation-delay: 0.9s; }
  .hero__facts { animation-delay: 1.05s; }

  @supports (animation-timeline: scroll()) {
    .site-header__progress { display: block; animation: read-progress linear both; animation-timeline: scroll(root block); }
  }

  /* Camada sobreposta: enquanto a 2ª seção sobe, o hero recua e escurece. */
  @supports ((animation-timeline: view()) and (animation-range: entry) and (timeline-scope: none)) {
    main { timeline-scope: --salao; }
    #salao { view-timeline: --salao block; }
    .hero__stage, .hero__veil { animation: hero-recede linear both; animation-timeline: --salao; animation-range: entry 0% entry 100%; }
    .hero__veil { animation-name: hero-veil; }
  }

  /* Scroll reveal nativo, com escalonamento por --i. */
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry calc(2% + var(--i, 0) * 7%) entry calc(50% + var(--i, 0) * 7%);
    }
    .reveal-media img {
      animation: reveal-zoom linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 50%;
    }
  }
  /* Sem suporte nativo: IntersectionObserver no JS adiciona .is-visible. */
  @supports not ((animation-timeline: view()) and (animation-range: entry)) {
    .js .reveal { opacity: 0; translate: 0 28px; transition: opacity 1s var(--ease-out), translate 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
    .js .reveal.is-visible { opacity: 1; translate: 0 0; }
    .js .reveal-media img { scale: 1.12; transition: scale 1.6s var(--ease-out); }
    .js .reveal-media.is-visible img { scale: 1; }
  }
}

/* Hovers sutis, só onde existe ponteiro fino (sem hover preso no toque). */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--gold-soft); box-shadow: 0 16px 32px -16px rgba(201, 164, 92, 0.65); }
  .btn--primary:hover .btn__icon { transform: translateY(2px); }
  .btn--primary:hover .btn__icon--next { transform: translateX(3px); }
  .btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(201, 164, 92, 0.08); }
  .icon-btn:not([disabled]):hover { border-color: var(--gold); color: var(--gold-soft); }
  .site-nav a:hover { color: var(--linen); }
  .site-nav a:hover::after { transform: scaleX(1); }
  .spotlight:hover::after { opacity: 1; }
  .gallery__item:hover img { transform: scale(1.04); }
  .gallery__item:hover::before { opacity: 1; }
  .gallery__item:hover figcaption { transform: translateY(-3px); }
  .room:hover { transform: translateY(-4px); border-color: rgba(168, 133, 63, 0.5); box-shadow: 0 34px 60px -40px rgba(42, 26, 18, 0.55); }
  .room:hover .room__media img { transform: scale(1.04); }
  .occasion:hover { transform: translateY(-6px); border-color: rgba(201, 164, 92, 0.45); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.8); }
  .occasion:hover img { transform: scale(1.05); }
  .occasion:hover a svg { transform: translateX(4px); }
  .t-tab:not([aria-selected="true"]):hover { background: rgba(250, 245, 234, 0.55); }
  .faq__list summary:hover { color: var(--gold-soft); }
  .split__media figure:hover img { transform: scale(1.03); }
  .address__links a:hover, .contact-alt a:hover, .faq__head a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .site-footer a:hover { color: var(--gold-soft); }
}

/* ---------- Serviço em telas menores ---------- */
@media (max-width: 1100px) {
  .format-card__bar { grid-template-columns: 1fr; gap: 0.9rem; }
}
@media (max-width: 960px) {
  .service { --stack-top: 5rem; --card-h: min(76vh, 580px); --card-gap: 8vh; }
  .service__aside { position: static; }
  .formats__nav, .formats__progress { display: none; }
  .format-card { top: calc(var(--stack-top) + var(--i, 0) * 10px); }
  .format-card__bar { padding: 1.1rem 1.2rem 1.2rem; }
}

/* ---------- Depoimentos presos: o endereço sobe por cima ---------- */
.section--stack { position: sticky; top: var(--stick-top, 0px); }
.stack-veil { position: absolute; inset: 0; z-index: 5; background: #0B0705; opacity: 0; pointer-events: none; }

@keyframes card-recede { to { transform: scale(calc(1 - (var(--n) - 1 - var(--i)) * 0.035)); } }
@keyframes card-veil { to { opacity: 0.55; } }
@keyframes stack-recede { to { transform: scale(0.95) translateY(-1.5%); } }
@keyframes stack-veil { to { opacity: 0.62; } }

@media (prefers-reduced-motion: no-preference) {
  /* Cada cartão recua e escurece enquanto o próximo sobe por cima dele. */
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .formats__stack { view-timeline: --fstack block; }
    .format-card__inner,
    .format-card__veil {
      animation: card-recede linear both;
      animation-timeline: --fstack;
      animation-range: exit-crossing calc(var(--i) / var(--n) * 100%) exit-crossing calc((var(--i) + 1) / var(--n) * 100%);
    }
    .format-card__veil { animation-name: card-veil; }
    .format-card:last-of-type .format-card__inner,
    .format-card:last-of-type .format-card__veil { animation: none; }
  }

  /* Enquanto "O que mais vem com o endereço" sobe, os depoimentos recuam. */
  @supports ((animation-timeline: view()) and (animation-range: entry) and (timeline-scope: none)) {
    main { timeline-scope: --salao, --endereco; }
    #endereco { view-timeline: --endereco block; }
    .testimonials > .container,
    .testimonials > .stack-veil {
      animation: stack-recede linear both;
      animation-timeline: --endereco;
      animation-range: entry 0% entry 100%;
    }
    .testimonials > .container { transform-origin: 50% 20%; }
    .testimonials > .stack-veil { animation-name: stack-veil; }
  }
}

@media (hover: hover) and (pointer: fine) {
  .format-link:not([aria-current="true"]):hover { background: rgba(244, 236, 223, 0.03); color: var(--linen-80); }
  .format-link:not([aria-current="true"]):hover .format-link__ico { opacity: 0.85; }
}


/* ---------- 18 Notas e selos da reserva ---------- */

/* Trio de notas públicas, na coluna clara das avaliações. */
.ratings {
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--hair-light);
  border-bottom: 1px solid var(--hair-light);
}
.ratings > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1.1rem 1.15rem;
  border-left: 1px solid var(--hair-light);
}
.ratings > div:first-child { border-left: 0; padding-left: 0; }
.ratings dd {
  margin: 0;
  order: -1;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 200;
  font-stretch: 88%;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--maroon);
  font-variant-numeric: tabular-nums lining-nums;
}
.ratings dt {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.35;
  color: var(--ink-50);
}

/* Faixa de reforço logo abaixo do hero: o que a reserva garante. */
.assurance {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  background: var(--hair-dark);
  border: 1px solid var(--hair-dark);
  border-radius: var(--r-md);
  overflow: hidden;
}
.assurance > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.35rem 1.5rem;
  background: var(--espresso);
}
.assurance svg { width: 24px; height: 24px; margin-top: 0.1rem; stroke: var(--gold); stroke-width: 1.2; }
.assurance h3 { font-size: 1.02rem; font-weight: 500; }
.assurance p { margin-top: 0.2rem; font-size: 0.92rem; font-weight: 300; line-height: 1.5; color: var(--linen-70); }

/* Cartão de mesa: a faixa de pessoas troca o número grande por um intervalo. */
.room__cap b { white-space: nowrap; }

@media (max-width: 760px) {
  .ratings { grid-template-columns: 1fr; }
  .ratings > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--hair-light); }
  .ratings > div:first-child { border-top: 0; }
  .assurance { grid-template-columns: 1fr; }
}

/* A foto de fundo da reserva é mais clara que a de eventos: a coluna de
   texto à esquerda pede mais filtro para o contraste se manter. */
.section--form::before {
  background:
    linear-gradient(180deg, var(--espresso) 0%, rgba(26, 16, 11, 0.24) 14%, rgba(26, 16, 11, 0.24) 86%, var(--espresso) 100%),
    linear-gradient(90deg, rgba(26, 16, 11, 0.93) 0%, rgba(26, 16, 11, 0.8) 34%, rgba(26, 16, 11, 0.5) 64%, rgba(26, 16, 11, 0.32) 100%);
}

/* ---------- 19 Seção de mesas em uma tela ----------
   O título entra na régua e as alturas passam a acompanhar a altura da
   janela, para que régua, cartões e nota caibam sem rolagem no desktop. */
.section--fit { padding-block: clamp(1.5rem, 5vh, 4.5rem); }

.finder__title {
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  font-weight: 300;
  font-stretch: 94%;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.2rem;
  text-wrap: balance;
}

.section--fit .finder { margin-bottom: clamp(0.85rem, 2.2vh, 1.9rem); }
.section--fit .finder__inner {
  padding: clamp(1rem, 2.3vh, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  gap: 1rem clamp(2rem, 5vw, 4.5rem);
}
.section--fit .finder__control { gap: 0.35rem; }
.section--fit .finder__out { margin-top: 0; }
.section--fit .finder__out strong { font-size: clamp(2.5rem, 5.2vh, 4.2rem); }
.section--fit .finder input[type="range"] { height: clamp(32px, 4.4vh, 44px); }
.section--fit .finder__answer { gap: clamp(0.8rem, 1.6vh, 1.25rem); }
.section--fit .finder__result { font-size: clamp(0.95rem, 1.9vh, 1.05rem); line-height: 1.5; }

.section--fit .room__media { aspect-ratio: auto; height: clamp(96px, 17vh, 210px); }
.section--fit .room__body { padding: clamp(0.85rem, 1.9vh, 1.15rem) clamp(1.1rem, 1.6vw, 1.4rem) clamp(1rem, 2.1vh, 1.35rem); }
.section--fit .room__cap { margin: 0.35rem 0 0.55rem; }
.section--fit .room__cap b { font-size: clamp(2.1rem, 3.9vh, 3.2rem); }
.section--fit .room__body p:last-child { font-size: clamp(0.88rem, 1.75vh, 0.97rem); line-height: 1.5; }
.section--fit .note { margin-top: clamp(0.8rem, 1.8vh, 1.5rem); max-width: 96ch; }

/* Em telas altas a seção respira: os valores compactos acima existem
   para notebooks de 700–800 px de altura, não para monitores. */
@media (min-width: 961px) and (min-height: 840px) {
  .section--fit { padding-block: clamp(3rem, 5.7vh, 6rem); }
  .finder__title { font-size: clamp(1.9rem, 2.6vw, 2.7rem); margin-bottom: 0.35rem; }
  .section--fit .finder { margin-bottom: clamp(1.35rem, 2.9vh, 2.4rem); }
  .section--fit .finder__inner { padding: clamp(1.6rem, 3.1vh, 2.75rem) clamp(1.9rem, 3.2vw, 3rem); }
  .section--fit .finder__control { gap: 0.5rem; }
  .section--fit .finder__out strong { font-size: clamp(3rem, 5.8vh, 5rem); }
  .section--fit .finder__answer { gap: 1.25rem; }
  .section--fit .room__media { height: clamp(150px, 18.2vh, 240px); }
  .section--fit .room__body { padding: clamp(1.15rem, 2.2vh, 1.4rem) clamp(1.3rem, 1.8vw, 1.6rem) clamp(1.25rem, 2.4vh, 1.6rem); }
  .section--fit .room__cap { margin: 0.5rem 0 0.7rem; }
  .section--fit .room__cap b { font-size: clamp(2.6rem, 4.3vh, 3.4rem); }
  .section--fit .note { margin-top: clamp(1.1rem, 2.3vh, 1.8rem); }
}

/* Empilhado no celular, a foto volta ao formato normal: altura em vh
   deixaria os cartões achatados. */
@media (max-width: 960px) {
  .section--fit { padding-block: var(--section-y); }
  .section--fit .room__media { aspect-ratio: 4 / 3; height: auto; }
  .section--fit .finder__out strong { font-size: clamp(3.6rem, 6.4vw, 5.6rem); }
}

/* ---------- 20 Cabeçalho de seção em duas pontas ----------
   Título à esquerda e texto na outra extremidade do grid, alinhados
   pela primeira linha. */
.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: baseline;
}
.section__head--split h2 { max-width: 15ch; }
.section__head--split p { margin-top: 0; max-width: 48ch; justify-self: end; }

@media (max-width: 860px) {
  .section__head--split { grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
  .section__head--split h2 { max-width: none; }
  .section__head--split p { justify-self: start; }
}

/* ---------- 21 Agenda de reservas embutida ----------
   A TagMe rola por dentro do próprio widget: a altura aqui define a
   janela, não o conteúdo. O painel de vidro repete o da seção 14. */
.booking {
  padding: 6px;
  border-radius: var(--r-lg);
  background: rgba(244, 236, 223, 0.05);
  border: 1px solid rgba(244, 236, 223, 0.14);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.9);
}
.booking__frame {
  display: block;
  width: 100%;
  height: clamp(640px, 88vh, 880px);
  border: 0;
  border-radius: calc(var(--r-lg) - 6px);
  background: var(--paper);
  color-scheme: light;
}
.booking__fallback { padding: 2rem; text-align: center; }
.booking__fallback a { color: var(--gold-soft); }

@media (max-width: 760px) {
  .booking { padding: 4px; }
  .booking__frame { height: clamp(600px, 86vh, 820px); }
}

/* Sem o botão do WhatsApp, a barra do celular tem uma ação só. */
.mobile-cta .btn { flex: 1; }
