/* =====================================================
   EQUIPE
   Cartes de l’équipe de direction
   ===================================================== */

/* ══════════════════════════════════════════════════════════
   ÉQUIPE / TEAM
══════════════════════════════════════════════════════════ */
#equipe { background: var(--off-white); }

/* Featured leader card (president, vice-president…) */
.team-featured {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.team-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--orange) 100%);
}

/* Portrait */
.team-photo-wrap {
  position: relative;
}
.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: block;
}
.team-role-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 30px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(21,101,192,0.35);
}

/* Bio content */
.team-bio { padding-top: 4px; }
.team-name {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.15;
}
.team-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.team-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 2px;
  margin-bottom: 20px;
}
.team-desc {
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.82;
  margin-bottom: 16px;
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 22px;
}
.team-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.team-highlights {
  list-style: none;
  margin-top: 4px;
}
.team-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.65;
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-border);
}
.team-highlights li:last-child { border-bottom: none; }
.team-hl-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Regular member cards (grid) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.member-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.member-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.member-body {
  padding: 20px;
}
.member-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 3px;
}
.member-role {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.member-desc {
  font-size: 0.82rem;
  color: var(--gray-text);
  line-height: 1.65;
}

/* Responsive team */
@media (max-width: 900px) {
  .team-featured {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 28px 22px;
  }
  .team-photo-wrap { max-width: 300px; margin: 0 auto; }
  .team-bio { padding-top: 20px; }
}
@media (max-width: 600px) {
  .team-featured { padding: 22px 16px; }
  .team-photo-wrap { max-width: 100%; }
  .team-grid { grid-template-columns: 1fr; }
}
