/* Nettoyage de base & suppression des marges globales */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  background-color: transparent;
}

/* Conteneur principal resserré */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Titre avec marges haut/bas réduites */
h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 15px; /* Réduit pour coller un peu plus aux cartes */
  font-weight: 400;
  color: #333;
}

/* Section principale : suppression des marges et paddings par défaut */
.section, 
.section-default, 
.mt-none, 
.mb-none {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Grille Flexbox autonome */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

/* Alignement responsive */
.col-sm-6, .col-md-4, .col-lg-3 {
  padding-left: 10px;
  padding-right: 10px;
  flex: 0 0 50%;
  max-width: 50%;
}

@media (min-width: 768px) {
  .col-sm-6, .col-md-4, .col-lg-3 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (min-width: 992px) {
  .col-sm-6, .col-md-4, .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* Conteneur de chaque logo (marge basse réduite à 10px) */
.square-holder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border: 1px solid #cecece;
  margin-bottom: 10px; /* Réduit de 20px à 10px pour resserrer le bas */
  background-color: #ffffff;
  height: 130px; /* Légèrement ajusté */
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.square-holder:hover {
  border-color: #b0b0b0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Affichage des logos en Couleurs d'Origine */
.square-holder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.3s ease;
  will-change: transform;
  transform: translateZ(0);
}

/* Effet au survol */
.square-holder:hover img {
  transform: scale(1.06);
}