/* ume — restaurante asiático, Lisboa
   Abordagem A: tokens em :root + classes. Zero inline no HTML. */

:root {
  /* superfícies */
  --bg: #0a0a0d;
  --bg-deep: #08080b;
  --bg-tile: #0e0e13;

  /* texto */
  --ink: #f7e6cd;
  --ink-bright: #fdf1de;
  --ink-on-brand: #14100c;
  --muted: rgba(247, 230, 205, .7);
  --muted-soft: rgba(247, 230, 205, .55);
  --muted-faint: rgba(247, 230, 205, .54);

  /* marca */
  --brand: #f6cd8f;
  --brand-soft: #fbe0b4;

  /* linhas */
  --line: rgba(247, 230, 205, .12);
  --line-soft: rgba(247, 230, 205, .09);
  --line-strong: rgba(247, 230, 205, .3);

  /* tipografia */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Barlow Condensed", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* medidas */
  --wrap: 1080px;
  --wrap-wide: 1180px;
  --pad-x: 24px;

  /* ritmo vertical — todas as secções saem daqui, para o espaçamento
     ser um sistema e não um valor escolhido à mão de cada vez */
  --sy: clamp(78px, 8.5vw, 118px);

  /* Diz ao browser que o site é escuro. É isto que faz os popups nativos
     — a lista do <select> e o calendário da data — abrirem escuros em vez
     de um retângulo branco por cima de tudo. Não há CSS que os pinte. */
  color-scheme: dark;

  /* tinge o que o browser pinta sozinho — o segmento seleccionado no campo
     de data vinha azul de sistema, destoava de tudo o resto */
  accent-color: var(--brand);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  /* nos dois: só no body, o <html> continuava a deixar arrastar de lado
     por causa das imagens que sangram para fora da margem */
  overflow-x: clip;
}

html { scroll-behavior: smooth; }

body {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* height:auto anula o atributo height="" do HTML — sem isto, os atributos que
   existem para reservar espaço passavam a fixar a altura real da imagem. */
img { display: block; max-width: 100%; height: auto; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brand); }

::selection { background: #000; color: #fff; }

::placeholder { color: rgba(247, 230, 205, .42); }

input, select, textarea, button { font-family: inherit; }

/* foco visível — o teclado tem de conseguir navegar o site todo */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.wrap--wide { max-width: var(--wrap-wide); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand);
  color: var(--ink-on-brand);
  padding: 12px 20px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- eyebrow */

.eyebrow {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.eyebrow--ruled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.eyebrow--ruled::before,
.eyebrow--ruled::after {
  content: "";
  display: block;
  width: clamp(30px, 7vw, 70px);
  height: 1px;
  background: var(--line-strong);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  /* tracking negativo: aos tamanhos grandes o Playfair abre demasiado */
  letter-spacing: -.012em;
  color: var(--ink-bright);
  margin: 0;
  text-wrap: balance;
}

/* ------------------------------------------------------------------ botões */

.btn {
  display: inline-block;
  padding: 16px 38px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease, transform 240ms ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--solid {
  background: var(--brand);
  color: var(--ink-on-brand);
  border: 1px solid var(--brand);
}
.btn--solid:hover {
  background: var(--brand-soft);
  border-color: var(--brand-soft);
  color: var(--ink-on-brand);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(247, 230, 205, .55);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--ink-on-brand);
  border-color: var(--ink);
}

.btn--gold {
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(246, 205, 143, .6);
}
.btn--gold:hover {
  background: var(--brand);
  color: var(--ink-on-brand);
  border-color: var(--brand);
}

.btn--sm { padding: 14px 30px; font-size: 11px; letter-spacing: .26em; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* --------------------------------------------------------------------- nav */

/* Sem fundo, sem barra, sem filete: só o logo e as palavras por cima do
   vídeo. A legibilidade sobre as fotos claras do marquee fica por conta
   da sombra do texto, que não se vê mas segura o contraste. */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 34px;
  background: transparent;
  pointer-events: none;
}

/* o nav não apanha cliques (deixa passar para o vídeo), mas os filhos sim */
.nav > * { pointer-events: auto; }

.nav--static { position: relative; z-index: 5; }

.nav__logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .75);
}
.nav__logo span { opacity: .55; }

.nav__links { display: flex; gap: 26px; align-items: center; }

.nav__link {
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .75);
}
.nav__link--on { color: var(--brand); }

.nav__burger {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 1px;
  background: var(--ink);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .8);
}
.nav__burger span:nth-child(1) { width: 24px; }
.nav__burger span:nth-child(2) { width: 16px; }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

/* ----------------------------------------------------------- painel mobile */

.navpanel {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 8, 11, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  padding: 22px 28px 40px;
  overflow-y: auto;
  animation: navFade .32s ease;
}
.navpanel[hidden] { display: none; }

.navpanel__top { display: flex; align-items: center; justify-content: space-between; }

.navpanel__mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
}
.navpanel__mark span { opacity: .55; }

.navpanel__close {
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.navpanel__close:hover { color: var(--brand); }

.navpanel__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 24px 0;
}

.navpanel__link {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 9vw, 44px);
  line-height: 1.15;
  color: var(--ink-bright);
  padding: 14px 0;
  border-bottom: 1px solid rgba(247, 230, 205, .1);
  animation: navRise .45s ease both;
}
.navpanel__link:nth-child(1) { animation-delay: .05s; }
.navpanel__link:nth-child(2) { animation-delay: .11s; }
.navpanel__link:nth-child(3) { animation-delay: .17s; }
.navpanel__link:nth-child(4) { animation-delay: .23s; }

.navpanel__foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: navRise .45s ease .34s both;
}

.navpanel__tel {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

@keyframes navFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes navRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .navpanel,
  .navpanel__link,
  .navpanel__foot { animation: none; }
}

/* --------------------------------------------------------------- hero home */

.hero {
  position: relative;
  height: min(78vh, 760px);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero__media { position: absolute; inset: 0; }

/* serve para <img> e para o <video> do hero — o object-fit trata dos dois */
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 55% at 50% 45%, rgba(6, 6, 9, .28) 0%, rgba(6, 6, 9, .62) 60%, rgba(6, 6, 9, .9) 100%);
}

.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26%;
  background: linear-gradient(180deg, rgba(10, 10, 13, 0) 0%, var(--bg) 100%);
}

.hero__copy { position: relative; text-align: center; padding: 0 var(--pad-x); }

.hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(72px, 17vw, 300px);
  line-height: .82;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ink-bright);
  text-shadow: 0 18px 60px rgba(0, 0, 0, .55);
}

.hero__tag {
  margin: 22px auto 0;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: clamp(11px, 1.9vw, 19px);
  letter-spacing: .2em;
  word-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.4;
  color: #f4e3ca;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

/* no telemóvel a frase em nowrap a 11px não cabe e transbordava a viewport */
@media (max-width: 560px) {
  .hero__tag {
    white-space: normal;
    letter-spacing: .16em;
  }
  .hero__ctas { margin-top: 28px; }
  .hero__ctas .btn { padding: 15px 30px; }
}

/* ------------------------------------------------------------------- sobre */

.about { padding: var(--sy) var(--pad-x) calc(var(--sy) * .5); text-align: center; }

.about__marks {
  display: flex;
  gap: 12px;
  justify-content: center;
  color: var(--brand);
  font-size: 14px;
  letter-spacing: .3em;
  margin-bottom: 26px;
}

.about__title {
  font-size: clamp(34px, 5.2vw, 62px);
  max-width: 14ch;
  margin-inline: auto;
}

.about__text {
  margin: 22px auto 0;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ----------------------------------------------------------------- marquee */

.marquee { position: relative; padding: calc(var(--sy) * .5) 0 var(--sy); }

.marquee__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__row + .marquee__row { margin-top: 8px; }

.marquee__track {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: marqL 46s linear infinite;
}
.marquee__track--rev { animation-name: marqR; animation-duration: 52s; }

/* parar ao passar o rato — deixa ler a foto sem ela fugir */
.marquee__row:hover .marquee__track { animation-play-state: paused; }

.tile {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--bg-tile);
  height: clamp(260px, 30vw, 430px);
}
.marquee__track--rev .tile { height: clamp(225px, 26vw, 375px); }

.tile img { width: 100%; height: 100%; object-fit: cover; }

/* enquadramentos diferentes para a mesma foto não se reconhecer entre filas */
.tile--a img { object-position: center 30%; }
.tile--b img { object-position: center 70%; }
.tile--c img { object-position: center; }
.tile--d img { object-position: center 60%; }
.tile--e img { object-position: center 35%; }
.tile--f img { object-position: center 55%; }
.tile--g img { object-position: center 35%; }
.tile--h img { object-position: center 25%; }

/* larguras variadas — sem elas o rolo lê-se como um padrão repetido */
.tile--a { width: clamp(300px, 32vw, 520px); }
.tile--b { width: clamp(330px, 36vw, 580px); }
.tile--c { width: clamp(285px, 29vw, 470px); }
.tile--d { width: clamp(345px, 35vw, 565px); }
.tile--e { width: clamp(325px, 34vw, 545px); }
.tile--f { width: clamp(295px, 29vw, 465px); }
.tile--g { width: clamp(310px, 31vw, 515px); }
.tile--h { width: clamp(340px, 36vw, 580px); }

.marquee__cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  padding: 17px 42px;
  letter-spacing: .3em;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.marquee__cta:hover { transform: translate(-50%, -50%) translateY(-2px); }

@keyframes marqL {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes marqR {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__row { overflow-x: auto; }
  .marquee__cta:hover { transform: translate(-50%, -50%); }
}

/* --------------------------------------------------------- banda featured */

.feature {
  position: relative;
  min-height: min(38vh, 400px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--sy) var(--pad-x) clamp(10px, 1.2vw, 20px);
  background: radial-gradient(120% 90% at 50% 40%, #131725 0%, #0b0b12 62%, var(--bg) 100%);
}

.feature__media { position: absolute; inset: 0; }

.feature__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.06);
}

.feature__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 58% at 50% 50%, rgba(8, 8, 14, .46) 0%, rgba(8, 8, 14, .66) 58%, rgba(8, 8, 14, .9) 100%);
}

.feature__fade { position: absolute; left: 0; right: 0; height: 22%; }
.feature__fade--top {
  top: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 10, 13, 0) 100%);
}
.feature__fade--bottom {
  bottom: 0;
  background: linear-gradient(180deg, rgba(10, 10, 13, 0) 0%, var(--bg) 100%);
}

.feature__copy {
  position: relative;
  text-align: center;
  max-width: 640px;
  padding: 0 var(--pad-x);
}

.feature__title {
  font-size: clamp(46px, 7.6vw, 104px);
  line-height: .96;
  max-width: 11ch;
  margin-inline: auto;
  text-shadow: 0 20px 60px rgba(0, 0, 0, .55);
}

.feature__text {
  margin: 26px auto 0;
  max-width: 26ch;
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.45;
  text-wrap: balance;
  color: rgba(247, 230, 205, .82);
}

.feature__cta { margin-top: 34px; padding: 17px 44px; letter-spacing: .3em; }

/* -------------------------------------------------------------- roll cutout */

/* Sem fundo próprio e com z-index: a margem negativa puxa as avaliações para
   cima e o roll fica um pouco por cima do texto dessa secção. */
.cutout {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad-x);
  /* sobe metade da imagem para dentro da banda de cima: os hashis atravessam
     a fronteira e fazem a ligação entre as duas secções */
  margin-top: clamp(-150px, -9vw, -34px);
  margin-bottom: clamp(-190px, -11.5vw, -60px);
  pointer-events: none;
}

.cutout__frame {
  display: flex;
  justify-content: flex-end;
  margin-right: -8%;
}

.cutout__img {
  /* a % manda até aos ~1300px (telemóvel/tablet ficam como estavam) e só a
     partir daí o teto de 960px é que deixa a imagem crescer no desktop */
  width: min(74%, 960px);
  max-width: none;
  /* a largura em % anula o hint dos atributos width/height — o aspect-ratio
     explícito é o que reserva a altura antes de a imagem (lazy) chegar */
  aspect-ratio: 2048 / 1016;
  filter: drop-shadow(0 30px 62px rgba(0, 0, 0, .78));
}

/* --------------------------------------------------------------- avaliações */

.reviews { padding: var(--sy) var(--pad-x) calc(var(--sy) * .5); background: var(--bg); }

.reviews__head { text-align: center; }

.reviews__title {
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.04;
  max-width: 14ch;
  margin: 16px auto 0;
}

.reviews__score {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.reviews__num {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--brand);
}

.stars { letter-spacing: .16em; font-size: 14px; color: var(--brand); }

.reviews__count {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.reviews__rail {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 4px;
  /* sem barra: no telemóvel arrasta-se, no PC há setas. O cartão seguinte
     fica meio à mostra, que é a pista de que há mais para o lado. */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reviews__rail::-webkit-scrollbar { display: none; }

/* setas do carril — só em rato/PC. No telemóvel arrasta-se com o dedo, e um
   botão ali só rouba espaço, por isso ficam de fora por omissão. */
.reviews__railwrap { position: relative; }

.railnav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px;
  background: rgba(10, 10, 13, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(246, 205, 143, .45);
  border-radius: 50%;
  color: var(--brand);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}
.railnav--prev { left: -13px; }
.railnav--next { right: -13px; }

.railnav:hover:not(:disabled) {
  background: var(--brand);
  color: var(--ink-on-brand);
  border-color: var(--brand);
}
.railnav:disabled { opacity: .2; cursor: default; }

@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .railnav { display: flex; }
  /* o scroll-snap cancela o scrollBy suave e atira o carril de volta ao
     início. É uma ajuda para o dedo — onde há setas, não faz falta. */
  .reviews__rail { scroll-snap-type: none; }
}

.review {
  flex: 0 0 clamp(260px, 80vw, 340px);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review__stars { letter-spacing: .16em; font-size: 12px; color: var(--brand); }

.review__text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.5;
  color: rgba(247, 230, 205, .9);
}

.review__who { margin-top: auto; display: flex; flex-direction: column; gap: 3px; }

.review__name {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}

.review__when {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-faint);
}

/* No telemóvel o carril passa a sangrar até às bordas do ecrã e é a sua
   própria padding que faz a margem — antes a .reviews e a .wrap somavam
   24+24px de cada lado e o cartão nem cabia, quanto mais o seguinte.
   O scroll-padding alinha o snap com essa margem. */
@media (max-width: 760px) {
  .reviews { padding-left: 0; padding-right: 0; }
  .reviews > .wrap { padding-left: 0; padding-right: 0; }
  .reviews__head { padding-left: 18px; padding-right: 18px; }

  .reviews__rail {
    padding-left: 18px;
    padding-right: 18px;
    scroll-padding-left: 18px;
  }

  /* 76vw deixa ~60px do cartão seguinte à vista */
  .review { flex-basis: 76vw; }
}

/* ------------------------------------------------------------------- local */

.local { padding: calc(var(--sy) * .5) var(--pad-x) 0; background: var(--bg); }

.local__head { text-align: center; }

.local__title {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.04;
  max-width: 16ch;
  margin: 14px auto 0;
}

/* Painel de morada em vez do iframe do mapa: mais limpo, carrega
   instantaneamente e deixa de haver um embed de terceiros na página.
   Quem quer o mapa a sério clica e abre-o na app que já usa. */
.localcard {
  margin-top: clamp(30px, 4vw, 50px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  padding: clamp(30px, 4.2vw, 52px) clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .018);
  text-align: center;
}

/* filetes a separar as colunas — caem sozinhos quando a grelha quebra */
@media (min-width: 700px) {
  .localcard .fact + .fact {
    border-left: 1px solid var(--line-soft);
    padding-left: clamp(28px, 4vw, 48px);
  }
}

.localcard__cta { align-self: center; justify-self: center; }

.fact { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.fact__label {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted-faint);
}

.fact__value {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.45;
  color: rgba(247, 230, 205, .9);
}
a.fact__value { color: var(--brand); }

/* ---------------------------------------------------------------- reservas */

.reserve {
  padding: var(--sy) var(--pad-x);
  background: linear-gradient(180deg, var(--bg) 0%, #141320 48%, var(--bg) 100%);
}
.reserve--alt {
  padding-top: var(--sy);
  background: linear-gradient(180deg, var(--bg-deep) 0%, #14121c 45%, #0b0b10 100%);
}

.reserve__title {
  font-size: clamp(34px, 5.2vw, 62px);
  max-width: 13ch;
  margin-inline: auto;
  text-align: center;
}

.form {
  max-width: 680px;
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px 20px;
}

.field { display: flex; flex-direction: column; gap: 10px; }
.field--wide { grid-column: 1 / -1; }

/* Data, Hora e Pessoas numa linha só. Sem isto sobrava um campo sozinho
   com metade da largura do formulário vazia ao lado. */
.form__row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 22px 20px;
}

.field__label {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted-faint);
  transition: color .3s ease;
}
.field:focus-within .field__label { color: var(--brand); }

.field__input {
  width: 100%;
  min-height: 54px;
  background: rgba(255, 255, 255, .016);
  border: 1px solid rgba(247, 230, 205, .13);
  color: var(--ink);
  padding: 15px 18px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: .01em;
  outline: none;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
/* o campo de data ficava 1px mais alto que os outros por causa do ícone
   do calendário; fixar a altura alinha os cinco ao pixel */
.field__input:not(textarea) { height: 54px; }

.field__input:hover { border-color: rgba(247, 230, 205, .26); }
.field__input:focus,
.field__input:focus-visible {
  outline: none;
  border-color: rgba(246, 205, 143, .7);
  background: rgba(246, 205, 143, .04);
  /* anel de 1px colado à borda em vez de um halo difuso */
  box-shadow: 0 0 0 1px rgba(246, 205, 143, .3);
}

textarea.field__input {
  resize: vertical;
  min-height: 128px;
  line-height: 1.6;
  padding-top: 16px;
}

/* com color-scheme:dark o ícone já vem claro — invertê-lo punha-o preto */
.field__input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: .55;
  cursor: pointer;
  transition: opacity .25s ease;
}
.field__input[type="date"]:hover::-webkit-calendar-picker-indicator,
.field__input[type="date"]:focus::-webkit-calendar-picker-indicator {
  opacity: 1;
}

/* seta do select desenhada por nós — appearance:none apaga a nativa */
.select { position: relative; display: block; }
.select select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  /* espaço para a seta, senão a opção mais longa passa-lhe por baixo */
  padding-right: 38px;
  cursor: pointer;
}
.select::after {
  content: "▾";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--muted-faint);
  pointer-events: none;
  transition: color .25s ease;
}
.select:hover::after { color: var(--ink); }
.select:focus-within::after { color: var(--brand); }

/* a lista aberta: o Chrome/Edge só deixa pintar fundo e cor de cada opção */
.select option {
  background: #16151c;
  color: var(--ink);
  padding: 10px 12px;
}
.select option:checked { background: var(--brand); color: var(--ink-on-brand); }
/* o placeholder não é uma escolha válida — fica a cinzento como tal */
.select option[value=""] { color: var(--muted-faint); }

.field--bad .field__input {
  border-color: rgba(217, 122, 108, .8);
  background: rgba(217, 122, 108, .05);
}
.field--bad .field__label { color: #dd9082; }

.field__error {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #dd9082;
}
.field__error:empty { display: none; }

.form__submit {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 14px;
  min-width: 250px;
  padding: 15px 34px;
  font-size: 11px;
  letter-spacing: .3em;
}

.form__status {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}
.form__status:empty { display: none; }
.form__status--bad { color: #e2917f; }

.reserve__note {
  margin: 26px auto 0;
  max-width: 46ch;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-soft);
}
.reserve__note a { color: var(--brand); font-weight: 600; }

/* ------------------------------------------------------------------ footer */

.footer {
  position: relative;
  padding: 0 var(--pad-x) 34px;
  background: var(--bg);
  overflow: hidden;
}
.footer--pad { padding-top: var(--sy); }
.footer--deep { background: var(--bg-deep); }

.footer__wordmark {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(90px, 20vw, 320px);
  line-height: .8;
  color: rgba(247, 230, 205, .055);
  user-select: none;
  margin: 10px 0 26px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-bottom: 12px;
}

.footer__link {
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.footer__link--on { color: var(--brand); }

.footer__copy {
  text-align: center;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247, 230, 205, .52);
}

/* --------------------------------------------------------------- hero menu */

.menuhero {
  position: relative;
  min-height: min(92vh, 940px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 40%, #16151a 0%, #0c0c11 55%, var(--bg-deep) 100%);
}

.menuhero__pic {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .65);
}
.menuhero__pic--tl { left: -4%; top: 4%; width: min(28%, 360px); aspect-ratio: 3 / 4; transform: rotate(-6deg); }
.menuhero__pic--tr { right: -4%; top: 2%; width: min(27%, 350px); aspect-ratio: 4 / 5; transform: rotate(5deg); }
.menuhero__pic--bl {
  left: -2%;
  bottom: -6%;
  width: min(29%, 370px);
  aspect-ratio: 5 / 4;
  transform: rotate(4deg);
  box-shadow: 0 -30px 90px rgba(0, 0, 0, .6);
}
.menuhero__pic--br {
  right: -2%;
  bottom: -5%;
  width: min(28%, 360px);
  aspect-ratio: 5 / 4;
  transform: rotate(-5deg);
  box-shadow: 0 -30px 90px rgba(0, 0, 0, .6);
}

.menuhero__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(46% 42% at 50% 50%, rgba(8, 8, 11, .86) 0%, rgba(8, 8, 11, .6) 62%, rgba(8, 8, 11, .18) 100%);
}

.menuhero__copy { position: relative; text-align: center; padding: 0 var(--pad-x); }

.menuhero__eyebrow {
  font-size: 12.5px;
  letter-spacing: .34em;
  color: rgba(247, 230, 205, .85);
  margin-bottom: 16px;
}
.menuhero__eyebrow::before,
.menuhero__eyebrow::after {
  width: clamp(40px, 8vw, 90px);
  background: rgba(247, 230, 205, .35);
}

.menuhero__title {
  font-size: clamp(46px, 7.8vw, 104px);
  line-height: .98;
  max-width: 11ch;
  margin-inline: auto;
  text-shadow: 0 22px 60px rgba(0, 0, 0, .6);
}

@media (max-width: 620px) {
  .menuhero__pic { box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
  .menuhero__pic--tl { width: 52%; left: -8%; top: 1%; }
  .menuhero__pic--tr { width: 50%; right: -8%; top: 8%; }
  .menuhero__pic--bl { width: 50%; left: -8%; bottom: 3%; }
  .menuhero__pic--br { width: 52%; right: -8%; bottom: -2%; }
}

/* --------------------------------------------------------------- menu list */

.menu {
  padding: var(--sy) var(--pad-x) calc(var(--sy) * .5);
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.catrail {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat {
  border: 1px solid rgba(247, 230, 205, .14);
  padding: 12px 15px;
  font-size: 12.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 240ms ease, color 240ms ease;
}
.cat:hover,
.cat--on { border-color: rgba(246, 205, 143, .6); color: var(--brand); }

.menu__body { display: flex; flex-direction: column; gap: 76px; }

.msec { display: flex; flex-direction: column; gap: 4px; scroll-margin-top: 100px; }

.msec__title {
  margin: 0 0 14px;
  font-size: 19px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(247, 230, 205, .9);
}

.item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
}

.item__thumb { width: 112px; height: 80px; object-fit: cover; }

.item__copy { display: flex; flex-direction: column; gap: 5px; }

.item__name {
  font-size: 15.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}

.item__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 56ch;
  color: var(--muted-soft);
}

.item__price {
  font-size: 15.5px;
  letter-spacing: .06em;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 820px) {
  .menu { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .catrail { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .cat { flex: 0 0 auto; }
}

@media (max-width: 620px) {
  .item { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; }
  .item__thumb { width: 96px; height: 72px; }
  .item__price { grid-column: 2; justify-self: start; }
}

/* ---------------------------------------------------------- documento legal */

.dochead { padding: var(--sy) var(--pad-x) calc(var(--sy) * .6); text-align: center; }
.dochead__eyebrow { margin-bottom: 18px; color: rgba(247, 230, 205, .65); }
.dochead__title { font-size: clamp(38px, 6.5vw, 76px); max-width: 14ch; margin-inline: auto; }
.dochead__date {
  margin: 20px auto 0;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-faint);
}

.doc {
  padding: 0 var(--pad-x) var(--sy);
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.doc__rail { position: sticky; top: 34px; display: flex; flex-direction: column; gap: 9px; }

.doc__raillink {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.doc__raillink:hover { color: var(--brand); }

.doc__body { display: flex; flex-direction: column; gap: 44px; max-width: 70ch; }

.doc__lede {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.6;
  color: rgba(247, 230, 205, .85);
}

.doc__block { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 34px; }

.doc__h {
  margin: 0;
  font-size: 17px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-bright);
}

.doc__rule { height: 1px; background: var(--line); }

.doc__block p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.doc__block a { color: var(--brand); font-weight: 600; }

@media (max-width: 820px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doc__rail { position: static; }
}

/* --------------------------------------------------------------------- 404 */

.page404 { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }

.e404 {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px var(--pad-x) 90px;
}

.e404__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: .32;
}

.e404__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 55% at 50% 50%, rgba(10, 10, 13, .7) 0%, rgba(10, 10, 13, .88) 60%, var(--bg) 100%);
}

.e404__copy { position: relative; text-align: center; max-width: 520px; }

.e404__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(96px, 22vw, 220px);
  line-height: 1;
  color: var(--ink-bright);
}

.e404__eyebrow { margin: 34px 0 18px; color: var(--muted); }

.e404__text {
  margin: 0 auto;
  max-width: 34ch;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.55;
  color: rgba(247, 230, 205, .8);
}

.e404__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* -------------------------------------------------------------- animações */

/* Só escondemos o que vai ser animado depois de o JS confirmar que o GSAP
   existe (html.has-anim). Sem JS ou sem CDN, o conteúdo aparece inteiro. */
.has-anim [data-reveal] { opacity: 0; }
