/* ==========================================================================
   Coulissia, feuille de style unique.
   Vocabulaire de classes emprunte au plateau et a la regie :
   conduite, regie, marge, plateau, fiche, cartouche, gaffer, servante,
   gelatine, compas, pupitre, lointain.
   ========================================================================== */

:root {
  --fiche: #F9EEEA;
  --fiche-alt: #F1E1DC;
  --surface: #FEF8F5;
  --encre: #1A1B3C;
  --encre-douce: #6D3F4A;
  --gelatine: #2E42B8;
  --gelatine-fonce: #24349A;
  --gelatine-texte: #FBF6EC;
  --servante: #7E5A0E;
  --filet: #D2ABA6;
  --filet-fort: #9C6A72;

  --titre: "Young Serif", "Iowan Old Style", Georgia, serif;
  --courant: "Andada Pro", "Palatino Linotype", Palatino, Georgia, serif;
  --main: "Trocchi", "Bookman Old Style", Georgia, serif;

  --marge: 140px;
  --gouttiere: 44px;
  --largeur: 1220px;
  --coupe: 16px;
  --tete: 72px;

  --papier: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNjAiIGhlaWdodD0iMTYwIiB2aWV3Qm94PSIwIDAgMTYwIDE2MCI+PGZpbHRlciBpZD0iZyI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuOCIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxNjAiIGhlaWdodD0iMTYwIiBmaWx0ZXI9InVybCgjZykiIG9wYWNpdHk9IjAuMDgiLz48L3N2Zz4=");
}

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--tete) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--fiche);
  background-image: var(--papier);
  background-repeat: repeat;
  color: var(--encre);
  font-family: var(--courant);
  font-size: 1.0625rem;
  line-height: 1.68;
  font-weight: 400;
  overflow-x: hidden;
}

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.3125rem; line-height: 1.2; }
h4 { font-size: 1.0625rem; }

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

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

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

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

strong { font-weight: 700; color: var(--encre); }

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

/* Le contour de focus reste lisible sur le papier comme sur les aplats bleus.
   Les elements decoupes au coin corne rognent tout contour exterieur :
   ils recoivent donc un filet pose a l interieur du cadre. */
.appel:focus-visible {
  outline: 3px solid var(--gelatine-texte);
  outline-offset: -6px;
}

.appel-second:focus-visible {
  outline: 3px solid var(--servante);
  outline-offset: -6px;
}

::selection {
  background: var(--gelatine);
  color: var(--gelatine-texte);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--servante) var(--fiche-alt);
}

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--fiche-alt); }
::-webkit-scrollbar-thumb {
  background: var(--servante);
  border: 3px solid var(--fiche-alt);
}
::-webkit-scrollbar-thumb:hover { background: var(--encre-douce); }

.evitement {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  background: var(--gelatine);
  color: var(--gelatine-texte);
  padding: 12px 18px;
  font-weight: 600;
  transition: top 160ms ease;
}
.evitement:focus { top: 12px; color: var(--gelatine-texte); }

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

/* --------------------------------------------------- carnet et marge ---- */

.conduite {
  width: min(100% - 40px, var(--largeur));
  margin-inline: auto;
}

.carnet {
  display: grid;
  grid-template-columns: var(--marge) minmax(0, 1fr);
  column-gap: var(--gouttiere);
  position: relative;
}

.carnet > .marge {
  position: relative;
  border-right: 1px solid var(--filet);
}

.marge::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 4px;
  border-right: 1px solid rgba(126, 90, 14, 0.42);
}

.marge__mention {
  position: sticky;
  top: 140px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--main);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--servante);
  padding-left: 10px;
  white-space: nowrap;
}

.marge__repentir {
  position: absolute;
  right: 20px;
  font-family: var(--main);
  font-size: 0.8125rem;
  color: var(--encre-douce);
  text-align: right;
  line-height: 1.35;
  max-width: 108px;
}

.marge__croix {
  position: absolute;
  right: 18px;
  width: 14px; height: 14px;
  color: var(--gelatine-fonce);
}

/* surtitre courant */

.top {
  font-family: var(--main);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--servante);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}

.top::before {
  content: "";
  width: 20px; height: 10px;
  border: 1px solid var(--servante);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  flex: none;
}

.chapeau {
  font-size: 1.125rem;
  color: var(--encre-douce);
  max-width: 62ch;
}

.legende {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--encre-douce);
}

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

.appel,
.appel-second {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  font-family: var(--courant);
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  cursor: pointer;
}

.appel {
  background: var(--gelatine);
  color: var(--gelatine-texte);
  font-weight: 600;
}
.appel:hover { background: var(--gelatine-fonce); color: var(--gelatine-texte); }

.appel-second {
  background: transparent;
  border-color: var(--servante);
  color: var(--encre);
  font-weight: 600;
}
.appel-second:hover { background: var(--surface); border-color: var(--gelatine-fonce); color: var(--encre); }

.appel::after,
.appel-second::after {
  content: "";
  position: absolute;
  left: 50%; top: 6px;
  width: 46px; height: 23px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: left center;
  border: 1px solid rgba(251, 246, 236, 0.62);
  border-bottom: 0;
  border-radius: 46px 46px 0 0;
  opacity: 0;
  transition: transform 250ms ease, opacity 250ms ease;
}
.appel:hover::after,
.appel-second:hover::after { transform: translateX(-50%) scaleX(1); opacity: 1; }

.appel-second::after { border-color: var(--servante); }

.duo-appel {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 0;
}

/* ------------------------------------------------------------- regie ---- */

.regie {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--tete);
  z-index: 90;
  background: rgba(249, 238, 234, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--filet);
  transition: height 220ms ease, border-color 220ms ease;
}

.regie.est-calee { height: 58px; border-bottom-color: rgba(126, 90, 14, 0.5); }

.regie__rail {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 26px;
}

.regie__jauge {
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--gelatine);
  transition: width 120ms linear;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--encre);
  font-family: var(--titre);
  font-size: 1.3125rem;
  letter-spacing: 0.01em;
  flex: none;
}
.marque svg { flex: none; }

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

.regie__ancres a {
  font-family: var(--courant);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--encre-douce);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.regie__ancres a:hover { color: var(--encre); border-bottom-color: var(--servante); }

.regie__appel { margin-left: 8px; }

.bascule {
  display: none;
  margin-left: auto;
  height: 42px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--filet-fort);
  color: var(--encre);
  font-family: var(--courant);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}

.panneau-cour {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--fiche-alt);
  background-image: var(--papier);
  padding: 26px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 260ms ease;
}
.panneau-cour[hidden] { display: none; }
.panneau-cour.est-ouvert { transform: translateX(0); }

.panneau-cour__filigrane {
  position: absolute;
  right: -60px; top: 90px;
  opacity: 0.22;
  pointer-events: none;
}

.panneau-cour__tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.panneau-cour nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 2;
}

.panneau-cour nav a {
  font-family: var(--titre);
  font-size: 1.5rem;
  color: var(--encre);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--filet);
}
.panneau-cour nav a:hover { color: var(--servante); }

.fermeture {
  height: 42px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid var(--servante);
  color: var(--encre);
  font-family: var(--courant);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}

/* ------------------------------------------------------- separations --- */

.compas {
  display: block;
  width: 100%;
  height: 130px;
  overflow: hidden;
  color: var(--servante);
  opacity: 0.85;
}
.compas path { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }

.trace { transition: stroke-dashoffset 1100ms cubic-bezier(0.22, 0.61, 0.36, 1); }

/* --------------------------------------------------------- le plateau --- */

.plateau {
  position: relative;
  padding-top: calc(var(--tete) + 78px);
  padding-bottom: 40px;
  overflow: hidden;
}

.plateau::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 18% 118%, rgba(126, 90, 14, 0.09) 0 1px, transparent 1px 74px),
    repeating-radial-gradient(circle at 22% 122%, rgba(126, 90, 14, 0.09) 0 1px, transparent 1px 92px);
}

.plateau__corps { position: relative; z-index: 2; padding-bottom: 90px; }

.plateau h1 { margin-bottom: 22px; max-width: 15ch; }

.plateau__soutien {
  font-size: 1.1875rem;
  color: var(--encre-douce);
  max-width: 54ch;
}

.reassurance {
  margin-top: 44px;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  border: 1px solid var(--filet);
  background: rgba(254, 248, 245, 0.72);
  padding: 16px 22px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  position: relative;
}

.reassurance strong {
  font-family: var(--main);
  font-size: 1.75rem;
  color: var(--servante);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.reassurance span { font-size: 0.9375rem; color: var(--encre-douce); max-width: 34ch; }

.plateau__vue {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  width: min(100% - 40px, calc(var(--largeur) + 90px));
}

@media (max-width: 960px) {
  .plateau__vue { width: min(100% - 40px, var(--largeur)); }
}

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

.gaffer {
  position: relative;
  border: 1px solid rgba(126, 90, 14, 0.55);
  padding: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  isolation: isolate;
}

.gaffer img {
  width: 100%;
  filter: saturate(0.75) contrast(1.04);
  display: block;
}

.gaffer::after {
  content: "";
  position: absolute;
  inset: 66% 0 0 0;
  background: linear-gradient(to top, rgba(249, 238, 234, 0.88), rgba(249, 238, 234, 0));
  pointer-events: none;
}

.gaffer__bande {
  position: absolute;
  z-index: 3;
  width: 92px; height: 26px;
  background: rgba(58, 30, 40, 0.88);
  border: 1px solid rgba(43, 22, 30, 0.9);
}
.gaffer__bande--haut { top: -12px; left: 22px; transform: rotate(-4deg); }
.gaffer__bande--bas { bottom: -12px; right: 40px; transform: rotate(3deg); }

.gaffer__cache {
  position: absolute;
  z-index: 3;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 58%;
  color: var(--servante);
  pointer-events: none;
}

.gaffer__cartel {
  margin-top: 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--encre-douce);
  border-left: 1px solid var(--filet);
  padding-left: 12px;
}

/* --------------------------------------------------------- le probleme -- */

.douleurs {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--filet);
}

.douleurs li {
  margin: 0;
  padding: 22px 0 22px 46px;
  border-bottom: 1px solid var(--filet);
  position: relative;
  max-width: 74ch;
}

.douleurs li::before {
  content: attr(data-top);
  position: absolute;
  left: 0; top: 24px;
  font-family: var(--main);
  font-size: 0.8125rem;
  color: var(--gelatine-fonce);
  letter-spacing: 0.08em;
}

.douleurs b {
  display: block;
  font-family: var(--titre);
  font-weight: 400;
  font-size: 1.1875rem;
  color: var(--encre);
  margin-bottom: 6px;
}

.chiffrage {
  margin-top: 34px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--filet);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  font-size: 0.9375rem;
  color: var(--encre-douce);
}
.chiffrage b { color: var(--servante); font-family: var(--main); font-weight: 400; }

/* --------------------------------------------------------- la solution -- */

.marche {
  position: relative;
  margin-top: 44px;
  display: grid;
  gap: 0;
}

.marche__courbe {
  position: absolute;
  left: -170px; top: 0;
  width: calc(100% + 190px);
  height: 100%;
  pointer-events: none;
  color: rgba(126, 90, 14, 0.5);
}

.temps {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0 26px;
  padding: 26px 0;
  border-bottom: 1px solid var(--filet);
}
.temps:first-child { border-top: 1px solid var(--filet); }

.temps__rang {
  font-family: var(--main);
  font-size: 3rem;
  line-height: 1;
  color: var(--servante);
  font-variant-numeric: tabular-nums;
}

.temps h3 { margin-bottom: 8px; }
.temps p { color: var(--encre-douce); font-size: 0.9375rem; }

/* nth-child decalage pour suivre l arc descendant */
.temps:nth-child(2) { padding-left: 22px; }
.temps:nth-child(3) { padding-left: 44px; }
.temps:nth-child(4) { padding-left: 66px; }

/* --------------------------------------------------- fiches et cartes --- */

.rang-fiches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 30px;
  margin-top: 54px;
}

.fiche {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 30px 24px 26px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.fiche__arc {
  position: absolute;
  top: -13px; left: 0;
  width: 100%;
  height: 30px;
  overflow: visible;
  pointer-events: none;
  color: var(--servante);
}
.fiche__arc path { fill: none; stroke-width: 1; }

.fiche h3 { color: var(--encre); margin-bottom: 10px; }
.fiche p { font-size: 0.9375rem; color: var(--encre-douce); }

.fiche__etiquette {
  display: inline-block;
  font-family: var(--main);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gelatine-fonce);
  margin-bottom: 12px;
}

/* --------------------------------------------------------- cartouches --- */

.rang-cartouches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 50px;
}

.cartouche {
  position: relative;
  border: 1px solid var(--filet);
  background: rgba(254, 248, 245, 0.72);
  padding: 30px 20px 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.cartouche__valeur {
  font-family: var(--main);
  font-size: 3rem;
  line-height: 1;
  color: var(--servante);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 12px;
}

.cartouche__unite {
  font-family: var(--main);
  font-size: 1.125rem;
  color: var(--encre-douce);
}

.cartouche p { font-size: 0.875rem; color: var(--encre-douce); }

.cartouche h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

/* ----------------------------------------------------- preuve sociale --- */

.programme {
  max-width: 780px;
  margin: 46px auto 0;
}

.temoin {
  border-top: 1px solid var(--filet);
  padding: 32px 0;
  margin: 0;
}
.temoin:last-of-type { border-bottom: 1px solid var(--filet); }

.temoin blockquote {
  margin: 0 0 16px;
  font-family: var(--main);
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--encre);
}
.temoin blockquote p { max-width: none; }

.temoin figcaption {
  font-size: 0.875rem;
  color: var(--encre-douce);
  padding-left: 18px;
  border-left: 2px solid var(--gelatine);
}
.temoin figcaption b { color: var(--servante); font-weight: 700; display: block; }

.bandeau-chiffres {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
  padding: 28px 0;
}

.bandeau-chiffres div { text-align: center; }

.bandeau-chiffres b {
  display: block;
  font-family: var(--main);
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.1;
  color: var(--servante);
  font-variant-numeric: tabular-nums;
}

.bandeau-chiffres span { font-size: 0.8125rem; font-weight: 500; color: var(--encre-douce); }

/* -------------------------------------------------------------- tarifs -- */

.rang-tarifs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
  align-items: start;
}

.tarif {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 32px 24px 28px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  display: flex;
  flex-direction: column;
}

.tarif--servante {
  transform: translateY(-24px);
  border-color: rgba(126, 90, 14, 0.6);
  background: linear-gradient(180deg, rgba(46, 66, 184, 0.10), rgba(254, 248, 245, 0.98));
}

.tarif__mise {
  position: absolute;
  top: -1px; right: -1px;
  background: var(--gelatine);
  color: var(--gelatine-texte);
  font-family: var(--main);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
}

.tarif h3 { font-size: 1.5rem; margin-bottom: 4px; }

.tarif__cible {
  font-size: 0.875rem;
  color: var(--encre-douce);
  min-height: 4.4em;
  margin-bottom: 16px;
}

.tarif__prix {
  font-family: var(--main);
  font-size: 3rem;
  line-height: 1;
  color: var(--servante);
  font-variant-numeric: tabular-nums;
}
.tarif__unite { display: block; font-size: 0.8125rem; color: var(--encre-douce); margin: 8px 0 22px; }

.tarif ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex: 1;
}

.tarif li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9375rem;
  color: var(--encre-douce);
  margin-bottom: 12px;
}

.tarif li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 8px;
  border: 1px solid var(--servante);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}
.tarif li::after {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 10px; height: 5px;
  border: 1px solid var(--gelatine-fonce);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.tarif .appel, .tarif .appel-second { width: 100%; }

.note-tarifs {
  margin-top: 34px;
  font-size: 0.875rem;
  color: var(--encre-douce);
  border-left: 1px solid var(--filet);
  padding-left: 16px;
}

/* ----------------------------------------------------------------- faq -- */

.conduite-faq { margin-top: 44px; border-top: 1px solid var(--filet); }

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

.question__bouton {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--encre);
  font-family: var(--titre);
  font-size: 1.1875rem;
  line-height: 1.25;
  text-align: left;
  padding: 22px 48px 22px 0;
  cursor: pointer;
  position: relative;
}

.question__bouton::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 22px; height: 11px;
  margin-top: -5px;
  border: 1px solid var(--servante);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  transition: transform 220ms ease;
  transform-origin: center bottom;
}
.question__bouton[aria-expanded="true"]::after { transform: rotate(180deg); }
.question__bouton:hover { color: var(--servante); }

.question__reponse {
  padding: 0 40px 24px 0;
  color: var(--encre-douce);
  font-size: 0.9375rem;
}
.question__reponse[hidden] { display: none; }

/* ------------------------------------------------------------ pupitre --- */

.pupitre {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.pupitre__forme {
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 30px 28px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.champ { margin-bottom: 18px; }

.champ label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--encre);
  margin-bottom: 6px;
}

.champ input[type="text"],
.champ input[type="email"],
.champ select,
.champ textarea {
  width: 100%;
  background: var(--fiche-alt);
  border: 1px solid var(--filet-fort);
  color: var(--encre);
  font-family: var(--courant);
  font-size: 0.9375rem;
  padding: 11px 13px;
  border-radius: 0;
}

.champ textarea { resize: vertical; }

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  border-color: var(--gelatine-fonce);
  outline: 3px solid var(--servante);
  outline-offset: 2px;
}

.champ--aide { font-size: 0.8125rem; color: var(--encre-douce); margin-top: 6px; }

.champ--case {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 22px 0;
}
.champ--case label { font-weight: 400; font-size: 0.875rem; color: var(--encre-douce); margin: 0; }
.champ--case input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gelatine); }

.pupitre__aparte {
  border-left: 1px solid var(--filet);
  padding-left: 26px;
}
.pupitre__aparte h3 { margin-top: 26px; }
.pupitre__aparte p { font-size: 0.9375rem; color: var(--encre-douce); }

.suite-envoi {
  margin-top: 18px;
  font-size: 0.8125rem;
  color: var(--encre-douce);
}

/* ------------------------------------------------------------ lointain -- */

.lointain {
  margin-top: 100px;
  background: var(--fiche-alt);
  border-top: 1px solid var(--filet);
  padding: 64px 0 0;
}

.lointain__colonnes {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.lointain h2 { font-size: 1rem; font-family: var(--main); text-transform: uppercase; letter-spacing: 0.14em; color: var(--servante); margin-bottom: 18px; }

.lointain ul { list-style: none; padding: 0; margin: 0; }
.lointain li { margin-bottom: 10px; }
.lointain a { color: var(--encre-douce); text-decoration: none; font-size: 0.9375rem; }
.lointain a:hover { color: var(--encre); text-decoration: underline; }
.lointain p { font-size: 0.9375rem; color: var(--encre-douce); }

.lointain__profils { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 16px; }
.lointain__profils a { font-size: 0.8125rem; border-bottom: 1px solid var(--filet); }

.lointain__barre {
  margin-top: 56px;
  border-top: 1px solid var(--filet);
  padding: 22px 0 30px;
  font-size: 0.8125rem;
  color: var(--encre-douce);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

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

.feuillet {
  padding-top: calc(var(--tete) + 56px);
}

.fil {
  font-size: 0.8125rem;
  color: var(--encre-douce);
  margin-bottom: 22px;
}
.fil a { color: var(--encre-douce); }

.texte-long h2 {
  font-size: 1.625rem;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--filet);
}
.texte-long h3 { margin-top: 30px; font-size: 1.1875rem; }
.texte-long p, .texte-long li { color: var(--encre-douce); }
.texte-long li { max-width: 66ch; }
.texte-long dl { margin: 0 0 1.1em; }
.texte-long dt { font-weight: 700; color: var(--encre); margin-top: 14px; }
.texte-long dd { margin: 4px 0 0; color: var(--encre-douce); max-width: 66ch; }

.portrait {
  float: right;
  margin: 0 0 24px 32px;
  width: 220px;
}
.portrait img {
  border: 1px solid rgba(126, 90, 14, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  filter: saturate(0.78);
}
.portrait figcaption { font-size: 0.75rem; color: var(--encre-douce); margin-top: 10px; }

.encadre {
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 24px 26px;
  margin: 30px 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.encadre h3 { margin-top: 0; }

.tableau-plan { border-collapse: collapse; width: 100%; margin: 20px 0 0; }
.tableau-plan th, .tableau-plan td {
  text-align: left;
  border-bottom: 1px solid var(--filet);
  padding: 14px 12px 14px 0;
  font-size: 0.9375rem;
  vertical-align: top;
}
.tableau-plan th { font-family: var(--main); font-weight: 400; color: var(--servante); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em; }
.tableau-plan td { color: var(--encre-douce); }

.page-courte {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--tete) + 70px);
  padding-bottom: 60px;
}

/* ------------------------------------------------------- apparitions --- */

.apparait {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}
.apparait.est-visible { opacity: 1; transform: none; }

.section { padding: 78px 0; }
.section--alt { background: var(--fiche-alt); }

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

@media (max-width: 1080px) {
  :root { --marge: 96px; --gouttiere: 30px; }
  .rang-cartouches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bandeau-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .lointain__colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --marge: 0px; --gouttiere: 0px; }
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.75rem; }

  .regie__ancres, .regie__appel { display: none; }
  .bascule { display: inline-flex; align-items: center; }

  .carnet { grid-template-columns: minmax(0, 1fr); }
  .carnet > .marge {
    border-right: 0;
    border-left: 2px solid rgba(126, 90, 14, 0.5);
    padding-left: 14px;
    margin-bottom: 22px;
    min-height: 26px;
  }
  .marge::before { display: none; }
  .marge__mention {
    position: static;
    writing-mode: horizontal-tb;
    transform: none;
    padding-left: 0;
  }
  .marge__repentir, .marge__croix { position: static; text-align: left; max-width: none; margin-top: 8px; right: auto; }

  .rang-fiches { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .rang-tarifs { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .tarif--servante { transform: none; }
  .pupitre { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .pupitre__aparte { border-left: 0; border-top: 1px solid var(--filet); padding: 24px 0 0; }
  .marche__courbe { display: none; }
  .temps:nth-child(2), .temps:nth-child(3), .temps:nth-child(4) { padding-left: 0; }
  .temps { grid-template-columns: 64px minmax(0, 1fr); gap: 0 16px; }
  .temps__rang { font-size: 2.25rem; }
  .portrait { float: none; width: 100%; max-width: 300px; margin: 0 0 26px; }
  .plateau { padding-top: calc(var(--tete) + 46px); }
  .section { padding: 56px 0; }
}

@media (max-width: 620px) {
  .rang-cartouches { grid-template-columns: minmax(0, 1fr); }
  .lointain__colonnes { grid-template-columns: minmax(0, 1fr); }
  .reassurance { flex-direction: column; gap: 6px; align-items: flex-start; }
  .duo-appel .appel, .duo-appel .appel-second { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  .apparait { opacity: 1; transform: none; }
  .trace { stroke-dashoffset: 0 !important; }
}

@media print {
  .regie, .panneau-cour, .compas, .bascule { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   MAGAZINE, Le Carnet de Production.
   Section ajoutee a la suite, sans modifier une seule regle precedente.
   Meme palette, meme forme signature (l arc de coulisse pose sur le bord
   superieur des blocs), meme motif d arcs superposes en demi cercles et
   meme signature d animation (trace progressif des chemins SVG).
   Vocabulaire de classes prolonge : sommaire, feuille, reperes, corps,
   exergue, cartel, renvoi, parutions.
   ========================================================================== */

/* ------------------------------------------------ grille du sommaire --- */

.sommaire {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 30px;
  margin-top: 54px;
}

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

.feuille {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 0 0 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  transition: border-color 220ms ease, background-color 220ms ease;
}

.feuille:hover { border-color: rgba(126, 90, 14, 0.58); background-color: #FFFDFB; }

.feuille__arc {
  position: absolute;
  top: -13px; left: 0;
  width: 100%;
  height: 30px;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
  color: var(--servante);
}
.feuille__arc path { fill: none; stroke-width: 1; }

.feuille__cadre {
  position: relative;
  display: block;
  border-bottom: 1px solid var(--filet);
  overflow: hidden;
}

.feuille__cadre img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.04);
  transition: filter 260ms ease, transform 460ms ease;
}

.feuille:hover .feuille__cadre img { filter: saturate(0.9) contrast(1.06); transform: scale(1.015); }

.feuille__cadre::after {
  content: "";
  position: absolute;
  inset: 62% 0 0 0;
  background: linear-gradient(to top, rgba(249, 238, 234, 0.85), rgba(249, 238, 234, 0));
  pointer-events: none;
}

.feuille__bande {
  position: absolute;
  z-index: 3;
  top: -9px; left: 20px;
  width: 78px; height: 22px;
  background: rgba(58, 30, 40, 0.88);
  border: 1px solid rgba(43, 22, 30, 0.9);
  transform: rotate(-4deg);
  pointer-events: none;
}

.feuille__texte {
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.feuille__angle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--main);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gelatine-fonce);
  margin: 0 0 12px;
}

.feuille__angle::before {
  content: "";
  width: 18px; height: 9px;
  border: 1px solid var(--gelatine-fonce);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  flex: none;
}

.feuille h2,
.feuille h3 {
  font-size: 1.3125rem;
  line-height: 1.2;
  color: var(--encre);
  margin: 0 0 12px;
}

.feuille h2 a,
.feuille h3 a {
  color: var(--encre);
  text-decoration: none;
  background-image: linear-gradient(var(--servante), var(--servante));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 260ms ease, color 220ms ease;
}

.feuille h2 a:hover,
.feuille h3 a:hover { color: var(--servante); background-size: 100% 1px; }

.feuille__extrait {
  font-size: 0.9375rem;
  color: var(--encre-douce);
  margin: 0 0 18px;
  max-width: none;
}

.feuille__pied {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--filet);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: baseline;
  font-family: var(--main);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--encre-douce);
  font-variant-numeric: tabular-nums;
}

.feuille__pied time { color: var(--servante); }

/* --------------------------------------- entete d un article du carnet - */

.tete-article { margin-bottom: 34px; }

.fil-carnet {
  font-size: 0.8125rem;
  color: var(--encre-douce);
  margin-bottom: 22px;
}
.fil-carnet a { color: var(--encre-douce); }
.fil-carnet a:hover { color: var(--servante); }

.reperes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-family: var(--main);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-douce);
  margin: 0 0 20px;
  font-variant-numeric: tabular-nums;
}

.reperes__angle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--servante);
}

.reperes__angle::before {
  content: "";
  width: 20px; height: 10px;
  border: 1px solid var(--servante);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  flex: none;
}

.reperes span + span { border-left: 1px solid var(--filet); padding-left: 18px; }

.tete-article h1 { font-size: 2.9rem; max-width: 26ch; margin-bottom: 24px; }

.exergue {
  position: relative;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--encre);
  border-left: 2px solid var(--servante);
  padding: 6px 0 6px 22px;
  margin: 0 0 34px;
  max-width: 62ch;
}

.exergue::after {
  content: "";
  position: absolute;
  left: -2px; top: -13px;
  width: 120px; height: 13px;
  border: 1px solid var(--gelatine-fonce);
  border-bottom: 0;
  border-radius: 120px 120px 0 0;
  opacity: 0.75;
}

.une {
  position: relative;
  border: 1px solid rgba(126, 90, 14, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  margin: 0 0 46px;
  isolation: isolate;
}

.une img { width: 100%; filter: saturate(0.75) contrast(1.04); }

.une::after {
  content: "";
  position: absolute;
  inset: 68% 0 0 0;
  background: linear-gradient(to top, rgba(249, 238, 234, 0.84), rgba(249, 238, 234, 0));
  pointer-events: none;
}

.une__cache {
  position: absolute;
  z-index: 3;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 52%;
  color: var(--servante);
  pointer-events: none;
}
.une__cache path { fill: none; stroke-width: 1; }

.une__bande {
  position: absolute;
  z-index: 3;
  width: 92px; height: 26px;
  background: rgba(58, 30, 40, 0.88);
  border: 1px solid rgba(43, 22, 30, 0.9);
}
.une__bande--haut { top: -12px; left: 26px; transform: rotate(-4deg); }
.une__bande--bas { bottom: -12px; right: 44px; transform: rotate(3deg); }

/* ------------------------ corps redactionnel, balises nues sans classe - */

.corps { max-width: 68ch; }

.corps > * { max-width: 68ch; }

.corps p {
  color: var(--encre-douce);
  margin: 0 0 1.15em;
  max-width: 68ch;
}

.corps h2 {
  position: relative;
  font-size: 1.875rem;
  color: var(--encre);
  margin: 58px 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--filet);
}

.corps h2::before,
.corps h2::after {
  content: "";
  position: absolute;
  border-bottom: 0;
  pointer-events: none;
}

.corps h2::before {
  left: 0;
  top: -12px;
  width: 46px; height: 12px;
  border: 1px solid var(--servante);
  border-bottom: 0;
  border-radius: 46px 46px 0 0;
}

.corps h2::after {
  left: 22px;
  top: -8px;
  width: 30px; height: 8px;
  border: 1px solid var(--gelatine-fonce);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
}

.corps h2:first-child { margin-top: 0; }

.corps h3 {
  font-size: 1.25rem;
  color: var(--encre);
  margin: 36px 0 12px;
}

.corps h3::before {
  content: "";
  display: inline-block;
  vertical-align: 0.22em;
  width: 16px; height: 8px;
  margin-right: 10px;
  border: 1px solid var(--servante);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}

.corps ul,
.corps ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
  color: var(--encre-douce);
}

.corps li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.65em;
  max-width: 66ch;
}

.corps ul > li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 16px; height: 8px;
  border: 1px solid var(--servante);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}

.corps ol { counter-reset: rang-carnet; }

.corps ol > li { counter-increment: rang-carnet; padding-left: 38px; }

.corps ol > li::before {
  content: counter(rang-carnet);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--main);
  font-size: 1.0625rem;
  color: var(--servante);
  font-variant-numeric: tabular-nums;
}

.corps li > ul,
.corps li > ol { margin: 0.6em 0 0; }

.corps strong { color: var(--encre); font-weight: 700; }
.corps em { color: var(--encre); font-style: italic; }

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

/* tableau recapitulatif du corps */

.corps table {
  width: 100%;
  border-collapse: collapse;
  margin: 34px 0 38px;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  border-top: 1px solid var(--servante);
}

.corps thead th {
  font-family: var(--main);
  font-weight: 400;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--servante);
  text-align: left;
  vertical-align: bottom;
  padding: 14px 14px 12px 0;
  border-bottom: 1px solid var(--filet);
}

.corps tbody th {
  font-family: var(--courant);
  font-weight: 600;
  color: var(--encre);
  text-align: left;
  vertical-align: top;
  padding: 14px 14px 14px 0;
  border-bottom: 1px solid var(--filet);
}

.corps td {
  color: var(--encre-douce);
  vertical-align: top;
  padding: 14px 14px 14px 0;
  border-bottom: 1px solid var(--filet);
}

.corps tbody tr:last-child th,
.corps tbody tr:last-child td { border-bottom: 1px solid var(--servante); }

/* encadre et citation du corps */

.corps aside {
  position: relative;
  display: block;
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 26px 26px 24px;
  margin: 40px 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.corps aside::before {
  content: "";
  position: absolute;
  top: 0; left: 26px;
  width: 54px; height: 14px;
  border: 1px solid var(--servante);
  border-bottom: 0;
  border-radius: 54px 54px 0 0;
}

.corps aside::after {
  content: "";
  position: absolute;
  top: 0; left: 52px;
  width: 38px; height: 10px;
  border: 1px solid var(--gelatine-fonce);
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
}

.corps aside p { color: var(--encre); }
.corps aside p:last-child { margin-bottom: 0; }
.corps aside ul,
.corps aside ol { margin-bottom: 0; }

.corps blockquote {
  position: relative;
  margin: 40px 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--gelatine);
  font-family: var(--main);
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--encre);
}

.corps blockquote p { color: var(--encre); max-width: 58ch; }
.corps blockquote p:last-child { margin-bottom: 0; }

.corps figure {
  margin: 36px 0;
  border: 1px solid rgba(126, 90, 14, 0.5);
  padding: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.corps figure img { width: 100%; filter: saturate(0.75) contrast(1.04); }

.corps figcaption {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--encre-douce);
  padding: 12px 16px 14px;
  border-top: 1px solid var(--filet);
}

/* ------------------------------------------ bas d article et rappels -- */

.rappel-carnet {
  margin: 46px 0 0;
  border: 1px solid var(--filet);
  background: rgba(254, 248, 245, 0.72);
  padding: 28px 26px 26px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  max-width: 68ch;
}

.rappel-carnet__titre {
  font-family: var(--main);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--servante);
  margin: 0 0 12px;
}

.rappel-carnet p { color: var(--encre-douce); }

.cartel {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0 22px;
  align-items: start;
  margin: 46px 0 0;
  border-top: 1px solid var(--filet);
  padding-top: 30px;
  max-width: 68ch;
}

.cartel img {
  width: 96px;
  border: 1px solid rgba(126, 90, 14, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  filter: saturate(0.78);
}

.cartel__nom {
  font-family: var(--titre);
  font-size: 1.1875rem;
  color: var(--encre);
  margin: 0 0 4px;
}

.cartel__role {
  font-family: var(--main);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--servante);
  margin: 0 0 12px;
}

.cartel p { font-size: 0.9375rem; color: var(--encre-douce); }

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

.renvoi {
  margin-top: 74px;
  border-top: 1px solid var(--filet);
  padding-top: 40px;
}

.renvoi__titre {
  font-family: var(--main);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--servante);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
}

.renvoi__titre::before {
  content: "";
  width: 20px; height: 10px;
  border: 1px solid var(--servante);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  flex: none;
}

.renvoi__grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.renvoi__carte {
  position: relative;
  border: 1px solid var(--filet);
  background: var(--surface);
  padding: 0 0 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: border-color 220ms ease, background-color 220ms ease;
}
.renvoi__carte:hover { border-color: rgba(126, 90, 14, 0.58); background-color: #FFFDFB; }

.renvoi__arc {
  position: absolute;
  top: -11px; left: 0;
  width: 100%; height: 26px;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
  color: var(--servante);
}
.renvoi__arc path { fill: none; stroke-width: 1; }

.renvoi__lien {
  display: block;
  text-decoration: none;
  color: var(--encre);
}

.renvoi__cadre {
  display: block;
  position: relative;
  border-bottom: 1px solid var(--filet);
  overflow: hidden;
}

.renvoi__cadre img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.04);
}

.renvoi__cadre::after {
  content: "";
  position: absolute;
  inset: 60% 0 0 0;
  background: linear-gradient(to top, rgba(249, 238, 234, 0.84), rgba(249, 238, 234, 0));
  pointer-events: none;
}

.renvoi__intitule {
  display: block;
  font-family: var(--titre);
  font-size: 1.0625rem;
  line-height: 1.24;
  color: var(--encre);
  padding: 20px 20px 0;
  transition: color 220ms ease;
}
.renvoi__lien:hover .renvoi__intitule { color: var(--servante); }

.renvoi__accroche {
  font-size: 0.875rem;
  color: var(--encre-douce);
  padding: 10px 20px 0;
  margin: 0;
  max-width: none;
}

/* -------------------------------- derniers articles, page d accueil --- */

.derniers__pied {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}

.derniers__lien {
  font-family: var(--main);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--servante);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--filet);
  padding-bottom: 4px;
}
.derniers__lien::after {
  content: "";
  width: 20px; height: 10px;
  border: 1px solid var(--gelatine-fonce);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  flex: none;
}
.derniers__lien:hover { color: var(--encre); border-bottom-color: var(--servante); }

/* ------------------------ liste datee des articles, page auteur ------- */

.parutions {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--filet);
}

.parutions li {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 4px 24px;
  align-items: baseline;
  border-bottom: 1px solid var(--filet);
  padding: 16px 0;
  margin: 0;
  max-width: none;
}

.parutions time {
  font-family: var(--main);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--servante);
  font-variant-numeric: tabular-nums;
}

.parutions a { color: var(--encre); text-decoration: none; }
.parutions a:hover { color: var(--servante); text-decoration: underline; }

.parutions__angle {
  display: block;
  font-size: 0.8125rem;
  color: var(--encre-douce);
  margin-top: 4px;
}

/* ------------------ intitule de colonne du pied de page, sans titre --- */

.lointain__titre {
  font-size: 1rem;
  font-family: var(--main);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--servante);
  margin: 0 0 18px;
  line-height: 1.08;
}

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

@media (max-width: 1080px) {
  .sommaire { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .renvoi__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tete-article h1 { font-size: 2.5rem; }
}

@media (max-width: 960px) {
  .sommaire { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .renvoi__grille { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .tete-article h1 { font-size: 2.1rem; max-width: none; }
  .corps h2 { font-size: 1.625rem; }
  .corps table { font-size: 0.875rem; }
  .parutions li { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .cartel { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .reperes span + span { border-left: 0; padding-left: 0; }
  .corps table { font-size: 0.8125rem; }
  .corps thead th, .corps tbody th, .corps td { padding-right: 8px; }
}
