:root {
  --bg: #0e0e0f;
  --bg-2: #141416;
  --surface: #1b1b1e;
  --surface-2: #242428;
  --line: #2f2f34;
  --text: #f6f6f6;
  --muted: #a7a7ad;
  --red: #e3161f;
  --red-hover: #ff2a33;
  --red-text: #ff4d55;
  --green: #3fbf6a;
  --yellow: #ffd23f;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
  --head: Anton, Impact, "Arial Narrow", sans-serif;
  --hand: "Permanent Marker", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: .01em; text-transform: uppercase; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.red { color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Bandeau démo ---------- */
.demo-bar { background: var(--red); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 7px 16px; }

/* ---------- En-tête ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(14, 14, 15, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.top.scrolled { border-color: var(--line); background: rgba(14, 14, 15, .96); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 70px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .15s; }
.nav a:hover { color: #fff; }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(63, 191, 106, .6); animation: pulse 2s infinite; }
.status.closed .dot { background: var(--muted); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(63, 191, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 191, 106, 0); } }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px;
  background: var(--red); color: #fff; padding: 10px 18px; font-weight: 700;
}
.cart-btn:hover { background: var(--red-hover); }
.cart-btn .count { background: #fff; color: var(--red); min-width: 22px; height: 22px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 13px; padding: 0 6px; }
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.94); } }

/* ---------- Bouton menu (trois traits) ---------- */
.burger {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-content: center; gap: 5px; flex: none; transition: background .2s, border-color .2s;
}
.burger:hover { border-color: #555; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .2s, width .3s; }
.burger span:nth-child(2) { width: 14px; }
.burger:hover span:nth-child(2) { width: 20px; }
.burger.open { background: var(--red); border-color: var(--red); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Menu latéral ---------- */
.side-menu {
  position: fixed; top: 0; left: 0; height: 100%; width: min(360px, 88%); z-index: 50;
  background: var(--bg-2); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(-100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.side-menu.open { transform: none; box-shadow: var(--shadow); }
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.side-head img { height: 28px; width: auto; }
.side-links { list-style: none; margin: 0; padding: 12px; }
.side-links > li > a, .side-links > li > button {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px; border: 0; border-radius: 14px; background: none; text-align: left;
  font-family: var(--head); font-size: 26px; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s, padding .2s;
}
.side-links > li > a span, .side-links > li > button span { font-size: 21px; width: 30px; text-align: center; }
.side-links > li > a:hover, .side-links > li > button:hover { background: var(--surface); color: var(--red-text); padding-left: 18px; }
.side-count { margin-left: auto; font-style: normal; font-family: Inter, sans-serif; font-size: 13px; font-weight: 700; background: var(--red); color: #fff; min-width: 26px; height: 26px; border-radius: 999px; display: inline-grid; place-items: center; padding: 0 8px; }
.side-sub { list-style: none; margin: 0 0 6px 56px; padding: 0 0 0 12px; border-left: 2px solid var(--line); }
.side-sub a { display: block; padding: 6px 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 8px; transition: color .2s, background .2s; }
.side-sub a:hover { color: #fff; background: var(--surface); }
.side-links > li { opacity: 0; transform: translateX(-24px); transition: opacity .3s, transform .35s cubic-bezier(.2, .8, .2, 1); }
.side-menu.open .side-links > li { opacity: 1; transform: none; }
.side-foot { margin-top: auto; padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.side-status .status { margin-left: 0; }
.side-status { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.side-contact { margin: 0; color: var(--muted); font-size: 14px; }
.side-contact a { color: #fff; font-weight: 700; text-decoration: none; font-size: 16px; }
.side-foot .socials { margin-top: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 14px 26px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-line { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.full { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../img/salle.webp") center / cover no-repeat;
  filter: grayscale(.3) brightness(.28);
  transform: scale(1.08);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 50%, rgba(227, 22, 31, .35), transparent 70%),
    linear-gradient(180deg, rgba(14, 14, 15, .2), var(--bg) 96%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.hand { font-family: var(--hand); color: var(--red-text); font-size: 22px; transform: rotate(-3deg); display: inline-block; }
.hero h1 { font-size: clamp(48px, 8vw, 104px); margin: 10px 0 18px; }
.hero h1 .red { display: block; }
.hero p.lead { color: #d6d6da; font-size: 18px; max-width: 30em; margin: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.chip b { color: #fff; }
.hero-text > * { opacity: 0; transform: translateY(26px); animation: rise .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.hero-text > *:nth-child(2) { animation-delay: .1s; }
.hero-text > *:nth-child(3) { animation-delay: .2s; }
.hero-text > *:nth-child(4) { animation-delay: .3s; }
.hero-text > *:nth-child(5) { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Pizza qui tourne */
.pizza-stage { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.pizza-stage > * { grid-area: 1 / 1; }
.pizza-scroll { width: 74%; aspect-ratio: 1; will-change: transform; }
.pizza-svg { width: 100%; height: 100%; animation: spin 24s linear infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.ring { width: 100%; height: 100%; animation: spin 40s linear infinite reverse; }
.ring text { font-family: var(--head); font-size: 19px; letter-spacing: 6px; fill: rgba(255, 255, 255, .75); }
@keyframes spin { to { transform: rotate(360deg); } }
.float { position: absolute; font-size: clamp(28px, 4vw, 44px); animation: float 6s ease-in-out infinite; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .4)); pointer-events: none; user-select: none; }
.float.f1 { top: 4%; left: 8%; }
.float.f2 { top: 12%; right: 4%; animation-delay: -1.5s; animation-duration: 7s; }
.float.f3 { bottom: 10%; left: 2%; animation-delay: -3s; animation-duration: 5.5s; }
.float.f4 { bottom: 2%; right: 14%; animation-delay: -4.5s; animation-duration: 6.5s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-20px) rotate(10deg); } }
.price-sticker {
  position: absolute; right: 2%; top: 42%; z-index: 2;
  width: 112px; height: 112px; border-radius: 50%; background: var(--yellow); color: #111;
  display: grid; place-content: center; text-align: center; transform: rotate(12deg);
  font-family: var(--head); line-height: 1; box-shadow: var(--shadow); animation: wobble 3s ease-in-out infinite;
}
.price-sticker small { font-size: 13px; letter-spacing: .04em; }
.price-sticker b { font-size: 30px; font-weight: 400; }
@keyframes wobble { 50% { transform: rotate(-6deg) scale(1.06); } }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--red); overflow: hidden; padding: 16px 0; transform: rotate(-2deg); margin: -40px -20px 0; position: relative; z-index: 2; box-shadow: var(--shadow); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--head); font-size: 28px; text-transform: uppercase; padding: 0 26px; white-space: nowrap; }
.marquee span::after { content: "🍕"; margin-left: 52px; font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(40px, 6vw, 68px); }
.section-head p { color: var(--muted); margin: 6px 0 0; max-width: 36em; }

/* ---------- Deals ---------- */
.deals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.deal {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; text-align: left; padding: 0; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.deal:hover { transform: translateY(-6px) rotate(-.5deg); border-color: var(--red); box-shadow: 0 24px 50px rgba(227, 22, 31, .2); }
.deal-img { aspect-ratio: 1 / 1; overflow: hidden; background: #000; }
.deal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.deal:hover .deal-img img { transform: scale(1.07); }
.deal-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.deal h3 { font-size: 30px; }
.deal h3 span { color: var(--red); }
.deal p { margin: 0; color: var(--muted); font-size: 14px; }
.deal-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; }
.deal .tag-price { background: var(--red); color: #fff; font-family: var(--head); font-size: 26px; padding: 4px 12px; border-radius: 8px; }
.deal .go { font-weight: 700; font-size: 14px; }
.ribbon { position: absolute; top: 14px; left: 14px; background: var(--yellow); color: #111; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; z-index: 1; }

/* ---------- Carte ---------- */
.menu-section { background: var(--bg-2); }
.tabs { display: flex; gap: 8px; overflow-x: auto; position: sticky; top: 70px; z-index: 20; background: var(--bg-2); padding: 12px 0; margin-bottom: 8px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 18px; white-space: nowrap; font-weight: 600; transition: background .2s, border-color .2s; }
.tab:hover { border-color: #555; }
.tab.active { background: var(--red); border-color: var(--red); color: #fff; }
.cat-title { font-size: 38px; margin: 40px 0 6px; scroll-margin-top: 150px; }
.cat-sub { color: var(--muted); margin: 0 0 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; text-align: left; padding: 0;
}
.item.ready { transition: transform .25s, border-color .25s, box-shadow .25s; transition-delay: 0s !important; }
.item.ready:hover { transform: translateY(-4px); border-color: #444; box-shadow: var(--shadow); }
.item-img { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.item:hover .item-img img { transform: scale(1.08) rotate(1deg); }
.item-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.item h3 { font-size: 24px; }
.item p { margin: 0; color: var(--muted); font-size: 14px; }
.item-bottom { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.item .price { font-weight: 700; }
.item .price small { color: var(--muted); font-weight: 500; font-size: 12px; display: block; }
.add {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--red); color: #fff;
  font-size: 24px; line-height: 1; display: grid; place-items: center; transition: transform .2s, background .2s;
}
.add:hover { background: var(--red-hover); transform: rotate(90deg); }
.tag { display: inline-block; font-family: Inter, sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 4px; }
.tag.veg { background: rgba(63, 191, 106, .15); color: var(--green); }
.tag.hot { background: rgba(255, 77, 85, .15); color: var(--red-text); }
.tag.new { background: var(--yellow); color: #111; }

/* ---------- Pâtes ---------- */
.crusts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.crust { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; position: relative; overflow: hidden; }
.crust .ico { width: 100%; height: 90px; margin-bottom: 18px; }
.crust h3 { font-size: 32px; }
.crust p { color: var(--muted); margin: 8px 0 14px; }
.crust .extra { font-weight: 700; color: var(--red-text); }

/* ---------- Le resto ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 20px; overflow: hidden; position: relative; background: #000; }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure:last-child { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(0, 0, 0, .65); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }

/* ---------- Infos ---------- */
.infos { background: var(--bg-2); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.card h3 { font-size: 28px; margin-bottom: 14px; }
.card p { margin: 0 0 8px; color: #d6d6da; }
.card a.link { color: var(--red-text); font-weight: 600; text-decoration: none; }
.card a.link:hover { text-decoration: underline; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); color: #d6d6da; font-size: 15px; }
.hours li:last-child { border: 0; }
.hours li.today { color: #fff; font-weight: 700; }
.hours li.today span:first-child::after { content: " · aujourd'hui"; color: var(--red-text); font-weight: 600; font-size: 13px; }
.zones { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.zones span { background: var(--surface-2); border-radius: 999px; padding: 5px 12px; font-size: 13px; }

/* ---------- Pied de page ---------- */
footer { border-top: 1px solid var(--line); padding: 48px 0 110px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer .logo img { height: 30px; }
footer p, footer li { color: var(--muted); font-size: 14px; }
footer h4 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: #fff; transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--red); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.ubereats { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; background: #06c167; color: #000 !important; font-weight: 700; padding: 10px 16px; border-radius: 999px; }
.ubereats:hover { filter: brightness(1.1); }

/* ---------- Barre panier mobile ---------- */
.mobile-cart {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 25;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--red); color: #fff; border: 0; border-radius: 16px; padding: 14px 18px; font-weight: 700;
  box-shadow: 0 12px 30px rgba(227, 22, 31, .4); transform: translateY(140%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.mobile-cart.show { transform: none; }

/* ---------- Fenêtre (modal) ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .65); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  position: fixed; z-index: 50; left: 50%; top: 50%; width: min(560px, calc(100% - 24px)); max-height: calc(100% - 40px);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translate(-50%, -46%) scale(.96); transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.modal-hero { position: relative; height: 170px; flex: none; background: #000; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.modal-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, var(--bg-2)); }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 22px; }
.modal-body { padding: 0 22px 18px; overflow-y: auto; flex: 1; }
.modal-body h2 { font-size: 40px; padding-top: 6px; }
.modal-body > p { color: var(--muted); margin: 6px 0 4px; }
.modal-foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; background: var(--bg-2); }
.group { margin-top: 22px; }
.group-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.group-title b { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; }
.group-title small { color: var(--muted); }
.opts { display: grid; gap: 8px; }
.opts.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt > span {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); transition: border-color .15s, background .15s;
}
.opt.center > span { align-items: center; text-align: center; }
.opt > span b { font-size: 15px; }
.opt > span small { color: var(--muted); font-size: 12px; }
.opt > span em { font-style: normal; font-size: 13px; color: var(--red-text); font-weight: 600; }
.opt input:checked + span { border-color: var(--red); background: rgba(227, 22, 31, .1); }
.opt input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.opt.check > span { flex-direction: row; justify-content: space-between; align-items: center; }
.opt.check > span::before { content: ""; width: 18px; height: 18px; border-radius: 5px; border: 2px solid #555; flex: none; order: -1; margin-right: 10px; }
.opt.check input:checked + span::before { background: var(--red); border-color: var(--red); box-shadow: inset 0 0 0 3px var(--bg-2); }
.opt.check > span b { flex: 1; font-weight: 500; }
.slot-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--surface); border-radius: 999px; padding: 4px; border: 1px solid var(--line); }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--surface-2); font-size: 18px; font-weight: 700; }
.stepper button:hover { background: #333; }
.stepper span { min-width: 26px; text-align: center; font-weight: 700; }

/* ---------- Panneau panier ---------- */
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(460px, 100%); z-index: 50;
  background: var(--bg-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 30px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface); font-size: 22px; }
.back-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: 14px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px; background: var(--bg); }
.empty { text-align: center; color: var(--muted); padding: 56px 0; }
.empty .big { font-size: 56px; display: inline-block; animation: spin 6s linear infinite; }
.line { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.line-info { flex: 1; min-width: 0; }
.line-info b { display: block; }
.line-info small { color: var(--muted); display: block; font-size: 12px; line-height: 1.4; }
.line-info .lp { font-weight: 700; font-size: 14px; margin-top: 2px; }
.totals { display: grid; gap: 4px; margin-bottom: 12px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 800; font-size: 19px; border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 4px; }
.note { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.note.warn { color: var(--red-text); }
.progress { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin: 6px 0 12px; }
.progress div { height: 100%; background: var(--green); border-radius: 999px; transition: width .4s; }

/* Formulaire */
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-family: var(--head); text-transform: uppercase; font-size: 22px; margin-bottom: 12px; padding: 0; }
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.field { display: grid; gap: 5px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 600; color: #d6d6da; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { outline: 2px solid var(--red); outline-offset: -1px; border-color: transparent; }
.field input.invalid { border-color: var(--red); background: rgba(227, 22, 31, .08); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.error { color: var(--red-text); font-size: 14px; font-weight: 600; margin: 0; }
.test-hint { background: rgba(255, 210, 63, .12); border: 1px solid rgba(255, 210, 63, .35); color: #ffe48a; border-radius: 12px; padding: 10px 12px; font-size: 13px; margin-bottom: 12px; }
.card-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 2px; margin-top: 12px; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }

/* Confirmation + suivi */
.success { text-align: center; padding: 10px 0; }
.success .check { width: 78px; height: 78px; border-radius: 50%; background: rgba(63, 191, 106, .15); color: var(--green); display: grid; place-items: center; font-size: 40px; margin: 0 auto 14px; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(0); } }
.success h3 { font-size: 34px; }
.success p { color: var(--muted); margin: 6px 0; }
.track { list-style: none; margin: 22px 0; padding: 0; text-align: left; display: grid; gap: 0; }
.track li { display: flex; gap: 14px; align-items: flex-start; position: relative; padding-bottom: 18px; color: var(--muted); }
.track li:last-child { padding-bottom: 0; }
.track li::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.track li:last-child::before { display: none; }
.track .ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); flex: none; font-size: 16px; position: relative; z-index: 1; transition: background .3s; }
.track li.done { color: #fff; }
.track li.done .ic { background: var(--green); }
.track li.current { color: #fff; }
.track li.current .ic { background: var(--red); animation: pulseRed 1.4s infinite; }
@keyframes pulseRed { 0% { box-shadow: 0 0 0 0 rgba(227, 22, 31, .6); } 70% { box-shadow: 0 0 0 10px rgba(227, 22, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 22, 31, 0); } }
.track b { display: block; }
.track small { font-size: 12px; color: var(--muted); }
.recap { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-size: 14px; }
.recap div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.recap .tot { font-weight: 800; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 8px; }

.track small.sms-sent { display: block; margin-top: 3px; line-height: 1.4; }

/* Notifications SMS simulées */
.sms-box { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 90; width: min(380px, calc(100% - 24px)); display: grid; gap: 8px; pointer-events: none; }
.sms {
  background: rgba(245, 245, 247, .97); color: #111; border-radius: 18px; padding: 10px 14px 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .4); font-size: 14px;
  opacity: 0; transform: translateY(-120%); transition: opacity .35s, transform .45s cubic-bezier(.2, 1.2, .4, 1);
}
.sms.in { opacity: 1; transform: none; }
.sms-head { display: flex; justify-content: space-between; font-size: 12px; color: #6b6b70; margin-bottom: 2px; }
.sms-app { font-weight: 600; }
.sms b { font-size: 14px; }
.sms p { margin: 1px 0 0; line-height: 1.35; }

/* ---------- Divers ---------- */
.reveal { opacity: 0; transform: translateY(34px) scale(.98); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.visible { opacity: 1; transform: none; }
.flyer { position: fixed; z-index: 70; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: var(--shadow); transition: transform .75s cubic-bezier(.5, -0.3, .7, 1), opacity .75s; }
.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 80; transform: translate(-50%, 20px);
  background: #fff; color: #111; font-weight: 600; padding: 11px 18px; border-radius: 999px; font-size: 14px;
  opacity: 0; transition: .25s; pointer-events: none; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.legal { max-width: 760px; color: var(--muted); font-size: 14px; }
.legal h2 { font-size: 34px; color: var(--text); margin-bottom: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .deals-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-grid .card:last-child { grid-column: span 2; }
  .nav { display: none; }
}
@media (max-width: 760px) {
  .top .wrap { height: 62px; gap: 12px; }
  .logo img { height: 26px; }
  .tabs { top: 62px; }
  .status .txt { display: none; }
  .cart-btn .label { display: none; }
  .hero { padding: 28px 0 80px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .pizza-stage { max-width: 340px; grid-row: 1; }
  .price-sticker { width: 86px; height: 86px; }
  .price-sticker b { font-size: 24px; }
  section { padding: 64px 0; }
  .deals-grid { gap: 10px; }
  .deal h3 { font-size: 24px; }
  .deal .tag-price { font-size: 20px; }
  .deal-body { padding: 12px; }
  .deal p { font-size: 13px; }
  .deal .go { display: none; }
  .crusts { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .gallery figure:last-child { grid-column: span 2; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid .card:last-child { grid-column: auto; }
  footer .wrap { grid-template-columns: 1fr; }
  .mobile-cart { display: flex; }
  .modal { top: auto; bottom: 0; left: 0; width: 100%; max-height: 92%; border-radius: 24px 24px 0 0; transform: translateY(100%); }
  .modal.open { transform: none; }
  .opt > span { padding: 10px; }
  .group .opts.cols-2:has(.check) { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-text > * { opacity: 1; transform: none; }
}
