/* =========================================================================
   Palanquea, feuille de style unique
   Vocabulaire des classes : rampe, ligne de vie, jalon, palier, etiquette,
   poincon, manometre, cliche, consigne, commande, cale.
   ========================================================================= */

/* ---------- 1. Jetons ---------------------------------------------------- */

:root {
  --fond: #FBF6F1;
  --fond-alt: #F4ECE4;
  --surface: #FFFFFF;
  --texte: #16231F;
  --texte-doux: #4E605A;
  --accent: #0F6B3D;
  --accent-sombre: #0B5531;
  --accent-pale: #ECF3EE;
  --accent-texte: #FFFFFF;
  --corail: #C1442C;
  --bordure: #E0D2C6;

  --titre: "Orbitron", "Trebuchet MS", sans-serif;
  --courant: "Gabarito", "Segoe UI", system-ui, sans-serif;
  --releve: "Syne Mono", "Courier New", monospace;

  --axe: 44px;          /* position de la ligne de vie sur mobile */
  --gouttiere: 20px;
  --biseau: 10px;       /* longueur mesuree sur la diagonale */
  --transition: 520ms cubic-bezier(0.16, 0.84, 0.3, 1);
  --largeur: 1240px;
  --commande-creux: var(--fond);
}

@media (min-width: 900px) {
  :root {
    --axe: 96px;
    --gouttiere: 40px;
  }
}

/* ---------- 2. Bases ----------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--courant);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.68;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--titre);
  line-height: 1.16;
  margin: 0 0 0.6em;
  color: var(--texte);
}

h1 {
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: -0.015em;
}

h2 {
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.015em;
}

h3 { font-weight: 500; font-size: 1.25rem; }
h4 { font-weight: 500; font-size: 1.0625rem; }

@media (min-width: 900px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.1rem; }
}

p { margin: 0 0 1.1em; max-width: 66ch; }

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

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

ul { margin: 0 0 1.1em; padding-left: 1.1em; }
li { margin-bottom: 0.4em; }

strong { font-weight: 600; }

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

.evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-texte);
  padding: 12px 20px;
  font-family: var(--releve);
  z-index: 60;
}
.evitement:focus {
  left: 8px;
  top: 8px;
}

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

/* ---------- 3. Le releve : Syne Mono ------------------------------------- */

.releve,
.jalon__numero,
.palier__surtitre,
.etiquette__statut,
.poincon__valeur,
.poincon__libelle,
.cliche__cartouche,
.bloc-tarif__colonne,
.manometre__libelle {
  font-family: var(--releve);
  font-weight: 400;
  letter-spacing: 0.1em;
}

.palier__surtitre {
  display: block;
  text-transform: uppercase;
  font-size: 0.8125rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.etiquette__statut {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent);
  border-bottom: 1px solid var(--bordure);
  padding-bottom: 4px;
  margin-bottom: 12px;
}

.etiquette__statut--consigne { color: var(--corail); }

/* ---------- 4. En tete, la rampe ----------------------------------------- */

.rampe {
  position: fixed;
  inset: 0 0 auto 0;
  height: 68px;
  z-index: 50;
  background: rgba(251, 246, 241, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms linear;
}

.rampe--descendue { border-bottom-color: var(--bordure); }

.rampe__interieur {
  height: 100%;
  padding-left: calc(var(--axe) - 20px);
  padding-right: var(--gouttiere);
  display: flex;
  align-items: center;
  gap: 20px;
}

.signe {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--texte);
  flex: 0 0 auto;
}

.signe__marque {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  transition: width 200ms linear, height 200ms linear;
}

.rampe--descendue .signe__marque { width: 32px; height: 32px; }

.signe__mot {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.rampe__lien {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--texte);
  text-decoration: none;
  padding: 6px 0;
}

.rampe__lien::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms linear;
}

.rampe__lien:hover::after,
.rampe__lien:focus-visible::after { transform: scaleX(1); }

.rampe__lien[aria-current="true"]::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--corail);
}

.rampe__trois-filets {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  background: transparent;
  border: 2px solid var(--accent);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.rampe__trois-filets span {
  display: block;
  width: 20px; height: 2px;
  background: var(--accent);
}

@media (max-width: 899px) {
  .rampe__trois-filets { display: flex; }
  .rampe__nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--fond);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 24px var(--gouttiere) 40px calc(var(--axe) + 12px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms linear, transform 200ms linear, visibility 0s linear 200ms;
  }
  .rampe__nav[data-ouvert="oui"] {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  .rampe__lien {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--bordure);
    font-size: 1.05rem;
  }
  .rampe__nav .commande { margin-top: 24px; }
}

/* ---------- 5. Commandes -------------------------------------------------- */

.commande {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  font-family: var(--courant);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  position: relative;
  transition: background-color 180ms linear, color 180ms linear;
}

.commande--principale {
  color: var(--accent-texte);
  background: linear-gradient(135deg, transparent 0 var(--biseau), var(--accent) var(--biseau));
}
.commande--principale:hover {
  color: var(--accent-texte);
  background: linear-gradient(135deg, transparent 0 var(--biseau), var(--accent-sombre) var(--biseau));
  box-shadow: inset 0 -3px 0 0 var(--corail);
}

/* Le filet du bouton secondaire est fabrique par deux couches biseautees,
   posees derriere le texte, pour que le contour de focus reste entier. */
.commande--secondaire {
  color: var(--accent);
  background: transparent;
  isolation: isolate;
}

.commande--secondaire::before,
.commande--secondaire::after {
  content: "";
  position: absolute;
  z-index: -1;
}

.commande--secondaire::before {
  inset: 0;
  background: linear-gradient(135deg, transparent 0 var(--biseau), var(--accent) var(--biseau));
}

.commande--secondaire::after {
  inset: 2px;
  background: linear-gradient(135deg, transparent 0 8.6px, var(--commande-creux) 8.6px);
}

.commande--secondaire:hover { color: var(--accent-sombre); }
.commande--secondaire:hover::after {
  inset: 2px 2px 3px 2px;
  background: linear-gradient(135deg, transparent 0 8.6px, var(--accent-pale) 8.6px);
}

.commande--geante {
  min-height: 72px;
  font-size: 1.25rem;
  width: 100%;
}

.commande--pleine-largeur { width: 100%; }

/* ---------- 6. Ligne de vie, paliers et jalons ---------------------------- */

.profil { display: block; }

.palier {
  position: relative;
  padding: 64px var(--gouttiere) 64px calc(var(--axe) + 28px);
}

@media (min-width: 900px) {
  .palier { padding-top: 104px; padding-bottom: 104px; padding-left: calc(var(--axe) + 56px); }
}

/* segment de ligne de vie propre a chaque palier */
.palier::before {
  content: "";
  position: absolute;
  left: var(--axe);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--bordure);
  transition: background-color 320ms linear;
}

.palier.est-lu::before { background: var(--accent); }

.jalon {
  position: absolute;
  left: calc(var(--axe) - 6px);
  top: 62px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--fond);
  box-shadow: inset 0 0 0 2px var(--accent);
  transition: background-color 320ms linear;
}

@media (min-width: 900px) {
  .jalon { top: 102px; }
}

.palier.est-lu .jalon { background: var(--accent); }

.jalon__numero {
  position: absolute;
  left: 24px;
  top: -4px;
  font-size: 0.75rem;
  color: var(--texte-doux);
  white-space: nowrap;
}

@media (min-width: 900px) {
  .jalon__numero { left: auto; right: 26px; text-align: right; }
}

.palier--alt { background: var(--fond-alt); }

.palier__contenu {
  position: relative;
  z-index: 2;
  max-width: var(--largeur);
}

.palier__chapeau {
  font-weight: 300;
  font-size: 1.1875rem;
  color: var(--texte-doux);
  max-width: 62ch;
}

/* ---------- 7. Motif signature : veines de marbre ------------------------ */

.veines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.veines--filigrane { opacity: 0.85; }
.veines--large {
  inset: -40% -30%;
  width: 160%;
  height: 180%;
  opacity: 0.9;
}
.veines--incrustation {
  opacity: 0.08;
  mix-blend-mode: multiply;
  z-index: 3;
}

/* ---------- 8. Etiquette, gabarit de carte -------------------------------- */

.etiquette {
  position: relative;
  padding: 30px 26px 34px;
  background: linear-gradient(135deg, transparent 0 var(--biseau), var(--surface) var(--biseau));
  transition: transform var(--transition), opacity var(--transition);
  --commande-creux: var(--surface);
}

/* double filet du bas : 1 px sable, 3 px de vide, 2 px vert lagon */
.etiquette::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  z-index: 4;
  border-top: 1px solid var(--bordure);
  border-bottom: 2px solid var(--accent);
  transition: border-color 180ms linear;
}

/* oeillet perce a 16 px du bord */
.etiquette::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 7px;
  height: 7px;
  z-index: 4;
  border-radius: 50%;
  background: var(--fond);
  box-shadow: 0 0 0 1px var(--bordure);
}

.palier--alt .etiquette::after { background: var(--fond-alt); }

.etiquette:hover::before { border-top-color: var(--accent); }

.etiquette h3 { margin-top: 0; }
.etiquette p:last-child { margin-bottom: 0; }

/* vignette : signature d animation, rotation d entree */
.vignette {
  opacity: 0;
  transform: rotate(-3.5deg) translateY(14px);
  transform-origin: 16px 16px;
}

.vignette.est-visible {
  opacity: 1;
  transform: none;
}

.vignette.est-visible:hover { transform: rotate(-0.6deg); }

/* ---------- 9. Hero ------------------------------------------------------- */

.depart { padding-top: 108px; }

@media (min-width: 900px) {
  .depart { padding-top: 152px; }
}

.depart__grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1000px) {
  .depart__grille {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
  }
}

.depart__accroche {
  font-weight: 300;
  font-size: 1.1875rem;
  color: var(--texte-doux);
}

.depart__commandes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 26px;
}

.reassurance {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0 0;
  border-top: 1px solid var(--bordure);
  max-width: 46ch;
}

.reassurance__chiffre {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
}

.reassurance__texte {
  font-family: var(--releve);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--texte-doux);
}

/* ---------- 10. Cliches photographiques ---------------------------------- */

.cliche {
  position: relative;
  background: var(--fond-alt);
  overflow: hidden;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
}

.cliche img {
  width: 100%;
  filter: saturate(0.7) contrast(1.03);
  display: block;
}

.cliche__voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15, 107, 61, 0.34), rgba(251, 246, 241, 0.22));
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
}

.cliche::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--corail);
  z-index: 5;
}

.cliche::after {
  content: "";
  position: absolute;
  left: 12px; top: 12px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fond);
  box-shadow: 0 0 0 1px var(--bordure);
  z-index: 5;
}

.palier--alt .cliche::after { background: var(--fond-alt); }

.cliche__cartouche {
  position: absolute;
  left: 0;
  bottom: 2px;
  z-index: 5;
  background: rgba(251, 246, 241, 0.92);
  color: var(--texte);
  font-size: 0.75rem;
  padding: 8px 14px;
  max-width: 88%;
}

.cliche--vignette {
  opacity: 0;
  transform: rotate(-3.5deg) translateY(14px);
  transform-origin: 16px 16px;
  transition: transform var(--transition), opacity var(--transition);
}

.cliche--vignette.est-visible { opacity: 1; transform: none; }

/* ---------- 11. Constats du probleme ------------------------------------- */

.constats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 36px;
}

@media (min-width: 800px) {
  .constats { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.constat {
  padding-left: 22px;
  border-left: 2px solid var(--bordure);
}

.constat--consigne { border-left-color: var(--corail); }

.constat h3 { font-size: 1.125rem; }

.consigne {
  margin-top: 40px;
  padding: 26px 26px 30px;
  background: linear-gradient(135deg, transparent 0 var(--biseau), var(--surface) var(--biseau));
  position: relative;
}

.consigne::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  border-top: 1px solid var(--bordure);
  border-bottom: 2px solid var(--corail);
}

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

.consigne__titre {
  font-family: var(--releve);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--corail);
  margin-bottom: 10px;
}

/* ---------- 12. Etapes de la solution ------------------------------------ */

.etapes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 40px;
}

@media (min-width: 1000px) {
  .etapes { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

.etape__rang {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

/* ---------- 13. Fonctionnalites ------------------------------------------ */

.fonctions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 40px;
}

@media (min-width: 760px) { .fonctions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .fonctions { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

.fonction__pictogramme {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: var(--accent);
}

/* ---------- 14. Avantages en bandes -------------------------------------- */

.bandes { margin-top: 40px; }

.bande {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 32px;
  padding: 26px 0;
  border-top: 1px solid var(--bordure);
}

.bande:last-child { border-bottom: 1px solid var(--bordure); }

@media (min-width: 860px) {
  .bande { grid-template-columns: 190px 1fr; align-items: start; }
}

.bande__chiffre {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
}

.bande__unite {
  display: block;
  font-family: var(--releve);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--texte-doux);
  margin-top: 8px;
}

.bande h3 { margin-bottom: 0.3em; }
.bande p { margin-bottom: 0; }

/* ---------- 15. Preuve sociale ------------------------------------------- */

.temoins {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 40px;
}

@media (min-width: 860px) { .temoins { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .temoins { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.temoin blockquote {
  margin: 0 0 18px;
  font-size: 1rem;
}

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

.temoin figcaption {
  border-top: 1px solid var(--bordure);
  padding-top: 14px;
  font-size: 0.9375rem;
  color: var(--texte-doux);
}

.temoin__nom {
  display: block;
  font-family: var(--titre);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--texte);
  margin-bottom: 4px;
}

.manometre {
  position: relative;
  margin-top: 48px;
  padding: 34px 26px;
  background: var(--surface);
  overflow: hidden;
}

.manometre__grille {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 700px) { .manometre__grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .manometre__grille { grid-template-columns: repeat(4, 1fr); } }

.poincon__valeur {
  display: block;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--accent);
}

.poincon__libelle {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--texte-doux);
}

/* ---------- 16. Tarifs ---------------------------------------------------- */

.formules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 44px;
  align-items: start;
}

@media (min-width: 1000px) { .formules { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

.bloc-tarif {
  position: relative;
  overflow: hidden;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  padding: 32px 26px 36px;
  display: flex;
  flex-direction: column;
}

.bloc-tarif--avant::before { border-bottom-color: var(--corail); }

.bloc-tarif__interieur { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; }

.bloc-tarif__nom { font-size: 1.4rem; margin-bottom: 6px; }

.bloc-tarif__cible {
  font-size: 0.9375rem;
  color: var(--texte-doux);
  min-height: 4.2em;
}

.bloc-tarif__prix {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 4px;
}

.bloc-tarif__montant {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--texte);
}

.bloc-tarif__unite {
  font-family: var(--releve);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--texte-doux);
}

.bloc-tarif__colonne {
  display: block;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent);
  margin: 22px 0 12px;
  border-bottom: 1px solid var(--bordure);
  padding-bottom: 6px;
}

.bloc-tarif ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  font-size: 0.9375rem;
}

.bloc-tarif li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.bloc-tarif li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 2px;
  background: var(--accent);
}

.bloc-tarif .commande { margin-top: auto; }

.bloc-tarif__mention {
  font-family: var(--releve);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--corail);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.tarifs__note {
  margin-top: 30px;
  font-size: 0.9375rem;
  color: var(--texte-doux);
}

/* ---------- 17. FAQ ------------------------------------------------------- */

.questions {
  margin-top: 40px;
  max-width: 62ch;
  border-top: 1px solid var(--bordure);
}

.question { border-bottom: 1px solid var(--bordure); }

.question__intitule {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  background: transparent;
  border: 0;
  padding: 20px 2px;
  text-align: left;
  cursor: pointer;
  font-family: var(--titre);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--texte);
}

.question__intitule:hover { color: var(--accent); }

.question__croix {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  position: relative;
}

.question__croix::before,
.question__croix::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 200ms linear;
}

.question__croix::before { left: 0; right: 0; top: 7px; height: 2px; }
.question__croix::after { top: 0; bottom: 0; left: 7px; width: 2px; }

.question__intitule[aria-expanded="true"] .question__croix::after { transform: scaleY(0); }

.question__reponse {
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms ease;
}

.question__reponse > div { padding: 0 2px 22px; }
.question__reponse p:last-child { margin-bottom: 0; }

/* ---------- 18. Contact --------------------------------------------------- */

.fiche-contact {
  margin-top: 36px;
  max-width: 720px;
  position: relative;
  padding: 34px 28px 38px;
  background: linear-gradient(135deg, transparent 0 var(--biseau), var(--surface) var(--biseau));
}

.fiche-contact::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  border-top: 1px solid var(--bordure);
  border-bottom: 2px solid var(--accent);
}

.fiche-contact::after {
  content: "";
  position: absolute;
  left: 12px; top: 12px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fond-alt);
  box-shadow: 0 0 0 1px var(--bordure);
}

.champ { margin-bottom: 20px; }

.champ label,
.champ__libelle {
  display: block;
  font-family: var(--releve);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-doux);
  margin-bottom: 7px;
}

.champ input[type="text"],
.champ input[type="email"],
.champ select,
.champ textarea {
  width: 100%;
  font-family: var(--courant);
  font-size: 1rem;
  color: var(--texte);
  background: var(--fond);
  border: 1px solid var(--bordure);
  border-bottom: 2px solid var(--accent);
  padding: 13px 14px;
  min-height: 50px;
}

.champ textarea { min-height: 130px; resize: vertical; line-height: 1.6; }

.champ input:focus,
.champ select:focus,
.champ textarea:focus { background: var(--surface); }

.champ__aide {
  font-size: 0.875rem;
  color: var(--texte-doux);
  margin: 6px 0 0;
}

.champ--consentement label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: var(--courant);
  font-size: 0.9375rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--texte);
  line-height: 1.5;
}

.champ--consentement input { margin-top: 3px; width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--accent); }

.contact__voie {
  margin-top: 22px;
  font-size: 0.9375rem;
  color: var(--texte-doux);
  max-width: 62ch;
}

.contact__grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 24px;
}

@media (min-width: 700px) {
  .contact__grille { grid-template-columns: 1fr 1fr; }
  .champ--large { grid-column: 1 / -1; }
}

/* ---------- 19. Ecran de preparation (illustration) ---------------------- */

.ecran {
  position: relative;
  padding: 22px 20px 26px;
  background: linear-gradient(135deg, transparent 0 var(--biseau), var(--surface) var(--biseau));
}

.ecran::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  border-top: 1px solid var(--bordure);
  border-bottom: 2px solid var(--accent);
}

.ecran__entete {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--releve);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-doux);
  border-bottom: 1px solid var(--bordure);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.ecran__ligne {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--bordure);
  font-size: 0.9375rem;
}

.ecran__ligne:last-of-type { border-bottom: 0; }

.ecran__reference {
  font-family: var(--releve);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}

.ecran__etat {
  font-family: var(--releve);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  white-space: nowrap;
}

.ecran__etat--consigne {
  color: var(--corail);
  box-shadow: inset 0 0 0 1px var(--corail);
}

.ecran .commande--geante { margin-top: 20px; }

/* ---------- 20. Pages interieures ---------------------------------------- */

.page-interieure {
  position: relative;
  padding: 108px var(--gouttiere) 80px calc(var(--axe) + 28px);
}

.page-interieure > * { max-width: var(--largeur); }

@media (min-width: 900px) {
  .page-interieure { padding-top: 152px; padding-left: calc(var(--axe) + 56px); }
}

.page-interieure::before {
  content: "";
  position: absolute;
  left: var(--axe);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
}

.fil {
  font-family: var(--releve);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--texte-doux);
  margin-bottom: 22px;
}

.fil a { text-decoration: none; }
.fil a:hover { text-decoration: underline; }

.page-interieure h2 {
  margin-top: 2.4em;
  padding-top: 22px;
  border-top: 1px solid var(--bordure);
}

.page-interieure h3 { margin-top: 1.8em; }

.page-interieure ul { max-width: 66ch; }

.bloc-editeur {
  margin: 26px 0;
  padding: 24px 24px 28px;
  position: relative;
  background: linear-gradient(135deg, transparent 0 var(--biseau), var(--surface) var(--biseau));
}

.bloc-editeur::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  border-top: 1px solid var(--bordure);
  border-bottom: 2px solid var(--accent);
}

.bloc-editeur ul { list-style: none; padding: 0; margin: 0; }
.bloc-editeur li { padding: 7px 0; border-bottom: 1px solid var(--bordure); font-size: 0.9375rem; }
.bloc-editeur li:last-child { border-bottom: 0; }

.portrait-auteur {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
  margin: 34px 0 40px;
}

@media (min-width: 800px) {
  .portrait-auteur { grid-template-columns: 240px 1fr; gap: 34px; }
}

.portrait-auteur .cliche { max-width: 240px; }

.profils {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profils a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--accent);
  background: linear-gradient(135deg, transparent 0 8px, var(--surface) 8px);
  box-shadow: inset 0 -2px 0 0 var(--accent);
}

.profils a:hover { background: linear-gradient(135deg, transparent 0 8px, var(--accent-pale) 8px); }

.sommaire-plan {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.sommaire-plan > li {
  padding: 18px 0;
  border-bottom: 1px solid var(--bordure);
}

.sommaire-plan a { font-family: var(--titre); font-weight: 500; text-decoration: none; }
.sommaire-plan a:hover { text-decoration: underline; }
.sommaire-plan p { margin: 6px 0 0; color: var(--texte-doux); font-size: 0.9375rem; }

.centre-message {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- 21. Pied de page, la cale ------------------------------------ */

.cale {
  position: relative;
  background: var(--fond-alt);
  border-top: 1px solid var(--bordure);
  padding: 56px var(--gouttiere) 30px calc(var(--axe) + 28px);
  overflow: hidden;
}

@media (min-width: 900px) {
  .cale { padding-left: calc(var(--axe) + 56px); padding-top: 72px; }
}

.cale__jalon {
  position: absolute;
  left: calc(var(--axe) - 6px);
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--corail);
  z-index: 2;
}

.cale__interieur {
  position: relative;
  z-index: 2;
  max-width: var(--largeur);
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

@media (min-width: 760px) { .cale__interieur { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cale__interieur { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; } }

.cale h2 {
  font-size: 0.8125rem;
  font-family: var(--releve);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  border: 0;
  padding: 0;
}

.cale ul { list-style: none; padding: 0; margin: 0; }
.cale li { margin-bottom: 9px; }

.cale a { color: var(--texte); text-decoration: none; font-size: 0.9375rem; }
.cale a:hover { color: var(--accent); text-decoration: underline; }

.cale__position { font-size: 0.9375rem; color: var(--texte-doux); max-width: 34ch; }

.cale__editeur { font-size: 0.875rem; color: var(--texte-doux); margin-top: 14px; }
.cale__editeur a { font-size: 0.875rem; }

.cale__barre {
  position: relative;
  z-index: 2;
  max-width: var(--largeur);
  margin: 40px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--bordure);
  font-family: var(--releve);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--texte-doux);
  line-height: 1.8;
}

.cale__barre a { font-family: var(--releve); font-size: 0.75rem; color: var(--accent); }

.reseaux { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; }
.reseaux a { font-family: var(--releve); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

/* ---------- 22. Mouvement reduit ----------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vignette,
  .cliche--vignette {
    transform: none;
    transition: opacity 180ms linear;
  }
  .vignette.est-visible:hover { transform: none; }
  .etiquette { transition: opacity 180ms linear; }
  * { animation-duration: 0.001ms !important; }
}

/* =========================================================================
   23. Le Cahier de gonflage, section magazine
   Ajoutee a la suite, aucune regle precedente n est modifiee.
   Meme palette, meme forme signature (biseau de 14 px, oeillet perce,
   double filet bas), meme motif de veines, meme rotation d entree.
   Vocabulaire : cahier, fiche-cahier, article-cahier, corps-article,
   encart-auteur, lire-aussi, carte-liee, appel-cahier.
   ========================================================================= */

/* ---------- 23.1 Page du magazine, ligne de temps et entete -------------- */

.cahier {
  position: relative;
  padding: 108px var(--gouttiere) 80px calc(var(--axe) + 28px);
}

@media (min-width: 900px) {
  .cahier { padding-top: 152px; padding-left: calc(var(--axe) + 56px); }
}

.cahier::before {
  content: "";
  position: absolute;
  left: var(--axe);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
}

.cahier > * { max-width: var(--largeur); }

/* le jalon du magazine est plein, la page est celle que l on lit */
.cahier .jalon { background: var(--accent); }

.cahier__chapeau {
  font-weight: 300;
  font-size: 1.1875rem;
  color: var(--texte-doux);
  max-width: 62ch;
}

.cahier__releve {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0 0;
  padding: 12px 0;
  max-width: 66ch;
  border-top: 1px solid var(--bordure);
  border-bottom: 1px solid var(--bordure);
  font-family: var(--releve);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--texte-doux);
}

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

.cahier__cartes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  max-width: var(--largeur);
}

@media (min-width: 760px) { .cahier__cartes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cahier__cartes { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

.cahier__cartes > li { margin: 0; }

.fiche-cahier {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  transition: transform var(--transition), opacity var(--transition);
}

/* double filet du bas : 1 px sable, puis 2 px vert lagon */
.fiche-cahier::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  z-index: 4;
  border-top: 1px solid var(--bordure);
  border-bottom: 2px solid var(--accent);
  transition: border-color 180ms linear;
}

/* oeillet perce dans le biseau, a 12 px des deux bords */
.fiche-cahier::after {
  content: "";
  position: absolute;
  left: 12px; top: 12px;
  width: 7px; height: 7px;
  z-index: 6;
  border-radius: 50%;
  background: var(--fond);
  box-shadow: 0 0 0 1px var(--bordure);
}

.palier--alt .fiche-cahier::after { background: var(--fond-alt); }

.fiche-cahier:hover::before { border-top-color: var(--accent); }

.fiche-cahier__cliche {
  position: relative;
  display: block;
  margin: 0;
  background: var(--fond-alt);
  overflow: hidden;
}

.fiche-cahier__cliche img {
  width: 100%;
  filter: saturate(0.7) contrast(1.03);
}

.fiche-cahier__voile {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(160deg, rgba(15, 107, 61, 0.30), rgba(251, 246, 241, 0.20));
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* filet corail sur le bord bas de chaque photographie */
.fiche-cahier__cliche::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  z-index: 3;
  background: var(--corail);
}

.fiche-cahier__texte {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px 24px 34px;
}

.fiche-cahier__angle {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--releve);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent);
  border-bottom: 1px solid var(--bordure);
  padding-bottom: 4px;
  margin-bottom: 14px;
}

.fiche-cahier__titre {
  font-family: var(--titre);
  font-weight: 500;
  font-size: 1.1875rem;
  line-height: 1.26;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  max-width: none;
}

.fiche-cahier__titre a {
  color: var(--texte);
  text-decoration: none;
}

.fiche-cahier__titre a:hover,
.fiche-cahier__titre a:focus-visible { color: var(--accent); text-decoration: underline; }

.fiche-cahier__extrait {
  font-size: 0.9375rem;
  color: var(--texte-doux);
  margin: 0 0 20px;
  max-width: none;
}

.fiche-cahier__releve {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: auto 0 0;
  padding-top: 14px;
  max-width: none;
  border-top: 1px solid var(--bordure);
  font-family: var(--releve);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--texte-doux);
}

/* ---------- 23.3 Entete d article ---------------------------------------- */

.article-cahier__entete { margin-bottom: 4px; }

.article-cahier__releve {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 24px 0 0;
  padding: 12px 0;
  max-width: 66ch;
  border-top: 1px solid var(--bordure);
  border-bottom: 1px solid var(--bordure);
  font-family: var(--releve);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--texte-doux);
}

.article-cahier__releve b {
  font-weight: 400;
  color: var(--accent);
}

/* exergue du chapeau, adosse a la ligne de temps */
.article-cahier__chapo {
  margin: 32px 0 36px;
  padding: 6px 0 6px 22px;
  border-left: 2px solid var(--accent);
  font-weight: 300;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--texte);
  max-width: 62ch;
}

.article-cahier .cliche--une {
  margin: 0 0 44px;
  max-width: 900px;
}

/* ---------- 23.4 Corps d article, balises nues sans classe --------------- */

.corps-article { max-width: 74ch; }

.corps-article > * { max-width: 100%; }

.corps-article p,
.corps-article ul,
.corps-article ol,
.corps-article blockquote,
.corps-article h3,
.corps-article figcaption { max-width: 66ch; }

.corps-article h2 {
  position: relative;
  margin: 2.2em 0 0.65em;
  padding-top: 22px;
  border-top: 1px solid var(--bordure);
  font-size: 1.6rem;
}

.corps-article h2::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--accent);
}

@media (min-width: 900px) {
  .corps-article h2 { font-size: 2.1rem; }
}

.corps-article h3 {
  margin: 1.9em 0 0.5em;
  padding-left: 16px;
  border-left: 2px solid var(--bordure);
  font-size: 1.25rem;
}

.corps-article p { margin: 0 0 1.1em; }

.corps-article strong { font-weight: 600; color: var(--texte); }
.corps-article em { font-style: italic; }

.corps-article a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.corps-article a:hover { color: var(--accent-sombre); background: var(--accent-pale); }

/* listes a puces : le filet court de la forme signature */
.corps-article ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.3em;
}

.corps-article ul > li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0.55em;
}

.corps-article ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 11px;
  height: 2px;
  background: var(--accent);
}

/* listes numerotees : le numero se releve, donc il est en Syne Mono */
.corps-article ol {
  list-style: none;
  counter-reset: releve-corps;
  padding-left: 0;
  margin: 0 0 1.3em;
}

.corps-article ol > li {
  position: relative;
  counter-increment: releve-corps;
  padding-left: 34px;
  margin-bottom: 0.55em;
}

.corps-article ol > li::before {
  content: counter(releve-corps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.12em;
  font-family: var(--releve);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.corps-article li > ul,
.corps-article li > ol { margin-top: 0.5em; margin-bottom: 0.2em; }

/* tableau recapitulatif : colonnes de dates alignees, en tete releve */
.corps-article table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 30px 0 34px;
  font-size: 0.9375rem;
  background: var(--surface);
  font-variant-numeric: tabular-nums;
}

.corps-article thead { background: var(--fond-alt); }

.corps-article th {
  font-family: var(--releve);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: left;
  vertical-align: bottom;
  padding: 12px 14px;
  border-bottom: 2px solid var(--accent);
}

.corps-article td {
  padding: 12px 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--bordure);
  line-height: 1.55;
}

.corps-article tbody tr:last-child td { border-bottom: 2px solid var(--bordure); }

@media (max-width: 640px) {
  .corps-article table { display: block; overflow-x: auto; }
}

/* citation : filet corail, la voix rapportee du terrain */
.corps-article blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--corail);
  font-weight: 300;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--texte);
}

.corps-article blockquote p:last-child { margin-bottom: 0; }

/* encadre : le gabarit d etiquette au complet */
.corps-article aside {
  position: relative;
  margin: 32px 0 36px;
  padding: 26px 24px 32px;
  background: var(--surface);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
}

.corps-article aside::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  border-top: 1px solid var(--bordure);
  border-bottom: 2px solid var(--accent);
}

.corps-article aside::after {
  content: "";
  position: absolute;
  left: 12px; top: 12px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fond);
  box-shadow: 0 0 0 1px var(--bordure);
}

.corps-article aside p:last-child,
.corps-article aside ul:last-child,
.corps-article aside ol:last-child { margin-bottom: 0; }

.corps-article aside > p:first-child { margin-top: 0; }

.corps-article figure {
  margin: 32px 0;
  max-width: 100%;
}

.corps-article figcaption {
  margin-top: 10px;
  font-family: var(--releve);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--texte-doux);
}

/* ---------- 23.5 Appel a l action de fin d article ----------------------- */

.appel-cahier {
  position: relative;
  margin: 46px 0 0;
  padding: 30px 26px 36px;
  max-width: 74ch;
  background: var(--surface);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  --commande-creux: var(--surface);
}

.appel-cahier::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  border-top: 1px solid var(--bordure);
  border-bottom: 2px solid var(--corail);
}

.appel-cahier::after {
  content: "";
  position: absolute;
  left: 12px; top: 12px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fond);
  box-shadow: 0 0 0 1px var(--bordure);
}

.appel-cahier__intitule {
  font-family: var(--releve);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--corail);
  margin-bottom: 10px;
}

.appel-cahier .commande { margin-top: 8px; }

/* ---------- 23.6 Encart auteur ------------------------------------------- */

.encart-auteur {
  position: relative;
  margin: 44px 0 0;
  padding: 28px 26px 34px;
  max-width: 74ch;
  background: var(--surface);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

@media (min-width: 640px) {
  .encart-auteur { grid-template-columns: 96px 1fr; gap: 24px; }
}

.encart-auteur::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  border-top: 1px solid var(--bordure);
  border-bottom: 2px solid var(--accent);
}

.encart-auteur::after {
  content: "";
  position: absolute;
  left: 12px; top: 12px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fond);
  box-shadow: 0 0 0 1px var(--bordure);
}

.encart-auteur__portrait {
  width: 96px;
  height: 96px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  filter: saturate(0.7) contrast(1.03);
}

.encart-auteur__mention {
  font-family: var(--releve);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.encart-auteur__nom {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 8px;
}

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

/* ---------- 23.7 Bloc A lire aussi --------------------------------------- */

.lire-aussi {
  position: relative;
  margin: 56px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--bordure);
}

.lire-aussi::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--corail);
}

.lire-aussi__intitule {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  line-height: 1.16;
  margin-bottom: 0.4em;
}

.lire-aussi__grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 28px;
}

@media (min-width: 760px) { .lire-aussi__grille { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.carte-liee {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  transition: transform var(--transition), opacity var(--transition);
}

.carte-liee::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  z-index: 4;
  border-top: 1px solid var(--bordure);
  border-bottom: 2px solid var(--accent);
  transition: border-color 180ms linear;
}

.carte-liee::after {
  content: "";
  position: absolute;
  left: 12px; top: 12px;
  width: 7px; height: 7px;
  z-index: 6;
  border-radius: 50%;
  background: var(--fond);
  box-shadow: 0 0 0 1px var(--bordure);
}

.carte-liee:hover::before { border-top-color: var(--accent); }

.carte-liee__cliche {
  position: relative;
  display: block;
  margin: 0;
  background: var(--fond-alt);
  overflow: hidden;
}

.carte-liee__cliche img { width: 100%; filter: saturate(0.7) contrast(1.03); }

.carte-liee__cliche::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--corail);
}

.carte-liee__texte {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px 22px 32px;
}

.carte-liee__titre {
  font-family: var(--titre);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.26;
  margin: 0 0 10px;
  max-width: none;
}

.carte-liee__titre a { color: var(--texte); text-decoration: none; }
.carte-liee__titre a:hover,
.carte-liee__titre a:focus-visible { color: var(--accent); text-decoration: underline; }

.carte-liee__accroche {
  font-size: 0.9375rem;
  color: var(--texte-doux);
  margin: 0;
  max-width: none;
}

/* ---------- 23.8 Sommaire du Cahier sur la page auteur ------------------- */

.cahier-sommaire {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  counter-reset: cahier-rang;
  max-width: 76ch;
}

.cahier-sommaire > li {
  position: relative;
  counter-increment: cahier-rang;
  padding: 18px 0 18px 40px;
  margin: 0;
  border-bottom: 1px solid var(--bordure);
}

.cahier-sommaire > li::before {
  content: counter(cahier-rang, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 21px;
  font-family: var(--releve);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.cahier-sommaire a {
  font-family: var(--titre);
  font-weight: 500;
  text-decoration: none;
}

.cahier-sommaire a:hover { text-decoration: underline; }

.cahier-sommaire__releve {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 8px 0 0;
  max-width: none;
  font-family: var(--releve);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--texte-doux);
}

/* ---------- 23.9 Mise en avant du magazine sur la page d accueil --------- */

.derniers-cahier__lien { margin-top: 34px; }

.derniers-cahier__lien .commande { --commande-creux: var(--fond); }

/* ---------- 23.10 Intitule de colonne du pied de page sans titre --------- */
/* Sur les pages d article, les intitules du pied de page ne peuvent pas etre
   des h2 : la hierarchie des titres appartient au corps redactionnel. */

.cale__intitule {
  font-family: var(--releve);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  max-width: none;
}

/* ---------- 23.11 Mouvement reduit --------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .fiche-cahier,
  .carte-liee {
    transform: none;
    transition: opacity 180ms linear;
  }
}
