/* ==========================================================================
   Ponderea, feuille de style unique
   Systeme de nommage ancre dans le vocabulaire de la coupe medico sociale :
   liasse (conteneur), feuillet (section), ruche et alveole (grille hexagonale),
   perfo (perforation detachable), souche (carte tarifaire), bordereau (tableau),
   cote (encadre chiffre), rideau (animation), annot (annotation manuscrite).
   ========================================================================== */

:root {
  --papier: #F7F4EC;
  --papier-bande: #EDE8DA;
  --surface: #FFFDF7;
  --encre: #12203A;
  --encre-douce: #4C5A72;
  --valide: #385625;
  --valide-fonce: #2C441D;
  --valide-texte: #F7F4EC;
  --alerte: #A9761F;
  --filet: #D6CFBC;

  --pas-hexa: 168px;
  --coupe-angle: 18px;
  --mesure: 68ch;

  --titre: "Spectral", "Iowan Old Style", Georgia, serif;
  --courant: "Domine", "Georgia", "Times New Roman", serif;
  --main: "Pacifico", "Segoe Script", cursive;

  --duree-rideau: 620ms;
  --courbe-rideau: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- socle --- */

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

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

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

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

h1 { font-size: 3.4rem; font-weight: 700; }
h2 { font-size: 2.15rem; font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; }

p { margin: 0 0 1.1em; max-width: var(--mesure); }
ul, ol { max-width: var(--mesure); }

a { color: var(--valide); text-underline-offset: 3px; }
a:hover { color: var(--valide-fonce); }

strong { font-weight: 700; }

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

small, .legende {
  font-size: 0.875rem;
  color: var(--encre-douce);
  line-height: 1.6;
}

.unite {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--encre-douce);
  margin-left: 0.28em;
}

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

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

.saut-liasse {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 90;
  background: var(--encre);
  color: var(--papier);
  padding: 10px 18px;
  font-size: 0.9375rem;
  transition: top 160ms ease;
}
.saut-liasse:focus { top: 12px; color: var(--papier); }

/* ------------------------------------------------- motif de perforation --- */

.perfo {
  height: 1px;
  border: 0;
  margin: 0;
  background-image: repeating-linear-gradient(
    to right,
    var(--filet) 0, var(--filet) 3px,
    transparent 3px, transparent 8px
  );
}

.perfo--large { width: 100%; }

.perfo--vert {
  width: 1px;
  height: auto;
  align-self: stretch;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--filet) 0, var(--filet) 3px,
    transparent 3px, transparent 8px
  );
}

.perfo--ocre {
  background-image: repeating-linear-gradient(
    to right,
    var(--alerte) 0, var(--alerte) 3px,
    transparent 3px, transparent 8px
  );
}

/* ------------------------------------------------------ mise en liasse --- */

.liasse {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

.liasse--etroite { width: min(820px, 100% - 3rem); }

.feuillet {
  padding-block: 5.5rem;
  position: relative;
}

.feuillet--bande { background: var(--papier-bande); }

.feuillet--trame {
  background-color: var(--papier-bande);
  background-image:
    linear-gradient(120deg, rgba(214, 207, 188, 0.55) 1px, transparent 1px),
    linear-gradient(60deg, rgba(214, 207, 188, 0.55) 1px, transparent 1px);
  background-size: 48px 84px;
}

.feuillet__chapo { max-width: 62ch; color: var(--encre-douce); }

.chapitre {
  font-family: var(--courant);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--valide);
  display: block;
  margin-bottom: 0.9rem;
}

.chapitre::before {
  content: attr(data-cote) ". ";
  color: var(--encre-douce);
}

.entete-feuillet {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .entete-feuillet {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: end;
    column-gap: 3.5rem;
  }
  .entete-feuillet h2 { margin-bottom: 0; }
}

/* ---------------------------------------------------- alveole hexagonale --- */

.alveole {
  position: relative;
  background: var(--surface);
  padding: 1.9rem 1.7rem;
  clip-path: polygon(
    0 0,
    calc(100% - var(--coupe-angle)) 0,
    100% var(--coupe-angle),
    100% 100%,
    var(--coupe-angle) 100%,
    0 calc(100% - var(--coupe-angle))
  );
}

.alveole::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--filet);
  pointer-events: none;
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}

.alveole--ferme { background: var(--papier-bande); }
.alveole--encre { background: var(--encre); color: var(--papier); }
.alveole--encre h3, .alveole--encre h4 { color: var(--papier); }
.alveole--encre p { color: #C9D2E0; }

.alveole__cote {
  font-family: var(--titre);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--valide);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.5rem;
}

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

/* -------------------------------------------------------- ruche, grille --- */

.ruche {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr));
}

.ruche--trois { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

@media (min-width: 960px) {
  .ruche--quinconce { grid-template-columns: repeat(3, 1fr); column-gap: 1.6rem; row-gap: 2.6rem; }
  .ruche--quinconce > *:nth-child(3n + 2) { transform: translateY(34px); }
  .ruche--quinconce > *:nth-child(4),
  .ruche--quinconce > *:nth-child(5),
  .ruche--quinconce > *:nth-child(6) { margin-top: -18px; }

  .ruche--decalee { grid-template-columns: repeat(3, 1fr); }
  .ruche--decalee > *:nth-child(even) { transform: translateY(28px); }
}

/* --------------------------------------------------------------- entete --- */

.entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 72px;
  background: var(--papier);
  border-bottom: 1px solid var(--filet);
  transition: height 180ms ease, box-shadow 180ms ease;
}

.entete.entete--tassee {
  height: 60px;
  border-bottom-color: transparent;
  box-shadow: 0 2px 0 rgba(18, 32, 58, 0.06);
  background-image: repeating-linear-gradient(
    to right,
    var(--filet) 0, var(--filet) 3px,
    transparent 3px, transparent 8px
  );
  background-position: bottom left;
  background-size: 100% 1px;
  background-repeat: no-repeat;
}

.entete__rang {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.sigle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--encre);
}

.sigle__nom {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}

.sigle svg { display: block; }

.cheminement { display: none; }

@media (min-width: 900px) {
  .cheminement {
    display: flex;
    align-items: center;
    gap: 1.55rem;
  }
  .cheminement a {
    font-size: 0.9375rem;
    text-decoration: none;
    color: var(--encre);
    padding-block: 6px;
    border-bottom: 2px solid transparent;
  }
  .cheminement a:hover,
  .cheminement a.cheminement--active {
    border-bottom-color: var(--valide);
    color: var(--valide-fonce);
  }
}

.bascule {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 40px;
  padding: 0 8px;
  background: transparent;
  border: 1.5px solid var(--encre);
  cursor: pointer;
}
.bascule span {
  display: block;
  height: 2px;
  background: var(--encre);
}
@media (min-width: 900px) { .bascule { display: none; } }

.panneau {
  position: fixed;
  inset: 72px 0 auto 0;
  background: var(--papier);
  border-bottom: 1px solid var(--filet);
  z-index: 55;
  padding: 1.6rem 1.5rem 2.2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 380ms var(--courbe-rideau);
}
.panneau[data-ouvert="oui"] { clip-path: inset(0 0 0 0); }
.panneau ul { list-style: none; margin: 0; padding: 0; }
.panneau li { border-bottom: 1px solid var(--filet); }
.panneau a {
  display: block;
  padding: 0.85rem 0;
  text-decoration: none;
  color: var(--encre);
  font-size: 1.0625rem;
}
.panneau .bouton { margin-top: 1.4rem; width: 100%; justify-content: center; }
@media (min-width: 900px) { .panneau { display: none; } }

/* -------------------------------------------------------------- boutons --- */

.bouton {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--courant);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  padding: 14px 26px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}

.bouton--plein {
  background: var(--valide);
  color: var(--valide-texte);
  box-shadow: inset 0 0 0 0 var(--alerte);
}
.bouton--plein:hover {
  background: var(--valide-fonce);
  color: var(--valide-texte);
  box-shadow: inset 0 -2px 0 0 var(--alerte);
}

.bouton--filet {
  background: transparent;
  color: var(--encre);
  box-shadow: inset 0 0 0 1.5px var(--encre);
}
.bouton--filet:hover {
  background: var(--papier-bande);
  color: var(--encre);
  box-shadow: inset 0 0 0 1.5px var(--valide);
}

.bouton--souche {
  position: relative;
  justify-content: center;
  width: 100%;
}

.rang-boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

/* ----------------------------------------------------------------- hero --- */

.ouverture {
  padding-top: calc(72px + 4.5rem);
  padding-bottom: 4.5rem;
  position: relative;
}

.ouverture::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    var(--filet) 0, var(--filet) 3px,
    transparent 3px, transparent 8px
  );
}

.ouverture__grille {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1000px) {
  .ouverture__grille {
    grid-template-columns: minmax(0, 4fr) 1px minmax(0, 3fr);
    column-gap: 3rem;
    align-items: start;
  }
}

.ouverture h1 { margin-bottom: 1rem; }

.ouverture__soutien {
  font-size: 1.15rem;
  color: var(--encre-douce);
  max-width: 56ch;
}

.annot {
  font-family: var(--main);
  font-size: 1.25rem;
  color: var(--alerte);
  transform: rotate(-3.2deg);
  display: inline-block;
  line-height: 1.3;
}

.annot--encre { color: var(--encre); }

.cote-cle {
  margin-top: 2.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  flex-wrap: wrap;
  background: var(--surface);
  padding: 1.4rem 1.6rem;
  position: relative;
  clip-path: polygon(
    0 0,
    calc(100% - var(--coupe-angle)) 0,
    100% var(--coupe-angle),
    100% 100%,
    var(--coupe-angle) 100%,
    0 calc(100% - var(--coupe-angle))
  );
}
.cote-cle::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--filet);
}
.cote-cle__nombre {
  font-family: var(--titre);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--valide);
}
.cote-cle__texte { max-width: 34ch; margin: 0; font-size: 0.9375rem; }

/* ------------------------------------------------- courbe et graphiques --- */

.trace {
  background: var(--surface);
  padding: 1.5rem 1.4rem 1.2rem;
  position: relative;
  clip-path: polygon(
    0 0,
    calc(100% - var(--coupe-angle)) 0,
    100% var(--coupe-angle),
    100% 100%,
    var(--coupe-angle) 100%,
    0 calc(100% - var(--coupe-angle))
  );
}
.trace::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--filet);
  pointer-events: none;
}
.trace__titre {
  font-family: var(--courant);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-douce);
  margin-bottom: 0.9rem;
}
.trace svg { width: 100%; height: auto; }
.trace__pied {
  margin: 0.9rem 0 0;
  font-size: 0.8125rem;
  color: var(--encre-douce);
  max-width: none;
}

.legende-trace {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  font-size: 0.8125rem;
  color: var(--encre-douce);
  margin-top: 0.7rem;
}
.legende-trace span { display: inline-flex; align-items: center; gap: 0.45rem; }
.legende-trace i {
  width: 18px; height: 3px; display: inline-block;
}
.legende-trace .i-tarifee { background: var(--encre); }
.legende-trace .i-reelle { background: var(--valide); }
.legende-trace .i-ecart { background: var(--alerte); }

/* ----------------------------------------------------- rideau, animation --- */

.rideau {
  position: relative;
  clip-path: inset(0 0 100% 0);
  transform: translateY(-12px);
  transition:
    clip-path var(--duree-rideau) var(--courbe-rideau),
    transform var(--duree-rideau) var(--courbe-rideau);
}
.rideau::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--valide);
  opacity: 1;
  transition:
    top var(--duree-rideau) var(--courbe-rideau),
    opacity 180ms linear var(--duree-rideau);
  pointer-events: none;
  z-index: 2;
}
.rideau.rideau--leve {
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}
.rideau.rideau--leve::after { top: 100%; opacity: 0; }

/* ------------------------------------------------------- photographies --- */

.cliche { margin: 0; }

.cliche__cadre {
  position: relative;
  padding: 6px;
}
.cliche__cadre::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--encre);
  clip-path: polygon(
    0 0,
    calc(100% - 22px) 0,
    100% 22px,
    100% 100%,
    22px 100%,
    0 calc(100% - 22px)
  );
}
.cliche__cadre img {
  width: 100%;
  filter: saturate(0.8) brightness(1.04);
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
}
.cliche__voile {
  position: absolute;
  inset: 6px;
  background: rgba(247, 244, 236, 0.1);
  pointer-events: none;
}
.cliche figcaption {
  font-size: 0.875rem;
  color: var(--encre-douce);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  background-image: repeating-linear-gradient(
    to right,
    var(--filet) 0, var(--filet) 3px,
    transparent 3px, transparent 8px
  );
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: top left;
  max-width: 58ch;
}

/* ---------------------------------------------------------- bordereaux --- */

.bordereau {
  overflow-x: auto;
  background: var(--surface);
  padding: 0.4rem;
  position: relative;
}
.bordereau table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 540px;
}
.bordereau caption {
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-douce);
  padding: 0.9rem 0.8rem;
}
.bordereau th,
.bordereau td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--filet);
}
.bordereau thead th {
  font-family: var(--courant);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre-douce);
  border-bottom: 1.5px solid var(--encre);
}
.bordereau tbody tr:nth-child(even) { background: var(--papier-bande); }
.bordereau td.montant,
.bordereau th.montant {
  text-align: right;
  font-weight: 700;
  border-left: 1px dotted var(--filet);
}
.bordereau td.ecart { color: var(--alerte); font-weight: 700; text-align: right; }
.bordereau tfoot td {
  font-weight: 700;
  border-top: 1.5px solid var(--encre);
  border-bottom: 0;
}

/* ------------------------------------------------------------- constats --- */

.constat {
  display: grid;
  gap: 0.5rem;
}
.constat__valeur {
  font-family: var(--titre);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--encre);
}
.constat__valeur em { font-style: normal; color: var(--alerte); }
.constat__libelle {
  font-size: 0.9375rem;
  color: var(--encre-douce);
  margin: 0;
}

.releve {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  background: var(--filet);
  border: 1px solid var(--filet);
  margin-top: 3rem;
}
.releve > div {
  background: var(--surface);
  padding: 1.5rem 1.3rem;
}
.releve dt {
  font-family: var(--titre);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--valide);
}
.releve dd {
  margin: 0.45rem 0 0;
  font-size: 0.875rem;
  color: var(--encre-douce);
}

/* -------------------------------------------------------------- etapes --- */

.chaine {
  display: grid;
  gap: 1.5rem;
  counter-reset: temps;
}
@media (min-width: 900px) {
  .chaine { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; row-gap: 2.4rem; }
  .chaine > li:nth-child(even) { transform: translateY(40px); }
}
.chaine > li { list-style: none; }
.chaine__temps {
  counter-increment: temps;
}
.chaine__temps::before {
  content: "0" counter(temps);
  font-family: var(--titre);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--valide);
  display: block;
  margin-bottom: 0.4rem;
}
.chaine ul { padding-left: 1.1rem; margin: 0.8rem 0 0; }
.chaine li li { list-style: square; font-size: 0.9375rem; color: var(--encre-douce); }

/* -------------------------------------------------------- temoignages --- */

.temoin { margin: 0; }
.temoin blockquote {
  margin: 0 0 1.1rem;
  font-family: var(--titre);
  font-size: 1.08rem;
  line-height: 1.65;
}
.temoin blockquote p { max-width: none; }
.temoin figcaption {
  font-size: 0.875rem;
  color: var(--encre-douce);
  padding-top: 0.9rem;
  background-image: repeating-linear-gradient(
    to right,
    var(--filet) 0, var(--filet) 3px,
    transparent 3px, transparent 8px
  );
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: top left;
}
.temoin figcaption b { display: block; color: var(--encre); font-size: 0.9375rem; }

@media (min-width: 960px) {
  .ruche--temoins { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .ruche--temoins > *:nth-child(even) { transform: translateY(30px); }
}

/* ------------------------------------------------------------- souches --- */

.souches {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 980px) {
  .souches { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .souche--saillie { margin-top: -24px; }
}

.souche {
  position: relative;
  background: var(--surface);
  padding: 2rem 1.7rem 2rem;
  display: flex;
  flex-direction: column;
  clip-path: polygon(
    0 0,
    calc(100% - var(--coupe-angle)) 0,
    100% var(--coupe-angle),
    100% 100%,
    var(--coupe-angle) 100%,
    0 calc(100% - var(--coupe-angle))
  );
}
.souche::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--filet);
  pointer-events: none;
}
.souche--saillie { background: var(--surface); }
.souche--saillie::before { border-color: var(--valide); }

.souche__perfo {
  display: block;
  width: 100%;
  height: 8px;
  margin: 1.3rem 0;
  color: var(--papier);
}

.souche__marque {
  position: absolute;
  top: 0; left: 0;
  background: var(--valide);
  color: var(--valide-texte);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
}
.souche--saillie { padding-top: 2.9rem; }

.souche__nom {
  font-family: var(--titre);
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}
.souche__cible {
  font-size: 0.875rem;
  color: var(--encre-douce);
  margin: 0;
  min-height: 4.2em;
}
.souche__prix {
  font-family: var(--titre);
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--encre);
  margin-top: 1.2rem;
}
.souche__unite {
  display: block;
  font-size: 0.875rem;
  font-family: var(--courant);
  font-weight: 400;
  color: var(--encre-douce);
  margin-top: 0.4rem;
}
.souche ul {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  flex: 1;
}
.souche li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.souche li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 9px; height: 9px;
  background: var(--valide);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.mention-tarif {
  margin-top: 2.2rem;
  font-size: 0.9375rem;
  color: var(--encre-douce);
  max-width: 70ch;
}

/* ----------------------------------------------------------------- FAQ --- */

.questionnaire { display: grid; gap: 0; border-top: 1px solid var(--filet); }

.question {
  border-bottom: 1px solid var(--filet);
  background: transparent;
}
.question__bouton {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.35rem 0.2rem;
  cursor: pointer;
  font-family: var(--titre);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--encre);
  line-height: 1.4;
}
.question__bouton:hover { color: var(--valide-fonce); }
.question__signe {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  position: relative;
  margin-top: 3px;
  border: 1px solid var(--encre);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.question__signe::before,
.question__signe::after {
  content: "";
  position: absolute;
  background: var(--encre);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.question__signe::before { width: 11px; height: 1.5px; }
.question__signe::after { width: 1.5px; height: 11px; transition: transform 200ms ease; }
.question__bouton[aria-expanded="true"] .question__signe::after { transform: translate(-50%, -50%) scaleY(0); }

.question__reponse {
  overflow: hidden;
  max-height: 0;
  transition: max-height 320ms var(--courbe-rideau);
}
.question__reponse > div { padding: 0 0.2rem 1.5rem; }
.question__reponse p { margin-bottom: 0.9em; }
.question__reponse p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ formulaire --- */

.depot {
  background: var(--encre);
  color: var(--papier);
}
.depot h2 { color: var(--papier); }
.depot .chapitre { color: #9DBE86; }
.depot .feuillet__chapo { color: #C9D2E0; }

.depot__grille {
  display: grid;
  gap: 2.8rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1000px) {
  .depot__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 3.4rem; }
}

.depot__notice p { color: #C9D2E0; }
.depot__notice ul { padding-left: 1.1rem; color: #C9D2E0; font-size: 0.9375rem; }
.depot__notice li { margin-bottom: 0.6rem; }
.depot a { color: #B9D39F; }

.bordereau-saisie {
  background: var(--surface);
  color: var(--encre);
  padding: 2rem 1.8rem;
  position: relative;
  clip-path: polygon(
    0 0,
    calc(100% - var(--coupe-angle)) 0,
    100% var(--coupe-angle),
    100% 100%,
    var(--coupe-angle) 100%,
    0 calc(100% - var(--coupe-angle))
  );
}

.champ { margin-bottom: 1.15rem; }
.champ label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.champ input[type="text"],
.champ input[type="email"],
.champ select,
.champ textarea {
  width: 100%;
  font-family: var(--courant);
  font-size: 1rem;
  color: var(--encre);
  background: var(--papier);
  border: 1px solid var(--filet);
  border-bottom: 1.5px solid var(--encre-douce);
  padding: 0.7rem 0.8rem;
  border-radius: 0;
  appearance: none;
}
.champ textarea { resize: vertical; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: 3px solid var(--valide);
  outline-offset: 1px;
  background: var(--surface);
}
.champ--duo { display: grid; gap: 1.15rem; }
@media (min-width: 620px) { .champ--duo { grid-template-columns: 1fr 1fr; } }

.champ--aval {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 1.5rem 0;
}
.champ--aval input { margin-top: 0.35rem; width: 18px; height: 18px; accent-color: var(--valide); }

.suite-depot {
  margin-top: 1.2rem;
  font-size: 0.875rem;
  color: var(--encre-douce);
}

/* --------------------------------------------------------------- pages --- */

.page-interieure { padding-top: calc(72px + 3.5rem); padding-bottom: 4.5rem; }
.page-interieure h1 { font-size: 2.6rem; }
.page-interieure h2 { font-size: 1.6rem; margin-top: 2.6rem; }
.page-interieure h3 { font-size: 1.2rem; margin-top: 1.8rem; }
.page-interieure ul, .page-interieure ol { padding-left: 1.2rem; }
.page-interieure li { margin-bottom: 0.55rem; }

.fil {
  font-size: 0.875rem;
  color: var(--encre-douce);
  margin-bottom: 1.5rem;
}
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; }
.fil li::after { content: " /"; color: var(--filet); }
.fil li:last-child::after { content: ""; }

.encadre-legal {
  background: var(--surface);
  padding: 1.6rem 1.5rem;
  margin: 1.8rem 0;
  position: relative;
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}
.encadre-legal ul { list-style: none; padding: 0; margin: 0; }
.encadre-legal li { margin-bottom: 0.5rem; font-size: 0.9375rem; }

.portrait-auteur {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
@media (min-width: 860px) {
  .portrait-auteur { grid-template-columns: 260px minmax(0, 1fr); column-gap: 3rem; }
}
.portrait-auteur img {
  width: 100%;
  filter: saturate(0.85);
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
}

.profils { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.profils a {
  display: inline-block;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--encre);
  padding: 7px 14px;
  box-shadow: inset 0 0 0 1px var(--filet);
  background: var(--surface);
}
.profils a:hover { box-shadow: inset 0 0 0 1px var(--valide); color: var(--valide-fonce); }

.signature-main {
  font-family: var(--main);
  font-size: 1.45rem;
  color: var(--encre);
  transform: rotate(-2.5deg);
  display: inline-block;
  margin-top: 1.5rem;
}

.plan-liste { list-style: none; padding: 0; }
.plan-liste > li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--filet);
}
.plan-liste a { font-family: var(--titre); font-size: 1.15rem; font-weight: 600; }
.plan-liste p { margin: 0.3rem 0 0; font-size: 0.9375rem; color: var(--encre-douce); }

.avis-court {
  text-align: center;
  padding-block: 4.5rem 5rem;
}
.avis-court h1 { margin-bottom: 1rem; }
.avis-court p { margin-inline: auto; }
.avis-court .rang-boutons { justify-content: center; }

/* ------------------------------------------------------------ pied de page --- */

.pied {
  background: var(--encre);
  color: #C9D2E0;
  padding-top: 3.5rem;
  position: relative;
}
.pied::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background-image: repeating-linear-gradient(
    to right,
    var(--alerte) 0, var(--alerte) 3px,
    transparent 3px, transparent 8px
  );
}
.pied__colonnes {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 2.8rem;
}
@media (min-width: 760px) { .pied__colonnes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pied__colonnes { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; column-gap: 2.6rem; } }

.pied h2, .pied h3 {
  font-family: var(--courant);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--papier);
  margin-bottom: 1.1rem;
}
.pied p { font-size: 0.9375rem; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 0.6rem; font-size: 0.9375rem; }
.pied a { color: #C9D2E0; text-decoration: none; }
.pied a:hover { color: var(--papier); text-decoration: underline; }
.pied .sigle__nom { color: var(--papier); }
.pied .sigle { color: var(--papier); margin-bottom: 1rem; }

.pied__barre {
  border-top: 1px solid rgba(214, 207, 188, 0.25);
  padding-block: 1.4rem 2rem;
  font-size: 0.8125rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  justify-content: space-between;
}
.pied__barre p { margin: 0; max-width: none; }

/* --------------------------------------------------------- adaptations --- */

@media (max-width: 900px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.6rem; }
  .feuillet { padding-block: 3.6rem; }
  .ouverture { padding-top: calc(72px + 2.6rem); }
  .chaine > li:nth-child(even),
  .ruche--quinconce > *,
  .ruche--decalee > *,
  .ruche--temoins > * { transform: none !important; margin-top: 0 !important; }
  .souche--saillie { margin-top: 0; }
  .souche__cible { min-height: 0; }
}

@media print {
  .entete, .panneau, .bascule, .rang-boutons { display: none; }
  body { background: #fff; }
  .rideau { clip-path: none; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rideau {
    clip-path: inset(0 0 0 0);
    transform: none;
    transition: none;
  }
  .rideau::after { display: none; }
  .panneau { transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ==========================================================================
   Magazine, Le Cahier de la Coupe
   Section ajoutee en fin de feuille. Aucune regle existante n est modifiee.
   Le magazine reprend la palette du site, la forme signature a deux coins
   coupes a 60 degres, le filet interieur de formulaire officiel, la
   perforation en pointilles de billet detachable et le rideau qui se leve.
   Vocabulaire de nommage, dans la continuite du reste du site :
   cahier (le magazine), sommaire (grille de fiches), fiche (carte d article),
   entete-article (entete de page d article), corps-article (texte nu),
   encart-auteur, lire-aussi (bloc de renvoi), derniers (rappel en accueil).
   ========================================================================== */

/* ------------------------------------------------ ossature des pages --- */

.cahier {
  padding-top: calc(72px + 3.4rem);
  padding-bottom: 4.8rem;
}

.cahier__ouverture { margin-bottom: 3rem; }
.cahier__ouverture h1 { font-size: 3rem; margin-bottom: 0.9rem; }

.cahier__chapo {
  font-size: 1.1rem;
  line-height: 1.72;
  color: var(--encre-douce);
  max-width: 66ch;
}

.cahier__reperes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.7rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.8125rem;
  color: var(--encre-douce);
  background-image: repeating-linear-gradient(
    to right,
    var(--filet) 0, var(--filet) 3px,
    transparent 3px, transparent 8px
  );
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: top left;
}
.cahier__reperes span { display: inline-flex; align-items: center; gap: 0.5rem; }
.cahier__reperes span::before {
  content: "";
  width: 9px; height: 9px;
  flex: 0 0 auto;
  background: var(--valide);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ------------------------------------------- grille de cartes d article --- */

.sommaire {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 288px), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}

@media (min-width: 980px) {
  .sommaire {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1.6rem;
    row-gap: 2.4rem;
  }
  .sommaire--quinconce > *:nth-child(3n + 2) { margin-top: 34px; }
  .sommaire--quinconce > *:nth-child(3n + 3) { margin-top: 17px; }
}

/* ------------------------------------------------------ carte d article --- */

.fiche {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  padding: 1.25rem 1.25rem 1.4rem;
  margin: 0;
  clip-path: polygon(
    0 0,
    calc(100% - var(--coupe-angle)) 0,
    100% var(--coupe-angle),
    100% 100%,
    var(--coupe-angle) 100%,
    0 calc(100% - var(--coupe-angle))
  );
}
.fiche::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--filet);
  pointer-events: none;
  transition: border-color 180ms ease;
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}
.fiche:hover::before,
.fiche:focus-within::before { border-color: var(--valide); }

.fiche__cadre {
  position: relative;
  padding: 5px;
  margin-bottom: 1rem;
}
.fiche__cadre::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--encre);
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
}
.fiche__cadre img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.8) brightness(1.04);
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}
.fiche__voile {
  position: absolute;
  inset: 5px;
  background: rgba(247, 244, 236, 0.1);
  pointer-events: none;
}

.etiquette-angle {
  display: inline-block;
  font-family: var(--courant);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--valide-texte);
  background: var(--valide);
  padding: 4px 12px;
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% 100%,
    8px 100%,
    0 calc(100% - 8px)
  );
}
.fiche > .etiquette-angle { align-self: flex-start; }

.etiquette-angle--filet {
  background: transparent;
  color: var(--valide);
  box-shadow: inset 0 0 0 1px var(--filet);
}

.fiche__titre {
  font-family: var(--titre);
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0.85rem 0 0.6rem;
  max-width: none;
  text-wrap: balance;
}
.fiche__titre a { color: var(--encre); text-decoration: none; }
.fiche__titre a:hover,
.fiche__titre a:focus-visible {
  color: var(--valide-fonce);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fiche__extrait {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--encre-douce);
  margin: 0 0 1.2rem;
  max-width: none;
}

.fiche__pied {
  margin-top: auto;
  padding-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
  font-size: 0.8125rem;
  color: var(--encre-douce);
  background-image: repeating-linear-gradient(
    to right,
    var(--filet) 0, var(--filet) 3px,
    transparent 3px, transparent 8px
  );
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: top left;
}
.fiche__pied time { font-weight: 700; color: var(--encre); }

/* -------------------------------------------------- entete d un article --- */

.entete-article { margin-bottom: 2.4rem; }
.entete-article h1 {
  font-size: 2.8rem;
  margin: 1rem 0 1.2rem;
}

.ligne-parution {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.15rem;
  margin: 0;
  max-width: none;
  font-size: 0.875rem;
  color: var(--encre-douce);
}
.ligne-parution time { font-weight: 700; color: var(--encre); }
.ligne-parution__maj { font-size: 0.8125rem; }

.chapo-article {
  position: relative;
  background: var(--surface);
  padding: 1.5rem 1.6rem;
  margin: 0 0 2.2rem;
  max-width: var(--mesure);
  font-family: var(--titre);
  font-size: 1.2rem;
  line-height: 1.62;
  color: var(--encre);
  clip-path: polygon(
    0 0,
    calc(100% - var(--coupe-angle)) 0,
    100% var(--coupe-angle),
    100% 100%,
    var(--coupe-angle) 100%,
    0 calc(100% - var(--coupe-angle))
  );
}
.chapo-article::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--filet);
  pointer-events: none;
}

.cliche--une { margin-bottom: 2.6rem; }
.cliche--une img { width: 100%; }

/* ------------------------------------- corps d article, balises HTML nues --- */

.corps-article {
  max-width: var(--mesure);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.corps-article h2 {
  font-family: var(--titre);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--encre);
  margin: 2.9rem 0 0.9rem;
  padding-top: 1.2rem;
  background-image: repeating-linear-gradient(
    to right,
    var(--filet) 0, var(--filet) 3px,
    transparent 3px, transparent 8px
  );
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: top left;
}
.corps-article > h2:first-child { margin-top: 0; }

.corps-article h3 {
  font-family: var(--titre);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--encre);
  margin: 2rem 0 0.7rem;
}
.corps-article h3::before {
  content: "";
  display: inline-block;
  width: 9px; height: 9px;
  margin-right: 0.6rem;
  vertical-align: 0.08em;
  background: var(--valide);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.corps-article p { margin: 0 0 1.2em; max-width: none; }

.corps-article ul,
.corps-article ol {
  list-style: none;
  margin: 0 0 1.5em;
  padding-left: 0;
  max-width: none;
}
.corps-article li { margin-bottom: 0.65rem; line-height: 1.7; }
.corps-article ul > li {
  position: relative;
  padding-left: 1.55rem;
}
.corps-article ul > li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 9px; height: 9px;
  background: var(--valide);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.corps-article ol { counter-reset: point-corps; }
.corps-article ol > li {
  position: relative;
  padding-left: 2.4rem;
  counter-increment: point-corps;
}
.corps-article ol > li::before {
  content: counter(point-corps, decimal-leading-zero) ".";
  position: absolute;
  left: 0; top: 0;
  font-family: var(--titre);
  font-weight: 700;
  color: var(--valide);
}
.corps-article li > ul,
.corps-article li > ol { margin: 0.6rem 0 0.2rem; }

.corps-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.9em;
  font-size: 0.9375rem;
  background: var(--surface);
}
.corps-article th,
.corps-article td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--filet);
}
.corps-article thead th {
  font-family: var(--courant);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre-douce);
  border-bottom: 1.5px solid var(--encre);
}
.corps-article tbody th { font-weight: 700; color: var(--encre); }
.corps-article tbody tr:nth-child(even) { background: var(--papier-bande); }
.corps-article td + td,
.corps-article th + th,
.corps-article th + td { border-left: 1px dotted var(--filet); }
.corps-article tbody tr:last-child th,
.corps-article tbody tr:last-child td { border-bottom: 1.5px solid var(--encre); }

.corps-article blockquote {
  position: relative;
  margin: 0 0 1.9em;
  padding: 1.3rem 1.5rem;
  background: var(--papier-bande);
  font-family: var(--titre);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--encre);
  box-shadow: inset 3px 0 0 0 var(--valide);
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}
.corps-article blockquote p:last-child { margin-bottom: 0; }

.corps-article aside {
  position: relative;
  margin: 0 0 1.9em;
  padding: 1.5rem 1.6rem;
  background: var(--surface);
  font-size: 0.9375rem;
  clip-path: polygon(
    0 0,
    calc(100% - var(--coupe-angle)) 0,
    100% var(--coupe-angle),
    100% 100%,
    var(--coupe-angle) 100%,
    0 calc(100% - var(--coupe-angle))
  );
}
.corps-article aside::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--alerte);
  pointer-events: none;
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}
.corps-article aside p:last-child,
.corps-article aside ul:last-child,
.corps-article aside ol:last-child { margin-bottom: 0; }

.corps-article figure { margin: 0 0 1.9em; }
.corps-article figcaption {
  font-size: 0.875rem;
  color: var(--encre-douce);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  background-image: repeating-linear-gradient(
    to right,
    var(--filet) 0, var(--filet) 3px,
    transparent 3px, transparent 8px
  );
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: top left;
}

.corps-article strong { font-weight: 700; color: var(--encre); }
.corps-article em { font-style: italic; }
.corps-article a {
  color: var(--valide);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.corps-article a:hover {
  color: var(--valide-fonce);
  text-decoration-thickness: 2px;
}

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

/* ---------------------------------------------- appel a l action d article --- */

.appel-coupe {
  position: relative;
  background: var(--encre);
  color: var(--papier);
  padding: 2rem 1.9rem;
  margin: 3rem 0 0;
  max-width: var(--mesure);
  clip-path: polygon(
    0 0,
    calc(100% - var(--coupe-angle)) 0,
    100% var(--coupe-angle),
    100% 100%,
    var(--coupe-angle) 100%,
    0 calc(100% - var(--coupe-angle))
  );
}
.appel-coupe__intitule {
  font-family: var(--titre);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--papier);
  margin: 0 0 0.7rem;
}
.appel-coupe p { color: #C9D2E0; font-size: 0.9375rem; max-width: 56ch; }
.appel-coupe .annot { color: #B9D39F; }
.appel-coupe .rang-boutons { margin-top: 1.4rem; }
.appel-coupe .bouton--filet {
  color: var(--papier);
  box-shadow: inset 0 0 0 1.5px var(--filet);
}
.appel-coupe .bouton--filet:hover {
  background: rgba(247, 244, 236, 0.08);
  color: var(--papier);
  box-shadow: inset 0 0 0 1.5px #9DBE86;
}
.appel-coupe :focus-visible { outline-color: var(--papier); }

/* ------------------------------------------------------- encart auteur --- */

.encart-auteur {
  position: relative;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: minmax(0, 1fr);
  background: var(--surface);
  padding: 1.7rem 1.6rem;
  margin: 2.8rem 0 0;
  max-width: var(--mesure);
  clip-path: polygon(
    0 0,
    calc(100% - var(--coupe-angle)) 0,
    100% var(--coupe-angle),
    100% 100%,
    var(--coupe-angle) 100%,
    0 calc(100% - var(--coupe-angle))
  );
}
.encart-auteur::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--filet);
  pointer-events: none;
}
@media (min-width: 620px) {
  .encart-auteur {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 1.6rem;
    align-items: start;
  }
}
.encart-auteur img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  filter: saturate(0.85);
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}
.encart-auteur__role {
  font-family: var(--courant);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--valide);
  margin: 0 0 0.5rem;
}
.encart-auteur__nom {
  font-family: var(--titre);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}
.encart-auteur p {
  font-size: 0.9375rem;
  color: var(--encre-douce);
  margin: 0 0 0.7rem;
  max-width: none;
}
.encart-auteur p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------- bloc A lire aussi --- */

.lire-aussi {
  margin-top: 3.4rem;
  padding-top: 2rem;
  background-image: repeating-linear-gradient(
    to right,
    var(--alerte) 0, var(--alerte) 3px,
    transparent 3px, transparent 8px
  );
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: top left;
}
.lire-aussi__titre {
  font-family: var(--courant);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--valide);
  margin: 0 0 1.6rem;
  max-width: none;
}
.lire-aussi__grille {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr));
}
.fiche--liee { padding: 1.05rem 1.05rem 1.25rem; }
.fiche--liee .fiche__titre { font-size: 1.06rem; margin: 0.7rem 0 0.5rem; }
.fiche--liee .fiche__extrait { font-size: 0.875rem; margin-bottom: 0; }

/* ------------------------------- rappel du magazine sur la page d accueil --- */

.derniers__entete {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.6rem;
}
@media (min-width: 900px) {
  .derniers__entete {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: end;
    column-gap: 3.5rem;
  }
  .derniers__entete h2 { margin-bottom: 0; }
}
.derniers__suite {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
}
.derniers__suite p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--encre-douce);
  max-width: 48ch;
}

/* ---------------------- liste des parutions sur la page auteur et le plan --- */

.parutions { list-style: none; padding: 0; margin: 0; max-width: none; }
.parutions > li {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--filet);
}
.parutions a {
  font-family: var(--titre);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
}
.parutions__ligne {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--encre-douce);
  max-width: none;
}
.parutions__ligne time { font-weight: 700; color: var(--encre); }

/* ------------------------------------------ intitule de colonne du pied --- */

.pied__intitule {
  font-family: var(--courant);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--papier);
  margin: 0 0 1.1rem;
  max-width: none;
}

/* ------------------------------------------- adaptations du magazine --- */

@media (max-width: 900px) {
  .cahier { padding-top: calc(72px + 2.4rem); }
  .cahier__ouverture h1 { font-size: 2.3rem; }
  .entete-article h1 { font-size: 2rem; }
  .chapo-article { font-size: 1.08rem; padding: 1.25rem 1.3rem; }
  .corps-article h2 { font-size: 1.6rem; margin-top: 2.3rem; }
  .corps-article h3 { font-size: 1.18rem; }
  .sommaire--quinconce > * { margin-top: 0 !important; }
}

@media print {
  .lire-aussi, .appel-coupe { display: none; }
  .fiche, .chapo-article, .encart-auteur { clip-path: none; }
}
