.info {
  background: #e3f2fd;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 2rem;
  height: 130px;
  display: flex;
}


/* Responsive propre */

.contCards {
  display: grid;
  grid-template-columns: repeat(3, 220px);
  justify-content: center;
  gap: 30px;
}

.card {
  width: 220px;
  height: 220px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 15px;
  border-radius: 12px;

  background: #eae2d3;

  text-align: center;

  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}

.card img {
  width: 100%;
  object-fit: contain;
}

.card:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.6),
    0 0 12px rgba(120, 160, 255, 0.25);
}

.card-label {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.2;
  display: none;
}

.cadreSup {
  background-color: #FEFCEF;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 2fr 5fr;
  max-width: 75%;
  width: 100%;
  margin: 1rem auto;
  max-height: 260px;
  border: 6px solid red;
  padding: 0.5rem 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border-radius: 20px;
}

.cadreSup:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 12px 25px rgba(0, 0, 0, 0.5),
    0 0 12px rgba(120, 160, 255, 0.25);
}

.textSup {
  color: brown;
  padding: 14px 18px;
  width: 100%;
  font-family: sans-serif;
  font-size: 1.2rem;
}

.textSup h2 {
  margin-top: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 32px;
  font-weight: 600;
  color: #000000;

}

.textSup p {
  font-size: 20px;
  text-align: justify;
}

.imgSup {
  max-width: 100%;
  height: auto;
}

/* modales */
.hover-modal {
  position: fixed;
  width: 240px;
  z-index: 1000;
  background: rgba(15, 18, 35, 0.96);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid var(--cdi-blue);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(120, 160, 255, 0.2);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.hover-modal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* titre */
.hover-modal h3 {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: #ffc107;
}

/* flèche */
.hover-modal::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  /* ← centré sous la card */
  transform: translateX(-50%);
  /* ← au lieu de left: 18px fixe */
  border: 6px solid transparent;
  border-bottom-color: rgba(15, 18, 35, 0.96);
}

/* MOBILE : désactiver hover visuel */
@media (hover: none) {
  .card:hover {
    transform: none;
    box-shadow: none;
  }
}