/* =========================================================
   MATLO — SECTION PRÉSENTATION / ÉQUIPE
   ========================================================= */

.presentation-team {
  position: relative;
  padding: 4.5rem 2rem 5rem;
  background: var(--color-cream);
  overflow: hidden;
}

.presentation-team-bg {
  position: absolute;
  inset: 0;

  background-image: url("../assets/team/groupe.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;

  opacity: 0.22;

  z-index: 0;
  pointer-events: none;
  background-attachment: fixed;
}

.presentation-team-wrap {
  position: relative;
  z-index: 1;
}

/* HEADER */

.presentation-team-header {
  max-width: 980px;
  margin: 0 auto 3.4rem;
  text-align: center;
}

.presentation-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;

  background: var(--color-teal);
  color: #ffffff;

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.presentation-team-header h2 {
  margin: 0 0 0.75rem;

  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: var(--color-blue);
}

.presentation-team-header p {
  max-width: 820px;
  margin: 0 auto;

  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text-soft);
}

/* CARTES */
.team-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(380px, 520px));
  justify-content: center;
  gap: 3rem;
}

.team-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);

  padding: 3rem 3.2rem 3.2rem;
  text-align: center;
}

.team-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);

  padding: 3rem;
}

.team-portrait {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;

  padding: 10px;
  background: #ffffff;

  border-radius: 50%;

  box-shadow:
    0 8px 20px rgba(18,63,87,.12);
}

.team-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


.team-card h3 {
  margin: 0 0 0.45rem;

  font-family: var(--font-primary);
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--color-blue);
}

.team-role {
  margin: 0 auto 1.2rem;

  max-width: 310px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--color-coral);
}

.team-card p:not(.team-role) {
  margin: 0 0 1rem;
  max-width: none;

  text-align: left;

  font-size: 1rem;
  line-height: 1.7;
}

.team-card p:not(.team-role):last-child {
  margin-bottom: 0;
}
.btn-team {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 1rem;
  padding: 0.8rem 1.2rem;

  background: var(--color-teal);
  color: #ffffff;

  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;

  transition:
    background-color .25s ease,
    transform .25s ease;
}

.btn-team:hover {
  background: var(--color-blue);
  color: #ffffff;
  transform: translateY(-2px);
}
/* RESPONSIVE */

@media screen and (max-width: 820px) {
  .presentation-team {
    padding: 3.5rem 1.2rem 4rem;
  }

  .team-cards {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .team-card {
    padding: 2rem 1.5rem;
  }

  .team-portrait {
    width: 165px;
    height: 165px;
  }
}