@charset "UTF-8";
/* ==========================================================================
   FORNERIA CORLEONE — Gramado
   Direção de arte: "Trattoria Noir"
   Preto quente + vermelho de portão + ouro antigo. Didone de alto contraste
   (Bodoni Moda), condensada alta (Oswald) e geométrica leve (Jost).
   ========================================================================== */

/* ---------- Fontes (subset latin, self-hosted) ---------- */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-500.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-400.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-500.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #080605;
  --ink-1: #0b0908;
  --ink-2: #100c0a;
  --ink-3: #171110;
  --wine: #3f070a;
  --wine-2: #7d1017;
  --gold: #e9c684;
  --gold-2: #c69c57;
  --gold-dim: rgba(233, 198, 132, 0.52);
  --cream: #f4ecdc;
  --sand: #cfc2ae;
  --muted: #9b8f81;
  --line: rgba(233, 198, 132, 0.16);
  --line-2: rgba(233, 198, 132, 0.34);

  --display: "Bodoni Moda", "Times New Roman", serif;
  --cond: "Oswald", "Arial Narrow", sans-serif;
  --body: "Jost", "Segoe UI", sans-serif;

  --wrap: min(1180px, 90vw);
  --wrap-wide: min(1440px, 94vw);
  --pad-y: clamp(4.5rem, 10vw, 9.5rem);
  --gut: clamp(1.25rem, 4vw, 4.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 88px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--sand);
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(1rem, 0.55vw + 0.9rem, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img,
video,
svg { display: block; max-width: 100%; }

h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Rolagem discreta */
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--ink); }
  ::-webkit-scrollbar-thumb {
    background: #2b211b;
    border: 3px solid var(--ink);
    border-radius: 99px;
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }
}

/* ---------- Grão de filme + vinheta ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(3) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2%, 1%); }
  66% { transform: translate(1%, -2%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Utilitários tipográficos ---------- */
.kicker {
  font-family: var(--cond);
  font-weight: 300;
  font-size: clamp(0.68rem, 0.35vw + 0.62rem, 0.82rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.9em;
  line-height: 1;
}

.kicker::before {
  content: "";
  width: clamp(24px, 4vw, 46px);
  height: 1px;
  background: var(--gold-dim);
  flex: none;
}

.kicker--center { justify-content: center; }

.wrap { width: var(--wrap); margin-inline: auto; }
.wrap--wide { width: var(--wrap-wide); margin-inline: auto; }

.gold { color: var(--gold); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 50%;
  translate: -50% -200%;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1.4rem;
  font-family: var(--cond);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  transition: translate 0.3s var(--ease);
}
.skip-link:focus { translate: -50% 0; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--gold);
  --fg: #160f08;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  padding: 1.05em 2.1em;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--cond);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 1px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45), transparent 70%);
  translate: -120% 0;
  transition: translate 0.7s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { translate: 120% 0; }

.btn--ghost {
  --bg: transparent;
  --fg: var(--cream);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(233, 198, 132, 0.08);
  border-color: var(--gold);
  color: var(--gold);
}
.btn--ghost::after { display: none; }

.btn svg { width: 15px; height: 15px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 6, 5, 0.72), transparent);
  opacity: 1;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.site-header.is-stuck {
  height: 68px;
  background: rgba(8, 6, 5, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header.is-stuck::before { opacity: 0; }

.header__inner {
  width: var(--wrap-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: none;
}
.brand img {
  height: 52px;
  width: auto;
  flex: none;
  object-fit: contain;
  transition: height 0.5s var(--ease), rotate 0.8s var(--ease);
}
.site-header.is-stuck .brand img { height: 42px; }
.brand:hover img { rotate: -8deg; }

.brand__txt {
  display: grid;
  line-height: 1;
  border-left: 1px solid var(--line);
  padding-left: 0.85rem;
}
.brand__txt b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.02rem;
  letter-spacing: 0.26em;
  color: var(--cream);
  text-transform: uppercase;
}
.brand__txt span {
  font-family: var(--cond);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  color: var(--gold-2);
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.6rem); }

.nav__link {
  position: relative;
  font-family: var(--cond);
  font-weight: 300;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand);
  padding: 0.4rem 0;
  transition: color 0.35s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  scale: 0 1;
  transform-origin: left;
  transition: scale 0.45s var(--ease);
}
.nav__link:hover { color: var(--cream); }
.nav__link:hover::after { scale: 1 1; }

.nav__cta { padding: 0.8em 1.5em; font-size: 0.72rem; }

.burger {
  display: none;
  width: 46px; height: 46px;
  margin-left: auto;
  position: relative;
  z-index: 3;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 24px; height: 1px;
  background: var(--cream);
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease), width 0.4s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 24px; width: 16px; }
.burger span:nth-child(3) { top: 30px; }
body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; width: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile em tela cheia */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  align-content: center;
  gap: 0.4rem;
  padding: 6rem 9vw 4rem;
  background: #0a0706;
  background-image: radial-gradient(90% 60% at 80% 0%, rgba(125, 16, 23, 0.4), transparent 70%);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.75s var(--ease-out);
  pointer-events: none;
}
body.nav-open .mobile-nav { clip-path: inset(0 0 0 0); pointer-events: auto; }

.mobile-nav a.mobile-nav__link {
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 3.4rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
  padding: 0.28em 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.5s var(--ease), translate 0.6s var(--ease), color 0.3s;
}
.mobile-nav a.mobile-nav__link span {
  font-family: var(--cond);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  color: var(--gold-2);
}
.mobile-nav a.mobile-nav__link:hover { color: var(--gold); }
body.nav-open .mobile-nav a.mobile-nav__link { opacity: 1; translate: 0 0; }
body.nav-open .mobile-nav a.mobile-nav__link:nth-child(1) { transition-delay: 0.14s; }
body.nav-open .mobile-nav a.mobile-nav__link:nth-child(2) { transition-delay: 0.2s; }
body.nav-open .mobile-nav a.mobile-nav__link:nth-child(3) { transition-delay: 0.26s; }
body.nav-open .mobile-nav a.mobile-nav__link:nth-child(4) { transition-delay: 0.32s; }

.mobile-nav__foot {
  margin-top: 2.4rem;
  display: grid;
  gap: 0.5rem;
  font-family: var(--cond);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
  opacity: 0;
  transition: opacity 0.6s 0.4s var(--ease);
}
body.nav-open .mobile-nav__foot { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink);
}

.hero__media img,
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero__media video {
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__media video.is-live { opacity: 1; }

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--ink) 1%, rgba(8, 6, 5, 0.55) 26%, rgba(8, 6, 5, 0.08) 58%, rgba(8, 6, 5, 0.62) 100%),
    radial-gradient(120% 85% at 50% 55%, transparent 20%, rgba(8, 6, 5, 0.55) 100%);
}

.hero__inner {
  width: var(--wrap);
  margin-inline: auto;
  padding-block: clamp(3rem, 8vh, 7rem) clamp(2rem, 5vh, 4rem);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: clamp(1.1rem, 2vw, 1.7rem);
}

.hero__brand {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
}

.hero__pre {
  font-family: var(--cond);
  font-weight: 300;
  font-size: clamp(0.72rem, 1.5vw, 1.05rem);
  letter-spacing: 0.62em;
  text-indent: 0.62em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.92;
}

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 11.6vw, 9.6rem);
  line-height: 0.86;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.hero__post {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--cond);
  font-weight: 300;
  font-size: clamp(0.66rem, 1.2vw, 0.84rem);
  letter-spacing: 0.46em;
  text-indent: 0.46em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__post::before,
.hero__post::after {
  content: "";
  width: clamp(18px, 6vw, 74px);
  height: 1px;
  background: var(--gold-dim);
}

.hero__lead {
  max-width: 46ch;
  color: rgba(244, 236, 220, 0.82);
  font-size: clamp(0.94rem, 0.5vw + 0.85rem, 1.1rem);
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.6rem;
}

.hero__foot {
  width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: clamp(1.4rem, 3vh, 2.4rem);
  font-family: var(--cond);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(207, 194, 174, 0.72);
}

.hero__hours { display: flex; align-items: center; gap: 0.7rem; }
.hero__hours::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 198, 132, 0.18);
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(233, 198, 132, 0.16); }
  50% { box-shadow: 0 0 0 7px rgba(233, 198, 132, 0); }
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold-2);
  transition: color 0.3s;
}
.scroll-cue:hover { color: var(--gold); }
.scroll-cue i {
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ---------- Faixa (ticker) ---------- */
.ticker {
  position: relative;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, #0d0908, #0a0706);
  overflow: hidden;
  padding-block: 0.95rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__group {
  display: flex;
  align-items: center;
  flex: none;
}
.ticker__group span {
  font-family: var(--cond);
  font-weight: 300;
  font-size: clamp(0.64rem, 1.05vw, 0.76rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-2);
  padding-inline: clamp(1rem, 2.5vw, 2.4rem);
  white-space: nowrap;
}
.ticker__group span::after {
  content: "✦";
  color: var(--gold);
  margin-left: clamp(1rem, 2.5vw, 2.4rem);
  font-size: 0.7em;
  vertical-align: middle;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Cabeçalho de seção ---------- */
.sec-head {
  display: grid;
  gap: clamp(1rem, 1.6vw, 1.4rem);
  max-width: 62ch;
  margin-bottom: clamp(2.6rem, 5vw, 4.6rem);
}

.sec-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--cream);
  text-wrap: balance;
}

.sec-head .sec-note {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 52ch;
}

/* ---------- Sobre ---------- */
.sobre {
  padding-block: var(--pad-y);
  position: relative;
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(63, 7, 10, 0.55), transparent 65%),
    var(--ink);
}

.sobre__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.sobre__media {
  position: relative;
  padding: 0;
}

.sobre__media::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--line);
  z-index: 0;
  transition: inset 0.6s var(--ease);
}
.sobre__media:hover::before { inset: -20px 20px 20px -20px; }

.sobre__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(0.92) contrast(1.04);
}

.sobre__media figcaption {
  position: relative;
  z-index: 1;
  font-family: var(--cond);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.85rem;
}

.sobre__text { display: grid; gap: clamp(1.1rem, 1.8vw, 1.5rem); align-content: center; }

.sobre__text h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.03;
  color: var(--cream);
  text-wrap: balance;
}

.sobre__text p { color: var(--sand); max-width: 56ch; }
.sobre__text p:first-of-type { color: rgba(244, 236, 220, 0.88); font-size: 1.06em; }

.sobre__text p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 3.4em;
  line-height: 0.82;
  float: left;
  padding: 0.08em 0.12em 0 0;
  color: var(--gold);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.6rem);
  margin-top: clamp(0.6rem, 2vw, 1.4rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.2rem, 2vw, 1.8rem);
}

.facts div { display: grid; gap: 0.35rem; }

.facts dt {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.facts dd {
  font-family: var(--cond);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Cardápio ---------- */
.cardapio {
  position: relative;
  padding-block: var(--pad-y);
  background: var(--ink-1);
  border-top: 1px solid var(--line);
}

.cardapio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 15% 0%, rgba(63, 7, 10, 0.42), transparent 60%);
  pointer-events: none;
}

.cardapio > .wrap { position: relative; }

.menugrid {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.rail {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  display: grid;
  gap: 0;
  border-left: 1px solid var(--line);
}

.rail a {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.62rem 0 0.62rem 1rem;
  font-family: var(--cond);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid transparent;
  margin-left: -1px;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), padding-left 0.4s var(--ease);
}

.rail a b {
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  font-size: 0.62rem;
  color: var(--gold-2);
  opacity: 0.55;
  transition: opacity 0.35s;
}

.rail a:hover { color: var(--cream); padding-left: 1.35rem; }
.rail a.is-active {
  color: var(--gold);
  border-left-color: var(--gold);
  padding-left: 1.35rem;
}
.rail a.is-active b { opacity: 1; color: var(--gold); }

.menu {
  display: grid;
  gap: clamp(3.2rem, 6vw, 5.5rem);
  min-width: 0;
}

.cat {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.cat__head {
  display: grid;
  gap: 0.7rem;
  padding-bottom: clamp(1.2rem, 2vw, 1.8rem);
  margin-bottom: clamp(1.4rem, 2.4vw, 2rem);
  border-bottom: 1px solid var(--line);
}

.cat__head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.9vw, 2.35rem);
  line-height: 1.06;
  color: var(--cream);
}

.cat__note {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 62ch;
}

.items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 0 clamp(2rem, 4vw, 3.6rem);
}

.item {
  position: relative;
  padding: 1.05rem 0 1.15rem;
  border-bottom: 1px solid rgba(233, 198, 132, 0.08);
  transition: border-color 0.4s var(--ease);
}
.item:hover { border-bottom-color: var(--line-2); }

.item__head {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.item__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(0.98rem, 0.6vw + 0.86rem, 1.13rem);
  letter-spacing: 0.085em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--cream);
  transition: color 0.35s var(--ease);
}
.item:hover .item__name { color: var(--gold); }

.item__dots {
  flex: 1 1 0;
  min-width: 1.2rem;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, rgba(233, 198, 132, 0.46) 0 1px, transparent 1px 5px);
  margin-bottom: 0.3em;
  opacity: 0.7;
}

.item__price {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(0.92rem, 0.5vw + 0.82rem, 1.02rem);
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex: none;
}

.item__desc {
  margin-top: 0.42rem;
  font-size: 0.845rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 44ch;
  font-weight: 300;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--cond);
  font-weight: 300;
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(233, 198, 132, 0.32);
  border-radius: 99px;
  padding: 0.25em 0.7em 0.2em;
  margin-left: 0.2rem;
  vertical-align: 0.2em;
  white-space: nowrap;
}

.menu__foot {
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
  padding-top: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.menu__foot p {
  font-family: var(--cond);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.9;
}

/* ---------- Trilogia ---------- */
.trilogia {
  position: relative;
  padding-block: var(--pad-y);
  background:
    radial-gradient(60% 80% at 85% 30%, rgba(125, 16, 23, 0.55), transparent 70%),
    linear-gradient(180deg, #120b0a, #0a0706);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.trilogia__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.trilogia__text { display: grid; gap: clamp(1rem, 2vw, 1.5rem); justify-items: start; }

.trilogia h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  color: var(--cream);
  text-wrap: balance;
}
.trilogia h2 span { display: block; color: var(--gold); }

.trilogia p { color: var(--sand); max-width: 46ch; }

.price-big {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--display);
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin-top: 0.4rem;
}
.price-big small {
  font-family: var(--cond);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.trilogia__media { position: relative; }
.trilogia__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 12% 100%, 0 100%);
  filter: saturate(0.95) contrast(1.05);
}
.trilogia__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 50%, rgba(10, 7, 6, 0.75));
  clip-path: polygon(0 0, 100% 0, 100% 88%, 12% 100%, 0 100%);
  pointer-events: none;
}

/* ---------- Galeria ---------- */
.galeria { padding-block: var(--pad-y); background: var(--ink); }

.gal {
  columns: 3;
  column-gap: clamp(0.5rem, 1.2vw, 1rem);
}

.gal__item {
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
  break-inside: avoid;
  margin: 0 0 clamp(0.5rem, 1.2vw, 1rem);
}

.gal__item img {
  width: 100%;
  height: auto;
  transition: scale 1.1s var(--ease-out), filter 0.7s var(--ease);
  filter: saturate(0.88) brightness(0.92);
}
.gal__item:hover img { scale: 1.05; filter: saturate(1.02) brightness(1); }

.gal__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.1rem 0.95rem;
  background: linear-gradient(to top, rgba(8, 6, 5, 0.88), transparent);
  font-family: var(--cond);
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  translate: 0 8px;
  transition: opacity 0.5s var(--ease), translate 0.5s var(--ease);
}
.gal__item:hover figcaption { opacity: 1; translate: 0 0; }

/* ---------- Visite ---------- */
.visite {
  position: relative;
  padding-block: var(--pad-y);
  background:
    radial-gradient(70% 60% at 20% 10%, rgba(63, 7, 10, 0.5), transparent 60%),
    var(--ink-1);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.visite__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.4rem, 6vw, 6rem);
  position: relative;
  z-index: 2;
  align-items: start;
}

.visite h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 0.98;
  color: var(--cream);
  margin-top: 1.1rem;
}
.visite h2 span { display: block; color: var(--gold); }

.visite__addr {
  margin-top: clamp(1.2rem, 2vw, 1.8rem);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.8;
  color: var(--sand);
}

.visite__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.info {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.info > div {
  display: grid;
  grid-template-columns: 8.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.info dt {
  font-family: var(--cond);
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.info dd { font-size: 0.95rem; color: var(--cream); line-height: 1.55; }
.info dd small { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 0.25rem; }
.info a { border-bottom: 1px solid var(--line-2); transition: color 0.3s, border-color 0.3s; }
.info a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.6rem, 5vw, 4rem) 2rem;
  background: #060404;
  position: relative;
  z-index: 2;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding-bottom: clamp(1.8rem, 3vw, 2.6rem);
  border-bottom: 1px solid rgba(233, 198, 132, 0.1);
}

.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__brand img { height: 58px; width: auto; flex: none; object-fit: contain; opacity: 0.95; }
.footer__brand p {
  font-family: var(--cond);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 2;
}
.footer__brand b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.24em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.8rem;
}
.footer__nav a {
  font-family: var(--cond);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  transition: color 0.3s;
}
.footer__nav a:hover { color: var(--gold); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.72rem;
  color: #6d6359;
}

.footer__dot {
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  color: #3a322c;
  transition: color 0.4s;
  border-radius: 50%;
}
.footer__dot::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.footer__dot:hover { color: var(--gold); }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.lightbox::backdrop {
  background: rgba(5, 3, 3, 0.94);
  backdrop-filter: blur(8px);
}
.lightbox[open] { display: grid; place-items: center; }

.lightbox figure {
  margin: 0;
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  max-width: min(1100px, 92vw);
  animation: lbIn 0.5s var(--ease-out);
}
@keyframes lbIn {
  from { opacity: 0; scale: 0.96; }
  to { opacity: 1; scale: 1; }
}
.lightbox img {
  max-width: 100%;
  max-height: 80svh;
  object-fit: contain;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.lightbox figcaption {
  font-family: var(--cond);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.lb-btn {
  position: fixed;
  z-index: 2;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  color: var(--cream);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(12, 9, 8, 0.6);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.lb-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lb-btn--close { top: 1.4rem; right: 1.4rem; }
.lb-btn--prev { left: 1.4rem; top: 50%; translate: 0 -50%; }
.lb-btn--next { right: 1.4rem; top: 50%; translate: 0 -50%; }
.lb-btn svg { width: 18px; height: 18px; }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.9s var(--ease-out), translate 1s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; translate: 0 0; }
[data-reveal][data-delay="1"] { transition-delay: 0.09s; }
[data-reveal][data-delay="2"] { transition-delay: 0.18s; }
[data-reveal][data-delay="3"] { transition-delay: 0.27s; }

/* Hero entra com máscara */
.hero__brand > * {
  animation: heroUp 1.4s var(--ease-out) both;
}
.hero__brand > *:nth-child(2) { animation-delay: 0.12s; }
.hero__brand > *:nth-child(3) { animation-delay: 0.26s; }
.hero__lead { animation: heroUp 1.4s 0.4s var(--ease-out) both; }
.hero__actions { animation: heroUp 1.3s 0.52s var(--ease-out) both; }
@keyframes heroUp {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .menugrid { grid-template-columns: 190px minmax(0, 1fr); }
  .gal { columns: 3; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .nav { display: none; }
  .burger { display: block; }

  .brand__txt { display: none; }

  .sobre__grid,
  .trilogia__inner,
  .visite__grid { grid-template-columns: minmax(0, 1fr); }

  .sobre__media { max-width: 460px; }
  .sobre__media img { aspect-ratio: 4 / 5; }

  .sobre__text p:first-of-type::first-letter { font-size: 3em; }

  .menugrid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }

  .rail {
    position: sticky;
    top: var(--header-h);
    z-index: 20;
    display: flex;
    overflow-x: auto;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 6, 5, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding-block: 0.7rem;
    margin-inline: -5vw;
    padding-inline: 5vw;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .rail::-webkit-scrollbar { display: none; }

  .rail ul { display: flex; gap: 0.4rem; flex: none; }
  .rail li { flex: none; }

  .rail a {
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 0.5rem 0.95rem;
    margin: 0;
    flex: none;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
    scroll-snap-align: start;
    color: var(--muted);
    gap: 0.45rem;
  }
  .rail a b { font-size: 0.56rem; }
  .rail a:hover { padding-left: 0.95rem; }
  .rail a.is-active {
    color: #160f08;
    background: var(--gold);
    border-color: var(--gold);
    padding-left: 0.95rem;
  }
  .rail a.is-active b { color: #160f08; opacity: 0.75; }

  .trilogia__media { order: -1; max-width: 460px; }
  .trilogia__media img { aspect-ratio: 4 / 3; }

  .visite__ghost { display: none; }

  .info > div { grid-template-columns: 1fr; gap: 0.35rem; }
}

@media (max-width: 640px) {
  body { font-size: 0.98rem; }

  .hero { min-height: 92svh; }
  .hero__foot { font-size: 0.6rem; letter-spacing: 0.18em; }
  .hero__foot .scroll-cue span { display: none; }
  .hero__actions .btn { flex: 1 1 auto; padding: 1em 1.3em; font-size: 0.72rem; }

  .gal { columns: 2; }
  .gal__item figcaption { opacity: 1; translate: 0 0; }

  .items { grid-template-columns: minmax(0, 1fr); }
  .item__desc { font-size: 0.82rem; }

  .menu__foot { flex-direction: column; align-items: flex-start; }

  .facts { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .facts dt { font-size: 1.35rem; }
  .facts dd { font-size: 0.56rem; letter-spacing: 0.16em; }

  .lb-btn--prev { left: 0.5rem; }
  .lb-btn--next { right: 0.5rem; }
  .lb-btn { width: 46px; height: 46px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; translate: none; }
  .ticker__track { animation: none; }
  .grain { animation: none; }
}

/* ---------- Impressão ---------- */
@media print {
  .site-header, .mobile-nav, .grain, .ticker, .hero__media, .hero__veil,
  .galeria, .site-footer .footer__dot, .scroll-cue { display: none !important; }
  body { background: #fff; color: #111; }
  .hero { min-height: auto; }
  .hero__title, .sec-head h2, .cat__head h3, .item__name, .visite h2 { color: #111; }
  .item__price, .kicker, .facts dt { color: #8a6a25; }
  .item__desc, .sobre__text p { color: #333; }
}
