:root {
  --header: #0b141b;
  --black: #000;
  --brown: #5a492b;
  --gold: #a88a55;
  --beige: #ddcbb8;
  --blue: #005593;
  --blue-light: #6294b2;
  --grey: #c4c4c4;
  --white: #fff;
  --serif: "Merriweather", Georgia, serif;
  --display: "Unna", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--serif); font-size: 15px; line-height: 1.8; color: #222; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.3; margin: 0 0 .6em; }
.container { width: min(1100px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.title { color: var(--brown); font-size: 26px; }
.dark { background: var(--black); color: var(--grey); padding: 72px 0; }
.dark .title { color: #8b744a; }
.beige { background: var(--beige); padding: 72px 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 16px 10px;
}
.logo img { height: 64px; width: auto; }
.site-nav { display: flex; gap: 28px; margin-top: 6px; }
.site-nav a { color: var(--blue-light); text-decoration: none; font-size: 15px; transition: color .2s; }
.site-nav a:hover { color: var(--white); }
.nav-toggle { display: none; }

@media (max-width: 767px) {
  .site-header { flex-direction: row; justify-content: space-between; padding: 10px 16px; }
  .logo img { height: 46px; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
  .nav-toggle span { width: 24px; height: 2px; background: var(--blue-light); }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; background: var(--header);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .site-nav.open { max-height: 320px; }
  .site-nav a { padding: 12px 20px; border-top: 1px solid #1c2933; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--black); aspect-ratio: 1920 / 600; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-text {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  color: var(--white); text-align: right; max-width: 40%;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.hero-text h2 { font-size: clamp(22px, 2.4vw, 34px); }
.hero-text p { font-size: 14px; font-style: italic; margin: 0; }
.hero-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dots button[aria-selected="true"] { background: var(--white); }

@media (max-width: 767px) {
  .hero { aspect-ratio: 1 / 1; }
  .hero-text { left: 16px; right: 16px; top: auto; bottom: 40px; transform: none; max-width: none; text-align: center;
    background: linear-gradient(transparent, rgba(0,0,0,.55)); padding: 16px; border-radius: 4px; }
}

/* ---------- tagline ---------- */
.tagline { padding: 64px 16px; text-align: center; }
.tagline p { color: var(--blue); font-size: clamp(22px, 3vw, 34px); line-height: 1.5; max-width: 900px; margin: 0 auto; }

/* ---------- about ---------- */
.about p { font-size: 15px; }

/* ---------- ambientes ---------- */
.ambientes-grid { display: grid; gap: 48px; margin-top: 32px; }
.ambiente { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ambiente:nth-child(even) img { order: 2; }
.ambiente img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 10px 30px rgba(60,40,10,.25); }
.ambiente p { color: #111; margin: 0 0 1em; }
@media (max-width: 767px) {
  .ambiente { grid-template-columns: 1fr; gap: 20px; }
  .ambiente:nth-child(even) img { order: 0; }
}

/* ---------- carousel (destaques + instagram) ---------- */
.carousel { position: relative; margin: 32px 0; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-btn {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--brown); font-size: 28px; line-height: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.carousel-btn.prev { left: -18px; }
.carousel-btn.next { right: -18px; }
.carousel-btn[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 980px) { .carousel-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 767px) {
  .carousel-track { grid-auto-columns: 78%; }
  .carousel-btn { display: none; }
}

.card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.card h4 { color: var(--beige); font-size: 15px; text-transform: uppercase; letter-spacing: .05em; margin: 14px 0 6px; }
.card p { font-size: 13px; line-height: 1.7; margin: 0; }

.btn {
  display: inline-block; font-family: var(--display); font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--black); background: var(--beige); padding: 12px 28px; border-radius: 3px;
  transition: background .2s;
}
.btn:hover { background: var(--white); }

/* ---------- instagram ---------- */
.instagram { padding: 72px 0; background: #f7f2ec; }
.instagram .sub { margin-top: -10px; }
.instagram .sub a { color: var(--blue); text-decoration: none; }
.ig-post { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: #e8e0d6; }
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ig-post:hover img { transform: scale(1.05); }
.ig-post .ig-caption {
  position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px; color: var(--white); font-size: 12px; line-height: 1.5;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  opacity: 0; transition: opacity .3s;
}
.ig-post:hover .ig-caption, .ig-post:focus .ig-caption { opacity: 1; }
.ig-post .ig-badge { position: absolute; top: 8px; right: 8px; color: var(--white); filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }

/* ---------- footer ---------- */
.site-footer { background: var(--header); color: var(--white); padding: 56px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--blue-light); text-transform: uppercase; font-size: 14px; letter-spacing: .05em; }
.site-footer p { margin: 0 0 1em; }
.site-footer strong { font-weight: 400; text-transform: uppercase; color: var(--grey); font-size: 13px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--blue-light); }
.map { width: 100%; height: 200px; border: 0; border-radius: 4px; filter: grayscale(.3); }
.social { display: flex; gap: 16px; }
.copy { text-align: center; color: var(--grey); font-size: 11px; padding: 24px 16px; margin: 40px 0 0; border-top: 1px solid #1c2933; }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: var(--white); box-shadow: 0 4px 14px rgba(0,0,0,.3);
}

/* ---------- cardápio ---------- */
.menu-page { background: #faf7f3; min-height: 60vh; }
.menu-hero { background: var(--black); color: var(--grey); text-align: center; padding: 48px 16px 40px; }
.menu-hero h1 { color: var(--beige); font-size: clamp(26px, 4vw, 38px); }
.menu-hero p { margin: 0; font-size: 14px; }
.menu-toolbar {
  position: sticky; top: 108px; z-index: 40; background: #faf7f3; border-bottom: 1px solid #e6ddd2;
  padding: 12px 0;
}
@media (max-width: 767px) { .menu-toolbar { top: 66px; } }
.menu-search {
  width: 100%; font: inherit; font-size: 14px; padding: 10px 14px; border: 1px solid #d8ccbd; border-radius: 4px; background: var(--white);
}
.menu-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 10px; }
.menu-cats::-webkit-scrollbar { display: none; }
.menu-cats a {
  flex: none; font-size: 13px; text-decoration: none; color: var(--brown); padding: 6px 14px;
  border: 1px solid #d8ccbd; border-radius: 999px; background: var(--white); white-space: nowrap;
}
.menu-cats a.active { background: var(--brown); color: var(--white); border-color: var(--brown); }
.menu-body { padding: 24px 0 72px; }
.menu-cat { padding-top: 24px; scroll-margin-top: 220px; }
.menu-cat h2 { color: var(--brown); font-size: 22px; border-bottom: 1px solid #e0d4c4; padding-bottom: 8px; }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; }
@media (max-width: 767px) { .menu-items { grid-template-columns: 1fr; } }
.menu-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed #e6ddd2; }
.menu-item button.thumb { flex: none; width: 84px; height: 84px; padding: 0; border: 0; border-radius: 4px; overflow: hidden; cursor: zoom-in; background: #eee; }
.menu-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.menu-item .info { flex: 1; min-width: 0; }
.menu-item .head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; align-items: baseline; }
.menu-item h3 { font-size: 16px; color: #222; margin: 0; }
.menu-item .price { color: var(--brown); font-weight: 700; white-space: nowrap; font-size: 14px; }
.menu-item p { font-size: 13px; color: #666; margin: 4px 0 0; line-height: 1.6; }
.menu-empty { text-align: center; color: #888; padding: 40px 0; }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); }
dialog.lightbox::backdrop { background: rgba(0,0,0,.85); }
dialog.lightbox img { max-height: 80vh; width: auto; margin: auto; border-radius: 4px; }
dialog.lightbox p { color: var(--white); text-align: center; margin: 10px 0 0; }
dialog.lightbox button { position: fixed; top: 16px; right: 20px; background: none; border: 0; color: var(--white); font-size: 36px; cursor: pointer; }
