/* ==========================================================================
   Recanto HF — Gastrobar & Cafeteria (Anapu, PA)
   Estética: noturna, cobre e creme. Regra 20/80 — o texto abre espaço,
   a fotografia ocupa a tela.
   ========================================================================== */

:root {
  /* Superfícies */
  --ink:        #0b0908;
  --ink-2:      #131010;
  --ink-3:      #1c1716;
  --line:       rgba(243, 237, 228, 0.12);

  /* Tinta */
  --cream:      #f3ede4;
  --cream-mid:  rgba(243, 237, 228, 0.66);
  --cream-dim:  rgba(243, 237, 228, 0.42);

  /* Acentos */
  --copper:     #c6884a;
  --copper-lt:  #e2b17a;
  --wine:       #6b2130;

  /* Tipografia */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --stencil: "Oswald", "Jost", ui-sans-serif, "Segoe UI", Arial, sans-serif;
  --sans:    "Jost", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;

  /* Ritmo */
  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 13vh, 168px);

  --nav-h: 74px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@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;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* --------------------------------------------------------- Tipos de texto */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
}

.display {
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  text-transform: lowercase;
}
.display em { font-style: italic; color: var(--copper-lt); }

.h-section {
  font-family: var(--stencil);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--copper);
  opacity: 0.7;
  flex: none;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--cream-mid);
  max-width: 46ch;
  margin: 1.5rem 0 0;
}

/* ------------------------------------------------------------------ Botão */

.btn {
  --btn-bg: var(--copper);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); background: var(--copper-lt); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { --btn-bg: var(--cream); --btn-fg: var(--ink); }

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

/* -------------------------------------------------------------------- Nav */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding-block: 1.15rem;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), padding 0.5s var(--ease);
}
.nav.is-stuck {
  padding-block: 0.7rem;
  background: rgba(11, 9, 8, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--copper);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--copper-lt);
  flex: none;
}
.brand-name { font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.02em; }
.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 0.56rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-mid);
  position: relative;
  padding-block: 4px;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; width: 40px; height: 40px; }
.nav-toggle span {
  display: block; height: 1px; width: 22px; margin: 5px auto;
  background: var(--cream);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    background: rgba(11, 9, 8, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s var(--ease);
  }
  .nav.is-open .nav-links { opacity: 1; pointer-events: auto; }
  .nav-links .nav-link { font-size: 1rem; }
}

/* ------------------------------------------------------------------- Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: 8rem 3rem;
  overflow: hidden;
}
/* Tríptico: três fotos quadradas em colunas verticais. O corte vertical
   respeita o formato original e evita o macro exagerado do full-bleed. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.06) brightness(0.62);
  animation: heroDrift 26s var(--ease) infinite alternate;
}
.hero-bg img:nth-child(2) { animation-delay: -9s; }
.hero-bg img:nth-child(3) { animation-delay: -18s; }
@media (max-width: 860px) {
  .hero-bg { grid-template-columns: 1fr; }
  .hero-bg img:nth-child(n + 2) { display: none; }
}
@keyframes heroDrift {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--ink) 2%, rgba(11, 9, 8, 0.88) 34%, rgba(11, 9, 8, 0.5) 66%, rgba(11, 9, 8, 0.72)),
    radial-gradient(110% 75% at 22% 78%, rgba(11, 9, 8, 0.75), transparent 62%);
}

.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-title { margin-bottom: 1.2rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-mid);
  margin-bottom: 2.4rem;
}
.hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--copper); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.scroll-hint {
  position: absolute;
  right: var(--gut);
  bottom: 3rem;
  z-index: 1;
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-dim);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 56px;
  background: linear-gradient(var(--copper), transparent);
}
@media (max-width: 900px) { .scroll-hint { display: none; } }

/* ---------------------------------------------------------------- Marquee */

.marquee {
  --gap: 10px;
  display: flex;
  gap: var(--gap);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: var(--gap);
  flex: none;
  animation: slide 58s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-100% - var(--gap))); } }
.marquee figure { margin: 0; flex: none; width: clamp(180px, 21vw, 300px); aspect-ratio: 1; overflow: hidden; }
.marquee img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) brightness(0.88);
  transition: filter 0.6s var(--ease), transform 0.9s var(--ease);
}
.marquee figure:hover img { filter: none; transform: scale(1.05); }

/* ---------------------------------------------------------------- Seções */

section { position: relative; }
.section { padding-block: var(--section); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; align-items: start; } }

/* --------------------------------------------------------------- Números */

.stats { border-block: 1px solid var(--line); background: var(--ink-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: clamp(2rem, 4vw, 3.4rem) clamp(1rem, 2vw, 2rem);
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--stencil);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
  color: var(--cream);
  display: block;
}
.stat-num span { color: var(--copper); }
.stat-label {
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 0.9rem;
  display: block;
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- Mundos */

.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 900px) { .worlds { grid-template-columns: 1fr; } }

.world {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.world img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
  filter: brightness(0.72) saturate(0.95);
}
.world::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(11, 9, 8, 0.92) 6%, rgba(11, 9, 8, 0.15) 58%, transparent);
}
.world:hover img { transform: scale(1.07); filter: brightness(0.86) saturate(1.05); }
.world-body { padding: clamp(1.6rem, 3vw, 2.6rem); width: 100%; position: relative; z-index: 2; }
.world-index {
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  color: var(--copper);
  display: block;
  margin-bottom: 0.7rem;
}
.world h3 {
  font-family: var(--stencil);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.world p { color: var(--cream-mid); font-size: 0.9rem; margin: 0.6rem 0 0; max-width: 30ch; }

/* ============================================== Cartão de prato (template) =
   Linguagem visual dos templates de peça: foto ocupando tudo, logo oval
   discreta no alto, e o bloco de texto — nome, ornamento, ingredientes e
   PREÇO — dentro da própria foto, sobre um pé escuro.
   ========================================================================== */

.plate {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-2);
  isolation: isolate;
  container-type: inline-size;
}
.plate img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.86) saturate(1.05) contrast(1.03);
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
  z-index: 0;
}
.plate:hover img { transform: scale(1.05); filter: brightness(0.98) saturate(1.1); }

/* Pé escuro: garante leitura do texto sem apagar a foto. */
.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(11, 9, 8, 0.96) 2%, rgba(11, 9, 8, 0.8) 21%,
                    rgba(11, 9, 8, 0.06) 52%, rgba(11, 9, 8, 0.2) 100%);
}

/* Moldura fina interna, como nas peças impressas. */
.plate::before {
  content: "";
  position: absolute;
  inset: clamp(9px, 3cqw, 16px);
  border: 1px solid rgba(243, 237, 228, 0.16);
  pointer-events: none;
  z-index: 4;
}

.plate-logo {
  position: absolute;
  top: clamp(16px, 6cqw, 30px);
  right: clamp(16px, 6cqw, 30px);
  z-index: 3;
  width: clamp(46px, 24cqw, 100px);
  opacity: 0.92;
}
.plate-logo svg { width: 100%; height: auto; display: block; }

.plate-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  padding: clamp(0.9rem, 6cqw, 1.9rem) clamp(1rem, 7cqw, 2.1rem) clamp(1.1rem, 7cqw, 2rem);
  text-align: center;
}

.plate-name {
  font-family: var(--stencil);
  font-weight: 600;
  font-size: clamp(0.8rem, 7.6cqw, 2.15rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.plate-ing {
  margin: clamp(0.4rem, 3cqw, 0.85rem) 0 0;
  font-size: clamp(0.5rem, 3.1cqw, 0.76rem);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-mid);
  line-height: 1.7;
}
.plate-ing.is-sentence {
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: clamp(0.6rem, 3.4cqw, 0.86rem);
  line-height: 1.45;
  color: var(--cream-dim);
}

.plate-price {
  display: block;
  margin-top: clamp(0.55rem, 3.4cqw, 1rem);
  font-family: var(--stencil);
  font-weight: 500;
  font-size: clamp(0.72rem, 4.8cqw, 1.3rem);
  letter-spacing: 0.14em;
  color: var(--copper-lt);
}

/* Ornamento: filete com uma folha ao centro (o "•><•" das peças). */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4rem, 2.6cqw, 0.75rem);
  margin-top: clamp(0.5rem, 3cqw, 0.85rem);
}
.rule::before, .rule::after {
  content: "";
  height: 1px;
  width: clamp(34px, 18%, 88px);
  background: linear-gradient(90deg, transparent, var(--copper));
  opacity: 0.85;
}
.rule::after { background: linear-gradient(90deg, var(--copper), transparent); }
.rule svg { width: clamp(11px, 4.2cqw, 17px); height: auto; color: var(--copper); flex: none; }
.rule.is-left { justify-content: flex-start; }
.rule.is-left::before { display: none; }
.rule.is-left::after { width: clamp(50px, 24%, 130px); }

/* --------------------------------------------------------------- Vitrine */

.showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 1080px) { .showcase { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------- Citação */

.quote { background: var(--ink-2); border-block: 1px solid var(--line); }
.quote-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 900px) { .quote-inner { grid-template-columns: 1fr; } }
.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.18;
  font-style: italic;
  color: var(--cream);
}
.quote cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.quote-img { aspect-ratio: 4 / 5; overflow: hidden; }
.quote-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); }

/* --------------------------------------------------------------- Visitar */

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }

.info-list { list-style: none; margin: 2.4rem 0 0; padding: 0; }
.info-list li { padding-block: 1.15rem; border-top: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.info-k {
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper);
  display: block;
  margin-bottom: 0.35rem;
}
.info-v { font-size: 1.02rem; color: var(--cream); }
.info-v small { display: block; color: var(--cream-dim); font-size: 0.82rem; margin-top: 2px; }

.map {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  filter: invert(0.91) hue-rotate(180deg) grayscale(0.28) contrast(0.92) brightness(0.98);
  transition: filter 0.6s var(--ease);
}
.map:hover { filter: invert(0.88) hue-rotate(180deg) grayscale(0.1) contrast(0.95); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ------------------------------------------------------------------- CTA */

.cta {
  position: relative;
  padding-block: clamp(6rem, 14vh, 10rem);
  text-align: center;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.32) saturate(0.8); }
.cta-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 50% 50%, transparent, rgba(11, 9, 8, 0.85));
}
.cta .wrap { position: relative; z-index: 1; }
.cta .btn { margin-top: 2.4rem; }

/* ---------------------------------------------------------------- Rodapé */

.footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2.5rem; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-mid);
  transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: var(--copper); }
.footer-note {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--cream-dim);
}
.footer-note a { color: var(--cream-mid); border-bottom: 1px solid var(--line); }
.footer-note a:hover { color: var(--copper); }

/* --------------------------------------------------------- WhatsApp fixo */

.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 55;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--copper);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease), background 0.3s var(--ease);
}
.wa-float.is-on { transform: none; opacity: 1; }
.wa-float:hover { background: var(--copper-lt); }
.wa-float svg { width: 24px; height: 24px; }

/* ------------------------------------------------------- Reveal on scroll */

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

/* ============================================================== Cardápio = */

.menu-hero { padding-block: 11rem 3rem; border-bottom: 1px solid var(--line); }
.menu-hero .display { font-size: clamp(2.8rem, 8vw, 6rem); }

/* Barra de progresso: diz, sem texto, quanto do cardápio ainda falta. */
.menu-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 62;
  background: rgba(243, 237, 228, 0.06);
}
.menu-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--copper), var(--copper-lt));
  transition: width 0.12s linear;
}

/* ------------------------------------------------- Layout com índice fixo */

.menu-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}
@media (max-width: 980px) { .menu-layout { grid-template-columns: 1fr; gap: 0; } }

.menu-aside {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(198, 136, 74, 0.4) transparent;
  padding-block: 2.5rem;
}
@media (max-width: 980px) { .menu-aside { display: none; } }

.menu-index-title {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 1.2rem;
}

.menu-index { display: flex; flex-direction: column; }
.menu-index a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.62rem 0 0.62rem 0.95rem;
  border-left: 2px solid var(--line);
  font-family: var(--stencil);
  font-weight: 400;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.menu-index a:hover { color: var(--cream); border-left-color: var(--cream-dim); padding-left: 1.15rem; }
.menu-index a.is-active {
  color: var(--copper-lt);
  border-left-color: var(--copper);
  padding-left: 1.15rem;
}
.menu-index .n { font-size: 0.66rem; color: var(--cream-dim); font-family: var(--sans); }

/* ------------------------------------------- Cabeçalho de cada categoria */

.menu-cat { padding-block: clamp(2.4rem, 5vw, 4.2rem) clamp(3rem, 6vw, 5rem); scroll-margin-top: 145px; }
.menu-cat + .menu-cat { border-top: 1px solid var(--line); }

.menu-cat-head {
  position: relative;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
  padding-top: clamp(1.4rem, 3vw, 2.4rem);
}
/* Numeral fantasma: dá peso à divisória sem precisar de mais texto. */
.menu-cat-num {
  position: absolute;
  top: 0;
  left: -0.06em;
  font-family: var(--stencil);
  font-weight: 600;
  font-size: clamp(4.2rem, 11vw, 8rem);
  line-height: 0.78;
  color: rgba(198, 136, 74, 0.13);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.03em;
}
.menu-cat-head h2 {
  position: relative;
  font-family: var(--stencil);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.98;
  font-size: clamp(2.1rem, 6.5vw, 4rem);
}
.menu-cat-meta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.9rem;
}
.menu-cat-meta::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--copper), rgba(198, 136, 74, 0.06));
}
.menu-cat-count {
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--copper);
  white-space: nowrap;
}

/* Duas colunas em qualquer tela: o segundo par sempre aparece cortado no pé,
   que é o sinal de que a lista continua. */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(8px, 1.4vw, 14px);
}

/* --------------------------------------------- Celular: barra e gaveta */

.menu-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 41;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--gut);
  background: rgba(11, 9, 8, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 980px) { .menu-bar { display: flex; } }

.menu-bar-now {
  font-family: var(--stencil);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-bar-now small {
  display: block;
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  color: var(--copper);
  margin-top: 1px;
}
.menu-bar-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--copper);
  color: var(--copper-lt);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.menu-bar-btn svg { width: 13px; height: 13px; }

.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  pointer-events: none;
}
.menu-drawer.is-open { visibility: visible; pointer-events: auto; }

.menu-drawer-veil {
  position: absolute;
  inset: 0;
  background: rgba(11, 9, 8, 0.72);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.menu-drawer.is-open .menu-drawer-veil { opacity: 1; }

.menu-drawer-panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(340px, 86vw);
  background: var(--ink-2);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease);
}
.menu-drawer.is-open .menu-drawer-panel { transform: none; }

.menu-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.menu-drawer-head p {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
}
.menu-drawer-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--cream-mid);
}
.menu-drawer-close svg { width: 14px; height: 14px; }

.menu-drawer-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.6rem 0 2rem;
  -webkit-overflow-scrolling: touch;
}
.menu-drawer-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.4rem;
  border-bottom: 1px solid rgba(243, 237, 228, 0.06);
  font-family: var(--stencil);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream-mid);
}
.menu-drawer-list a.is-active { color: var(--copper-lt); background: rgba(198, 136, 74, 0.09); }
.menu-drawer-list .n { font-family: var(--sans); font-size: 0.68rem; color: var(--cream-dim); }

.menu-note {
  font-size: 0.78rem;
  color: var(--cream-dim);
  border: 1px solid var(--line);
  padding: 1.1rem 1.4rem;
  margin-block: 2rem 0;
}
.menu-note strong { color: var(--cream-mid); font-weight: 400; }

/* ================================================== Lupa (pressione e segure) =
   Segurou na foto, ela abre em tela cheia; soltou, some. Mantém a moldura e a
   tipografia das peças, para o zoom parecer parte do cardápio.
   ========================================================================== */

.lupa {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(16px, 5vw, 48px);
  background: rgba(11, 9, 8, 0.93);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), visibility 0.22s var(--ease);
}
.lupa.is-on { opacity: 1; visibility: visible; }

.lupa-quadro {
  margin: 0;
  position: relative;
  max-width: min(94vw, 680px);
  transform: scale(0.93);
  transition: transform 0.28s var(--ease);
}
.lupa.is-on .lupa-quadro { transform: none; }

.lupa-quadro img {
  width: 100%;
  max-height: 72svh;
  object-fit: contain;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.66);
  outline: 1px solid rgba(243, 237, 228, 0.14);
  outline-offset: -10px;
}

.lupa-legenda {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 1.4rem;
  text-align: center;
}
.lupa-nome {
  font-family: var(--stencil);
  font-weight: 600;
  font-size: clamp(1.2rem, 4.4vw, 2rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--cream);
}
.lupa-preco {
  font-family: var(--stencil);
  font-weight: 500;
  font-size: clamp(0.95rem, 3vw, 1.25rem);
  letter-spacing: 0.14em;
  color: var(--copper-lt);
}

/* O cartão vira "segurável": sem seleção de texto e sem o menu do celular. */
.plate {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Selo de lupa: a dica de que dá para segurar. */
.plate-zoom {
  position: absolute;
  top: clamp(16px, 6cqw, 30px);
  left: clamp(16px, 6cqw, 30px);
  z-index: 3;
  width: clamp(22px, 8cqw, 30px);
  height: clamp(22px, 8cqw, 30px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: rgba(11, 9, 8, 0.42);
  box-shadow: inset 0 0 0 1px rgba(243, 237, 228, 0.28);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.plate:hover .plate-zoom { opacity: 0.9; }
@media (hover: none) { .plate-zoom { opacity: 0.72; } }
.plate-zoom svg { width: 54%; height: 54%; }
.plate.is-empty .plate-zoom { display: none; }

/* Dica escrita, uma vez, no topo do cardápio. */
.menu-tip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
  padding: 0.5rem 1rem 0.5rem 0.8rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-mid);
}
.menu-tip svg { width: 15px; height: 15px; color: var(--copper); flex: none; }
