/* ==== Saison ============================================================ */
.season { max-width: 1240px; }
.season-head .title-hero { margin-top: 14px; font-size: clamp(46px, 5.4vw, 100px); }
.season-head .lead { margin-top: 22px; }

/* 12 duels, 12 segments */
.season-progress { margin-top: clamp(48px, 8vh, 96px); }
.season-steps { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.season-step { height: 6px; border-radius: 3px; background: var(--bg-sunken); }
.season-step.is-done { background: var(--text); }
.season-step.is-now { background: linear-gradient(90deg, var(--team-b) 50%, var(--bg-sunken) 50%); }
.season-progress__label { display: flex; justify-content: space-between; margin-top: 16px; font-size: var(--fs-sm); color: var(--text-2); }
.season-progress__label b { color: var(--text); font-weight: 600; }

/* Le tableau */
.season-table { margin-top: clamp(40px, 6vh, 72px); }
.season-cols, .season-line {
  display: grid; grid-template-columns: 64px 44px 1fr auto 96px; align-items: center; gap: 24px;
}
.season-cols { padding: 0 20px 14px; font-size: var(--fs-xs); font-weight: 600; color: var(--text-3); }
.season-cols span:last-child { text-align: right; }
.season-table ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.season-row { border-bottom: 1px solid var(--line); }
.season-line { width: 100%; min-height: 84px; padding: 10px 20px; border-radius: 20px; text-align: left; transition: background 200ms var(--ease); }
.season-line:hover { background: var(--bg-alt); }
.season-row.is-me .season-line { background: var(--team-a-soft); }
.season-rank { font-size: clamp(28px, 2.2vw, 40px); color: var(--text-3); }
.season-row:nth-child(-n+3) .season-rank { color: var(--text); }
.season-name { display: flex; align-items: center; gap: 12px; font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.season-name em {
  font-style: normal; font-size: var(--fs-xs); font-weight: 600; color: var(--team-a);
  padding: 3px 10px; border-radius: 999px; background: var(--bg); letter-spacing: 0;
}
.season-points { font-size: clamp(32px, 2.6vw, 48px); text-align: right; }

/* La forme : une pastille fine par duel */
.season-form { display: flex; gap: 10px; }
/* une pastille par duel : V gagné, D perdu, orange = en cours, anneau or = panache */
.season-dot {
  position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: 0;
  box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--text-3);
}
.season-dot.is-win { background: var(--win); color: #fff; box-shadow: none; }
.season-dot.is-loss { background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--text-3); color: var(--text-2); }
.season-dot.is-live { background: var(--team-b); box-shadow: none; }
.season-dot.is-panache { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold); }
.season-dot--lg { width: 44px; height: 44px; font-size: 17px; }
.season-row.is-me .season-dot.is-live { animation: pulse-dot 2s var(--ease) infinite; }
.season-dot:hover::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); z-index: 5;
  padding: 8px 14px; border-radius: 12px; background: #1D1D1F; color: #fff; white-space: nowrap;
  font-size: var(--fs-xs); font-weight: 500; box-shadow: var(--shadow-lg);
}

/* Historique déplié */
.season-history { padding: 8px 20px 26px 152px; display: grid; gap: 2px; }
.season-duel {
  display: grid; grid-template-columns: 170px 1fr 170px auto 50px; align-items: center; gap: 20px;
  min-height: 56px; font-size: var(--fs-sm);
}
.season-duel__n { display: flex; flex-direction: column; font-weight: 600; }
.season-duel__n small { font-weight: 400; color: var(--text-3); font-size: var(--fs-xs); }
.season-duel__op { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.season-duel__score { color: var(--text-2); }
.season-duel__score i { font-style: normal; color: var(--text-3); margin: 0 4px; }
.season-duel__res { display: flex; gap: 6px; }
.season-duel__pts { text-align: right; font-weight: 600; }
.season-tag { font-style: normal; font-size: var(--fs-xs); font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--bg-alt); color: var(--text-2); }
.season-tag--win { color: var(--win); background: rgba(31, 157, 99, 0.10); }
.season-tag--live { color: var(--team-b); background: var(--team-b-soft); }
.season-tag--gold { color: var(--gold); background: var(--gold-soft); }
.season-open-enter-active { transition: opacity 400ms var(--ease), transform 500ms var(--ease); }
.season-open-enter-from { opacity: 0; transform: translateY(-8px); }

.season-live-note { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 20px; font-size: var(--fs-sm); color: var(--text-2); }
.season-live-note .season-dot { width: 12px; height: 12px; }

/* la règle des points : trois pastilles, juste au-dessus du tableau */
.season-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(56px, 9vh, 110px); }
.season-rulecard { display: flex; align-items: center; gap: 18px; padding: 24px 28px; border-radius: var(--radius); background: var(--bg-alt); }
.season-rulecard__txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.season-rulecard__txt b { font-size: var(--fs-md); font-weight: 700; letter-spacing: -0.02em; }
.season-rulecard__txt small { font-size: var(--fs-sm); color: var(--text-2); }
.season-rulecard__pts { font-size: clamp(36px, 3vw, 56px); display: flex; align-items: baseline; gap: 6px; }
.season-rulecard__pts small { font-size: var(--fs-sm); font-weight: 600; color: var(--text-3); letter-spacing: 0; }

@media (max-width: 900px) {
  .season-cols { display: none; }
  .season-line { grid-template-columns: 36px 36px 1fr 56px; gap: 12px; }
  .season-form { display: none; }
  .season-rules { grid-template-columns: 1fr; }
  .season-history { padding-left: 20px; }
  .season-duel { grid-template-columns: 1fr auto; }
  .season-duel__score, .season-duel__n small { display: none; }
}
