/* 1. Reset des marges pour éviter le blanc */
.scroll-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  overflow: hidden;
  background: transparent;
  line-height: 0;
}

/* 2. Le container qui défile */
.scrolling-container {
  display: flex;
  width: max-content;
  animation: scroll 45s linear infinite;
  will-change: transform;
}

/* 3. Les groupes d'images */
.scroll-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.scroll-group img {
  height: 350px;
  width: auto;
  margin-right: 20px;
  display: block;
  flex-shrink: 0;
  pointer-events: none;
}

/* 4. Animation infinie */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 5. Mobile */
@media (max-width: 479px) {
  .scroll-group img {
    height: 250px;
    margin-right: 10px;
  }
  .scrolling-container {
    animation-duration: 35s;
  }
}
