/* ═══════════════════════════════════════════════════
   JÀNG — Fournitures scolaires & papeterie, Dakar
   Direction A : « Rentrée » (Vibrant & Block-based + micro-interactions)
   Bleu Encre #183A6D · Blanc · Jaune Crayon #F7B801 · Rouge Gomme #E24E36
   Lilita One (titres) + Cabin (corps)

   RÈGLE DE COULEUR — à respecter si le site s'étend :
   · Jaune Crayon  → uniquement les actions d'achat (ajouter, commander)
   · Rouge Gomme   → uniquement promotions, ruptures et alertes
   · Vert Stock    → uniquement la disponibilité
   · Bleu Encre    → structure, titres, navigation
   ═══════════════════════════════════════════════════ */

:root {
  --encre: #183A6D;
  --encre-dark: #0F2749;
  --encre-light: #E8EEF7;
  --crayon: #F7B801;
  --crayon-dark: #7A5A00;
  --crayon-light: #FEF5DC;
  --gomme: #E24E36;
  --gomme-dark: #B23522;
  --gomme-light: #FDECE9;
  --stock: #1E8E4E;
  --gris: #F2F4F7;
  --gris-line: #DFE4EC;
  --texte: #101B2E;
  --texte-soft: #4C5A73;
  --rayon: 12px;
  --rayon-s: 9px;
  --ombre: 0 1px 2px rgba(16,27,46,.05), 0 6px 18px rgba(16,27,46,.06);
  --ombre-levee: 0 3px 6px rgba(16,27,46,.07), 0 14px 32px rgba(16,27,46,.11);
}

/* ─── Base ─────────────────────────────────────── */

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body { font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }

::selection { background: var(--crayon); color: var(--texte); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  background: var(--encre);
  color: #fff;
  padding: 14px 22px;
  font-weight: 700;
  border-radius: var(--rayon-s);
}
.skip-link:focus { left: 12px; top: 12px; }

.section { padding-top: 72px; padding-bottom: 72px; }
@media (min-width: 768px) { .section { padding-top: 100px; padding-bottom: 100px; } }

/* ─── Bandeau saisonnier ───────────────────────── */

.bandeau-saison {
  background: var(--encre);
  color: #fff;
  padding: 11px 0;
}
.bandeau-saison a { color: var(--crayon); font-weight: 700; }

/* ─── Header ───────────────────────────────────── */

.logo-marque {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--crayon);
  color: var(--encre);
  font-family: 'Lilita One', sans-serif;
  font-size: 22px;
  line-height: 1;
  padding-top: 4px;
  flex-shrink: 0;
}

.barre-recherche {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 46px;
  padding: 0 15px;
  background: var(--gris);
  border: 1.5px solid var(--gris-line);
  border-radius: var(--rayon-s);
  color: var(--texte-soft);
  transition: border-color .18s ease, background-color .18s ease;
}
.barre-recherche:focus-within { background: #fff; border-color: var(--encre); }
.barre-recherche input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--texte);
  min-width: 0;
}

.nav-link {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--texte);
  white-space: nowrap;
  transition: color .18s ease;
}
.nav-link:hover { color: var(--encre); }
.nav-link--fort { color: var(--encre); position: relative; }
.nav-link--fort::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -5px;
  height: 3px;
  background: var(--crayon);
  border-radius: 2px;
}

.mob-link {
  font-size: 17px;
  font-weight: 600;
  padding: 15px 0;
  border-bottom: 1px solid var(--gris-line);
}
.mob-link:last-child { border-bottom: 0; color: var(--encre); }

.btn-panier {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border-radius: var(--rayon-s);
  background: var(--encre);
  color: #fff;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  transition: background-color .18s ease;
}
.btn-panier:hover { background: var(--encre-dark); }

.badge-panier {
  display: grid;
  place-items: center;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--crayon);
  color: var(--texte);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
}

/* ─── Boutons ──────────────────────────────────── */

.btn-crayon, .btn-contour, .btn-blanc-contour {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: var(--rayon-s);
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}

.btn-crayon { background: var(--crayon); color: var(--texte); box-shadow: var(--ombre); }
.btn-crayon:hover { background: #FFC933; box-shadow: var(--ombre-levee); }

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

.btn-blanc-contour { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-blanc-contour:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn-crayon:active, .btn-contour:active, .btn-blanc-contour:active { transform: translateY(1px); }

/* ─── Typographie utilitaire ───────────────────── */

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--encre);
}

.h2 {
  font-family: 'Lilita One', sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: .004em;
  text-transform: uppercase;
  margin-top: 14px;
}

.pastille {
  display: inline-block;
  background: var(--gomme);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.souligne-crayon {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.souligne-crayon::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  bottom: .08em;
  height: .28em;
  background: var(--crayon);
  z-index: -1;
  border-radius: 3px;
}

.puce {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--stock);
  flex-shrink: 0;
}

/* ─── Images ───────────────────────────────────── */

.media-block {
  position: relative;
  overflow: hidden;
  background: var(--gris);
  border-radius: var(--rayon);
}
.media-block img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-block.img-ko { background: var(--encre-light); }
.media-block.img-ko img { display: none; }
.media-block.img-ko::after {
  content: 'Photo à remplacer';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--encre);
}

/* ─── Garanties ────────────────────────────────── */

.garantie { background: #fff; padding: 24px 20px; }
.garantie .ico { width: 26px; height: 26px; color: var(--encre); margin-bottom: 14px; }
.garantie-titre { font-size: 17px; font-weight: 700; line-height: 1.3; }
.garantie-txt { font-size: 15px; line-height: 1.65; color: var(--texte-soft); margin-top: 7px; }

/* ─── Catégories ───────────────────────────────── */

.categorie {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 2px solid var(--gris-line);
  border-radius: var(--rayon);
  padding: 22px 20px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
a.categorie:hover {
  transform: translateY(-4px);
  border-color: var(--encre);
  box-shadow: var(--ombre-levee);
}
.categorie--bientot { opacity: .58; }

.cat-ico {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.cat-ico svg { width: 24px; height: 24px; }
.cat-ico--encre  { background: var(--encre-light);  color: var(--encre); }
.cat-ico--crayon { background: var(--crayon-light); color: var(--crayon-dark); }
.cat-ico--gomme  { background: var(--gomme-light);  color: var(--gomme-dark); }
.cat-ico--gris   { background: var(--gris);         color: var(--texte-soft); }

.cat-nom { font-size: 17px; font-weight: 700; line-height: 1.25; }
.cat-nb { font-size: 14.5px; color: var(--texte-soft); margin-top: 4px; }

/* ─── Listes scolaires ─────────────────────────── */

.selecteur {
  background: #fff;
  border: 2px solid var(--gris-line);
  border-radius: var(--rayon);
  padding: 24px 22px;
}

.field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texte-soft);
  margin-bottom: 8px;
}

.field {
  width: 100%;
  min-height: 52px;
  background: var(--gris);
  color: var(--texte);
  border: 1.5px solid var(--gris-line);
  border-radius: var(--rayon-s);
  padding: 13px 14px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.field:hover:not(:disabled) { border-color: var(--encre); }
.field:focus {
  outline: none;
  background: #fff;
  border-color: var(--encre);
  box-shadow: 0 0 0 3px var(--encre-light);
}
.field:disabled { opacity: .55; cursor: not-allowed; }

.zone-liste {
  background: #fff;
  border: 2px solid var(--gris-line);
  border-radius: var(--rayon);
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

.liste-vide {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 44px 30px;
  text-align: center;
  color: var(--texte-soft);
}
.liste-vide svg { color: var(--gris-line); }
.liste-vide p { max-width: 34ch; font-size: 16px; line-height: 1.6; }

.liste-tete {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 2px solid var(--gris-line);
}
.liste-total { text-align: right; }
.liste-total-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texte-soft);
}
.liste-total span:last-child {
  font-family: 'Lilita One', sans-serif;
  font-size: 30px;
  line-height: 1.1;
  color: var(--encre);
}

.liste-articles { max-height: 380px; overflow-y: auto; }
.liste-articles li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 24px;
  border-bottom: 1px solid var(--gris-line);
}
.liste-qte {
  display: grid;
  place-items: center;
  min-width: 34px; height: 30px;
  padding: 0 8px;
  border-radius: 7px;
  background: var(--encre-light);
  color: var(--encre);
  font-size: 14.5px;
  font-weight: 700;
}
.liste-nom { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.liste-prix { font-size: 15.5px; font-weight: 700; color: var(--encre); white-space: nowrap; }

.liste-pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px;
  border-top: 2px solid var(--gris-line);
  margin-top: auto;
}
.liste-pied p { max-width: 34ch; }

/* ─── Packs ────────────────────────────────────── */

.pack {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--gris-line);
  border-radius: var(--rayon);
  padding: 22px 20px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pack:hover { transform: translateY(-4px); border-color: var(--encre); box-shadow: var(--ombre-levee); }
.pack--phare { border-color: var(--encre); background: var(--encre-light); }

.pack-badge {
  align-self: flex-start;
  background: var(--gomme);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.pack-niveau {
  font-family: 'Lilita One', sans-serif;
  font-size: 21px;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--encre);
}
.pack-prix {
  font-family: 'Lilita One', sans-serif;
  font-size: 32px;
  line-height: 1.05;
  margin-top: 10px;
}
.pack-prix span { font-family: 'Cabin', sans-serif; font-size: 16px; font-weight: 700; color: var(--texte-soft); }
.pack-det { font-size: 15px; line-height: 1.6; color: var(--texte-soft); margin-top: 10px; flex-grow: 1; }

.pack-btn, .produit-btn {
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  border-radius: var(--rayon-s);
  border: 2px solid var(--encre);
  background: transparent;
  color: var(--encre);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.pack-btn:hover, .produit-btn:hover { background: var(--crayon); border-color: var(--crayon); color: var(--texte); }
.pack-btn.est-ajoute, .produit-btn.est-ajoute {
  background: var(--stock); border-color: var(--stock); color: #fff;
}

/* ─── Produits ─────────────────────────────────── */

.produit {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--gris-line);
  border-radius: var(--rayon);
  padding: 12px 12px 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.produit:hover { transform: translateY(-4px); box-shadow: var(--ombre-levee); }

.produit-visuel {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--rayon-s);
  overflow: hidden;
  background: var(--gris);
}
.produit-visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.produit:hover .produit-visuel img { transform: scale(1.05); }
.produit-visuel.img-ko { background: var(--encre-light); }
.produit-visuel.img-ko img { display: none; }

.produit-tag {
  position: absolute;
  top: 9px; left: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--gomme);
  color: #fff;
}

.produit-nom {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 14px;
}
.produit-det { font-size: 14px; color: var(--texte-soft); margin-top: 4px; line-height: 1.5; }

.produit-prix {
  font-family: 'Lilita One', sans-serif;
  font-size: 24px;
  line-height: 1.1;
  color: var(--encre);
  margin-top: 12px;
}
.produit-unitaire { font-size: 13.5px; color: var(--texte-soft); margin-top: 2px; }

.produit-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--stock);
  margin-top: 8px;
}
.produit-stock--bas { color: var(--gomme-dark); }
.produit-stock::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.produit-espace { flex-grow: 1; }

/* ─── Étapes ───────────────────────────────────── */

.etape { border-top: 3px solid var(--crayon); padding-top: 18px; }
.etape-num {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--encre);
  color: #fff;
  font-family: 'Lilita One', sans-serif;
  font-size: 17px;
  padding-top: 3px;
}
.etape-titre { font-size: 18px; font-weight: 700; line-height: 1.3; margin-top: 14px; }
.etape-txt { font-size: 15.5px; line-height: 1.7; color: var(--texte-soft); margin-top: 9px; }

/* ─── Zones de livraison ───────────────────────── */

.tableau-zones {
  background: #fff;
  border: 2px solid var(--gris-line);
  border-radius: var(--rayon);
  overflow: hidden;
}
.zone-tete, .zone-ligne {
  display: grid;
  grid-template-columns: 1.7fr .8fr .7fr;
  gap: 14px;
  align-items: center;
  padding: 15px 20px;
}
.zone-tete {
  background: var(--encre);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.zone-tete span:last-child { text-align: right; }
.zone-ligne { border-top: 1px solid var(--gris-line); }
.zone-ligne:nth-child(even) { background: #FBFCFD; }
.z-nom { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.z-delai { font-size: 14.5px; color: var(--texte-soft); }
.z-prix {
  font-family: 'Lilita One', sans-serif;
  font-size: 18px;
  color: var(--encre);
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .zone-tete { display: none; }
  .zone-ligne { grid-template-columns: 1fr auto; row-gap: 3px; }
  .z-delai { grid-column: 1 / -1; }
}

.moyen {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--gris-line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 700;
}

/* ─── Avis ─────────────────────────────────────── */

.avis {
  background: #fff;
  border: 2px solid var(--gris-line);
  border-radius: var(--rayon);
  padding: 24px 22px;
}
.avis-note { font-family: 'Lilita One', sans-serif; font-size: 20px; color: var(--crayon-dark); }
.avis-txt { margin-top: 13px; font-size: 16px; line-height: 1.75; color: var(--texte-soft); }
.avis-sig { margin-top: 18px; font-size: 14.5px; font-weight: 700; }

/* ─── FAQ ──────────────────────────────────────── */

.faq-item { border-bottom: 2px solid var(--gris-line); }
.faq-item:first-child { border-top: 2px solid var(--gris-line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 22px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(16.5px, 1.8vw, 18px);
  font-weight: 700;
  color: var(--texte);
  transition: color .18s ease;
}
.faq-q:hover { color: var(--encre); }

.faq-signe { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-signe::before, .faq-signe::after {
  content: '';
  position: absolute;
  background: var(--encre);
  transition: transform .25s ease;
}
.faq-signe::before { left: 0; top: 7px; width: 16px; height: 2.5px; }
.faq-signe::after  { left: 7px; top: 0; width: 2.5px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-signe::after { transform: rotate(90deg); }

.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-a p {
  padding: 0 40px 22px 0;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--texte-soft);
  max-width: 64ch;
}

/* ─── Panier ───────────────────────────────────── */

.voile-panier {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(16,27,46,.45);
  backdrop-filter: blur(2px);
}

.panier {
  position: fixed;
  top: 0; right: 0;
  z-index: 61;
  width: min(430px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -8px 0 40px rgba(16,27,46,.16);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.panier.est-ouvert { transform: none; }

.panier-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 2px solid var(--gris-line);
}

.panier-corps { flex: 1; overflow-y: auto; }

.panier-vide {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 30px;
  text-align: center;
}
.panier-vide svg { color: var(--gris-line); margin-bottom: 6px; }
.panier-vide p:first-of-type { font-size: 17px; font-weight: 700; }

.panier-lignes li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gris-line);
}
.pl-nom { font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.pl-unite { font-size: 13.5px; color: var(--texte-soft); margin-top: 2px; }
.pl-prix { font-size: 16px; font-weight: 700; color: var(--encre); white-space: nowrap; }

.pl-actions { display: flex; align-items: center; gap: 10px; grid-column: 1 / -1; }
.pl-btn {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1.5px solid var(--gris-line);
  background: #fff;
  color: var(--encre);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease;
}
.pl-btn:hover { border-color: var(--encre); background: var(--encre-light); }
.pl-qte { min-width: 26px; text-align: center; font-weight: 700; font-size: 16px; }
.pl-suppr {
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--gomme-dark);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.panier-pied { padding: 18px 20px 20px; border-top: 2px solid var(--gris-line); }
.panier-ligne-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.panier-ligne-total span:last-child { font-family: 'Lilita One', sans-serif; font-size: 24px; color: var(--encre); }
.panier-ligne-total--petit { font-size: 15px; font-weight: 600; color: var(--texte-soft); }
.panier-ligne-total--petit span:last-child { font-family: 'Cabin', sans-serif; font-size: 15px; font-weight: 700; color: var(--texte); }

.panier-seuil {
  font-size: 14px;
  line-height: 1.55;
  color: var(--crayon-dark);
  background: var(--crayon-light);
  border-radius: 8px;
  padding: 9px 12px;
  margin-top: 8px;
}
.panier-seuil.est-atteint { color: var(--stock); background: #E8F6EE; }

/* ─── Footer ───────────────────────────────────── */

.foot-titre {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.foot-link { color: var(--texte-soft); transition: color .18s ease; }
.foot-link:hover { color: var(--encre); }

/* ─── Barre d'action mobile ────────────────────── */

.barre-mobile {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 45;
  display: flex;
  gap: 1px;
  background: var(--gris-line);
  border-top: 1px solid var(--gris-line);
  padding-bottom: env(safe-area-inset-bottom);
}
.barre-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.barre-btn--sec { background: #fff; color: var(--texte); }
.barre-btn--pri { flex: 1.5; background: var(--crayon); color: var(--texte); }

.badge-mobile {
  display: grid;
  place-items: center;
  min-width: 24px; height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--encre);
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

@media (max-width: 1023px) { body { padding-bottom: 58px; } }

/* ─── Révélation au scroll ─────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1);
}
.reveal.est-visible { opacity: 1; transform: none; }

/* ─── Mouvement réduit ─────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .panier { transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
