@charset "utf-8";

/* ==========================================================================
   ARGENTEUIL FUTSAL — le tableau de salle
   Système visuel : le site est l'afficheur vissé au mur du gymnase.
   Chaque page en est un mode d'affichage.
   ========================================================================== */

/* ------------------------------------------------------- 0. Les polices */

/* Archivo et Martian Mono sont servies depuis ce site, pas depuis Google :
   chaque visite n'envoie plus l'adresse IP du visiteur à un serveur tiers.
   Les deux polices sont sous licence SIL Open Font License 1.1 — voir
   fonts/OFL-Archivo.txt et fonts/OFL-MartianMono.txt. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Martian Mono";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url("../fonts/martian-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Martian Mono";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url("../fonts/martian-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------- 1. Socle */

:root {
  /* Le hall, la nuit */
  --hall: #07090c;
  --hall-2: #0b0e13;
  --hall-3: #10141a;

  /* Le boîtier */
  --housing: #14171c;
  --housing-hi: #2a3038;
  --housing-lo: #05070a;
  --face: #090a0d;

  /* Les segments */
  --amber: #ffa02e;
  --amber-soft: #ffc978;
  --amber-off: #45280b;
  --green: #3fd07a;
  --green-off: #103522;
  --red: #e8402a;
  --red-off: #3d130e;

  /* L'acier, le fil */
  --steel: #c7ccd4;
  --steel-2: #8f97a3;
  --steel-3: #545c68;   /* traits et bordures seulement */
  --dim: #7f8794;      /* texte faible : 5,4:1 sur le fond du hall */
  --line: #1e232b;
  --line-2: #2b323c;
  --line-3: #5f6773;    /* contour d'un champ de saisie : 3,3:1 sur la face */
  --paper: #eef1f4;

  --shell: min(1360px, 100% - 3rem);
  --rail: 3.25rem;

  --f-sign: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-tech: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* Un afficheur ne rebondit pas : ses pièces décélèrent. La masse promise
     par le contrat de direction vit dans le dépassement amorti des compteurs
     JavaScript, pas dans un ressort appliqué à chaque entrée. */
  --ease-settle: cubic-bezier(0.19, 1, 0.22, 1);

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Les ancres ne doivent pas passer sous le rail collant */
  scroll-padding-top: calc(var(--rail) + 1.2rem);
}

body {
  margin: 0;
  background: #07090c;
  background: var(--hall);
  color: #eef1f4;
  color: var(--paper);
  font-family: var(--f-sign);
  font-variation-settings: "wdth" 100, "wght" 400;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* La salle : une lueur haute, comme les projecteurs de plafond, et le sol
   qui s'assombrit. Construit en dégradés, jamais en calques de gris. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 78% at 50% -18%, #1a212b 0%, #0c1015 42%, var(--hall) 74%),
    var(--hall);
}

/* Le grain du hall — une trame, pas une opacité */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

/* Sans cette règle, tout élément à qui le CSS donne un display:flex ou
   display:grid ignore l'attribut hidden : les filtres du calendrier et l'état
   hors saison le posent par JavaScript et rien ne disparaissait. */
[hidden] { display: none !important; }

a { color: inherit; }

::selection { background: var(--amber); color: #140b00; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

input, textarea, select, button { font: inherit; color: inherit; }
input, textarea { caret-color: var(--amber); }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--hall-2); }
::-webkit-scrollbar-thumb {
  background: var(--housing-hi);
  border: 3px solid var(--hall-2);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--steel-3); }
* { scrollbar-color: var(--housing-hi) var(--hall-2); scrollbar-width: thin; }

.shell { width: var(--shell); margin-inline: auto; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  text-transform: none;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--amber); color: #140b00; padding: 0.6rem 1rem;
  font: 600 0.8rem/1 var(--f-sign); letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 1rem; }

/* --------------------------------------------------- 2. Voix typographique */

h1, h2, h3, h4 {
  margin: 0;
  font-variation-settings: "wdth" 112, "wght" 800;
  letter-spacing: -0.022em;
  line-height: 0.95;
  /* Un mot long (« intellectuelle ») ne doit jamais faire déborder l'écran :
     on le coupe avec un trait d'union, et en dernier recours n'importe où. */
  hyphens: auto;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 8vw, 5.5rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 2.1vw, 1.6rem); font-variation-settings: "wdth" 105, "wght" 750; }
h4 { font-size: 1rem; font-variation-settings: "wdth" 100, "wght" 700; letter-spacing: 0.01em; }

p { margin: 0 0 1.1em; max-width: 68ch; }
.lede {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  line-height: 1.5;
  color: #d5dae1;
  max-width: 60ch;
}

/* Étiquettes techniques : de la mesure, jamais un costume */
.tech {
  font-family: var(--f-tech);
  font-size: 0.7rem;
  font-variation-settings: "wdth" 87.5, "wght" 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-2);
  line-height: 1.45;
}
.tech--amber { color: var(--amber); }
.tech--steel { color: var(--steel); }

/* Les lignes longues — l'heure, le gymnase, la journée — portent
   l'information que le visiteur est venu chercher. Cinquante caractères en
   capitales espacées se déchiffrent au lieu de se lire : celles-là gardent le
   caractère technique mais reprennent la casse normale. */
.tech--long {
  text-transform: none;
  letter-spacing: 0.015em;
  font-size: 0.78rem;
  font-variation-settings: "wdth" 100, "wght" 450;
  line-height: 1.5;
}

.num { font-variant-numeric: tabular-nums; }

/* --------------------------------------------- 3. Matière du boîtier acier */

/* Acier brossé : une trame de fines rayures, pas un dégradé mou */
.housing {
  position: relative;
  padding: 1.7rem;
  padding: clamp(1.4rem, 3.4vw, 2.6rem);
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.028) 0px,
      rgba(255, 255, 255, 0.028) 1px,
      rgba(0, 0, 0, 0.05) 1px,
      rgba(0, 0, 0, 0.05) 3px
    ),
    linear-gradient(178deg, var(--housing-hi) 0%, var(--housing) 16%, #0d1015 100%);
  border: 1px solid #333a44;
  border-bottom-color: #05070a;
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.8),
    0 18px 44px -18px rgba(0, 0, 0, 0.95);
}

/* La face en acrylique fumé, en retrait dans le boîtier */
.face {
  position: relative;
  background:
    linear-gradient(163deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0) 38%),
    radial-gradient(130% 100% at 50% 0%, #101319 0%, var(--face) 62%);
  border-radius: 3px;
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

/* Les vis de fixation */
.bolt {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background:
    linear-gradient(150deg, #4a525d, #191d23 62%),
    #2a3038;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.9);
}
.bolt::after {
  content: "";
  position: absolute;
  inset: 3px 1.5px;
  border-top: 1px solid rgba(0, 0, 0, 0.75);
  transform: rotate(28deg);
  transform-origin: center;
}
.bolt--tl { top: 9px; left: 9px; }
.bolt--tr { top: 9px; right: 9px; }
.bolt--bl { bottom: 9px; left: 9px; }
.bolt--br { bottom: 9px; right: 9px; }

/* ------------------------------------------------ 4. Afficheur 7 segments */

.seg {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.14em;
  line-height: 0;
}
.seg__d { display: block; height: 1em; width: 0.56em; flex: none; }
.seg__d svg { display: block; width: 100%; height: 100%; overflow: visible; }

.seg__off { fill: var(--amber-off); }
/* Le halo se mesure en em : fixé en pixels, il noyait les petits afficheurs et
   ne faisait qu'un liseré sur les grands chiffres du compte à rebours. */
.seg__on {
  fill: var(--amber);
  filter: drop-shadow(0 0 0.05em rgba(255, 160, 46, 0.5));
}
.seg--green .seg__off { fill: var(--green-off); }
.seg--green .seg__on { fill: var(--green); filter: drop-shadow(0 0 0.05em rgba(63, 208, 122, 0.45)); }
.seg--red .seg__off { fill: var(--red-off); }
.seg--red .seg__on { fill: var(--red); filter: drop-shadow(0 0 0.05em rgba(232, 64, 42, 0.45)); }
.seg--steel .seg__off { fill: #1b1f26; }
.seg--steel .seg__on { fill: var(--steel); filter: drop-shadow(0 0 0.042em rgba(199, 204, 212, 0.3)); }

/* Point décimal : un seul témoin, calé sur la ligne de base */
.seg__dot {
  display: flex;
  align-items: flex-end;
  height: 1em;
  width: 0.2em;
  flex: none;
  padding-bottom: 0.1em;
}
.seg__dot i {
  display: block;
  width: 0.15em;
  height: 0.15em;
  background: var(--amber);
  box-shadow: 0 0 0.05em rgba(255, 160, 46, 0.55);
}
.seg--steel .seg__dot i { background: var(--steel); box-shadow: 0 0 0.042em rgba(199, 204, 212, 0.38); }
.seg--green .seg__dot i { background: var(--green); box-shadow: 0 0 0.05em rgba(63, 208, 122, 0.45); }
.seg--red .seg__dot i { background: var(--red); box-shadow: 0 0 0.05em rgba(232, 64, 42, 0.45); }

/* Deux-points de séparation */
.seg__colon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.26em;
  height: 1em;
  width: 0.2em;
  flex: none;
  padding-block: 0.24em;
}
.seg__colon i {
  display: block;
  width: 0.13em;
  height: 0.13em;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0.05em rgba(255, 160, 46, 0.55);
}
.seg__colon--blink i { animation: blink 2s steps(1, end) infinite; }
.seg__colon--blink i:nth-child(2) { animation-delay: 0s; }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.14; } }

/* ------------------------------------------------ 5. Le rail — navigation */

.rail {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, #12151a 0%, #0b0e12 100%);
  border-bottom: 1px solid #262c35;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 10px 30px -20px #000;
}
.rail__in {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: var(--rail);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
  padding-block: 0.5rem;
}
.brand > span { min-width: 0; }
.brand img { width: 34px; height: 34px; }
.brand b {
  font-variation-settings: "wdth" 108, "wght" 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  display: block;
}
.brand span { display: block; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  position: relative;
  display: block;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  font-variation-settings: "wdth" 92, "wght" 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--steel-2);
  text-decoration: none;
  transition: color 0.22s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.28rem;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
  box-shadow: 0 0 8px rgba(255, 160, 46, 0.6);
}
.nav a:hover { color: var(--paper); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--amber); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 34px;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger i {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--steel);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger i:nth-child(1) { top: 11px; }
.burger i:nth-child(2) { top: 16px; }
.burger i:nth-child(3) { top: 21px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ------------------------------------------ 6. Le marquage au sol (hero) */

/* La perspective est dessinée dans le SVG lui-même : chaque ligne du terrain
   est projetée depuis une caméra placée derrière le but. Aucune transformation
   3D, donc aucune surprise de rendu. */
.court {
  position: absolute;
  inset: auto 0 0 0;
  height: min(74%, 560px);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 74%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 74%, transparent 100%);
}
.court svg {
  width: 116%;
  height: 100%;
  margin-left: -8%;
  opacity: 0.72;
  transform: translateY(var(--drift, 0px));
  will-change: transform;
}
.court .ln { fill: none; stroke: rgba(199, 204, 212, 0.34); stroke-width: 1.5; }
.court .ln--a { stroke: rgba(255, 160, 46, 0.44); }

/* ------------------------------------------------------- 7. Le hero board */

.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(5rem, 11vw, 9rem);
  overflow: hidden;
}
.hero__in { position: relative; z-index: 1; width: var(--shell); margin-inline: auto; }

.board { padding: 1.2rem; padding: clamp(1rem, 2.2vw, 1.6rem); }
.board__face {
  padding: 1.8rem 1.5rem;
  padding: clamp(1.4rem, 3.4vw, 2.6rem) clamp(1.1rem, 3vw, 2.4rem);
}

/* Bandeau haut du tableau */
.board__rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
  padding-bottom: 1.1rem;
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(199, 204, 212, 0.12);
}
.board__rail .tech { margin: 0; }
.dot {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}
.dot::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
/* Hors saison, le tableau est allumé mais il n'annonce rien : le voyant passe
   à l'acier. Un point vert dirait qu'une rencontre approche. */
.dot--off::before { background: var(--dim); box-shadow: none; }

/* Le compte à rebours */
.count {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(0.7rem, 2.4vw, 1.8rem);
  margin-bottom: clamp(1.6rem, 3.6vw, 2.6rem);
}
.count__unit { display: flex; flex-direction: column; gap: 0.5rem; }
.count__unit .seg { font-size: clamp(3.1rem, 11.5vw, 8rem); }
.count__unit .tech { letter-spacing: 0.2em; }
.count__sep {
  align-self: flex-start;
  padding-top: clamp(0.6rem, 2.6vw, 1.8rem);
  font-size: clamp(3.1rem, 11.5vw, 8rem);
  line-height: 1;
  color: var(--amber-off);
}

/* Hors saison : le tableau ne peut plus annoncer de match, il le dit. */
.offseason {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  line-height: 1.5;
  color: #d5dae1;
  max-width: 56ch;
  margin-bottom: 0;
}

/* La rencontre */
.fixture {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(0.8rem, 3vw, 2.4rem);
}
.fixture__side { min-width: 0; }
.fixture__side--away { text-align: right; }
.fixture__club {
  font-size: clamp(1.25rem, 3.6vw, 2.5rem);
  font-variation-settings: "wdth" 100, "wght" 800;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}
.fixture__club--us { color: var(--amber); }
.fixture__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: none;
}
.fixture__vs {
  font-family: var(--f-tech);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #7f8794;
  color: var(--dim);
}
.fixture__crest { width: clamp(38px, 7vw, 62px); height: auto; }

.board__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.8rem;
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(199, 204, 212, 0.12);
}
.board__meta > div { display: flex; flex-direction: column; gap: 0.3rem; }
.board__meta strong {
  font-size: 0.95rem;
  font-variation-settings: "wdth" 100, "wght" 650;
  letter-spacing: 0.01em;
}

/* ------------------------------------------------------------ 8. Boutons */

.btns { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: clamp(1.6rem, 3.4vw, 2.4rem); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.78rem;
  font-variation-settings: "wdth" 96, "wght" 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: linear-gradient(180deg, #1a1e25, #101318);
  color: var(--steel);
  cursor: pointer;
  overflow: hidden;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease),
    transform 0.24s var(--ease-settle), box-shadow 0.24s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.btn:hover {
  color: var(--paper);
  border-color: var(--steel-3);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 6px 12px -8px #000;
}
.btn:active { transform: translateY(0); }

/* Le bouton allumé : le témoin s'éclaire vraiment */
.btn--lit {
  color: #150c02;
  border-color: #ffb75c;
  background: linear-gradient(180deg, var(--amber-soft), var(--amber) 52%, #e0821c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 26px -6px rgba(255, 160, 46, 0.55);
}
.btn--lit:hover {
  color: #150c02;
  border-color: #ffd3a0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 40px -6px rgba(255, 160, 46, 0.8);
}
/* Le second bouton du tableau est allumé lui aussi, mais en acier : deux
   témoins de hiérarchie différente, pas deux ambres qui se disputent. */
.btn--lit-steel {
  color: #0a0d11;
  border-color: #e6eaef;
  background: linear-gradient(180deg, #ffffff, var(--steel) 55%, #9aa2ad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 0 22px -8px rgba(199, 204, 212, 0.5);
}
.btn--lit-steel:hover {
  color: #0a0d11;
  border-color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 0 34px -8px rgba(199, 204, 212, 0.7);
}

.btn svg { width: 15px; height: 15px; flex: none; }

/* ------------------------------------------------------------ 9. Sections */

.sec { padding: clamp(3rem, 6vw, 5.5rem) 0; position: relative; }
.sec--tight { padding: clamp(2.4rem, 5vw, 4rem) 0; }

.sec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.sec__head p { margin: 0.7rem 0 0; }

/* Le témoin de mode : le tableau change d'affichage au défilement */
.mode {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.45rem 0.2rem;
  background: linear-gradient(180deg, #14171c, #0b0e12);
  border: 1px solid #262c35;
  border-left: none;
  border-radius: 0 5px 5px 0;
  box-shadow: 0 14px 34px -18px #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.mode.on { opacity: 1; pointer-events: auto; }
/* Le témoin reste un point de 9 px, mais la zone à viser fait 24 px : c'est
   le minimum qu'on puisse atteindre au doigt ou à la souris sans rater. */
.mode a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  position: relative;
}
.mode a::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--amber-off);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease-settle);
}
.mode a:hover::before { transform: scale(1.35); }
.mode a.lit::before {
  background: var(--amber);
  box-shadow: 0 0 9px rgba(255, 160, 46, 0.75);
}
.mode a span {
  position: absolute;
  left: calc(100% + 0.15rem);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  white-space: nowrap;
  font-family: var(--f-tech);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-2);
  background: #0d1015;
  border: 1px solid var(--line-2);
  padding: 0.28rem 0.5rem;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s var(--ease);
}
.mode a:hover span, .mode a:focus-visible span { opacity: 1; transform: translateY(-50%) translateX(0); }

/* -------------------------------------------------- 10. Lignes de données */

/* La feuille de temps : les rencontres alignées comme sur l'afficheur */
.sheet { border-top: 1px solid var(--line); }

.row {
  display: grid;
  grid-template-columns: 5.2rem 1fr auto;
  align-items: center;
  gap: 1rem 1.4rem;
  padding: 1.05rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.24s var(--ease);
  position: relative;
}
/* Le décalage au survol se fait par transformation : animer le padding
   relancerait la mise en page à chaque image. */
.row__date, .row__match { transition: transform 0.3s var(--ease); }
.row:hover .row__date, .row:hover .row__match { transform: translateX(6px); }
.row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--amber);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease);
  box-shadow: 0 0 10px rgba(255, 160, 46, 0.6);
}
.row:hover { background: rgba(255, 255, 255, 0.026); }
.row:hover::before { transform: scaleY(1); }

.row__date { display: flex; flex-direction: column; gap: 0.16rem; }
.row__day {
  font-size: 1.55rem;
  font-variation-settings: "wdth" 88, "wght" 750;
  line-height: 0.9;
  color: var(--paper);
}
.row__match { min-width: 0; }
.row__where { max-width: none; }
.row__where b {
  color: var(--paper);
  font-variation-settings: "wdth" 100, "wght" 650;
}
.row__teams {
  font-size: clamp(0.95rem, 1.7vw, 1.05rem);
  font-variation-settings: "wdth" 100, "wght" 650;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.row__teams em { font-style: normal; color: var(--amber); }
.row__where { margin-top: 0.28rem; }

/* Au-delà de 1080 px, le lieu et la journée prennent leur propre colonne :
   la ligne laissait autrement huit cents pixels de vide en son centre. */
@media (min-width: 1080px) {
  .row { grid-template-columns: 5.2rem minmax(0, 1fr) minmax(0, 30rem) auto; }
  .row__match { display: contents; }
  .row__where { margin-top: 0; align-self: center; }
}
.row__right { display: flex; align-items: center; gap: 1rem; justify-self: end; }

/* Le score, en segments */
.score { display: flex; align-items: center; gap: 0.45rem; font-size: 1.55rem; }
/* Le trait entre les deux nombres est le segment central de l'afficheur,
   allumé faiblement : un tiret typographique n'aurait rien à faire là. */
.score__dash { font-size: 1.05rem; opacity: 0.55; }
.score__dash .seg__on { fill: var(--steel-2); filter: none; }
.score__dash .seg__off { fill: transparent; }

/* Le témoin de résultat */
.tag {
  display: inline-grid;
  place-items: center;
  /* Centré même si un parent en fait un élément flexible : « justify-items »
     n'a pas cours en flex, « justify-content » oui. */
  justify-content: center;
  min-width: 1.85rem;
  height: 1.85rem;
  padding-inline: 0.4rem;
  border-radius: 3px;
  font-family: var(--f-tech);
  font-size: 0.7rem;
  font-variation-settings: "wght" 700;
  letter-spacing: 0.03em;
  border: 1px solid;
}
.tag--v { color: var(--green); border-color: rgba(63, 208, 122, 0.4); background: rgba(63, 208, 122, 0.09); }
.tag--n { color: var(--amber); border-color: rgba(255, 160, 46, 0.4); background: rgba(255, 160, 46, 0.09); }
.tag--d { color: var(--red); border-color: rgba(232, 64, 42, 0.42); background: rgba(232, 64, 42, 0.1); }
.tag--f { color: var(--dim); border-color: var(--line-2); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.55rem;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  font-family: var(--f-tech);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-2);
}
.pill--dom { color: var(--amber); border-color: rgba(255, 160, 46, 0.32); }
.pill--cup { color: var(--steel); border-color: rgba(199, 204, 212, 0.3); }

/* ------------------------------------------------------- 11. Le classement */

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; }
table.rank {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.rank th {
  text-align: left;
  padding: 0.85rem 0.9rem;
  background: linear-gradient(180deg, #171b21, #0f1217);
  border-bottom: 1px solid var(--line-2);
  font-family: var(--f-tech);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-2);
  white-space: nowrap;
}
.rank td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.rank tbody tr:hover { background: rgba(255, 255, 255, 0.024); }
.rank tbody tr.us { background: rgba(255, 160, 46, 0.07); }
.rank tbody tr.us td { color: var(--paper); }
.rank tbody tr.us td:first-child { box-shadow: inset 2px 0 0 var(--amber); }
.rank .pos { font-family: var(--f-tech); font-size: 0.78rem; color: var(--steel-2); width: 2.5rem; }
.rank .pts { font-variation-settings: "wght" 750; }
.rank .num-c { text-align: center; white-space: nowrap; }

/* La forme : cinq voyants */
.form { display: inline-flex; gap: 3px; }
.form i {
  width: 19px; height: 19px; border-radius: 2px;
  display: grid; place-items: center;
  font-family: var(--f-tech); font-size: 0.7rem; font-style: normal;
  font-variation-settings: "wght" 700;
}
.form i.v { background: rgba(63, 208, 122, 0.16); color: var(--green); box-shadow: inset 0 0 0 1px rgba(63,208,122,.32); }
.form i.n { background: rgba(255, 160, 46, 0.16); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255,160,46,.32); }
.form i.d { background: rgba(232, 64, 42, 0.16); color: var(--red); box-shadow: inset 0 0 0 1px rgba(232,64,42,.32); }

/* --------------------------------------------------- 12. Le fil des saisons */

.years { position: relative; padding-left: 0; }
.year {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) 1fr;
  gap: 1rem 2.2rem;
  padding: clamp(1.4rem, 3vw, 2.2rem) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.year:last-child { border-bottom: 1px solid var(--line); }
.year__mark { position: relative; }
.year__mark .seg { font-size: 1.55rem; }
.year__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  padding: 0.28rem 0.55rem;
  border-radius: 3px;
  font-family: var(--f-tech);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid;
}
.year__badge--title { color: var(--amber); border-color: rgba(255,160,46,.42); background: rgba(255,160,46,.1); }
.year__badge--up { color: var(--green); border-color: rgba(63,208,122,.4); background: rgba(63,208,122,.09); }
.year__badge--down { color: var(--red); border-color: rgba(232,64,42,.4); background: rgba(232,64,42,.09); }
.year__badge--flat { color: var(--steel-2); border-color: var(--line-2); }
.year__body h3 { margin-bottom: 0.5rem; }
.year__body p { margin-bottom: 0; color: #b9c0c9; font-size: 0.95rem; }
.year__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  margin-top: 0.9rem;
}
.year__stats div { display: flex; align-items: baseline; gap: 0.4rem; }
.year__stats b {
  font-variation-settings: "wdth" 92, "wght" 750;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------- 13. Les blocs */

.grid { display: grid; gap: clamp(0.9rem, 1.8vw, 1.4rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
/* Au-delà de 1000 px, trois colonnes franches : l'auto-fit passait à quatre
   et laissait la deuxième rangée à moitié vide. */
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.panel {
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0));
  transition: border-color 0.28s var(--ease), transform 0.32s var(--ease-settle);
}
.panel:hover { border-color: var(--line-2); }
.panel h3 { margin-bottom: 0.55rem; }
.panel p { margin-bottom: 0; font-size: 0.95rem; color: #b3bac3; }

/* Les emplacements du tableau : un témoin, un nom, sa compétition, son état.
   C'est le vocabulaire de l'afficheur, pas une grille de cartes identiques. */
.slots { border-top: 1px solid var(--line); }
.slot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem 1.4rem;
  padding: 1.15rem 0.9rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.24s var(--ease);
}
.slot:hover { background: rgba(255, 255, 255, 0.024); }
.slot__lamp {
  width: 10px; height: 10px; border-radius: 2px;
  background: var(--amber-off);
  align-self: start;
  margin-top: 0.55rem;
}
.slot--on .slot__lamp { background: var(--amber); box-shadow: 0 0 9px rgba(255, 160, 46, 0.7); }
.slot--green .slot__lamp { background: var(--green); box-shadow: 0 0 9px rgba(63, 208, 122, 0.6); }
.slot__body h3 { margin-bottom: 0.35rem; }
.slot__body p { margin-bottom: 0; max-width: 62ch; }
.slot__state { justify-self: end; align-self: start; margin-top: 0.35rem; }
/* Sous 420 px, le sous-titre du rail s'efface : la ligne tient sans pousser
   le bouton de menu vers le bord. */
@media (max-width: 420px) {
  .brand .tech { display: none; }
  .brand img { width: 30px; height: 30px; }
  .rail__in { gap: 0.85rem; }
}

@media (max-width: 620px) {
  .slot { grid-template-columns: auto minmax(0, 1fr); }
  .slot__state { grid-column: 2; justify-self: start; margin-top: 0.2rem; }
}

/* La galerie : une composition tenue, la grande photo porte la section */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: clamp(0.6rem, 1.2vw, 1rem);
}
.gallery > * { min-height: 0; }
.gallery > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery > *:nth-child(2) { grid-row: span 2; }
.gallery .shot { aspect-ratio: auto; height: 100%; }
.gallery .shot img { height: 100%; }

@media (max-width: 900px) {
  /* En deux colonnes, c'est le rapport d'image qui fixe la hauteur : garder
     height:100% en même temps qu'un aspect-ratio faisait calculer la largeur
     depuis la hauteur et débordait la colonne de treize pixels. */
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .gallery .shot { height: auto; }
  .gallery .shot img { height: 100%; }
  .gallery > *:nth-child(1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 3 / 2; }
  .gallery > *:nth-child(2) { grid-row: span 1; aspect-ratio: 3 / 4; }
  .gallery > *:nth-child(3), .gallery > *:nth-child(4) { aspect-ratio: 3 / 4; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery > *:nth-child(1) { grid-column: span 1; }
  .gallery > * { aspect-ratio: 3 / 2 !important; }
}

/* La photo, cadrée dans le boîtier */
.shot { position: relative; overflow: hidden; border-radius: 5px; background: var(--hall-3); }
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) contrast(1.12) brightness(0.92);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.shot:hover img { transform: scale(1.045); filter: saturate(0.85) contrast(1.08) brightness(1); }
/* Trame de lumière du gymnase par-dessus la photo — de la trame, pas un voile */
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.22) 0px,
      rgba(0, 0, 0, 0.22) 1px,
      rgba(0, 0, 0, 0) 1px,
      rgba(0, 0, 0, 0) 3px
    ),
    linear-gradient(200deg, rgba(255, 160, 46, 0.1), rgba(7, 9, 12, 0.55) 62%);
  mix-blend-mode: multiply;
}
.shot--tall { aspect-ratio: 3 / 4; }
.shot--wide { aspect-ratio: 3 / 2; }
.shot--square { aspect-ratio: 1; }

.shot__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.6rem 1rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 10, 0.92));
}

/* ------------------------------------------------------- 14. Bandeau défilant */

.ticker {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, #0e1116, #090b0f);
  overflow: hidden;
  padding: 0.75rem 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: slide 46s linear infinite;
}
.ticker__track > span {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-tech);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-2);
  white-space: nowrap;
}
.ticker__track b { color: var(--amber); font-variation-settings: "wght" 600; }
.ticker__track i {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--steel-3); flex: none;
}
@keyframes slide { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* --------------------------------------------------------- 15. Formulaire */

.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1rem; }
.field label {
  font-family: var(--f-tech);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-2);
}
.field input, .field textarea, .field select {
  padding: 0.75rem 0.85rem;
  background: #0b0e12;
  /* Le contour doit se voir sans le chercher : « --line-2 » ne faisait que
     1,4:1 avec la face, le champ se devinait à peine. */
  border: 1px solid var(--line-3);
  border-radius: 4px;
  font-size: 0.95rem;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #7f8794; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 160, 46, 0.15);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field--half { flex: 1 1 14rem; }
.fieldrow { display: flex; flex-wrap: wrap; gap: 0 1rem; }

.note {
  padding: 1rem 1.1rem;
  border: 1px dashed var(--line-2);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.016);
}
.note p:last-child { margin-bottom: 0; }
.note--amber { border-color: rgba(255, 160, 46, 0.34); background: rgba(255, 160, 46, 0.045); }

/* Un bloc posé dans le boîtier n'est pas une carte : deux encadrés imbriqués
   font une carte dans une carte. Il se détache par un filet, pas par un cadre. */
.inset {
  padding-top: 1.3rem;
  border-top: 2px solid rgba(255, 160, 46, 0.45);
}
.inset h3 { margin-bottom: 0.6rem; }
.inset p { margin-bottom: 0; font-size: 0.95rem; color: #c2c9d1; }
.inset a { color: var(--amber); }

/* -------------------------------------------------------------- 16. Pied */

.foot {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0a0d11, #06080b);
  padding: clamp(2.6rem, 5vw, 4rem) 0 1.6rem;
}
.foot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 2rem;
  margin-bottom: 2.4rem;
}
.foot h3 {
  margin-bottom: 0.9rem;
  color: var(--steel);
  font-size: 0.7rem;
  font-variation-settings: "wdth" 100, "wght" 700;
  letter-spacing: 0.12em;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.foot a { color: var(--steel-2); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
/* Les liens du pied de page sont empilés : sans hauteur de prise, deux lignes
   voisines se touchent presque et on clique à côté sur un écran tactile. */
.foot li a { display: inline-block; padding-block: 0.32rem; }
.foot a:hover { color: var(--amber); }
.foot address { font-style: normal; color: var(--steel-2); font-size: 0.88rem; line-height: 1.75; }
.foot__base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  justify-content: space-between;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.social { display: flex; gap: 0.5rem; }
.social a {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  transition: border-color 0.22s, background 0.22s, transform 0.28s var(--ease-settle);
}
.social a:hover { border-color: var(--amber); background: rgba(255, 160, 46, 0.1); transform: translateY(-2px); }
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* -------------------------------------------------- 17. Entrée au défilement */

[data-in] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease-settle);
  transition-delay: var(--d, 0ms);
}
[data-in].in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ 18. Écrans */

@media (max-width: 1080px) {
  .mode { display: none; }
}

@media (max-width: 860px) {
  :root { --shell: min(1360px, 100% - 2rem); }
  .burger { display: block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0c0f14;
    border-bottom: 1px solid var(--line-2);
    padding: 0.5rem 0 0.9rem;
    box-shadow: 0 24px 40px -24px #000;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 1rem; font-size: 0.88rem; }
  .nav a::after { left: 1rem; right: auto; width: 14px; bottom: 0.55rem; }

  .fixture { grid-template-columns: 1fr; text-align: center; gap: 0.9rem; }
  .fixture__side--away { text-align: center; }
  .fixture p { max-width: none; }
  .fixture__mid { flex-direction: row; justify-content: center; gap: 0.8rem; }

  .row { grid-template-columns: 4.2rem 1fr; }
  .row__right { grid-column: 1 / -1; justify-self: start; }

  .year { grid-template-columns: 1fr; gap: 0.8rem; }
}

/* Sur un téléphone, l'afficheur tient sur une ligne : jours, heures, minutes.
   Les secondes d'un match dans dix jours n'apprennent rien et cassaient la
   ligne. Le texte lu par les lecteurs d'écran, lui, reste complet. */
@media (max-width: 620px) {
  .count { gap: 0.5rem; flex-wrap: nowrap; justify-content: space-between; }
  .count__unit { flex: 1 1 0; min-width: 0; align-items: center; }
  .count__unit .seg { font-size: min(15.5vw, 3.6rem); }
  .count__unit .tech { font-size: 0.7rem; letter-spacing: 0.06em; }
  .count__sep { font-size: min(11vw, 2.4rem); padding-top: 0.5rem; }
  .count__unit:last-of-type,
  .count__sep:nth-of-type(3) { display: none; }

  /* Le téléphone dans un couloir : l'heure et le gymnase sont ce que le
     visiteur est venu chercher, ils ne se lisent pas en petit et en gris. */
  .row__where { font-size: 0.88rem; color: #b6bdc6; }
  .row__where b { font-size: 0.95rem; }

  /* Le tableau se resserre pour que les deux boutons tiennent dans le
     premier écran d'un 390 x 844. */
  .hero { padding-top: 1.4rem; padding-bottom: 3rem; }
  .housing.board { padding: 0.7rem; }
  .board__face { padding: 1.1rem 0.95rem; }
  .board__rail { padding-bottom: 0.8rem; margin-bottom: 1.1rem; gap: 0.35rem 1rem; }
  .count { margin-bottom: 1.2rem; }
  .fixture { gap: 0.55rem; }
  .fixture__club { font-size: clamp(1.15rem, 6.4vw, 1.55rem); }
  .board__meta { margin-top: 1rem; padding-top: 0.9rem; gap: 0.45rem 1.4rem; }
  .btns { margin-top: 1rem; }
  .btn { padding: 0.78rem 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-in] { opacity: 1; transform: none; }
  .court svg { transform: none; }
  .ticker__track { animation: none; }
}

@media print {
  body::before, body::after, .court, .mode, .ticker { display: none; }
  body { background: #fff; color: #000; }
}

/* ======================================================== 19. Têtes de page */

.pagehead { padding: clamp(1.8rem, 4vw, 3rem) 0 clamp(1.2rem, 2.6vw, 2rem); position: relative; }
.pagehead .face { padding: clamp(1.5rem, 3.2vw, 2.4rem); }
.pagehead h1 { font-size: clamp(2.1rem, 6.4vw, 4.2rem); margin-bottom: 0.9rem; }
.pagehead .lede { margin-bottom: 0; }
.pagehead__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 2.4rem;
  margin-top: clamp(1.2rem, 2.6vw, 1.8rem);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(199, 204, 212, 0.12);
}
.pagehead__facts div { display: flex; flex-direction: column; gap: 0.25rem; }
.pagehead__facts b {
  font-size: 1.25rem;
  font-variation-settings: "wdth" 92, "wght" 750;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

/* --------------------------------------------------------- 20. Les filtres */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}
.filters .btn { padding: 0.62rem 1.05rem; font-size: 0.7rem; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1.2rem;
}
/* Les témoins de résultat gardent leur propre affichage : cette règle leur
   imposait « inline-flex », où la lettre se collait à gauche du carré. */
.legend span:not(.tag) { display: inline-flex; align-items: center; gap: 0.45rem; }

/* ------------------------------------------------------- 21. Deux colonnes */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: start;
}
.split--wide { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; } }

.aside {
  position: sticky;
  top: calc(var(--rail) + 1.4rem);
  padding: clamp(1.2rem, 2.4vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0));
}
@media (max-width: 900px) { .aside { position: static; } }

/* ---------------------------------------------------- 22. Listes de faits */

.facts { display: grid; gap: 0; margin: 0; }
.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 9rem) 1fr;
  gap: 0.4rem 1.2rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.facts > div:first-child { border-top: 1px solid var(--line); }
.facts dt {
  font-family: var(--f-tech);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-2);
  padding-top: 0.2rem;
}
.facts dd { margin: 0; font-size: 0.95rem; }
/* Ces adresses sont des cibles à part entière, pas des liens noyés dans une
   phrase : elles doivent se viser au doigt. */
.facts dd a { color: var(--amber); text-decoration: none; display: inline-block; padding-block: 0.28rem; }
.facts dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .facts > div { grid-template-columns: 1fr; } }

/* Dans une colonne latérale, l'étiquette passe au-dessus : deux colonnes
   dans 22 rem découperaient la valeur en confettis. */
.aside .facts > div { grid-template-columns: 1fr; gap: 0.25rem; padding: 0.7rem 0; }
.aside .facts dd { font-size: 0.95rem; }

/* ------------------------------------------------------ 23. Les actualités */

/* Le repère de date d'une annonce, à l'échelle d'un titre de bloc. */
.news__seg { font-size: 1.55rem; }


.news { display: grid; gap: 0; }
.news__item {
  display: grid;
  grid-template-columns: minmax(0, 12rem) 1fr;
  gap: 1.2rem 2.2rem;
  padding: clamp(1.4rem, 3vw, 2.2rem) 0;
  border-bottom: 1px solid var(--line);
}
.news__item:first-child { border-top: 1px solid var(--line); }
.news__item h3 { margin-bottom: 0.6rem; }
/* Chaque annonce est un h2 dans le plan du document, mais garde l'échelle
   d'un titre de bloc : la hiérarchie visuelle suit la page, pas la balise. */
.news__title {
  font-size: clamp(1.15rem, 2.1vw, 1.6rem);
  font-variation-settings: "wdth" 105, "wght" 750;
  margin-bottom: 0.6rem;
}
.news__item p { font-size: 0.95rem; color: #c0c7d0; }
.news__item p:last-child { margin-bottom: 0; }
.news__when { display: flex; flex-direction: column; gap: 0.5rem; }
@media (max-width: 720px) { .news__item { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- 24. Utilitaires */

.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.stack { display: grid; gap: 1.1rem; }
.center { text-align: center; }
.wrap-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

/* ==========================================================================
   25. LES MODES D'AFFICHAGE DU TABLEAU
   Le tableau ne sait pas n'afficher que des lignes. Chaque section prend la
   forme que son contenu réclame : une banque de modules, une courbe de niveau,
   une grille de mois, un mur de scores, des tuiles de catégorie.
   ========================================================================== */

/* ---------------------------------------- 25.1 L'écusson dans son logement */

.badge {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--t, 52px);
  height: var(--t, 52px);
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, #171b21 0%, #07090c 74%);
  box-shadow:
    inset 0 0 0 1px var(--line-2),
    inset 0 2px 6px rgba(0, 0, 0, 0.9),
    0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.badge img { width: 74%; height: 74%; object-fit: contain; }
/* Le club adverse n'a pas publié d'écusson : on pose ses initiales, jamais
   un faux logo. */
.badge--mono {
  font-family: var(--f-sign);
  font-variation-settings: "wdth" 96, "wght" 750;
  font-size: calc(var(--t, 52px) * 0.34);
  color: var(--steel-2);
  letter-spacing: 0.02em;
}

/* -------------------------------------------- 25.2 La banque de modules */

.modules { display: grid; gap: clamp(0.8rem, 1.6vw, 1.2rem); }
@media (min-width: 900px) {
  .modules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modules > .module--une { grid-column: 1 / -1; }
}

.module {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  border-radius: 5px;
  background:
    linear-gradient(163deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(120% 100% at 50% 0%, #101319 0%, var(--face) 64%);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 2px 6px rgba(0, 0, 0, 0.8);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease-settle);
}
.module:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--steel-3), inset 0 2px 6px rgba(0,0,0,.8); }
.module--dom { box-shadow: inset 0 0 0 1px rgba(255, 160, 46, 0.34), inset 0 2px 6px rgba(0, 0, 0, 0.8); }

.module__haut { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.module__date { display: flex; align-items: baseline; gap: 0.5rem; }
.module__date .seg { font-size: 1.5rem; }
.module__opp { display: flex; align-items: center; gap: 0.8rem; }
.module__nom {
  font-size: 1.08rem;
  font-variation-settings: "wdth" 100, "wght" 700;
  line-height: 1.15;
  letter-spacing: -0.005em;
  min-width: 0;
  overflow-wrap: anywhere;
}
.module__bas { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 0.2rem; }

/* Le module de tête : la rencontre qui vient, en grand */
.module--une { gap: clamp(1rem, 2vw, 1.4rem); padding: clamp(1.4rem, 3vw, 2.2rem); }
.module--une .module__affiche {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(0.8rem, 2.4vw, 2rem);
}
.module--une .module__cote { display: flex; align-items: center; gap: clamp(0.7rem, 1.6vw, 1.1rem); min-width: 0; }
.module--une .module__cote--ext { flex-direction: row-reverse; text-align: right; }
.module--une .module__nom {
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  font-variation-settings: "wdth" 100, "wght" 800;
  line-height: 0.98;
  text-transform: uppercase;
}
.module--une .module__nom--us { color: var(--amber); }
.module__mid { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; flex: none; }
.module__quand { display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem; }
.module__quand > div { display: flex; flex-direction: column; gap: 0.2rem; }
.module__quand strong { font-size: 1rem; font-variation-settings: "wdth" 100, "wght" 650; }

/* ---------------------------------------- 25.3 La courbe des échelons */

/* La courbe ne descend jamais sous sa taille de lecture : ses libellés sont
   dessinés dans le SVG et rétréciraient avec lui. En dessous de 900 px, on la
   fait défiler au doigt plutôt que de la réduire. */
.courbe { position: relative; padding: 0.5rem 0 0; overflow-x: auto; }
.courbe svg {
  display: block;
  width: 100%;
  min-width: 900px;
  max-width: 900px;
  height: auto;
  overflow: visible;
}
.courbe .grille { stroke: var(--line); stroke-width: 1; }
.courbe .niveau {
  font-family: var(--f-tech);
  font-size: 12px;
  fill: var(--steel-2);
  letter-spacing: 0.1em;
}
.courbe .an { font-family: var(--f-tech); font-size: 11px; fill: var(--steel-2); letter-spacing: 0.06em; }
.courbe .trace {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(255, 160, 46, 0.4));
}
/* Le tracé se coud à l'écran, puis les points s'allument dans l'ordre. */
.courbe .trace {
  stroke-dasharray: var(--L, 2000);
  stroke-dashoffset: var(--L, 2000);
  transition: stroke-dashoffset 1.7s var(--ease);
}
.courbe.tracee .trace { stroke-dashoffset: 0; }
.courbe .pt {
  fill: var(--hall);
  stroke: var(--amber);
  stroke-width: 2.5;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  transition-delay: calc(var(--i, 0) * 150ms + 250ms);
}
.courbe.tracee .pt { opacity: 1; }
.courbe .pt--titre { fill: var(--amber); stroke: var(--amber); }
.courbe .pt--bas { fill: var(--hall); stroke: var(--red); }
.courbe__lect {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin-top: 1.2rem;
}
.courbe__lect span { display: inline-flex; align-items: center; gap: 0.45rem; }
.courbe__lect i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.courbe__lect i.t { background: var(--amber); }
.courbe__lect i.n { background: var(--hall); box-shadow: inset 0 0 0 2px var(--amber); }
.courbe__lect i.d { background: var(--hall); box-shadow: inset 0 0 0 2px var(--red); }

/* Les saisons en modules, deux par rangée : plus une pile */
.saisons { display: grid; gap: clamp(0.8rem, 1.6vw, 1.2rem); margin-top: clamp(1.6rem, 3vw, 2.4rem); }
@media (min-width: 860px) { .saisons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.saison { display: flex; flex-direction: column; gap: 0.7rem; }
.saison__haut { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.saison__haut .seg { font-size: 1.5rem; }
.saison h3 { font-size: 1.15rem; }
.saison p { margin: 0; font-size: 0.95rem; color: #b3bac3; max-width: none; }
.saison__chiffres { display: flex; flex-wrap: wrap; gap: 0.3rem 1.3rem; margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.saison__chiffres div { display: flex; align-items: baseline; gap: 0.4rem; }
.saison__chiffres b {
  font-variation-settings: "wdth" 92, "wght" 750;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------- 25.4 Les tuiles de catégorie */

.tuiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr));
  gap: clamp(0.7rem, 1.5vw, 1.1rem);
}
@media (min-width: 1000px) { .tuiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tuile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  border-radius: 5px;
  background: radial-gradient(120% 100% at 50% 0%, #101319 0%, var(--face) 64%);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 2px 6px rgba(0, 0, 0, 0.8);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease-settle);
}
.tuile:hover { transform: translateY(-3px); }
.tuile--on { box-shadow: inset 0 0 0 1px rgba(255, 160, 46, 0.4), inset 0 2px 6px rgba(0, 0, 0, 0.8); }
.tuile .seg { font-size: 2.1rem; }
.tuile h3 { font-size: 1.05rem; }
.tuile p { margin: 0; font-size: 0.88rem; color: #a9b0ba; max-width: none; }
.tuile__etat { margin-top: auto; padding-top: 0.5rem; }

/* ---------------------------------------------- 25.5 La grille des mois */

.mois { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.mois__tete {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.7rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.mois__nom {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-variation-settings: "wdth" 100, "wght" 750;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.jours {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: minmax(52px, auto);
  gap: 4px;
}
.jours > .jt {
  font-family: var(--f-tech);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: center;
  padding-bottom: 0.2rem;
}
.jour {
  position: relative;
  min-height: 52px;
  padding: 0.35rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.014);
  box-shadow: inset 0 0 0 1px var(--line);
}
.jour--vide { background: none; box-shadow: none; min-height: 0; }
/* Les jours sans match restent en retrait par rapport à l'ambre des jours de
   match, mais pas en dessous de 4,5:1 : « --steel-3 » ne donnait que 2,6:1
   sur la case, illisible pour beaucoup. Même chose pour l'entête des jours. */
.jour__n { font-family: var(--f-tech); font-size: 0.72rem; color: var(--dim); }
.jour--match {
  grid-row: span 2;
  background: radial-gradient(120% 100% at 50% 0%, #101319 0%, var(--face) 64%);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 2px 6px rgba(0, 0, 0, 0.8);
  /* Le numéro du jour et la catégorie tiennent la même ligne, le match occupe
     celle du dessous. La pastille était posée en absolu : quand la case n'a
     pas de numéro — un deuxième match le même jour — le nom du club remontait
     et passait sous elle. */
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  column-gap: 0.3rem;
}
.jour--match .jour__n { grid-column: 1; grid-row: 1; }
.jour--match .jour__eq { position: static; grid-column: 2; grid-row: 1; justify-self: end; }
.jour--match .jour__m { grid-column: 1 / -1; }
.jour--match .jour__n { color: var(--amber); }
.jour--dom { box-shadow: inset 0 0 0 1px rgba(255, 160, 46, 0.38), inset 0 2px 6px rgba(0, 0, 0, 0.8); }
.jour__m { margin-top: 0.3rem; display: flex; flex-direction: column; gap: 0.22rem; }
.jour__adv {
  font-size: 0.84rem;
  font-variation-settings: "wdth" 96, "wght" 650;
  line-height: 1.14;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.jour__h { font-family: var(--f-tech); font-size: 0.7rem; color: var(--steel-2); letter-spacing: 0.05em; }
.jour__eq {
  position: absolute;
  top: 0.3rem; right: 0.35rem;
  font-family: var(--f-tech);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 0.02rem 0.28rem;
  border-radius: 3px;
  color: var(--steel-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.legend .jour__eq { position: static; }
/* Pas de code couleur par équipe : le libellé suffit, et l'ambre reste
   réservé au domicile. Ajouter deux encres aurait cassé l'encrier du monde. */
.jour__eq--u18,
.jour__eq--res,
.jour__eq--fem { color: var(--steel); box-shadow: inset 0 0 0 1px rgba(199, 204, 212, 0.3); }

/* ------------------------------------------------- 25.6 Le mur des scores */

.mur {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr));
  gap: clamp(0.6rem, 1.3vw, 0.9rem);
}
.pastille {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.9rem 0.85rem;
  border-radius: 5px;
  background: radial-gradient(120% 100% at 50% 0%, #101319 0%, var(--face) 64%);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 2px 6px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s var(--ease-settle);
}
.pastille:hover { transform: translateY(-3px); }
.pastille--v { box-shadow: inset 0 0 0 1px rgba(63, 208, 122, 0.36), inset 0 2px 6px rgba(0,0,0,.8); }
.pastille--n { box-shadow: inset 0 0 0 1px rgba(255, 160, 46, 0.34), inset 0 2px 6px rgba(0,0,0,.8); }
.pastille--d { box-shadow: inset 0 0 0 1px rgba(232, 64, 42, 0.36), inset 0 2px 6px rgba(0,0,0,.8); }
.pastille__haut { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.pastille__score { display: flex; align-items: center; gap: 0.4rem; font-size: 1.5rem; }
.pastille__adv {
  font-size: 0.88rem;
  font-variation-settings: "wdth" 96, "wght" 650;
  line-height: 1.16;
  overflow-wrap: anywhere;
}
.pastille__date { margin-top: auto; }

/* --------------------------------------------------- 25.7 Les étapes */

.etapes { display: grid; gap: clamp(0.8rem, 1.6vw, 1.2rem); }
@media (min-width: 780px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.etape {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  border-radius: 5px;
  background: radial-gradient(120% 100% at 50% 0%, #101319 0%, var(--face) 64%);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 2px 6px rgba(0, 0, 0, 0.8);
}
.etape .seg { font-size: 2rem; }
.etape h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }
.etape p { margin: 0; font-size: 0.95rem; color: #b3bac3; max-width: none; }

/* --------------------------------------------------- 25.8 Adaptations */

@media (max-width: 720px) {
  .jours { grid-template-columns: 1fr; gap: 0.45rem; }
  .jours > .jt { display: none; }
  .jour--vide { display: none; }
  .jour:not(.jour--match) { display: none; }
  .jour--match { grid-row: auto; display: flex; align-items: baseline; gap: 0.7rem; }
  .jour__m { margin-top: 0; }
  .jour__eq { position: static; margin-left: auto; }
  .module--une .module__affiche { grid-template-columns: 1fr; text-align: center; gap: 0.9rem; }
  .module--une .module__cote,
  .module--une .module__cote--ext { flex-direction: column; text-align: center; }
  .module__mid { flex-direction: row; }
}

/* L'invitation à faire défiler n'apparaît que là où c'est nécessaire. */
.courbe__aide { display: none; margin: 0.9rem 0 0; }
@media (max-width: 940px) { .courbe__aide { display: block; } }

/* L'écusson de l'adversaire dans la case du calendrier. */
.jour__ligne { display: flex; align-items: center; gap: 0.42rem; min-width: 0; }
.jour__ligne .badge { flex: none; }

/* ==========================================================================
   26. LE REPLI SANS JAVASCRIPT
   Chaque afficheur porte sa valeur en texte. Tant que le script n'a pas
   dessiné ses segments, la classe .seg est absente : le chiffre s'affiche
   alors en clair, dans la voix de l'enseigne plutôt qu'en corps de texte.
   ========================================================================== */

[data-seg]:not(.seg) {
  font-variation-settings: "wdth" 92, "wght" 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: var(--amber);
}
[data-seg]:not(.seg).seg--steel { color: var(--steel); }
[data-seg]:not(.seg).seg--green { color: var(--green); }
[data-seg]:not(.seg).seg--red { color: var(--red); }

/* Le mur des scores couvre les quatre équipes : chaque pastille annonce
   laquelle, sinon les résultats se mélangent sans qu'on sache à qui ils sont. */
.pastille__eq {
  font-family: var(--f-tech);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-2);
}
