:root {
  --rose: #F0407D; --rose-f: #D92D69; --rose-c: #FDE4ED; --rose-cr: #F7BCD1;
  --ciel: #8FD6EF; --ciel-c: #DFF4FB; --turq: #15A6BE;
  --marine: #1D3557; --texte: #2B3A52; --gris: #8792A5; --trait: #EEF0F4;
  --fond: #FFFFFF; --page: #FCEFF4;
  --r: 22px; --ombre: 0 6px 22px rgba(29, 53, 87, .08);
  --titre: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --corps: 'Nunito', system-ui, sans-serif;
  --haut: env(safe-area-inset-top, 0px); --bas: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--corps); color: var(--texte); font-weight: 600;
  background: linear-gradient(115deg, #F9D3E1 0%, #FCEAF1 45%, #DDF2FA 100%);
  background-attachment: fixed; overflow-x: hidden;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

/* ---------- Cadre ---------- */
#app {
  position: relative; max-width: 480px; min-height: 100dvh; margin: 0 auto; background: var(--fond);
  display: flex; flex-direction: column; overflow: hidden;
}
@media (min-width: 700px) {
  #app { margin: 28px auto; min-height: calc(100dvh - 56px); border-radius: 38px; box-shadow: 0 30px 80px rgba(217, 45, 105, .18), 0 0 0 8px rgba(255, 255, 255, .55); }
}
.decor { display: none; }
@media (min-width: 1100px) {
  .decor { display: block; position: fixed; inset: 0; pointer-events: none; }
  .decor img { position: absolute; width: 210px; height: 210px; object-fit: cover; border-radius: 50%; box-shadow: 0 20px 50px rgba(29, 53, 87, .15); border: 6px solid #fff; animation: flotte 9s ease-in-out infinite; }
  .decor .d1 { left: 7%; top: 14%; } .decor .d2 { left: 13%; bottom: 10%; width: 170px; height: 170px; animation-delay: -3s; }
  .decor .d3 { right: 8%; top: 18%; animation-delay: -5s; } .decor .d4 { right: 13%; bottom: 12%; width: 160px; height: 160px; animation-delay: -2s; }
}
@keyframes flotte { 50% { transform: translateY(-14px) rotate(2deg); } }

/* ---------- Barre du haut ---------- */
.barre {
  position: relative; z-index: 5; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center;
  padding: calc(10px + var(--haut)) 12px 4px; background: #fff;
}
.barre h1 {
  margin: 0; text-align: center; font-family: var(--titre); font-weight: 800; font-size: 22px; letter-spacing: .02em;
  text-transform: uppercase; color: var(--marine); line-height: 1.2;
}
.ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--marine); position: relative; transition: transform .15s; }
.ico:active { transform: scale(.88); }
.ico svg { width: 26px; height: 26px; }
.pastille {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--rose); color: #fff; font: 800 12px/20px var(--corps); text-align: center; border: 2px solid #fff;
}
.saute { animation: saute .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes saute { 30% { transform: scale(1.35) rotate(-8deg); } 60% { transform: scale(.92); } }

.coulures {
  position: relative; z-index: 4; height: 44px; margin-bottom: -44px; pointer-events: none;
  background-repeat: repeat-x; background-size: auto 44px; filter: drop-shadow(0 3px 3px rgba(217, 45, 105, .12));
}

/* ---------- Écrans ---------- */
#ecrans { position: relative; flex: 1; display: grid; }
.ecran { grid-area: 1 / 1; padding: 50px 18px calc(28px + var(--bas)); min-width: 0; }
.entre-d { animation: entreD .42s cubic-bezier(.2, .8, .2, 1) both; }
.entre-g { animation: entreG .42s cubic-bezier(.2, .8, .2, 1) both; }
.sort-g { animation: sortG .32s ease both; pointer-events: none; }
.sort-d { animation: sortD .32s ease both; pointer-events: none; }
@keyframes entreD { from { transform: translateX(40px); opacity: 0; } }
@keyframes entreG { from { transform: translateX(-40px); opacity: 0; } }
@keyframes sortG { to { transform: translateX(-40px); opacity: 0; } }
@keyframes sortD { to { transform: translateX(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .entre-d, .entre-g, .sort-g, .sort-d { animation-duration: .01s; } }

/* ---------- Boutons ---------- */
.gros {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 0 22px;
  border-radius: 999px; background: linear-gradient(180deg, #F5568C, var(--rose) 60%, var(--rose-f)); color: #fff;
  font: 800 22px/1 var(--titre); box-shadow: 0 8px 18px rgba(240, 64, 125, .35), inset 0 -3px 0 rgba(0, 0, 0, .08), inset 0 2px 0 rgba(255, 255, 255, .25);
  transition: transform .15s, box-shadow .15s, filter .15s; position: relative; overflow: hidden;
}
.gros svg { width: 26px; height: 26px; }
.gros:active { transform: scale(.96); box-shadow: 0 4px 10px rgba(240, 64, 125, .3); }
.gros:disabled { filter: grayscale(.7) opacity(.55); box-shadow: none; }
.gros.charge::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); animation: brille 1s linear infinite; }
@keyframes brille { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.clair { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; border-radius: 999px; border: 2px solid var(--trait); background: #fff; color: var(--marine); font: 800 17px/1 var(--titre); transition: transform .15s; }
.clair:active { transform: scale(.97); }
.onde { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: onde .55s ease-out forwards; pointer-events: none; }
@keyframes onde { to { transform: scale(4); opacity: 0; } }

/* ---------- Accueil ---------- */
.accueil { text-align: center; padding-top: 30px; }
.hero { position: relative; margin: 0 -6px; }
.logo-rond {
  position: relative; z-index: 2; display: block; width: 124px; height: 124px; margin: 0 auto -38px; border-radius: 50%;
  background: #fff url(/img/logo.jpg) center/104% no-repeat; box-shadow: 0 8px 20px rgba(29, 53, 87, .14), 0 0 0 4px #fff, 0 0 0 7px var(--rose-cr);
  transition: transform .2s; animation: pose .7s .1s cubic-bezier(.3, 1.5, .5, 1) both;
}
.logo-rond:active { transform: scale(.94); }
@keyframes pose { from { transform: scale(.6) translateY(-10px); opacity: 0; } }
.assiette { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 28px; box-shadow: var(--ombre); animation: monte .6s .05s ease both; }
@keyframes monte { from { transform: translateY(16px); opacity: 0; } }
.eclats { position: absolute; left: 22px; top: 0; width: 46px; color: var(--rose); z-index: 3; }
.accueil h2 { margin: 18px 0 6px; font: 800 38px/1 var(--titre); color: var(--marine); }
.badge { display: inline-block; padding: 5px 16px; border-radius: 999px; background: var(--rose-c); color: var(--rose-f); font-weight: 800; font-size: 16px; }
.accueil .gros { margin: 18px 0 16px; }
.infos { text-align: left; background: #fff; border-radius: var(--r); box-shadow: var(--ombre); padding: 6px 16px; border: 1px solid #F4F1F5; }
.infos a, .infos div.l { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; color: var(--texte); text-decoration: none; font-size: 15px; }
.infos > * + * { border-top: 1px solid var(--trait); }
.infos svg { flex: none; width: 20px; height: 20px; color: var(--marine); margin-top: 1px; }
.infos b { color: var(--marine); }
.etat-ouv { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; margin-top: 3px; }
.etat-ouv::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.etat-ouv.oui { color: #1C9E6B; } .etat-ouv.non { color: var(--rose-f); }
.annonce { margin: 0 0 14px; padding: 12px 16px; border-radius: 18px; background: var(--ciel-c); color: var(--marine); font-weight: 800; text-align: left; display: flex; gap: 10px; align-items: center; }
.annonce svg { flex: none; width: 22px; height: 22px; color: var(--turq); }
.bandeau-ferme { margin: 0 0 14px; padding: 12px 16px; border-radius: 18px; background: var(--rose-c); color: var(--rose-f); font-weight: 800; text-align: center; }
.bandeau-ferme small { display: block; color: var(--texte); font-weight: 700; margin-top: 2px; }
.suivi-mini {
  display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 14px; padding: 12px 14px; border-radius: 18px;
  background: var(--marine); color: #fff; text-align: left; animation: monte .5s ease both;
}
.suivi-mini b { font-family: var(--titre); font-size: 18px; } .suivi-mini span { opacity: .8; font-size: 14px; display: block; }
.suivi-mini .fl { margin-left: auto; width: 22px; height: 22px; }
.point-vivant { width: 12px; height: 12px; border-radius: 50%; background: var(--ciel); box-shadow: 0 0 0 0 rgba(143, 214, 239, .7); animation: pouls 1.6s infinite; flex: none; }
@keyframes pouls { 70% { box-shadow: 0 0 0 10px rgba(143, 214, 239, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 214, 239, 0); } }

/* ---------- Carte ---------- */
.onglets { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ciel-c); margin: 0 0 16px; position: relative; }
.onglets button { position: relative; z-index: 1; height: 40px; border-radius: 999px; font-weight: 800; font-size: 16px; color: var(--marine); transition: color .25s; }
.onglets button.actif { color: #fff; }
.onglets .curseur { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 6px); border-radius: 999px; background: var(--rose); box-shadow: 0 4px 10px rgba(240, 64, 125, .3); transition: transform .35s cubic-bezier(.3, 1.3, .5, 1); }
.grille { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.carte-p {
  position: relative; background: #fff; border-radius: 20px; box-shadow: var(--ombre); overflow: hidden; text-align: left;
  border: 1px solid #F4F1F5; transition: transform .18s; animation: monte .45s ease both;
}
.carte-p:active { transform: scale(.97); }
.carte-p .ph { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; background: var(--rose-c); }
.carte-p .bas { padding: 8px 10px 10px; display: flex; align-items: flex-end; gap: 6px; min-height: 64px; }
.carte-p .nom { font: 700 16px/1.1 var(--titre); color: var(--marine); }
.prix { font: 800 19px/1 var(--titre); color: var(--rose); margin-top: 4px; }
.plus {
  margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(240, 64, 125, .35); transition: transform .15s;
}
.plus svg { width: 20px; height: 20px; }
.plus:active { transform: scale(.85); }
.indispo .ph, .ligne-p.indispo .ph { filter: grayscale(1) opacity(.6); }
.indispo .nom, .indispo .prix { color: var(--gris); }
.indispo .plus { background: #D5DAE2; box-shadow: none; }
.marque-indispo { position: absolute; left: 8px; top: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(29, 53, 87, .85); color: #fff; font-size: 12px; font-weight: 800; }
.sous { display: inline-block; margin: 16px 0 8px; padding: 4px 14px; border-radius: 999px; background: var(--ciel-c); color: var(--marine); font: 800 17px/1.3 var(--titre); }
.sous:first-child { margin-top: 0; }
.ligne-p { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px 8px 8px; margin-bottom: 10px; background: #fff; border-radius: 20px; box-shadow: var(--ombre); border: 1px solid #F4F1F5; text-align: left; animation: monte .45s ease both; transition: transform .18s; }
.ligne-p:active { transform: scale(.98); }
.ligne-p .ph { width: 96px; height: 70px; border-radius: 14px; object-fit: cover; flex: none; background: var(--rose-c); }
.ligne-p .nom { font: 700 17px/1.1 var(--titre); color: var(--marine); }
.ligne-p .desc, .carte-p .desc { font-size: 13px; color: var(--gris); margin-top: 2px; }
.ligne-p .marque-indispo { left: 12px; top: 12px; }
.vide { text-align: center; color: var(--gris); padding: 50px 10px; }
.vide svg { width: 64px; height: 64px; color: var(--rose-cr); margin: 0 auto 10px; }

/* ---------- Feuille produit ---------- */
.voile { position: fixed; inset: 0; z-index: 40; background: rgba(29, 53, 87, .38); backdrop-filter: blur(2px); animation: apparait .25s ease both; }
.voile.part { animation: disparait .25s ease both; }
@keyframes apparait { from { opacity: 0; } } @keyframes disparait { to { opacity: 0; } }
.feuille {
  position: fixed; z-index: 41; left: 50%; bottom: 0; width: 100%; max-width: 480px; max-height: 92dvh; transform: translateX(-50%);
  background: #fff; border-radius: 30px 30px 0 0; overflow: auto; overscroll-behavior: contain; animation: feuilleIn .4s cubic-bezier(.2, .9, .25, 1) both;
  padding-bottom: calc(16px + var(--bas));
}
.feuille.part { animation: feuilleOut .28s ease both; }
@keyframes feuilleIn { from { transform: translate(-50%, 100%); } }
@keyframes feuilleOut { to { transform: translate(-50%, 100%); } }
.feuille .grande { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feuille .fermer { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--marine); box-shadow: var(--ombre); }
.feuille .fermer svg { width: 22px; height: 22px; }
.feuille .corps { padding: 16px 20px 0; }
.feuille h3 { margin: 0; font: 800 28px/1.05 var(--titre); color: var(--marine); }
.feuille .desc { color: var(--gris); margin: 4px 0 0; }
.groupe { margin-top: 18px; }
.groupe h4 { margin: 0 0 8px; display: flex; align-items: baseline; gap: 8px; font: 800 18px/1 var(--titre); color: var(--marine); }
.groupe h4 small { font: 700 12px var(--corps); color: var(--gris); }
.groupe h4 .oblig { color: var(--rose-f); background: var(--rose-c); padding: 2px 8px; border-radius: 999px; }
.choix { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; margin-bottom: 8px; border-radius: 16px; border: 2px solid var(--trait); background: #fff; text-align: left; font-weight: 700; transition: border-color .2s, background .2s, transform .15s; }
.choix:active { transform: scale(.98); }
.choix .rond { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #CBD2DC; display: grid; place-items: center; transition: all .2s; }
.choix.multi .rond { border-radius: 8px; }
.choix .rond svg { width: 15px; height: 15px; color: #fff; transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.choix.on { border-color: var(--rose); background: var(--rose-c); }
.choix.on .rond { border-color: var(--rose); background: var(--rose); }
.choix.on .rond svg { transform: scale(1); }
.choix .px { margin-left: auto; color: var(--rose-f); font-weight: 800; }
.choix.off { opacity: .55; background: #F6F7F9; pointer-events: none; }
.choix.off .px { color: var(--gris); font-size: 13px; }
.choix.off .nm { text-decoration: line-through; }
.pied-feuille { position: sticky; bottom: 0; display: flex; gap: 12px; align-items: center; padding: 14px 20px 4px; background: linear-gradient(transparent, #fff 25%); }
.quantite { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; border: 2px solid var(--trait); background: #fff; flex: none; }
.quantite button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--marine); transition: background .15s, transform .15s; }
.quantite button:active { background: var(--rose-c); transform: scale(.88); }
.quantite button svg { width: 18px; height: 18px; }
.quantite span { min-width: 22px; text-align: center; font: 800 18px var(--titre); color: var(--marine); }
.pied-feuille .gros { font-size: 19px; min-height: 54px; }
.alerte-feuille { margin-top: 14px; padding: 10px 14px; border-radius: 14px; background: var(--rose-c); color: var(--rose-f); font-weight: 800; }

/* ---------- Panier ---------- */
.ligne-panier { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--trait); animation: monte .4s ease both; transition: opacity .25s, transform .25s; }
.ligne-panier.part { opacity: 0; transform: translateX(-30px); }
.ligne-panier .ph { width: 84px; height: 72px; border-radius: 16px; object-fit: cover; flex: none; }
.ligne-panier .nom { font: 700 17px/1.1 var(--titre); color: var(--marine); }
.ligne-panier .opts { font-size: 13px; color: var(--gris); margin-top: 2px; line-height: 1.3; }
.ligne-panier .quantite { margin-left: auto; padding: 2px; }
.ligne-panier .quantite button { width: 32px; height: 32px; }
.ligne-panier.alerte .nom { color: var(--rose-f); }
.ligne-panier .manque { font-size: 13px; font-weight: 800; color: var(--rose-f); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 4px; font: 800 24px var(--titre); color: var(--marine); }
.total b { font-size: 28px; }
.champ { display: block; margin-bottom: 12px; }
.champ span { display: block; font-size: 14px; color: var(--marine); font-weight: 800; margin: 0 0 6px 4px; }
.champ input, .champ textarea { width: 100%; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--trait); background: #fff; outline: none; transition: border-color .2s; font-weight: 700; }
.champ textarea { resize: none; min-height: 70px; }
.champ input:focus, .champ textarea:focus { border-color: var(--ciel); }
.champ.err input { border-color: var(--rose); animation: secoue .35s; }
@keyframes secoue { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- Paiement ---------- */
.question { text-align: center; margin: 8px 0 18px; font: 800 29px/1.08 var(--titre); color: var(--marine); }
.mode { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; margin-bottom: 12px; border-radius: 20px; border: 2px solid var(--trait); background: #fff; box-shadow: var(--ombre); text-align: left; transition: all .2s; }
.mode:active { transform: scale(.98); }
.mode .pic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ciel-c); color: var(--marine); }
.mode .pic svg { width: 26px; height: 26px; }
.mode b { display: block; font: 700 19px/1.1 var(--titre); color: var(--marine); }
.mode small { color: var(--gris); font-size: 13px; }
.mode .rond { margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #CBD2DC; display: grid; place-items: center; transition: all .2s; }
.mode .rond svg { width: 16px; height: 16px; color: #fff; transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.mode.on { border-color: var(--rose); background: #FFF6F9; }
.mode.on .rond { background: var(--rose); border-color: var(--rose); }
.mode.on .rond svg { transform: scale(1); }
.mode.bientot { opacity: .6; box-shadow: none; pointer-events: none; }
.mode .tag { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--ciel-c); color: var(--marine); font-size: 12px; font-weight: 800; white-space: nowrap; }
.sep { height: 1px; background: var(--trait); margin: 8px 0; }
.erreur-form { color: var(--rose-f); font-weight: 800; text-align: center; margin: 10px 0 0; min-height: 1.2em; }

/* ---------- Suivi ---------- */
.suivi { text-align: center; }
.horloge { position: relative; width: 150px; height: 150px; margin: 8px auto 6px; color: var(--turq); }
.horloge svg { width: 100%; height: 100%; }
.horloge .aiguille { transform-origin: 75px 80px; animation: tourne 6s linear infinite; }
.horloge .rayons { animation: eclat 1.8s ease-in-out infinite; transform-origin: 75px 80px; }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes eclat { 50% { transform: scale(1.06); opacity: .6; } }
.horloge.fini .aiguille { animation: none; }
.num { display: inline-block; padding: 4px 18px; border-radius: 999px; background: var(--rose); color: #fff; font: 800 24px/1.3 var(--titre); box-shadow: 0 6px 14px rgba(240, 64, 125, .3); }
.suivi h2 { margin: 10px 0 4px; font: 800 36px/1.02 var(--titre); color: var(--marine); }
.suivi .sous-titre { color: var(--gris); font-weight: 700; margin: 0 0 14px; }
.a-regler { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: 18px; background: var(--ciel-c); font: 700 18px var(--titre); color: var(--marine); margin: 14px 0; }
.a-regler svg { width: 24px; height: 24px; flex: none; }
.a-regler.ok { background: #E3F6EE; color: #157A54; }
.etapes { display: flex; justify-content: space-between; align-items: flex-start; margin: 20px 0 8px; position: relative; }
.etapes::before { content: ''; position: absolute; left: 10%; right: 10%; top: 11px; height: 3px; background: var(--trait); border-radius: 3px; }
.etapes .barre-av { position: absolute; left: 10%; top: 11px; height: 3px; background: var(--rose); border-radius: 3px; transition: width .6s cubic-bezier(.3, 1, .4, 1); }
.etape { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--gris); }
.etape i { width: 24px; height: 24px; border-radius: 50%; border: 3px solid #CBD2DC; background: #fff; transition: all .3s; }
.etape.fait i { background: var(--rose); border-color: var(--rose); }
.etape.ici i { background: var(--rose); border-color: var(--rose); box-shadow: 0 0 0 6px var(--rose-c); animation: rebond .6s; }
.etape.fait, .etape.ici { color: var(--rose-f); }
@keyframes rebond { 40% { transform: scale(1.3); } }
.recap { text-align: left; margin-top: 18px; padding: 6px 16px; border-radius: var(--r); background: #fff; box-shadow: var(--ombre); border: 1px solid #F4F1F5; }
.recap div { display: flex; gap: 10px; padding: 9px 0; font-size: 15px; } .recap div + div { border-top: 1px solid var(--trait); }
.recap span:last-child { margin-left: auto; font-weight: 800; color: var(--marine); white-space: nowrap; }
.recap small { display: block; color: var(--gris); }
.motif { margin: 6px 0 0; padding: 12px 16px; border-radius: 16px; background: var(--rose-c); color: var(--rose-f); font-weight: 800; }
.lien-discret { display: block; margin: 14px auto 0; color: var(--gris); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.confetti { position: fixed; z-index: 60; width: 10px; height: 14px; border-radius: 3px; pointer-events: none; }

/* ---------- Tiroir ---------- */
.tiroir { position: fixed; z-index: 41; top: 0; bottom: 0; left: max(0px, calc(50% - 240px)); width: min(300px, 82vw); background: #fff; padding: calc(24px + var(--haut)) 18px 20px; animation: tiroirIn .35s cubic-bezier(.2, .9, .25, 1) both; box-shadow: 10px 0 40px rgba(29, 53, 87, .15); display: flex; flex-direction: column; gap: 4px; }
.tiroir.part { animation: tiroirOut .25s ease both; }
@keyframes tiroirIn { from { transform: translateX(-105%); } } @keyframes tiroirOut { to { transform: translateX(-105%); } }
.tiroir .tete { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font: 800 22px var(--titre); color: var(--marine); }
.tiroir .tete i { width: 52px; height: 52px; border-radius: 50%; background: #fff url(/img/logo.jpg) center/104%; box-shadow: 0 0 0 3px var(--rose-cr); }
.tiroir a, .tiroir button { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 14px; color: var(--marine); text-decoration: none; font-weight: 800; font-size: 17px; text-align: left; }
.tiroir a:active, .tiroir button:active { background: var(--rose-c); }
.tiroir svg { width: 22px; height: 22px; color: var(--rose); }
.tiroir .bas-t { margin-top: auto; font-size: 13px; color: var(--gris); padding: 0 12px; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(24px + var(--bas)); transform: translate(-50%, 200%); opacity: 0; max-width: 90vw; padding: 13px 20px; border-radius: 999px; background: var(--marine); color: #fff; font-weight: 800; box-shadow: 0 10px 30px rgba(29, 53, 87, .3); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), opacity .25s; text-align: center; }
.toast.vu { transform: translate(-50%, 0); opacity: 1; }
.vole { position: fixed; z-index: 80; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 8px 20px rgba(29, 53, 87, .25); }
