/* D'Gusta Grill — Cardápio Digital */

:root {
  --red: #FE2828;
  --red-dark: #AE0001;
  --red-deep: #8F0000;
  --orange: #E82803;
  --orange-burn: #C83A0A;
  --yellow: #FFD21A;
  --cream: #FCEDCE;
  --white: #FFFFFF;
  --black: #000000;
  --graphite: #0C1014;
  --brown: #6C2B0D;
  --font-display: "Anton", "Bebas Neue", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --header-height: 56px;
  --nav-height: 46px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--graphite);
  color: var(--white);
  line-height: 1.5;
  min-height: 100dvh;
  padding-bottom: calc(72px + var(--safe-bottom));
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--graphite);
  border-bottom: 3px solid var(--yellow);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; max-width: 1100px; margin: 0 auto;
  padding: 8px 14px; min-height: var(--header-height);
}

.logo { width: 46px; height: 46px; border-radius: 50%; }
.header-title { flex: 1; text-align: center; min-width: 0; }
.header-title h1 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 400;
  color: var(--red); letter-spacing: 0.04em; line-height: 1.1;
}
.header-title span {
  display: block; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--yellow); margin-top: 2px;
}

.header-actions { display: flex; gap: 6px; flex-shrink: 0; }
.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--yellow); background: var(--red-dark);
  color: var(--yellow); -webkit-tap-highlight-color: transparent;
}
.icon-btn:active { background: var(--red); }
.icon-btn svg { width: 18px; height: 18px; }

.hero {
  text-align: center; padding: 28px 16px 24px;
  background: linear-gradient(180deg, var(--red-dark) 0%, var(--red) 50%, var(--orange) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,210,26,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.hero-logo { width: 100px; height: 100px; margin: 0 auto 12px; position: relative; }
.hero h2 {
  font-family: var(--font-display); font-size: 2rem; color: var(--yellow);
  letter-spacing: 0.06em; line-height: 1; margin-bottom: 4px; position: relative;
}
.hero-sub {
  font-family: var(--font-display); font-size: 1rem;
  letter-spacing: 0.15em; color: var(--white); margin-bottom: 8px; position: relative;
}
.hero-tagline {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); margin-bottom: 16px; position: relative;
}
.hero-cta {
  display: inline-block; font-family: var(--font-display);
  font-size: 0.9rem; letter-spacing: 0.1em;
  color: var(--black); background: var(--yellow);
  padding: 10px 24px; border-radius: 4px;
  border: 2px solid var(--black); position: relative;
  -webkit-tap-highlight-color: transparent;
}
.hero-cta:active { background: var(--cream); }

.category-nav {
  position: sticky; top: var(--header-height); z-index: 90;
  background: var(--graphite); border-bottom: 2px solid var(--red);
}
.category-nav-inner {
  display: flex; gap: 2px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  max-width: 1100px; margin: 0 auto; padding: 6px 10px;
}
.category-nav-inner::-webkit-scrollbar { display: none; }
.category-nav a {
  flex-shrink: 0; scroll-snap-align: start;
  padding: 8px 12px; font-family: var(--font-display);
  font-size: 0.75rem; letter-spacing: 0.05em;
  color: var(--cream); border: 2px solid transparent;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.category-nav a.active, .category-nav a:active {
  color: var(--black); background: var(--yellow); border-color: var(--yellow);
}

.menu { max-width: 1100px; margin: 0 auto; padding: 8px 12px 32px; }

.menu-section {
  padding: 24px 0 12px;
  scroll-margin-top: calc(var(--header-height) + var(--nav-height) + 8px);
}

.section-band {
  background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-deep));
  padding: 14px 16px; margin-bottom: 16px;
  border-left: 5px solid var(--yellow);
}
.section-title {
  font-family: var(--font-display); font-size: 1.5rem;
  color: var(--yellow); letter-spacing: 0.08em; line-height: 1.1;
}
.section-note {
  font-size: 0.75rem; color: rgba(252,237,206,0.7);
  font-style: italic; margin: -8px 0 14px; padding: 0 4px;
}

.product-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}

.product-card {
  background: var(--cream); color: var(--black);
  border: 2px solid var(--brown); border-radius: 6px;
  padding: 16px; position: relative; overflow: hidden;
}
.product-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--orange));
}
.product-card.featured { border-color: var(--red); box-shadow: 0 4px 16px rgba(254,40,40,0.25); }

.product-name {
  font-family: var(--font-display); font-size: 1.15rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--red-dark); line-height: 1.2; margin-bottom: 6px;
}
.product-weight {
  font-size: 0.75rem; font-weight: 700; color: var(--brown);
  letter-spacing: 0.06em; margin-bottom: 6px;
}
.product-desc {
  font-size: 0.82rem; color: #333; line-height: 1.55; margin-bottom: 12px;
}
.product-price {
  display: inline-block; font-family: var(--font-display);
  font-size: 1.4rem; color: var(--black);
  background: var(--yellow); padding: 6px 16px;
  border-radius: 4px; border: 2px solid var(--black);
  box-shadow: 2px 2px 0 var(--brown);
}
.product-price.from { font-size: 1.1rem; }

.placeholder-card {
  background: rgba(252,237,206,0.08); border: 2px dashed rgba(255,210,26,0.35);
  border-radius: 6px; padding: 20px 16px; text-align: center;
}
.placeholder-card p {
  font-size: 0.85rem; color: var(--cream); line-height: 1.5;
}

.site-footer {
  text-align: center; padding: 20px 16px;
  max-width: 1100px; margin: 0 auto;
  background: var(--graphite); border-top: 2px solid var(--red);
}
.site-footer p { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.site-footer .address { color: var(--yellow); font-weight: 600; }

.bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 110;
  display: flex; justify-content: center;
  background: var(--graphite); border-top: 3px solid var(--yellow);
  padding: 10px 12px calc(10px + var(--safe-bottom));
}
.bottom-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  max-width: 120px; padding: 6px; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--cream);
  -webkit-tap-highlight-color: transparent;
}
.bottom-bar a:active { color: var(--yellow); }
.bottom-bar svg { width: 22px; height: 22px; }
.bottom-bar .whatsapp svg { color: #25D366; }
.bottom-bar .instagram svg { color: #E1306C; }
.bottom-bar .maps svg { color: var(--yellow); }

@media (min-width: 600px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero h2 { font-size: 2.5rem; }
}
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .bottom-bar {
    position: static; max-width: 1100px; margin: 0 auto 24px;
    border: 2px solid var(--red); border-radius: 6px;
  }
}

.logo, .hero-logo { object-fit: contain; }

[hidden] { display: none !important; }

