/* =====================================================================
   Écran « enregistrement » : plusieurs vues d'un logiciel se succèdent
   dans l'ordinateur, avec un lent travelling sur chaque vue et un
   fondu enchaîné, comme une vidéo de démonstration.
   .s3 = 3 vues (12 s), .s5 = 5 vues (20 s)
   ===================================================================== */
.reel .sequence{position:absolute;inset:0;z-index:1;overflow:hidden;background:#fff}
.reel .sequence img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center top;opacity:0}
.reel .sequence img:first-child{opacity:1}

@media (prefers-reduced-motion: no-preference) {
  .reel .sequence img{animation:vue-3 12s cubic-bezier(.45,0,.25,1) infinite;transform-origin:20% 20%}
  .reel .sequence.s3 img:nth-child(2){animation-delay:4s}
  .reel .sequence.s3 img:nth-child(3){animation-delay:8s}
  /* Chaque vue : entre en fondu, la « caméra » avance doucement, sort en fondu */
  @keyframes vue-3{0%{opacity:0;}6%{opacity:1}33%{opacity:1;}40%,100%{opacity:0;}}

  .reel .sequence.s5 img{animation-name:vue-5;animation-duration:20s}
  .reel .sequence.s5 img:nth-child(2){animation-delay:4s}
  .reel .sequence.s5 img:nth-child(3){animation-delay:8s}
  .reel .sequence.s5 img:nth-child(4){animation-delay:12s}
  .reel .sequence.s5 img:nth-child(5){animation-delay:16s}
  @keyframes vue-5{0%{opacity:0;}4%{opacity:1}20%{opacity:1;}24%,100%{opacity:0;}}

  /* .s6 = 6 vues (24 s) */
  .reel .sequence.s6 img{animation-name:vue-6;animation-duration:24s}
  .reel .sequence.s6 img:nth-child(2){animation-delay:4s}
  .reel .sequence.s6 img:nth-child(3){animation-delay:8s}
  .reel .sequence.s6 img:nth-child(4){animation-delay:12s}
  .reel .sequence.s6 img:nth-child(5){animation-delay:16s}
  .reel .sequence.s6 img:nth-child(6){animation-delay:20s}
  @keyframes vue-6{0%{opacity:0;}3%{opacity:1}17%{opacity:1;}20%,100%{opacity:0;}}
  /* .s4 = 4 vues (16 s) */
  .reel .sequence.s4 img{animation-name:vue-4;animation-duration:16s}
  .reel .sequence.s4 img:nth-child(2){animation-delay:4s}
  .reel .sequence.s4 img:nth-child(3){animation-delay:8s}
  .reel .sequence.s4 img:nth-child(4){animation-delay:12s}
  @keyframes vue-4{0%{opacity:0}4%,25%{opacity:1}29%,100%{opacity:0}}
  .reel .sequence img:first-child{opacity:0}
}
