/* Page de commande Jo Samoussas : prune #6A1F3E, cuivre #D2804A, fond crème.
   Aucun style en ligne (politique de sécurité stricte) : tout passe par des classes. */
:root {
  color-scheme: light;
  --fond: #fbf6f1; --surface: #ffffff; --surface-2: #f6eee8; --surface-3: #efe3da;
  --texte: #2a1720; --texte-2: #5c4650; --discret: #7f6b72; --bord: #eadfd8; --bord-fort: #d8c7bd;
  --prune: #6a1f3e; --prune-fonce: #4e1530; --prune-doux: #f7eaee; --prune-doux-2: #efd6de;
  --cuivre: #d2804a; --cuivre-fonce: #a85a26; --cuivre-doux: #fcefe4; --curcuma: #e7a43a;
  --vert: #1d7a43; --vert-doux: #e6f4ec; --rouge: #b42318; --rouge-doux: #fdeceb; --ambre-doux: #fff5dc; --ambre-texte: #7a4b00;
  --rayon: 14px; --rayon-l: 20px;
  --ombre: 0 1px 2px rgba(42, 23, 32, .06), 0 2px 8px -2px rgba(42, 23, 32, .06);
  --ombre-haute: 0 18px 44px -18px rgba(42, 23, 32, .35), 0 2px 6px rgba(42, 23, 32, .08);
  --anneau: 0 0 0 3px rgba(210, 128, 74, .55);
  --police: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --barre: 0px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 17px/1.5 var(--police); -webkit-font-smoothing: antialiased; }
body.avec-barre { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
h1 { font-size: 1.55rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 780; margin: 0 0 6px; }
h2 { font-size: 1.12rem; font-weight: 720; margin: 0 0 10px; }
p { margin: 0 0 12px; }
a { color: var(--prune); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--anneau); }
.discret { color: var(--discret); }
.petit { font-size: .9rem; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.evitement { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 10px 14px; border-radius: 10px; }
.evitement:focus { left: 8px; }
.chargement { padding: 40px 0; text-align: center; color: var(--discret); }

/* ═════ En-tête ═════ */
.entete { position: sticky; top: 0; z-index: 30; color: #fff; padding-top: env(safe-area-inset-top);
  background-color: var(--prune);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cpath d='M14 6 L26 26 H2 Z M42 24 L54 44 H30 Z' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  box-shadow: 0 4px 16px -10px rgba(0, 0, 0, .5); }
.entete-dedans { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.marque { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.marque img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.marque strong { display: block; font-size: 1.05rem; letter-spacing: .01em; }
.marque small { display: block; font-size: .74rem; opacity: .75; letter-spacing: .12em; text-transform: uppercase; }
.etapes { list-style: none; display: flex; gap: 6px; margin: 0 0 0 auto; padding: 0; align-items: center; }
.etapes li { width: 26px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.etapes li.fait { background: var(--cuivre); }
.etapes li.actuel { background: #fff; width: 34px; }
.etapes .texte-etape { width: auto; height: auto; background: none; font-size: .8rem; opacity: .85; margin-left: 6px; white-space: nowrap; }

/* ═════ Mise en page ═════ */
.page { max-width: 1120px; margin: 0 auto; padding: 18px 16px 40px; display: grid; gap: 24px; }
.contenu { min-width: 0; outline: none; }
@media (min-width: 960px) {
  .page.avec-cote { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .panier-cote { position: sticky; top: 96px; }
}
@media (max-width: 959px) { .panier-cote { display: none !important; } }
.tete { margin: 4px 0 18px; }
.tete .sur-titre { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cuivre-fonce); margin-bottom: 4px; }
.tete p { color: var(--texte-2); margin: 0; }
.retour { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; margin: -6px 0 6px -4px; border: 0; background: none; color: var(--prune); font-weight: 600; cursor: pointer; border-radius: 10px; }

/* ═════ Boutons ═════ */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 14px;
  border: 1.5px solid var(--bord-fort); background: var(--surface); color: var(--texte); font-weight: 650; text-decoration: none; cursor: pointer;
  transition: transform .08s ease, background .15s ease; -webkit-tap-highlight-color: transparent; }
.bouton:active { transform: scale(.98); }
.bouton.principal { background: var(--prune); border-color: var(--prune); color: #fff; box-shadow: 0 6px 16px -8px rgba(106, 31, 62, .7); }
.bouton.principal:hover { background: var(--prune-fonce); }
.bouton.cuivre { background: var(--cuivre); border-color: var(--cuivre); color: #2a1206; }
.bouton.large { width: 100%; }
.bouton.leger { border-color: transparent; background: var(--prune-doux); color: var(--prune-fonce); }
.bouton[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.actions .bouton { flex: 1 1 200px; }

/* ═════ Accueil ═════ */
.accueil { display: grid; gap: 16px; }
.banniere { position: relative; overflow: hidden; border-radius: var(--rayon-l); padding: 26px 22px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #8c2f55 0%, var(--prune) 45%, #3f0f24 100%); box-shadow: var(--ombre-haute); }
.banniere::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 190px; height: 170px; opacity: .16;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 90'%3E%3Cpath d='M50 4 L96 86 H4 Z' fill='%23d2804a' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M50 4 V86 M27 45 H73' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.banniere h1 { font-size: 1.85rem; max-width: 15ch; margin-bottom: 10px; }
.banniere p { color: rgba(255, 255, 255, .86); max-width: 36ch; }
.banniere .delai { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 18px; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .92rem; font-weight: 600; }
.banniere .bouton.cuivre { min-width: 220px; font-size: 1.05rem; }
.carte { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon-l); padding: 18px; box-shadow: var(--ombre); }
.carte h2 { display: flex; align-items: center; gap: 8px; }
.urgence { display: grid; gap: 10px; }
.urgence a.tel { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 14px; border-radius: 12px; background: var(--surface-2); text-decoration: none; color: var(--texte); }
.urgence a.tel strong { display: block; }
.urgence a.tel span.num { font-variant-numeric: tabular-nums; color: var(--prune); font-weight: 700; white-space: nowrap; }
.derniere { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.derniere .texte { flex: 1 1 220px; }
.fermeture { border-color: #f2d27a; background: var(--ambre-doux); color: var(--ambre-texte); }

/* ═════ Choix (point de retrait, cuit / surgelé) ═════ */
.choix { display: grid; gap: 12px; }
@media (min-width: 700px) { .choix { grid-template-columns: 1fr 1fr; } }
.option { position: relative; display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; padding: 18px; border-radius: var(--rayon-l);
  border: 2px solid var(--bord); background: var(--surface); cursor: pointer; box-shadow: var(--ombre); transition: border-color .15s ease, transform .08s ease; }
.option:hover { border-color: var(--bord-fort); }
.option:active { transform: scale(.99); }
.option[aria-pressed="true"] { border-color: var(--prune); background: var(--prune-doux); }
.option .pastille { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--cuivre-doux); color: var(--cuivre-fonce); }
.option[aria-pressed="true"] .pastille { background: var(--prune); color: #fff; }
.option strong { display: block; font-size: 1.08rem; margin-bottom: 2px; }
.option .detail { display: block; font-size: .92rem; color: var(--texte-2); }
.option .horaires { display: block; margin-top: 8px; font-size: .86rem; color: var(--discret); line-height: 1.45; }
.option .coche { position: absolute; top: 14px; right: 14px; color: var(--prune); }

/* ═════ Produits ═════ */
.outils-produits { position: sticky; top: 64px; z-index: 10; margin: 0 -16px 8px; padding: 10px 16px 10px; background: var(--fond); border-bottom: 1px solid var(--bord); }
.recherche { position: relative; }
.recherche input { width: 100%; min-height: 50px; padding: 0 14px 0 44px; border-radius: 14px; border: 1.5px solid var(--bord-fort); background: var(--surface); }
.recherche .ico { position: absolute; left: 14px; top: 14px; color: var(--discret); }
.onglets-cat { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.onglets-cat::-webkit-scrollbar { display: none; }
.onglets-cat a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--bord); text-decoration: none; color: var(--texte-2); font-weight: 600; font-size: .92rem; }
.rappel-min { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--cuivre-doux); color: #6b3613; font-size: .92rem; margin-bottom: 14px; }
.section-cat { margin-bottom: 22px; }
.section-cat h2 { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 10px; }
.section-cat h2 small { font-size: .85rem; color: var(--discret); font-weight: 500; }
.produits { display: grid; gap: 10px; }
@media (min-width: 700px) { .produits { grid-template-columns: 1fr 1fr; } }
.produit { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: var(--surface); border: 1.5px solid var(--bord); border-radius: var(--rayon); min-height: 76px; box-shadow: var(--ombre); }
.produit.choisi { border-color: var(--cuivre); background: linear-gradient(0deg, var(--cuivre-doux), var(--cuivre-doux)) , var(--surface); }
.produit .infos { flex: 1; min-width: 0; }
.produit .nom { font-weight: 650; line-height: 1.25; }
.produit .prix { font-size: .9rem; color: var(--texte-2); font-variant-numeric: tabular-nums; }
.produit .sous-total { color: var(--cuivre-fonce); font-weight: 650; }
.produit.indispo { opacity: .62; box-shadow: none; background: var(--surface-2); }
.produit .raison { display: inline-block; margin-top: 4px; font-size: .78rem; font-weight: 650; color: var(--texte-2); background: var(--surface-3); padding: 2px 8px; border-radius: 999px; }
.pas { display: flex; align-items: center; gap: 2px; flex: none; }
.pas button { width: 48px; height: 48px; border-radius: 12px; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--surface-2); color: var(--prune); -webkit-tap-highlight-color: transparent; }
.pas button.plus { background: var(--prune); color: #fff; }
.pas button:active { transform: scale(.94); }
.pas input { width: 56px; height: 48px; border: 0; background: transparent; text-align: center; font-weight: 750; font-size: 1.1rem; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; border-radius: 10px; }
.pas input::-webkit-outer-spin-button, .pas input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ajouter { min-height: 48px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--prune); color: #fff; font-weight: 700; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.vide-recherche { padding: 30px 10px; text-align: center; color: var(--discret); }

/* ═════ Jour et heure ═════ */
.jours { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-snap-type: x proximity; scrollbar-width: none; }
.jours::-webkit-scrollbar { display: none; }
.jour { flex: none; scroll-snap-align: start; width: 78px; min-height: 86px; padding: 8px 4px; border-radius: 16px; border: 1.5px solid var(--bord); background: var(--surface); cursor: pointer; display: grid; justify-items: center; align-content: center; gap: 1px; }
.jour .js { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--discret); font-weight: 650; }
.jour .jn { font-size: 1.5rem; font-weight: 780; line-height: 1.1; }
.jour .jm { font-size: .8rem; color: var(--texte-2); }
.jour[aria-pressed="true"] { background: var(--prune); border-color: var(--prune); color: #fff; }
.jour[aria-pressed="true"] .js, .jour[aria-pressed="true"] .jm { color: rgba(255, 255, 255, .8); }
.jour[disabled] { background: var(--surface-2); border-style: dashed; cursor: not-allowed; opacity: .55; }
.jour .jr { font-size: .66rem; color: var(--discret); max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.groupe-heures h3 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--discret); margin: 14px 0 8px; }
.heures { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.heure { min-height: 50px; border-radius: 12px; border: 1.5px solid var(--bord); background: var(--surface); font-weight: 650; cursor: pointer; font-variant-numeric: tabular-nums; }
.heure[aria-pressed="true"] { background: var(--prune); border-color: var(--prune); color: #fff; }
.heure[disabled] { text-decoration: line-through; opacity: .45; cursor: not-allowed; }
.info { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); color: var(--texte-2); font-size: .92rem; margin: 6px 0 14px; }
.info .ico { color: var(--cuivre-fonce); margin-top: 1px; }

/* ═════ Formulaire ═════ */
.formulaire { display: grid; gap: 14px; }
@media (min-width: 700px) { .formulaire .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } }
.formulaire .deux { display: grid; gap: 14px; }
.champ label { display: block; font-weight: 650; margin-bottom: 6px; }
.champ label small { font-weight: 500; color: var(--discret); }
.champ input, .champ textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--bord-fort); background: var(--surface); font-size: 1.05rem; }
.champ textarea { min-height: 88px; resize: vertical; }
.champ input:focus, .champ textarea:focus { border-color: var(--cuivre); box-shadow: var(--anneau); outline: none; }
.champ .aide { display: block; font-size: .85rem; color: var(--discret); margin-top: 5px; }
.champ.erreur input { border-color: var(--rouge); }
.champ .message-erreur { display: block; color: var(--rouge); font-size: .88rem; font-weight: 600; margin-top: 5px; }
.indicatif { display: flex; align-items: stretch; }
.indicatif span { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--bord-fort); border-right: 0; border-radius: 14px 0 0 14px; background: var(--surface-2); font-weight: 650; color: var(--texte-2); }
.indicatif input { border-radius: 0 14px 14px 0; }
.case { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--bord); cursor: pointer; }
.case input { width: 24px; height: 24px; margin: 1px 0 0; flex: none; accent-color: var(--prune); }
.case.importante { border-color: var(--prune-doux-2); background: var(--prune-doux); }
.case.erreur { border-color: var(--rouge); }
.vh, .pot-de-miel { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.erreur-generale { padding: 12px 14px; border-radius: 12px; background: var(--rouge-doux); color: var(--rouge); font-weight: 600; }

/* ═════ Récapitulatif ═════ */
.recap { display: grid; gap: 12px; }
.recap-bloc + .recap-bloc { margin-top: 12px; }
.recap-bloc { display: flex; gap: 14px; align-items: flex-start; }
.recap-bloc .pastille { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--cuivre-doux); color: var(--cuivre-fonce); }
.recap-bloc .t { flex: 1; min-width: 0; }
.recap-bloc .t strong { display: block; }
.recap-bloc .t span { color: var(--texte-2); font-size: .94rem; }
.recap-bloc button.modifier { border: 0; background: none; color: var(--prune); font-weight: 650; cursor: pointer; min-height: 44px; padding: 0 6px; text-decoration: underline; text-underline-offset: 3px; }
.lignes { width: 100%; border-collapse: collapse; }
.lignes td { padding: 9px 0; border-bottom: 1px solid var(--bord); vertical-align: top; }
.lignes td.q { width: 52px; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--prune); }
.lignes td.m { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lignes td .pu { display: block; font-size: .82rem; color: var(--discret); }
.total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 12px; font-size: 1.15rem; font-weight: 780; }
.total small { display: block; font-size: .8rem; font-weight: 500; color: var(--discret); }
.total .m { font-size: 1.45rem; color: var(--prune); font-variant-numeric: tabular-nums; }

/* ═════ Panier (côté, barre du bas, feuille) ═════ */
.panier-cote .carte { padding: 16px; }
.panier-cote h2 { font-size: 1rem; }
.panier-vide { color: var(--discret); font-size: .95rem; }
.ligne-panier { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--bord); }
.ligne-panier .q { font-weight: 750; color: var(--prune); min-width: 34px; font-variant-numeric: tabular-nums; }
.ligne-panier .n { flex: 1; min-width: 0; font-size: .95rem; }
.ligne-panier .m { font-variant-numeric: tabular-nums; font-size: .95rem; }
.ligne-panier button { width: 40px; height: 40px; border: 0; background: none; color: var(--discret); border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.barre-panier { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--bord); box-shadow: 0 -10px 30px -18px rgba(42, 23, 32, .45); }
.barre-panier .dedans { max-width: 1120px; margin: 0 auto; display: flex; gap: 10px; align-items: center; }
.barre-panier .resume { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 10px; border: 0; background: var(--surface-2); border-radius: 14px; cursor: pointer; text-align: left; }
.barre-panier .resume .badge { min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; background: var(--prune); color: #fff; display: grid; place-items: center; font-weight: 750; font-size: .9rem; font-variant-numeric: tabular-nums; }
.barre-panier .resume strong { display: block; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.barre-panier .resume small { display: block; font-size: .8rem; color: var(--discret); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-panier .bouton { min-height: 56px; flex: none; }
@media (min-width: 960px) { .barre-panier .resume { pointer-events: none; background: none; } }
.feuille { position: fixed; inset: 0; z-index: 60; background: rgba(42, 23, 32, .45); display: flex; align-items: flex-end; }
.feuille .panneau { width: 100%; max-height: 82vh; overflow: auto; background: var(--surface); border-radius: 22px 22px 0 0; padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: var(--ombre-haute); }
.feuille .poignee { width: 44px; height: 5px; border-radius: 3px; background: var(--bord-fort); margin: 0 auto 12px; }
.feuille .tete-feuille { display: flex; align-items: center; justify-content: space-between; }
.feuille .fermer { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--surface-2); cursor: pointer; display: grid; place-items: center; }

/* ═════ Confirmation et suivi ═════ */
.merci { text-align: center; padding: 10px 0 4px; }
.merci .rond { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--vert-doux); color: var(--vert); }
.merci .rond .ico { width: 44px; height: 44px; stroke-width: 2.4; }
.merci .numero { display: inline-block; margin: 6px 0 14px; padding: 10px 18px; border-radius: 14px; background: var(--prune); color: #fff; font-size: 1.25rem; font-weight: 780; letter-spacing: .02em; }
.merci p { color: var(--texte-2); max-width: 46ch; margin-left: auto; margin-right: auto; }
.suivi-etats { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 0; }
.suivi-etats li { position: relative; display: flex; gap: 12px; align-items: center; min-height: 46px; padding-left: 2px; color: var(--discret); }
.suivi-etats li .point { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--bord-fort); background: var(--surface); flex: none; display: grid; place-items: center; z-index: 1; }
.suivi-etats li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 34px; height: 24px; width: 2px; background: var(--bord); }
.suivi-etats li.fait { color: var(--texte); }
.suivi-etats li.fait .point { background: var(--vert); border-color: var(--vert); color: #fff; }
.suivi-etats li.fait .point .ico { width: 14px; height: 14px; stroke-width: 3; }
.suivi-etats li.actuel { font-weight: 700; color: var(--prune); }
.suivi-etats li.actuel .point { border-color: var(--prune); box-shadow: 0 0 0 4px var(--prune-doux-2); }
.statut-annule { padding: 14px; border-radius: 14px; background: var(--rouge-doux); color: var(--rouge); font-weight: 650; }

/* ═════ Notes, pied, pages de texte ═════ */
.notes { position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 80; display: grid; gap: 8px; width: min(92vw, 440px); pointer-events: none; }
.note { padding: 12px 16px; border-radius: 14px; background: #2a1720; color: #fff; box-shadow: var(--ombre-haute); font-weight: 550; animation: monte .2s ease; }
.note.erreur { background: var(--rouge); }
@keyframes monte { from { opacity: 0; transform: translateY(8px); } }
.pied { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--bord); font-size: .85rem; color: var(--discret); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.pied a { color: var(--discret); }
.texte-legal { max-width: 760px; margin: 0 auto; padding: 20px 16px 60px; }
.texte-legal h1 { margin-top: 8px; }
.texte-legal h2 { margin-top: 26px; }
.texte-legal .a-valider { padding: 12px 14px; border-radius: 12px; background: var(--ambre-doux); color: var(--ambre-texte); font-weight: 600; border: 1px solid #f2d27a; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (max-width: 420px) {
  .banniere h1 { font-size: 1.6rem; }
  .etapes li { width: 16px; }
  .etapes li.actuel { width: 24px; }
  .marque small { display: none; }
}
