/* Arc fixe — le scroll change seulement le mockup mis en avant */

.hero-phones--gallery .hero-phones__stage {
  cursor: default;
}

.hero-phones--gallery .hero-phones__rail-thumb {
  transition: transform 0.44s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-phones--gallery .hero-phone {
  left: auto;
  top: auto;
  right: auto;
  margin: 0;
  width: 25%;
  transform-origin: 50% 62%;
  transition:
    transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease;
  opacity: 1;
  background: #ffffff;
  border-color: #ffffff;
  filter: brightness(0.9) saturate(0.88);
}

.hero-phones--gallery .hero-phone.is-featured {
  z-index: 12;
  opacity: 1;
  filter: none;
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 15, 15, 0.22);
}

.hero-phones--gallery .hero-phone.is-featured img {
  opacity: 1;
}

.hero-phones--gallery .hero-phone:nth-child(1) {
  left: -1%;
  top: 24%;
  z-index: 1;
  transform: rotate(-15deg) scale(0.86);
}

.hero-phones--gallery .hero-phone:nth-child(2) {
  left: 7%;
  top: 12%;
  z-index: 2;
  transform: rotate(-10deg) scale(0.9);
}

.hero-phones--gallery .hero-phone:nth-child(3) {
  left: 19%;
  top: 5%;
  z-index: 3;
  transform: rotate(-5deg) scale(0.94);
}

.hero-phones--gallery .hero-phone:nth-child(4) {
  left: 50%;
  top: 0;
  width: 28%;
  z-index: 4;
  transform: translateX(-50%) rotate(0deg) scale(0.96);
}

.hero-phones--gallery .hero-phone:nth-child(5) {
  right: 19%;
  top: 5%;
  z-index: 3;
  transform: rotate(5deg) scale(0.94);
}

.hero-phones--gallery .hero-phone:nth-child(6) {
  right: 7%;
  top: 12%;
  z-index: 2;
  transform: rotate(10deg) scale(0.9);
}

.hero-phones--gallery .hero-phone:nth-child(7) {
  right: -1%;
  top: 24%;
  z-index: 1;
  transform: rotate(15deg) scale(0.86);
}

.hero-phones--gallery .hero-phone:nth-child(8) {
  right: -2%;
  top: 28%;
  width: 22%;
  z-index: 1;
  transform: rotate(17deg) scale(0.84);
}

.hero-phones--gallery .hero-phone:nth-child(1).is-featured {
  transform: rotate(-15deg) scale(1.05);
}

.hero-phones--gallery .hero-phone:nth-child(2).is-featured {
  transform: rotate(-10deg) scale(1.06);
}

.hero-phones--gallery .hero-phone:nth-child(3).is-featured {
  transform: rotate(-5deg) scale(1.07);
}

.hero-phones--gallery .hero-phone:nth-child(4).is-featured {
  transform: translateX(-50%) rotate(0deg) scale(1.1);
}

.hero-phones--gallery .hero-phone:nth-child(5).is-featured {
  transform: rotate(5deg) scale(1.07);
}

.hero-phones--gallery .hero-phone:nth-child(6).is-featured {
  transform: rotate(10deg) scale(1.06);
}

.hero-phones--gallery .hero-phone:nth-child(7).is-featured {
  transform: rotate(15deg) scale(1.05);
}

.hero-phones--gallery .hero-phone:nth-child(8).is-featured {
  transform: rotate(17deg) scale(1.04);
}

@media (min-width: 768px) {
  .hero-phones--gallery .hero-phone:nth-child(4) {
    width: 30%;
  }

  .hero-phones--gallery .hero-phone:nth-child(4).is-featured {
    transform: translateX(-50%) rotate(0deg) scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-phones--gallery .hero-phone {
    transition: none !important;
  }
}
