/* ==========================================================================
   Souvenirs2Foot — feuille de style unique du site vitrine.

   Les couleurs et les polices sont celles du design system de la marque
   (s2f-club-admin/imports/ui/theme.js, issu de « Souvenirs de foot.pdf »).
   Le site ressemble à l'application parce qu'il reprend ses valeurs, pas
   parce qu'on les a redevinées : toute évolution du thème doit être
   répercutée ici.

   Aucune ressource externe. Les polices sont auto-hébergées — c'est aussi
   ce qui permet au site de ne poser aucun cookie et de n'émettre aucune
   requête vers un tiers, donc de se passer de bandeau de consentement.
   ========================================================================== */

/* --- Polices (copiées de s2f-club-admin/public/fonts/) ------------------- */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
/* Le journal utilise aussi Barlow Condensed et Playfair italique
   (s2f-club-admin/public/fonts.css). Le site n'en a pas l'usage : les
   déclarer sans les employer laisserait deux fichiers morts dans le dépôt. */

/* --- Jetons -------------------------------------------------------------- */

:root {
  --vert-fonce: #1e3320;
  --vert-moyen: #4e7a35;
  --vert-clair: #dce9d3;
  --vert-tres-clair: #edf3e8;
  --fond: #f4f4f4;
  --surface: #ffffff;
  --texte: #1a1a1a;
  --texte-attenue: #6b6f68;
  --bordure: #d9d9d9;
  --danger: #c4372c;

  --titre: "Anton", "Arial Narrow", sans-serif;
  --corps: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  --ombre: 0 1px 4px rgba(0, 0, 0, 0.08);
  --ombre-forte: 0 4px 14px rgba(0, 0, 0, 0.14);

  --largeur: 1100px;
  --gouttiere: 24px;
}

/* --- Base ---------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* Compense l'en-tête collant quand on suit une ancre du sommaire. */
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--titre);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
}
h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}
h3 {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--vert-moyen);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--vert-fonce);
}

img {
  max-width: 100%;
  height: auto;
}

/* Le focus doit rester visible partout : c'est la seule façon de traverser
   le site au clavier. */
:focus-visible {
  outline: 3px solid var(--vert-moyen);
  outline-offset: 2px;
  border-radius: 2px;
}

.saut-contenu {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--vert-fonce);
  padding: 10px 16px;
  z-index: 100;
  font-weight: 700;
}

.saut-contenu:focus {
  left: 8px;
  top: 8px;
}

/* --- Structure ----------------------------------------------------------- */

.contenu {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

.contenu-etroit {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

.section {
  padding: 72px 0;
}

.section--clair {
  background: var(--vert-tres-clair);
}

.section--gris {
  background: var(--fond);
}

.section--sombre {
  background: var(--vert-fonce);
  color: #fff;
}

.section--sombre h2,
.section--sombre h3 {
  color: #fff;
}

.section--sombre a {
  color: var(--vert-clair);
}

.section__intro {
  max-width: 40rem;
  margin-bottom: 40px;
  color: var(--texte-attenue);
  font-size: 1.08rem;
}

.section--sombre .section__intro {
  color: var(--vert-clair);
}

.surtitre {
  font-family: var(--corps);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vert-moyen);
  margin: 0 0 10px;
}

.section--sombre .surtitre {
  color: var(--vert-clair);
}

/* --- En-tête ------------------------------------------------------------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--vert-fonce);
  color: #fff;
}

.entete__barre {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 14px var(--gouttiere);
  display: flex;
  align-items: center;
  gap: 20px;
}

.entete__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.entete__logo img {
  height: 34px;
  width: auto;
  display: block;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--vert-clair);
  text-decoration: underline;
}

.nav__bascule {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-family: var(--corps);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
}

/* --- Boutons ------------------------------------------------------------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-md);
  font-family: var(--corps);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.bouton--principal {
  background: var(--vert-moyen);
  color: #fff;
}

.bouton--principal:hover {
  background: #3f6529;
  color: #fff;
}

.bouton--clair {
  background: #fff;
  color: var(--vert-fonce);
}

.bouton--clair:hover {
  background: var(--vert-clair);
  color: var(--vert-fonce);
}

.bouton--contour {
  border-color: currentColor;
  color: var(--vert-fonce);
  background: transparent;
}

.bouton--contour:hover {
  background: var(--vert-fonce);
  color: #fff;
}

/* Sur fond vert foncé — bandeau héros comme sections sombres — le bouton à
   contour doit passer en blanc : sa couleur par défaut est celle du fond. */
.section--sombre .bouton--contour,
.heros .bouton--contour {
  color: #fff;
}

.section--sombre .bouton--contour:hover,
.heros .bouton--contour:hover {
  background: #fff;
  color: var(--vert-fonce);
}

/* Un bouton est un lien : sans cette reprise, `.section--sombre a` (0,1,1)
   l'emporterait sur `.bouton--clair` (0,1,0) et peindrait le libellé en vert
   pâle sur fond blanc. Les deux sélecteurs remontent la spécificité à égalité,
   et l'ordre tranche en faveur du bouton. */
.section--sombre .bouton--clair {
  color: var(--vert-fonce);
}

.section--sombre .bouton--clair:hover {
  color: var(--vert-fonce);
}

.section--sombre .bouton--principal,
.section--sombre .bouton--principal:hover {
  color: #fff;
}

.boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* --- Badges des magasins d'applications ---------------------------------- */

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.badge {
  display: inline-block;
  line-height: 0;
  border-radius: 9px;
  transition: transform 0.15s;
}

.badge:hover {
  transform: translateY(-2px);
}

.badge svg {
  height: 52px;
  width: auto;
  display: block;
}

/* --- Héros --------------------------------------------------------------- */

.heros {
  background: var(--vert-fonce);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.heros__grille {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.heros h1 {
  color: #fff;
  margin-bottom: 18px;
}

.heros__accroche {
  font-size: 1.2rem;
  color: var(--vert-clair);
  max-width: 34rem;
}

.heros__mention {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 18px;
}

/* --- Cartes -------------------------------------------------------------- */

.cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.carte {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--ombre);
}

.section--clair .carte,
.section--gris .carte {
  border-color: transparent;
}

.carte h3 {
  color: var(--vert-fonce);
  margin-bottom: 8px;
}

.carte p:last-child {
  margin-bottom: 0;
}

.carte__numero {
  font-family: var(--titre);
  font-size: 2rem;
  color: var(--vert-moyen);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

/* Liste à puces vertes, utilisée pour les gabarits du journal. */
.liste-cochee {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 26px;
}

.liste-cochee li {
  padding-left: 28px;
  position: relative;
}

.liste-cochee li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--vert-moyen);
}

.section--sombre .liste-cochee li::before {
  background: var(--vert-clair);
}

/* --- Cadres de téléphone -------------------------------------------------- */

.telephones {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
}

.telephone {
  flex: 0 0 auto;
  width: 250px;
  max-width: 78vw;
}

.telephone__cadre {
  border: 9px solid #14210f;
  border-radius: 34px;
  overflow: hidden;
  background: #14210f;
  box-shadow: var(--ombre-forte);
  position: relative;
}

.telephone__cadre img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 25px;
}

.telephone__legende {
  margin: 14px 2px 0;
  font-size: 0.92rem;
  color: var(--texte-attenue);
  text-align: center;
}

.section--sombre .telephone__legende {
  color: var(--vert-clair);
}

/* --- Diaporama de démonstration ------------------------------------------ */

.diapo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.diapo__ecran {
  background: #14210f;
  border: 10px solid #14210f;
  border-radius: var(--r-lg);
  box-shadow: var(--ombre-forte);
}

.diapo__scene {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 5px;
  background: #000;
}

.diapo__vue {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.diapo__vue[data-active="true"] {
  opacity: 1;
}

.diapo__vue img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.diapo__cartouche {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 20px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
  color: #fff;
}

.diapo__titre {
  font-family: var(--titre);
  font-size: 1.35rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.diapo__desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Les quatre commandes tiennent sur une ligne dès 360 px, mais pas en deçà :
   sans repli, la barre imposait sa largeur minimale à toute la page. */
.diapo__barre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 4px 2px;
}

.diapo__bouton {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-family: var(--corps);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  cursor: pointer;
}

.diapo__bouton:hover {
  background: rgba(255, 255, 255, 0.24);
}

.diapo__compteur {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.reglages {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.reglages li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.97rem;
}

.reglages li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.reglages dfn,
.reglages b {
  font-style: normal;
  font-weight: 400;
  color: var(--vert-clair);
}

.reglages span {
  font-weight: 700;
  text-align: right;
}

/* --- Encarts ------------------------------------------------------------- */

.encart {
  background: var(--vert-clair);
  border-left: 6px solid var(--vert-moyen);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin: 32px 0;
}

.encart h3 {
  color: var(--vert-fonce);
  margin-bottom: 8px;
}

.encart p:last-child {
  margin-bottom: 0;
}

.encart--alerte {
  background: #fdf0ee;
  border-left-color: var(--danger);
}

.encart--alerte h3 {
  color: var(--danger);
}

/* --- Passerelle ---------------------------------------------------------- */

.passerelle {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  background: var(--vert-clair);
  border-radius: var(--r-lg);
  padding: 34px 36px;
}

.passerelle h2 {
  color: var(--vert-fonce);
  margin-bottom: 6px;
}

.passerelle p {
  margin: 0;
  max-width: 40rem;
  color: var(--texte);
}

/* --- Maquette de la une du journal ---------------------------------------
   Reproduction en HTML/CSS de la manchette du « Phénoménal » (gabarits :
   s2f-club-admin/imports/lib/journal/templates.js). Le PDF d'exemple n'est
   pas publié : il contient des marques tierces et les coordonnées d'un vrai
   club.                                                                    */

.journal {
  background: #fff;
  color: #000;
  border: 1px solid var(--bordure);
  border-radius: 4px;
  box-shadow: var(--ombre-forte);
  aspect-ratio: 148 / 210;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  padding: 4.2% 4.6%;
  display: flex;
  flex-direction: column;
  gap: 2.4%;
  overflow: hidden;
  container-type: inline-size;
}

.journal__manchette {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3%;
  border-bottom: 2px solid #000;
  padding-bottom: 2.5%;
}

.journal__ecusson {
  width: 11cqw;
  height: 13cqw;
  background: #1b3d8f;
  border: 1.4px solid #c0261c;
  border-radius: 3px 3px 46% 46%;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--corps);
  font-weight: 800;
  font-size: 3.2cqw;
  letter-spacing: 0.04em;
}

.journal__titrage {
  text-align: center;
  line-height: 1;
}

.journal__sur {
  font-family: var(--titre);
  font-size: 3.6cqw;
  text-transform: lowercase;
  letter-spacing: 0.04em;
}

.journal__nom {
  font-family: var(--titre);
  font-size: 12.6cqw;
  color: #1b3d8f;
  text-transform: none;
  letter-spacing: -0.01em;
  margin: 0.5cqw 0;
}

.journal__baseline {
  font-family: var(--corps);
  font-weight: 700;
  font-size: 2.7cqw;
}

.journal__s2f {
  width: 12cqw;
  height: auto;
}

.journal__filet {
  display: flex;
  justify-content: space-between;
  font-family: var(--corps);
  font-size: 2.4cqw;
  color: #333;
  margin-top: -1%;
}

.journal__photo {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.journal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.journal__cartouche {
  position: absolute;
  right: 3%;
  bottom: 5%;
  background: rgba(27, 61, 143, 0.9);
  color: #fff;
  font-family: var(--titre);
  font-size: 4.4cqw;
  line-height: 1.12;
  padding: 1.6% 3%;
  text-align: right;
  text-transform: uppercase;
}

.journal__legende {
  font-family: var(--corps);
  font-size: 2.3cqw;
  color: #444;
  line-height: 1.3;
}

.journal__chapo {
  font-family: var(--corps);
  font-weight: 700;
  font-size: 3cqw;
  border-top: 1px solid #000;
  padding-top: 1.6%;
}

.journal__pied {
  display: flex;
  gap: 2.5%;
  flex: 0 0 auto;
  height: 22%;
}

.journal__pied img {
  width: 58%;
  height: 100%;
  object-fit: cover;
}

.journal__breve {
  flex: 1;
  font-family: var(--corps);
  font-size: 2.35cqw;
  line-height: 1.34;
  color: #222;
}

.journal__breve strong {
  display: block;
  background: #c0261c;
  color: #fff;
  font-size: 2.5cqw;
  text-transform: uppercase;
  padding: 1.5% 4%;
  margin-bottom: 4%;
}

/* --- Étapes numérotées ---------------------------------------------------- */

.etapes {
  counter-reset: etape;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.etapes li {
  counter-increment: etape;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--ombre);
}

.etapes li::before {
  content: counter(etape);
  font-family: var(--titre);
  font-size: 1.9rem;
  color: var(--vert-moyen);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.etapes h3 {
  color: var(--vert-fonce);
}

.etapes p:last-child {
  margin-bottom: 0;
}

/* --- Duo texte + visuel --------------------------------------------------- */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.duo--visuel-gauche .duo__visuel {
  order: -1;
}

.duo__texte p:last-child {
  margin-bottom: 0;
}

/* --- Pages légales -------------------------------------------------------- */

.page-legale {
  padding: 56px 0 80px;
  /* Les textes légaux citent des URL en toutes lettres (CNIL, médiation de la
     consommation) : sans césure, ces chaînes insécables élargissent la page. */
  overflow-wrap: anywhere;
}

.page-legale h2 {
  margin-top: 2.2em;
  color: var(--vert-fonce);
  font-size: 1.45rem;
}

.page-legale h2:first-of-type {
  margin-top: 1.4em;
}

.page-legale h3 {
  margin-top: 1.6em;
  color: var(--vert-fonce);
  text-transform: none;
  font-family: var(--corps);
  font-weight: 800;
  font-size: 1.05rem;
}

.page-legale ul,
.page-legale ol {
  margin: 0 0 1.1em;
  padding-left: 1.4em;
}

.page-legale li {
  margin-bottom: 0.45em;
}

.page-legale__chapeau {
  color: var(--texte-attenue);
  font-size: 1.05rem;
}

.maj {
  font-size: 0.92rem;
  color: var(--texte-attenue);
  border-top: 1px solid var(--bordure);
  padding-top: 14px;
  margin-top: 48px;
}

.sommaire {
  background: var(--vert-tres-clair);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin: 28px 0 8px;
}

.sommaire h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-family: var(--corps);
  font-weight: 800;
}

.sommaire ol {
  margin: 0;
  padding-left: 1.3em;
  columns: 2;
  column-gap: 32px;
  font-size: 0.95rem;
}

.sommaire li {
  margin-bottom: 4px;
  break-inside: avoid;
}

.a-completer {
  background: #fff8e1;
  border-left: 6px solid #d08700;
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 0.97rem;
}

.a-completer strong {
  color: #8a5a00;
}

/* --- Pied de page --------------------------------------------------------- */

.pied {
  background: var(--vert-fonce);
  color: rgba(255, 255, 255, 0.86);
  padding: 52px 0 32px;
  font-size: 0.94rem;
}

.pied__grille {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.pied h2 {
  font-family: var(--corps);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--vert-clair);
  margin-bottom: 14px;
}

.pied ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pied li {
  margin-bottom: 8px;
}

.pied a {
  color: #fff;
  text-decoration: none;
}

.pied a:hover {
  color: var(--vert-clair);
  text-decoration: underline;
}

.pied__logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.pied__bas {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 36px;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.87rem;
}

/* --- Adaptation aux petits écrans ---------------------------------------- */

@media (max-width: 900px) {
  .heros__grille,
  .diapo,
  .duo {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .duo--visuel-gauche .duo__visuel {
    order: 0;
  }

  .pied__grille {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 760px) {
  .nav__bascule {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    margin: 12px 0 4px;
  }

  .nav[data-ouvert="true"] {
    display: flex;
  }

  .entete__barre {
    flex-wrap: wrap;
  }

  .nav a {
    padding: 10px 0;
    width: 100%;
  }

  .sommaire ol {
    columns: 1;
  }

  .passerelle {
    padding: 26px 24px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .pied__grille {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bouton {
    width: 100%;
  }

  .boutons {
    flex-direction: column;
    align-items: stretch;
  }

  .badges .badge {
    flex: 1 1 auto;
  }
}

/* Sous « réduire les animations », on coupe les transitions et le défilement
   fluide. Le diaporama, lui, démarre en pause — voir le script de la page,
   comme le lecteur réel (docs/web-app-plan.md). */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .entete,
  .pied,
  .diapo__barre {
    display: none;
  }

  body {
    font-size: 12pt;
  }
}
