/* Base, tipografia e utilidades */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
html.is-locked { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--fs-md)/1.6 var(--f-sans); font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--night); z-index: 70; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand); color: var(--brand-ink); }

.wrap { max-width: calc(var(--wrap) + 64px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
@media (min-width: 960px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: var(--brand-ink); padding: 10px 16px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.noscript { padding: 16px; text-align: center; background: var(--sunk); }

/* Tipografia */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 500 var(--fs-xs)/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--brand); }
.h2 {
  margin-top: 16px; font-size: var(--fs-h2); font-weight: 800; line-height: .96; letter-spacing: -.012em;
  text-transform: uppercase; font-variation-settings: "wdth" 112; text-wrap: balance;
}
.lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.fine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: var(--fs-sm); color: var(--ink-3); }

/* Seções */
.sec { padding-block: var(--sec); background: var(--bg); color: var(--ink); }
.sec--tight-top { padding-top: 0; }
.sec--rule > .wrap { border-top: 1px solid var(--line); padding-top: var(--sec); }
.sec--rule { padding-top: 0; }
.band-sunk { background: var(--sunk); }
.band-sunk .booker, .band-sunk .week { --surface: var(--surface); }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 960px) {
  .sec-head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; }
  .sec-head--split .lead { justify-self: end; }
}

/* Entrada do topo e revelação ao rolar (o conteúdo é visível por padrão) */
.anim { animation: rise .8s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 80ms + 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
[data-reveal] { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].is-pre { opacity: 0; transform: translateY(18px); }
