/* ==========================================================================
   Lagoa Pipa — Apresentação
   Paleta e tipos tirados do PDF: azul-marinho, dourado da concha, laranja do
   separador, areia. Títulos em Jost (geométrica, como o logotipo).
   ========================================================================== */

:root {
  --navy-950: #08151f;
  --navy-900: #0b1c2d;
  --navy-800: #10263b;
  --navy-600: #1d3f62;
  --gold: #c4a26a;
  --gold-soft: #d9c39b;
  --laranja: #b0661f;
  --laranja-vivo: #e08a3c;
  --areia: #f3eee4;
  --papel: #fbf9f5;
  --linha: rgba(16, 38, 59, .16);
  --tinta: #13263a;
  --tinta-2: #3a4e63;
  --creme: #f6f1e7;

  --f-display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --f-texto: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Cormorant Garamond", "Times New Roman", serif;

  --pad: clamp(20px, 5.5vw, 88px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-wipe: cubic-bezier(.77, 0, .18, 1);
  --t-reveal: 1.3s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-weight: 300;
  font-size: clamp(16px, 1.06vw, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy-900); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pular {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--navy-900); color: var(--creme); padding: 10px 16px; text-decoration: none;
}
.pular:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.wrap { width: 100%; padding-inline: var(--pad); }

/* ---------- Máscaras do logo ---------- */
.logo-mask, .capa__shell, .capa__word, .loader__shell, .vista__shell {
  display: block;
  background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
}
.logo-mask { --m: url("../img/logo-lagoa.png"); width: 108px; aspect-ratio: 3 / 1; }
.capa__shell, .loader__shell, .vista__shell { --m: url("../img/concha.png"); aspect-ratio: 380 / 410; }
.capa__word { --m: url("../img/wordmark.png"); aspect-ratio: 3 / 1; }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--navy-900); color: var(--creme);
}
.loader__mark { position: relative; width: 74px; }
.loader__shell { width: 100%; color: rgba(246, 241, 231, .14); }
.loader__shell--fill {
  position: absolute; inset: 0; color: var(--gold);
  clip-path: inset(calc(100% - var(--p, 0%)) 0 0 0);
}
.loader__word {
  font-family: var(--f-display); font-weight: 300; font-size: 13px;
  letter-spacing: .5em; text-transform: uppercase; padding-left: .5em; opacity: .7;
}
.loader__count {
  position: absolute; right: var(--pad); bottom: 28px;
  font-family: var(--f-display); font-weight: 300; font-size: 13px; letter-spacing: .2em; opacity: .5;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Topo
   ========================================================================== */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  color: var(--creme);
  transition: color .5s var(--ease-out), transform .6s var(--ease-out);
  pointer-events: none;
}
.topo > * { pointer-events: auto; }
.topo.is-light { color: var(--navy-900); }
.topo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(11, 28, 45, .84); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  transition: opacity .5s var(--ease-out), background-color .5s var(--ease-out);
}
.topo.is-light::before { background: rgba(251, 249, 245, .88); }
.topo.is-solid::before { opacity: 1; }
.topo.is-solid { padding-block: 14px; }
.topo { transition: color .5s var(--ease-out), transform .6s var(--ease-out), padding .5s var(--ease-out); }
body:has(.indice.is-open) .topo::before { opacity: 0; }
.topo.is-hidden { transform: translateY(-110%); }
.topo__logo { display: block; padding: 6px 0; }
.topo__right { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.topo__count {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-size: 13px; letter-spacing: .18em; font-variant-numeric: tabular-nums;
}
.topo__now { display: inline-block; min-width: 2ch; }
.topo__sep { width: 28px; height: 1px; background: currentColor; opacity: .5; }
.topo__menu {
  display: flex; align-items: center; gap: 14px;
  min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer;
  font-family: var(--f-display); font-size: 13px; letter-spacing: .28em; text-transform: uppercase;
}
.topo__burger { position: relative; width: 26px; height: 10px; }
.topo__burger i {
  position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.topo__burger i:first-child { top: 0; }
.topo__burger i:last-child { top: 9px; }
.topo__menu[aria-expanded="true"] .topo__burger i:first-child { top: 5px; transform: rotate(20deg); }
.topo__menu[aria-expanded="true"] .topo__burger i:last-child { top: 5px; transform: rotate(-20deg); }
.topo__progress {
  position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--prog, 0));
}

/* ==========================================================================
   Índice
   ========================================================================== */
.indice {
  position: fixed; inset: 0; z-index: 90;
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 4vw;
  padding: 110px var(--pad) 48px;
  color: var(--creme);
}
.indice[hidden] { display: none; }
.indice__bg {
  position: absolute; inset: 0; background: var(--navy-900);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-wipe);
}
.indice.is-open .indice__bg { clip-path: inset(0 0 0 0); }
.indice__list {
  position: relative; list-style: none; margin: 0; padding: 0;
  columns: 2; column-gap: 4vw;
}
.indice__list li {
  break-inside: avoid; overflow: hidden;
}
.indice__list a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 10px 0; text-decoration: none;
  font-family: var(--f-display); font-weight: 300; text-transform: uppercase;
  font-size: clamp(20px, 2.1vw, 34px); letter-spacing: .04em; line-height: 1.2;
  transform: translateY(110%); transition: transform .9s var(--ease-out), color .3s;
}
.indice__list a span { font-size: 12px; letter-spacing: .2em; color: var(--gold); min-width: 2.4ch; }
.indice.is-open .indice__list a { transform: none; }
.indice__list a:hover, .indice__list a:focus-visible, .indice__list a[aria-current="true"] { color: var(--gold-soft); }
.indice__thumb {
  position: relative; aspect-ratio: 4 / 5; max-height: 70vh; overflow: hidden;
  clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease-wipe) .25s;
}
.indice.is-open .indice__thumb { clip-path: inset(0 0 0 0); }
.indice__thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }

/* ==========================================================================
   Peças comuns
   ========================================================================== */
.frame { position: relative; overflow: hidden; background: var(--areia); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
[data-speed] { transform: scale(1.16); will-change: transform; }

.kicker {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0 22px;
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(14px, 1.15vw, 18px); letter-spacing: .24em; line-height: 1.4;
  color: var(--tinta); margin-bottom: clamp(28px, 4.5vh, 56px);
}
.kicker i { width: 1.5px; height: 1.5em; background: var(--laranja-vivo); }
.kicker__b { color: var(--navy-600); }
.kicker--laranja .kicker__b { color: var(--laranja); }

.claro { position: relative; background: var(--papel); isolation: isolate; }
.claro__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/bg-palmeiras.webp") center / cover no-repeat;
  opacity: .06; filter: grayscale(.3);
}
.escuro { position: relative; background: var(--navy-900); color: var(--creme); isolation: isolate; overflow: hidden; }
.escuro__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.escuro__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; mix-blend-mode: luminosity; }
.escuro__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--navy-900) 0%, rgba(11, 28, 45, .55) 30%, rgba(11, 28, 45, .7) 75%, var(--navy-900) 100%);
}

/* ---------- Revelações ---------- */
.js [data-reveal="fade"] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-reveal="fade"].is-in { opacity: 1; transform: none; }

.js [data-reveal^="wipe"] { transition: clip-path var(--t-reveal) var(--ease-wipe); }
.js [data-reveal="wipe-up"] { clip-path: inset(100% 0 0 0); }
.js [data-reveal="wipe-down"] { clip-path: inset(0 0 100% 0); }
.js [data-reveal="wipe-left"] { clip-path: inset(0 0 0 100%); }
.js [data-reveal^="wipe"].is-in { clip-path: inset(0 0 0 0); }

.titulo-linhas .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.titulo-linhas .ln > span { display: block; }
.js [data-reveal="lines"] .ln > span { transform: translateY(108%); transition: transform 1.2s var(--ease-out); }
.js [data-reveal="lines"].is-in .ln > span { transform: none; }
.js [data-reveal="lines"] .ln:nth-child(2) > span { transition-delay: .08s; }
.js [data-reveal="lines"] .ln:nth-child(3) > span { transition-delay: .16s; }
.js [data-reveal="lines"] .ln:nth-child(4) > span { transition-delay: .24s; }

/* ==========================================================================
   01 · Capa
   ========================================================================== */
.capa {
  position: relative; height: 100vh; height: 100svh; min-height: 540px;
  display: grid; place-items: center; overflow: hidden; background: var(--navy-900); color: #fff;
}
.capa__media { position: absolute; inset: 0; }
.capa__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.06); will-change: transform; }
.capa__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 21, 31, .45) 0%, rgba(8, 21, 31, 0) 26%, rgba(8, 21, 31, 0) 62%, rgba(8, 21, 31, .5) 100%),
    radial-gradient(ellipse 45% 30% at 50% 40%, rgba(8, 21, 31, .22), transparent 70%);
}
.capa__logo {
  position: relative; display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px);
  margin-top: -14vh; color: #fff; font-size: 0;
  filter: drop-shadow(0 2px 24px rgba(8, 21, 31, .25));
}
.capa__logo .capa__shell { width: clamp(52px, 5.6vw, 92px); }
.capa__logo .capa__word { width: clamp(150px, 15vw, 250px); }
.capa__scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 14px; text-decoration: none;
  font-family: var(--f-display); font-size: 11px; letter-spacing: .38em; text-transform: uppercase;
}
.capa__scroll span { padding-left: .38em; }
.capa__scroll i { position: relative; width: 1px; height: 52px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.capa__scroll i::after {
  content: ""; position: absolute; inset: 0; background: #fff;
  animation: gota 2.2s var(--ease-wipe) infinite;
}
@keyframes gota { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ==========================================================================
   02 · Manifesto
   ========================================================================== */
.manifesto {
  display: grid; grid-template-columns: 52fr 48fr; min-height: 100vh; min-height: 100svh;
  background: var(--navy-900); color: var(--creme);
}
.manifesto__panel { position: relative; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.manifesto__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.manifesto__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; mix-blend-mode: luminosity; }
.manifesto__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 28, 45, .3), var(--navy-900) 95%); }
.manifesto__text { padding: 18vh var(--pad); max-width: 760px; }
.manifesto h2 {
  font-family: var(--f-display); font-weight: 300; text-transform: uppercase;
  font-size: clamp(30px, 3.3vw, 56px); line-height: 1.14; letter-spacing: .015em;
}
.manifesto__copy { margin-top: clamp(32px, 6vh, 64px); max-width: 30ch; }
.manifesto__copy p + p { margin-top: 1.1em; color: rgba(246, 241, 231, .78); }
.frase {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 1.9vw, 32px); line-height: 1.25; color: var(--gold-soft);
}
.manifesto__media { min-height: 60vh; background: var(--navy-800); }

/* ==========================================================================
   03 · Tibau do Sul
   ========================================================================== */
.tibau { padding-block: clamp(96px, 16vh, 180px) clamp(80px, 12vh, 140px); overflow: hidden; }
.marquee {
  position: absolute; top: clamp(40px, 6vh, 80px); left: 0; z-index: -1;
  white-space: nowrap; pointer-events: none;
  font-family: var(--f-display); font-weight: 300; text-transform: uppercase;
  font-size: clamp(90px, 15vw, 260px); line-height: 1; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(16, 38, 59, .1);
}
.marquee span { display: inline-block; will-change: transform; }
.tibau__grid {
  display: grid; grid-template-columns: 1.58fr 1fr 1fr; gap: clamp(14px, 1.8vw, 28px);
  height: clamp(380px, 64vh, 660px);
}
.tibau__b { translate: 0 -5%; }
.tibau__c { translate: 0 6%; }

/* ==========================================================================
   04 · Quem somos
   ========================================================================== */
.sobre { padding-block: clamp(110px, 18vh, 200px) clamp(90px, 14vh, 160px); }
.sobre__row {
  position: relative; display: grid; grid-template-columns: 70px minmax(200px, .9fr) 2fr; gap: 24px 4vw;
  padding-block: clamp(28px, 4.5vh, 48px); align-items: baseline;
}
.sobre__row::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: rgba(246, 241, 231, .2); transform-origin: 0 50%;
}
.sobre__n { font-family: var(--f-display); font-size: 13px; letter-spacing: .2em; color: var(--gold); }
.sobre h2 {
  font-family: var(--f-display); font-weight: 300; text-transform: uppercase;
  font-size: clamp(26px, 2.5vw, 42px); letter-spacing: .04em; line-height: 1.1;
}
.sobre p { color: rgba(246, 241, 231, .82); max-width: 62ch; }
.js .sobre__row::before { transform: scaleX(0); transition: transform 1.4s var(--ease-wipe); }
.js .sobre__row > * { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .sobre__row > h2 { transition-delay: .12s; }
.js .sobre__row > p { transition-delay: .22s; }
.js .sobre__row.is-in::before { transform: none; }
.js .sobre__row.is-in > * { opacity: 1; transform: none; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(40px, 7vh, 80px) 0 0;
  border-top: 1px solid rgba(246, 241, 231, .2);
}
.stats > div { padding: 32px 24px 0 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid rgba(246, 241, 231, .12); }
.stats dt { font-family: var(--f-display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(246, 241, 231, .6); }
.stats dd {
  margin: 10px 0 0; display: flex; align-items: baseline; gap: 8px;
  font-family: var(--f-display); font-weight: 300; font-size: clamp(44px, 5vw, 84px); line-height: 1;
  color: var(--creme); font-variant-numeric: tabular-nums;
}
.stats small { font-size: .32em; letter-spacing: .1em; color: var(--gold); }

/* ==========================================================================
   05 · Ambientes
   ========================================================================== */
.ambientes { padding-block: clamp(80px, 12vh, 140px); }
.ambientes__grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: clamp(14px, 1.8vw, 28px); height: clamp(520px, 86vh, 860px);
}
.amb--praia { grid-row: 1 / 3; }
.amb--sunset { grid-row: 1 / 3; }
.amb img { transition: scale 1.2s var(--ease-out); }
.amb:hover img { scale: 1.05; }
.tag {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  padding: 9px 26px 9px calc(26px + .32em);
  background: var(--navy-900); color: var(--creme);
  font-family: var(--f-display); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; line-height: 1.3;
  transition: background-color .4s, color .4s, padding .6s var(--ease-out);
}
.amb:hover .tag { background: var(--creme); color: var(--navy-900); padding-inline: 38px calc(38px - .32em + .64em); }
.js .amb .tag { opacity: 0; transform: translate(-50%, 14px); transition: opacity .8s var(--ease-out) .7s, transform .8s var(--ease-out) .7s, background-color .4s, color .4s, padding .6s var(--ease-out); }
.js .amb.is-in .tag { opacity: 1; transform: translate(-50%, 0); }
.amb--sunset { transition-delay: .12s; }
.amb--prainha { transition-delay: .24s; }
.amb--bar { transition-delay: .36s; }

/* ==========================================================================
   06 · Nosso espaço
   ========================================================================== */
.espaco { padding-block: clamp(110px, 17vh, 190px); }
.espaco__wrap { max-width: 900px; margin-inline: auto; text-align: center; }
.espaco__title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(26px, 2.4vw, 40px); letter-spacing: .3em; padding-left: .3em; color: var(--navy-800);
}
.espaco__copy { margin: clamp(28px, 4vh, 44px) auto 0; max-width: 60ch; color: var(--tinta-2); }
.espaco__copy p + p { margin-top: 1.2em; }
.espaco__copy strong { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 1.35em; color: var(--laranja); }

.capac { position: relative; display: block; width: 100%; margin: clamp(48px, 8vh, 88px) auto 0; border-collapse: collapse; text-align: left; }
.capac tbody { display: block; }
.capac tr {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  min-height: 58px; border-bottom: 0;
}
.capac tr::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--linha);
  transform-origin: 0 50%;
}
.capac tr::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: -3.5px; height: 7px;
  background:
    radial-gradient(circle 3.5px at 3.5px 50%, var(--gold) 98%, transparent) left / 7px 7px no-repeat,
    radial-gradient(circle 3.5px at 3.5px 50%, var(--gold) 98%, transparent) right / 7px 7px no-repeat;
}
.capac tbody tr:first-child { border-top: 0; }
.capac th {
  padding: 14px 0 14px 18px; font-family: var(--f-display); font-weight: 500; font-size: 13px;
  letter-spacing: .32em; text-transform: uppercase; color: var(--navy-800);
}
.capac td {
  padding: 14px 18px 14px clamp(20px, 4vw, 44px); font-family: var(--f-display); font-weight: 500; font-size: 17px;
  color: var(--navy-800); font-variant-numeric: tabular-nums;
}
.capac td span { display: inline-block; min-width: 3ch; font-size: 1.5em; font-weight: 300; margin-right: 4px; text-align: right; }
.capac::after {
  content: ""; position: absolute; left: 50%; top: -22px; bottom: -22px; width: 1.5px; background: var(--navy-600);
  transform-origin: 50% 0;
}
.js .capac::after { transform: scaleY(0); transition: transform 1.4s var(--ease-wipe) .2s; }
.js .capac.is-in::after { transform: none; }
.js .capac tr::before { transform: scaleX(0); transition: transform 1.2s var(--ease-wipe); }
.js .capac tr::after { opacity: 0; transition: opacity .6s; }
.js .capac th, .js .capac td { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .capac.is-in tr::before { transform: none; }
.js .capac.is-in tr::after { opacity: 1; transition-delay: 1s; }
.js .capac.is-in th, .js .capac.is-in td { opacity: 1; transform: none; }
.capac tr:nth-child(2)::before, .capac tr:nth-child(2) th, .capac tr:nth-child(2) td { transition-delay: .12s; }
.capac tr:nth-child(3)::before, .capac tr:nth-child(3) th, .capac tr:nth-child(3) td { transition-delay: .24s; }
.capac tr:nth-child(4)::before, .capac tr:nth-child(4) th, .capac tr:nth-child(4) td { transition-delay: .36s; }

/* ==========================================================================
   07 · Gastronomia
   ========================================================================== */
.gastro { padding-block: clamp(96px, 15vh, 170px); }
.gastro__row {
  display: flex; gap: clamp(14px, 1.8vw, 28px); padding-inline: var(--pad);
  height: clamp(400px, 66vh, 680px);
}
.gastro__item { flex: 1 1 0; min-width: 0; transition: flex-grow 1s var(--ease-out); }
.gastro__item:nth-child(3) { flex-grow: 1.5; }
.gastro__item:nth-child(4) { flex-grow: 1.12; }
.gastro__item img { transition: scale 1.2s var(--ease-out), filter .8s; }
@media (hover: hover) and (min-width: 901px) {
  .gastro__row:hover .gastro__item img { filter: saturate(.7) brightness(.92); }
  .gastro__row .gastro__item:hover { flex-grow: 2.2; }
  .gastro__row .gastro__item:hover img { filter: none; scale: 1.03; }
}
.js [data-reveal="stagger"] > * { clip-path: inset(100% 0 0 0); transform: translateY(60px); transition: clip-path var(--t-reveal) var(--ease-wipe), transform var(--t-reveal) var(--ease-out), flex-grow 1s var(--ease-out); }
.js [data-reveal="stagger"].is-in > * { clip-path: inset(0 0 0 0); transform: none; }
.js [data-reveal="stagger"] > :nth-child(2) { transition-delay: .1s, .1s, 0s; }
.js [data-reveal="stagger"] > :nth-child(3) { transition-delay: .2s, .2s, 0s; }
.js [data-reveal="stagger"] > :nth-child(4) { transition-delay: .3s, .3s, 0s; }

/* ==========================================================================
   08 · A vista
   ========================================================================== */
.vista { position: relative; background: var(--papel); }
.vista__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.vista__frame {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(var(--ci, 0%) var(--cx, 0%) var(--ci, 0%) var(--cx, 0%) round var(--cr, 0px));
}
.vista__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; will-change: transform; }
.vista__shell { position: absolute; right: var(--pad); bottom: 28px; width: 38px; color: #fff; opacity: .9; }

/* ==========================================================================
   09 · Nosso bar
   ========================================================================== */
.bar { padding-block: clamp(96px, 15vh, 170px); overflow: hidden; }
.bar__grid {
  display: grid; grid-template-columns: 58fr 42fr; gap: clamp(20px, 4vw, 64px);
  padding-left: var(--pad); height: clamp(380px, 64vh, 660px);
}
.bar__b { margin-right: -8vw; }

/* ==========================================================================
   10 · Corporativos  /  11 · Casamentos
   ========================================================================== */
.corp, .casa { display: grid; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.corp { grid-template-columns: 41fr 59fr; }
.casa { grid-template-columns: 59fr 41fr; }
.corp__a, .casa__b { min-height: 100%; }
.corp__side, .casa__side { display: flex; flex-direction: column; justify-content: center; padding-block: clamp(90px, 12vh, 130px); }
.corp__side { padding-left: clamp(28px, 6vw, 110px); }
.casa__side { padding-right: clamp(28px, 6vw, 110px); }
.corp__side .kicker { padding-left: 0; }
.casa__side .kicker { padding-left: var(--pad); }
.corp__b, .casa__a { aspect-ratio: 3 / 2; width: 100%; }

/* ==========================================================================
   12 · Encerramento
   ========================================================================== */
.fim { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #1a0d05; color: #fff; display: grid; place-items: center; }
.fim__media { position: absolute; inset: 0; }
.fim__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.12); will-change: transform; }
.fim__glow {
  position: absolute; left: var(--sx, 30%); top: var(--sy, 42%); width: 46vmax; aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, rgba(255, 196, 110, .55) 0%, rgba(255, 150, 60, .18) 30%, transparent 62%);
  mix-blend-mode: screen; pointer-events: none;
  animation: respira 6s ease-in-out infinite;
}
@keyframes respira { 0%, 100% { scale: .9; opacity: .75; } 50% { scale: 1.08; opacity: 1; } }
.fim__logo { position: relative; display: flex; align-items: center; gap: clamp(10px, 1.2vw, 18px); color: #fff; margin-top: 6vh; }
.fim__logo .capa__shell { width: clamp(40px, 4.2vw, 68px); }
.fim__logo .capa__word { width: clamp(120px, 11vw, 186px); }
.js [data-reveal="logo"] .capa__shell { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-wipe); }
.js [data-reveal="logo"] .capa__word { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease-wipe) .35s; }
.js [data-reveal="logo"].is-in .capa__shell, .js [data-reveal="logo"].is-in .capa__word { clip-path: inset(0 0 0 0); }
.fim__rodape {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px var(--pad); font-family: var(--f-display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.fim__topo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; transition: color .3s; }
.fim__topo:hover { color: #fff; }
.fim__topo i { width: 9px; height: 9px; border-left: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg) translate(2px, 2px); }

/* ---------- Dica de teclado ---------- */
.dica {
  position: fixed; left: var(--pad); bottom: 22px; z-index: 80; display: flex; align-items: center; gap: 6px;
  font-family: var(--f-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--creme); mix-blend-mode: difference; opacity: 0; transition: opacity .8s;
  pointer-events: none;
}
.dica.is-on { opacity: .7; }
.dica kbd { font-family: inherit; display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 3px; font-size: 11px; letter-spacing: 0; }
.dica kbd + kbd { margin-right: 6px; }
@media (hover: none), (max-width: 900px) { .dica { display: none; } }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 900px) {
  .topo { padding-block: 16px; }
  .topo__menu-label { display: none; }
  .logo-mask { width: 92px; }

  .indice { grid-template-columns: 1fr; align-content: start; padding-top: 96px; overflow-y: auto; }
  .indice__list { columns: 1; }
  .indice__list a { padding: 8px 0; }
  .indice__thumb { display: none; }

  .manifesto { grid-template-columns: 1fr; }
  .manifesto__text { padding: 110px var(--pad) 72px; }
  .manifesto__media { min-height: 0; aspect-ratio: 4 / 5; }

  .tibau__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .tibau__a { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .tibau__b, .tibau__c { aspect-ratio: 3 / 4; translate: none; }
  .tibau__c { translate: 0 8%; }

  .sobre__row { grid-template-columns: 1fr; gap: 10px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 26px 16px 26px 0; }
  .stats > div + div { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(246, 241, 231, .12); }
  .stats > div:nth-child(n+3) { border-top: 1px solid rgba(246, 241, 231, .12); }

  .ambientes__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .amb--praia, .amb--sunset { grid-row: auto; aspect-ratio: 3 / 4.4; }
  .amb--prainha, .amb--bar { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .tag { padding: 8px 18px 8px calc(18px + .32em); font-size: 11px; bottom: 12px; }

  .capac th { padding-left: 10px; letter-spacing: .22em; }

  .gastro__row {
    height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding-bottom: 8px; overscroll-behavior-x: contain;
  }
  .gastro__row::-webkit-scrollbar { display: none; }
  .gastro__item, .gastro__item:nth-child(n) { flex: 0 0 70vw; aspect-ratio: 2 / 3; scroll-snap-align: center; }

  .bar__grid { grid-template-columns: 1fr; height: auto; padding-left: 0; }
  .bar__a { aspect-ratio: 4 / 3; margin-inline: var(--pad); }
  .bar__b { aspect-ratio: 4 / 3; width: 86%; margin: 0 0 0 auto; }

  .corp, .casa { grid-template-columns: 1fr; min-height: 0; }
  .corp__side { order: -1; padding: 96px 0 24px var(--pad); }
  .casa__side { padding: 96px var(--pad) 24px 0; }
  .corp__a, .casa__b { min-height: 0; aspect-ratio: 4 / 5; }
  .corp__a { width: 82%; }
  .casa__b { width: 82%; margin-left: auto; }

  .fim__rodape { flex-direction: column; gap: 4px; padding-bottom: max(18px, env(safe-area-inset-bottom)); text-align: center; }
}

@media (max-width: 520px) {
  .kicker { gap: 0 14px; letter-spacing: .2em; }
  .stats dd { font-size: 46px; }
}

/* ==========================================================================
   Movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-speed] { transform: none; }
  .tibau__b, .tibau__c { translate: none; }
}
