.team-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
  max-width: 900px;
  margin: 0 auto;
}

.team-kpis {
  width: 100%;
}

.chiffres-cles-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.chiffre-card {
  display: flex;
  width: 200px;
  height: 200px;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  border-radius: 40px;
  background: #DAD4F6;
}

.chiffres-cles-cards .chiffre-card:nth-child(2) h3 {
  margin-bottom: 20px;
}

.chiffre-card h3 {
  color: #4D2AA3;
  text-align: center;
  font-size: 35px;
  font-weight: 700;
}

.chiffre-card p {
  display: flex;
  width: 148px;
  height: 48px;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  color: #4D2AA3;
  text-align: center;
  font-size: 16px;
}

.team-content {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.team-left {
  position: relative;
  flex: 0 0 40%;
  max-width: 300px;
  border-radius: 40px;
  overflow: hidden;
  min-width: 250px;
}

.team-image-wrapper {
  position: relative;
  max-width: 300px;
  border-radius: 40px;
  overflow: hidden;
}

.team-image-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 43.64%,
    rgba(0, 0, 0, 0.8) 99.91%
  );
  pointer-events: none;
  z-index: 1;
  border-radius: 40px;
}

.team-img {
  width: 100%;
  height: 256px;
  display: block;
  border-radius: 40px;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.team-info {
  position: absolute;
  bottom: 10px;
  width: max-content;
  text-align: left;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.team-info h3 {
  font-size: 25px;
  font-weight: 600;
}
.team-info p {
  font-size: 16px;
}

.team-bio {
  flex: 1 1 60%;
  min-width: 300px;
  line-height: 1.6;
}

.team-right {
  align-self: stretch;
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  border-radius: 40px;
  background: var(--FFFFFF, #fff);
  min-width: 300px;
}

.team-right .title {
  display: flex;
  align-items: center;
  gap: 25px;
  align-self: stretch;
}

.team-right .icon-bg {
  display: flex;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  aspect-ratio: 1/1;
  border-radius: 40px;
  background: #EB0042;
}

.team-right h3 {
  font-size: 25px;
  font-weight: 600;
}

.chiffres-cles-cards .chiffre-card:nth-child(2)::before,
.chiffres-cles-cards .chiffre-card:nth-child(3)::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.chiffres-cles-cards .chiffre-card:nth-child(2)::before {
  background-image: url("/wp-content/uploads/2026/06/icon-tour-eiffel.svg");
}

.chiffres-cles-cards .chiffre-card:nth-child(3)::before {
  background-image: url("/wp-content/uploads/2026/06/icon-montagne.svg");
}

@media screen and (max-width: 768px) {
  .chiffres-cles-cards {
    flex-direction: column;
    gap: 20px;
  }

  .team-content {
    flex-direction: column;
    align-items: stretch;
  }

  .team-left {
    margin: 0 auto;
  }
  .team-bio {
    min-width: 0;
  }
}
