/* ═══════════════════════════════════════════════════
   SFP-Europa — Team grid (style-team.css)
   ═══════════════════════════════════════════════════ */

.team-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

/* ── Groupe header ── */
.team-group-header {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 600;
  color: var(--blue-deep);
  padding: .6rem 1rem;
  background: var(--blue-xlight);
  border-left: 3px solid var(--blue-deep);
  border-radius: 0 6px 6px 0;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* ── Grille ── */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

/* ── Card ── */
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  width: 88px;
  text-align: center;
}

/* ── Avatar ── */
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--blue-xlight);
  flex-shrink: 0;
  position: relative;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.team-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--blue-light);
  border-radius: 50%;
  text-transform: uppercase;
}

/* ── Nom ── */
.team-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  line-height: 1.25;
}
.team-last {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: .03em;
  word-break: break-word;
}
.team-first {
  font-size: .72rem;
  font-weight: 400;
  color: var(--text-mid);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .team-grid { gap: 1rem 1.5rem; }
  .team-card { width: 72px; }
  .team-avatar { width: 64px; height: 64px; }
  .team-last, .team-first { font-size: .68rem; }
}
