/* =========================================================
   Follow The Lacrosse — système de design VX
   Conforme à la charte graphique v1.1 (mars 2026) :
   palette en 6 couleurs, Barlow Condensed + DM Sans uniquement,
   titres en capitales, mauve signature, barre mauve de 3 px.
   Voir DESIGN.md.
   ========================================================= */

:root {
  /* Palette de la charte, sans ajout */
  --nuit: #0D2240;      /* Bleu nuit : fond principal, texte sur clair */
  --marine: #1A3A6B;    /* Bleu marine : fond secondaire, texte secondaire sur clair */
  --mauve: #B088E8;     /* Mauve signature : couleur principale */
  --mauve-dk: #7A56C2;  /* Mauve foncé : mauve lisible sur fond clair */
  --acier: #7A90A8;     /* Gris acier : texte secondaire sur bleu nuit uniquement (4,84:1). Jamais sur fond clair ni sur marine (Q28) */
  --sur-marine: rgba(240, 238, 232, .75); /* Texte secondaire sur panneau marine : ivoire à 75 %, 6,21:1 (Q28) */
  --ivoire: #F0EEE8;    /* Ivoire : fond clair */
  --white: #FFFFFF;

  /* Filets : teintes transparentes de la palette, pas de nouvelle couleur */
  --rule: rgba(13, 34, 64, .14);
  --rule-dark: rgba(240, 238, 232, .14);

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;

  --wrap: 1240px;
  --gut: 24px;
  --r-s: 4px;
  --r-m: 10px;   /* rayon de la charte (--r) */
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--nuit);
  background: var(--ivoire);
  caret-color: var(--mauve-dk);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input { font: inherit; color: inherit; }
a, button, input { touch-action: manipulation; -webkit-tap-highlight-color: rgba(176, 136, 232, .25); }
::selection { background: var(--mauve); color: var(--nuit); }
:focus-visible { outline: 3px solid var(--mauve); outline-offset: 2px; border-radius: var(--r-s); }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.skip {
  position: absolute; left: var(--gut); top: -60px; z-index: 50;
  background: var(--nuit); color: var(--white); padding: 10px 14px; border-radius: var(--r-s);
}
.skip:focus { top: 8px; }

/* ---------- Titres : Barlow Condensed, toujours en capitales ---------- */
.h-display, .h-section, .h-item, .lead h3, .sub-head, .sub-title, .tier-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  text-wrap: balance;
}
.h-display { font-weight: 900; font-size: clamp(40px, 5.2vw, 74px); line-height: .92; }
.h-section { font-weight: 900; font-size: clamp(30px, 3.4vw, 44px); line-height: .95; }
.h-item { font-weight: 700; font-size: 23px; line-height: 1; letter-spacing: .005em; }
.dek { font-size: 18px; line-height: 1.6; color: var(--marine); max-width: 62ch; }
.meta { font-size: 13px; color: var(--marine); font-variant-numeric: tabular-nums; }
.meta > * + * { margin-left: 12px; }

/* Libellés (catégorie, signal) : Barlow Condensed 700, mauve */
.kind, .signal {
  font-family: var(--f-display); font-weight: 700; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--mauve-dk);
}
.tag {
  display: inline-block;
  font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  padding: 1px 7px; border-radius: var(--r-s); border: 1px solid currentColor; line-height: 1.35;
}
.code { font-family: var(--f-display); font-weight: 700; letter-spacing: .06em; }

/* ---------- Liens et boutons ---------- */
.link {
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(var(--mauve), var(--mauve)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size .35s var(--ease);
}
.link:hover { background-size: 0 2px; background-position: 100% 100%; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  font-family: var(--f-display); font-weight: 700; font-size: 16px; letter-spacing: .07em; text-transform: uppercase;
  border-radius: var(--r-m); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-solid { background: var(--mauve); border-color: var(--mauve); color: var(--nuit); }
.btn-solid:hover { background: var(--mauve-dk); border-color: var(--mauve-dk); color: var(--white); }
.btn-line { background: transparent; border-color: currentColor; }
.btn-line:hover { border-color: var(--mauve); color: var(--mauve); }

/* ---------- Bandeau : fond ivoire, logo version claire (règle de la charte) ---------- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: var(--ivoire);
  border-bottom: 3px solid var(--mauve);
}
.masthead .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark {
  height: 46px; width: auto; /* PNG détouré (Q27) : plus de mode de fusion */
}
.brand-name {
  font-family: var(--f-display); font-weight: 900; font-size: 21px;
  text-transform: uppercase; line-height: .92; color: var(--nuit);
}
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap;
  padding: 10px 12px; border-radius: var(--r-s); color: var(--marine);
  transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--nuit); background: rgba(176, 136, 232, .18); }
.nav a[aria-current="page"] { color: var(--nuit); box-shadow: inset 0 -3px 0 var(--mauve); border-radius: 0; }
.masthead .btn { min-height: 42px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
.menu-btn {
  display: none; margin-left: auto; min-height: 44px; min-width: 44px;
  background: none; border: 2px solid var(--nuit); border-radius: var(--r-m); cursor: pointer;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; padding: 0 14px;
}

/* ---------- Hero (fond sombre : contexte digital fort) ---------- */
.hero { background: var(--nuit); color: var(--white); }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 64px;
}
.hero .dek, .page-head .dek { color: var(--acier); }
.hero .dek { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .btn-line, .page-head .btn-line { color: var(--ivoire); }

/* Carte en tuiles */
.tilemap {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-template-rows: repeat(8, auto);
  gap: 4px;
}
.tile {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(11px, 1.1vw, 15px); letter-spacing: .05em;
  text-decoration: none; border-radius: var(--r-s);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.tile[data-tier="1"] { background: var(--mauve); color: var(--nuit); }
.tile[data-tier="2"] { background: var(--acier); color: var(--nuit); }
.tile[data-tier="3"] { background: var(--marine); color: var(--ivoire); }
.tile:hover, .tile:focus-visible, .tile.is-on { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--white); outline: none; }
.map-foot {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule);
}
.hero .map-foot { border-top-color: var(--rule-dark); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; font-size: 14px; color: var(--marine); }
.hero .legend { color: var(--acier); }
.legend li { display: flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.readout { font-size: 14px; min-height: 1.5em; }
.readout strong { font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .js .tilemap .tile { animation: tile-in .6s var(--ease) both; animation-delay: calc(var(--c) * 45ms); }
  @keyframes tile-in { from { opacity: 0; transform: translateX(-10px); } }
}

/* Bandeau « en ce moment » : fond secondaire */
.now { background: var(--marine); color: var(--ivoire); }
.now .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 14px; padding-bottom: 14px; font-size: 16px; }
.now-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ivoire);
}
.now-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mauve); }
.now-status[data-state="done"] { color: var(--sur-marine); }
.now-status[data-state="done"]::before { background: var(--sur-marine); }
.now-status[data-state="soon"]::before { background: transparent; border: 2px solid var(--mauve); }
.now p { flex: 1 1 420px; color: var(--ivoire); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.on-white { background: var(--white); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 32px; }
.section-head .dek { margin-top: 12px; font-size: 17px; }

/* Plans de terrain */
.plate { min-width: 0; color: var(--nuit); background: var(--white); border-radius: var(--r-m); }
.on-white .plate { background: var(--ivoire); }
.plate svg { width: 100%; height: 100%; }
.plate.dark { background: var(--nuit); color: var(--acier); }

/* Listes « signées » d'une barre mauve de 3 px (règle de la charte) */
.side-list, .scenes, .rail, .paths, .dir-list, .radar, .also, .asks, .issue, .fixtures, .leagues { border-top: 3px solid var(--mauve); }

/* À la une */
.top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; }
.lead { text-decoration: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.lead .plate { aspect-ratio: 16 / 8; display: flex; align-items: center; padding: 6% 8%; }
.lead h3 { font-weight: 900; font-size: clamp(32px, 3.4vw, 46px); line-height: .95; }
.lead:hover h3 { color: var(--mauve-dk); }
.lead .dek { font-size: 17px; }
.side-list { list-style: none; }
.side-list li { border-bottom: 1px solid var(--rule); }
.side-list a { display: grid; gap: 8px; padding: 22px 0; text-decoration: none; }
.side-list a:hover .h-item, .rail a:hover .h-item, .scene:hover .h-item, .radar-item:hover .h-item,
.leagues a:hover .h-item, .fixture:hover .h-item, .paths a:hover .h-item { color: var(--mauve-dk); }
.calendar .fixture:hover .h-item, .calendar .leagues a:hover .h-item { color: var(--mauve); }

/* Scènes à suivre */
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scenes.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } /* 4 profils d'interview (Q58) */
@media (max-width: 1100px) and (min-width: 961px) { .scenes.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.scene { padding: 26px 28px 30px 0; display: grid; gap: 12px; align-content: start; text-decoration: none; }
.scene + .scene { padding-left: 28px; border-left: 1px solid var(--rule); }
.scene-top { display: flex; align-items: center; gap: 12px; }
.scene-top .code { font-size: 40px; line-height: 1; }
.scene p { color: var(--marine); }
.scene .link { justify-self: start; font-size: 15px; }
.scene:hover .link { background-size: 0 2px; background-position: 100% 100%; }
.after { margin-top: 28px; }

/* Derniers articles : rail horizontal */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--acier) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--acier); border-radius: 3px; }
.rail a {
  min-width: 0; scroll-snap-align: start; text-decoration: none;
  display: grid; grid-template-rows: auto auto 1fr; gap: 10px;
  padding: 22px 24px 26px 0;
}
.rail a + a { padding-left: 24px; border-left: 1px solid var(--rule); }
.rail .plate { aspect-ratio: 16 / 9; display: flex; align-items: center; padding: 8% 10%; margin-bottom: 6px; }
.rail .h-item { font-size: 22px; }
.rail-top { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--marine); }

/* Calendrier : fond sombre */
.calendar { background: var(--nuit); color: var(--ivoire); }
.calendar .dek { color: var(--acier); }
.fixtures { list-style: none; }
.fixtures > li { border-bottom: 1px solid var(--rule-dark); }
.fixture {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) 200px 90px 130px;
  gap: 20px; align-items: center; padding: 22px 0; text-decoration: none;
}
.f-date { font-family: var(--f-display); font-weight: 900; font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.f-date small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 13px; color: var(--acier); }
.fixture .h-item { font-size: 23px; }
.f-sub { display: block; font-size: 16px; color: var(--acier); margin-top: 4px; }
.f-place { font-size: 14px; color: var(--acier); }
.f-place .code { color: var(--ivoire); margin-right: 6px; }
.f-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--acier);
}
.f-status[data-state="live"] { color: var(--mauve); }
.f-status[data-state="live"]::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mauve); }
.sub-head { font-weight: 700; font-size: 26px; margin: 56px 0 6px; }
.sub-dek { color: var(--acier); font-size: 16px; margin-bottom: 18px; max-width: 70ch; }
.leagues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; }
.leagues a { display: grid; gap: 6px; padding: 20px 24px 22px 0; text-decoration: none; }
.leagues li + li a { padding-left: 24px; border-left: 1px solid var(--rule-dark); }
.leagues .h-item { font-size: 22px; }
.calendar .meta { color: var(--acier); }
.calendar .tag { color: var(--acier); }
.calendar .after .link { color: var(--ivoire); }

/* Formats */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.format { display: grid; gap: 14px; align-content: start; }
.format .plate { aspect-ratio: 16 / 10; display: flex; align-items: center; padding: 9% 10%; }
.format p { color: var(--marine); }
.format .links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; }

/* Pour aller plus loin */
.paths { list-style: none; }
.paths a {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) auto; gap: 24px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--rule); text-decoration: none;
}
.paths .h-item { font-size: 30px; font-weight: 900; }
.paths p { font-size: 17px; color: var(--marine); }
.paths .go { font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: .07em; text-transform: uppercase; color: var(--mauve-dk); white-space: nowrap; }

/* Newsletter : produit éditorial, fond secondaire */
.briefing { background: var(--marine); color: var(--ivoire); }
.briefing .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; padding-top: 72px; padding-bottom: 72px; }
.briefing .dek { color: var(--ivoire); }
.issue { list-style: none; margin-top: 28px; }
.issue li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule-dark); }
.issue strong { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.2; text-transform: uppercase; color: var(--mauve); }
.issue span { color: var(--ivoire); }
.signup { align-self: center; background: var(--nuit); border-radius: var(--r-m); padding: 32px; border-top: 3px solid var(--mauve); }
.signup label { display: block; font-weight: 600; margin-bottom: 8px; }
.signup .row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input {
  flex: 1 1 220px; min-height: 48px; padding: 0 14px;
  border: 1.5px solid var(--acier); border-radius: var(--r-s); background: var(--white); color: var(--nuit);
}
.signup input::placeholder { color: var(--marine); opacity: .7; }
.signup input:focus-visible { border-color: var(--mauve); }
.signup input[aria-invalid="true"] { border-color: var(--mauve); border-width: 3px; }
.signup .hint { font-size: 13px; color: var(--acier); margin-top: 12px; }
.signup .msg { font-size: 14px; margin-top: 12px; min-height: 1.4em; }
.signup .msg.err { color: var(--mauve); font-weight: 600; }

/* Pied de page : logo version fond sombre */
.footer { background: var(--nuit); color: var(--acier); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { width: 240px; }
.footer-logo img { display: block; width: 100%; height: auto; } /* PNG détouré pour fond sombre (Q27) */
.footer p { margin-top: 12px; max-width: 32ch; }
.footer h2 { font-family: var(--f-display); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ivoire); margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 4px; }
.footer ul a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer ul a:hover { color: var(--mauve); }
.footer-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--rule-dark); font-size: 13px; }

/* =========================================================
   Page Countries (countries.html)
   ========================================================= */
.page-head { background: var(--nuit); color: var(--white); }
.page-head .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: end;
  padding-top: 64px; padding-bottom: 52px;
}
.page-head .dek { margin-top: 0; }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; font-size: 16px; }
.page-head .link { color: var(--ivoire); }

/* Annuaire */
.directory { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.directory-map { position: sticky; top: 96px; background: var(--nuit); color: var(--ivoire); border-radius: var(--r-m); padding: 28px; border-top: 3px solid var(--mauve); }
.directory-map .map-foot { border-top-color: var(--rule-dark); }
.directory-map .legend { color: var(--acier); }
/* Carte géographique (countries.html, _build/build_geomap.py) et sélecteur Map / Tiles */
.map-switch { display: none; }
.js .map-switch { display: inline-flex; gap: 2px; margin-bottom: 18px; padding: 3px; border-radius: var(--r-s); background: rgba(240,238,232,.08); }
.map-switch button {
  font: 600 15px/1 var(--f-body); color: var(--acier); background: none; border: 0; border-radius: 4px;
  padding: 9px 16px; min-height: 36px; cursor: pointer; transition: background .2s, color .2s;
}
.map-switch button:hover { color: var(--ivoire); }
.map-switch button[aria-pressed="true"] { background: var(--ivoire); color: var(--nuit); }
.map-switch button:focus-visible { outline: 2px solid var(--mauve); outline-offset: 2px; }
.geomap { display: block; width: 100%; height: auto; }
.geomap + .map-foot, .tilemap + .geomap { margin-top: 18px; }
[data-view="geo"] .tilemap, [data-view="tiles"] .geomap { display: none; }
.geo-other path { fill: none; stroke: rgba(122,144,168,.32); stroke-width: .6; stroke-linejoin: round; }
.geo-country { cursor: pointer; outline: none; }
.geo-country path, .geo-marker { stroke: var(--nuit); stroke-width: .8; stroke-linejoin: round; transition: fill .2s; }
.geo-country[data-tier="1"] path, .geo-country[data-tier="1"] .geo-marker { fill: var(--mauve); }
.geo-country[data-tier="2"] path, .geo-country[data-tier="2"] .geo-marker { fill: var(--acier); }
.geo-country[data-tier="3"] path, .geo-country[data-tier="3"] .geo-marker { fill: var(--marine); }
.geo-country[data-tier="3"] path { stroke: rgba(122,144,168,.6); }
.geo-marker { stroke: var(--ivoire); stroke-width: 1.5; }
.geo-country:hover path, .geo-country:focus-visible path, .geo-country.is-on path,
.geo-country:hover .geo-marker, .geo-country:focus-visible .geo-marker, .geo-country.is-on .geo-marker { fill: var(--ivoire); }
.geo-country:focus-visible path { stroke: var(--mauve); stroke-width: 2; }
/* « Go to a country » sous la carte de la homepage, téléphone seulement (sans JavaScript) */
.goto { display: none; }
.goto summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 44px;
  font: 600 15px/1.2 var(--f-body); color: var(--ivoire); cursor: pointer; list-style: none;
}
.goto summary::-webkit-details-marker { display: none; }
.goto summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--mauve); }
.goto[open] summary::after { content: "−"; }
.goto summary:focus-visible, .goto a:focus-visible { outline: 2px solid var(--mauve); outline-offset: 2px; }
.goto ul { list-style: none; columns: 2; column-gap: 18px; padding-bottom: 6px; }
.goto a {
  display: flex; align-items: center; min-height: 44px; break-inside: avoid;
  font-size: 15px; color: var(--ivoire); text-decoration: none; border-bottom: 1px solid var(--rule-dark);
}
@media (max-width: 720px) {
  .goto { display: block; margin-top: 14px; border-top: 1px solid var(--rule-dark); }
}
.tier-block + .tier-block { margin-top: 40px; }
.tier-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.tier-title i { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }
.dir-list { list-style: none; }
.dir-row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  min-height: 48px; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--rule); text-decoration: none;
  transition: background-color .15s, padding-left .2s var(--ease);
}
.dir-row .code { color: var(--mauve-dk); }
.dir-name { font-weight: 500; }
.dir-fed { font-size: 13px; line-height: 1.3; color: var(--marine); text-align: right; max-width: 34ch; }
@media (max-width: 720px) {
  .dir-row { row-gap: 2px; }
  .dir-fed { grid-column: 2 / -1; text-align: left; max-width: none; }
}
.dir-row:hover, .dir-row.is-on { background: var(--ivoire); padding-left: 8px; }
.dir-row:hover .dir-name, .dir-row.is-on .dir-name { text-decoration: underline; text-decoration-color: var(--mauve); text-decoration-thickness: 2px; }

/* Radar */
.radar, .also { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.also { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.radar-item { display: grid; gap: 10px; align-content: start; padding: 28px 0 30px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.radar-top { display: flex; align-items: center; gap: 12px; }
.radar-top .code { font-size: 34px; line-height: 1; }
.radar-item p { color: var(--marine); }
.radar-item .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.radar-item .meta > * + * { margin-left: 0; }
.radar-item abbr { text-decoration: none; margin-left: 6px; }
.note {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: baseline;
  margin: 44px 0 0; padding: 32px; background: var(--nuit); color: var(--ivoire);
  border-radius: var(--r-m); border-top: 3px solid var(--mauve);
}
.note .h-item { font-size: 28px; font-weight: 900; }
.note p { font-size: 17px; color: var(--acier); }
.sub-title { font-weight: 700; font-size: 26px; margin: 56px 0 14px; }
.disclaimer { margin-top: 28px; font-size: 13px; color: var(--marine); }

/* Help us cover Europe */
.asks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.asks li { padding: 22px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; }
.asks p { color: var(--marine); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  /* Menu mobile dès 1100 px : avec le lien Search (Q16), 7 liens et le bouton ne tiennent plus sur une ligne en dessous */
  .nav, .masthead .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .masthead.open .nav {
    display: flex; flex-direction: column; position: fixed; inset: 75px 0 0 0;
    background: var(--ivoire); padding: 16px var(--gut); gap: 0; overflow-y: auto; overscroll-behavior: contain;
  }
  .masthead.open .nav a {
    font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 22px;
    padding: 14px 0; border-bottom: 1px solid var(--rule); border-radius: 0; color: var(--nuit);
  }
  .fixture { grid-template-columns: 130px minmax(0, 1fr) 170px 80px; }
  .fixture .f-status { grid-column: 2 / -1; }
}
@media (max-width: 960px) {
  .hero .wrap, .top, .briefing .wrap, .page-head .wrap, .directory { grid-template-columns: 1fr; gap: 40px; }
  .directory-map { position: static; padding: 18px; }
  .scenes, .scenes.four, .formats, .leagues, .radar, .also, .asks { grid-template-columns: 1fr; }
  .scene, .scene + .scene { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .leagues a, .leagues li + li a { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--rule-dark); }
  .formats { gap: 44px; }
  .note { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --gut: 16px; }
  .section { padding: 56px 0; }
  .hero .wrap { padding-top: 44px; padding-bottom: 44px; }
  .page-head .wrap { padding-top: 40px; padding-bottom: 36px; }
  .dek { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .tilemap { gap: 3px; }
  .rail { grid-auto-columns: 78%; }
  .fixture { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .fixture .f-status { grid-column: auto; }
  .paths a { grid-template-columns: 1fr; gap: 6px; }
  .issue li { grid-template-columns: 1fr; gap: 2px; }
  .signup { padding: 24px 18px; }
  .signup .btn { flex: 1 1 100%; }
  .note { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 18px; }
  .brand-mark { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   Fiches pays (countries/country-*.html), générées par _build/migrate_countries.py
   ========================================================= */
.crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 14px; color: var(--acier); }
.crumbs .code { color: var(--mauve); }
.country-head .wrap { align-items: start; }
.country-head .dek { margin-top: 22px; }
.glance { background: var(--marine); border-radius: var(--r-m); border-top: 3px solid var(--mauve); padding: 24px 26px; color: var(--ivoire); }
.glance .kind { color: var(--ivoire); margin-bottom: 8px; }
.glance dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule-dark); align-items: center; }
.glance dt { font-size: 13px; color: var(--sur-marine); }
.glance dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 500; }
.glance dd .tag { color: var(--ivoire); }
.glance dd .code { color: var(--sur-marine); }
.fed-logo { width: 40px; height: 40px; object-fit: contain; background: var(--white); border-radius: var(--r-s); padding: 3px; margin-right: 6px; }
.glance-why { margin-top: 14px; font-size: 16px; color: var(--ivoire); }
.glance-why strong { color: var(--ivoire); font-weight: 700; }
.insight { background: var(--marine); color: var(--ivoire); border-top: 1px solid var(--rule-dark); }
.insight .wrap { padding-top: 26px; padding-bottom: 26px; }
.insight .kind { color: var(--ivoire); }
.insight-main { font-size: 19px; max-width: 62ch; margin-top: 4px; }
.insight-sub { font-size: 16px; color: var(--sur-marine); margin-top: 6px; }

.country-head ~ .section .h-section { margin-bottom: 26px; }
.country-head ~ .section p + p { margin-top: 14px; }
.country-head ~ .section .btn { margin-top: 22px; }
.cf-intro { color: var(--marine); max-width: 68ch; margin-bottom: 22px; }
.cf-split, .overview-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 52px; align-items: start; }
.cf-grid, .teams-grid, .wf-grid, .why-follow-grid, .related-grid { display: grid; gap: 20px; }
.cf-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cf-grid-3, .teams-grid, .wf-grid, .why-follow-grid, .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Faits clés */
.cf-facts, .key-facts-box, .cf-box { background: var(--white); border-radius: var(--r-m); border-top: 3px solid var(--mauve); padding: 22px 24px; }
.on-white .cf-facts, .on-white .key-facts-box, .on-white .cf-box { background: var(--ivoire); }
.cf-facts .kind, .kf-title { margin-bottom: 10px; }
.cf-facts-list, .kf-list { display: grid; gap: 8px; list-style: none; }
.cf-fact, .kf-list li { display: flex; gap: 10px; align-items: baseline; }
.cf-fact::before, .kf-list li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--mauve); transform: translateY(-1px); }
.cf-fact span, .kf-list li { color: var(--nuit); }

/* Équipes nationales */
.cf-team, .team-card, .team-card-dk { background: var(--nuit); color: var(--ivoire); border-radius: var(--r-m); border-top: 3px solid var(--mauve); padding: 22px 24px; display: grid; gap: 6px; align-content: start; }
.cf-team .kind, .team-card .kind, .tc-label { color: var(--mauve); font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.cf-team .h-item, .tc-title { color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1; }
.cf-team p:not(.kind):not(.h-item), .tc-desc { color: var(--acier); font-size: 16px; }
.country-head ~ .section .cf-team p + p { margin-top: 0; }
.cf-team-mauve { background: var(--mauve); color: var(--nuit); }
.cf-team-mauve .kind, .cf-team-mauve .h-item, .cf-team-mauve p:not(.kind):not(.h-item) { color: var(--nuit); }

/* Clubs */
.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); border-top: 3px solid var(--mauve); }
.club-card { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 2px; align-content: start; }
.club-name { font-family: var(--f-display); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1.05; }
.club-city { font-size: 14px; color: var(--marine); }
.country-head ~ .section .club-card p + p { margin-top: 2px; }
.club-fmt { justify-self: start; margin-top: 6px; font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mauve-dk); }

/* Frise */
.timeline { border-left: 3px solid var(--mauve); padding-left: 24px; display: grid; gap: 20px; }
.tl-item { position: relative; }
.tl-dot { position: absolute; left: -33px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--nuit); border: 3px solid var(--mauve); }
.tl-year { font-family: var(--f-display); font-weight: 900; font-size: 22px; color: var(--mauve-dk); line-height: 1; }
.tl-title { font-family: var(--f-display); font-weight: 700; font-size: 19px; text-transform: uppercase; margin-top: 4px; }
.tl-desc { color: var(--marine); font-size: 16px; }
.country-head ~ .section .tl-item p + p { margin-top: 2px; }

/* Pourquoi suivre */
.wf-card { padding: 20px 0 0; border-top: 3px solid var(--mauve); display: grid; gap: 8px; align-content: start; }
.wf-title { font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.wf-desc { color: var(--marine); }
.country-head ~ .section .wf-card p + p { margin-top: 0; }

/* Scènes liées et contenus FTL */
.related-card { text-decoration: none; display: grid; gap: 6px; align-content: start; padding: 18px 0; border-top: 3px solid var(--mauve); }
.rc-type { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--mauve-dk); }
.rc-title { font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.rc-meta { font-size: 14px; color: var(--marine); }
.related-card:hover .rc-title, .cf-coverage a:hover .h-item { color: var(--mauve-dk); }
.country-head ~ .section .related-card p + p { margin-top: 0; }
.cf-coverage { list-style: none; border-top: 3px solid var(--mauve); }
.cf-coverage a { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.cf-actions { display: flex; flex-wrap: wrap; gap: 12px 28px; }

@media (max-width: 960px) {
  .cf-split, .overview-grid, .cf-grid-2, .cf-grid-3, .teams-grid, .wf-grid, .why-follow-grid, .related-grid { grid-template-columns: 1fr; }
  .cf-split, .overview-grid { gap: 40px; }
}
@media (max-width: 720px) {
  .glance { padding: 20px 18px; }
  .glance dl > div { grid-template-columns: 100px minmax(0, 1fr); }
  .club-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Articles (articles/*.html), générés par _build/migrate_articles.py
   ========================================================= */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--mauve); transform-origin: 0 50%; transform: scaleX(0); }

.art-head { background: var(--nuit); color: var(--white); }
.art-head .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: end; padding-top: 56px; padding-bottom: 52px; }
.art-head .crumbs .kind { color: var(--mauve); }
.art-head .h-display { font-size: clamp(38px, 4.6vw, 64px); }
.art-head .dek { color: var(--acier); margin-top: 20px; font-size: 19px; }
.art-head .link { color: var(--ivoire); }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 24px; font-size: 14px; color: var(--acier); font-variant-numeric: tabular-nums; }
.byline .by { color: var(--ivoire); font-weight: 600; }
.art-plate { aspect-ratio: 16 / 10; display: flex; align-items: center; padding: 8% 9%; background: var(--marine); }

.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; padding-top: 56px; padding-bottom: 72px; }
.art-main { min-width: 0; }

/* Texte de lecture */
.prose { max-width: 68ch; font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 20px; }
.prose .lede { font-size: 21px; line-height: 1.6; color: var(--marine); font-weight: 500; }
.prose h2 { font-family: var(--f-display); font-weight: 900; font-size: 30px; line-height: 1; text-transform: uppercase; text-wrap: balance; margin-top: 44px; }
.prose h3 { font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.prose strong { font-weight: 600; }
.prose a { color: var(--mauve-dk); text-decoration: underline; text-decoration-color: var(--mauve); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--nuit); }
.prose ul { list-style: none; border-top: 3px solid var(--mauve); }
.prose ul li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.prose ul li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--mauve); transform: translateY(-2px); }
.pull { margin: 36px 0; padding-top: 18px; border-top: 3px solid var(--mauve); }
.pull p { font-family: var(--f-display); font-weight: 900; font-size: clamp(26px, 3vw, 36px); line-height: 1; text-transform: uppercase; color: var(--nuit); text-wrap: balance; }
.pull cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; color: var(--marine); }
.why, .context { border-radius: var(--r-m); border-top: 3px solid var(--mauve); padding: 24px 26px; }
.why { background: var(--nuit); color: var(--ivoire); }
.why .kind { color: var(--mauve); }
.why h3 { color: var(--white); margin-top: 8px; }
.why p:not(.kind) { color: var(--acier); font-size: 16px; margin-top: 10px; }
.context { background: var(--white); }
.context h3 { margin-top: 8px; }
.context p:not(.kind) { font-size: 16px; color: var(--marine); margin-top: 10px; }
/* Photos créditées (Q1) : en-tête d'article, vignettes de liste, pages de tournoi */
.art-photo { margin: 0; max-width: 720px; } /* photos fournies en basse définition : pas d'agrandissement */
.art-photo img, .photo img { display: block; width: 100%; height: auto; border-radius: var(--r-m); }
.art-photo img { aspect-ratio: 16 / 10; object-fit: cover; }
.art-photo figcaption { margin-top: 8px; font-size: 13px; color: var(--acier); }
.photo { margin: 28px 0 0; }
.photo figcaption { margin-top: 8px; font-size: 13px; color: var(--marine); }
.photo-portrait { max-width: 340px; }
.plate.has-photo, .art-row .plate.has-photo, .lead .plate.has-photo { padding: 0; overflow: hidden; }
.plate.has-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Sources en ligne et tableaux de données (brouillons pilotes 04-06) */
.prose .src { font-size: 14px; color: var(--marine); white-space: normal; }
.prose .src a { text-decoration-thickness: 1px; }
.why .src, .why .src a { color: var(--ivoire); }
.table-scroll { overflow-x: auto; border-top: 3px solid var(--mauve); }
.data { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.data th { text-align: left; font-weight: 600; color: var(--nuit); padding: 12px 14px 10px 0; border-bottom: 1px solid var(--nuit); vertical-align: bottom; }
.data td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); color: var(--marine); vertical-align: top; }
.data td:first-child { color: var(--nuit); font-weight: 500; }
.prose .rules { margin-top: 28px; }

/* Fin d'article */
.art-end { max-width: 68ch; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rule); display: grid; gap: 18px; justify-items: start; }
.topics ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.topics .tag { color: var(--marine); }
.copy-msg { font-size: 14px; color: var(--marine); min-height: 1.3em; }
.story-path, .more { margin-top: 56px; }
.story-path .h-section, .more .h-section { font-size: 32px; margin-bottom: 18px; }
.story-path ol { list-style: none; counter-reset: step; border-top: 3px solid var(--mauve); }
.story-path li { counter-increment: step; border-bottom: 1px solid var(--rule); }
.story-path li > a, .story-path li[aria-current] { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px 0; text-decoration: none; }
.story-path li > a::before, .story-path li[aria-current]::before {
  content: counter(step); grid-row: span 3; font-family: var(--f-display); font-weight: 900; font-size: 30px; line-height: 1; color: var(--mauve-dk);
}
.story-path li[aria-current]::before { color: var(--nuit); }
.story-path p { color: var(--marine); font-size: 16px; }
.story-path a:hover .h-item, .more a:hover .h-item { color: var(--mauve-dk); }
.more ul { list-style: none; border-top: 3px solid var(--mauve); display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 28px; }
.more a { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rule); text-decoration: none; height: 100%; }
.react { margin-top: 56px; padding: 26px 28px; background: var(--white); border-radius: var(--r-m); border-top: 3px solid var(--mauve); display: grid; gap: 10px; justify-items: start; }
.react p { color: var(--marine); }

/* Colonne latérale */
.art-side { position: sticky; top: 96px; display: grid; gap: 22px; }
.art-info, .art-sources { background: var(--white); border-radius: var(--r-m); border-top: 3px solid var(--mauve); padding: 20px 22px; }
.art-info dl > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.art-info dl > div:last-child { border-bottom: 0; }
.art-info dt { font-size: 13px; color: var(--marine); }
.art-info dd { display: flex; flex-wrap: wrap; gap: 6px; font-weight: 500; }
.art-info .tag { color: var(--mauve-dk); }
.art-sources ul { list-style: none; display: grid; gap: 10px; margin-top: 10px; font-size: 14px; }
.art-info .kind, .art-sources .kind { margin-bottom: 4px; }
.art-facts dl > div { grid-template-columns: 1fr; gap: 2px; }
.art-side:has(.art-facts) { position: static; } /* colonne trop haute pour rester collée à l'écran */

@media (max-width: 960px) {
  .art-head .wrap, .art-layout { grid-template-columns: 1fr; gap: 36px; }
  .art-plate { display: none; }
  .art-side { position: static; }
}
@media (max-width: 720px) {
  .art-head .wrap { padding-top: 36px; padding-bottom: 36px; }
  .prose { font-size: 17px; }
  .prose .lede { font-size: 19px; }
  .art-layout { padding-top: 36px; }
  .react { padding: 22px 18px; }
}

/* =========================================================
   Page liste des articles (articles.html), générée par _build/build_articles_index.py
   ========================================================= */
.featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.featured .lead .plate { aspect-ratio: 16 / 7; }
/* Nombre impair d'articles à la une (Q42) : le premier occupe toute la largeur, image à gauche et texte
   à droite, pour ne pas agrandir une photo fournie en basse définition. */
.featured .lead:first-child:nth-last-child(odd) {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 40px; align-content: start;
}
.featured .lead:first-child:nth-last-child(odd) .plate { grid-row: 1 / span 4; margin: 0; }
.featured .lead h3 { font-size: clamp(28px, 2.8vw, 40px); }
.featured .meta, .art-list .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.featured .meta > * + *, .art-list .meta > * + * { margin-left: 0; }
.featured .tag, .art-list .tag { color: var(--marine); }

/* Filtres */
.filters { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; align-items: end; padding: 20px 22px; background: var(--white); border-radius: var(--r-m); border-top: 3px solid var(--mauve); }
.f-field { display: grid; gap: 6px; min-width: 0; }
.f-field label, .f-label { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--marine); }
.filters input, .filters select {
  min-height: 44px; width: 100%; padding: 0 12px;
  border: 1.5px solid var(--acier); border-radius: var(--r-s);
  background: var(--white); color: var(--nuit);
}
.filters input::placeholder { color: var(--marine); opacity: .7; }
.filters input:focus-visible, .filters select:focus-visible { border-color: var(--mauve-dk); }
.f-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.f-pills button {
  min-height: 44px; padding: 0 16px; cursor: pointer;
  font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: .07em; text-transform: uppercase;
  background: var(--white); color: var(--nuit); border: 1.5px solid var(--acier); border-radius: var(--r-s);
  transition: background-color .15s, border-color .15s, color .15s;
}
.f-pills button:hover { border-color: var(--mauve-dk); }
.f-pills button[aria-pressed="true"] { background: var(--nuit); border-color: var(--nuit); color: var(--white); }
.f-count { margin: 18px 0 8px; font-size: 14px; color: var(--marine); font-variant-numeric: tabular-nums; }

/* Liste */
.art-list { list-style: none; border-top: 3px solid var(--mauve); }
.art-list li { border-bottom: 1px solid var(--rule); }
.art-list li[hidden] { display: none; }
.art-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; padding: 22px 0; text-decoration: none; }
.art-row .plate { aspect-ratio: 16 / 9; display: flex; align-items: center; padding: 8% 10%; }
.art-row .h-item { font-size: 26px; margin-top: 6px; }
.art-row:hover .h-item { color: var(--mauve-dk); }
.row-dek { color: var(--marine); margin-top: 8px; max-width: 70ch; }
.row-by { font-size: 13px; color: var(--marine); margin-top: 8px; }
.f-empty { padding: 32px 0; display: grid; gap: 14px; justify-items: start; }
/* Recherche (search.html, Q16) */
.search-form { grid-template-columns: minmax(0, 1fr) auto; }
.search-results { list-style: none; border-top: 3px solid var(--mauve); }
.search-results:empty { border-top: 0; }
.search-results li { border-bottom: 1px solid var(--rule); }
.search-row { display: grid; gap: 4px; padding: 18px 0; text-decoration: none; }
.search-row .kind { color: var(--mauve-dk); }
.search-row:hover .h-item { color: var(--mauve-dk); }
.search-empty[hidden] { display: none; }
.on-white .search-empty { background: var(--ivoire); }
.f-empty[hidden] { display: none; }

@media (max-width: 960px) {
  .featured { grid-template-columns: 1fr; gap: 40px; }
  .featured .lead:first-child:nth-last-child(odd) { display: block; }
  .filters { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .art-row { grid-template-columns: 1fr; gap: 12px; }
  .art-row .plate { display: none; }
  .art-row .h-item { font-size: 23px; }
  .filters { padding: 16px; }
}

/* =========================================================
   Tournois (tournaments.html, tournament-*.html)
   ========================================================= */
/* Calendrier sur fond clair : mêmes lignes que la bande sombre */
.t-light .fixtures > li { border-bottom-color: var(--rule); }
.t-light .f-date small, .t-light .f-sub, .t-light .f-place { color: var(--marine); }
.t-light .f-place .code { color: var(--nuit); }
.t-light .f-status { color: var(--marine); }
.t-light .f-status[data-state="live"] { color: var(--mauve-dk); }
.t-light .tag { color: var(--marine); }
.t-light a.fixture:hover .h-item { color: var(--mauve-dk); }
.calendar div.fixture:hover .h-item, .t-light div.fixture:hover .h-item { color: inherit; }
.t-light .sub-title { margin-top: 56px; }

/* Pages tournoi */
.t-when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 22px; color: var(--acier); font-size: 16px; }
.t-when .code { color: var(--ivoire); }
.t-block .h-section { margin-bottom: 20px; }
.t-block .prose { max-width: 72ch; }
.t-links { list-style: none; border-top: 3px solid var(--mauve); }
.t-links a { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.t-links a:hover .h-item { color: var(--mauve-dk); }
.prose .t-links li { display: block; padding: 0; border: 0; font-size: inherit; }
.prose .t-links li::before, .prose .dir-list li::before { content: none; }
.prose .dir-list { border-top: 3px solid var(--mauve); }
.prose .dir-list li { display: block; padding: 0; border: 0; }

/* =========================================================
   What's Lacrosse? (whats-lacrosse.html)
   ========================================================= */
.wl-prose { margin-top: 22px; }
.wl-prose a { color: var(--mauve-dk); }

/* Les trois formats */
.fmt { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; padding: 40px 0; border-top: 3px solid var(--mauve); }
.fmt + .fmt { margin-top: 24px; }
.fmt-side { display: grid; gap: 10px; align-content: start; }
.fmt-side .plate { aspect-ratio: 16 / 10; display: flex; align-items: center; padding: 9% 10%; margin-bottom: 8px; }
.fmt-read { font-family: var(--f-display); font-weight: 700; font-size: 18px; text-transform: uppercase; color: var(--mauve-dk); line-height: 1.1; }
.fmt-text { font-size: 18px; color: var(--marine); max-width: 68ch; }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 22px; border-top: 1px solid var(--rule); }
.rules > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.rules dt { font-family: var(--f-display); font-weight: 900; font-size: 24px; line-height: 1; color: var(--nuit); font-variant-numeric: tabular-nums; }
.rules dd { font-size: 16px; color: var(--marine); }
.rules strong { color: var(--nuit); font-weight: 600; }
.fmt-countries { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-top: 22px; }

/* Qui gouverne */
.bodies { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.body-item { background: var(--white); border-radius: var(--r-m); border-top: 3px solid var(--mauve); padding: 22px; display: grid; gap: 6px; align-content: start; }
.body-item p:not([class]) { color: var(--marine); font-size: 16px; margin-top: 4px; }
.body-acr { font-family: var(--f-display); font-weight: 900; font-size: 34px; line-height: 1; color: var(--mauve-dk); }
.body-main { background: var(--nuit); color: var(--ivoire); }
.body-main .body-acr, .body-main .kind { color: var(--mauve); }
.body-main p:last-child { color: var(--acier); }

/* Trois paliers */
.tiers { list-style: none; border-top: 3px solid var(--mauve); }
.tiers > li { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 1fr); gap: 12px 40px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.tier-name { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 6px 10px; align-items: center; }
.tier-name i { width: 16px; height: 16px; border-radius: 3px; }
.tier-name .meta { grid-column: 2; }
.tiers p { color: var(--marine); }
.tiers .tier-def { color: var(--nuit); font-weight: 500; }
.tiers .fmt-countries { grid-column: 2 / -1; margin-top: 0; }

@media (max-width: 960px) {
  .fmt { grid-template-columns: 1fr; gap: 24px; }
  .fmt-side .plate { max-width: 360px; }
  .bodies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers > li { grid-template-columns: 1fr; }
  .tiers .fmt-countries { grid-column: auto; }
}
@media (max-width: 720px) {
  .rules { grid-template-columns: 1fr; }
  .rules > div { grid-template-columns: 90px minmax(0, 1fr); }
  .bodies { grid-template-columns: 1fr; }
  .fmt-text { font-size: 17px; }
}

/* Liens d'accès rapide : cible tactile de 44 px (correctif lot 8, toutes pages) */
.jump { gap: 0 28px; }
.jump a { display: inline-block; padding: 12px 0; background-position: 0 calc(100% - 9px); }
.jump a:hover { background-position: 100% calc(100% - 9px); }

/* =========================================================
   Contenus de démonstration (voir _build/content_status.py)
   ========================================================= */
.demo-note { background: var(--mauve); color: var(--nuit); }
.demo-note .wrap { padding-top: 12px; padding-bottom: 12px; font-size: 14px; }
.demo-note strong { font-weight: 700; }
.tag.tag-demo { background: var(--mauve); border-color: var(--mauve); color: var(--nuit); }
.calendar .tag.tag-demo, .t-light .tag.tag-demo, .art-list .tag.tag-demo, .featured .tag.tag-demo { color: var(--nuit); }

/* =========================================================
   Interviews (interviews.html, interview-*.html)
   ========================================================= */
.art-head .iv-role { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: var(--mauve); margin-top: 14px; }
.iv-prose .qa { padding-top: 22px; border-top: 3px solid var(--mauve); }
.iv-prose .qa + .qa { margin-top: 36px; }
.iv-prose .qa-q { font-family: var(--f-body); font-weight: 600; font-size: 20px; line-height: 1.45; text-transform: none; margin-top: 0; color: var(--nuit); }
.iv-prose .qa p { margin-top: 14px; }

.iv-list { list-style: none; border-top: 3px solid var(--mauve); }
.iv-list li { border-bottom: 1px solid var(--rule); }
.iv-row { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 32px; padding: 22px 0; text-decoration: none; align-items: start; }
.iv-name { display: grid; gap: 4px; }
.iv-name .h-item { font-size: 28px; font-weight: 900; }
.iv-name .iv-role { font-size: 14px; color: var(--marine); }
.iv-body { display: grid; gap: 8px; }
.iv-body .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.iv-body .meta > * + * { margin-left: 0; }
.iv-excerpt { color: var(--marine); max-width: 70ch; }
.iv-row:hover .h-item { color: var(--mauve-dk); }

@media (max-width: 720px) {
  .iv-row { grid-template-columns: 1fr; gap: 10px; }
  .iv-prose .qa-q { font-size: 18px; }
}

/* =========================================================
   About, Follow, Services
   ========================================================= */
/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.contact-reasons { border-top-color: var(--mauve); }
.contact-reasons li { border-bottom-color: var(--rule); }
.contact-reasons strong { color: var(--mauve-dk); }
.contact-reasons span { color: var(--marine); }
.contact-form { background: var(--white); color: var(--nuit); display: grid; gap: 16px; }
.contact-form .f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; font: inherit;
  border: 1.5px solid var(--acier); border-radius: var(--r-s); background: var(--white); color: var(--nuit);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { border-color: var(--mauve-dk); }
.contact-form [aria-invalid="true"] { border-color: var(--mauve-dk); border-width: 3px; }
.contact-form .btn { justify-self: start; }
.contact-form .msg { margin-top: 0; }
.contact-form .msg.err { color: var(--mauve-dk); }

/* Plateformes */
.platforms { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 3px solid var(--mauve); }
.platforms li { display: grid; gap: 6px; align-content: start; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.platforms .code { color: var(--mauve-dk); }
.platforms p { color: var(--marine); }
.platforms .meta { color: var(--nuit); font-weight: 500; }

/* Services */
.paths.services li > div { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.sponsor-tiers > li { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.sponsor-tiers .tier-name { grid-template-columns: 1fr; }
.sponsor-tiers .tier-name .meta { grid-column: auto; }

@media (max-width: 960px) {
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .platforms { grid-template-columns: 1fr; }
  .sponsor-tiers > li { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .contact-form .f-row { grid-template-columns: 1fr; }
  .paths.services li > div { grid-template-columns: 1fr; gap: 6px; }
}
.p-handle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.platforms .p-handle .tag { color: var(--marine); }
.contact-direct { margin-top: 20px; color: var(--marine); }

/* Résultats récents d'une équipe nationale (fiche pays, _build/country_results.py) */
.results { margin-top: 8px; }
.results .sub-head { margin-top: 44px; }
.results ul { list-style: none; border-top: 3px solid var(--mauve); }
.results li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.results .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin-top: 4px; font-size: 14px; color: var(--marine); }
.results .r-body p { color: var(--marine); }
.results .r-body strong { color: var(--nuit); font-weight: 600; }
.results .src { margin-top: 6px; font-size: 14px; }
@media (max-width: 720px) { .results li { grid-template-columns: 1fr; } }
