/* ==========================================================================
   Cotarel, feuille de style unique
   Systeme de nommage ancre dans le vocabulaire de la cotation infirmiere :
   piste (section), colonnage (grille), filets (colonnes visibles),
   rail (filet de cotation), maree (motif), releve, seance, formule, pli.
   ========================================================================== */

/* --- 1. Variables ------------------------------------------------------- */

:root {
  --fond: #F6F9FC;
  --fond-alt: #E7EFF7;
  --surface: #FFFFFF;
  --texte: #10202F;
  --texte-doux: #4C5F72;
  --accent: #1E4FA0;
  --accent-fonce: #17407F;
  --accent-texte: #FFFFFF;
  --brique: #A6321F;
  --brique-clair: #F3E2DE;
  --bordure: #CBD9E6;

  --titre: "Josefin Sans", "Trebuchet MS", sans-serif;
  --courant: "PT Serif", Georgia, "Times New Roman", serif;
  --mono: "Azeret Mono", "Courier New", monospace;

  --cadre: 1280px;
  --marge: 40px;
  --gouttiere: 24px;
  --rythme: clamp(64px, 8vw, 112px);
}

/* --- 2. Base ------------------------------------------------------------ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--courant);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; max-width: 68ch; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--accent-fonce); }

strong { font-weight: 700; }
em { font-style: italic; }

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

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

.saut-contenu {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-texte);
  font-family: var(--titre);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 22px;
  text-decoration: none;
}
.saut-contenu:focus {
  left: 12px;
  top: 12px;
  color: var(--accent-texte);
}

.hors-ecran {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --- 3. Grille editoriale a douze colonnes visibles --------------------- */

.colonnage {
  width: 100%;
  max-width: var(--cadre);
  margin: 0 auto;
  padding: 0 var(--marge);
}

.grille {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gouttiere);
  row-gap: 32px;
  width: 100%;
  max-width: var(--cadre);
  margin: 0 auto;
  padding: 0 var(--marge);
}

/* filets de colonnes reellement traces sur toute la hauteur de la page */
.filets {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.filets__cadre {
  width: 100%;
  max-width: var(--cadre);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--marge);
}
.filets__cadre > span {
  display: block;
  height: 100%;
  background-image:
    repeating-linear-gradient(to right,
      color-mix(in srgb, var(--bordure) 40%, transparent) 0 1px,
      transparent 1px calc(100% / 12));
  border-right: 1px solid color-mix(in srgb, var(--bordure) 40%, transparent);
}

body > *:not(.filets) { position: relative; z-index: 1; }

.col-1-7  { grid-column: 1 / span 7; }
.col-8-12 { grid-column: 8 / span 5; }
.col-1-8  { grid-column: 1 / span 8; }
.col-1-12 { grid-column: 1 / span 12; }
.col-3-10 { grid-column: 3 / span 8; }
.col-4    { grid-column: span 4; }
.col-6    { grid-column: span 6; }

/* --- 4. Motif signature : lignes de maree horizontales degradees -------- */

.maree {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg,
      var(--accent) 0 2px,
      transparent 2px 16px),
    repeating-linear-gradient(0deg,
      var(--accent) 0 5px,
      transparent 5px 34px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%, #000 62%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 30%, #000 62%, transparent 100%);
  opacity: 0.06;
}
.maree--glacier { opacity: 0.10; }
.maree--dense { opacity: 0.16; }
.maree--basse {
  top: auto;
  height: 46%;
}

/* --- 5. Rail de cotation et double filet -------------------------------- */

.rail {
  position: relative;
  padding-left: 22px;
}
.rail::before,
.rail::after {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
}
.rail::before {
  top: 0;
  height: 74%;
  background: var(--accent);
}
.rail::after {
  bottom: 0;
  height: 18%;
  background: var(--brique);
}

.filet-double {
  border: 0;
  height: 5px;
  margin: 0 0 26px;
  background:
    linear-gradient(var(--texte), var(--texte)) top left / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--texte) 30%, transparent),
                    color-mix(in srgb, var(--texte) 30%, transparent)) bottom left / 100% 1px no-repeat;
}
.filet-double--accent {
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--accent) 30%, transparent),
                    color-mix(in srgb, var(--accent) 30%, transparent)) bottom left / 100% 1px no-repeat;
}

/* --- 6. Surtitres et etiquettes monospace ------------------------------- */

.surtitre {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 14px;
  display: block;
}
.surtitre--brique { color: var(--brique); }

.code-acte {
  font-family: var(--mono);
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--fond-alt);
  border-bottom: 1px solid var(--bordure);
  padding: 1px 6px;
  white-space: nowrap;
}

.ref-texte {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--texte-doux);
  display: block;
  margin-top: 10px;
}

.statut {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border: 1px solid var(--bordure);
  white-space: nowrap;
}
.statut--bloquante { color: var(--brique); border-color: var(--brique); background: var(--brique-clair); }
.statut--douteuse { color: var(--accent); border-color: var(--accent); background: var(--fond-alt); }
.statut--conforme { color: var(--texte-doux); }

/* --- 7. Pistes (sections) et rythme vertical ---------------------------- */

.piste {
  position: relative;
  z-index: 0;
  padding: var(--rythme) 0;
}
.piste--glacier { background: var(--fond-alt); }
.piste--surface { background: var(--surface); }

/* les filets de colonnes traversent aussi les sections opaques */
.piste--glacier::before,
.piste--surface::before,
.chapeau::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  width: min(calc(100% - 2 * var(--marge)), calc(var(--cadre) - 2 * var(--marge)));
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right,
      color-mix(in srgb, var(--bordure) 40%, transparent) 0 1px,
      transparent 1px calc(100% / 12));
  border-right: 1px solid color-mix(in srgb, var(--bordure) 40%, transparent);
}
.piste--serre { padding: calc(var(--rythme) * 0.62) 0; }
.piste--haute { padding: calc(var(--rythme) * 1.25) 0 var(--rythme); }

.piste__tete { margin-bottom: 46px; }
.piste__tete p { color: var(--texte-doux); font-size: 1.125rem; }

.decale-haut { margin-top: -56px; }
.decale-bas { margin-bottom: -46px; }
.grille--suite { margin-top: 44px; }
.colonnage--suite { margin-top: 52px; }
.carte--empilee { margin-bottom: 20px; }

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

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 2px;
  font-family: var(--titre);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 0;
  transition: background-color 180ms ease, color 180ms ease;
}
.action--pleine {
  background: var(--accent);
  color: var(--accent-texte);
}
.action--pleine:hover { background: var(--accent-fonce); color: var(--accent-texte); }
.action--pleine::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--brique), color-mix(in srgb, var(--brique) 20%, transparent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}
.action--pleine:hover::after { transform: scaleX(1); }

.action--filet {
  color: var(--texte);
  background: transparent;
  box-shadow:
    inset 0 0 0 1px var(--texte-doux),
    inset 0 0 0 4px color-mix(in srgb, var(--texte-doux) 30%, transparent);
}
.action--filet:hover {
  background: var(--fond-alt);
  color: var(--texte);
  box-shadow:
    inset 0 0 0 1px var(--accent),
    inset 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent);
}

.action--mono {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.trousse-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 22px;
}

/* --- 9. En tete --------------------------------------------------------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 88px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: height 200ms ease, background-color 200ms ease;
}
.entete--reduite {
  height: 60px;
  background: color-mix(in srgb, var(--fond) 96%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.entete--reduite::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 3px;
  background: linear-gradient(90deg,
    transparent, var(--accent) 35%, var(--accent) 60%, transparent);
  opacity: 0.55;
}
.entete__interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: var(--cadre);
  margin: 0 auto;
  padding: 0 var(--marge);
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--texte);
}
.marque__sceau { width: 34px; height: 34px; flex: 0 0 34px; }
.marque__mot {
  font-family: var(--titre);
  font-size: 1.18rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.marque__mot b { font-weight: 700; }
.marque__mot span { font-weight: 400; }

.nav-ancres { display: flex; align-items: center; gap: 26px; }
.nav-ancres a {
  font-family: var(--titre);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--texte);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-ancres a:hover { border-bottom-color: var(--accent); color: var(--accent); }
.entete .action { min-height: 44px; padding: 0 20px; }

.bouton-tiroir {
  display: none;
  width: 46px; height: 40px;
  background: transparent;
  border: 1px solid var(--bordure);
  border-radius: 2px;
  cursor: pointer;
  padding: 10px 11px;
  flex-direction: column;
  justify-content: space-between;
}
.bouton-tiroir span {
  display: block;
  height: 2px;
  background: var(--texte);
}
.bouton-tiroir span:nth-child(2) { width: 70%; }
.bouton-tiroir span:nth-child(3) { background: var(--brique); width: 45%; }

.tiroir {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--fond-alt);
  padding: 88px var(--marge) 40px;
  overflow-y: auto;
  display: none;
}
.tiroir[data-ouvert="oui"] { display: block; }
.tiroir a {
  display: block;
  font-family: var(--titre);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--texte);
  text-decoration: none;
  padding: 16px 0 16px 22px;
  border-bottom: 1px solid var(--bordure);
  position: relative;
}
.tiroir a::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 3px;
  background: var(--accent);
}
.tiroir a:hover { color: var(--accent); }
.tiroir .action { margin-top: 26px; width: 100%; }
.tiroir__fermer {
  position: absolute;
  top: 22px; right: var(--marge);
  background: transparent;
  border: 1px solid var(--bordure);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
  color: var(--texte);
}

/* --- 10. Chapeau (hero) ------------------------------------------------- */

.chapeau {
  position: relative;
  z-index: 0;
  padding: clamp(40px, 6vw, 78px) 0 var(--rythme);
  overflow: hidden;
}
.chapeau__grille { align-items: start; row-gap: 44px; }
.chapeau h1 { margin-bottom: 0.35em; }
.chapeau__accroche {
  font-size: 1.1875rem;
  color: var(--texte-doux);
}
.chapeau__reassurance {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--texte);
  border-top: 1px solid var(--bordure);
  padding-top: 16px;
  max-width: 52ch;
}

.ardoise {
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 30px 26px 26px;
  position: relative;
}
.ardoise__legende {
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--texte-doux);
  margin: 0 0 8px;
}
.montant {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(3.4rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--brique);
  display: block;
  margin-bottom: 6px;
}
.montant__unite {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--brique);
}
.ardoise__note {
  font-size: 0.8125rem;
  color: var(--texte-doux);
  margin: 14px 0 0;
}
.ardoise__lignes {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--bordure);
}
.ardoise__lignes li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  padding: 9px 0;
  border-bottom: 1px solid var(--fond-alt);
  margin: 0;
}
.ardoise__lignes span:last-child { color: var(--brique); font-weight: 500; }

/* --- 11. Pieces photographiques ---------------------------------------- */

.piece { position: relative; }
.piece__cadre {
  position: relative;
  border: 1px solid var(--bordure);
  padding: 8px;
  background: var(--surface);
}
.piece__cadre img {
  filter: saturate(0.62) contrast(1.02);
  width: 100%;
}
.piece__voile {
  position: absolute;
  inset: 8px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.piece__maree {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  height: 33%;
  background-image: repeating-linear-gradient(0deg, #fff 0 3px, transparent 3px 22px);
  opacity: 0.16;
  pointer-events: none;
}
.piece__legende {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--texte-doux);
  margin: 12px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  max-width: 46ch;
}

/* --- 12. Cartes, paves, releve d anomalies ------------------------------ */

.carte {
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 26px 24px 24px;
  height: 100%;
}
.carte h3 { margin-bottom: 0.5em; }
.carte p { font-size: 1rem; margin-bottom: 0.7em; }
.carte p:last-child { margin-bottom: 0; }

.pave-chiffre {
  font-family: var(--mono);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.pave-chiffre--brique { color: var(--brique); }

.etape {
  counter-increment: etapes;
  position: relative;
  padding-top: 22px;
  border-top: 1px solid var(--bordure);
}
.liste-etapes { counter-reset: etapes; }
.etape::before {
  content: counter(etapes, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brique);
  display: block;
  margin-bottom: 12px;
}
.etape h3 { font-size: 1.2rem; }
.etape p { font-size: 1rem; color: var(--texte-doux); }

.deborde {
  width: 100%;
  overflow-x: auto;
}
.releve {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  font-size: 0.9375rem;
}
.releve caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--texte-doux);
  padding-bottom: 12px;
}
.releve th,
.releve td {
  border: 1px solid var(--bordure);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.releve thead th {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--texte-doux);
  background: var(--fond-alt);
}
.releve tbody th {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
}
.releve .somme {
  font-family: var(--mono);
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
  color: var(--brique);
}
.releve tfoot td {
  font-family: var(--mono);
  font-weight: 700;
  background: var(--fond-alt);
}

/* --- 13. Bandeau collant et compteurs ----------------------------------- */

.bandeau-colle {
  position: sticky;
  top: 60px;
  z-index: 40;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-left: 3px solid var(--accent);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 34px;
  padding: 12px 18px;
  margin-bottom: 34px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--texte-doux);
}
.bandeau-colle b {
  color: var(--texte);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.bandeau-colle .brique { color: var(--brique); }

.bandeau {
  position: relative;
  z-index: 0;
  background: var(--texte);
  color: var(--surface);
  padding: 40px 0;
  overflow: hidden;
}
.bandeau .maree {
  background-image: repeating-linear-gradient(0deg, #fff 0 3px, transparent 3px 20px);
  opacity: 0.16;
}
.bandeau__valeur {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--surface);
}
.bandeau__libelle {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--surface) 74%, transparent);
  margin-top: 8px;
}
.bandeau .col-3 { grid-column: span 3; }

/* --- 14. Temoignages ---------------------------------------------------- */

.temoignage {
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 28px 26px 24px;
  height: 100%;
}
.temoignage blockquote {
  margin: 0 0 18px;
  font-size: 1.0625rem;
}
.temoignage blockquote p:last-child { margin-bottom: 0; }
.temoignage figcaption {
  border-top: 1px solid var(--bordure);
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--texte-doux);
}
.temoignage figcaption b {
  display: block;
  color: var(--texte);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.temoignage__gain {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brique);
  background: var(--brique-clair);
  padding: 4px 9px;
  margin-bottom: 16px;
}

/* --- 15. Formules ------------------------------------------------------- */

.formule {
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 30px 26px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.formule--avant {
  transform: translateY(-16px);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.formule__marque {
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.formule h3 { margin-bottom: 0.35em; }
.formule__cible { font-size: 0.9375rem; color: var(--texte-doux); }
.formule__prix {
  font-family: var(--mono);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--texte);
  display: block;
  margin: 18px 0 4px;
}
.formule__unite {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--texte-doux);
  display: block;
  margin-bottom: 20px;
}
.formule__liste {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  border-top: 1px solid var(--bordure);
  flex: 1 1 auto;
}
.formule__liste li {
  font-size: 0.9375rem;
  line-height: 1.6;
  padding: 12px 0 12px 20px;
  border-bottom: 1px solid var(--fond-alt);
  position: relative;
  margin: 0;
}
.formule__liste li::before {
  content: "";
  position: absolute;
  left: 0; top: 20px;
  width: 9px; height: 1px;
  background: var(--accent);
}
.formule .action { width: 100%; }
.note-tarif {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--texte-doux);
  margin-top: 26px;
  padding-left: 14px;
  border-left: 2px solid var(--brique);
}

/* --- 16. FAQ ------------------------------------------------------------ */

.pli {
  border-bottom: 1px solid var(--bordure);
  background: transparent;
}
.pli:first-of-type { border-top: 1px solid var(--bordure); }
.pli h3 { margin: 0; }
.pli__question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--titre);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--texte);
  padding: 22px 52px 22px 22px;
  position: relative;
  line-height: 1.3;
}
.pli__question::before {
  content: "";
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 3px;
  background: var(--bordure);
}
.pli__question[aria-expanded="true"]::before { background: var(--accent); }
.pli__question::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 220ms ease, color 220ms ease;
}
.pli__question[aria-expanded="true"]::after {
  color: var(--brique);
  transform: translateY(-50%) rotate(45deg);
}
.pli__question:hover { color: var(--accent); }
.pli__reponse {
  padding: 0 40px 26px 22px;
}
.pli__reponse[hidden] { display: none; }
.pli__reponse p { font-size: 1rem; margin-bottom: 0.8em; }
.pli__reponse p:last-child { margin-bottom: 0; }

/* --- 17. Formulaire de dossier ------------------------------------------ */

.dossier {
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: clamp(26px, 4vw, 44px);
}
.champs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.champ { display: flex; flex-direction: column; }
.champ--large { grid-column: 1 / -1; }
.champ label,
.champ > span {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--texte-doux);
  margin-bottom: 7px;
}
.champ input[type="text"],
.champ input[type="email"],
.champ select,
.champ textarea {
  font-family: var(--courant);
  font-size: 1rem;
  color: var(--texte);
  background: var(--fond);
  border: 1px solid var(--bordure);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 12px 14px;
  width: 100%;
}
.champ textarea { resize: vertical; min-height: 140px; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus { background: var(--surface); }

.accord {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--texte-doux);
  border-top: 1px solid var(--bordure);
  padding-top: 20px;
}
.accord input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--accent); }
.accord label { margin: 0; font-family: var(--courant); font-size: 0.9375rem; text-transform: none; letter-spacing: 0; color: var(--texte-doux); }

.suite-envoi {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--texte-doux);
  margin-top: 22px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}

/* --- 18. Pied de page --------------------------------------------------- */

.pied {
  position: relative;
  z-index: 0;
  background: var(--texte);
  color: color-mix(in srgb, #FFFFFF 82%, transparent);
  padding: var(--rythme) 0 0;
  overflow: hidden;
}
.pied .maree {
  background-image: repeating-linear-gradient(0deg, #fff 0 2px, transparent 2px 18px);
  opacity: 0.1;
}
.pied h2, .pied h3 { color: #FFFFFF; }
.pied h3 {
  font-size: 0.8125rem;
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, #FFFFFF 70%, transparent);
  margin-bottom: 18px;
}
.pied a { color: #FFFFFF; text-decoration: none; }
.pied a:hover { color: #FFFFFF; text-decoration: underline; }
.pied p { font-size: 0.9375rem; }
.pied__colonne { grid-column: span 3; }
.pied__liste { list-style: none; padding: 0; margin: 0; }
.pied__liste li { margin-bottom: 10px; font-size: 0.9375rem; }
.pied .marque { color: #FFFFFF; margin-bottom: 16px; }
.pied .marque__mot { color: #FFFFFF; }
.reseaux { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; }
.reseaux a {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid color-mix(in srgb, #FFFFFF 40%, transparent);
}
.pied__barre {
  margin-top: 54px;
  border-top: 1px solid color-mix(in srgb, #FFFFFF 20%, transparent);
  padding: 22px 0 30px;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, #FFFFFF 70%, transparent);
}
.pied__barre a { text-decoration: underline; }

/* --- 19. Pages internes ------------------------------------------------- */

.fil {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texte-doux);
  padding: 26px 0 0;
}
.fil a { color: var(--texte-doux); }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.fil li + li::before { content: "/ "; color: var(--bordure); }

.article-legal { padding: 20px 0 var(--rythme); }
.article-legal h2 {
  font-size: 1.5rem;
  margin-top: 2em;
  padding-top: 12px;
  border-top: 1px solid var(--bordure);
}
.article-legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.article-legal dl { margin: 0 0 1.4em; }
.article-legal dt {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--texte-doux);
  margin-top: 12px;
}
.article-legal dd { margin: 2px 0 0; }
.article-legal table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; margin-bottom: 1.4em; }
.article-legal th, .article-legal td { border: 1px solid var(--bordure); padding: 10px 12px; text-align: left; }
.article-legal thead th { background: var(--fond-alt); font-family: var(--mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; }

.portrait {
  border: 1px solid var(--bordure);
  padding: 8px;
  background: var(--surface);
}
.portrait img { filter: saturate(0.7); }

.encadre {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-left: 3px solid var(--accent);
  padding: 24px 24px 20px;
  margin: 30px 0;
}
.encadre h3 { margin-top: 0; }
.encadre p:last-child { margin-bottom: 0; }

.plan-liste { list-style: none; padding: 0; margin: 0; }
.plan-liste > li {
  border-top: 1px solid var(--bordure);
  padding: 20px 0 20px 22px;
  position: relative;
  margin: 0;
}
.plan-liste > li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 3px;
  background: var(--accent);
}
.plan-liste h3 { margin-bottom: 0.25em; font-size: 1.15rem; }
.plan-liste p { margin: 0; font-size: 0.9375rem; color: var(--texte-doux); }

.centre-page {
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--rythme) 0;
}
.code-erreur {
  font-family: var(--mono);
  font-size: clamp(3.4rem, 10vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brique);
  display: block;
  margin-bottom: 12px;
}

/* --- 20. Animation des compteurs ---------------------------------------- */

[data-compteur] { font-variant-numeric: tabular-nums; }
.apparait {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}
.apparait.est-visible { opacity: 1; transform: none; }

/* --- 21. Adaptations ---------------------------------------------------- */

@media (max-width: 1080px) {
  .nav-ancres { gap: 18px; }
  .nav-ancres a { font-size: 0.75rem; }
}

@media (max-width: 900px) {
  :root { --marge: 24px; --gouttiere: 18px; }
  .filets__cadre > span,
  .piste--glacier::before,
  .piste--surface::before,
  .chapeau::before {
    background-image:
      repeating-linear-gradient(to right,
        color-mix(in srgb, var(--bordure) 40%, transparent) 0 1px,
        transparent 1px calc(100% / 6));
  }
  .nav-ancres, .entete .action { display: none; }
  .bouton-tiroir { display: flex; }
  .grille { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-1-7, .col-8-12, .col-1-8, .col-1-12, .col-3-10, .col-4, .col-6 { grid-column: 1 / -1; }
  .bandeau .col-3 { grid-column: span 3; }
  .formule--avant { transform: none; }
  .decale-haut { margin-top: 0; }
  .bandeau-colle { top: 60px; }
}

@media (max-width: 600px) {
  .filets__cadre > span,
  .piste--glacier::before,
  .piste--surface::before,
  .chapeau::before {
    background-image:
      repeating-linear-gradient(to right,
        color-mix(in srgb, var(--bordure) 40%, transparent) 0 1px,
        transparent 1px calc(100% / 3));
  }
  .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bandeau .col-3 { grid-column: 1 / -1; }
  .champs { grid-template-columns: 1fr; }
  .trousse-actions .action { width: 100%; }
  body { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .apparait { opacity: 1; transform: none; }
}

@media print {
  .filets, .entete, .tiroir, .maree { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   22. Le Releve Infirmier, section magazine
   Prolongement de la feuille de style, pas un module rapporte : memes variables
   de couleur, meme rail de cotation (segment bleu glacier puis segment rouge
   brique), meme double filet sous les titres, meme motif de lignes de maree et
   meme signature d animation (chiffres qui changent quand la section se colle).
   Aucune regle des sections 1 a 21 n est modifiee.
   Nommage : feuillet (carte d article), sommaire (grille de feuillets),
   tete-article, exergue, corps-article, chute-article, encart-auteur,
   lire-aussi, tete-magazine.
   ========================================================================== */

/* --- 22.1 Entetes de magazine ------------------------------------------- */

.tete-magazine { margin-bottom: 48px; }
.tete-magazine h1 { margin-bottom: 0.3em; }
.tete-magazine p {
  font-size: 1.125rem;
  color: var(--texte-doux);
  max-width: 64ch;
}
.tete-magazine p:last-child { margin-bottom: 0; }

.suite-magazine {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
}
.suite-magazine p {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--texte-doux);
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--brique);
  max-width: 46ch;
}

/* --- 22.2 Grille de cartes d article ------------------------------------ */

.sommaire { row-gap: 46px; align-items: stretch; }

/* --- 22.3 Feuillet, la carte d article ---------------------------------- */

.feuillet {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 10px 10px 22px;
  transition: border-color 200ms ease;
}
.feuillet::before,
.feuillet::after {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
}
.feuillet::before { top: 0; height: 74%; background: var(--accent); }
.feuillet::after { bottom: 0; height: 18%; background: var(--brique); }
.feuillet:hover,
.feuillet:focus-within { border-color: var(--accent); }

.feuillet__cadre {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--fond-alt);
}
.feuillet__cadre img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.62) contrast(1.02);
  transition: transform 420ms ease;
}
.feuillet:hover .feuillet__cadre img { transform: scale(1.025); }
.feuillet__voile {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.feuillet__maree {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 33%;
  background-image: repeating-linear-gradient(0deg, #fff 0 3px, transparent 3px 22px);
  opacity: 0.16;
  pointer-events: none;
}
/* ligne de maree qui balaye le bas de l image au survol, comme sur les boutons */
.feuillet__cadre::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--brique), color-mix(in srgb, var(--brique) 20%, transparent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}
.feuillet:hover .feuillet__cadre::after,
.feuillet:focus-within .feuillet__cadre::after { transform: scaleX(1); }

.feuillet__corps {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px 14px 0;
}
.feuillet__angle {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.feuillet__titre {
  font-family: var(--titre);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  max-width: none;
  text-wrap: balance;
}
.feuillet__titre a {
  color: var(--texte);
  text-decoration: none;
}
.feuillet:hover .feuillet__titre a,
.feuillet__titre a:hover { color: var(--accent); }
.feuillet__extrait {
  font-size: 0.9375rem;
  line-height: 1.66;
  color: var(--texte-doux);
  margin: 0 0 18px;
  max-width: 46ch;
}
.feuillet__pied {
  margin-top: auto;
  border-top: 1px solid var(--bordure);
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--texte-doux);
}
.feuillet--compact .feuillet__titre { font-size: 1.12rem; }
.feuillet--compact .feuillet__corps { padding-top: 16px; }
.feuillet--compact .feuillet__extrait { margin-bottom: 0; font-size: 0.875rem; }

/* --- 22.4 Entete d article ---------------------------------------------- */

.tete-article { padding-top: 6px; }
.tete-article h1 { margin-bottom: 0.32em; }
.tete-article .filet-double { margin-bottom: 24px; }

.reperes { margin: 0 0 30px; }
.reperes time { font-variant-numeric: tabular-nums; }
.reperes__angle { color: var(--brique); font-weight: 500; }

/* exergue du chapeau : porte le rail de cotation, comme les cartes */
.exergue {
  font-size: 1.1875rem;
  line-height: 1.62;
  color: var(--texte);
  margin: 0 0 8px;
  padding-left: 22px;
  max-width: 62ch;
}

/* image a la une, cadre strict aligne sur les douze colonnes, sans coin arrondi */
.piece--une { margin-top: 10px; }
.piece--une .piece__cadre img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
.piece--une .piece__maree { height: 30%; }

/* --- 22.5 Corps redactionnel, balises nues ------------------------------ */

.corps-article {
  max-width: 68ch;
  font-size: 1.0625rem;
  line-height: 1.72;
}
.corps-article > *:first-child { margin-top: 0; }

.corps-article h2 {
  font-family: var(--titre);
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 2.15em 0 0.65em;
  padding-bottom: 14px;
  background:
    linear-gradient(var(--texte), var(--texte)) bottom 4px left / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--texte) 30%, transparent),
                    color-mix(in srgb, var(--texte) 30%, transparent)) bottom left / 100% 1px no-repeat;
}
.corps-article h3 {
  font-family: var(--titre);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 1.9em 0 0.5em;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}
.corps-article p { margin: 0 0 1.15em; max-width: 68ch; }

.corps-article a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.corps-article a:hover {
  color: var(--accent-fonce);
  text-decoration-color: var(--brique);
}
.corps-article strong { font-weight: 700; color: var(--texte); }

.corps-article ul,
.corps-article ol {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.4em;
  max-width: 66ch;
}
.corps-article li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 0.55em;
}
.corps-article ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.86em;
  width: 12px;
  height: 1px;
  background: var(--accent);
}
.corps-article ol { counter-reset: puces-corps; }
.corps-article ol > li { counter-increment: puces-corps; }
.corps-article ol > li::before {
  content: counter(puces-corps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.12em;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brique);
}
.corps-article li ul,
.corps-article li ol { margin: 0.5em 0 0.2em; }

/* tableau recapitulatif : filets de colonnes, en tete monospace, montants a droite */
.corps-article table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 0 0 1.7em;
  font-size: 0.9375rem;
}
.corps-article th,
.corps-article td {
  border: 1px solid var(--bordure);
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
}
.corps-article thead th {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--texte-doux);
  background: var(--fond-alt);
  white-space: nowrap;
}
.corps-article tbody th {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 500;
  background: color-mix(in srgb, var(--fond-alt) 45%, transparent);
}
.corps-article tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--fond-alt) 30%, transparent);
}

/* encadre : rail de cotation a gauche, fond surface */
.corps-article aside {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 24px 24px 20px 28px;
  margin: 34px 0;
  font-size: 1rem;
}
.corps-article aside::before,
.corps-article aside::after {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
}
.corps-article aside::before { top: 0; height: 74%; background: var(--accent); }
.corps-article aside::after { bottom: 0; height: 18%; background: var(--brique); }
.corps-article aside p:last-child,
.corps-article aside ul:last-child,
.corps-article aside ol:last-child { margin-bottom: 0; }

/* citation : meme rail, corps de texte agrandi, jamais d italique */
.corps-article blockquote {
  position: relative;
  margin: 32px 0;
  padding: 6px 0 6px 28px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--texte);
  max-width: 62ch;
}
.corps-article blockquote::before,
.corps-article blockquote::after {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
}
.corps-article blockquote::before { top: 0; height: 74%; background: var(--accent); }
.corps-article blockquote::after { bottom: 0; height: 18%; background: var(--brique); }
.corps-article blockquote p:last-child { margin-bottom: 0; }

.corps-article figure {
  margin: 32px 0;
  border: 1px solid var(--bordure);
  background: var(--surface);
  padding: 8px;
}
.corps-article figure img { width: 100%; filter: saturate(0.62) contrast(1.02); }
.corps-article figure > *:first-child { margin-top: 0; }
.corps-article figcaption {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--texte-doux);
  margin: 12px 4px 4px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}

/* --- 22.6 Chute d article et appel a l action ---------------------------- */

.chute-article {
  position: relative;
  background: var(--fond-alt);
  border: 1px solid var(--bordure);
  padding: 28px 26px 24px 30px;
  margin: 46px 0 0;
  max-width: 68ch;
}
.chute-article::before,
.chute-article::after {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
}
.chute-article::before { top: 0; height: 74%; background: var(--accent); }
.chute-article::after { bottom: 0; height: 18%; background: var(--brique); }
.chute-article__titre {
  font-family: var(--titre);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.16;
  margin: 0 0 0.5em;
}
.chute-article p { font-size: 1rem; }
.chute-article .trousse-actions { margin: 22px 0 0; }

/* --- 22.7 Encart auteur -------------------------------------------------- */

.encart-auteur {
  position: relative;
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 26px 26px 22px 30px;
  max-width: 68ch;
}
.encart-auteur::before,
.encart-auteur::after {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
}
.encart-auteur::before { top: 0; height: 74%; background: var(--accent); }
.encart-auteur::after { bottom: 0; height: 18%; background: var(--brique); }
.encart-auteur__portrait {
  border: 1px solid var(--bordure);
  padding: 4px;
  background: var(--fond);
}
.encart-auteur__portrait img { width: 100%; height: auto; filter: saturate(0.7); }
.encart-auteur__mention {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brique);
  display: block;
  margin-bottom: 8px;
}
.encart-auteur__nom {
  font-family: var(--titre);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.45em;
}
.encart-auteur p {
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--texte-doux);
  margin: 0 0 0.7em;
}
.encart-auteur p:last-child { margin-bottom: 0; }

/* --- 22.8 Bloc A lire aussi --------------------------------------------- */

.lire-aussi__tete { margin-bottom: 34px; }
.lire-aussi__titre {
  font-family: var(--titre);
  font-size: clamp(1.5rem, 3.2vw, 1.95rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.45em;
}
.lire-aussi__tete p {
  color: var(--texte-doux);
  font-size: 1rem;
  margin: 0;
  max-width: 58ch;
}

/* --- 22.9 Titre de colonne du pied de page, hors hierarchie des articles -- */

.pied__titre {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, #FFFFFF 70%, transparent);
  margin: 0 0 18px;
}

/* --- 22.10 Adaptations du magazine -------------------------------------- */

/* La navigation principale porte un lien de plus depuis l ouverture du
   magazine : elle se resserre plus tot pour rester sur une seule ligne. */
@media (max-width: 1120px) {
  .nav-ancres { gap: 14px; }
  .nav-ancres a { font-size: 0.7rem; letter-spacing: 0.06em; }
}

@media (max-width: 900px) {
  .sommaire .col-4 { grid-column: span 3; }
  .corps-article { max-width: none; }
  .chute-article,
  .encart-auteur { max-width: none; }
}

@media (max-width: 600px) {
  .sommaire .col-4 { grid-column: 1 / -1; }
  .encart-auteur { grid-template-columns: minmax(0, 1fr); }
  .encart-auteur__portrait { width: 106px; }
  .feuillet__titre { font-size: 1.18rem; }
  .exergue { font-size: 1.0625rem; padding-left: 18px; }
}
