/* ===== VARIÁVEIS ===== */
:root {
  --bg: #f7f1e8;
  --ink: #2a1d16;
  --muted: #7a6a5e;
  --dark: #1c1411;
  --dark2: #120d0a;
  --brand: #c8553d;
  --gold: #d9a441;
  --card: #fffaf3;
  --line: #eadfce;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ===== BASE (rodapé sempre no fim) ===== */
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.sec { padding: 80px 0; }
.sec-t { text-align: center; margin-bottom: 44px; }
.sec-t span { color: var(--brand); font-weight: 600; letter-spacing: 3px; font-size: .78rem; text-transform: uppercase; }
.sec-t h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: 8px; }
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 40px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(200, 85, 61, .4); }
.btn.ghost { background: transparent; border: 2px solid #fff; }

/* ===== CABEÇALHO CENTRALIZADO ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark);
  color: #f5e9d8;
  transition: box-shadow .3s;
}
#site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.hd-in { max-width: 1100px; margin: 0 auto; padding: 14px 22px 10px; text-align: center; position: relative; }
.logo { display: inline-flex; flex-direction: column; align-items: center; }
.logo span { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; }
.logo .logo-mark { font-size: 1.2rem; }
.logo small { font-size: .7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; justify-content: center; gap: 30px; margin-top: 10px; }
.nav a { padding: 6px 0; font-size: .92rem; border-bottom: 2px solid transparent; transition: .25s; }
.nav a:hover, .nav a.active { color: var(--gold); border-color: var(--gold); }
.burger { display: none; position: absolute; right: 18px; top: 22px; background: none; border: 0; cursor: pointer; }
.burger i { display: block; width: 24px; height: 2px; background: #f5e9d8; margin: 5px 0; }

/* ===== HERO COM SLIDER ===== */
.hero { position: relative; height: 78vh; min-height: 520px; overflow: hidden; color: #fff; background: var(--dark); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.active { opacity: 1; }
.slide .art { width: 100%; height: 100%; animation: zoom 9s ease-out forwards; }
.slide .art .emo { font-size: 38vmin; opacity: .35; filter: blur(1px); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 8, .55), rgba(20, 12, 8, .75)); }
.hero-in { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 22px; }
.hero-in h1 { font-size: clamp(2.4rem, 7vw, 5rem); max-width: 14ch; animation: up .9s both; }
.hero-in p { max-width: 520px; margin: 18px 0 28px; font-size: 1.1rem; opacity: .92; animation: up .9s .15s both; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; animation: up .9s .3s both; }
.hero-foot { position: absolute; z-index: 3; bottom: 22px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .9rem; }
#hero-dots { display: flex; gap: 8px; }
#hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: .3s; }
#hero-dots button.on { background: var(--gold); width: 28px; border-radius: 6px; }
.badge { display: inline-block; padding: 5px 14px; border-radius: 20px; font-size: .8rem; font-weight: 600; margin-bottom: 18px; background: rgba(255, 255, 255, .15); }
.open-badge.on { background: #2e8b57; color: #fff; }
.open-badge.off { background: #a33; color: #fff; }
@keyframes zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ===== ARTE DOS PRATOS ===== */
.art { display: flex; align-items: center; justify-content: center; }
.art .emo { font-size: 4.2rem; transition: transform .5s; }

/* ===== FAIXA ROLANDO ===== */
.marquee { background: var(--brand); color: #fff; overflow: hidden; white-space: nowrap; padding: 14px 0; }
.mq-track { display: inline-block; animation: mq 38s linear infinite; }
.mq-track span { margin: 0 26px; font-weight: 600; }
.mq-track span::after { content: "✦"; margin-left: 52px; color: var(--gold); }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ===== CARTÕES DE DESTAQUE ===== */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; }
.card { background: var(--card); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(42, 29, 22, .15); }
.card:hover .emo { transform: scale(1.18) rotate(-6deg); }
.card-art { height: 200px; }
.card-b { padding: 20px 22px 24px; }
.card-b h3 { font-size: 1.3rem; }
.card-b p { color: var(--muted); font-size: .94rem; margin: 6px 0 12px; }
.price { color: var(--brand); font-size: 1.1rem; }

/* ===== SEÇÃO ESCURA + NÚMEROS ===== */
.dark { background: var(--dark); color: #f5e9d8; }
.dark .sec-t span { color: var(--gold); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 16px; }
.split p { opacity: .85; margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: rgba(255, 255, 255, .06); border-radius: 16px; padding: 26px 18px; text-align: center; }
.stat b { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); display: block; }
.stat small { opacity: .8; }

/* ===== DEPOIMENTOS ===== */
.reviews { position: relative; min-height: 150px; max-width: 700px; margin: 0 auto; text-align: center; }
.reviews blockquote { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: .7s; }
.reviews blockquote.active { opacity: 1; transform: none; }
.reviews p { font-family: var(--serif); font-size: 1.45rem; font-style: italic; }
.reviews cite { display: block; margin-top: 14px; color: var(--gold); font-style: normal; }

/* ===== CHAMADA FINAL ===== */
.cta { background: linear-gradient(120deg, var(--brand), #9c3a28); color: #fff; text-align: center; padding: 70px 22px; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.cta p { margin-bottom: 24px; opacity: .92; }
.cta .btn { background: #fff; color: var(--brand); }

/* ===== TOPO DAS PÁGINAS INTERNAS ===== */
.page-top { background: var(--dark2); color: #f5e9d8; text-align: center; padding: 56px 22px; }
.page-top h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); animation: up .8s both; }
.page-top p { opacity: .8; margin-top: 8px; }

/* ===== CARDÁPIO ===== */
.tools { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 32px; }
#tabs { display: flex; flex-wrap: wrap; gap: 8px; }
#tabs button { padding: 9px 18px; border-radius: 30px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font: inherit; font-size: .9rem; transition: .25s; }
#tabs button.on, #tabs button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
#search { padding: 11px 18px; border-radius: 30px; border: 1px solid var(--line); background: var(--card); font: inherit; min-width: 220px; }
#menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 20px; }
.item { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; transition: .3s; }
.item:hover { border-color: var(--brand); transform: translateX(6px); }
.item-art { width: 92px; height: 92px; border-radius: 14px; flex: none; }
.item-art .emo { font-size: 2.4rem; }
.item-b { flex: 1; }
.item-b h3 { font-size: 1.1rem; }
.item-b p { font-size: .88rem; color: var(--muted); }
.tag { font-style: normal; font-family: var(--sans); font-size: .68rem; background: var(--gold); color: #3a2a10; padding: 2px 9px; border-radius: 10px; vertical-align: middle; margin-left: 6px; }
.empty { text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* ===== FORMULÁRIO E LOCALIZAÇÃO ===== */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.box h2 { font-size: 1.6rem; margin-bottom: 16px; }
form label { display: block; font-size: .85rem; font-weight: 600; margin: 14px 0 5px; }
form input, form select, form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--brand); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form .btn { width: 100%; margin-top: 22px; }
#msg { margin-top: 12px; color: var(--brand); font-weight: 600; text-align: center; }
#hours { list-style: none; padding: 0; }
#hours li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); }
#hours li.today { color: var(--brand); font-weight: 700; }
.map { width: 100%; height: 360px; border: 0; border-radius: 18px; margin-top: 30px; }
.info p { margin-bottom: 10px; }

/* ===== RODAPÉ (igual em todas as páginas) ===== */
#site-footer { background: var(--dark2); color: #cdbfae; padding: 46px 22px 20px; }
.ft-in { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 36px; }
.ft-in a { display: block; padding: 3px 0; }
.ft-in a:hover { color: var(--gold); }
.ft-in h4 { color: var(--gold); margin-bottom: 8px; font-family: var(--serif); }
.ft-logo { font-family: var(--serif); font-size: 1.4rem; color: #fff; }
.ft-copy { text-align: center; margin-top: 30px; font-size: .8rem; opacity: .6; }

/* ===== REVELAR AO ROLAR ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* ===== RESPONSIVO ===== */
@media (max-width: 780px) {
  .burger { display: block; }
  .nav { display: none; flex-direction: column; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .split, .two, .ft-in { grid-template-columns: 1fr; }
  #menu-grid { grid-template-columns: 1fr; }
  .hero { height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
