/* ==========================================================================
   A Grande Muralha — estilos
   ========================================================================== */

:root {
  --dark: #15110f;
  --dark-2: #1f1916;
  --dark-3: #2a221e;
  --cream: #f6f0e7;
  --cream-2: #ece4d7;
  --ink: #1b1613;
  --ink-2: #4a403a;
  --muted: #85796f;
  --muted-dark: #a99c91;
  --line: #ded4c5;
  --line-dark: rgba(246, 240, 231, .12);
  --red: #c9372b;
  --red-2: #a82a1f;
  --gold: #d6a54e;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::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; font-family: var(--sans); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 em, h1 em { font-style: italic; color: var(--red); }
p { margin: 0; }
address { font-style: normal; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 40px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--red); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); }
.btn-line { border-color: rgba(246, 240, 231, .35); color: var(--cream); }
.btn-line:hover { border-color: var(--cream); background: rgba(246, 240, 231, .06); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #000; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .875rem; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--cream); transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(21, 17, 15, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.seal {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px;
  background: var(--red); color: var(--cream); font-size: .82rem; font-weight: 700; letter-spacing: -.04em;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; letter-spacing: -.01em; }
.logo-text small { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); margin-top: 4px; }
.main-nav { display: none; gap: 6px; }
.main-nav a {
  position: relative; text-decoration: none; font-size: .92rem; font-weight: 500; padding: 8px 14px;
  color: rgba(246, 240, 231, .78); transition: color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--cream); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--gold); }
.header-call { display: none; }
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-call { display: inline-flex; }
}
.nav-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark);
  background: transparent; cursor: pointer; display: grid; place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--cream); position: relative; transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 900px) { .nav-toggle { display: none; } }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--dark); color: var(--cream);
  padding: calc(var(--header-h) + 24px) 20px 32px; display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.nav-open .site-header { background: var(--dark); }
.mobile-nav a { font-family: var(--serif); font-size: 2.6rem; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-nav .btn { margin-top: auto; font-family: var(--sans); font-size: 1rem; border: 0; }
@media (min-width: 900px) { .mobile-nav { display: none; } }

/* ---------- Status pill ---------- */
.status {
  display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 500;
  padding: 8px 16px 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--cream);
}
.status:empty { display: none; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted-dark); flex: none; }
.status.is-open::before { background: #4ccf7c; box-shadow: 0 0 0 0 rgba(76, 207, 124, .5); animation: ping 2s infinite; }
.status.is-closed::before { background: #e8685c; }
.status.light { color: var(--ink); border-color: var(--line); }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(76, 207, 124, 0); } }

/* ==========================================================================
   HOME
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--dark); color: var(--cream); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 85% 30%, rgba(201, 55, 43, .28), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(214, 165, 78, .10), transparent 70%);
}
.hero-inner {
  position: relative; min-height: 100svh; display: grid; align-items: center; gap: 48px;
  padding-top: calc(var(--header-h) + 32px); padding-bottom: 64px;
}
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero h1 { font-size: clamp(4rem, 12vw, 9.5rem); line-height: .86; letter-spacing: -.025em; }
.hero h1 em { color: var(--gold); display: block; }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(246, 240, 231, .72); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media { position: relative; height: clamp(420px, 62vw, 640px); }
@media (min-width: 1000px) { .hero-media { height: 640px; } }
.hero-media figure { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r-lg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hm-1 { left: 0; top: 0; width: 64%; height: 82%; }
.hm-2 { right: 0; top: 14%; width: 42%; height: 46%; }
.hm-3 { right: 6%; bottom: 0; width: 46%; height: 34%; }
.hm-1 img { animation: slowzoom 18s var(--ease) infinite alternate; }
@keyframes slowzoom { to { transform: scale(1.08); } }

.badge-1985 {
  position: absolute; left: 50%; bottom: 4%; transform: translateX(-70%);
  width: 132px; height: 132px; border-radius: 50%; background: var(--red); color: var(--cream);
  display: grid; place-items: center; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
}
.badge-1985 svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.badge-1985 text { font: 600 9.5px var(--sans); letter-spacing: .24em; fill: var(--cream); text-transform: uppercase; }
.badge-1985 strong { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: 1px; height: 48px; background: linear-gradient(var(--line-dark), transparent); display: none;
}
@media (min-width: 1000px) { .scroll-cue { display: block; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: var(--cream); overflow: hidden; padding: 18px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 36px; animation: marquee 50s linear infinite; padding-left: 36px; }
.marquee span { font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1; display: inline-flex; align-items: center; gap: 36px; }
.marquee span::after { content: "✦"; font-family: var(--sans); font-size: .9rem; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Generic section ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section.on-dark { background: var(--dark); color: var(--cream); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head > div { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.section-head p.lead { color: var(--muted); max-width: 30em; font-size: 1.05rem; }
.on-dark .section-head p.lead { color: var(--muted-dark); }

/* ---------- Sobre ---------- */
.about { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.about-media { position: relative; margin: 0; }
.about-media img { width: 100%; height: auto; display: block; border-radius: var(--r-lg); }
.about-media figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px;
  background: rgba(21, 17, 15, .7); backdrop-filter: blur(8px); color: var(--cream); font-size: .8rem;
}
.about-copy { display: flex; flex-direction: column; gap: 24px; }
.about-copy p { color: var(--ink-2); font-size: 1.08rem; max-width: 34em; }
.stats { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stats li { padding: 24px 12px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stats li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.stats strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--red); }
.stats span { font-size: .85rem; color: var(--muted); line-height: 1.35; }

/* ---------- Galeria ---------- */
.gallery {
  display: grid; gap: 12px;
  grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -20px; padding: 0 20px 8px; scroll-padding-inline: 20px; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); scroll-snap-align: start; aspect-ratio: 3 / 4; background: var(--dark-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 48px 18px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; color: #fff;
}
@media (min-width: 760px) {
  .gallery { margin: 0 -40px; padding: 0 40px 8px; grid-auto-columns: 40%; }
}
@media (min-width: 1000px) {
  .gallery {
    margin: 0; padding: 0; overflow: visible; grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr); grid-template-rows: 300px 300px;
  }
  .gallery figure { aspect-ratio: auto; }
  .gallery figure:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
}

/* ---------- Menu preview (category index) ---------- */
.cat-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); display: grid; }
@media (min-width: 860px) { .cat-index { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.cat-index a {
  display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 16px;
  padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: padding .3s var(--ease), color .2s;
}
.cat-index .n { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-index .t { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.05; }
.cat-index .c { font-size: .82rem; color: var(--muted); }
.cat-index .ic { color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.cat-index a:hover { padding-left: 14px; color: var(--red); }
.cat-index a:hover .ic { transform: translateX(4px); color: var(--red); }
.center-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Delivery ---------- */
.delivery { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .delivery { grid-template-columns: 1.1fr 1fr; gap: 80px; } }
.delivery-copy { display: flex; flex-direction: column; gap: 24px; }
.delivery-copy p { color: var(--muted-dark); font-size: 1.08rem; max-width: 30em; }
.phone-list { display: grid; gap: 10px; margin-top: 8px; }
.phone-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-radius: var(--r); text-decoration: none;
  border: 1px solid var(--line-dark); background: var(--dark-2);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.phone-link:hover { border-color: var(--red); background: var(--dark-3); transform: translateY(-2px); }
.phone-link strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.5vw, 2.4rem); line-height: 1; letter-spacing: .01em; }
.phone-link span { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; padding: 9px 14px; border-radius: 999px; background: var(--red); color: #fff; }
.delivery-note { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted-dark); }
.delivery-note .ic { color: var(--gold); margin-top: 3px; }
.delivery-media { position: relative; }
.delivery-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.delivery-media .tag-float {
  position: absolute; right: -8px; top: 24px; padding: 14px 18px; border-radius: var(--r);
  background: var(--cream); color: var(--ink); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
  display: flex; flex-direction: column; gap: 2px; transform: rotate(3deg);
}
.tag-float small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tag-float strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.05; }
@media (min-width: 960px) { .delivery-media .tag-float { right: -24px; } }

/* ---------- Informações ---------- */
.info-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .info-grid { grid-template-columns: 1.1fr 1fr 1fr; } .card-map { grid-column: 2 / 4; grid-row: 1 / 2; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.card h3 { font-size: 2rem; }
.card-hours { grid-row: span 2; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--cream-2); font-size: .95rem; }
.hours li:last-child { border-bottom: 0; }
.hours li span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours li.off span:last-child { color: var(--muted); }
.hours li.today { font-weight: 600; color: var(--red); }
.hours li.today span:first-child::after { content: "hoje"; margin-left: 8px; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--red); color: #fff; vertical-align: 2px; }
.hours li.holiday { color: var(--ink-2); font-style: italic; }
.card-map { padding: 0; overflow: hidden; min-height: 320px; background: var(--cream-2); }
.card-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(.4) sepia(.12); }
.card address { color: var(--ink-2); line-height: 1.7; }
.card .phones { display: flex; flex-direction: column; gap: 2px; }
.card .phones a { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; text-decoration: none; }
.card .phones a:hover { color: var(--red); }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--red); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-insta { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.insta-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.insta-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.card-insta .text-link { color: var(--gold); }
.card-insta p { color: var(--muted-dark); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--cream); padding: 80px 0 40px; }
.footer-top { display: grid; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand p { color: var(--muted-dark); margin-top: 18px; max-width: 22em; font-size: .95rem; }
.site-footer h4 { margin: 0 0 14px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a, .site-footer address { color: rgba(246, 240, 231, .78); text-decoration: none; font-size: .95rem; line-height: 1.6; }
.site-footer ul a:hover { color: var(--cream); }
.site-footer .hours { gap: 0; }
.site-footer .hours li { padding: 5px 0; border-color: var(--line-dark); font-size: .85rem; color: rgba(246, 240, 231, .78); }
.site-footer .hours li.today { color: var(--gold); }
.site-footer .hours li.today span:first-child::after { display: none; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 28px; font-size: .82rem; color: var(--muted-dark); }
.footer-word {
  font-family: var(--serif); font-size: clamp(4rem, 17vw, 15rem); line-height: .8; letter-spacing: -.03em;
  color: rgba(246, 240, 231, .06); margin-top: 48px; white-space: nowrap; user-select: none;
}

/* ---------- Mobile call bar ---------- */
.call-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px 0 18px;
  border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  box-shadow: 0 14px 30px -10px rgba(201, 55, 43, .7);
  transform: translateY(120%); transition: transform .4s var(--ease);
}
.call-fab.show { transform: none; }
@media (min-width: 900px) { .call-fab { display: none; } }

/* ==========================================================================
   MENU PAGE
   ========================================================================== */
.page-hero { background: var(--dark); color: var(--cream); padding: calc(var(--header-h) + 64px) 0 56px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 80% at 90% 0%, rgba(201, 55, 43, .3), transparent 70%);
}
.page-hero .wrap { position: relative; display: flex; flex-direction: column; gap: 20px; }
.page-hero h1 { font-size: clamp(4rem, 12vw, 8.5rem); line-height: .9; }
.page-hero p { color: var(--muted-dark); max-width: 36em; font-size: 1.05rem; }
.page-hero .hero-actions { margin-top: 8px; }

.menu-bar {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(246, 240, 231, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.menu-bar .wrap { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
@media (min-width: 1000px) { .menu-bar .wrap { flex-direction: row; align-items: center; } }
.search {
  flex: 1; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s;
}
.search:focus-within { border-color: var(--ink); }
.search .ic { color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); min-width: 0; }

.cat-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips a { flex: none; padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.cat-chips a.active { background: var(--red); color: #fff; }
@media (min-width: 1000px) { .menu-bar { display: none; } }

.menu-layout { display: grid; gap: 48px; padding-top: 48px; padding-bottom: 120px; }
@media (min-width: 1000px) { .menu-layout { grid-template-columns: 220px 1fr; gap: 72px; padding-top: 64px; } }
.menu-side { display: none; }
@media (min-width: 1000px) {
  .menu-side { display: block; position: sticky; top: calc(var(--header-h) + 100px); align-self: start; }
}
.menu-side ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: c; }
.menu-side a {
  display: flex; gap: 12px; align-items: baseline; padding: 7px 12px; border-radius: 8px;
  text-decoration: none; font-size: .92rem; color: var(--muted); transition: color .2s, background .2s;
}
.menu-side a::before { counter-increment: c; content: counter(c, decimal-leading-zero); font-size: .7rem; font-variant-numeric: tabular-nums; }
.menu-side a:hover { color: var(--ink); }
.menu-side a.active { color: var(--ink); background: var(--cream-2); font-weight: 600; }

.menu-cat { padding-bottom: 72px; }
.menu-cat-head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.menu-cat-head .n { font-size: .8rem; color: var(--red); font-weight: 600; font-variant-numeric: tabular-nums; }
.menu-cat-head h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.menu-cat-note { margin-top: 12px; color: var(--muted); font-size: .92rem; font-style: italic; }
.menu-cat-img { margin: 24px 0 8px; border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 9; background: var(--cream-2); }
.menu-cat-img img { width: 100%; height: 100%; object-fit: cover; }

.dishes { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 56px; }
@media (min-width: 760px) { .dishes { grid-template-columns: 1fr 1fr; } }
.dish { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.dish-row { display: flex; align-items: baseline; gap: 10px; }
.dish-name { font-weight: 600; font-size: 1rem; line-height: 1.35; }
.dish-qtd { font-weight: 400; color: var(--muted); font-size: .85rem; white-space: nowrap; }
.dish-row .leader { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.dish-price { font-family: var(--serif); font-size: 1.35rem; line-height: 1; white-space: nowrap; }
.dish-desc { color: var(--muted); font-size: .92rem; line-height: 1.5; max-width: 34em; }

.extras { margin-top: 24px; padding: 20px 24px; border-radius: var(--r); background: var(--cream-2); }
.extras h3 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.extras ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 32px; font-size: .92rem; }
.extras li { display: flex; justify-content: space-between; gap: 12px; }
.extras b { font-weight: 600; }

/* ---------- Redirect pages ---------- */
.redirect { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--dark); color: var(--cream); padding: 24px; }
.redirect a { color: var(--gold); }

/* ---------- Reveal ---------- */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.pending { opacity: 0; transform: translateY(28px); }

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