/* ═══════════════════════════════════════════════════════
   Forno & Brasa — Pizzaria Artesanal
   Tema: dark / moderno / animado
   ═══════════════════════════════════════════════════════ */

/* ── Variáveis ── */
:root {
  --bg: #140f0c;
  --bg-alt: #1b140f;
  --surface: #1f1712;
  --surface-2: #261d16;
  --surface-3: #2e241b;
  --border: rgba(245, 237, 228, 0.09);
  --border-strong: rgba(245, 237, 228, 0.16);

  --text: #f5ede4;
  --text-soft: #d6c9ba;
  --muted: #a89a89;
  --faint: #77695a;

  --tomato: #e04b2e;
  --tomato-dark: #c23a1f;
  --tomato-soft: rgba(224, 75, 46, 0.14);
  --basil: #8ab843;
  --basil-soft: rgba(138, 184, 67, 0.14);
  --gold: #f2b03d;
  --gold-soft: rgba(242, 176, 61, 0.14);
  --cream: #f5ede4;

  --ok: #8ab843;
  --warn: #f2b03d;
  --err: #e04b2e;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --header-h: 72px;
  --container: 1180px;

  --t-fast: 0.18s ease;
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; }
::selection { background: var(--tomato); color: #fff; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #3a2d22; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--tomato); }

/* ── Utilidades ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.hidden { display: none !important; }

/* ── Splash de entrada ── */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  opacity: 1; transition: opacity 0.55s ease, visibility 0.55s ease;
}
.splash.done { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-inner { text-align: center; animation: splash-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.splash-pizza { font-size: 72px; display: block; animation: float 3s ease-in-out infinite; }
.splash-name {
  display: block; margin-top: 14px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; color: var(--text);
}
.splash-name::after { content: ''; display: block; width: 60px; height: 3px; margin: 12px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--tomato), var(--gold)); }
@keyframes splash-pop { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ── Scroll progress ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--tomato), var(--gold));
  z-index: 9999; transition: width 0.1s linear;
}

/* ── Botões ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 26px;
  border: none; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(135deg, var(--tomato), var(--tomato-dark)); color: #fff; box-shadow: 0 8px 22px rgba(224, 75, 46, 0.35); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(224, 75, 46, 0.5); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #d9942a); color: #241a0a; box-shadow: 0 8px 22px rgba(242, 176, 61, 0.3); }
.btn-gold:hover { box-shadow: 0 12px 30px rgba(242, 176, 61, 0.45); }
.btn-basil { background: linear-gradient(135deg, var(--basil), #6d9430); color: #121708; box-shadow: 0 8px 22px rgba(138, 184, 67, 0.3); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); background: var(--surface-3); }
.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--tomato); color: var(--tomato); }
.btn-danger { background: rgba(224, 75, 46, 0.12); color: #ff8a6b; border: 1px solid rgba(224, 75, 46, 0.35); }
.btn-danger:hover { background: rgba(224, 75, 46, 0.2); }
.btn-amber { background: rgba(242, 176, 61, 0.12); color: var(--gold); border: 1px solid rgba(242, 176, 61, 0.4); }
.btn-amber:hover { background: rgba(242, 176, 61, 0.22); box-shadow: 0 6px 16px rgba(242, 176, 61, 0.18); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; height: 42px; padding: 0; border-radius: 50%; }

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px; border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em;
  border: 1px solid var(--border);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Estados do pedido */
.estado-recebido    { --ec: var(--gold);  background: var(--gold-soft);   color: var(--gold);  border-color: rgba(242, 176, 61, 0.3); }
.estado-preparacao  { --ec: var(--tomato);background: var(--tomato-soft); color: #ff8a6b;      border-color: rgba(224, 75, 46, 0.35); }
.estado-pronto      { --ec: var(--basil); background: var(--basil-soft);  color: var(--basil); border-color: rgba(138, 184, 67, 0.3); }
.estado-entregue    { --ec: var(--muted); background: rgba(168, 154, 137, 0.1); color: var(--muted); border-color: rgba(168, 154, 137, 0.25); }
.estado-levantado   { --ec: var(--basil); background: var(--basil-soft); color: var(--basil); border-color: rgba(138, 184, 67, 0.35); }
.estado-cancelado   { --ec: var(--faint); background: rgba(119, 106, 90, 0.12); color: var(--faint); border-color: rgba(119, 106, 90, 0.3); text-decoration: line-through; }
.estado-devolvido   { --ec: var(--warn); background: var(--gold-soft); color: var(--gold); border-color: rgba(242, 176, 61, 0.4); }
.order-card.estado-devolvido { border-left-color: var(--gold); }
.order-card.estado-devolvido .badge { animation: pulse 1.8s ease-in-out infinite; }

/* A cozinha sinalizou o pedido como pronto (visível no balcão) */
.order-card.pronto-glow { animation: pronto-glow 2.4s ease-in-out infinite; }
@keyframes pronto-glow {
  0%, 100% { border-color: var(--border); box-shadow: 0 0 0 0 rgba(138, 184, 67, 0); }
  50% { border-color: rgba(138, 184, 67, 0.55); box-shadow: 0 0 0 8px rgba(138, 184, 67, 0.12); }
}
.pronto-kitchen {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 12px; padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--basil-soft); border: 1px solid rgba(138, 184, 67, 0.45);
  font-size: 0.88rem; font-weight: 600; color: var(--basil);
}
.pronto-kitchen i { font-size: 1.05rem; }
.pronto-kitchen b { font-weight: 800; }

/* ── Header ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  background: rgba(20, 15, 12, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), height var(--t), box-shadow var(--t);
}
.header.scrolled { background: rgba(20, 15, 12, 0.92); border-color: var(--border); box-shadow: var(--shadow-sm); height: 62px; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }

.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; color: var(--text); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(135deg, var(--tomato), var(--tomato-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 16px rgba(224, 75, 46, 0.35);
  transition: transform var(--t-spring);
}
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.08); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a {
  position: relative;
  padding: 9px 15px; border-radius: var(--radius-pill);
  color: var(--text-soft); font-size: 0.93rem; font-weight: 600;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links > a:hover { color: var(--text); background: rgba(245, 237, 228, 0.06); }
.nav-links > a.active { color: var(--text); background: rgba(245, 237, 228, 0.09); }
.nav-links > a.active::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--tomato), var(--gold));
}
.nav-internal { display: flex; align-items: center; gap: 4px; margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--border); }
.nav-internal-label { font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); margin-right: 2px; }
.nav-internal-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 700; color: var(--text-soft);
  border: 1px solid var(--border);
  transition: all var(--t-fast);
}
.nav-internal-link:hover { color: var(--gold); border-color: rgba(242, 176, 61, 0.4); background: var(--gold-soft); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cart { position: relative; }
.cart-count[hidden] { display: none; }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--gold); color: #241a0a;
  border-radius: var(--radius-pill);
  font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
  animation: badge-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes badge-pop { from { transform: scale(0); } to { transform: scale(1); } }

.mobile-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-size: 1.1rem; align-items: center; justify-content: center; transition: background var(--t-fast), transform var(--t-fast); }
.mobile-toggle:hover { background: var(--surface-3); }
.mobile-toggle:active { transform: scale(0.92); }

/* ── Hero ── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 90px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -260px; right: -180px;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 75, 46, 0.22), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -300px; left: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 184, 67, 0.14), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 17px; border-radius: var(--radius-pill);
  background: var(--tomato-soft); border: 1px solid rgba(224, 75, 46, 0.3);
  color: #ff8a6b; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tomato); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(224, 75, 46, 0.55); } 50% { box-shadow: 0 0 0 9px rgba(224, 75, 46, 0); } }

.hero-title { font-size: clamp(2.6rem, 5vw, 4.1rem); font-weight: 900; line-height: 1.05; margin-bottom: 22px; }
.hero-title .accent-grad {
  background: linear-gradient(120deg, var(--tomato), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.12rem; color: var(--text-soft); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 900; color: var(--text); line-height: 1; }
.hero-stat b .u { color: var(--tomato); }
.hero-stat span { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }

/* Pizza animada do hero */
.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.pizza-stage { position: relative; width: 380px; height: 380px; }
.pizza-glow {
  position: absolute; inset: 30px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 75, 46, 0.35), rgba(242, 176, 61, 0.12) 60%, transparent 70%);
  animation: glow-breathe 4s ease-in-out infinite;
}
@keyframes glow-breathe { 0%, 100% { transform: scale(0.94); opacity: 0.75; } 50% { transform: scale(1.05); opacity: 1; } }
.pizza-disc {
  position: absolute; inset: 55px; border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 244, 220, 0.9) 0 13%, rgba(242, 176, 61, 0.95) 13% 34%, rgba(196, 122, 30, 0.95) 34% 46%, rgba(224, 75, 46, 0.98) 46% 82%, rgba(194, 58, 31, 0.98) 82% 92%, rgba(156, 82, 26, 1) 92% 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 -12px 26px rgba(120, 40, 10, 0.55), inset 0 8px 18px rgba(255, 220, 160, 0.35);
  animation: pizza-spin 40s linear infinite;
}
@keyframes pizza-spin { to { transform: rotate(360deg); } }
.pizza-disc::before, .pizza-disc::after {
  content: ''; position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #f2b03d, #c23a1f 70%);
  box-shadow: 0 6px 14px rgba(60, 20, 0, 0.5);
}
.pizza-disc::before { width: 52px; height: 52px; top: 20%; left: 24%; }
.pizza-disc::after { width: 42px; height: 42px; bottom: 24%; right: 20%; }
.pizza-disc .pep1, .pizza-disc .pep2, .pizza-disc .pep3 {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #c94f33, #8a2413 75%);
  box-shadow: 0 5px 12px rgba(60, 10, 0, 0.45);
}
.pizza-disc .pep1 { width: 46px; height: 46px; top: 12%; right: 26%; }
.pizza-disc .pep2 { width: 38px; height: 38px; bottom: 14%; left: 30%; }
.pizza-disc .pep3 { width: 40px; height: 40px; top: 44%; left: 12%; }
.pizza-disc .basil-leaf {
  position: absolute; width: 26px; height: 15px; border-radius: 60% 10% 60% 10%;
  background: radial-gradient(circle at 40% 40%, #a5cd5d, #567d1c 75%);
  transform: rotate(35deg);
}
.pizza-disc .basil-leaf.b1 { top: 26%; right: 12%; transform: rotate(35deg); }
.pizza-disc .basil-leaf.b2 { bottom: 30%; left: 42%; transform: rotate(-45deg) scale(0.85); }
.pizza-disc .basil-leaf.b3 { top: 8%; left: 34%; transform: rotate(120deg) scale(0.7); }

.steam { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 14px; }
.steam span {
  display: block; width: 10px; height: 42px; border-radius: 50%;
  background: linear-gradient(to top, rgba(245, 237, 228, 0.28), transparent);
  filter: blur(2px);
  animation: steam-rise 2.6s ease-in-out infinite;
}
.steam span:nth-child(2) { animation-delay: 0.7s; height: 54px; }
.steam span:nth-child(3) { animation-delay: 1.4s; height: 38px; }
@keyframes steam-rise {
  0% { transform: translateY(14px) scaleX(1); opacity: 0; }
  40% { opacity: 0.9; }
  100% { transform: translateY(-26px) scaleX(1.6); opacity: 0; }
}

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--radius-pill);
  background: rgba(31, 23, 18, 0.85); border: 1px solid var(--border-strong);
  font-size: 0.85rem; font-weight: 700; color: var(--text);
  box-shadow: var(--shadow); backdrop-filter: blur(6px);
  animation: float 4.5s ease-in-out infinite;
  z-index: 3;
}
.float-chip .fc-emoji { font-size: 1.05rem; }
.float-chip.fc-1 { top: 12%; left: -6%; animation-delay: 0s; }
.float-chip.fc-2 { bottom: 22%; right: -8%; animation-delay: 1.2s; }
.float-chip.fc-3 { top: 46%; right: -14%; animation-delay: 2.3s; }
.float-chip.fc-4 { bottom: -4%; left: 12%; animation-delay: 0.8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

/* ── Marquee ── */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--bg-alt); padding: 15px 0; position: relative; }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 46px; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--text-soft); white-space: nowrap; }
.marquee-item .sep { color: var(--tomato); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Secções ── */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--tomato); margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after { content: ''; width: 22px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--tomato)); }
.eyebrow::after { background: linear-gradient(90deg, var(--tomato), transparent); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 900; margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 1.02rem; }

/* ── Steps (como funciona) ── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 24px 26px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  overflow: hidden;
}
.step-card::before {
  content: counter(step); counter-increment: step;
  position: absolute; top: -14px; right: 10px;
  font-family: var(--font-display); font-weight: 900; font-size: 5.2rem; line-height: 1;
  color: rgba(245, 237, 228, 0.05); pointer-events: none;
}
.step-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.step-icon {
  width: 54px; height: 54px; border-radius: 16px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  background: var(--tomato-soft); color: var(--tomato);
  transition: transform var(--t-spring), background var(--t), color var(--t);
}
.step-card:hover .step-icon { transform: rotate(-8deg) scale(1.1); }
.step-card:nth-child(2) .step-icon { background: var(--gold-soft); color: var(--gold); }
.step-card:nth-child(3) .step-icon { background: var(--basil-soft); color: var(--basil); }
.step-card:nth-child(4) .step-icon { background: rgba(168, 154, 137, 0.12); color: var(--muted); }
.step-card h3 { font-size: 1.13rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--muted); }

/* ── Cards de destaque / vantagens ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 28px; position: relative; overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.feature-card::after {
  content: ''; position: absolute; top: -60px; right: -60px; width: 150px; height: 150px;
  border-radius: 50%; background: radial-gradient(circle, rgba(224, 75, 46, 0.16), transparent 70%);
  opacity: 0; transition: opacity var(--t);
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(224, 75, 46, 0.35); box-shadow: var(--shadow); }
.feature-card:hover::after { opacity: 1; }
.feature-icon { width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.55rem; background: var(--tomato-soft); color: var(--tomato); margin-bottom: 20px; }
.feature-card:nth-child(2) .feature-icon { background: var(--gold-soft); color: var(--gold); }
.feature-card:nth-child(3) .feature-icon { background: var(--basil-soft); color: var(--basil); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; color: var(--muted); }

/* ── Pizza cards (menu) ── */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pizza-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
}
.pizza-card:hover { transform: translateY(-6px); border-color: rgba(224, 75, 46, 0.35); box-shadow: var(--shadow-lg); }
.pizza-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.pizza-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pizza-card:hover .pizza-media img { transform: scale(1.08); }
.pizza-media.no-img { display: flex; align-items: center; justify-content: center; }
.pizza-media.no-img .pizza-emoji-big { font-size: 5.2rem; filter: drop-shadow(0 12px 18px rgba(0,0,0,0.5)); animation: float 4s ease-in-out infinite; }
.pizza-cat {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: rgba(20, 15, 12, 0.75); backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-soft);
}
.pizza-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.pizza-name { font-size: 1.32rem; font-weight: 900; margin-bottom: 7px; }
.pizza-desc { font-size: 0.88rem; color: var(--muted); margin-bottom: 15px; flex: 1; }
.pizza-base { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.base-tag {
  font-size: 0.72rem; font-weight: 600; color: var(--text-soft);
  background: var(--surface-3); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.pizza-sizes { display: flex; gap: 6px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 4px; margin-bottom: 16px; }
.size-btn {
  flex: 1; padding: 8px 6px; border: none; border-radius: var(--radius-pill);
  background: transparent; color: var(--muted); font-size: 0.82rem; font-weight: 700;
  transition: all var(--t-fast);
}
.size-btn small { display: block; font-size: 0.68rem; font-weight: 500; color: inherit; opacity: 0.75; }
.size-btn:hover { color: var(--text); }
.size-btn.active { background: var(--tomato); color: #fff; box-shadow: 0 4px 12px rgba(224, 75, 46, 0.4); }
.pizza-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pizza-price { display: flex; flex-direction: column; line-height: 1.15; }
.pizza-price .pp-label { font-size: 0.7rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }
.pizza-price .pp-val { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; color: var(--gold); }

/* Filtros do menu */
.menu-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  padding: 10px 22px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-soft); font-size: 0.9rem; font-weight: 700;
  transition: all var(--t-fast);
}
.filter-btn:hover { border-color: var(--border-strong); color: var(--text); transform: translateY(-1px); }
.filter-btn.active { background: linear-gradient(135deg, var(--tomato), var(--tomato-dark)); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(224, 75, 46, 0.35); }

/* ── Página de pedido ── */
.page-hero { padding: calc(var(--header-h) + 46px) 0 34px; text-align: center; position: relative; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 900; margin-bottom: 10px; }
.page-hero p { color: var(--muted); font-size: 1.04rem; max-width: 560px; margin: 0 auto; }

.pedido-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; padding-bottom: 90px; }
.pedido-main, .pedido-aside { display: flex; flex-direction: column; gap: 26px; }

/* Caixa de cartão / painéis */
.panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px;
}
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-title h2 { font-size: 1.22rem; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.panel-title h2 .pt-emoji { font-size: 1.3rem; }
.panel-count { font-size: 0.78rem; font-weight: 800; color: var(--tomato); background: var(--tomato-soft); padding: 4px 12px; border-radius: var(--radius-pill); }

/* Itens do carrinho */
.cart-item {
  display: flex; gap: 14px; padding: 15px 0;
  border-bottom: 1px solid var(--border);
  animation: item-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-item:last-child { border-bottom: none; }
@keyframes item-in { from { transform: translateX(26px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.cart-item-emoji {
  width: 52px; height: 52px; min-width: 52px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 800; font-size: 0.98rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cart-item-meta { font-size: 0.8rem; color: var(--muted); margin-top: 3px; }
.cart-item-meta .tag-diff { display: inline-flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; }
.diff-tag { font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-pill); }
.diff-tag.rem { background: rgba(224, 75, 46, 0.12); color: #ff8a6b; }
.diff-tag.add { background: var(--basil-soft); color: var(--basil); }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.cart-item-price { font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; color: var(--gold); white-space: nowrap; }
.cart-item-actions { display: flex; gap: 6px; align-items: center; }

.qty-stepper { display: inline-flex; align-items: center; gap: 2px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 3px; }
.qty-btn {
  width: 28px; height: 28px; border: none; border-radius: 50%;
  background: transparent; color: var(--text-soft); font-size: 0.95rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), color var(--t-fast);
}
.qty-btn:hover { background: var(--surface-3); color: var(--text); }
.qty-val { min-width: 26px; text-align: center; font-weight: 800; font-size: 0.9rem; }
.mini-btn {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text-soft); font-size: 0.85rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
}
.mini-btn:hover { background: var(--surface-3); color: var(--text); }
.mini-btn.danger:hover { background: rgba(224, 75, 46, 0.15); color: #ff8a6b; border-color: rgba(224, 75, 46, 0.4); }

/* Quick add (mini pizzas no pedido) */
.quick-add { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--border);
  cursor: pointer; transition: all var(--t-fast); text-align: left;
}
.quick-item:hover { border-color: rgba(224, 75, 46, 0.4); background: var(--surface-3); transform: translateY(-1px); }
.quick-item .qi-emoji { font-size: 1.5rem; }
.quick-item .qi-info { flex: 1; min-width: 0; }
.quick-item .qi-name { font-size: 0.86rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick-item .qi-price { font-size: 0.74rem; color: var(--gold); font-weight: 700; }
.quick-item .qi-add { color: var(--tomato); font-size: 1rem; }

/* Resumo / totais */
.totals { border-top: 1px dashed var(--border-strong); padding-top: 16px; margin-top: 4px; }
.total-row { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--text-soft); padding: 5px 0; }
.total-row .free { color: var(--basil); font-weight: 700; }
.total-row.grand { font-size: 1.18rem; font-weight: 900; color: var(--text); border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; }
.total-row.grand .val { color: var(--gold); font-family: var(--font-display); }

/* Formulário */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 7px; color: var(--text-soft); }
.form-control {
  width: 100%; padding: 13px 16px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  outline: none;
}
.form-control:focus { border-color: var(--tomato); box-shadow: 0 0 0 3px rgba(224, 75, 46, 0.18); background: var(--surface-3); }
.form-control::placeholder { color: var(--faint); }
.form-control.is-invalid { border-color: var(--err); box-shadow: 0 0 0 3px rgba(224, 75, 46, 0.15); }
textarea.form-control { resize: vertical; min-height: 96px; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a89a89' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { font-size: 0.76rem; color: var(--faint); margin-top: 5px; }
.form-msg { font-size: 0.84rem; font-weight: 700; margin-top: 12px; min-height: 0; }
.form-msg.ok { color: var(--basil); }
.form-msg.err { color: #ff8a6b; }

.radio-pills { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill .pill-label {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 2px solid var(--border);
  cursor: pointer; transition: all var(--t-fast); font-weight: 700; font-size: 0.92rem;
}
.radio-pill .pill-label .pill-emoji { font-size: 1.35rem; }
.radio-pill .pill-label small { display: block; font-size: 0.74rem; color: var(--muted); font-weight: 500; }
.radio-pill input:checked + .pill-label { border-color: var(--tomato); background: var(--tomato-soft); color: var(--text); }
.radio-pill input:checked + .pill-label .pill-emoji { animation: badge-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* Indicador de passos (pedido) */
.steps-indicator { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.step-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); font-size: 0.86rem; font-weight: 700;
  transition: all var(--t);
}
.step-pill .sp-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface-3); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.74rem; font-weight: 800; transition: all var(--t);
}
.step-pill.active { border-color: rgba(224, 75, 46, 0.5); color: var(--text); background: var(--tomato-soft); }
.step-pill.active .sp-num { background: var(--tomato); color: #fff; }
.step-pill.done { border-color: rgba(138, 184, 67, 0.4); color: var(--basil); }
.step-pill.done .sp-num { background: var(--basil); color: #0d1106; }
.step-arrow { color: var(--faint); font-size: 0.8rem; }

/* Ecrã de sucesso + tracker ao vivo */
.success-screen { text-align: center; padding: 30px 0 50px; animation: item-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.success-check {
  width: 92px; height: 92px; margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--basil), #6d9430);
  display: flex; align-items: center; justify-content: center;
  color: #0d1106; font-size: 2.6rem;
  box-shadow: 0 18px 44px rgba(138, 184, 67, 0.4);
  animation: check-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes check-pop { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.success-title { font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.success-sub { color: var(--muted); max-width: 460px; margin: 0 auto 8px; }
.order-num-big {
  display: inline-block; margin: 14px 0 26px; padding: 10px 26px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.6rem;
  color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(242, 176, 61, 0.35);
  border-radius: var(--radius); letter-spacing: 0.02em;
}

/* Tracker de estado (viaja com o card) */
.tracker { display: flex; align-items: flex-start; justify-content: center; max-width: 640px; margin: 0 auto; padding: 8px 0; }
.tracker-step { flex: 1; text-align: center; position: relative; }
.tracker-step .ts-dot {
  width: 46px; height: 46px; margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--surface-3); border: 2px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--faint);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative; z-index: 2;
}
.tracker-step .ts-label { font-size: 0.78rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; transition: color var(--t); }
.tracker-step.active .ts-dot { background: var(--tomato); border-color: var(--tomato); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 8px rgba(224, 75, 46, 0.15); animation: pulse 1.8s ease-in-out infinite; }
.tracker-step.active .ts-label { color: var(--tomato); }
.tracker-step.done .ts-dot { background: var(--basil); border-color: var(--basil); color: #0d1106; }
.tracker-step.done .ts-label { color: var(--basil); }
.tracker-step.cancel .ts-dot { background: var(--err); border-color: var(--err); color: #fff; }
.tracker-step.cancel .ts-label { color: var(--err); }
.tracker-step.devolvido .ts-dot { background: var(--gold); border-color: var(--gold); color: #241a0a; box-shadow: 0 0 0 8px rgba(242, 176, 61, 0.15); }
.tracker-step.devolvido .ts-label { color: var(--gold); }
.tracker-line { position: absolute; top: 23px; left: 50%; width: 100%; height: 2px; background: var(--border-strong); z-index: 1; }
.tracker-line .tl-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--basil), var(--tomato)); transition: width 0.5s ease; }
.tracker-step.done .tracker-line .tl-fill, .tracker-step.active .tracker-line .tl-fill { width: 100%; }

/* ── Modo demonstração ── */
.demo-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: rgba(242, 176, 61, 0.12); border: 1px solid rgba(242, 176, 61, 0.45);
  color: var(--gold); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em;
  white-space: nowrap;
}
.demo-logins {
  max-width: 460px; margin: 18px auto 0;
  background: var(--surface); border: 1px dashed rgba(242, 176, 61, 0.55);
  border-radius: var(--radius); padding: 18px 20px;
}
.demo-logins h4 { font-family: var(--font-display); font-weight: 900; font-size: 1rem; margin-bottom: 4px; }
.demo-logins-note { font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; }
.demo-logins table { width: 100%; border-collapse: collapse; }
.demo-logins th, .demo-logins td {
  text-align: left; padding: 7px 8px; font-size: 0.84rem;
  border-bottom: 1px solid var(--border);
}
.demo-logins th {
  color: var(--faint); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em;
}
.demo-logins tr:last-child td { border-bottom: none; }
.demo-logins code {
  background: var(--surface-3); border: 1px solid var(--border-strong);
  padding: 2px 9px; border-radius: 7px; font-weight: 800; color: var(--gold);
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

/* ── Layout interno (balcão/cozinha sem header público) ── */
.topbar-interna {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--topbar-h, 62px);
  background: rgba(20, 15, 12, 0.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.topbar-interna-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar-interna-right { display: flex; align-items: center; gap: 10px; }
body.layout-interno .dash-hero { padding-top: calc(var(--topbar-h, 62px) + 26px); }
.main-interna { min-height: 100vh; }
.col-empty {
  font-size: 0.78rem; color: var(--faint); font-style: italic; text-align: center;
  padding: 14px 0;
}

/* ── Login de staff ── */
.login-card { max-width: 460px; margin: 0 auto; padding: 36px 32px; text-align: center; }
.login-emoji { font-size: 2.8rem; line-height: 1; margin-bottom: 10px; }
.login-card h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; margin-bottom: 6px; }
.login-card > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }
.login-card form { text-align: left; }
.login-erro {
  background: var(--tomato-soft); color: #ff8a6b;
  padding: 11px 14px; border-radius: 10px; font-size: 0.88rem; font-weight: 600;
  margin-bottom: 18px; text-align: left;
}
.login-remember { margin: 2px 0 20px; }
.remember-label {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  font-size: 0.9rem; font-weight: 600; color: var(--text-soft); user-select: none;
}
.remember-label input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--tomato); cursor: pointer; flex-shrink: 0; }
.remember-label small { display: block; color: var(--muted); font-weight: 400; margin-top: 1px; }

/* ── Balcão / Cozinha ── */
.dash-hero { padding: calc(var(--header-h) + 46px) 0 26px; }
.dash-hero .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dash-title { display: flex; align-items: center; gap: 14px; }
.dash-title .dash-emoji { font-size: 2.2rem; }
.dash-title h1 { font-size: 1.9rem; font-weight: 900; }
.dash-title p { color: var(--muted); font-size: 0.92rem; }
.dash-live {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 700; color: var(--text-soft);
}
.dash-live .pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--basil); animation: pulse 1.6s ease-in-out infinite; }
.dash-live .live-clock { font-variant-numeric: tabular-nums; color: var(--gold); }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; display: flex; align-items: center; gap: 14px;
  transition: transform var(--t), border-color var(--t);
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.stat-emoji {
  width: 46px; height: 46px; min-width: 46px; border-radius: 13px;
  background: var(--surface-3); display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.stat-card:nth-child(1) .stat-emoji { background: var(--gold-soft); }
.stat-card:nth-child(2) .stat-emoji { background: var(--tomato-soft); }
.stat-card:nth-child(3) .stat-emoji { background: var(--basil-soft); }
.stat-card:nth-child(4) .stat-emoji { background: rgba(168, 154, 137, 0.12); }
.stat-info b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; line-height: 1.1; display: block; }
.stat-info span { font-size: 0.76rem; color: var(--muted); }

/* Staff a trabalhar */
.staff-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
}
.staff-chip i { color: var(--gold); font-size: 1.15rem; }
.staff-chip b { display: block; font-size: 0.86rem; font-weight: 800; color: var(--text-soft); line-height: 1.1; }
.staff-chip small { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 600; }

/* Filtros do balcão */
.dash-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-chip {
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-soft); font-size: 0.84rem; font-weight: 700;
  transition: all var(--t-fast);
}
.filter-chip .fc-count { color: var(--faint); font-weight: 600; margin-left: 3px; }
.filter-chip:hover { border-color: var(--border-strong); color: var(--text); }
.filter-chip.active { background: var(--text); color: var(--bg); border-color: transparent; }
.filter-chip.active .fc-count { color: var(--muted); }

/* Board de cards */
.board { display: flex; flex-direction: column; gap: 14px; padding-bottom: 70px; }
.board-col { display: flex; flex-direction: column; gap: 12px; }
.board-col-header { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; }
.board-col-header .bch-emoji { font-size: 1.15rem; }
.board-col-header h2 { font-size: 1rem; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.board-col-header .bch-count { font-size: 0.76rem; font-weight: 800; color: var(--text-soft); background: var(--surface-3); padding: 2px 10px; border-radius: var(--radius-pill); }
.board-col-header .bch-line { flex: 1; height: 1px; background: var(--border); }

/* Card de pedido (o mesmo viaja entre páginas) */
.order-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px 22px;
  border-left: 4px solid var(--ec, var(--faint));
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), opacity var(--t);
  animation: card-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative; overflow: hidden;
}
@keyframes card-in { from { transform: translateY(20px) scale(0.96); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.order-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.order-card.flash-new { animation: card-flash 1.6s ease; }
@keyframes card-flash {
  0% { box-shadow: 0 0 0 0 rgba(242, 176, 61, 0.7); }
  40% { box-shadow: 0 0 0 14px rgba(242, 176, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 176, 61, 0); }
}
.order-card.cancelado { opacity: 0.55; }
.order-card.entregue { opacity: 0.8; }

.order-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.order-id { display: flex; flex-direction: column; }
.order-id b { font-family: var(--font-display); font-size: 1.18rem; font-weight: 900; color: var(--text); }
.order-id .order-meta { font-size: 0.76rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.order-meta i { color: var(--faint); margin-right: 4px; }

.order-client { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.order-avatar {
  width: 38px; height: 38px; min-width: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--tomato), var(--gold));
  color: #fff; font-weight: 900; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
}
.order-client .oc-name { font-weight: 800; font-size: 0.95rem; }
.order-client .oc-tel { font-size: 0.8rem; color: var(--muted); }
.order-type-pill { margin-left: auto; font-size: 0.72rem; font-weight: 800; padding: 4px 11px; border-radius: var(--radius-pill); }
.order-type-pill.levantar { background: var(--gold-soft); color: var(--gold); }
.order-type-pill.entrega { background: var(--basil-soft); color: var(--basil); }
.order-type-pill.balcao, .order-type-pill.mesa { background: var(--tomato-soft); color: #ff8a6b; }
.order-client .order-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.order-client .order-pills .order-type-pill { margin-left: 0; }
.order-type-pill.pag-pill { background: rgba(168, 154, 137, 0.12); color: var(--text-soft); border: 1px solid var(--border); }

.order-items { margin-bottom: 14px; }
.order-item-line {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 0.88rem; color: var(--text-soft); padding: 4px 0;
  border-bottom: 1px dashed var(--border);
}
.order-item-line:last-child { border-bottom: none; }
.order-item-line .oil-name { font-weight: 600; }
.order-item-line .oil-name small { color: var(--faint); font-weight: 500; }
.order-item-line .oil-price { font-weight: 700; color: var(--text); white-space: nowrap; }

.order-details {
  display: none; margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--border-strong);
  animation: item-in 0.3s ease;
}
.order-card.open .order-details { display: block; }
.order-details h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin: 12px 0 8px; }
.order-details h4:first-child { margin-top: 0; }
.detail-pizza { padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px; }
.detail-pizza .dp-head { display: flex; justify-content: space-between; font-weight: 800; font-size: 0.9rem; margin-bottom: 6px; }
.detail-pizza .dp-head small { font-weight: 500; color: var(--muted); }
.detail-pizza.finalizado { opacity: 0.6; }
.detail-pizza.finalizado .dp-head { text-decoration: line-through; text-decoration-thickness: 1px; }
.btn-finalizar { margin-top: 8px; }
.dp-acoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.btn-remover-item {
  background: rgba(224, 75, 46, 0.12); color: #ff8a6b;
  border: 1px solid rgba(224, 75, 46, 0.35);
}
.btn-remover-item:hover { background: rgba(224, 75, 46, 0.22); }

/* ── Seletor de itens (balcão: adicionar itens) ── */
.pick-modal { display: flex; flex-direction: column; max-height: 78vh; }
.pick-head h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; margin-bottom: 4px; }
.pick-head p { color: var(--muted); font-size: 0.86rem; margin-bottom: 14px; }
.pick-seccao { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); margin: 14px 0 8px; }
.pick-lista { overflow-y: auto; padding-right: 4px; }
.pick-row {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 7px;
}
.pick-emoji { font-size: 1.35rem; width: 26px; text-align: center; flex-shrink: 0; }
.pick-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pick-name { font-weight: 700; font-size: 0.88rem; }
.pick-preco { font-size: 0.78rem; color: var(--gold); font-weight: 700; }
.pick-size {
  background: var(--surface-3); color: var(--text-soft); border: 1px solid var(--border-strong);
  border-radius: 8px; padding: 4px 8px; font-size: 0.76rem; font-weight: 600; max-width: 150px; cursor: pointer;
}
.pick-stepper { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.stepper-btn {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--surface-3); color: var(--text-soft); font-size: 1rem; font-weight: 800;
  cursor: pointer; line-height: 1; transition: transform var(--t), background var(--t);
}
.stepper-btn:hover { background: var(--tomato); color: #fff; transform: scale(1.1); }
.stepper-qtd { min-width: 18px; text-align: center; font-weight: 800; font-size: 0.92rem; }
.pick-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border);
}
.pick-total { font-size: 0.88rem; color: var(--text-soft); }
.pick-total b { color: var(--gold); font-size: 1rem; }

/* ── Catálogo de adicionar do balcão (pedido-balcao.php) ── */
.quick-add .pick-seccao { margin-top: 22px; }
.quick-add .pick-seccao:first-child { margin-top: 4px; }
.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.ba-card {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--border);
  cursor: pointer; text-align: left;
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.ba-card:hover { border-color: rgba(224, 75, 46, 0.45); background: var(--surface-3); transform: translateY(-2px); }
.ba-card:active { transform: scale(0.97); }
.ba-emoji { font-size: 1.5rem; width: 34px; text-align: center; flex-shrink: 0; }
.ba-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ba-name { font-weight: 700; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ba-price { font-size: 0.76rem; color: var(--gold); font-weight: 700; }
.ba-add {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--tomato); color: #fff; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(224, 75, 46, 0.35);
}

/* ── Pedido de balcão — otimizado para ecrã táctil (POS) ── */
.pos-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; padding-bottom: 90px; }
.pos-layout .pos-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pos-layout .quick-add { display: block; }
.pos-layout .pos-side { position: sticky; top: calc(var(--topbar-h, 62px) + 16px); display: flex; flex-direction: column; }
.pos-cart { display: flex; flex-direction: column; }
.pos-cart #cart-items { max-height: 44vh; overflow-y: auto; margin-bottom: 6px; }
.pos-totals { margin-top: 6px; }
.pos-pagamento { margin-top: 16px; }
.pos-pagamento > label { display: block; font-size: 0.86rem; font-weight: 700; color: var(--text-soft); margin-bottom: 8px; }
.pos-pag-pills { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.pos-pag-pills .pill-label { padding: 10px 8px; justify-content: center; font-size: 0.82rem; }
.pos-mesa { margin-top: 16px; }
.pos-mesa > label { display: block; font-size: 0.86rem; font-weight: 700; color: var(--text-soft); margin-bottom: 8px; }
.pos-mesa-row { display: flex; gap: 10px; }
.pos-mesa-input {
  flex: 1; min-width: 0; text-align: center;
  font-size: 1.5rem; font-weight: 800; padding: 16px 14px; border-radius: 14px;
}
.pos-confirm { flex: 1.4; font-size: 1.05rem; padding: 16px 20px; border-radius: 14px; }

/* catálogo maior e mais fácil de tocar — tiles verticais de POS */
.pos-layout .ba-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pos-layout .ba-card {
  position: relative; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px;
  padding: 16px 12px 58px; border-radius: 18px; min-height: 150px;
  text-align: center;
}
.pos-layout .ba-emoji { font-size: 2.4rem; width: auto; line-height: 1.1; }
.pos-layout .ba-name {
  font-size: 0.92rem; line-height: 1.15; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.2em; white-space: normal;
}
.pos-layout .ba-price { font-size: 0.82rem; color: var(--gold); font-weight: 700; margin-top: 2px; }
.pos-layout .ba-add {
  position: absolute; right: 10px; bottom: 10px;
  width: 38px; height: 38px; margin: 0; border-radius: 50%; font-size: 1rem;
}
.pos-layout .qty-btn { width: 40px; height: 40px; font-size: 1.25rem; border-radius: 12px; }
.pos-layout .mini-btn { width: 46px; height: 46px; font-size: 1.05rem; border-radius: 12px; }
.pos-layout .cart-item-emoji { width: 58px; height: 58px; min-width: 58px; font-size: 1.7rem; border-radius: 16px; }
.pos-layout .cart-item-name { font-size: 1.05rem; }
.pos-layout .cart-item-price { font-size: 1.15rem; }
.ing-line { display: flex; flex-wrap: wrap; gap: 5px; }
.ing-chip {
  font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-pill);
  background: var(--surface-3); color: var(--text-soft); border: 1px solid var(--border);
}
.ing-chip.off { color: var(--faint); text-decoration: line-through; background: rgba(224, 75, 46, 0.1); border-color: rgba(224, 75, 46, 0.3); }
.ing-chip.extra { background: var(--basil-soft); color: var(--basil); border-color: rgba(138, 184, 67, 0.35); }
.ing-chip.extra::before { content: '+ '; }
.notas-box {
  margin-top: 8px; padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--gold-soft); border: 1px solid rgba(242, 176, 61, 0.3);
  font-size: 0.84rem; color: var(--gold);
}
.notas-box i { margin-right: 6px; }

.order-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.order-total { display: flex; flex-direction: column; line-height: 1.15; }
.order-total .ot-label { font-size: 0.7rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }
.order-total .ot-val { font-family: var(--font-display); font-size: 1.35rem; font-weight: 900; color: var(--gold); }
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Cozinha: colunas */
.kitchen-board { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; padding-bottom: 70px; }
.kitchen-col { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; min-height: 120px; }
.kitchen-col .board-col-header { margin-bottom: 14px; }
.kitchen-col.c1 .bch-emoji { filter: drop-shadow(0 4px 10px rgba(242, 176, 61, 0.4)); }
.kitchen-col.c2 .bch-emoji { filter: drop-shadow(0 4px 10px rgba(224, 75, 46, 0.4)); }
.kitchen-cards { display: flex; flex-direction: column; gap: 14px; }

.kitchen-timer { font-family: var(--font-body); font-size: 0.84rem; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; background: var(--gold-soft); padding: 3px 10px; border-radius: var(--radius-pill); }

/* Caixa de motivo de devolução */
.motivo-box {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px; padding: 9px 14px; border-radius: var(--radius-sm);
  background: var(--gold-soft); border: 1px solid rgba(242, 176, 61, 0.4);
  font-size: 0.84rem; font-weight: 700; color: var(--gold);
}

/* Modal de devolução ao balcão */
.devolver-motivos { display: flex; flex-direction: column; gap: 8px; }
.devolver-opcao { position: relative; }
.devolver-opcao input { position: absolute; opacity: 0; pointer-events: none; }
.devolver-opcao span {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 15px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 2px solid var(--border);
  cursor: pointer; font-size: 0.9rem; font-weight: 700; color: var(--text-soft);
  transition: all var(--t-fast);
}
.devolver-opcao span::before { content: '○'; color: var(--faint); font-size: 1.05rem; }
.devolver-opcao input:checked + span { border-color: var(--gold); background: var(--gold-soft); color: var(--text); }
.devolver-opcao input:checked + span::before { content: '●'; color: var(--gold); }

/* Card simplificado da cozinha */
.order-card.kitchen { padding: 16px 18px; }
.kc-client { font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.kc-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.kc-vazio {
  font-size: 0.8rem; font-weight: 600; color: var(--muted); font-style: italic;
  border: 1px dashed var(--border-strong); border-radius: 10px; padding: 10px 12px; text-align: center;
}
.kc-item { display: flex; gap: 10px; align-items: flex-start; }
.kc-emoji {
  width: 36px; height: 36px; min-width: 36px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.kc-info { flex: 1; min-width: 0; }
.kc-name { font-size: 0.92rem; font-weight: 800; }
.kc-name small { color: var(--muted); font-weight: 600; }
.kc-ing { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.kc-ing-chip {
  font-size: 0.7rem; font-weight: 700; padding: 2px 9px; border-radius: var(--radius-pill);
  background: var(--surface-3); border: 1px solid var(--border); color: var(--text-soft);
}
.kitchen-timer.long { color: #ff8a6b; background: var(--tomato-soft); }

/* ── Botões da cozinha: quadrados e touch-friendly (ecrã tátil) ── */
.order-card.kitchen .order-card-footer {
  display: flex; flex-direction: column; gap: 12px; align-items: stretch;
}
.order-card.kitchen .kc-actions {
  display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%;
}
.order-card.kitchen .kc-btn,
.order-card.kitchen .kc-actions .btn {
  border-radius: 14px;                 /* quadrado (não pill) */
  padding: 14px 16px;
  min-height: 56px;                    /* área de toque confortável */
  font-size: 0.95rem;
  width: 100%;
  white-space: normal;                 /* permite quebrar a etiqueta */
  line-height: 1.2;
}
.order-card.kitchen .kc-actions .btn:active { transform: scale(0.97); }
.order-card.kitchen .kc-consult { justify-content: center; }

/* ── Contacto ── */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; padding-bottom: 90px; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; transition: transform var(--t), border-color var(--t);
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.contact-icon {
  width: 48px; height: 48px; min-width: 48px; border-radius: 14px;
  background: var(--tomato-soft); color: var(--tomato);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.contact-card:nth-child(2) .contact-icon { background: var(--gold-soft); color: var(--gold); }
.contact-card:nth-child(3) .contact-icon { background: var(--basil-soft); color: var(--basil); }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 3px; }
.contact-card p { font-size: 0.88rem; color: var(--muted); }
.contact-card a:hover { color: var(--tomato); }
.contact-map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 16/7;
  background:
    radial-gradient(circle at 30% 40%, rgba(242, 176, 61, 0.15), transparent 40%),
    radial-gradient(circle at 70% 65%, rgba(224, 75, 46, 0.12), transparent 40%),
    var(--surface-2);
  display: flex; align-items: center; justify-content: center;
}
.contact-map .map-pin { text-align: center; }
.contact-map .map-pin .mp-emoji { font-size: 2.6rem; animation: float 3s ease-in-out infinite; display: block; }
.contact-map .map-pin span { font-size: 0.8rem; color: var(--muted); font-weight: 600; }

/* ── Testemunhos ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; position: relative; transition: transform var(--t), border-color var(--t);
}
.testimonial-card::before {
  content: '“'; position: absolute; top: 6px; right: 22px;
  font-family: var(--font-display); font-size: 5rem; line-height: 1; color: rgba(224, 75, 46, 0.18);
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(224, 75, 46, 0.3); }
.testimonial-stars { color: var(--gold); font-size: 0.8rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.93rem; color: var(--text-soft); font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--tomato); }
.author-name { font-weight: 800; font-size: 0.9rem; }
.author-meta { font-size: 0.76rem; color: var(--muted); }

/* ── CTA final ── */
.cta-section { padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(224, 75, 46, 0.35), transparent 60%),
    radial-gradient(circle at 15% 0%, rgba(242, 176, 61, 0.12), transparent 50%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 14px; }
.cta-section p { color: var(--muted); max-width: 520px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-emoji-row { display: flex; justify-content: center; gap: 14px; font-size: 1.7rem; margin-bottom: 22px; animation: float 4s ease-in-out infinite; }

/* ── Footer ── */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 60px 0 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 42px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; color: var(--muted); max-width: 300px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); font-size: 0.95rem;
  transition: all var(--t-fast);
}
.footer-social a:hover { background: var(--tomato); border-color: var(--tomato); color: #fff; transform: translateY(-3px); }
.footer-col h4 { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-soft); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.9rem; padding: 5px 0; transition: color var(--t-fast), transform var(--t-fast); }
.footer-col a:hover { color: var(--tomato); transform: translateX(3px); }
.footer-col a i { width: 18px; color: var(--faint); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--faint);
}

/* ── Toast ── */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 9500; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-3); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 14px 20px;
  box-shadow: var(--shadow-lg); min-width: 260px; max-width: 360px;
  animation: toast-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast.hide { animation: toast-out 0.3s ease forwards; }
@keyframes toast-in { from { transform: translateX(60px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toast-out { to { transform: translateX(60px); opacity: 0; } }
.toast-emoji { font-size: 1.4rem; }
.toast-body { flex: 1; font-size: 0.88rem; font-weight: 600; color: var(--text); }
.toast-body small { display: block; color: var(--muted); font-weight: 500; font-size: 0.76rem; }
.toast-close { background: none; border: none; color: var(--faint); font-size: 0.9rem; padding: 4px; }
.toast-close:hover { color: var(--text); }

/* ── Modal genérico ── */
.modal { position: fixed; inset: 0; z-index: 9600; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(10, 7, 5, 0.75); backdrop-filter: blur(6px); animation: fade-in 0.25s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  position: relative; z-index: 2;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modal-in { from { transform: translateY(34px) scale(0.96); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.modal-header {
  position: sticky; top: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 24px; background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 1.15rem; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.modal-close { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text-soft); font-size: 0.95rem; transition: all var(--t-fast); }
.modal-close:hover { background: var(--tomato-soft); color: #ff8a6b; border-color: rgba(224, 75, 46, 0.4); }
.modal-body { padding: 22px 24px 26px; }

/* ── Modal de troco (pagamento em dinheiro, balcão) ── */
.troco-total {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--gold-soft); border: 1px solid rgba(242, 176, 61, 0.35);
  font-size: 1rem; font-weight: 600; color: var(--text);
}
.troco-total b { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold); }
.troco-total + .form-group { margin-top: 16px; }
.troco-result { min-height: 30px; margin-top: 10px; }
.troco-result p { font-size: 1.05rem; font-weight: 700; }
.troco-result p b { font-family: var(--font-display); font-size: 1.3rem; }

/* ── Back to top ── */
.back-to-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 8000;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface-3); border: 1px solid var(--border-strong);
  color: var(--text-soft); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all var(--t);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--tomato); color: #fff; border-color: var(--tomato); }

/* ── Visualização 3D da pizza (personalizador) ── */
.pb-wrap { display: flex; gap: 22px; align-items: flex-start; }
.pb-visual { flex-shrink: 0; }
.pb-ing-col { flex: 1; min-width: 0; }
.pizza-builder { width: 205px; height: 205px; margin: 0 auto; perspective: 700px; }
.pb-stage {
  position: relative; width: 100%; height: 100%;
  transform: rotateX(12deg);
  transform-style: preserve-3d;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 32%, #f7d9a0 0 16%, #e0a94f 16% 32%, #c98a2e 32% 46%, #9c5c16 46% 56%, #7c440d 56% 64%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 6px 14px rgba(255, 230, 180, 0.35);
}
.pb-disc {
  position: absolute; inset: 7%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(90, 45, 10, 0.8), rgba(70, 32, 6, 0.95));
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.4);
}
.pb-disc.has-sauce {
  background: radial-gradient(circle at 40% 35%, #e8502e 0 30%, #c23a1f 55%, #9c2c14 82%);
  box-shadow: inset 0 4px 12px rgba(120, 20, 0, 0.6), inset 0 -4px 10px rgba(50, 10, 0, 0.5);
}
.pb-cheese {
  position: absolute; inset: 9%; border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #ffedc2 0 22%, #f8cf7a 45%, #eab254 70%, rgba(234, 178, 84, 0.15) 95%);
  opacity: 0.95;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}
.pb-topping {
  position: absolute;
  transform: translate(-50%, -50%);
  line-height: 1;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.45));
  animation: pb-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pb-in {
  from { transform: translate(-50%, -50%) scale(0) rotate(-40deg); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
}
@media (max-width: 560px) {
  .pb-wrap { flex-direction: column; align-items: center; }
  .pb-ing-col { width: 100%; }
  .pizza-builder { width: 180px; height: 180px; }
}

/* ── Chips de ingredientes (personalizador) ── */
.ing-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 700;
  padding: 10px 13px; border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--muted);
  border: 1px solid var(--border); cursor: pointer;
  transition: all var(--t-fast); text-align: left;
}
.ing-chip:hover { transform: translateY(-1px); border-color: var(--border-strong); }
.ing-chip .ing-emoji { font-size: 1.1rem; }
.ing-chip.on { background: rgba(224, 75, 46, 0.14); color: var(--text); border-color: rgba(224, 75, 46, 0.45); }
.ing-chip.on::after { content: '✓'; margin-left: auto; color: var(--tomato); font-weight: 900; }
.ing-chip.rem { background: rgba(224, 75, 46, 0.08); color: var(--faint); border-color: rgba(224, 75, 46, 0.25); text-decoration: line-through; }
.ing-chip.rem::after { content: '✕'; margin-left: auto; color: #ff8a6b; font-weight: 900; }
.ing-chip.extra { background: var(--basil-soft); color: var(--basil); border-color: rgba(138, 184, 67, 0.45); }
.ing-chip.extra::after { content: '+'; margin-left: auto; font-weight: 900; }

/* Tracker dot wrap (linha entre passos) */
.tracker-dot-wrap { position: relative; display: flex; justify-content: center; }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.14s; }
.reveal-d3 { transition-delay: 0.22s; }
.reveal-d4 { transition-delay: 0.3s; }

/* ── Empty states ── */
.empty-state { text-align: center; padding: 46px 20px; color: var(--muted); }
.empty-state .es-emoji { font-size: 3.2rem; display: block; margin-bottom: 12px; animation: float 3.5s ease-in-out infinite; }
.empty-state h3 { color: var(--text-soft); font-size: 1.2rem; margin-bottom: 6px; }
.empty-state p { font-size: 0.9rem; }

/* ── FAQ simples ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; transition: border-color var(--t); }
.faq-item.open { border-color: rgba(224, 75, 46, 0.4); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px; background: none; border: none;
  font-size: 0.95rem; font-weight: 700; color: var(--text); text-align: left;
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--tomato); }
.faq-q .faq-icon { color: var(--tomato); transition: transform var(--t); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 20px 17px; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ── 404 ── */
.error-page { text-align: center; padding: 160px 20px 100px; }
.error-code { font-family: var(--font-display); font-size: clamp(4rem, 10vw, 7rem); font-weight: 900; line-height: 1; background: linear-gradient(120deg, var(--tomato), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-emoji { font-size: 3.4rem; display: block; margin: 6px 0 18px; animation: float 3.5s ease-in-out infinite; }
.error-page h1 { font-size: 1.6rem; margin-bottom: 10px; }
.error-page p { color: var(--muted); margin-bottom: 28px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .pizza-stage { width: 300px; height: 300px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .pedido-layout { grid-template-columns: 1fr; }
  .pedido-aside { order: -1; }
  /* no balcão o resumo fica no fim (a montar o pedido, o catálogo vem primeiro) */
  .modo-balcao .pedido-aside { order: 0; }
  .pos-layout { grid-template-columns: 1fr; }
  .pos-layout .pos-side { position: static; }
  .kitchen-board { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: var(--header-h); right: 0; bottom: 0;
    width: min(320px, 88vw);
    background: var(--bg-alt); border-left: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 24px 18px;
    transform: translateX(100%);
    transition: transform var(--t);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > a { padding: 14px 16px; font-size: 1rem; }
  .nav-links > a.active::after { display: none; }
  .nav-links > a.active { background: var(--tomato-soft); color: var(--tomato); }
  .nav-internal { flex-direction: column; align-items: stretch; margin: 14px 0 0; padding: 14px 0 0; border-left: none; border-top: 1px solid var(--border); }
  .nav-internal-label { margin: 0 0 6px 16px; }
  .nav-internal-link { padding: 12px 16px; }
  .mobile-toggle { display: flex; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .quick-add { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-stats { gap: 26px; }
  .float-chip.fc-3 { display: none; }
  .float-chip.fc-4 { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .tracker { flex-wrap: wrap; gap: 12px; }
  .tracker-step { min-width: 130px; }
  .tracker-line { display: none; }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.3rem; }
  .pizza-stage { width: 240px; height: 240px; }
  .section { padding: 64px 0; }
}