/* V9.6.33 — HOMEPAGE HERO ONLY
   Correction réelle du zoom : utilisation de scale + translate indépendants.
   Les anciens transform !important du thème ne peuvent donc plus bloquer l'animation.
   5 photos, ~5 s, fondu croisé 2.2 s. */

body.home .v9-hero .v84-hero-sequence,
body.home .v9-hero .v84-hero-slide{
  position:absolute;
  inset:0;
}
body.home .v9-hero .v84-hero-sequence{
  overflow:hidden;
  background:#222;
}
body.home .v9-hero .v84-hero-slide{
  margin:0;
  opacity:0;
  visibility:visible!important;
  z-index:0;
  transition:opacity 2200ms cubic-bezier(.45,0,.55,1)!important;
  pointer-events:none;
  will-change:opacity;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
body.home .v9-hero .v84-hero-slide.is-active{opacity:1;z-index:2}
body.home .v9-hero .v84-hero-slide.is-leaving{opacity:0;z-index:1}

/* Neutralise seulement les ANCIENS mouvements hero basés sur transform.
   Le nouveau zoom utilise scale/translate, donc reste indépendant. */
body.home .v9-hero .v84-hero-slide img,
body.home .v9-hero .v84-hero-slide.is-active img,
body.home .v9-hero .v84-hero-slide.is-leaving img{
  width:100%;
  height:100%;
  object-fit:cover;
  animation:none!important;
  transform:none!important;
  transition:none!important;
  opacity:1;
  filter:blur(0);
  translate:0 0;
  scale:1;
  transform-origin:center center;
  will-change:scale,translate,filter;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}

/* Départs légèrement différents pour rendre les 5 photos vivantes sans effet brutal. */
body.home .v9-hero .v84-hero-slide:nth-of-type(5n+1){--v933-x:-18px;--v933-y:20px}
body.home .v9-hero .v84-hero-slide:nth-of-type(5n+2){--v933-x:18px;--v933-y:16px}
body.home .v9-hero .v84-hero-slide:nth-of-type(5n+3){--v933-x:-13px;--v933-y:22px}
body.home .v9-hero .v84-hero-slide:nth-of-type(5n+4){--v933-x:13px;--v933-y:18px}
body.home .v9-hero .v84-hero-slide:nth-of-type(5n+5){--v933-x:-9px;--v933-y:20px}

/* Vrai zoom visible à CHAQUE entrée :
   1.105 -> léger dépassement -> 1.000, avec déplacement + flou doux.
   Durée 3.2 s : le mouvement est clairement visible pendant le fondu de 2.2 s,
   puis la photo se stabilise avant la transition suivante. */
body.home .v9-hero .v84-hero-slide.is-v933-motion img{
  animation:v933HeroArrival 3200ms cubic-bezier(.22,1,.36,1) both!important;
}
@keyframes v933HeroArrival{
  0%{
    scale:1.105;
    translate:var(--v933-x,0px) var(--v933-y,20px);
    filter:blur(2px);
  }
  68%{
    scale:.997;
    translate:0 -3px;
    filter:blur(0);
  }
  86%{
    scale:1.004;
    translate:0 1px;
    filter:blur(0);
  }
  100%{
    scale:1;
    translate:0 0;
    filter:blur(0);
  }
}

/* La photo sortante reste dans son état final pendant qu'elle se fond.
   La suivante joue simultanément son zoom d'entrée. */
body.home .v9-hero .v84-hero-slide.is-leaving img{
  scale:1;
  translate:0 0;
  filter:blur(0);
}

@media(max-width:760px){
  body.home .v9-hero .v84-hero-slide{transition-duration:1900ms!important}
  body.home .v9-hero .v84-hero-slide.is-v933-motion img{
    animation-duration:3000ms!important;
  }
}

@media(prefers-reduced-motion:reduce){
  body.home .v9-hero .v84-hero-slide{transition:none!important}
  body.home .v9-hero .v84-hero-slide img,
  body.home .v9-hero .v84-hero-slide.is-v933-motion img{
    animation:none!important;
    transform:none!important;
    translate:0 0!important;
    scale:1!important;
    filter:none!important;
  }
}
