/* =====================================================================
   Réveillon Aquarium · Coco Bambu · Landing pages de reserva
   Mesmo sistema das LPs de salão e de Natal (tokens, Roboto editorial,
   moldura dupla, reveal ligado ao scroll), com a camada do KV por cima:
   o mar azul-petróleo, o azul-água do letreiro, os arabescos dourados,
   bolhas e peixes no fundo do hero, bolhas de vidro, a superfície da água
   na contagem e a areia nas seções claras. As seções se sucedem sem
   sobreposição; as junções são a onda da água e a borda de areia.

   1 Tokens · 2 Base e tipografia · 3 Botões e ornamentos · 4 Cabeçalho
   5 Hero · 6 Bolhas de vidro · 7 Seções · 8 A festa · 9 Contagem e
   superfície · 10 Onde e quando · 11 Garantir lugar · 12 Perguntas
   13 Chamada final · 14 Rodapé · 15 Responsivo · 16 Movimento
   17 Hovers · 18 Desempenho no celular
   ===================================================================== */

/* ---------- 1 Tokens ---------- */
:root {
  /* Paleta da marca (dourado do logotipo, linho e areia) */
  --espresso: #1A100B;
  --gold: #C9A45C;
  --gold-soft: #E3C68B;
  --gold-deep: #A8853F;
  --gold-pale: #F3E2B3;
  --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: #EFE7D6;
  --error: #F0A28F;

  /* Camada do KV: o mar, do raso (luz da superfície) ao fundo */
  --abyss-950: #021216;
  --abyss-900: #031A1F;
  --sea-900: #04232A;
  --sea-850: #062C33;
  --sea-800: #08383F;
  --sea-700: #0C4A52;
  --sea-600: #106069;
  --lagoon: #177A83;
  /* O azul-água do letreiro "Réveillon" */
  --aqua: #7FD3CF;
  --aqua-soft: #B6ECE8;
  --aqua-pale: #DDF7F4;

  /* Texto nas seções claras: tinta azul-mar profunda */
  --ink: #0B2A2F;
  --ink-70: rgba(11, 42, 47, 0.74);
  --ink-50: rgba(11, 42, 47, 0.56);
  --ink-accent: #0B5A63;

  --hair-dark: rgba(201, 164, 92, 0.22);
  --hair-light: rgba(11, 42, 47, 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;
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', 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(--sea-900);
  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. A palavra de destaque vem
   em itálico serifado, como o letreiro da campanha. */
h1, h2, h3 {
  font-family: var(--font);
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.1rem, 4.3vw, 3.7rem);
  font-weight: 300;
  font-stretch: 92%;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
h3 {
  font-size: clamp(1.12rem, 1.3vw, 1.28rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--gold-soft);
}
p { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { display: block; }
figure { margin: 0; }
strong, b { font-weight: 500; }
button { font: inherit; }
::selection { background: rgba(127, 211, 207, 0.3); color: var(--linen); }

.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;
}

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

/* ---------- 3 Botões e ornamentos ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  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: linear-gradient(180deg, var(--gold-soft), var(--gold) 60%);
  color: var(--espresso);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
/* Reflexo de champanhe que atravessa o dourado no hover (seção 17). */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 250, 235, 0.6) 50%, transparent 68%);
  transform: translateX(-130%);
  pointer-events: none;
}
.btn--ghost {
  background: rgba(244, 236, 223, 0.06);
  color: var(--linen);
  border-color: rgba(244, 236, 223, 0.3);
}
.btn--sea { background: var(--sea-800); color: var(--linen); box-shadow: inset 0 1px 0 rgba(182, 236, 232, 0.12); }
.btn--block { width: 100%; }
.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;
  flex: none;
  transition: transform 0.5s var(--ease);
}
.btn--sea .btn__icon { background: rgba(182, 236, 232, 0.12); }
.btn__icon 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.75; pointer-events: none; }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 2.5rem; height: 1px; background: var(--gold); flex: none; }
.kicker--center { justify-content: center; }
.kicker--center::after { content: ""; width: 2.5rem; height: 1px; background: var(--gold); flex: none; }
.section--light .kicker { color: var(--ink-accent); }
.section--light .kicker::before, .section--light .kicker::after { background: var(--gold-deep); }

/* Selo do lote: a pílula dourada do KV, com um ponto que pulsa devagar. */
.lot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.8rem 0.36rem 0.62rem;
  border-radius: 999px;
  background: linear-gradient(100deg, #B08C46 0%, #F3E2B3 46%, #D2AE66 72%, #E9CF95 100%);
  color: var(--abyss-950);
  font: 600 0.66rem/1 var(--font);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 20px -10px rgba(201, 164, 92, 0.8);
}
.lot__dot {
  position: relative;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--ink-accent);
}
.lot__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--ink-accent);
  opacity: 0;
}
.lot--quiet {
  background: rgba(201, 164, 92, 0.12);
  color: var(--gold-soft);
  border: 1px solid rgba(227, 198, 139, 0.38);
  box-shadow: none;
  font-size: 0.68rem;
}
.lot--quiet .lot__dot, .lot--quiet .lot__dot::after { background: var(--aqua); border-color: var(--aqua); }
.lot--quiet .lot__dot::after { background: none; }

/* Divisória com o arabesco dourado do KV no meio. */
.flourish-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: var(--gold);
}
.flourish-rule::before, .flourish-rule::after {
  content: "";
  flex: 0 1 6.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.flourish-rule::after { background: linear-gradient(90deg, currentColor, transparent); }
.flourish-rule svg {
  width: 118px;
  height: auto;
  aspect-ratio: 120 / 26;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.flourish-rule--left { justify-content: flex-start; margin-top: 2rem; }
.flourish-rule--left::before { display: none; }

/* Ramo de coral em traço dourado (desenhado ao entrar na tela, seção 16). */
.coral {
  position: absolute;
  z-index: 0;
  width: clamp(130px, 14vw, 210px);
  height: auto;
  aspect-ratio: 200 / 160;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-dasharray: 1;
  pointer-events: none;
}

/* ---------- 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(3, 26, 31, 0.95);
  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; }
.cta-short { display: none; }

.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); }

.site-header__progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft) 70%, var(--aqua-soft));
  transform: scaleX(0);
  transform-origin: left;
  display: none;
}

/* ---------- 5 Hero ----------
   O fundo do mar do KV: luz entrando pela superfície, raios descendo,
   bolhas subindo e peixes passando. O letreiro e as atrações ficam à
   direita, com bolhas de vidro em volta. O pé do hero termina na cor da
   seção seguinte: a passagem não tem linha. */
.hero {
  position: relative;
  z-index: 0;
}
.hero__stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  isolation: isolate;
  overflow: hidden;
  background: var(--sea-900);
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2));
  --tw: min(38rem, 46vw);       /* largura da coluna de texto */
  --facts: 185px;               /* altura reservada para a faixa de dados */
  --lift: 0px;                  /* espaço do cabeçalho sobre a composição (celular) */
}
.hero__sky {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, transparent 82%, var(--sea-900) 99%),
    radial-gradient(34% 40% at 74% 36%, rgba(127, 211, 207, 0.2), transparent 72%),
    radial-gradient(30% 34% at 74% 64%, rgba(7, 82, 92, 0.6), transparent 76%),
    radial-gradient(30% 30% at 74% 30%, rgba(201, 164, 92, 0.1), transparent 70%),
    radial-gradient(80% 42% at 58% -10%, rgba(158, 227, 220, 0.34), transparent 70%),
    radial-gradient(55% 55% at 0% 100%, rgba(4, 35, 42, 0.9), transparent 70%),
    linear-gradient(180deg, #0A6670 0%, #075560 22%, #05424B 46%, #043640 70%, var(--sea-900) 100%);
}
/* Raios de luz em leque a partir da superfície (um único gradiente, parado). */
.hero__rays, .rays {
  position: absolute;
  pointer-events: none;
  background: conic-gradient(from 166deg at 60% -30%,
    transparent 0deg, rgba(190, 240, 234, 0.05) 2deg, rgba(190, 240, 234, 0.11) 3.5deg, rgba(190, 240, 234, 0.05) 5deg, transparent 7deg,
    transparent 10deg, rgba(190, 240, 234, 0.04) 11.5deg, rgba(190, 240, 234, 0.08) 13deg, transparent 15deg,
    transparent 18deg, rgba(190, 240, 234, 0.06) 19.5deg, rgba(190, 240, 234, 0.13) 21deg, rgba(190, 240, 234, 0.05) 22.5deg, transparent 24deg,
    transparent 27deg, rgba(190, 240, 234, 0.05) 28.5deg, rgba(190, 240, 234, 0.09) 30deg, transparent 32.5deg,
    transparent 360deg);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 42%, transparent 82%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 42%, transparent 82%);
}
.hero__rays { inset: 0 -12% 18% -12%; }

/* Bolhas subindo e peixes passando, atrás de tudo. Só transform e opacity,
   com valores fixos nos keyframes: o compositor (GPU) anima sozinho, sem
   JavaScript nem repintura. A bolha é desenhada no topo de uma coluna da
   altura do hero, e a coluna sobe 100% da própria altura; o peixe nada numa
   faixa da largura do hero, que anda 100% da própria largura. */
.hero__sea { position: absolute; inset: 0; overflow: hidden; contain: strict; }
.rise {
  position: absolute;
  top: 0;
  left: var(--x);
  width: var(--s);
  height: 100%;
  background-image:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.9) 0 9%, transparent 26%),
    radial-gradient(closest-side, rgba(182, 236, 232, 0.06) 56%, rgba(221, 247, 244, 0.62) 88%, transparent 100%);
  background-size: var(--s) var(--s);
  background-position: top center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: bubble-rise var(--t) ease-in-out var(--d) infinite;
}
.rise:nth-child(even) { animation-name: bubble-rise-b; }
.swim {
  position: absolute;
  left: 0;
  top: var(--y);
  width: 100%;
  animation: swim var(--t) ease-in-out var(--d) infinite;
}
.swim--back { animation-name: swim-back; }
.fish {
  display: block;
  width: calc(var(--s) * 26px);
  height: auto;
  aspect-ratio: 40 / 16;
  fill: rgba(2, 30, 36, 0.5);
}
.swim--back .fish { transform: scaleX(-1); }

/* Composição do KV: um quadro que vai do fim da coluna de texto até perto
   da borda da tela, e do topo até a faixa de dados. Dentro dele, cada
   bolha usa unidades do próprio quadro: x em % da largura (cqw), y em %
   da altura (cqh) e tamanho em % do menor lado (cqmin, para seguir
   redonda). Assim a composição preenche a área em qualquer tela. */
.hero__cluster {
  position: absolute;
  top: 0;
  bottom: var(--facts);
  left: calc(var(--edge) + var(--tw) + 2rem);
  right: max(1.5rem, 3vw);
  z-index: 0;
  container-type: size;
}
.kv {
  /* Largura do letreiro: a pilha (letreiro + atrações) tem ~0,97 dela de altura. */
  --kw: min(100cqw, 640px, calc((100cqh - 6.5rem) / 0.975));
  position: absolute;
  inset: 0;
  padding-top: 5.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.kv__logo { position: relative; z-index: 2; width: var(--kw); }
.kv__artists { position: relative; z-index: 1; width: calc(var(--kw) * 0.94); margin-top: calc(var(--kw) * -0.06); }
.kv__logo img, .kv__artists img { width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
/* Halo azul-água atrás do letreiro. */
.kv__logo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92%;
  aspect-ratio: 2.1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(127, 211, 207, 0.16), transparent);
  z-index: -1;
}
/* As atrações vêm recortadas (sem o fundo do KV) e ficam no próprio céu
   do hero; atrás delas, só uma luz azul-água suave, como água iluminada. */
.kv__artists::before {
  content: "";
  position: absolute;
  inset: 4% -6% 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(127, 211, 207, 0.14), rgba(127, 211, 207, 0.05) 60%, transparent);
  pointer-events: none;
}

.hero__content {
  align-self: end;
  padding-top: clamp(7rem, 17vh, 11rem);
  padding-bottom: clamp(2rem, 4.5vw, 3.5rem);
}
/* O texto ocupa o que sobra ao lado da composição. */
.hero__content > * { max-width: min(100%, var(--tw)); }
.hero .kicker { font-size: 0.8rem; margin-bottom: 0; }
.hero__title {
  margin-top: 1.4rem;
  font-size: clamp(2.5rem, 4.9vw, 4.7rem);
  font-weight: 300;
  font-stretch: 86%;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: var(--linen);
  text-shadow: 0 2px 28px rgba(1, 16, 19, 0.4);
}
.hero__title span { display: block; }
/* "Réveillon" no azul-água do letreiro, com o brilho de cima para baixo. */
.hero__title em {
  font-size: 1.14em;
  letter-spacing: -0.01em;
  line-height: 0.8;
  padding-right: 0.06em;
  background: linear-gradient(180deg, #F2FFFD 8%, var(--aqua-soft) 46%, var(--aqua) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.hero__lead {
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 350;
  line-height: 1.6;
  color: rgba(244, 236, 223, 0.88);
  text-wrap: pretty;
}
.hero__content > .hero__lead { max-width: min(46ch, var(--tw)); }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__note { margin-top: 1.15rem; font-size: 0.84rem; line-height: 1.9; color: var(--linen-70); }
.hero__note .lot { margin-right: 0.55rem; vertical-align: 1px; }

.hero__facts {
  margin: 0;
  /* Cada dado ocupa a largura do próprio texto: nomes longos cabem numa linha. */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2.5rem;
  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);
}

/* ---------- 6 Bolhas de vidro ----------
   O elemento externo (.bubble) recebe o deslocamento e a deformação da
   física (JS, só quando acordada); o do meio (.bubble__float) flutua em
   CSS, na GPU, o tempo todo; o de dentro é o vidro. */
.bubble {
  --px: var(--x);
  --py: var(--y);
  --ps: var(--s);
  position: absolute;
  z-index: 3;
  left: calc(var(--px) * 1cqw);
  top: calc(var(--py) * 1cqh);
  width: calc(var(--ps) * 1cqmin);
  aspect-ratio: 1;
  margin: calc(var(--ps) * -0.5cqmin) 0 0 calc(var(--ps) * -0.5cqmin);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}
.bubble__float { display: block; width: 100%; height: 100%; }
.bubble__glass {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    /* reflexo da superfície, no alto à esquerda */
    radial-gradient(circle at 31% 27%, rgba(255, 255, 255, 0.92) 0, rgba(255, 255, 255, 0.55) 3.5%, rgba(255, 255, 255, 0) 12%),
    radial-gradient(40% 18% at 40% 18%, rgba(255, 255, 255, 0.22), transparent 70%),
    /* luz refratada embaixo à direita */
    radial-gradient(circle at 68% 76%, rgba(221, 247, 244, 0.34) 0, rgba(221, 247, 244, 0) 22%),
    /* corpo quase transparente e a borda mais clara */
    radial-gradient(closest-side, rgba(127, 211, 207, 0.03) 58%, rgba(127, 211, 207, 0.1) 76%, rgba(182, 236, 232, 0.32) 90%, rgba(221, 247, 244, 0.72) 97.5%, rgba(221, 247, 244, 0) 100%);
  box-shadow: 0 0 28px -8px rgba(127, 211, 207, 0.4);
}
/* Película iridescente na borda: azul-água, dourado e um rosa leve. */
.bubble__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 210deg, rgba(127, 211, 207, 0.7), rgba(227, 198, 139, 0.65), rgba(238, 170, 196, 0.45), rgba(127, 211, 207, 0.7), rgba(182, 236, 232, 0.2), rgba(127, 211, 207, 0.7));
  -webkit-mask-image: radial-gradient(closest-side, transparent 86%, #000 93%, #000 97%, transparent 100%);
  mask-image: radial-gradient(closest-side, transparent 86%, #000 93%, #000 97%, transparent 100%);
  opacity: 0.55;
}
.bubble__glass { transition: transform 0.24s var(--ease-out), opacity 0.24s var(--ease-out); }
/* Estourada: o vidro se abre e some; volta a encher depois (JS). */
.bubble.is-popped { pointer-events: none; }
.bubble.is-popped .bubble__glass { transform: scale(1.35); opacity: 0; }
.bubble.is-inflating .bubble__glass { transition: none; animation: inflate 1.1s var(--ease-out) both; }

/* Bolhinhas que se espalham e sobem (estouro, toque na água, envio do
   formulário): o JS cria e anima. */
.fizz {
  position: fixed;
  left: var(--x);
  top: var(--y);
  width: var(--s, 6px);
  height: var(--s, 6px);
  margin: calc(var(--s, 6px) / -2) 0 0 calc(var(--s, 6px) / -2);
  z-index: 80;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0 12%, transparent 30%),
    radial-gradient(closest-side, rgba(182, 236, 232, 0.08) 55%, rgba(221, 247, 244, 0.9) 86%, transparent 100%);
}

/* ---------- 7 Seções ---------- */
.section {
  position: relative;
  z-index: 1;
  padding-block: var(--section-y);
  scroll-margin-top: 4.5rem;
}
.section--sea {
  background:
    radial-gradient(50% 32% at 100% 38%, rgba(127, 211, 207, 0.07), transparent 70%),
    radial-gradient(45% 30% at 0% 64%, rgba(201, 164, 92, 0.05), transparent 70%),
    var(--sea-900);
}
.section--dark { background: var(--abyss-900); }
.section--light { background: var(--parchment); color: var(--ink); color-scheme: light; }
.section--light h2, .section--light h3 { color: var(--ink); }
.section--light em { color: var(--ink-accent); }
.section--deep {
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(127, 211, 207, 0.2), transparent 62%),
    linear-gradient(180deg, var(--sea-700) 0%, var(--sea-850) 52%, var(--abyss-900) 100%);
  overflow: clip;
}

/* 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: 3;
  border-radius: inherit;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(182, 236, 232, 0.09), transparent 45%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}

/* ---------- 8 A festa ---------- */
.attraction { overflow: clip; }
.coral--attraction { top: clamp(2rem, 5vw, 4.5rem); right: max(var(--gutter), calc((100% - var(--container)) / 2)); opacity: 0.4; }
.attraction__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.attraction__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  background: var(--ph, var(--sea-800));
  border: 1px solid var(--hair-dark);
  box-shadow: 0 50px 90px -60px rgba(0, 0, 0, 0.9);
}
.attraction__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
/* A foto da casa ganha a luz do mar: azul por baixo, como no KV. */
.attraction__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 66, 75, 0.28), transparent 40%),
    linear-gradient(180deg, transparent 55%, rgba(3, 26, 31, 0.78));
  pointer-events: none;
}
.attraction__photo figcaption { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 2; font-size: 0.85rem; color: var(--linen); }
.attraction__text h2 { max-width: 15ch; }
.details { margin: 2.25rem 0 0; display: grid; border-top: 1px solid var(--hair-dark); }
.details__row {
  position: relative;
  display: grid;
  grid-template-columns: auto 7.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--hair-dark);
}
/* Filete azul-água que corre pela linha no hover (seção 17). */
.details__row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-soft), var(--aqua-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.details__row .ico { width: 20px; height: 20px; stroke: var(--gold); stroke-width: 1.3; align-self: center; transition: transform 0.6s var(--ease); }
.details__row dt { color: var(--linen-50); }
.details__row dd {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--linen);
}
.details__note { margin-top: 1rem; font-size: 0.92rem; color: var(--linen-70); max-width: 52ch; }
.attraction__actions { margin-top: 2.25rem; }

.strip {
  position: relative;
  z-index: 1;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(0.75rem, 1.4vw, 1.1rem);
}
.strip__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  background: var(--ph, var(--sea-800));
}
.strip__item:first-child { aspect-ratio: auto; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.strip__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 26, 31, 0.7));
  pointer-events: none;
}
.strip__item figcaption { position: absolute; left: 1rem; bottom: 0.9rem; z-index: 2; font-size: 0.85rem; color: var(--linen); transition: transform 0.8s var(--ease); }

/* ---------- 9 Contagem para 2027 e a superfície da água ---------- */
.countdown-section { padding-top: calc(var(--section-y) + clamp(2.5rem, 6vw, 5rem)); text-align: center; isolation: isolate; }
.countdown-wrap { position: relative; z-index: 2; display: grid; justify-items: center; }
.countdown-wrap h2 { max-width: 18ch; }
.countdown {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.4rem, 2vw, 1.5rem);
}
.cd__unit { display: grid; justify-items: center; gap: 0.6rem; }
.cd__num {
  display: block;
  min-width: 2ch;
  font-size: clamp(3.2rem, 9.5vw, 7.6rem);
  font-weight: 200;
  font-stretch: 86%;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--aqua-pale);
  text-shadow: 0 0 42px rgba(127, 211, 207, 0.4);
}
.cd__label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); }
.cd__sep {
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  font-weight: 200;
  line-height: 0.9;
  color: rgba(182, 236, 232, 0.32);
}
.countdown.is-done { display: none; }
.countdown__caption { margin-top: 1.4rem; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.65rem); color: var(--gold-soft); }
.countdown__text { margin: 1rem 0 2.25rem; max-width: 48ch; font-weight: 300; color: var(--linen-80); text-wrap: pretty; }

/* A superfície vista de baixo: o céu claro acima da linha da água. No
   desktop o canvas desenha a mesma linha, viva, e o SVG some (.is-live). */
.surface {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1;
  height: clamp(64px, 8.4vw, 124px);
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.surface svg { width: 100%; height: 100%; }
.surface__above { fill: var(--sea-900); }
.surface__glow { fill: none; stroke: rgba(182, 236, 232, 0.16); stroke-width: 7; vector-effect: non-scaling-stroke; }
.surface__line { fill: none; stroke: rgba(221, 247, 244, 0.75); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.section--deep.is-live .surface { opacity: 0; }
.water {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.rays--band { inset: 0 -10% 30% -10%; z-index: 0; opacity: 0.9; }
.rays--form { inset: 0 -10% 40% -10%; z-index: -1; opacity: 0.6; }

/* Toque na água (celular): um anel que se abre a partir do ponto. */
.ripple {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  z-index: 1;
  border-radius: 50%;
  border: 1px solid rgba(221, 247, 244, 0.6);
  pointer-events: none;
}

/* ---------- 10 Onde e quando ---------- */
.location { overflow-x: clip; }
.coral--location { bottom: clamp(1rem, 3vw, 2.5rem); left: max(var(--gutter), calc((100% - var(--container)) / 2)); opacity: 0.45; transform: scaleX(-1); }
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.split__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--ph, var(--sea-800));
  aspect-ratio: 4 / 5;
  box-shadow: 0 50px 80px -50px rgba(11, 42, 47, 0.55);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.split__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 62%, rgba(3, 26, 31, 0.6));
  pointer-events: none;
}
.split__media figcaption {
  position: absolute;
  z-index: 2;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  font-size: 0.82rem;
  color: var(--linen);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}
.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; fill: none; stroke: var(--gold-deep); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.amenities h3 { font-size: 1.12rem; font-weight: 500; }
.amenities h3 a { color: inherit; text-underline-offset: 4px; text-decoration-color: rgba(11, 42, 47, 0.3); transition: color 0.4s var(--ease), text-decoration-color 0.4s var(--ease); }
.amenities p { margin-top: 0.25rem; font-size: 0.97rem; font-weight: 300; line-height: 1.55; color: var(--ink-70); }
.location__actions { margin-top: 2.25rem; }

/* ---------- 11 Garantir lugar ---------- */
.section--form { isolation: isolate; overflow: clip; background: var(--abyss-950); }
.form-bg { position: absolute; inset: 0; z-index: -2; }
.form-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
/* O salão da unidade sob a água: véu azul-petróleo por cima da foto. */
.section--form::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--abyss-900) 0%, rgba(3, 26, 31, 0.35) 14%, rgba(3, 26, 31, 0.35) 86%, var(--abyss-900) 100%),
    linear-gradient(90deg, rgba(3, 26, 31, 0.96) 0%, rgba(3, 30, 36, 0.86) 38%, rgba(5, 58, 66, 0.7) 68%, rgba(5, 58, 66, 0.6) 100%);
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.form-intro .kicker::before { display: none; }
.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-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.form-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  font-weight: 300;
  line-height: 1.5;
  color: var(--linen-80);
  max-width: 44ch;
}
.form-steps__n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(227, 198, 139, 0.45);
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 500;
}
.contact-alt { list-style: none; padding: 1.5rem 0 0; margin: 2rem 0 0; display: grid; gap: 0.7rem; border-top: 1px solid rgba(244, 236, 223, 0.14); font-weight: 300; color: var(--linen-70); }
.contact-alt li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.contact-alt strong { color: var(--linen); font-weight: 500; margin-right: 0.25rem; }
.contact-alt a { color: var(--gold-soft); text-decoration: none; white-space: nowrap; }
.contact-alt .ico { width: 18px; height: 18px; margin-top: 0.25rem; stroke: var(--gold); stroke-width: 1.3; }

/* Painel de vidro com moldura dupla (casca + núcleo). */
.form-card {
  padding: 6px;
  border-radius: var(--r-lg);
  background: rgba(182, 236, 232, 0.05);
  border: 1px solid rgba(227, 198, 139, 0.2);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.95);
}
.form-card__inner {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border-radius: calc(var(--r-lg) - 6px);
  background: linear-gradient(180deg, rgba(8, 56, 63, 0.96), rgba(3, 26, 31, 0.97));
  box-shadow: inset 0 1px 0 rgba(182, 236, 232, 0.1);
}
.coral--form { top: -1.25rem; right: -2rem; width: 170px; opacity: 0.3; }

.lead-form { position: relative; z-index: 1; display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.5rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { padding: 0; font-size: 0.86rem; font-weight: 500; letter-spacing: 0.01em; color: var(--linen-80); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.input {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(244, 236, 223, 0.18);
  background: rgba(244, 236, 223, 0.05);
  color: var(--linen);
  font: 400 1rem/1.3 var(--font);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.4s var(--ease);
}
.input::placeholder { color: rgba(244, 236, 223, 0.35); }
.input:focus { outline: none; border-color: var(--gold); background: rgba(244, 236, 223, 0.08); box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.22); }
/* Preenchido e válido: um filete azul-água discreto confirma. */
.field.is-valid .input { border-color: rgba(127, 211, 207, 0.5); }
.field.is-invalid .input, .field.is-invalid .stepper { border-color: var(--error); }
.field__error { min-height: 0; font-size: 0.82rem; color: var(--error); }
.field__error:empty { display: none; }

.stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 60px;
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 236, 223, 0.18);
  background: rgba(244, 236, 223, 0.05);
  width: max-content;
  max-width: 100%;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.stepper:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.22); }
.stepper__btn {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(244, 236, 223, 0.22);
  background: transparent;
  color: var(--linen);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), background-color 0.4s var(--ease), transform 0.3s var(--ease);
}
.stepper__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.stepper__btn:active { transform: scale(0.92); }
.stepper__btn[disabled] { opacity: 0.35; cursor: default; }
.stepper__input {
  width: 3.4ch;
  border: 0;
  background: transparent;
  color: var(--linen);
  text-align: center;
  font: 300 1.8rem/1 var(--font);
  font-stretch: 90%;
  letter-spacing: -0.03em;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper__input:focus { outline: none; }
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__unit { padding: 0 0.9rem 0 0.2rem; font-size: 0.92rem; font-weight: 300; color: var(--linen-70); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn--block { margin-top: 0.4rem; }
.form__status:empty { display: none; }
.form__status { padding: 0.85rem 1rem; border-radius: var(--r-sm); background: rgba(240, 162, 143, 0.1); border: 1px solid rgba(240, 162, 143, 0.35); font-size: 0.9rem; line-height: 1.5; color: var(--linen); }
.form__status a { color: var(--gold-soft); white-space: nowrap; }
.form__privacy { font-size: 0.78rem; line-height: 1.5; color: var(--linen-50); }
.form__privacy a { color: var(--linen-70); }

.form-success {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0.5rem;
  text-align: center;
}
.form-success:focus { outline: none; }
.form-success__bubble {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: var(--aqua-pale);
}
.form-success__bubble .bubble__glass { position: absolute; inset: 0; width: auto; height: auto; }
.form-success__bubble svg { position: relative; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 300; font-stretch: 92%; letter-spacing: -0.03em; }
.form-success p { max-width: 40ch; font-weight: 300; color: var(--linen-80); }
.link-btn { margin-top: 0.6rem; padding: 0.4rem; border: 0; background: none; color: var(--gold-soft); font-size: 0.92rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ---------- 12 Perguntas ---------- */
.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), padding 0.6s 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 { color: var(--aqua-soft); }
.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; }
.faq__a a { color: var(--gold-soft); white-space: nowrap; }

/* Abertura suave onde o navegador anima até height: auto. */
@supports (interpolate-size: allow-keywords) {
  .faq__list { interpolate-size: allow-keywords; }
  .faq__list details::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.55s var(--ease), content-visibility 0.55s allow-discrete;
  }
  .faq__list details[open]::details-content { height: auto; }
}

/* ---------- 13 Chamada final ----------
   Faixa curta: título e endereço à esquerda, botão à direita. */
.final { overflow-x: clip; padding-block: clamp(3rem, 6vw, 4.5rem); }
.final__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.final h2 { max-width: 24ch; font-size: clamp(1.75rem, 3vw, 2.6rem); }
.final__place {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-70);
}
.final__place strong { color: var(--ink); }
.final__place .ico { width: 18px; height: 18px; margin-top: 0.15rem; stroke: var(--gold-deep); stroke-width: 1.3; }
.final__place a { color: var(--ink-accent); text-underline-offset: 4px; white-space: nowrap; }

/* Borda de areia no topo das seções claras (sobe sobre a seção de cima). */
.dune {
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px);
  width: 100%;
  height: clamp(16px, 2.6vw, 38px);
  fill: var(--parchment);
  pointer-events: none;
}

/* ---------- 14 Rodapé e barra do celular ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--abyss-950);
  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.7; }
.site-footer address strong { color: var(--linen-70); font-weight: 500; }
.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(3, 26, 31, 0.97);
  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; }

/* ---------- 15 Responsivo ---------- */
@media (max-width: 960px) {
  .site-nav { display: none; }
  /* minmax(0, 1fr): a coluna não cresce por causa de conteúdo largo */
  .attraction__grid, .split, .faq, .form-layout, .final__inner { grid-template-columns: minmax(0, 1fr); }
  .final__cta { justify-self: start; }
  .attraction__text h2 { max-width: 20ch; }
  .attraction__photo { aspect-ratio: 3 / 2; }
  .split__media { aspect-ratio: 3 / 2; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .form-steps { display: none; }
  /* Tablet e celular: a composição vai para o alto, como no KV (letreiro
     sobre as atrações), e o texto desce. As bolhas usam a versão compacta
     (xm/ym/sm) e as só de desktop somem. */
  .hero__stage { --lift: 66px; --mh: min(92vw, 560px); }
  .hero__cluster { top: var(--lift); bottom: auto; left: var(--gutter); right: var(--gutter); height: var(--mh); max-width: 620px; margin-inline: auto; }
  .kv { --kw: min(100cqw, calc(100cqh / 0.975)); padding-top: 0; }
  .bubble { --px: var(--xm); --py: var(--ym); --ps: var(--sm); }
  .bubble--desk { display: none; }
  .hero__content { padding-top: calc(var(--lift) + var(--mh) + 1.25rem); }
  .hero__content > *, .hero__content > .hero__lead { max-width: 100%; }
  .hero__rays { inset: 0 -30% 30% -30%; }
  .rise--d, .swim--d { display: none; }
}

@media (max-width: 760px) {
  .hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
  .hero__facts dd { font-size: 1.05rem; }
  .strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .strip__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .details__row { grid-template-columns: auto 1fr; row-gap: 0.15rem; }
  .details__row dd { grid-column: 2; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .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; }
  .site-header .cta-long { display: none; }
  .site-header .cta-short { display: inline; }
  .cd__label { font-size: 0.62rem; letter-spacing: 0.12em; }
  .coral--attraction { width: 110px; top: 1.25rem; opacity: 0.3; }
  .coral--form { top: -1.75rem; right: -2.75rem; width: 120px; opacity: 0.2; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 2.45rem; }
  .hero__lead { font-size: 1rem; }
  .hero__actions .btn { width: 100%; }
  .site-header .btn--sm { font-size: 0.8rem; padding-inline: 0.85rem; }
  .countdown { gap: 0.9rem; }
  .cd__sep { display: none; }
}

/* ---------- 16 Movimento ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes surface-in { from { opacity: 0; transform: translateY(5%); } to { opacity: 1; transform: none; } }
@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; } }
@keyframes coral-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/* Flutuação: sobe e desce devagar, com um leve balanço lateral. */
@keyframes bob { 0% { translate: 0 0; } 50% { translate: 1.5% -5%; } 100% { translate: -1% -9%; } }
@keyframes kv-float { from { translate: 0 0; } to { translate: 0 -1.6%; } }
@keyframes inflate { 0% { transform: scale(0.1); opacity: 0; } 55% { transform: scale(1.08); opacity: 1; } 78% { transform: scale(0.97); } 100% { transform: none; opacity: 1; } }
@keyframes ping { 0% { opacity: 0.8; transform: scale(0.6); } 70%, 100% { opacity: 0; transform: scale(1.7); } }
@keyframes ripple { from { opacity: 0.9; transform: scale(0.15); } to { opacity: 0; transform: scale(1.6); } }
@keyframes cd-tick { from { opacity: 0.15; transform: translateY(-0.22em); } to { opacity: 1; transform: none; } }
/* Bolha subindo: sobe a própria coluna, balançando de lado (duas variações). */
@keyframes bubble-rise {
  0% { transform: translate3d(0, 100%, 0); opacity: 0; }
  8% { opacity: 0.78; }
  25% { transform: translate3d(7px, 72%, 0); }
  50% { transform: translate3d(-5px, 44%, 0); }
  75% { transform: translate3d(6px, 16%, 0); }
  90% { opacity: 0.78; }
  100% { transform: translate3d(0, -4%, 0); opacity: 0; }
}
@keyframes bubble-rise-b {
  0% { transform: translate3d(0, 100%, 0); opacity: 0; }
  8% { opacity: 0.7; }
  25% { transform: translate3d(-6px, 72%, 0); }
  50% { transform: translate3d(5px, 44%, 0); }
  75% { transform: translate3d(-7px, 16%, 0); }
  90% { opacity: 0.7; }
  100% { transform: translate3d(0, -4%, 0); opacity: 0; }
}
/* Peixe: atravessa em arrancadas (cada trecho acelera e freia), subindo e descendo um pouco. */
@keyframes swim {
  0% { transform: translate3d(-12%, 0, 0); }
  25% { transform: translate3d(19%, -8px, 0); }
  50% { transform: translate3d(50%, 4px, 0); }
  75% { transform: translate3d(81%, -5px, 0); }
  100% { transform: translate3d(112%, 0, 0); }
}
@keyframes swim-back {
  0% { transform: translate3d(112%, 0, 0); }
  25% { transform: translate3d(81%, 6px, 0); }
  50% { transform: translate3d(50%, -4px, 0); }
  75% { transform: translate3d(19%, 5px, 0); }
  100% { transform: translate3d(-12%, 0, 0); }
}
@keyframes success-in { from { opacity: 0; transform: scale(0.3); } 60% { opacity: 1; transform: scale(1.08); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .coral { stroke-dashoffset: 0; }
  .hero__sea { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Na carga: o letreiro e as atrações emergem, o texto sobe em sequência
     e as bolhas aparecem uma a uma. */
  .kv__logo, .kv__artists { animation: surface-in 1.6s var(--ease-out) both; }
  .kv__logo { animation-delay: 0.1s; }
  .kv__artists { animation-delay: 0.3s; }
  .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; }
  /* Bolhas: enchem uma a uma na carga (transform) e depois flutuam em
     repouso (translate), em animação nativa, cada uma no seu ritmo. O vidro
     de dentro fica livre para estourar e voltar a encher (seção 6). */
  .bubble__float {
    animation:
      inflate 1.2s var(--ease-out) calc(0.6s + var(--i, 0) * 0.11s) both,
      bob calc(6s + var(--i, 0) * 0.7s) ease-in-out calc(var(--i, 0) * -1.9s) infinite alternate;
  }
  .kv__logo img { animation: kv-float 7s ease-in-out infinite alternate; }
  .lot__dot::after { animation: ping 2.6s var(--ease-out) infinite; }
  .ripple { animation: ripple 1.1s var(--ease-out) both; }
  .cd__num.is-tick { animation: cd-tick 0.7s var(--ease-out) both; }
  .form-success:not([hidden]) .form-success__bubble { animation: success-in 1s var(--ease-out) both; }

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

  /* 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%;
    }
    .coral {
      animation: coral-draw linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 45%;
    }
  }
  /* 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; }
    .js .coral { stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-out); }
    .js .coral.is-visible { stroke-dashoffset: 0; }
  }
}

/* ---------- 17 Hovers sutis, só onde existe ponteiro fino ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: linear-gradient(180deg, var(--gold-pale), var(--gold-soft) 60%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 16px 32px -16px rgba(201, 164, 92, 0.7); }
  .btn--primary:hover::after { transform: translateX(130%); transition: transform 1s var(--ease); }
  .btn--primary:hover .btn__icon { transform: translateY(2px); }
  .btn--ghost:hover { border-color: var(--aqua-soft); color: var(--aqua-pale); background: rgba(127, 211, 207, 0.08); }
  .btn--sea:hover { background: var(--sea-700); }
  .btn:hover .btn__icon:has(use[href="#i-arrow"]) { transform: translateX(3px); }
  .btn:hover .btn__icon:has(use[href="#i-pin"]) { transform: translateY(-2px); }
  .site-nav a:hover { color: var(--linen); }
  .site-nav a:hover::after { transform: scaleX(1); }
  .spotlight:hover::after { opacity: 1; }
  .details__row:hover::after { transform: scaleX(1); }
  .details__row:hover .ico { transform: translateX(2px); stroke: var(--aqua-soft); }
  .strip__item:hover img, .split__media:hover img, .attraction__photo:hover img { transform: scale(1.04); }
  .strip__item:hover figcaption { transform: translateY(-3px); }
  .faq__head a:hover, .contact-alt a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .amenities h3 a:hover { color: var(--ink-accent); text-decoration-color: currentColor; }
  .faq__list summary:hover { color: var(--gold-soft); padding-left: 0.35rem; }
  .stepper__btn:not([disabled]):hover { border-color: var(--gold); color: var(--gold-soft); }
  .input:hover:not(:focus) { border-color: rgba(244, 236, 223, 0.3); }
  .site-footer a:hover { color: var(--gold-soft); }
  .link-btn:hover { color: var(--gold-pale); }
  .final__place a:hover { color: var(--ink); }
}

/* Hero fora da tela (ou aba oculta): as animações dele param (main.js, seção 3). */
.hero.is-offscreen .rise, .hero.is-offscreen .swim, .hero.is-offscreen .bubble__float,
.hero.is-offscreen .kv__logo img, .hero.is-offscreen .lot__dot::after { animation-play-state: paused; }

/* ---------- 18 Desempenho no celular e em telas de toque ----------
   Aqui a GPU e a CPU são curtas: sai o canvas da água (a onda fica no SVG,
   parada), os corais já vêm desenhados e metade das bolhas e dos peixes do
   fundo some. O que fica anima só no compositor (transform e opacity). Em
   todas as telas já não há desfoque (backdrop-filter), grão nem filtros. */
@media (max-width: 960px), (hover: none) {
  .water { display: none; }
  .section--deep.is-live .surface { opacity: 1; }
  .coral { animation: none !important; transition: none !important; stroke-dashoffset: 0 !important; }
  .bubble__glass { box-shadow: none; }
}
