/* Slider logos infini */
/* Animation slide logos (mobile/tablette) */
.logo-track {
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}
.accordion-logo {
  filter: brightness(0) invert(1);
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* -------- Desktop Only -------- */
@media (min-width: 1024px) {
  /* Désactiver l'animation */
  .logo-track {
    animation: none !important;
    transform: none !important;
    justify-content: center; /* centrer proprement */
  }

  .desktop{
    display: flex !important;
    justify-content: center !important;
  }

  /* Masquer la 2e série pour ne garder que les 5 logos */
  .logo-track > div:nth-child(2) {
    display: none !important;
  }
}


/* Transition accordéons (max-height animé) */
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.brand-jeep { height: 2rem !important; }   /* Jeep un peu plus compact */
.brand-fiat { height: 2rem !important; }

.accordion-panel.open {
  /* la hauteur sera fixée en JS (scrollHeight), pas ici */
}