@charset "utf-8";

/* Dormina, feuille de style unique.
   Vocabulaire des classes : volet, aube, fiche, agrafe, eventail, vignette,
   temps, carnet, repere, tarif, parole, question, echange, socle.
   Mode clair integral, aucune variante sombre. */

/* ---------------------------------------------------------------
   1. Jetons de la palette et du rythme
   --------------------------------------------------------------- */

:root {
  --fond: #F9FCFB;
  --fond-alt: #E6F4F1;
  --surface: #FFFFFF;
  --texte: #14312E;
  --texte-doux: #4A6360;
  --accent: #E9AC3B;
  --accent-dense: #D2932A;
  --accent-texte: #3A2604;
  --turquoise: #1F7A72;
  --turquoise-clair: #CBE3DE;
  --bordure: #CBE3DE;
  --acier: #8A9A9B;

  --titre: "Libre Baskerville", "Iowan Old Style", Georgia, serif;
  --courant: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --manuscrit: "Gelasio", Georgia, "Times New Roman", serif;

  --biais: 18px;
  --biais-court: 12px;
  --colonne: 1180px;
  --marge: clamp(1.1rem, 4vw, 2.6rem);
  --souffle: clamp(3.6rem, 8vw, 6.4rem);

  --ombre-basse: 0 2px 6px rgba(20, 49, 46, 0.10);
  --ombre-haute: 0 6px 14px rgba(20, 49, 46, 0.13);

  --agrafes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48' viewBox='0 0 96 48'%3E%3Cpath d='M20 30 L20 19 L34 19 L34 30' fill='none' stroke='%238A9A9B' stroke-width='2' stroke-linecap='square' opacity='0.30'/%3E%3Ccircle cx='20' cy='32.5' r='1.3' fill='%231F7A72' opacity='0.26'/%3E%3Ccircle cx='34' cy='32.5' r='1.3' fill='%231F7A72' opacity='0.26'/%3E%3C/svg%3E");

  --agrafe-seule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='16' viewBox='0 0 26 16'%3E%3Cpath d='M5 14 L5 4 L21 4 L21 14' fill='none' stroke='%238A9A9B' stroke-width='2' stroke-linecap='square'/%3E%3Cpath d='M5 15 L5 5 L21 5 L21 15' fill='none' stroke='%2314312E' stroke-width='1' stroke-linecap='square' opacity='0.18'/%3E%3C/svg%3E");

  --loupe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Ccircle cx='19' cy='19' r='11.5' fill='none' stroke='%231F7A72' stroke-width='1.5'/%3E%3Cpath d='M27.5 27.5 L36 36' stroke='%231F7A72' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='19' cy='19' r='11.5' fill='%23FFFFFF' opacity='0.55'/%3E%3C/svg%3E");
}

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

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

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

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--courant);
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.7em;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 2.9rem); }
h2 { font-size: clamp(1.62rem, 3.4vw, 2.05rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.05em; max-width: 64ch; }
ul, ol { max-width: 64ch; }

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

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

figure, blockquote { margin: 0; }
.vignette-figure { margin: 0; }

strong { font-weight: 600; }

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

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

.evitement {
  position: absolute;
  left: 0; top: -70px;
  z-index: 60;
  background: var(--accent);
  color: var(--accent-texte);
  padding: 12px 20px;
  font-weight: 600;
  transition: top 160ms ease;
}
.evitement:focus { top: 0; color: var(--accent-texte); }

/* ---------------------------------------------------------------
   3. Trames et enveloppes
   --------------------------------------------------------------- */

.enveloppe {
  width: 100%;
  max-width: var(--colonne);
  margin: 0 auto;
  padding-inline: var(--marge);
}

.travee { padding-block: var(--souffle); position: relative; }

.travee-pastel {
  background: var(--fond-alt);
  position: relative;
}

/* frise d agrafes tres espacee en haut des bandes pastel */
.travee-pastel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 48px;
  background-image: var(--agrafes);
  background-repeat: repeat-x;
  background-position: 24px 0;
  pointer-events: none;
}

.surtitre {
  font-family: var(--manuscrit);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin: 0 0 0.8rem;
  display: block;
}

.chapeau {
  color: var(--texte-doux);
  font-size: 1.12rem;
  max-width: 58ch;
}

.tete-travee { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }

/* ---------------------------------------------------------------
   4. La fiche agrafee, forme signature
   --------------------------------------------------------------- */

.fiche {
  position: relative;
  background: var(--surface);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  clip-path: polygon(var(--biais) 0, 100% 0, 100% 100%, 0 100%, 0 var(--biais));
  box-shadow: inset 0 0 0 1px var(--bordure);
  filter: drop-shadow(0 6px 12px rgba(20, 49, 46, 0.10));
  transition: filter 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* second filet interieur, sur trois cotes seulement */
.fiche::before {
  content: "";
  position: absolute;
  inset: 4px 4px 4px 4px;
  border: 1px solid var(--bordure);
  border-top: 0;
  opacity: 0.75;
  pointer-events: none;
}

/* agrafe couchee en travers du biais */
.fiche::after {
  content: "";
  position: absolute;
  top: 3px;
  left: -2px;
  width: 26px;
  height: 16px;
  background: var(--agrafe-seule) no-repeat center / contain;
  transform: rotate(-37deg);
  pointer-events: none;
}

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

.fiche h3 { margin-bottom: 0.45em; }
.fiche p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------
   5. Eventail decale, archetype de grille
   --------------------------------------------------------------- */

.eventail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 0 clamp(0.6rem, 1.4vw, 1.1rem);
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}

.eventail > * { margin-inline-end: -14px; }
.eventail > *:last-child { margin-inline-end: 0; }

.eventail > *:nth-child(1) { margin-top: 36px; transform: rotate(-1.2deg); z-index: 1; }
.eventail > *:nth-child(2) { margin-top: 18px; transform: rotate(0deg); z-index: 2; }
.eventail > *:nth-child(3) { margin-top: 0; transform: rotate(1.2deg); z-index: 3; }

.eventail:last-of-type { margin-bottom: 0; }

.eventail-serre { gap: 0 0.4rem; }
.eventail-serre > * { margin-inline-end: -22px; }
.eventail-serre > *:last-child { margin-inline-end: 0; }

/* ---------------------------------------------------------------
   6. En tete, volet fixe
   --------------------------------------------------------------- */

.volet {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.volet.volet-pose { border-bottom-color: var(--turquoise-clair); }

.volet-rang {
  height: 72px;
  max-width: var(--colonne);
  margin: 0 auto;
  padding-inline: var(--marge);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.logotype {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--titre);
  font-size: 1.24rem;
  letter-spacing: 0.04em;
  color: var(--texte);
  text-decoration: none;
  flex: 0 0 auto;
}
.logotype:hover { color: var(--texte); }
.marque { flex: 0 0 auto; }

.cap { margin-left: auto; display: flex; align-items: center; gap: clamp(0.8rem, 1.8vw, 1.6rem); }

.cap-liste {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.7vw, 1.5rem);
  list-style: none;
  margin: 0; padding: 0;
  max-width: none;
}

.cap-liste a {
  font-size: 0.95rem;
  color: var(--texte);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  padding-bottom: 6px;
}
.cap-liste a:hover { border-bottom-color: var(--turquoise-clair); }
.cap-liste a.cap-active { border-bottom-color: var(--turquoise); }

.bouton-trois-traits {
  display: none;
  width: 46px; height: 42px;
  background: var(--surface);
  border: 1px solid var(--bordure);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}
.bouton-trois-traits span {
  display: block;
  width: 20px; height: 2px;
  background: var(--texte);
}

.panneau-fermer { display: none; }

/* ---------------------------------------------------------------
   7. Boutons
   --------------------------------------------------------------- */

.bouton, .bouton-second {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  font-family: var(--courant);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 4px;
  clip-path: polygon(var(--biais-court) 0, 100% 0, 100% 100%, 0 100%, 0 var(--biais-court));
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.bouton {
  background: var(--accent);
  color: var(--accent-texte);
  border: 0;
  box-shadow: 0 2px 0 rgba(58, 38, 4, 0.18);
}
.bouton:hover { background: var(--accent-dense); color: var(--accent-texte); transform: translateY(-2px); }
.bouton:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 3px; }

.bouton-second {
  background: var(--surface);
  color: var(--texte);
  box-shadow: inset 0 0 0 1px var(--turquoise-clair), inset 0 0 0 5px var(--surface), inset 0 0 0 6px var(--turquoise-clair);
}
.bouton-second:hover {
  background: var(--fond-alt);
  color: var(--texte);
  box-shadow: inset 0 0 0 1px var(--turquoise-clair), inset 0 0 0 3px var(--fond-alt), inset 0 0 0 4px var(--turquoise-clair);
  transform: translateY(-2px);
}

.bouton-large { width: 100%; }

.duo-boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.7rem 0 1.4rem;
}

/* ---------------------------------------------------------------
   8. Aube, le hero
   --------------------------------------------------------------- */

.aube {
  padding-top: calc(72px + clamp(2.6rem, 6vw, 4.6rem));
  padding-bottom: var(--souffle);
  position: relative;
  overflow: hidden;
}

/* bande de lumiere ambre, comme le volet entrouvert */
.aube::before {
  content: "";
  position: absolute;
  top: calc(72px + 2.2rem);
  left: 0; right: 0;
  height: 14px;
  background: linear-gradient(90deg, rgba(233, 172, 59, 0) 0%, rgba(233, 172, 59, 0.55) 18%, rgba(233, 172, 59, 0.55) 72%, rgba(233, 172, 59, 0) 100%);
  pointer-events: none;
}

.aube-rang {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
}

.aube h1 { margin-bottom: 0.5em; }
.aube .chapeau { font-size: 1.16rem; }

.reassurance {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--bordure);
  max-width: 46ch;
}
.reassurance b {
  font-family: var(--manuscrit);
  font-style: italic;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--turquoise);
  line-height: 1;
}
.reassurance span { font-size: 0.94rem; color: var(--texte-doux); }

/* ---------------------------------------------------------------
   9. Vignettes photographiques et loupe au survol
   --------------------------------------------------------------- */

.vignette {
  position: relative;
  display: block;
  background: var(--surface);
  padding: 8px;
  clip-path: polygon(var(--biais) 0, 100% 0, 100% 100%, 0 100%, 0 var(--biais));
  box-shadow: inset 0 0 0 1px var(--turquoise-clair);
  filter: drop-shadow(0 6px 12px rgba(20, 49, 46, 0.12));
  transition: filter 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow: hidden;
}

.vignette-cadre {
  position: relative;
  overflow: hidden;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
}

.vignette img {
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* voile turquoise en bas, lumiere ambre en haut */
.vignette-cadre::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(233, 172, 59, 0.14) 0%, rgba(233, 172, 59, 0) 30%),
    linear-gradient(0deg, rgba(31, 122, 114, 0.08) 0%, rgba(31, 122, 114, 0.08) 66%, rgba(31, 122, 114, 0) 66%);
  pointer-events: none;
  z-index: 2;
}

.vignette::after {
  content: "";
  position: absolute;
  right: 14px; bottom: 14px;
  width: 44px; height: 44px;
  background: var(--loupe) no-repeat center / contain;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 280ms ease, transform 280ms ease;
  z-index: 3;
  pointer-events: none;
}

.vignette:hover, .vignette:focus-within { filter: drop-shadow(0 10px 14px rgba(20, 49, 46, 0.16)); }
.vignette:hover img, .vignette:focus-within img { transform: scale(1.08); }
.vignette:hover::after, .vignette:focus-within::after { opacity: 0.9; transform: translateY(0); }

.vignette-legende {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--manuscrit);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--texte-doux);
}

/* la fiche de fonctionnalite reagit comme une vignette */
.fiche-loupe { overflow: hidden; }
.fiche-loupe::before { z-index: 2; }
.fiche-loupe .loupe-marque {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 44px; height: 44px;
  background: var(--loupe) no-repeat center / contain;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 280ms ease, transform 280ms ease;
  pointer-events: none;
}
.fiche-loupe:hover, .fiche-loupe:focus-within { filter: drop-shadow(0 10px 14px rgba(20, 49, 46, 0.16)); }
.fiche-loupe:hover .loupe-marque, .fiche-loupe:focus-within .loupe-marque { opacity: 0.9; transform: translateY(0); }
.fiche-loupe .fiche-corps { transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1); transform-origin: left top; }
.fiche-loupe:hover .fiche-corps, .fiche-loupe:focus-within .fiche-corps { transform: scale(1.03); }

/* ---------------------------------------------------------------
   10. Probleme, colonnes de constat
   --------------------------------------------------------------- */

.constat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
  margin-top: 2.4rem;
}

.constat-item {
  border-left: 3px solid var(--accent);
  padding: 0.2rem 0 0.2rem 1.1rem;
}
.constat-item h3 { font-size: 1.12rem; margin-bottom: 0.3em; }
.constat-item p { font-size: 0.99rem; color: var(--texte-doux); margin-bottom: 0; }

.cout-nuit {
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.6rem, 3.6vw, 3rem);
  align-items: center;
}

/* ---------------------------------------------------------------
   11. Solution, les quatre temps
   --------------------------------------------------------------- */

.temps-liste {
  list-style: none;
  margin: 0; padding: 0;
  max-width: none;
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.6rem);
  counter-reset: temps;
}

.temps {
  position: relative;
  background: var(--surface);
  padding: clamp(1.3rem, 2.4vw, 1.9rem) clamp(1.3rem, 2.4vw, 2rem) clamp(1.3rem, 2.4vw, 1.9rem) clamp(4.4rem, 7vw, 5.6rem);
  clip-path: polygon(var(--biais) 0, 100% 0, 100% 100%, 0 100%, 0 var(--biais));
  box-shadow: inset 0 0 0 1px var(--bordure);
  filter: drop-shadow(0 4px 10px rgba(20, 49, 46, 0.08));
  counter-increment: temps;
}
.temps::before {
  content: counter(temps);
  position: absolute;
  left: clamp(1.2rem, 2.6vw, 2rem);
  top: clamp(1.2rem, 2.4vw, 1.75rem);
  font-family: var(--manuscrit);
  font-style: italic;
  font-weight: 700;
  font-size: 2.05rem;
  line-height: 1;
  color: var(--turquoise);
}
.temps h3 { margin-bottom: 0.35em; }
.temps p { margin-bottom: 0; color: var(--texte-doux); }
.temps .duree {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: var(--manuscrit);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--turquoise);
  border-top: 1px solid var(--bordure);
  padding-top: 0.35rem;
}

.temps-liste-decalee .temps:nth-child(2) { margin-left: clamp(0px, 3vw, 40px); }
.temps-liste-decalee .temps:nth-child(3) { margin-left: clamp(0px, 6vw, 80px); }
.temps-liste-decalee .temps:nth-child(4) { margin-left: clamp(0px, 9vw, 120px); }

.garde-fou {
  margin-top: clamp(2rem, 4vw, 3rem);
  background: var(--fond-alt);
  border-left: 4px solid var(--turquoise);
  padding: 1.3rem 1.5rem;
}
.garde-fou h3 { font-size: 1.12rem; }
.garde-fou p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------
   12. Avantages
   --------------------------------------------------------------- */

.gains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.2rem, 2.6vw, 2rem);
  margin-top: 2.2rem;
}

.gain { position: relative; padding-top: 1.4rem; }
.gain::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 26px; height: 16px;
  background: var(--agrafe-seule) no-repeat left center / contain;
}
.gain b {
  display: block;
  font-family: var(--manuscrit);
  font-style: italic;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--turquoise);
}
.gain h3 { font-size: 1.14rem; margin: 0.35em 0 0.3em; }
.gain p { font-size: 0.99rem; color: var(--texte-doux); margin-bottom: 0; }

/* ---------------------------------------------------------------
   13. Preuve sociale, paroles et carnet de chiffres
   --------------------------------------------------------------- */

.parole { display: flex; flex-direction: column; }
.parole blockquote {
  margin: 0 0 1.1rem;
  font-family: var(--manuscrit);
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.66;
}
.parole blockquote p:last-child { margin-bottom: 0; }
.parole figcaption {
  border-top: 1px solid var(--bordure);
  padding-top: 0.8rem;
  font-size: 0.92rem;
  color: var(--texte-doux);
  margin-top: auto;
}
.parole figcaption b { display: block; font-size: 1rem; color: var(--texte); font-weight: 600; }

.carnet {
  position: relative;
  margin-top: clamp(2.6rem, 5vw, 4rem);
  background: var(--surface);
  clip-path: polygon(var(--biais) 0, 100% 0, 100% 100%, 0 100%, 0 var(--biais));
  box-shadow: inset 0 0 0 1px var(--bordure);
  filter: drop-shadow(0 6px 12px rgba(20, 49, 46, 0.10));
  padding: clamp(1.8rem, 3.4vw, 2.6rem);
  overflow: hidden;
}
.carnet::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--agrafes);
  background-repeat: repeat;
  opacity: 0.55;
  pointer-events: none;
}
.carnet-rang {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem);
}
.repere b {
  display: block;
  font-family: var(--manuscrit);
  font-style: italic;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--turquoise);
}
.repere span { display: block; font-size: 0.95rem; color: var(--texte-doux); margin-top: 0.3rem; }

/* ---------------------------------------------------------------
   14. Tarifs
   --------------------------------------------------------------- */

.grille-tarifs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 0 clamp(0.7rem, 1.6vw, 1.2rem);
}
.grille-tarifs > * { margin-inline-end: -12px; }
.grille-tarifs > *:last-child { margin-inline-end: 0; }
.grille-tarifs > *:nth-child(1) { margin-top: 36px; transform: rotate(-1.2deg); z-index: 1; }
.grille-tarifs > *:nth-child(2) { margin-top: 0; margin-bottom: 28px; transform: rotate(0deg); z-index: 4; }
.grille-tarifs > *:nth-child(3) { margin-top: 18px; transform: rotate(1.2deg); z-index: 2; }

.tarif { display: flex; flex-direction: column; }
.tarif-phare { box-shadow: inset 0 0 0 2px var(--turquoise); }
.tarif-sceau {
  display: inline-block;
  font-family: var(--manuscrit);
  font-style: italic;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-texte);
  padding: 3px 12px;
  margin-bottom: 0.8rem;
}
.tarif h3 { margin-bottom: 0.25em; }
.tarif-prix {
  font-family: var(--titre);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--texte);
  display: block;
}
.tarif-unite { display: block; font-size: 0.9rem; color: var(--texte-doux); margin-bottom: 0.9rem; }
.tarif-cible { font-size: 0.97rem; color: var(--texte-doux); border-bottom: 1px solid var(--bordure); padding-bottom: 1rem; }
.tarif ul {
  list-style: none;
  margin: 1rem 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.tarif li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.96rem;
  line-height: 1.6;
}
.tarif li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 9px; height: 9px;
  background: var(--turquoise);
  transform: rotate(45deg);
}
.tarif .bouton, .tarif .bouton-second { margin-top: auto; }

.note-tarifs {
  margin-top: clamp(2.6rem, 5vw, 3.6rem);
  font-size: 0.95rem;
  color: var(--texte-doux);
  max-width: 72ch;
}

/* ---------------------------------------------------------------
   15. FAQ
   --------------------------------------------------------------- */

.pile-questions { display: grid; gap: 0.9rem; }

.question {
  background: var(--surface);
  clip-path: polygon(var(--biais) 0, 100% 0, 100% 100%, 0 100%, 0 var(--biais));
  box-shadow: inset 0 0 0 1px var(--bordure);
  filter: drop-shadow(0 3px 8px rgba(20, 49, 46, 0.07));
  position: relative;
}
.question::after {
  content: "";
  position: absolute;
  top: 3px; left: -2px;
  width: 26px; height: 16px;
  background: var(--agrafe-seule) no-repeat center / contain;
  transform: rotate(-37deg);
  pointer-events: none;
}

.question-bouton {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--titre);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--texte);
  padding: 1.15rem 3.2rem 1.15rem clamp(1.5rem, 2.6vw, 2rem);
  position: relative;
}
.question-bouton:hover { color: var(--turquoise); }
.question-bouton::after {
  content: "";
  position: absolute;
  right: clamp(1.2rem, 2.4vw, 1.8rem);
  top: 50%;
  width: 13px; height: 13px;
  border-right: 2px solid var(--turquoise);
  border-bottom: 2px solid var(--turquoise);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 220ms ease;
}
.question-bouton[aria-expanded="true"]::after { transform: translateY(-30%) rotate(225deg); }

.question-reponse {
  padding: 0 clamp(1.5rem, 2.6vw, 2rem) 1.3rem;
  color: var(--texte-doux);
}
.question-reponse p:last-child { margin-bottom: 0; }
.question-reponse[hidden] { display: none; }

/* ---------------------------------------------------------------
   16. Formulaire d echange
   --------------------------------------------------------------- */

.echange {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: start;
}

.echange-mot ul { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.echange-mot li { position: relative; padding-left: 1.9rem; font-size: 0.98rem; color: var(--texte-doux); }
.echange-mot li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.25em;
  width: 22px; height: 14px;
  background: var(--agrafe-seule) no-repeat left center / contain;
}

.formulaire { display: grid; gap: 1rem; }
.formulaire label {
  display: block;
  font-size: 0.93rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.formulaire input[type="text"],
.formulaire input[type="email"],
.formulaire select,
.formulaire textarea {
  width: 100%;
  font-family: var(--courant);
  font-size: 1rem;
  color: var(--texte);
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: 3px;
  padding: 11px 13px;
  line-height: 1.5;
}
.formulaire textarea { resize: vertical; min-height: 130px; }
.formulaire input:focus-visible,
.formulaire select:focus-visible,
.formulaire textarea:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 2px; border-color: var(--turquoise); }

.aide { font-size: 0.87rem; color: var(--texte-doux); margin: 0.35rem 0 0; }

.consentement { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; font-weight: 400; line-height: 1.55; }
.consentement input { margin-top: 0.35rem; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--turquoise); }

.apres-formulaire { font-size: 0.92rem; color: var(--texte-doux); margin-top: 1rem; }

/* ---------------------------------------------------------------
   17. Pied de page
   --------------------------------------------------------------- */

.socle {
  background: var(--fond-alt);
  border-top: 1px solid var(--bordure);
  padding-block: clamp(2.8rem, 6vw, 4.4rem) 1.6rem;
  position: relative;
}
.socle::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 48px;
  background-image: var(--agrafes);
  background-repeat: repeat-x;
  background-position: 40px 0;
  pointer-events: none;
}

.socle-rang {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.25fr;
  gap: clamp(1.6rem, 3.4vw, 2.6rem);
}

.socle h2 { font-size: 1.02rem; font-family: var(--courant); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.9rem; }
.socle ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.socle a { color: var(--texte); text-decoration: none; font-size: 0.95rem; }
.socle a:hover { color: var(--turquoise); text-decoration: underline; }
.socle p { font-size: 0.95rem; color: var(--texte-doux); }

.socle-position { max-width: 34ch; }
.socle-social { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.9rem; }
.socle-social a { font-size: 0.9rem; color: var(--turquoise); text-decoration: underline; }

.socle-editeur { font-size: 0.88rem; line-height: 1.65; }

.socle-reseau {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.3rem;
  border-top: 1px solid var(--bordure);
  font-size: 0.86rem;
  color: var(--texte-doux);
}
.socle-reseau ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: 0.5rem; }
.socle-reseau a { font-size: 0.86rem; }

.socle-bas {
  position: relative;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--bordure);
  font-size: 0.86rem;
  color: var(--texte-doux);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  justify-content: space-between;
}
.socle-bas p { margin: 0; font-size: 0.86rem; }

/* ---------------------------------------------------------------
   18. Pages interieures
   --------------------------------------------------------------- */

.page-tete {
  padding-top: calc(72px + clamp(2.4rem, 5vw, 3.8rem));
  padding-bottom: clamp(1.8rem, 4vw, 2.8rem);
  background: var(--fond-alt);
  position: relative;
}
.page-tete::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 48px;
  background-image: var(--agrafes);
  background-repeat: repeat-x;
  background-position: 60px 0;
  pointer-events: none;
}
.page-tete h1 { margin-bottom: 0.4em; }
.fil { font-size: 0.88rem; color: var(--texte-doux); margin-bottom: 1rem; }
.fil a { color: var(--turquoise); }

.texte-long { padding-block: clamp(2.6rem, 5vw, 4rem); }
.texte-long h2 { margin-top: 2.2rem; }
.texte-long h2:first-of-type { margin-top: 0; }
.texte-long h3 { margin-top: 1.6rem; }
.texte-long ul, .texte-long ol { padding-left: 1.3rem; }
.texte-long li { margin-bottom: 0.5rem; }
.texte-long dl { max-width: 64ch; }
.texte-long dt { font-weight: 600; margin-top: 1rem; }
.texte-long dd { margin: 0.2rem 0 0; color: var(--texte-doux); }

.colonne-lecture { max-width: 68ch; }

.portrait-auteur {
  float: right;
  margin: 0 0 1.4rem 1.8rem;
  max-width: 260px;
}
.portrait-auteur img { width: 100%; }

.encadre {
  background: var(--surface);
  clip-path: polygon(var(--biais) 0, 100% 0, 100% 100%, 0 100%, 0 var(--biais));
  box-shadow: inset 0 0 0 1px var(--bordure);
  filter: drop-shadow(0 4px 10px rgba(20, 49, 46, 0.08));
  padding: clamp(1.4rem, 2.6vw, 2rem);
  margin: 2rem 0;
  position: relative;
}
.encadre::after {
  content: "";
  position: absolute;
  top: 3px; left: -2px;
  width: 26px; height: 16px;
  background: var(--agrafe-seule) no-repeat center / contain;
  transform: rotate(-37deg);
}
.encadre h2, .encadre h3 { margin-top: 0; }
.encadre p:last-child, .encadre ul:last-child { margin-bottom: 0; }

.liens-profils { display: flex; flex-wrap: wrap; gap: 0.7rem 1.2rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }

.plan-liste { display: grid; gap: 1.1rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.plan-liste > li { border-left: 3px solid var(--turquoise-clair); padding-left: 1rem; }
.plan-liste a { font-weight: 600; }
.plan-liste p { margin: 0.15rem 0 0; font-size: 0.97rem; color: var(--texte-doux); }

.page-courte {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding-block: calc(72px + 3rem) 3rem;
}
.page-courte .enveloppe { width: 100%; }

/* ---------------------------------------------------------------
   19. Apparitions au defilement
   --------------------------------------------------------------- */

.paraitre {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.paraitre.pose { opacity: 1; transform: none; }

/* ---------------------------------------------------------------
   20. Adaptations
   --------------------------------------------------------------- */

@media (max-width: 1020px) {
  .aube-rang { grid-template-columns: 1fr; }
  .cout-nuit { grid-template-columns: 1fr; }
  .echange { grid-template-columns: 1fr; }
  .socle-rang { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .cap-liste, .cap .bouton { display: none; }
  .bouton-trois-traits { display: flex; }

  .cap.cap-ouverte {
    display: block;
    position: fixed;
    inset: 0;
    background: var(--surface);
    padding: 88px var(--marge) 2.4rem;
    overflow-y: auto;
    z-index: 55;
  }
  .cap.cap-ouverte .cap-liste {
    display: grid;
    gap: 0.7rem;
    max-width: 520px;
    margin: 0 auto;
  }
  .cap.cap-ouverte .cap-liste li { display: block; }
  .cap.cap-ouverte .cap-liste a {
    display: block;
    background: var(--fond);
    padding: 0.95rem 1.2rem;
    font-size: 1.06rem;
    border-bottom: 0;
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
    box-shadow: inset 0 0 0 1px var(--bordure);
    position: relative;
  }
  .cap.cap-ouverte .cap-liste a.cap-active { box-shadow: inset 0 0 0 2px var(--turquoise); }
  .cap.cap-ouverte .bouton {
    display: inline-flex;
    width: 100%;
    max-width: 520px;
    margin: 1rem auto 0;
  }
  .cap.cap-ouverte .panneau-fermer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 15px; right: var(--marge);
    width: 46px; height: 42px;
    background: var(--surface);
    border: 1px solid var(--bordure);
    color: var(--texte);
    font-size: 1.2rem;
    cursor: pointer;
  }

  .eventail, .grille-tarifs { grid-template-columns: 1fr; gap: 1.1rem; }
  .eventail > *, .grille-tarifs > * {
    margin: 0 !important;
    transform: none !important;
  }
  .eventail > * { margin-left: 8px !important; }
  .eventail > *:nth-child(2) { margin-left: 0 !important; }
  .grille-tarifs > *:nth-child(2) { margin-left: 8px !important; }

  .temps-liste-decalee .temps { margin-left: 0; }
  .portrait-auteur { float: none; margin: 0 0 1.6rem; max-width: 320px; }
}

@media (max-width: 620px) {
  .socle-rang { grid-template-columns: 1fr; }
  .duo-boutons .bouton, .duo-boutons .bouton-second { width: 100%; }
  .reassurance { flex-direction: column; gap: 0.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .paraitre { opacity: 1; transform: none; }
  .vignette:hover img, .vignette:focus-within img { transform: none; }
  .fiche-loupe:hover .fiche-corps, .fiche-loupe:focus-within .fiche-corps { transform: none; }
  .bouton:hover, .bouton-second:hover { transform: none; }
}

@media print {
  .volet, .cap, .bouton, .bouton-second, .socle-reseau { display: none !important; }
  body { background: #fff; }
}
/* ---------------------------------------------------------------
   21. Le Carnet de nuit, section magazine
   Vocabulaire ajoute : sommaire, feuillet, billet, encart-auteur,
   lire-aussi, carte-lire. Aucune regle des sections 1 a 20 n est
   modifiee : le magazine reprend les memes jetons de couleur,
   la meme fiche agrafee, le meme motif d agrafes et la meme
   loupe au survol que le reste du site.
   --------------------------------------------------------------- */

/* 21.1 Bandes du magazine ---------------------------------------- */

.travee-carnet {
  background: var(--surface);
  border-bottom: 1px solid var(--bordure);
}

.tete-magazine { max-width: 66ch; }
.tete-magazine .chapeau { max-width: 62ch; }

/* Titre de bloc quand la hierarchie des titres appartient au corps
   redactionnel : meme dessin qu un h2 de section, sans balise de titre. */
.titre-bloc {
  font-family: var(--titre);
  font-weight: 700;
  font-size: clamp(1.32rem, 2.4vw, 1.62rem);
  line-height: 1.25;
  color: var(--texte);
  margin: 0 0 1.1rem;
  max-width: 62ch;
}

/* Intitules de colonne du pied de page sur les pages du magazine,
   ou les balises de titre sont reservees au corps des articles. */
.socle .socle-titre {
  font-size: 1.02rem;
  font-family: var(--courant);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--texte);
  margin: 0 0 0.9rem;
}

/* 21.2 Sommaire, l eventail decale applique aux articles ---------- */

.sommaire {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: clamp(1.8rem, 3.4vw, 2.8rem) clamp(0.6rem, 1.4vw, 1.1rem);
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}

.sommaire > * { margin-inline-end: -14px; }
.sommaire > *:nth-child(3n) { margin-inline-end: 0; }

.sommaire > *:nth-child(3n + 1) { margin-top: 36px; transform: rotate(-1.2deg); z-index: 1; }
.sommaire > *:nth-child(3n + 2) { margin-top: 18px; transform: rotate(0deg); z-index: 2; }
.sommaire > *:nth-child(3n + 3) { margin-top: 0; transform: rotate(1.2deg); z-index: 3; }

/* 21.3 Feuillet, la fiche agrafee d un article -------------------- */

.feuillet {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  padding: 8px 8px 0;
  clip-path: polygon(var(--biais) 0, 100% 0, 100% 100%, 0 100%, 0 var(--biais));
  box-shadow: inset 0 0 0 1px var(--bordure);
  filter: drop-shadow(0 6px 12px rgba(20, 49, 46, 0.10));
  transition: filter 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* second filet interieur, sur trois cotes seulement */
.feuillet::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--bordure);
  border-top: 0;
  opacity: 0.75;
  pointer-events: none;
  z-index: 4;
}

/* agrafe couchee en travers du coin coupe */
.feuillet::after {
  content: "";
  position: absolute;
  top: 3px;
  left: -2px;
  width: 26px;
  height: 16px;
  background: var(--agrafe-seule) no-repeat center / contain;
  transform: rotate(-37deg);
  pointer-events: none;
  z-index: 5;
}

.feuillet-vignette {
  position: relative;
  display: block;
  overflow: hidden;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
}

.feuillet-vignette img {
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* lumiere ambre en haut, voile turquoise sur les deux tiers bas */
.feuillet-vignette::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(233, 172, 59, 0.14) 0%, rgba(233, 172, 59, 0) 30%),
    linear-gradient(0deg, rgba(31, 122, 114, 0.08) 0%, rgba(31, 122, 114, 0.08) 66%, rgba(31, 122, 114, 0) 66%);
  pointer-events: none;
  z-index: 2;
}

/* disque de loupe, signature d animation du site */
.feuillet-vignette::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  background: var(--loupe) no-repeat center / contain;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 280ms ease, transform 280ms ease;
  pointer-events: none;
  z-index: 3;
}

.feuillet:hover, .feuillet:focus-within { filter: drop-shadow(0 10px 14px rgba(20, 49, 46, 0.16)); }
.feuillet:hover .feuillet-vignette img,
.feuillet:focus-within .feuillet-vignette img { transform: scale(1.08); }
.feuillet:hover .feuillet-vignette::after,
.feuillet:focus-within .feuillet-vignette::after { opacity: 0.9; transform: translateY(0); }

.feuillet-corps {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(1.1rem, 2vw, 1.4rem) clamp(0.9rem, 1.8vw, 1.3rem) clamp(1.2rem, 2.2vw, 1.5rem);
}

.feuillet-angle {
  font-family: var(--manuscrit);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--turquoise);
  display: block;
  margin-bottom: 0.5rem;
}

.feuillet-titre {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.35;
  margin: 0 0 0.55em;
  max-width: none;
}
.feuillet-titre a { color: var(--texte); text-decoration: none; }
.feuillet-titre a:hover { color: var(--turquoise); text-decoration: underline; text-underline-offset: 3px; }

.feuillet-extrait {
  font-size: 0.97rem;
  color: var(--texte-doux);
  margin-bottom: 1.1rem;
  max-width: none;
}

.feuillet-pied {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.9rem;
  margin: auto 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bordure);
  font-family: var(--manuscrit);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--texte-doux);
  max-width: none;
}

/* 21.4 Entete d article ------------------------------------------ */

.billet { display: block; }

.billet-tete {
  padding-top: calc(72px + clamp(2.4rem, 5vw, 3.8rem));
  padding-bottom: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--fond-alt);
  position: relative;
}
.billet-tete::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 48px;
  background-image: var(--agrafes);
  background-repeat: repeat-x;
  background-position: 60px 0;
  pointer-events: none;
}
.billet-tete .enveloppe { position: relative; }
.billet-tete h1 { margin-bottom: 0.45em; max-width: 22ch; }
@media (min-width: 700px) { .billet-tete h1 { max-width: 26ch; } }

.billet-reperes {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1.4rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--bordure);
  max-width: none;
  font-size: 0.92rem;
  color: var(--texte-doux);
}
.billet-reperes .billet-signature { font-family: var(--courant); font-weight: 600; color: var(--texte); }
.billet-reperes time { font-family: var(--manuscrit); font-style: italic; color: var(--turquoise); }
.billet-reperes .billet-duree { font-family: var(--manuscrit); font-style: italic; color: var(--turquoise); }

/* 21.5 Colonne de lecture, chapeau et image a la une -------------- */

.billet-colonne { padding-block: clamp(2.4rem, 5vw, 3.6rem); }

.billet-chapo {
  position: relative;
  max-width: 62ch;
  margin: 0 0 clamp(1.8rem, 3.4vw, 2.6rem);
  padding: 0 0 0 1.4rem;
  border-left: 4px solid var(--accent);
  font-family: var(--manuscrit);
  font-style: italic;
  font-size: 1.16rem;
  line-height: 1.6;
  color: var(--texte);
}

.billet-image {
  position: relative;
  max-width: 860px;
  margin: 0 0 clamp(1.8rem, 3.4vw, 2.6rem);
  padding: 8px;
  background: var(--surface);
  clip-path: polygon(var(--biais) 0, 100% 0, 100% 100%, 0 100%, 0 var(--biais));
  box-shadow: inset 0 0 0 1px var(--bordure);
  filter: drop-shadow(0 6px 12px rgba(20, 49, 46, 0.10));
  transition: filter 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.billet-image::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--bordure);
  border-top: 0;
  opacity: 0.75;
  pointer-events: none;
  z-index: 4;
}
.billet-image::after {
  content: "";
  position: absolute;
  top: 3px;
  left: -2px;
  width: 26px;
  height: 16px;
  background: var(--agrafe-seule) no-repeat center / contain;
  transform: rotate(-37deg);
  pointer-events: none;
  z-index: 5;
}
.billet-image:hover { filter: drop-shadow(0 10px 14px rgba(20, 49, 46, 0.16)); }
.billet-image:hover .feuillet-vignette img { transform: scale(1.08); }
.billet-image:hover .feuillet-vignette::after { opacity: 0.9; transform: translateY(0); }

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

.billet-corps { max-width: 68ch; }

.billet-corps > *:first-child { margin-top: 0; }

.billet-corps h2 {
  font-family: var(--titre);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  margin: clamp(2.2rem, 4vw, 2.9rem) 0 0.7em;
  padding-top: 1.5rem;
  position: relative;
}
.billet-corps h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 16px;
  background: var(--agrafe-seule) no-repeat left center / contain;
}

.billet-corps h3 {
  font-family: var(--titre);
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--texte);
  margin: clamp(1.6rem, 3vw, 2.1rem) 0 0.5em;
  padding-left: 0.9rem;
  border-left: 3px solid var(--turquoise-clair);
}

.billet-corps p { max-width: 68ch; margin: 0 0 1.15em; }

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

.billet-corps a { color: var(--turquoise); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.billet-corps a:hover { color: var(--texte); background: var(--fond-alt); }

.billet-corps ul, .billet-corps ol {
  max-width: 68ch;
  margin: 0 0 1.4em;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.billet-corps li { position: relative; padding-left: 1.6rem; line-height: 1.68; }

.billet-corps ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 9px;
  height: 9px;
  background: var(--turquoise);
  transform: rotate(45deg);
}

.billet-corps ol { counter-reset: pas-billet; }
.billet-corps ol > li { counter-increment: pas-billet; padding-left: 2.1rem; }
.billet-corps ol > li::before {
  content: counter(pas-billet);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--manuscrit);
  font-style: italic;
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--turquoise);
}

.billet-corps li > ul, .billet-corps li > ol { margin: 0.5rem 0 0; }

/* tableau recapitulatif, pose comme une fiche agrafee */
.billet-corps table {
  width: 100%;
  margin: 0 0 1.6em;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.98rem;
  box-shadow: inset 0 0 0 1px var(--bordure);
  clip-path: polygon(var(--biais) 0, 100% 0, 100% 100%, 0 100%, 0 var(--biais));
}
.billet-corps thead { background: var(--fond-alt); }
.billet-corps th {
  font-family: var(--courant);
  font-weight: 600;
  text-align: left;
  color: var(--texte);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--bordure);
  vertical-align: top;
}
.billet-corps thead th:first-child { padding-left: calc(1rem + var(--biais) / 2); }
.billet-corps td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--bordure);
  color: var(--texte-doux);
  vertical-align: top;
  line-height: 1.6;
}
.billet-corps tbody tr:last-child td { border-bottom: 0; }
.billet-corps tbody th { color: var(--texte); border-bottom: 1px solid var(--bordure); }

/* encadre, meme forme signature que les fiches du site */
.billet-corps aside {
  position: relative;
  background: var(--fond-alt);
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  margin: 0 0 1.7em;
  clip-path: polygon(var(--biais) 0, 100% 0, 100% 100%, 0 100%, 0 var(--biais));
  box-shadow: inset 0 0 0 1px var(--bordure);
}
.billet-corps aside::after {
  content: "";
  position: absolute;
  top: 3px;
  left: -2px;
  width: 26px;
  height: 16px;
  background: var(--agrafe-seule) no-repeat center / contain;
  transform: rotate(-37deg);
  pointer-events: none;
}
.billet-corps aside > *:last-child { margin-bottom: 0; }
.billet-corps aside p { color: var(--texte); }

/* citation */
.billet-corps blockquote {
  margin: 0 0 1.7em;
  padding: 0.2rem 0 0.2rem 1.3rem;
  border-left: 4px solid var(--turquoise);
  font-family: var(--manuscrit);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.66;
  color: var(--texte);
}
.billet-corps blockquote p:last-child { margin-bottom: 0; }

.billet-corps figure { margin: 0 0 1.7em; }
.billet-corps figcaption {
  margin-top: 0.6rem;
  font-family: var(--manuscrit);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--texte-doux);
}

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

.billet-appel {
  position: relative;
  max-width: 68ch;
  margin: clamp(2.2rem, 4vw, 3rem) 0 0;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--surface);
  clip-path: polygon(var(--biais) 0, 100% 0, 100% 100%, 0 100%, 0 var(--biais));
  box-shadow: inset 0 0 0 1px var(--bordure);
  filter: drop-shadow(0 4px 10px rgba(20, 49, 46, 0.08));
}
.billet-appel::after {
  content: "";
  position: absolute;
  top: 3px;
  left: -2px;
  width: 26px;
  height: 16px;
  background: var(--agrafe-seule) no-repeat center / contain;
  transform: rotate(-37deg);
  pointer-events: none;
}
.billet-appel .titre-bloc { margin-bottom: 0.6rem; }
.billet-appel p { color: var(--texte-doux); }
.billet-appel .bouton { margin-top: 0.5rem; }

/* 21.8 Encart auteur --------------------------------------------- */

.encart-auteur {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(1rem, 2.4vw, 1.6rem);
  align-items: start;
  max-width: 68ch;
  margin: clamp(2.2rem, 4vw, 3rem) 0 0;
  padding-top: clamp(1.4rem, 2.6vw, 2rem);
  border-top: 1px solid var(--bordure);
}
.encart-auteur img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  clip-path: polygon(var(--biais-court) 0, 100% 0, 100% 100%, 0 100%, 0 var(--biais-court));
  box-shadow: inset 0 0 0 1px var(--bordure);
}
.encart-auteur-nom {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0 0 0.15rem;
  color: var(--texte);
}
.encart-auteur-role {
  font-family: var(--manuscrit);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--turquoise);
  margin: 0 0 0.7rem;
}
.encart-auteur p { font-size: 0.99rem; color: var(--texte-doux); margin-bottom: 0.7rem; max-width: 60ch; }
.encart-auteur p:last-child { margin-bottom: 0; }

/* 21.9 Bloc A lire aussi ----------------------------------------- */

.lire-aussi { padding-block: var(--souffle); }
.lire-aussi .titre-bloc { margin-bottom: 0.4rem; }
.lire-aussi .chapeau { margin-bottom: 0; }

.carte-lire {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  padding: 8px 8px 0;
  clip-path: polygon(var(--biais) 0, 100% 0, 100% 100%, 0 100%, 0 var(--biais));
  box-shadow: inset 0 0 0 1px var(--bordure);
  filter: drop-shadow(0 6px 12px rgba(20, 49, 46, 0.10));
  transition: filter 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.carte-lire::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--bordure);
  border-top: 0;
  opacity: 0.75;
  pointer-events: none;
  z-index: 4;
}
.carte-lire::after {
  content: "";
  position: absolute;
  top: 3px;
  left: -2px;
  width: 26px;
  height: 16px;
  background: var(--agrafe-seule) no-repeat center / contain;
  transform: rotate(-37deg);
  pointer-events: none;
  z-index: 5;
}
.carte-lire .feuillet-vignette { clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px); }
.carte-lire:hover, .carte-lire:focus-within { filter: drop-shadow(0 10px 14px rgba(20, 49, 46, 0.16)); }
.carte-lire:hover .feuillet-vignette img,
.carte-lire:focus-within .feuillet-vignette img { transform: scale(1.08); }
.carte-lire:hover .feuillet-vignette::after,
.carte-lire:focus-within .feuillet-vignette::after { opacity: 0.9; transform: translateY(0); }

.carte-lire-corps {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(1rem, 1.9vw, 1.3rem) clamp(0.9rem, 1.8vw, 1.2rem) clamp(1.1rem, 2vw, 1.4rem);
}
.carte-lire-titre {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.35;
  margin: 0 0 0.5em;
  max-width: none;
}
.carte-lire-titre a { color: var(--texte); text-decoration: none; }
.carte-lire-titre a:hover { color: var(--turquoise); text-decoration: underline; text-underline-offset: 3px; }
.carte-lire-accroche {
  font-size: 0.95rem;
  color: var(--texte-doux);
  margin: 0;
  max-width: none;
}

/* 21.10 Adaptations du magazine ---------------------------------- */

@media (max-width: 1020px) {
  .sommaire { grid-template-columns: repeat(2, 1fr); }
  .sommaire > * { margin-inline-end: 0; margin-top: 0; transform: none; }
  .sommaire > *:nth-child(2n) { margin-top: 22px; }
  .encart-auteur { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .sommaire { grid-template-columns: 1fr; gap: 1.2rem; }
  .sommaire > * {
    margin: 0 0 0 8px !important;
    transform: none !important;
  }
  .sommaire > *:nth-child(2n) { margin-left: 0 !important; }
  .billet-corps table { font-size: 0.94rem; }
  .billet-corps th, .billet-corps td { padding: 0.7rem 0.8rem; }
}

@media (max-width: 620px) {
  .billet-chapo { font-size: 1.08rem; }
  .billet-appel .bouton { width: 100%; }
  .billet-corps { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .feuillet:hover .feuillet-vignette img,
  .feuillet:focus-within .feuillet-vignette img,
  .carte-lire:hover .feuillet-vignette img,
  .carte-lire:focus-within .feuillet-vignette img,
  .billet-image:hover .feuillet-vignette img { transform: none; }
}

@media print {
  .billet-appel, .lire-aussi { display: none !important; }
  .billet-corps { max-width: none; }
}

/* Maillage du reseau, bandeau de pied de page. Mise en page seulement:
   les couleurs, la police et le survol restent ceux du site.
   grid-column et flex-basis font tenir le bandeau sur toute la largeur,
   que le pied de page soit une grille ou une boite flexible.
   Les raccourcis margin et padding sont evites: ils ecraseraient le retrait
   interieur d une colonne dont le bandeau herite la classe. */
[data-reseau-bloc]{grid-column:1/-1;flex-basis:100%;width:100%;margin-top:26px;padding-top:18px}
[data-reseau-titre]{font-size:.8rem;line-height:1.3;letter-spacing:.09em;text-transform:uppercase;
  font-weight:600;margin:0 0 12px}
ul[data-reseau]{list-style:none;display:flex;flex-wrap:wrap;gap:10px 26px;margin:0;padding:0}
ul[data-reseau] li{margin:0;padding:0}
