/* =========================================================================
   ASSYA Entreprises : page d'accueil (/entreprises/) et appli (/entreprises/app)
   Meme monde que le site (css/express.css) : bordeaux, or, creme, Poppins 800,
   Lora italique en accent. Feuille autonome, servie sans cache (pas de ?v=).
   ========================================================================= */

:root {
  --bordeaux: #7A1F2B;
  --bordeaux-vif: #9B3040;
  --bordeaux-nuit: #4E1119;
  --or: #C49A3A;
  --or-clair: #E0B75A;
  --or-vif: #F0C868;
  --anthracite: #23211E;

  --fond: #FFFDF9;
  --surface: #FFFFFF;
  --surface-2: #F6F1E7;
  --texte: #23211E;
  --texte-2: #736A5E;
  --bordure: #EDE4D3;
  --bordure-forte: #D9CBB3;
  --pointilles: #C9B99E;
  --accent: #9B6E14;
  --actif: #7A1F2B;          /* onglet et statut en cours : bordeaux sur clair, or sur sombre */
  --lien: #7A1F2B;
  --focus: #9B6E14;
  --ok: #3F6B4A;
  --ok-fond: #E6EFE7;
  --alerte: #A85A0C;
  --alerte-fond: #FBEDDF;
  --erreur: #A3271F;
  --erreur-fond: #FBE6E3;
  --voile: rgba(35, 33, 30, .45);

  --ombre-s: 0 1px 2px rgba(35,33,30,.04), 0 4px 12px -6px rgba(35,33,30,.10);
  --ombre-m: 0 2px 6px rgba(35,33,30,.05), 0 16px 32px -18px rgba(78,17,25,.28);
  --ombre-l: 0 4px 12px rgba(35,33,30,.07), 0 30px 60px -28px rgba(78,17,25,.42);
  --ombre-or: 0 12px 28px -14px rgba(35,33,30,.32);

  --titres: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Lora", Georgia, serif;
  --r: 16px;
  --r-s: 12px;
  --pill: 100px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .8, .3, 1);
  --gouttiere: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fond: #15100E;
    --surface: #1F1815;
    --surface-2: #2A211D;
    --texte: #F3ECE1;
    --texte-2: #A99C8D;
    --bordure: #362C26;
    --bordure-forte: #4D4037;
    --pointilles: #5A4B40;
    --accent: #E0B75A;
    --actif: #F0C868;
    --lien: #F0C868;
    --focus: #F0C868;
    --ok: #7FB08C;
    --ok-fond: #1C2A20;
    --alerte: #E0A15C;
    --alerte-fond: #33251A;
    --erreur: #F0897D;
    --erreur-fond: #3A1C19;
    --voile: rgba(0, 0, 0, .6);
    --ombre-s: 0 1px 2px rgba(0,0,0,.3), 0 4px 12px -6px rgba(0,0,0,.5);
    --ombre-m: 0 2px 6px rgba(0,0,0,.3), 0 16px 32px -18px rgba(0,0,0,.7);
    --ombre-l: 0 4px 12px rgba(0,0,0,.35), 0 30px 60px -28px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fond: #15100E;
  --surface: #1F1815;
  --surface-2: #2A211D;
  --texte: #F3ECE1;
  --texte-2: #A99C8D;
  --bordure: #362C26;
  --bordure-forte: #4D4037;
  --pointilles: #5A4B40;
  --accent: #E0B75A;
  --actif: #F0C868;
  --lien: #F0C868;
  --focus: #F0C868;
  --ok: #7FB08C;
  --ok-fond: #1C2A20;
  --alerte: #E0A15C;
  --alerte-fond: #33251A;
  --erreur: #F0897D;
  --erreur-fond: #3A1C19;
  --voile: rgba(0, 0, 0, .6);
  --ombre-s: 0 1px 2px rgba(0,0,0,.3), 0 4px 12px -6px rgba(0,0,0,.5);
  --ombre-m: 0 2px 6px rgba(0,0,0,.3), 0 16px 32px -18px rgba(0,0,0,.7);
  --ombre-l: 0 4px 12px rgba(0,0,0,.35), 0 30px 60px -28px rgba(0,0,0,.8);
  color-scheme: dark;
}

/* ================================================================= base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--bordure-forte) transparent; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 400 1rem/1.6 var(--titres);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--titres); line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--lien); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--or-vif); color: var(--anthracite); }
input, textarea { caret-color: var(--bordeaux); }
:root:not([data-theme="light"]) input, :root:not([data-theme="light"]) textarea { caret-color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sombre :focus-visible { outline-color: var(--or-vif); }
.num, .prix { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.enveloppe { max-width: var(--max); margin-inline: auto; padding-inline: var(--gouttiere); }
.etroit { max-width: 760px; }
.discret { color: var(--texte-2); font-size: .9rem; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }

.lien {
  background: none; border: 0; padding: 0; color: var(--lien);
  text-decoration: underline; text-underline-offset: 3px; font-weight: 600;
}

/* --------------------------------------------------------------- boutons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 13px 28px;
  border: 0; border-radius: var(--pill);
  font: 600 1rem/1.2 var(--titres); text-decoration: none; text-align: center;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease), color .2s;
}
.btn:active { transform: scale(.98); }
.btn--or { background: var(--or-vif); color: var(--anthracite); box-shadow: var(--ombre-or); }
.btn--or:hover { background: #F6D584; transform: translateY(-1px); }
.btn--bordeaux { background: var(--bordeaux); color: #FFF8EE; }
.btn--bordeaux:hover { background: var(--bordeaux-vif); }
.btn--ligne { background: transparent; color: #FFF8EE; box-shadow: inset 0 0 0 1.5px rgba(255, 248, 238, .45); }
.btn--ligne:hover { box-shadow: inset 0 0 0 1.5px #FFF8EE; }
.btn--clair { background: var(--surface-2); color: var(--texte); }
.btn--clair:hover { background: var(--bordure); }
.btn--petit { min-height: 44px; padding: 10px 18px; font-size: .92rem; }
.btn--large { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"]::after {
  content: ""; width: 1em; height: 1em; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: tourne .7s linear infinite;
}
@keyframes tourne { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------------- marque */

.marque { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.marque img { width: 74px; height: auto; }
.marque__mot {
  font-size: 11px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
  color: var(--or-clair); padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .28);
  line-height: 1.6;
}

/* =========================================================== page accueil */

.sombre { background: var(--bordeaux-nuit); color: #F6F1E7; }

.tete { position: sticky; top: 0; z-index: 30; }
.tete__in {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px; max-width: var(--max); margin-inline: auto; padding-inline: var(--gouttiere);
}
.tete__nav { display: flex; gap: 28px; }
.tete__nav a, .tete__connexion {
  color: rgba(246, 241, 231, .86); text-decoration: none; font-size: .94rem; font-weight: 500;
}
.tete__nav a:hover, .tete__connexion:hover { color: #FFF; text-decoration: underline; }
.tete__connexion { white-space: nowrap; }
.tete__actions { display: flex; align-items: center; gap: 18px; }

.heros { position: relative; overflow: hidden; padding-bottom: 150px; }
.heros::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(196, 154, 58, .16), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(155, 48, 64, .45), transparent 70%);
}
.heros__in {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(28px, 5vw, 72px); max-width: var(--max); margin-inline: auto;
  padding: clamp(32px, 6vw, 72px) var(--gouttiere) 0;
}
.heros h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02;
  color: #FFF8EE;
}
.heros h1 em { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--or-vif); letter-spacing: -.02em; }
.heros__chapo { margin-top: 22px; max-width: 34em; font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: rgba(246, 241, 231, .84); }
.heros__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.heros__preuves { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: .93rem; color: rgba(246, 241, 231, .84); }
.preuve-google { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #FFF8EE; text-decoration: none; }
.preuve-google b { font-size: 1.05rem; font-weight: 800; }
.preuve-google:hover .preuve-google__n { text-decoration: underline; text-underline-offset: 3px; }
.preuve-google__n { color: rgba(246, 241, 231, .84); }
.logo-g { flex: none; width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: #FFF; }
.etoiles { display: inline-flex; gap: 1px; }
.etoiles svg { width: 14px; height: 14px; fill: var(--or-vif); }
.heros__depuis b { color: var(--or-vif); font-weight: 600; }
.heros__deja { margin-top: 10px; font-size: .92rem; color: rgba(246, 241, 231, .74); }
.heros__deja a { color: var(--or-vif); font-weight: 600; }
.heros__photo { margin: 0; position: relative; }
.heros__photo img {
  width: 100%; aspect-ratio: 1100 / 923; object-fit: cover;
  border-radius: var(--r); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7);
}

/* Signature : la carte des conditions, une carte de menu a points de conduite. */
.conditions { position: relative; z-index: 2; margin-top: -112px; padding-inline: var(--gouttiere); }
.menu-carte {
  max-width: 820px; margin-inline: auto;
  background: var(--surface); border-radius: var(--r); box-shadow: var(--ombre-l);
  padding: clamp(26px, 4vw, 44px) clamp(22px, 5vw, 56px) clamp(24px, 3.5vw, 38px);
}
.menu-carte__titre { text-align: center; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--texte); letter-spacing: -.01em; }
.menu-carte__filet { width: 64px; height: 2px; margin: 14px auto 22px; border: 0; background: var(--or); }
.points { margin: 0; display: grid; gap: 4px; }
.point { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; }
.point dt { order: 0; font-weight: 500; color: var(--texte-2); white-space: nowrap; }
.point::before {
  content: ""; order: 1; flex: 1 1 24px; min-width: 24px;
  border-bottom: 2px dotted var(--pointilles); transform: translateY(-5px);
}
.point dd { order: 2; margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.menu-carte__note { margin-top: 18px; text-align: center; font-size: .88rem; color: var(--texte-2); }

@media (prefers-reduced-motion: no-preference) {
  .menu-carte { animation: carte-monte .9s var(--ease) .15s both; }
  .point::before { transform-origin: left; animation: pointilles .7s var(--ease) both; animation-delay: calc(.5s + var(--i, 0) * 70ms); }
  @keyframes carte-monte { from { opacity: 0; transform: translateY(32px); } }
  @keyframes pointilles { from { transform: translateY(-5px) scaleX(0); } }
}

.section { padding-block: clamp(64px, 9vw, 112px); }
.section__titre { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; }
.section__titre em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); letter-spacing: -.015em; }
.section__intro { margin-top: 14px; max-width: 40em; color: var(--texte-2); font-size: 1.05rem; }

.comment__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.etapes__liste { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: etape; }
.etapes__liste li {
  counter-increment: etape; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px;
  padding: 20px 0; border-top: 1px solid var(--bordure-forte);
}
.etapes__liste li::before {
  content: counter(etape); grid-row: span 2;
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 2.6rem; line-height: .95; color: var(--accent);
}
.etapes__liste h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.015em; }
.etapes__liste p { margin-top: 6px; color: var(--texte-2); }

/* Le panier d'exemple : ce que l'equipe verra, aux prix de la carte. */
.panier-demo { margin: 0; position: sticky; top: 104px; }
.panier-demo__carte {
  background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r);
  box-shadow: var(--ombre-l); padding: 22px 22px 20px;
}
.panier-demo__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--bordure); }
.panier-demo__titre { font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em; }
.panier-demo__jour { font-size: .86rem; color: var(--texte-2); white-space: nowrap; }
.panier-demo__qui { list-style: none; margin: 0; padding: 0; }
.panier-demo__qui li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 13px 0; border-bottom: 1px dashed var(--bordure-forte);
}
.panier-demo__avatar {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--c, var(--bordeaux)); color: #FFF8EE; font-weight: 700; font-size: .95rem;
}
.panier-demo__nom { font-weight: 600; font-size: .95rem; }
.panier-demo__plats { font-size: .84rem; line-height: 1.4; color: var(--texte-2); }
.panier-demo__prix { font-weight: 700; font-size: .95rem; white-space: nowrap; }
.panier-demo__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; font-weight: 600; }
.panier-demo__total b { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.panier-demo__jauge { height: 10px; margin-top: 12px; border-radius: var(--pill); background: var(--surface-2); overflow: hidden; }
.panier-demo__jauge span {
  display: block; height: 100%; width: calc(var(--p, 1) * 100%); border-radius: inherit;
  background: linear-gradient(90deg, var(--or), var(--or-vif)); transition: width 1.1s var(--ease) .15s, background-color .3s;
}
.panier-demo--ok .panier-demo__jauge span { background: var(--ok); }
.panier-demo__etat { display: flex; align-items: center; gap: 7px; margin-top: 11px; font-size: .88rem; font-weight: 600; color: var(--alerte); }
.panier-demo--ok .panier-demo__etat { color: var(--ok); }
.panier-demo__etat svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.panier-demo:not(.panier-demo--ok) .panier-demo__etat svg { display: none; }
.panier-demo figcaption { margin-top: 12px; text-align: center; font-family: var(--serif); font-style: italic; font-size: .92rem; color: var(--texte-2); }
@media (prefers-reduced-motion: no-preference) {
  .panier-demo[data-attente] .panier-demo__jauge span { width: 0; }
}

.carte { background: var(--surface-2); }
.carte__tete { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.onglets { display: flex; gap: 8px; margin-top: 30px; overflow-x: auto; padding: 3px; scrollbar-width: none; }
.onglets::-webkit-scrollbar { display: none; }
.onglets button {
  flex: none; min-height: 44px; padding: 9px 18px; border-radius: var(--pill);
  border: 1px solid var(--bordure-forte); background: transparent; font-weight: 600; font-size: .93rem; color: var(--texte);
  transition: background-color .2s, border-color .2s, color .2s;
}
.onglets button:hover { border-color: var(--texte-2); }
.onglets button[aria-selected="true"] { background: var(--bordeaux); border-color: var(--bordeaux); color: #FFF8EE; }
.tuiles {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px 18px;
}
.tuile__photo { aspect-ratio: 4 / 3; border-radius: var(--r-s); overflow: hidden; background: var(--bordure); }
.tuile__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tuile:hover .tuile__photo img { transform: scale(1.04); }
.tuile__nom { margin-top: 10px; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.tuile__bas { display: flex; justify-content: space-between; gap: 10px; margin-top: 2px; font-size: .9rem; }
.tuile__format { color: var(--texte-2); }
.tuile__prix { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tuile--squelette .tuile__photo, .tuile--squelette .tuile__nom, .tuile--squelette .tuile__bas {
  background: linear-gradient(90deg, var(--bordure) 0%, var(--surface) 50%, var(--bordure) 100%) 0 0 / 200% 100%;
  animation: lueur 1.4s linear infinite; border-radius: 8px; color: transparent;
}
.tuile--squelette .tuile__photo { border-radius: var(--r-s); }
@keyframes lueur { to { background-position: -200% 0; } }
.carte__suite { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

.maison__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.maison__photos { position: relative; padding-bottom: 16%; }
.maison__photo { border-radius: var(--r); object-fit: cover; }
.maison__photo--grande { width: 86%; aspect-ratio: 4 / 3; }
.maison__photo--petite {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1;
  border: 6px solid var(--fond); box-shadow: var(--ombre-m);
}
.maison__texte { margin-top: 18px; max-width: 36em; font-size: 1.05rem; color: var(--texte-2); }
.maison__chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--bordure-forte); }
.maison__chiffres div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.maison__chiffres dd { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.15rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--actif); font-variant-numeric: tabular-nums lining-nums; }
.maison__chiffres dt { font-size: .86rem; line-height: 1.4; color: var(--texte-2); }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 18px; font-weight: 600; text-decoration: none; }
.lien-fleche:hover { text-decoration: underline; }
.lien-fleche svg, .enseignes__lien svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.lien-fleche:hover svg { transform: translateX(3px); }

.enseignes {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  margin-top: clamp(48px, 7vw, 84px); padding: 24px clamp(18px, 3vw, 30px);
  border-radius: var(--r); background: var(--surface-2);
}
.enseignes__titre { font-weight: 600; font-size: .98rem; max-width: 15em; line-height: 1.4; }
.enseignes__logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.enseignes__logos li { display: grid; place-items: center; height: 56px; padding: 0 16px; border-radius: var(--r-s); background: #FFF; }
.enseignes__logos img { width: auto; height: 26px; }
.enseignes__lien { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .93rem; }

.avis { background: var(--surface-2); }
.avis__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 24px; }
.avis__note {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 18px 8px 10px;
  border-radius: var(--pill); background: var(--surface); box-shadow: var(--ombre-s);
  color: var(--texte); text-decoration: none; font-size: .93rem;
}
.avis__note b { font-size: 1.2rem; font-weight: 800; }
.avis__note .etoiles svg { fill: var(--or); }
.avis__note:hover span { text-decoration: underline; text-underline-offset: 3px; }
.avis__piste { margin-top: 34px; border-radius: var(--r); }
.avis__liste { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 18px; }
.avis__carte { break-inside: avoid; margin: 0 0 18px; padding: 22px 22px 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--ombre-s); }
.avis__carte blockquote { margin: 0; }
.avis__carte blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.07rem; line-height: 1.55; color: var(--texte); }
.avis__auteur { margin-top: 14px; font-size: .86rem; color: var(--texte-2); }
.avis__auteur b { color: var(--texte); font-weight: 600; }

.appel__preuves { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: .9rem; color: rgba(246, 241, 231, .82); }
.appel__preuves li { display: inline-flex; align-items: center; gap: 7px; }
.appel__preuves svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--or-vif); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.occasions__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.occasions figure { margin: 0; }
.occasions img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.occasions__liste { list-style: none; margin: 26px 0 0; padding: 0; }
.occasions__liste li { padding: 12px 0; border-bottom: 1px solid var(--bordure); font-family: var(--serif); font-style: italic; font-size: 1.18rem; }
.occasions__liste li:first-child { border-top: 1px solid var(--bordure); }

.zone { background: var(--surface-2); }
.zone__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.communes { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.communes li { padding: 7px 14px; border-radius: var(--pill); background: var(--surface); font-weight: 500; font-size: .93rem; }
.communes .num { color: var(--texte-2); font-weight: 400; margin-left: 4px; }
.verif { background: var(--surface); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); box-shadow: var(--ombre-s); }
.verif h3 { font-size: 1.15rem; font-weight: 700; }
.verif__ligne { display: flex; gap: 10px; margin-top: 16px; }
.verif__ligne .champ__saisie { flex: 1; min-width: 0; }
.verif__resultat { margin-top: 14px; min-height: 1.6em; font-weight: 500; }
.verif__resultat--ok { color: var(--ok); }
.verif__resultat--non { color: var(--alerte); }

/* Seminaire, buffet, evenement : la demande de devis, sans compte. */
.devis { background: var(--surface-2); }
.devis__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.devis__points { list-style: none; margin: 26px 0 0; padding: 0; }
.devis__points li { padding: 12px 0; border-bottom: 1px solid var(--bordure-forte); }
.devis__points li:first-child { border-top: 1px solid var(--bordure-forte); }
.devis__points strong { display: block; font-weight: 700; }
.devis__points span { color: var(--texte-2); font-size: .93rem; }
.devis__contact { margin-top: 22px; color: var(--texte-2); font-size: .93rem; }
.devis__form { background: var(--surface); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); box-shadow: var(--ombre-s); }
.devis__form .form__actions .btn { width: 100%; }

.faq__liste { margin-top: 30px; border-top: 1px solid var(--bordure-forte); }
.faq__liste details { border-bottom: 1px solid var(--bordure-forte); }
.faq__liste summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.04rem;
}
.faq__liste summary::-webkit-details-marker { display: none; }
.faq__liste summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease);
}
.faq__liste details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq__liste details p { padding: 0 0 20px; color: var(--texte-2); max-width: 46em; }

.appel {
  background: var(--bordeaux-nuit) url(/images/texture-bordeaux.webp) center / cover no-repeat;
  text-align: center;
}
.appel h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; color: #FFF8EE; }
.appel h2 em { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--or-vif); }
.appel p { margin: 18px auto 0; max-width: 34em; color: rgba(246, 241, 231, .84); }
.appel .btn { margin-top: 30px; }

.pied { background: var(--anthracite); color: rgba(246, 241, 231, .78); padding: 48px 0 32px; font-size: .92rem; }
.pied__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.pied a { color: rgba(246, 241, 231, .9); }
.pied__liens { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pied__legal { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(246, 241, 231, .62); }

@media (max-width: 960px) {
  .tete__nav { display: none; }
  .heros__in { grid-template-columns: 1fr; }
  .heros { padding-bottom: 120px; }
  .heros__photo { max-width: 560px; }
  .comment__in, .maison__in { grid-template-columns: 1fr; }
  .panier-demo { position: static; max-width: 460px; }
  .maison__photos { max-width: 560px; }
  .occasions__in, .zone__in, .devis__in { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .tete__connexion { display: none; }
}
@media (max-width: 560px) {
  .tete__in { min-height: 62px; }
  .marque img { width: 60px; }
  .marque { gap: 10px; }
  .marque__mot { padding-left: 10px; letter-spacing: .26em; }
  .tete__actions { gap: 12px; }
  .tete__connexion { font-size: .88rem; }
  .heros__actions .btn { width: 100%; }
  .heros { padding-bottom: 96px; }
  .conditions { margin-top: -72px; }
  .point { flex-wrap: wrap; gap: 0 10px; padding: 8px 0; }
  .point dt { white-space: normal; }
  .point::before { display: none; }
  .point dd { flex-basis: 100%; text-align: left; }
  .points { gap: 0; }
  .point + .point { border-top: 1px dotted var(--pointilles); }
  .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .tuile__bas { flex-direction: column; gap: 0; }
  .verif__ligne { flex-direction: column; }
  .etapes__liste li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; }
  .etapes__liste li::before { font-size: 2.2rem; }
  .panier-demo__carte { padding: 18px 16px 16px; }
  .panier-demo__qui li { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; }
  .panier-demo__avatar { width: 34px; height: 34px; font-size: .88rem; }
  .maison__chiffres { gap: 12px; }
  .maison__chiffres dd { font-size: 1.45rem; }
  .maison__chiffres dt { font-size: .8rem; }
  .enseignes__logos { gap: 8px; }
  .enseignes__logos li { height: 48px; padding: 0 12px; }
  .enseignes__logos img { height: 22px; }
}
@media (max-width: 700px) {
  .avis__piste { margin-inline: calc(-1 * var(--gouttiere)); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gouttiere); scrollbar-width: none; }
  .avis__piste::-webkit-scrollbar { display: none; }
  .avis__liste { columns: auto; display: flex; gap: 14px; width: max-content; padding: 4px var(--gouttiere) 12px; }
  .avis__carte { flex: none; width: min(82vw, 340px); margin: 0; scroll-snap-align: start; }
}

/* ================================================================== appli */

.page-app { min-height: 100vh; min-height: 100dvh; }

.app-tete { position: sticky; top: 0; z-index: 40; }
.app-tete__in {
  display: flex; align-items: center; gap: 20px;
  min-height: 64px; max-width: var(--max); margin-inline: auto; padding-inline: var(--gouttiere);
}
.app-tete .marque img { width: 58px; }
.onglets-app { display: flex; gap: 4px; margin-left: 12px; }
.onglets-app a {
  padding: 8px 14px; border-radius: var(--pill); text-decoration: none;
  color: rgba(246, 241, 231, .8); font-weight: 500; font-size: .94rem;
}
.onglets-app a:hover { color: #FFF; background: rgba(255, 255, 255, .07); }
.onglets-app a[aria-current="page"] { color: var(--anthracite); background: var(--or-vif); font-weight: 600; }
.app-tete__qui { margin-left: auto; font-size: .88rem; color: rgba(246, 241, 231, .76); text-align: right; line-height: 1.3; max-width: 40%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-tete__retour {
  display: inline-flex; align-items: center; gap: 6px; flex: none; margin-left: auto;
  min-height: 40px; padding: 0 16px 0 12px; border-radius: var(--pill); text-decoration: none;
  color: rgba(246, 241, 231, .86); font-weight: 500; font-size: .9rem;
  border: 1px solid rgba(246, 241, 231, .24); transition: color .2s, border-color .2s;
}
.app-tete__retour:hover { color: #FFF; border-color: rgba(246, 241, 231, .55); }
.app-tete__retour svg { width: 16px; height: 16px; }
.app-tete__qui ~ .app-tete__retour { margin-left: 0; }

.bandeau-demo {
  background: var(--alerte-fond); color: var(--alerte); text-align: center;
  font-size: .86rem; font-weight: 500; padding: 8px var(--gouttiere);
}

.ecran { max-width: var(--max); margin-inline: auto; padding: 28px var(--gouttiere) 120px; }
.ecran__titre { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; }
.ecran__titre:focus { outline: none; }
.ecran__sous { margin-top: 6px; color: var(--texte-2); }
.retour { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-weight: 600; font-size: .94rem; text-decoration: none; }
.retour::before { content: "\2190"; }

.chargement { display: grid; place-items: center; gap: 14px; min-height: 50vh; text-align: center; color: var(--texte-2); }
.chargement__rond {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--bordure); border-top-color: var(--bordeaux);
  animation: tourne .8s linear infinite;
}

/* -------------------------------------------------------------- formulaires */

.champ { display: grid; gap: 6px; }
.champ + .champ, .champs + .champ, .champ + .champs { margin-top: 16px; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champs + .champs { margin-top: 16px; }
.champs > .champ + .champ { margin-top: 0; }   /* la grille espace deja ses colonnes */
.champ__label { font-weight: 600; font-size: .93rem; }
.champ__label small { font-weight: 400; color: var(--texte-2); font-size: .85rem; }
.champ__saisie {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--bordure-forte); border-radius: var(--r-s);
  background: var(--surface); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
textarea.champ__saisie { min-height: 88px; resize: vertical; line-height: 1.5; }
.champ__saisie:hover { border-color: var(--texte-2); }
.champ__saisie:focus { outline: none; border-color: var(--bordeaux); box-shadow: 0 0 0 3px rgba(196, 154, 58, .35); }
.champ__saisie[aria-invalid="true"] { border-color: var(--erreur); }
.champ__aide { font-size: .86rem; color: var(--texte-2); }
.champ__aide--ok { color: var(--ok); font-weight: 500; }
.champ__aide--non { color: var(--alerte); font-weight: 500; }
.champ__erreur, .form__erreur { color: var(--erreur); font-size: .9rem; font-weight: 500; }
.form__erreur { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-s); background: var(--erreur-fond); }
.form__ok { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-s); background: var(--ok-fond); color: var(--ok); font-weight: 500; font-size: .92rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset + fieldset { margin-top: 30px; }
legend { padding: 0; margin-bottom: 14px; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.case { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: .93rem; }
.case input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--bordeaux); }
.form__actions { margin-top: 24px; }
.form__note { margin-top: 12px; font-size: .86rem; line-height: 1.5; color: var(--texte-2); text-align: center; }

/* ------------------------------------------------------------------ porte */

.porte { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.porte__visuel { position: sticky; top: 92px; margin: 0; }
.porte__visuel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.porte__corps { max-width: 520px; padding-top: 12px; }
.porte__corps form { margin-top: 26px; }
.porte__bascule { margin-top: 22px; color: var(--texte-2); }
.porte__bascule a { font-weight: 600; }
.demo-lien { margin-top: 22px; padding: 18px; border-radius: var(--r-s); background: var(--alerte-fond); }
.demo-lien p { color: var(--alerte); font-size: .9rem; font-weight: 500; margin-bottom: 12px; }
.ferme { max-width: 560px; margin: 8vh auto 0; text-align: center; }
.ferme p { margin-top: 14px; color: var(--texte-2); }
.ferme .btn { margin-top: 24px; }

/* --------------------------------------------------------------- commander */

.commander { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }

.attente {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px; padding: 14px 18px; border-radius: var(--r-s);
  background: var(--alerte-fond); color: var(--alerte); font-weight: 500;
}

/* ---------------------------------------------------------------- accueil */

.accueil-app { margin-bottom: 26px; }
.accueil-app__tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; }
.accueil-app__titre {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.05;
}
.accueil-app__sous { margin-top: 8px; max-width: 56ch; color: var(--texte-2); font-size: .96rem; }
.rebours {
  display: inline-block; padding: 1px 9px; border-radius: var(--pill);
  background: rgba(196, 154, 58, .18); color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums;
}
.prochaine {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px;
  border-radius: var(--pill); background: var(--surface); border: 1px solid var(--bordure);
  box-shadow: var(--ombre-s); color: var(--texte); text-decoration: none; font-size: .88rem;
  transition: border-color .2s, transform .25s var(--ease);
}
.prochaine:hover { border-color: var(--bordure-forte); transform: translateY(-1px); }
.prochaine__point { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-fond); }

.raccourcis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; margin-top: 20px; }
.raccourci {
  display: grid; gap: 14px; align-content: start; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r);
}
.raccourci__titre { font-size: 1.06rem; font-weight: 800; letter-spacing: -.02em; }
.raccourci__info { margin-top: 3px; font-size: .88rem; color: var(--texte-2); font-variant-numeric: tabular-nums; }
.raccourci__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.raccourci__actions:empty { display: none; }
.raccourci--chaud {
  position: relative; overflow: hidden; border-color: transparent; color: #FFF8EE;
  background: radial-gradient(120% 140% at 100% 0%, var(--bordeaux-vif) 0%, var(--bordeaux) 46%, var(--bordeaux-nuit) 100%);
  box-shadow: var(--ombre-m);
}
.raccourci--chaud .raccourci__info { color: rgba(255, 248, 238, .78); }

.vignettes { display: flex; align-items: center; padding-left: 10px; }
.vignettes img, .vignettes__plus {
  width: 46px; height: 46px; margin-left: -10px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--bordeaux); background: var(--bordeaux-nuit);
}
.vignettes__plus { display: grid; place-items: center; font: 600 .78rem var(--titres); color: #FFF8EE; }

.trombi { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.trombi li {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  font: 700 .74rem var(--titres); letter-spacing: .02em;
}
.trombi .a-choisi { background: var(--ok-fond); color: var(--ok); box-shadow: inset 0 0 0 1.5px currentColor; }
.trombi .attend { color: var(--texte-2); box-shadow: inset 0 0 0 1.5px var(--pointilles); background: var(--surface-2); }
.trombi__plus { font-weight: 600; }

.habituels { margin-bottom: 26px; }
.habituels__titre { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.habituels__liste {
  list-style: none; margin: 12px 0 0; padding: 2px 2px 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 152px; gap: 12px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin;
}
.habituels__liste li { scroll-snap-align: start; }
.habitude {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; width: 100%; height: 100%;
  padding: 0 0 12px; text-align: left; color: var(--texte); font: inherit;
  background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r-s); overflow: hidden;
  transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.habitude:hover:not(:disabled) { border-color: var(--bordure-forte); box-shadow: var(--ombre-s); transform: translateY(-2px); }
.habitude:disabled { opacity: .5; cursor: not-allowed; }
.habitude__photo { display: block; aspect-ratio: 4 / 3; background: var(--surface-2); }
.habitude__photo img { width: 100%; height: 100%; object-fit: cover; }
.habitude__nom {
  margin: 10px 12px 0; font-weight: 600; font-size: .88rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.habitude__pied { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 8px 12px 0; }
.habitude__prix { font-size: .86rem; color: var(--texte-2); font-variant-numeric: tabular-nums; }
.habitude__plus {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--or-vif); color: var(--anthracite); font: 700 1.1rem/1 var(--titres);
}
.habitude__n {
  position: absolute; top: 8px; right: 8px; min-width: 26px; height: 26px; padding: 0 7px;
  display: grid; place-items: center; border-radius: var(--pill);
  background: var(--anthracite); color: #FFF8EE; font: 700 .78rem var(--titres); box-shadow: var(--ombre-s);
}

.recherche { position: relative; margin-top: 22px; }
.recherche svg {
  position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%);
  fill: none; stroke: var(--texte-2); stroke-width: 1.9; stroke-linecap: round; pointer-events: none;
}
.recherche input {
  width: 100%; height: 48px; padding: 0 18px 0 44px; border-radius: var(--pill);
  border: 1px solid var(--bordure-forte); background: var(--surface); color: var(--texte); font: inherit; font-size: .95rem;
}
.recherche input::placeholder { color: var(--texte-2); }
.recherche input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: transparent; }
.recherche__vide { margin-top: 20px; padding: 22px; text-align: center; color: var(--texte-2); border: 1px dashed var(--bordure-forte); border-radius: var(--r); }

@keyframes rebond { 40% { transform: scale(1.05); } }
.rebond { animation: rebond .32s var(--ease); }

.livraison { padding-bottom: 22px; border-bottom: 1px solid var(--bordure); scroll-margin-top: 84px; }
.livraison__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.livraison h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.livraison__adresse { font-size: .9rem; color: var(--texte-2); }
.jours {
  display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; padding: 3px 3px 6px;
  scroll-snap-type: x proximity; scrollbar-width: thin;
}
.jour {
  flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 1px;
  width: 70px; padding: 10px 4px 9px; border-radius: var(--r-s);
  border: 1px solid var(--bordure-forte); background: var(--surface);
  transition: border-color .2s, background-color .2s, color .2s;
}
.jour:hover:not(:disabled) { border-color: var(--texte-2); }
.jour__j { font-size: .76rem; font-weight: 500; color: var(--texte-2); text-transform: capitalize; }
.jour__n { font-size: 1.3rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.jour__m { font-size: .74rem; color: var(--texte-2); }
.jour__etat { font-size: .68rem; font-weight: 600; color: var(--alerte); }
.jour[aria-pressed="true"] { background: var(--bordeaux); border-color: var(--bordeaux); color: #FFF8EE; }
.jour[aria-pressed="true"] .jour__j, .jour[aria-pressed="true"] .jour__m { color: rgba(255, 248, 238, .8); }
.jour:disabled { cursor: not-allowed; background: transparent; border-style: dashed; }
.jour:disabled .jour__n { color: var(--texte-2); }
.creneaux { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.creneau {
  min-height: 46px; padding: 9px 18px; border-radius: var(--pill);
  border: 1px solid var(--bordure-forte); background: var(--surface); font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: border-color .2s, background-color .2s, color .2s;
}
.creneau:hover:not(:disabled) { border-color: var(--texte-2); }
.creneau small { display: block; font-size: .72rem; font-weight: 500; color: var(--alerte); }
.creneau[aria-pressed="true"] { background: var(--bordeaux); border-color: var(--bordeaux); color: #FFF8EE; }
.creneau:disabled { cursor: not-allowed; color: var(--texte-2); border-style: dashed; background: transparent; }
.livraison__info { margin-top: 12px; font-size: .92rem; color: var(--texte-2); }
.livraison__info--ok { color: var(--ok); font-weight: 500; }
.livraison__info--non { color: var(--alerte); font-weight: 500; }
.livraison--erreur .livraison__info { color: var(--erreur); font-weight: 600; }

.puces {
  position: sticky; top: 64px; z-index: 20; display: flex; gap: 6px;
  margin: 0 calc(-1 * var(--gouttiere)); padding: 12px var(--gouttiere);
  background: var(--fond); overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--bordure);
}
.puces::-webkit-scrollbar { display: none; }
.puces a {
  flex: none; padding: 8px 15px; border-radius: var(--pill); text-decoration: none;
  color: var(--texte); font-weight: 500; font-size: .9rem; background: var(--surface-2);
}
.puces a[aria-current="true"] { background: var(--anthracite); color: #FFF8EE; }
:root:not([data-theme="light"]) .puces a[aria-current="true"] { background: var(--texte); color: var(--fond); }

.categorie { padding-top: 26px; scroll-margin-top: 130px; }
.categorie__titre { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.plats { list-style: none; margin: 10px 0 0; padding: 0; }
.plat {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--bordure);
}
.plat__photo { width: 88px; height: 88px; border-radius: var(--r-s); overflow: hidden; background: var(--surface-2); }
.plat__photo img { width: 100%; height: 100%; object-fit: cover; }
.plat__nom { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.plat__format { font-size: .85rem; color: var(--texte-2); }
.plat__desc {
  margin-top: 2px; font-size: .85rem; color: var(--texte-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.plat__prix { margin-top: 4px; font-weight: 700; }
.plat__dispo { margin-top: 2px; font-size: .8rem; font-weight: 600; color: var(--alerte); }
.plat--indispo .plat__photo img { filter: grayscale(1); opacity: .6; }
.plat--indispo .plat__nom { color: var(--texte-2); }

.qte { display: flex; align-items: center; gap: 4px; }
.qte button {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--bordure-forte); background: var(--surface); font-size: 1.25rem; font-weight: 600; line-height: 1;
  transition: background-color .2s, border-color .2s, transform .15s var(--ease);
}
.qte button:hover:not(:disabled) { border-color: var(--bordeaux); }
.qte button:active:not(:disabled) { transform: scale(.92); }
.qte button:disabled { opacity: .35; cursor: not-allowed; }
.qte .qte__plus { background: var(--bordeaux); border-color: var(--bordeaux); color: #FFF8EE; }
.qte .qte__plus:hover:not(:disabled) { background: var(--bordeaux-vif); }
.qte__n { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qte__ajouter { display: none; }
.qte--vide .qte__moins, .qte--vide .qte__n { display: none; }
.qte--vide .qte__plus { width: auto; padding: 0 16px; border-radius: var(--pill); gap: 6px; display: inline-flex; font-size: .92rem; }
.qte--vide .qte__ajouter { display: inline; }
.qte--petit button { width: 32px; height: 32px; font-size: 1.05rem; }
.qte--petit .qte__n { min-width: 22px; font-size: .92rem; }

/* ------------------------------------------------------------------ panier */

.panier {
  position: sticky; top: 84px; display: flex; flex-direction: column;
  max-height: calc(100vh - 104px); max-height: calc(100dvh - 104px);
  background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r);
}
.panier__tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px 12px; }
.panier__tete h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.panier__fermer { display: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface-2); font-size: 1.4rem; line-height: 1; }
.panier__corps { flex: 1; overflow-y: auto; padding: 0 20px; scrollbar-width: thin; }
.panier__vide { padding: 18px 0 24px; color: var(--texte-2); font-size: .93rem; }
.groupe + .groupe { margin-top: 14px; }
.groupe__qui { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0 4px; font-size: .8rem; font-weight: 600; color: var(--texte-2); text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--bordure); }
.ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--bordure); font-size: .93rem; }
.ligne__nom { font-weight: 500; }
.ligne__detail { grid-column: 1; font-size: .82rem; color: var(--texte-2); font-variant-numeric: tabular-nums; }
.ligne__droite { grid-row: 1 / span 2; grid-column: 2; display: grid; justify-items: end; gap: 4px; }
.ligne__total { font-weight: 700; font-variant-numeric: tabular-nums; }
.ligne--indispo .ligne__nom { text-decoration: line-through; color: var(--texte-2); }
.ligne__alerte { grid-column: 1 / -1; font-size: .8rem; color: var(--alerte); font-weight: 600; }
.ligne__retirer {
  min-height: 36px; padding: 6px 14px; border-radius: var(--pill); border: 1px solid var(--alerte);
  background: var(--alerte-fond); color: var(--alerte); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer;
}
.ligne__retirer:hover { background: var(--alerte); color: var(--surface); }
.ligne__retirer:disabled { opacity: .55; cursor: progress; }
.panier__pied { padding: 16px 20px 20px; border-top: 1px solid var(--bordure); }
.jauge__texte { font-size: .86rem; color: var(--texte-2); }
.jauge__texte strong { color: var(--texte); }
.jauge__barre { height: 6px; margin-top: 8px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.jauge__barre span { display: block; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--or); transition: transform .4s var(--ease); }
.jauge--ok .jauge__barre span { background: var(--ok); }
.jauge--ok .jauge__texte { color: var(--ok); font-weight: 500; }
.panier__total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 12px; }
.panier__total strong { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.panier__pied .form__erreur { margin: 0 0 12px; }

/* Budget par personne fixe par l'administrateur. */
.budget { margin-top: 12px; }
.budget__texte { font-size: .86rem; color: var(--texte-2); }
.budget__texte strong { color: var(--texte); }
.budget__barre { height: 6px; margin-top: 8px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.budget__barre span { display: block; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--accent); transition: transform .4s var(--ease); }
.budget--depasse .budget__texte { color: var(--erreur); font-weight: 500; }
.budget--depasse .budget__barre span { background: var(--erreur); }
.suggestions { margin-top: 14px; }
.suggestions__titre { font-size: .8rem; font-weight: 600; color: var(--texte-2); }
.suggestions__liste { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.suggestion {
  display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 36px; padding: 6px 12px 6px 8px;
  border-radius: var(--pill); border: 1px dashed var(--bordure-forte); background: transparent;
  color: var(--texte); font: inherit; font-size: .84rem; transition: border-color .2s, background-color .2s;
}
.suggestion:hover { border-style: solid; background: var(--surface-2); }
.suggestion__plus {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--or-vif); color: var(--anthracite); font-weight: 700; line-height: 1;
}
.suggestion__nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.suggestion__prix { flex: none; color: var(--texte-2); font-variant-numeric: tabular-nums; }

.barre-panier { display: none; }

/* ---------------------------------------------------- paiement, confirmation */

.recap { margin-top: 22px; background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 22px; }
.recap__livraison { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--bordure); }
.recap__livraison strong { font-size: 1.08rem; }
.recap__livraison span { color: var(--texte-2); font-size: .92rem; }
.recap__lignes { list-style: none; margin: 0; padding: 6px 0; }
.recap__lignes li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .95rem; }
.recap__lignes small { display: block; color: var(--texte-2); font-size: .8rem; }
.recap__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--bordure); font-weight: 700; }
.recap__total strong { font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.payer { margin-top: 20px; }
.payer__note { margin-top: 10px; text-align: center; font-size: .86rem; color: var(--texte-2); }

.confirme { max-width: 640px; }
.confirme__sceau {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px;
  border-radius: 50%; background: var(--ok-fond); color: var(--ok);
}
.confirme__sceau svg { width: 30px; height: 30px; }
.confirme__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.conseil { margin-top: 18px; font-size: .9rem; color: var(--texte-2); }

/* Carte ou facture, pour l'administrateur d'un compte sur facture. */
.modes { display: grid; gap: 10px; margin-bottom: 18px; }
.modes__titre { margin-bottom: 10px; font-size: .98rem; }
.mode {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; cursor: pointer;
  border: 1px solid var(--bordure-forte); border-radius: var(--r-s); background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.mode input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--actif); }
.mode:has(input:checked) { border-color: var(--actif); box-shadow: inset 0 0 0 1px var(--actif); }
.mode:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.mode input:focus-visible { outline: none; }
.mode__corps { display: grid; gap: 2px; }
.mode__corps strong { font-weight: 600; }
.mode__corps small { font-size: .85rem; color: var(--texte-2); }

.virement { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-s); background: var(--surface-2); }
.virement dl { margin: 0; display: grid; gap: 10px; }
.virement dl div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 2px 14px; }
.virement dt { font-size: .86rem; color: var(--texte-2); }
.virement dd { margin: 0; font-weight: 600; }

/* ---------------------------------------------------------------- commandes */

.liste-commandes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.commande { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 18px 20px; }
/* Annulee : la commande s'efface, les bandeaux (motif, avoir, remboursement) restent lisibles. */
.commande--annulee .commande__tete, .commande--annulee .commande__plats, .commande--annulee .commande__total { opacity: .62; }
.commande__tete { display: flex; justify-content: space-between; align-items: start; gap: 12px; flex-wrap: wrap; }
.commande__quand { font-weight: 700; font-size: 1.02rem; }
.commande__quand::first-letter { text-transform: uppercase; }
.commande__ref { font-size: .82rem; color: var(--texte-2); font-variant-numeric: tabular-nums; }
.commande__plats {
  list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px 24px;
  font-size: .92rem; color: var(--texte-2);
}
.commande__plats b { color: var(--texte); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .commande__plats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.commande__pied { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.commande__total { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.commande__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.statut {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill);
  font-size: .78rem; font-weight: 600; background: var(--surface-2); color: var(--texte);
}
.statut::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.statut--a_payer { background: var(--alerte-fond); color: var(--alerte); }
.statut--confirmee { background: rgba(122, 31, 43, .1); color: var(--actif); }
.statut--en_preparation, .statut--en_livraison { background: rgba(196, 154, 58, .18); color: var(--accent); }
.statut--livree { background: var(--ok-fond); color: var(--ok); }
.statut--annulee { color: var(--texte-2); }

.commandes-groupe { margin-top: 28px; }
.commandes-groupe__titre { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.commandes-groupe .liste-commandes { margin-top: 12px; }
.commandes-plus { margin-top: 18px; }
.etapes { list-style: none; margin: 16px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.etape { display: grid; gap: 7px; font-size: .76rem; color: var(--texte-2); }
.etape::before { content: ""; height: 4px; border-radius: 4px; background: var(--surface-2); }
.etape--faite::before { background: var(--actif); }
.etape--en-cours { color: var(--texte); font-weight: 600; }
.etape--en-cours::before { background: var(--or); }
.commande__detail { margin-top: 2px; font-size: .9rem; }
.commande__detail summary { cursor: pointer; width: fit-content; padding: 11px 0; color: var(--lien); font-weight: 600; font-size: .86rem; }
.qui-quoi { list-style: none; margin: 10px 0 0; padding: 12px 14px; display: grid; gap: 6px; background: var(--surface-2); border-radius: var(--r-s); }
.qui-quoi li { display: grid; grid-template-columns: minmax(90px, auto) minmax(0, 1fr); gap: 12px; }
.qui-quoi b { font-weight: 600; }
.qui-quoi span { color: var(--texte-2); }

.vide-etat { margin-top: 26px; padding: 34px 22px; text-align: center; border: 1px dashed var(--bordure-forte); border-radius: var(--r); color: var(--texte-2); }
.vide-etat .btn { margin-top: 16px; }

/* Ce qui est arrive a la commande : retard, plat manquant, annulation, argent. */
.commande__bandeaux { display: grid; gap: 8px; margin-top: 12px; }
.bandeau {
  position: relative; padding: 10px 14px 10px 30px; border-radius: var(--r-s);
  background: var(--surface-2); font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere;
}
.bandeau::before {
  content: ""; position: absolute; left: 14px; top: calc(10px + .75em - 4px);
  width: 8px; height: 8px; border-radius: 50%; background: var(--ton, var(--texte-2));
}
.bandeau strong { font-weight: 600; }
.bandeau--alerte { --ton: var(--alerte); background: var(--alerte-fond); }
.bandeau--ok { --ton: var(--ok); background: var(--ok-fond); }
.bandeau--erreur { --ton: var(--erreur); background: var(--erreur-fond); }
.iban { font-variant-numeric: tabular-nums; letter-spacing: .02em; overflow-wrap: anywhere; }

/* Modifier ou annuler, jusqu'a la veille. */
.commande__gestes {
  display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--bordure);
}
.commande__limite { flex: 1 1 260px; font-size: .88rem; color: var(--texte-2); }

/* Avis sur une commande livree. */
.commande__avis {
  display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap;
  margin-top: 14px; padding: 12px 14px; border-radius: var(--r-s); background: var(--surface-2); font-size: .92rem;
}
.avis-moi { display: grid; gap: 10px; justify-items: start; margin-top: 14px; padding: 14px; border-radius: var(--r-s); background: var(--surface-2); }
.avis-moi__titre { font-weight: 700; font-size: .92rem; }
.avis-moi__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; width: 100%; font-size: .9rem; }
.avis-moi__notes li { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.avis-moi__notes li > span:first-child { min-width: 0; color: var(--texte-2); }
.avis-moi__mot { font-family: var(--serif); font-style: italic; }
.notation__lue { flex: none; display: inline-flex; gap: 2px; }
.notation__etoile svg { display: block; width: 16px; height: 16px; fill: none; stroke: var(--texte-2); stroke-width: 1.5; stroke-linejoin: round; }
.notation__etoile--pleine svg { fill: var(--or); stroke: var(--or); }

/* Panneau dans la carte : annuler, modifier, noter, commande habituelle. */
.panneau {
  display: grid; gap: 14px; margin-top: 14px; padding: 18px;
  border: 1px solid var(--bordure-forte); border-radius: var(--r-s); background: var(--fond);
}
.panneau__titre { font-size: 1.02rem; font-weight: 800; letter-spacing: -.015em; }
.panneau__texte { font-size: .92rem; color: var(--texte-2); }
.panneau__texte strong { color: var(--texte); font-weight: 600; }
.panneau .form__erreur { margin-top: 0; }
.panneau .champ + .champ { margin-top: 0; }
.panneau__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.notation { display: grid; }
.notation__plat { padding: 8px 0; border-bottom: 1px solid var(--bordure); }
.notation__plat:first-child { padding-top: 0; }
fieldset.notation__plat + fieldset.notation__plat { margin-top: 0; }
.notation__plat legend { margin-bottom: 2px; font-size: .94rem; font-weight: 600; }
.notation__etoiles { position: relative; display: flex; margin-left: -9px; }
.notation__etoiles label { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-s); cursor: pointer; }
.notation__etoiles svg {
  width: 26px; height: 26px; fill: none; stroke: var(--texte-2); stroke-width: 1.5; stroke-linejoin: round;
  transition: fill .15s, stroke .15s;
}
.notation__etoiles[data-note="1"] label:nth-of-type(-n+1) svg,
.notation__etoiles[data-note="2"] label:nth-of-type(-n+2) svg,
.notation__etoiles[data-note="3"] label:nth-of-type(-n+3) svg,
.notation__etoiles[data-note="4"] label:nth-of-type(-n+4) svg,
.notation__etoiles[data-note="5"] label:nth-of-type(-n+5) svg { fill: var(--or); stroke: var(--or); }
.notation__etoiles input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: -2px; }
@media (hover: hover) {
  .notation__etoiles:hover label:nth-of-type(n) svg { fill: none; stroke: var(--texte-2); }
  .notation__etoiles:hover label:hover svg,
  .notation__etoiles:hover label:has(~ label:hover) svg { fill: var(--or-clair); stroke: var(--or); }
}

.puces-choix legend { margin-bottom: 8px; font-size: .93rem; font-weight: 600; }
.puces-choix__liste { display: flex; flex-wrap: wrap; gap: 8px; }
.puce-choix { position: relative; }
.puce-choix input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.puce-choix span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--bordure-forte); border-radius: var(--pill); background: var(--surface);
  font-size: .92rem; font-weight: 500; transition: background .2s, border-color .2s, color .2s;
}
.puce-choix input:checked + span { background: var(--bordeaux); border-color: var(--bordeaux); color: #FFF8EE; }
.puce-choix input:checked + span::before { content: "\2713"; font-weight: 700; }
.puce-choix input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

/* En tete de « Mes commandes » : a regler, releves, commande habituelle. */
.factures-dues, .releves { list-style: none; margin: 0; padding: 0; }
.factures-dues li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--bordure); font-size: .92rem; }
.factures-dues a { font-weight: 600; overflow-wrap: anywhere; }
.factures-dues .prix { font-weight: 700; text-align: right; }
.factures-dues__quand { grid-column: 1 / -1; font-size: .84rem; color: var(--texte-2); }
.factures-dues__retard .factures-dues__quand { color: var(--erreur); font-weight: 500; }
.releves { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.releves li { display: grid; gap: 4px; justify-items: start; }
.releves small { max-width: 22em; font-size: .8rem; color: var(--texte-2); overflow-wrap: anywhere; }

/* Pieces d'une commande (PDF) et e-mails partis */
.ref-client { margin-bottom: 18px; }
.confirme .pieces { margin-top: 18px; text-align: left; }
.pieces__titre { margin: 0 0 10px; font-family: var(--titres); font-size: 1rem; font-weight: 700; }
.pieces__ref { margin: 0 0 10px; font-size: .88rem; color: var(--texte-2); }
.pieces__ref b { color: var(--texte); font-weight: 600; }
.pieces__liens { display: flex; flex-wrap: wrap; gap: 8px; }
.piece {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 7px 14px;
  border-radius: var(--r-s); background: var(--surface); border: 1px solid var(--bordure-forte); color: var(--texte);
  text-decoration: none; line-height: 1.3; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.piece:hover { border-color: var(--or); box-shadow: var(--ombre-s); }
.piece:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.piece b { font-size: .88rem; font-weight: 600; }
.piece small { font-size: .78rem; color: var(--texte-2); font-variant-numeric: tabular-nums; }
.pieces__envois { list-style: none; margin: 12px 0 0; padding: 12px 0 0; display: grid; gap: 8px; border-top: 1px solid var(--bordure); font-size: .84rem; line-height: 1.5; color: var(--texte-2); overflow-wrap: anywhere; }
.pieces__envois b { color: var(--texte); font-weight: 600; }
.pieces__envois em { font-style: normal; }
.pieces__echec em { color: var(--erreur); font-weight: 500; }
.commande__pieces .pieces { margin-top: 10px; padding: 12px 14px; background: var(--surface-2); border-radius: var(--r-s); }
.commande__pieces .piece { background: var(--surface); }
@media (prefers-reduced-motion: reduce) { .piece { transition: none; } }

/* ------------------------------------------------------------------ equipe */

.equipe { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; margin-top: 24px; align-items: start; }
.bloc { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r); padding: 22px; }
.bloc + .bloc { margin-top: 22px; }
.bloc__titre { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.membres { list-style: none; margin: 0; padding: 0; }
.membre { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bordure); }
.membre:last-child { border-bottom: 0; }
.membre__nom { font-weight: 600; }
.membre__email { font-size: .86rem; color: var(--texte-2); overflow-wrap: anywhere; }
.membre__role { font-size: .76rem; font-weight: 600; color: var(--accent); }
.fiche dt { font-size: .82rem; color: var(--texte-2); }
.fiche dd { margin: 0 0 12px; font-weight: 500; }
.sortie { margin-top: 30px; }
.bloc__texte { color: var(--texte-2); font-size: .93rem; }
.bloc__texte + form { margin-top: 18px; }
.saisie-euros { display: flex; align-items: center; gap: 10px; max-width: 220px; }
.saisie-euros .champ__saisie { flex: 1; min-width: 0; }
.saisie-euros span { font-weight: 600; color: var(--texte-2); }

/* -------------------------------------------------------------- navigation */

.nav-bas { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px);
  max-width: min(92vw, 440px); padding: 12px 18px; border-radius: var(--r-s);
  background: var(--anthracite); color: #FFF8EE; font-size: .93rem; font-weight: 500; box-shadow: var(--ombre-m);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
}
.toast--visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .commander { grid-template-columns: minmax(0, 1fr); }
  .equipe { grid-template-columns: minmax(0, 1fr); }
  .porte { grid-template-columns: minmax(0, 1fr); }
  .porte__visuel { display: none; }
  .porte__corps { max-width: none; }

  .panier { display: none; }
  .panier-ouvert .panier {
    display: flex; position: fixed; inset: 0; z-index: 60; max-height: none;
    border: 0; border-radius: 0; padding-top: env(safe-area-inset-top);
  }
  .panier-ouvert .panier__fermer { display: grid; place-items: center; }
  .panier-ouvert { overflow: hidden; }
  .panier__pied { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }

  .onglets-app { display: none; }
  .nav-bas {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--surface); border-top: 1px solid var(--bordure);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .nav-bas a {
    display: grid; justify-items: center; gap: 2px; padding: 9px 4px 8px;
    text-decoration: none; color: var(--texte-2); font-size: .72rem; font-weight: 500;
  }
  .nav-bas svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .nav-bas a[aria-current="page"] { color: var(--actif); font-weight: 600; }
  .nav-bas[hidden] { display: none; }

  .barre-panier {
    display: block; position: fixed; left: 0; right: 0; z-index: 45;
    bottom: calc(58px + env(safe-area-inset-bottom));
    padding: 10px var(--gouttiere) 12px; background: var(--surface);
    border-top: 1px solid var(--bordure); box-shadow: 0 -12px 24px -18px rgba(35, 33, 30, .4);
  }
  .barre-panier .jauge__barre { margin: 0 0 10px; height: 4px; }
  .barre-panier .btn { justify-content: space-between; }
  .ecran { padding-bottom: 200px; }
  .toast { bottom: calc(150px + env(safe-area-inset-bottom)); }
  .habituels__liste { margin-left: calc(-1 * var(--gouttiere)); margin-right: calc(-1 * var(--gouttiere)); padding-left: var(--gouttiere); padding-right: var(--gouttiere); scroll-padding-left: var(--gouttiere); scrollbar-width: none; }
  .habituels__liste::-webkit-scrollbar { display: none; }
}

@media (max-width: 560px) {
  .ecran { padding-top: 20px; }
  .app-tete__in { min-height: 58px; gap: 12px; }
  .app-tete .marque img { width: 50px; }
  .app-tete__retour { width: 40px; padding: 0; justify-content: center; }
  .app-tete__retour span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .puces { top: 58px; }
  .champs { grid-template-columns: 1fr; }
  .plat { grid-template-columns: 72px minmax(0, 1fr); gap: 4px 12px; }
  .plat__photo { width: 72px; height: 72px; grid-row: span 2; }
  .plat .qte { grid-column: 2; justify-self: end; }
  .commande { padding: 16px; }
  .recap, .bloc { padding: 18px; }
  .accueil-app { margin-bottom: 22px; }
  .prochaine { width: 100%; }
  .raccourci { padding: 16px; }
  .habituels__liste { grid-auto-columns: 138px; }
  .qui-quoi li { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .panneau { padding: 16px 14px; }
  .panneau__actions .btn, .commande__gestes .commande__actions { flex: 1 1 auto; }
  .commande__gestes .commande__actions .btn { flex: 1; }
  .virement dl div { grid-template-columns: minmax(0, 1fr); }
}

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

@media print {
  .tete, .app-tete, .nav-bas, .barre-panier, .toast, .bandeau-demo { display: none !important; }
}

/* Même fondu que le site (css/express.css) : sans cet accord des deux pages, Chrome lève une erreur en console. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
