/* ==========================================================================
   La Pebz — mini pizzas, maxi swell
   Feuille de style partagée par toutes les pages
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --sand: #F4E7D1;
  --sand-deep: #EAD6B5;
  --cream: #FFF8EC;
  --ink: #0C1838;
  --muted: #4B5878;
  --blue: #023EB4;
  --blue-deep: #012A7A;
  --blue-mid: #4A74D9;
  --blue-wave: #3566D6;
  --sky: #A9C2F2;
  --pale: #DCE6FA;
  --on-blue: #E3EAFB;
  --on-blue-soft: #C9D6F5;
  --sun: #F3A928;
  --mint: #CDE8D2;
  --chili: #F7BBA6;
  --error: #A8321A;
  --kraft: #D9B488;
  --kraft-edge: #CDA676;
  --kraft-slot: #C79F6E;
  --kraft-ink: #5A4434;

  --font-display: 'Caprasimo', 'Cooper Black', 'Cooper Std', Georgia, serif;
  --font-body: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.3, 1.6, .5, 1);
  --ease-bounce: cubic-bezier(.3, 1.4, .5, 1);

  --container: 1320px;
  --gutter: 40px;
  --shadow-ink: rgba(12, 24, 56, .5);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
button { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
main > section, .marquee, .site-footer { overflow-x: clip; }

.disp { font-family: var(--font-display); font-weight: 400; }
.mono { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 20px; } }

/* Grain d'impression */
.grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; opacity: .07; }

/* Typo de section */
.kicker { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.kicker--ink { color: var(--ink); }
.kicker--sky { color: var(--sky); }
.section-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5.4vw, 80px); line-height: 1; letter-spacing: -.005em; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 520px; text-wrap: pretty; }

/* ---------- 3. Boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: 999px; border: 2px solid var(--ink);
  font-family: inherit; font-size: 16px; font-weight: 700; text-decoration: none;
  cursor: pointer; will-change: transform;
  transition: background-color .25s, color .25s, box-shadow .3s var(--ease-out), opacity .25s;
}
.btn--primary { background: var(--blue); color: var(--cream); box-shadow: 0 0 0 var(--ink); }
.btn--primary:hover { color: var(--cream); box-shadow: 5px 5px 0 var(--ink); }
.btn--primary[aria-disabled="true"] { background: #DCE2EE; color: var(--muted); border-color: #9AA5BD; box-shadow: none; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--sand); }
.btn--light { background: var(--cream); color: var(--blue); border-color: var(--cream); }
.btn--light:hover { color: var(--blue); box-shadow: 5px 5px 0 var(--blue-deep); }
.btn--outline-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn--outline-light:hover { background: var(--cream); color: var(--blue); }
.btn--block { width: 100%; }
.btn .arr { transition: transform .35s var(--ease-out); }
.btn:hover .arr { transform: translateX(5px); }

.nav-link { position: relative; padding: 12px 2px; font-size: 15px; font-weight: 600; text-decoration: none; }
.nav-link::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 6px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; transition: background-color .25s, color .25s;
}
.icon-btn:hover { background: var(--ink); color: var(--sand); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background-color .25s, color .25s, transform .3s var(--ease-spring);
}
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--sand); }
.chip__n { font-family: var(--font-mono); font-size: 12px; opacity: .75; }
.chip--sm { font-size: 14px; padding: 0 16px; }

.ghost-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s;
}
.ghost-btn:hover { background: var(--ink); color: var(--sand); }
.ghost-btn .wv { transition: transform .4s var(--ease-spring); }
.ghost-btn:hover .wv { transform: translateX(3px) rotate(-12deg); }

/* Tags recettes */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px;
  border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
}
.tag--veggie { background: var(--mint); }
.tag--piquante { background: var(--chili); }
.tag--signature { background: var(--sun); }
.tag--classique { background: var(--pale); }

/* Interrupteur segmenté à indicateur glissant */
.seg-toggle {
  position: relative; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  padding: 5px; border: 2px solid var(--ink); border-radius: 999px; background: var(--cream);
}
.seg-toggle__ind {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / var(--n, 3));
  border-radius: 999px; background: var(--ink);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform .55s cubic-bezier(.3, 1.35, .5, 1);
}
.seg-toggle button {
  position: relative; z-index: 1; min-height: 48px; border: 0; border-radius: 999px; background: transparent;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; transition: color .35s;
}
.seg-toggle button[aria-pressed="true"] { color: var(--sand); }

/* ---------- 4. En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--sand); border-bottom: 1.5px solid transparent;
  transition: transform .5s var(--ease-out), border-color .3s;
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.is-scrolled, .site-header--solid { border-bottom-color: var(--ink); }
.site-header__inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo img { width: 113px; height: 46px; max-width: none; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--ink); color: var(--ink);
  transition: background-color .25s, color .25s;
}
.cart-btn:hover, .cart-btn[aria-current="page"] { background: var(--ink); color: var(--sand); }
.cart-badge {
  position: absolute; top: -6px; right: -6px; min-width: 24px; height: 24px; padding: 0 6px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 2px solid var(--sand); background: var(--blue); color: var(--cream);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
}
.cart-badge[data-count="0"] { display: none; }
.cart-badge.bump { animation: badgeBump .55s cubic-bezier(.3, 1.8, .5, 1); }
.cart-btn.bump { animation: boxBump .5s var(--ease-bounce); }
@keyframes badgeBump { 40% { transform: scale(1.5); } }
@media (max-width: 820px) { .hide-sm { display: none !important; } }

/* ---------- 5. Pied de page ---------- */
.stripes { display: flex; flex-direction: column; }
.stripes span { display: block; height: 10px; }
.stripes span:nth-child(1) { background: var(--sun); }
.stripes span:nth-child(2) { background: var(--sky); }
.stripes span:nth-child(3) { background: var(--blue-mid); }
.site-footer { background: var(--blue); color: var(--sand); }
.site-footer__inner { padding-top: 84px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 64px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 48px; }
.footer-logo { width: clamp(240px, 40vw, 600px); height: auto; transform-origin: 30% 70%; transition: transform .7s var(--ease-spring); }
.footer-logo:hover { transform: rotate(-4deg) scale(1.04); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 64px; padding-bottom: 12px; }
.footer-nav__col { display: flex; flex-direction: column; gap: 12px; }
.footer-nav__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.footer-link { color: var(--sand); font-size: 15px; text-decoration: none; }
.footer-link:hover { color: var(--sun); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 24px; border-top: 1px solid rgba(244, 231, 209, .2);
  font-family: var(--font-mono); font-size: 13px;
}
.site-footer__bottom span:last-child { color: var(--on-blue-soft); }
.site-footer--compact .site-footer__inner { padding-top: 56px; padding-bottom: 36px; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.site-footer--compact .footer-logo { width: clamp(200px, 28vw, 380px); }
.site-footer--compact .stripes span { height: 8px; }
.footer-inline-nav { display: flex; flex-wrap: wrap; gap: 28px; }

/* ---------- 6. Animations génériques ---------- */
.fade-up { animation: fadeUp .9s var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 42s linear infinite; }
.spin-r { animation: spin 56s linear infinite reverse; }

/* Titre masqué ligne par ligne */
.ln { display: block; overflow: hidden; padding: 0 .18em .14em 0; margin-bottom: -.08em; }
.ln > span { display: inline-block; animation: lnUp 1.15s var(--ease-out) both; }
.ln:nth-child(2) > span { animation-delay: .14s; color: var(--blue); }
@keyframes lnUp { from { transform: translateY(112%) rotate(4deg); } to { transform: none; } }
.retro {
  text-shadow:
    calc(var(--sx, 1) * .03em) calc(var(--sy, 1) * .03em) 0 var(--sun),
    calc(var(--sx, 1) * .06em) calc(var(--sy, 1) * .06em) 0 var(--sky),
    calc(var(--sx, 1) * .09em) calc(var(--sy, 1) * .09em) 0 var(--ink);
}

/* Apparition au scroll (activée par JS) */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

/* Pebz Box en kraft (accueil + carte) */
.box__stamp {
  position: absolute; top: -14px; left: 22px; z-index: 2; height: 28px; padding: 0 11px;
  display: flex; align-items: center; border-radius: 7px; background: var(--ink); color: var(--sand);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.pbox {
  position: relative; display: grid; gap: 14px; padding: 26px; width: 100%; max-width: 480px;
  background: var(--kraft); border: 2px solid var(--ink); border-radius: 18px;
  box-shadow: inset 0 0 0 9px var(--kraft-edge), 8px 10px 0 var(--ink);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch;
}
.pbox--trio { grid-template-rows: auto auto; }
.pbox__cell {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 112px; padding: 14px 10px; border-radius: 14px;
  background: var(--kraft-slot); box-shadow: inset 0 4px 0 rgba(12, 24, 56, .22);
}
.pbox--trio .pbox__cell--pizza { grid-row: span 2; }
.pbox__pizza { width: 100%; max-width: 190px; aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: 0 14px 18px -10px rgba(12, 24, 56, .55); }
.pbox--duo .pbox__pizza { max-width: 160px; }
.pbox__pizza img { width: 100%; height: 100%; border-radius: 50%; }
.pbox__art { width: 100%; max-width: 170px; }
.pbox__art svg { display: block; width: 100%; height: auto; }
.pbox__art--dessert { max-width: 86px; }
.pbox__tag {
  display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 3px 9px; border-radius: 12px;
  background: var(--cream); border: 1.5px solid var(--ink); max-width: 100%;
  font-family: var(--font-mono); font-size: 11px; line-height: 1.2; letter-spacing: .02em; text-align: center;
}
.pbox__empty {
  width: 100%; flex: 1; display: flex; align-items: center; justify-content: center; text-align: center;
  border: 2px dashed rgba(12, 24, 56, .38); border-radius: 12px; padding: 10px;
  font-family: var(--font-mono); font-size: 12px; color: var(--kraft-ink);
}
.pbox__drop { animation: drop .7s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--k, 0) * 90ms); }
@keyframes drop { from { transform: translateY(-60px) scale(.6) rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
.pbox.bump { animation: boxBump .5s var(--ease-bounce); }
.pbox.shake { animation: shake .5s cubic-bezier(.3, .7, .4, 1); }
@keyframes boxBump { 35% { transform: scale(1.04, .96); } 70% { transform: scale(.99, 1.02); } }
@keyframes shake { 20% { transform: translateX(-9px) rotate(-1.2deg); } 40% { transform: translateX(8px) rotate(1deg); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }

/* Petit surfeur pizza */
.rider { position: absolute; left: 0; top: 0; width: 68px; height: 44px; transform-origin: 34px 40px; transform: translate3d(-200px, 40px, 0); }

/* ---------- 7. Accueil ---------- */
.hero { position: relative; padding: 40px 0 190px; }
.hero__inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero__text { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 30px; }
.pill {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; height: 36px; padding: 0 16px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(56px, 6.6vw, 104px); line-height: .94; letter-spacing: -.005em; }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 500px; line-height: 1.55; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.board-legend { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding-top: 4px; }
.board-legend li { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); }
.board-legend, .steps, .features { list-style: none; margin: 0; padding: 0; }

.hero__visual { flex: 1 1 440px; min-width: 0; display: flex; justify-content: center; }
.stage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 5 / 6; }
.stage__sun { position: absolute; left: 4%; right: 4%; top: 0; aspect-ratio: 1 / 1; }
.stage__sun > div { width: 100%; height: 100%; animation: sunrise 1.7s var(--ease-out) .1s both; }
.stage__sun svg { display: block; width: 100%; height: 100%; }
@keyframes sunrise { from { transform: translateY(24%) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.float-pz { position: absolute; aspect-ratio: 1 / 1; }
.float-pz > div {
  width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 22px 30px -12px var(--shadow-ink);
  animation: popIn 1s cubic-bezier(.3, 1.5, .5, 1) var(--d, .6s) both, bob var(--b, 6s) ease-in-out calc(var(--d, .6s) + 1s) infinite alternate;
}
.float-pz img { width: 100%; height: 100%; border-radius: 50%; }
@keyframes popIn { from { transform: scale(.2) rotate(-100deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bob { from { transform: translateY(0) rotate(0); } to { transform: translateY(16px) rotate(5deg); } }

.chef-wrap { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.chef {
  position: relative; height: 94%; aspect-ratio: 622 / 1100; display: block;
  padding: 0; border: 0; background: transparent; cursor: pointer; pointer-events: auto;
  transform-origin: 50% 100%; animation: chefIn 1.1s var(--ease-bounce) .3s backwards;
}
@keyframes chefIn { from { transform: translateY(60px) scale(.86); opacity: 0; } to { transform: none; opacity: 1; } }
.chef__body { position: absolute; inset: 0; display: block; transform-origin: 50% 100%; animation: chefIdle 3.6s ease-in-out 1.4s infinite; }
.chef__body > img { width: 100%; height: 100%; max-width: none; }
@keyframes chefIdle { 50% { transform: translateY(-5px) scaleY(1.012) rotate(-.8deg); } }
.chef:hover .chef__body { animation: chefHop .7s var(--ease-spring); }
@keyframes chefHop { 30% { transform: translateY(-22px) rotate(-2deg); } 60% { transform: translateY(0) scaleY(.96); } }
.chef__peel { position: absolute; display: block; left: 1%; top: 14%; width: 32%; aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: 0 12px 16px -8px rgba(12, 24, 56, .6); }
.chef__peel img { width: 100%; height: 100%; border-radius: 50%; }
.bubble {
  position: absolute; left: 68%; top: 2%; display: block; padding: 10px 16px 11px;
  background: var(--cream); color: var(--ink); text-align: left;
  border: 2px solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink);
  transform-origin: 10% 100%; animation: bubIn .6s var(--ease-spring) 1.5s backwards;
}
.bubble.pop { animation: bubIn .5s var(--ease-spring); }
.bubble__text { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1.1; white-space: nowrap; }
.bubble::after {
  content: ""; position: absolute; left: 18px; bottom: -9px; width: 16px; height: 16px;
  background: var(--cream); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
}
@keyframes bubIn { from { transform: scale(.4) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) { .bubble { left: 52%; top: -4%; } .bubble__text { font-size: 16px; } }

.waves { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; z-index: 1; pointer-events: none; }
.waves svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.marquee { overflow: hidden; margin-top: -1px; padding: 14px 0 30px; background: var(--blue); color: var(--cream); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap; font-family: var(--font-display); font-size: 44px; line-height: 1.1; }

.concept { padding: 130px 0 120px; }
.concept .section-title { max-width: 1000px; margin: 22px 0 72px; font-size: clamp(40px, 5.2vw, 76px); }
.concept .section-title span { color: var(--blue); }
.concept__grid { display: flex; flex-wrap: wrap; gap: 64px; align-items: stretch; }
.arch { position: relative; flex: 1 1 380px; min-height: 540px; }
.arch__frame { position: absolute; inset: 0; overflow: hidden; border: 2px solid var(--ink); border-radius: 999px 999px 28px 28px; background: var(--sand-deep); }
.arch__frame img, .plx-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.badge-12 {
  position: absolute; right: -26px; top: 44px; width: 140px; height: 140px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); transform: rotate(-8deg);
}
.badge-12 svg { position: absolute; left: 6px; top: 6px; width: 124px; height: 124px; animation: spin 18s linear infinite; }
.badge-12 text { font-family: var(--font-mono); font-size: 19px; letter-spacing: 3px; fill: var(--ink); font-weight: 500; }
.badge-12 span { position: relative; font-family: var(--font-display); font-size: 42px; line-height: 1; }
.steps { flex: 1.4 1 460px; display: flex; flex-direction: column; justify-content: center; }
.step { display: flex; gap: 28px; padding: 36px 0; border-top: 1.5px solid var(--ink); }
.step:last-child { border-bottom: 1.5px solid var(--ink); }
.step__n { flex: 0 0 96px; font-family: var(--font-display); font-size: 64px; line-height: .9; color: var(--blue); }
.step h3 { font-size: 25px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.step p { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 470px; }

.packs { position: relative; padding: 150px 0 130px; background: var(--sun); }
.packs__divider { position: absolute; top: -1px; left: 0; width: 100%; height: 60px; display: block; }
.packs__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.packs__head .section-title { margin-top: 22px; font-size: clamp(44px, 5.6vw, 84px); }
.packs__head p { max-width: 420px; font-size: 18px; line-height: 1.55; }
.packs__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; margin-top: 64px; }
.packs__options { flex: 1 1 360px; max-width: 480px; display: flex; flex-direction: column; gap: 14px; }
.seg {
  display: flex; align-items: center; gap: 18px; width: 100%; min-height: 80px; padding: 12px 22px;
  border: 2px solid var(--ink); border-radius: 22px; background: transparent; color: var(--ink); text-align: left; cursor: pointer;
  transition: background-color .3s, color .3s, transform .35s var(--ease-out);
}
.seg:hover { transform: translateX(6px); }
.seg[aria-pressed="true"] { background: var(--ink); color: var(--sand); }
.seg__board { flex: 0 0 110px; display: flex; justify-content: center; transition: transform .6s var(--ease-spring); }
.seg[aria-pressed="true"] .seg__board { transform: rotate(-9deg) scale(1.08); }
.seg__label { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; }
.seg__name { font-family: var(--font-display); font-size: 26px; line-height: 1; }
.seg__count { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; }
.seg__price { font-family: var(--font-mono); font-size: 17px; font-weight: 500; white-space: nowrap; }
@media (max-width: 640px) {
  .seg { gap: 12px; padding: 12px 16px; }
  .seg__board { flex-basis: 76px; }
  .seg__board svg { max-width: 76px; height: auto; }
  .step { gap: 18px; }
  .step__n { flex-basis: 62px; font-size: 48px; }
  .badge-12 { right: -8px; width: 112px; height: 112px; }
  .badge-12 svg { width: 100px; height: 100px; }
  .badge-12 span { font-size: 34px; }
  .arch { min-height: 420px; }
}
.packs__cta { margin-top: 14px; }
.box-stage {
  position: relative; overflow: hidden; flex: 1.3 1 520px; min-width: 0; min-height: 560px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px;
  padding: 56px 24px 44px; background: var(--sand); border: 2px solid var(--ink); border-radius: 34px;
}
.box-stage__rings { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.box-stage__view { position: relative; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 34px; }
.box-stage .pbox { animation: boxIn .75s var(--ease-bounce) both; }
@keyframes boxIn { from { transform: scaleX(.86) scaleY(.95); } }
.pk-info { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 440px; text-align: center; animation: fadeUp .7s var(--ease-out) .15s both; }
.pk-info__name { font-family: var(--font-display); font-size: 42px; line-height: 1; }
.pk-info__desc { font-size: 17px; color: var(--muted); }

.lineup { padding: 140px 0 110px; }
.lineup__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.lineup__head .section-title { margin-top: 22px; font-size: clamp(44px, 5.6vw, 84px); }
.lineup__controls { display: flex; align-items: center; gap: 12px; }
.lineup__hint { margin-right: 8px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.track {
  display: flex; gap: 22px; overflow-x: auto; overflow-y: hidden;
  padding: 112px max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))) 34px;
  scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none;
}
.track::-webkit-scrollbar { display: none; }
.track.is-grabbing { cursor: grabbing; }
.card {
  position: relative; flex: 0 0 292px; display: flex; flex-direction: column; gap: 12px; padding: 152px 22px 22px;
  background: var(--cream); border: 1.5px solid var(--ink); border-radius: 26px;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.card:hover { transform: translateY(-8px); box-shadow: 6px 8px 0 var(--ink); }
.card__media { position: absolute; left: 50%; top: -82px; width: 210px; height: 210px; margin-left: -105px; border-radius: 50%; box-shadow: 0 22px 28px -14px rgba(12, 24, 56, .55); }
.card__media img { width: 100%; height: 100%; border-radius: 50%; }
.card__name { font-family: var(--font-display); font-size: 30px; line-height: 1.02; }
.card__desc { flex-grow: 1; font-size: 15px; color: var(--muted); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1.5px dashed rgba(12, 24, 56, .3); }
.price { font-family: var(--font-mono); font-size: 15px; font-weight: 500; }
.card__prices { display: flex; gap: 16px; font-family: var(--font-mono); font-size: 15px; font-weight: 500; }
.card__prices span { display: flex; flex-direction: column; line-height: 1.15; }
.card__prices small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.seg__board svg { color: currentColor; }
.plus {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--cream); transition: transform .4s var(--ease-spring), background-color .25s;
}
.plus:hover { transform: rotate(90deg); background: var(--blue); color: var(--cream); }

.spot { position: relative; overflow: hidden; padding: 140px 0; background: var(--blue); color: var(--cream); }
.spot__inner { display: flex; flex-wrap: wrap; gap: 80px; align-items: center; }
.spot__visual { position: relative; flex: 1 1 480px; min-width: 0; padding: 10px 34px 70px 6px; }
.postcard {
  padding: 14px 14px 0; background: var(--cream); border-radius: 6px; box-shadow: 0 34px 60px -28px rgba(0, 0, 0, .6);
  transform: rotate(-3deg); transition: transform .7s var(--ease-out);
}
.postcard:hover { transform: rotate(0) scale(1.01); }
.plx-frame { position: relative; height: 440px; overflow: hidden; border-radius: 2px; }
.postcard__caption { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 4px 18px; padding-right: 150px; color: var(--ink); }
.postcard__caption .disp { font-size: 26px; line-height: 1.1; }
.postcard__caption .mono { font-size: 12px; letter-spacing: .1em; }
.oven-badge { position: absolute; right: 0; bottom: 0; width: 190px; height: 190px; overflow: hidden; border-radius: 50%; border: 6px solid var(--cream); transform: rotate(6deg); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .6); }
.oven-badge img { width: 100%; height: 100%; object-fit: cover; }
.spot__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.spot__text p { font-size: 19px; line-height: 1.6; max-width: 520px; color: var(--on-blue); }
.features { display: flex; flex-direction: column; margin-top: 8px; }
.feature { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-top: 1px solid rgba(255, 248, 236, .22); }
.feature:last-child { border-bottom: 1px solid rgba(255, 248, 236, .22); }
.feature__icon { flex: 0 0 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.feature strong { display: block; font-size: 18px; margin-bottom: 4px; }
.feature span { font-size: 16px; line-height: 1.5; color: var(--on-blue-soft); }

.infos { padding: 140px 0 130px; }
.infos .section-title { margin: 22px 0 64px; max-width: 900px; font-size: clamp(40px, 5vw, 72px); }
.infos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px 36px; }
.info { display: flex; flex-direction: column; gap: 14px; padding-top: 26px; border-top: 2px solid var(--ink); }
.info__label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.info__big { font-family: var(--font-display); font-size: 30px; line-height: 1.1; }
.info__sub { font-size: 17px; color: var(--muted); }
.info__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 17px; border-bottom: 1.5px dashed rgba(12, 24, 56, .3); }
.info__row:last-child { border-bottom: 0; }
.info__row span:first-child { font-weight: 600; }
.info .nav-link { align-self: flex-start; }

.cta-band { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--cream); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(12, 24, 56, .45); }
.cta-band__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 80px 24px; }
.cta-band h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 7vw, 112px); line-height: .96; max-width: 1000px; }
.cta-band .btn--primary { border-color: var(--cream); }

/* ---------- 8. En-tête des pages internes ---------- */
.page-head { padding: 60px 0 36px; }
.page-head__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.page-head__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.page-head__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(50px, 6.4vw, 100px); line-height: .94; letter-spacing: -.005em; }
.page-head__photo { flex: 0 1 460px; min-width: 0; height: 250px; overflow: hidden; border: 2px solid var(--ink); border-radius: 999px 999px 24px 24px; position: relative; }
.page-head__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }

.two-col { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.two-col__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.two-col__aside { flex: 1 1 360px; min-width: 0; max-width: 460px; align-self: stretch; }
@media (min-width: 1100px) { .sticky-panel { position: sticky; top: 104px; } }

/* ---------- 9. Carte ---------- */
.menu-nav { position: sticky; top: 84px; z-index: 40; background: var(--sand); border-bottom: 1.5px solid var(--ink); }
.menu-nav .container { display: flex; gap: 10px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.menu-nav .container::-webkit-scrollbar { display: none; }
.menu-nav a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .25s, color .25s; }
.menu-nav a:hover { color: var(--ink); background: var(--sand-deep); }
.menu-nav a.is-active { background: var(--ink); color: var(--sand); }
.menu-section { padding: 40px 0 120px; }
.menu-section .two-col__main { gap: 36px; }
.menu-section .sticky-panel { top: 170px; }
.mrow { scroll-margin-top: 190px; }

.menu-block { scroll-margin-top: 170px; padding: 30px 30px 14px; background: var(--cream); border: 2px solid var(--ink); border-radius: 28px; }
.menu-block__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 6px; }
.menu-block__title {
  display: inline-flex; align-items: center; gap: 14px; padding: 6px 20px 8px;
  border: 2px solid var(--blue); border-radius: 14px; color: var(--blue);
  font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1;
}
.menu-block__title svg { width: 30px; height: 30px; }
.menu-block__note { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--muted); }

.mrow { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 18px 0; border-top: 1.5px dashed rgba(12, 24, 56, .25); }
.menu-block__head + .mrow { border-top: 0; }
.mrow.is-flash { animation: rowFlash 1.6s var(--ease-out); }
@keyframes rowFlash { 0%, 40% { background: var(--pale); } 100% { background: transparent; } }
.mrow__media { width: 76px; height: 76px; border-radius: 50%; box-shadow: 0 12px 16px -10px var(--shadow-ink); }
.mrow__media img { width: 100%; height: 100%; border-radius: 50%; transition: transform 1.4s var(--ease-out); }
.mrow:hover .mrow__media img { transform: rotate(140deg); }
.mrow__icon { width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--pale); color: var(--blue); }
.mrow__icon svg { width: 34px; height: 34px; }
.mrow__icon--art { background: transparent; }
.mrow__icon--art svg { width: 76px; height: auto; }
.mrow__title { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.mrow__title::after { content: ""; flex: 1; min-width: 20px; border-bottom: 2.5px dotted rgba(2, 62, 180, .45); transform: translateY(-5px); }
.mrow__name { font-family: var(--font-display); font-size: 25px; line-height: 1.05; }
.mrow__badge { flex-shrink: 0; align-self: center; height: 22px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--sun); border: 1.5px solid var(--ink); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.mrow__desc { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.mrow__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.variants { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
@media (max-width: 640px) {
  .menu-block { padding: 22px 18px 8px; border-radius: 22px; }
  .mrow { grid-template-columns: 56px minmax(0, 1fr); }
  .mrow__media, .mrow__icon { width: 56px; height: 56px; }
  .mrow__icon--art svg { width: 56px; }
  .mrow__actions { grid-column: 1 / -1; justify-content: flex-start; }
  .mrow__name { font-size: 22px; }
}

.add-pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 8px 6px 14px;
  border: 1.5px solid var(--ink); border-radius: 16px; background: transparent; color: var(--ink);
  cursor: pointer; text-align: left; transition: background-color .25s, color .25s, transform .3s var(--ease-spring);
}
.add-pill:hover { background: var(--blue); color: var(--cream); border-color: var(--blue); transform: translateY(-2px); }
.add-pill:active { transform: scale(.97); }
.add-pill__txt { display: flex; flex-direction: column; line-height: 1.1; }
.add-pill__size { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.add-pill__price { font-family: var(--font-mono); font-size: 16px; font-weight: 500; }
.add-pill__plus { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--sun); color: var(--ink); transition: transform .45s var(--ease-spring); }
.add-pill:hover .add-pill__plus { transform: rotate(90deg); }
.add-pill--sm { min-height: 40px; padding: 4px 6px 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.add-pill--sm .add-pill__plus { width: 26px; height: 26px; }

/* Composeur de Pebz Box */
.composer { scroll-margin-top: 170px; display: flex; flex-direction: column; gap: 24px; padding: 30px; background: var(--sun); border: 2px solid var(--ink); border-radius: 28px; }
.composer .menu-block__title { border-color: var(--ink); color: var(--ink); }
.composer__grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.composer__steps { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.composer .seg-toggle { background: var(--cream); }
.cstep { display: flex; flex-direction: column; gap: 10px; }
.cstep__label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.pick-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pick {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--cream); color: var(--ink);
  font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s, transform .3s var(--ease-spring);
}
.pick:hover:not(:disabled) { transform: translateY(-2px); }
.pick[aria-pressed="true"] { background: var(--ink); color: var(--sand); }
.pick:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.cstep__fixed { display: inline-flex; align-self: flex-start; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px dashed var(--ink); background: var(--cream); font-size: 14px; font-weight: 600; }
.composer__preview { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 36px 18px 22px; background: var(--sand); border: 2px solid var(--ink); border-radius: 22px; }
.composer__status { min-height: 22px; text-align: center; font-size: 15px; font-weight: 600; }
.composer__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.composer__price { font-family: var(--font-display); font-size: 40px; line-height: 1; }
.composer__price small { display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* Mini-panier */
.minicart { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--blue); color: var(--cream); border: 2px solid var(--ink); border-radius: 28px; box-shadow: 8px 10px 0 var(--ink); }
.minicart.bump { animation: boxBump .5s var(--ease-bounce); }
.minicart__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.minicart__head h2 { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1; }
.minicart__count { height: 32px; padding: 0 12px; display: flex; align-items: center; border-radius: 999px; background: var(--sun); color: var(--ink); font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.minicart__list { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow-y: auto; }
.minicart__item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255, 248, 236, .22); animation: fadeUp .45s var(--ease-out) both; }
.minicart__name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.minicart__kicker { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--sky); margin-top: 2px; }
.minicart__qty, .minicart__price { font-family: var(--font-mono); font-size: 14px; white-space: nowrap; }
.minicart__rm { grid-column: 3; }
.minicart__rm button { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--on-blue-soft); cursor: pointer; }
.minicart__rm button:hover { background: rgba(255, 248, 236, .15); color: var(--cream); }
.minicart__empty { padding: 14px 0 4px; font-size: 15px; color: var(--on-blue-soft); }
.minicart__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1.5px solid rgba(255, 248, 236, .5); }
.minicart__total span:first-child { font-weight: 700; }
.minicart__total span:last-child { font-family: var(--font-display); font-size: 34px; line-height: 1; }
.minicart .btn--light[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.flyer { position: fixed; left: 0; top: 0; z-index: 88; width: 120px; height: 120px; border-radius: 50%; pointer-events: none; opacity: 0; will-change: transform; box-shadow: 0 20px 30px -12px rgba(12, 24, 56, .55); overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--pale); color: var(--blue); }
.flyer img { width: 100%; height: 100%; }
.flyer svg { width: 56px; height: 56px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 85; display: flex; align-items: center; gap: 18px; max-width: calc(100vw - 32px);
  padding: 10px 10px 10px 24px; border-radius: 999px; background: var(--ink); color: var(--sand);
  box-shadow: 0 24px 40px -18px rgba(12, 24, 56, .7);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .55s var(--ease-bounce), opacity .3s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast .btn { flex-shrink: 0; min-height: 46px; padding: 0 20px; border-color: var(--ink); }

/* ---------- 10. Panier ---------- */
.cart-section { padding: 0 0 110px; }
.gauge { display: flex; flex-direction: column; gap: 6px; padding: 26px 30px 22px; background: var(--blue); color: var(--cream); border: 2px solid var(--ink); border-radius: 26px; }
.gauge__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; }
.gauge__text { font-size: 18px; font-weight: 700; }
.gauge__note { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: var(--sky); }
.gauge__track { position: relative; height: 96px; }
.gauge__wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 80px; overflow: visible; }
.gauge__flag { position: absolute; right: -4px; top: 6px; }

.empty-state { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 56px 32px; text-align: center; border: 2px dashed var(--ink); border-radius: 26px; animation: fadeUp .5s var(--ease-out) both; }
.empty-state .disp { font-size: 34px; line-height: 1.05; }
.empty-state p:not(.disp) { font-size: 17px; color: var(--muted); max-width: 420px; }

.cart-lines { display: flex; flex-direction: column; border-top: 1.5px solid var(--ink); }
.cart-line { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; padding: 24px 0; overflow: hidden; border-bottom: 1.5px solid var(--ink); animation: fadeUp .7s var(--ease-out) both; }
.cart-line:nth-child(2) { animation-delay: .08s; }
.cart-line:nth-child(3) { animation-delay: .16s; }
.cart-line:nth-child(4) { animation-delay: .24s; }
.line-thumb { flex: 0 0 132px; display: flex; justify-content: center; }
.line-thumb img { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 14px 18px -10px var(--shadow-ink); }
.line-thumb__icon { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--pale); color: var(--blue); }
.line-thumb__icon svg { width: 40px; height: 40px; }
.line-thumb__art { width: 120px; }
.line-thumb__art svg { display: block; width: 100%; height: auto; }
.line-thumb__box { position: relative; width: 120px; height: 96px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 8px; background: var(--kraft); border: 2px solid var(--ink); border-radius: 12px; box-shadow: inset 0 0 0 4px var(--kraft-edge); }
.line-thumb__box img { width: 58px; height: 58px; border-radius: 50%; box-shadow: none; }
.line-thumb__box span { width: 44px; }
.line-thumb__box svg { display: block; width: 100%; height: auto; }
.line-info { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.line-info__kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.line-info__name { font-family: var(--font-display); font-size: 28px; line-height: 1.05; }
.line-info__detail { font-size: 15px; color: var(--muted); }
.line-info .nav-link { align-self: flex-start; padding: 6px 2px; font-size: 14px; }
.line-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--cream); }
.stepper button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
.stepper button:hover { background: var(--ink); color: var(--sand); }
.qty { display: inline-block; min-width: 26px; text-align: center; font-family: var(--font-mono); font-size: 16px; font-weight: 500; }
.qty.flip { animation: flip .4s var(--ease-spring); }
@keyframes flip { from { transform: translateY(-60%); opacity: 0; } }
.line-total { min-width: 92px; text-align: right; font-family: var(--font-mono); font-size: 18px; font-weight: 500; }
.rm-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, transform .35s var(--ease-spring); }
.rm-btn:hover { background: var(--sky); color: var(--ink); transform: rotate(90deg); }

.suggest { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.suggest__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; }
.suggest__head h2 { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1; }
.suggest__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 16px; }
.sug {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px 14px;
  background: var(--cream); border: 1.5px solid var(--ink); border-radius: 22px; color: var(--ink); cursor: pointer;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.sug:hover { transform: translateY(-5px); box-shadow: 5px 6px 0 var(--ink); }
.sug__icon { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--pale); color: var(--blue); transition: transform .6s var(--ease-spring); }
.sug__icon svg { width: 36px; height: 36px; }
.sug:hover .sug__icon { transform: rotate(-12deg) scale(1.06); }
.sug__name { font-family: var(--font-display); font-size: 19px; line-height: 1.1; text-align: center; }
.sug__add { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; }

.summary { display: flex; flex-direction: column; gap: 24px; padding: 28px; background: var(--cream); border: 2px solid var(--ink); border-radius: 30px; box-shadow: 8px 10px 0 var(--ink); }
.summary h2 { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1; }
.summary__block { display: flex; flex-direction: column; gap: 10px; }
.summary__label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.summary .seg-toggle { background: var(--sand); }
.summary .seg-toggle button { font-size: 15px; gap: 8px; }
.summary__note { font-size: 15px; color: var(--muted); animation: fadeUp .5s var(--ease-out) both; }
.field-group { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; animation: fadeUp .5s var(--ease-out) both; }
.field-group label { font-size: 14px; font-weight: 600; }
.field { width: 100%; min-height: 50px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--cream); color: var(--ink); font: inherit; font-size: 16px; }
.field::placeholder { color: #5F6B88; }
.promo { display: flex; gap: 8px; }
.promo .field { text-transform: uppercase; font-family: var(--font-mono); }
.promo .btn { min-height: 50px; padding: 0 18px; flex: 0 0 auto; }
.promo.shake, .empty-state.shake { animation: shake .5s cubic-bezier(.3, .7, .4, 1); }
.promo-msg { font-size: 14px; font-weight: 600; }
.promo-msg.is-ok { color: var(--blue); }
.promo-msg.is-error { color: var(--error); }
.totals { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1.5px dashed rgba(12, 24, 56, .35); font-size: 16px; }
.totals__row { display: flex; justify-content: space-between; gap: 12px; }
.totals__row span:last-child { font-family: var(--font-mono); }
.totals__row--disc { color: var(--blue); font-weight: 600; }
.totals__grand { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1.5px solid var(--ink); }
.totals__grand span:first-child { font-size: 18px; font-weight: 700; }
.totals__grand span:last-child { font-family: var(--font-display); font-size: 44px; line-height: 1; }
.summary .btn--primary { min-height: 60px; font-size: 17px; }
.summary__foot { margin-top: -8px; text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }

.overlay {
  position: fixed; inset: 0; z-index: 95; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: var(--blue); color: var(--cream); animation: ovIn .6s var(--ease-out) both;
}
.overlay[hidden] { display: none; }
@keyframes ovIn { from { opacity: 0; } }
.overlay__waves { position: absolute; left: 0; bottom: 0; width: 100%; height: 180px; }
.overlay__card { position: relative; z-index: 1; width: 100%; max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; animation: cardIn .8s cubic-bezier(.3, 1.35, .5, 1) .15s both; }
@keyframes cardIn { from { transform: translateY(60px) scale(.94); opacity: 0; } }
.overlay__card h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.overlay__card p { font-size: 18px; line-height: 1.55; max-width: 480px; color: var(--on-blue); }
.overlay__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 6px; }
.orbit-stage { position: relative; width: 340px; max-width: 100%; height: 360px; display: flex; align-items: center; justify-content: center; }
.orbit { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.orbit span { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; box-shadow: 0 10px 16px -8px rgba(0, 0, 0, .5); animation: orbIn .7s var(--ease-spring) both; }
.orbit span img { width: 100%; height: 100%; border-radius: 50%; }
.orbit span:nth-child(1) { transform: rotate(0deg) translateX(150px); animation-delay: .6s; }
.orbit span:nth-child(2) { transform: rotate(60deg) translateX(150px); animation-delay: .7s; }
.orbit span:nth-child(3) { transform: rotate(120deg) translateX(150px); animation-delay: .8s; }
.orbit span:nth-child(4) { transform: rotate(180deg) translateX(150px); animation-delay: .9s; }
.orbit span:nth-child(5) { transform: rotate(240deg) translateX(150px); animation-delay: 1s; }
.orbit span:nth-child(6) { transform: rotate(300deg) translateX(150px); animation-delay: 1.1s; }
@keyframes orbIn { from { opacity: 0; scale: .2; } }
.chef-ok { position: relative; height: 260px; width: auto; max-width: none; transform-origin: 50% 100%; animation: chefPop .8s cubic-bezier(.3, 1.5, .5, 1) .35s backwards, okIdle 3s ease-in-out 1.3s infinite; }
@keyframes chefPop { from { transform: translateY(50px) scale(.8); opacity: 0; } }
@keyframes okIdle { 50% { transform: translateY(-6px) rotate(1.5deg); } }

/* ---------- 11. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .toast { transition: none; }
}
