/* Accueil, section 05 · Méthode (#process) : « le soleil rasant ».
   La ligne de la méthode est un horizon : une tête de lumière la parcourt en
   marquant un temps sur chaque étape (T0 + 600, 1000, 1400, 1800 ms, × --tk),
   un faisceau monte de chaque point, le titre d'étape se relève.
   Chargé après home.css ; tout est limité à main.home #process et à
   html:not(.calage). États cachés et mouvements : seulement sous html.yn-fx
   (sans cette classe, la section est dans son état final, immobile).
   Les calques de lumière (.steps__sky, .steps__sun, .step__beam) sont créés
   par assets/js/modules/home/method.js, jamais dans l'éditeur. */

/* inclinaison au pointeur (method.js, quelques fois par seconde) : variables
   non héritées, seul le plan des étapes est recalculé ; le mouvement lui-même
   est une transition de transform, jouée par le compositeur (un seul
   transform sur le plan : pas de rotate / translate à part, sinon Chrome ne
   peut plus confier l'animation au compositeur) */
@property --s5x{syntax:'<number>';inherits:false;initial-value:0}
@property --s5y{syntax:'<number>';inherits:false;initial-value:0}

/* ---- jetons (mêmes valeurs que le bloc commun de home.css) --------------- */
html:not(.calage) main.home #process{
  --u:min(calc((100vw - var(--sbw,0px)) / 1920),calc(100vh / 1080));
  --u:min(calc((100vw - var(--sbw,0px)) / 1920),calc(100svh / 1080));
  --fx:max(0px,calc((100vw - var(--sbw,0px) - 2240 * var(--u)) / 2));
  --pl:calc(var(--fx) + max(170 * var(--u),97 * var(--m)));
  --pr:calc(var(--fx) + max(120 * var(--u),96px));
  --xtra:max(0px,calc(100svh - 1080 * var(--u)));
  --t-mono:max(10.5px,calc(13 * var(--u)));
  --e-out:cubic-bezier(.16,1,.3,1);
  --e-io:cubic-bezier(.65,0,.35,1);
  /* propres à la section */
  --dot:calc(22 * var(--u));                       /* point d'étape */
  --beam:calc(196 * var(--u) + .4 * var(--xtra));  /* faisceau */
  --sky:calc(300 * var(--u) + .4 * var(--xtra));   /* lumière au-dessus de l'horizon */
}
@media (max-width:1023px){
  html:not(.calage) main.home #process{
    --u:min(calc(100vw / 390),calc(100svh / 844));
    --fx:0px;--pl:24px;--pr:24px;--xtra:0px;--t-mono:10.5px;
    --dot:11px;--beam:30px;
  }
}

/* ==========================================================================
   (a) TAILLE ET COMPOSITION : ordinateur
   Haut : étiquette, titre 116 u, lien. Puis le ciel (faisceaux), puis la
   ligne d'horizon de --pl à 100 % - --pr et les 4 étapes posées dessous.
   ========================================================================== */
@media (min-width:1024px){
  html:not(.calage) main.home #process .method__grid{row-gap:0;padding:0 var(--pr) 0 var(--pl);perspective:calc(2000 * var(--u));perspective-origin:50% 22%}
  html:not(.calage) main.home #process .method__title{margin-top:calc(30 * var(--u) + .1 * var(--xtra));font-size:calc(116 * var(--u))}
  html:not(.calage) main.home #process .more{margin-top:calc(40 * var(--u) + .05 * var(--xtra));gap:calc(12 * var(--u));padding-bottom:calc(6 * var(--u));font-size:var(--t-mono)}
  html:not(.calage) main.home #process .more svg{width:max(14px,calc(17 * var(--u)));height:max(14px,calc(17 * var(--u)))}
  html:not(.calage) main.home #process .more:hover{gap:calc(18 * var(--u))}

  html:not(.calage) main.home #process .steps{margin-top:calc(222 * var(--u) + .5 * var(--xtra));padding-top:0}
  html:not(.calage) main.home #process .steps__list{column-gap:calc(40 * var(--u))}
  html:not(.calage) main.home #process .steps__track{left:calc(var(--dot) / 2);right:0;top:calc(var(--dot) / 2 - .5px);
    background-image:linear-gradient(90deg,rgba(255,255,255,.26) 50%,transparent 50%);background-size:max(4px,calc(6 * var(--u))) 1px}
  html:not(.calage) main.home #process .steps__fill{height:max(2px,calc(2.4 * var(--u)));top:calc(max(2px,calc(2.4 * var(--u))) / -2 + .5px)}
  html:not(.calage) main.home #process .step__dot{width:var(--dot);height:var(--dot);border-width:max(1.5px,calc(2 * var(--u)))}
  html:not(.calage) main.home #process .step__num{margin-top:calc(40 * var(--u) + .1 * var(--xtra));font-size:var(--t-mono);letter-spacing:.18em}
  html:not(.calage) main.home #process .step__title{margin-top:calc(14 * var(--u));font-size:calc(54 * var(--u));line-height:1;letter-spacing:-.005em;white-space:nowrap}
  html:not(.calage) main.home #process .step__txt{margin-top:calc(22 * var(--u) + .05 * var(--xtra));font-size:max(15px,calc(20 * var(--u)));line-height:1.7}
}
/* écrans bas (portables 1280 × 720, 1536 × 730) : les planchers de lecture
   (15 px) allongent les textes d'étape ; le ciel et les écarts se resserrent */
@media (min-width:1024px) and (max-height:760px){
  html:not(.calage) main.home #process .steps{margin-top:calc(196 * var(--u))}
  html:not(.calage) main.home #process .step__num{margin-top:calc(32 * var(--u))}
  html:not(.calage) main.home #process .step__txt{line-height:1.62}
  html:not(.calage) main.home #process{--beam:calc(176 * var(--u))}
}
/* 1024 à 1279 px (colonnes étroites, souvent en 4:3) : textes d'étape un peu
   plus petits, le surplus vertical va moins aux écarts */
@media (min-width:1024px) and (max-width:1279px){
  html:not(.calage) main.home #process .steps{margin-top:calc(196 * var(--u) + .25 * var(--xtra))}
  html:not(.calage) main.home #process .steps__list{column-gap:calc(32 * var(--u))}
  html:not(.calage) main.home #process .step__num{margin-top:calc(32 * var(--u) + .06 * var(--xtra))}
  html:not(.calage) main.home #process .step__txt{font-size:14px;line-height:1.55}
}

/* ==========================================================================
   (a) TAILLE ET COMPOSITION : téléphone et tablette (< 1024 px)
   Colonne : ligne verticale existante, titre plus grand, titres d'étape 24 px.
   ========================================================================== */
@media (max-width:1023px){
  html:not(.calage) main.home #process .method__grid{perspective:1200px;perspective-origin:50% 30%}
  html:not(.calage) main.home #process .method__title{font-size:clamp(32px,calc(46 * var(--u)),60px)}
  html:not(.calage) main.home #process .more{margin-top:max(12px,calc(16 * var(--u)))}
  html:not(.calage) main.home #process .steps{margin-top:max(16px,calc(22 * var(--u)))}
  html:not(.calage) main.home #process .steps__list{row-gap:max(8px,calc(12 * var(--u)))}
  html:not(.calage) main.home #process .step__title{margin-top:2px;font-size:24px;line-height:1.05}
  html:not(.calage) main.home #process .step__txt{margin-top:max(3px,calc(5 * var(--u)));font-size:max(13.5px,calc(14 * var(--u)));line-height:1.45}
}
/* téléphones bas (moins de 760 px de haut) : le numéro d'étape passe à droite
   de son titre (une ligne de moins par étape), le point se cale sur le titre */
@media (max-width:1023px) and (max-height:760px){
  html:not(.calage) main.home #process{--dt:7px}
  html:not(.calage) main.home #process .step{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:baseline}
  html:not(.calage) main.home #process .step__title{grid-row:1;grid-column:1;margin-top:0;font-size:22px}
  html:not(.calage) main.home #process .step__num{grid-row:1;grid-column:2}
  html:not(.calage) main.home #process .step__txt{grid-column:1 / -1}
  html:not(.calage) main.home #process .step__dot{top:var(--dt)}
  html:not(.calage) main.home #process .steps__list{row-gap:10px}
}
@media (max-width:1023px) and (max-height:700px){
  html:not(.calage) main.home #process .steps{margin-top:14px}
  html:not(.calage) main.home #process .steps__list{row-gap:8px}
  html:not(.calage) main.home #process .step__txt{margin-top:2px;line-height:1.4}
}
@media (max-width:1023px) and (min-width:600px){
  html:not(.calage) main.home #process .step__txt{max-width:540px}
}
/* tablette en portrait (768 × 1024, 820 × 1180…) : les quatre étapes en grand,
   pour remplir l'écran au lieu d'en laisser le tiers bas vide */
@media (min-width:600px) and (max-width:1023px) and (min-height:900px){
  html:not(.calage) main.home #process .steps{margin-top:calc(16px + 1.8svh)}
  html:not(.calage) main.home #process .steps__list{row-gap:calc(12px + 2.6svh)}
  html:not(.calage) main.home #process .step__num{font-size:12px}
  html:not(.calage) main.home #process .step__title{margin-top:6px;font-size:clamp(28px,3.4svh,40px)}
  html:not(.calage) main.home #process .step__txt{margin-top:8px;font-size:clamp(16px,1.65svh,18px);line-height:1.55;max-width:600px}
}

/* ==========================================================================
   Calques de lumière (créés par method.js). État de base = état final :
   tête posée sur 04, faisceaux à 0,35, horizon allumé (animations réduites).
   ========================================================================== */
html:not(.calage) main.home #process :is(.steps__sky,.steps__sun){position:absolute;pointer-events:none}
html:not(.calage) main.home #process .steps__track{z-index:1}
html:not(.calage) main.home #process .steps__list{position:relative;z-index:1}
html:not(.calage) main.home #process .step{perspective:calc(900 * var(--u))}

/* ciel : lueur d'aube posée sur l'horizon + lumière qui suit la tête */
html:not(.calage) main.home #process .steps__sky{left:0;right:0;top:calc(var(--dot) / 2 - var(--sky));height:calc(var(--sky) + 200 * var(--u));z-index:0}
html:not(.calage) main.home #process .steps__dawn{position:absolute;inset:0;transform-origin:50% calc(100% - 200 * var(--u));
  background:radial-gradient(54% calc(270 * var(--u)) at 50% calc(100% - 200 * var(--u)),rgba(246,43,62,.2),rgba(170,16,30,.08) 52%,transparent 74%)}
html:not(.calage) main.home #process .steps__light{position:absolute;left:calc(var(--dot) / 2 - 320 * var(--u));top:calc(var(--sky) - 190 * var(--u));width:calc(640 * var(--u));height:calc(380 * var(--u));
  background:radial-gradient(closest-side,rgba(255,64,82,.3),rgba(246,43,62,.12) 46%,transparent);transform:translate3d(var(--hx,0px),var(--hy,0px),0)}

/* soleil : calque aligné sur la ligne (même origine que .steps__track) */
html:not(.calage) main.home #process .steps__sun{left:calc(var(--dot) / 2);right:0;top:calc(var(--dot) / 2);height:0;z-index:2}
html:not(.calage) main.home #process .steps__head{position:absolute;left:0;top:0;width:0;height:0;transform:translate3d(var(--hx,0px),var(--hy,0px),0)}
html:not(.calage) main.home #process .steps__orb{position:absolute;left:0;top:0;width:0;height:0}
html:not(.calage) main.home #process .steps__orb > .steps__halo{position:absolute;left:0;top:0;border-radius:50%;
  width:calc(100 * var(--u));height:calc(100 * var(--u));margin:calc(-50 * var(--u)) 0 0 calc(-50 * var(--u));
  background:radial-gradient(circle,rgba(255,120,130,.8),rgba(246,43,62,.38) 22%,rgba(246,43,62,.1) 46%,transparent 68%)}
html:not(.calage) main.home #process .steps__orb > .steps__flare{position:absolute;left:0;top:0;border-radius:2px;
  width:calc(300 * var(--u));height:max(2px,calc(2.4 * var(--u)));margin:calc(max(2px,calc(2.4 * var(--u))) / -2) 0 0 calc(-150 * var(--u));
  background:linear-gradient(90deg,transparent,rgba(246,43,62,.4) 16%,rgba(255,120,130,.9) 40%,#fff4f0 50%,rgba(255,120,130,.9) 60%,rgba(246,43,62,.4) 84%,transparent)}
html:not(.calage) main.home #process .steps__orb > .steps__flare::before{content:"";position:absolute;left:10%;right:10%;top:50%;height:calc(16 * var(--u));margin-top:calc(-8 * var(--u));
  background:radial-gradient(50% 50% at 50% 50%,rgba(246,43,62,.4),transparent)}
html:not(.calage) main.home #process .steps__orb > .steps__core{position:absolute;left:0;top:0;border-radius:50%;
  width:max(6px,calc(10 * var(--u)));height:max(6px,calc(10 * var(--u)));margin:calc(max(6px,calc(10 * var(--u))) / -2) 0 0 calc(max(6px,calc(10 * var(--u))) / -2);
  background:radial-gradient(circle,#fffbe8 0 28%,#FFD60A 60%);box-shadow:0 0 calc(12 * var(--u)) calc(3 * var(--u)) rgba(255,214,10,.6),0 0 calc(34 * var(--u)) calc(6 * var(--u)) rgba(255,140,40,.22)}
/* impulsion d'ambiance : l'enveloppe fait toute la longueur de la ligne et
   glisse de -100 % à 0 : la tache, posée sur son bord, parcourt la ligne */
html:not(.calage) main.home #process .steps__pulse{position:absolute;left:0;top:0;width:100%;height:0;opacity:0;transform:translate3d(-100%,0,0)}
html:not(.calage) main.home #process .steps__pulse > i{position:absolute;right:calc(-70 * var(--u));top:calc(-13 * var(--u));width:calc(140 * var(--u));height:calc(26 * var(--u));
  background:radial-gradient(closest-side,rgba(255,226,228,.95),rgba(246,43,62,.5) 42%,transparent)}

/* faisceau qui monte de chaque point (1 px + une gaine douce) */
html:not(.calage) main.home #process .step__beam{position:absolute;left:calc(var(--dot) / 2 - max(1px,calc(1.2 * var(--u))) / 2);top:calc(var(--dot) / 2 - var(--beam));width:max(1px,calc(1.2 * var(--u)));height:var(--beam);pointer-events:none;
  transform-origin:50% 100%;opacity:.35;transition:opacity .45s var(--ease);
  background:linear-gradient(to top,#fff0f0,rgba(255,90,100,.95) 16%,rgba(246,43,62,.4) 58%,transparent)}
html:not(.calage) main.home #process .step__beam::before{content:"";position:absolute;left:calc(-34 * var(--u));bottom:0;width:calc(68 * var(--u));height:100%;
  background:radial-gradient(50% 100% at 50% 100%,rgba(246,43,62,.55),rgba(246,43,62,.16) 48%,transparent)}
/* paquet de lumière qui monte le long du faisceau au passage de l'impulsion */
html:not(.calage) main.home #process .step__spark{position:absolute;left:calc(var(--dot) / 2 - 1.5px);top:calc(var(--dot) / 2 - 50 * var(--u));width:3px;height:calc(50 * var(--u));opacity:0;border-radius:2px;pointer-events:none;
  background:linear-gradient(to top,transparent,rgba(255,217,220,.95) 60%,transparent)}

/* téléphone : la ligne est verticale, la traînée aussi ; faisceaux courts vers la droite */
@media (max-width:1023px){
  html:not(.calage) main.home #process .steps__sky{display:none}
  html:not(.calage) main.home #process .steps__sun{left:5.5px;right:auto;top:6px;bottom:6px;width:0;height:auto}
  html:not(.calage) main.home #process .steps__orb{position:absolute;left:0;top:0;width:0;height:0}
html:not(.calage) main.home #process .steps__orb > .steps__halo{width:30px;height:30px;margin:-15px 0 0 -15px}
  html:not(.calage) main.home #process .steps__orb > .steps__flare{width:2px;height:96px;margin:-48px 0 0 -1px;
    background:linear-gradient(180deg,transparent,rgba(246,43,62,.55) 30%,#ffd9dc 50%,rgba(246,43,62,.55) 70%,transparent)}
  html:not(.calage) main.home #process .steps__orb > .steps__core{width:6px;height:6px;margin:-3px 0 0 -3px}
  html:not(.calage) main.home #process .steps__pulse{width:0;height:100%;transform:translate3d(0,-100%,0)}
  html:not(.calage) main.home #process .steps__pulse > i{right:auto;left:-9px;top:auto;bottom:-55px;width:18px;height:110px}
  html:not(.calage) main.home #process .step__beam{left:calc(-34px + var(--dot));top:calc(var(--dt,2px) + var(--dot) / 2 - .5px);width:var(--beam);height:1px;transform-origin:0 50%;
    background:linear-gradient(to right,#ffd9dc,rgba(246,43,62,.6) 35%,transparent)}
  html:not(.calage) main.home #process .step__beam::before,
  html:not(.calage) main.home #process .step__spark{display:none}
}

/* ==========================================================================
   Effets (html.yn-fx) : les styles d'allumage de modules/method.js (.is-on,
   délais --sd) ne s'appliquent plus ; une étape révélée est allumée.
   ========================================================================== */
html.yn-fx main.home #process .step,
html.yn-fx main.home #process .step :is(.step__dot,.step__num,.step__title,.step__txt){transition-delay:0s}
html.yn-fx main.home #process .step__dot{opacity:1;background:#1a0306;box-shadow:0 0 0 calc(4 * var(--u)) rgba(246,43,62,.12),0 0 calc(16 * var(--u)) var(--red-glow)}
html.yn-fx main.home #process .step__title{color:var(--red);text-shadow:0 0 calc(26 * var(--u)) rgba(246,43,62,.35)}
html.yn-fx main.home #process .step__txt{color:var(--ink-2)}
html.yn-fx main.home #process .step__num{color:var(--ink-3)}
html.yn-fx main.home #process .steps__fill{transform:scaleX(var(--hf,0));transition:none}
@media (max-width:1023px){
  html.yn-fx main.home #process .steps__fill{transform:scaleY(var(--hf,0))}
}

/* (e) départ, piloté par --lv (0 → 1 quand la section part vers le haut) :
   le plan des étapes se recouche, le titre monte plus vite que la section.
   --s5x / --s5y : inclinaison au pointeur (method.js, pointeur fin). */
html.yn-fx main.home #process .method__grid > div:first-child{transform:translate3d(0,calc(var(--lv,0) * -8vh),0)}
html.yn-fx main.home #process .steps{transform-origin:50% 0;
  transform:rotateX(calc(var(--lv,0) * 35deg - var(--s5y,0) * 3deg)) rotateY(calc(var(--s5x,0) * 4deg))}

/* ---- (b) ARRIVÉE : états avant .st-in (T0, posé par sections.js) -------- */
html.yn-fx main.home #process:not(.st-in) .steps{transform:translate3d(0,calc(60 * var(--u)),0) rotateX(40deg)}
html.yn-fx main.home #process:not(.st-in) :is(.steps__track,.steps__sky,.steps__head,.steps__light){opacity:0}
html.yn-fx main.home #process:not(.st-in) .step__dot{opacity:0;scale:.6}
html.yn-fx main.home #process:not(.st-in) .step__title{opacity:0;transform:rotateX(-90deg)}
html.yn-fx main.home #process:not(.st-in) :is(.step__num,.step__txt){opacity:0;transform:translate3d(0,calc(16 * var(--u)),0)}
html.yn-fx main.home #process:not(.st-in) .step__beam{opacity:0;transform:scaleY(0)}
@media (max-width:1023px){
  html.yn-fx main.home #process:not(.st-in) .steps{transform:translate3d(0,32px,0) rotateX(24deg)}
  html.yn-fx main.home #process:not(.st-in) .step__beam{transform:scaleX(0)}
}

/* ---- (b) ARRIVÉE : chorégraphie à partir de .st-in -------------------------
   --pt : moment où la tête atteint le point de l'étape (T0 + 600 + i × 400 ms) */
html.yn-fx main.home #process .step:nth-child(1){--pt:calc(600ms * var(--tk,1))}
html.yn-fx main.home #process .step:nth-child(2){--pt:calc(1000ms * var(--tk,1))}
html.yn-fx main.home #process .step:nth-child(3){--pt:calc(1400ms * var(--tk,1))}
html.yn-fx main.home #process .step:nth-child(4){--pt:calc(1800ms * var(--tk,1))}
html.yn-fx main.home #process.st-in .steps:not(.is-ready){transition:transform calc(1300ms * var(--tk,1)) var(--e-io) calc(300ms * var(--tk,1))}
html.yn-fx main.home #process.st-in .steps__track{transition:opacity calc(700ms * var(--tk,1)) var(--e-out) calc(150ms * var(--tk,1))}
html.yn-fx main.home #process.st-in .steps__sky{transition:opacity calc(1400ms * var(--tk,1)) var(--e-out) calc(250ms * var(--tk,1))}
html.yn-fx main.home #process.st-in .step__dot{animation:s5-pop calc(600ms * var(--tk,1)) var(--e-out) var(--pt) backwards}
html.yn-fx main.home #process.st-in .step__beam{animation:s5-beam calc(1300ms * var(--tk,1)) linear var(--pt) backwards}
html.yn-fx main.home #process.st-in .step__title{transform-origin:50% 100%;animation:s5-hinge calc(700ms * var(--tk,1)) var(--e-out) var(--pt) backwards}
html.yn-fx main.home #process.st-in .step__num{animation:s5-rise calc(600ms * var(--tk,1)) var(--e-out) calc(var(--pt) + 120ms * var(--tk,1)) backwards}
html.yn-fx main.home #process.st-in .step__txt{animation:s5-rise calc(600ms * var(--tk,1)) var(--e-out) calc(var(--pt) + 200ms * var(--tk,1)) backwards}
@media (max-width:1023px){
  html.yn-fx main.home #process.st-in .step__beam{animation-name:s5-beam-x}
}
@keyframes s5-pop{0%{scale:.6;opacity:.3}45%{scale:1.25;opacity:1}100%{scale:1;opacity:1}}
@keyframes s5-beam{0%{transform:scaleY(0);opacity:1;animation-timing-function:cubic-bezier(.16,1,.3,1)}23%{transform:scaleY(1);opacity:1;animation-timing-function:cubic-bezier(.45,0,.55,1)}100%{transform:scaleY(1);opacity:.35}}
@keyframes s5-beam-x{0%{transform:scaleX(0);opacity:1;animation-timing-function:cubic-bezier(.16,1,.3,1)}23%{transform:scaleX(1);opacity:1;animation-timing-function:cubic-bezier(.45,0,.55,1)}100%{transform:scaleX(1);opacity:.35}}
@keyframes s5-hinge{0%{opacity:0;transform:rotateX(-90deg)}35%{opacity:1}100%{opacity:1;transform:none}}
@keyframes s5-rise{0%{opacity:0;transform:translate3d(0,calc(16 * var(--u)),0)}100%{opacity:1;transform:none}}

/* ---- (c) AMBIANCE : section active seulement, après l'arrivée ------------
   tête qui respire (3,1 s aller, 6,2 s le cycle), impulsion le long de la
   ligne toutes les 6,6 s (2,4 s de trajet) : elle éclaire chaque point en
   passant et une étincelle monte le long de son faisceau (--fd = moment du
   passage, calculé par method.js) ; aube de l'horizon qui respire (13 s).
   Peu d'animations à la fois : le navigateur les recalcule toutes dès qu'une
   image est produite par ailleurs (pointeur, curseur). */
html.yn-fx main.home #process.st-in{--amb:calc(2600ms * var(--tk,1))}
html.yn-fx main.home #process.st-in .steps__orb > .steps__core{animation:s5-breath 3.1s ease-in-out var(--amb) infinite alternate paused}
html.yn-fx main.home #process.st-in .steps__pulse{animation:s5-pulse 6.6s linear var(--amb) infinite paused}
html.yn-fx main.home #process.st-in .step__spark{animation:s5-spark 6.6s linear calc(var(--amb) + var(--fd,0ms)) infinite paused}
html.yn-fx main.home #process.st-in .steps__dawn{animation:s5-dawn 13s ease-in-out var(--amb) infinite alternate paused}
html.yn-fx main.home #process.st-in.is-current :is(.steps__orb > .steps__core,.steps__pulse,.step__spark,.steps__dawn){animation-play-state:running}
@media (max-width:1023px){
  html.yn-fx main.home #process.st-in .steps__pulse{animation-name:s5-pulse-y}
}
@keyframes s5-breath{to{scale:1.3}}
@keyframes s5-pulse{0%{transform:translate3d(-100%,0,0);opacity:0;animation-timing-function:cubic-bezier(.65,0,.35,1)}4.5%{opacity:1}30%{opacity:.9}36.36%,100%{transform:translate3d(0,0,0);opacity:0}}
@keyframes s5-pulse-y{0%{transform:translate3d(0,-100%,0);opacity:0;animation-timing-function:cubic-bezier(.65,0,.35,1)}4.5%{opacity:1}30%{opacity:.9}36.36%,100%{transform:translate3d(0,0,0);opacity:0}}
@keyframes s5-spark{0%{opacity:0;transform:translate3d(0,0,0);animation-timing-function:cubic-bezier(.3,.6,.4,1)}3%{opacity:.9}20%{opacity:0;transform:translate3d(0,calc(var(--beam) * -.8),0)}100%{opacity:0;transform:translate3d(0,calc(var(--beam) * -.8),0)}}
@keyframes s5-dawn{to{opacity:.72;transform:scale(1.04,.94)}}

/* ---- (d) SURVOL / APPUI d'une étape (après l'arrivée, .is-ready) ---------
   la tête glisse jusqu'à son point (method.js change --hx / --hy), son
   faisceau monte à 0,8, l'étape monte de 6 u, les autres s'effacent. */
/* inclinaison au pointeur : transition jouée par le compositeur, coupée pendant
   un glissé (le départ suit alors --lv image par image) */
html.yn-fx.yn-engine:not(.yn-moving) main.home #process .steps.is-ready{transition:transform .9s var(--e-out)}
html.yn-fx main.home #process .steps.is-ready :is(.steps__head,.steps__light){transition:transform .7s var(--e-io)}
html.yn-fx main.home #process .steps.is-ready :is(.step__txt,.step__num,.step__title){transition:color .45s var(--ease),opacity .45s var(--ease),translate .45s var(--e-out)}
html.yn-fx main.home #process .steps.is-hover .step.is-hot :is(.step__txt,.step__num,.step__title){translate:0 calc(-6 * var(--u))}
html.yn-fx main.home #process .steps.is-hover .step.is-hot .step__beam{opacity:.8}
html.yn-fx main.home #process .steps.is-hover .step:not(.is-hot) :is(.step__txt,.step__num){color:var(--ink-3)}
html.yn-fx main.home #process .steps.is-hover .step:not(.is-hot) .step__title{opacity:.55}
