/* ============================================================
   illus-equipe.css — Carte illustration « Vue d'ensemble équipe »
   Charte PrediPlan · accent teal #12938e
   ============================================================ */

:root {
  --tc:        #12938e;
  --tc-bg:     #f0fdfa;
  --tc-border: #e5e7eb;
}

/* ── Carte ────────────────────────────────────────────────── */

.tc-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, .10), 0 1px 4px rgba(0, 0, 0, .06);
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Arial, sans-serif;
  box-sizing: border-box;
}

/* ── En-tête ─────────────────────────────────────────────── */

.tc-header {
  margin-bottom: 18px;
}

.tc-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 4px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tc-subtitle {
  font-size: 0.78rem;
  color: #6b7280;
  margin: 0;
  font-weight: 500;
}

/* ── Liste membres ───────────────────────────────────────── */

.tc-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}

.tc-member {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  column-gap: 12px;
}

/* Avatar */
.tc-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

/* Partie centrale : nom + barre */
.tc-member-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.tc-member-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-bar-track {
  height: 12px;
  background: #e9ecef;
  border-radius: 99px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.tc-bar-fill {
  height: 12px;
  background: var(--tc);
  border-radius: 99px;
  flex-shrink: 0;
}

/* Valeur horaire */
.tc-member-hours {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tc);
  white-space: nowrap;
  min-width: 36px;
  text-align: right;
}

.tc-member-hours--zero {
  color: #9ca3af;
}

.tc-bar-fill--over {
  background: #ef4444;
  border-radius: 99px;
}

.tc-member-hours--over {
  color: #ef4444;
}

/* ── Séparateur ──────────────────────────────────────────── */

.tc-divider {
  height: 1px;
  background: var(--tc-border);
  margin: 2px 0 16px;
}

/* ── Boîte d'information ─────────────────────────────────── */

.tc-info {
  border: 1.5px solid var(--tc);
  border-radius: 10px;
  padding: 11px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--tc-bg);
}

.tc-info-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tc);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.tc-info-text {
  font-size: 0.78rem;
  color: #374151;
  line-height: 1.5;
  margin: 0;
}

.tc-info-text strong {
  color: var(--tc);
  font-weight: 700;
}

/* ── Responsive mobile ─────────────────────────────────── */
@media (max-width: 520px) {
  .tc-card { padding: 18px; }
  .tc-title { font-size: 1.4rem; }
  .tc-avatar { width: 42px; height: 42px; }
  .tc-member { grid-template-columns: 42px 1fr auto; }
}
