/* ==========================================================================
   MB Pizza — habillage du site de commande aux couleurs du logo (2026-11-04)
   Fichier PROPRE a MB (stack-mbpizza/api/public/site-brand/, jamais ecrase par
   deploy.sh). Charge par index.generic.html apres style.css : il ne fait que
   surcharger les couleurs, les polices et l'en-tete (logo a la place du nom).
   Bleu nuit = la toque · orange = le lettrage · jaune / rouge = les touches.
   ========================================================================== */
:root {
  --bg-abyss: #081233;
  --bg-primary: #0B1636;
  --bg-secondary: #081233;
  --bg-card: #13224D;
  --bg-surface2: #182A5C;
  --bg-elevated: #1F3470;
  --bg-input: #0F1C44;
  --braise-deep: #14296A;

  --ember: #FF9A2E;
  --ember-deep: #F07C12;
  --amber: #FFB24A;
  --amber-soft: #FFD08A;
  --rouge-four: #E5262B;
  --rouge-sombre: #B3161B;

  --text-primary: #F4F6FF;
  --text-secondary: #C9D3F5;
  --text-muted: #93A0CC;
  --text-on-cta: #1A0D00;
  --text-on-amber: #1A0D00;

  --hairline: rgba(170, 195, 255, 0.12);
  --hairline-strong: rgba(170, 195, 255, 0.20);
  --overlay: rgba(4, 9, 28, 0.70);
  --glow-ember: rgba(240, 124, 18, 0.40);
  --glow-hearth: rgba(30, 91, 255, 0.22);
  --focus-ring: rgba(255, 154, 46, 0.25);
  --grad-cta: linear-gradient(180deg, #FFA53A 0%, #F07C12 100%);
  --grad-bandeau: linear-gradient(180deg, #1E5BFF, #14296A);

  --font-display: 'Lilita One', 'Arial Rounded MT Bold', sans-serif;
  --font-body: 'Nunito', -apple-system, 'Segoe UI', sans-serif;
  --font: 'Nunito', -apple-system, 'Segoe UI', sans-serif;

  --brand: #FF9A2E;
  --brand-hover: #FFB24A;
  --brand-dark: #F07C12;
  --brand-deep: #14296A;
  --brand-glow: rgba(255, 154, 46, 0.35);
  --brand-primary: #FF9A2E;
  --brand-secondary: #FFD21E;
  --bg: #0B1636;
  --bg2: #13224D;
  --text: #F4F6FF;
  --text-dim: #93A0CC;
  --border: rgba(170, 195, 255, 0.12);
  --border-subtle: rgba(170, 195, 255, 0.12);
  --info: #FFB24A;
}

body {
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(30, 91, 255, 0.30), transparent 60%),
    linear-gradient(#0E1E4F, #081233);
  background-attachment: fixed;
  background-color: #0B1636;
}
::selection { background: rgba(255, 154, 46, 0.35); color: #FFFFFF; }
::-webkit-scrollbar-thumb { background: rgba(170, 195, 255, 0.18); }

/* ---------- Accueil ---------- */
.hero-gradient {
  background:
    radial-gradient(120% 70% at 50% 0%, #1B3A8C 0%, rgba(14, 30, 79, 0) 60%),
    radial-gradient(60% 40% at 50% 34%, rgba(255, 154, 46, 0.22), transparent 70%),
    linear-gradient(180deg, #0E1E4F 0%, #081233 100%);
}
.floating-pizzas { display: none; }

/* Logo a la place de l'emoji et du nom ecrit (classe posee quand le logo est charge) */
.hero-logo[hidden], .header-logo[hidden] { display: none; }
.hero-logo {
  display: block;
  width: min(260px, 66vw);
  height: auto;
  margin: 4px auto 0;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
  animation: fadeInUp 0.6s ease 0.05s both;
}
.has-logo .hero-title .title-emoji,
.has-logo .hero-title .title-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hero-title::after {
  width: 72px;
  height: 4px;
  margin-top: 10px;
  background: linear-gradient(90deg, #1E5BFF 0 33%, #FFD21E 33% 66%, #E5262B 66% 100%);
}
.hero-tagline { font-weight: 800; }
.info-value { color: #FFB24A; letter-spacing: 0.02em; }
.hero-cta {
  max-width: 340px;
  min-height: 60px;
  border-radius: 18px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #1A0D00;
  box-shadow: 0 10px 28px rgba(240, 124, 18, 0.45), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}
.action-pill {
  background: rgba(8, 18, 51, 0.6);
  border-color: rgba(255, 255, 255, 0.16);
}
.pill-text { font-weight: 800; }

/* ---------- Menu : petit logo dans l'en-tete ---------- */
.menu-header,
.categories-nav,
.simple-header,
.tracking-header { background: rgba(8, 18, 51, 0.86); }
.header-logo {
  display: block;
  height: 40px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}
.has-logo .header-brand .brand-icon { display: none; }
.cart-badge { border-color: #0B1636; }
.product-card { background: linear-gradient(180deg, #13224D, #0F1C44); }
.tracking-view {
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(30, 91, 255, 0.30), transparent 60%),
    linear-gradient(#0E1E4F, #081233);
}
.sheet-close { background: rgba(4, 9, 28, 0.6); }
.unavailable-overlay { background: rgba(4, 9, 28, 0.55); }
.unavailable-overlay-small,
.card-variants-badge { background: rgba(4, 9, 28, 0.72); }
body .notification-prompt .prompt-btn-secondary { background: #182A5C !important; }
.half-select-input option { background-color: #13224D; }
.cat-btn.active {
  background: var(--grad-cta);
  border-color: rgba(255, 178, 74, 0.6);
  color: #1A0D00;
  box-shadow: 0 4px 14px rgba(240, 124, 18, 0.40);
}
.cat-btn.active .cat-name { color: #1A0D00; }
