/* Accueil — saisons (en cours, précédente, archive) */

.season-story {
  overflow: hidden;
  background:
    radial-gradient(1200px 420px at 8% -10%, rgba(222, 37, 57, 0.08), transparent 60%),
    var(--white);
}

.season-story .section-header-center {
  margin-bottom: 36px;
}

.season-duo {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
  align-items: stretch;
}

.season-card {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 420px;
  border-radius: 22px;
  color: #fff;
  text-decoration: none;
}

.season-card-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 28px 26px;
  border-radius: inherit;
  overflow: hidden;
  transform: translateZ(0);
  transform-style: preserve-3d;
}

.season-card.is-static {
  cursor: default;
  pointer-events: none;
}

.season-card.is-static .season-card-cta {
  pointer-events: none;
}

.season-card-media,
.season-card-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.season-card-media {
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
}

.season-card-shade {
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.15) 0%, rgba(8, 8, 10, 0.35) 42%, rgba(8, 8, 10, 0.92) 100%);
}

.season-card.is-current .season-card-shade {
  background:
    linear-gradient(180deg, rgba(222, 37, 57, 0.18) 0%, rgba(8, 8, 10, 0.28) 40%, rgba(8, 8, 10, 0.94) 100%);
}

.season-card-year {
  position: absolute;
  top: 18px;
  right: 8px;
  z-index: 1;
  display: flex;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(4.2rem, 9vw, 7.4rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
  user-select: none;
}

.season-card-year span {
  display: inline-block;
}

.season-card-body {
  position: relative;
  z-index: 2;
}

.season-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.season-card-kicker .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b4e;
  box-shadow: 0 0 0 0 rgba(255, 59, 78, 0.7);
  animation: seasonPulse 1.6s ease-out infinite;
}

.season-card.is-past .season-card-kicker {
  background: rgba(46, 125, 50, 0.88);
}

.season-card-body h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.1rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 0.92;
  margin: 0 0 10px;
}

.season-card-body p {
  max-width: 34ch;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.84);
}

.season-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-bottom: 18px;
}

.season-card-stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.season-card-stats span {
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  opacity: 0.75;
}

.season-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 13px;
}

.season-card-cta i {
  font-style: normal;
  transition: transform 0.3s ease;
}

.season-card:hover .season-card-cta i {
  transform: translateX(5px);
}

.season-archive {
  margin-top: 42px;
}

.season-archive-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.season-archive-head p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--red, #de2539);
}

.season-archive-head span {
  font-size: 13px;
  color: #6b6b6b;
}

.season-rail-wrap {
  position: relative;
}

.season-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
}

.season-rail-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8px;
  right: 8px;
  height: 3px;
  background: #ececec;
  border-radius: 99px;
}

.season-rail-line {
  position: absolute;
  top: 0;
  left: 8px;
  height: 3px;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #2e7d32, #de2539 55%, #c4c4c4);
  transform-origin: left center;
  z-index: 1;
}

.season-rail li {
  margin: 0;
}

.season-rail-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px 16px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  min-height: 132px;
}

.season-rail-item.is-static {
  cursor: default;
}

.season-rail-item::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #cfcfcf;
}

.season-rail-item.is-past::before { border-color: #2e7d32; }
.season-rail-item.is-current::before {
  border-color: #de2539;
  box-shadow: 0 0 0 6px rgba(222, 37, 57, 0.16);
}
.season-rail-item.is-next::before { border-color: #d0d0d0; }

.season-rail-item.is-current {
  border-color: #de2539;
  box-shadow: 0 12px 28px rgba(222, 37, 57, 0.12);
}

.season-rail-item.is-next {
  background: repeating-linear-gradient(-45deg, #fafafa, #fafafa 8px, #f3f3f3 8px, #f3f3f3 16px);
  opacity: 0.9;
}

.season-rail-status {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #6b6b6b;
}

.season-rail-item.is-current .season-rail-status { color: #de2539; }
.season-rail-item.is-past .season-rail-status { color: #2e7d32; }

.season-rail-item strong {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1;
}

.season-rail-item em {
  font-style: normal;
  font-size: 13px;
  color: #555;
}

.previous-edition .section-header-center {
  margin-bottom: 28px;
}

.badge-soon {
  display: inline-flex;
  align-items: center;
  background: #f1f1f1;
  color: #555;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 10px;
}

@keyframes seasonPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 78, 0.65); }
  70% { box-shadow: 0 0 0 10px rgba(255, 59, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 78, 0); }
}

@media (max-width: 900px) {
  .season-duo,
  .season-rail {
    grid-template-columns: 1fr;
  }

  .season-card {
    min-height: 340px;
  }

  .season-rail-item::before {
    display: none;
  }

  .season-rail-wrap::before,
  .season-rail-line {
    display: none;
  }

  .season-archive-head {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .season-card-kicker .pulse,
  .badge-new {
    animation: none;
  }
}

/* Homepage simplified layout (éditorial 2026) */
.home-format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0 22px;
}
.home-format-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 22px 24px;
}
.home-format-step {
  display: inline-block;
  font-family: var(--head, 'Barlow Condensed', sans-serif);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C0182D;
  font-weight: 700;
  margin-bottom: 8px;
}
.home-format-card h3 {
  margin: 0 0 6px;
  font-family: var(--head, 'Barlow Condensed', sans-serif);
  font-size: 28px;
  text-transform: uppercase;
}
.home-format-card p { margin: 0 0 10px; color: #5C5C5C; }
.home-format-card strong { display: block; font-size: 15px; }
.home-format-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.home-format-stats div {
  text-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 16px 10px;
  border: 1px solid rgba(0,0,0,.06);
}
.home-format-stats strong {
  display: block;
  font-family: var(--head, 'Barlow Condensed', sans-serif);
  font-size: 32px;
  line-height: 1;
}
.home-format-stats span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #5C5C5C;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.home-archive-link { text-align: center; margin-top: 22px; }
.home-archive-link a { color: #C0182D; font-weight: 600; text-decoration: none; }
.home-archive-link a:hover { text-decoration: underline; }
.home-experience { padding: 72px 0; }
.home-experience-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}
.home-experience-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.home-experience-visual {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.home-experience-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 800px) {
  .home-format-grid,
  .home-format-stats,
  .home-experience-inner { grid-template-columns: 1fr; }
}

/* App Coming Soon */
.home-app {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background:
    radial-gradient(ellipse 80% 70% at 85% 40%, rgba(192, 24, 45, 0.18), transparent 55%),
    linear-gradient(135deg, #1a0a0e 0%, #3a1018 42%, #650d20 100%);
  color: #fff;
}
.home-app-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/img/app/sjc-app-phones.jpg');
  background-size: cover;
  background-position: center right;
  opacity: .12;
  pointer-events: none;
}
.home-app-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.home-app-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home-app-soon::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb020;
  box-shadow: 0 0 0 0 rgba(255, 176, 32, 0.55);
  animation: homeAppPulse 1.8s ease-out infinite;
}
@keyframes homeAppPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 176, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0); }
}
.home-app-copy h2 {
  margin: 0 0 14px;
  font-family: var(--head, 'Barlow Condensed', sans-serif);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.home-app-lead {
  margin: 0 0 26px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.55;
}
.home-app-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.home-app-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  cursor: default;
  user-select: none;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.home-app-store:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.35);
}
.home-app-store small {
  display: block;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .72;
}
.home-app-store strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}
.home-app-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
}
.home-app-phones {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.home-phone {
  position: absolute;
  width: min(220px, 42vw);
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.45));
}
.home-phone-ios {
  left: 8%;
  bottom: 12px;
  transform: rotate(-8deg);
  z-index: 2;
  animation: homePhoneFloat 5.5s ease-in-out infinite;
}
.home-phone-android {
  right: 6%;
  bottom: 0;
  transform: rotate(8deg);
  z-index: 1;
  animation: homePhoneFloat 6.2s ease-in-out infinite reverse;
}
@keyframes homePhoneFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
.home-phone-frame {
  position: relative;
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a2e, #0c0c0e 55%, #1a1a1c);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.home-phone-android .home-phone-frame {
  border-radius: 28px;
  background: linear-gradient(160deg, #33363c, #121418 55%, #1c1f24);
}
.home-phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 9 / 19.2;
  background: #12080b;
}
.home-phone-android .home-phone-screen { border-radius: 20px; }
.home-phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 3;
  width: 38%;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 12px;
  background: #0a0a0a;
}
.home-phone-punch {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 10px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.home-phone-ui {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 34px 12px 14px;
}
.home-phone-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 10px;
  opacity: .7;
}
.home-phone-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.home-phone-brand img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}
.home-phone-brand strong {
  flex: 1;
  font-family: var(--head, 'Barlow Condensed', sans-serif);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.home-phone-livepill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #c0182d;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-style: normal;
}
.home-phone-livepill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: homeAppPulse 1.4s ease-out infinite;
}
.home-phone-livepill.is-soon {
  background: #ffb020;
  color: #1a0a0e;
}
.home-phone-livepill.is-soon i { background: #1a0a0e; }
.home-phone-hero {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 14px;
  min-height: 150px;
  background: #0a0507;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.home-phone-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-phone-hud {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.home-phone-hud > span:last-child {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.home-phone-score {
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.home-phone-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.home-phone-match span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  opacity: .85;
}
.home-phone-match b {
  font-family: var(--head, 'Barlow Condensed', sans-serif);
  font-size: 26px;
  line-height: 1;
}
.home-phone-score > span {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #c0182d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}
.home-phone-score.is-alt > span { background: #ffb020; color: #1a0a0e; }
.home-phone-score.is-alt > b {
  display: block;
  font-family: var(--head, 'Barlow Condensed', sans-serif);
  font-size: 24px;
  line-height: 1;
}
.home-phone-score em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  opacity: .7;
}
@media (max-width: 900px) {
  .home-app { padding: 64px 0 72px; }
  .home-app-inner { grid-template-columns: 1fr; gap: 36px; }
  .home-app-lead { max-width: none; }
  .home-app-phones {
    min-height: 360px;
    margin-top: 8px;
  }
  .home-phone { width: min(190px, 44vw); }
}
@media (prefers-reduced-motion: reduce) {
  .home-app-soon::before,
  .home-phone-ios,
  .home-phone-android { animation: none; }
}
