/* ═══════════════════════════════════════════════
   O'CHEF — CSS PRINCIPAL V2
   Street food chaud, briques sombres, orange vif
   ═══════════════════════════════════════════════ */

:root {
  --bg:        #0d0d0d;
  --bg2:       #141414;
  --bg3:       #1a1a1a;
  --surface:   #222222;
  --surface2:  #2a2a2a;
  --border:    #333333;

  --orange:    #e85d04;
  --orange2:   #fb8500;
  --or:        #f9a825;
  --red:       #ef4444;
  --green:     #22c55e;
  --blue:      #3b82f6;

  --text:      #f0ece4;
  --text2:     #b0a898;
  --text3:     #706860;

  --font-display: 'Oswald', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;

  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(0,0,0,.55);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.7);
  --transition: .18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 70px;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(10,10,10,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.6);
  backdrop-filter: blur(10px);
}

.nav-brand { display: flex; align-items: center; gap: .75rem; }
.nav-logo-img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: white; letter-spacing: .03em; }
.nav-brand-tag { font-size: .68rem; color: var(--orange); letter-spacing: .1em; text-transform: uppercase; }

.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a {
  font-family: var(--font-body); font-weight: 500; font-size: .9rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--text2);
  transition: color var(--transition); position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--orange); transition: width var(--transition);
}
.nav-links a:hover { color: white; }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
.btn-cart {
  display: flex; align-items: center; gap: .5rem;
  background: var(--orange); color: white; padding: .5rem 1rem;
  border-radius: 50px; font-weight: 600; font-size: .88rem;
  transition: background var(--transition), transform var(--transition);
  position: relative;
}
.btn-cart:hover { background: var(--orange2); transform: translateY(-1px); }
.cart-icon { font-size: 1rem; }
.cart-badge {
  background: white; color: var(--orange); font-size: .72rem; font-weight: 800;
  min-width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px; transition: transform .2s;
}
.cart-badge.has-items { transform: scale(1.15); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: white; transition: var(--transition); border-radius: 2px; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ═══════════════════════════════════════════════
   HERO — avec photo de couverture en fond
   ═══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .38;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.75) 55%, rgba(10,10,10,.97) 100%),
    radial-gradient(ellipse at 80% 30%, rgba(232,93,4,.18) 0%, transparent 60%);
}

.hero-lights { position: absolute; inset: 0; pointer-events: none; }
.light { position: absolute; border-radius: 50%; animation: float 8s ease-in-out infinite; }
.light:nth-child(1) { width:400px; height:400px; top:-100px; right:-80px; background:radial-gradient(circle, rgba(232,93,4,.2) 0%, transparent 70%); animation-delay:0s; }
.light:nth-child(2) { width:250px; height:250px; bottom:10%; left:5%; background:radial-gradient(circle, rgba(249,168,37,.12) 0%, transparent 70%); animation-delay:3s; }
.light:nth-child(3) { width:180px; height:180px; top:30%; right:30%; background:radial-gradient(circle, rgba(232,93,4,.1) 0%, transparent 70%); animation-delay:5s; }
.light:nth-child(4) { width:120px; height:120px; bottom:20%; right:15%; background:radial-gradient(circle, rgba(251,133,0,.15) 0%, transparent 70%); animation-delay:2s; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.hero-content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  padding-top: 70px;
}

.hero-left { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-eyebrow {
  font-size: .85rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); display: flex; align-items: center; gap: .5rem;
}
.hero-title { display: flex; flex-direction: column; line-height: .9; }
.hero-title-top { font-family: var(--font-display); font-size: clamp(4rem, 8vw, 7rem); font-weight: 700; color: white; letter-spacing: -.01em; }
.hero-title-sub { font-family: var(--font-cond); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; color: var(--orange); letter-spacing: .2em; text-transform: uppercase; margin-top: .3rem; }
.hero-desc { font-size: 1.05rem; color: var(--text2); max-width: 480px; line-height: 1.7; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.htag {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--text2);
  padding: .35rem .8rem; border-radius: 50px; font-size: .8rem; font-weight: 500; transition: all var(--transition);
}
.htag:hover { background: rgba(232,93,4,.15); border-color: var(--orange); color: var(--orange); }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero status badge (ouvert/fermé en direct) */
.hero-status {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; padding: .4rem .9rem;
  border-radius: 50px; width: fit-content;
}
.hero-status.open   { background: rgba(34,197,94,.15); color: var(--green); border: 1px solid rgba(34,197,94,.35); }
.hero-status.closed { background: rgba(239,68,68,.12); color: #f87171; border: 1px solid rgba(239,68,68,.3); }
.hero-status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.btn-primary {
  display: inline-flex; align-items: center; gap: .4rem; background: var(--orange); color: white;
  padding: .8rem 1.8rem; border-radius: 8px; font-weight: 700; font-size: .95rem; letter-spacing: .03em;
  transition: all var(--transition); border: 2px solid var(--orange);
}
.btn-primary:hover { background: var(--orange2); border-color: var(--orange2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,93,4,.4); }
.btn-outline {
  display: inline-flex; align-items: center; gap: .4rem; background: transparent; color: white;
  padding: .8rem 1.8rem; border-radius: 8px; font-weight: 600; font-size: .95rem;
  border: 2px solid rgba(255,255,255,.25); transition: all var(--transition);
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,.06); }

.hero-right { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.hero-logo-photo {
  width: 220px; height: 220px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--orange);
  box-shadow: 0 0 50px rgba(232,93,4,.4), var(--shadow-lg);
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 40px rgba(232,93,4,.35), var(--shadow-lg); }
  50% { box-shadow: 0 0 65px rgba(232,93,4,.55), var(--shadow-lg); }
}

.hero-info-cards { display: flex; gap: 1rem; width: 100%; max-width: 340px; }
.hcard {
  flex: 1; background: rgba(0,0,0,.35); border: 1px solid var(--border); border-radius: var(--radius);
  padding: .9rem 1rem; display: flex; align-items: center; gap: .7rem; transition: border-color var(--transition);
  backdrop-filter: blur(6px);
}
.hcard:hover { border-color: var(--orange); }
.hcard-icon { font-size: 1.4rem; }
.hcard-title { font-weight: 700; font-size: .88rem; color: white; }
.hcard-sub { font-size: .75rem; color: var(--text2); }

.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--text3); font-size: 1.2rem; animation: bounce 2s ease-in-out infinite; z-index: 1;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ═══════════════════════════════════════════════
   SECTIONS COMMUNES
   ═══════════════════════════════════════════════ */
section { padding: 6rem 2rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: .5rem; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: white; letter-spacing: -.01em; }
.section-title em { font-style: normal; color: var(--orange); }
.section-desc { color: var(--text2); margin-top: .75rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════
   MENU SECTION
   ═══════════════════════════════════════════════ */
#menu { background: var(--bg); max-width: 1280px; margin: 0 auto; padding: 6rem 2rem; }

.menu-tabs-wrapper { overflow-x: auto; padding-bottom: .5rem; margin-bottom: 2rem; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
.menu-tabs { display: flex; gap: .4rem; min-width: max-content; padding: .25rem; background: var(--surface); border-radius: 12px; border: 1px solid var(--border); }
.mtab { padding: .55rem 1.15rem; border-radius: 8px; font-size: .85rem; font-weight: 600; color: var(--text2); transition: all var(--transition); white-space: nowrap; letter-spacing: .02em; }
.mtab:hover { color: white; background: rgba(255,255,255,.06); }
.mtab.active { background: var(--orange); color: white; box-shadow: 0 2px 10px rgba(232,93,4,.4); }

.menu-content { opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.menu-content.fade-in { opacity: 1; transform: none; }

.menu-cat-note {
  font-size: .88rem; color: var(--text2); background: rgba(232,93,4,.1);
  border: 1px solid rgba(232,93,4,.25); border-radius: 8px; padding: .6rem 1rem;
  margin-bottom: 1.5rem; display: inline-block;
}
.menu-banner {
  background: linear-gradient(135deg, rgba(232,93,4,.15), rgba(251,133,0,.08));
  border: 1px solid rgba(232,93,4,.3); border-radius: 10px; padding: .75rem 1.2rem;
  font-size: .85rem; color: var(--or); margin-bottom: 1.5rem; font-weight: 500;
}

.menu-subcat { margin-bottom: 2.5rem; }
.menu-subcat-title {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--orange);
  letter-spacing: .05em; text-transform: uppercase; padding-bottom: .6rem;
  border-bottom: 2px solid var(--border); margin-bottom: 1.2rem; display: flex; align-items: center; gap: .6rem;
}
.menu-subcat-title::before { content: ''; display: block; width: 4px; height: 18px; background: var(--orange); border-radius: 2px; }
.menu-subcat-note { font-size: .8rem; color: var(--text3); margin-bottom: 1rem; font-style: italic; }

.menu-items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; }

.menu-item-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem;
  cursor: pointer; transition: all var(--transition); display: flex; flex-direction: column; gap: .4rem;
  position: relative; overflow: hidden;
}
.menu-item-card.out-of-stock { opacity: .45; cursor: not-allowed; }
.menu-item-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,93,4,0) 0%, rgba(232,93,4,.04) 100%);
  opacity: 0; transition: opacity var(--transition);
}
.menu-item-card:hover:not(.out-of-stock) { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 1px rgba(232,93,4,.2); }
.menu-item-card:hover:not(.out-of-stock)::before { opacity: 1; }

.mic-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.mic-name { font-weight: 600; font-size: .95rem; color: white; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.mic-price { font-family: var(--font-cond); font-weight: 700; font-size: 1rem; color: var(--orange); white-space: nowrap; }
.mic-desc { font-size: .78rem; color: var(--text3); line-height: 1.4; }
.mic-add { font-size: .78rem; font-weight: 700; color: var(--orange); margin-top: auto; opacity: 0; transform: translateX(-4px); transition: all var(--transition); letter-spacing: .04em; }
.menu-item-card:hover:not(.out-of-stock) .mic-add { opacity: 1; transform: none; }
.mic-stock-label { font-size: .72rem; font-weight: 700; color: var(--red); text-transform: uppercase; }

.mic-badge { background: var(--orange); color: white; font-size: .65rem; font-weight: 700; padding: .18rem .45rem; border-radius: 4px; letter-spacing: .04em; white-space: nowrap; }
.mic-badge.badge-rupture { background: var(--red); }

.menu-sauces { margin-top: 1.5rem; font-size: .82rem; color: var(--text3); border-top: 1px solid var(--border); padding-top: 1rem; }

.skeleton-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; }
.skeleton-card { height: 92px; border-radius: var(--radius); background: linear-gradient(100deg, var(--surface) 30%, var(--surface2) 50%, var(--surface) 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.menu-error { text-align: center; padding: 3rem; color: var(--text2); }
.menu-error button { margin-top: 1rem; background: var(--orange); color: white; padding: .5rem 1.2rem; border-radius: 8px; font-weight: 600; }

/* ═══════════════════════════════════════════════
   COMMANDER SECTION
   ═══════════════════════════════════════════════ */
#commander { background: var(--bg2); padding: 6rem 2rem; }
.order-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.omode-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  text-align: center; cursor: pointer; transition: all .2s; display: flex; flex-direction: column; align-items: center;
  gap: 1rem; position: relative; overflow: hidden;
}
.omode-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 0 0 1px rgba(232,93,4,.25); }
.omode-featured { border-color: var(--orange) !important; background: linear-gradient(145deg, var(--surface), rgba(232,93,4,.08)); }
.omode-badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--orange); color: white; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .9rem; border-radius: 0 0 8px 8px; }
.omode-icon { font-size: 3rem; }
.omode-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: white; }
.omode-card p { font-size: .88rem; color: var(--text2); line-height: 1.5; }

/* ═══════════════════════════════════════════════
   INFOS / HORAIRES SECTION
   ═══════════════════════════════════════════════ */
#infos { background: var(--bg); }
.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1100px; margin: 0 auto; align-items: start; }
.info-block { display: flex; flex-direction: column; gap: 1.25rem; margin: 2rem 0; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; }
.info-ico { font-size: 1.3rem; width: 2.2rem; flex-shrink: 0; margin-top: .1rem; }
.info-row strong { display: block; color: white; font-weight: 700; margin-bottom: .2rem; }
.info-row p { font-size: .9rem; color: var(--text2); }
.info-row a { color: var(--orange); }
.info-row a:hover { text-decoration: underline; }

/* Tableau horaires détaillé */
.hours-table { width: 100%; border-collapse: collapse; margin-top: .3rem; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: .45rem 0; font-size: .87rem; color: var(--text2); }
.hours-table td:first-child { font-weight: 600; color: white; width: 110px; }
.hours-table tr.today td { color: var(--or); }
.hours-table tr.today td:first-child { color: var(--orange); }
.hours-closed-tag { color: var(--text3); font-style: italic; }

.btn-call {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--orange); color: white;
  padding: .9rem 1.8rem; border-radius: 8px; font-weight: 700; font-size: .95rem;
  transition: all var(--transition); margin-top: .5rem;
}
.btn-call:hover { background: var(--orange2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,93,4,.4); }

.map-container { width: 100%; height: 380px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); position: relative; box-shadow: var(--shadow); }
.map-container iframe { width: 100%; height: 100%; }
.map-pin-label { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(10px); color: var(--text2); font-size: .8rem; padding: .6rem 1rem; display: flex; align-items: center; gap: .4rem; }

/* ═══════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════ */
#contact { background: linear-gradient(135deg, #111 0%, #1a0a00 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.contact-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.contact-desc { color: var(--text2); font-size: .95rem; margin-top: .75rem; max-width: 420px; }
.contact-btns { display: flex; flex-direction: column; gap: .75rem; }
.btn-contact-call, .btn-contact-sms { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.5rem; border-radius: 8px; font-weight: 700; font-size: .95rem; transition: all var(--transition); white-space: nowrap; }
.btn-contact-call { background: var(--orange); color: white; }
.btn-contact-call:hover { background: var(--orange2); transform: translateX(3px); }
.btn-contact-sms { background: var(--surface); color: var(--text2); border: 1px solid var(--border); }
.btn-contact-sms:hover { border-color: var(--orange); color: var(--orange); }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer { background: #0a0a0a; border-top: 1px solid var(--border); padding: 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: .15rem; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: white; }
.footer-tag { font-size: .75rem; color: var(--text3); }
.footer-links { display: flex; gap: .7rem; font-size: .8rem; color: var(--text3); flex-wrap: wrap; align-items: center; }
.footer-gerant { font-size: .78rem; color: var(--text3); padding: .4rem .9rem; border: 1px solid var(--border); border-radius: 6px; transition: all var(--transition); }
.footer-gerant:hover { color: var(--orange); border-color: var(--orange); }

.footer-socials { display: flex; align-items: center; gap: .6rem; }
.social-btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text3); transition: all var(--transition); font-size: 1.05rem; }
.social-btn:hover { transform: translateY(-2px); border-color: var(--orange); }
.social-btn.fb:hover { background: #1877f2; border-color: #1877f2; color: white; }
.social-btn.ig:hover { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: #e6683c; color: white; }
.social-btn.tt:hover { background: #010101; border-color: #ff0050; color: white; }
.social-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ═══════════════════════════════════════════════
   CART SIDEBAR
   ═══════════════════════════════════════════════ */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 1100; opacity: 0; pointer-events: none; transition: opacity .25s; backdrop-filter: blur(4px); }
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed; top: 0; right: -420px; width: 380px; max-width: 100vw; height: 100vh;
  background: var(--bg3); border-left: 1px solid var(--border); z-index: 1101;
  display: flex; flex-direction: column; transition: right .3s cubic-bezier(.25,.1,.25,1); box-shadow: -8px 0 40px rgba(0,0,0,.5);
}
.cart-sidebar.open { right: 0; }
.cart-sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.cart-sidebar-head h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: white; }
.cart-sidebar-head button { color: var(--text3); font-size: 1.2rem; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all var(--transition); }
.cart-sidebar-head button:hover { color: white; background: var(--surface2); }
.cart-sidebar-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.cart-empty { color: var(--text3); font-size: .9rem; text-align: center; padding: 2rem 0; }

.cart-sidebar-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.csi-name { font-weight: 600; font-size: .9rem; color: white; }
.csi-supplements { font-size: .74rem; color: var(--text3); margin-top: .15rem; }
.csi-price { font-size: .8rem; color: var(--text3); margin-top: .1rem; }
.csi-controls { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.csi-controls button { width: 26px; height: 26px; border-radius: 50%; background: var(--surface2); color: white; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.csi-controls button:hover { background: var(--orange); }
.csi-controls span { font-size: .9rem; font-weight: 700; min-width: 18px; text-align: center; }

.cart-sidebar-foot { padding: 1.25rem 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .9rem; }
.cart-sidebar-total { display: flex; justify-content: space-between; font-size: 1rem; color: var(--text2); }
.cart-sidebar-total strong { color: white; font-size: 1.1rem; }

/* ═══════════════════════════════════════════════
   MODAL générique (overlay scrollable!)
   ═══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.8); z-index: 1200;
  display: flex; align-items: flex-start; justify-content: center; padding: 1rem;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  opacity: 0; pointer-events: none; transition: opacity .25s; backdrop-filter: blur(6px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg);
  width: 100%; max-width: 900px; margin: 1rem auto; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}

.modal-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.modal-head h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: white; }
.modal-head p { font-size: .83rem; color: var(--text3); margin-top: .2rem; }
.modal-close { color: var(--text3); font-size: 1.3rem; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all var(--transition); flex-shrink: 0; }
.modal-close:hover { color: white; background: var(--surface2); }

.modal-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 0; }
.modal-left { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; }
.modal-right { padding: 1.25rem 1.5rem; }

.modal-section-title { font-family: var(--font-display); font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); padding: .75rem 1.25rem; border-bottom: 1px solid var(--border); flex-shrink: 0; background: var(--bg3); }

.modal-menu-tabs { display: flex; gap: .3rem; padding: .75rem 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.mmtab { padding: .4rem .65rem; border-radius: 6px; font-size: 1.1rem; transition: all var(--transition); color: var(--text3); }
.mmtab:hover { background: var(--surface2); }
.mmtab.active { background: var(--orange); box-shadow: 0 2px 8px rgba(232,93,4,.35); }

.modal-items { flex: 1; padding: .75rem 1rem; display: flex; flex-direction: column; gap: .25rem; }
.modal-subcat-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text3); padding: .6rem .25rem .3rem; }
.modal-item { display: flex; align-items: center; gap: 1rem; padding: .65rem .75rem; border-radius: 8px; transition: all var(--transition); border: 1px solid transparent; }
.modal-item:hover { background: var(--surface); border-color: var(--border); }
.modal-item.in-cart { background: rgba(232,93,4,.07); border-color: rgba(232,93,4,.25); }
.modal-item.out-of-stock { opacity: .4; }
.mitem-info { flex: 1; }
.mitem-name { font-size: .88rem; font-weight: 600; color: white; }
.mitem-desc { font-size: .74rem; color: var(--text3); margin-top: .15rem; }
.mitem-right { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; flex-shrink: 0; }
.mitem-price { font-family: var(--font-cond); font-size: .95rem; font-weight: 700; color: var(--orange); }
.mitem-add { background: var(--orange); color: white; width: 26px; height: 26px; border-radius: 50%; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; font-weight: 700; transition: all var(--transition); }
.mitem-add:hover { background: var(--orange2); transform: scale(1.1); }
.mitem-qty-ctrl { display: flex; align-items: center; gap: .3rem; }
.mitem-qty-ctrl button { background: var(--surface2); color: white; width: 24px; height: 24px; border-radius: 50%; font-size: .95rem; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.mitem-qty-ctrl button:hover { background: var(--orange); }
.mitem-qty-ctrl span { font-size: .85rem; font-weight: 700; min-width: 14px; text-align: center; }

.cart-list { display: flex; flex-direction: column; gap: .5rem; }
.cart-modal-item { display: flex; align-items: flex-start; justify-content: space-between; padding: .55rem .75rem; background: var(--surface); border-radius: 8px; border: 1px solid var(--border); }
.cmi-left { display: flex; flex-direction: column; gap: .1rem; }
.cmi-name { font-size: .85rem; font-weight: 600; color: white; }
.cmi-supplements { font-size: .72rem; color: var(--text3); }
.cmi-qty { font-size: .75rem; color: var(--text3); }
.cmi-right { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.cmi-price { font-family: var(--font-cond); font-size: .95rem; font-weight: 700; color: var(--orange); }
.cmi-del { color: var(--text3); font-size: 1.1rem; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.cmi-del:hover { background: rgba(239,68,68,.15); color: var(--red); }

.cart-total-row { display: flex; justify-content: space-between; align-items: center; padding: .75rem; border-top: 1px solid var(--border); margin-top: .5rem; color: var(--text2); font-size: .9rem; }
.cart-total-row strong { color: white; font-size: 1.1rem; }

.order-form { display: flex; flex-direction: column; gap: .75rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-size: .78rem; font-weight: 600; color: var(--text2); letter-spacing: .04em; text-transform: uppercase; }
.form-group .optional-tag { color: var(--text3); font-weight: 400; text-transform: none; letter-spacing: 0; }
.form-group input, .form-group textarea, .form-group select {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: .65rem .9rem;
  color: white; font-size: .9rem; transition: border-color var(--transition); resize: vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,93,4,.15); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text3); }

/* Choix mode de paiement */
.payment-options { display: flex; flex-direction: column; gap: .5rem; }
.payment-option {
  display: flex; align-items: center; gap: .7rem; padding: .65rem .9rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: all var(--transition);
}
.payment-option:hover { border-color: rgba(232,93,4,.4); }
.payment-option.selected { border-color: var(--orange); background: rgba(232,93,4,.08); }
.payment-option input[type="radio"] { accent-color: var(--orange); width: 16px; height: 16px; }
.payment-option-label { font-size: .87rem; font-weight: 600; color: white; }
.payment-option-icon { font-size: 1.1rem; }
.payment-option.disabled { opacity: .5; cursor: not-allowed; }
.payment-soon-tag { font-size: .68rem; color: var(--text3); margin-left: auto; font-style: italic; }

.btn-confirm { background: var(--orange); color: white; padding: .9rem; border-radius: 8px; font-weight: 700; font-size: .95rem; letter-spacing: .02em; transition: all var(--transition); width: 100%; margin-top: .5rem; }
.btn-confirm:hover { background: var(--orange2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,93,4,.4); }
.btn-confirm:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.order-success { text-align: center; padding: 3rem 2rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.success-icon { font-size: 3.5rem; }
.order-success h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: white; }
.order-success p { color: var(--text2); }
.success-sub { font-size: .9rem; color: var(--text3); }
.success-sub strong { color: var(--orange); }

/* ═══════════════════════════════════════════════
   MODALE SUPPLÉMENTS (choix avant ajout au panier)
   ═══════════════════════════════════════════════ */
.supp-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.82); z-index: 1300;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity .2s; backdrop-filter: blur(4px);
}
.supp-modal-overlay.open { opacity: 1; pointer-events: all; }
.supp-modal {
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg);
  width: 100%; max-width: 480px; max-height: 85vh; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.supp-modal-head { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-start; }
.supp-modal-head h3 { font-family: var(--font-display); font-size: 1.15rem; color: white; }
.supp-modal-head p { font-size: .8rem; color: var(--orange); font-weight: 700; margin-top: .2rem; }
.supp-modal-body { padding: 1rem 1.5rem; overflow-y: auto; flex: 1; }
.supp-group { margin-bottom: 1.25rem; }
.supp-group-highlight {
  background: rgba(232,93,4,.06);
  border: 1px solid rgba(232,93,4,.25);
  border-radius: 10px;
  padding: .75rem .9rem;
}
.supp-group-title { font-size: .8rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .3rem; display: flex; justify-content: space-between; }
.supp-group-hint { font-size: .72rem; color: var(--text3); font-weight: 400; text-transform: none; letter-spacing: 0; }
.supp-option { display: flex; align-items: center; gap: .6rem; padding: .55rem .3rem; border-bottom: 1px solid var(--border); cursor: pointer; }
.supp-option:last-child { border-bottom: none; }
.supp-option input { accent-color: var(--orange); width: 17px; height: 17px; flex-shrink: 0; }
.supp-option-name { flex: 1; font-size: .87rem; color: var(--text2); }
.supp-option-price { font-size: .82rem; color: var(--orange); font-weight: 600; }
.supp-option-disabled { opacity: .4; cursor: not-allowed; }
.supp-option-disabled em { color: var(--red); font-style: normal; font-size: .75rem; }
.supp-modal-foot { padding: 1.1rem 1.5rem; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 1rem; }
.supp-qty-ctrl { display: flex; align-items: center; gap: .6rem; background: var(--surface); border-radius: 8px; padding: .4rem .6rem; }
.supp-qty-ctrl button { width: 26px; height: 26px; border-radius: 50%; background: var(--surface2); color: white; font-size: 1rem; }
.supp-qty-ctrl button:hover { background: var(--orange); }
.supp-modal-add { flex: 1; background: var(--orange); color: white; padding: .75rem; border-radius: 8px; font-weight: 700; }
.supp-modal-add:hover { background: var(--orange2); }

/* ═══════════════════════════════════════════════
   GÉRANT — login standalone (login.php)
   ═══════════════════════════════════════════════ */
.gerant-login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,93,4,.15) 0%, transparent 60%), var(--bg);
  padding: 1rem;
}
.gerant-login-box {
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.5rem; width: 100%; max-width: 380px; box-shadow: var(--shadow-lg); text-align: center;
}
.gerant-login-box img { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem; border: 2px solid var(--orange); }
.gerant-login-box h1 { font-family: var(--font-display); font-size: 1.5rem; color: white; margin-bottom: .3rem; }
.gerant-login-box p.subtitle { font-size: .85rem; color: var(--text3); margin-bottom: 1.5rem; }
.gerant-form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.login-error { color: var(--red); font-size: .85rem; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25); border-radius: 6px; padding: .5rem; }
.back-to-site { display: block; margin-top: 1.5rem; font-size: .82rem; color: var(--text3); }
.back-to-site:hover { color: var(--orange); }

/* ═══════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--surface2); color: white; padding: .75rem 1.5rem; border-radius: 50px;
  font-size: .88rem; font-weight: 600; z-index: 9999; box-shadow: 0 8px 32px rgba(0,0,0,.6);
  border: 1px solid var(--border); transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .3s;
  opacity: 0; white-space: nowrap; max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-success { border-left: 4px solid var(--green); }
.toast-error { border-left: 4px solid var(--red); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 100px; padding-bottom: 3rem; }
  .hero-right { display: none; }
  .infos-grid { grid-template-columns: 1fr; gap: 2rem; }
  .order-modes { grid-template-columns: 1fr; gap: 1rem; }
  .contact-inner { grid-template-columns: 1fr; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-left { border-right: none; border-bottom: 1px solid var(--border); }
}

@media (max-width: 640px) {
  section { padding: 4rem 1rem; }
  #navbar { padding: 0 1rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(10,10,10,.98); padding: 1rem; gap: .25rem; border-bottom: 1px solid var(--border); backdrop-filter: blur(10px); }
  .nav-links.mobile-open { display: flex; }
  .nav-links li a { padding: .7rem 1rem; display: block; border-radius: 8px; }
  .nav-links li a:hover { background: var(--surface); }
  .nav-burger { display: flex; }
  .cart-label { display: none; }
  .hero-title-top { font-size: 3.5rem; }
  .menu-items-grid { grid-template-columns: 1fr; }
  .modal { margin: .5rem; border-radius: 12px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hcard { padding: .7rem .8rem; }
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }
