/* Haut de page de l'accueil, version V3 (15/11/2026) : composition statique « Une même lignée », page de site reconnaissable ; l'animation viendra par-dessus (étape 3 du cahier des charges).
   Cahier des charges V3 d'Antoine : 08_contenu/briefs/accueil-hero-illustration-cdc-v3-antoine-2026-11-15.md.
   Remplace ad-accueil-v5.css (en ligne, r0088, intact) : reprend le fond, la colonne de texte et les repères, ne reprend rien de la scène.
   Classes he-* : aucune ne porte de vocabulaire publicitaire ni de jeton de contrôle (carte, tuile, btn, bouton, onglet, chip, pill, pastille).
   Échelle : toute la scène est dessinée en « u » (1 u = 1 em = largeur de la scène / --n) ; --n vaut 66 (ordinateur et petite tablette),
   100 (tablette large : les deux voisins à droite de l'éditeur), 36 (téléphone : composition propre). Texte d'écran : 12 px au plus bas à l'ordinateur. */

main.ac2 {
  --he-sortie:cubic-bezier(0.23,1,0.32,1);
  --he-glisse:cubic-bezier(0.77,0,0.175,1);
  --he-site:#0e5a5c;          /* le site du client (Morvane) : sa charte, pas celle de l'éditeur */
  --he-site-pale:#e4efed;
  --he-site-acc:#f08a5d;
  --he-or:#e0b95a;            /* l'or des objets « nuit et or » : le jaune soleil reste à la planète */
  --he-doux:#b0b8c6;
}

/* ---------- 1. fond : celui de r0088 (bleu nuit / anthracite), halo recalé sur la nouvelle scène ---------- */
main.ac2 .gp-hero {
  background:
    radial-gradient(ellipse 600px 440px at calc(50% + 300px) 52%, rgba(44,72,124,.42) 0%, rgba(44,72,124,0) 100%),
    linear-gradient(100deg, #15171a 0%, #15181d 34%, #131d33 100%);
  background-color:#15171a;
}
main.ac2 .gp-refs .gp-preuve:last-child { border-right:0; }

/* ---------- 2. placement : ordinateur, la scène occupe la partie droite, sur la grille ---------- */
@media (min-width:1181px) {
  main.ac2 .gp-hero__t { width:clamp(440px, calc(11.3 * clamp(34px,3.6vw,52px)), 600px); }
  main.ac2 .gp-hero__scene.he-scene {
    display:block; position:absolute; margin:0; transform:none; max-width:none; width:auto; top:180px;
    left:calc(var(--ad-gouttiere) + clamp(440px, calc(11.3 * clamp(34px,3.6vw,52px)), 600px) + 24px);
    right:var(--ad-gouttiere);
  }
}

/* ---------- 3. la scène ---------- */
main.ac2 .he { position:relative; display:block; width:100%; aspect-ratio:66 / 54.6; container-type:inline-size; color:#eef1f7; font-family:var(--ad-police-texte); --n:66;
  --ad-astre-anneau:var(--ad-c-anneau-clair); --ad-astre-orbite:var(--ad-c-anneau); }
main.ac2 .he-sc { position:absolute; inset:0; font-size:calc(100cqw / var(--n)); line-height:1.3; text-align:left; -webkit-font-smoothing:antialiased; }
main.ac2 .he-sc, main.ac2 .he-sc * { box-sizing:border-box; }
:where(.he-sc) p, :where(.he-sc) ul, :where(.he-sc) li { margin:0; padding:0; list-style:none; max-width:none; }
:where(.he-sc) i, :where(.he-sc) em { font-style:normal; }
main.ac2 .he-sc svg { display:block; }
main.ac2 .he-sc > div { position:absolute; }

/* socle : une base commune, ténue (le trait, la planète du logo à son pied, l'état de la version courante) ; aucun fil entre les trois éléments */
main.ac2 .he-socle { left:3.4em; top:51.6em; width:62.6em; height:3em; }
main.ac2 .he-astre { position:absolute; left:0; top:0; width:3.8em; height:auto; }
main.ac2 .he-regle { position:absolute; left:5.4em; right:16.8em; top:1.5em; height:0; border-top:1px solid rgba(183,199,230,.34); }
main.ac2 .he-regle::after { content:""; position:absolute; left:0; right:0; top:0; height:.6em; background:repeating-linear-gradient(90deg, rgba(183,199,230,.34) 0 1px, transparent 1px 2.8em); }
main.ac2 .he-prod { position:absolute; right:0; top:.45em; display:flex; align-items:center; gap:.6em; font-size:1.36em; line-height:1.3; color:var(--he-doux); }
main.ac2 .he-prod i { width:.62em; height:.62em; border-radius:50%; background:#5cc995; }

/* ---------- l'éditeur de pages : le composant qui existe déjà, et la capacité qui s'y ajoute (le panneau amarré à droite) ---------- */
main.ac2 .he-ed { left:0; top:0; width:66em; height:33em; }
main.ac2 .he-ombre { position:absolute; display:block; width:62.6em; height:29.6em; border:1px solid rgba(255,255,255,.18); border-radius:1.4em; background:rgba(250,250,250,.14); }
main.ac2 .he-ombre--2 { left:0; top:0; background:rgba(250,250,250,.07); border-color:rgba(255,255,255,.11); }
main.ac2 .he-ombre--1 { left:1.7em; top:1.7em; }
main.ac2 .he-ombre .he-feux { position:absolute; left:1.1em; top:.55em; gap:.4em; }
main.ac2 .he-ombre .he-feux i { width:.55em; height:.55em; background:rgba(255,255,255,.32); }
main.ac2 .he-fen { position:absolute; left:3.4em; top:3.4em; width:62.6em; height:29.6em; display:flex; flex-direction:column; overflow:hidden; border-radius:1.4em; background:#f6f6f5; color:#111112;
  box-shadow:0 0 0 1px rgba(255,255,255,.1), 0 3em 6em -2.4em rgba(0,0,0,.78), 0 .6em 1.4em -.4em rgba(0,0,0,.4); }
main.ac2 .he-chrome { flex:none; height:3em; display:flex; align-items:center; gap:1.4em; padding:0 1.5em; background:#ececea; box-shadow:inset 0 -1px 0 #dbdbd9; }
main.ac2 .he-feux { display:flex; gap:.55em; }
main.ac2 .he-feux i { display:block; width:.9em; height:.9em; border-radius:50%; background:#cdcdcb; }
main.ac2 .he-nomde { flex:1; max-width:38em; display:flex; align-items:center; gap:.6em; font-size:1.36em; line-height:1.3; padding:.18em .9em; border-radius:.7em; background:#fff; color:#4f4f4f; box-shadow:inset 0 0 0 1px #e0e0de; white-space:nowrap; overflow:hidden; }
main.ac2 .he-cad { flex:none; width:.62em; height:.74em; fill:#9a9a97; stroke:#9a9a97; stroke-width:1.2; }
main.ac2 .he-cad path { stroke:#9a9a97; }
main.ac2 .he-dom { color:#1f1f1f; }
main.ac2 .he-chm { color:#6a6a6a; }
main.ac2 .he-corps { flex:1; min-height:0; display:flex; }

/* la page du site client, rendue dans sa charte */
main.ac2 .he-toile { flex:0 0 39.2em; padding:1.5em 1.5em 0; background:#efefed; }
main.ac2 .he-pg { height:100%; overflow:hidden; border-radius:.9em .9em 0 0; background:#fff; box-shadow:0 0 0 1px rgba(17,17,18,.06); }
main.ac2 .he-nav { height:3.6em; display:flex; align-items:center; justify-content:space-between; padding:0 1.7em; }
main.ac2 .he-logo { display:flex; align-items:center; gap:.55em; font:650 1.5em/1 var(--ad-police-titre); letter-spacing:-.01em; color:var(--he-site); }
main.ac2 .he-logo i { display:block; width:.95em; height:.95em; border-radius:.28em; background:var(--he-site); }
main.ac2 .he-liens { display:flex; gap:1.7em; font-size:1.36em; line-height:1.3; color:#6a6a6a; }
main.ac2 .he-bloc { position:relative; margin:2.5em 1.5em 0; height:11.6em; border-radius:.5em; background:var(--he-site-pale); box-shadow:0 0 0 .2em #111112; }
main.ac2 .he-nom { position:absolute; left:-.2em; bottom:100%; margin-bottom:.2em; padding:.18em .7em; font-size:1.36em; line-height:1.3; font-weight:600; color:#fff; background:#111112; border-radius:.4em .4em 0 0; }
main.ac2 .he-herot { position:absolute; left:1.8em; top:50%; width:23.6em; transform:translateY(-50%); }
main.ac2 .he-sur { font-size:1.36em; line-height:1.3; font-weight:650; color:var(--he-site); }
main.ac2 .he-h { margin-top:.35em; font:650 2.1em/1.1 var(--ad-police-titre); letter-spacing:-.02em; color:#111112; }
main.ac2 .he-art { position:absolute; right:1.3em; bottom:1.3em; width:8.6em; height:auto; }
main.ac2 .he-suite { padding:1.9em 1.7em 0; }
main.ac2 .he-h2 { font:650 1.9em/1.15 var(--ad-police-titre); letter-spacing:-.015em; color:#111112; }
main.ac2 .he-p { margin-top:.5em; font-size:1.36em; line-height:1.45; color:#4f4f4f; max-width:33em; }

/* le panneau d'assistance : amarré à l'éditeur, il propose ; la personne décide */
main.ac2 .he-ia { flex:1; min-width:0; display:flex; flex-direction:column; gap:1.1em; padding:1.5em 1.5em 1.4em; background:#fff; box-shadow:inset 1px 0 0 #dedcda, inset 0 .22em 0 var(--he-or), -1.4em 0 2.4em -1.2em rgba(17,17,18,.2); }
main.ac2 .he-ia-t { display:flex; align-items:center; gap:.5em; font-size:1.36em; line-height:1.25; font-weight:650; color:#111112; }
main.ac2 .he-ia-t i { font-size:1.15em; color:#7a5a0e; }   /* l'or des objets sur papier : la capacité ajoutée, sans jaune dans l'interface */
main.ac2 .he-dem { padding:.8em .9em; font-size:1.36em; line-height:1.4; color:#2e2e2e; background:#f2f2f0; border-radius:.55em; }
main.ac2 .he-comp li { display:flex; align-items:center; gap:.65em; padding:.28em 0; font-size:1.36em; line-height:1.3; color:#2e2e2e; }
main.ac2 .he-comp li + li { box-shadow:inset 0 1px 0 #ececea; }
main.ac2 .he-comp i { width:1.6em; text-align:center; font-size:1.05em; color:#6a6a6a; }
main.ac2 .he-ok { margin-top:auto; display:flex; align-items:center; gap:.85em; padding-top:1.1em; box-shadow:inset 0 1px 0 #ececea; }
main.ac2 .he-ok i { flex:none; display:grid; place-items:center; width:2.3em; height:2.3em; border-radius:50%; background:#111112; color:#fff; font-size:1.4em; line-height:1; }
main.ac2 .he-ok span { display:block; min-width:0; }
main.ac2 .he-ok b { display:block; font-size:1.45em; line-height:1.2; font-weight:650; color:#111112; }
main.ac2 .he-ok em { display:block; font-size:1.36em; line-height:1.3; color:#6a6a6a; font-variant-numeric:tabular-nums; }

/* ---------- la mesure d'une campagne : les clics humains et ceux des scanners de sécurité (verre nuit) ---------- */
main.ac2 .he-mail { left:3.4em; top:35.2em; width:31.4em; height:13.6em; display:flex; gap:1.2em; padding:1.3em 1.3em; border-radius:1.4em; color:#fff;
  background:linear-gradient(160deg, rgba(31,43,68,.97), rgba(17,25,42,.97)); box-shadow:inset 0 0 0 1px rgba(255,255,255,.15), 0 2.6em 5em -2em rgba(0,0,0,.7); }
main.ac2 .he-mg { flex:0 0 11.4em; display:flex; flex-direction:column; }
main.ac2 .he-mt { display:flex; align-items:center; gap:.5em; font-size:1.36em; line-height:1.3; color:var(--he-doux); }
main.ac2 .he-n { margin-top:.28em; font:600 5.6em/1 var(--ad-police-titre); letter-spacing:-.04em; font-variant-numeric:tabular-nums; color:#fff; }
main.ac2 .he-nl { display:flex; align-items:center; gap:.55em; white-space:nowrap; font-size:1.36em; line-height:1.3; color:#dfe4ee; }
main.ac2 .he-mg .he-nl { margin-top:auto; }
main.ac2 .he-cle { flex:none; display:block; width:.62em; height:.62em; border-radius:50%; background:#7f8aa1; }
main.ac2 .he-cle--or { background:var(--he-or); }
main.ac2 .he-md { flex:1; min-width:0; display:flex; flex-direction:column; justify-content:space-between; }
main.ac2 .he-pts { width:100%; height:auto; }
main.ac2 .he-nl2 { color:var(--he-doux); }

/* ---------- le dossier d'inscription réparti entre deux payeurs (papier, bord en dents) ---------- */
main.ac2 .he-dos { left:38.2em; top:36.5em; width:27.8em; height:14.3em; color:#111112; transform:rotate(-1.1deg); transform-origin:100% 100%; }
main.ac2 .he-papier { position:absolute; inset:0; width:100%; height:100%; fill:#fdfcf9; filter:drop-shadow(0 1em 1.3em rgba(0,0,0,.5)); }
main.ac2 .he-dc { position:relative; height:calc(100% - .75em); padding:1.3em 1.6em 0; background:#fdfcf9; border-radius:.6em .6em 0 0; }   /* le papier est aussi un fond CSS : les contrôles de contraste le voient */
main.ac2 .he-dt { display:flex; align-items:center; gap:.55em; margin-bottom:.3em; font-size:1.4em; line-height:1.3; font-weight:650; }
main.ac2 .he-dt i { font-size:1.1em; color:#4f4f4f; }
main.ac2 .he-lg { display:flex; align-items:center; justify-content:space-between; gap:1em; padding:.35em 0; font-size:1.36em; line-height:1.3; color:#2e2e2e; box-shadow:inset 0 1px 0 #e6e4df; }
main.ac2 .he-lg > span { display:flex; align-items:center; gap:.5em; }
main.ac2 .he-py { display:flex; align-items:center; gap:.5em; font-weight:650; color:#111112; }
main.ac2 .he-py::before { content:""; flex:none; width:.66em; height:.66em; border-radius:50%; background:#111112; }
main.ac2 .he-py--2 { font-weight:500; color:#4f4f4f; }
main.ac2 .he-py--2::before { background:none; box-shadow:inset 0 0 0 .14em #6a6a6a; }
main.ac2 .he-sg { display:flex; align-items:center; gap:.35em; font-weight:650; color:#111112; }
main.ac2 .he-lg--f > span i { color:#4f4f4f; }

/* ---------- 4. tablette large (957 à 1 180 px) : la scène passe sous le texte ; l'éditeur à gauche, les deux voisins à sa droite, le socle dessous ---------- */
@media (max-width:1180px) {
  main.ac2 .gp-hero { background:
    radial-gradient(ellipse 620px 420px at 50% 74%, rgba(44,72,124,.4) 0%, rgba(44,72,124,0) 100%),
    linear-gradient(180deg, #15171a 0%, #15181d 52%, #131d33 100%);
    background-color:#15171a; }
  main.ac2 .gp-hero__in { padding-top:150px; }
  main.ac2 .gp-hero__t { width:auto; max-width:640px; }
  main.ac2 .gp-hero__scene.he-scene { display:block; position:relative; top:auto; left:auto; right:auto; width:100%; max-width:1000px; margin:48px auto 0; transform:none; }
  main.ac2 .gp-hero { padding-bottom:44px; }
  main.ac2 .gp-refs { position:relative !important; bottom:auto; margin-top:48px; padding-top:30px; }
  main.ac2 .gp-refs::before { top:0; }
}
@media (min-width:957px) and (max-width:1180px) {
  main.ac2 .he { --n:100; aspect-ratio:100 / 39.3; }
  main.ac2 .he-socle { top:35.9em; width:96.6em; }
  main.ac2 .he-mail { left:69.4em; top:3.4em; width:30.6em; height:13.6em; }
  main.ac2 .he-dos { left:69.8em; top:18.7em; width:30.2em; }
}

/* ---------- 5. petite tablette (640 à 956 px) : la composition de l'ordinateur, centrée sous le texte, à l'échelle lisible ---------- */
@media (min-width:640px) and (max-width:956px) {
  main.ac2 .gp-hero__scene.he-scene { max-width:600px; }
}

/* ---------- 6. téléphone : composition propre, pas la scène réduite (texte et boutons d'abord ; l'éditeur en gros plan, les deux voisins dessous, le socle) ---------- */
@media (max-width:760px) {
  main.ac2 .gp-hero { min-height:0; padding-bottom:36px; }
  main.ac2 .gp-hero__in { padding-top:112px; }
  main.ac2 .gp-hero__scene.he-scene { margin-top:26px; }
  main.ac2 .gp-refs { margin-top:40px; }
}
@media (max-width:639px) {
  main.ac2 .gp-hero__scene.he-scene { max-width:440px; }
  main.ac2 .he { --n:36; aspect-ratio:36 / 30.9; }
  main.ac2 .he-socle { left:2.2em; top:27.9em; width:33.8em; }
  main.ac2 .he-astre { width:3.2em; }
  main.ac2 .he-regle { left:4.6em; right:0; top:1.25em; }
  main.ac2 .he-prod { display:none; }
  main.ac2 .he-ed { width:36em; height:18.2em; }
  main.ac2 .he-ombre { width:33.8em; height:15.4em; border-radius:1.1em; }
  main.ac2 .he-ombre--1 { left:1.1em; top:1.1em; }
  main.ac2 .he-ombre .he-feux { left:.9em; top:.38em; gap:.3em; }
  main.ac2 .he-ombre .he-feux i { width:.4em; height:.4em; }
  main.ac2 .he-fen { left:2.2em; top:2.2em; width:33.8em; height:15.4em; border-radius:1.1em; }
  main.ac2 .he-chrome { height:2em; padding:0 1.1em; }
  main.ac2 .he-feux i { width:.7em; height:.7em; }
  main.ac2 .he-nomde, main.ac2 .he-nav, main.ac2 .he-suite, main.ac2 .he-nom, main.ac2 .he-sur { display:none; }
  main.ac2 .he-toile { flex-basis:25.2em; padding:.9em .9em 0; }
  main.ac2 .he-pg { border-radius:.7em .7em 0 0; }
  main.ac2 .he-bloc { margin:.9em .8em 0; height:10.4em; }
  main.ac2 .he-herot { left:1.1em; width:14.6em; }
  main.ac2 .he-h { margin-top:0; font-size:1.8em; }
  main.ac2 .he-art { right:.7em; bottom:.7em; width:6.4em; }
  main.ac2 .he-ia { align-items:center; gap:.85em; padding:.9em .4em .9em; }
  main.ac2 .he-ia-t span, main.ac2 .he-dem, main.ac2 .he-comp span, main.ac2 .he-ok span { display:none; }
  main.ac2 .he-ia-t i { font-size:1.35em; }
  main.ac2 .he-comp { display:grid; gap:.5em; }
  main.ac2 .he-comp li { padding:0; justify-content:center; box-shadow:none !important; font-size:1em; }
  main.ac2 .he-comp i { width:auto; font-size:1.3em; }
  main.ac2 .he-ok { display:block; padding:0; box-shadow:none; margin-top:auto; }
  main.ac2 .he-ok i { font-size:1em; width:2.5em; height:2.5em; }
  main.ac2 .he-mail { left:2.2em; top:19.4em; width:19.8em; height:8.1em; gap:.8em; padding:.9em 1em; border-radius:1.1em; }
  main.ac2 .he-mg { flex-basis:6.2em; }
  main.ac2 .he-mt, main.ac2 .he-nl2 { display:none; }
  main.ac2 .he-n { margin-top:.1em; font-size:3.7em; }
  main.ac2 .he-mg .he-nl { font-size:max(1.15em, 10.5px); }
  main.ac2 .he-md { justify-content:flex-end; }
  main.ac2 .he-dos { left:24.2em; top:19.4em; width:11.8em; height:8.6em; }
  main.ac2 .he-dc { padding:.9em .9em 0; }
  main.ac2 .he-dt, main.ac2 .he-lg > span { display:none; }
  main.ac2 .he-lg { justify-content:flex-start; padding:.3em 0; font-size:max(1.15em, 10.5px); box-shadow:none; }
  main.ac2 .he-lg--f { padding-top:.45em; }
}
@media (max-width:360px) {
  main.ac2 .he-h { font-size:1.7em; }
}

@media print, (prefers-reduced-motion:reduce) { main.ac2 .he *, main.ac2 .he *::before, main.ac2 .he *::after { animation:none !important; } }


/* ---------- c4 : la page de site doit se reconnaître comme une page web (barre d'adresse, en-tête, menu, action, bandeau) ---------- */
main.ac2 .he-liens { align-items:center; gap:1.5em; }
main.ac2 .he-act { display:inline-flex; align-items:center; height:2.3em; padding:0 1.15em; border-radius:.5em; background:var(--he-site); color:#fff; font:650 1.3em/1 var(--ad-police-texte); white-space:nowrap; }
main.ac2 .he-act--nav { height:2.1em; padding:0 .95em; font-size:1.18em; }
main.ac2 .he-herot .he-act { margin-top:1.1em; }
main.ac2 .he-menu { display:none; }
main.ac2 .he-bloc { height:12.8em; }
main.ac2 .he-suite { padding-top:1.5em; }
@media (max-width:639px) {
  main.ac2 .he-nomde { display:flex; font-size:1em; max-width:none; padding:.1em .7em; gap:.45em; }
  main.ac2 .he-chm { display:none; }
  main.ac2 .he-nav { display:flex; height:2.5em; padding:0 .9em; }
  main.ac2 .he-logo { font-size:1.1em; }
  main.ac2 .he-liens > span, main.ac2 .he-act--nav { display:none; }
  main.ac2 .he-menu { display:grid; gap:.22em; }
  main.ac2 .he-menu i { display:block; width:1.1em; height:.13em; border-radius:1px; background:#555; }
  main.ac2 .he-bloc { height:7.6em; margin-top:.6em; }
  main.ac2 .he-herot { width:15em; }
  main.ac2 .he-h { font-size:1.35em; }
  main.ac2 .he-herot .he-act { height:2em; margin-top:.7em; padding:0 .8em; font-size:.95em; }
  main.ac2 .he-art { width:5em; }
}

main.ac2 .he-toile, main.ac2 .he-pg, main.ac2 .he-nav { min-width:0; }
main.ac2 .he-liens { gap:1.6em; }

/* ---------- 7. animation, VARIANTE B (15/11/2026) : une seule lecture d'environ 7,9 s, à l'entrée dans l'écran ----------
   La variante A (fenêtre seule à 0 s, courrier et dossier qui entrent à 2 s) est archivée dans maquettes/hero-editeur/archives-anim/variante-A/.
   Principe : l'état final est l'état de base de cette feuille. Les règles ci-dessous ne s'appliquent que sous .he-pret, classe posée par le script qui suit la scène
   dans accueil.src.html ; .he-joue lance la lecture (et la met en pause hors de l'écran) ; à la fin de la dernière animation le script retire les deux classes, ce qui
   ramène exactement à l'état de base. Sans script, en mouvement réduit ou à l'impression : aucune animation (règle plus haut), donc l'état final.
   Remplissage « backwards » (ou aucun) : jamais « both » ni « forwards », et aucun will-change ; chaque élément retombe sur son état de base à la fin de SA propre
   animation (sinon tous les textes de la scène étaient re-rastérisés d'un coup au retrait des classes : mesuré 32 159 pixels différents à 1 280 px en variante A, avant correction).
   Propriétés animées : transform, opacity et clip-path. Aucune propriété de mise en page : CLS nul. Courbes : entrée --he-sortie, déplacement --he-glisse ;
   une pile qui bouge ensemble partage la même courbe. Aucun scale(0), aucun halo, aucun fil entre les éléments.
   À 0 s TOUT est là : l'éditeur (la fenêtre seule, complète, sans le panneau d'assistance, centrée dans son emprise), le courrier et le dossier, à pleine opacité.
   Le panneau est d'abord rogné : la fenêtre, ses versions et sa barre d'adresse sont coupées par un clip-path arrondi, puis la fenêtre s'ouvre de part et d'autre
   et dévoile le panneau (même courbe pour tout ce qui bouge dans cette ouverture).
   Séquence (secondes, depuis he-joue) :
     1 maîtrise        0,10-1,37  versions en retrait sortent de derrière la fenêtre ; 0,25-1,05 planète ; 0,35-1,85 règle tracée ; 1,25-1,95 « En production »
     2 complémentarité 2,00-3,02  les trois s'élèvent puis se posent ensemble (0,7 em, même courbe, 60 ms d'écart : éditeur, courrier, dossier) ;
                       3,15-4,35  le courrier est mis en avant, l'éditeur et le dossier s'estompent à 0,45, puis retour
     3 R&D             4,40-5,20  la fenêtre s'ouvre sur le panneau d'assistance (clip-path + recentrage), son ombre revient de 5,20 à 5,55 ; 4,55 le panneau ; 5,25 la demande ;
                       5,60 / 5,75 / 5,90 les trois composants ; 6,20 « Bandeau haut » s'accroche
     4 stabilisation   7,15-7,85  la validation humaine arrive en dernier (« Validée », puis la date) ; ensuite plus aucun mouvement */
main.ac2 .he { --he-dx:11.7em; --he-r:1.4em; --he-h:29.6em; --he-x0:39.2em; --he-x1:62.6em; --he-x2:68.6em; --he-url:15.2em; }   /* demi-largeur du panneau (recentrage), rayon et hauteur de la fenêtre, bord droit rogné / complet / complet + ombre, rognure de l'adresse (en em de l'adresse) */
@media (max-width:639px) { main.ac2 .he { --he-dx:4.3em; --he-r:1.1em; --he-h:15.4em; --he-x0:25.2em; --he-x1:33.8em; --he-x2:39.8em; --he-url:8.6em; } }

@keyframes he-pose { from { opacity:0; transform:translate3d(var(--he-de),var(--he-de),0); } }
@keyframes he-trace { from { clip-path:inset(-1.2em 100% -1.2em 0); } to { clip-path:inset(-1.2em 0 -1.2em 0); } }
@keyframes he-apparait { from { opacity:0; transform:translate3d(0,.7em,0); } }
@keyframes he-ensemble { 0%,100% { transform:translate3d(0,0,0); } 40% { transform:translate3d(0,-.7em,0); } }
@keyframes he-ensemble-dos { 0%,100% { transform:translate3d(0,0,0) rotate(-1.1deg); } 40% { transform:translate3d(0,-.7em,0) rotate(-1.1deg); } }
@keyframes he-estompe { 0%,100% { opacity:1; } 30%,70% { opacity:.45; } }
@keyframes he-leve { 0%,100% { transform:translate3d(0,0,0); } 30%,70% { transform:translate3d(0,-.7em,0); } }
/* la fenêtre s'ouvre : le bord droit rogné (polygone dont les deux coins droits sont arrondis comme ceux de la fenêtre, et qui déborde en haut et à gauche) passe de x0 à x1 en 0,8 s ;
   tant que la fenêtre est étroite le polygone s'arrête au bas de la fenêtre (pas d'ombre portée : un morceau d'ombre coupé net laissait une marche verticale visible), puis, pendant 0,35 s de plus,
   il descend de 10 em et s'élargit jusqu'à x2 pour rendre l'ombre ; le recentrage et la barre d'adresse suivent la même courbe que les 0,8 s */
@keyframes he-ouvre {
  0% { clip-path:polygon(-6em -6em, calc(var(--he-x0) - var(--he-r)) -6em, calc(var(--he-x0) - var(--he-r)) 0em, calc(var(--he-x0) - var(--he-r) + 0.2588*var(--he-r)) calc(0.0341*var(--he-r)), calc(var(--he-x0) - var(--he-r) + 0.5000*var(--he-r)) calc(0.1340*var(--he-r)), calc(var(--he-x0) - var(--he-r) + 0.7071*var(--he-r)) calc(0.2929*var(--he-r)), calc(var(--he-x0) - var(--he-r) + 0.8660*var(--he-r)) calc(0.5000*var(--he-r)), calc(var(--he-x0) - var(--he-r) + 0.9659*var(--he-r)) calc(0.7412*var(--he-r)), calc(var(--he-x0) - var(--he-r) + 1.0000*var(--he-r)) calc(1.0000*var(--he-r)), var(--he-x0) calc(var(--he-h) - var(--he-r)), calc(var(--he-x0) - var(--he-r) + 0.9659*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.2588*var(--he-r)), calc(var(--he-x0) - var(--he-r) + 0.8660*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.5000*var(--he-r)), calc(var(--he-x0) - var(--he-r) + 0.7071*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.7071*var(--he-r)), calc(var(--he-x0) - var(--he-r) + 0.5000*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.8660*var(--he-r)), calc(var(--he-x0) - var(--he-r) + 0.2588*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.9659*var(--he-r)), calc(var(--he-x0) - var(--he-r) + 0.0000*var(--he-r)) calc(var(--he-h) - var(--he-r) + 1.0000*var(--he-r)), calc(var(--he-x0) - var(--he-r)) var(--he-h), -6em var(--he-h)); animation-timing-function:cubic-bezier(0.77,0,0.175,1); }
  69.57% { clip-path:polygon(-6em -6em, calc(var(--he-x1) - var(--he-r)) -6em, calc(var(--he-x1) - var(--he-r)) 0em, calc(var(--he-x1) - var(--he-r) + 0.2588*var(--he-r)) calc(0.0341*var(--he-r)), calc(var(--he-x1) - var(--he-r) + 0.5000*var(--he-r)) calc(0.1340*var(--he-r)), calc(var(--he-x1) - var(--he-r) + 0.7071*var(--he-r)) calc(0.2929*var(--he-r)), calc(var(--he-x1) - var(--he-r) + 0.8660*var(--he-r)) calc(0.5000*var(--he-r)), calc(var(--he-x1) - var(--he-r) + 0.9659*var(--he-r)) calc(0.7412*var(--he-r)), calc(var(--he-x1) - var(--he-r) + 1.0000*var(--he-r)) calc(1.0000*var(--he-r)), var(--he-x1) calc(var(--he-h) - var(--he-r)), calc(var(--he-x1) - var(--he-r) + 0.9659*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.2588*var(--he-r)), calc(var(--he-x1) - var(--he-r) + 0.8660*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.5000*var(--he-r)), calc(var(--he-x1) - var(--he-r) + 0.7071*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.7071*var(--he-r)), calc(var(--he-x1) - var(--he-r) + 0.5000*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.8660*var(--he-r)), calc(var(--he-x1) - var(--he-r) + 0.2588*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.9659*var(--he-r)), calc(var(--he-x1) - var(--he-r) + 0.0000*var(--he-r)) calc(var(--he-h) - var(--he-r) + 1.0000*var(--he-r)), calc(var(--he-x1) - var(--he-r)) var(--he-h), -6em var(--he-h)); animation-timing-function:cubic-bezier(0.23,1,0.32,1); }
  100% { clip-path:polygon(-6em -6em, calc(var(--he-x2) - var(--he-r)) -6em, calc(var(--he-x2) - var(--he-r)) 0em, calc(var(--he-x2) - var(--he-r) + 0.2588*var(--he-r)) calc(0.0341*var(--he-r)), calc(var(--he-x2) - var(--he-r) + 0.5000*var(--he-r)) calc(0.1340*var(--he-r)), calc(var(--he-x2) - var(--he-r) + 0.7071*var(--he-r)) calc(0.2929*var(--he-r)), calc(var(--he-x2) - var(--he-r) + 0.8660*var(--he-r)) calc(0.5000*var(--he-r)), calc(var(--he-x2) - var(--he-r) + 0.9659*var(--he-r)) calc(0.7412*var(--he-r)), calc(var(--he-x2) - var(--he-r) + 1.0000*var(--he-r)) calc(1.0000*var(--he-r)), var(--he-x2) calc(var(--he-h) - var(--he-r)), calc(var(--he-x2) - var(--he-r) + 0.9659*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.2588*var(--he-r)), calc(var(--he-x2) - var(--he-r) + 0.8660*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.5000*var(--he-r)), calc(var(--he-x2) - var(--he-r) + 0.7071*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.7071*var(--he-r)), calc(var(--he-x2) - var(--he-r) + 0.5000*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.8660*var(--he-r)), calc(var(--he-x2) - var(--he-r) + 0.2588*var(--he-r)) calc(var(--he-h) - var(--he-r) + 0.9659*var(--he-r)), calc(var(--he-x2) - var(--he-r) + 0.0000*var(--he-r)) calc(var(--he-h) - var(--he-r) + 1.0000*var(--he-r)), calc(var(--he-x2) - var(--he-r)) calc(var(--he-h) + 10em), -6em calc(var(--he-h) + 10em)); }
}
@keyframes he-recentre { from { transform:translate3d(var(--he-dx),0,0); } }
@keyframes he-ouvre-url { from { clip-path:inset(0 var(--he-url) 0 0 round .7em); } to { clip-path:inset(0 0 0 0 round .7em); } }
@keyframes he-panneau { from { opacity:0; transform:translate3d(2.4em,0,0); } }
@keyframes he-accroche { from { opacity:0; transform:translate3d(1.6em,.5em,0); } }

/* 1. maîtrise */
main.ac2 .he-pret .he-ombre--2 { --he-de:3.4em;
  animation:he-pose 1.15s var(--he-glisse) .10s backwards paused, he-ensemble .9s var(--he-glisse) 2s none paused, he-ouvre 1.15s linear 4.4s backwards paused; }
main.ac2 .he-pret .he-ombre--1 { --he-de:1.7em;
  animation:he-pose 1.15s var(--he-glisse) .22s backwards paused, he-ensemble .9s var(--he-glisse) 2s none paused, he-ouvre 1.15s linear 4.4s backwards paused; }
main.ac2 .he-pret .he-astre { animation:he-apparait .8s var(--he-sortie) .25s backwards paused; }
main.ac2 .he-pret .he-regle { animation:he-trace 1.5s var(--he-glisse) .35s backwards paused; }
main.ac2 .he-pret .he-prod { animation:he-apparait .7s var(--he-sortie) 1.25s backwards paused; }
/* 2. complémentarité : les trois se posent ensemble (même courbe, 60 ms d'écart), puis un seul est mis en avant */
main.ac2 .he-pret .he-fen { animation:he-ensemble .9s var(--he-glisse) 2s none paused, he-ouvre 1.15s linear 4.4s backwards paused; }
main.ac2 .he-pret .he-mail { animation:he-ensemble .9s var(--he-glisse) 2.06s none paused, he-leve 1.2s var(--he-glisse) 3.15s none paused; }
main.ac2 .he-pret .he-dos { animation:he-ensemble-dos .9s var(--he-glisse) 2.12s none paused, he-estompe 1.2s var(--he-glisse) 3.15s none paused; }
main.ac2 .he-pret .he-ed { animation:he-estompe 1.2s var(--he-glisse) 3.15s none paused, he-recentre .8s var(--he-glisse) 4.4s backwards paused; }
/* 3. R&D : la fenêtre s'ouvre sur le panneau d'assistance, qui s'ajoute à l'éditeur existant ; l'assistant propose */
main.ac2 .he-pret .he-nomde { animation:he-ouvre-url .8s var(--he-glisse) 4.4s backwards paused; }
main.ac2 .he-pret .he-ia { animation:he-panneau .7s var(--he-sortie) 4.55s backwards paused; }
main.ac2 .he-pret .he-dem { animation:he-apparait .5s var(--he-sortie) 5.25s backwards paused; }
main.ac2 .he-pret .he-comp li:nth-child(1) { animation:he-apparait .45s var(--he-sortie) 5.6s backwards paused; }
main.ac2 .he-pret .he-comp li:nth-child(2) { animation:he-apparait .45s var(--he-sortie) 5.75s backwards paused; }
main.ac2 .he-pret .he-comp li:nth-child(3) { animation:he-apparait .45s var(--he-sortie) 5.9s backwards paused; }
main.ac2 .he-pret .he-nom { animation:he-accroche .5s var(--he-sortie) 6.2s backwards paused; }
/* 4. stabilisation : la personne valide, en dernier ; puis l'état final, sans mouvement */
main.ac2 .he-pret .he-ok { animation:he-apparait .6s var(--he-sortie) 7.15s backwards paused; }
main.ac2 .he-pret .he-ok em { animation:he-apparait .5s var(--he-sortie) 7.35s backwards paused; }
/* lecture : .he-joue lance toutes les animations d'un coup (même origine des temps) ; hors de l'écran, la classe est retirée et tout se met en pause */
main.ac2 .he.he-pret.he-joue .he-sc * { animation-play-state:running; }


/* ---------- V4 (19/11/2026) : page photographique, fil de pilotage, badge à QR code ---------- */
main.ac2 .he-bloc { overflow:hidden; background:#202a33; box-shadow:none; }
main.ac2 .he-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 26%; display:block; }
main.ac2 .he-bloc::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(8,14,20,.72) 0%, rgba(8,14,20,.38) 40%, rgba(8,14,20,0) 62%); }
main.ac2 .he-herot { z-index:1; }
main.ac2 .he-sur { color:#d9e3ea; }
main.ac2 .he-h { color:#fff; }
main.ac2 .he-herot .he-act { background:#fff; color:#10202a; }
main.ac2 .he-nom { display:none; }
main.ac2 .he-ia-t i { color:#111112; }
main.ac2 .he-comp i { color:#17734a; font-weight:700; }
main.ac2 .he-dos { transform:rotate(-1.1deg); }
main.ac2 .he-bg { position:absolute; inset:0; display:flex; flex-direction:column; border-radius:.9em; overflow:hidden; background:#fff; color:#111112; box-shadow:0 1em 1.3em rgba(0,0,0,.45), inset 0 0 0 1px rgba(17,17,18,.08); }
main.ac2 .he-bg-t { flex:none; display:flex; justify-content:space-between; align-items:baseline; padding:.9em 1.4em; background:#0e5a5c; color:#e4efed; font-size:1.3em; font-weight:650; line-height:1.2; }
main.ac2 .he-bg-d { font-weight:500; font-size:.9em; opacity:.9; }
main.ac2 .he-bg-c { flex:1; min-height:0; display:flex; align-items:center; justify-content:space-between; gap:1.2em; padding:.6em 1.4em; }
main.ac2 .he-bg-id { display:flex; flex-direction:column; min-width:0; }
main.ac2 .he-bg-p { font:650 2.1em/1.05 var(--ad-police-titre); letter-spacing:-.02em; }
main.ac2 .he-bg-n { font:650 1.5em/1.2 var(--ad-police-titre); letter-spacing:.04em; }
main.ac2 .he-bg-o { margin-top:.35em; font-size:1.18em; line-height:1.3; color:#4f4f4f; }
main.ac2 .he-bg-q { flex:none; display:flex; flex-direction:column; align-items:center; gap:.25em; }
main.ac2 .he-qr { width:6.6em; height:6.6em; display:block; }
main.ac2 .he-bg-q span { font-size:.95em; color:#4f4f4f; font-variant-numeric:tabular-nums; }
main.ac2 .he-bg-r { flex:none; padding:.5em 1.4em; background:#e4efed; color:#0e5a5c; font-size:1.2em; font-weight:650; }
@media (max-width:639px) {
  main.ac2 .he-bg-t { padding:.5em .9em; font-size:1em; } main.ac2 .he-bg-d { display:none; }
  main.ac2 .he-bg-c { padding:.4em .8em; } main.ac2 .he-bg-p { font-size:1.35em; } main.ac2 .he-bg-n { font-size:1em; } main.ac2 .he-bg-o { display:none; }
  main.ac2 .he-qr { width:4.2em; height:4.2em; } main.ac2 .he-bg-q span { display:none; } main.ac2 .he-bg-r { display:none; }
}
