/* Stud'Eat · maquette Forge · 03/12/2026
   Palette tirée du kiosque et des affiches : crème, turquoise, marine, rose du chapeau. */
:root {
  --cream: #f7f1e6;
  --paper: #fffaf1;
  --teal: #41b5c0;
  --teal-2: #d9f0f1;
  --teal-ink: #17707a;
  --navy: #1f2b5c;
  --navy-2: #2a3a73;
  --pink: #d92a74;
  --line: rgba(31, 43, 92, .14);
  --muted: #56608a;
  --r: 18px;
  --r-s: 12px;
  --band: 32px;
  --top: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --script: "Shrikhand", "Cooper Black", Georgia, serif;
  --text: "Rubik", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--navy); scroll-behavior: smooth; scroll-padding-top: calc(var(--band) + var(--top) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 44px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

/* Bandeau Forge */
.forge-band { position: fixed; inset: 0 0 auto; z-index: 120; height: var(--band); display: grid; place-items: center; background: #11173a; color: #e8ecff; font-size: 13px; letter-spacing: .01em; }
.forge-band .short { display: none; }

/* Barre du haut */
.top { position: fixed; top: var(--band); inset-inline: 0; z-index: 100; height: var(--top); transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.top.is-solid { background: var(--cream); box-shadow: 0 1px 0 var(--line); }
.top__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; color: var(--navy); transition: color .3s; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.top.is-solid .brand { color: var(--navy); }
.top__nav { display: flex; gap: 26px; margin-left: auto; padding: 8px 22px; border-radius: 999px; transition: background .3s var(--ease); }
.top:not(.is-solid) .top__nav { background: var(--cream); }
.top__nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--navy); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-block: 4px; transition: background-size .25s var(--ease); }
.top__nav a:hover { background-size: 100% 2px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .15s var(--ease), background .2s; }
.cart-btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.cart-btn:active { transform: scale(.97); }
.cart-btn svg, .tabbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--pink); color: #fff; font: 600 12px/22px var(--text); text-align: center; font-style: normal; }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--light { background: var(--cream); color: var(--navy); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--pink { background: var(--pink); color: #fff; }
.btn--pink:hover { background: #c21f64; }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--full { width: 100%; }
.link { font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; transition: background-size .25s var(--ease); }
.link:hover { background-size: 40% 2px; }
.small { font-size: 14px; color: var(--muted); }
.note { margin-top: 28px; font-size: 14px; color: var(--muted); max-width: 70ch; }
.kicker { font-weight: 600; color: var(--teal-ink); margin-bottom: 10px; }

/* Haut de page */
.hero { padding: calc(var(--band) + var(--top)) 0 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--teal); color: var(--navy); overflow: hidden; }
.hero__in { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 24px; padding-block: 24px 32px; }
.hero__text { display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 2; }
.hero__place { font-weight: 600; color: var(--navy); }
.hero h1 { font-size: clamp(42px, 4.6vw, 70px); line-height: 1.02; color: var(--navy); }
.hero h1 .h1__a { display: block; }
.hero h1 .script { display: block; font-size: .95em; line-height: 1.18; margin-top: 4px; padding-right: .12em; color: var(--navy); text-shadow: 3px 3px 0 var(--cream); }
.hero__lead { font-size: 19px; max-width: 36ch; color: #17304a; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--line-navy { border-color: var(--navy); color: var(--navy); }
.btn--line-navy:hover { background: var(--navy); color: #fff; }
.hero__quick p { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.quick button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 52px 14px 16px; border: 0; border-radius: 16px; background: var(--cream); color: var(--navy); text-align: left; font: inherit; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease); box-shadow: 0 1px 0 rgba(17, 23, 58, .08); }
.quick button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(17, 23, 58, .5); }
.quick button:active { transform: scale(.98); }
.quick span { font-size: 14px; line-height: 1.25; font-weight: 500; }
.quick b { font: 400 22px/1 var(--script); }
.quick i { position: absolute; right: 12px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-style: normal; font-size: 20px; transition: background .2s; }
.quick button:hover i { background: var(--pink); }
.hero__burger { position: relative; margin: 0 -6vw 0 0; }
.hero__burger img { display: block; width: 100%; height: auto; filter: drop-shadow(0 40px 34px rgba(17, 23, 58, .35)); transform: rotate(calc(-4deg + (var(--zoom, 1) - 1) * 40deg)) scale(var(--zoom, 1)); transform-origin: 50% 60%; will-change: transform; }
.hero__tag { position: absolute; top: 2%; right: 14%; width: 132px; height: 132px; border-radius: 50%; border: 0; background: var(--pink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; rotate: 10deg; font: 600 13px/1.15 var(--text); text-align: center; cursor: pointer; box-shadow: 0 12px 26px -12px rgba(17, 23, 58, .6); transition: transform .2s var(--ease); }
.hero__tag b { font: 400 30px/1 var(--script); }
.hero__tag:hover { transform: scale(1.05); }
.hero__tag:active { transform: scale(.96); }
.hero__burger[data-enter] { opacity: 0; transform: translateY(30px) scale(.94); }
.is-in .hero__burger[data-enter] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: .15s; }
.hero__facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 16px 32px; margin: 0 auto; padding: 20px 0 26px; border-top: 1.5px solid rgba(31, 43, 92, .2); }
.hero__facts dt { font-size: 13px; color: #17304a; }
.hero__facts dd { margin: 2px 0 0; font-weight: 600; font-size: 16px; }
[data-enter] { opacity: 0; transform: translateY(18px); }
.is-in [data-enter] { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }

/* Damier, repris des affiches */
.damier { height: 28px; background: conic-gradient(var(--navy) 25%, var(--cream) 0 50%, var(--navy) 0 75%, var(--cream) 0) 0 0 / 28px 28px; }
.damier--navy { background: conic-gradient(var(--teal) 25%, var(--navy) 0 50%, var(--teal) 0 75%, var(--navy) 0) 0 0 / 28px 28px; }

/* Titres de section */
section { padding-block: clamp(72px, 9vw, 120px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(44px, 5vw, 72px); color: var(--navy); line-height: 1.1; padding-right: .1em; }
.sec-head p { max-width: 44ch; color: var(--muted); }

/* Suggestions du panier */
.upsell { margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--teal-2); }
.up__t { font: 400 22px/1 var(--script); color: var(--navy); margin-bottom: 12px; }
.up__in { display: grid; gap: 8px; }
.upsell button { position: relative; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 50px 10px 14px; border: 0; border-radius: 12px; background: #fff; color: var(--navy); font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: transform .15s var(--ease); }
.upsell button:hover { transform: translateY(-1px); }
.upsell button:active { transform: scale(.98); }
.upsell button i { position: absolute; right: 10px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-style: normal; font-size: 18px; }
.upsell .up-f { background: var(--navy); color: #fff; padding-block: 12px; }
.upsell .up-f i { background: var(--pink); }
.ups { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ups button b { font-weight: 600; white-space: nowrap; }

/* Formules */
.formules { background: var(--cream); }
.f-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.f-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r); background: var(--teal-2); min-height: 240px; overflow: hidden; transition: transform .2s var(--ease); }
.f-card:hover { transform: translateY(-2px); }
.f-card h3 { font-size: 22px; }
.f-card .f-what { font-size: 14px; color: var(--muted); }
.f-card .f-price { font: 400 44px/1 var(--script); color: var(--navy); margin-top: auto; padding-top: 14px; }
.f-card .f-add { position: absolute; right: 16px; bottom: 16px; }
.f-card--photo { grid-column: span 2; grid-row: span 2; background: var(--navy); color: #fff; padding: 0; min-height: 500px; }
.f-card--photo .f-img { position: absolute; inset: 0; }
.f-card--photo .f-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.f-card--photo:hover .f-img img { transform: scale(1.03); }
.f-card--photo .f-body { position: relative; margin-top: auto; padding: 80px 22px 22px; background: linear-gradient(to top, rgba(17, 23, 58, .92) 30%, rgba(17, 23, 58, 0)); display: flex; flex-direction: column; gap: 6px; }
.f-card--photo .f-what { color: #d4dbf3; }
.f-card--photo .f-price { color: #fff; }
.f-card--navy { background: var(--navy); color: #fff; }
.f-card--navy .f-what { color: #c7cff0; }
.f-card--navy .f-price { color: var(--teal); }
.f-card--teal { background: var(--teal); }
.f-card--teal .f-what { color: #14505a; }
.add { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: transform .15s var(--ease), background .2s; }
.add:hover { transform: translateY(-2px); background: var(--pink); }
.add:active { transform: scale(.92); }
.f-card--navy .add, .f-card--photo .add { background: var(--cream); color: var(--navy); }
.f-card--navy .add:hover, .f-card--photo .add:hover { background: var(--pink); color: #fff; }

/* Carte */
.carte { background: var(--paper); }
.chips { position: sticky; top: calc(var(--band) + var(--top)); z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; margin-bottom: 24px; background: var(--paper); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 500; font-size: 15px; transition: background .2s, color .2s, border-color .2s; }
.chips a:hover { border-color: var(--navy); }
.chips a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.menu { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; align-items: start; }
.m-sec { padding-block: 0; margin-bottom: 44px; scroll-margin-top: calc(var(--band) + var(--top) + 80px); }
.m-sec h3 { font-size: 26px; display: flex; align-items: baseline; gap: 12px; padding-bottom: 6px; border-bottom: 2px solid var(--navy); }
.m-sec h3 small { font: 500 14px/1 var(--text); color: var(--muted); }
.m-base { font-size: 14px; color: var(--muted); margin: 8px 0 4px; }
.m-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.m-name { font-weight: 500; }
.m-name em { font-style: normal; font-size: 13px; color: var(--teal-ink); margin-left: 6px; }
.m-dots { flex: 1; border-bottom: 2px dotted rgba(31, 43, 92, .25); transform: translateY(-4px); min-width: 16px; }
.m-price { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.m-line .add { width: 40px; height: 40px; font-size: 22px; flex: none; }
.m-formule { margin-top: 10px; font-weight: 600; color: var(--teal-ink); font-size: 15px; }

/* Du moment */
.moment { background: var(--navy); color: #fff; }
.moment__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.moment__photo { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: var(--teal); }
.moment__photo img { width: 100%; height: 100%; object-fit: cover; }
.moment .kicker { color: var(--teal); }
.moment h2 { font: 400 clamp(48px, 6vw, 84px)/1.05 var(--script); margin-bottom: 18px; padding-right: .1em; }
.moment__text > p { color: #dfe4f7; max-width: 40ch; }
.moment__price { font: 700 40px/1 var(--text); color: #fff !important; margin: 24px 0; }
.moment__cta { margin-bottom: 12px; }
.moment .small { color: #b9c2e6; }
.moment__duo { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; margin-top: 72px; padding-top: 56px; border-top: 1px solid rgba(255, 255, 255, .14); }
.moment__duo figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 11; }
.moment__duo figure img { width: 100%; height: 100%; object-fit: cover; }
.avent h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 14px; }
.avent p { color: #dfe4f7; margin-bottom: 18px; max-width: 46ch; }
.avent .link { color: var(--teal); }

/* Commander */
.commander { background: var(--teal); }
.commander__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.commander h2 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.1; }
.commander h2 .script { color: #fff; display: block; padding-right: .1em; }
.commander .lead { font-size: 19px; margin: 20px 0 28px; max-width: 42ch; }
.steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.steps li { background: var(--cream); border-radius: var(--r-s); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.steps span { font-size: 14px; color: var(--muted); }
.commander .small { color: #134c55; }
.commander__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 26px; }
.phone { justify-self: center; width: min(340px, 100%); }
.phone__body { position: relative; aspect-ratio: 9 / 18.5; border-radius: 15% / 7.3%; background: var(--cream); border: 11px solid var(--navy); box-shadow: 0 30px 60px -30px rgba(17, 23, 58, .55); display: flex; flex-direction: column; overflow: hidden; }
.phone__notch { position: absolute; top: 10px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%); background: var(--navy); border-radius: 20px; }
.phone__head { padding: 52px 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); background: #fff; }
.phone__head img { width: 40px; height: 40px; border-radius: 50%; }
.phone__head b { font-size: 14px; }
.phone__head span { font-size: 11px; color: var(--muted); }
.phone__thread { flex: 1; padding: 18px 14px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.bubble { align-self: flex-end; max-width: 88%; background: var(--navy); color: #fff; padding: 12px 14px; border-radius: 18px 18px 4px 18px; font-size: 14px; line-height: 1.45; white-space: pre-line; transition: opacity .25s; }
.bubble.flash { animation: flash .5s var(--ease); }
@keyframes flash { from { transform: translateY(8px); opacity: .4; } }
.phone__bar { margin: 0 12px 16px; height: 40px; border-radius: 20px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 16px; font-size: 13px; color: var(--muted); }
.phone__bar i { width: 28px; height: 28px; border-radius: 50%; background: var(--teal); }

/* Infos */
.infos { background: var(--cream); }
.infos__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.infos h2 { font-size: clamp(44px, 5vw, 72px); line-height: 1.1; padding-right: .1em; }
.infos .lead { margin: 18px 0 30px; max-width: 44ch; font-size: 18px; }
.info-block { padding: 20px 0; border-top: 1px solid var(--line); }
.info-block h3 { font-size: 15px; color: var(--teal-ink); margin-bottom: 8px; }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 6px 10px; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.today { background: var(--teal-2); font-weight: 600; }
.hours tr.today th, .hours tr.today td { font-weight: 600; }
.hours tr.today th { border-radius: 8px 0 0 8px; }
.hours tr.today td { border-radius: 0 8px 8px 0; }
.infos__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.infos__visual { display: grid; gap: 16px; }
.kiosque { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kiosque img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.map { width: 100%; height: 300px; border: 0; border-radius: var(--r); background: var(--teal-2); }

/* Pied de page */
.foot { background: var(--navy); color: #dfe4f7; padding: 64px 0 calc(48px + env(safe-area-inset-bottom)); }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: 18px; }
.foot__brand img { border-radius: 18px; }
.foot__brand p { font-size: clamp(24px, 2.6vw, 34px); color: #fff; line-height: 1.2; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: end; }
.foot__links a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot__links a:hover { color: var(--teal); }
.foot__forge { grid-column: 1 / -1; font-size: 13px; color: #9aa4cf; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }

/* Barre iOS : téléphone seulement */
.tabbar { display: none; }

/* Fenêtre de choix */
.sheet { border: 0; padding: 0; border-radius: 24px; width: min(520px, calc(100% - 24px)); max-height: min(86vh, 760px); background: var(--paper); color: var(--navy); box-shadow: 0 40px 80px -30px rgba(17, 23, 58, .6); }
.sheet::backdrop { background: rgba(17, 23, 58, .5); }
.sheet[open] { animation: rise .3s var(--ease); }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
.sheet__in { display: flex; flex-direction: column; max-height: inherit; }
.sheet__head, .drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.sheet__head h2, .drawer__head h2 { font-size: 22px; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--teal-2); font-size: 24px; cursor: pointer; }
.x:hover { background: var(--teal); }
[data-pick-body] { padding: 8px 22px 16px; overflow: auto; }
.opt { border: 0; margin: 14px 0 0; padding: 0; }
.opt legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.opt label { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 6px; cursor: pointer; }
.opt label:has(input:checked) { border-color: var(--navy); background: var(--teal-2); }
.opt input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0 8px 0 0; }
.opt label span { flex: 1; }
.opt label small { color: var(--muted); }
.sheet__foot { padding: 14px 22px 22px; border-top: 1px solid var(--line); }

/* Panier */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(17, 23, 58, .5); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); }
.drawer.open .drawer__panel { transform: none; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 22px 16px; }
.empty { padding: 28px 0; color: var(--muted); }
.lines { list-style: none; margin: 0; padding: 0; }
.line { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
.line b { font-weight: 600; }
.line .detail { grid-column: 1; font-size: 14px; color: var(--muted); }
.line .price { font-weight: 600; font-variant-numeric: tabular-nums; }
.line .row { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 20px; cursor: pointer; border-radius: 50%; }
.qty button:hover { background: var(--teal-2); }
.qty span { min-width: 24px; text-align: center; font-weight: 600; }
.line select { height: 40px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; padding: 0 12px; font-size: 14px; }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.who label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.who .wide { grid-column: 1 / -1; }
.who input, .who select { height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 0 14px; font-weight: 400; font-size: 16px; }
.who input:focus, .who select:focus { border-color: var(--navy); outline: none; }
.drawer__foot { padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--cream); display: grid; gap: 10px; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; }
.total b { font-size: 26px; font-variant-numeric: tabular-nums; }
.hint { font-size: 14px; color: var(--teal-ink); font-weight: 500; }
.drawer__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer__alt .btn { padding: 0 12px; font-size: 15px; }
.is-empty [data-who], .is-empty [data-foot] { display: none; }

/* Ticket */
.ticket { border: 0; padding: 0; background: transparent; width: min(440px, calc(100% - 24px)); }
.ticket::backdrop { background: var(--teal); }
.ticket__paper { background: var(--paper); border-radius: 22px; padding: 30px 26px 24px; text-align: center; box-shadow: 0 30px 60px -30px rgba(17, 23, 58, .5); }
.ticket__paper img { margin: 0 auto 12px; border-radius: 16px; }
.ticket__paper h2 { font: 400 42px/1.1 var(--script); }
.ticket__time { font-weight: 600; font-size: 20px; margin: 8px 0 16px; color: var(--teal-ink); }
.ticket ul { list-style: none; padding: 16px 0; margin: 0 0 12px; border-block: 2px dashed var(--line); text-align: left; font-size: 18px; display: grid; gap: 8px; }
.ticket__total { font-weight: 700; font-size: 26px; margin-bottom: 18px; }

/* Message bref */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 160; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: opacity .25s, transform .25s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Tablette */
@media (max-width: 1100px) {
  .f-grid { grid-template-columns: repeat(3, 1fr); }
  .top__nav { gap: 18px; }
}
@media (max-width: 900px) {
  :root { --top: 60px; --band: 28px; }
  .forge-band .long { display: none; }
  .forge-band .short { display: inline; }
  .top__nav, .cart-btn { display: none; }
  .top__in { justify-content: center; }
  .top { background: var(--cream); box-shadow: 0 1px 0 var(--line); }
  .brand { color: var(--navy); }
  .hero { min-height: auto; }
  .hero__in { grid-template-columns: 1fr; gap: 8px; padding-block: 8px 28px; }
  .hero__burger { order: -1; margin: 0 -10% 0 -4%; }
  .hero__tag { width: 104px; height: 104px; right: 8%; top: 0; font-size: 12px; }
  .hero__tag b { font-size: 24px; }
  .hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .quick { grid-template-columns: 1fr; }
  .quick button { flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 56px 12px 16px; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .f-card { min-height: 210px; padding: 18px; }
  .f-card--photo { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
  .f-card .f-price { font-size: 36px; }
  .menu { grid-template-columns: 1fr; }
  .phone { width: min(270px, 78%); }
  .phone__body { aspect-ratio: 9 / 16; }
  .f-card--photo { padding: 0; }
  .moment__grid, .moment__duo, .commander__grid, .infos__grid { grid-template-columns: 1fr; gap: 36px; }
  .moment__duo { margin-top: 48px; padding-top: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__links { justify-content: start; }
  .foot { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(104px + env(safe-area-inset-bottom)); }
  .commander__cta .btn, .infos__cta .btn { flex: 1 1 100%; }
  /* barre iOS */
  .tabbar { position: fixed; z-index: 110; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; height: 68px; padding: 6px; border-radius: 26px; background: rgba(247, 241, 230, .82); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 10px 30px -12px rgba(17, 23, 58, .45), inset 0 0 0 1px rgba(255, 255, 255, .6); transition: transform .3s var(--ease), height .3s var(--ease); }
  .tabbar.is-small { transform: translateY(6px) scale(.94); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 100%; border: 0; background: none; border-radius: 20px; text-decoration: none; font-size: 11px; font-weight: 500; color: var(--navy); cursor: pointer; position: relative; transition: background .25s; }
  .tabbar a[aria-current] { background: rgba(65, 181, 192, .22); }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar__main { background: var(--navy) !important; color: #fff !important; margin: 0 2px; }
  .tabbar__main .cart-count { position: absolute; top: 4px; right: 10px; min-width: 18px; height: 18px; line-height: 18px; font-size: 11px; padding: 0 4px; }
  .drawer__panel { top: auto; left: 0; width: 100%; max-height: 92svh; border-radius: 24px 24px 0 0; transform: translateY(100%); }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 40px); }
  .sec-head { margin-bottom: 28px; }
  .f-card h3 { font-size: 19px; }
  .steps { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; }
  .kiosque img { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-enter] { opacity: 1; transform: none; }
  .hero__burger img { transform: rotate(-4deg) !important; }
}

/* v7 : prix sans espace insécable large, logo détaché du turquoise, burger détouré dans la carte formule */
.quick b, .hero__tag b { white-space: nowrap; word-spacing: -.05em; }
.brand img { box-shadow: 0 0 0 2px var(--cream); }
.f-card--photo { background: var(--teal); }
.f-card--photo .f-img { inset: 6% 4% 30% 4%; }
.f-card--photo .f-img img { object-fit: contain; filter: drop-shadow(0 24px 20px rgba(17, 23, 58, .35)); transform: rotate(-4deg); }
.f-card--photo:hover .f-img img { transform: rotate(-4deg) scale(1.03); }
.f-card--photo .f-body { background: var(--navy); padding-top: 22px; }
.ups { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
.ups::-webkit-scrollbar { display: none; }
.ups button { flex: none; width: auto; padding: 10px 46px 10px 14px; }
.ups button span { white-space: nowrap; }
/* v9 : burger en JPEG sur le turquoise exact, ombre déjà dans l'image */
.hero__burger img, .f-card--photo .f-img img { filter: none; }
