/* Page d'accueil de croqngo.fr (pré-inscription) et page /testeurs, avant l'ouverture du 03/12/2026.
   Système graphique : l'étiquette du bocal (filets épais, chiffres alignés) et la date
   imprimée sur la capsule (police matricielle). Voir DESIGN.md, section « /bienvenue ». */

@font-face {
  font-family: "Archivo CnG";
  src: url("/fonts/archivo-bienvenue.woff2") format("woff2");
  font-weight: 400 850;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Literata CnG";
  src: url("/fonts/literata-bienvenue.woff2") format("woff2");
  font-weight: 400 650;
  font-display: swap;
}
@font-face {
  font-family: "Doto CnG";
  src: url("/fonts/doto-bienvenue.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

/* Jetons. Valeurs hexadécimales pour les navigateurs sans OKLCH, puis OKLCH. */
:root {
  --papier: #f8fbf9;
  --blanc: #fefffe;
  --encre: #122920;
  --encre-douce: #40554c;
  --ligne: #bdc7c2;
  --vert: #145c45;
  --vert-sombre: #084935;
  --lime: #a7c740;
  --lime-pale: #dcedb6;
  --orange: #f08011;
  --orange-presse: #dc7100;
  --erreur: #b71a18;
  --sur-vert: #f0f8f1;
  --sur-vert-doux: #c1d7ca;
  --etagere: #e0d5d0;

  --police-titre: "Archivo CnG", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --police-texte: "Literata CnG", Georgia, "Times New Roman", serif;
  --police-date: "Doto CnG", "Courier New", monospace;

  /* Échelle typographique : base 17 px, rapport 1,25 */
  --t-xs: 0.8125rem;
  --t-s: 0.9375rem;
  --t-m: 1.0625rem;
  --t-l: 1.328rem;
  --t-xl: 1.66rem;
  --t-2xl: clamp(1.9rem, 1.45rem + 1.9vw, 2.6rem);
  --t-3xl: clamp(2.65rem, 1.55rem + 5.2vw, 4.75rem);

  /* Espacement : unité de 4 px */
  --e-1: 0.25rem;
  --e-2: 0.5rem;
  --e-3: 0.75rem;
  --e-4: 1rem;
  --e-5: 1.5rem;
  --e-6: 2rem;
  --e-7: 3rem;
  --e-8: 4rem;
  --e-9: 6rem;

  --gouttiere: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --largeur: 72rem;
  --rayon: 2px;
  --filet-epais: 6px;
  --filet: 2px;

  --duree: 160ms;
  --courbe: cubic-bezier(0.2, 0.7, 0.2, 1);

  --focus: var(--encre);
}

@supports (color: oklch(0 0 0)) {
  :root {
    --papier: oklch(0.985 0.004 166);
    --blanc: oklch(0.998 0.001 166);
    --encre: oklch(0.26 0.035 166);
    --encre-douce: oklch(0.43 0.03 166);
    --ligne: oklch(0.82 0.012 166);
    --vert: oklch(0.425 0.079 166.7);
    --vert-sombre: oklch(0.36 0.07 166.7);
    --lime: oklch(0.781 0.162 121.8);
    --lime-pale: oklch(0.92 0.075 122);
    --orange: oklch(0.712 0.171 55.6);
    --orange-presse: oklch(0.66 0.165 55.6);
    --erreur: oklch(0.5 0.19 28);
    --sur-vert: oklch(0.97 0.012 150);
    --sur-vert-doux: oklch(0.86 0.03 160);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--e-4);
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--police-texte);
  font-size: var(--t-m);
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--police-titre);
  font-stretch: 78%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
p + p { margin-top: var(--e-3); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.masque {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.pot-de-miel {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.evitement {
  position: absolute;
  left: var(--e-4);
  top: -4rem;
  z-index: 10;
  padding: var(--e-3) var(--e-4);
  background: var(--encre);
  color: var(--papier);
  font-family: var(--police-titre);
  font-weight: 700;
  text-decoration: none;
}
.evitement:focus { top: var(--e-4); }

/* ---------- Aiguillage : entrées des salles et des coachs, tout en haut ---------- */
.aiguillage {
  background: var(--encre);
  color: var(--papier);
  --focus: var(--lime);
}
.aiguillage ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.aiguillage li + li { border-left: 1px solid var(--encre-douce); }
.aiguillage a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-2);
  min-height: 3.25rem;
  height: 100%;
  padding: var(--e-2) var(--gouttiere);
  color: var(--papier);
  font-family: var(--police-titre);
  font-stretch: 85%;
  font-weight: 700;
  font-size: var(--t-s);
  line-height: 1.2;
  text-decoration: none;
  border-bottom: var(--filet) solid transparent;
  transition: border-color var(--duree) var(--courbe), color var(--duree) var(--courbe);
}
.aiguillage li + li a { padding-left: var(--e-3); }
.aiguillage a span { color: var(--lime); flex: none; }
.aiguillage a:hover { border-bottom-color: var(--lime); color: var(--blanc); }

/* ---------- Barre : dans la bande verte du premier écran ---------- */
body > .barre {
  background: var(--vert);
  color: var(--sur-vert);
  --focus: var(--lime);
  padding: var(--e-3) var(--gouttiere) 0;
}
.barre > * { max-width: var(--largeur); }
.barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-4);
}
@supports (padding: max(0px)) {
  body > .barre { padding-inline: max(var(--gouttiere), calc((100% - var(--largeur)) / 2)); }
}
.barre__logo {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
}
.barre__logo img { width: 4.75rem; height: 4.75rem; }
.barre__nav { display: flex; gap: var(--e-1); }
.barre__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--e-3);
  color: var(--sur-vert);
  font-family: var(--police-titre);
  font-stretch: 88%;
  font-weight: 700;
  font-size: var(--t-s);
  text-decoration: none;
  border-bottom: var(--filet) solid transparent;
}
.barre__nav a:hover { border-bottom-color: var(--lime); }
.barre__nav a:last-child { padding-right: 0; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--e-2);
  min-height: 3rem;
  padding: 0.65rem 1.25rem;
  border: var(--filet) solid transparent;
  border-radius: var(--rayon);
  font-family: var(--police-titre);
  font-stretch: 88%;
  font-weight: 700;
  font-size: var(--t-m);
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duree) var(--courbe), color var(--duree) var(--courbe), transform var(--duree) var(--courbe);
}
.bouton:active { transform: translateY(1px); }
.bouton[aria-disabled="true"], .bouton:disabled { cursor: progress; opacity: 0.65; }

.bouton--principal { background: var(--orange); border-color: var(--orange); color: var(--encre); }
.bouton--principal:hover { background: var(--orange-presse); border-color: var(--orange-presse); }

.bouton--secondaire { background: transparent; border-color: var(--sur-vert); color: var(--sur-vert); }
.bouton--secondaire:hover { background: var(--sur-vert); color: var(--vert); }

.bouton--encre { background: var(--encre); border-color: var(--encre); color: var(--papier); }
.bouton--encre:hover { background: var(--vert); border-color: var(--vert); }

.bouton--contour { background: transparent; border-color: var(--encre); color: var(--encre); }
.bouton--contour:hover { background: var(--encre); color: var(--papier); }

/* ---------- Tampon : la date comme sur la capsule ---------- */
.tampon {
  display: inline-flex;
  flex-direction: column;
  gap: var(--e-1);
  margin: 0;
}
.tampon__libelle {
  font-family: var(--police-titre);
  font-stretch: 90%;
  font-weight: 700;
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tampon__date {
  font-family: var(--police-date);
  font-weight: 800;
  font-size: clamp(2.75rem, 2.1rem + 3.2vw, 4.25rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ---------- Une (premier écran) ---------- */
.une {
  background: var(--vert);
  color: var(--sur-vert);
  --focus: var(--lime);
}
.une__texte {
  max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  margin: 0 auto;
  padding: var(--e-6) var(--gouttiere) var(--e-7);
  display: grid;
  gap: var(--e-5);
}
.une--courte h1 { max-width: 12ch; }
.une--coach h1 { max-width: 14ch; }
.une__surtitre {
  font-family: var(--police-titre);
  font-stretch: 90%;
  font-weight: 700;
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sur-vert-doux);
}
.une__retour { font-family: var(--police-titre); font-stretch: 88%; font-weight: 700; font-size: var(--t-s); }
.une__retour a { color: var(--sur-vert-doux); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.une__retour a:hover { color: var(--sur-vert); text-decoration: underline; }
.une h1 {
  font-size: var(--t-3xl);
  font-stretch: 75%;
  font-weight: 830;
  line-height: 0.96;
  max-width: 13ch;
}
.une__sous {
  font-size: var(--t-l);
  line-height: 1.4;
  max-width: 30ch;
  color: var(--sur-vert);
}
.une .tampon { color: var(--sur-vert-doux); }
.une .tampon__date { color: var(--lime); }
.une__actions { display: flex; flex-wrap: wrap; gap: var(--e-3); }

/* Vidéo T1 dans le premier écran : sous les boutons sur téléphone, dans la colonne de droite sur ordinateur. */
.une__video { display: grid; gap: var(--e-3); margin-top: var(--e-3); }
.une__video-titre {
  margin: 0;
  font-family: var(--police-titre);
  font-stretch: 90%;
  font-weight: 700;
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sur-vert-doux);
}
.une__video-sous {
  display: block;
  margin-top: var(--e-1);
  font-family: var(--police-texte);
  font-stretch: 100%;
  font-weight: 400;
  font-size: var(--t-s);
  letter-spacing: 0;
  text-transform: none;
}
.une__video-suite { margin: 0; }
.une__video-suite a {
  display: inline-flex;
  align-items: center;
  gap: var(--e-2);
  min-height: 44px;
  color: var(--sur-vert);
  font-family: var(--police-titre);
  font-stretch: 88%;
  font-weight: 700;
  font-size: var(--t-m);
  text-underline-offset: 0.2em;
}
.une .transcription { margin-top: 0; }
.une .transcription summary { color: var(--sur-vert); }
.une .transcription__texte { color: var(--sur-vert-doux); }

/* L'étagère : les 5 bocaux, sur le fond de leur propre photo */
.etagere {
  margin: 0;
  background: var(--etagere);
  border-bottom: var(--filet-epais) solid var(--encre);
}
.etagere img {
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
  aspect-ratio: 1250 / 360;
  object-fit: cover;
}

/* ---------- Sections ---------- */
main > section:not(.une) {
  max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  margin: 0 auto;
  padding: var(--e-8) var(--gouttiere);
}

.rubrique {
  border-top: var(--filet-epais) solid currentColor;
  padding-top: var(--e-3);
  margin-bottom: var(--e-5);
  display: grid;
  gap: var(--e-2);
}
.rubrique h2 { font-size: var(--t-2xl); }
.rubrique p { color: var(--encre-douce); font-size: var(--t-s); }

.chapeau { font-size: var(--t-l); line-height: 1.45; max-width: 38ch; }

/* ---------- Vidéo ---------- */
.video__cadre {
  width: min(100%, 22rem);
  background: var(--encre);
  border-radius: var(--rayon);
  overflow: hidden;
}
.video__cadre video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--encre); }

.transcription { margin-top: var(--e-4); max-width: 40rem; }
.transcription summary {
  cursor: pointer;
  font-family: var(--police-titre);
  font-stretch: 88%;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.transcription__texte { padding-top: var(--e-3); color: var(--encre-douce); }

/* ---------- Testeurs ---------- */
main > section.testeurs {
  max-width: none;
  background: var(--lime-pale);
  padding-inline: 0;
}
.testeurs > * {
  max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.testeurs__appel { display: grid; gap: var(--e-4); }
.testeurs__appel .rubrique { margin-bottom: var(--e-2); }
.testeurs .rubrique p { color: var(--encre); }
.tampon--sur-clair .tampon__date { color: var(--vert); font-size: clamp(2rem, 1.6rem + 2vw, 3rem); }

.testeurs--encart .testeurs__appel { gap: var(--e-4); }
.testeurs__action { margin-top: var(--e-2); }
.clos .testeurs__action { margin-top: var(--e-5); }

.conditions { margin: 0; display: grid; gap: var(--e-4); }
.conditions > div { border-top: var(--filet) solid var(--encre); padding-top: var(--e-3); }
.conditions dt {
  font-family: var(--police-titre);
  font-stretch: 85%;
  font-weight: 800;
  font-size: var(--t-m);
}
.conditions dd { margin: var(--e-1) 0 0; }

/* ---------- Formulaires ---------- */
.formulaire { margin-top: var(--e-7); }
.testeurs .formulaire {
  background: var(--blanc);
  border: var(--filet) solid var(--encre);
  border-radius: var(--rayon);
  padding: var(--e-5) var(--e-4);
}
.formulaire__titre { font-size: var(--t-xl); }
.formulaire__aide { color: var(--encre-douce); font-size: var(--t-s); margin-top: var(--e-1); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.formulaire > fieldset { margin-top: var(--e-6); }
.formulaire > fieldset > legend,
.choix > legend {
  font-family: var(--police-titre);
  font-stretch: 85%;
  font-weight: 800;
  font-size: var(--t-l);
  padding: 0;
  margin-bottom: var(--e-3);
}
.formulaire > fieldset > legend { border-bottom: var(--filet) solid var(--encre); width: 100%; padding-bottom: var(--e-2); }
.formulaire > fieldset fieldset.choix { margin-top: var(--e-5); }
.choix > legend { font-size: var(--t-m); }

.grille-champs { display: grid; gap: var(--e-4); }
.champ { display: grid; gap: var(--e-1); align-content: start; }
.champ label {
  font-family: var(--police-titre);
  font-stretch: 90%;
  font-weight: 700;
  font-size: var(--t-s);
}
.champ__aide { color: var(--encre-douce); font-size: var(--t-xs); line-height: 1.4; margin: 0; }
.champ__erreur {
  color: var(--erreur);
  font-family: var(--police-titre);
  font-stretch: 90%;
  font-weight: 700;
  font-size: var(--t-s);
  line-height: 1.35;
  margin: 0;
}
.champ__erreur::before { content: "! "; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.6rem 0.75rem;
  border: var(--filet) solid var(--encre);
  border-radius: var(--rayon);
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--police-titre);
  font-stretch: 95%;
  font-weight: 450;
  font-size: var(--t-m);
  line-height: 1.3;
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--encre) 50%), linear-gradient(135deg, var(--encre) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 1.3rem, calc(100% - 0.8rem) 1.3rem;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}
textarea { resize: vertical; min-height: 7rem; font-family: var(--police-texte); line-height: 1.5; }
input:hover, select:hover, textarea:hover { border-color: var(--vert); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; }
[aria-invalid="true"] { border-color: var(--erreur) !important; box-shadow: inset 0 0 0 1px var(--erreur); }

.case {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--e-3);
  align-items: start;
  margin-top: var(--e-4);
}
.case input { width: 1.5rem; height: 1.5rem; margin: 0.15rem 0 0; accent-color: var(--vert); cursor: pointer; }
.case label { cursor: pointer; line-height: 1.45; }
.case .champ__erreur { grid-column: 2; margin-top: var(--e-1); }

.choix__liste { display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.choix__liste label {
  display: flex;
  align-items: center;
  gap: var(--e-3);
  min-height: 2.875rem;
  border-bottom: 1px solid var(--ligne);
  cursor: pointer;
  font-family: var(--police-titre);
  font-stretch: 92%;
  font-weight: 500;
}
.choix__liste input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--vert); flex: none; }
.choix__question { margin: var(--e-4) 0 var(--e-2); }
.choix .champ__erreur { margin-top: var(--e-2); }

.allergenes { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--e-1); font-size: var(--t-s); }
.allergenes strong { font-family: var(--police-titre); font-stretch: 88%; font-weight: 750; }

.refus, .avis-periode {
  margin-top: var(--e-3);
  padding: var(--e-3) var(--e-4);
  border: var(--filet) solid var(--encre);
  border-radius: var(--rayon);
  background: var(--papier);
}

.donnees {
  margin-top: var(--e-6);
  padding-top: var(--e-3);
  border-top: var(--filet) solid var(--encre);
  font-size: var(--t-s);
  line-height: 1.55;
}
.donnees__titre { font-family: var(--police-titre); font-stretch: 85%; font-weight: 800; font-size: var(--t-m); margin-bottom: var(--e-2); }

.formulaire button[type="submit"] { margin-top: var(--e-5); }
.testeurs .formulaire button[type="submit"] { width: 100%; }

.formulaire__statut:empty { display: none; }
.formulaire__statut { margin-top: var(--e-4); font-family: var(--police-titre); font-stretch: 90%; font-weight: 700; }
.formulaire__statut[data-etat="erreur"] { color: var(--erreur); }

.merci {
  border-top: var(--filet-epais) solid var(--vert);
  padding-top: var(--e-4);
  animation: apparition 220ms var(--courbe) both;
}
.merci h3 { font-size: var(--t-xl); color: var(--vert); }
.merci p { margin-top: var(--e-2); }
@keyframes apparition { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.avis-periode { max-width: calc(var(--largeur) + 2 * var(--gouttiere) - 2 * var(--gouttiere)); margin: var(--e-6) auto 0; }

/* Page coach : étapes, note, formulaire pleine largeur */
.etapes {
  list-style: none;
  counter-reset: etape;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: var(--filet) solid var(--encre);
}
.etapes li {
  counter-increment: etape;
  position: relative;
  padding: var(--e-3) 0 var(--e-3) 3.25rem;
  border-bottom: 1px solid var(--ligne);
}
.etapes li::before {
  content: counter(etape, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: var(--e-3);
  font-family: var(--police-titre);
  font-stretch: 80%;
  font-weight: 800;
  font-size: var(--t-l);
  line-height: 1.2;
  color: var(--vert);
  font-variant-numeric: tabular-nums;
}
.etapes strong { font-family: var(--police-titre); font-stretch: 88%; font-weight: 750; }
.note-encadree {
  margin-top: var(--e-5);
  padding: var(--e-3) var(--e-4);
  border-left: var(--filet-epais) solid var(--lime);
  background: var(--blanc);
  font-size: var(--t-s);
  max-width: 44rem;
}
.candidature-coach .testeurs__formulaire { display: block; }
.candidature-coach .formulaire { margin-top: 0; max-width: 48rem; }
.grille-champs--suite { margin-top: var(--e-5); }
.champ--large { margin-top: var(--e-4); }

/* Préviens-moi */
.formulaire--court { max-width: 34rem; margin-top: var(--e-5); }
.formulaire--court button[type="submit"] { margin-top: var(--e-4); min-width: 12rem; }
.formulaire__note { font-size: var(--t-s); color: var(--encre-douce); margin-top: var(--e-4); }

/* ---------- Recettes : le tableau de l'étiquette ---------- */
.tableau { overflow-x: auto; }
.recettes table {
  width: 100%;
  border-collapse: collapse;
  border-top: var(--filet-epais) solid var(--encre);
  border-bottom: var(--filet-epais) solid var(--encre);
  font-family: var(--police-titre);
  font-variant-numeric: tabular-nums lining-nums;
}
.recettes thead th {
  font-stretch: 85%;
  font-weight: 700;
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: var(--e-2) var(--e-2) var(--e-2) 0;
  border-bottom: var(--filet) solid var(--encre);
}
.recettes tbody th, .recettes td {
  padding: var(--e-3) var(--e-2) var(--e-3) 0;
  border-bottom: 1px solid var(--ligne);
  vertical-align: top;
}
.recettes tbody tr:last-child > * { border-bottom: 0; }
.recettes tbody th {
  text-align: left;
  font-stretch: 80%;
  font-weight: 750;
  font-size: var(--t-m);
  line-height: 1.2;
  padding-right: var(--e-4);
}
.recettes td { font-weight: 600; font-stretch: 88%; white-space: nowrap; }
.recettes .nombre { text-align: right; }
.recettes .nombre:last-child { padding-right: 0; }
.mention {
  display: block;
  margin-top: var(--e-1);
  font-stretch: 90%;
  font-weight: 500;
  font-size: var(--t-xs);
  color: var(--vert);
}
.note { margin-top: var(--e-4); font-size: var(--t-s); }
.sante { margin-top: var(--e-3); font-size: var(--t-xs); color: var(--encre-douce); }

/* ---------- Réseaux ---------- */
.reseaux__liens { list-style: none; margin: var(--e-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--e-3); }
.reseaux__compte { font-weight: 500; }

/* ---------- Pied ---------- */
.pied {
  background: var(--encre);
  color: var(--papier);
  --focus: var(--lime);
  padding: var(--e-7) var(--gouttiere) var(--e-8);
  font-size: var(--t-s);
  display: grid;
  gap: var(--e-2);
}
.pied > * { max-width: var(--largeur); width: 100%; margin-inline: auto; }
.pied a { color: var(--papier); }
.pied a:hover { color: var(--lime); }
.pied__societe { font-family: var(--police-titre); font-stretch: 85%; font-weight: 800; font-size: var(--t-m); }
.pied__legal { list-style: none; padding: 0; margin-top: var(--e-4); display: flex; flex-wrap: wrap; gap: var(--e-2) var(--e-5); }
.pied p + p { margin-top: 0; }

/* ---------- Écrans moyens et grands ---------- */
@media (min-width: 40rem) {
  .grille-champs { grid-template-columns: 1fr 1fr; }
  .barre__logo img { width: 6rem; height: 6rem; }
  .barre__nav a { font-size: var(--t-m); }
  .testeurs .formulaire { padding: var(--e-6); }
  .testeurs .formulaire button[type="submit"] { width: auto; }
  .choix__liste { grid-template-columns: 1fr 1fr; column-gap: var(--e-5); }
}

@media (min-width: 48rem) {
  .aiguillage ul { grid-template-columns: auto auto; justify-content: end; padding-inline: var(--gouttiere); }
  .aiguillage li + li { border-left: 0; }
  .aiguillage a, .aiguillage li + li a { padding: var(--e-2) 0 var(--e-2) var(--e-6); min-height: 2.75rem; }
}

@media (min-width: 60rem) {
  .une__texte {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "titre tampon" "sous tampon" "actions tampon";
    column-gap: var(--e-7);
    align-items: end;
    padding-block: var(--e-8) var(--e-7);
  }
  .une--courte .une__texte { grid-template-areas: "retour retour" "titre tampon" "sous tampon" "actions tampon"; }
  .une--coach .une__texte { grid-template-areas: "retour retour" "surtitre surtitre" "titre titre" "sous sous" "actions actions"; grid-template-columns: minmax(0, 1fr); }
  .une__surtitre { grid-area: surtitre; }
  .une__retour { grid-area: retour; }
  .une h1 { grid-area: titre; }
  .une__sous { grid-area: sous; }
  .une__actions { grid-area: actions; }
  .une .tampon { grid-area: tampon; justify-self: end; align-self: end; text-align: left; }
  .une .tampon__date { font-size: clamp(4.5rem, 1rem + 6vw, 7.5rem); }
  /* Vidéo dans la colonne de droite, sur toute la hauteur ; la date d'ouverture passe sous les boutons. */
  .une__texte:has(.une__video) {
    grid-template-areas: "titre video" "sous video" "actions video" "tampon video";
    grid-template-rows: auto auto auto 1fr;
    align-items: start;
    padding-top: var(--e-7);
  }
  .une__texte:has(.une__video) > .tampon { justify-self: start; align-self: end; }
  .une__video {
    grid-area: video;
    justify-self: end;
    align-self: start;
    margin-top: 0;
    width: clamp(14rem, calc((100svh - 20rem) * 0.5625), 19rem);
  }
  .une__video .video__cadre { width: 100%; }

  main > section:not(.une):not(.testeurs),
  .testeurs__appel {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: var(--e-7);
    align-items: start;
  }
  main > section:not(.une):not(.testeurs) > *:not(.rubrique),
  .testeurs__appel > *:not(.rubrique) { grid-column: 2; }
  main > section:not(.une):not(.testeurs) > .rubrique,
  .testeurs__appel > .rubrique { grid-column: 1; grid-row: 1 / span 6; margin-bottom: 0; }
  .chapeau { margin-top: 0; }
  .testeurs__formulaire {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: var(--e-7);
  }
  .testeurs__formulaire > .formulaire { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bouton, .aiguillage a { transition: none; }
  .bouton:active { transform: none; }
  .merci { animation: none; }
}

@media (forced-colors: active) {
  .bouton { border-color: ButtonText; }
  .rubrique, .recettes table { border-color: CanvasText; }
}
