/* Cia do Mar · protótipo
   Camada base = layout estático e legível (sem JS, ou com "reduzir movimento").
   html.motion = descida animada pelo scroll (cenas fixas + GSAP). */

/* Fontes hospedadas no próprio site (nada é pedido ao Google). Fraunces e Manrope: licença SIL OFL 1.1, veja fonts/LEIA-ME.txt.
   São fontes variáveis, só com o conjunto latino (cobre o português). */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/fraunces-latin.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(../fonts/fraunces-italic-latin.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/manrope-latin.woff2) format('woff2'); }

:root {
  --abyss: #04152f;
  --deep: #07305f;
  --marine: #0a4f86;
  --sea: #0c6c9a;
  --lagoon: #0f8aa8;
  --turq: #14a9ba;
  --foam: #eafcfd;
  --sun: #ffd27a;
  --coral: #ff7a59;
  --gutter: clamp(20px, 5vw, 64px);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Ritmo da descida: multiplica o comprimento de cada capítulo (1 = rápido, 1.25 = mais devagar). */
  --pace: 1.1;
}

*, *::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; }

body {
  margin: 0;
  background: var(--abyss);
  color: var(--foam);
  font-family: var(--font-body);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: .7em 1em; border-radius: 10px; background: var(--sun); color: var(--abyss); font-weight: 700;
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- topo e navegação ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px, 2vw, 26px) var(--gutter);
  pointer-events: none;
}
.top > * { pointer-events: auto; }
/* véu de leitura: o topo passa sobre fotos claras */
.top::before {
  content: ''; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 21, 47, .55), rgba(4, 21, 47, 0));
}
.brand { text-decoration: none; display: grid; line-height: 1; text-shadow: 0 1px 14px rgba(4, 21, 47, .45); }

/* menu com âncoras (telas largas; no celular entra o menu compacto) */
.menu {
  display: none; gap: 2px; padding: 5px; border-radius: 999px;
  background: rgba(6, 32, 61, .42); border: 1px solid rgba(234, 252, 253, .2);
  backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
}
.menu a {
  padding: .5em 1.05em; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-size: .86rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2; opacity: .88;
  transition: background .25s, color .25s, opacity .25s;
}
.menu a:hover { opacity: 1; background: rgba(234, 252, 253, .16); }
.menu a.is-active { opacity: 1; background: var(--foam); color: var(--abyss); }
.top { transition: background .3s, padding .3s; }
.top__end { display: flex; align-items: center; gap: 10px; }
/* depois de rolar, o topo ganha um fundo para o texto não passar por baixo da marca */
.top.is-scrolled {
  background: linear-gradient(180deg, rgba(4, 21, 47, .88), rgba(4, 21, 47, .62));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(234, 252, 253, .08);
  padding-block: clamp(10px, 1.4vw, 16px);
}
.top.is-scrolled::before { opacity: 0; }
@media (min-width: 1000px) {
  .top { display: grid; grid-template-columns: 1fr auto 1fr; }
  .top__end { justify-self: end; }
  .menu { display: flex; }
  .burger, .drawer { display: none !important; }
}

/* botão do menu compacto */
.burger {
  display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  color: var(--foam); background: rgba(6, 32, 61, .55); border: 1px solid rgba(234, 252, 253, .35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .25s, border-color .25s;
}
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* painel do menu compacto */
.drawer {
  position: fixed; inset: 0; z-index: 45; overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(120% 70% at 50% 0%, #0a4f86, transparent 70%), linear-gradient(180deg, #07305f, var(--abyss));
  visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s;
}
.drawer.is-open { visibility: visible; opacity: 1; transition: opacity .3s; }
.drawer__inner { width: min(560px, 100% - var(--gutter) * 2); min-height: 100%; margin-inline: auto; padding-block: 104px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.drawer__nav { display: grid; gap: .1em; }
.drawer__nav a {
  display: flex; align-items: baseline; justify-content: space-between; text-decoration: none;
  padding: .28em 0; border-bottom: 1px solid rgba(234, 252, 253, .12);
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 7.4vw, 2.7rem); line-height: 1.2;
}
.drawer__nav a::after { content: '↓'; font-family: var(--font-body); font-style: normal; font-size: 1rem; color: var(--sun); opacity: .8; }
.drawer__nav a.is-active { color: var(--sun); }
.drawer__book { display: grid; gap: 10px; }
.drawer__label { margin: 0 0 .3rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--sun); }
.drawer__btn {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; text-decoration: none; font-weight: 700;
  background: rgba(234, 252, 253, .1); border: 1px solid rgba(234, 252, 253, .28);
}
.drawer__btn svg { flex: none; width: 26px; height: 26px; }
.drawer__btn--wa { background: var(--coral); border-color: var(--coral); color: var(--abyss); }
.drawer a { opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .45s var(--ease), background .25s; }
.drawer.is-open a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 45ms + 120ms); }
html.menu-open, html.menu-open body { overflow: hidden; }
html.menu-open .top { z-index: 60; }
html.menu-open .top .btn { opacity: 0; pointer-events: none; }
html.menu-open .top.is-scrolled { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
@media (max-width: 400px) { .top .btn--sm .ico { display: none; } }
.brand__name { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.brand__sub { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; opacity: .85; margin-top: .45em; }

/* pontos de profundidade: na borda esquerda (a direita ficou para os botões de reserva) */
.depth {
  position: fixed; left: clamp(10px, 2vw, 28px); top: 50%; transform: translateY(-50%); z-index: 30;
  display: none;
}
@media (min-width: 1000px) { .depth { display: block; } }
.depth ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 30px; position: relative; }
.depth ol::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: rgba(234, 252, 253, .32); }
.depth a {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7; transition: opacity .3s;
}
.depth a::before {
  content: ''; flex: none; width: 11px; height: 11px; border-radius: 50%; position: relative; z-index: 1;
  border: 1.5px solid rgba(234, 252, 253, .85); background: var(--abyss); transition: background .3s, border-color .3s, transform .3s;
}
.depth a span { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; white-space: nowrap; text-shadow: 0 1px 10px rgba(4, 21, 47, .7); }
.depth a:hover span, .depth a:focus-visible span { opacity: 1; transform: none; }
.depth a:hover, .depth a.is-active { opacity: 1; }
.depth a.is-active::before { background: var(--sun); border-color: var(--sun); transform: scale(1.25); }

/* botões flutuantes de reserva (desktop e tablet) */
.book {
  position: fixed; right: clamp(10px, 1.6vw, 24px); top: 50%; transform: translateY(-50%); z-index: 35;
  display: none; flex-direction: column; align-items: flex-end; gap: 12px;
}
@media (min-width: 768px) { .book { display: flex; } }
.book__label {
  margin: 0 8px 2px 0; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 700;
  color: var(--sun); text-shadow: 0 1px 10px rgba(4, 21, 47, .8);
}
.book__btn {
  display: flex; flex-direction: row-reverse; align-items: center; height: 54px; border-radius: 999px; overflow: hidden;
  color: var(--foam); text-decoration: none;
  background: rgba(6, 32, 61, .68); border: 1px solid rgba(234, 252, 253, .4);
  backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 10px 28px rgba(4, 21, 47, .4);
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.book__ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; }
.book__ico svg { width: 26px; height: 26px; }
.book__txt {
  max-width: 0; opacity: 0; padding-left: 0; white-space: nowrap; font-weight: 700; font-size: .88rem;
  transition: max-width .35s var(--ease), opacity .25s, padding .35s var(--ease);
}
.book__btn:hover, .book__btn:focus-visible { background: var(--coral); border-color: var(--coral); color: var(--abyss); box-shadow: 0 14px 36px rgba(255, 122, 89, .5); }
.book__btn:hover .book__txt, .book__btn:focus-visible .book__txt { max-width: 260px; opacity: 1; padding-left: 20px; }
@media (min-width: 768px) and (max-width: 1099px) {
  .book { gap: 10px; }
  .book__btn { height: 48px; }
  .book__ico { width: 46px; height: 46px; }
  .book__ico svg { width: 23px; height: 23px; }
}

#bubbles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }

/* ---------- tipografia e botões ---------- */
.display {
  font-family: var(--font-display); font-weight: 500; font-variation-settings: 'opsz' 144;
  line-height: .98; letter-spacing: -.02em; margin: .25em 0 .4em;
  font-size: clamp(2.5rem, min(1.1rem + 6.2vw, 12vh), 6.6rem);
  text-shadow: 0 2px 30px rgba(4, 21, 47, .35);
}
.display--md { font-size: clamp(2.2rem, min(1rem + 4.7vw, 9.6vh), 5.2rem); }
.display em { font-style: italic; font-weight: 400; color: var(--sun); }
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: block; }

.eyebrow { margin: 0; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--sun); }
.lead { max-width: 33em; margin: 0 0 1.6rem; font-size: clamp(1.02rem, .95rem + .45vw, 1.3rem); color: rgba(234, 252, 253, .94); text-shadow: 0 1px 18px rgba(4, 21, 47, .5); }

.btn {
  display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.5em; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn--wa { background: var(--coral); color: var(--abyss); box-shadow: 0 10px 30px rgba(255, 122, 89, .38); }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(255, 122, 89, .55); }
.btn--line { background: transparent; color: var(--foam); border: 1px solid rgba(234, 252, 253, .5); }
.btn--line:hover { background: rgba(234, 252, 253, .12); transform: translateY(-2px); }
.btn--ghost { background: rgba(234, 252, 253, .12); color: var(--foam); border: 1px solid rgba(234, 252, 253, .42); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(234, 252, 253, .22); }
.btn--sm { padding: .62em 1.1em; font-size: .9rem; }
.btn--xl { padding: 1.1em 1.9em; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); flex-wrap: wrap; }
.btn__num { font-weight: 600; opacity: .8; }

.glass {
  background: rgba(6, 32, 61, .46); border: 1px solid rgba(234, 252, 253, .2); border-radius: 28px;
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding: clamp(18px, 2.4vw, 32px);
}

/* ---------- cenas (capítulos) ---------- */
.chapter { position: relative; }
.stage {
  position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate;
  background: var(--c0, var(--turq));
}
.wrap { position: relative; z-index: 3; width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; padding-block: clamp(90px, 14vh, 140px); }
@media (min-width: 1000px) { .wrap { width: min(1240px, 100% - 250px); } } /* deixa espaço para os pontos (esquerda) e os botões de reserva (direita) */
@media (min-width: 768px) and (max-width: 999px) { .wrap { width: calc(100% - var(--gutter) - 92px); margin-left: var(--gutter); margin-right: auto; } } /* tablet: reserva a borda direita para os botões */
.reveal, .bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg { object-fit: cover; }
.reveal { z-index: 0; }
.shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 21, 47, .74), rgba(4, 21, 47, .2) 64%, rgba(4, 21, 47, .08)), linear-gradient(0deg, rgba(4, 21, 47, .5), transparent 48%); }
.shade--center { background: radial-gradient(120% 90% at 30% 50%, rgba(4, 21, 47, .72), rgba(4, 21, 47, .25) 70%), linear-gradient(0deg, rgba(4, 21, 47, .45), transparent 50%); }
.shade--water { background: linear-gradient(90deg, rgba(5, 40, 80, .8), rgba(5, 60, 100, .3) 66%, rgba(5, 60, 100, .12)), linear-gradient(0deg, rgba(4, 21, 47, .45), transparent 50%); }
.wash { position: absolute; inset: 0; z-index: 8; background: var(--c1, var(--deep)); opacity: 0; pointer-events: none; }

.grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.grid--flip { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.copy { min-width: 0; }

/* Superfície: o texto fica sobre uma foto clara, então o véu escurece o lado do texto e o texto ganha sombra própria */
.stage--hero .shade {
  background:
    linear-gradient(90deg, rgba(4, 21, 47, .8) 0%, rgba(4, 21, 47, .58) 36%, rgba(4, 21, 47, .16) 72%, rgba(4, 21, 47, 0) 100%),
    linear-gradient(180deg, rgba(4, 21, 47, .5) 0%, rgba(4, 21, 47, .06) 30%, rgba(4, 21, 47, .1) 62%, rgba(4, 21, 47, .72) 100%);
}
/* a linha do horizonte (barcos e banhistas) desce para baixo do texto, que fica sobre o céu liso */
.stage--hero .bg { object-position: 50% 22%; }
.stage--hero .eyebrow { text-shadow: 0 1px 14px rgba(4, 21, 47, .8); }
.stage--hero .display { text-shadow: 0 2px 4px rgba(4, 21, 47, .4), 0 6px 40px rgba(4, 21, 47, .6); }
.stage--hero .lead { font-weight: 500; color: #fff; max-width: 30em; text-shadow: 0 1px 3px rgba(4, 21, 47, .5), 0 2px 24px rgba(4, 21, 47, .75); }
.hero__copy { max-width: min(800px, 100% - var(--gutter) * 2); margin-inline: var(--gutter) auto; width: auto; }
@media (min-width: 1300px) { .hero__copy { margin-left: max(var(--gutter), calc((100vw - 1240px) / 2)); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scrollcue {
  position: absolute; left: 50%; bottom: clamp(16px, 4vh, 34px); transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
}
.scrollcue span { width: 1px; height: 44px; background: linear-gradient(var(--foam), transparent); transform-origin: top; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.submerge { position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 90px); z-index: 6; display: none; pointer-events: none; }
.submerge svg { width: 100%; height: 90px; fill: var(--turq); margin-bottom: -1px; }
.submerge__body { height: calc(100% - 90px); background: var(--turq); }

/* Embarque: painel de maré e assentos */
.panel { position: relative; }
.panel__title { margin: 0 0 1rem; font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); line-height: 1.12; }
.panel__title strong { color: var(--sun); font-weight: 600; }
.step + .step { margin-top: 2rem; }
.tide { width: 100%; height: auto; overflow: visible; }
.tide__guide { fill: none; stroke: rgba(234, 252, 253, .3); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; }
.tide__line { fill: none; stroke: var(--sun); stroke-width: 4; stroke-linecap: round; }
.tide__boat { fill: var(--foam); }
.tide__legend { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .5rem; font-size: .95rem; }
.tide__legend li { padding-left: 1.4em; position: relative; opacity: .82; transition: opacity .3s; }
.tide__legend li::before { content: ''; position: absolute; left: 0; top: .5em; width: .7em; height: .7em; border-radius: 50%; border: 2px solid var(--sun); transition: background .3s; }
.tide__legend li.is-on { opacity: 1; }
.tide__legend li.is-on::before { background: var(--sun); }
.tide__legend b { color: var(--sun); }
.seats { display: grid; grid-template-columns: repeat(15, 1fr); gap: clamp(3px, .5vw, 7px); }
.seats i { aspect-ratio: 1; border-radius: 50%; background: var(--foam); will-change: opacity, transform; }
.seats i.is-off { opacity: .14; transform: scale(.55); }
/* os 86 lugares que ficam acesos desenham VIP */
.seats i.is-lit { background: var(--sun); box-shadow: 0 0 12px rgba(255, 210, 122, .6); }
.note { margin: 1rem 0 0; font-size: .95rem; opacity: .9; }

/* Recife: números */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); margin: 1.8rem 0 0; padding: 0; max-width: 720px; }
.stat { display: flex; flex-direction: column-reverse; gap: .25rem; margin: 0; padding: clamp(14px, 1.8vw, 24px); border-radius: 22px; }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; } }
.stat dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.9rem, .9rem + 2.6vw, 3.6rem); line-height: 1; font-weight: 500; }
.stat dd small { font-size: .45em; font-weight: 400; }
.stat dd sup { font-size: .5em; vertical-align: top; }
.stat dt { font-size: .88rem; line-height: 1.3; opacity: .88; }
.source { margin: 1rem 0 0; font-size: .8rem; opacity: .7; }

/* Mergulho: peixes, itens incluídos e vigia */
.fishes { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: none; }
.fish { position: absolute; left: 0; width: var(--s); top: var(--y); color: rgba(234, 252, 253, var(--a)); }
.fish svg { width: 100%; height: auto; fill: currentColor; animation: bob var(--d, 3.2s) ease-in-out infinite alternate; }
.fish--a { --s: 92px; --y: 18%; --a: .5; --d: 3.4s; }
.fish--b { --s: 54px; --y: 34%; --a: .38; --d: 2.6s; }
.fish--c { --s: 120px; --y: 62%; --a: .3; --d: 4s; }
.fish--d { --s: 64px; --y: 78%; --a: .42; --d: 3s; }
.fish--e { --s: 40px; --y: 48%; --a: .32; --d: 2.2s; }
@keyframes bob { from { transform: translateY(-8px) rotate(-2deg); } to { transform: translateY(8px) rotate(2deg); } }

.included__title { margin: 1.4rem 0 .7rem; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--sun); }
.included, .chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.included li, .chips li {
  display: flex; align-items: center; gap: .6em; padding: .65em 1.1em .65em .9em; border-radius: 999px;
  background: rgba(234, 252, 253, .14); border: 1px solid rgba(234, 252, 253, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-weight: 600; font-size: .95rem; line-height: 1.25;
}
.included li::before, .chips li::before {
  content: ''; flex: none; width: .7em; height: .7em; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(255, 255, 255, .25) 60%, transparent 72%); box-shadow: 0 0 0 2px rgba(255, 255, 255, .6);
}

.porthole {
  margin: 0; justify-self: center; width: min(100%, 470px); aspect-ratio: 1; border-radius: 50%; position: relative;
  padding: clamp(10px, 1.4vw, 18px);
  background: conic-gradient(from 210deg, #eef5f7, #8ea4b0, #f7fbfc, #6c8592, #eef5f7);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 2px rgba(255, 255, 255, .25);
}
.porthole--xl { width: min(100%, 560px); }
.porthole__glass { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #021428; box-shadow: inset 0 0 44px rgba(0, 0, 0, .55); }
.porthole__glass::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 3; background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .28), transparent 38%); }
.porthole__glass img, .porthole__glass video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-video { z-index: 2; }

/* Jubartes e fim: raios de luz */
.rays {
  position: absolute; inset: -20% -10% 0; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: screen;
  background: repeating-linear-gradient(100deg, transparent 0 5%, rgba(255, 255, 255, .15) 8%, transparent 14%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 82%); mask-image: linear-gradient(180deg, #000, transparent 82%);
  animation: rays 14s ease-in-out infinite alternate;
}
@keyframes rays { from { transform: translateX(-4%) skewX(-4deg); } to { transform: translateX(4%) skewX(4deg); } }

/* Reserva */
.end { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--deep), var(--abyss) 42%); isolation: isolate; }
.end__inner { padding-block: clamp(110px, 20vh, 220px) clamp(50px, 8vh, 90px); }
.faq { margin-top: clamp(40px, 7vh, 80px); max-width: 780px; border-top: 1px solid rgba(234, 252, 253, .2); }
.faq details { border-bottom: 1px solid rgba(234, 252, 253, .2); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1em 2.2em 1.1em 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .3em; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--sun); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 1.2em; max-width: 40em; opacity: .9; }
.foot { display: grid; gap: clamp(28px, 4vw, 44px); padding-block: clamp(36px, 5vw, 56px) 36px; border-top: 1px solid rgba(234, 252, 253, .15); font-size: .92rem; }
.foot p { margin: 0; }
.foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(26px, 3.4vw, 52px); align-items: start; }
.foot__name { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.9rem; line-height: 1; }
.foot__sub { margin-top: .5em !important; font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; opacity: .85; }
.foot__about { margin-top: 1.1rem !important; max-width: 24em; opacity: .85; }
.foot__title { margin: 0 0 1.1rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--sun); }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.foot__list a { display: flex; align-items: flex-start; gap: .85em; text-decoration: none; line-height: 1.4; }
.foot__list .ico { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 50%; border: 1px solid rgba(234, 252, 253, .3); transition: background .25s, color .25s, border-color .25s; }
.foot__list a:hover .ico, .foot__list a:focus-visible .ico { background: var(--coral); border-color: var(--coral); color: var(--abyss); }
.foot__list span { display: grid; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; padding-top: .1em; }
.foot__list b { font-size: .95rem; letter-spacing: 0; text-transform: none; font-weight: 600; opacity: 1; margin-top: .15em; color: var(--foam); overflow-wrap: anywhere; }
.foot__list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.foot__social { gap: .8rem; }
.foot__ta .TA_rated { min-height: 90px; }
.ta-gate { display: grid; gap: .8rem; justify-items: start; }
.ta-gate p { margin: 0; font-size: .92rem; line-height: 1.5; opacity: .9; }
.ta-gate__note { font-size: .78rem !important; opacity: .7 !important; }
.ta-gate__note a, .foot__ta-link { text-underline-offset: 3px; }
.ta-gate__btn { margin-top: .1rem; padding: .62em 1.1em; font-size: .9rem; color: var(--foam); background: rgba(234, 252, 253, .12); border: 1px solid rgba(234, 252, 253, .42); }
.ta-gate__btn:hover { background: rgba(234, 252, 253, .22); }
.ta-gate__btn[hidden], .ta-off[hidden] { display: none; }
.ta-off { margin-top: .8rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; opacity: .7; cursor: pointer; }
.ta-off:hover { opacity: 1; color: var(--sun); }
.foot__ta .TA_links { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1000px) { .foot__grid { grid-template-columns: 1.1fr 1.5fr 1fr 1fr; } }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 22px; border-top: 1px solid rgba(234, 252, 253, .15); font-size: .82rem; opacity: .75; }
.foot__links { display: flex; flex-wrap: wrap; gap: .3em 1.4em; }
.foot__links a { text-underline-offset: 3px; }
.foot__links a:hover { color: var(--sun); }
.foot__proto { flex-basis: 100%; opacity: .8; font-size: .78rem; }

/* ---------- camada animada ---------- */
html.motion .chapter { height: calc(var(--len, 300vh) * var(--pace, 1)); }
html.motion .stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
html.motion .wrap { padding-block: clamp(70px, 11vh, 120px); }
html.motion .submerge { display: block; transform: translateY(110%); }
html.motion .fishes { display: block; }
/* os dois passos do painel (maré e assentos) ocupam a mesma célula: o painel tem a altura do mais alto, em qualquer tela */
html.motion .panel { display: grid; min-height: min(54vh, 430px); padding: 0; }
html.motion .panel .step { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(18px, 2.4vw, 32px); }
html.motion .panel .step + .step { margin-top: 0; }
html.motion .ph-video { opacity: 0; }

/* ---------- telas pequenas ---------- */
/* celular e tablet em pé: uma coluna. Tablet deitado (largura entre 600 e 999 px) usa o layout de duas colunas do desktop. */
@media (max-width: 999px) and (max-aspect-ratio: 1/1), (max-width: 599px) {
  .grid, .grid--flip { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .display { font-size: clamp(2.2rem, 1rem + 8vw, 3.6rem); }
  .lead { font-size: 1rem; margin-bottom: 1rem; }
  .porthole, .porthole--xl { width: min(58vw, 280px); }
  html.motion .stage { align-items: start; }
  html.motion .wrap { padding-block: 84px 24px; }
  html.motion .panel { min-height: 0; }
  html.motion .panel .step { padding: 18px; }
  .stats { gap: 10px; }
  .stat { padding: 12px 14px; }
  .included li, .chips li { font-size: .85rem; padding: .5em .9em .5em .75em; }
  .included, .chips { gap: 8px; }
  .included__title { margin-top: 1rem; }
  .step + .step { margin-top: 1.4rem; }
  .btn--ghost { display: none; }
}
/* telas altas (tablet em pé e celulares grandes): o conteúdo se centraliza na tela em vez de ficar grudado no topo */
@media (max-width: 999px) and (max-aspect-ratio: 1/1) and (min-height: 800px) {
  html.motion .stage { align-items: center; }
  html.motion .wrap { padding-block: 92px 48px; }
}
/* tablet em pé: tipografia e peças maiores */
@media (min-width: 600px) and (max-width: 999px) and (max-aspect-ratio: 1/1) {
  .display { font-size: clamp(3rem, 1rem + 6.4vw, 4.6rem); }
  .display--md { font-size: clamp(2.6rem, 1rem + 5.2vw, 3.8rem); }
  .lead { font-size: 1.15rem; max-width: 34em; }
  .porthole, .porthole--xl { width: min(46vw, 380px); }
  html.motion .panel { max-width: 600px; }
  .included li, .chips li { font-size: .95rem; }
  .btn--ghost { display: inline-flex; }
}
@media (max-width: 999px) and (max-aspect-ratio: 1/1) and (max-height: 700px) {
  html.motion .ch-jubartes .lead, html.motion .ch-mergulho .lead { display: none; }
  /* celulares mais curtos (360×640 e parecidos): tudo um pouco mais compacto para o capítulo caber na tela */
  .display--md { font-size: clamp(1.9rem, 1rem + 6.4vw, 2.5rem); }
  html.motion .wrap { padding-block: 70px 12px; }
  .grid, .grid--flip { gap: 12px; }
  .lead { font-size: .95rem; margin-bottom: .6rem; }
  .porthole, .porthole--xl { width: min(50vw, 34svh, 240px); }
  html.motion .panel .step { padding: 14px; }
  .panel__title { font-size: 1.1rem; margin-bottom: .6rem; }
  .seats { gap: 2px; }
  .note { margin-top: .6rem; font-size: .85rem; }
}

/* celular deitado (tela muito baixa): tudo mais compacto; os botões de reserva ficam no menu */
@media (max-height: 520px) and (orientation: landscape) {
  .book { display: none; }
  html.motion .wrap { padding-block: 60px 10px; }
  .display, .display--md { font-size: clamp(1.7rem, 9.5vh, 2.6rem); margin: .15em 0 .3em; }
  .lead { font-size: .85rem; margin-bottom: .5rem; max-width: 40em; }
  .eyebrow { font-size: .68rem; }
  html.motion .ch-mergulho .lead, html.motion .ch-jubartes .lead { display: none; }
  .grid, .grid--flip { gap: 20px; }
  html.motion .panel { min-height: 0; }
  html.motion .panel .step { padding: 12px; }
  .panel__title { font-size: 1rem; margin-bottom: .4rem; }
  .seats { gap: 2px; }
  .note { margin-top: .4rem; font-size: .78rem; }
  .porthole, .porthole--xl { width: min(60vh, 240px); }
  .included__title { margin: .6rem 0 .4rem; }
  .included li, .chips li { font-size: .78rem; padding: .35em .8em .35em .65em; }
  .included, .chips { gap: 6px; }
  .stats { margin-top: .8rem; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
  .stat { padding: 8px 10px; }
  .stat dd { font-size: 1.4rem; }
  .stat dt { font-size: .7rem; }
  .source { margin-top: .5rem; }
  .actions .btn { padding: .6em 1.1em; font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
