/* ═══════════════════════════════════════════
   Imperial Pizzaria — Cardápio Digital
   ═══════════════════════════════════════════ */

:root {
  --red: #c62828;
  --red-dark: #8e0000;
  --gold: #f5c518;
  --gold-light: #fff3cd;
  --cream: #fdf5e6;
  --dark: #1a1a2e;
  --gray: #666;
  --gray-light: #f5f5f5;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ─── HEADER ─── */
.header {
  position: relative;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, #d32f2f 100%);
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  overflow: hidden;
}

.header-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .4;
}

.header-content { position: relative; z-index: 1; }

.logo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  margin-bottom: .75rem;
  background: #fff;
}

.header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  letter-spacing: -.5px;
}

.subtitle {
  font-size: .95rem;
  opacity: .85;
  margin-top: -.25rem;
}

.desc {
  font-size: .85rem;
  opacity: .7;
  margin-top: .5rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  padding: .7rem 1.5rem;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.btn-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
}

/* ─── CATEGORIES NAV ─── */
.categories {
  display: flex;
  gap: .4rem;
  padding: .75rem 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
}

.categories::-webkit-scrollbar { display: none; }

.cat-btn {
  flex-shrink: 0;
  padding: .45rem .85rem;
  border: 1.5px solid #ddd;
  border-radius: 50px;
  background: #fff;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.cat-btn:hover { border-color: var(--red); color: var(--red); }
.cat-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ─── SIZE GUIDE ─── */
.size-guide {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  padding: .75rem 1rem;
  background: var(--gold-light);
  font-size: .78rem;
  color: #856404;
  border-bottom: 1px solid #ffeeba;
  justify-content: center;
  text-align: center;
}

/* ─── MENU GRID ─── */
.container { padding: .75rem; }

.menu-section {
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--red);
  padding: .5rem .25rem;
  margin-bottom: .5rem;
  border-bottom: 2px solid var(--red);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.section-title .badge {
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  background: var(--red);
  color: #fff;
  padding: .15rem .55rem;
  border-radius: 50px;
}

.item {
  background: #fff;
  border-radius: var(--radius);
  padding: .85rem 1rem;
  margin-bottom: .6rem;
  box-shadow: var(--shadow);
  transition: transform .15s;
}

.item:hover { transform: translateY(-1px); }

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
}

.item-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
}

.item-desc {
  font-size: .8rem;
  color: var(--gray);
  margin-top: .25rem;
  line-height: 1.4;
}

.prices {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .6rem;
  margin-top: .5rem;
  font-size: .82rem;
}

.price-tag {
  background: var(--gray-light);
  padding: .15rem .55rem;
  border-radius: 6px;
  white-space: nowrap;
}

.price-tag strong { color: var(--red); }

.price-unico {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--red);
}

/* ─── FOOTER ─── */
.footer {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--dark);
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}

.footer a { color: #25d366; text-decoration: none; font-weight: 600; }
.footer-small { font-size: .75rem; margin-top: .25rem; opacity: .6; }
