.volpe-team {
  width: 100%;
}
.volpe-team * {
  box-sizing: border-box;
}

.volpe-team__header {
  margin-bottom: 32px;
}
.volpe-team__title {
  color: var(--volpe-blue);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 8px;
}
.volpe-team__subtitle {
  color: var(--volpe-blue);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.volpe-team__grid {
  display: grid;
  grid-template-columns: repeat(var(--vt-cols, 4), 1fr);
  gap: 24px;
}

.volpe-team-card {
  position: relative; /* requis pour le lien "étiré" futur */
  background: var(--volpe-blue);
  /* border: 1px solid var(--volpe-border-color); */
  border-radius: 4px;
  /* overflow: hidden; */
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
  border-radius: 15px;
}
.volpe-team-card:hover {
  box-shadow: 0 10px 24px rgba(28, 35, 64, 0.1);
  transform: translateY(-2px);
}

/* --- Photo : uniformise toutes les tailles (cadre fixe + recadrage) --- */
.volpe-team-card__photo {
  position: relative;
  width: 100%;
  padding-top: 100%; /* ratio 1:1 — passe à 125% pour du portrait 4:5 */
  overflow: hidden;
  /* background: var(--volpe-grey); */
}
.volpe-team-card__photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* cadre sur les visages */
  display: block;
  border-radius: 15px;
  margin-top: -1px;
}

.volpe-team-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--volpe-blue);
  border-radius: 15px;
}
.volpe-team-card__name {
  /* color: var(--volpe-blue); */
  color: white;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 4px;
}
.volpe-team-card__role {
  color: var(--volpe-orange);
  font-size: 15px;
  line-height: 1.4;
  margin: 0 0 18px;
}
.volpe-team-card__group {
  margin-bottom: 14px;
}
.volpe-team-card__label {
  color: var(--volpe-orange);
  font-size: 14px;
  font-weight: 600;
  padding-bottom: 0 !important;
  margin: 0 0 2px;
}
.volpe-team-card__text {
  /* color: color-mix(in srgb, var(--volpe-blue) 70%, transparent); */
  color: white;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* --- LinkedIn : poussé en bas + au-dessus d'un futur lien de carte --- */
.volpe-team-card__social {
  margin-top: auto;
  padding-top: 16px;
}
.volpe-team-card__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: white;
  border: 1px solid var(--volpe-border-color);
  border-radius: 50%;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
  position: relative;
  z-index: 2; /* reste cliquable si la carte devient cliquable */
}
.volpe-team-card__linkedin:hover {
  color: var(--volpe-orange);
  border-color: var(--volpe-orange);
}
.volpe-team-card__linkedin svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 1024px) {
  .volpe-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .volpe-team__grid {
    grid-template-columns: 1fr;
  }
}
