/* Container principal */
.team-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Grille responsive : 3 colonnes sur PC, 1 sur mobile */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Style de la carte individuelle */
.team-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eeeeee;
}

/* Effet au survol (Donne un côté interactif) */
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Zone Photo */
.card-image {
  width: 100%;
  height: 250px;
  background-color: #f5f5f5;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Évite de déformer les visages */
  object-position: center;
}

/* Zone Informations */
.card-info {
  padding: 20px;
  text-align: center;
}

.card-info h3 {
  margin: 0 0 8px 0;
  color: #1a1a1a;
  font-size: 1.3rem;
  font-weight: 700;
}

/* Discipline / Rôle */
.card-info .role {
  display: block;
  color: #4B3AD6; /* Rouge dynamique, souvent la couleur des arts martiaux */
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

/* Grade (Ceinture) */
.card-info .grade {
  display: inline-block;
  background: #f0f0f0;
  color: #555555;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 15px;
}

/* Petite description */
.card-info .bio {
  color: #666666;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}