.team-section {
  width: 80%;
}

.archive-membre {
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  gap: 3rem;
}

.team-section h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: start;
  width: 17.875rem;
  min-height: 25.1875rem;
  max-height: fit-content;
  gap: 1.5rem;
  padding: 1.8125rem 2.125rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 21.6px 0 rgba(0, 0, 0, 0.1);
}

.member-card img {
  border-radius: 50%;
  width: 9.5rem;
  height: 9.5rem;
  object-fit: cover;
}

.member-name span {
  text-transform: uppercase;
}

.member-poste {
  max-width: 12rem;
}

.member-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.member-separator {
  border: none;
  width: 6.5rem;
  height: 2px;
  background-color: #133273;
  margin: 0;
}

.team-accordion {
  margin: 50px 0;
}

.accordion-content {
  height: 0;
  overflow: hidden;
  transition: height 300ms ease-in-out;
}

.accordion-inner {
  display: flex;
  justify-content: center;
  padding: 30px;
  margin-top: 30px;
}

.accordion-toggle {
  text-align: center;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.accordion-icon {
  margin-left: 0.75rem;
  transition: transform 300ms ease-in-out;
}

.accordion-icon.rotate {
  transform: rotate(180deg);
}
