/* Benmansour Events — Le Banquet */
@keyframes vt-out { to { opacity: 0; transform: translateY(-18px) scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(28px); } }

:root {
  --bx: #581537; --deep: #3d0e26; --night: #26091a;
  --cream: #f7eee2; --paper: #fffaf2; --ink: #2b1620; --soft: #6b4a58;
  --gold: #d8b26a; --blush: #f1d5dc;
  --disp: "Fraunces", Georgia, serif;
  --text: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --head: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.55 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.disp { font-family: var(--disp); font-weight: 500; font-variation-settings: "SOFT" 100, "WONK" 0; letter-spacing: -.02em; line-height: 1.02; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

/* strip + header */
.demo-back { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; background: #241a1f; color: #fff; font-size: 14px; text-decoration: none; }
.demo-back svg { width: 14px; height: 14px; }
.top { position: sticky; top: 0; z-index: 50; height: var(--head); background: var(--night); color: var(--cream); display: flex; align-items: center; gap: 14px; padding: 0 clamp(16px, 4vw, 40px); }
.top__logo { display: block; width: 168px; aspect-ratio: 814 / 115; background: var(--cream); -webkit-mask: url(assets/logo-benmansour.png) center / contain no-repeat; mask: url(assets/logo-benmansour.png) center / contain no-repeat; transition: transform .5s var(--ease); }
.top__nav { display: none; margin-left: auto; gap: 6px; }
.top__nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; transition: background .25s, color .25s, transform .4s var(--ease); }
.top__nav a[aria-current="page"] { background: var(--cream); color: var(--night); }
.top__tools { margin-left: auto; display: flex; gap: 8px; align-items: center; position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(247, 238, 226, .35); background: none; color: var(--cream); font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .4s var(--ease), background .25s, color .25s, border-color .25s; }
.pill svg { width: 20px; height: 20px; }
.pill:active { transform: scale(.93); }
.basket b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--gold); color: var(--night); font-size: 13px; display: grid; place-items: center; }
.basket.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.95) rotate(5deg); } }
.menu { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, 86vw); padding: 8px; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px -20px rgba(38, 9, 26, .6); transform-origin: 85% 0; transform: scale(.85) translateY(-8px); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .2s; }
.menu.open { transform: none; opacity: 1; pointer-events: auto; }
.menu a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; border-radius: 16px; text-decoration: none; font: 500 22px var(--disp); }
.menu a[aria-current="page"] { background: var(--bx); color: var(--cream); }
.menu a:active { transform: scale(.97); }
@media (min-width: 900px) {
  .top__nav { display: flex; } .top__tools { margin-left: 8px; } #menuBtn, .menu { display: none; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--bx); color: var(--cream); font-weight: 700; font-size: 16px; text-decoration: none; position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .3s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--cream { background: var(--cream); color: var(--night); }
.btn--gold { background: var(--gold); color: var(--night); }
.btn--line { background: none; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn:active { transform: scale(.94); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-120%); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -14px rgba(38, 9, 26, .7); }
  .btn:hover::after { transform: translateX(120%); transition: transform .7s var(--out); }
  .pill:hover { background: var(--cream); color: var(--night); border-color: var(--cream); transform: translateY(-2px); }
  .top__nav a:hover { background: rgba(247, 238, 226, .14); transform: translateY(-2px); }
  .top__nav a[aria-current="page"]:hover { background: var(--cream); }
  .top__logo:hover { transform: scale(1.04) rotate(-1deg); }
}

/* reveal */
[data-rv] { transform: translateY(36px); transition: opacity .7s var(--out), transform .9s var(--out); transition-delay: calc(var(--i, 0) * 90ms); }
[data-rv].in { opacity: 1; transform: none; }

/* HERO */
.hero { position: relative; height: calc(100svh - 36px - var(--head)); min-height: 620px; max-height: 1000px; overflow: clip; color: var(--cream); background: radial-gradient(120% 80% at 50% 45%, #6f1c47 0%, var(--bx) 38%, var(--deep) 78%, var(--night) 100%); display: grid; place-items: center; }
.hero__text { position: relative; z-index: 3; text-align: center; padding: 0 20px; display: grid; justify-items: center; gap: 16px; }
.hero__logo { width: min(74vw, 540px); animation: rise 1s var(--out) .15s both; }
.hero__tag { font: italic 400 clamp(22px, 5.6vw, 38px)/1.1 var(--disp); animation: rise 1s var(--out) .3s both; }
.hero__sub { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); animation: rise 1s var(--out) .42s both; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; animation: rise 1s var(--out) .55s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.fly { position: absolute; left: var(--x); top: var(--y); width: var(--w); margin: calc(var(--w) * -.5) 0 0 calc(var(--w) * -.5); z-index: var(--z, 2); will-change: transform; cursor: grab; touch-action: manipulation; -webkit-tap-highlight-color: transparent; filter: drop-shadow(0 22px 18px rgba(20, 3, 12, .45)); }
.fly img { width: 100%; pointer-events: none; user-select: none; }
.hero__cue { position: absolute; left: 50%; bottom: 14px; z-index: 3; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; display: grid; place-items: center; color: var(--cream); animation: cue 1.8s ease-in-out infinite; }
.hero__cue svg { width: 22px; height: 22px; }
@keyframes cue { 50% { transform: translateY(8px); } }
/* phone constellation */
.f-burg { --x: 20%; --y: 15%; --w: 34vw; --z: 2; }
.f-moc4 { --x: 84%; --y: 17%; --w: 15vw; }
.f-mac { --x: 58%; --y: 13%; --w: 11vw; }
.f-cro { --x: 12%; --y: 80%; --w: 30vw; }
.f-moc5 { --x: 90%; --y: 76%; --w: 12vw; }
.f-pan { --x: 62%; --y: 86%; --w: 32vw; }
.f-pea, .f-sand, .f-hot { display: none; }
@media (min-width: 760px) {
  .f-burg { --x: 17%; --y: 26%; --w: clamp(150px, 17vw, 260px); }
  .f-moc4 { --x: 85%; --y: 27%; --w: clamp(70px, 7.5vw, 120px); }
  .f-mac { --x: 75.5%; --y: 15%; --w: clamp(40px, 3.8vw, 62px); }
  .f-cro { --x: 14%; --y: 74%; --w: clamp(150px, 16vw, 250px); }
  .f-moc5 { --x: 84%; --y: 80%; --w: clamp(60px, 6vw, 96px); }
  .f-pan { --x: 68%; --y: 86%; --w: clamp(150px, 16vw, 250px); }
  .f-pea { display: block; --x: 94%; --y: 60%; --w: clamp(130px, 13vw, 210px); --z: 1; }
  .f-sand { display: block; --x: 5%; --y: 50%; --w: clamp(140px, 15vw, 230px); --z: 1; }
  .f-hot { display: block; --x: 33%; --y: 93%; --w: clamp(130px, 13vw, 210px); }
}

/* annonce */
.note { background: var(--gold); color: var(--night); }
.note p { padding: 18px 0; text-align: center; font-weight: 600; font-size: 16px; }
.note a { font-weight: 800; white-space: nowrap; }

/* sections */
.sec { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.sec--dark { background: var(--bx); color: var(--cream); }
.sec__title { font-size: clamp(44px, 9vw, 96px); }
.sec__lead { margin-top: 14px; max-width: 34ch; font-size: 18px; color: var(--soft); }
.sec--dark .sec__lead { color: var(--blush); }

/* la carte, 4 scènes */
.scenes { display: grid; gap: 22px; margin-top: 48px; }
@media (min-width: 820px) { .scenes { grid-template-columns: 1fr 1fr; gap: 28px; } }
.scene { position: relative; display: grid; grid-template-rows: auto auto; border-radius: 32px; background: var(--bx); color: var(--cream); text-decoration: none; padding: 0 26px 26px; transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .4s; will-change: transform; }
.scene:nth-child(2) { background: var(--night); } .scene:nth-child(3) { background: #7a2148; } .scene:nth-child(4) { background: var(--deep); }
.scene__art { position: relative; height: clamp(190px, 46vw, 260px); margin-top: -34px; transform: translateZ(40px); pointer-events: none; }
.scene__art img { position: absolute; filter: drop-shadow(0 18px 14px rgba(20, 3, 12, .5)); transition: transform .7s var(--ease); }
.scene__name { font-size: clamp(34px, 7vw, 46px); }
.scene__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.scene__price { font-weight: 700; font-size: 17px; color: var(--gold); }
.scene__go { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--night); display: grid; place-items: center; transition: transform .5s var(--ease); }
.scene__go svg { width: 22px; height: 22px; }
.scene:active { transform: scale(.97); }
.a1 { left: 2%; bottom: 0; width: 46%; } .a2 { right: 0; bottom: 4%; width: 44%; } .a3 { left: 34%; bottom: 34%; width: 38%; }
.box-photo { left: 8%; right: 8%; bottom: 0; height: 100%; width: 84%; object-fit: cover; border-radius: 18px; border: 8px solid var(--paper); rotate: -3deg; }
.plate { border-radius: 50%; aspect-ratio: 1; object-fit: cover; border: 6px solid var(--paper); animation: spin 60s linear infinite; }
.p1 { left: 4%; bottom: 2%; width: 50%; } .p2 { right: 2%; bottom: 14%; width: 44%; animation-direction: reverse; }
@keyframes spin { to { rotate: 360deg; } }
.b1 { left: 4%; bottom: 0; width: 52%; } .b2 { right: 2%; bottom: 6%; width: 48%; }
[data-rv].scene .scene__art img { transform: translateY(-60px) scale(.8); }
[data-rv].scene.in .scene__art img { transform: none; opacity: 1; transition: transform .9s var(--ease) calc(.25s + var(--i, 0) * 90ms), opacity .3s calc(.25s + var(--i, 0) * 90ms); }
@media (hover: hover) {
  .scene:hover { box-shadow: 0 40px 60px -34px rgba(38, 9, 26, .8); }
  .scene:hover .scene__go { transform: translateX(6px) rotate(-12deg) scale(1.08); }
  .scene:hover .a1 { transform: translate(-6px, -10px) rotate(-5deg); } .scene:hover .a2 { transform: translate(8px, -12px) rotate(6deg); } .scene:hover .a3 { transform: translateY(-16px) rotate(3deg); }
  .scene:hover .b1 { transform: translate(-6px, -10px) rotate(-6deg); } .scene:hover .b2 { transform: translate(6px, -14px) rotate(5deg); }
  .scene:hover .box-photo { transform: translateY(-10px) rotate(3deg) scale(1.03); }
}

/* mocktail bar */
.bar { position: relative; height: calc(100svh + 420vh); background: var(--bar, #2f5d3a); color: var(--cream); }
.bar__pin { position: sticky; top: var(--head); height: calc(100svh - var(--head)); overflow: clip; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
.bar__head { padding: 28px 20px 0; text-align: center; }
.bar__head h2 { font-size: clamp(40px, 8vw, 80px); }
.bar__head p { margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.bar__track { display: flex; align-items: center; height: 100%; will-change: transform; padding-left: calc(50vw - var(--sw) / 2); --sw: 70vw; }
.glass { flex: none; width: var(--sw); display: grid; justify-items: center; gap: 14px; will-change: transform; background: none; border: 0; padding: 0; }
.glass img { height: min(44svh, 400px); width: auto; filter: drop-shadow(0 26px 20px rgba(0, 0, 0, .35)); transform-origin: 50% 100%; }
.glass.tilt img { animation: clink .8s var(--ease); }
@keyframes clink { 25% { transform: rotate(-14deg); } 55% { transform: rotate(9deg); } 80% { transform: rotate(-3deg); } }
.glass span { font: 500 clamp(28px, 6.4vw, 46px)/1 var(--disp); white-space: nowrap; }
.glass--end { align-content: center; gap: 18px; text-align: center; padding: 0 12px; }
.glass--end p { font: 500 clamp(24px, 5.4vw, 38px)/1.2 var(--disp); white-space: normal; }
.bar__dots { display: flex; justify-content: center; gap: 8px; padding: 0 0 26px; }
.bar__dots i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .35; transition: opacity .3s, transform .4s var(--ease); }
.bar__dots i.on { opacity: 1; transform: scale(1.5); }
@media (min-width: 760px) { .bar__track { --sw: 34vw; } }

/* buffets teaser */
.themes { transition: background-color .8s; background: var(--tint, #dfe7d6); }
.themes__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .themes__grid { grid-template-columns: 1fr 1fr; gap: 60px; } }
.fan { position: relative; height: clamp(380px, 100vw, 520px); }
.fan button { position: absolute; left: 50%; top: 4%; width: min(64%, 300px); aspect-ratio: 3 / 4; margin-left: calc(min(64%, 300px) / -2); padding: 0; border: 8px solid var(--paper); border-radius: 20px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 40px -24px rgba(38, 9, 26, .6); transition: transform .8s var(--ease), filter .4s; transform: translateX(var(--tx, 0)) rotate(var(--r, 0deg)) scale(var(--s, 1)); z-index: var(--zi, 1); }
.fan img { width: 100%; height: 100%; object-fit: cover; }
.fan button[data-pos="0"] { --tx: 0; --r: -2deg; --s: 1; --zi: 3; }
.fan button[data-pos="1"] { --tx: 34%; --r: 9deg; --s: .86; --zi: 2; filter: brightness(.82); }
.fan button[data-pos="2"] { --tx: -34%; --r: -11deg; --s: .86; --zi: 1; filter: brightness(.82); }
.fan__name { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font: 500 34px var(--disp); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; padding: 0; list-style: none; }
.facts li { padding: 10px 16px; border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 15px; }

/* avis */
.deck { position: relative; height: 380px; max-width: 520px; margin: 54px auto 0; }
.deck article { position: absolute; inset: 0; padding: 34px 30px; border-radius: 26px; background: var(--paper) url(assets/textures/papier-blanc.webp) 0 0 / 256px; background-blend-mode: multiply; color: var(--ink); display: grid; align-content: center; box-shadow: 0 30px 50px -30px rgba(20, 3, 12, .8); transition: transform .7s var(--ease), opacity .4s; transform: translateY(calc(var(--k) * 14px)) rotate(calc(var(--k) * var(--tw, 2deg))) scale(calc(1 - var(--k) * .05)); z-index: calc(10 - var(--k)); touch-action: pan-y; cursor: grab; }
.deck article.gone { transform: translateX(var(--gx, 130%)) rotate(var(--gr, 24deg)); opacity: 0; }
.deck article.drag { transition: none; }
.deck p { font: 400 clamp(21px, 4.6vw, 26px)/1.3 var(--disp); }
.deck__next { display: flex; justify-content: center; margin-top: 44px; }

/* cta */
.cta__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .cta__grid { grid-template-columns: .8fr 1fr; gap: 70px; } }
.arch { border-radius: 999px 999px 24px 24px; overflow: hidden; aspect-ratio: 3 / 4; max-width: 420px; margin-inline: auto; width: 100%; }
.arch img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* footer */
.foot { background: var(--night); color: var(--cream); padding: 60px 0 110px; }
.foot__grid { display: grid; gap: 8px; }
.foot__brand { margin-bottom: 20px; }
.foot__brand img { width: 150px; }
.foot__brand p { margin-top: 12px; font-size: 15px; color: var(--blush); max-width: 30ch; }
.footer-col { border-bottom: 1px solid rgba(247, 238, 226, .16); }
.footer-col summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 48px; cursor: pointer; font-weight: 700; }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.footer-col[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.footer-col ul { margin: 0; padding: 0 0 12px; list-style: none; }
.footer-col li a, .footer-col li span { display: flex; align-items: center; min-height: 40px; text-decoration: none; font-size: 15px; color: var(--blush); }
.foot__legal { margin-top: 26px; font-size: 13px; color: rgba(247, 238, 226, .6); }
@media (min-width: 801px) {
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .footer-col { border: 0; } .footer-col summary { pointer-events: none; } .footer-col summary::after { display: none; }
}

/* toast + flyer + wa float */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; padding: 14px 22px; border-radius: 999px; background: var(--night); color: var(--cream); font-weight: 700; font-size: 15px; transform: translate(-50%, 90px); transition: transform .5s var(--ease); pointer-events: none; }
.toast.on { transform: translate(-50%, 0); }
.flyer { position: fixed; z-index: 90; pointer-events: none; border-radius: 12px; }

/* PAGE HEAD (inner pages) */
.phead { background: var(--bx); color: var(--cream); padding: clamp(48px, 9vw, 96px) 0 clamp(40px, 7vw, 70px); position: relative; overflow: clip; }
.phead h1 { font-size: clamp(52px, 12vw, 120px); animation: rise .9s var(--out) both; }
.phead p { margin-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); animation: rise .9s var(--out) .12s both; }
.phead__art { position: absolute; right: -4%; bottom: -12%; width: clamp(150px, 34vw, 340px); filter: drop-shadow(0 20px 16px rgba(20, 3, 12, .5)); animation: drop 1.1s var(--ease) .2s both, bob 6s ease-in-out 1.3s infinite; }
@keyframes drop { from { opacity: 0; transform: translateY(-80px) rotate(-14deg); } }
@keyframes bob { 50% { transform: translateY(-10px) rotate(2deg); } }

/* CARTE */
.tabs { position: sticky; top: var(--head); z-index: 40; background: var(--cream); border-bottom: 1px solid rgba(43, 22, 32, .12); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs div { display: flex; gap: 6px; padding: 10px clamp(16px, 4vw, 40px); width: max-content; }
.tabs a { display: flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .25s, color .25s, transform .4s var(--ease); }
.tabs a.on { background: var(--bx); color: var(--cream); }
.tabs a:active { transform: scale(.94); }
.cat { padding: clamp(56px, 8vw, 100px) 0 0; scroll-margin-top: calc(var(--head) + 66px); }
.cat:last-of-type { padding-bottom: clamp(72px, 10vw, 120px); }
.cat h2 { font-size: clamp(40px, 8vw, 72px); }
.cat__sub { margin-top: 8px; color: var(--soft); }
.seg { display: inline-flex; padding: 4px; border-radius: 26px; background: rgba(88, 21, 55, .1); gap: 2px; flex-wrap: wrap; }
.seg button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font-weight: 700; font-size: 15px; transition: background .25s, color .25s, transform .4s var(--ease); }
.seg button[aria-pressed="true"] { background: var(--bx); color: var(--cream); }
.seg button:active { transform: scale(.93); }
/* composer */
.compo { display: grid; gap: 26px; margin-top: 30px; }
@media (min-width: 900px) { .compo { grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; } .compo__left { position: sticky; top: calc(var(--head) + 90px); } }
.slab { position: relative; border-radius: 26px; padding: 14px; background: #fff url(assets/textures/marbre-blanc.webp) 0 0 / 320px; box-shadow: 0 2px 0 #fff inset, 0 -6px 0 rgba(43, 22, 32, .12) inset, 0 36px 44px -28px rgba(38, 9, 26, .55); transition: transform .6s var(--ease); }
.slab.pop { animation: slabpop .5s var(--ease); }
@keyframes slabpop { 40% { transform: scale(1.025) rotate(-.6deg); } }
.slots { display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); gap: 5px; }
.slot { aspect-ratio: 1; border-radius: 50%; background: rgba(43, 22, 32, .06); display: grid; place-items: center; position: relative; }
.piece { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; animation: land .55s var(--ease) both; border: 0; padding: 0; background: none; }
.piece img { width: 118%; max-width: none; filter: drop-shadow(0 4px 3px rgba(20, 3, 12, .35)); }
.piece i { width: 78%; height: 78%; border-radius: 50%; background: var(--c); box-shadow: inset 0 -4px 6px rgba(0, 0, 0, .2), inset 0 3px 4px rgba(255, 255, 255, .35), 0 3px 4px rgba(20, 3, 12, .3); }
.piece.out { animation: unland .25s ease-in both; }
@keyframes land { from { transform: translateY(-46px) scale(.3) rotate(-40deg); opacity: 0; } }
@keyframes unland { to { transform: scale(.2); opacity: 0; } }
.meter { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; gap: 12px; }
.meter b { font: 500 44px/1 var(--disp); } .meter b small { font-size: 22px; color: var(--soft); }
.meter .price { font: 500 44px/1 var(--disp); color: var(--bx); display: inline-block; }
.tick { animation: tick .45s var(--ease); }
@keyframes tick { 40% { transform: translateY(-8px) scale(1.12); } }
.compo__opts { display: grid; gap: 12px; }
.compo__label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 16px 4px 6px; border-radius: 999px; border: 1.5px solid rgba(43, 22, 32, .16); background: var(--paper); font-weight: 600; font-size: 15px; text-align: left; transition: transform .4s var(--ease), border-color .2s, background .2s; }
.chip .sw { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--c); display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 -3px 5px rgba(0, 0, 0, .18), inset 0 2px 3px rgba(255, 255, 255, .35); }
.chip .sw img { width: 120%; max-width: none; }
.chip .sw.ph { background: var(--blush); box-shadow: none; }
.chip em { font-style: normal; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--bx); color: var(--cream); font-size: 13px; font-weight: 700; display: none; place-items: center; }
.chip.has { border-color: var(--bx); } .chip.has em { display: grid; }
.chip:active { transform: scale(.93); }
.compo__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (hover: hover) { .chip:hover { transform: translateY(-3px) rotate(-1deg); border-color: var(--bx); } .tabs a:hover:not(.on) { background: rgba(88, 21, 55, .1); } .seg button:hover:not([aria-pressed="true"]) { background: rgba(88, 21, 55, .1); } }
/* product rows */
.goods { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 760px) { .goods { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; } }
.good { position: relative; border-radius: 28px; background: var(--paper); padding: 24px; display: grid; gap: 12px; align-content: start; transition: transform .6s var(--ease), box-shadow .4s; will-change: transform; }
.good__art { height: 150px; position: relative; margin: -50px 0 0; pointer-events: none; }
.good__art img { position: absolute; bottom: 0; filter: drop-shadow(0 14px 10px rgba(20, 3, 12, .35)); transition: transform .7s var(--ease); }
.good__photo { height: 190px; border-radius: 18px; overflow: hidden; }
.good__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--out); }
.good h3 { font: 500 30px/1.05 var(--disp); }
.good ul { margin: 0; padding: 0; list-style: none; font-size: 16px; color: var(--soft); }
.good li { padding: 5px 0; border-bottom: 1px dashed rgba(43, 22, 32, .14); }
.good li:last-child { border: 0; }
.good__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.good__price { font: 500 34px/1 var(--disp); color: var(--bx); display: inline-block; }
.good__price small { font: 600 14px var(--text); color: var(--soft); }
.cat--art .goods { margin-top: 70px; row-gap: 64px; }
@media (hover: hover) {
  .good:hover { box-shadow: 0 34px 50px -34px rgba(38, 9, 26, .6); }
  .good:hover .good__art img { transform: translateY(-12px) rotate(-4deg) scale(1.05); }
  .good:hover .good__photo img { transform: scale(1.08); }
}
.lines { margin-top: 30px; border-radius: 28px; background: var(--paper); padding: 8px 22px; }
.line { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px dashed rgba(43, 22, 32, .14); }
.line:last-child { border: 0; }
.line div { flex: 1; } .line b { display: block; font-weight: 700; } .line small { font-size: 14px; color: var(--soft); }
.line .pr { font: 500 22px var(--disp); color: var(--bx); white-space: nowrap; }
.add { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--bx); color: var(--cream); display: grid; place-items: center; transition: transform .45s var(--ease); }
.add svg { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.add:active { transform: scale(.88); }
@media (hover: hover) { .add:hover { transform: scale(1.1); } .add:hover svg { transform: rotate(90deg); } }
.drinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 10px; margin-top: 40px; }
@media (min-width: 760px) { .drinks { grid-template-columns: repeat(6, 1fr); } }
.drink { display: grid; justify-items: center; gap: 10px; background: none; border: 0; padding: 0; text-align: center; }
.drink img { height: 150px; width: auto; transform-origin: 50% 100%; filter: drop-shadow(0 14px 10px rgba(20, 3, 12, .3)); animation: sway 5s ease-in-out calc(var(--i) * -0.8s) infinite; }
.drink.tilt img { animation: clink .8s var(--ease); }
@keyframes sway { 50% { transform: rotate(2.5deg); } }
.drink span { font-weight: 700; font-size: 15px; line-height: 1.2; }
.also { margin-top: 30px; font-size: 17px; }
.also b { font-weight: 700; }

/* BUFFETS scene */
.stagewrap { background: var(--night); color: var(--cream); padding: 0 0 50px; }
.stage { position: relative; width: min(100%, 980px); margin-inline: auto; aspect-ratio: 1; overflow: clip; background: var(--wall, #dfe7d6); transition: background-color .8s; }
@media (min-width: 760px) { .stage { aspect-ratio: 16 / 10; border-radius: 0 0 36px 36px; } }
.stage > * { position: absolute; }
.st-floor { left: 0; right: 0; bottom: 0; height: 17%; background: #cdb9a5; }
.st-table { left: 8%; right: 8%; top: 55%; height: 5%; border-radius: 6px; background: url(assets/textures/bois-fonce.webp) 0 0 / 220px; box-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.st-leg { top: 60%; width: 3%; height: 26%; background: url(assets/textures/bois-fonce.webp) 0 0 / 220px; }
.st-leg.l { left: 11%; } .st-leg.r { right: 11%; }
.st-table, .st-leg { transform: translateY(40vh); opacity: 0; transition: transform .9s var(--ease), opacity .3s; }
.s1 .st-table, .s1 .st-leg { transform: none; opacity: 1; }
.st-cloth { left: 6%; right: 6%; top: 53.5%; height: 31%; transform: translateY(-130%); opacity: 0; transition: transform .9s cubic-bezier(.22, 1, .36, 1), opacity .25s; border-radius: 8px 8px 3px 3px; background-size: 200px; }
.st-cloth::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: none; }
.st-cloth.w { background-image: url(assets/textures/nappe-blanche.webp); }
.st-cloth.k { background-image: url(assets/textures/nappe-noire.webp); }
.st-cloth.k::before { background: none; }
.s2[data-cloth="w"] .st-cloth.w, .s2[data-cloth="k"] .st-cloth.k { transform: none; opacity: 1; }
.s2 .st-cloth.off { transform: translateX(120%) rotate(8deg); opacity: 0; transition: transform .6s cubic-bezier(.6, 0, .9, .4), opacity .2s .4s; }
.st-runner { left: 44%; width: 12%; top: 53.5%; height: 31%; background: var(--accent, #7d9470); transform: scaleY(0); transform-origin: 50% 0; transition: transform .7s var(--out), background-color .8s; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.s4 .st-runner { transform: none; }
.prop { transform: translateY(-70vh) rotate(var(--rr, -8deg)); opacity: 0; transition: transform .85s var(--ease) var(--dl, 0s), opacity .2s var(--dl, 0s), filter .8s; transform-origin: 50% 100%; filter: drop-shadow(0 8px 6px rgba(20, 3, 12, .35)); }
.prop img { width: 100%; }
.s3 .prop.p3, .s4 .prop.p4 { transform: none; opacity: 1; }
.pr-cloche { left: 9%; width: 30%; bottom: 44.5%; --dl: 0s; }
.pr-etage { left: 38%; width: 24%; bottom: 45%; --dl: .15s; --rr: 6deg; }
.pr-board { right: 8%; width: 30%; bottom: 44.5%; --dl: .3s; }
.pr-cro { left: 15%; width: 18%; bottom: 53%; --dl: .55s; }
.pr-burg { right: 21%; width: 12%; bottom: 51.5%; --dl: .65s; --rr: 10deg; }
.pr-sand { right: 9%; width: 13%; bottom: 52.5%; --dl: .75s; }
.pr-bougie { left: 26%; width: 13%; bottom: 44%; --dl: .1s; z-index: 0; clip-path: inset(0 0 12% 0); }
.pr-fleurs { right: 30%; width: 13%; bottom: 45%; --dl: .25s; filter: drop-shadow(0 8px 6px rgba(20, 3, 12, .35)) hue-rotate(var(--hue, 0deg)); }
.pr-verdure { left: 2%; width: 30%; bottom: 43%; --dl: .4s; --rr: 0deg; }
.pr-verdure2 { right: 2%; width: 30%; bottom: 43%; --dl: .5s; --rr: 0deg; }
.pr-verdure2 img { transform: scaleX(-1); }
.pr-ballons { right: 3%; width: 22%; bottom: 58%; --dl: .6s; transform: translateY(60vh); filter: hue-rotate(var(--hue, 0deg)) drop-shadow(0 8px 6px rgba(20, 3, 12, .2)); }
.s4 .pr-ballons img { animation: bob 5s ease-in-out infinite; }
.st-cap { position: static; text-align: center; padding: 26px 20px 0; }
.st-cap h2 { font-size: clamp(34px, 7vw, 56px); min-height: 1.1em; }
.steps { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.steps button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(247, 238, 226, .3); background: none; color: var(--cream); font-weight: 700; font-size: 15px; transition: transform .4s var(--ease), background .25s, color .25s; }
.steps button[aria-pressed="true"] { background: var(--cream); color: var(--night); border-color: var(--cream); }
.steps button:active { transform: scale(.93); }
.ctrl { display: grid; gap: 14px; justify-items: center; margin-top: 26px; padding: 0 16px; }
.ctrl .seg { background: rgba(247, 238, 226, .12); }
.ctrl .seg button { color: var(--cream); } .ctrl .seg button[aria-pressed="true"] { background: var(--cream); color: var(--night); }
.ctrl .seg i { width: 16px; height: 16px; border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: -2px; background: var(--c); box-shadow: 0 0 0 1.5px rgba(128, 128, 128, .5); }
.real { display: grid; gap: 30px; align-items: center; }
@media (min-width: 820px) { .real { grid-template-columns: .8fr 1fr; gap: 60px; } }
.real__photo { position: relative; aspect-ratio: 3 / 4; max-width: 400px; width: 100%; margin-inline: auto; border-radius: 24px; overflow: hidden; border: 8px solid var(--paper); rotate: -2deg; box-shadow: 0 30px 40px -24px rgba(38, 9, 26, .6); }
.real__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; opacity: 0; transform: scale(1.12); transition: opacity .6s, transform 1.2s var(--out); }
.real__photo img.on { opacity: 1; transform: none; }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
@media (min-width: 820px) { .figs { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.fig { border-radius: 24px; background: var(--paper); padding: 22px; transition: transform .6s var(--ease); }
.fig b { display: block; font: 500 clamp(38px, 8vw, 60px)/1 var(--disp); color: var(--bx); }
.fig span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.35; color: var(--soft); font-weight: 600; }
@media (hover: hover) { .fig:hover { transform: translateY(-6px) rotate(-1.5deg); } .steps button:hover { transform: translateY(-2px); } }

/* forms */
.form { display: grid; gap: 14px; margin-top: 30px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.form input, .form select, .form textarea { min-height: 52px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid rgba(43, 22, 32, .2); background: var(--paper); font: 500 17px var(--text); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--bx); box-shadow: 0 0 0 4px rgba(88, 21, 55, .14); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* GALERIE */
.gal { columns: 2; column-gap: 12px; margin-top: 10px; }
@media (min-width: 820px) { .gal { columns: 3; column-gap: 20px; } }
.gal button { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--blush); break-inside: avoid; transition: transform .6s var(--ease), box-shadow .4s; will-change: transform; }
@media (min-width: 820px) { .gal button { margin-bottom: 20px; border-radius: 24px; } }
.gal img { width: 100%; transition: transform 1s var(--out); }
.gal button:active { transform: scale(.96); }
@media (hover: hover) { .gal button:hover { box-shadow: 0 30px 40px -26px rgba(38, 9, 26, .7); z-index: 2; } .gal button:hover img { transform: scale(1.07); } }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(38, 9, 26, .94); display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lb.on { opacity: 1; pointer-events: auto; }
.lb img { max-width: 100%; max-height: 86svh; border-radius: 18px; transform: scale(.8); transition: transform .5s var(--ease); }
.lb.on img { transform: none; }
.lb button { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--cream); color: var(--night); display: grid; place-items: center; }
.lb button svg { width: 20px; height: 20px; }
.insta { display: flex; justify-content: center; margin-top: 40px; }

/* PANIER */
.cart { display: grid; gap: 40px; }
@media (min-width: 900px) { .cart { grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; } }
.cl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 18px 0; border-bottom: 1px dashed rgba(43, 22, 32, .18); animation: rise .5s var(--out) both; }
.cl h3 { font: 500 24px/1.1 var(--disp); } .cl p { font-size: 15px; color: var(--soft); grid-column: 1; }
.cl .pr { font: 500 24px var(--disp); color: var(--bx); text-align: right; white-space: nowrap; }
.cl__tools { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; background: var(--paper); }
.qty button { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; font-size: 20px; font-weight: 700; transition: transform .3s var(--ease), background .2s; }
.qty button:active { transform: scale(.85); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.rm { margin-left: auto; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--soft); font-weight: 600; font-size: 15px; text-decoration: underline; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0; font-weight: 700; }
.total b { font: 500 44px/1 var(--disp); color: var(--bx); }
.empty { padding: 40px 0; display: grid; gap: 20px; justify-items: start; }
.empty p { font: 500 30px/1.15 var(--disp); }
.rules { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.rules li { padding: 9px 14px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
  [data-rv] { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ================= V2 ================= */
.demo-back { justify-content: flex-start; }
.demo-back a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.vers { margin-left: auto; display: flex; gap: 2px; }
.vers a { padding: 0 9px; font-weight: 700; font-size: 13px; opacity: .55; }
.vers a[aria-current="true"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--gold); }
html.curtain-on body::before { content: ""; position: fixed; inset: 0; z-index: 199; background: var(--night); }
.curtain { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none; }
.curtain i { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--night); transition: transform 1s cubic-bezier(.7, 0, .2, 1); }
.curtain i:first-child { left: 0; } .curtain i:nth-child(2) { right: 0; }
.curtain span { position: relative; width: min(64vw, 420px); aspect-ratio: 814 / 221; background: var(--cream); -webkit-mask: url(assets/logo-benmansour-events.png) center / contain no-repeat; mask: url(assets/logo-benmansour-events.png) center / contain no-repeat; animation: curtainLogo 1.25s var(--out) both; }
.curtain b { position: absolute; left: 50%; top: calc(50% + min(11vw, 70px)); width: 0; height: 2px; background: var(--gold); translate: -50% 0; animation: curtainLine .9s var(--out) .25s forwards; }
@keyframes curtainLogo { 0% { opacity: 0; transform: scale(.86); } 45%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.08); } }
@keyframes curtainLine { 60% { width: min(40vw, 240px); opacity: 1; } 100% { width: min(40vw, 240px); opacity: 0; } }
.curtain.open i:first-child { transform: translateX(-101%); } .curtain.open i:nth-child(2) { transform: translateX(101%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 214, 170, .16), transparent 70%); }
.hero__logo { -webkit-mask: linear-gradient(100deg, #000 40%, rgba(0, 0, 0, .55) 50%, #000 60%) 0 0 / 300% 100%; mask: linear-gradient(100deg, #000 40%, rgba(0, 0, 0, .55) 50%, #000 60%) 0 0 / 300% 100%; animation: rise 1s var(--out) .15s both, sheen 5s ease-in-out 2s infinite; }
@keyframes sheen { 0%, 60% { -webkit-mask-position: 100% 0; mask-position: 100% 0; } 100% { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform .9s var(--out); transition-delay: calc(var(--wi) * 70ms); }
.split.in .w > span, .in .split .w > span { transform: none; }
.wa-float { position: fixed; right: 16px; bottom: calc(16px + var(--lift, 0px)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: var(--night); display: grid; place-items: center; box-shadow: 0 14px 26px -10px rgba(38, 9, 26, .7); transform: scale(0) rotate(-90deg); transition: transform .6s var(--ease), bottom .4s var(--out); }
.wa-float.on { transform: none; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:active { transform: scale(.9); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); animation: ring 2.6s ease-out infinite; }
@keyframes ring { to { transform: scale(1.7); opacity: 0; } }
@media (hover: hover) { .wa-float.on:hover { transform: scale(1.1) rotate(8deg); } .vers a:hover { opacity: 1; } }
.scene__art { will-change: translate; }
@media (prefers-reduced-motion: reduce) { .curtain { display: none; } html.curtain-on body::before { display: none; } .split .w > span { transform: none; } }

/* ================= V3 ================= */
.spark { position: fixed; z-index: 95; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); pointer-events: none; }
.spark:nth-of-type(3n) { background: var(--blush); } .spark:nth-of-type(3n+1) { background: var(--bx); width: 8px; height: 8px; }
.piece { cursor: pointer; transition: transform .3s var(--ease); }
.piece:active { transform: scale(.8); }
@media (hover: hover) { .piece:hover { transform: scale(1.18) rotate(-8deg); } }
.obar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--night); color: var(--cream); text-decoration: none; box-shadow: 0 20px 40px -16px rgba(38, 9, 26, .8); transform: translateY(160%); transition: transform .7s var(--ease); }
.obar.on { transform: none; }
.obar b { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 14px; background: var(--gold); color: var(--night); display: grid; place-items: center; font-size: 14px; }
.obar span { font-weight: 700; font-size: 16px; }
.obar em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--cream); color: var(--night); }
.obar em svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.obar.bump b { animation: bump .6s var(--ease); }
@media (min-width: 760px) { .obar { left: 50%; right: auto; width: 460px; margin-left: -230px; bottom: 20px; } }
@media (hover: hover) { .obar:hover em svg { transform: translateX(5px); } }
html.has-obar { --lift: 72px; }
.toast { bottom: 92px; }
html.has-obar .foot { padding-bottom: 150px; }
.btn.ok { background: #2f6b46; color: #fff; }
.btn.ok svg { width: 18px; height: 18px; animation: land .4s var(--ease) both; }

/* ================= V4 ================= */
.pr-bougie { left: 23%; width: 17%; clip-path: inset(-30% -20% 12% -20%); }
.fl { position: absolute; left: var(--fx); top: var(--fy); width: 9%; aspect-ratio: 1 / 1.9; translate: -50% -96%; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: radial-gradient(ellipse at 50% 78%, #fffbe0 0 22%, #ffd45e 46%, rgba(255, 150, 40, .0) 74%); opacity: 0; transform-origin: 50% 100%; }
.s4 .fl { opacity: 1; transition: opacity .5s 1.1s; animation: flick 1.3s ease-in-out infinite alternate; }
.fl:nth-of-type(2) { animation-duration: 1.7s; } .fl:nth-of-type(3) { animation-duration: 1.1s; } .fl:nth-of-type(4) { animation-duration: 1.5s; }
@keyframes flick { 0% { transform: scale(1, 1) rotate(-3deg); } 40% { transform: scale(.88, 1.12) rotate(3deg); } 100% { transform: scale(1.06, .92) rotate(-1deg); } }
.st-shadow { left: 4%; right: 4%; top: 82.5%; height: 6%; background: radial-gradient(ellipse at center, rgba(40, 20, 10, .34), transparent 68%); opacity: 0; transition: opacity .8s .3s; }
.s1 .st-shadow { opacity: 1; }
.st-cloth { -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 9px) no-repeat, radial-gradient(circle at 50% 0, #000 68%, transparent 71%) bottom left / 8.34% 18px repeat-x; mask: linear-gradient(#000, #000) top / 100% calc(100% - 9px) no-repeat, radial-gradient(circle at 50% 0, #000 68%, transparent 71%) bottom left / 8.34% 18px repeat-x; }
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 80% 70% at 50% 45%, transparent 55%, rgba(38, 9, 26, .16)); }
#stPack { border-style: dashed; }
.lb__nav { position: absolute; top: 80px; bottom: 80px; width: 32%; cursor: pointer; display: grid; align-items: center; -webkit-tap-highlight-color: transparent; }
.lb__nav--p { left: 0; justify-items: start; padding-left: 12px; } .lb__nav--n { right: 0; justify-items: end; padding-right: 12px; }
.lb__nav::after { content: ""; width: 48px; height: 48px; border-radius: 50%; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326091a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; transition: transform .4s var(--ease); }
.lb__nav--p::after { rotate: 180deg; }
.lb__nav:active::after { transform: scale(.85); }
@media (hover: hover) { .lb__nav:hover::after { transform: translateX(4px) scale(1.08); } }
.deck.in article[aria-hidden="false"] { animation: hint 1.3s var(--ease) .9s; }
@keyframes hint { 30% { transform: translateX(34px) rotate(5deg); } 60% { transform: translateX(-12px) rotate(-2deg); } }
.fig b { display: inline-block; }
.fig.in b { animation: figpop .7s var(--ease) calc(.2s + var(--i, 0) * 90ms) both; }
@keyframes figpop { from { transform: scale(.4) rotate(-8deg); opacity: 0; } }
.hero__cue { box-shadow: inset 0 0 0 1.5px rgba(247, 238, 226, .35); }
.foot__brand img { transition: transform .6s var(--ease); }
@media (hover: hover) { .foot__brand img:hover { transform: scale(1.06) rotate(-2deg); } }

/* ================= V6 =================
   V4 gardé : cartes colorées, bar à mocktails, avis en pile, pastilles.
   Retiré : halo du pointeur, pièces à ressort, étincelles, rideau, inclinaison. Ajouté : photos réalistes, carte pour acheter, commande. */
.hero::after { display: none; }
.hero__logo { -webkit-mask: none; mask: none; animation: rise 1s var(--out) .15s both; }
/* héros : le nom sur un fond sombre, la photo du buffet dessous (téléphone) ou à droite (ordinateur), fondue dans le fond */
.hero { display: block; background: linear-gradient(to bottom, var(--night), #150a0d 62%); }
.hero__ph { position: absolute; inset: auto 0 0 0; height: 62%; z-index: 1; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 34%); mask-image: linear-gradient(to bottom, transparent, #000 34%); }
.hero__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; animation: heroin 2.4s var(--out) both; }
@keyframes heroin { from { opacity: 0; transform: scale(1.1); } }
.hero__text { position: absolute; inset: 0 0 auto 0; padding-top: clamp(24px, 5.5svh, 56px); gap: 14px; }
.hero__logo { width: min(72vw, 520px); }
.hero__cta { flex-wrap: nowrap; }
.hero__cta .btn { padding-inline: 18px; font-size: 15px; white-space: nowrap; }
@media (min-width: 900px) {
  .hero__ph { inset: 0 0 0 auto; width: 62%; height: 100%; -webkit-mask-image: linear-gradient(to right, transparent, #000 38%); mask-image: linear-gradient(to right, transparent, #000 38%); }
  .hero__ph img { object-position: 42% 62%; filter: brightness(1.18); }
  .hero__text { inset: 0 auto 0 0; width: 47%; padding: 0 0 0 clamp(40px, 5vw, 84px); align-content: center; justify-items: start; text-align: left; gap: 18px; }
  .hero__logo { width: min(36vw, 540px); }
  .hero__cta { justify-content: flex-start; }
  .hero__cta .btn { padding-inline: 26px; font-size: 16px; }
  .hero__cue { left: 23.5%; }
}
.compo > * { min-width: 0; }
/* une saveur = une colonne de cinq. Les pièces gardent la même taille quelle que soit la quantité : c'est le plateau qui s'allonge (--s = côté d'une place). */
.compo__left { container-type: inline-size; }
.slab { width: fit-content; max-width: 100%; }
.slots { grid-auto-flow: column; grid-template-rows: repeat(5, var(--s)); grid-template-columns: repeat(var(--cols, 6), var(--s)); width: max-content; }
.slot, .piece { min-width: 0; }
.plate { animation: none; }
/* cartes de l'accueil : l'image ne glisse plus au défilement et ne passe jamais sur le titre */
.scene__art { translate: none !important; will-change: auto; }
.scene__name { position: relative; z-index: 2; margin-top: 26px; }
.box-photo { bottom: 5%; height: 95%; }
.wa-float::before { display: none; }
.toast { opacity: 0; transform: translate(-50%, 24px); transition: transform .5s var(--ease), opacity .25s; }
.toast.on { opacity: 1; }
.flow .empty p { font: 500 18px/1.5 var(--text); color: var(--soft); }
.bar { height: calc(100svh + 540vh); }
/* bar : le nom du mocktail est le titre, en haut ; il arrive avec son verre (flou et décalé tant que le verre n'est pas au centre).
   « Nos mocktails » devient la petite ligne au-dessus. Le verre prend toute la hauteur restante. --d = distance au centre (0 à 1), posée par le script. */
.bar__head { padding: 22px 12px 0; display: flex; justify-content: center; gap: 8px; white-space: nowrap; }
.bar__head h2, .bar__head p { margin: 0; font: 700 clamp(11px, 3.1vw, 13px)/1.4 var(--text); letter-spacing: .13em; text-transform: uppercase; }
.bar__head p::before { content: "· "; }
button.glass { align-self: stretch; grid-template-rows: auto minmax(0, 1fr); gap: 0; --d: 1; }
button.glass span { order: -1; padding-top: 8px; font-size: clamp(34px, 9.5vw, 46px); line-height: 1.05;
  opacity: calc(1 - var(--d) * 1.5); filter: blur(calc(var(--d) * 10px)); transform: translate3d(calc(var(--d) * 9%), calc(var(--d) * 26px), 0) scale(calc(1 + var(--d) * .12)); letter-spacing: calc(var(--d) * .06em); will-change: transform, opacity, filter; }
button.glass img { align-self: end; height: calc(100svh - var(--head) - 244px - var(--pad, 0px)); min-height: 220px; width: auto; max-width: 94%; object-fit: contain; object-position: 50% 100%; }
@media (min-width: 760px) {
  button.glass span { font-size: clamp(56px, 6.2vw, 88px); }
  button.glass img { height: calc(100svh - var(--head) - 286px - var(--pad, 0px)); max-height: 900px; }
}
.bar__dots i { transition: opacity .3s, transform .5s var(--ease), width .5s var(--ease); }
.bar__dots i.on { width: 22px; border-radius: 4px; transform: none; }

/* carte : produits */
.compo { margin-top: 34px; }
@media (max-width: 899px) {  /* téléphone : le plateau reste sous les yeux pendant qu'on choisit les saveurs */
  .compo__left { position: sticky; top: calc(var(--head) + 65px); z-index: 5; margin: 0 -20px; padding: 10px 20px 8px; background: var(--cream); box-shadow: 0 14px 14px -14px rgba(43, 22, 32, .28); display: grid; }
  .slab { justify-self: center; padding: 10px; --s: calc((100cqw - 55px) / 8); overflow-x: auto; scrollbar-width: none; }  /* 30 et 40 pièces tiennent à l'écran, 50 se fait défiler */
  .slab::-webkit-scrollbar { display: none; }
  .meter { margin-top: 10px; } .meter b, .meter .price { font-size: 32px; } .meter b small { font-size: 18px; }
}
@media (min-width: 900px) {
  .chips { display: grid; grid-template-columns: 1fr 1fr; } .chip { width: 100%; } .chip em { margin-left: auto; }
  .compo { grid-template-columns: 1.5fr 1fr; }
  .compo__left { display: grid; position: sticky; top: calc(var(--head) + 65px + 18px); align-self: start; }
  .compo__left .meter { order: -1; margin: 0 0 16px; }
  .slab { justify-self: center; --s: min(calc((100cqw - 73px) / 10), calc((100svh - var(--head) - 250px) / 5)); }
}
html.has-obar .bar__dots { translate: 0 -66px; }

/* bar à mocktails : un décor par verre, le verre posé sur la table du décor.
   --line = hauteur du bord arrière de la table depuis le bas ; --t (sur chaque image) = où ce bord se trouve dans l'image. */
.bar__pin { --fs: clamp(28px, 6.4vw, 46px); --pad: 0px; --d: clamp(26px, 4.5vmax, 58px); --hp: calc(100svh - var(--head)); --k: 1; --line: calc(50px + var(--pad) + var(--d)); }
@media (min-width: 760px) { .bar__pin { --k: 1.3; } }
html.has-obar .bar__pin { --pad: 66px; }
.bar__track { align-items: flex-end; padding-bottom: calc(var(--pad) + 16px); }
.glass { transform-origin: 50% 100%; }
.glass--end { align-self: center; }
.bar__bgs { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bar__bgs .bg { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform; }
.bar__bgs img { position: absolute; left: 50%; bottom: calc(var(--line) - var(--t) * var(--S)); width: var(--S); height: var(--S); max-width: none; margin-left: calc(var(--S) / -2); }
.bg__soft { --S: max(112vw, var(--hp), calc(var(--line) / var(--t)), calc((var(--hp) - var(--line)) / (1 - var(--t)))); }
.bg__sharp { --S: max(calc(var(--hp) * var(--k)), calc(var(--line) / var(--t)), calc((var(--hp) - var(--line)) / (1 - var(--t))));
  -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent); }
.bar__bgs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20, 3, 12, .5), rgba(20, 3, 12, 0) 36%), linear-gradient(to top, rgba(20, 3, 12, .6), rgba(20, 3, 12, 0) var(--line));
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bar) 76%, transparent), color-mix(in srgb, var(--bar) 0%, transparent) 36%),
    linear-gradient(to top, color-mix(in srgb, var(--bar) 86%, #14030c) 0, color-mix(in srgb, var(--bar) 58%, transparent) calc(var(--line) - var(--d) - 14px), color-mix(in srgb, var(--bar) 0%, transparent) calc(var(--line) + 4px)); }
.bar__pin > :not(.bar__bgs) { position: relative; z-index: 1; }
.bar__head h2, .bar__head p, .glass span { text-shadow: 0 2px 20px rgba(20, 3, 12, .55); }
.glass img { filter: drop-shadow(0 9px 7px rgba(10, 2, 6, .5)); }
@keyframes clink { 25% { transform: rotate(-4deg); } 55% { transform: rotate(2.5deg); } 80% { transform: rotate(-1deg); } }  /* posé sur la table : un léger balancement, pas plus */

/* lignes à l'unité sur téléphone : nom et prix l'un sous l'autre */
@media (max-width: 599px) {
  .lines { padding: 6px 16px; }
  .line { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; }
  .line__pic { width: 60px; height: 60px; grid-column: 1; grid-row: 1 / span 2; }
  .line > div { grid-column: 2; grid-row: 1; align-self: end; }
  .line .pr { grid-column: 2; grid-row: 2; justify-self: start; align-self: start; font-size: 20px; }
  .line > button { grid-column: 3; grid-row: 1 / span 2; }
  .cat--bar .line { grid-template-columns: minmax(0, 1fr) auto; }
  .cat--bar .line > div, .cat--bar .line .pr { grid-column: 1; }
  .cat--bar .line > button { grid-column: 2; }
}
.piece img { width: 132%; }
.chip { padding: 4px 16px 4px 4px; min-height: 56px; }
.chip .sw, .chip .sw.ph { width: 48px; height: 48px; background: none; box-shadow: none; overflow: visible; }
.chip .sw img { width: 100%; filter: drop-shadow(0 3px 3px rgba(20, 3, 12, .25)); }
.good__photo { height: auto; aspect-ratio: 4 / 3; border-radius: 20px; margin: -8px -8px 4px; }
.good__photo img { object-position: 50% 60%; }
.good h3 { font-size: 34px; }
.mixl li { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.mixl li img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.mixl li:first-child { font-weight: 700; color: var(--ink); padding: 8px 0; }
.good__foot .btn { min-width: 132px; }
.good { display: flex; flex-direction: column; } .good__foot { margin-top: auto; padding-top: 6px; }
.good .seg { display: flex; flex-wrap: nowrap; } .good .seg button { flex: 1; padding: 0 6px; }
@media (min-width: 820px) { .scenes { margin-top: 124px; } }
.deck p { font-size: clamp(24px, 5.8vw, 32px); }
@media (max-width: 599px) { .deck { height: 330px; } body:has(.cat) .wa-float { display: none; } }  /* carte sur téléphone : le bouton WhatsApp ne couvre plus les boutons + */
.fig b { font-size: clamp(28px, 7.2vw, 60px); white-space: nowrap; }
.line__pic { width: 68px; height: 68px; object-fit: contain; flex: none; filter: drop-shadow(0 6px 5px rgba(20, 3, 12, .22)); }
.line { gap: 14px; }
.cat--bar { background: var(--night); color: var(--cream); margin-top: clamp(56px, 8vw, 100px); padding-top: clamp(56px, 8vw, 90px); }
.cat--bar .cat__sub { color: var(--blush); }
.cat--bar .lines { color: var(--ink); }
.drinks { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
@media (min-width: 760px) { .drinks { grid-template-columns: repeat(3, 1fr); gap: 34px 24px; } }
@media (max-width: 759px) { .drink:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; } }
.drink { color: inherit; gap: 12px; }
.drink__sc { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--deep); transition: box-shadow .25s; }
@media (min-width: 760px) { .drink__sc { aspect-ratio: 1; } }
.drink__sc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: none; filter: none; transition: transform .9s var(--out); }
.drink.tilt .drink__sc img { animation: none; }
@media (hover: hover) { .drink:hover .drink__sc img { transform: scale(1.04); } }
.drink span { padding: 6px 12px; border-radius: 999px; font-size: 17px; transition: background .25s, color .25s; }
.drink[aria-pressed="true"] span { background: var(--gold); color: var(--night); }
.drink[aria-pressed="true"] .drink__sc { box-shadow: 0 0 0 3px var(--night), 0 0 0 6px var(--gold); }
.drink[aria-pressed="true"] .drink__sc img { transform: scale(1.07); }
.btn.is-off, .add.is-off { opacity: .45; pointer-events: none; }

/* buffets : la table vue du dessus, une photo par étape, fondues l'une sur l'autre */
.stage.shot { aspect-ratio: 2 / 3; width: min(100%, 620px); background: #cdbfa9; }
.stage.shot::after, .shot .st-cloth { display: none; }
.shot img { inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 1; transition: opacity 0s linear .9s; }  /* la photo qui part reste en place sous celle qui arrive : on ne revoit jamais la table nue entre deux nappes */
.shot img[data-k="t"],
.shot.s2[data-cloth="w"] img[data-k="n-w"],
.shot.s3[data-cloth="w"] img[data-k="p-w"],
.shot.s4[data-cloth="w"][data-theme="sauge"] img[data-k="d-w-sauge"],
.shot.s4[data-cloth="w"][data-theme="dolce"] img[data-k="d-w-dolce"],
.shot.s4[data-cloth="w"][data-theme="lavande"] img[data-k="d-w-lavande"],
.shot.s2[data-cloth="k"] img[data-k="n-k"],
.shot.s3[data-cloth="k"] img[data-k="p-k"],
.shot.s4[data-cloth="k"][data-theme="sauge"] img[data-k="d-k-sauge"],
.shot.s4[data-cloth="k"][data-theme="dolce"] img[data-k="d-k-dolce"],
.shot.s4[data-cloth="k"][data-theme="lavande"] img[data-k="d-k-lavande"] { opacity: 1; z-index: 2; transition: opacity .9s ease; }
.shot:not(.s2):not(.s3):not(.s4) img { transition: opacity .9s ease; }
.shot img[data-k="t"] { z-index: 0; }
@media (min-width: 900px) {
  .stagewrap { display: grid; grid-template-columns: auto minmax(0, 520px); justify-content: center; align-items: center; column-gap: clamp(36px, 6vw, 96px); padding: 48px clamp(24px, 5vw, 80px) 64px; }
  .stage.shot { grid-row: 1 / span 2; width: auto; height: min(calc(100svh - var(--head) - 96px), 860px); min-height: 480px; border-radius: 28px; margin: 0; }
  .st-cap { align-self: end; text-align: left; padding: 0; } .steps { justify-content: flex-start; }
  .ctrl { align-self: start; justify-items: start; padding: 0; }
}

/* commande et suivi */
.flowpage { padding-top: clamp(36px, 6vw, 70px); min-height: 72vh; }
.flow { max-width: 640px; margin-inline: auto; }
.lab { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.flow h1 { font-size: clamp(40px, 9vw, 64px); margin-top: 8px; }
.mut { color: var(--soft); } .sm { font-size: 14px; }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 22px 0 26px; }
.bars i { height: 6px; border-radius: 3px; background: rgba(88, 21, 55, .14); } .bars i.on { background: var(--bx); }
.flow .cl { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px dashed rgba(43, 22, 32, .18); }
.flow .cl img { width: 76px; height: 76px; border-radius: 18px; object-fit: cover; background: var(--paper); }
.flow .cl img[src*="/p/"], .flow .cl img[src*="/big/"] { object-fit: contain; padding: 6px; }
.flow .cl .g { display: grid; gap: 4px; min-width: 0; } .flow .cl b { font: 500 22px/1.1 var(--disp); }
.price { font: 500 24px/1 var(--disp); color: var(--bx); white-space: nowrap; }
.step { display: inline-flex; align-items: center; border-radius: 999px; background: var(--paper); margin-top: 6px; }
.step button { width: 42px; height: 42px; border: 0; background: none; border-radius: 50%; font-size: 20px; font-weight: 700; }
.step output { min-width: 26px; text-align: center; font-weight: 700; }
.tot { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0 0; font-weight: 700; } .tot .price { font-size: 44px; }
.acts { display: grid; gap: 14px; justify-items: center; margin-top: 26px; }
.btn--full { width: 100%; }
.lnk { min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.fld { display: grid; gap: 8px; font-weight: 700; font-size: 15px; }
.fld.bad input, .fld.bad textarea { border-color: #a3261a; } .fld em { font-style: normal; font-weight: 600; font-size: 14px; color: #a3261a; }
.flow .form { max-width: none; margin-top: 0; }
.agree { display: flex !important; align-items: flex-start; gap: 12px; font-weight: 500 !important; }
.agree input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 2px; padding: 0; accent-color: var(--bx); }
.cal { border-radius: 24px; background: var(--paper); padding: 16px; }
.cal__m { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font: 500 24px var(--disp); }
.cal__m button { width: 44px; height: 44px; margin-left: 6px; border: 0; border-radius: 50%; background: rgba(88, 21, 55, .08); display: inline-grid; place-items: center; }
.cal__m svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cal__g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__g span { padding: 6px 0; font-size: 12px; font-weight: 700; color: var(--soft); }
.cal__g button { aspect-ratio: 1; border: 0; border-radius: 50%; background: none; font-weight: 700; font-size: 15px; }
.cal__g button[disabled] { opacity: .28; cursor: default; } .cal__g button.shut { text-decoration: line-through; }
.cal__g button[aria-pressed="true"] { background: var(--bx); color: var(--cream); }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(43, 22, 32, .18); }
.kv > span:last-child { text-align: right; font-weight: 700; }
.pay { display: grid; gap: 10px; margin-top: 18px; }
.pay label { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px; border-radius: 18px; background: var(--paper); font-weight: 700; }
.pay input[type="radio"] { width: 20px; height: 20px; accent-color: var(--bx); }
.pay .card { display: grid; gap: 10px; padding: 2px 0 8px; }
.pay .card input { min-height: 52px; width: 100%; padding: 12px 16px; border-radius: 16px; border: 1.5px solid rgba(43, 22, 32, .2); background: var(--paper); font: 500 17px var(--text); color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alert { margin-bottom: 18px; padding: 16px 18px; border-radius: 18px; background: #f6dcd8; color: #7a1c12; }
.tag { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 700; }
.tag.ok { background: #dcebdf; color: #1f5a36; } .tag.wa2 { background: #f6e9c8; color: #7a5510; } .tag.no { background: #f6dcd8; color: #7a1c12; }
ul.tl { list-style: none; margin: 28px 0; padding: 0; }
.tl li { position: relative; display: grid; padding: 0 0 22px 36px; }
.tl li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: rgba(88, 21, 55, .18); }
.tl li::after { content: ""; position: absolute; left: 12px; top: 24px; bottom: 0; width: 2px; background: rgba(88, 21, 55, .14); }
.tl li:last-child::after { display: none; }
.tl li.d::before, .tl li.now::before { background: var(--bx); } .tl li.now::before { box-shadow: 0 0 0 5px rgba(88, 21, 55, .16); }
.tl li.todo { color: var(--soft); } .tl b { font: 500 22px var(--disp); }
.sum { margin-top: 8px; padding: 6px 20px; border-radius: 24px; background: var(--paper); } .sum .kv:last-child { border: 0; }
.flow .empty h2 { font: 500 30px/1.15 var(--disp); }

/* ---------- matière : grain, papier, ombres en plusieurs couches ---------- */
:root {
  --grain-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .22 0 0 0 0 .08 0 0 0 0 .13 0 0 0 .46 -.17'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .93 0 0 0 0 .88 0 0 0 .4 -.14'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --sh-s: 0 1px 1px rgba(58, 16, 34, .08), 0 3px 6px -2px rgba(58, 16, 34, .12), 0 12px 22px -12px rgba(58, 16, 34, .24);
  --sh-m: 0 1px 2px rgba(58, 16, 34, .10), 0 6px 12px -5px rgba(58, 16, 34, .16), 0 22px 34px -18px rgba(58, 16, 34, .30), 0 50px 70px -44px rgba(58, 16, 34, .38);
  --sh-l: 0 2px 3px rgba(58, 16, 34, .12), 0 10px 18px -8px rgba(58, 16, 34, .20), 0 34px 50px -24px rgba(58, 16, 34, .36), 0 70px 90px -56px rgba(58, 16, 34, .42);
}
body { background-image: var(--grain-d); }
.phead, .foot, .cat--bar, .head { background-image: var(--grain-l); }
.hero { background: var(--grain-l), linear-gradient(to bottom, var(--night), #150a0d 62%); }
.good, .sum, .deck article { background: var(--paper) url(assets/textures/papier-blanc.webp) 0 0 / 256px; background-blend-mode: multiply; }
.good { box-shadow: var(--sh-s), inset 0 1px 0 rgba(255, 255, 255, .8); }
@media (hover: hover) { .good:hover { box-shadow: var(--sh-m), inset 0 1px 0 rgba(255, 255, 255, .8); } }
.scene { box-shadow: var(--sh-m), inset 0 1px 0 rgba(255, 255, 255, .10); background-image: var(--grain-l); }
@media (hover: hover) { .scene:hover { box-shadow: var(--sh-l), inset 0 1px 0 rgba(255, 255, 255, .10); } }
.stage.shot, .real__photo, .fan button { box-shadow: var(--sh-l); }
.deck article { box-shadow: var(--sh-m); }
.drink__sc { box-shadow: 0 0 0 1px rgba(247, 238, 226, .12), 0 2px 4px rgba(0, 0, 0, .35), 0 26px 40px -20px rgba(0, 0, 0, .75); }
.chip { box-shadow: 0 1px 1px rgba(58, 16, 34, .06), 0 4px 10px -6px rgba(58, 16, 34, .22); }

/* bandeau de page : le titre sur le bordeaux, une vraie photo à droite qui se fond dedans */
.phead { padding: calc(52vw + 6px) 0 30px; isolation: isolate; }
.phead .wrap { position: relative; z-index: 2; }
.phead p { line-height: 1.7; }
.phead__art { position: absolute; z-index: 1; inset: 0 0 auto 0; right: 0; bottom: auto; width: 100%; height: 56vw; object-fit: cover; filter: saturate(1.05); animation: phin 1.4s var(--out) both;
  -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent); mask-image: linear-gradient(to bottom, #000 52%, transparent); }
@keyframes phin { from { opacity: 0; transform: scale(1.08); } }
@media (min-width: 900px) {
  .phead { padding: clamp(150px, 17vw, 230px) 0 clamp(40px, 5vw, 60px); }
  .phead h1, .phead p { max-width: 44%; }
  .phead__art { inset: 0 0 0 auto; width: 56%; height: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .55) 34%, #000 70%); mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .55) 34%, #000 70%); }
}
@media (prefers-reduced-motion: reduce) { .phead__art { animation: none; } }

/* galerie : des tirages posés sur le lin, marge papier, légende sous la photo */
.gal { columns: 2; column-gap: 14px; margin-top: 0; }
@media (min-width: 820px) { .gal { columns: 3; column-gap: 34px; } }
.print { margin: 0 0 18px; padding: 7px 7px 0; break-inside: avoid; background: var(--paper) url(assets/textures/papier-blanc.webp) 0 0 / 256px; background-blend-mode: multiply; border-radius: 6px;
  box-shadow: var(--sh-m); rotate: var(--r, -.7deg); transition: rotate .6s var(--out), translate .6s var(--out), box-shadow .5s; }
.print:nth-child(3n + 2) { --r: .8deg; margin-top: 22px; } .print:nth-child(3n) { --r: -.3deg; } .print:nth-child(4n + 1) { --r: .5deg; }
.gal .print button { display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: var(--blush); box-shadow: inset 0 0 0 1px rgba(43, 22, 32, .08); }
.gal .print button:hover { box-shadow: none; }
.print img { display: block; width: 100%; }
.print figcaption { padding: 10px 4px 12px; font: 500 15px/1.25 var(--disp); color: var(--ink); text-wrap: balance; }
@media (min-width: 820px) { .print { margin-bottom: 38px; padding: 12px 12px 0; } .print figcaption { padding: 14px 4px 16px; font-size: 19px; } .print:nth-child(3n + 2) { margin-top: 46px; } }
@media (hover: hover) { .print:hover { rotate: 0deg; translate: 0 -8px; box-shadow: var(--sh-l); z-index: 2; position: relative; } }
@media (max-width: 899px) { .compo__left { background-image: var(--grain-d); } }
.phead__art[src$="sauge.jpg"] { object-position: 50% 80%; }

/* ---------- bar à mocktails : une rangée qu'on fait glisser du doigt, la page défile librement ---------- */
.bar { height: auto; }
.bar__pin { position: relative; top: auto; height: calc(100svh - var(--head)); min-height: 560px; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.bar__track { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-right: calc(50vw - var(--sw) / 2); transform: none !important; will-change: auto; cursor: grab; }
.bar__track::-webkit-scrollbar { display: none; }
.bar__track.drag { scroll-snap-type: none; cursor: grabbing; }
.bar__track.drag .glass { pointer-events: none; }
.glass { scroll-snap-align: center; cursor: pointer; }
button.glass img { height: calc(100svh - var(--head) - 318px - var(--pad, 0px)); -webkit-user-drag: none; user-select: none; }
@media (min-width: 760px) { button.glass img { height: calc(100svh - var(--head) - 360px - var(--pad, 0px)); } }
button.glass.in span::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .28em; vertical-align: .12em; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326091a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") 50% / 70% no-repeat; animation: pop .5s var(--ease) both; }
@keyframes pop { from { transform: scale(0); } }
.bar__cta { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 4px 16px 16px; }
html.has-obar .bar__cta { translate: 0 -66px; }
.bar__add { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px 0 9px; border: 0; border-radius: 999px; background: var(--cream); color: var(--night); font: 700 17px var(--text); cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 4px 8px -2px rgba(0, 0, 0, .35), 0 20px 36px -14px rgba(0, 0, 0, .7); transition: background .4s, color .4s, opacity .3s, transform .5s var(--ease); }
.bar__add i { width: 38px; height: 38px; border-radius: 50%; background: var(--bx) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7eee2' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5.5v13M5.5 12h13'/%3E%3C/svg%3E") 50% / 58% no-repeat; transition: rotate .6s var(--ease), background-color .4s; }
.bar__add.on { background: var(--gold); }
.bar__add.on i { rotate: 360deg; background-color: var(--night); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b26a' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
.bar__add.off { opacity: 0; pointer-events: none; }
.bar__add:active { transform: scale(.95); }
.bar__nav { width: 48px; height: 48px; flex: none; border: 0; border-radius: 50%; cursor: pointer; background: rgba(247, 238, 226, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7eee2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") 50% / 22px no-repeat;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1.5px rgba(247, 238, 226, .35); transition: opacity .3s, transform .4s var(--ease); }
.bar__nav[data-dir="-1"] { rotate: 180deg; }
.bar__nav:disabled { opacity: .3; cursor: default; }
.bar__nav:active { transform: scale(.88); }

/* carte : chaque vignette porte son bouton, un toucher ajoute le mocktail au bar */
.drink__sc::after { content: ""; position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(38, 9, 26, .5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7eee2' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5.5v13M5.5 12h13'/%3E%3C/svg%3E") 50% / 54% no-repeat;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1.5px rgba(247, 238, 226, .45); transition: rotate .6s var(--ease), scale .5s var(--ease), background-color .35s; }
.drink[aria-pressed="true"] .drink__sc::after { rotate: 360deg; scale: 1.1; background-color: var(--gold); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .6);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326091a' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
.drink:active .drink__sc { transform: scale(.97); } .drink__sc { transition: box-shadow .25s, transform .4s var(--ease); }
a.btn.is-off { pointer-events: none; }

/* plateau : plus grand */
@media (max-width: 899px) { .slab { --s: calc((100cqw - 44px) / 6); } }
@media (min-width: 900px) { .slab { --s: min(calc((100cqw - 73px) / 8), calc((100svh - var(--head) - 230px) / 5)); } }

/* flèche du héros : au centre de l'écran, plus sous la colonne de texte ; panier vide : centré */
@media (min-width: 900px) { .hero__cue { left: 50%; bottom: 24px; background: rgba(20, 3, 12, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); } }
.flow:has(> .empty) { text-align: center; }
.flow:has(> .empty) .empty { justify-items: center; padding: 26px 0 70px; }

/* ---------- passe UX du 12 novembre ---------- */
@media (min-width: 900px) {   /* ordinateur : le panier est déjà dans la barre du haut, la barre flottante cachait des boutons */
  .obar { display: none !important; }
  html.has-obar .bar__pin { --pad: 0px; } html.has-obar .bar__cta, html.has-obar .bar__dots { translate: none; }
}
@media (max-width: 899px) { .wa-float { display: none; } .phead { padding-top: calc(56vw + 12px); } }
.glass { grid-template-columns: minmax(0, 1fr); } button.glass span { justify-self: center; }
.barl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: -18px 0 26px; font: 700 11px/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.barl span.on { color: var(--bx); }
@media (max-width: 420px) { .barl { font-size: 10px; letter-spacing: .04em; } }
.rm { padding: 6px 0; border: 0; background: none; font: 600 14px var(--text); color: var(--soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#addr[hidden], .pay .card[hidden] { display: none; }
#addr.err input[name="addr"], #addr.err input[name="cp"] { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, .12); }
#addr input { width: 100%; }
.lines .line:has(#mocGo.is-off) { display: none; }
.empty #find { display: grid; gap: 14px; text-align: left; max-width: 420px; }
@media (max-width: 480px) { .ctrl .seg { flex-wrap: nowrap; } .ctrl .seg button { padding-inline: 11px; font-size: 14px; white-space: nowrap; } }

/* ---------- second lot UX ---------- */
.meter__add { display: none; }
@media (max-width: 899px) {
  .meter { align-items: center; gap: 10px; }
  .meter__add { display: inline-flex; align-items: center; min-height: 42px; margin-left: auto; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(88, 21, 55, .1); color: var(--bx); font: 700 15px var(--text); transition: background .35s, color .35s, transform .5s var(--ease); }
  .meter__add.ready { background: var(--bx); color: var(--cream); box-shadow: var(--sh-s); animation: pop .5s var(--ease); }
  .meter__add:active { transform: scale(.94); }
}
.chip:not(.has) em { display: grid; min-width: 0; padding: 0; background: none; color: var(--soft); font-size: 0; }
.chip:not(.has) em::after { content: "+5"; font: 700 12px var(--text); opacity: .75; }
.qst { display: inline-flex; align-items: center; flex: none; height: 44px; border-radius: 22px; background: var(--bx); color: var(--cream); }
.qst[hidden], .add[hidden] { display: none; }
.qst button { width: 40px; height: 44px; border: 0; background: none; color: inherit; font: 700 20px var(--text); cursor: pointer; }
.qst output { min-width: 18px; text-align: center; font: 700 16px var(--text); }
#stReplay, #stPack { display: none; }
.st-quote { margin-top: 6px; }

/* verre du bar : plus d'ombre noire décalée, une ombre de contact sur la table, teintée par le décor */
button.glass { position: relative; }
button.glass img { filter: none; position: relative; z-index: 1; }
button.glass::before { content: ""; position: absolute; left: 50%; bottom: -1.2%; z-index: 0; width: min(52%, 250px); height: 30px; translate: -46% 0; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--bar, #2f5d3a) 30%, rgba(8, 4, 6, .85)), transparent); filter: blur(7px); opacity: calc(.75 - var(--d) * .3); mix-blend-mode: multiply; pointer-events: none; }
.bar__track { scroll-behavior: auto; }
/* plateau sur ordinateur : il remplit sa colonne, le compteur et le prix s'alignent sur ses bords */
@media (min-width: 900px) {
  .compo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px); }
  .compo__left { justify-items: center; }
  .slab { --s: min(calc((100cqw - 53px) / 6), calc((100svh - var(--head) - 270px) / 5)); max-width: 100%; overflow-x: auto; scrollbar-width: thin; }
  .compo__left .meter { width: min(100%, calc(min(calc((100cqw - 53px) / 6), calc((100svh - var(--head) - 270px) / 5)) * 6 + 53px)); justify-self: center; }
}

/* ---------- buffets, seconde moitié : ce qui est compris, le déroulé, la demande de devis ---------- */
.bq__grid { display: grid; gap: 54px; align-items: center; }
.bq__photos { position: relative; padding: 0 0 12% 0; }
.bq__p1 { display: block; width: 82%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 100%; border-radius: 22px; box-shadow: var(--sh-l); }
.bq__p2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border: 8px solid var(--paper); border-radius: 18px; box-shadow: var(--sh-l); rotate: 3deg; }
.bq__list { list-style: none; margin: 26px 0 34px; padding: 0; border-top: 1px solid rgba(43, 22, 32, .16); }
.bq__list li { padding: 15px 0; border-bottom: 1px solid rgba(43, 22, 32, .16); font: 500 clamp(22px, 5.4vw, 32px)/1.15 var(--disp); }
.how { padding: clamp(72px, 10vw, 130px) 0; background: var(--night) var(--grain-l); color: var(--cream); }
.how__line { position: relative; list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 30px; }
.how__line::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: rgba(216, 178, 106, .5); }
.how__line li { position: relative; padding-left: 34px; }
.how__line li::before { content: ""; position: absolute; left: 0; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--night); }
.how__line b { display: block; font: 500 clamp(28px, 7vw, 40px)/1.05 var(--disp); color: var(--cream); }
.how__line span { display: block; margin-top: 8px; font-size: 16px; line-height: 1.4; color: var(--blush); }
.ask__grid { display: grid; gap: 34px; }
.ask__photo img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 22px; box-shadow: var(--sh-l); }
.ask__sub { margin-top: 10px; font: 700 13px var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--bx); }
.ask .form { max-width: none; margin-top: 26px; }
.ask .form .btn { justify-self: start; }
.ask__ok { min-height: 1.4em; font-weight: 700; color: var(--bx); }
@media (min-width: 900px) {
  .bq__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); }
  .how__line { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
  .how__line::before { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; }
  .how__line li { padding: 34px 0 0; }
  .how__line li::before { top: 0; }
  .how__line b { font-size: clamp(26px, 2.6vw, 38px); }
  .ask__grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
  .ask__photo img { aspect-ratio: 3 / 4; }
}

/* ---------- plateau : gamme et taille au-dessus ; plateau centré à côté des saveurs, sans barre de défilement ; ardoise sombre pour la gamme Premium ---------- */
.compo__top { display: flex; flex-wrap: wrap; gap: 12px 16px; margin: 22px 0 22px; }
.compo__top .seg { margin: 0; }
.slab::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: url(assets/textures/marbre-blanc.webp) 0 0 / 320px; filter: invert(1) brightness(.62) sepia(.35) saturate(.7); opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.slab { outline: 2px solid rgba(216, 178, 106, 0); outline-offset: -9px; transition: outline-color .7s ease, transform .6s var(--ease); }
.slab.premium { outline-color: rgba(216, 178, 106, .8); }
.slab.premium::before { opacity: 1; }
.slots { position: relative; z-index: 1; }
.slab.premium .slot { background-color: rgba(247, 238, 226, .07); box-shadow: inset 0 0 0 1px rgba(247, 238, 226, .08); }
@media (min-width: 900px) {
  #plateaux > .wrap { width: min(100% - 80px, 1500px); max-width: none; }
  .compo { grid-template-columns: minmax(0, 1fr) 480px; align-items: center; column-gap: clamp(32px, 4vw, 72px); }
  .compo__left { position: static; justify-items: center; }
  .slab { --s: min(calc((100cqw - 28px - (var(--cols, 6) - 1) * 5px) / var(--cols, 6)), calc((100svh - var(--head) - var(--lim, 300px)) / 5), var(--cap, 118px)); overflow: visible; max-width: none; }
  .compo__left .meter { width: calc(min(calc((100cqw - 28px - (var(--cols, 6) - 1) * 5px) / var(--cols, 6)), calc((100svh - var(--head) - var(--lim, 300px)) / 5), var(--cap, 118px)) * var(--cols, 6) + (var(--cols, 6) - 1) * 5px + 28px); justify-self: center; transition: width .5s var(--out); }
}

/* la pièce est centrée dans son rond (les découpes ont plus de vide en haut qu'en bas) */
.piece img { translate: 0 -9%; }

/* ---------- plateau, troisième version : prix dans les tailles et dans le bouton, compte sur une barre ; téléphone : plateau entier, saveurs sur deux colonnes, barre d'ajout collée en bas ---------- */
.piece img { width: 116%; }
#cSize button { display: grid; justify-items: center; align-content: center; gap: 1px; min-height: 54px; line-height: 1.15; }
#cSize button i { font-style: normal; font-size: 13px; font-weight: 600; opacity: .72; }
#cGamme button { min-height: 54px; }
.compo__actions { margin-top: 14px; gap: 8px; }
.compo__actions .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.psum { display: flex; align-items: center; gap: 18px; }
.psum__n { flex: 1; min-width: 0; display: grid; gap: 8px; }
.psum__n b { font: 500 28px/1 var(--disp); } .psum__n small { font-size: 17px; color: var(--soft); }
.psum__bar { display: block; height: 4px; border-radius: 4px; background: rgba(88, 21, 55, .14); overflow: hidden; }
.psum__bar i { display: block; height: 100%; width: 0; background: var(--bx); border-radius: inherit; transition: width .5s var(--out); }
.psum .btn { flex: none; opacity: .45; transition: opacity .3s, transform .45s var(--ease); }
.psum .btn.ready, .psum .btn.ok { opacity: 1; }
#cPrice::before { content: "·"; margin-right: 10px; }
@media (max-width: 899px) {
  .compo__top { display: grid; gap: 10px; margin: 18px 0 0; }
  .compo__top .seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .compo__top .seg button { padding: 0 6px; }
  .compo { gap: 20px; margin-top: 20px; }
  .compo__left { position: static; margin: 0; padding: 0; background: none; box-shadow: none; }
  .slab { --s: calc((100cqw - 45px) / 6); padding: 10px; }
  .compo__label { margin-top: 0; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .chip { width: 100%; min-height: 54px; font-size: 13.5px; line-height: 1.2; padding-right: 10px; gap: 8px; } .chip em { margin-left: auto; }
  .psum { position: sticky; bottom: calc(10px + var(--lift, 0px)); z-index: 6; margin: 0 -8px; padding: 9px 9px 9px 20px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px rgba(43, 22, 32, .1), 0 16px 30px -14px rgba(38, 9, 26, .5); }
  .psum__n b { font-size: 22px; } .psum__n small { font-size: 15px; } .psum__n { gap: 6px; }
  .psum .btn { min-height: 48px; padding: 0 20px; font-size: 15px; }
}
@media (min-width: 900px) {
  #plateaux > .wrap > h2 { text-align: center; }
  .compo__top { justify-content: center; }
  #plateaux > .wrap { width: min(100% - 80px, 1720px); }
  .compo { grid-template-columns: auto clamp(360px, 30vw, 440px); justify-content: center; align-items: center; column-gap: clamp(36px, 4.5vw, 84px); row-gap: 22px; }
  .compo__left { grid-row: 1 / span 2; position: static; container-type: normal; }
  .slab { --s: min(calc((min(100vw - 80px, 1720px) - clamp(360px, 30vw, 440px) - 84px - 73px) / 10), calc((100svh - var(--head) - 300px) / 5), 112px); }  /* même taille de pièce à 30, 40 et 50 : calculée pour 10 colonnes, le plateau s'allonge */
  .compo__opts { align-self: end; }
  .psum { grid-column: 2; align-self: start; padding-top: 22px; border-top: 1px solid rgba(43, 22, 32, .14); }
  .psum .btn { min-height: 56px; }
}
@media (max-width: 899px) { .chip img, .chip .dot { width: 38px; height: 38px; } .chip { font-size: 13px; padding-left: 5px; } }
@media (min-width: 900px) { .compo__opts .cat__sub { margin-top: 12px; font-size: 14px; } }
@media (min-width: 900px) { .tabs div { margin-inline: auto; } }  /* ordinateur : les catégories sont centrées, comme le titre et le plateau */
/* le badge d'une saveur occupe la même place qu'elle soit choisie ou non : le texte ne change plus de ligne, la page ne bouge plus */
.chip em, .chip.has em { display: grid; flex: none; width: 28px; min-width: 28px; height: 28px; padding: 0; border-radius: 50%; margin-left: auto; }
.chip:not(.has) em { background: none; box-shadow: inset 0 0 0 1.5px rgba(88, 21, 55, .22); }
.chip:not(.has) em::after { font-size: 11px; opacity: 1; color: var(--soft); }
.chips { grid-auto-rows: 70px; } .chip { min-height: 0; height: 100%; }  /* toutes les saveurs ont la même hauteur : Classique et Premium occupent la même place */
@media (min-width: 900px) { .chip { font-size: 13.5px; line-height: 1.2; gap: 8px; padding: 3px 8px 3px 5px; } .chip img, .chip .dot { width: 42px; height: 42px; } }
/* buffets : le choix de la nappe n'apparaît qu'à l'étape « La nappe », celui du thème qu'à « La décoration » ; ils partagent la même place, le bouton du devis ne bouge pas */
.ctrl { row-gap: 16px; }
.ctrl #stCloth, .ctrl #stTheme { grid-area: 1 / 1; transition: opacity .35s ease, visibility 0s linear .35s; opacity: 0; visibility: hidden; pointer-events: none; }
.ctrl .st-quote { grid-area: 2 / 1; }
.stagewrap:has(.stage.s2:not(.s3)) #stCloth, .stagewrap:has(.stage.s4) #stTheme { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .35s ease, visibility 0s; }

/* ---------- le carton : remplace la bulle WhatsApp ---------- */
.wa-float { display: none !important; }
.carton { position: fixed; right: 18px; bottom: calc(18px + var(--lift, 0px)); z-index: 60; perspective: 900px; opacity: 0; translate: 0 30px; pointer-events: none; transition: opacity .4s, translate .6s var(--ease); }
.carton.on { opacity: 1; translate: none; pointer-events: auto; }
.carton__face, .carton__note { background: var(--paper) url(assets/textures/papier-blanc.webp) 0 0 / 420px; background-blend-mode: multiply; color: var(--ink); box-shadow: 0 1px 0 #fff inset, var(--sh-m); }
.carton__face { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 16px; border: 0; border-radius: 6px; font: 500 20px/1 var(--disp); cursor: pointer; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-4deg); transform-origin: 50% 100%; transition: transform .25s ease-out, opacity .2s; }
.carton__face svg { width: 22px; height: 22px; color: var(--bx); flex: none; }
.carton.hop .carton__face { animation: cartonhop .7s var(--ease); }
@keyframes cartonhop { 30% { translate: 0 -16px; rotate: 5deg; } }
.carton.open .carton__face { transform: rotateY(90deg) rotate(-4deg); opacity: 0; pointer-events: none; transition: transform .25s ease-in, opacity .2s .1s; }
.carton__note { position: absolute; right: 0; bottom: 0; width: min(360px, calc(100vw - 36px)); padding: 26px 24px 22px; border-radius: 8px; transform-origin: 100% 100%; transform: rotateY(-90deg) rotate(3deg) scale(.6); opacity: 0; visibility: hidden; transition: transform .25s ease-in, opacity .2s, visibility 0s .25s; }
.carton.open .carton__note { transform: rotateX(calc(var(--rx, 0deg) * .3)) rotateY(calc(var(--ry, 0deg) * .3)); opacity: 1; visibility: visible; transition: transform .7s var(--ease) .18s, opacity .25s .18s, visibility 0s; }
.carton__x { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border: 0; background: none; color: var(--soft); display: grid; place-items: center; cursor: pointer; }
.carton__x svg { width: 16px; height: 16px; }
.carton__txt { font: 500 24px/1.5 var(--disp); margin: 0 18px 0 0; }
.carton__txt .w { display: inline-block; }
.carton.play .carton__txt .w { animation: cartonw .5s var(--out) both; animation-delay: calc(.3s + var(--d) * 45ms); }
@keyframes cartonw { from { opacity: 0; translate: 0 10px; filter: blur(4px); } }
.tok { display: inline-block; padding: 0 2px; margin: 0; border: 0; background: none; font: inherit; font-style: italic; color: var(--bx); cursor: pointer; overflow: hidden; vertical-align: bottom; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 100% 2px; background-position: 0 92%; background-repeat: no-repeat; transition: background-size .25s; }
.tok:active { background-size: 100% 100%; }
.tok span { display: inline-block; }
.tok span.out { animation: tokout .15s ease-in both; }
.tok span.in { animation: tokin .45s var(--ease) both; }
@keyframes tokout { to { translate: 0 -70%; opacity: 0; } }
@keyframes tokin { from { translate: 0 70%; opacity: 0; } }
.carton__bag { margin: 14px 0 0; font-size: 14px; line-height: 1.45; color: var(--soft); }
.carton__bag[hidden] { display: none; }
.carton__go { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; margin-top: 20px; border-radius: 999px; background: var(--bx); color: var(--cream); font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .45s var(--ease); }
.carton__go svg { width: 20px; height: 20px; }
.carton__go:active { transform: scale(.96); }
@media (hover: hover) { .tok:hover { background-size: 100% 100%; } .carton__go:hover { transform: translateY(-2px); } }
@media (max-width: 899px) {
  .carton { right: 12px; bottom: calc(12px + var(--lift, 0px)); }
  .carton__face { min-height: 46px; font-size: 17px; padding: 0 14px 0 12px; }
  .carton__face svg { width: 19px; height: 19px; }
  .carton__txt { font-size: 22px; }
  body:has(.cat) .carton:not(.open) { display: none; }   /* carte sur téléphone : la barre du plateau occupe déjà le bas de l'écran */
}
@media (prefers-reduced-motion: reduce) { .carton, .carton__face, .carton__note { transition: none !important; } .carton.play .carton__txt .w, .carton.hop .carton__face { animation: none; } }
@media (min-width: 900px) { .chips { grid-auto-rows: 60px; } }
/* saveur non choisie : un simple plus dans un rond teinté, à la place du « +5 » */
.chip:not(.has) em { background: rgba(88, 21, 55, .1); box-shadow: none; }
.chip:not(.has) em::after { content: ""; width: 11px; height: 11px; opacity: 1; background: linear-gradient(var(--bx), var(--bx)) center / 100% 2px no-repeat, linear-gradient(var(--bx), var(--bx)) center / 2px 100% no-repeat; }
@media (hover: hover) { .chip:not(.has):hover em { background: var(--bx); } .chip:not(.has):hover em::after { background: linear-gradient(var(--cream), var(--cream)) center / 100% 2px no-repeat, linear-gradient(var(--cream), var(--cream)) center / 2px 100% no-repeat; } }
/* le carton : deux façons d'écrire, à égalité ; « Mon message » ouvre une page lignée où l'on écrit soi-même */
.carton__mode { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 3px; margin: -8px 34px 18px 0; border-radius: 999px; background: rgba(88, 21, 55, .1); }
.carton__mode button { min-height: 40px; padding: 0 8px; border: 0; border-radius: 999px; background: none; font: 700 13px var(--text); color: var(--ink); cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.carton__mode button[aria-selected="true"] { background: var(--bx); color: var(--cream); }
.carton__txt[hidden], .carton__own[hidden] { display: none; }
.carton__own { display: block; width: 100%; min-height: 144px; padding: 0 2px; border: 0; resize: none; outline: none; background: none; border-bottom: 1px solid var(--gold); font: 500 22px/36px var(--disp); color: var(--ink); caret-color: var(--bx); }

/* =================== V7 =================== */
/* polices : EB Garamond pour les titres, Jost pour le texte */
:root { --disp: "EB Garamond", Georgia, serif; --text: "Jost", system-ui, sans-serif; }
body { font-family: var(--text); }
.disp, h1.disp, h2.disp { font-weight: 500; letter-spacing: -.01em; }

/* une seule largeur pour toute la page : mêmes bords à gauche et à droite partout */
@media (min-width: 900px) {
  .wrap, #plateaux > .wrap { width: min(100% - 80px, 1600px); max-width: none; }
}

/* ---------- plateau : 10 pièces par rangée, la même taille à 30, 40 et 50 ; une rangée « en plus » à 2 € la pièce ---------- */
.slab { overflow: visible !important; max-width: none !important; border: 3px solid transparent; --g: 5px; }
.slots { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(10, var(--s)); grid-auto-rows: var(--s); gap: var(--g); width: max-content; }
.slots__x { grid-column: 1 / -1; grid-row: auto; height: auto; display: flex; align-items: center; gap: 12px; margin: 4px 2px 0; font: 600 11px/1.6 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); white-space: nowrap; }
.slots__x::before, .slots__x::after { content: ""; flex: 1; height: 0; border-top: 1px dashed currentColor; opacity: .5; }
.slot--x { background: none; box-shadow: inset 0 0 0 1.5px rgba(88, 21, 55, .22); transition: opacity .4s ease; }
.slots:not(.full) .slot--x { opacity: .4; }
.slots:not(.full) .slots__x { opacity: .55; }
.slot--x:has(.piece) { box-shadow: none; }

/* Premium : ardoise noire, cadre doré, reflet qui passe une fois quand on le choisit */
.slab.premium { background: linear-gradient(#141013, #141013) padding-box, linear-gradient(135deg, #f7e6ad 0%, #a8772e 26%, #fff3c9 48%, #9a6a25 70%, #e9c97c 100%) border-box; box-shadow: 0 2px 0 rgba(255, 240, 200, .25) inset, 0 36px 44px -26px rgba(20, 6, 14, .75); outline-color: rgba(222, 187, 112, .55); }
.slab.premium::before { opacity: 1; filter: invert(1) brightness(.42) sepia(.25) saturate(.6); }
.slab.premium::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 236, 180, .22) 48%, transparent 60%) no-repeat; background-size: 250% 100%; background-position: 130% 0; animation: sheen 1.4s ease .15s 1 both; }
@keyframes sheen { to { background-position: -40% 0; } }
.slab.premium .slot { background: radial-gradient(circle, rgba(222, 187, 112, .1), rgba(222, 187, 112, .02) 70%); box-shadow: inset 0 0 0 1px rgba(222, 187, 112, .28); }
.slab.premium .slot:has(.piece) { box-shadow: none; }
.slab.premium .slots__x { color: #dcbb72; }
.slab.premium .slot--x { background: none; box-shadow: inset 0 0 0 1.5px rgba(222, 187, 112, .4); }
#cGamme button[data-v="premium"][aria-pressed="true"] { background: linear-gradient(135deg, #1b1417, #31252a); color: #f0d692; box-shadow: inset 0 0 0 1.5px rgba(222, 187, 112, .75); }
@media (prefers-reduced-motion: reduce) { .slab.premium::after { animation: none; display: none; } }

@media (max-width: 899px) {
  /* téléphone : le plateau reste en haut de l'écran pendant qu'on choisit les saveurs */
  .compo__left { position: sticky; top: var(--stick, 128px); z-index: 6; margin: 0 -20px; padding: 10px 20px 12px; background-color: var(--cream); box-shadow: 0 14px 14px -14px rgba(43, 22, 32, .3); display: grid; justify-items: center; container-type: inline-size; }
  .slab { --g: 3px; --s: calc((100cqw - 6px - 16px - 27px) / 10); padding: 8px; border-radius: 18px; justify-self: center; }
  .slots__x { font-size: 9.5px; margin-top: 2px; gap: 8px; }
  .slab.premium { outline-offset: -6px; }
}
@media (min-width: 900px) {
  .slab { --s: min(calc((min(100vw - 80px, 1600px) - clamp(360px, 30vw, 440px) - clamp(36px, 4.5vw, 84px) - 34px - 45px) / 10), calc((100svh - var(--head) - 340px) / 6), 104px); }
}

/* ---------- la carte : cartes alignées, titres sur une ligne ---------- */
@media (min-width: 760px) {
  .goods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .goods .good { display: grid; grid-template-rows: subgrid; row-gap: 12px; }
  .goods:has(.seg) .good { grid-row: span 5; }
  .goods:not(:has(.seg)) .good { grid-row: span 4; }
  .good .good__foot { margin-top: 0; align-self: end; }
}
.good h3 { font-size: clamp(26px, 2.2vw, 36px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 759px) { .good h3 { font-size: 30px; } }

/* ---------- suppléments brunch : de vraies grandes photos ---------- */
#supplements .lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0; margin-top: 30px; background: none; border-radius: 0; }
#supplements .line { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; gap: 6px 12px; align-items: center; padding: 18px 20px 20px; border: 0; border-radius: 26px; background: var(--paper); box-shadow: var(--sh-s), inset 0 1px 0 rgba(255, 255, 255, .8); transition: transform .5s var(--ease); }
#supplements .line__pic { grid-column: 1 / -1; grid-row: 1; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 4%; margin: 0 0 6px; transition: transform .8s var(--out); }
#supplements .line > div { grid-column: 1 / -1; grid-row: 2; align-self: start; }
#supplements .line b { font-size: 18px; }
#supplements .line .pr { grid-column: 1; grid-row: 3; justify-self: start; font-size: 26px; }
#supplements .line > .add, #supplements .line > .qst { grid-column: 2; grid-row: 3; }
#supplements .line > [hidden] { display: none; }
@media (hover: hover) { #supplements .line:hover { transform: translateY(-2px); } #supplements .line:hover .line__pic { transform: scale(1.03); } }
@media (max-width: 899px) {
  #supplements .lines { grid-template-columns: 1fr 1fr; gap: 12px; }
  #supplements .line { padding: 12px 14px 14px; border-radius: 22px; column-gap: 8px; }
  #supplements .line b { font-size: 15px; } #supplements .line small { font-size: 12.5px; line-height: 1.35; }
  #supplements .line .pr { font-size: 21px; }
  #supplements .line > .add { width: 40px; height: 40px; }
}

/* ---------- bar à mocktails : plus de barre blanche vide quand rien n'est choisi ---------- */
.lines:has(#mocGo.is-off) { display: none; }

/* ---------- buffets : « dès 200 pièces » mis en avant ---------- */
.ask__min { display: flex; align-items: center; gap: 16px; margin: 14px 0 6px; }
.ask__min b { font: 500 clamp(64px, 7vw, 96px)/.85 var(--disp); color: var(--bx); letter-spacing: -.02em; }
.ask__min span { font: 600 13px/1.45 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); padding-left: 16px; border-left: 1px solid rgba(43, 22, 32, .2); }

/* ---------- buffets : chaque changement se fond, dans les deux sens ---------- */
.stagewrap .stage.shot.xf img[data-k]:not(.on) { opacity: 0; z-index: 1; transition: none; }
.stagewrap .stage.shot.xf img[data-k].on { opacity: 1; transition: none; }

/* ---------- le carton : s'ouvre tout de suite, sans flou ni 3D lourde ---------- */
.carton { perspective: none; }
.carton__face, .carton__note { background-blend-mode: normal; }
.carton__face { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-4deg); }
.carton.open .carton__face { transform: rotate(-4deg) scale(.85); opacity: 0; transition: transform .18s ease-in, opacity .14s; }
.carton__note { transform: translateY(16px) scale(.94); will-change: transform, opacity; transition: transform .18s ease-in, opacity .14s, visibility 0s .18s; }
.carton.open .carton__note { transform: none; transition: transform .42s var(--ease), opacity .16s, visibility 0s; }
@keyframes cartonw { from { opacity: 0; translate: 0 8px; } }
.carton.play .carton__txt .w { animation-duration: .35s; animation-delay: calc(.05s + var(--d) * 30ms); }

/* suppléments : rangées alignées d'une carte à l'autre, description serrée */
#supplements .line { grid-row: span 3; grid-template-rows: subgrid; }
#supplements .line small { display: block; line-height: 1.4; margin-top: 3px; }
#supplements .line b { line-height: 1.25; }

/* saveurs : noms sur trois lignes au plus sur ordinateur, une seule colonne sur téléphone */
@media (min-width: 900px) { .chips { grid-auto-rows: 64px; } .chip { font-size: 13px; line-height: 1.15; } }
@media (max-width: 899px) {
  .chips { grid-template-columns: 1fr; grid-auto-rows: 56px; gap: 8px; }
  .chip { font-size: 15px; padding: 3px 10px 3px 6px; gap: 12px; }
  .chip img, .chip .dot { width: 42px; height: 42px; }
}

/* =================== V7 · accueil =================== */
/* « À la carte » : la scène garde les proportions pour lesquelles elle a été dessinée, quelle que soit la largeur de la carte */
.scene__art { width: min(100%, 560px); height: auto; aspect-ratio: 2.15; margin-inline: auto; }
.scenes { margin-top: 56px; }
@media (min-width: 820px) { .scenes { margin-top: clamp(96px, 9vw, 130px); } }

/* « On dresse votre buffet » : plus de fond vert, le même papier que le reste ; plus de pastilles qui ressemblent à des boutons */
.themes { background: none !important; }
.facts { display: grid; grid-template-columns: 1fr; margin: 26px 0 32px; max-width: 380px; }
.facts li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-radius: 0; background: none; border-bottom: 1px solid rgba(43, 22, 32, .14); font-weight: 500; font-size: 16px; }
.facts li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* la matière partout : le grain sur les bandes sombres de l'accueil comme sur la carte */
.sec--dark { background-image: var(--grain-l); }

/* « Vos avis » : grandes cartes de papier en éventail, guillemet doré, on touche la carte pour passer à la suivante */
.sec--dark .deck { max-width: 640px; height: 420px; cursor: pointer; }
.deck article { padding: 64px 48px 40px; border-radius: 6px; text-align: center; justify-items: center; transform-origin: 50% 110%; }
.deck article::before { content: "«"; position: absolute; top: 4px; left: 50%; translate: -50% 0; font: 400 96px/1 var(--disp); color: var(--gold); }
.deck article::after { content: ""; position: absolute; left: 50%; bottom: 30px; width: 44px; height: 1px; translate: -50% 0; background: var(--gold); }
.deck p { font: italic 400 clamp(24px, 3vw, 34px)/1.3 var(--disp); text-wrap: balance; }
.deck__next { display: none; }
@media (max-width: 599px) { .sec--dark .deck { height: 360px; } .deck article { padding: 58px 26px 34px; } }

/* curseur maison : un vrai curseur, qui remplace la flèche sur place, sans glisser ni grossir */
.bar__track, .bar__track .glass { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='29' fill='%23f7eee2'/%3E%3Cpath d='M24 23l-9 9 9 9M40 23l9 9-9 9' fill='none' stroke='%2326091a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 32 32, grab; }
.bar__track.drag, .bar__track.drag .glass { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='24' fill='%23f7eee2'/%3E%3Cpath d='M25 25l-7 7 7 7M39 25l7 7-7 7' fill='none' stroke='%2326091a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 32 32, grabbing; }
.sec--dark .deck, .sec--dark .deck * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='29' fill='%23d8b26a'/%3E%3Cpath d='M21 32h22M35 24l8 8-8 8' fill='none' stroke='%2326091a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 32 32, pointer; }

/* « À la carte » : des scènes plus grandes, et les deux cartes de droite en objets qui flottent comme celles de gauche */
.scene__art { width: 100%; aspect-ratio: 1.8; margin-top: -78px; }
.scenes { margin-top: 96px; }
@media (min-width: 820px) { .scenes { margin-top: clamp(130px, 11vw, 170px); } }
.scene .bx { height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 7px solid var(--paper); border-radius: 12px; }
.scene .bx1 { left: 9%; bottom: -3%; width: 40%; rotate: -8deg; }
.scene .bx2 { right: 8%; bottom: 5%; width: 44%; rotate: 5deg; }
.scene .p1 { left: 2%; bottom: -5%; width: 55%; }
.scene .p2 { right: 2%; bottom: 12%; width: 47%; }

/* « On dresse votre buffet » : photos plus grandes, le texte prend la place qu'il a */
.fan button { width: min(76%, 360px); margin-left: calc(min(76%, 360px) / -2); }
@media (min-width: 900px) {
  .themes__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); }
  .fan { height: clamp(540px, 46vw, 700px); }
  .fan button { width: min(68%, 440px); margin-left: calc(min(68%, 440px) / -2); }
  .themes .sec__title { white-space: nowrap; font-size: clamp(40px, 3.9vw, 78px); }
  .themes .sec__lead { max-width: none; }
}

/* bar à mocktails : un bouton net et léger, et chaque verre centré sur son verre, pas sur sa garniture */
.bar__add { min-height: 46px; padding: 0 22px 0 18px; gap: 10px; font: 600 15px var(--text); letter-spacing: .01em; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.bar__add i { width: 16px; height: 16px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326091a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E") 50% / contain no-repeat; }
.bar__add.on i { rotate: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326091a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") 50% / contain no-repeat; }
/* chaque verre ramené à la même hauteur de verre (du bord au pied, sans paille ni garniture), mesurée sur l'image ; le Raspberry un peu élargi */
.bar__track .glass img { transform-origin: 50% 100%; }
.bar__track .glass:nth-child(9n+1) img { scale: .983; }
.bar__track .glass:nth-child(9n+2) img { scale: 1.003; }
.bar__track .glass:nth-child(9n+3) img { scale: 1.045; }
.bar__track .glass:nth-child(9n+4) img { scale: 1; translate: 1.2% 0; }
.bar__track .glass:nth-child(9n+5) img { scale: .93; translate: 1.4% 0; }
.bar__track .glass:nth-child(9n+6) img { scale: 1.12 1.014; }
.bar__track .glass:nth-child(9n+7) img { scale: 1.2; }
.bar__track .glass:nth-child(9n+8) img { scale: .916; }
.bar__track .glass:nth-child(9n) img { scale: .966; translate: 12% 0; }

/* sélection : couleurs de la maison, et rien ne se sélectionne par erreur sur les boutons, les cartes et les images */
::selection { background: var(--bx); color: var(--cream); }
.sec--dark ::selection, .hero ::selection, .phead ::selection { background: var(--gold); color: var(--night); }
button, .btn, .top, .tabs, .scene, .chip, .seg, .slab, .psum, .glass, .deck, .fan, .bar, .steps, .carton__face, .good__foot, .line, img, svg { -webkit-user-select: none; user-select: none; }
img { -webkit-user-drag: none; }

/* plateau : quand les pièces en plus font un plateau plus grand au même prix ou moins cher, il devient ce plateau */
.slot.joined { animation: joined 1.2s ease-out both; }
@keyframes joined { from { box-shadow: inset 0 0 0 2px var(--gold); } to { box-shadow: inset 0 0 0 2px rgba(216, 178, 106, 0); } }
#cSize button.flash { animation: sizeflash .7s cubic-bezier(.22, 1, .36, 1); }
@keyframes sizeflash { 30% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .slot.joined, #cSize button.flash { animation: none; } }
/* chaque pièce reste dans son rond : plus de pièces qui débordent sur leurs voisines, même rond partout */
.slab .piece img { width: 100%; translate: none; }
.slab .slot, .slab .slot--x { overflow: visible; }

/* bar à mocktails : le voile sombre repasse au-dessus des photos de fond (la boucle leur donne un ordre d'empilement), plus présent en haut ; ligne du haut plus grande */
.bar__bgs::after { z-index: 5; background: linear-gradient(to bottom, rgba(20, 3, 12, .68), rgba(20, 3, 12, .3) 26%, rgba(20, 3, 12, 0) 44%), linear-gradient(to top, rgba(20, 3, 12, .6), rgba(20, 3, 12, 0) var(--line)); }
.bar__head h2, .bar__head p { font-size: clamp(12.5px, 3.4vw, 15px); letter-spacing: .16em; color: var(--cream); }
.bar__head h2, .bar__head p, .glass span { text-shadow: 0 1px 2px rgba(20, 3, 12, .55), 0 2px 22px rgba(20, 3, 12, .6); }

/* panier : plus lisible — colonne plus large, détail d'un plateau en liste, étapes et prix plus grands */
.flow { max-width: 720px; }
.flow .cl { grid-template-columns: 84px 1fr auto; gap: 18px; padding: 20px 0; }
.flow .cl img { width: 84px; height: 84px; }
.flow .cl b { font-size: 24px; }
.flow .cl__d { font: 500 15px/1.4 var(--text); color: var(--soft); }
.flow .cl__list { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 3px 18px; }
.flow .cl__list li { font: 400 15.5px/1.45 var(--text); color: var(--ink); }
.flow .cl__list em { display: inline-block; min-width: 1.8em; font-style: normal; font-weight: 600; color: var(--bx); }
.flow .barl { font-size: 12.5px; }
.flow .barl span { color: var(--soft); }
@media (max-width: 599px) { .flow .cl { grid-template-columns: 64px 1fr auto; gap: 12px; } .flow .cl img { width: 64px; height: 64px; } .flow .cl b { font-size: 21px; } .flow .barl { font-size: 11px; } }

/* bandeau des versions : tout tient sur une ligne au téléphone, même à huit versions */
.demo-back { white-space: nowrap; }
@media (max-width: 599px) { .demo-back { padding: 0 10px; gap: 4px; } .demo-back > a:first-child { font-size: 0; gap: 0; } .demo-back > a:first-child svg { width: 16px; height: 16px; } .vers { gap: 0; } .vers a { padding: 0 7px; font-size: 12.5px; } }

/* bar à mocktails : le nom passe toujours devant la paille d'un verre agrandi */
button.glass span { position: relative; z-index: 2; }

/* vitesse : le grain est une petite image répétée, plus un filtre recalculé à chaque peinture */
:root { --grain-d: url(img/grain-d.webp); --grain-l: url(img/grain-l.webp); }
body, .phead, .foot, .cat--bar, .head, .scene, .sec--dark { background-size: 128px 128px; }
/* vitesse : plus de flou derrière les boutons posés sur des images qui bougent */
.bar__nav { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(20, 3, 12, .38); }
.drink__sc::after { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(38, 9, 26, .62); }
/* avis : trois cartes peintes une fois chacune, un seul mouvement doux, pas de secousse d'invitation */
.deck article { will-change: transform; background-image: none; background-blend-mode: normal; box-shadow: 0 26px 40px -26px rgba(20, 3, 12, .8); transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .3s ease-out; transform: translate3d(0, calc(var(--k) * 14px), 0) rotate(calc(var(--k) * var(--tw, 1.5deg))) scale(calc(1 - var(--k) * .045)); }
.deck article.far { opacity: 0; visibility: hidden; }
.deck article.gone { transform: translate3d(var(--gx, 115%), 0, 0) rotate(var(--gr, 9deg)); opacity: 0; }
.deck article.snap, .deck article.drag { transition: none; }
.deck.in article[aria-hidden="false"] { animation: none; }

/* =================== V7 · cartes, champs, livraison, reçu (15 Nov) =================== */
/* avis : la carte qui part ne bloque plus le toucher suivant */
.deck article.gone { pointer-events: none; }

/* une seule couleur de carte, celle du petit carton « Écrivez-nous » : un blanc doux, ni crème ni jaune */
:root { --paper: #f5f4f2; }
.good, .sum, .carton__face, .carton__note { background-image: none; background-blend-mode: normal; }

/* champs : clairs et nets, mêmes sur toutes les étapes */
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea, #addr input, .pay .card input {
  min-height: 52px; width: 100%; padding: 12px 16px; border-radius: 14px; border: 1.5px solid rgba(43, 22, 32, .16);
  background: #fbfafa; font: 500 17px var(--text); color: var(--ink); -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.form input::placeholder, #addr input::placeholder, .pay .card input::placeholder { color: rgba(43, 22, 32, .42); }
.form input:not([type="checkbox"]):not([type="radio"]):focus, .form select:focus, .form textarea:focus, #addr input:focus, .pay .card input:focus { outline: 0; border-color: var(--bx); box-shadow: 0 0 0 4px rgba(88, 21, 55, .12); }
#addr .two { margin-top: 10px !important; grid-template-columns: 2fr 3fr; }

/* étape « Pour quel jour ? » : tout tient sur un écran ; calendrier serré, choix à côté sur ordinateur */
.flow:has(.dgrid) h1 { font-size: clamp(34px, 6vw, 50px); }
.dgrid { display: grid; gap: 20px; margin-top: 18px; }
.dopts { display: grid; gap: 16px; align-content: start; }
.dopts .fld { margin-top: 0 !important; gap: 8px; }
.dopts .seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; margin-top: 0 !important; border-radius: 16px; }
.dopts .seg button { min-height: 44px; padding: 0 8px; border-radius: 12px; font-size: 15px; white-space: nowrap; }
.dopts > .sm { margin-top: -6px !important; }
.dopts .acts { margin-top: 2px; gap: 10px; }
.dgrid .cal { padding: 12px 14px 14px; border-radius: 18px; }
.dgrid .cal__m { margin-bottom: 4px; font-size: 22px; }
.dgrid .cal__m button { width: 40px; height: 40px; }
.dgrid .cal__g { gap: 2px; }
.dgrid .cal__g span { padding: 2px 0 4px; }
.dgrid .cal__g button { aspect-ratio: auto; width: 40px; height: 40px; justify-self: center; font-size: 14.5px; }
@media (min-width: 900px) {
  .flow:has(.dgrid) { max-width: 980px; }
  .dgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; margin-top: 26px; }
  .dgrid .cal__g button { width: 46px; height: 46px; }
}
@media (max-width: 599px) { .dgrid .cal__g button { width: 38px; height: 38px; } .dopts .seg button { font-size: 14px; padding: 0 4px; } #addr .two { grid-template-columns: 1fr 1fr; } }

/* pages de commande : le pied de page reste en bas de l'écran, sans place perdue au-dessus */
body:has(.flowpage) { min-height: 100svh; display: flex; flex-direction: column; }
body:has(.flowpage) > .flowpage { flex: 1 0 auto; min-height: 0; padding-top: clamp(24px, 4vw, 48px); padding-bottom: 48px; }

/* reçu : à l'impression, seulement la commande */
@media print {
  .top, .foot, .demo-back, .acts, .carton, .wa-float, .tl, .vers { display: none !important; }
  body, body:has(.flowpage) { display: block; min-height: 0; background: #fff !important; color: #000; }
  .flowpage { padding: 0 !important; }
  .flow .sum { background: #fff; box-shadow: none; border-top: 1px solid #000; border-radius: 0; }
}

/* récap : un prix ne se coupe jamais en deux lignes */
.sum .kv > span:last-child { white-space: nowrap; }

/* =================== V8 · les retouches de l'audit =================== */
/* un fond choisi plutôt que la crème par défaut : une porcelaine froide tirée du bordeaux */
:root { --ground: #f0ecee; }
body, .tabs { background-color: var(--ground); }
/* des ombres neutres, plus de halo bordeaux sur les fonds sombres */
:root {
  --sh-s: 0 1px 1px rgba(0, 0, 0, .06), 0 3px 6px -2px rgba(0, 0, 0, .10), 0 12px 22px -12px rgba(0, 0, 0, .20);
  --sh-m: 0 1px 2px rgba(0, 0, 0, .08), 0 6px 12px -5px rgba(0, 0, 0, .12), 0 22px 34px -18px rgba(0, 0, 0, .24), 0 50px 70px -44px rgba(0, 0, 0, .30);
  --sh-l: 0 2px 3px rgba(0, 0, 0, .10), 0 10px 18px -8px rgba(0, 0, 0, .16), 0 34px 50px -24px rgba(0, 0, 0, .28), 0 70px 90px -56px rgba(0, 0, 0, .34);
}
.chip { box-shadow: 0 1px 1px rgba(0, 0, 0, .05), 0 4px 10px -6px rgba(0, 0, 0, .18); }
/* les bandes pleine largeur gardent leur marge sur les côtés */
.note, .phead, .cat, .how, .stagewrap, .sec { padding-left: 20px; padding-right: 20px; }

/* =================== V8 · téléphone (15 nov.) =================== */
/* Aucun rebond hors de la page, en haut comme en bas, comme une app */
html { background-color: var(--night); }  /* au-delà de la page (rebond, chargement), le bordeaux du haut et du pied, jamais du blanc */
/* défilement natif de Safari : tirer en haut recharge, la barre de Safari revient en bas, les gestes rapides filent ;
   ce qui apparaît au-delà de la page est bordeaux comme la barre du haut et le pied (html et body, voir 6e passe) */

@media (max-width: 819px) {
  /* Plus rien n'apparaît en glissant au défilement : seul le haut de page s'anime */
  [data-rv]:not(.gdeck > *), .split .w > span,
  [data-rv].scene .scene__art img, [data-rv].scene.in .scene__art img { opacity: 1 !important; transform: none !important; transition: none !important; }

  /* Pas de flèche vers le bas sur téléphone */
  .hero__cue { display: none; }

  /* Même marge que le pied de page : 20 px de chaque côté */
  .sec > .wrap { width: 100%; }

  /* « À la carte » : les photos restent dans leur carte, plus rien ne déborde sur la carte d'avant */
  .scenes { margin-top: 22px; gap: 14px; }
  .scene { padding: 14px 20px 22px; transform-style: flat; will-change: auto; border-radius: 26px; }
  .scene__art { width: 100%; height: auto; aspect-ratio: 1.75; margin: 0; transform: none; }
  .scene__art img { transition: none; filter: drop-shadow(0 10px 10px rgba(20, 3, 12, .35)); }
  .scene__name { margin-top: 6px; font-size: 34px; line-height: 1.05; }
  .scene__row { margin-top: 12px; }
  .scene .a1 { left: 3%; bottom: 2%; width: 44%; } .scene .a2 { right: 2%; bottom: 4%; width: 42%; } .scene .a3 { left: 32%; bottom: 30%; width: 36%; }
  .scene .bx1 { left: 12%; bottom: 4%; width: 34%; } .scene .bx2 { right: 12%; bottom: 8%; width: 37%; }
  .scene .b1 { left: 3%; bottom: 2%; width: 50%; } .scene .b2 { right: 3%; bottom: 6%; width: 46%; }
  .scene .p1 { left: 4%; bottom: 3%; width: 50%; } .scene .p2 { right: 4%; bottom: 10%; width: 44%; }
}

/* =================== V8 · téléphone, 2e passe (15 nov.) =================== */
/* La page ne bouge plus de gauche à droite */
html { overflow-x: clip; }
.bar__bgs { overflow: hidden; }

/* Fondu court d'une page à l'autre au lieu du flash blanc */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .26s; }

/* Ombres plus discrètes sur les photos du buffet */
.fan button { box-shadow: 0 12px 22px -14px rgba(38, 9, 26, .45); }

@media (max-width: 819px) {
  /* moins de vide en haut de chaque bande */
  .sec { padding-top: 52px; padding-bottom: 56px; }

  /* Mocktails : le verre prend toute la hauteur libre */
  .bar__track { align-items: stretch; }
  .glass { height: 100%; grid-template-rows: auto minmax(0, 1fr); align-content: stretch; }
  button.glass img { height: 100%; width: 100%; min-height: 0; object-fit: contain; object-position: 50% 100%; }

  /* « On dresse votre buffet » : le titre d'abord, puis les photos qu'on glisse, le nom collé dessous, la liste en une ligne */
  .themes__grid { display: flex; flex-direction: column; gap: 0; }
  .themes__grid > div[data-rv]:not(.fan) { display: contents; }
  .themes__grid .sec__title { order: 1; }
  .themes__grid .sec__lead { order: 2; margin-top: 8px; }
  .themes__grid .fan { order: 3; margin-top: 18px; }
  .themes__grid .facts { order: 4; }
  .themes__grid .btn { order: 5; align-self: flex-start; }
  .fan { height: auto; aspect-ratio: auto; display: grid; justify-items: center; touch-action: pan-y; }
  .fan button { position: relative; grid-area: 1 / 1; left: auto; top: auto; margin: 0; width: min(66%, 300px); }
  .fan button.fan-drag { transition: none; }
  .fan__name { position: static; grid-area: 2 / 1; margin-top: 14px; font-size: 28px; line-height: 1.1; }
  .facts { display: flex; flex-wrap: wrap; gap: 6px 16px; max-width: none; margin: 22px 0 26px; }
  .facts li { padding: 0; border: 0; font-size: 15px; gap: 8px; }

  /* « Vos avis » : glisser une carte ne bloque plus le défilement de la page */
  .deck { touch-action: pan-y; margin-top: 30px; }
  .deck.in article[aria-hidden="false"] { animation: none; }

  /* « Réservons votre date » : centré, boutons pleine largeur et plus grands */
  .cta__grid { gap: 28px; }
  .cta__grid .sec__title, .cta__grid .sec__lead { text-align: center; text-wrap: balance; }
  .cta__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .cta__btns .btn { justify-content: center; min-height: 56px; font-size: 16px; }
  .cta__btns .js-wa, .cta__btns a[href*="instagram"] { grid-column: 1 / -1; font-size: 17px; }

  /* Pied de page centré, « Île-de-France » sur une ligne */
  .foot__brand { display: grid; justify-items: center; text-align: center; }
  .foot__brand p { max-width: none; font-size: 14px; white-space: nowrap; }
  .foot__legal { text-align: center; }
}

/* =================== V8 · page Buffets + tout le site (15 nov.) =================== */
/* Bandeau des pages : le même bordeaux nuit que l'accueil */
.phead { background-color: var(--night); }

/* Ombres plus légères partout : elles ne mangent plus le texte */
:root {
  --sh-s: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 10px -6px rgba(0, 0, 0, .14);
  --sh-m: 0 1px 2px rgba(0, 0, 0, .07), 0 8px 18px -12px rgba(0, 0, 0, .20);
  --sh-l: 0 2px 4px rgba(0, 0, 0, .08), 0 14px 26px -18px rgba(0, 0, 0, .26);
}
.fan button { box-shadow: var(--sh-m); }

/* Photos : coins plus droits, plus proches du logo et des titres */
.stage.shot, .bq__p1, .ask__photo img, .fan button, .real__photo { border-radius: 8px; }
.bq__p2 { border-radius: 6px; }

/* Le vrai logo WhatsApp */
.wa-ic { width: 20px; height: 20px; flex: none; }

/* Buffet : on ne répète pas le nom de l'étape au-dessus des boutons */
#stCap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.st-cap { padding-top: 0; }

@media (max-width: 899px) {
  /* Le buffet tient dans l'écran : la photo prend la hauteur qui reste sous les boutons */
  .stagewrap { padding-top: 14px; padding-bottom: 28px; }
  .stage.shot { width: auto; height: calc(100svh - var(--head) - 196px); max-height: 640px; min-height: 340px; margin-inline: auto; }
  .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .steps button { min-height: 42px; padding: 0 10px; font-size: 14.5px; }
  .ctrl { margin-top: 14px; }

  /* « Tout est compris » : une photo, la liste en une ligne qui revient, moins de hauteur */
  .bq__grid { gap: 26px; }
  .bq__photos { padding: 0; }
  .bq__p1 { width: 100%; aspect-ratio: 16 / 11; object-position: 50% 70%; }
  .bq__p2 { display: none; }
  .bq__list { display: flex; flex-wrap: wrap; gap: 6px 18px; border: 0; margin: 18px 0 26px; }
  .bq__list li { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; font: 500 16px/1.5 var(--text); }
  .bq__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

  /* Demande de devis : « Envoyer sur WhatsApp » centré, de la largeur des champs */
  .ask .form .btn { justify-self: stretch; justify-content: center; min-height: 56px; }
}

/* =================== Moins arrondi partout (15 nov.) =================== */
/* boutons, pastilles, onglets : coins légers au lieu de pilules */
.btn, .pill, .top__nav a, .tabs a, .seg, .seg button, .steps button, .chip, .qty, .rules li, .facts li, .toast, .drink span, .step, .tag,
.bar__add, .meter__add, .psum, .obar, .obar em, .carton__go, .carton__mode, .carton__mode button, .dopts .seg, .dopts .seg button { border-radius: 10px; }
.seg button, .carton__mode button, .dopts .seg button { border-radius: 7px; }
/* cartes et blocs : 10 px */
.scene, .deck article, .slab, .good, .lines, .sum, #supplements .line, .cal, .dgrid .cal, .drink__sc, .fig, .menu, .qst, .alert, .pay label, .flyer { border-radius: 10px; }
/* photos : 6 à 8 px */
.good__photo, .gal button, .lb img, .flow .cl img, .box-photo, .real__photo, .scene .bx, .arch { border-radius: 6px; }
/* champs */
.form input, .form select, .form textarea, .pay .card input, .menu a { border-radius: 8px; }
@media (min-width: 820px) { .scene, .slab, #supplements .line { border-radius: 10px; } }
body .form input, body .form select, body .form textarea { border-radius: 8px; }

/* =================== V8 · page Carte, téléphone (15 nov.) =================== */
.toast { white-space: nowrap; max-width: calc(100vw - 24px); }
@media (max-width: 899px) {
  /* la barre du haut se cache quand on descend, revient quand on remonte ; les onglets prennent sa place */
  .top { transition: translate .28s var(--out); }
  .tabs { transition: top .28s var(--out); }
  html.top-off .top { translate: 0 -100%; }
  html.top-off .tabs { top: 0; }

  /* même marge de 20 px que l'accueil */
  .cat > .wrap { width: 100%; }

  /* les onglets disent déjà où l'on est : plus de grand titre répété */
  body:has(.tabs) .cat > .wrap > h2 { display: none; }
  body:has(.tabs) .cat { padding-top: 26px; }

  /* plateau : un vrai plateau aux coins ronds, de grosses pièces, qu'on fait glisser du doigt pour le parcourir ;
     rien derrière lui, il ne colle plus en haut */
  .compo__left { position: static !important; display: block; margin: 0 -20px; padding: 6px 20px 14px; background: none !important; box-shadow: none !important; container-type: normal;
    overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .compo__left::-webkit-scrollbar { display: none; }
  .slab { --s: 62px; --g: 4px; padding: 10px; border-radius: 20px; justify-self: start; margin: 0; }
  .slab .piece img { width: 112%; max-width: none; }
  .slab, .slab.premium { box-shadow: 0 2px 0 rgba(255, 255, 255, .7) inset, 0 -4px 0 rgba(43, 22, 32, .1) inset; }  /* plus d'ombre portée sous le plateau */
  .slab.premium { box-shadow: 0 2px 0 rgba(255, 240, 200, .25) inset; }
  /* le plateau se remplit par colonnes de cinq, de haut en bas, puis vers la droite ; « En plus » devient un filet vertical */
  .slots { grid-auto-flow: column; grid-template-rows: repeat(5, var(--s)); grid-template-columns: repeat(var(--nc, 6), var(--s)) auto; grid-auto-columns: var(--s); grid-auto-rows: auto; }
  .slots__x { grid-row: 1 / -1; grid-column: var(--sepc, 7); writing-mode: vertical-rl; rotate: 180deg; margin: 0 3px; gap: 8px; font-size: 9.5px; }
  .slots__x::before, .slots__x::after { flex: 1; width: 0; height: auto; border-top: 0; border-left: 1px dashed currentColor; }

  /* les pièces : de vraies vignettes, grande photo, nom, bouton + bien visible */
  .chips { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
  .chip { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ph ph" "nm add"; height: auto; min-height: 0; padding: 10px; gap: 8px; align-items: center; text-align: left; font-size: 14px; line-height: 1.2; }
  .chip .sw, .chip .sw.ph { grid-area: ph; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 6px; }
  .chip .sw img, .chip img { width: 100% !important; height: 100% !important; object-fit: contain; }
  .chip em, .chip.has em { grid-area: add; width: 38px; min-width: 38px; height: 38px; border-radius: 8px; margin: 0; }
  .chip:not(.has) em { background: var(--bx); }
  .chip:not(.has) em::after { width: 14px; height: 14px; background: linear-gradient(var(--cream), var(--cream)) center / 100% 2px no-repeat, linear-gradient(var(--cream), var(--cream)) center / 2px 100% no-repeat; }
  .chip.has em { background: var(--gold); color: var(--night); font-size: 15px; }
}

/* Box, brunchs, fruits : un paquet de cartes qu'on fait glisser */
@media (max-width: 759px) {
  .goods.gdeck { display: block; position: relative; touch-action: pan-y; margin-top: 16px; margin-bottom: 24px; }
  .gdeck > .good { position: absolute; inset: 0 0 auto 0; transform-origin: 50% 100%; transition: transform .62s cubic-bezier(.22, 1, .36, 1), opacity .5s ease; transform: translateY(calc(var(--k, 0) * 11px)) scale(calc(1 - var(--k, 0) * .04)); }
  .gdeck > .good.drag, .gdeck > .good.snap { transition: none; }
  .gdeck > .good.hint { animation: gnudge 2.4s cubic-bezier(.45, 0, .25, 1); }
  .gdeck__n { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
  .gdeck__n i { width: 7px; height: 7px; border-radius: 50%; background: rgba(88, 21, 55, .2); transition: background .25s, width .25s; }
  .gdeck__n i.on { width: 20px; border-radius: 4px; background: var(--bx); }
  @keyframes gnudge { 0%, 12% { translate: 0; rotate: 0deg; } 45% { translate: -28px 0; rotate: -1.6deg; } 62% { translate: -28px 0; rotate: -1.6deg; } 100% { translate: 0; rotate: 0deg; } }
}
@media (min-width: 760px) { .gdeck__n { display: none; } }

/* =================== V8 · finitions (15 nov.) =================== */
/* Titres de section : le dernier mot en italique, un trait doré dessous */
.sec__title .w:last-child > span { font-style: italic; }
.sec:not(.sec--dark) .sec__title .w:last-child > span { color: var(--bx); }
.sec--dark .sec__title .w:last-child > span { color: var(--gold); }
.sec__title::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 18px; background: var(--gold); }
.sec__title[style*="center"]::after { margin-inline: auto; }
@media (max-width: 819px) { .cta__grid .sec__title::after { margin-inline: auto; } }

/* « Vos avis » : une vraie photo de ses buffets derrière, des cartes encadrées d'or, son logo en tête */
.sec--dark:has(.deck) { background-image: var(--grain-l), linear-gradient(rgba(38, 9, 26, .84), rgba(38, 9, 26, .93)), url(img/a-dolcevita.jpg); background-size: 128px 128px, cover, cover; background-position: 0 0, center, center; }
.sec--dark .deck, .sec--dark .deck * { cursor: grab; }
.sec--dark .deck:active, .sec--dark .deck:active * { cursor: grabbing; }
.deck article { outline: 1px solid rgba(216, 178, 106, .7); outline-offset: -12px; padding-top: 96px; }
.deck article::before { content: ""; top: 40px; width: 150px; height: 41px; background: var(--gold); -webkit-mask: url(assets/logo-benmansour-events.png) center / contain no-repeat; mask: url(assets/logo-benmansour-events.png) center / contain no-repeat; font: inherit; }
@media (max-width: 599px) { .deck article { padding-top: 84px; } .deck article::before { top: 32px; width: 124px; height: 34px; } }

/* Demande de devis : « Envoyer sur WhatsApp » de la largeur des champs, sur ordinateur aussi */
.ask .form .btn { justify-self: stretch; justify-content: center; min-height: 56px; }

/* Changement de page : un voile bordeaux avec le logo au lieu du flash blanc */
@view-transition { navigation: none; }
html::after { content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none; background: var(--night) url(assets/logo-benmansour-events.png) center / min(46vw, 240px) auto no-repeat; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
html.leaving::after { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .26s ease; }
html.arriving::after { opacity: 1; visibility: visible; transition: none; animation: veil-safe .5s ease 2.6s forwards; }
html.arriving.arrived::after { opacity: 0; visibility: hidden; transition: opacity .55s cubic-bezier(.4, 0, .2, 1), visibility 0s .56s; }
html.veil-cut::after { transition: none !important; opacity: 0 !important; visibility: hidden !important; }
@keyframes veil-safe { to { opacity: 0; visibility: hidden; } }

/* =================== V8 · téléphone, 5e passe (15 nov.) =================== */
/* L'arche du bas revient (la passe « moins arrondi » l'avait aplatie) */
.arch { border-radius: 999px 999px 8px 8px; }

@media (max-width: 819px) {
  /* Mocktails : une bande plus haute, le nom ne déborde plus et n'est plus coupé, ombre douce */
  .bar__pin { min-height: 660px; }
  .bar__track { touch-action: pan-y; }
  button.glass span { white-space: normal; text-wrap: balance; max-width: 100%; padding-top: 22px; }  /* même nom qu'avant ; seul un nom trop long passe à la ligne, et rien n'est plus coupé en haut */

  /* « On dresse votre buffet » : la liste en deux colonnes alignées, le thème en dernier sur toute la ligne */
  .themes__grid .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; align-self: stretch; }
  .facts li:nth-child(1) { order: 1; } .facts li:nth-child(2) { order: 2; } .facts li:nth-child(4) { order: 3; } .facts li:nth-child(5) { order: 4; }
  .facts li:nth-child(3) { order: 5; grid-column: 1 / -1; }

  /* « Vos avis » : autant d'air en haut qu'en bas */
  .sec--dark:has(.deck) { padding-top: 48px; padding-bottom: 72px; }
  .sec--dark .deck { margin-top: 26px; }

  /* Réservons : téléphone et Instagram plus grands */
  .cta__btns .js-wa, .cta__btns a[href*="instagram"] { min-height: 62px; font-size: 19px; gap: 12px; }
  .cta__btns .js-wa svg, .cta__btns a[href*="instagram"] svg { width: 22px; height: 22px; }
}

@media (max-width: 899px) {

  /* « Choisissez vos pièces » : quatre par ligne, vignettes deux fois plus petites, le + dans le coin */
  .chips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 6px; }
  .chip { position: relative; grid-template-columns: 1fr; grid-template-areas: "ph" "nm"; padding: 6px 4px 8px; gap: 4px; font-size: 11.5px; line-height: 1.15; text-align: center; align-items: start; }
  .chip .sw, .chip .sw.ph { aspect-ratio: 1; }
  .chip em, .chip.has em { position: absolute; top: 4px; right: 4px; width: 24px; min-width: 24px; height: 24px; border-radius: 6px; font-size: 12px; }
  .chip:not(.has) em::after { width: 10px; height: 10px; }
}

@media (max-width: 759px) {
  /* Box, brunchs, fruits : des cartes qui tiennent dans l'écran, qui commencent plus haut, sans toucher les points */
  body:has(.tabs) .cat { padding-top: 16px; padding-bottom: 34px; }
  .goods.gdeck { margin-top: 10px; margin-bottom: 40px; }
  .gdeck > .good { padding: 14px 14px 16px; gap: 8px; }
  .gdeck .good__photo { aspect-ratio: 16 / 9; margin: 0; }
  .gdeck .good h3 { font-size: 26px; }
  .gdeck .mixl { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
  .gdeck .mixl li { padding: 2px 0; gap: 8px; font-size: 13.5px; line-height: 1.2; border: 0; }
  .gdeck .mixl li:first-child { grid-column: 1 / -1; padding: 0 0 4px; }
  .gdeck .mixl li img { width: 30px; height: 30px; }
  .gdeck .good__foot { padding-top: 4px; }
  .gdeck__n { margin-top: 0; }
}

/* =================== V8 · 6e passe (15 nov.) =================== */
/* Barre de défilement aux couleurs de la maison, jamais celle du navigateur */
html::-webkit-scrollbar { width: 12px; height: 12px; }
html::-webkit-scrollbar-track { background: var(--night); }
html::-webkit-scrollbar-thumb { background: var(--gold); border: 3px solid var(--night); border-radius: 8px; }
html::-webkit-scrollbar-thumb:hover { background: #e6c78a; }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-color: var(--gold) var(--night); } }

/* Votre buffet : la carte prise suit la souris ou le doigt, et revient en douceur */
.fan button { transition: transform .8s var(--ease), filter .4s, translate .5s var(--ease), rotate .5s var(--ease); cursor: grab; }
.fan button.fan-drag { transition: none; cursor: grabbing; }

/* Galerie : seules les flèches changent de photo, tout le reste du fond ferme */
.lb__nav { top: 50%; bottom: auto; height: 120px; width: 84px; translate: 0 -50%; }

/* Titres : plus d'apparition, ils sont là, simplement */
.split .w > span, h2[data-rv], .cat__sub[data-rv] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* Plus d'animations qui tournent en boucle pour rien */
.plate, .s4 .pr-ballons img, .s4 .fl { animation: none; }
/* Bandeau des pages : la photo est là tout de suite, seul le voile s'efface (plus d'éclair en arrivant) */
.phead__art { animation: none; }
.wa-float::before { animation-iteration-count: 3; }

/* Carte, mocktails : la photo se fond dans le bordeaux, le nom se pose sur ce fondu, un filet d'or encadre la carte ;
   le bouton reste dans le coin de la photo (+, puis coche nette en or une fois ajouté) */
.drinks { align-items: stretch; }
.drink { position: relative; display: flex; flex-direction: column; gap: 0; padding: 0; text-align: center; color: var(--cream);
  background: linear-gradient(180deg, var(--c, var(--deep)), color-mix(in srgb, var(--c, var(--deep)) 62%, #12040c)); border-radius: 10px; overflow: hidden;  /* option B choisie : la carte se fond dans la couleur de sa boisson */
  box-shadow: 0 1px 0 rgba(247, 238, 226, .08) inset, 0 30px 44px -26px rgba(0, 0, 0, .85);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s ease; }
.drink::after { content: ""; position: absolute; inset: 8px; z-index: 3; border-radius: 5px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(216, 178, 106, .42); transition: box-shadow .45s ease; }
.drink .drink__sc { flex: none; border-radius: 0; box-shadow: none; aspect-ratio: 4 / 5; background: none;
  -webkit-mask-image: linear-gradient(#000 58%, rgba(0, 0, 0, .55) 76%, transparent 97%); mask-image: linear-gradient(#000 58%, rgba(0, 0, 0, .55) 76%, transparent 97%); }
.drink .drink__sc::after { right: 16px; top: 16px; z-index: 4; }  /* « Ajouter » reste dans le coin de la photo, comme avant */
.drink .drink__sc img { object-position: 50% 58%; }
.drink__lab { position: relative; z-index: 2; display: flex; flex: 1; flex-direction: column; align-items: center; margin-top: -68px; padding: 0 16px 22px; }
.drink__no { font: 700 11px/1 var(--text); letter-spacing: .24em; color: var(--gold); text-shadow: 0 1px 6px rgba(20, 3, 12, .7); }
.drink .drink__lab span { display: block; width: auto; margin-top: 8px; padding: 0; border-radius: 0; background: none !important; color: var(--cream) !important;
  font: italic 500 clamp(24px, 2.3vw, 32px)/1.04 var(--disp); letter-spacing: -.015em; text-wrap: balance; text-shadow: 0 1px 10px rgba(20, 3, 12, .55); }
.drink__rule { display: block; width: 28px; height: 1px; margin: 14px 0 0; background: var(--gold); transition: width .5s cubic-bezier(.22, 1, .36, 1); }
.drink[aria-pressed="true"]::after { box-shadow: inset 0 0 0 1.5px var(--gold); }
.drink[aria-pressed="true"] .drink__rule { width: 56px; }
.drink:active { transform: scale(.985); }
.drink:active .drink__sc { transform: none; }
@media (hover: hover) {
  .drink:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(247, 238, 226, .08) inset, 0 40px 50px -26px rgba(0, 0, 0, .9); }
  .drink:hover::after { box-shadow: inset 0 0 0 1px rgba(216, 178, 106, .8); }
  .drink:hover .drink__rule { width: 56px; }
}
@media (min-width: 760px) { .drink .drink__sc { aspect-ratio: 1; } .drink__lab { margin-top: -74px; } }
@media (max-width: 759px) {
  .drinks { gap: 14px 12px; }
  .drink__lab { margin-top: -44px; padding: 0 18px 16px; }
  .drink .drink__lab span { font-size: 21px; }
  .drink__no { font-size: 10px; }
  .drink__rule { margin: 10px 0 0; }
  .drink__no { display: none; }  /* pas de numéro sur téléphone */
  .drink .drink__lab span { margin-top: 0; }
}

/* Changement de page : le voile couvre aussi le bas de l'écran derrière la barre de Safari */
html::after { inset: 0; height: auto; box-shadow: 0 0 0 100vmax var(--night); }

@media (max-width: 819px) {
  /* Mocktails : plus de grosse ombre floue derrière le nom (sur iPhone elle formait une barre) ;
     un dégradé doux en haut de la photo, qui s'efface vers le bas */
  .bar__head h2, .bar__head p, .glass span { text-shadow: 0 1px 3px rgba(20, 3, 12, .55); }
  .bar__bgs::after { background-image: linear-gradient(rgba(20, 3, 12, .6), rgba(20, 3, 12, .42) 12%, rgba(20, 3, 12, .2) 26%, rgba(20, 3, 12, .06) 38%, rgba(20, 3, 12, 0) 48%), linear-gradient(to top, rgba(20, 3, 12, .6), rgba(20, 3, 12, 0) 88px) !important; }
  button.glass span { white-space: nowrap; text-wrap: nowrap; }

  /* Votre buffet : les photos centrées, la première bien droite, les deux autres de chaque côté à égalité */
  .fan button[data-pos="0"] { --r: 0deg; }
  .fan button[data-pos="1"] { --tx: 30%; --r: 7deg; --s: .86; }
  .fan button[data-pos="2"] { --tx: -30%; --r: -7deg; --s: .86; }
  .themes__grid .btn { align-self: center; }
}

@media (max-width: 899px) {
  /* Plateau : le total et « Ajouter au panier » juste sous le plateau ; « Surprenez-moi », « Vider » et le devis côte à côte */
  .psum { position: static; margin: 20px 0 0; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .compo__row { margin-top: 18px; }
  .compo__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .compo__row .compo__actions { margin: 0; flex: none; flex-wrap: nowrap; }
  .compo__row .cat__sub { margin: 0; font-size: 13px; line-height: 1.3; text-align: right; }
}

/* Rebond iPhone : Safari prend la couleur du body pour la zone au-delà de la page ;
   le body est donc bordeaux, et la crème est peinte par-dessus en image (rien ne change à l'écran) */
body { background-color: var(--night); background-image: var(--grain-d), linear-gradient(var(--ground), var(--ground)); }

/* Accueil : les noms des mocktails dans le même italique que la carte */
.glass span { font-style: italic; letter-spacing: -.015em; }
