/* Izayni Sushi, version 2 : « Voyage qui vend ».
   Règles appliquées : skill uizze (ui-design, craft, polish), verre et ombres en couches,
   entrées de texte en fondu + flou + déplacement, sans masque. */

@font-face {
  font-family: 'Shippori Kanji';
  src: url('assets/fonts/shippori-kanji.woff2') format('woff2');
  font-weight: 700; font-display: swap; unicode-range: U+9802;
}

:root {
  --encre: #15101a;
  --encre-2: #2a1f30;
  --prune: #211826;
  --rose: #f48fb1;
  --rose-vif: #ff9fc0;
  --rose-clair: #ffd3df;
  --papier: #fbeff2;
  --blanc: #fffafb;
  --gris: #6b5762;
  --gris-clair: #c9b3be;

  --serif: 'Shippori Kanji', 'Shippori Mincho', 'Shippori Mincho Fallback', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Jost', 'Jost Fallback', system-ui, sans-serif;

  --e-out: cubic-bezier(.22, 1, .36, 1);
  --e-in-out: cubic-bezier(.77, 0, .175, 1);
  --dur-texte: 620ms; --pas: 50ms; --dist: 14px; --flou: 4px; --dur-sortie: 200ms;

  --ombre-douce: 0 1px 2px rgba(74, 24, 48, .06), 0 6px 14px -4px rgba(74, 24, 48, .10), 0 22px 44px -16px rgba(74, 24, 48, .22);
  --ombre-haute: 0 2px 6px rgba(60, 14, 38, .10), 0 18px 40px -12px rgba(60, 14, 38, .32), 0 50px 100px -30px rgba(60, 14, 38, .45);
  --ombre-sombre: 0 2px 4px rgba(0, 0, 0, .22), 0 16px 34px -10px rgba(0, 0, 0, .55), 0 44px 90px -28px rgba(0, 0, 0, .6);
  --ombre-btn: 0 1px 2px rgba(21, 16, 26, .28), 0 10px 22px -8px rgba(21, 16, 26, .55);

  --barre-h: 60px;
  --barre-haut: max(12px, env(safe-area-inset-top));
  --sous-barre: calc(var(--barre-haut) + var(--barre-h) + 12px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--encre); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 400 1.0625rem/1.55 var(--sans); overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.enveloppe { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 12px; }
.venir :focus-visible, .tiroir :focus-visible, .legal :focus-visible { outline-color: var(--rose-clair); }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.evitement { position: fixed; z-index: 200; left: 12px; top: -80px; padding: 12px 18px; border-radius: 999px; background: var(--encre); color: #fff; }
.evitement:focus { top: 12px; }

/* ---------- Verre : givre, translucidité, liseré, profondeur ---------- */
.verre {
  background: rgba(255, 243, 247, .62);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .62);
  box-shadow: var(--ombre-haute), inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -1px 0 rgba(120, 40, 80, .08);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
  font-weight: 500; font-size: 1rem; line-height: 1.15; text-decoration: none; white-space: nowrap;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease-out, box-shadow .25s ease-out, transform .15s ease-out, opacity .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--encre { background: var(--encre); color: #fff; box-shadow: var(--ombre-btn); }
.btn--rose { background: var(--rose); color: var(--encre); box-shadow: 0 1px 2px rgba(120, 30, 70, .25), 0 10px 24px -8px rgba(200, 60, 120, .6); }
.btn--blanc { background: rgba(255, 255, 255, .82); color: var(--encre); box-shadow: 0 1px 2px rgba(74, 24, 48, .12), 0 8px 18px -8px rgba(74, 24, 48, .3), inset 0 1px 0 #fff; }
.btn--sombre { background: var(--encre-2); color: #fff; box-shadow: var(--ombre-btn); }
.btn--lien { background: none; min-height: 44px; padding: 0 12px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.btn--verre { width: 44px; height: 44px; min-height: 0; padding: 0; background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.btn--large { width: 100%; min-height: 56px; font-size: 1.0625rem; }
.btn--fleche { padding-right: 6px; }
.btn--fleche b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--rose); color: var(--encre); transition: transform .35s var(--e-out); }
.btn--fleche b svg { width: 18px; height: 18px; }
.btn:not(:disabled):not([aria-disabled="true"]):active { transform: scale(.96); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--encre:hover, .btn--sombre:hover { background: #3a2a40; }
  .btn--rose:hover { background: var(--rose-vif); }
  .btn--blanc:hover { background: #fff; }
  .btn--fleche:hover b { transform: translateX(3px); }
  .btn--verre:hover { background: rgba(255, 255, 255, .18); }
}

/* Bouton « + » */
.ajout {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--encre); color: #fff; box-shadow: var(--ombre-btn); touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease-out, background-color .2s;
}
.ajout svg { width: 20px; height: 20px; stroke-width: 2.4; }
.ajout:active { transform: scale(.9); }
.ajout.ok { background: var(--rose); color: var(--encre); }
@media (hover: hover) and (pointer: fine) { .ajout:hover { background: #3a2a40; } .ajout.ok:hover { background: var(--rose-vif); } }
.qte { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--rose); color: var(--encre); font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.qte[hidden] { display: none; }

/* ---------- Barre ---------- */
.barre {
  position: fixed; z-index: 50; top: var(--barre-haut); left: 50%; transform: translateX(-50%);
  width: min(1240px, calc(100% - 24px)); height: var(--barre-h);
  display: flex; align-items: center; gap: 12px; padding: 0 8px 0 10px; border-radius: 999px;
  background: rgba(255, 243, 247, .74);
}
.marque { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; font-size: 1.125rem; border-radius: 999px; padding-right: 6px; }
.sceau { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffb7cc, var(--rose) 62%, #e77ca1); font-family: 'Shippori Kanji', serif; font-weight: 700; font-size: 1.375rem; line-height: 1; box-shadow: 0 1px 2px rgba(120, 30, 70, .25), inset 0 1px 0 rgba(255, 255, 255, .5); }
.marque-nom { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.barre-nav { display: flex; gap: 4px; margin-left: auto; }
.barre-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-weight: 500; transition: background-color .2s; }
@media (hover: hover) and (pointer: fine) { .barre-nav a:hover { background: rgba(21, 16, 26, .07); } }
.pastille-cmd {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 8px 0 16px; border: 0; border-radius: 999px;
  background: var(--encre); color: #fff; font-weight: 500; box-shadow: var(--ombre-btn); white-space: nowrap;
  touch-action: manipulation; transition: transform .15s ease-out, background-color .2s;
}
.pastille-cmd svg { width: 20px; height: 20px; }
.pastille-n { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-variant-numeric: tabular-nums; font-weight: 700; font-size: .9375rem; transition: background-color .3s, color .3s; }
.pastille-cmd.plein .pastille-n { background: var(--rose); color: var(--encre); }
.pastille-total { font-variant-numeric: tabular-nums; padding-right: 8px; }
.pastille-cmd:active { transform: scale(.96); }
.pastille-cmd.pouls { animation: pouls .5s var(--e-out); }
@keyframes pouls { 0% { transform: scale(1); } 35% { transform: scale(1.07); } 100% { transform: scale(1); } }
@media (hover: hover) and (pointer: fine) { .pastille-cmd:hover { background: #3a2a40; } }
.barre-nav + .pastille-cmd { margin-left: 4px; }
/* Bouton de la musique : haut-parleur, barré quand la musique est coupée. */
.son { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: 2px; border: 0; border-radius: 50%; background: none; color: var(--encre); touch-action: manipulation; transition: background-color .2s; }
.son svg { width: 22px; height: 22px; }
.son .son-off, .son.coupe .son-on { display: none; }
.son.coupe .son-off { display: block; }
.son.coupe { color: var(--gris); }
.son + audio + .pastille-cmd { margin-left: 6px; }
@media (hover: hover) and (pointer: fine) { .son:hover { background: rgba(21, 16, 26, .07); } }
html:not(.js) .son { display: none; }

/* ---------- Voyage ---------- */
.voyage { position: relative; height: 100vh; height: 100dvh; min-height: 320px; overflow: hidden; background: #e9b9c6; isolation: isolate; color: var(--encre); }
.voyage video, .v-affiche { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.voyage video { z-index: 1; }
/* Arrêt sur image : l'image se floute et rosit (--voile-n = 1). En route, le flou se dissout puis revient
   avec le même fondu que le voile (piloté image par image par app.js). Léger zoom pour cacher les bords flous. */
.voyage video, .v-affiche {
  filter: blur(calc(var(--voile-n, 1) * 14px)) saturate(calc(1 - var(--voile-n, 1) * .35));
  transform: scale(calc(1 + var(--voile-n, 1) * .06));
  transition: filter .28s linear, transform .28s linear; /* lisse le fondu si l'appareil saute des images */
  will-change: filter, transform;
}
@media (prefers-reduced-motion: reduce) { .voyage video, .v-affiche { transition: none; } }
.v-voile { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: var(--voile, .62);
  background: radial-gradient(120% 90% at 28% 50%, #f8c6d3 0%, #f2a9bf 58%, #e58fab 100%); }
.v-petales { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; opacity: var(--voile-n, 1); }
.v-petales i { position: absolute; top: -6%; width: 15px; height: 11px; background: #fff3f6; border-radius: 80% 10% 80% 10%;
  opacity: .85; box-shadow: 0 2px 4px rgba(120, 30, 70, .18); animation: chute linear infinite; }
@keyframes chute {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(7vw, 56vh, 0) rotate(190deg); }
  100% { transform: translate3d(-3vw, 112vh, 0) rotate(380deg); }
}

.panneau {
  position: absolute; z-index: 5; left: max(24px, 5vw); top: calc(50% + (var(--sous-barre) - 72px) / 2); transform: translateY(-50%);
  width: min(640px, calc(100% - 48px)); max-height: calc(100% - var(--sous-barre) - 96px); overflow: visible;
  padding: clamp(24px, 2.8vw, 40px); border-radius: 32px;
  transition: opacity .45s var(--e-out), transform .6s var(--e-out);
}
.p-titre { font-size: clamp(2.1rem, 4.1vw, 3.75rem); line-height: 1.1; }
.p-titre .m { display: inline-block; white-space: pre; }
.p-phrase { margin-top: 12px; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.5; font-weight: 500; max-width: 40ch; }
.p-phrase:empty { display: none; }
.faits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.faits li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .62); font-weight: 500; font-size: .9375rem; box-shadow: inset 0 0 0 1px rgba(21, 16, 26, .08); }
.faits li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 2px rgba(255, 255, 255, .8); }
.faits[hidden], .vitrine[hidden] { display: none; }

.vitrine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.vitrine li {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 140px; min-width: 0;
  padding: 14px 12px 12px 16px; border-radius: 20px; background: rgba(255, 255, 255, .8);
  box-shadow: 0 1px 2px rgba(74, 24, 48, .08), 0 10px 22px -12px rgba(74, 24, 48, .35), inset 0 1px 0 #fff;
  transition: box-shadow .3s ease-out;
}
.vitrine li.dedans { box-shadow: 0 0 0 2px var(--rose), 0 10px 22px -12px rgba(200, 60, 120, .5); }
.v-nom { font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding-right: 30px; }
.v-bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.v-prix { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vitrine .qte { position: absolute; top: 10px; right: 10px; }

.p-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }

/* Entrée : chaque mot, puis la phrase, puis les plats et les boutons. Sortie : fondu court. */
.p-titre .m, .p-phrase, .faits, .vitrine li, .p-actions { opacity: 1; transition: opacity var(--dur-texte) var(--e-out); transition-delay: calc(var(--i, 0) * var(--pas) + 100ms); }
@media (prefers-reduced-motion: no-preference) {
  .p-titre .m, .p-phrase, .faits, .vitrine li, .p-actions { transition-property: opacity, transform, filter; transition-duration: var(--dur-texte); transition-timing-function: var(--e-out); }
  .voyage[data-texte="pret"] :is(.p-titre .m, .p-phrase, .faits, .vitrine li, .p-actions) { transform: translateY(var(--dist)); filter: blur(var(--flou)); }
  .voyage[data-texte="pret"] .panneau { transform: translateY(calc(-50% + 14px)) scale(.985); }
  .voyage[data-texte="sorti"] .panneau { transform: translateY(calc(-50% - 8px)); }
}
.voyage[data-texte="pret"] :is(.p-titre .m, .p-phrase, .faits, .vitrine li, .p-actions) { opacity: 0; transition: none; }
.voyage[data-texte="pret"] .panneau { opacity: 0; transition: none; }
.voyage[data-texte="sorti"] .panneau { opacity: 0; transition: opacity var(--dur-sortie) ease-out, transform var(--dur-sortie) ease-out; }
.voyage:not([data-texte="la"]) .panneau { pointer-events: none; }

.v-nav { position: absolute; z-index: 6; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; }
.v-pts { display: flex; gap: 0; }
.v-pts button { display: grid; place-items: center; width: 34px; height: 40px; border: 0; padding: 0; background: none; touch-action: manipulation; border-radius: 999px; }
.v-pts i { width: 9px; height: 9px; border-radius: 50%; background: var(--encre); opacity: .28; transition: transform .4s var(--e-out), opacity .3s, width .4s var(--e-out); }
.v-pts button[aria-current="step"] i { opacity: 1; width: 24px; border-radius: 999px; }
.v-fil { position: absolute; z-index: 6; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--rose); transform-origin: 0 50%; transform: scaleX(var(--fil, 0)); }

/* ---------- Carte ---------- */
.carte { position: relative; padding: clamp(72px, 9vw, 128px) 0 clamp(72px, 9vw, 120px); background: var(--papier);
  background-image: radial-gradient(60% 40% at 90% 0%, rgba(244, 143, 177, .22), transparent 70%), radial-gradient(50% 30% at 0% 30%, rgba(244, 143, 177, .14), transparent 70%); }
.carte-tete { display: grid; gap: 14px; }
.carte-tete h2 { font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: 1; }
.carte-chapo { color: var(--gris); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); max-width: 52ch; }
.plus-txt { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--encre); color: #fff; font-weight: 700; line-height: 1; vertical-align: -3px; }
.onglets { position: sticky; z-index: 20; top: var(--sous-barre); width: min(1240px, calc(100% - 24px)); margin: clamp(28px, 4vw, 44px) auto 0; padding: 6px; border-radius: 28px; background: rgba(255, 243, 247, .7); }
.onglets-int { display: flex; flex-wrap: wrap; gap: 4px; }
.onglet { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 500; transition: background-color .25s, color .25s; }
.onglet[aria-current="true"] { background: var(--encre); color: #fff; box-shadow: var(--ombre-btn); }
@media (hover: hover) and (pointer: fine) { .onglet:not([aria-current="true"]):hover { background: rgba(21, 16, 26, .07); } }
.cats { display: grid; gap: clamp(16px, 2vw, 24px); margin-top: clamp(20px, 2.6vw, 32px); }
.cat { scroll-margin-top: calc(var(--sous-barre) + 80px); padding: clamp(22px, 3vw, 44px); border-radius: 30px; background: var(--blanc); box-shadow: var(--ombre-douce); border: 1px solid rgba(255, 255, 255, .9); }
.cat-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 10px; }
.cat-tete h3 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); }
.cat-tete p { color: var(--gris); font-weight: 500; white-space: nowrap; }
.plats-liste { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .plats-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.p { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto auto 44px; align-items: center; column-gap: 10px; min-height: 72px; padding: 12px 0; border-top: 1px solid rgba(21, 16, 26, .08); }
.p > .p-img { grid-column: 1; }
.p > .p-txt { grid-column: 2; } .p > .p-prix { grid-column: 3; } .p > .retrait { grid-column: 4; } .p > .qte { grid-column: 5; } .p > .ajout { grid-column: 6; }
/* Vignette du plat : illustration dessinée (ou photo si "img" est donné dans le JSON). */
.p-img, .v-img { display: block; width: 56px; height: 56px; border-radius: 16px; object-fit: cover; background: #ffe3ea; box-shadow: 0 1px 2px rgba(74, 24, 48, .1); }
.epuise .p-img, .epuise .v-img { filter: grayscale(1); opacity: .55; }
.v-haut { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.v-img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.p .p-prix { margin-right: 4px; }
.p-txt { display: grid; gap: 2px; min-width: 0; }
.p-nom { font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.p-desc { color: var(--gris); font-size: .9375rem; line-height: 1.4; overflow-wrap: anywhere; }
.p-prix { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* « − » à côté du « + » : visible dès qu'il y a ce plat dans la commande. */
.retrait {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: #fff; color: var(--encre); box-shadow: inset 0 0 0 1.5px rgba(21, 16, 26, .22), 0 1px 2px rgba(74, 24, 48, .1);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: transform .15s ease-out, background-color .2s;
}
.retrait svg { width: 18px; height: 18px; stroke-width: 2.4; }
.retrait:active { transform: scale(.9); }
.retrait[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .retrait:hover { background: var(--rose-clair); } }
.ajout:disabled { background: #d9c8d0; color: #fff; box-shadow: none; cursor: not-allowed; }
.epuise .p-nom, .epuise .v-nom, .epuise .p-prix, .epuise .v-prix { color: var(--gris); }
.p-epuise { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #f3e3e9; color: #8a2a3f; font-size: .8125rem; font-weight: 500; vertical-align: 1px; }
.v-bas .retrait { width: 36px; height: 36px; margin-left: auto; }

/* Fenêtre « Choisissez : … » (parfum d'une canette, etc.) */
.choix-fen {
  margin: auto; padding: 0; border: 0; width: min(440px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto;
  border-radius: 28px; color: #fff; background: rgba(28, 20, 34, .92); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--ombre-sombre), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.choix-fen::backdrop { background: rgba(21, 16, 26, .45); }
.choix-fen[open] { animation: legal-in .3s var(--e-out); }
.choix-int { display: grid; gap: 14px; padding: 20px 20px 22px; }
.choix-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.choix-tete h2 { font-size: 1.5rem; color: #fff; }
.choix-sous { color: var(--gris-clair); font-size: .9375rem; }
.choix-liste { display: grid; }
.choix-l { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; border-top: 1px solid rgba(255, 255, 255, .08); }
.choix-l:first-child { border-top: 0; }
.choix-nom { font-weight: 500; font-size: 1.0625rem; }
.choix-nom em { font-style: normal; font-weight: 400; font-size: .875rem; color: var(--rose-clair); margin-left: 6px; }
.choix-l.epuise .choix-nom { color: var(--gris-clair); }
.l-pas button:disabled { opacity: .35; cursor: not-allowed; }
.sans-js { display: none; margin-top: 24px; }
html:not(.js) .sans-js { display: block; }
html:not(.js) .voyage video, html:not(.js) .ajout, html:not(.js) .pastille-cmd, html:not(.js) .v-nav, html:not(.js) #v-suite { display: none; }
html:not(.js) .p { grid-template-columns: 56px minmax(0, 1fr) auto; }

/* ---------- Nous trouver ---------- */
.venir { position: relative; padding: clamp(80px, 10vw, 140px) 0; background: var(--encre); color: #fff; overflow: hidden;
  background-image: radial-gradient(50% 60% at 100% 100%, rgba(244, 143, 177, .2), transparent 70%); }
.venir-grille { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 960px) { .venir-grille { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.venir h2 { font-size: clamp(2.25rem, 5vw, 4rem); max-width: 14ch; }
.adresse { margin-top: 24px; font-style: normal; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.4; }
.venir-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.horaires { margin-top: 24px; color: var(--gris-clair); max-width: 44ch; }
.liens-sociaux { display: grid; gap: 10px; }
.liens-sociaux li { display: grid; gap: 2px; padding: 18px 22px; border-radius: 22px; background: var(--prune); border: 1px solid rgba(255, 255, 255, .07); box-shadow: var(--ombre-sombre); min-width: 0; }
.ls-nom { color: var(--gris-clair); font-size: .9375rem; }
.liens-sociaux a { font-size: 1.25rem; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; color: var(--rose-clair); border-radius: 8px; }
.liens-sociaux a::after { content: ' →'; transition: margin .3s var(--e-out); }
@media (hover: hover) and (pointer: fine) { .liens-sociaux a:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* ---------- Pied ---------- */
.pied { position: relative; background: var(--papier); padding: clamp(56px, 8vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.pied-nom { position: relative; display: grid; place-items: center; padding-inline: 3vw; }
.pied-disque { position: absolute; width: min(34vw, 460px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffb7cc, var(--rose) 62%, #e77ca1); box-shadow: 0 30px 80px -30px rgba(200, 60, 120, .8); }
.pied-mot { position: relative; font-weight: 700; font-size: min(26vw, 340px); line-height: .9; letter-spacing: -0.035em; white-space: nowrap; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: clamp(32px, 5vw, 56px); padding-top: 20px; border-top: 1px solid rgba(21, 16, 26, .1); color: var(--gris); }
.pied-legal { display: flex; flex-wrap: wrap; gap: 6px; }
.pied-legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; color: var(--encre); font-weight: 500; background: rgba(21, 16, 26, .05); box-shadow: inset 0 0 0 1px rgba(21, 16, 26, .1); transition: background-color .2s; }
@media (hover: hover) and (pointer: fine) { .pied-legal a:hover { background: rgba(21, 16, 26, .1); } }

/* ---------- Tiroir de commande ---------- */
dialog { color: inherit; }
.tiroir {
  margin: 0; padding: 0; border: 0; max-width: none; max-height: none; overflow: visible;
  inset: 12px 12px 12px auto; width: min(460px, calc(100% - 24px)); height: auto;
  border-radius: 30px; color: #fff;
  background: rgba(28, 20, 34, .84); -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--ombre-sombre), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.tiroir::backdrop { background: rgba(21, 16, 26, .45); }
.tiroir[open] { animation: tiroir-in .42s var(--e-out); }
.tiroir.ferme { animation: tiroir-out .2s ease-in forwards; }
@keyframes tiroir-in { from { opacity: 0; transform: translateX(28px); } }
@keyframes tiroir-out { to { opacity: 0; transform: translateX(20px); } }
.tiroir-int { display: flex; flex-direction: column; height: 100%; padding: 22px; gap: 18px; }
.tiroir-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tiroir-tete h2 { font-size: 1.875rem; }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 4px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.modes legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.modes label { position: relative; min-width: 0; }
.modes input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.modes span { display: grid; place-items: center; min-height: 44px; padding: 0 6px; border-radius: 999px; font-weight: 500; font-size: .9375rem; text-align: center; transition: background-color .25s, color .25s; }
.modes input:checked + span { background: var(--rose); color: var(--encre); box-shadow: 0 6px 16px -8px rgba(244, 143, 177, .8); }
.modes input:focus-visible + span { outline: 3px solid var(--rose-clair); outline-offset: 2px; }
.cmd-corps { flex: 1 1 auto; min-height: 120px; overflow-y: auto; overscroll-behavior: contain; margin-inline: -6px; padding-inline: 6px; }
.cmd-vide { display: grid; justify-items: start; gap: 8px; padding: 18px 2px; color: var(--gris-clair); }
.cmd-vide-t { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: #fff; }
.cmd-vide .btn { margin-top: 8px; }
.cmd-vide[hidden], .lignes[hidden] { display: none; }
.lignes { display: grid; }
.ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nom total" "pas pas"; gap: 8px 12px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.ligne:first-child { border-top: 0; }
.l-nom { grid-area: nom; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.l-nom small { display: block; color: var(--gris-clair); font-weight: 400; font-size: .875rem; }
.l-total { grid-area: total; font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.l-pas { grid-area: pas; display: inline-flex; align-items: center; gap: 4px; justify-self: start; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.l-pas button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; touch-action: manipulation; transition: background-color .2s, transform .15s ease-out; }
.l-pas button svg { width: 18px; height: 18px; }
.l-pas button:active { transform: scale(.9); }
.l-pas output { min-width: 32px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .l-pas button:hover { background: rgba(255, 255, 255, .2); } }
.cmd-champs { display: grid; gap: 12px; }
.cmd-champs[hidden], .champ[hidden] { display: none; }
.champ { display: grid; gap: 6px; font-weight: 500; font-size: .9375rem; }
.champ em { font-style: normal; color: var(--gris-clair); font-weight: 400; }
.champ input, .champ textarea { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; font-size: 1rem; resize: vertical; }
.champ input::placeholder, .champ textarea::placeholder { color: #a48f9a; }
.champ input:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--rose-clair); outline-offset: 1px; border-color: transparent; }
.cmd-pied { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.cmd-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.125rem; }
.cmd-total strong { font-size: 1.625rem; font-variant-numeric: tabular-nums; }
.cmd-sec { display: flex; justify-content: center; gap: 4px; color: var(--gris-clair); }
.cmd-note { color: var(--gris-clair); font-size: .875rem; text-align: center; }
.cmd-statut { min-height: 1.4em; text-align: center; font-weight: 500; color: var(--rose-clair); font-size: .9375rem; }
.cmd-statut:empty { min-height: 0; }
.cmd-copie { width: 100%; border-radius: 14px; background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .16); padding: 12px; font-size: .875rem; }
.cmd-copie[hidden] { display: none; }

/* ---------- Documents légaux ---------- */
.legal { margin: auto; padding: 0; border: 0; width: min(860px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: hidden;
  border-radius: 30px; color: #f3e7ea; background: rgba(28, 20, 34, .92); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--ombre-sombre); }
.legal::backdrop { background: rgba(21, 16, 26, .55); }
.legal[open] { display: flex; animation: legal-in .4s var(--e-out); }
@keyframes legal-in { from { opacity: 0; transform: translateY(16px); } }
.legal-int { width: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 0 clamp(20px, 4vw, 52px) clamp(28px, 4vw, 52px); }
.legal-barre { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(18px, 3vw, 32px) 0 14px; background: linear-gradient(rgba(28, 20, 34, 1) 70%, rgba(28, 20, 34, 0)); }
.legal h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); color: #fff; }
.legal h3 { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); color: #fff; margin: 1.8em 0 .5em; }
.legal p, .legal li { max-width: 68ch; line-height: 1.6; overflow-wrap: anywhere; }
.legal p { margin-bottom: .9em; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .35em; }
.legal .maj { color: var(--gris-clair); font-size: .875rem; }
.legal .a-completer { -webkit-box-decoration-break: clone; box-decoration-break: clone; background: var(--rose); color: var(--encre); padding: 0 .35em; border-radius: 6px; font-weight: 500; }
html:not(.js) .legal { display: block; position: static; width: auto; max-height: none; margin: 0; border-radius: 0; }
html:not(.js) .legal .fermer { display: none; }

/* ---------- Téléphone (portrait) ----------
   Un téléphone en paysage (large mais bas) garde la mise en page PC, compactée plus bas (« Écran bas »). */
@media (max-width: 560px), (max-width: 760px) and (min-height: 561px) {
  :root { --barre-h: 56px; }
  .barre { width: calc(100% - 20px); padding-left: 8px; }
  .barre-nav { display: none; }
  .pastille-cmd, .barre-nav + .pastille-cmd { margin-left: auto; padding-left: 14px; }
  .barre { gap: 4px; }
  .son { margin-left: auto; width: 38px; height: 38px; }
  .son svg { width: 20px; height: 20px; }
  .son + audio + .pastille-cmd { margin-left: 2px; padding-left: 12px; gap: 8px; }
  .pastille-total { padding-right: 4px; }
  .marque { font-size: .9375rem; gap: 8px; padding-right: 0; }
  .marque-nom { letter-spacing: -0.02em; }
  @media (max-width: 374px) {
    .sceau { width: 34px; height: 34px; font-size: 1.125rem; }
    .marque { font-size: .875rem; gap: 6px; }
    .son { width: 34px; }
    .pastille-cmd { gap: 6px; }
    .pastille-cmd svg { display: none; }
  }
  .pastille-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sceau { width: 38px; height: 38px; font-size: 1.25rem; }
  .marque { font-size: 1rem; }

  .panneau { left: 10px; right: 10px; width: auto; top: auto; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 52px); transform: none;
    max-height: calc(100% - var(--sous-barre) - 80px); padding: 20px 18px 18px; border-radius: 28px; }
  .p-titre { font-size: clamp(1.875rem, 8.6vw, 2.5rem); }
  .p-phrase { margin-top: 8px; font-size: 1rem; }
  .faits { margin-top: 14px; }
  .vitrine { grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 14px; }
  .vitrine li { flex-direction: row; align-items: center; min-height: 0; padding: 6px 6px 6px 14px; border-radius: 18px; gap: 10px; }
  .v-nom { flex: 1 1 auto; -webkit-line-clamp: 2; padding-right: 0; font-size: .9375rem; }
  .v-bas { margin-top: 0; gap: 10px; }
  .vitrine .qte { position: static; order: 0; }
  .v-haut { flex: 1 1 auto; align-items: center; }
  .v-img { width: 38px; height: 38px; border-radius: 11px; }
  .vitrine li .ajout { width: 40px; height: 40px; }
  .p-actions { margin-top: 16px; gap: 8px; }
  .p-actions .btn { flex: 1 1 auto; min-height: 48px; padding-inline: 18px; }
  .p-actions .btn--fleche { padding-right: 6px; }
  .p-actions .btn--lien { flex: 0 0 auto; }
  @media (prefers-reduced-motion: no-preference) {
    .voyage[data-texte="pret"] .panneau { transform: translateY(14px) scale(.985); }
    .voyage[data-texte="sorti"] .panneau { transform: translateY(-6px); }
  }
  .v-nav { bottom: max(10px, env(safe-area-inset-bottom)); }
  .v-pts button { width: 30px; height: 36px; }

  .onglets { border-radius: 24px; }
  .onglet { padding: 0 14px; min-height: 40px; }
  .p { grid-template-columns: 52px minmax(0, 1fr) auto auto 44px; grid-template-areas: "img txt txt txt btn" "img prix moins qte btn"; row-gap: 4px; column-gap: 8px; }
  .p > .p-img { grid-area: img; width: 52px; height: 52px; border-radius: 14px; align-self: start; margin-top: 2px; }
  .p > .p-txt { grid-area: txt; } .p > .p-prix { grid-area: prix; } .p > .retrait { grid-area: moins; width: 36px; height: 36px; }
  .p > .qte { grid-area: qte; justify-self: start; } .p > .ajout { grid-area: btn; }
  .v-bas .retrait { width: 34px; height: 34px; }
  html:not(.js) .p { grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "img txt" "img prix"; }

  .tiroir { inset: auto 0 0 0; width: 100%; max-height: 92dvh; height: auto; border-radius: 28px 28px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .tiroir-int { padding: 18px 16px 0; gap: 14px; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; }
  .cmd-corps { flex: none; overflow: visible; min-height: 0; margin-inline: 0; padding-inline: 0; }
  .cmd-pied { position: sticky; bottom: 0; margin: 0 -16px; padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
    background: rgba(28, 20, 34, .97); box-shadow: 0 -16px 24px -12px rgba(0, 0, 0, .5); }
  .tiroir { overflow: hidden; }
  @keyframes tiroir-in { from { opacity: 0; transform: translateY(40px); } }
  @keyframes tiroir-out { to { opacity: 0; transform: translateY(30px); } }
  .pied-bas { justify-content: center; text-align: center; }
}
@media (max-width: 560px) and (max-height: 700px), (max-width: 760px) and (min-height: 561px) and (max-height: 700px) {
  .p-phrase { display: none; }
  .vitrine li:nth-child(3) { display: none; }
}
@media (min-width: 761px) and (max-height: 760px) {
  .vitrine li { min-height: 116px; }
  .p-actions { margin-top: 18px; }
}

/* ---------- Plus grand qu'un téléphone : tout est centré, blocs et textes plus compacts ----------
   (même condition que l'inverse du bloc « Téléphone » : au-delà de 760 px, ou large mais bas) */
@media (min-width: 761px), (min-width: 561px) and (max-height: 560px) {
  :root { --barre-h: 56px; }
  .barre { width: min(1080px, calc(100% - 24px)); }
  .sceau { width: 38px; height: 38px; font-size: 1.25rem; }
  .marque { font-size: 1rem; }
  .barre-nav a { font-size: .9375rem; padding: 0 14px; }
  .pastille-cmd { min-height: 42px; font-size: .9375rem; }

  /* Voyage : le panneau au centre de l'image, texte centré. */
  .panneau { left: 50%; width: min(560px, calc(100% - 48px)); padding: clamp(22px, 2.2vw, 30px); border-radius: 28px; transform: translate(-50%, -50%); text-align: center; }
  .p-titre { font-size: clamp(1.875rem, 2.9vw, 2.625rem); }
  .p-phrase { margin-inline: auto; max-width: 38ch; font-size: 1.0625rem; }
  .faits, .p-actions { justify-content: center; }
  .faits li { min-height: 32px; font-size: .875rem; }
  .vitrine { gap: 8px; margin-top: 18px; text-align: left; }
  .vitrine li { min-height: 108px; padding: 12px 10px 10px 14px; border-radius: 18px; }
  .v-nom { font-size: .9375rem; }
  .v-prix { font-size: .9375rem; }
  .vitrine li .ajout { width: 38px; height: 38px; }
  .v-bas .retrait { width: 32px; height: 32px; }
  .p-actions { margin-top: 20px; }
  .p-actions .btn { min-height: 46px; font-size: .9375rem; }
  @media (prefers-reduced-motion: no-preference) {
    .voyage[data-texte="pret"] .panneau { transform: translate(-50%, calc(-50% + 14px)) scale(.985); }
    .voyage[data-texte="sorti"] .panneau { transform: translate(-50%, calc(-50% - 8px)); }
  }

  /* Contenu : une colonne centrée de 1080 px au plus. */
  .enveloppe { width: min(1080px, 100% - 2 * clamp(16px, 4vw, 48px)); }

  .carte { padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
  .carte-tete { justify-items: center; text-align: center; gap: 10px; }
  .carte-tete h2 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
  .carte-chapo { font-size: 1rem; margin-inline: auto; }
  .onglets { width: min(1080px, calc(100% - 24px)); margin-top: clamp(22px, 3vw, 32px); }
  .onglets-int { justify-content: center; }
  .onglet { min-height: 40px; padding: 0 14px; font-size: .9375rem; }
  .cats { gap: 16px; }
  .cat { padding: clamp(18px, 2.4vw, 30px) clamp(20px, 2.8vw, 34px); border-radius: 24px; }
  .cat-tete { justify-content: center; gap: 10px; padding-bottom: 8px; }
  .cat-tete h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
  .cat-tete p { font-size: .9375rem; }
  .cat-tete p::before { content: '· '; }
  .plats-liste { column-gap: clamp(20px, 3vw, 40px); }
  .p { min-height: 60px; padding: 10px 0; }
  .p-nom { font-size: .9688rem; }
  .p-desc { font-size: .8438rem; }
  .p-prix { font-size: .9375rem; }
  .p > .ajout { width: 40px; height: 40px; }
  .p > .retrait { width: 34px; height: 34px; }

  .venir { padding: clamp(60px, 8vw, 104px) 0; text-align: center; }
  .venir-grille { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(28px, 4vw, 44px); }
  .venir h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); max-width: 20ch; margin-inline: auto; }
  .adresse { margin-top: 18px; font-size: 1.125rem; }
  .venir-actions { justify-content: center; margin-top: 22px; }
  .horaires { margin: 18px auto 0; font-size: .9375rem; }
  .liens-sociaux { width: 100%; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .liens-sociaux li { padding: 14px 16px; border-radius: 18px; }
  .liens-sociaux a { font-size: 1.0625rem; }

  .pied { padding-top: clamp(48px, 6vw, 80px); }
  .pied-disque { width: clamp(96px, 12.5vw, 180px); }
  .pied-mot { font-size: clamp(64px, 9vw, 128px); }
  .pied-bas { justify-content: center; text-align: center; font-size: .9375rem; }
  .pied-legal { justify-content: center; }
  .pied-legal a { min-height: 40px; padding: 0 14px; }
}

/* ---------- Écran bas : téléphone en paysage, petite fenêtre ---------- */
@media (min-width: 561px) and (max-height: 560px) {
  :root { --barre-h: 50px; --barre-haut: max(8px, env(safe-area-inset-top)); }
  .barre { width: calc(100% - 16px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
  .sceau { width: 36px; height: 36px; font-size: 1.125rem; }
  .barre-nav a { min-height: 40px; padding: 0 12px; }
  .pastille-cmd { min-height: 40px; }
  .panneau { top: calc(50% + (var(--sous-barre) - 44px) / 2); width: min(580px, calc(100% - 32px)); padding: 16px 20px; border-radius: 24px; }
  .vitrine li { min-height: 0; }
  .p-titre { font-size: clamp(1.5rem, 3.6vw, 2rem); }
  .p-phrase { display: none; }
  .faits { margin-top: 10px; gap: 6px; }
  .faits li { min-height: 30px; padding: 0 12px; font-size: .875rem; }
  .vitrine { gap: 8px; margin-top: 12px; }
  .vitrine li { min-height: 0; padding: 10px 10px 10px 12px; gap: 6px; border-radius: 16px; }
  .v-nom { font-size: .9375rem; -webkit-line-clamp: 2; }
  .v-img { width: 32px; height: 32px; border-radius: 10px; }
  .vitrine li .ajout { width: 38px; height: 38px; }
  .p-actions { margin-top: 12px; }
  .p-actions .btn { min-height: 42px; }
  .v-nav { bottom: max(6px, env(safe-area-inset-bottom)); }
  .v-pts button { height: 32px; }
}
@media (min-width: 561px) and (max-height: 400px) {
  .faits { display: none; }
}

/* ---------- Tablette en portrait : le panneau, centré, se pose en bas ; la vidéo garde le haut ---------- */
@media (min-width: 761px) and (orientation: portrait) and (min-height: 761px) {
  .panneau { top: auto; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 64px); transform: translateX(-50%); }
  @media (prefers-reduced-motion: no-preference) {
    .voyage[data-texte="pret"] .panneau { transform: translateX(-50%) translateY(14px) scale(.985); }
    .voyage[data-texte="sorti"] .panneau { transform: translateX(-50%) translateY(-6px); }
  }
}
/* Très grands écrans : la colonne reste à 1080 px, le texte ne grossit pas. */

/* ---------- Préférences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v-petales { display: none; }
  .tiroir[open], .tiroir.ferme, .legal[open], .choix-fen[open], .pastille-cmd.pouls { animation: none; }
  .btn, .ajout, .btn--fleche b, .v-pts i, .onglet { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .verre, .barre, .onglets { background: #fde8ef; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tiroir, .legal, .choix-fen { background: #1c1422; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .verre, .barre, .onglets { background: rgba(253, 232, 239, .94); }
  .tiroir, .legal, .choix-fen { background: #1c1422; }
}
@media (forced-colors: active) {
  .btn, .ajout, .pastille-cmd, .onglet, .verre { border: 1px solid CanvasText; }
}
