/* Télia — feuille de style du site public.
   Toutes les couleurs, tailles et durées sont réglées ici (section 1).
   Aucune police téléchargée : celle du téléphone (Roboto sur Android) s'affiche tout de suite, même en 3G. */

/* ---------- 1. Réglages ---------- */
:root {
  color-scheme: light;
  --vert-950: #062619;
  --vert-900: #093421;
  --vert-800: #0E4B2F;
  --vert-700: #0A5C36;
  --vert-600: #0C7042;
  --vert-500: #19A350;
  --vert-300: #8FD6A8;
  --vert-100: #E2F1E7;
  --vert-50: #F0F7F2;
  --jaune: #FFC928;
  --jaune-clair: #FFE58A;
  --jaune-pale: #FFF6D6;
  --jaune-texte: #7A5600;
  --rouge: #E0392B;
  --rouge-alerte: #C62828;
  --orange: #DD5A22;
  --orange-texte: #B5440F;
  --orange-pale: #FDEEE6;
  --encre: #10201A;
  --encre-2: #34463C;
  --gris: #55625B;
  --fond: #FBFBF8;
  --fond-2: #F2F5F0;
  --bord: #E0E7E2;
  --bord-2: #CBD7CF;
  --rayon: 20px;
  --rayon-l: 28px;
  --ombre-s: 0 1px 2px rgba(8, 40, 24, .06), 0 3px 10px rgba(8, 40, 24, .05);
  --ombre: 0 2px 6px rgba(8, 40, 24, .05), 0 16px 36px -12px rgba(8, 40, 24, .2);
  --ombre-l: 0 6px 16px rgba(8, 40, 24, .08), 0 40px 70px -24px rgba(8, 40, 24, .38);
  --police: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --largeur: 1180px;
  --entete: 68px;
  --courbe: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete) + 20px);
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.6;
  color: var(--encre);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--encre); line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; }
p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
a { color: var(--vert-700); text-underline-offset: 3px; }
a:hover { color: var(--vert-800); }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--jaune-clair); color: var(--vert-950); }

.conteneur { width: min(100% - 32px, var(--largeur)); margin-inline: auto; }
@media (min-width: 768px) { .conteneur { width: min(100% - 64px, var(--largeur)); } }
.section { position: relative; padding-block: clamp(76px, 9vw, 128px); }
.section-douce { background: var(--fond-2); }

.icone {
  display: block;
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.lien-evitement {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: 12px;
  background: var(--vert-800); color: #fff; font-weight: 700; text-decoration: none;
}
.lien-evitement:focus { top: 12px; color: #fff; }
.cache { display: none !important; }

/* ---------- 3. Boutons ---------- */
.bouton {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--courbe), box-shadow .25s var(--courbe), background-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.bouton .icone { width: 20px; height: 20px; transition: transform .25s var(--courbe); }
.bouton:hover .icone-fleche { transform: translateX(4px); }
.bouton:active { transform: translateY(1px) scale(.99); }
.bouton-principal {
  background: var(--vert-700);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(10, 92, 54, .65), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.bouton-principal::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .24) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--courbe);
}
.bouton-principal:hover { color: #fff; background: var(--vert-800); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(10, 92, 54, .7), inset 0 1px 0 rgba(255, 255, 255, .16); }
.bouton-principal:hover::after { transform: translateX(120%); }
.bouton-jaune { background: var(--jaune); color: var(--vert-950); box-shadow: 0 12px 26px -12px rgba(255, 201, 40, .8); }
.bouton-jaune:hover { background: #FFD54A; color: var(--vert-950); transform: translateY(-2px); }
.bouton-clair { background: #fff; color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--bord-2); }
.bouton-clair:hover { color: var(--vert-800); box-shadow: inset 0 0 0 1.5px var(--vert-700); transform: translateY(-2px); }
.bouton-whatsapp { background: #1FA855; color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 168, 85, .7); }
.bouton-whatsapp:hover { background: #178A45; color: #fff; }
.bouton-petit { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.bouton-plein { width: 100%; }

/* ---------- 4. En-tête ---------- */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--entete); }
.entete::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 251, 248, .82);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  backdrop-filter: saturate(170%) blur(14px);
  box-shadow: 0 1px 0 rgba(8, 40, 24, .08), 0 10px 24px -18px rgba(8, 40, 24, .3);
  opacity: 0;
  transition: opacity .3s;
}
.entete.defile::before, .entete.menu-ouvert::before { opacity: 1; }
.entete-interieur { height: 100%; display: flex; align-items: center; gap: 10px; }
.marque { display: inline-flex; align-items: center; margin-right: auto; border-radius: 10px; }
.marque img { width: auto; height: 34px; }
.nav-principale { display: none; }
.nav-principale a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--encre-2);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-principale a:hover { color: var(--vert-800); background: rgba(14, 75, 47, .06); }
.nav-principale a.actif { color: var(--vert-800); background: var(--vert-100); }
.entete .bouton-petit { white-space: nowrap; }
.bouton-menu {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  border: 0; border-radius: 14px;
  background: rgba(14, 75, 47, .07);
  color: var(--vert-900);
  cursor: pointer;
}
.bouton-menu .icone { width: 24px; height: 24px; }
.bouton-menu .icone-fermer, .menu-ouvert .bouton-menu .icone-ouvrir { display: none; }
.menu-ouvert .bouton-menu .icone-fermer { display: block; }
.menu-mobile {
  position: fixed; top: var(--entete); left: 0; right: 0; z-index: 59;
  padding: 8px 16px 22px;
  background: rgba(251, 251, 248, .98);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 40px -24px rgba(8, 40, 24, .4);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .25s var(--courbe), visibility 0s .25s;
}
.menu-mobile.ouvert { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--courbe), visibility 0s; }
.menu-mobile a:not(.bouton) {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid var(--bord);
  color: var(--encre); font-size: 19px; font-weight: 700; text-decoration: none;
}
.menu-mobile a:not(.bouton) .icone { color: var(--vert-700); }
.menu-mobile .bouton { width: 100%; margin-top: 18px; }
@media (max-width: 380px) {
  .marque img { height: 29px; }
  .entete .bouton-petit { padding-inline: 13px; font-size: 14.5px; }
}
@media (min-width: 768px) { .marque img { height: 38px; } }
@media (min-width: 1000px) {
  .nav-principale { display: flex; gap: 2px; margin-right: 10px; }
  .bouton-menu, .menu-mobile { display: none; }
}

/* ---------- 5. Héros (haut de l'accueil) ---------- */
.heros {
  position: relative;
  overflow: hidden;
  padding: calc(var(--entete) + 28px) 0 72px;
  background: radial-gradient(120% 80% at 85% 0%, #E4F3E9 0%, rgba(228, 243, 233, 0) 62%), var(--fond);
}
.heros-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tache { position: absolute; border-radius: 50%; }
.tache-1 { width: 640px; height: 640px; right: -200px; top: -180px; background: radial-gradient(circle at 40% 40%, rgba(25, 163, 80, .28), rgba(25, 163, 80, 0) 66%); animation: derive 16s ease-in-out infinite alternate; }
.tache-2 { width: 480px; height: 480px; left: -180px; bottom: -220px; background: radial-gradient(circle, rgba(255, 201, 40, .36), rgba(255, 201, 40, 0) 66%); animation: derive 19s ease-in-out infinite alternate-reverse; }
.tache-3 { width: 340px; height: 340px; right: 30%; bottom: -150px; background: radial-gradient(circle, rgba(224, 57, 43, .12), rgba(224, 57, 43, 0) 66%); animation: derive 23s ease-in-out infinite alternate; }
@keyframes derive { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-40px, 30px, 0) scale(1.08); } }
.trame {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14, 75, 47, .17) 1.1px, transparent 1.6px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 72% 45%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 55% at 72% 45%, #000 20%, transparent 72%);
}
.heros-grille { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
.heros-texte { max-width: 640px; }
.annonce {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 13px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--ombre-s), inset 0 0 0 1px var(--bord);
  color: var(--vert-800); font-size: 14.5px; font-weight: 700;
}
.point-pulse { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--jaune); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 201, 40, .8); }
  70% { box-shadow: 0 0 0 10px rgba(255, 201, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 201, 40, 0); }
}
.heros h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 1.3rem + 5.2vw, 4.7rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.marqueur {
  color: var(--vert-700);
  background-image: linear-gradient(rgba(255, 201, 40, .6), rgba(255, 201, 40, .6));
  background-repeat: no-repeat;
  background-position: 0 90%;
  background-size: 0% .3em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: marquer 1.1s .75s var(--courbe) forwards;
}
@keyframes marquer { to { background-size: 100% .3em; } }
.heros-chapo { margin-top: 22px; max-width: 36ch; font-size: clamp(1.12rem, 1rem + .55vw, 1.32rem); line-height: 1.55; color: var(--encre-2); }
.heros-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.atouts { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; list-style: none; }
.atouts li { display: inline-flex; align-items: center; gap: 9px; color: var(--encre-2); font-size: 15.5px; font-weight: 600; }
.puce-icone { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--vert-100); color: var(--vert-700); }
.puce-icone .icone { width: 15px; height: 15px; stroke-width: 3; }
/* Drapeau du Mali (vert, or, rouge), dessiné en CSS : aucune image à charger. */
.drapeau-mali {
  display: inline-block; flex: none; vertical-align: -2px;
  width: 26px; height: 18px; border-radius: 4px;
  background: linear-gradient(90deg, #14B53A 0 33.34%, #FCD116 33.34% 66.67%, #CE1126 66.67%);
  box-shadow: 0 1px 2px rgba(8, 40, 24, .18), inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.pied-marque .drapeau-mali { width: 21px; height: 14px; margin-right: 7px; border-radius: 3px; vertical-align: -1px; }
@media (max-width: 520px) { .heros-actions .bouton { width: 100%; } }

.entree { opacity: 0; transform: translateY(18px); animation: entree .9s var(--courbe) forwards; animation-delay: calc(var(--i, 0) * 110ms + 60ms); }
@keyframes entree { to { opacity: 1; transform: none; } }

/* Les trois téléphones en éventail */
.heros-visuel { position: relative; height: 440px; perspective: 1400px; }
.eventail {
  position: relative; height: 100%;
  display: grid; place-items: center;
  transform: rotateY(calc(var(--px, 0) * 9deg)) rotateX(calc(var(--py, 0) * -7deg));
  transition: transform .6s var(--courbe);
}
.eventail > .telephone { grid-area: 1 / 1; }
.tel-centre { --l: 200px; z-index: 3; }
.tel-gauche, .tel-droite { --l: 164px; z-index: 2; }
.tel-gauche { transform: translate(-60%, 8%) rotate(-10deg); }
.tel-droite { transform: translate(60%, 8%) rotate(10deg); }
.tel-gauche .telephone-ecran, .tel-droite .telephone-ecran { filter: saturate(.9) brightness(.98); }
.tel-centre .telephone-cadre { animation: flotter 7s ease-in-out infinite; }
.tel-gauche .telephone-cadre { animation: flotter 8s ease-in-out -2.5s infinite; }
.tel-droite .telephone-cadre { animation: flotter 9s ease-in-out -5s infinite; }
@keyframes flotter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.bulle {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--ombre), inset 0 0 0 1px rgba(255, 255, 255, .7);
  line-height: 1.25;
  white-space: nowrap;
  animation: flotter 6s ease-in-out infinite;
}
.bulle strong { display: block; font-size: 14px; color: var(--encre); }
.bulle small { display: block; font-size: 12.5px; color: var(--gris); }
.bulle-icone { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--vert-100); color: var(--vert-700); }
.bulle-icone .icone { width: 20px; height: 20px; }
.bulle-icone.jaune { background: var(--jaune-pale); color: var(--jaune-texte); }
.bulle-code { display: grid; place-items: center; min-width: 46px; height: 36px; padding: 0 8px; border-radius: 12px; background: var(--vert-100); color: var(--vert-800); font-size: 20px; font-weight: 800; letter-spacing: .12em; }
.bulle-1 { top: 4%; left: 0; animation-delay: -1s; }
.bulle-2 { top: 44%; right: 0; animation-delay: -3s; }
.bulle-3 { bottom: 3%; left: 4%; animation-delay: -4.5s; }

@media (min-width: 600px) {
  .heros-visuel { height: 560px; }
  .tel-centre { --l: 250px; }
  .tel-gauche, .tel-droite { --l: 200px; }
  .bulle { padding: 12px 16px 12px 12px; gap: 12px; }
  .bulle strong { font-size: 15px; }
  .bulle small { font-size: 13px; }
  .bulle-icone, .bulle-code { height: 40px; }
  .bulle-icone { width: 40px; }
  .bulle-1 { left: 6%; }
  .bulle-2 { right: 4%; }
  .bulle-3 { left: 10%; }
}
@media (min-width: 1000px) {
  .heros { min-height: min(100vh, 920px); display: flex; align-items: center; padding: calc(var(--entete) + 40px) 0 96px; }
  .heros > .conteneur { width: min(100% - 64px, var(--largeur)); }
  .heros-grille { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 40px; }
  .heros-visuel { height: 640px; }
  .tel-centre { --l: 280px; }
  .tel-gauche, .tel-droite { --l: 224px; }
  .bulle-1 { left: -4%; top: 10%; }
  .bulle-2 { right: -6%; top: 46%; }
  .bulle-3 { left: 2%; bottom: 8%; }
}

/* ---------- 6. Téléphone (maquette) ---------- */
.telephone { --l: 280px; position: relative; width: var(--l); flex: none; }
.telephone-cadre {
  position: relative;
  padding: calc(var(--l) * .032);
  border-radius: calc(var(--l) * .15);
  background: linear-gradient(150deg, #2C3B33 0%, #131B17 42%, #0A0F0C 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .09), inset 0 0 0 calc(var(--l) * .012) #1B2520, var(--ombre-l);
}
.telephone-cadre::before {
  content: "";
  position: absolute; z-index: 2;
  top: calc(var(--l) * .058); left: 50%;
  width: calc(var(--l) * .04); height: calc(var(--l) * .04);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #34405C, #05070A 62%);
  transform: translateX(-50%);
}
.telephone-cadre::after {
  content: "";
  position: absolute; right: calc(var(--l) * -.011); top: 22%;
  width: calc(var(--l) * .013); height: 11%;
  border-radius: 0 3px 3px 0;
  background: #1F2A24;
}
.telephone-ecran { position: relative; overflow: hidden; border-radius: calc(var(--l) * .118); background: #F5F5F2; }
.telephone-ecran::before { content: ""; display: block; padding-top: 222.29%; }
.telephone-ecran img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 7. Bande des plats (défile) ---------- */
.bande-cadre { position: relative; z-index: 2; overflow: hidden; margin-top: -40px; padding-block: 34px; }
.bande { margin-inline: -4%; background: var(--vert-800); box-shadow: var(--ombre); transform: rotate(-2deg); }
.bande-piste { display: flex; width: max-content; animation: defiler 52s linear infinite; }
.bande:hover .bande-piste { animation-play-state: paused; }
.bande ul { display: flex; list-style: none; }
.bande li {
  display: inline-flex; align-items: center; gap: 24px;
  padding: 18px 24px 18px 0;
  color: #fff;
  font-size: clamp(18px, 1.05rem + .7vw, 27px);
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.bande li::before {
  content: "";
  width: 26px; height: 14px; flex: none;
  transform: skewX(-18deg);
  background:
    linear-gradient(var(--vert-300), var(--vert-300)) 7px 0 / calc(100% - 7px) 3px no-repeat,
    linear-gradient(var(--jaune), var(--jaune)) 3.5px 5.5px / calc(100% - 3.5px) 3px no-repeat,
    linear-gradient(#FF7466, #FF7466) 0 11px / 100% 3px no-repeat;
}
@keyframes defiler { to { transform: translateX(-50%); } }

/* ---------- 8. Titres de section ---------- */
.titre-section { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.titre-section.centre { margin-inline: auto; text-align: center; }
.surtitre {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--vert-700);
  font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.surtitre::before {
  content: "";
  width: 24px; height: 13px; flex: none;
  transform: skewX(-18deg);
  background:
    linear-gradient(var(--vert-500), var(--vert-500)) 6px 0 / calc(100% - 6px) 3px no-repeat,
    linear-gradient(var(--jaune), var(--jaune)) 3px 5px / calc(100% - 3px) 3px no-repeat,
    linear-gradient(var(--rouge), var(--rouge)) 0 10px / 100% 3px no-repeat;
}
.titre-section h2, .partenaire h2, .appel h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.04em;
}
.chapo { margin-top: 18px; color: var(--encre-2); font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6; }

/* ---------- 9. Comment ça marche (étapes) ---------- */
.etapes { display: grid; gap: 24px; }
.etapes-scene { display: none; }
.etapes-liste { list-style: none; display: grid; gap: 20px; }
.etape {
  position: relative;
  padding: 28px 24px 0;
  border-radius: var(--rayon-l);
  background: #fff;
  box-shadow: var(--ombre-s), inset 0 0 0 1px var(--bord);
  overflow: hidden;
}
.etape-num {
  display: inline-grid; place-items: center;
  min-width: 48px; height: 48px; padding: 0 10px;
  border-radius: 15px;
  background: var(--vert-800); color: #fff;
  font-size: 17px; font-weight: 800; letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.etape h3 { margin-top: 18px; font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); letter-spacing: -.032em; }
.etape p { margin-top: 10px; color: var(--encre-2); font-size: 17.5px; }
.etape-visuel {
  display: flex; justify-content: center;
  height: 340px; margin-top: 26px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
  mask-image: linear-gradient(#000 72%, transparent);
}
.etape-visuel .telephone { --l: 230px; }
.etape-visuel .telephone-cadre { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .09), inset 0 0 0 calc(var(--l) * .012) #1B2520, 0 20px 40px -20px rgba(8, 40, 24, .45); }
.telephone-ecran .ecran { opacity: 0; transform: scale(1.04); transition: opacity .6s var(--courbe), transform .9s var(--courbe); }
.telephone-ecran .ecran.actif { opacity: 1; transform: none; }

@media (min-width: 900px) {
  .etapes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .etapes-scene {
    display: grid; place-items: center;
    position: sticky; top: calc(var(--entete) + 3vh);
    height: calc(100vh - var(--entete) - 6vh);
    min-height: 540px;
  }
  .etapes-scene::before {
    content: "";
    position: absolute;
    width: min(560px, 100%); aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(25, 163, 80, .22), rgba(25, 163, 80, 0) 64%);
  }
  .etapes-scene .telephone { --l: min(300px, calc((100vh - var(--entete) - 110px) / 2.34)); }
  .etapes-liste { position: relative; gap: 0; padding-left: 40px; }
  .etapes-liste::before, .etapes-liste::after {
    content: "";
    position: absolute; left: 0; top: 14vh;
    width: 3px; border-radius: 3px;
  }
  .etapes-liste::before { bottom: 14vh; background: var(--bord); }
  .etapes-liste::after {
    height: calc((100% - 28vh) * var(--avance, .3333));
    background: linear-gradient(var(--vert-500), var(--vert-700));
    transition: height .7s var(--courbe);
  }
  .etape {
    min-height: 74vh;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 0;
    background: none; box-shadow: none; overflow: visible;
    opacity: .28;
    transition: opacity .5s var(--courbe);
  }
  .etape.actif { opacity: 1; }
  .etape p { max-width: 34ch; font-size: 19px; }
  .etape-visuel { display: none; }
}

/* ---------- 10. Pensé pour Bamako (grille de cartes) ---------- */
.bento { display: grid; gap: 18px; }
.carte-bento {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px;
  border-radius: var(--rayon-l);
  background: #fff;
  box-shadow: var(--ombre-s), inset 0 0 0 1px var(--bord);
  overflow: hidden;
  transition: transform .35s var(--courbe), box-shadow .35s var(--courbe);
}
.carte-bento:hover { transform: translateY(-4px); box-shadow: var(--ombre), inset 0 0 0 1px var(--bord); }
.carte-bento h3 { font-size: 1.38rem; letter-spacing: -.028em; }
.carte-bento p { color: var(--encre-2); font-size: 16.5px; }
.pastille-icone {
  display: grid; place-items: center;
  width: 50px; height: 50px; flex: none;
  margin-bottom: 6px;
  border-radius: 16px;
  background: var(--vert-100); color: var(--vert-700);
}
.pastille-icone .icone { width: 25px; height: 25px; }
.pastille-icone.jaune { background: var(--jaune-pale); color: var(--jaune-texte); }
.pastille-icone.orange { background: var(--orange-pale); color: var(--orange-texte); }
.pastille-icone.rouge { background: #FDE8E6; color: var(--rouge-alerte); }
.b-texte { display: flex; flex-direction: column; gap: 10px; }
.b-visuel { margin-top: auto; padding-top: 18px; }

.maquette-champ {
  max-width: 520px;
  padding: 14px 18px 16px;
  border-radius: 16px;
  background: var(--fond-2);
  box-shadow: inset 0 0 0 2px var(--vert-700);
}
.maquette-etiquette { display: block; color: var(--vert-700); font-size: 13.5px; font-weight: 800; }
.maquette-saisie { margin-top: 4px; min-height: 1.6em; color: var(--encre); font-size: 18px; font-weight: 600; }
.curseur { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.16em; background: var(--vert-700); animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }

.carte-plan { position: relative; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--bord); }
.mini-carte { display: block; width: 100%; height: auto; }
.arrivee {
  position: absolute; top: 12px; left: 12px;
  padding: 8px 12px; border-radius: 12px;
  background: #fff; box-shadow: var(--ombre-s);
  font-size: 13px; color: var(--gris); line-height: 1.25;
}
.arrivee strong { display: block; color: var(--encre); font-size: 18px; }

.code-geant { display: inline-flex; align-items: center; gap: 16px; padding: 14px 20px; border-radius: 20px; background: var(--vert-100); }
.code-geant strong { color: var(--vert-800); font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: .16em; font-variant-numeric: tabular-nums; }
.code-geant span { color: var(--vert-800); font-size: 14px; font-weight: 700; line-height: 1.3; }
.hors-ligne { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--encre-2); font-size: 14.5px; font-weight: 600; }
.hors-ligne .icone { width: 18px; height: 18px; color: var(--vert-700); }

.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--fond-2);
  box-shadow: inset 0 0 0 1px var(--bord);
  color: var(--encre-2);
  font-size: 15px; font-weight: 600;
}
.puce.speciale { background: var(--orange-pale); box-shadow: none; color: var(--orange-texte); font-weight: 700; }
.puce.choisie { background: var(--vert-700); box-shadow: none; color: #fff; }
.titre-demande { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 6px 12px; border-radius: 999px; background: var(--orange-pale); color: var(--orange-texte); font-size: 14px; font-weight: 800; }
.js .b-demande .puce, .js .b-pourboire .puce { opacity: 0; transform: translateY(8px) scale(.96); }
.b-demande.visible .puce, .b-pourboire.visible .puce { animation: sortir .5s var(--courbe) forwards; }
.b-demande.visible .puce:nth-child(2), .b-pourboire.visible .puce:nth-child(2) { animation-delay: .15s; }
.b-demande.visible .puce:nth-child(3), .b-pourboire.visible .puce:nth-child(3) { animation-delay: .3s; }
.b-demande.visible .puce:nth-child(4), .b-pourboire.visible .puce:nth-child(4) { animation-delay: .45s; }
@keyframes sortir { to { opacity: 1; transform: none; } }

.maquette-payer {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  max-width: 420px; min-height: 58px;
  padding: 14px 22px;
  border-radius: 16px;
  background: var(--vert-700); color: #fff;
  font-size: 17px; font-weight: 700;
}
.maquette-payer::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 24px; height: 24px; margin: -12px 0 0 -12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transform: scale(0); opacity: 0;
  animation: toucher 3.2s ease-out infinite;
}
@keyframes toucher { 0%, 55% { transform: scale(0); opacity: 0; } 58% { opacity: .9; } 100% { transform: scale(18); opacity: 0; } }
.moyens { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.moyen { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--bord); color: var(--encre-2); font-size: 15px; font-weight: 600; }
.moyen i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--vert-500)); }

.coeur { display: inline-grid; place-items: center; width: 38px; height: 38px; color: var(--rouge); }
.coeur .icone { width: 22px; height: 22px; fill: currentColor; stroke: none; animation: battre 1.6s ease-in-out infinite; }
@keyframes battre { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.22); } 40% { transform: scale(.96); } }

@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-trouver, .b-paiement { grid-column: span 2; }
}
@media (min-width: 1020px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b-trouver { grid-column: 1 / span 2; }
  .b-suivi { grid-column: 3; grid-row: 1 / span 2; }
  .b-paiement { grid-column: 1 / span 2; }
  .b-trouver, .b-paiement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 28px; align-items: center; }
  .b-trouver .b-visuel, .b-paiement .b-visuel { margin-top: 0; padding-top: 0; }
}

/* ---------- 10 bis. Pour qui ? (clients, restaurants, livreurs) ---------- */
.publics { display: grid; gap: 16px; }
@media (min-width: 900px) { .publics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.public {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 24px 24px;
  border-radius: var(--rayon-l);
  background: #fff;
  color: var(--encre);
  text-decoration: none;
  box-shadow: var(--ombre-s), inset 0 0 0 1px var(--bord);
  transition: translate .25s var(--courbe), box-shadow .25s var(--courbe);
}
.public:hover { color: var(--encre); translate: 0 -4px; box-shadow: var(--ombre), inset 0 0 0 1px var(--bord-2); }
.public:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }
.public-icone { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 12px; border-radius: 18px; background: var(--vert-100); color: var(--vert-700); }
.public-icone .icone { width: 29px; height: 29px; }
.public-qui { color: var(--gris); font-size: 15.5px; font-weight: 700; }
.public strong { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.public-texte { color: var(--encre-2); font-size: 16px; line-height: 1.5; }
.public-lien { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; color: var(--vert-700); font-size: 15.5px; font-weight: 800; }
.public-lien .icone { width: 18px; height: 18px; transition: transform .25s var(--courbe); }
.public:hover .public-lien .icone { transform: translateX(4px); }
.public-resto {
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(25, 163, 80, .4), rgba(25, 163, 80, 0) 60%),
    var(--vert-900);
  color: #E8F3EC;
  box-shadow: var(--ombre);
}
.public-resto:hover { color: #E8F3EC; box-shadow: var(--ombre-l); }
.public-resto .public-icone { background: rgba(255, 201, 40, .16); color: var(--jaune); }
.public-resto .public-qui { color: rgba(232, 243, 236, .78); }
.public-resto strong { color: #fff; }
.public-resto .public-texte { color: rgba(232, 243, 236, .9); }
.public-resto .public-lien { color: var(--jaune); }
.public-livreur {
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 60%),
    var(--jaune);
  color: var(--vert-950);
  box-shadow: 0 2px 6px rgba(122, 86, 0, .08), 0 16px 36px -12px rgba(122, 86, 0, .38);
}
.public-livreur:hover { color: var(--vert-950); box-shadow: 0 6px 16px rgba(122, 86, 0, .12), 0 30px 60px -24px rgba(122, 86, 0, .5); }
.public-livreur .public-icone { background: rgba(255, 255, 255, .6); color: var(--vert-800); }
.public-livreur .public-qui { color: rgba(6, 38, 25, .78); }
.public-livreur .public-texte { color: var(--vert-950); }
.public-livreur .public-lien { color: var(--vert-800); }

/* Étiquette d'une partie : « Espace restaurants », « Espace livreurs » */
.espace {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 18px 6px 6px;
  border-radius: 999px;
  font-size: 15.5px; font-weight: 800; letter-spacing: .01em;
}
.espace-icone { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; }
.espace-icone .icone { width: 20px; height: 20px; }
.espace-resto { background: var(--jaune); color: var(--vert-950); }
.espace-resto .espace-icone { background: var(--vert-900); color: var(--jaune); }
.espace-livreur { background: var(--vert-700); color: #fff; }
.espace-livreur .espace-icone { background: var(--jaune); color: var(--vert-900); }

/* ---------- 11. Restaurants et livreurs ---------- */
.section-livreurs {
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 0% 0%, rgba(255, 201, 40, .42), rgba(255, 201, 40, 0) 62%),
    radial-gradient(60% 60% at 100% 100%, rgba(25, 163, 80, .12), rgba(25, 163, 80, 0) 60%),
    var(--jaune-pale);
}
.section-sombre {
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 88% 8%, rgba(25, 163, 80, .38), rgba(25, 163, 80, 0) 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(255, 201, 40, .14), rgba(255, 201, 40, 0) 60%),
    var(--vert-900);
  color: #E8F3EC;
}
.section-sombre h2 { color: #fff; }
.section-sombre .chapo { color: rgba(232, 243, 236, .88); }
.section-sombre .surtitre { color: var(--jaune); }
.partenaire { display: grid; gap: 40px; align-items: center; }
.chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.chiffre { padding: 18px 16px; border-radius: 20px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13); }
.chiffre strong { display: block; color: var(--jaune); font-size: clamp(1.35rem, .95rem + 1.05vw, 1.9rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; white-space: nowrap; }
.chiffre span { display: block; margin-top: 6px; color: rgba(232, 243, 236, .88); font-size: 15px; line-height: 1.4; }
.liste-coches { list-style: none; display: grid; gap: 13px; margin-top: 28px; }
.liste-coches li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.45; }
.coche { display: grid; place-items: center; width: 26px; height: 26px; flex: none; margin-top: -1px; border-radius: 50%; background: var(--vert-500); color: #fff; }
.coche .icone { width: 15px; height: 15px; stroke-width: 3; }
.partenaire-texte > .bouton { margin-top: 32px; }
.partenaire-visuel { position: relative; display: grid; place-items: center; min-height: 500px; }
.partenaire-visuel .telephone { --l: 232px; z-index: 2; }
.anneau { position: absolute; width: min(520px, 96%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 40, .2), rgba(255, 201, 40, 0) 62%); }
.anneau::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .2); animation: tourner 70s linear infinite; }
.anneau.clair { background: radial-gradient(circle, rgba(25, 163, 80, .2), rgba(25, 163, 80, 0) 62%); }
.anneau.clair::after { border-color: rgba(14, 75, 47, .18); }
@keyframes tourner { to { transform: rotate(360deg); } }

.notif {
  position: absolute; z-index: 4; top: 9%; left: 50%;
  display: flex; align-items: center; gap: 12px;
  width: min(320px, 94%);
  padding: 13px 16px 13px 13px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--ombre-l);
  color: var(--encre);
  line-height: 1.3;
  opacity: 0;
  transform: translate(-50%, -18px) scale(.97);
  animation: notifier 7s var(--courbe) infinite;
}
.notif strong { display: block; font-size: 15px; }
.notif small { display: block; color: var(--gris); font-size: 13.5px; }
.notif .pastille-icone { width: 42px; height: 42px; margin: 0; border-radius: 13px; background: var(--vert-700); color: #fff; }
.notif .pastille-icone .icone { width: 22px; height: 22px; animation: sonner 7s ease-in-out infinite; transform-origin: 50% 3px; }
@keyframes notifier {
  0% { opacity: 0; transform: translate(-50%, -18px) scale(.97); }
  7%, 78% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  88%, 100% { opacity: 0; transform: translate(-50%, -10px) scale(.98); }
}
@keyframes sonner {
  6%, 30%, 100% { transform: rotate(0); }
  9% { transform: rotate(18deg); } 12% { transform: rotate(-16deg); } 15% { transform: rotate(12deg); }
  18% { transform: rotate(-9deg); } 21% { transform: rotate(5deg); } 24% { transform: rotate(-2deg); }
}
.gain {
  position: absolute; z-index: 4; right: 2%; top: 20%;
  padding: 12px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--ombre-l);
  line-height: 1.25;
  animation: flotter 6s ease-in-out infinite;
}
.gain small { display: block; color: var(--gris); font-size: 13px; font-weight: 600; }
.gain strong { display: block; color: var(--vert-700); font-size: 24px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.gain.bas { top: auto; right: auto; left: 0; bottom: 14%; animation-delay: -3s; }

.tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.tuile { padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--ombre-s), inset 0 0 0 1px var(--bord); }
.tuile .pastille-icone { width: 52px; height: 52px; margin: 0; }
.tuile strong { display: block; margin-top: 12px; font-size: 17px; line-height: 1.3; }
.tuile > span:last-child { display: block; margin-top: 3px; color: var(--gris); font-size: 15px; line-height: 1.45; }
@media (max-width: 420px) { .tuiles { grid-template-columns: 1fr; } .chiffres { grid-template-columns: 1fr; } }
/* Sur téléphone, l'étiquette « Espace livreurs » et le titre viennent avant le téléphone, comme pour les restaurants. */
@media (max-width: 999.98px) { .partenaire-inverse .partenaire-texte { order: -1; } }
@media (min-width: 600px) { .partenaire-visuel .telephone { --l: 260px; } .partenaire-visuel { min-height: 600px; } }
@media (min-width: 1000px) {
  .partenaire { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; }
  .partenaire-inverse { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .partenaire-inverse .partenaire-visuel { order: -1; }
  .partenaire-visuel { min-height: 680px; }
  .partenaire-visuel .telephone { --l: 290px; }
}

/* ---------- 12. Questions ---------- */
.questions { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.question { border-radius: 20px; background: #fff; box-shadow: var(--ombre-s), inset 0 0 0 1px var(--bord); transition: box-shadow .3s; }
.question[open] { box-shadow: var(--ombre), inset 0 0 0 1.5px var(--vert-300); }
.question summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  border-radius: 20px;
  list-style: none;
  cursor: pointer;
  color: var(--encre);
  font-size: 18px; font-weight: 700; line-height: 1.35;
}
.question summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--vert-100); transition: background-color .3s, transform .45s var(--courbe); }
.plus::before, .plus::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 14px; height: 2.5px; border-radius: 2px;
  background: var(--vert-700);
  transform: translate(-50%, -50%);
  transition: transform .35s var(--courbe), background-color .3s;
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.question[open] .plus { background: var(--vert-700); transform: rotate(180deg); }
.question[open] .plus::before, .question[open] .plus::after { background: #fff; }
.question[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.reponse { overflow: hidden; }
.reponse p { padding: 0 22px 22px; color: var(--encre-2); font-size: 17px; }
.reponse p + p { padding-top: 0; margin-top: -10px; }

/* ---------- 13. Être prévenu (appel final + formulaire) ---------- */
.appel {
  position: relative;
  display: grid; gap: 32px;
  padding: clamp(24px, 5vw, 64px);
  border-radius: 36px;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(25, 163, 80, .5), rgba(25, 163, 80, 0) 60%),
    radial-gradient(70% 70% at 0% 100%, rgba(255, 201, 40, .22), rgba(255, 201, 40, 0) 60%),
    var(--vert-900);
  color: #E8F3EC;
  overflow: hidden;
  box-shadow: var(--ombre-l);
}
.appel h2 { color: #fff; }
.appel-icone { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .5); }
.appel-texte > p { margin-top: 16px; color: rgba(232, 243, 236, .9); font-size: 18px; }
.rassurances { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.rassurances li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; line-height: 1.4; }
.rassurances .coche { background: rgba(255, 255, 255, .14); color: var(--jaune); }
.contact-direct { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.contact-direct p { color: rgba(232, 243, 236, .88); font-size: 16px; }
.contact-direct a { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; color: #fff; font-size: 20px; font-weight: 800; text-decoration: none; }
.contact-direct a:hover { color: var(--jaune); }
.contact-direct a .icone { width: 24px; height: 24px; color: #4ADE80; }
.bientot { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); color: #fff; font-size: 15px; font-weight: 600; }
.bientot .icone { width: 18px; height: 18px; }

.formulaire { position: relative; padding: clamp(22px, 3vw, 32px); border-radius: 26px; background: #fff; color: var(--encre); box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .5); }
.formulaire h3 { font-size: 1.4rem; letter-spacing: -.025em; }
.formulaire > p { margin-top: 6px; color: var(--gris); font-size: 15.5px; }
.champ { display: grid; gap: 8px; margin-top: 18px; }
.etiquette { color: var(--encre); font-size: 15px; font-weight: 700; }
.champ input[type="text"], .champ input[type="tel"], .champ select {
  width: 100%; min-height: 54px;
  padding: 13px 16px;
  border: 1.5px solid var(--bord-2);
  border-radius: 14px;
  background: var(--fond);
  color: var(--encre);
  font: inherit; font-size: 17px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.champ input::placeholder { color: #76827B; }
.champ select {
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230A5C36' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.champ input:focus, .champ select:focus { outline: none; border-color: var(--vert-700); background-color: #fff; box-shadow: 0 0 0 4px rgba(10, 92, 54, .15); }
.message-erreur { display: none; color: #B3261E; font-size: 15px; font-weight: 700; line-height: 1.4; }
.champ.erreur input { border-color: var(--rouge-alerte); box-shadow: 0 0 0 4px rgba(198, 40, 40, .12); }
.champ.erreur .message-erreur { display: block; }
.segments { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segment { position: relative; }
.segment input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segment span {
  display: flex; align-items: center; justify-content: center;
  min-height: 50px;
  border: 1.5px solid var(--bord-2);
  border-radius: 14px;
  background: var(--fond);
  color: var(--encre);
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.segment input:checked + span { background: var(--vert-700); border-color: var(--vert-700); color: #fff; }
.segment input:focus-visible + span { outline: 3px solid var(--jaune); outline-offset: 2px; }
.formulaire .bouton { width: 100%; margin-top: 24px; }
.formulaire .note-form { margin-top: 14px; color: var(--gris); font-size: 14px; text-align: center; }
.resultat { margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--vert-50); box-shadow: inset 0 0 0 1.5px var(--vert-300); color: var(--vert-900); font-weight: 600; line-height: 1.45; }
.resultat .bouton { margin-top: 12px; }
@media (max-width: 480px) {
  .appel { padding: 26px 16px 16px; border-radius: 28px; }
  .formulaire { padding: 22px 18px; }
  .formulaire .bouton { padding-inline: 14px; gap: 8px; }
}
@media (min-width: 1000px) { .appel { grid-template-columns: minmax(0, 1fr) minmax(0, 470px); align-items: center; gap: 56px; } }

/* ---------- 14. Pied de page ---------- */
.pied { position: relative; padding: 64px 0 28px; background: var(--vert-950); color: rgba(232, 243, 236, .84); font-size: 16px; }
.pied::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--vert-500) 0 33.33%, var(--jaune) 33.33% 66.66%, var(--rouge) 66.66% 100%); }
.pied-grille { display: grid; gap: 34px; }
.pied-marque img { width: auto; height: 40px; }
.pied-marque p { margin-top: 14px; max-width: 30ch; }
.pied h2 { margin-bottom: 14px; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pied-col { display: grid; gap: 10px; align-content: start; }
.pied a { color: rgba(232, 243, 236, .9); text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(232, 243, 236, .7); font-size: 14px; }
@media (min-width: 760px) { .pied-grille { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }

/* ---------- 15. Pages de texte (confidentialité, suppression) ---------- */
.page-titre {
  position: relative; overflow: hidden;
  padding: calc(var(--entete) + 36px) 0 44px;
  background: radial-gradient(100% 90% at 90% 0%, #E1F1E6 0%, rgba(225, 241, 230, 0) 60%), var(--fond-2);
}
.page-titre .trame { -webkit-mask-image: radial-gradient(ellipse 50% 70% at 90% 10%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 50% 70% at 90% 10%, #000 10%, transparent 70%); }
.page-titre > .conteneur { position: relative; }
.fil { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--gris); font-size: 14.5px; font-weight: 600; }
.fil a { color: var(--gris); text-decoration: none; }
.fil a:hover { color: var(--vert-700); text-decoration: underline; }
.page-titre .surtitre { margin-top: 22px; }
.page-titre h1 { margin-top: 12px; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.7rem); font-weight: 800; letter-spacing: -.042em; line-height: 1.04; }
.date-maj { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--bord); color: var(--encre-2); font-size: 14.5px; font-weight: 600; }
.date-maj .icone { width: 17px; height: 17px; color: var(--vert-700); }
.page-titre .chapo { max-width: 780px; }
.en-bref { display: grid; gap: 14px; margin-top: 30px; }
.en-bref-carte { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: var(--ombre-s), inset 0 0 0 1px var(--bord); font-size: 16.5px; line-height: 1.5; }
.en-bref-carte .pastille-icone { margin: 0; }
@media (min-width: 860px) { .en-bref { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.etiquette-bref { margin-top: 32px; color: var(--vert-800); font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.etiquette-bref + .en-bref { margin-top: 12px; }
.doc { display: grid; gap: 24px; padding-block: 36px 96px; }
.doc-simple { padding-block: 36px 96px; }
.insecable { white-space: nowrap; }
.fiche { display: grid; margin: 0; }
.fiche > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--bord); }
.fiche > div:last-child { border-bottom: 0; padding-bottom: 0; }
.fiche dt { color: var(--gris); font-size: 14px; font-weight: 700; }
.fiche dd { margin: 0; color: var(--encre); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (min-width: 600px) { .fiche > div { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px; align-items: baseline; } }
.bloc-large { margin-top: 18px; }
.sommaire details { border-radius: 20px; background: #fff; box-shadow: var(--ombre-s), inset 0 0 0 1px var(--bord); }
.sommaire summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; list-style: none; cursor: pointer; font-weight: 800; }
.sommaire summary::-webkit-details-marker { display: none; }
.sommaire summary .icone { transition: transform .3s var(--courbe); color: var(--vert-700); }
.sommaire details[open] summary .icone { transform: rotate(180deg); }
.sommaire ol { list-style: none; display: grid; gap: 2px; padding: 0 10px 12px; counter-reset: s; }
.sommaire a { display: flex; gap: 10px; padding: 9px 12px; border-radius: 12px; color: var(--encre-2); font-size: 15px; font-weight: 600; line-height: 1.35; text-decoration: none; counter-increment: s; transition: background-color .2s, color .2s; }
.sommaire a::before { content: counter(s, decimal-leading-zero); min-width: 1.6em; color: var(--gris); font-weight: 700; font-variant-numeric: tabular-nums; }
.sommaire a:hover { background: var(--fond-2); color: var(--vert-800); }
.sommaire a.actif { background: var(--vert-100); color: var(--vert-800); }
.sommaire a.actif::before { color: var(--vert-700); }
.doc-contenu { display: grid; gap: 18px; min-width: 0; }
.bloc { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: #fff; box-shadow: var(--ombre-s), inset 0 0 0 1px var(--bord); }
.bloc-titre { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.bloc-titre .pastille-icone { width: 46px; height: 46px; margin: 0; border-radius: 14px; }
.bloc-titre .pastille-icone .icone { width: 23px; height: 23px; }
.bloc h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); letter-spacing: -.03em; }
.bloc h3 { margin: 24px 0 6px; color: var(--vert-700); font-size: 1.1rem; letter-spacing: -.01em; }
.bloc p + p, .bloc ul + p, .bloc p + ul { margin-top: 10px; }
.bloc ul { list-style: none; display: grid; gap: 10px; }
.bloc li { position: relative; padding-left: 24px; }
.bloc li::before { content: ""; position: absolute; left: 5px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--vert-500); }
.note { color: var(--gris); font-size: 15.5px; }
.tableau-duree { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: 16px; }
.tableau-duree th { padding: 12px 14px; background: var(--vert-50); color: var(--vert-800); font-size: 13.5px; font-weight: 800; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.tableau-duree th:first-child { border-radius: 12px 0 0 12px; }
.tableau-duree th:last-child { border-radius: 0 12px 12px 0; }
.tableau-duree td { padding: 14px; border-bottom: 1px solid var(--bord); vertical-align: top; line-height: 1.5; }
.tableau-duree tr:last-child td { border-bottom: 0; }
.tableau-duree td:first-child { width: 46%; font-weight: 600; }
@media (max-width: 700px) {
  .tableau-duree thead { display: none; }
  .tableau-duree, .tableau-duree tbody, .tableau-duree tr, .tableau-duree td { display: block; width: 100%; }
  .tableau-duree tr { padding: 14px 0; border-bottom: 1px solid var(--bord); }
  .tableau-duree tr:last-child { border-bottom: 0; }
  .tableau-duree td, .tableau-duree td:first-child { width: 100%; padding: 3px 0; border: 0; }
  .tableau-duree td::before { content: attr(data-libelle); display: block; color: var(--vert-700); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
}
@media (min-width: 1020px) {
  .doc { grid-template-columns: 272px minmax(0, 1fr); gap: 44px; align-items: start; }
  .sommaire { position: sticky; top: calc(var(--entete) + 24px); max-height: calc(100vh - var(--entete) - 48px); overflow: auto; border-radius: 20px; }
}

.barre-lecture { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 3px; pointer-events: none; }
.barre-lecture span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--vert-500), var(--jaune)); transform: scaleX(var(--lecture, 0)); transform-origin: 0 50%; }
.retour-haut {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--vert-800); color: #fff;
  box-shadow: var(--ombre);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--courbe), background-color .2s;
}
.retour-haut:hover { background: var(--vert-700); color: #fff; }
.retour-haut.visible { opacity: 1; pointer-events: auto; transform: none; }

.alerte-rouge {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 20px;
  background: var(--rouge-alerte); color: #fff;
  font-size: 17.5px; line-height: 1.45;
  box-shadow: 0 16px 32px -16px rgba(198, 40, 40, .7);
}
.alerte-rouge .icone { width: 30px; height: 30px; }
.alerte-rouge p { color: #fff; }
.deux-voies { display: grid; gap: 18px; }
.voie-num { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--vert-800); color: #fff; font-size: 18px; font-weight: 800; }
.role { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--vert-100); color: var(--vert-800); font-size: 14.5px; font-weight: 800; }
.bloc .boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.liste-efface li::before { background: var(--rouge-alerte); }
.liste-garde li::before { background: var(--jaune); box-shadow: 0 0 0 1px #E5B100; }
@media (min-width: 900px) { .deux-voies { grid-template-columns: 1fr 1fr; } }

/* ---------- 15 bis. Retour après un paiement (Wave, Orange Money) ---------- */
.page-paiement {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 24px 16px;
  background: radial-gradient(100% 70% at 90% 0%, #E1F1E6 0%, rgba(225, 241, 230, 0) 60%), var(--fond-2);
}
.paiement { width: 100%; max-width: 460px; text-align: center; }
.paiement-logo { width: auto; height: 40px; margin: 0 auto 28px; }
.paiement-carte { padding: 38px 26px 34px; border-radius: 28px; background: #fff; box-shadow: var(--ombre), inset 0 0 0 1px var(--bord); }
.paiement-icone { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%; background: var(--vert-100); color: var(--vert-700); animation: apparaitre-icone .6s var(--courbe) both; }
.paiement-icone .icone { display: none; width: 46px; height: 46px; stroke-width: 2.6; }
.paiement-carte[data-etat="inconnu"] [data-pour="inconnu"],
.paiement-carte[data-etat="ok"] [data-pour="ok"],
.paiement-carte[data-etat="echec"] [data-pour="echec"] { display: block; }
.paiement-carte[data-etat="ok"] .paiement-icone { background: var(--vert-700); color: #fff; box-shadow: 0 14px 30px -12px rgba(10, 92, 54, .6); }
.paiement-carte[data-etat="echec"] .paiement-icone { background: var(--rouge-alerte); color: #fff; box-shadow: 0 14px 30px -12px rgba(198, 40, 40, .6); }
.paiement-carte[data-etat="echec"] h1 { color: var(--rouge-alerte); }
.paiement-carte h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.35rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.paiement-carte p { margin-top: 14px; color: var(--encre-2); font-size: 19px; line-height: 1.5; }
@keyframes apparaitre-icone { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* ---------- 16. Guide « Ouvrir dans le navigateur » (petit navigateur de WhatsApp, Facebook…) ---------- */
.guide { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(232, 242, 236, .97); }
.guide-fleche { position: fixed; top: 4px; right: 14px; color: var(--vert-700); font-size: 54px; font-weight: 900; line-height: 1; animation: monter 1s ease-in-out infinite; }
@keyframes monter { 50% { transform: translateY(-10px); } }
.guide-carte { width: 100%; max-width: 380px; padding: 24px 20px; border: 2px solid var(--vert-700); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(10, 92, 54, .18); color: var(--encre); font-size: 19px; font-weight: 700; line-height: 1.4; text-align: center; }
.guide-carte img { width: 72px; height: 72px; margin: 0 auto 10px; }
.guide-titre { margin-bottom: 12px; color: var(--vert-700); font-size: 22px; }
.guide-etape + .guide-etape { margin-top: 8px; }
.guide-note { margin-top: 12px; color: var(--encre-2); font-size: 15px; font-weight: 500; }
.guide-passer { margin-top: 14px; border: 0; background: none; color: var(--gris); font: inherit; font-size: 14px; font-weight: 500; text-decoration: underline; cursor: pointer; }

/* ---------- 17. Apparition au défilement ---------- */
.js [data-revele] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--courbe), transform .8s var(--courbe); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-revele].visible { opacity: 1; transform: none; }

/* ---------- 18. Mouvement réduit (réglage du téléphone) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js [data-revele], .entree { opacity: 1; transform: none; }
  .bande-piste { animation: none; }
  .notif { animation: none; opacity: 1; transform: translate(-50%, 0); }
  .maquette-payer::after { display: none; }
  .js .b-demande .puce, .js .b-pourboire .puce { opacity: 1; transform: none; }
  .marqueur { background-size: 100% .3em; }
}

/* ---------- 19. Impression ---------- */
@media print {
  .entete, .menu-mobile, .pied, .retour-haut, .barre-lecture, .sommaire, .heros-decor, .trame { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .page-titre { padding-top: 0; background: none; }
  .bloc, .en-bref-carte { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .doc { display: block; padding: 0; }
  a { color: inherit; }
}
