.team__text-header {
  margin-bottom: 3rem;
  color: var(--clr-title);
  font-family: var(--ff-title);
  font-size: var(--fs-40);
  font-weight: 600;
  display: flex;
  justify-content: center;
}

.team__text {
  display: grid;
  gap: 3rem;
  margin-bottom: 2rem;
}
.team__text-wrapper {
  /* background: linear-gradient(#fff2, transparent); */
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  /* border-radius: var(--radius-lg); */
  /* box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25); */
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team__text-content {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.team__text-statement {
  margin-top: 3rem;
  font-family: var(--ff-base);
  font-size: var(--fs-28);
  font-weight: var(--fw-regular);
  line-height: 1.5;
  text-align: center;
  color: #9ab4cc;
  letter-spacing: -0.3px;
}

.team__text-statement span {
  color: var(--clr-alice-blue);
}

.team__photo {
  width: 1024px;
}

/* ==========================================================================
    Gérants — Photos
  ========================================================================== */
.team__img-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 760px;
  margin: 0 auto;
}

.team__img {
  background: linear-gradient(#fff2, transparent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
  text-align: center;
  opacity: 0;
  translate: 0 40px;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth),
    border-color var(--transition-smooth);
}

.team__img-wrapper.is-visible .team__img {
  opacity: 1;
  translate: 0 0;
}

.team__img-wrapper.is-visible .team__img:nth-child(2) {
  transition-delay: 0.15s, 0.15s, 0s, 0s, 0s;
}

.team__img-frame {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.team__img-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.team__img h3 {
  font-family: var(--ff-title);
  font-size: var(--fs-24);
  font-weight: 600;
  color: var(--clr-alice-blue);
}

.team__img p {
  margin-top: 0.35rem;
  font-family: var(--ff-base);
  font-size: var(--fs-14);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-blue-bell);
}

@media (hover: hover) and (pointer: fine) {
  .team__img:hover {
    transform: translateY(-6px);
    border-color: rgba(71, 149, 209, 0.45);
    box-shadow: 0 25px 45px rgba(71, 149, 209, 0.25);
  }

  .team__img:hover .team__img-frame img {
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  .team__img-wrapper {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team__img {
    opacity: 1;
    translate: none;
    transition: none;
  }

  .team__img-frame img {
    transition: none;
  }
}

/* ========================================================================
  ====== MEDIA BREAKPOINT =================================================
  ========================================================================= */
/* --------------------------------------------- */
/* ---- BREAKPOINT 768 ------------------------- */
/* --------------------------------------------- */
@media screen and (max-width: 768px) {
  .team__text-wrapper {
    padding: 1rem;
  }
}

/* --------------------------------------------- */
/* ---- BREAKPOINT 540 ------------------------- */
/* --------------------------------------------- */
@media screen and (max-width: 540px) {
  .team__text-statement {
    font-size: var(--fs-24);
  }

  .team__text-wrapper {
    padding: 0;
  }
}