/* Melty's — modèle 1 : application web sombre, orange du logo, produit qui flotte (inspiré du modèle « Soda ») */

:root {
  --noir: #0d0c09;
  --encre: #16120e;
  --carte: #1a1511;
  --orange: #f07a1c;
  --orange-clair: #f6923d;
  --orange-fonce: #d9600d;
  --blanc: #fff;
  --attenue: rgba(255, 255, 255, 0.68);
  --verre: rgba(255, 255, 255, 0.06);
  --verre-bord: rgba(255, 255, 255, 0.14);
  --f-titre: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --f-texte: 'Inter', system-ui, -apple-system, sans-serif;
  --f-etiq: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --gouttiere: clamp(16px, 4vw, 56px);
  --section: clamp(40px, 5vw, 76px);
  --ressort: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.panier-ouvert { overflow: hidden; }

body {
  background-color: var(--noir);
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1.5px);
  background-size: 22px 22px;
  color: var(--blanc);
  font-family: var(--f-texte);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
.orange { color: var(--orange); }
.ligne { display: block; overflow: hidden; padding-bottom: 0.04em; }
.ligne > span { display: block; }
:focus-visible { outline: 2px solid var(--orange-clair); outline-offset: 3px; }

/* ---------- Boutons communs ---------- */
.bouton-principal {
  display: inline-flex; align-items: center; gap: 1.2rem;
  background: rgba(0, 0, 0, 0.5); color: #fff;
  padding: 0.42rem 0.42rem 0.42rem 1.5rem; border-radius: 100px;
  font-weight: 700; width: fit-content;
  transition: background 0.3s ease, transform 0.3s ease;
}
.bouton-principal:hover { background: rgba(0, 0, 0, 0.72); transform: translateY(-3px); }
.bouton-principal__plus {
  background: var(--orange); color: var(--noir);
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 900; line-height: 1; padding-bottom: 2px;
  transition: transform 0.4s var(--ressort);
}
.bouton-principal:hover .bouton-principal__plus { transform: rotate(90deg); }

.bouton-noir, .bouton-orange, .bouton-contour {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 100px;
  font-weight: 700; font-size: 0.95rem; white-space: nowrap;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.bouton-noir { background: var(--noir); color: #fff; }
.bouton-noir:hover { background: #000; transform: translateY(-2px); }
.bouton-orange { background: var(--orange); color: var(--noir); }
.bouton-orange:hover { background: var(--orange-clair); transform: translateY(-2px); }
.bouton-contour { border: 1.5px solid rgba(255, 255, 255, 0.3); color: #fff; }
.bouton-contour:hover { border-color: var(--orange); color: var(--orange); }

.puce-sombre {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 100px;
  background: rgba(13, 12, 9, 0.85); color: #fff;
  font-family: var(--f-etiq); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.puce-blanche {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 100px;
  background: #fff; color: var(--noir);
  font-family: var(--f-etiq); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.prix-pilule {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 100px;
  background: var(--noir); color: #fff;
  font-family: var(--f-titre); font-size: 1.15rem; letter-spacing: 0.02em; white-space: nowrap;
}
.pastille {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--orange); color: var(--noir);
  font-size: 0.74rem; font-weight: 700; display: grid; place-items: center;
  transition: background 0.3s, color 0.3s;
}
.pastille.est-vide { background: rgba(255, 255, 255, 0.14); color: #fff; }
.pastille--claire, .pastille--claire.est-vide { background: var(--noir); color: #fff; }

.quantite {
  display: inline-flex; align-items: center; gap: 4px; height: 52px; padding: 6px;
  border-radius: 100px; background: rgba(13, 12, 9, 0.85); color: #fff;
}
.quantite button {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); font-size: 1.25rem; font-weight: 700;
  display: grid; place-items: center; transition: background 0.25s;
}
.quantite button:hover { background: var(--orange); color: var(--noir); }
.quantite output { min-width: 2.2ch; text-align: center; font-weight: 700; }
.quantite--petite { height: 40px; padding: 4px; }
.quantite--petite button { width: 32px; height: 32px; font-size: 1.05rem; }

/* ---------- Entête ---------- */
.entete {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px var(--gouttiere);
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.entete.est-plein {
  background: rgba(13, 12, 9, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  padding-top: 10px; padding-bottom: 10px;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.entete__logo img { height: 48px; width: auto; transition: height 0.4s ease; }
.entete.est-plein .entete__logo img { height: 40px; }

.nav {
  position: relative; display: flex; gap: 2px; padding: 5px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.nav__curseur {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 100px;
  background: var(--orange);
  transition: left 0.5s cubic-bezier(0.6, 0.1, 0.2, 1), width 0.5s cubic-bezier(0.6, 0.1, 0.2, 1);
}
.nav__lien {
  position: relative; z-index: 1;
  font-size: 0.86rem; font-weight: 600; color: var(--attenue);
  padding: 10px 18px; border-radius: 100px; transition: color 0.3s ease;
}
.nav__lien:hover { color: #fff; }
.nav__lien.est-actif, .nav__lien.est-actif:hover { color: var(--noir); }

.bouton-panier {
  display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px 0 16px;
  border-radius: 100px; background: rgba(0, 0, 0, 0.5);
  font-size: 0.86rem; font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}
.bouton-panier:hover { background: rgba(0, 0, 0, 0.75); transform: translateY(-2px); }

/* ---------- Accueil (héros) ---------- */
.hero {
  --bg-inner: #d85f1a; --bg-mid: #4d1c07; --bg-outer: #0e0805;
  position: relative; height: 100vh; height: 100svh; min-height: 660px;
  padding: 84px var(--gouttiere) 0;
  background:
    linear-gradient(to bottom, transparent 80%, var(--noir)),
    radial-gradient(circle at 50% 52%, var(--bg-inner) 0%, var(--bg-mid) 50%, var(--bg-outer) 100%);
  overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 20%, #000 75%);
  mask-image: radial-gradient(circle at 50% 50%, transparent 20%, #000 75%);
}
.hero__contenu {
  position: relative; height: 100%;
  display: flex; justify-content: space-between; align-items: stretch;
}

/* vapeur et braises */
.vapeur { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bouffee {
  position: absolute; bottom: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 238, 220, 0.5) 0%, rgba(255, 238, 220, 0) 68%);
  filter: blur(10px); opacity: 0;
  animation: monte var(--d, 8s) linear forwards;
}
@keyframes monte {
  0% { transform: translate(0, 0) scale(0.5); opacity: 0; }
  15% { opacity: var(--o, 0.3); }
  75% { opacity: calc(var(--o, 0.3) * 0.6); }
  100% { transform: translate(var(--dx, 0), -115vh) scale(1.9); opacity: 0; }
}
.braise {
  position: absolute; bottom: -10px; border-radius: 50%;
  background: #ffc58a; box-shadow: 0 0 6px 2px rgba(255, 130, 30, 0.75);
  opacity: 0; animation: braise var(--d, 7s) linear forwards;
}
@keyframes braise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 0.9; }
  50% { transform: translate(calc(var(--dx, 0px) * -0.6), -55vh); }
  85% { opacity: 0.7; }
  100% { transform: translate(var(--dx, 0px), -110vh); opacity: 0; }
}

/* colonne gauche */
.hero__gauche {
  position: relative; z-index: 100;
  display: flex; flex-direction: column; gap: 1.5rem;
  height: 100%; max-width: 34rem; padding: 2.6rem 0 4.6rem;
}
.surtitre {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--f-etiq); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.32em; text-transform: uppercase;
  animation: apparait 0.9s ease-out 0.2s both;
}
.surtitre i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.hero__titre, .hero__cote {
  font-family: var(--f-titre); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3rem, 5.3vw, 6.2rem); line-height: 0.95; letter-spacing: 0.005em; white-space: nowrap;
}
.hero__titre .ligne > span, .hero__cote .ligne > span { animation: leve 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero__titre .ligne:nth-child(1) > span { animation-delay: 0.25s; }
.hero__titre .ligne:nth-child(2) > span { animation-delay: 0.38s; }
.hero__cote .ligne:nth-child(1) > span { animation-delay: 0.7s; }
.hero__cote .ligne:nth-child(2) > span { animation-delay: 0.82s; }
@keyframes leve { from { transform: translateY(108%); } to { transform: none; } }
@keyframes apparait { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__texte { color: var(--attenue); font-size: 1.08rem; max-width: 25rem; animation: apparait 0.9s ease-out 0.55s both; }
.hero__actions { animation: apparait 0.9s ease-out 0.7s both; }
.badge-nouveau {
  display: flex; align-items: center; gap: 1rem; margin-top: auto; width: fit-content;
  animation: apparait 0.9s ease-out 0.9s both;
}
.badge-nouveau__icone {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--verre); border: 1px solid var(--verre-bord); color: var(--orange);
  transition: transform 0.5s var(--ressort), background 0.3s;
}
.badge-nouveau:hover .badge-nouveau__icone { transform: rotate(-12deg) scale(1.08); background: rgba(240, 122, 28, 0.16); }
.badge-nouveau__texte { display: flex; flex-direction: column; line-height: 1.25; }
.badge-nouveau__texte span { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--attenue); }
.badge-nouveau__texte strong { font-size: 0.95rem; }

/* produit central */
.hero__centre {
  position: absolute; inset: 0; z-index: 1;
  display: flex; justify-content: center; align-items: center;
  pointer-events: none;
  animation: fondu 1.5s ease-out 0.3s both;
}
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
.hero__mot {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -54%);
  font-family: var(--f-titre); text-transform: uppercase; line-height: 1; white-space: nowrap;
  font-size: clamp(8rem, 23vw, 26rem); letter-spacing: 0.01em;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.13);
}
.produit {
  --l: min(50vw, 760px);
  position: relative; width: var(--l); perspective: 1100px;
  animation: flotte 6s ease-in-out infinite;
  transition: width 0.01s;
}
.hero[data-format="wrap"] .produit { --l: min(34vw, 520px); }
.hero[data-format="tacos"] .produit { --l: min(40vw, 600px); }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
.produit__pivot { transform-style: preserve-3d; will-change: transform; }
.produit__img { width: 100%; height: auto; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, 0.45)); will-change: filter; }
.produit__ombre {
  position: absolute; left: 14%; right: 14%; bottom: -16%; height: 22%; z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent);
  animation: ombre 6s ease-in-out infinite;
}
@keyframes ombre { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: translateY(20px) scale(0.86); opacity: 0.7; } }

/* miettes (snacks qui flottent) */
.miettes, .miettes-fond { position: absolute; inset: 0; pointer-events: none; transition: transform 0.1s ease-out; }
.miettes-fond { z-index: -1; }
.miettes--fond { z-index: 0; }
.miettes--devant { z-index: 110; }
.miette, .miette-loin {
  position: absolute; width: var(--t, 110px); height: auto; user-select: none;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.4));
  will-change: transform;
}
.miette { opacity: var(--op, 1); animation: surgit 0.9s var(--ressort) both; animation-delay: var(--del, 0.6s); }
@keyframes surgit { from { opacity: 0; scale: 0.2; } to { opacity: var(--op, 1); scale: 1; } }
.m1 { top: 9%; left: 36%; --t: 140px; --del: 0.6s; }
.m2 { top: 66%; left: 40%; --t: 84px; --del: 0.7s; }
.m3 { top: 13%; left: 57%; --t: 140px; --del: 0.8s; }
.m4 { top: 4%; left: 49%; --t: 84px; --del: 0.9s; }
.m5 { top: 76%; left: 22%; --t: 82px; --del: 1s; }
.m6 { top: 62%; left: 70%; --t: 140px; --del: 1.1s; }
.m7 { top: 16%; left: 39%; --t: 62px; --op: 0.7; --del: 0.8s; filter: blur(1.2px) drop-shadow(0 10px 14px rgba(0, 0, 0, 0.3)); }
.m8 { top: 54%; left: 57%; --t: 58px; --op: 0.6; --del: 0.9s; filter: blur(1.2px) drop-shadow(0 10px 14px rgba(0, 0, 0, 0.3)); }
.m9 { top: 82%; left: 46%; --t: 74px; --op: 0.65; --del: 1s; filter: blur(1.2px) drop-shadow(0 10px 14px rgba(0, 0, 0, 0.3)); }
.miette-loin { filter: blur(3px); opacity: 0.5; }
.ml1 { top: 11%; left: 15%; --t: 46px; }
.ml2 { top: 40%; left: 82%; --t: 96px; opacity: 0.3; }
.ml3 { top: 72%; left: 77%; --t: 58px; }
.ml4 { top: 86%; left: 18%; --t: 84px; opacity: 0.28; }

/* colonne droite : choix du format */
.hero__droite {
  position: relative; z-index: 100;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end;
  text-align: right; height: 100%; padding: 2.6rem 0 4.6rem; width: 25rem;
  pointer-events: none;
}
.formats { display: flex; flex-direction: column; align-items: flex-end; gap: 1.1rem; pointer-events: auto; }
.formats__titre {
  font-family: var(--f-etiq); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--attenue);
  animation: apparait 0.9s ease-out 0.5s both;
}
.formats__cartes { display: flex; gap: 0.8rem; padding-top: 3.6rem; }
.carte-format {
  position: relative; width: 118px;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 4.2rem 0.7rem 0.9rem; border-radius: 26px;
  background: var(--verre); border: 1px solid var(--verre-bord);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  text-align: center;
  transition: background 0.4s var(--ressort), border-color 0.4s, transform 0.4s var(--ressort);
  animation: apparait 0.8s var(--ressort) both;
}
.carte-format:nth-child(1) { animation-delay: 0.55s; }
.carte-format:nth-child(2) { animation-delay: 0.65s; }
.carte-format:nth-child(3) { animation-delay: 0.75s; }
.carte-format:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }
.carte-format.est-active { border-color: var(--orange); background: rgba(240, 122, 28, 0.16); }
.carte-format img {
  width: 140px; height: 84px; object-fit: contain; margin-top: -7.6rem;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.carte-format:hover img, .carte-format.est-active img { transform: translateY(-14px) rotate(-10deg) scale(1.1); }
.carte-format__infos { display: flex; flex-direction: column; width: 100%; }
.carte-format__infos span:first-child { font-family: var(--f-titre); text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.03em; }
.carte-format__infos span:last-child { font-size: 0.74rem; color: var(--attenue); }
.formats__fleches { display: flex; gap: 0.8rem; animation: apparait 0.9s ease-out 0.85s both; }
.fleche {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--verre); border: 1px solid var(--verre-bord);
  display: grid; place-items: center; transition: background 0.3s, transform 0.3s;
}
.fleche:hover { background: rgba(255, 255, 255, 0.14); transform: scale(1.06); }

.hero__descendre {
  position: absolute; left: 50%; bottom: 52px; z-index: 120; translate: -50% 0;
  width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex; justify-content: center; padding-top: 7px;
}
.hero__descendre span { width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: molette 1.8s ease-in-out infinite; }
@keyframes molette { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Bandeau ---------- */
.bandeau {
  position: relative; z-index: 5;
  width: 104vw; margin: -34px 0 0 -2vw; padding: 14px 0;
  background: var(--orange); color: var(--noir);
  transform: rotate(-2deg); overflow: hidden;
  box-shadow: 0 18px 50px rgba(240, 122, 28, 0.25);
}
.bandeau__piste {
  display: flex; align-items: center; gap: 28px; width: max-content; will-change: transform;
  font-family: var(--f-titre); text-transform: uppercase; font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.1;
}
.bandeau__piste i { width: 12px; height: 12px; border-radius: 50%; background: var(--noir); }

/* ---------- Sections ---------- */
.section { position: relative; max-width: 1320px; margin: 0 auto; padding: var(--section) var(--gouttiere); }
.section__entete { display: grid; gap: 0.7rem; margin-bottom: clamp(26px, 4vw, 48px); }
.etiquette {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--f-etiq); font-weight: 700; font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange);
}
.etiquette > span { color: #fff; opacity: 0.45; }
.section__titre {
  font-family: var(--f-titre); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 0.95;
}
.section__texte { color: var(--attenue); max-width: 36rem; font-size: 1.05rem; }
.section__texte strong { color: #fff; }

/* ---------- Composer ---------- */
.composer__grille { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(18px, 3vw, 36px); align-items: stretch; }
.scene {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 580px; padding: 24px; border-radius: 34px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(circle at 50% 42%, var(--orange-clair) 0%, var(--orange) 46%, var(--orange-fonce) 100%);
  color: var(--noir);
  box-shadow: 0 30px 80px rgba(240, 122, 28, 0.16);
}
.scene::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.2px, transparent 1.8px);
  background-size: 26px 26px; opacity: 0.6;
}
.scene__haut { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.scene__mot {
  position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%); z-index: -1;
  font-family: var(--f-titre); text-transform: uppercase; white-space: nowrap; line-height: 1;
  font-size: clamp(5rem, 9vw, 8.6rem); color: rgba(255, 255, 255, 0.2);
}
.scene__visuel { position: relative; flex: 1; display: grid; place-items: center; min-height: 240px; }
.scene__flotte { width: 100%; display: grid; place-items: center; animation: flotte 5s ease-in-out infinite; }
.scene__img {
  width: 92%; max-height: 300px; object-fit: contain;
  filter: drop-shadow(0 30px 28px rgba(80, 25, 0, 0.45));
  transform: rotate(-7deg);
}
.scene__img[data-format="wrap"] { width: 66%; }
.scene__img[data-format="tacos"] { width: 78%; }
.scene__ombre {
  position: absolute; left: 22%; right: 22%; bottom: 4%; height: 24px;
  background: radial-gradient(closest-side, rgba(90, 30, 0, 0.45), transparent);
  animation: ombre 5s ease-in-out infinite;
}
.scene__bas { position: relative; z-index: 2; display: grid; gap: 16px; }
.scene__nom {
  font-family: var(--f-titre); text-transform: uppercase; line-height: 1;
  font-size: clamp(2.4rem, 4.6vw, 4.1rem); display: flex; flex-wrap: wrap; column-gap: 0.25em;
}
.scene__format, .scene__recette { display: inline-block; }
.scene__recette { color: #fff; }
.scene__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scene__ajouter { flex: 1; min-width: 220px; }

.etapes { display: flex; flex-direction: column; gap: 18px; }
.etape { background: var(--carte); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 30px; padding: 24px; }
.etape__titre { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; margin-bottom: 18px; }
.etape__titre strong { font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; line-height: 1; color: var(--orange); }
.etape__num {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #fff; color: var(--noir);
  font-family: var(--f-titre); font-size: 1.2rem;
}
.etape__aide {
  margin: -8px 0 16px; font-family: var(--f-etiq); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--attenue);
}
.choix-formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.option-format {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.04); border: 1.5px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ressort);
}
.option-format:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.3); }
.option-format img { width: 100%; height: 70px; object-fit: contain; transition: transform 0.5s var(--ressort); filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.4)); }
.option-format:hover img, .option-format.est-actif img { transform: scale(1.1) rotate(-6deg); }
.option-format__nom { font-family: var(--f-titre); text-transform: uppercase; font-size: 1.3rem; line-height: 1.1; }
.option-format__prix { font-size: 0.78rem; color: var(--attenue); }
.option-format.est-actif { border-color: var(--orange); background: rgba(240, 122, 28, 0.13); }
.option-format.est-actif::after {
  content: '✓'; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange); color: var(--noir); font-size: 0.75rem; font-weight: 800; display: grid; place-items: center;
}
.choix-recettes { display: flex; flex-wrap: wrap; gap: 10px; }
.option-recette {
  position: relative; height: 48px; padding: 0 18px; border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  font-family: var(--f-titre); text-transform: uppercase; font-size: 1.12rem; letter-spacing: 0.02em;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.4s var(--ressort);
}
.option-recette:hover { border-color: var(--orange); transform: translateY(-2px); }
.option-recette.est-actif { background: var(--orange); border-color: var(--orange); color: var(--noir); }
.option-recette__nouveau {
  position: absolute; top: -9px; right: -6px; height: 20px; padding: 0 8px; border-radius: 10px;
  background: #fff; color: var(--noir); display: grid; place-items: center;
  font-family: var(--f-etiq); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em;
}

/* ---------- Box ---------- */
.box__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.2vw, 26px); }
.carte-box {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 14px;
  padding: 18px 18px 20px; border-radius: 32px; color: var(--noir);
  background: linear-gradient(180deg, var(--orange-clair) 0%, var(--orange) 42%, var(--orange-fonce) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.carte-box::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.24) 1.2px, transparent 1.8px); background-size: 24px 24px; opacity: 0.5;
}
.carte-box__haut { display: flex; justify-content: space-between; align-items: center; }
.carte-box__photo {
  width: 76%; aspect-ratio: 1; margin: 4px auto 0; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--noir); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35), 0 24px 40px rgba(80, 25, 0, 0.4);
  background: var(--noir);
}
.carte-box__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.carte-box__photo img[src*="box-rond"] { transform: scale(1.14); }
.carte-box:hover .carte-box__photo img { transform: scale(1.12) rotate(-4deg); }
.carte-box:hover .carte-box__photo img[src*="box-rond"] { transform: scale(1.26) rotate(-4deg); }
.carte-box__nom { font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 2.8vw, 2.6rem); line-height: 1; margin-top: 4px; }
.carte-box__contenu { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; align-content: flex-start; }
.carte-box__contenu li {
  height: 30px; padding: 0 12px; border-radius: 100px; display: inline-flex; align-items: center;
  background: rgba(13, 12, 9, 0.12); font-weight: 600; font-size: 0.86rem;
}
.carte-box__ajouter { width: 100%; }
.carte-box__ajouter span { font-size: 1.3rem; line-height: 1; }

/* ---------- Nouveauté ---------- */
.nouveau__carte {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 24px;
  min-height: 440px; padding: clamp(28px, 5vw, 64px); border-radius: 38px;
  background: radial-gradient(circle at 74% 55%, rgba(240, 122, 28, 0.42), transparent 58%), var(--encre);
  border: 1.5px solid rgba(240, 122, 28, 0.45);
}
.nouveau__texte { display: grid; gap: 18px; justify-items: start; position: relative; z-index: 2; }
.nouveau__titre { font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; font-size: clamp(3.4rem, 8vw, 7.4rem); line-height: 0.9; color: var(--orange); }
.nouveau__texte p { color: var(--attenue); max-width: 26rem; font-size: 1.05rem; }
.nouveau__boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.pilule-format {
  height: 48px; padding: 0 20px; border-radius: 100px; display: inline-flex; align-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  font-family: var(--f-titre); text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.02em;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.pilule-format:hover { background: var(--orange); border-color: var(--orange); color: var(--noir); transform: translateY(-2px); }
.nouveau__visuels { position: relative; height: 360px; }
.nv { position: absolute; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.5)); }
.nv1 { width: 46%; left: 2%; top: 6%; rotate: -14deg; }
.nv2 { width: 82%; left: 9%; bottom: 8%; rotate: -4deg; z-index: 2; }
.nv3 { width: 50%; right: 0; top: 0; rotate: 10deg; }

/* ---------- Petites faims ---------- */
.petites__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.8vw, 20px); }
.carte-snack {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 22px 16px 16px; border-radius: 30px; background: #fff; color: var(--noir);
  transition: transform 0.4s var(--ressort), box-shadow 0.4s;
}
.carte-snack::before {
  content: ''; position: absolute; z-index: -1; left: 50%; top: -34%; width: 150%; aspect-ratio: 1; translate: -50% 0;
  background: radial-gradient(circle, rgba(240, 122, 28, 0.2), transparent 60%);
}
.carte-snack:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(0, 0, 0, 0.4); }
.carte-snack__flotte { display: grid; place-items: center; width: 100%; height: 140px; animation: flotte-petit 4s ease-in-out infinite; }
.carte-snack:nth-child(2) .carte-snack__flotte { animation-delay: -1s; }
.carte-snack:nth-child(3) .carte-snack__flotte { animation-delay: -2s; }
.carte-snack:nth-child(4) .carte-snack__flotte { animation-delay: -3s; }
@keyframes flotte-petit { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.carte-snack__img {
  max-width: 88%; max-height: 130px; object-fit: contain;
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.22));
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.carte-snack:hover .carte-snack__img { transform: scale(1.14) rotate(-9deg); }
.carte-snack__nom { font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; font-size: 1.45rem; line-height: 1.05; min-height: 2.1em; display: grid; place-items: center; }
.carte-snack__bas { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: auto; }
.bouton-plus {
  width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: var(--noir);
  font-size: 1.6rem; font-weight: 700; line-height: 1; display: grid; place-items: center; padding-bottom: 2px;
  transition: transform 0.45s var(--ressort), background 0.3s;
}
.bouton-plus:hover { transform: rotate(90deg) scale(1.08); background: var(--noir); color: #fff; }

/* ---------- Menu étudiant ---------- */
.etudiant__carte {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px;
  padding: clamp(26px, 5vw, 60px); border-radius: 38px;
  border: 2px solid var(--orange); background: var(--encre);
}
.etudiant__texte { display: grid; gap: 18px; justify-items: start; }
.etudiant__titre { font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: 1.12; }
.etudiant__contenu { font-weight: 600; font-size: 1.15rem; }
.etudiant__contenu i { font-style: normal; color: var(--orange); margin: 0 0.25em; }
.segments {
  position: relative; display: inline-flex; padding: 5px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
}
.segments__fond {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 100px; background: var(--orange);
  transition: left 0.45s cubic-bezier(0.6, 0.1, 0.2, 1), width 0.45s cubic-bezier(0.6, 0.1, 0.2, 1);
}
.segments button {
  position: relative; z-index: 1; height: 44px; padding: 0 24px; border-radius: 100px;
  font-family: var(--f-titre); text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.03em;
  transition: color 0.3s;
}
.segments button.est-actif { color: var(--noir); }
.etudiant__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.prix-rond {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--orange); color: var(--noir); font-family: var(--f-titre); font-size: 1.5rem; rotate: -8deg;
}
.etudiant__ajouter span { font-size: 1.3rem; line-height: 1; }
.etudiant__visuel { position: relative; display: grid; place-items: center; min-height: 320px; }
.etudiant__img { width: 100%; max-width: 500px; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.55)); animation: flotte 6s ease-in-out infinite; position: relative; z-index: 2; }
.tampon { position: absolute; top: -18px; left: 2%; width: 150px; height: 150px; z-index: 3; animation: tourne 22s linear infinite; }
.tampon circle { fill: var(--orange); }
.tampon text { font-family: var(--f-titre); font-size: 15px; fill: var(--noir); }
.tampon__chapeau { position: absolute; top: 37px; left: calc(2% + 51px); width: 48px; height: 48px; z-index: 4; color: var(--noir); }
@keyframes tourne { to { transform: rotate(360deg); } }

/* ---------- Infos ---------- */
.infos__grille { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: start; }
.carte-infos, .faq { background: var(--carte); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 30px; }
.carte-infos { padding: 28px; display: grid; gap: 24px; }
.carte-infos__logo { width: 180px; height: auto; }
.carte-infos__liste { display: grid; gap: 16px; }
.carte-infos__liste li { display: flex; align-items: center; gap: 14px; }
.carte-infos__liste small { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--attenue); }
.carte-infos__liste strong { font-size: 1.02rem; font-weight: 600; }
.rond-icone { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(240, 122, 28, 0.14); color: var(--orange); }
.carte-infos__boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.faq { padding: 8px 28px 12px; }
.faq__titre { font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; padding: 18px 0 6px; }
.faq__item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.faq__item:last-child { border-bottom: 0; }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 600; font-size: 1.04rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(240, 122, 28, 0.14); color: var(--orange); font-size: 1.3rem; font-weight: 700;
  transition: transform 0.4s var(--ressort), background 0.3s, color 0.3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--orange); color: var(--noir); }
.faq__item p { color: var(--attenue); padding: 0 0 18px; max-width: 46rem; }
.faq__item p strong { color: #fff; }

/* ---------- Pied ---------- */
.pied { padding: var(--section) var(--gouttiere) calc(30px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.pied__slogan {
  max-width: 1320px; margin: 0 auto;
  font-family: var(--f-titre); text-transform: uppercase; font-size: clamp(2.8rem, 9.6vw, 9.4rem); line-height: 0.93;
}
.pied__bas { max-width: 1320px; margin: clamp(32px, 5vw, 56px) auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 28px; }
.pied__bas img { width: 130px; height: auto; }
.pied__liens { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pied__liens a { color: var(--attenue); font-size: 0.92rem; transition: color 0.3s; }
.pied__liens a:hover { color: var(--orange); }
.pied__copie { color: rgba(255, 255, 255, 0.4); font-size: 0.82rem; }

/* ---------- Onglets (téléphone) ---------- */
.onglets { display: none; }

/* ---------- Panier ---------- */
.voile {
  position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
html.panier-ouvert .voile { opacity: 1; pointer-events: auto; }
.panier {
  position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 310;
  width: min(420px, calc(100vw - 24px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #15110d; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 30px;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  transform: translateX(calc(100% + 24px)); visibility: hidden;
  transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s linear 0.55s;
}
.panier.est-ouvert { transform: none; visibility: visible; transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s; }
.panier__poignee { display: none; }
.panier__entete { display: flex; justify-content: space-between; align-items: center; padding: 22px 22px 12px; }
.panier__entete h2 { font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.panier__fermer { width: 40px; height: 40px; border-radius: 50%; background: var(--verre); border: 1px solid var(--verre-bord); transition: background 0.3s; }
.panier__fermer:hover { background: var(--orange); color: var(--noir); }
.panier__liste { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 6px 16px 12px; display: grid; gap: 10px; align-content: start; }
.panier__ligne {
  display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center;
  padding: 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.045);
  animation: apparait 0.4s ease-out both;
}
.panier__vignette {
  width: 62px; height: 62px; border-radius: 16px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(240, 122, 28, 0.42), rgba(240, 122, 28, 0.1));
}
.panier__vignette img { width: 88%; height: 88%; object-fit: contain; }
.panier__vignette.est-photo img { width: 100%; height: 100%; object-fit: cover; }
.panier__infos { min-width: 0; }
.panier__infos strong { display: block; font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; font-size: 1.08rem; line-height: 1.1; }
.panier__infos small { display: block; color: var(--attenue); font-size: 0.76rem; line-height: 1.3; margin: 2px 0; }
.panier__infos em { font-style: normal; color: var(--orange); font-weight: 700; font-size: 0.84rem; }
.panier__vide { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 54px 10px; color: var(--attenue); }
.panier__vide img { width: 150px; height: auto; margin-bottom: 14px; }
.panier__vide strong { color: #fff; font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; }
.panier__pied { display: grid; gap: 12px; padding: 16px 22px 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.panier__pied[hidden] { display: none; }
.panier__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.panier__total strong { font-family: var(--f-titre); font-weight: 400; font-size: 1.9rem; }
.panier__envoyer { width: 100%; }
.panier__vider { color: var(--attenue); font-size: 0.85rem; text-decoration: underline; text-underline-offset: 3px; justify-self: center; }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 400;
  max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 18px;
  background: #fff; color: var(--noir); font-weight: 600; font-size: 0.92rem; text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, calc(100% + 40px)); opacity: 0; visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3), opacity 0.3s, visibility 0s linear 0.45s;
}
.toast.est-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3), opacity 0.3s, visibility 0s; }
.vol-panier { position: fixed; z-index: 500; pointer-events: none; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.45)); }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1200px) {
  .nav__lien { padding: 10px 13px; }
  .hero__droite { width: 23rem; }
  .carte-format { width: 108px; }
}
@media (max-width: 1080px) {
  .bouton-panier__texte { display: none; }
}

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 1023px) {
  .nav { display: none; }
  .entete { padding: 12px var(--gouttiere); }
  .entete__logo img { height: 40px; }
  .bouton-panier { width: 50px; height: 50px; padding: 0; justify-content: center; position: relative; }
  .bouton-panier .pastille { position: absolute; top: -3px; right: -3px; }

  .hero { height: auto; min-height: 100svh; padding: 76px var(--gouttiere) 46px; }
  .hero__contenu { flex-direction: column; align-items: center; text-align: center; height: auto; }
  .hero__gauche, .hero__droite { display: contents; }
  .surtitre { order: 1; justify-content: center; font-size: 0.8rem; letter-spacing: 0.26em; margin-top: 8px; position: relative; z-index: 100; }
  .hero__titre { order: 2; font-size: clamp(2.6rem, 11vw, 4.6rem); margin-top: 10px; position: relative; z-index: 100; }
  .hero__texte { order: 3; font-size: 0.98rem; margin-top: 10px; position: relative; z-index: 100; }
  .hero__centre { order: 4; position: relative; inset: auto; width: 100%; height: clamp(210px, 54vw, 380px); }
  .hero__mot { font-size: 30vw; }
  .produit { --l: min(88vw, 540px); }
  .hero[data-format="wrap"] .produit { --l: min(58vw, 340px); }
  .hero[data-format="tacos"] .produit { --l: min(70vw, 420px); }
  .formats { order: 5; align-items: center; position: relative; z-index: 100; }
  .formats__titre, .formats__fleches { display: none; }
  .formats__cartes { padding-top: 3rem; gap: 10px; }
  .carte-format { width: min(30vw, 120px); padding: 3.4rem 0.5rem 0.75rem; gap: 0.7rem; border-radius: 22px; }
  .carte-format img { width: 116%; height: 62px; margin-top: -6.2rem; }
  .hero__actions { order: 6; margin-top: 22px; position: relative; z-index: 100; }
  .badge-nouveau, .hero__cote, .hero__descendre { display: none; }
  .miettes-fond, .m4, .m5, .m9 { display: none; }
  .miettes--devant { z-index: 2; }
  .m1 { top: 34%; left: 0%; --t: 76px; }
  .m2 { top: 52%; left: 82%; --t: 50px; }
  .m3 { top: 33%; left: 76%; --t: 76px; }
  .m6 { top: 53%; left: 2%; --t: 68px; }
  .m7 { top: 34%; left: 52%; --t: 38px; }
  .m8 { top: 50%; left: 34%; --t: 36px; }

  .bandeau { margin-top: -22px; padding: 10px 0; }

  .composer__grille { grid-template-columns: 1fr; }
  .etapes { order: -1; }
  .scene { min-height: 0; }
  .scene__visuel { min-height: 200px; }
  .box__grille {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gouttiere) * -1); padding: 4px var(--gouttiere) 16px; scroll-padding: 0 var(--gouttiere);
  }
  .box__grille::-webkit-scrollbar { display: none; }
  .carte-box { flex: 0 0 min(80vw, 360px); scroll-snap-align: start; }
  .petites__grille { grid-template-columns: repeat(2, 1fr); }
  .nouveau__carte, .etudiant__carte { grid-template-columns: 1fr; }
  .nouveau__visuels { height: 260px; }
  .infos__grille { grid-template-columns: 1fr; }

  .onglets {
    display: flex; justify-content: space-around; align-items: center;
    position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 190;
    height: 66px; padding: 0 6px; border-radius: 24px;
    background: rgba(22, 18, 14, 0.84); border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
  .onglets__curseur {
    position: absolute; top: 7px; bottom: 7px; left: 6px; width: 0; border-radius: 18px; background: var(--orange);
    transition: left 0.45s cubic-bezier(0.6, 0.1, 0.2, 1), width 0.45s cubic-bezier(0.6, 0.1, 0.2, 1);
  }
  .onglet {
    position: relative; z-index: 1; flex: 1;
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0;
    font-size: 0.66rem; font-weight: 600; color: rgba(255, 255, 255, 0.62); transition: color 0.3s;
  }
  .onglet.est-actif { color: var(--noir); }
  .pied { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .panier {
    top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 88svh;
    border-radius: 28px 28px 0 0; padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(105%);
  }
  .panier__poignee { display: block; width: 44px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); margin: 10px auto 0; }
}

@media (max-width: 560px) {
  :root { --section: 38px; }
  .section__titre { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .scene { padding: 18px; border-radius: 28px; }
  .scene__nom { font-size: 2.3rem; }
  .scene__ajouter { min-width: 0; padding: 0 16px; }
  .scene__ajouter .long { display: none; }
  .etape { padding: 18px; border-radius: 24px; }
  .etape__titre strong { font-size: 1.6rem; }
  .option-format { padding: 12px 4px; border-radius: 18px; }
  .option-format img { height: 52px; }
  .option-format__nom { font-size: 1.1rem; }
  .option-recette { height: 44px; padding: 0 15px; font-size: 1.02rem; }
  .carte-snack { padding: 16px 10px 12px; border-radius: 24px; gap: 8px; }
  .carte-snack__flotte { height: 96px; }
  .carte-snack__img { max-height: 88px; }
  .carte-snack__nom { font-size: 1.12rem; }
  .carte-snack .prix-pilule { height: 30px; padding: 0 10px; font-size: 0.95rem; }
  .bouton-plus { width: 38px; height: 38px; font-size: 1.35rem; }
  .nouveau__carte, .etudiant__carte { border-radius: 30px; }
  .nouveau__visuels { height: 210px; }
  .etudiant__visuel { min-height: 220px; }
  .tampon { width: 112px; height: 112px; top: -14px; }
  .tampon__chapeau { top: 18px; left: calc(2% + 38px); width: 36px; height: 36px; }
  .prix-rond { width: 80px; height: 80px; font-size: 1.25rem; }
  .carte-infos, .faq { border-radius: 24px; }
  .carte-infos { padding: 22px; }
  .faq { padding: 4px 20px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
