/* =========================================================
   MAISON TERANGA — Feuille de style principale
   ---------------------------------------------------------
   Palette alignée sur le logo officiel de Maison Teranga :
   vert profond et or, sur des fonds crème. Les couleurs se
   règlent en un seul endroit, le bloc de variables ci-dessous
   (voir LISEZ-MOI.md, « Personnaliser les couleurs »).

   Sommaire
     1. Variables         8. Cartes de plats       15. Toast
     2. Base              9. Bandeaux et CTA        16. Badges
     3. Structure        10. Horaires, contact      17. Suivi de commande
     4. Boutons          11. Formulaires            18. Espace client
     5. En-tête          12. Panier                 19. Pied de page
     6. Menu mobile      13. Fiche produit          20. Utilitaires
     7. Héros            14. Feuilles (bottom sheet) 21. Mouvement, impression
   ========================================================= */

/* ---------- 1. VARIABLES ---------- */
:root {
  /* Couleurs de marque, prises sur le logo officiel : vert profond et or */
  --vert-nuit:        #0B2A10;   /* fonds sombres (pied de page, bandeaux) */
  --vert-nuit-fonce:  #061A09;
  --vert-nuit-clair:  #1C4A26;
  --vert:             #17502A;   /* couleur principale (boutons, liens) */
  --vert-fonce:       #0F3A1D;
  --vert-clair:       #4C8A5A;
  --vert-pale:        #E2EDE3;
  --or:               #BC8C3C;   /* accent doré du logo */
  --or-fonce:         #96702D;
  --or-clair:         #D9B56A;
  --or-pale:          #F6EBD3;
  --feuille:          #3E7A4A;   /* confirmations, succès */
  --feuille-pale:     #E3F0E4;
  --alerte:           #B3261E;
  --alerte-pale:      #FBE4E1;
  --info-pale:        #E7ECF3;

  /* Neutres chauds, pour laisser respirer le vert et l'or */
  --ink:    #14201A;
  --texte:  #3B4A40;
  --muted:  #6E7D72;
  --creme:  #FBF8F1;
  --sable:  #F3EEE2;
  --blanc:  #FFFFFF;
  --ligne:  #E6E0D2;

  /* Rayons, ombres */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-full: 999px;

  --ombre-s: 0 2px 8px rgba(31, 20, 14, .06);
  --ombre-m: 0 10px 30px rgba(31, 20, 14, .10);
  --ombre-l: 0 24px 60px rgba(31, 20, 14, .16);

  /* Dimensions */
  --max: 1200px;
  --nav-h: 76px;
  --barre-panier-h: 68px;

  /* Zones sûres iOS (encoche, barre du bas) */
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);

  --t: .32s cubic-bezier(.2, .7, .3, 1);

  --police-titre: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --police-texte: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--creme);
  overflow-x: hidden;
}
body.menu-ouvert, body.feuille-ouverte { overflow: hidden; }

[hidden] { display: none !important; }

img, svg { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--vert-fonce); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--vert-nuit); }

h1, h2, h3, h4 {
  font-family: var(--police-titre);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
small { font-size: .86em; }
strong { font-weight: 700; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--ligne); margin: 2rem 0; }

ul, ol { padding-left: 1.3em; }
.liste-nue { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--or-pale); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--or);
  outline-offset: 3px;
  border-radius: 4px;
}

button { font: inherit; color: inherit; }

/* Lien d'évitement (accessibilité clavier) */
.lien-evitement {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  padding: .7rem 1.1rem; border-radius: var(--r-sm);
  background: var(--ink); color: #fff; font-weight: 700;
}
.lien-evitement:focus { top: 1rem; }

/* ---------- 3. STRUCTURE ---------- */
.conteneur {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.conteneur--etroit { max-width: 820px; }
.conteneur--moyen  { max-width: 980px; }

main { display: block; }
body.a-barre-panier main { padding-bottom: calc(var(--barre-panier-h) + var(--safe-bottom) + 12px); }

.section { padding: clamp(3.2rem, 8vw, 6.2rem) 0; }
.section--compacte { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section--creme { background: var(--creme); }
.section--sable { background: var(--sable); }
.section--blanc { background: var(--blanc); }
.section--fonce { background: var(--vert-nuit-fonce); color: #DCE6DC; }
.section--fonce h2, .section--fonce h3 { color: #fff; }
.section--fonce a { color: var(--vert-clair); }
.section--motif {
  background-color: var(--sable);
  background-image: url("../img/motif.svg");
  background-size: 120px 120px;
}

.entete-section { max-width: 760px; margin: 0 auto clamp(2rem, 5vw, 3.2rem); text-align: center; }
.entete-section.gauche { margin-inline: 0; text-align: left; }
.entete-section p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.entete-section .surtitre { justify-content: center; }
.entete-section.gauche .surtitre { justify-content: flex-start; }

.surtitre {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--vert); margin-bottom: .9rem;
}
.surtitre::before { content: ""; width: 28px; height: 2px; background: var(--or); border-radius: 2px; }
.entete-section .surtitre::before { display: none; }
.section--fonce .surtitre { color: var(--or); }

.grille { display: grid; gap: 1.4rem; }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.deux-colonnes {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.deux-colonnes img { border-radius: var(--r-lg); box-shadow: var(--ombre-m); }

/* Fil d'Ariane */
.fil {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  font-size: .86rem; color: var(--muted); margin-bottom: 1rem;
}
.fil span { opacity: .6; }

/* ---------- 4. BOUTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.8rem; min-height: 48px;
  border-radius: var(--r-full);
  font-family: var(--police-texte); font-weight: 700; font-size: .97rem; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t), opacity var(--t);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.btn--primaire {
  background: linear-gradient(135deg, var(--vert-fonce) 0%, var(--vert) 100%);
  color: #fff; box-shadow: 0 8px 22px rgba(23, 80, 42, .28);
}
.btn--primaire:hover { color: #fff; box-shadow: 0 14px 32px rgba(23, 80, 42, .38); }

.btn--or {
  background: linear-gradient(135deg, var(--or) 0%, var(--or-clair) 100%);
  color: var(--ink); box-shadow: 0 8px 22px rgba(188, 140, 60, .32);
}
.btn--or:hover { color: var(--ink); box-shadow: 0 14px 32px rgba(188, 140, 60, .44); }

.btn--contour { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--contour:hover { background: var(--ink); color: #fff; }

.btn--clair {
  background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); color: #fff;
  backdrop-filter: blur(8px);
}
.btn--clair:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--doux { background: var(--vert-pale); color: var(--vert-fonce); }
.btn--doux:hover { background: var(--vert-clair); color: var(--vert-nuit-fonce); }

.btn--danger { background: var(--alerte-pale); color: var(--alerte); }
.btn--danger:hover { background: var(--alerte); color: #fff; }

.btn--succes { background: var(--feuille); color: #fff; }
.btn--succes:hover { background: #2F6139; color: #fff; }

.btn--bloc { width: 100%; }
.btn--petit { padding: .55rem 1.1rem; min-height: 40px; font-size: .86rem; }
.btn--grand { padding: 1.15rem 2.3rem; font-size: 1.05rem; min-height: 56px; }
.btn--icone { width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 50%; }
.btn .ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.groupe-btn { display: flex; flex-wrap: wrap; gap: .9rem; }
.groupe-btn--centre { justify-content: center; }

.btn--uber { background: #06C167; color: #fff; }
.btn--uber:hover { background: #049E55; color: #fff; }
.btn--deliveroo { background: #00CCBC; color: #fff; }
.btn--deliveroo:hover { background: #00A99C; color: #fff; }

/* ---------- 5. EN-TÊTE / NAVIGATION ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  display: flex; align-items: center;
  transition: background var(--t), box-shadow var(--t);
}
.entete.transparent { background: linear-gradient(180deg, rgba(6, 26, 9, .62), transparent); }
.entete.solide {
  background: rgba(251, 248, 241, .94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: var(--ombre-s);
  border-bottom: 1px solid var(--ligne);
}
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: flex; align-items: center; gap: .7rem; color: inherit; }
.logo__marque {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--creme); border: 2px solid var(--or);
  box-shadow: 0 6px 16px rgba(15, 58, 29, .18);
  transition: transform var(--t);
}
.logo:hover .logo__marque { transform: scale(1.06) rotate(-4deg); }
.logo__texte { display: flex; flex-direction: column; line-height: 1.05; }
.logo__nom { font-family: var(--police-titre); font-weight: 700; font-size: 1.15rem; letter-spacing: .01em; color: var(--ink); }
.logo__slogan { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.entete.transparent .logo__nom { color: #fff; }
.entete.transparent .logo__slogan { color: rgba(255, 255, 255, .82); }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  padding: .55rem .85rem; border-radius: var(--r-full);
  font-size: .93rem; font-weight: 600; color: var(--texte); white-space: nowrap;
}
.nav a:hover { background: var(--or-pale); color: var(--vert-fonce); }
.nav a.actif, .nav a[aria-current="page"] { color: var(--vert-fonce); background: var(--or-pale); }
.entete.transparent .nav a { color: rgba(255, 255, 255, .92); }
.entete.transparent .nav a:hover,
.entete.transparent .nav a.actif,
.entete.transparent .nav a[aria-current="page"] { background: rgba(255, 255, 255, .16); color: #fff; }

.entete__actions { display: flex; align-items: center; gap: .6rem; }

/* Bouton panier de l'en-tête */
.entete__panier {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--or-pale); color: var(--ink); border: 0; cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.entete__panier:hover { background: var(--or); transform: translateY(-1px); }
.entete__panier svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.entete.transparent .entete__panier { background: rgba(255, 255, 255, .18); color: #fff; }
.pastille-panier {
  position: absolute; top: -3px; right: -3px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-full);
  background: var(--vert); color: #fff; font-size: .7rem; font-weight: 800;
  line-height: 20px; text-align: center; border: 2px solid var(--creme);
}
.pastille-panier[hidden] { display: none; }

/* Burger */
.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  position: relative; border-radius: 50%;
}
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform var(--t), opacity var(--t), top var(--t);
}
.burger::before { top: 15px; }
.burger span { top: 21px; }
.burger::after { top: 27px; }
.entete.transparent .burger span, .entete.transparent .burger::before, .entete.transparent .burger::after { background: #fff; }
body.menu-ouvert .burger::before { top: 21px; transform: rotate(45deg); }
body.menu-ouvert .burger::after { top: 21px; transform: rotate(-45deg); }
body.menu-ouvert .burger span { opacity: 0; }
body.menu-ouvert .entete .burger::before, body.menu-ouvert .entete .burger::after { background: var(--ink); }

/* ---------- 6. MENU MOBILE ---------- */
.nav-mobile {
  position: fixed; inset: 0; z-index: 99;
  padding: calc(var(--nav-h) + var(--safe-top) + 1rem) 1.5rem calc(2rem + var(--safe-bottom));
  background: var(--creme);
  display: flex; flex-direction: column; gap: .25rem;
  overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform var(--t), opacity var(--t), visibility 0s linear var(--t);
}
body.menu-ouvert .nav-mobile { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
body.menu-ouvert .entete { background: var(--creme); box-shadow: none; }
body.menu-ouvert .entete .logo__nom { color: var(--ink); }
body.menu-ouvert .entete .logo__slogan { color: var(--muted); }
body.menu-ouvert .entete .nav a { color: var(--texte); }
.nav-mobile > a {
  padding: .95rem .6rem; border-bottom: 1px solid var(--ligne);
  font-family: var(--police-titre); font-size: 1.45rem; font-weight: 600; color: var(--ink);
}
.nav-mobile > a[aria-current="page"] { color: var(--vert); }
.nav-mobile .groupe-btn { margin-top: 1.4rem; flex-direction: column; }
.nav-mobile__coordonnees { margin-top: auto; padding-top: 1.5rem; font-size: .92rem; color: var(--muted); }

/* ---------- 7. HÉROS ---------- */
.hero {
  position: relative; min-height: min(92vh, 860px);
  display: flex; align-items: center; color: #fff;
  padding: calc(var(--nav-h) + var(--safe-top) + 3rem) 0 4rem;
  background: var(--vert-nuit-fonce) url("../img/photos/hero.webp") center / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 26, 9, .88) 0%, rgba(6, 26, 9, .62) 55%, rgba(6, 26, 9, .25) 100%);
}
.hero .conteneur { position: relative; }
.hero__contenu { max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 em { font-style: italic; color: var(--or); font-weight: 500; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .88); max-width: 560px; }
.hero .surtitre { color: var(--or); }
.hero .surtitre::before { background: var(--or); }
.hero__infos {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2rem;
  font-size: .9rem; color: rgba(255, 255, 255, .85);
}
.hero__infos span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__infos .ic { width: 18px; height: 18px; fill: var(--or); }

/* En-tête de page intérieure */
.hero-page {
  padding: calc(var(--nav-h) + var(--safe-top) + 2.6rem) 0 2.6rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(188, 140, 60, .22), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(23, 80, 42, .14), transparent 45%),
    var(--sable);
  border-bottom: 1px solid var(--ligne);
}
.hero-page h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: .6rem; }
.hero-page p { max-width: 640px; color: var(--muted); font-size: 1.06rem; margin: 0; }

/* État « commandes suspendues » / fermé */
.bandeau-etat {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .9rem 1.1rem; border-radius: var(--r-md);
  background: var(--or-pale); border: 1px solid #E9D8B0; color: var(--vert-nuit);
  font-size: .95rem; margin: 0 0 1.4rem;
}
.bandeau-etat .ic { width: 22px; height: 22px; fill: var(--vert); flex: none; margin-top: .1rem; }
.bandeau-etat--alerte { background: var(--alerte-pale); border-color: #F1C4BE; color: #6E1711; }
.bandeau-etat--alerte .ic { fill: var(--alerte); }
.bandeau-etat--ok { background: var(--feuille-pale); border-color: #C6DCC9; color: #2F4522; }
.bandeau-etat--ok .ic { fill: var(--feuille); }
.bandeau-etat p { margin: 0; }
.bandeau-etat strong { color: inherit; }

/* ---------- 8. CARTES DE PLATS ---------- */
.carte-plat {
  position: relative; display: flex; flex-direction: column;
  background: var(--blanc); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--ligne); box-shadow: var(--ombre-s);
  transition: transform var(--t), box-shadow var(--t);
}
.carte-plat:hover { transform: translateY(-4px); box-shadow: var(--ombre-m); }
.carte-plat__visuel { position: relative; aspect-ratio: 4 / 3; background: var(--sable); overflow: hidden; }
.carte-plat__visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carte-plat:hover .carte-plat__visuel img { transform: scale(1.04); }
.carte-plat__corps { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.carte-plat__titre { display: flex; justify-content: space-between; align-items: flex-start; gap: .8rem; }
.carte-plat__titre h3 { margin: 0; font-size: 1.15rem; }
.carte-plat__prix { font-weight: 800; color: var(--or-fonce); white-space: nowrap; font-size: 1.05rem; }
.carte-plat__desc { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.carte-plat__pied { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .4rem; flex-wrap: wrap; }
.carte-plat__allergenes { display: flex; flex-wrap: wrap; gap: .3rem; }
.carte-plat--epuise .carte-plat__visuel img { filter: grayscale(.8) brightness(.9); }
.carte-plat--epuise .carte-plat__visuel::after {
  content: "Épuisé"; position: absolute; inset: auto 0 0 0; padding: .5rem; text-align: center;
  background: rgba(31, 20, 14, .78); color: #fff; font-weight: 700; font-size: .9rem;
}
.carte-plat__vedette {
  position: absolute; top: .8rem; left: .8rem; z-index: 1;
  padding: .3rem .7rem; border-radius: var(--r-full);
  background: var(--or); color: var(--ink); font-size: .74rem; font-weight: 800; letter-spacing: .04em;
}

/* Rangée de catégories (ancre) */
.onglets-categories {
  position: sticky; top: calc(var(--nav-h) + var(--safe-top)); z-index: 40;
  display: flex; gap: .5rem; overflow-x: auto; padding: .7rem 0;
  background: rgba(251, 248, 241, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ligne); scrollbar-width: none;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
.onglets-categories::-webkit-scrollbar { display: none; }
.onglets-categories a {
  flex: none; padding: .5rem 1rem; border-radius: var(--r-full);
  background: var(--blanc); border: 1px solid var(--ligne); color: var(--texte);
  font-size: .88rem; font-weight: 600; white-space: nowrap; scroll-snap-align: start;
}
.onglets-categories a.actif { background: var(--vert-nuit); color: #fff; border-color: var(--vert-nuit); }

.categorie { padding-top: 2.6rem; }
.categorie__entete { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.categorie__entete h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.categorie__entete p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- 9. BANDEAUX, APPELS À L'ACTION ---------- */
.cta-bande {
  display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.cta-carte {
  position: relative; display: flex; flex-direction: column; gap: .7rem;
  padding: 1.6rem; border-radius: var(--r-lg);
  background: var(--blanc); border: 1px solid var(--ligne); box-shadow: var(--ombre-s);
  transition: transform var(--t), box-shadow var(--t);
}
.cta-carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-m); }
.cta-carte h3 { margin: 0; }
.cta-carte p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.cta-carte .ic-rond {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--vert-pale); color: var(--vert-fonce);
}
.cta-carte .ic-rond svg { width: 26px; height: 26px; fill: currentColor; }
.cta-carte--accent { background: linear-gradient(135deg, var(--vert-nuit-fonce), var(--vert-nuit)); color: #DCE6DC; border-color: var(--vert-nuit); }
.cta-carte--accent h3 { color: #fff; }
.cta-carte--accent p { color: rgba(255, 255, 255, .8); }
.cta-carte--accent .ic-rond { background: rgba(255, 255, 255, .12); color: var(--or); }

.bloc-cta {
  text-align: center; padding: clamp(2.4rem, 6vw, 4rem) clamp(1.4rem, 4vw, 3rem);
  border-radius: var(--r-xl); background: linear-gradient(135deg, var(--vert-nuit-fonce) 0%, var(--vert-nuit) 60%, var(--vert-nuit-clair) 100%);
  color: #DCE6DC; box-shadow: var(--ombre-l);
}
.bloc-cta h2 { color: #fff; }
.bloc-cta p { color: rgba(255, 255, 255, .85); max-width: 560px; margin-inline: auto; }

/* Valeurs (à propos) */
.valeurs { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.valeur { padding: 1.4rem; border-radius: var(--r-md); background: var(--blanc); border: 1px solid var(--ligne); }
.valeur .emoji { font-size: 1.8rem; line-height: 1; margin-bottom: .6rem; display: block; }
.valeur h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.valeur p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Étapes (comment ça marche) */
.etapes { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: etape; }
.etape { position: relative; padding: 1.4rem 1.4rem 1.4rem 4rem; border-radius: var(--r-md); background: var(--blanc); border: 1px solid var(--ligne); }
.etape::before {
  counter-increment: etape; content: counter(etape);
  position: absolute; left: 1.1rem; top: 1.2rem;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--vert); color: #fff; font-weight: 800; font-family: var(--police-titre); font-size: 1.1rem;
}
.etape h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.etape p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- 10. HORAIRES, CONTACT ---------- */
.horaires { list-style: none; padding: 0; margin: 0; }
.horaires li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .6rem 0; border-bottom: 1px dashed var(--ligne); font-size: .96rem;
}
.horaires li:last-child { border-bottom: 0; }
.horaires li.aujourdhui { font-weight: 700; color: var(--ink); }
.horaires li span:last-child { color: var(--vert-fonce); font-weight: 600; text-align: right; }
.horaires li.ferme span:last-child { color: var(--muted); font-weight: 500; }

.carte-info {
  padding: 1.5rem; border-radius: var(--r-lg); background: var(--blanc); border: 1px solid var(--ligne); box-shadow: var(--ombre-s);
}
.carte-info h3 { font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; }
.carte-info h3 .ic { width: 22px; height: 22px; fill: var(--vert); }
.carte-info p { margin: 0 0 .5rem; }
.carte-info address { font-style: normal; }

.reseaux { display: flex; gap: .6rem; flex-wrap: wrap; }
.reseaux a {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: 0 1rem; border-radius: var(--r-full);
  background: var(--sable); color: var(--ink); font-weight: 600; font-size: .9rem;
}
.reseaux a:hover { background: var(--or-pale); color: var(--vert-fonce); }
.reseaux a[hidden] { display: none; }

/* Carte Google Maps chargée au clic (pas de cookie tiers à l'arrivée) */
.carte-maps {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sable);
  aspect-ratio: 16 / 10; display: grid; place-items: center; border: 1px solid var(--ligne);
}
.carte-maps iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.carte-maps__invite { text-align: center; padding: 1.5rem; max-width: 420px; }
.carte-maps__invite p { font-size: .9rem; color: var(--muted); }

/* ---------- 11. FORMULAIRES ---------- */
.bloc-form {
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--ombre-s);
}
.champ { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.champ label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.champ label .facultatif { font-weight: 500; color: var(--muted); font-size: .84rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; padding: .85rem 1rem; min-height: 50px;
  border: 1.5px solid var(--ligne); border-radius: var(--r-sm);
  font: inherit; color: var(--ink); background: var(--creme);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.champ textarea { min-height: 110px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none; border-color: var(--vert); background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 80, 42, .14);
}
.champ input[aria-invalid="true"], .champ select[aria-invalid="true"], .champ textarea[aria-invalid="true"],
.champ .invalide { border-color: var(--alerte); background: #FFF8F7; }
.champ .aide { font-size: .84rem; color: var(--muted); margin: 0; }
/* Motif du refus, affiché sous le champ concerné */
.champ .erreur {
  display: none; font-size: .86rem; color: var(--alerte); font-weight: 600; margin: 0;
}
.champ .erreur:not(:empty) { display: block; }
.champ .erreur::before { content: "⚠ "; }

.champs-2 { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.choix { display: flex; flex-direction: column; gap: .5rem; }
.choix label {
  display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; min-height: 50px;
  border: 1.5px solid var(--ligne); border-radius: var(--r-sm); background: var(--creme);
  cursor: pointer; font-weight: 500; transition: border-color var(--t), background var(--t);
}
.choix label:has(input:checked) { border-color: var(--vert); background: var(--vert-pale); }
.choix label:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.choix input { width: 20px; height: 20px; accent-color: var(--vert); margin: 0; flex: none; }
.choix .supplement { margin-left: auto; font-weight: 700; color: var(--vert-fonce); white-space: nowrap; font-size: .92rem; }
.choix .epuise-txt { margin-left: auto; font-size: .82rem; color: var(--muted); }

.message-form {
  display: none; padding: .9rem 1.1rem; border-radius: var(--r-sm); margin-bottom: 1rem; font-size: .95rem;
}
.message-form:not(:empty) { display: block; }
.message-form--erreur { background: var(--alerte-pale); color: #6E1711; }
.message-form--ok { background: var(--feuille-pale); color: #2F4522; }

/* Interrupteur */
.interrupteur { display: inline-flex; align-items: center; gap: .7rem; cursor: pointer; font-weight: 600; }
.interrupteur input { position: absolute; opacity: 0; width: 0; height: 0; }
.interrupteur .glissiere {
  width: 52px; height: 30px; border-radius: 999px; background: #CFC2B4; position: relative; flex: none;
  transition: background var(--t);
}
.interrupteur .glissiere::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: var(--ombre-s); transition: transform var(--t);
}
.interrupteur input:checked + .glissiere { background: var(--feuille); }
.interrupteur input:checked + .glissiere::after { transform: translateX(22px); }
.interrupteur input:focus-visible + .glissiere { outline: 3px solid var(--or); outline-offset: 2px; }

/* Compteur de quantité */
.quantite { display: inline-flex; align-items: center; border: 1.5px solid var(--ligne); border-radius: var(--r-full); background: #fff; }
.quantite button {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  font-size: 1.3rem; font-weight: 700; color: var(--vert-fonce); border-radius: 50%;
}
.quantite button:hover { background: var(--vert-pale); }
.quantite button:disabled { opacity: .35; cursor: not-allowed; }
.quantite output { min-width: 32px; text-align: center; font-weight: 800; font-size: 1.05rem; color: var(--ink); }

/* ---------- 12. PANIER ---------- */
.barre-panier {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .7rem 1rem calc(.7rem + var(--safe-bottom));
  background: rgba(6, 26, 9, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; box-shadow: 0 -8px 30px rgba(31, 20, 14, .25);
  transform: translateY(110%); transition: transform var(--t);
}
.barre-panier.visible { transform: none; }
.barre-panier .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.barre-panier__resume { display: flex; flex-direction: column; line-height: 1.2; }
.barre-panier__resume small { color: rgba(255, 255, 255, .72); font-size: .78rem; }
.barre-panier__resume strong { color: #fff; font-size: 1.15rem; }
.barre-panier .btn { flex: none; }

.panier-vide { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.panier-vide .emoji { font-size: 3rem; display: block; margin-bottom: .6rem; }

.lignes-panier { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .8rem; }
.ligne-panier {
  display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; align-items: start;
  padding: .9rem; border-radius: var(--r-md); background: var(--blanc); border: 1px solid var(--ligne);
}
.ligne-panier img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-sm); background: var(--sable); }
.ligne-panier__nom { font-weight: 700; color: var(--ink); margin: 0; }
.ligne-panier__options { margin: .15rem 0 .4rem; font-size: .85rem; color: var(--muted); }
.ligne-panier__actions { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.ligne-panier__prix { font-weight: 800; color: var(--or-fonce); white-space: nowrap; text-align: right; }
.ligne-panier .supprimer { border: 0; background: none; color: var(--muted); font-size: .84rem; cursor: pointer; text-decoration: underline; padding: .3rem; }
.ligne-panier .supprimer:hover { color: var(--alerte); }
.ligne-panier--offert { border-color: var(--feuille); background: var(--feuille-pale); }

.recap-total { border-top: 2px solid var(--ligne); margin-top: 1.2rem; padding-top: 1rem; }
.recap-total div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.recap-total .total { font-size: 1.3rem; font-weight: 800; color: var(--ink); padding-top: .6rem; }
.recap-total .remise { color: var(--feuille); font-weight: 600; }

.colonnes-commande { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) {
  .colonnes-commande { grid-template-columns: 1.1fr .9fr; }
  .colonnes-commande > aside { position: sticky; top: calc(var(--nav-h) + var(--safe-top) + 1rem); }
}

.mode-paiement { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.mode-paiement label {
  display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem;
  border: 1.5px solid var(--ligne); border-radius: var(--r-md); background: var(--creme); cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.mode-paiement label:has(input:checked) { border-color: var(--vert); background: var(--vert-pale); }
.mode-paiement label strong { display: flex; align-items: center; gap: .6rem; }
.mode-paiement label span { font-size: .86rem; color: var(--muted); }
.mode-paiement input { position: absolute; opacity: 0; }
.mode-paiement label:has(input:focus-visible) { outline: 3px solid var(--or); }
.logos-paiement { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .3rem; }
.logos-paiement span { font-size: .72rem; font-weight: 700; padding: .15rem .5rem; border-radius: 4px; background: #fff; border: 1px solid var(--ligne); color: var(--texte); }

/* ---------- 13. FICHE PRODUIT (feuille) ---------- */
.fiche-produit__visuel { aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--sable); margin-bottom: 1rem; }
.fiche-produit__visuel img { width: 100%; height: 100%; object-fit: cover; }
.fiche-produit h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.fiche-produit__prix { font-size: 1.2rem; font-weight: 800; color: var(--or-fonce); }
.fiche-produit__desc { color: var(--texte); }
.groupe-options { margin: 1.2rem 0; }
.groupe-options__titre { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; margin-bottom: .5rem; }
.groupe-options__titre h3 { margin: 0; font-size: 1.02rem; }
.groupe-options__titre small { color: var(--muted); font-size: .82rem; }
.groupe-options__titre .obligatoire { color: var(--vert); font-weight: 700; }
.allergenes-liste { display: flex; flex-wrap: wrap; gap: .35rem; margin: .8rem 0; }
.fiche-produit__pied {
  position: sticky; bottom: 0; display: flex; align-items: center; gap: .8rem; justify-content: space-between;
  padding: 1rem 0 calc(.4rem + var(--safe-bottom)); background: var(--blanc); border-top: 1px solid var(--ligne); margin-top: 1rem;
}

/* ---------- 14. FEUILLES (bottom sheet) ET BOÎTES ---------- */
.feuille { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; }
.feuille[hidden] { display: none; }
.feuille__fond { position: absolute; inset: 0; background: rgba(31, 20, 14, .55); opacity: 0; transition: opacity var(--t); }
.feuille__panneau {
  position: relative; width: 100%; max-width: 640px; max-height: calc(100dvh - var(--safe-top) - 24px);
  overflow-y: auto; background: var(--blanc);
  border-radius: var(--r-lg) var(--r-lg) 0 0; padding: .6rem 1.3rem 0;
  transform: translateY(100%); transition: transform var(--t);
  box-shadow: var(--ombre-l);
}
.feuille.ouverte .feuille__fond { opacity: 1; }
.feuille.ouverte .feuille__panneau { transform: none; }
.feuille__poignee { width: 44px; height: 5px; border-radius: 3px; background: var(--ligne); margin: .3rem auto .9rem; }
.feuille__fermer {
  position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--sable); cursor: pointer; font-size: 1.2rem; line-height: 1; color: var(--ink);
}
@media (min-width: 720px) {
  .feuille { align-items: center; padding: 1rem; }
  .feuille__panneau { border-radius: var(--r-lg); max-height: calc(100vh - 2rem); padding: 1.6rem 1.8rem 0; }
  .feuille__poignee { display: none; }
}

/* ---------- 15. TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(1.4rem + var(--safe-bottom)); z-index: 500;
  transform: translate(-50%, 20px); opacity: 0;
  padding: .9rem 1.3rem; border-radius: var(--r-md); max-width: min(92vw, 480px);
  background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem; box-shadow: var(--ombre-l);
  transition: transform var(--t), opacity var(--t); pointer-events: none; text-align: center;
}
.toast.visible { transform: translate(-50%, 0); opacity: 1; }
.toast--erreur { background: var(--alerte); }
.toast--ok { background: var(--feuille); }
body.a-barre-panier .toast { bottom: calc(var(--barre-panier-h) + 1.2rem + var(--safe-bottom)); }

/* ---------- 16. BADGES ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .65rem; border-radius: var(--r-full);
  font-size: .76rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  background: var(--sable); color: var(--texte);
}
.badge--allergene { background: var(--or-pale); color: var(--vert-nuit); font-weight: 600; }
.badge--statut-en_attente_paiement { background: var(--info-pale); color: #35506B; }
.badge--statut-recue { background: var(--or-pale); color: #6E5320; }
.badge--statut-acceptee { background: var(--vert-pale); color: var(--vert-fonce); }
.badge--statut-en_preparation { background: var(--vert-pale); color: var(--vert-fonce); }
.badge--statut-prete { background: var(--feuille-pale); color: #2F4522; }
.badge--statut-recuperee { background: var(--feuille); color: #fff; }
.badge--statut-refusee, .badge--statut-annulee { background: var(--alerte-pale); color: #6E1711; }
.badge--statut-remboursee { background: #E8E3F3; color: #4A3A7A; }
.badge--paiement { background: var(--sable); color: var(--texte); }
.badge--provisoire { background: var(--or-pale); color: var(--vert-nuit); font-weight: 600; }
.badge--succes { background: var(--feuille-pale); color: #2F4522; }
.badge--danger { background: var(--alerte-pale); color: #6E1711; }

/* ---------- 17. SUIVI DE COMMANDE ---------- */
.suivi-carte { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--ombre-s); }
.suivi-entete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.5rem; align-items: flex-start; margin-bottom: 1.4rem; }
.suivi-entete h2 { margin: 0; font-size: 1.5rem; }
.suivi-entete p { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }
.suivi-etat {
  text-align: center; padding: 1.6rem 1rem; border-radius: var(--r-md); background: var(--sable); margin-bottom: 1.4rem;
}
.suivi-etat .emoji { font-size: 2.6rem; line-height: 1; display: block; margin-bottom: .5rem; }
.suivi-etat h3 { margin: 0 0 .3rem; font-size: 1.35rem; }
.suivi-etat p { margin: 0; color: var(--muted); }
.suivi-etat--prete { background: var(--feuille-pale); }
.suivi-etat--alerte { background: var(--alerte-pale); }

.etapes-suivi { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: .3rem; }
.etapes-suivi li { text-align: center; font-size: .72rem; color: var(--muted); font-weight: 600; position: relative; padding-top: 26px; }
.etapes-suivi li::before {
  content: ""; position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%; background: var(--ligne); border: 3px solid var(--blanc); box-shadow: 0 0 0 1px var(--ligne);
}
.etapes-suivi li::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--ligne); z-index: -1; }
.etapes-suivi li:first-child::after { display: none; }
.etapes-suivi li.faite { color: var(--feuille); }
.etapes-suivi li.faite::before { background: var(--feuille); box-shadow: 0 0 0 1px var(--feuille); }
.etapes-suivi li.faite::after { background: var(--feuille); }
.etapes-suivi li.active { color: var(--vert-fonce); }
.etapes-suivi li.active::before { background: var(--vert); box-shadow: 0 0 0 1px var(--vert); animation: pulsation 1.6s ease-in-out infinite; }
@keyframes pulsation { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.25); } }

.suivi-lignes { list-style: none; padding: 0; margin: 0; }
.suivi-lignes li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--ligne); font-size: .95rem; }
.suivi-lignes li small { display: block; color: var(--muted); font-size: .82rem; }
.historique { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .86rem; color: var(--muted); }
.historique li { padding: .25rem 0; display: flex; gap: .8rem; }
.historique time { flex: none; font-variant-numeric: tabular-nums; }

/* ---------- 18. ESPACE CLIENT ---------- */
.solde-fidelite {
  display: grid; gap: 1rem; grid-template-columns: 1fr auto; align-items: center;
  padding: 1.6rem; border-radius: var(--r-lg); color: #fff;
  background: linear-gradient(135deg, var(--vert-nuit-fonce), var(--vert-nuit) 60%, var(--vert-fonce));
  box-shadow: var(--ombre-m);
}
.solde-fidelite strong { display: block; font-family: var(--police-titre); font-size: 2.6rem; line-height: 1; color: var(--or); }
.solde-fidelite span { color: rgba(255, 255, 255, .8); font-size: .9rem; }
.jauge { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); overflow: hidden; margin-top: .8rem; grid-column: 1 / -1; }
.jauge div { height: 100%; background: var(--or); border-radius: 999px; transition: width .6s ease; }

.liste-cartes { display: flex; flex-direction: column; gap: .8rem; }
.carte-ligne {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--blanc); border: 1px solid var(--ligne);
}
.carte-ligne p { margin: 0; }
.carte-ligne small { color: var(--muted); display: block; font-size: .84rem; }
.carte-ligne .montant { font-weight: 800; white-space: nowrap; }
.carte-ligne .montant.plus { color: var(--feuille); }
.carte-ligne .montant.moins { color: var(--alerte); }

.recompense {
  display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--r-md);
  border: 1.5px solid var(--ligne); background: var(--blanc);
}
.recompense--dispo { border-color: var(--or); background: var(--or-pale); }
.recompense .emoji { font-size: 1.8rem; }
.recompense p { margin: 0; flex: 1; }
.recompense small { color: var(--muted); display: block; }

/* ---------- 19. PIED DE PAGE ---------- */
.pied { background: var(--vert-nuit-fonce); color: #B9C9BB; padding: clamp(3rem, 6vw, 4.5rem) 0 0; font-size: .93rem; }
.pied a { color: #DCE6DC; }
.pied a:hover { color: var(--or); }
.pied__grille { display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.pied h4 { color: #fff; font-family: var(--police-texte); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.pied ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.pied .logo__nom { color: #fff; }
.pied .logo__slogan { color: #B9C9BB; }
.pied p { margin: .6rem 0 0; }
.pied__bas {
  margin-top: 2.5rem; padding: 1.2rem 0 calc(1.2rem + var(--safe-bottom));
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; align-items: center;
}
.pied__bas ul { flex-direction: row; flex-wrap: wrap; gap: .4rem 1.2rem; }
.pied .horaires li { border-color: rgba(255, 255, 255, .1); }
.pied .horaires li span:last-child { color: var(--or); }
.pied .horaires li.aujourdhui { color: #fff; }

/* ---------- 20. UTILITAIRES ---------- */
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.centre { text-align: center; }
.muted { color: var(--muted); }
.mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.prix { font-variant-numeric: tabular-nums; }
.note-provisoire {
  padding: .8rem 1rem; border-left: 4px solid var(--or); background: var(--or-pale); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .9rem; color: var(--vert-nuit); margin: 0 0 1.6rem;
}
.note-provisoire strong { color: var(--vert-nuit); }
.chargement { display: inline-block; width: 22px; height: 22px; border: 3px solid var(--ligne); border-top-color: var(--vert); border-radius: 50%; animation: tourner .8s linear infinite; }
@keyframes tourner { to { transform: rotate(360deg); } }
.squelette { background: linear-gradient(90deg, var(--sable) 25%, #F8F1E6 50%, var(--sable) 75%); background-size: 200% 100%; animation: brillance 1.4s infinite; border-radius: var(--r-md); min-height: 240px; }
@keyframes brillance { to { background-position: -200% 0; } }

.texte-legal h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.texte-legal h3 { font-size: 1.12rem; margin-top: 1.5rem; }
.texte-legal table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1rem 0; }
.texte-legal th, .texte-legal td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.texte-legal th { background: var(--sable); font-weight: 700; }
.texte-legal .a-completer, .a-completer { background: var(--or-pale); padding: 0 .3rem; border-radius: 3px; font-weight: 600; color: var(--vert-nuit); }

.tableau-allergenes td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 21. MOUVEMENT, IMPRESSION, RESPONSIVE ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .entete, .nav-mobile, .barre-panier, .toast, .pied, .burger, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  main { padding-top: 0 !important; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: inline-block; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --nav-h: 66px; }
  .logo__marque { width: 40px; height: 40px; }
  .logo__slogan { display: none; }
  .btn { padding: .9rem 1.4rem; }
  .groupe-btn > .btn { flex: 1 1 auto; }
  .hero { min-height: 0; padding-bottom: 3rem; }
  .hero__infos { font-size: .85rem; }
  .ligne-panier { grid-template-columns: 60px 1fr; }
  .ligne-panier img { width: 60px; height: 60px; }
  .ligne-panier__prix { grid-column: 2; text-align: left; }
  .etapes-suivi li { font-size: .64rem; }
  .solde-fidelite { grid-template-columns: 1fr; }
}
