:root {
  --red: #8f1d1f;
  --red-dark: #5e1012;
  --red-deep: #3a0a0b;
  --gold: #d9b45a;
  --gold-soft: #f3d38a;
  --cream: #faf5ee;
  --paper: #ffffff;
  --ink: #2a1a14;
  --muted: #7a685d;
  --line: #ecdfd0;
  --veg: #3f7d3a;
  --hot: #c2410c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(58, 10, 11, .08);
  --display: 'Marcellus', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--red-deep); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 600; color: var(--gold-soft); margin: 0 0 .6rem; }
.eyebrow--red { color: var(--red); }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; white-space: nowrap; transition: transform .15s, background .15s, color .15s; cursor: pointer; font-size: 1rem; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--red-deep); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--sm { padding: .55em 1.1em; font-size: .9rem; }

/* Aviso */
.notice { background: var(--gold); color: var(--red-deep); text-align: center; padding: .6em 16px; font-weight: 600; font-size: .95rem; }

/* Topo */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(58, 10, 11, .96); backdrop-filter: blur(8px); color: #fff; border-bottom: 1px solid rgba(217, 180, 90, .25); }
.topbar__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.35rem; letter-spacing: .04em; color: var(--gold-soft); }
.brand img { width: 40px; height: 40px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; color: #f4e7da; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--gold-soft); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--red-deep); }
.hero__bg { position: absolute; inset: 0; background: url(/img/hero.jpg) center right / cover no-repeat; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58,10,11,.92) 0%, rgba(58,10,11,.75) 45%, rgba(58,10,11,.15) 100%); }
.hero__in { position: relative; padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 8vw, 96px); max-width: 1160px; }
.hero h1 { font-size: clamp(3rem, 9vw, 6rem); margin: 0 0 .15em; color: #fff; letter-spacing: .02em; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero__lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 34ch; color: #f4e7da; margin: 0 0 1.4rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 1.8rem; }
.rating { display: inline-flex; align-items: center; gap: 6px; }
.rating small { color: #e6d4c4; }
.stars { color: var(--gold); letter-spacing: 2px; }
.star-part { background: linear-gradient(90deg, var(--gold) 30%, rgba(255,255,255,.3) 30%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: .3em .9em; border-radius: 999px; background: rgba(0,0,0,.3); font-size: .9rem; font-weight: 500; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #f87171; }
.status.is-open::before { background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .85rem; padding: .35em .9em; border: 1px solid rgba(243, 211, 138, .45); border-radius: 999px; color: var(--gold-soft); }
.chips li::before { content: '✓ '; }

/* Seções */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about__img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about__text { font-size: 1.08rem; color: #4a3830; white-space: pre-line; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.6rem 0 0; }
.facts div { background: var(--cream); border-radius: 12px; padding: 14px 16px; }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; color: var(--red-deep); }

/* Destaques */
.hl-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 18px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x mandatory; }
.hl { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); scroll-snap-align: start; cursor: pointer; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; transition: transform .2s; }
.hl:hover { transform: translateY(-3px); }
.hl img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hl__b { padding: 14px 16px 16px; }
.hl__n { font-weight: 600; margin: 0 0 4px; }
.hl__p { color: var(--red); font-weight: 700; }

/* Cardápio */
.menu { background: var(--cream); padding-bottom: 72px; }
.menu__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.menu__head .muted { max-width: 52ch; margin: 0; }
.menu__tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; color: var(--muted); }
.search input { border: 0; outline: 0; padding: 11px 0; font: inherit; width: 200px; background: transparent; color: var(--ink); }
.toggle { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; cursor: pointer; user-select: none; }
.toggle input { accent-color: var(--veg); width: 18px; height: 18px; }

.cats { position: sticky; top: 68px; z-index: 40; background: rgba(250, 245, 238, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-top: 28px; }
.cats__in { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.cats__in::-webkit-scrollbar { display: none; }
.cats a { flex: none; text-decoration: none; padding: .45em 1em; border-radius: 999px; font-size: .9rem; font-weight: 500; color: #5a463c; white-space: nowrap; }
.cats a:hover { background: #f0e5d6; }
.cats a.is-active { background: var(--red); color: #fff; }

.menu__body { padding-top: 12px; }
.loading, .empty { color: var(--muted); padding: 32px 0; text-align: center; }
.mcat { padding-top: 36px; }
.mcat h3 { font-size: 1.7rem; color: var(--red-deep); display: flex; align-items: center; gap: 14px; margin-bottom: .2em; }
.mcat h3::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.mcat__d { color: var(--muted); margin: 0 0 14px; font-size: .95rem; }
.items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 14px; background: var(--paper); border-radius: var(--radius); padding: 16px; border: 1px solid var(--line); cursor: pointer; text-align: left; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s; }
.item:hover { border-color: #e0c9a8; box-shadow: var(--shadow); }
.item.has-img { grid-template-columns: 96px 1fr; }
.item__img { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; }
.item__top { display: flex; gap: 8px; align-items: baseline; }
.item__code { font-size: .75rem; color: var(--muted); font-weight: 600; flex: none; }
.item__n { font-weight: 600; margin: 0; line-height: 1.3; }
.item__d { color: var(--muted); font-size: .9rem; margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item__p { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; }
.item__p span { color: var(--muted); }
.item__p b { color: var(--red); }
.tags { display: inline-flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.tag { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: .15em .6em; border-radius: 999px; background: #f5ecdf; color: #8a6d3b; }
.tag--vegetariano { background: #e6f1e3; color: var(--veg); }
.tag--picante { background: #fde7dc; color: var(--hot); }
.tag--destaque { background: #fbefd0; color: #8a5a00; }
.tag--novo { background: #e3ecfb; color: #1e4fa3; }

/* Prato em destaque (modal) */
.dish { border: 0; border-radius: 18px; padding: 0; width: min(520px, calc(100% - 32px)); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.dish::backdrop { background: rgba(30, 6, 6, .6); }
.dish img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.dish__b { padding: 20px 24px 26px; }
.dish__b h3 { font-size: 1.6rem; color: var(--red-deep); }
.dish__opts { list-style: none; padding: 0; margin: 14px 0 0; }
.dish__opts li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.dish__opts b { color: var(--red); }
.dish__close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }
.dish .btn { margin-top: 18px; }

/* Visite */
.visit { background: var(--paper); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.hours th, .hours td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today { background: #fbf3e4; }
.hours tr.is-today th { font-weight: 700; color: var(--red); }
.hours tr.is-today th::after { content: ' · hoje'; font-weight: 500; font-size: .8rem; color: var(--muted); }
.addr-title { font-size: 1.3rem; color: var(--red-deep); }
.addr { margin: 0 0 18px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; background: #eee; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Contato */
.contact { background: var(--red-deep) url(/img/dragao.png) no-repeat right -80px center / 420px; color: #fff; }
.contact h2 { color: #fff; }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.ccard { display: flex; flex-direction: column; gap: 4px; text-decoration: none; padding: 22px 24px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(243, 211, 138, .25); transition: background .15s; }
.ccard:hover { background: rgba(255,255,255,.12); }
.ccard__label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.ccard__value { font-size: 1.2rem; font-weight: 600; word-break: break-word; }

/* Rodapé */
.footer { background: #250607; color: #c9b5a8; font-size: .9rem; }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; flex-wrap: wrap; }
.footer p { margin: 0; }
.brand--footer { font-size: 1.1rem; }
.brand--footer img { width: 32px; height: 32px; }
.footer__admin { color: #8d766a; text-decoration: none; font-size: .85rem; }
.footer__admin:hover { color: var(--gold-soft); }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,.25); z-index: 60; transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }

/* Responsivo */
@media (max-width: 900px) {
  .about__grid, .visit__grid { grid-template-columns: 1fr; }
  .items { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 120px; }
  .topbar__in { height: 60px; gap: 12px; }
  .cats { top: 60px; }
  .topbar__cta { margin-left: auto; }
  .burger { display: block; }
  .brand { font-size: 1.15rem; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .nav { position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--red-deep); padding: 8px 16px 16px; display: none; border-bottom: 1px solid rgba(217,180,90,.25); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero__bg { background-position: 70% center; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(58,10,11,.85), rgba(58,10,11,.92)); }
  .facts { grid-template-columns: 1fr; }
  .search input { width: 100%; }
  .search { flex: 1; }
  .menu__tools { width: 100%; }
  .item.has-img { grid-template-columns: 76px 1fr; }
  .item__img { width: 76px; height: 76px; }
  .contact { background-size: 260px; background-position: right -90px bottom -40px; }
}
@media (max-width: 380px) { .topbar__cta { display: none; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
