/* Grands Lynx — « Feuille de match » */
@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/bigshoulders.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; }

:root {
  --encre: #041b47;
  --encre-2: #0b2a63;
  --papier: #f5f8fb;
  --blanc: #ffffff;
  --reglure: #cfe0ec;
  --reglure-forte: #9dbfd6;
  --glace: #4db3e0;
  --glace-texte: #0f6a96;
  --tampon: #a3122e;
  --tampon-fonce: #7f0c22;
  --or: #f4b31a;
  --texte: #0d1a33;
  --texte-doux: #3c4d6b;
  --sur-encre: #e8f0f8;
  --sur-encre-doux: #b9cbe2;

  --display: "Big Shoulders Display", "Archivo", sans-serif;
  --texte-f: "Archivo", system-ui, sans-serif;

  --pas: clamp(1rem, 0.6rem + 1.4vw, 1.5rem);
  --section: clamp(3.5rem, 2rem + 6vw, 7rem);
  --largeur: 78rem;
  --ligne: 1px solid var(--reglure);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--texte-f);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texte);
  background-color: var(--papier);
  /* réglure de la feuille */
  background-image: linear-gradient(to bottom, transparent calc(2rem - 1px), rgba(157, 191, 214, 0.22) calc(2rem - 1px));
  background-size: 100% 2rem;
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--glace-texte); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--encre); text-decoration-thickness: 2px; }
::selection { background: var(--or); color: var(--encre); }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
html { scrollbar-color: var(--reglure-forte) var(--papier); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.evitement { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--encre); color: var(--blanc); padding: 0.75rem 1rem; }
.evitement:focus { top: 1rem; }

.conteneur { width: min(100% - 2 * var(--pas), var(--largeur)); margin-inline: auto; }

/* ---------- Titres ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.95; letter-spacing: -0.005em; margin: 0; text-wrap: balance; color: var(--encre); }
h1 { font-size: clamp(3.25rem, 2rem + 6vw, 6rem); font-weight: 900; text-transform: uppercase; }
h2 { font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); text-transform: uppercase; }
h3 { font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); }
p { margin: 0 0 1em; max-width: 66ch; }
.chapo { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3rem); line-height: 1.5; color: var(--texte-doux); max-width: 56ch; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.35rem;
  font: 700 1.0625rem/1.1 var(--texte-f); font-stretch: 87%;
  text-decoration: none; border: 2px solid var(--tampon);
  background: var(--tampon); color: var(--blanc); cursor: pointer;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out;
}
.bouton:hover { background: var(--tampon-fonce); border-color: var(--tampon-fonce); color: var(--blanc); }
.bouton--ligne { background: transparent; color: var(--encre); border-color: var(--encre); }
.bouton--ligne:hover { background: var(--encre); color: var(--blanc); border-color: var(--encre); }
.sur-encre .bouton--ligne { color: var(--blanc); border-color: var(--sur-encre-doux); }
.sur-encre .bouton--ligne:hover { background: var(--blanc); color: var(--encre); border-color: var(--blanc); }
.bouton svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: var(--blanc); border-bottom: 3px double var(--reglure-forte); }
.entete__ligne { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.marque { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--encre); margin-right: auto; }
.marque img { width: 3.4rem; height: auto; }
.marque__nom { font-family: var(--display); font-weight: 900; font-size: 1.6rem; line-height: 0.9; text-transform: uppercase; }
.marque__lieu { display: block; font-family: var(--texte-f); font-weight: 600; font-size: 0.8rem; font-stretch: 75%; color: var(--texte-doux); letter-spacing: 0.01em; text-transform: none; margin-top: 0.2rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav a { display: block; padding: 0.55rem 0.7rem; font-weight: 650; font-stretch: 87%; color: var(--encre); text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--glace); }
.nav a[aria-current="page"] { border-bottom-color: var(--tampon); }
.entete .bouton { min-height: 2.75rem; padding-inline: 1.1rem; }
.menu-bouton { display: none; }

@media (max-width: 1060px) {
  .menu-bouton { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.9rem; background: transparent; border: 2px solid var(--encre); color: var(--encre); font: 700 1rem var(--texte-f); cursor: pointer; }
  .entete .bouton--inscrire { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--blanc); border-bottom: 3px double var(--reglure-forte); display: none; }
  .nav.ouvert { display: block; }
  .nav ul { flex-direction: column; padding: 0.5rem var(--pas) 1.25rem; }
  .nav a { padding: 0.85rem 0; border-bottom: var(--ligne); font-size: 1.15rem; }
  .nav li:last-child a { border-bottom: 0; }
  .nav .nav__inscrire { display: block; }
}
@media (min-width: 1061px) { .nav .nav__inscrire { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--blanc { background: var(--blanc); }
.sur-encre { background: var(--encre); color: var(--sur-encre); }
.sur-encre h1, .sur-encre h2, .sur-encre h3 { color: var(--blanc); }
.sur-encre a { color: var(--glace); }
.sur-encre a:hover { color: var(--blanc); }
.sur-encre .chapo { color: var(--sur-encre-doux); }
.tete-section { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 1rem + 2vw, 3rem); padding-bottom: 1rem; border-bottom: 3px double var(--reglure-forte); }
.sur-encre .tete-section { border-bottom-color: rgba(185, 203, 226, 0.35); }
.tete-section p { margin: 0; color: var(--texte-doux); }
.sur-encre .tete-section p { color: var(--sur-encre-doux); }

/* ---------- Cases de feuille ---------- */
.feuille { background: var(--blanc); border: 1px solid var(--reglure-forte); }
.cases { display: grid; }
.case { padding: 0.65rem 0.9rem 0.8rem; border-right: var(--ligne); border-bottom: var(--ligne); min-width: 0; }
.case__libelle { display: block; font-size: 0.78rem; font-stretch: 75%; font-weight: 600; color: var(--texte-doux); line-height: 1.2; margin-bottom: 0.25rem; }
.case__valeur { font-family: var(--display); font-weight: 800; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem); line-height: 1; color: var(--encre); font-variant-numeric: tabular-nums; }
.case__valeur--petit { font-family: var(--texte-f); font-size: 1rem; font-weight: 650; line-height: 1.35; }
.a-confirmer { font-family: var(--texte-f); font-style: italic; font-weight: 500; font-size: 0.95rem; color: var(--texte-doux); }

/* ---------- Tampon ---------- */
.tampon {
  display: inline-block; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: 1.6rem; line-height: 1; letter-spacing: 0.04em; color: var(--tampon);
  border: 3px solid currentColor; padding: 0.3rem 0.6rem 0.25rem; transform: rotate(-6deg);
  filter: url(#grain); mix-blend-mode: multiply; white-space: nowrap;
}
.tampon--defaite { color: var(--encre-2); }
.tampon--attente { color: var(--glace-texte); font-size: 1rem; }
.sur-encre .tampon { mix-blend-mode: normal; color: var(--or); }
.sur-encre .tampon--defaite { color: var(--sur-encre-doux); }

@media (prefers-reduced-motion: no-preference) {
  .tampon--frappe { animation: frappe 520ms cubic-bezier(0.16, 1, 0.3, 1) 700ms both; }
  @keyframes frappe {
    0% { opacity: 0; transform: rotate(-14deg) scale(1.9); filter: url(#grain) blur(2px); }
    60% { opacity: 1; transform: rotate(-5deg) scale(0.96); filter: url(#grain) blur(0); }
    100% { opacity: 1; transform: rotate(-6deg) scale(1); }
  }
}

/* ---------- Accueil : ouverture ---------- */
.ouverture { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); min-height: min(88vh, 54rem); border-bottom: 3px double var(--reglure-forte); }
.ouverture__photo { position: relative; margin: 0; background: var(--encre); overflow: hidden; }
.ouverture__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.ouverture__photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--blanc); color: var(--texte-doux); font-size: 0.8rem; font-stretch: 75%; font-weight: 600; padding: 0.4rem 0.75rem; border-top: 1px solid var(--reglure-forte); border-right: 1px solid var(--reglure-forte); }
.ouverture__texte { padding: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(1.25rem, 0.5rem + 3vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; }
.ouverture__texte h1 { font-size: clamp(3.5rem, 2rem + 6.5vw, 6rem); }
.ouverture__texte .chapo { margin: 0; color: var(--sur-encre); }

.trouveur { border: 1px solid rgba(185, 203, 226, 0.45); background: var(--encre-2); }
.trouveur__haut { display: grid; grid-template-columns: 1fr auto; align-items: end; }
.trouveur label { display: block; padding: 0.65rem 0.9rem 0; font-size: 0.85rem; font-stretch: 75%; font-weight: 600; color: var(--sur-encre-doux); }
.trouveur input {
  width: 100%; border: 0; background: transparent; color: var(--blanc);
  font: 800 2.4rem/1.1 var(--display); padding: 0.1rem 0.9rem 0.55rem; font-variant-numeric: tabular-nums;
}
.trouveur input::placeholder { color: rgba(185, 203, 226, 0.5); }
.trouveur input:focus-visible { outline: none; }
.trouveur:focus-within { outline: 3px solid var(--or); outline-offset: 2px; }
.trouveur button { height: 100%; min-height: 4.5rem; border-width: 0; }
.trouveur__resultat { border-top: 1px solid rgba(185, 203, 226, 0.35); }
.trouveur__resultat:empty { display: none; }
.trouveur__resultat ul { list-style: none; margin: 0; padding: 0; }
.trouveur__resultat li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.75rem; padding: 0.6rem 0.9rem; border-bottom: 1px solid rgba(185, 203, 226, 0.2); }
.trouveur__resultat li:last-child { border-bottom: 0; }
.trouveur__jour { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--blanc); line-height: 1.15; font-variant-numeric: tabular-nums; }
.trouveur__quoi { color: var(--sur-encre); font-size: 0.98rem; line-height: 1.4; }
.trouveur__quoi strong { color: var(--blanc); }
.trouveur__note { margin: 0; padding: 0.7rem 0.9rem; font-size: 0.95rem; color: var(--sur-encre); }
.trouveur__suite { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 0.9rem; border-top: 1px solid rgba(185, 203, 226, 0.2); }
.trouveur__suite .bouton { min-height: 2.75rem; padding-inline: 1rem; font-size: 1rem; }

/* ---------- Bande match ---------- */
.bande-match { background: var(--blanc); border-bottom: 1px solid var(--reglure-forte); }
.bande-match .cases { grid-template-columns: 1.3fr 1.3fr 1fr; }
.bande-match .case { padding: 1.1rem 1.25rem 1.3rem; border-bottom: 0; }
.bande-match .case:last-child { border-right: 0; }
.score-ligne { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 1rem; margin-top: 0.35rem; }
.score-ligne__equipes { font-family: var(--display); font-weight: 800; font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem); line-height: 1.05; color: var(--encre); }
.score-ligne__score { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 0.9; color: var(--encre); font-variant-numeric: tabular-nums; }
.bande-match .meta { display: block; margin-top: 0.4rem; color: var(--texte-doux); font-size: 0.95rem; }

/* ---------- Disciplines ---------- */
.disciplines { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--reglure-forte); background: var(--blanc); }
.discipline { display: grid; grid-template-rows: auto 1fr; }
.discipline + .discipline { border-left: 1px solid var(--reglure-forte); }
.discipline__photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--encre); margin: 0; }
.discipline__photo img { width: 100%; height: 100%; object-fit: cover; }
.discipline__corps { padding: clamp(1.25rem, 0.8rem + 1.5vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; }
.discipline__corps p { margin: 0; }
.groupes { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; border-top: var(--ligne); border-left: var(--ligne); }
.groupes li { border-right: var(--ligne); border-bottom: var(--ligne); padding: 0.4rem 0.75rem; font-weight: 650; font-stretch: 87%; font-size: 0.98rem; }
.discipline__corps .bouton { align-self: flex-start; margin-top: auto; }

/* ---------- Semaine ---------- */
.semaine { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--reglure-forte); background: var(--blanc); }
.semaine__jour { border-right: var(--ligne); min-width: 0; }
.semaine__jour:last-child { border-right: 0; }
.semaine__jour h3 { font-size: 1.6rem; padding: 0.75rem 0.9rem 0.6rem; border-bottom: 3px double var(--reglure-forte); text-transform: uppercase; }
.semaine__jour ol { list-style: none; margin: 0; padding: 0; }
.creneau { padding: 0.75rem 0.9rem 0.85rem; border-bottom: var(--ligne); }
.creneau:last-child { border-bottom: 0; }
.creneau__heure { font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1.1; color: var(--encre); font-variant-numeric: tabular-nums; }
.creneau__groupe { display: block; font-weight: 700; line-height: 1.25; margin-top: 0.15rem; }
.creneau__detail { display: block; font-size: 0.88rem; color: var(--texte-doux); line-height: 1.35; margin-top: 0.15rem; }
.creneau--loisirs { background: #eaf6fc; }
.creneau--loisirs .creneau__groupe::before { content: ""; display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--glace); margin-right: 0.4rem; vertical-align: 0.05em; }
.legende { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1rem; font-size: 0.95rem; color: var(--texte-doux); }
.legende span::before { content: ""; display: inline-block; width: 0.9rem; height: 0.9rem; margin-right: 0.45rem; vertical-align: -0.1em; border: 1px solid var(--reglure-forte); background: var(--blanc); }
.legende .l-loisirs::before { background: #eaf6fc; }
@media (max-width: 900px) {
  .semaine { grid-template-columns: 1fr; }
  .semaine__jour { border-right: 0; border-bottom: 1px solid var(--reglure-forte); }
  .semaine__jour:last-child { border-bottom: 0; }
}

/* ---------- Registre (listes datées) ---------- */
.registre { list-style: none; margin: 0; padding: 0; border-top: 3px double var(--reglure-forte); }
.registre > li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) auto; gap: 0.5rem 1.5rem; align-items: start; padding: 1.1rem 0; border-bottom: var(--ligne); }
.registre__date { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.1; color: var(--encre); font-variant-numeric: tabular-nums; }
.registre__titre { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.05; color: var(--encre); margin: 0 0 0.35rem; }
.registre__titre a { color: inherit; text-decoration: none; }
.registre__titre a:hover { text-decoration: underline; text-decoration-color: var(--glace); }
.registre p { margin: 0; color: var(--texte-doux); }
.registre__tag { font-size: 0.85rem; font-stretch: 75%; font-weight: 650; color: var(--glace-texte); border: 1px solid var(--reglure-forte); padding: 0.15rem 0.5rem; white-space: nowrap; }
@media (max-width: 640px) {
  .registre > li { grid-template-columns: 1fr; }
}

/* ---------- Partenaires ---------- */
.niveaux { display: grid; gap: 2.5rem; }
.niveau h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.niveau > p { color: var(--texte-doux); margin-bottom: 1rem; font-size: 0.98rem; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); border-top: var(--ligne); border-left: var(--ligne); background: var(--blanc); list-style: none; margin: 0; padding: 0; }
.logos li { border-right: var(--ligne); border-bottom: var(--ligne); display: grid; grid-template-rows: minmax(0, 1fr) auto; aspect-ratio: 4 / 3; }
.logos img { width: 100%; height: 100%; min-height: 0; object-fit: contain; padding: 1rem 1.25rem 0.25rem; }
.logos span { font-size: 0.8rem; font-stretch: 75%; font-weight: 600; color: var(--texte-doux); padding: 0 0.75rem 0.5rem; }
.logos--grand { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.bandeau-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; padding: 1.5rem 0; }
.bandeau-logos img { height: 3.25rem; width: auto; max-width: 9rem; object-fit: contain; }

/* ---------- Pages intérieures ---------- */
.tete-page { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2rem, 1rem + 3vw, 3.5rem); border-bottom: 3px double var(--reglure-forte); background: var(--blanc); }
.tete-page h1 { margin-bottom: 1rem; }
.tete-page .chapo { margin: 0; }
.tete-page--photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 0; padding: 0; }
.tete-page--photo .tete-page__texte { padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(1.25rem, 0.5rem + 4vw, 4rem); align-self: center; }
.tete-page--photo figure { margin: 0; min-height: 22rem; background: var(--encre); }
.tete-page--photo figure img { width: 100%; height: 100%; object-fit: cover; }

.equipe { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); border: 1px solid var(--reglure-forte); background: var(--blanc); margin-bottom: 2rem; }
.equipe__photo { margin: 0; background: var(--encre); min-height: 16rem; }
.equipe__photo img { width: 100%; height: 100%; object-fit: cover; }
.equipe__photo--vide { display: grid; place-items: center; background: var(--papier); color: var(--texte-doux); font-size: 0.95rem; text-align: center; padding: 1.5rem; }
.equipe__corps { display: flex; flex-direction: column; }
.equipe__tete { padding: 1.25rem 1.25rem 1rem; border-bottom: var(--ligne); }
.equipe__tete p { margin: 0.5rem 0 0; color: var(--texte-doux); }
.equipe .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.equipe .case:nth-child(2n) { border-right: 0; }
.equipe__creneaux { list-style: none; margin: 0; padding: 0; }
.equipe__creneaux li { padding: 0.15rem 0; }

.tableau-wrap { overflow-x: auto; border: 1px solid var(--reglure-forte); background: var(--blanc); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: 0.75rem 1rem; font-weight: 600; color: var(--texte-doux); font-size: 0.95rem; border-bottom: var(--ligne); }
th, td { text-align: left; padding: 0.75rem 1rem; border-bottom: var(--ligne); vertical-align: top; }
thead th { font-size: 0.85rem; font-stretch: 75%; font-weight: 650; color: var(--texte-doux); background: var(--papier); border-bottom: 3px double var(--reglure-forte); white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.date, th.date { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--encre); white-space: nowrap; }
td.score { font-family: var(--display); font-weight: 900; font-size: 1.5rem; color: var(--encre); white-space: nowrap; }
tr.passe td { color: var(--texte-doux); }
tr.prochain { background: #fff8e6; }
tr.prochain td.date::after { content: "Prochain"; display: block; font-family: var(--texte-f); font-size: 0.75rem; font-weight: 650; color: var(--tampon); }

.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--reglure-forte); background: var(--blanc); counter-reset: etape; }
.etapes > li { padding: 1.5rem 1.25rem; border-right: var(--ligne); counter-increment: etape; display: flex; flex-direction: column; gap: 0.75rem; }
.etapes > li:last-child { border-right: 0; }
.etapes > li::before { content: counter(etape); font-family: var(--display); font-weight: 900; font-size: 3rem; line-height: 0.8; color: var(--glace); }
.etapes h3 { font-size: 1.6rem; }
.etapes p { margin: 0; }
.etapes .bouton { align-self: flex-start; margin-top: auto; }
@media (max-width: 860px) {
  .etapes { grid-template-columns: 1fr; }
  .etapes > li { border-right: 0; border-bottom: var(--ligne); }
  .etapes > li:last-child { border-bottom: 0; }
}

.deux-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.encart { border: 1px solid var(--reglure-forte); background: var(--blanc); padding: 1.5rem; }
.encart h3 { margin-bottom: 0.75rem; }
.encart p:last-child { margin-bottom: 0; }
.liste { padding-left: 1.2rem; margin: 0 0 1em; }
.liste li { margin-bottom: 0.4rem; }

.article { border-top: 3px double var(--reglure-forte); padding-block: 2rem; display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem 2rem; }
.article__date { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--encre); line-height: 1.1; }
.article h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); text-transform: none; margin-bottom: 1rem; }
.article figure { margin: 0 0 1.25rem; max-width: 46rem; }
.article figcaption { font-size: 0.85rem; color: var(--texte-doux); padding-top: 0.4rem; }
.article .resultats { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; margin: 0.5rem 0 1.25rem; }
@media (max-width: 700px) { .article { grid-template-columns: 1fr; } }

/* Formulaire */
.formulaire { display: grid; gap: 1rem; }
.champ label { display: block; font-weight: 650; margin-bottom: 0.35rem; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 3rem; padding: 0.7rem 0.85rem; font: 400 1.0625rem/1.4 var(--texte-f); color: var(--texte); background: var(--blanc); border: 1px solid var(--reglure-forte); border-bottom: 2px solid var(--encre); border-radius: 0; }
.champ textarea { min-height: 9rem; resize: vertical; }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--or); outline-offset: 1px; }
.aide { font-size: 0.9rem; color: var(--texte-doux); margin-top: 0.3rem; }
.erreur { color: var(--tampon); font-weight: 650; font-size: 0.95rem; margin-top: 0.3rem; }

/* ---------- Rollers night ---------- */
.soiree { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center; }
.soiree__date { font-family: var(--display); font-weight: 900; line-height: 0.85; color: var(--or); text-align: center; }
.soiree__date span { display: block; font-size: clamp(4rem, 3rem + 4vw, 6rem); }
.soiree__date small { display: block; font-size: 1.6rem; color: var(--blanc); text-transform: uppercase; }
.soiree h2 { margin-bottom: 0.6rem; }
.soiree p { margin: 0; color: var(--sur-encre); }
@media (max-width: 760px) { .soiree { grid-template-columns: 1fr; } .soiree__date { text-align: left; } }

/* ---------- Pied ---------- */
.pied { background: var(--encre); color: var(--sur-encre); padding-block: 3.5rem 2rem; }
.pied a { color: var(--sur-encre); }
.pied a:hover { color: var(--blanc); }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.pied h2 { font-size: 1.3rem; color: var(--blanc); margin-bottom: 0.75rem; text-transform: uppercase; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 0.4rem; }
.pied p { margin: 0 0 0.5rem; color: var(--sur-encre-doux); }
.pied__marque { display: flex; gap: 0.9rem; align-items: center; margin-bottom: 1rem; }
.pied__marque img { width: 4.5rem; }
.pied__marque strong { font-family: var(--display); font-weight: 900; font-size: 1.9rem; line-height: 0.9; color: var(--blanc); text-transform: uppercase; }
.pied__bas { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(185, 203, 226, 0.3); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.9rem; color: var(--sur-encre-doux); }

/* ---------- Responsive général ---------- */
@media (max-width: 1000px) {
  .ouverture { grid-template-columns: 1fr; min-height: 0; }
  .ouverture__photo { aspect-ratio: 4 / 3; max-height: 62vh; }
  .bande-match .cases { grid-template-columns: 1fr 1fr; }
  .bande-match .case:nth-child(2) { border-right: 0; }
  .bande-match .case:last-child { grid-column: 1 / -1; border-top: var(--ligne); }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .tete-page--photo { grid-template-columns: 1fr; }
  .tete-page--photo figure { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .disciplines { grid-template-columns: 1fr; }
  .discipline + .discipline { border-left: 0; border-top: 1px solid var(--reglure-forte); }
  .equipe { grid-template-columns: 1fr; }
  .equipe__photo { aspect-ratio: 16 / 10; min-height: 0; }
  .deux-col { grid-template-columns: 1fr; }
  .bande-match .cases { grid-template-columns: 1fr; }
  .bande-match .case { border-right: 0; border-bottom: var(--ligne); }
  .bande-match .case:last-child { border-top: 0; border-bottom: 0; }
  .pied__grille { grid-template-columns: 1fr; }
  .trouveur__haut { grid-template-columns: 1fr; }
  .trouveur button { min-height: 3.25rem; }
}
@media (max-width: 420px) {
  .marque__lieu { display: none; }
  .marque__nom { font-size: 1.35rem; }
  .trouveur__resultat li { grid-template-columns: 1fr; gap: 0.1rem; }
}
@media print {
  .entete, .pied, .bouton, .trouveur { display: none !important; }
  body { background: #fff; }
}
.sur-encre a.bouton { color: var(--blanc); text-decoration: none; }
.sur-encre a.bouton--ligne { color: var(--blanc); }
.sur-encre a.bouton--ligne:hover { color: var(--encre); }
a.bouton { text-decoration: none; }
.evitement:hover, .evitement:focus { color: var(--blanc); }
.niveau h2 { font-size: 1.6rem; text-transform: none; margin-bottom: 0.25rem; }
html { -webkit-tap-highlight-color: rgba(77, 179, 224, 0.25); }
a, button, input, select, textarea, label { touch-action: manipulation; }
.champ select { background-color: var(--blanc); color: var(--texte); }
.registre__titre, .score-ligne__equipes, .case__valeur { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .tableau-calendrier thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tableau-calendrier tr { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr) auto; grid-template-areas: "d a s" "d h r" "d l r"; column-gap: 0.75rem; padding: 0.85rem 0.9rem; border-bottom: var(--ligne); }
  .tableau-calendrier td { border: 0; padding: 0; }
  .tableau-calendrier td:nth-child(1) { grid-area: d; }
  .tableau-calendrier td:nth-child(2) { grid-area: a; }
  .tableau-calendrier td:nth-child(3) { grid-area: h; font-size: 0.92rem; }
  .tableau-calendrier td:nth-child(4) { grid-area: l; font-size: 0.92rem; }
  .tableau-calendrier td:nth-child(5) { grid-area: s; text-align: right; }
  .tableau-calendrier td:nth-child(6) { grid-area: r; text-align: right; align-self: center; }
  .tableau-calendrier td:nth-child(3)::before { content: "Heure : "; color: var(--texte-doux); }
  .tableau-calendrier td:nth-child(4)::before { content: "Lieu : "; color: var(--texte-doux); }
}
@media (max-width: 700px) { .tableau-calendrier td:nth-child(6) { max-width: 7.5rem; font-size: 0.85rem; } }
.equipe .cases--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.equipe .cases--trois .case:nth-child(2n) { border-right: var(--ligne); }
.equipe .cases--trois .case:nth-child(3) { border-right: 0; }

/* Retours Sabrina et Renaud : bandeau, onglets, roues, galerie */
.marque img { width: 4.6rem; }
.marque__nom { font-size: 2rem; }
.marque__lieu { font-size: 0.95rem; color: var(--encre); line-height: 1.15; margin-top: 0.3rem; }
@media (max-width: 1060px) { .marque__lieu { display: block; font-size: 0.78rem; } .marque img { width: 3.6rem; } .marque__nom { font-size: 1.5rem; } }
.onglets { position: sticky; top: 0; z-index: 5; background: var(--blanc); border-bottom: 3px double var(--reglure-forte); }
.onglets .conteneur { display: flex; gap: 0; }
.onglets a { flex: 1; text-align: center; padding: 0.95rem 1rem; font-family: var(--display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; color: var(--encre); text-decoration: none; border-bottom: 3px solid transparent; }
.onglets a + a { border-left: var(--ligne); }
.onglets a:hover, .onglets a:focus-visible { border-bottom-color: var(--tampon); }
#hockey, #loisirs, #roues { scroll-margin-top: 4.5rem; }
.roues { margin-top: 3rem; }
.roues h3 { font-size: 1.9rem; }
.roues__liste { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: var(--ligne); border-left: var(--ligne); background: var(--blanc); }
.roue { border-right: var(--ligne); border-bottom: var(--ligne); padding: 1rem 1rem 1.1rem; display: grid; gap: 0.35rem; align-content: start; }
.roue strong { display: flex; align-items: center; gap: 0.5rem; font-size: 1.05rem; }
.roue strong::before { content: ""; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 5px solid var(--roue); box-shadow: inset 0 0 0 3px var(--blanc), inset 0 0 0 10px var(--roue); flex: none; }
.roue span { color: var(--texte-doux); font-size: 0.95rem; }
.roue--jaune { --roue: #E8B10F; } .roue--verte { --roue: #2E8B4E; } .roue--bleue { --roue: #1F6FB8; } .roue--rouge { --roue: #C3202F; } .roue--noire { --roue: #111A2E; }
@media (max-width: 900px) { .roues__liste { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .roues__liste { grid-template-columns: 1fr; } }
.galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.galerie__item { margin: 0; background: var(--blanc); border: var(--ligne); }
.galerie__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.galerie__item figcaption { font-size: 0.85rem; font-stretch: 87%; font-weight: 600; color: var(--texte-doux); padding: 0.5rem 0.65rem 0.6rem; }
@media (max-width: 760px) { .galerie { grid-template-columns: 1fr 1fr; gap: 0.5rem; } }
.entete__ligne { padding-block: 0.55rem; }
.onglets { position: static; }
#hockey, #loisirs, #roues { scroll-margin-top: 7rem; }

/* ---------- Accueil enrichi (retour du 5 déc.) ---------- */
.ouverture--pleine { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; position: relative; min-height: min(94vh, 58rem); background: var(--encre); overflow: hidden; }
.ouverture--pleine .ouverture__photo { position: absolute; inset: 0; grid-area: auto; }
.ouverture--pleine .ouverture__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 27, 71, 0.96) 0%, rgba(4, 27, 71, 0.88) 34%, rgba(4, 27, 71, 0.35) 64%, rgba(4, 27, 71, 0.1) 100%), linear-gradient(0deg, rgba(4, 27, 71, 0.9) 0%, transparent 32%); }
.ouverture--pleine .ouverture__photo img { object-position: 70% 30%; }
.ouverture--pleine .ouverture__photo figcaption { z-index: 2; left: auto; right: 0; bottom: auto; top: 0; border: 0; border-left: 1px solid var(--reglure-forte); border-bottom: 1px solid var(--reglure-forte); }
.ouverture--pleine .ouverture__texte { position: relative; z-index: 1; background: none; max-width: 40rem; padding-left: max(var(--pas), calc((100vw - var(--largeur)) / 2 + var(--pas))); }
.ouverture--pleine .ouverture__texte h1 { font-size: clamp(4rem, 2rem + 8vw, 8.5rem); line-height: 0.85; }
.chiffres { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0 max(var(--pas), calc((100vw - var(--largeur)) / 2 + var(--pas))); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(185, 203, 226, 0.35); background: rgba(4, 27, 71, 0.72); }
.chiffres li { padding: 1.1rem 1rem 1.25rem; border-left: 1px solid rgba(185, 203, 226, 0.25); display: grid; gap: 0.2rem; }
.chiffres li:first-child { border-left: 0; padding-left: 0; }
.chiffres strong { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.2rem); line-height: 0.9; color: var(--blanc); font-variant-numeric: tabular-nums; }
.chiffres span { font-size: 0.9rem; font-stretch: 87%; color: var(--sur-encre-doux); line-height: 1.3; }
@media (max-width: 1000px) {
  .ouverture--pleine { min-height: 0; }
  .ouverture--pleine .ouverture__photo { position: relative; aspect-ratio: 16 / 10; }
  .ouverture--pleine .ouverture__photo::after { background: linear-gradient(0deg, rgba(4, 27, 71, 0.95) 0%, transparent 45%); }
  .ouverture--pleine .ouverture__texte { margin-top: -6rem; padding-left: var(--pas); }
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 var(--pas); }
  .chiffres li, .chiffres li:first-child { border-left: 0; padding-left: 0; border-top: 1px solid rgba(185, 203, 226, 0.2); }
  .chiffres li:last-child { grid-column: 1 / -1; }
}

.tableau-marque { background: var(--encre-2); color: var(--sur-encre); border-bottom: 3px double var(--reglure-forte); }
.tableau-marque__ligne { display: flex; align-items: center; gap: 1.25rem; padding-block: 0.7rem; }
.tableau-marque h2 { font-size: 1.15rem; color: var(--or); text-transform: uppercase; white-space: nowrap; }
.tableau-marque > div > a { color: var(--sur-encre); white-space: nowrap; font-size: 0.9rem; font-weight: 600; }
.tableau-marque__liste { list-style: none; margin: 0; padding: 0 0 0.15rem; display: flex; gap: 0.5rem; overflow-x: auto; flex: 1; scrollbar-width: thin; }
.marque-ligne { display: flex; align-items: center; gap: 0.55rem; padding: 0.3rem 0.35rem 0.3rem 0.65rem; border: 1px solid rgba(185, 203, 226, 0.3); white-space: nowrap; background: rgba(255, 255, 255, 0.04); }
.marque-ligne__date { font-size: 0.78rem; font-stretch: 75%; color: var(--sur-encre-doux); font-variant-numeric: tabular-nums; }
.marque-ligne__adv { font-weight: 650; font-size: 0.92rem; font-stretch: 87%; }
.marque-ligne__score { font-family: var(--display); font-weight: 900; font-size: 1.3rem; line-height: 1; color: var(--blanc); font-variant-numeric: tabular-nums; }
.marque-ligne__res { font-family: var(--display); font-weight: 900; font-size: 0.95rem; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; background: var(--tampon); color: var(--blanc); }
.marque-ligne--defaite .marque-ligne__res { background: transparent; border: 1px solid var(--sur-encre-doux); color: var(--sur-encre-doux); }
@media (max-width: 700px) { .tableau-marque__ligne { flex-wrap: wrap; } .tableau-marque__liste { order: 3; flex-basis: 100%; } .tableau-marque > div > a { margin-left: auto; } }

.tuiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.tuile a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--encre); color: var(--blanc); text-decoration: none; }
.tuile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tuile a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 27, 71, 0.95) 0%, rgba(4, 27, 71, 0.55) 38%, transparent 65%); }
.tuile--loisirs a::after { background: linear-gradient(0deg, rgba(15, 106, 150, 0.95) 0%, rgba(15, 106, 150, 0.5) 38%, transparent 65%); }
.tuile--sans-photo a { background: var(--encre) repeating-linear-gradient(-35deg, transparent 0 22px, rgba(185, 203, 226, 0.07) 22px 23px); }
.tuile--sans-photo.tuile--loisirs a { background-color: var(--glace-texte); }
.tuile--sans-photo a::after { display: none; }
.tuile img.tuile__lynx { position: absolute; top: 1.25rem; right: 1.25rem; width: 5.5rem; height: auto; opacity: 0.9; }
.tuile__texte { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem 1.15rem; display: grid; gap: 0.15rem; }
.tuile__disc { font-size: 0.75rem; font-weight: 700; font-stretch: 87%; color: var(--or); }
.tuile strong { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.5rem); line-height: 0.92; text-transform: uppercase; }
.tuile__texte > span:last-child { font-size: 0.9rem; color: var(--sur-encre); }
.tuile a:hover img, .tuile a:focus-visible img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .tuile img { transition: none; } }
@media (max-width: 900px) { .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.bilan-n2 { background: var(--encre); }
.bilan-n2__grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.bilan-n2__sur-titre { margin: 0 0 0.5rem; color: var(--or); font-weight: 700; font-stretch: 87%; }
.bilan-n2 h2 { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.5rem); color: var(--blanc); margin-bottom: 1rem; }
.bilan-n2__cases { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 1.75rem 0; border: 1px solid rgba(185, 203, 226, 0.35); }
.bilan-n2__cases div { padding: 0.75rem 0.8rem 0.9rem; border-left: 1px solid rgba(185, 203, 226, 0.25); }
.bilan-n2__cases div:first-child { border-left: 0; }
.bilan-n2__cases dt { font-size: 0.78rem; font-stretch: 87%; color: var(--sur-encre-doux); }
.bilan-n2__cases dd { margin: 0.2rem 0 0; font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); line-height: 1; color: var(--blanc); font-variant-numeric: tabular-nums; }
.bilan-n2__photo { margin: 0; border: 1px solid rgba(185, 203, 226, 0.35); padding: 0.6rem; background: rgba(255, 255, 255, 0.04); transform: rotate(1.2deg); }
.bilan-n2__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .bilan-n2__grille { grid-template-columns: 1fr; } .bilan-n2__cases { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bilan-n2__cases div:nth-child(4) { border-left: 0; } .bilan-n2__cases div:nth-child(n+4) { border-top: 1px solid rgba(185, 203, 226, 0.25); } .bilan-n2__photo { transform: none; } }

.cartes-actus { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.carte-actu a { display: grid; grid-template-rows: auto auto auto 1fr; height: 100%; background: var(--blanc); border: 1px solid var(--reglure-forte); color: var(--texte); text-decoration: none; }
.carte-actu figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--encre); }
.carte-actu img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.4s ease; }
.carte-actu a:hover img { transform: scale(1.03); }
.carte-actu__meta { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.1rem 0; font-size: 0.85rem; font-weight: 650; font-stretch: 87%; color: var(--texte-doux); }
.carte-actu__meta span { color: var(--tampon); }
.carte-actu__titre { font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--encre); padding: 0.4rem 1.1rem 0; }
.carte-actu__texte { padding: 0.5rem 1.1rem 1.2rem; color: var(--texte-doux); font-size: 0.97rem; }
.carte-actu a:hover .carte-actu__titre { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
@media (max-width: 900px) { .cartes-actus { grid-template-columns: 1fr; } .carte-actu a { grid-template-columns: 8rem 1fr; grid-template-rows: auto auto 1fr; } .carte-actu figure { grid-row: 1 / -1; aspect-ratio: auto; } }
@media (prefers-reduced-motion: reduce) { .carte-actu img { transition: none; } }

/* ---------- Découvrir ---------- */
.deux-col--photo { align-items: start; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.faits { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: var(--ligne); border-left: var(--ligne); background: var(--blanc); }
.faits li { padding: 1rem 1.1rem 1.15rem; border-right: var(--ligne); border-bottom: var(--ligne); display: grid; gap: 0.35rem; align-content: start; }
.faits strong { font-family: var(--display); font-weight: 900; font-size: 2.2rem; line-height: 0.95; color: var(--encre); text-transform: uppercase; }
.faits span { color: var(--texte-doux); font-size: 0.97rem; }
.sous-titre { font-size: 1.9rem; margin: 0 0 1rem; }
.etapes--compactes > li { padding: 1.1rem 1rem; }
.etapes--compactes > li::before { font-size: 2.2rem; }
.etapes--compactes h4 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1; color: var(--encre); }
.photo-cadre { margin: 0; border: 1px solid var(--reglure-forte); background: var(--blanc); padding: 0.6rem; transform: rotate(-1deg); }
.photo-cadre img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-cadre figcaption { font-size: 0.85rem; font-weight: 600; font-stretch: 87%; color: var(--texte-doux); padding: 0.5rem 0.2rem 0; }
.questions { margin-top: 3rem; max-width: 52rem; }
.questions details { border-top: var(--ligne); background: var(--blanc); }
.questions details:last-child { border-bottom: var(--ligne); }
.questions summary { cursor: pointer; padding: 1rem 1.1rem; font-weight: 700; font-size: 1.05rem; color: var(--encre); list-style-position: inside; }
.questions details p { margin: 0; padding: 0 1.1rem 1.1rem; color: var(--texte-doux); }
.onglets a { font-size: clamp(1rem, 0.8rem + 0.6vw, 1.35rem); }
@media (max-width: 900px) { .deux-col--photo { grid-template-columns: 1fr; } .photo-cadre { transform: none; } .photo-cadre img { aspect-ratio: 4 / 3; } }
@media (max-width: 600px) { .faits { grid-template-columns: 1fr; } .onglets .conteneur { flex-wrap: wrap; padding: 0; } .onglets a { flex: 1 1 50%; padding: 0.75rem 0.5rem; border-bottom: var(--ligne); } .onglets a:nth-child(odd) { border-left: 0; } }
/* Correctif grands écrans : la marge gauche ne doit pas rogner la colonne de texte */
.ouverture--pleine .ouverture__texte { max-width: none; }
.ouverture--pleine .ouverture__texte > * { max-width: 36rem; width: 100%; }
.trouveur__haut { grid-template-columns: minmax(12rem, 1fr) auto; }
.trouveur button { white-space: nowrap; }
@media (max-width: 760px) { .trouveur__haut { grid-template-columns: 1fr; } .trouveur button { white-space: normal; } }

/* ---------- En-têtes compacts (retour du 5 déc. : trop grands) ---------- */
h1 { font-size: clamp(2.5rem, 1.7rem + 3vw, 4rem); }
.tete-page { padding-block: clamp(1.75rem, 1rem + 2.2vw, 2.75rem) clamp(1.5rem, 1rem + 1.8vw, 2.25rem); }
.tete-page h1 { margin-bottom: 0.6rem; }
.tete-page .chapo { font-size: clamp(1.05rem, 1rem + 0.25vw, 1.15rem); }
.tete-page--photo { position: relative; display: flex; align-items: center; min-height: clamp(13rem, 10rem + 9vw, 19rem); padding: clamp(1.75rem, 1rem + 2.5vw, 3rem) 0; overflow: hidden; }
.tete-page--photo figure { position: absolute; inset: 0; min-height: 0; aspect-ratio: auto; }
.tete-page--photo figure img { object-position: 50% 40%; }
.tete-page--photo figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 27, 71, 0.94) 0%, rgba(4, 27, 71, 0.82) 40%, rgba(4, 27, 71, 0.35) 75%, rgba(4, 27, 71, 0.2) 100%); }
.tete-page--photo .tete-page__texte { position: relative; z-index: 1; width: 100%; padding: 0 max(var(--pas), calc((100vw - var(--largeur)) / 2 + var(--pas))); align-self: center; }
.tete-page--photo .tete-page__texte > * { max-width: 40rem; }
.tete-page--photo .chapo { color: var(--sur-encre); }
.tete-page--photo .tete-page__texte p + p { margin-top: 1.1rem !important; }
@media (max-width: 1000px) { .tete-page--photo { display: flex; } .tete-page--photo figure { aspect-ratio: auto; } .tete-page--photo figure::after { background: linear-gradient(90deg, rgba(4, 27, 71, 0.92) 0%, rgba(4, 27, 71, 0.7) 100%); } }
/* Accueil : un peu moins haut, titre un peu plus petit */
.ouverture--pleine { min-height: min(78vh, 46rem); }
.ouverture--pleine .ouverture__texte { gap: 1.2rem; padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.ouverture--pleine .ouverture__texte h1 { font-size: clamp(3.2rem, 1.8rem + 5vw, 6.25rem); }
