/* Mundial Lanches — Cardápio Digital */

:root {
  --bg: #000000;
  --bg-card: #111111;
  --yellow: #FFF000;
  --yellow-dark: #FFD800;
  --white: #FFFFFF;
  --gray: #D0D0D0;
  --red: #D92720;
  --green: #3F8C35;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-script: "Caveat", cursive;
  --font-body: "Roboto Condensed", 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(--bg);
  color: var(--white);
  line-height: 1.45;
  min-height: 100dvh;
  padding-bottom: calc(72px + var(--safe-bottom));
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 3px solid var(--yellow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 14px;
  min-height: var(--header-height);
}

.logo-link {
  flex-shrink: 0;
}

.logo {
  width: 48px;
  height: 48px;
}

.header-title {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.header-title h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--yellow);
  letter-spacing: 0.06em;
  line-height: 1;
}

.header-title span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--white);
  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: 4px;
  border: 2px solid var(--yellow);
  background: var(--bg);
  color: var(--yellow);
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.icon-btn:active {
  background: var(--yellow);
  color: var(--bg);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

/* ── Hero ── */

.hero {
  text-align: center;
  padding: 24px 16px 20px;
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(180deg, #0a0a0a 0%, var(--bg) 100%);
  border-bottom: 2px solid var(--yellow-dark);
}

.hero-logo {
  width: 110px;
  height: 110px;
  margin: 0 auto 12px;
}

.hero h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--yellow);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 2px;
}

.hero .brand-sub {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.25em;
  color: var(--white);
  margin-bottom: 12px;
}

.hero-tagline {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--yellow-dark);
  line-height: 1.2;
}

.hero-strip {
  margin-top: 16px;
  background: var(--yellow);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  padding: 6px 12px;
}

/* ── Category Nav ── */

.category-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  background: var(--bg);
  border-bottom: 2px solid var(--yellow);
}

.category-nav-inner {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 640px;
  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.8rem;
  letter-spacing: 0.06em;
  color: var(--gray);
  border: 2px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.category-nav a.active,
.category-nav a:active {
  color: var(--bg);
  background: var(--yellow);
  border-color: var(--yellow);
}

/* ── Menu ── */

.menu {
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 12px 32px;
}

.menu-section {
  padding: 20px 0 8px;
  scroll-margin-top: calc(var(--header-height) + var(--nav-height) + 8px);
}

.section-header {
  text-align: center;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--yellow);
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

.section-strip {
  width: 60px;
  height: 4px;
  background: var(--yellow);
  margin: 8px auto 0;
}

.section-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray);
  margin: -8px 0 14px;
  font-style: italic;
}

/* ── Product Cards ── */

.product-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card {
  background: var(--bg-card);
  border: 2px solid var(--yellow-dark);
  overflow: hidden;
}

.product-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #1a1a1a;
  border-bottom: 3px solid var(--yellow);
}

.product-body {
  padding: 14px 14px 16px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--yellow);
  letter-spacing: 0.06em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 12px;
}

.product-price {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--bg);
  background: var(--yellow);
  padding: 4px 14px;
  letter-spacing: 0.04em;
}

/* ── Simple list (adicionais, bebidas) ── */

.simple-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.simple-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 12px;
  background: var(--bg-card);
  border-left: 4px solid var(--yellow);
}

.simple-item-name {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--yellow);
}

.simple-item-dots {
  flex: 1;
  min-width: 8px;
  border-bottom: 2px dotted rgba(255, 240, 0, 0.35);
  transform: translateY(-3px);
}

.simple-item-price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--yellow-dark);
}

.simple-item.no-price .simple-item-dots {
  display: none;
}

.simple-item.no-price .simple-item-name {
  flex: 1;
}

/* ── Tags grid (adicionais) ── */

.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--bg);
  background: var(--yellow);
  padding: 6px 12px;
}

/* ── Bottom bar ── */

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--bg);
  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 6px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--gray);
  transition: color 0.15s;
  -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); }

/* ── Footer ── */

.site-footer {
  text-align: center;
  padding: 20px 16px 12px;
  max-width: 640px;
  margin: 0 auto;
  border-top: 2px solid var(--yellow-dark);
}

.site-footer p {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gray);
}

/* ── Tablet / Desktop ── */

@media (min-width: 480px) {
  .hero h2 { font-size: 2.4rem; }
  .section-title { font-size: 2rem; }
  .product-name { font-size: 1.65rem; }
}

@media (min-width: 600px) {
  .product-grid--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }

  .bottom-bar {
    position: static;
    max-width: 640px;
    margin: 0 auto 24px;
    border: 2px solid var(--yellow);
  }
}

.logo, .hero-logo { object-fit: contain; }

[hidden] { display: none !important; }

