/* Hallmark · checked: 2026-11-12 · genre: modern-minimal · theme: brand (OptSolution) · the student app vitrine, product built
 * built: the project · redesign: full · v2.0.0 */
/* ════════════════════════════════════════════════
   VITRINE DE L'APPLICATION ÉTUDIANTE (landing, section #app-etudiante)
   ════════════════════════════════════════════════
   - Téléphone générique en CSS pur, inspiré d'un flagship Android récent
     (bords plats, bordures fines et régulières, poinçon centré, cadre métal,
     boutons à droite). Aucun logo ni nom de marque, aucune image de cadre.
   - Écrans reconstruits en HTML d'après l'application : toutes leurs
     mesures sont en em, et 1em = 1/22,5 de la largeur de l'écran (unités de
     conteneur), si bien que tout reste net et proportionné du téléphone de
     poche au mur de projection.
   - Animations en transform / opacity uniquement. État de BASE = état final :
     sans animation (mouvement réduit), chaque écran s'affiche complet.
   - Mode présentation : .va-scene.est-presentation (plein écran).
   Jetons : css/brand.css et les alias de landing.html.
   ════════════════════════════════════════════════ */

:root {
  /* Couleurs propres à la reproduction du téléphone et des écrans de
     l'application étudiante (palette de l'application, cadre métal). */
  --va-c01: #fff;
  --va-c02: rgba(255, 255, 255, .18);
  --va-c03: rgba(255, 255, 255, .35);
  --va-c04: rgba(11, 18, 32, .32);
  --va-c05: rgba(0, 0, 0, .7);
  --va-c06: #e9ebee;
  --va-c07: #9aa0a8;
  --va-c08: #5e646c;
  --va-c09: #c7cbd0;
  --va-c10: #6a7078;
  --va-c11: #a9aeb5;
  --va-c12: #e2e4e7;
  --va-c13: rgba(255, 255, 255, .45);
  --va-c14: rgba(11, 18, 32, .18);
  --va-c15: rgba(11, 18, 32, .45);
  --va-c16: rgba(18, 118, 245, .45);
  --va-c17: #8b9098;
  --va-c18: #4a4f57;
  --va-c19: #2a2e35;
  --va-c20: #6f747c;
  --va-c21: #30343b;
  --va-c22: #5b6068;
  --va-c23: #9a9fa6;
  --va-c24: rgba(0, 0, 0, .5);
  --va-c25: rgba(0, 0, 0, .8);
  --va-c26: rgba(56, 140, 255, .55);
  --va-c27: #6d737b;
  --va-c28: #d4d7db;
  --va-c29: #80868e;
  --va-c30: #050608;
  --va-c31: #EEF2FA;
  --va-c32: #3b4a6b;
  --va-c33: #0b0e15;
  --va-c34: #000;
  --va-c35: #101318;
  --va-c36: rgba(255, 255, 255, .16);
  --va-c37: rgba(255, 255, 255, .05);
  --va-c38: #3567E0;
  --va-c39: #E5ECFC;
  --va-c40: #121826;
  --va-c41: #6B7385;
  --va-c42: #E7EAF1;
  --va-c43: #B4561F;
  --va-c44: #FCEBD7;
  --va-c45: #2E9D6A;
  --va-c46: #E3F5EC;
  --va-c47: rgba(17, 24, 39, .05);
  --va-c48: #22AEF5;
  --va-c49: #1276F5;
  --va-c50: #F3B34A;
  --va-c51: #E07B2E;
  --va-c52: #23855A;
  --va-c53: #DCE0E8;
  --va-c54: #3a4150;
  --va-c55: rgba(53, 103, 224, .35);
  --va-c56: rgba(255, 255, 255, .55);
  --va-c57: #2453C2;
  --va-c58: #2860C8;
  --va-c59: #2E68D2;
  --va-c60: #646B7B;
  --va-c61: rgba(17, 24, 39, .08);
  --va-c62: #8A5A10;
  --va-c63: rgba(17, 24, 39, .07);
  --va-c64: #cfd8e6;
  --va-c65: rgba(5, 12, 30, .6);
  --va-c66: #2E68D2;
  --va-c67: rgba(0, 0, 0, .4);
  --va-c68: rgba(238, 242, 250, 0);
  --va-c69: rgba(53, 103, 224, .3);
  --va-c70: #EEF2FB;
  --va-c71: #1F2633;
  --va-c72: #C4302B;
  --va-c73: #2D5BCF;
  --va-c74: #3D7BEA;
  --va-c75: rgba(45, 91, 207, .3);
  --va-c76: rgba(255, 255, 255, .08);
  --va-c77: rgba(255, 255, 255, .14);
  --va-c78: #FDF5EA;
  --va-c79: #EFE8FD;
  --va-c80: #7C4DDB;
  --va-c81: #FDF0DC;
  --va-c82: #9A5C08;
  --va-c83: #2E7D5B;
  --va-c84: #9A4A12;
  --va-c85: #1D7A50;
  --va-c86: #FDF0E1;
  --va-c87: rgba(53, 103, 224, .25);
  --va-c88: rgba(14, 19, 32, .5);
  --va-c89: rgba(0, 0, 0, .12);
  --va-c90: #D4D8E0;
  --va-c91: #111A2E;
  --va-c92: #EAF1FD;
  --va-c93: #BFD3F7;
  --va-c94: #7a8294;
  --va-c95: rgba(34, 174, 245, .7);
  --va-c96: #F0CACA;
  --va-c97: #4B5263;
  --va-c98: #E8F6EF;
  --va-c99: rgba(10, 12, 18, .55);
  --va-c100: #111;
  --va-c101: rgba(0, 0, 0, .35);
  --va-c102: rgba(255, 255, 255, .97);
  --va-c103: rgba(0, 0, 0, .22);
  --va-c104: #8A90A0;
  --va-c105: #34B57A;
  --va-c106: #C2741F;
}

.va { position: relative; overflow: hidden; }
.va-scene { position: relative; max-width: var(--max-w, 1200px); margin: 0 auto; outline: none; }
.va-fond { display: none; }
.va-grille {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.va-barre, .va-legende, .va-astuce { display: none; }

/* ─── Étapes : liste cliquable (pastilles d'étape) ─── */
/* Refonte : le bouton ne porte que le numéro et le titre (un libellé court, sur
   une ligne) ; le texte de l'étape est son voisin, décrit par aria-describedby.
   La carte de l'étape active est dessinée sur le <li>. */
.va-etapes { list-style: none; margin: var(--space-lg) 0 var(--space-lg); padding: 0; display: grid; gap: var(--space-2xs); }
.va-etapes li {
  position: relative; overflow: hidden; border-radius: 12px;
  border: 1px solid transparent;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.va-etapes li:has(> .va-etape[aria-current="step"]) { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-sm); }
.va-etapes li:has(> .va-etape:hover) { background: var(--surface); }
.va-etape {
  position: static;
  width: 100%; min-height: 48px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-sm); align-items: center;
  padding: var(--space-xs) var(--space-sm); border-radius: 12px;
  background: transparent; border: 0;
  color: var(--text-2); text-align: left; font: inherit; cursor: pointer;
}
.va-etape:active .va-etape-num { transform: translateY(1px); }
.va-etape:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.va-etape-num {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--border-strong);
  font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--text-muted);
  transition: background .25s, color .25s, border-color .25s;
}
.va-etape[aria-current="step"] .va-etape-num { background: var(--btn-bg, var(--brand-strong)); border-color: transparent; color: var(--va-c01); }
.va-etape-corps { display: flex; flex-direction: column; min-width: 0; }
.va-etape-titre { font-weight: 600; font-size: 1rem; color: var(--text); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.va-etape-texte { display: none; margin: 0; padding: 0 var(--space-sm) var(--space-sm) var(--space-2xl); font-size: .9375rem; line-height: 1.6; color: var(--text-2); max-width: 60ch; }
.va-etape[aria-current="step"] + .va-etape-texte { display: block; animation: va-fondu .45s var(--ease-out, ease) both; }
.va-etape-barre {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand-gradient); transform-origin: left; transform: scaleX(0);
}
.va-etape[aria-current="step"] .va-etape-barre { animation: va-progres var(--va-duree, 6500ms) linear both; }
/* Lecture suspendue (survol, focus) : seul le compte à rebours s'arrête ; l'écran
   en cours termine sa chorégraphie. Hors de l'écran, tout est figé. */
.va-scene.est-gele .va-etape-barre,
.va-scene.hors-champ .va-vue.est-active,
.va-scene.hors-champ .va-vue.est-active * { animation-play-state: paused !important; }
.va-scene.est-arret .va-etape-barre { animation: none; transform: scaleX(0); }

/* ─── Commandes ─── */
.va-commandes { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.va-bouton-rond {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--surface); color: var(--text-2);
  border: 1px solid var(--border-strong);
  transition: color .2s, border-color .2s, background .2s;
}
.va-bouton-rond:hover { color: var(--accent); border-color: var(--brand); }
.va-bouton-rond:focus-visible, .va-presenter:focus-visible, .va-store-badge:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.va-lecture[aria-pressed="true"] .va-ico-lecture,
.va-lecture[aria-pressed="false"] .va-ico-pause { display: none; }
.va-presenter {
  margin-left: var(--space-xs);
  display: inline-flex; align-items: center; gap: var(--space-xs);
  height: 44px; padding: 0 var(--space-md); border-radius: 999px; border: 0;
  background: var(--btn-bg, var(--brand-strong)); color: var(--va-c01);
  font-weight: 600; font-size: .9rem;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.va-presenter:hover { background: var(--btn-bg-hover, var(--brand-deep)); transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }
.va-presenter kbd {
  font-family: var(--font-mono); font-size: .7rem; line-height: 1;
  padding: var(--space-2xs) var(--space-xs); border-radius: 5px;
  background: var(--va-c02); border: 1px solid var(--va-c03);
}

/* ─── Google Play ─── */
.va-store { display: flex; align-items: center; gap: var(--space-md); margin-top: var(--space-lg); flex-wrap: wrap; }
.va-store-badge { display: inline-block; border-radius: 8px; flex: 0 0 auto; }
.va-store-badge img { height: 50px; width: auto; display: block; }
.va-store-texte { margin: 0; display: flex; flex-direction: column; font-size: .8rem; color: var(--text-muted); line-height: 1.5; }
.va-store-texte strong { color: var(--text); font-weight: 600; font-size: .88rem; }

/* ════════════════════════════════════════════════
   LE TÉLÉPHONE
   ════════════════════════════════════════════════ */
.va-visuel {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 20px 0 56px; perspective: 1800px;
}
.va-telephone {
  --tel-l: 330px;
  position: relative; width: var(--tel-l);
  transform-style: preserve-3d;
  animation: va-flotte 9s ease-in-out infinite;
  will-change: transform;
}
.va-sol {
  position: absolute; bottom: 18px; left: 50%; width: 260px; height: 46px; margin-left: calc(260px / -2);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--va-c04), transparent);
  filter: blur(6px);
  animation: va-ombre 9s ease-in-out infinite;
}
:root[data-theme="dark"] .va-sol { background: radial-gradient(closest-side, var(--va-c05), transparent); }
.va-scene.hors-champ .va-telephone, .va-scene.hors-champ .va-sol,
.va-scene.est-gele .va-telephone, .va-scene.est-gele .va-sol,
.va-scene.est-arret .va-telephone, .va-scene.est-arret .va-sol { animation-play-state: paused; }

/* Cadre métal : arête polie, flancs satinés. */
.va-cadre {
  position: relative;
  border-radius: calc(var(--tel-l) * .135);
  padding: calc(var(--tel-l) * .011);
  background:
    linear-gradient(145deg, var(--va-c06) 0%, var(--va-c07) 18%, var(--va-c08) 34%, var(--va-c09) 50%, var(--va-c10) 68%, var(--va-c11) 84%, var(--va-c12) 100%);
  box-shadow:
    inset 0 0 0 1px var(--va-c13),
    0 2px 3px var(--va-c14),
    0 22px 40px -14px var(--va-c15),
    0 60px 90px -40px var(--va-c16);
}
:root[data-theme="dark"] .va-cadre {
  background: linear-gradient(145deg, var(--va-c17) 0%, var(--va-c18) 20%, var(--va-c19) 38%, var(--va-c20) 52%, var(--va-c21) 70%, var(--va-c22) 86%, var(--va-c23) 100%);
  box-shadow:
    inset 0 0 0 1px var(--va-c02),
    0 2px 3px var(--va-c24),
    0 26px 50px -16px var(--va-c25),
    0 60px 110px -40px var(--va-c26);
}
.va-bouton-volume, .va-bouton-marche {
  position: absolute; right: calc(var(--tel-l) * -.012);
  width: calc(var(--tel-l) * .016);
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--va-c27), var(--va-c28) 55%, var(--va-c29));
}
.va-bouton-volume { top: 20%; height: 13%; }
.va-bouton-marche { top: 37%; height: 7%; }

/* Verre noir : bordure fine et régulière sur les quatre côtés. */
.va-verre {
  position: relative;
  border-radius: calc(var(--tel-l) * .124);
  padding: calc(var(--tel-l) * .024);
  background: var(--va-c30);
}
.va-ecran {
  position: relative; overflow: hidden;
  aspect-ratio: 360 / 780;
  border-radius: calc(var(--tel-l) * .1);
  container-type: inline-size;
  background: var(--va-c31);
  transform: translateZ(0);
}
.va-camera {
  position: absolute; z-index: 40; left: 50%;
  top: calc(var(--tel-l) * .047);
  width: calc(var(--tel-l) * .036); aspect-ratio: 1; margin-left: calc(var(--tel-l) * -.018);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, var(--va-c32) 0 14%, var(--va-c33) 40%, var(--va-c34) 72%);
  box-shadow: 0 0 0 1.5px var(--va-c35);
}
/* Reflet discret sur la vitre. */
.va-reflet {
  position: absolute; inset: calc(var(--tel-l) * .024); z-index: 41; pointer-events: none;
  border-radius: calc(var(--tel-l) * .1);
  background: linear-gradient(118deg, var(--va-c36) 0%, var(--va-c37) 24%, transparent 38%, transparent 78%, var(--va-c37) 100%);
}

/* ════════════════════════════════════════════════
   L'APPLICATION (écrans reconstruits)
   ════════════════════════════════════════════════ */
.va-app {
  --a-bleu: var(--va-c38); --a-bleu-clair: var(--va-c39); --a-fond: var(--va-c31);
  --a-texte: var(--va-c40); --a-gris: var(--va-c41); --a-trait: var(--va-c42);
  --a-ambre: var(--va-c43); --a-ambre-bg: var(--va-c44); --a-vert: var(--va-c45); --a-vert-bg: var(--va-c46);
  position: absolute; inset: 0; overflow: hidden;
  font-family: var(--font-body); font-size: 16px; font-size: 4.4444cqw;
  line-height: 1.35; color: var(--a-texte); background: var(--a-fond);
  -webkit-font-smoothing: antialiased; text-align: left; letter-spacing: 0;
}
.va-app *, .va-app *::before, .va-app *::after { box-sizing: border-box; }
.va-app p, .va-app dl, .va-app dd { margin: 0; }
.va-app b { font-weight: 700; }
.va-app img { max-width: none; }

.va-statut {
  position: absolute; z-index: 30; top: 0; left: 0; right: 0; height: 2.6em;
  padding: .95em 1.7em 0; display: flex; justify-content: space-between;
  font-size: .8em; font-weight: 600; color: var(--a-texte); transition: color .4s;
}
.va-statut-ico { display: inline-flex; align-items: center; gap: .35em; }
.va-statut svg { height: .85em; width: auto; }
.va-app:has(.va-vue--univ.est-active) .va-statut { color: var(--va-c01); }

.va-vue {
  position: absolute; inset: 0;
  transition: opacity .5s var(--ease-out, ease), transform .6s var(--ease-out, ease), visibility 0s linear .6s;
}
/* Sans script, seule la vue active (classe posée dans le HTML) s'affiche. */
:root:not(.js) .va-vue:not(.est-active) { display: none; }
.js .va-vue:not(.est-active) { opacity: 0; visibility: hidden; transform: translateX(5%); }
.va-vue.est-active { transition-delay: 0s; }
.va-vue.est-sortie { transform: translateX(-5%); }

/* Petites briques communes */
.va-carte { background: var(--va-c01); border-radius: 1.2em; padding: 1em; box-shadow: 0 .2em .9em var(--va-c47); }
.va-avatar {
  flex: 0 0 auto; width: 2.6em; height: 2.6em; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--va-c48), var(--va-c49)); color: var(--va-c01);
  font-weight: 700; font-size: .9em; letter-spacing: .02em;
}
.va-jauge { display: block; height: .38em; border-radius: 1em; background: var(--va-c42); overflow: hidden; }
.va-jauge > i { display: block; height: 100%; width: var(--va-taux, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--va-c50), var(--va-c51)); transform-origin: left; }
.va-operateurs { display: flex; gap: .35em; }
.va-operateurs img { width: 2em; height: 1.45em; object-fit: contain; background: var(--va-c01); border: 1px solid var(--a-trait); border-radius: .35em; padding: .12em; }
.va-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  height: 3.3em; border-radius: 1em; font-weight: 700; font-size: .85em; white-space: nowrap;
}
.va-btn svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.va-btn--vert { background: var(--va-c52); color: var(--va-c01); }
.va-btn--vert img { width: 1.55em; height: 1.55em; object-fit: contain; background: var(--va-c01); border-radius: .35em; padding: .1em; }
.va-btn--bleu { background: var(--a-bleu); color: var(--va-c01); }
.va-btn--blanc { background: var(--va-c01); border: 1px solid var(--va-c53); color: var(--va-c54); }
.va-btn--large { display: flex; width: 100%; height: 3.4em; border-radius: 1.7em; font-size: .92em; }
.va-btn--pilule { height: 3.1em; padding: 0 2.4em; border-radius: 2em; font-size: .92em; }
.va-btn--contour { display: flex; width: 100%; background: var(--va-c01); border: 1.5px solid var(--a-texte); color: var(--a-bleu); font-size: .92em; margin-top: 1em; }
/* Toucher : onde qui s'élargit (déclenchée par un délai propre à chaque écran). */
.va-tap {
  position: absolute; left: 50%; top: 50%; z-index: 5; pointer-events: none;
  width: 3.2em; height: 3.2em; margin: -1.6em 0 0 -1.6em; border-radius: 50%;
  background: var(--va-c55); opacity: 0;
}
.va-btn .va-tap { background: var(--va-c56); }

/* ─── 1. Université ─── */
.va-univ-tete { background: linear-gradient(160deg, var(--va-c57) 0%, var(--va-c58) 60%, var(--va-c59) 100%); color: var(--va-c01); padding: 4.4em 1.5em 2.6em; }
.va-univ-logo { display: block; width: 9em; height: auto; filter: brightness(0) invert(1); margin-bottom: 1.15em; }
.va-univ-titre { font-family: var(--font-display); font-weight: 700; font-size: 1.8em; line-height: 1.15; letter-spacing: -.01em; }
.va-univ-sous { font-size: .9em; opacity: .9; margin-top: .55em !important; line-height: 1.45; }
.va-recherche {
  position: relative; margin: -1.4em 1.4em 0; height: 3.1em; border-radius: 1em;
  display: flex; align-items: center; gap: .75em; padding: 0 1.1em;
  background: var(--va-c01); color: var(--va-c60); font-size: .88em; white-space: nowrap; overflow: hidden;
  box-shadow: 0 .4em 1.2em var(--va-c61);
}
.va-recherche svg { width: 1.25em; height: 1.25em; flex: 0 0 auto; color: var(--va-c41); }
.va-univ-nb { color: var(--va-c62); font-weight: 600; font-size: .92em; margin: 1.15em 1.5em .75em !important; }
.va-univ-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 1em .85em; padding: 0 1.4em; }
.va-univ-carte { position: relative; background: var(--va-c01); border-radius: 1.1em; overflow: hidden; box-shadow: 0 .25em .9em var(--va-c63); }
.va-univ-photo { position: relative; aspect-ratio: 236 / 114; background: var(--va-c64); }
.va-univ-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.va-univ-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--va-c65)); }
/* Pastille posée exactement sur celle que porte la photo d'origine. */
.va-univ-pastille {
  position: absolute; z-index: 2; top: 8%; right: 3.4%; width: 42%; height: 32%;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--va-c66); color: var(--va-c01); font-size: .74em; font-weight: 600;
}
.va-univ-code { position: absolute; z-index: 2; left: .65em; bottom: .4em; color: var(--va-c01); font-weight: 600; font-size: 1.05em; letter-spacing: .01em; text-shadow: 0 1px 6px var(--va-c67); }
.va-univ-nom {
  margin: .7em .85em 0; font-size: .8em; line-height: 1.3; min-height: 2.6em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.va-univ-lieu { display: flex; align-items: center; gap: .3em; margin: .45em .95em .85em; font-size: .72em; color: var(--va-c60); }
.va-univ-lieu svg { width: 1.1em; height: 1.1em; }
.va-univ-suite { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2em 1.4em 1.6em; background: linear-gradient(180deg, var(--va-c68), var(--va-c31) 38%); }
.va-univ-carte--choisie { box-shadow: 0 0 0 .18em var(--a-bleu), 0 .6em 1.6em var(--va-c69); }

/* ─── En-tête et navigation de l'application ─── */
.va-entete-app {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: .8em;
  padding: 2.9em 1.3em .85em; background: var(--va-c01); border-bottom: 1px solid var(--a-trait);
}
.va-entete-ico { width: 2.8em; height: 2.8em; border-radius: 50%; background: var(--va-c70); padding: .45em; object-fit: contain; }
.va-entete-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.va-entete-txt b { font-family: var(--font-display); font-weight: 800; font-size: 1.02em; }
.va-entete-txt span { font-size: .78em; color: var(--a-gris); }
.va-entete-txt em { font-style: normal; font-size: .76em; color: var(--a-bleu); font-weight: 600; }
.va-defile {
  position: absolute; top: 7.5em; bottom: 4.7em; left: 0; right: 0;
  padding: 1em 1.2em; overflow: hidden;
  display: flex; flex-direction: column; gap: .85em;
}
.va-defile > * { flex-shrink: 0; }
.va-nav-bas {
  position: absolute; z-index: 5; bottom: 0; left: 0; right: 0; height: 4.7em;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: .55em .5em 1em; background: var(--va-c01); border-top: 1px solid var(--a-trait);
}
.va-nav-bas > span { display: flex; flex-direction: column; align-items: center; gap: .2em; font-size: .7em; color: var(--va-c71); }
.va-nav-bas i { position: relative; width: 4.4em; height: 2.6em; border-radius: 1.3em; display: grid; place-items: center; }
.va-nav-bas svg { width: 2.1em; height: 2.1em; }
.va-nav-bas .est-courant i { background: var(--a-bleu-clair); color: var(--a-bleu); }
.va-nav-bas .est-courant { font-weight: 600; }
.va-nav-bas b { position: absolute; top: -.3em; right: .7em; min-width: 1.6em; height: 1.6em; padding: 0 .3em; border-radius: 1em; background: var(--va-c72); color: var(--va-c01); font-size: .85em; display: grid; place-items: center; font-style: normal; }

/* ─── 2. Accueil ─── */
.va-salut {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: .85em; align-items: center;
  padding: 1.05em; border-radius: 1.3em; color: var(--va-c01);
  background: linear-gradient(135deg, var(--va-c73) 0%, var(--va-c74) 100%);
  box-shadow: 0 .6em 1.4em var(--va-c75);
}
.va-salut::after { content: ''; position: absolute; width: 9em; height: 9em; right: -2.5em; top: -3em; border-radius: 50%; background: var(--va-c76); }
.va-avatar--grand { width: 3.5em; height: 3.5em; border-radius: 1em; font-size: 1em; background: var(--va-c36); border: 1px solid var(--va-c03); }
.va-salut > div > span { font-size: .82em; opacity: .85; }
.va-salut > div > b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.35em; line-height: 1.15; }
.va-salut > div > small { display: block; font-size: .78em; opacity: .85; margin-top: .15em; }
.va-matricule {
  grid-column: 1 / -1; position: relative; z-index: 1;
  display: flex; align-items: center; gap: .75em;
  padding: .55em .8em; border-radius: .8em; background: var(--va-c77);
  font-size: .85em; letter-spacing: .14em;
}
.va-matricule > span { flex: 1; }
.va-matricule small { display: block; font-size: .72em; opacity: .75; }
.va-matricule svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.va-carte-titre { display: flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: 700; font-size: 1em; margin-bottom: .75em !important; }
.va-carte-titre svg { width: 1.2em; height: 1.2em; color: var(--a-bleu); }
.va-solde { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.va-solde > div { background: var(--va-c78); border-radius: .9em; padding: .75em .8em; }
.va-solde small { display: block; font-size: .7em; color: var(--a-gris); }
.va-solde > div > b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.32em; color: var(--a-ambre); margin: .1em 0 .45em; white-space: nowrap; }
.va-solde .va-jauge { margin-bottom: .45em; }
.va-raccourcis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5em; }
.va-rac {
  display: flex; flex-direction: column; align-items: center; gap: .45em;
  padding: .75em .2em .7em; border-radius: 1em; background: var(--va-c01);
  font-size: .66em; font-weight: 600; text-align: center; line-height: 1.2;
}
.va-rac i { width: 3.6em; height: 3.6em; border-radius: 1.1em; display: grid; place-items: center; }
.va-rac svg { width: 1.9em; height: 1.9em; }
.va-rac--vert i { background: var(--a-vert-bg); color: var(--a-vert); }
.va-rac--bleu i { background: var(--a-bleu-clair); color: var(--a-bleu); }
.va-rac--violet i { background: var(--va-c79); color: var(--va-c80); }
.va-rac--ambre i { background: var(--va-c81); color: var(--va-c82); }
.va-section-titre { font-family: var(--font-display); font-weight: 700; font-size: 1.02em; }
.va-activite { padding: .55em .9em; }
.va-activite > div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .7em; align-items: center; padding: .45em 0; }
.va-activite > div + div { border-top: 1px solid var(--a-trait); }
.va-activite b { display: block; font-size: .76em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.va-activite small { display: block; font-size: .66em; color: var(--a-gris); }
.va-activite em { font-style: normal; font-weight: 700; font-size: .82em; color: var(--a-vert); white-space: nowrap; }
.va-coche { position: relative; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--va-c83); }
.va-coche::after { content: ''; position: absolute; left: .5em; top: .3em; width: .35em; height: .65em; border: solid var(--va-c01); border-width: 0 .14em .14em 0; transform: rotate(45deg); }

/* ─── 3. Mes frais ─── */
.va-vue--frais .va-defile { gap: .7em; }
.va-grand-titre { font-family: var(--font-display); font-weight: 800; font-size: 1.85em; line-height: 1.05; letter-spacing: -.01em; }
.va-sous-titre { font-size: .82em; color: var(--a-gris); margin-top: -.45em !important; }
.va-reste { display: flex; flex-direction: column; gap: .15em; padding: .8em 1em; }
.va-reste small { font-size: .78em; color: var(--a-gris); }
.va-reste > span { display: flex; gap: 1.1em; }
.va-reste b { font-family: var(--font-display); font-weight: 800; color: var(--a-ambre); font-size: 1.2em; }
.va-puces { display: flex; gap: .45em; }
.va-puces span { padding: .5em .95em; border-radius: .8em; border: 1.5px solid var(--a-texte); background: var(--va-c01); font-size: .78em; font-weight: 600; white-space: nowrap; }
.va-puces .est-courant { background: var(--a-bleu); border-color: var(--a-bleu); color: var(--va-c01); }
.va-frais-liste { display: flex; flex-direction: column; gap: .6em; }
.va-frais {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75em; align-items: center;
  padding: .75em .85em; border-radius: 1.1em; background: var(--va-c01);
  box-shadow: 0 .2em .8em var(--va-c47);
}
.va-frais b { font-size: .74em; font-weight: 700; line-height: 1.25; letter-spacing: .01em; }
.va-frais > span:not(.va-tap) { display: flex; flex-direction: column; align-items: flex-end; gap: .3em; }
.va-frais em { font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: .92em; white-space: nowrap; }
.va-statut-a-payer, .va-statut-paye { font-size: .66em; font-weight: 700; padding: .25em .75em; border-radius: 1em; white-space: nowrap; }
.va-statut-a-payer { background: var(--a-ambre-bg); color: var(--va-c84); }
.va-statut-paye { background: var(--a-vert-bg); color: var(--va-c85); }
.va-frais-ico { position: relative; width: 2.5em; height: 2.5em; border-radius: .8em; background: var(--va-c86); }
.va-frais-ico::before { content: ''; position: absolute; left: .78em; top: .6em; width: .95em; height: 1.25em; border: .13em solid var(--va-c51); border-radius: .15em; }
.va-frais-ico::after { content: ''; position: absolute; left: 1.02em; top: .98em; width: .48em; height: .4em; border-top: .11em solid var(--va-c51); border-bottom: .11em solid var(--va-c51); }
.va-frais-ico--anneau::before { left: .6em; top: .6em; width: 1.3em; height: 1.3em; border-radius: 50%; border: .2em dashed var(--va-c51); }
.va-frais-ico--anneau::after { display: none; }
.va-frais-ico--ok { background: var(--a-vert-bg); }
.va-frais-ico--ok::before { left: .95em; top: .62em; width: .55em; height: 1em; border: solid var(--a-vert); border-width: 0 .17em .17em 0; border-radius: 0; transform: rotate(45deg); }
.va-frais-ico--ok::after { display: none; }
.va-frais-detail { display: flex; flex-direction: column; gap: .32em; min-width: 0; }
.va-frais-detail small { font-size: .66em; color: var(--a-gris); }
.va-frais--tranche { box-shadow: 0 0 0 .16em var(--a-bleu), 0 .5em 1.4em var(--va-c87); }

/* ─── Feuilles (écrans 4 à 7) ─── */
.va-voile {
  position: absolute; inset: 0;
  background:
    linear-gradient(var(--va-c88), var(--va-c88)),
    linear-gradient(180deg, var(--va-c01) 0 7.5em, var(--va-c31) 7.5em);
}
.va-fond-app { position: absolute; inset: 0; background: var(--a-fond); }
.va-fond-app + .va-voile { background: var(--va-c88); }
.va-feuille {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  background: var(--va-c01); border-radius: 1.6em 1.6em 0 0; padding: .75em 1.3em 1.3em;
  box-shadow: 0 -.5em 2em var(--va-c89);
}
.va-poignee { display: block; width: 3em; height: .3em; border-radius: 1em; background: var(--va-c90); margin: 0 auto .85em; }
.va-feuille-titre { font-family: var(--font-display); font-weight: 700; font-size: 1.22em; }
.va-feuille-sous { font-size: .8em; color: var(--a-gris); margin: .15em 0 1.1em !important; }

/* ─── 4. Bon d'autorisation ─── */
.va-feuille--bon { top: 3.5em; display: flex; flex-direction: column; padding-bottom: 1em; }
.va-bon { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: .55em; padding: .9em .85em 0; border-top: .32em solid var(--va-c91); box-shadow: inset 1px 0 0 var(--a-trait), inset -1px 0 0 var(--a-trait); }
.va-bon-code { text-align: center; padding: .6em .5em .65em; border-radius: .9em; background: var(--va-c92); border: 1px solid var(--va-c93); }
.va-bon-code small { display: block; color: var(--a-bleu); font-weight: 700; font-size: .62em; }
.va-bon-code b { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-mono); font-size: 1.22em; letter-spacing: .05em; }
.va-bon-code svg { width: .7em; height: .7em; color: var(--va-c94); }
.va-bon-lignes { display: grid; grid-template-columns: 6em 1fr; gap: .28em .6em; font-size: .78em; }
.va-bon-lignes dt { color: var(--va-c94); }
.va-bon-lignes dd { font-weight: 600; }
.va-bon-montant { text-align: center; padding: .5em; border-radius: .9em; background: var(--va-c91); color: var(--va-c01); }
.va-bon-montant b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.45em; }
.va-bon-montant small { font-style: italic; opacity: .7; font-size: .66em; }
.va-bon-accepte { font-size: .72em; color: var(--va-c94); }
.va-operateurs--bon { justify-content: center; gap: .5em; margin-top: -.2em; }
.va-operateurs--bon img { width: 2.6em; height: 1.85em; }
.va-qr { position: relative; width: 10.4em; aspect-ratio: 1; margin: .15em auto 0; }
.va-qr svg { display: block; width: 100%; height: 100%; }
.va-qr-balayage {
  position: absolute; left: -6%; right: -6%; top: 0; height: .22em; transform: translateY(10.4em);
  background: linear-gradient(90deg, transparent, var(--va-c48) 20%, var(--va-c48) 80%, transparent);
  box-shadow: 0 0 .8em .1em var(--va-c95);
}
:root:not(.js) .va-qr-balayage { display: none; }
.js .va-qr-balayage { opacity: 0; }
.va-bon-actions { display: grid; grid-template-columns: 1.55fr 1.25fr .7fr; gap: .55em; padding-top: .8em; }
.va-bon-actions .va-btn { font-size: .8em; }

/* ─── 5. Mobile money + USSD ─── */
.va-champ {
  position: relative; display: flex; align-items: center; gap: .8em;
  height: 3.6em; padding: 0 .9em; border-radius: .9em; border: 2px solid var(--a-bleu);
}
.va-champ-libelle { position: absolute; top: -.8em; left: .8em; padding: 0 .3em; background: var(--va-c01); color: var(--a-bleu); font-size: .72em; font-weight: 600; }
.va-champ img { width: 2.4em; height: 2.2em; object-fit: contain; border: 1px solid var(--va-c96); border-radius: .5em; padding: .15em; }
.va-saisie { display: flex; align-items: center; font-size: 1.15em; letter-spacing: .02em; }
.va-saisie i { font-style: normal; white-space: pre; }
.va-curseur { display: inline-block; width: 2px; height: 1.15em; margin-left: var(--space-3xs); background: var(--a-bleu); animation: va-clignote 1s steps(2, jump-none) infinite; }
.va-champ-aide { font-size: .75em; color: var(--va-c97); margin: .45em 0 1em .2em !important; }
.va-debit { display: flex; justify-content: space-between; align-items: flex-start; gap: .6em; padding: .8em .9em; border-radius: .9em; background: var(--va-c98); margin-bottom: 1.1em; }
.va-debit small { display: block; font-size: .78em; }
.va-debit .va-debit-reste { color: var(--a-gris); font-size: .7em; margin-top: .35em; }
.va-debit b { color: var(--a-vert); font-family: var(--font-display); font-weight: 800; font-size: 1.05em; white-space: nowrap; }
.va-ussd-voile { position: absolute; inset: 0; z-index: 6; background: var(--va-c99); }
.va-ussd {
  position: absolute; z-index: 7; left: 1.5em; right: 1.5em; top: 9.5em;
  padding: 1.4em 1.4em .9em; border-radius: 1.3em; background: var(--va-c01);
  font-size: .9em; line-height: 1.45; color: var(--va-c100);
  box-shadow: 0 1.2em 3em var(--va-c101);
}
.va-ussd-choix { margin: .8em 0 0 !important; }
.va-ussd-saisie { display: block; height: 2.1em; margin: .9em .2em 1.1em; padding: .35em .2em 0; border-bottom: 2px solid var(--va-c71); }
.va-ussd-saisie i { font-style: normal; }
.va-ussd-boutons { display: grid; grid-template-columns: 1fr 1fr; text-align: center; font-weight: 700; }
.va-ussd-boutons > span { position: relative; overflow: hidden; padding: .55em 0; border-radius: .6em; }
.va-ussd-boutons > span:first-child { border-right: 1px solid var(--a-trait); }

/* ─── 6. Confirmation ─── */
.va-notif {
  position: absolute; z-index: 8; top: 2.9em; left: .8em; right: .8em;
  display: grid; grid-template-columns: 2.5em minmax(0, 1fr) auto; gap: .7em; align-items: center;
  padding: .7em .8em; border-radius: 1.15em; background: var(--va-c102);
  box-shadow: 0 .7em 1.8em var(--va-c103); font-size: .8em;
}
.va-notif img { width: 2.5em; height: 2.5em; border-radius: .65em; background: var(--va-c70); padding: .3em; object-fit: contain; }
.va-notif b { display: block; font-size: .95em; }
.va-notif small { display: block; color: var(--va-c97); font-size: .88em; line-height: 1.3; }
.va-notif em { font-style: normal; font-size: .76em; color: var(--va-c104); align-self: start; }
.va-feuille--ok { padding-bottom: 2.4em; }
.va-succes { display: flex; flex-direction: column; align-items: center; gap: .55em; padding: 1em 0 .4em; text-align: center; }
.va-succes-coche { width: 4.4em; height: 4.4em; overflow: visible; }
.va-succes-disque { fill: var(--va-c105); transform-box: fill-box; transform-origin: center; }
.va-succes-trait { stroke: var(--va-c01); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 0; }
.va-succes b { font-family: var(--font-display); font-size: 1.12em; margin-top: .2em; }
.va-succes small { color: var(--a-gris); font-size: .84em; max-width: 17em; margin-bottom: .7em; }

/* ─── 7. Versements ─── */
.va-feuille--versements { padding-bottom: 1.4em; }
.va-feuille--versements .va-feuille-titre { margin-bottom: .8em; }
.va-recap { box-shadow: none; border: 1px solid var(--a-trait); padding: .85em 1em; margin-bottom: .6em; }
.va-recap p { display: flex; justify-content: space-between; font-size: .86em; padding: .2em 0; }
.va-recap span { color: var(--a-gris); }
.va-recap .va-jauge { margin: .6em 0 .4em; }
.va-recap small { font-size: .76em; font-weight: 600; }
.va-vert { color: var(--a-vert) !important; }
.va-ambre { color: var(--va-c106) !important; }
.va-versement { position: relative; display: grid; grid-template-columns: 2em minmax(0, 1fr) auto; gap: .8em; align-items: center; padding: .75em .3em; border-bottom: 1px solid var(--a-trait); border-radius: .6em; }
.va-versement > i { width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center; background: var(--a-vert-bg); color: var(--a-vert); font-style: normal; font-weight: 700; font-size: .85em; }
.va-versement b { display: block; font-size: .88em; }
.va-versement small { display: block; color: var(--va-c94); font-size: .7em; }
.va-versement em { font-style: normal; font-weight: 700; font-size: .88em; white-space: nowrap; }

/* ════════════════════════════════════════════════
   CHORÉGRAPHIE (seulement sur l'écran actif ; état de base = état final)
   ════════════════════════════════════════════════ */
.va-vue.est-active .va-univ-tete > *,
.va-vue.est-active .va-recherche,
.va-vue.est-active .va-univ-nb { animation: va-monte .6s var(--ease-out, ease) both; }
.va-vue.est-active .va-univ-titre { animation-delay: .08s; }
.va-vue.est-active .va-univ-sous { animation-delay: .16s; }
.va-vue.est-active .va-recherche { animation-delay: .25s; }
.va-vue.est-active .va-univ-nb { animation-delay: .35s; }
.va-vue.est-active .va-univ-carte { animation: va-monte .6s var(--ease-out, ease) both; }
.va-vue.est-active .va-univ-carte:nth-child(1) { animation-delay: .45s; }
.va-vue.est-active .va-univ-carte:nth-child(2) { animation: va-monte .6s var(--ease-out, ease) .55s both, va-choisie .5s ease 3.6s both; }
.va-vue.est-active .va-univ-carte:nth-child(3) { animation-delay: .65s; }
.va-vue.est-active .va-univ-carte:nth-child(4) { animation-delay: .75s; }
.va-vue.est-active .va-univ-carte--choisie .va-tap { animation: va-onde .8s ease-out 3.6s both; }
.va-vue.est-active .va-univ-suite { animation: va-monte .55s var(--ease-out, ease) 4.1s both; }

.va-vue.est-active .va-salut { animation: va-monte .6s var(--ease-out, ease) .1s both; }
.va-vue.est-active .va-portefeuille { animation: va-monte .6s var(--ease-out, ease) .25s both; }
.va-vue.est-active .va-solde .va-jauge > i { animation: va-remplit 1.4s var(--ease-out, ease) .8s both; }
.va-vue.est-active .va-solde b { animation: va-zoom .6s var(--ease-out, ease) .6s both; }
.va-vue.est-active .va-rac { animation: va-monte .5s var(--ease-out, ease) both; }
.va-vue.est-active .va-rac:nth-child(1) { animation-delay: 1.1s; }
.va-vue.est-active .va-rac:nth-child(2) { animation-delay: 1.18s; }
.va-vue.est-active .va-rac:nth-child(3) { animation-delay: 1.26s; }
.va-vue.est-active .va-rac:nth-child(4) { animation-delay: 1.34s; }
.va-vue.est-active .va-section-titre,
.va-vue.est-active .va-activite { animation: va-monte .5s var(--ease-out, ease) 1.6s both; }

.va-vue.est-active .va-grand-titre,
.va-vue.est-active .va-sous-titre,
.va-vue.est-active .va-reste,
.va-vue.est-active .va-puces { animation: va-monte .5s var(--ease-out, ease) .1s both; }
.va-vue.est-active .va-reste { animation-delay: .2s; }
.va-vue.est-active .va-puces { animation-delay: .3s; }
.va-vue.est-active .va-frais { animation: va-glisse .55s var(--ease-out, ease) both; }
.va-vue.est-active .va-frais:nth-child(1) { animation-delay: .5s; }
.va-vue.est-active .va-frais:nth-child(2) { animation-delay: .62s; }
.va-vue.est-active .va-frais:nth-child(3) { animation: va-glisse .55s var(--ease-out, ease) .74s both, va-choisie .5s ease 4.2s both; }
.va-vue.est-active .va-frais:nth-child(4) { animation-delay: .86s; }
.va-vue.est-active .va-frais:nth-child(5) { animation-delay: .98s; }
.va-vue.est-active .va-frais--tranche .va-jauge > i { animation: va-remplit 1.2s var(--ease-out, ease) 1.3s both; }
.va-vue.est-active .va-frais--tranche .va-tap { animation: va-onde .8s ease-out 4.2s both; }

.va-vue.est-active .va-voile { animation: va-fondu .5s ease both; }
.va-vue.est-active .va-feuille { animation: va-feuille .7s var(--ease-out, ease) .1s both; }
.va-vue.est-active .va-qr svg { animation: va-revele 1.5s steps(25, end) 1.1s both; }
.va-vue.est-active .va-qr-balayage { animation: va-balaye 1.5s linear 1.1s both; }
.va-vue.est-active .va-bon-actions .va-btn--vert { animation: va-pulse 1.2s ease 3.4s 2 both; }
.va-vue.est-active .va-bon-actions .va-tap { animation: va-onde .8s ease-out 5.6s both; }

.va-vue--mm.est-active .va-voile { animation: none; }
.va-vue--mm.est-active .va-feuille { animation: va-fondu .3s ease both; }
.va-vue.est-active .va-saisie i { animation: va-tape .02s linear both; }
.va-vue.est-active .va-saisie i:nth-child(1) { animation-delay: .7s; }
.va-vue.est-active .va-saisie i:nth-child(2) { animation-delay: .82s; }
.va-vue.est-active .va-saisie i:nth-child(3) { animation-delay: .94s; }
.va-vue.est-active .va-saisie i:nth-child(4) { animation-delay: 1.0s; }
.va-vue.est-active .va-saisie i:nth-child(5) { animation-delay: 1.12s; }
.va-vue.est-active .va-saisie i:nth-child(6) { animation-delay: 1.24s; }
.va-vue.est-active .va-saisie i:nth-child(7) { animation-delay: 1.36s; }
.va-vue.est-active .va-saisie i:nth-child(8) { animation-delay: 1.42s; }
.va-vue.est-active .va-saisie i:nth-child(9) { animation-delay: 1.54s; }
.va-vue.est-active .va-saisie i:nth-child(10) { animation-delay: 1.66s; }
.va-vue.est-active .va-saisie i:nth-child(11) { animation-delay: 1.72s; }
.va-vue.est-active .va-saisie i:nth-child(12) { animation-delay: 1.84s; }
.va-vue.est-active .va-saisie i:nth-child(13) { animation-delay: 1.96s; }
.va-vue.est-active .va-debit { animation: va-monte .5s var(--ease-out, ease) 2.2s both; }
.va-vue.est-active .va-feuille--mm .va-btn--large { animation: va-pulse 1s ease 2.5s both; }
.va-vue.est-active .va-feuille--mm .va-tap { animation: va-onde .8s ease-out 2.9s both; }
.va-vue.est-active .va-ussd-voile { animation: va-fondu .4s ease 3.4s both; }
.va-vue.est-active .va-ussd { animation: va-surgit .45s var(--ease-out, ease) 3.5s both; }
.va-vue.est-active .va-ussd-saisie i { animation: va-tape .02s linear 4.7s both; }
.va-vue.est-active .va-ussd-envoyer .va-tap { animation: va-onde .8s ease-out 5.7s both; }

.va-vue--ok.est-active .va-feuille { animation: va-fondu .3s ease both; }
.va-vue.est-active .va-succes-disque { animation: va-zoom .5s cubic-bezier(.34, 1.56, .64, 1) .35s both; }
.va-vue.est-active .va-succes-trait { animation: va-trace .55s ease-out .8s both; }
.va-vue.est-active .va-succes > b,
.va-vue.est-active .va-succes > small,
.va-vue.est-active .va-succes > .va-btn { animation: va-monte .5s var(--ease-out, ease) 1.1s both; }
.va-vue.est-active .va-succes > small { animation-delay: 1.2s; }
.va-vue.est-active .va-succes > .va-btn { animation-delay: 1.3s; }
.va-vue.est-active .va-notif { animation: va-notif .6s var(--ease-out, ease) 2s both; }

.va-vue.est-active .va-recap { animation: va-monte .5s var(--ease-out, ease) .5s both; }
.va-vue.est-active .va-jauge--recap > i { animation: va-recap 1.3s var(--ease-out, ease) 1.1s both; }
.va-vue.est-active .va-versement { animation: va-monte .5s var(--ease-out, ease) .7s both; }
.va-vue.est-active .va-versement--nouveau { animation: va-glisse .6s var(--ease-out, ease) 1.9s both, va-eclaire 1.6s ease 2.4s both; }

@keyframes va-fondu { from { opacity: 0; } }
@keyframes va-monte { from { opacity: 0; transform: translateY(1.1em); } }
@keyframes va-glisse { from { opacity: 0; transform: translateX(2.5em); } }
@keyframes va-zoom { from { opacity: 0; transform: scale(.6); } }
@keyframes va-surgit { from { opacity: 0; transform: translateY(1em) scale(.94); } }
@keyframes va-feuille { from { transform: translateY(100%); } }
@keyframes va-remplit { from { transform: scaleX(0); } }
@keyframes va-recap { from { transform: scaleX(.5); } }
@keyframes va-tape { from, 99% { opacity: 0; } }
@keyframes va-clignote { 50% { opacity: 0; } }
@keyframes va-trace { from { stroke-dashoffset: 36; } }
@keyframes va-revele { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes va-balaye { 0% { transform: translateY(0); opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(10.4em); opacity: 0; } }
@keyframes va-onde { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes va-pulse { 0%, 100% { transform: none; } 50% { transform: scale(1.05); } }
@keyframes va-choisie { 0% { transform: none; box-shadow: 0 .25em .9em var(--va-c63); } 40% { transform: scale(.96); } 100% { transform: none; } }
@keyframes va-notif { from { opacity: 0; transform: translateY(-160%); } }
@keyframes va-eclaire { 0% { background: var(--va-c92); } 100% { background: transparent; } }
@keyframes va-progres { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes va-flotte {
  0%, 100% { transform: translateY(0) rotateY(-11deg) rotateX(4deg) rotateZ(1.2deg); }
  50% { transform: translateY(-14px) rotateY(-6deg) rotateX(2deg) rotateZ(.4deg); }
}
@keyframes va-ombre { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.86); opacity: .7; } }

/* Grand écran : téléphone un peu plus grand. */
@media (min-width: 1500px) { .va-telephone { --tel-l: 360px; } }

/* ════════════════════════════════════════════════
   TÉLÉPHONE ÉTROIT ET TABLETTE : téléphone au centre, légende dessous
   ════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .va-grille { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .va-texte { display: contents; }
  .va-entete { order: 1; }
  .va-visuel { order: 2; padding: 28px 0 var(--space-xl); }
  .va-legende { order: 3; }
  .va-etapes { order: 4; }
  .va-commandes { order: 5; justify-content: center; }
  .va-store { order: 6; justify-content: center; text-align: center; }
  .va-store-texte { align-items: center; }
  .va-telephone { --tel-l: min(300px, 74vw); }
  .va-sol { width: 70vw; max-width: 240px; margin-left: 0; transform: translateX(-50%); left: 50%; }
  .va-fond { inset: 10% -40% 30% -40%; }
}

/* Légende unique + étapes en segments (téléphone étroit et présentation) */
@media (max-width: 960px) {
  .va-legende { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-xs); min-height: 7.5em; }
  .va-legende-num { font-family: var(--font-mono); font-size: .8125rem; color: var(--accent); font-variant-numeric: tabular-nums; }
  .va-legende-titre { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text); }
  .va-legende-texte { font-size: .92rem; color: var(--text-2); line-height: 1.6; max-width: 34em; }
}
@media (max-width: 960px) {
  .va-etapes { display: flex; justify-content: center; gap: var(--space-xs); margin: var(--space-md) 0 var(--space-md); }
  .va-etapes li { flex: 0 1 40px; }
}
.va-scene.est-presentation .va-etapes { display: flex; gap: var(--space-xs); margin: 0; }
.va-scene.est-presentation .va-etapes li { flex: 0 1 64px; }
@media (max-width: 960px) {
  .va-etape { position: relative; overflow: hidden; display: block; height: 28px; min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 6px; }
  .va-etapes li, .va-etapes li:has(> .va-etape[aria-current="step"]) { background: none; border: 0; box-shadow: none; overflow: visible; }
  .va-etapes .va-etape-texte, .va-etape[aria-current="step"] + .va-etape-texte { display: none; }
  .va-etape:hover { background: none; }
  .va-etape::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 6px; border-radius: 3px; background: var(--border-strong); }
  .va-etape-num, .va-etape-corps { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .va-etape-barre { top: 11px; bottom: auto; height: 6px; border-radius: 3px; }
  .va-etape.est-passee .va-etape-barre { transform: scaleX(1); }
  .va-etape[aria-current="step"] { background: none; border: 0; box-shadow: none; }
  .va-scene.est-arret .va-etape[aria-current="step"] .va-etape-barre { transform: scaleX(1); }
}
.va-scene.est-presentation .va-etape { position: relative; overflow: hidden; display: block; height: 28px; min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 6px; }
.va-scene.est-presentation .va-etapes li { background: none; border: 0; box-shadow: none; overflow: visible; }
.va-scene.est-presentation .va-etape-texte { display: none !important; }
.va-scene.est-presentation .va-etape::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 6px; border-radius: 3px; background: var(--border-strong); }
.va-scene.est-presentation .va-etape-num,
.va-scene.est-presentation .va-etape-corps { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.va-scene.est-presentation .va-etape-barre { top: 11px; bottom: auto; height: 6px; border-radius: 3px; }
.va-scene.est-presentation .va-etape.est-passee .va-etape-barre { transform: scaleX(1); }
.va-scene.est-presentation.est-arret .va-etape[aria-current="step"] .va-etape-barre { transform: scaleX(1); }

/* ════════════════════════════════════════════════
   MODE PRÉSENTATION (grande salle) : plein écran, lisible à distance
   ════════════════════════════════════════════════ */
html.va-presentation-ouverte { overflow: clip; }
.va-scene.est-presentation {
  position: fixed; inset: 0; z-index: 5000; max-width: none; margin: 0;
  display: flex; flex-direction: column;
  padding: clamp(var(--space-sm), 2.4vh, var(--space-xl)) clamp(var(--space-lg), 4.5vw, var(--space-3xl)) clamp(var(--space-md), 3vh, var(--space-xl));
  background: var(--bg); overflow: hidden;
}
.va-scene.est-presentation:fullscreen { background: var(--bg); }
.va-scene.est-presentation::backdrop { background: var(--bg); }
.va-scene.est-presentation .va-fond { display: none; }
.va-scene.est-presentation .va-barre {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  min-height: 48px; transition: opacity .4s;
}
.va-barre-marque { display: inline-flex; align-items: center; gap: var(--space-md); }
.va-barre-marque img { height: clamp(32px, 4.4vh, 48px); width: auto; }
.va-barre-titre { font-family: var(--font-body); font-weight: 600; font-size: clamp(.875rem, 1.1vw, 1.05rem); color: var(--text-muted); padding-left: var(--space-md); border-left: 1px solid var(--border-strong); }
.va-barre-reglages { display: inline-flex; align-items: center; gap: var(--space-sm); }
.va-scene.est-presentation .va-grille {
  flex: 1; min-height: 0; width: 100%; max-width: 1700px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(var(--space-lg), 4vw, var(--space-3xl)); align-items: center;
}
.va-scene.est-presentation .va-texte { display: flex; flex-direction: column; gap: clamp(20px, 3.5vh, 44px); }
.va-scene.est-presentation .va-entete,
.va-scene.est-presentation .va-store,
.va-scene.est-presentation .va-presenter { display: none; }
.va-scene.est-presentation .va-legende {
  order: 0; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: clamp(var(--space-xs), 2vh, var(--space-lg)); min-height: 0;
}
.va-scene.est-presentation .va-legende-num { font-family: var(--font-mono); font-size: clamp(1rem, 1.5vw, 1.6rem); color: var(--accent); font-variant-numeric: tabular-nums; }
.va-scene.est-presentation .va-legende-titre {
  font-family: var(--font-display); font-weight: 700; color: var(--text);
  font-size: clamp(2.4rem, 4.8vw, 5.6rem); line-height: 1.04; letter-spacing: -.025em;
}
.va-scene.est-presentation .va-legende-texte { font-size: clamp(1.15rem, 2.05vw, 2.3rem); line-height: 1.45; color: var(--text-2); max-width: 26ch; }
.va-scene.est-presentation .va-legende.va-rejoue > * { animation: va-monte .7s var(--ease-out, ease) both; }
.va-scene.est-presentation .va-legende.va-rejoue > :nth-child(2) { animation-delay: .06s; }
.va-scene.est-presentation .va-legende.va-rejoue > :nth-child(3) { animation-delay: .14s; }
.va-scene.est-presentation .va-commandes { transition: opacity .4s; }
.va-scene.est-presentation .va-visuel { padding: 0 0 4vh; }
.va-scene.est-presentation .va-telephone { --tel-l: min(calc((100vh - 170px) / 2.2), 34vw); }
@supports (height: 100dvh) {
  .va-scene.est-presentation .va-telephone { --tel-l: min(calc((100dvh - 170px) / 2.2), 34vw); }
}
.va-scene.est-presentation .va-sol { width: calc(var(--tel-l) * .85); margin-left: calc(var(--tel-l) * -.425); bottom: 0; }
.va-scene.est-presentation .va-astuce {
  display: block; position: absolute; z-index: 3; left: 50%; bottom: clamp(10px, 2vh, 22px); transform: translateX(-50%);
  margin: 0; padding: var(--space-sm) var(--space-md); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--border);
  font-size: clamp(.85rem, 1vw, 1.05rem); color: var(--text); white-space: nowrap; box-shadow: var(--shadow-md);
  animation: va-astuce 6s ease both;
}
@keyframes va-astuce { 0%, 80% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.va-scene.est-presentation.curseur-masque,
.va-scene.est-presentation.curseur-masque * { cursor: none !important; }
.va-scene.est-presentation.curseur-masque .va-barre-reglages,
.va-scene.est-presentation.curseur-masque .va-commandes { opacity: 0; }

/* Écran de projection étroit (portrait, tablette) : on empile. */
@media (max-width: 960px), (max-aspect-ratio: 1/1) {
  .va-scene.est-presentation .va-grille { display: flex; flex-direction: column-reverse; justify-content: center; gap: 3vh; }
  .va-scene.est-presentation .va-texte { align-items: center; text-align: center; }
  .va-scene.est-presentation .va-legende { align-items: center; text-align: center; }
  .va-scene.est-presentation .va-telephone { --tel-l: min(calc((100vh - 360px) / 2.2), 70vw); }
  .va-scene.est-presentation .va-commandes { justify-content: center; }
}

/* ════════════════════════════════════════════════
   MOUVEMENT RÉDUIT : écrans statiques, complets, navigables
   ════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .va-telephone { animation: none; transform: rotateY(-8deg) rotateX(3deg); }
  .va-sol { animation: none; }
  .va *, .va *::before, .va *::after { animation: none !important; transition: none !important; }
  .va-vue { transform: none; }
  .va-vue .va-tap, .va-qr-balayage { display: none; }
}
