/* ==========================================================================
   Cleventia, feuille de style unique
   Cahier de tresorier : papier avoine, encre bleu canard, violet d engagement.
   Vocabulaire de classes emprunte au grand livre et a la liasse de controle.
   ========================================================================== */

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

:root {
  --papier: #F6F1E4;
  --report: #EDE6D4;
  --surface: #FFFDF7;
  --encre: #10312F;
  --encre-doux: #3D6A66;
  --engage: #6730A6;
  --engage-fonce: #56288D;
  --engage-clair: #F0E8FA;
  --engage-texte: #FBF7EE;
  --canard: #10635E;
  --filet: #D9CFB6;
  --alerte: #9A5B08;

  --titre: "Baloo 2", "Trebuchet MS", sans-serif;
  --courant: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --compte: "DM Mono", "SFMono-Regular", Consolas, monospace;

  --utile: 1180px;
  --gouttiere: 28px;

  /* geometrie de la coupe isometrique a 26 degres */
  --coupe-x: 38px;
  --coupe-y: 18px;
  --coupe: polygon(0 0, calc(100% - var(--coupe-x)) 0, 100% var(--coupe-y), 100% 100%, 0 100%);

  --ombre-courte: 0 1px 0 rgba(16, 49, 47, .06), 0 3px 10px rgba(16, 49, 47, .07);
  --ombre-levee: 0 2px 0 rgba(16, 49, 47, .08), 0 14px 30px rgba(16, 49, 47, .12);
}

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

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--courant);
  font-size: 1.125rem;
  line-height: 1.72;
  font-variant-numeric: oldstyle-nums proportional-nums;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--titre);
  letter-spacing: -.01em;
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 600;
}

h1 { font-size: 3.25rem; font-weight: 700; }
h2 { font-size: 2.05rem; }
h3 { font-size: 1.35rem; }

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

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

strong { font-weight: 600; }

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

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

.evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--engage);
  color: var(--engage-texte);
  font-family: var(--compte);
  font-size: .8125rem;
  padding: 12px 18px;
  z-index: 200;
}
.evitement:focus { left: 8px; top: 8px; }

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

/* --------------------------------------------------------------------------
   3. Gabarit et rythme vertical
   -------------------------------------------------------------------------- */

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

.feuillet {
  position: relative;
  padding: 88px 0;
}

.feuillet--report { background: var(--report); }
.feuillet--report + .feuillet--report { padding-top: 0; }

.feuillet--serre { padding: 60px 0; }

.feuillet--report::before,
.feuillet--encre::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--filet);
}

.feuillet--encre {
  background: var(--encre);
  color: var(--papier);
}
.feuillet--encre h2, .feuillet--encre h3 { color: var(--surface); }
.feuillet--encre a { color: #9FD8D2; }

/* surtitre de section, cote de classement */
.cote {
  font-family: var(--compte);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--canard);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.cote::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--engage);
  flex: none;
}
.feuillet--encre .cote { color: #9FD8D2; }

.chapo {
  font-size: 1.22rem;
  color: var(--encre-doux);
  max-width: 62ch;
}
.feuillet--encre .chapo { color: #BCD8D4; }

/* double filet de total, convention du grand livre */
.double-filet {
  border: 0;
  height: 6px;
  margin: 22px 0;
  background:
    linear-gradient(var(--filet), var(--filet)) top left / 100% 1px no-repeat,
    linear-gradient(var(--encre), var(--encre)) bottom left / 100% 2px no-repeat;
  opacity: .85;
}
.double-filet--court { width: 96px; margin-left: 0; }

/* --------------------------------------------------------------------------
   4. Motif signature : cubes isometriques
   -------------------------------------------------------------------------- */

.trame-cubes {
  background-color: transparent;
  background-image:
    repeating-linear-gradient(30deg, rgba(217, 207, 182, .55) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(150deg, rgba(217, 207, 182, .55) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(217, 207, 182, .55) 0 1px, transparent 1px 42px);
  opacity: .6;
}

.cube {
  width: 40px;
  height: 44px;
  flex: none;
  transform-origin: 50% 60%;
  animation: oscillation 5.2s ease-in-out infinite;
}
.cube .face-haut { fill: var(--report); }
.cube .face-gauche { fill: var(--surface); }
.cube .face-droite { fill: #E4DCC6; }
.cube .arete { fill: none; stroke: var(--encre); stroke-width: 1.1; stroke-linejoin: round; }

.cube--valide .face-gauche { fill: rgba(16, 99, 94, .16); }
.cube--valide .face-droite { fill: rgba(16, 99, 94, .28); }
.cube--engage .face-haut { fill: rgba(103, 48, 166, .82); }
.cube--engage .face-droite { fill: rgba(103, 48, 166, .18); }

.poste:nth-child(2) .cube { animation-delay: .4s; }
.poste:nth-child(3) .cube { animation-delay: .8s; }
.poste:nth-child(4) .cube { animation-delay: 1.2s; }
.poste:nth-child(5) .cube { animation-delay: 1.6s; }
.poste:nth-child(6) .cube { animation-delay: 2s; }

@keyframes oscillation {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
}

.poste:hover .cube { animation-duration: 3.4s; }
.poste:hover .cube .face-haut { fill: var(--engage); transition: fill 180ms ease; }
.poste:hover .cube {
  animation-name: oscillation-large;
}
@keyframes oscillation-large {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

/* pile de cubes de la section solution */
.pile-cubes { display: block; }
.pile-cubes .arete { fill: none; stroke: var(--canard); stroke-width: 1.1; }
.pile-cubes .plein { fill: rgba(103, 48, 166, .14); }

/* --------------------------------------------------------------------------
   5. Coupe isometrique des cartes
   -------------------------------------------------------------------------- */

.coupee {
  position: relative;
  clip-path: var(--coupe);
}
.coupee::after {
  content: "";
  position: absolute;
  top: 5px;
  right: -2px;
  width: 44px;
  height: 1px;
  background: var(--canard);
  transform: rotate(26deg);
  transform-origin: 100% 50%;
  opacity: .55;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   6. Boutons
   -------------------------------------------------------------------------- */

.action-engage,
.action-filet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 13px, 100% 100%, 0 100%);
  transition: background-color 160ms ease, transform 120ms ease, color 160ms ease, box-shadow 160ms ease;
}

.action-engage {
  background: var(--engage);
  color: var(--engage-texte);
}
.action-engage:hover { background: var(--engage-fonce); transform: translateY(-1px); color: var(--engage-texte); }
.action-engage:active { transform: translateY(0); }

.action-filet {
  background: transparent;
  color: var(--encre);
  box-shadow: inset 0 0 0 1.5px var(--canard);
}
.action-filet:hover { background: var(--report); box-shadow: inset 0 0 0 1.5px var(--engage); color: var(--encre); }
.action-filet:active { transform: translateY(0); }

.losange {
  width: 7px; height: 7px;
  background: currentColor;
  transform: rotate(45deg) skewX(-8deg);
  transition: transform 160ms ease, margin-left 160ms ease;
  flex: none;
}
.action-engage:hover .losange,
.action-filet:hover .losange { margin-left: 3px; }

.action-engage:focus-visible,
.action-filet:focus-visible { outline: 3px solid var(--canard); outline-offset: 2px; }

.duo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* --------------------------------------------------------------------------
   7. En tete
   -------------------------------------------------------------------------- */

.bandeau-registre {
  position: fixed;
  inset: 0 0 auto 0;
  height: 74px;
  z-index: 120;
  background: rgba(255, 253, 247, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--filet);
  transition: height 180ms ease, box-shadow 180ms ease;
}
.bandeau-registre.est-tasse {
  height: 62px;
  box-shadow: 0 2px 8px rgba(16, 49, 47, .09);
  border-bottom: 3px double var(--canard);
}

.bandeau-registre .reglure {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--encre);
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -.015em;
}
.marque svg { flex: none; }
.marque:hover { color: var(--engage); }

.nav-onglets ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-onglets a {
  font-family: var(--compte);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--encre);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-onglets a:hover,
.nav-onglets a.est-actif { border-bottom-color: var(--engage); color: var(--engage); }

.tete-actions { display: flex; align-items: center; gap: 12px; }
.tete-actions .action-engage { height: 42px; padding: 0 18px; font-size: .94rem; }

.bouton-filets {
  display: none;
  width: 46px; height: 42px;
  background: transparent;
  border: 1.5px solid var(--canard);
  border-radius: 4px;
  cursor: pointer;
  padding: 11px 10px;
  flex-direction: column;
  justify-content: space-between;
}
.bouton-filets span {
  display: block;
  height: 1.5px;
  background: var(--encre);
  transition: transform 180ms ease, opacity 140ms ease;
}
.bouton-filets[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(26deg); }
.bouton-filets[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bouton-filets[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-26deg); }

/* --------------------------------------------------------------------------
   8. Hero, partage diagonal
   -------------------------------------------------------------------------- */

.hero-liasse {
  position: relative;
  margin-top: 74px;
  overflow: hidden;
  background: var(--papier);
  isolation: isolate;
}

.hero-liasse .trame-cubes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-verso {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 54%;
  background: var(--surface);
  clip-path: polygon(300px 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
  border-left: 0;
}
.hero-verso::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(217, 207, 182, .5) 0 1px, transparent 1px 46px);
  opacity: .8;
}

.hero-grille {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: var(--gouttiere);
  align-items: center;
  padding: 78px 0 84px;
}

.hero-recto { padding-right: 20px; }

.hero-recto h1 { margin-bottom: .34em; }
.hero-titre-fin { color: var(--engage); }

.hero-promesse {
  font-size: 1.24rem;
  color: var(--encre-doux);
  max-width: 46ch;
}

.hero-reassurance {
  margin-top: 30px;
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 14px 20px 12px;
  max-width: 42ch;
}
.hero-reassurance .valeur {
  font-family: var(--compte);
  font-weight: 500;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  color: var(--engage);
  display: block;
}
.hero-reassurance .glose {
  font-size: .96rem;
  color: var(--encre-doux);
  display: block;
  line-height: 1.5;
}

.hero-visuel {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 540px;
}

.cadre-photo {
  position: relative;
  background: var(--surface);
  padding: 8px;
  border: 1px solid var(--filet);
  box-shadow: var(--ombre-courte);
  clip-path: var(--coupe);
}
.cadre-photo img {
  width: 100%;
  filter: saturate(.88) contrast(1.02);
}
.cadre-photo .voile {
  position: absolute;
  inset: 8px;
  background: linear-gradient(rgba(246, 241, 228, .08), rgba(16, 49, 47, .12));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.legende-photo {
  position: absolute;
  top: 8px; left: 8px; right: 8px;
  background: rgba(246, 241, 228, .88);
  color: var(--encre);
  font-family: var(--compte);
  font-size: .74rem;
  letter-spacing: .05em;
  padding: 7px 12px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   9. Probleme, deux colonnes de charge
   -------------------------------------------------------------------------- */

.colonnes-charge {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gouttiere);
  margin-top: 34px;
}
.colonne-charge {
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 26px 26px 10px;
}
.colonne-charge h3 { color: var(--encre); }
.colonne-charge .etiquette {
  font-family: var(--compte);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--alerte);
  display: block;
  margin-bottom: 8px;
}

.releve-couts {
  margin-top: 34px;
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--filet);
  font-size: 1rem;
}
.releve-couts caption {
  text-align: left;
  font-family: var(--compte);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--canard);
  padding-bottom: 10px;
}
.releve-couts th, .releve-couts td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--filet);
  text-align: left;
}
.releve-couts thead th {
  font-family: var(--compte);
  font-weight: 500;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--encre-doux);
}
.releve-couts td.montant,
.releve-couts th.montant {
  text-align: right;
  font-family: var(--compte);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.releve-couts tfoot td {
  font-family: var(--compte);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  border-top: 3px double var(--encre);
  border-bottom: 0;
  color: var(--engage);
}
.releve-couts tfoot td:first-child { color: var(--encre); font-family: var(--titre); }

/* --------------------------------------------------------------------------
   10. Solution, escalier de cubes
   -------------------------------------------------------------------------- */

.escalier {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  counter-reset: temps;
}
.marche {
  counter-increment: temps;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 24px 28px 10px 92px;
  margin-bottom: 20px;
  max-width: 860px;
  clip-path: var(--coupe);
}
.marche:nth-child(1) { margin-left: 0; }
.marche:nth-child(2) { margin-left: 24px; }
.marche:nth-child(3) { margin-left: 48px; }
.marche:nth-child(4) { margin-left: 72px; }

.marche::before {
  content: counter(temps, decimal-leading-zero);
  position: absolute;
  left: 26px; top: 24px;
  font-family: var(--compte);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--engage);
  font-variant-numeric: tabular-nums;
}
.marche h3 { margin-bottom: .32em; }
.marche p { font-size: 1.04rem; }
.marche .exemple {
  font-family: var(--compte);
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--canard);
  border-top: 1px solid var(--filet);
  padding-top: 10px;
  margin-bottom: 16px;
  max-width: none;
}

.solution-grille {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: start;
}
.solution-aside {
  position: sticky;
  top: 110px;
}
.solution-aside .cadre-photo { max-width: 420px; }

/* --------------------------------------------------------------------------
   11. Fonctionnalites
   -------------------------------------------------------------------------- */

.grille-postes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
  margin-top: 40px;
}
.poste {
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 24px 24px 8px;
  clip-path: var(--coupe);
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.poste:hover { box-shadow: var(--ombre-levee); transform: translateY(-2px); }
.poste .ligne-titre {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.poste h3 { margin: 0; font-size: 1.22rem; }
.poste p { font-size: 1.02rem; }
.poste .reference {
  font-family: var(--compte);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--canard);
  display: block;
  border-top: 1px solid var(--filet);
  padding: 9px 0 0;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   12. Avantages, bandeau de totaux
   -------------------------------------------------------------------------- */

.bandeau-totaux {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(159, 216, 210, .3);
  border: 1px solid rgba(159, 216, 210, .35);
  margin-top: 38px;
  clip-path: var(--coupe);
}
.total-cle {
  background: var(--encre);
  padding: 26px 24px;
}
.total-cle .valeur {
  font-family: var(--compte);
  font-weight: 500;
  font-size: 2.6rem;
  font-variant-numeric: tabular-nums;
  color: #C8AEEA;
  display: block;
  line-height: 1.1;
}
.total-cle .valeur .suffixe { font-size: 1.3rem; margin-left: 3px; }
.total-cle .glose {
  display: block;
  font-size: .98rem;
  color: #BCD8D4;
  margin-top: 8px;
  line-height: 1.55;
}

.gains {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gouttiere);
  margin-top: 38px;
}
.gain {
  border-left: 2px solid rgba(159, 216, 210, .45);
  padding-left: 20px;
}
.gain h3 { font-size: 1.18rem; }
.gain p { color: #BCD8D4; font-size: 1.03rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   13. Preuve sociale
   -------------------------------------------------------------------------- */

.citations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
  margin-top: 40px;
}
.citation {
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 26px 26px 22px;
  margin: 0;
  clip-path: var(--coupe);
  display: flex;
  flex-direction: column;
}
.citation blockquote {
  margin: 0 0 16px;
  font-size: 1.06rem;
  quotes: "\00AB" "\00BB";
}
.citation blockquote p { margin-bottom: .8em; }
.citation blockquote p:last-child { margin-bottom: 0; }
.citation figcaption {
  margin-top: auto;
  border-top: 1px solid var(--filet);
  padding-top: 12px;
  font-family: var(--compte);
  font-size: .78rem;
  line-height: 1.6;
  color: var(--encre-doux);
}
.citation figcaption .nom { color: var(--encre); font-weight: 500; display: block; }

.avis-expert {
  margin-top: 34px;
  background: var(--surface);
  border: 1px solid var(--filet);
  border-left: 4px solid var(--engage);
  padding: 24px 26px 10px;
}
.avis-expert .signature {
  font-family: var(--compte);
  font-size: .8rem;
  color: var(--encre-doux);
}

.reseaux-cite {
  margin-top: 30px;
  font-family: var(--compte);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--encre-doux);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--filet);
  padding-top: 16px;
}

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

.grille-formules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
  margin-top: 46px;
  align-items: start;
}
.formule {
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.formule--avant {
  margin-top: -20px;
  border: 1px solid var(--engage);
  box-shadow: var(--ombre-levee);
  clip-path: var(--coupe);
  position: relative;
}
.formule--avant .fanion {
  position: absolute;
  top: 0; left: 0;
  background: var(--engage);
  color: var(--engage-texte);
  font-family: var(--compte);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.formule--avant .entete-formule { padding-top: 22px; }

.formule h3 { font-size: 1.5rem; margin-bottom: .2em; }
.formule .cible {
  font-size: .98rem;
  color: var(--encre-doux);
  min-height: 3.6em;
}
.formule .prix {
  font-family: var(--compte);
  font-weight: 500;
  font-size: 2.6rem;
  font-variant-numeric: tabular-nums;
  color: var(--engage);
  display: block;
  line-height: 1.1;
}
.formule .unite {
  font-family: var(--compte);
  font-size: .8125rem;
  color: var(--encre-doux);
  display: block;
  margin-bottom: 18px;
}
.formule ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 1rem;
}
.formule ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: .7em;
  line-height: 1.55;
}
.formule ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: .5em;
  width: 9px; height: 9px;
  background: var(--canard);
  transform: rotate(45deg) skewX(-8deg);
}
.formule .action-engage,
.formule .action-filet { margin-top: auto; justify-content: center; }

.note-tarifs {
  margin-top: 28px;
  font-family: var(--compte);
  font-size: .82rem;
  line-height: 1.7;
  color: var(--encre-doux);
  border-top: 1px solid var(--filet);
  padding-top: 16px;
  max-width: 82ch;
}

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

.liste-questions {
  margin-top: 38px;
  border-top: 1px solid var(--filet);
}
.question { border-bottom: 1px solid var(--filet); }
.question h3 { margin: 0; font-size: 1.15rem; }
.question button {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--encre);
  padding: 20px 52px 20px 0;
  cursor: pointer;
  position: relative;
  line-height: 1.3;
}
.question button:hover { color: var(--engage); }
.question button .marqueur {
  position: absolute;
  right: 8px; top: 50%;
  width: 13px; height: 13px;
  margin-top: -7px;
  border-right: 2px solid var(--engage);
  border-bottom: 2px solid var(--engage);
  transform: rotate(45deg);
  transition: transform 200ms ease;
}
.question button[aria-expanded="true"] .marqueur { transform: rotate(-135deg); }
.reponse {
  padding: 0 60px 6px 0;
  display: none;
}
.reponse.est-ouverte { display: block; }
.reponse p { font-size: 1.05rem; }
.reponse .renvoi {
  font-family: var(--compte);
  font-size: .78rem;
  color: var(--canard);
  display: block;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */

.bloc-contact {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 44px;
  margin-top: 40px;
  align-items: start;
}

.formulaire-liasse {
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 30px 32px 32px;
  clip-path: var(--coupe);
}
.formulaire-liasse label {
  display: block;
  font-family: var(--compte);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--encre-doux);
  margin: 18px 0 6px;
}
.formulaire-liasse input[type="text"],
.formulaire-liasse input[type="email"],
.formulaire-liasse select,
.formulaire-liasse textarea {
  width: 100%;
  font-family: var(--courant);
  font-size: 1.04rem;
  color: var(--encre);
  background: var(--papier);
  border: 1px solid var(--filet);
  border-bottom: 2px solid var(--canard);
  border-radius: 3px 3px 0 0;
  padding: 11px 13px;
}
.formulaire-liasse textarea { resize: vertical; min-height: 130px; }
.formulaire-liasse input:focus,
.formulaire-liasse select:focus,
.formulaire-liasse textarea:focus { outline: 3px solid var(--canard); outline-offset: 1px; }

.champ-consentement {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 24px 0 8px;
  font-family: var(--courant);
  font-size: .98rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--encre);
}
.champ-consentement input { margin-top: 6px; width: 18px; height: 18px; flex: none; accent-color: var(--engage); }

.formulaire-liasse button[type="submit"] { margin-top: 20px; }

.apres-formulaire {
  font-family: var(--compte);
  font-size: .8rem;
  line-height: 1.7;
  color: var(--encre-doux);
  border-top: 1px solid var(--filet);
  margin-top: 22px;
  padding-top: 14px;
}

.rappel-engagements {
  background: var(--report);
  border: 1px solid var(--filet);
  padding: 26px 26px 12px;
}
.rappel-engagements h3 { font-size: 1.2rem; }
.rappel-engagements ul { list-style: none; padding: 0; font-size: 1rem; }
.rappel-engagements li {
  padding-left: 24px;
  position: relative;
  margin-bottom: .8em;
  line-height: 1.55;
}
.rappel-engagements li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  background: var(--engage);
  transform: rotate(45deg) skewX(-8deg);
}

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

.pied-registre {
  background: var(--encre);
  color: #C3D9D6;
  padding: 62px 0 0;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
}
.pied-registre .cube-filigrane {
  position: absolute;
  right: -80px;
  top: 40px;
  width: 320px;
  opacity: .16;
  pointer-events: none;
}
.pied-registre .cube-filigrane path,
.pied-registre .cube-filigrane polygon { fill: none; stroke: #9FD8D2; stroke-width: 1; }

.colonnes-pied {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 34px;
}
.colonnes-pied h2 {
  font-size: .78rem;
  font-family: var(--compte);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9FD8D2;
  margin-bottom: 14px;
}
.colonnes-pied ul { list-style: none; padding: 0; margin: 0; }
.colonnes-pied li { margin-bottom: .55em; }
.colonnes-pied a { color: #DCEDEA; text-decoration: none; }
.colonnes-pied a:hover { color: #FFFFFF; text-decoration: underline; }
.colonnes-pied p { font-size: .98rem; color: #B0CBC8; }

.marque--pied { color: var(--surface); font-size: 1.28rem; }
.marque--pied:hover { color: #C8AEEA; }

.liens-profils {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-family: var(--compte);
  font-size: .78rem;
  margin-top: 14px;
}

.coordonnees-editeur {
  font-family: var(--compte);
  font-size: .76rem;
  line-height: 1.75;
  color: #A7C3C0;
  margin-top: 14px;
}

.barre-pied {
  position: relative;
  z-index: 1;
  margin-top: 46px;
  border-top: 1px solid rgba(159, 216, 210, .28);
  padding: 18px 0 24px;
  font-family: var(--compte);
  font-size: .76rem;
  line-height: 1.8;
  color: #A7C3C0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
}

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

.tete-interieure {
  margin-top: 74px;
  background: var(--report);
  border-bottom: 1px solid var(--filet);
  padding: 56px 0 46px;
  position: relative;
  overflow: hidden;
}
.tete-interieure .trame-cubes {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
}
.tete-interieure .reglure { position: relative; z-index: 1; }
.tete-interieure h1 { font-size: 2.6rem; }

.fil-ariane {
  font-family: var(--compte);
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--encre-doux);
  margin-bottom: 16px;
}
.fil-ariane a { text-decoration: none; }

.texte-long { max-width: 74ch; padding: 62px 0 76px; }
.texte-long h2 { margin-top: 1.6em; }
.texte-long h2:first-child { margin-top: 0; }
.texte-long h3 { margin-top: 1.4em; font-size: 1.22rem; }
.texte-long ul li { margin-bottom: .5em; }
.texte-long .dl-legal { margin: 0 0 1.4em; }
.texte-long .dl-legal dt {
  font-family: var(--compte);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--canard);
  margin-top: 12px;
}
.texte-long .dl-legal dd { margin: 2px 0 0; }

.encadre {
  background: var(--surface);
  border: 1px solid var(--filet);
  border-left: 4px solid var(--canard);
  padding: 20px 24px 6px;
  margin: 28px 0;
}
.encadre p:last-child { margin-bottom: 1.1em; }

.mise-a-jour {
  font-family: var(--compte);
  font-size: .78rem;
  color: var(--encre-doux);
  border-top: 1px solid var(--filet);
  padding-top: 14px;
  margin-top: 40px;
}

/* page auteur */
.auteur-grille {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: start;
  padding: 62px 0 0;
}
.portrait-auteur {
  position: sticky;
  top: 110px;
}
.portrait-auteur img {
  width: 100%;
  border: 1px solid var(--filet);
  background: var(--surface);
  padding: 8px;
  clip-path: var(--coupe);
}
.portrait-auteur .liens-profils {
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
.portrait-auteur .liens-profils a { text-decoration: none; }

/* plan du site */
.plan-liste { list-style: none; padding: 0; margin-top: 30px; }
.plan-liste > li {
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 18px 22px 8px;
  margin-bottom: 16px;
}
.plan-liste h3 { margin-bottom: .2em; font-size: 1.16rem; }
.plan-liste p { margin-bottom: .9em; font-size: 1rem; color: var(--encre-doux); }
.plan-ancres { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; }
.plan-ancres li { font-family: var(--compte); font-size: .84rem; }

/* merci et 404 */
.bloc-message {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding: 90px 0;
  margin-top: 74px;
  position: relative;
  overflow: hidden;
}
.bloc-message .trame-cubes { position: absolute; inset: 0; pointer-events: none; }
.bloc-message .reglure { position: relative; z-index: 1; }
.bloc-message .interieur {
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 44px 46px 34px;
  max-width: 760px;
  clip-path: var(--coupe);
  box-shadow: var(--ombre-courte);
}
.code-erreur {
  font-family: var(--compte);
  font-weight: 500;
  font-size: 3.4rem;
  color: var(--engage);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   19. Apparition au defilement
   -------------------------------------------------------------------------- */

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

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

@media (max-width: 1080px) {
  .grille-postes { grid-template-columns: repeat(2, 1fr); }
  .bandeau-totaux { grid-template-columns: repeat(2, 1fr); }
  .colonnes-pied { grid-template-columns: repeat(2, 1fr); }
  .solution-grille { grid-template-columns: 1fr; }
  .solution-aside { position: static; }
  .solution-aside .cadre-photo { max-width: 560px; }
}

@media (max-width: 900px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.72rem; }

  .nav-onglets {
    position: fixed;
    inset: 0;
    background: var(--papier);
    padding: 96px 28px 40px;
    transform: translateX(100%);
    transition: transform 240ms ease;
    z-index: 110;
    overflow-y: auto;
  }
  .nav-onglets.est-ouvert { transform: none; }
  .nav-onglets ul { flex-direction: column; gap: 4px; }
  .nav-onglets a {
    display: block;
    font-size: 1rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--filet);
  }
  .nav-onglets a:hover, .nav-onglets a.est-actif { border-bottom-color: var(--filet); }
  .bouton-filets { display: flex; }
  .tete-actions .action-engage { display: none; }
  body.menu-ouvert { overflow: hidden; }

  .hero-verso {
    width: 100%;
    top: auto;
    height: 58%;
    bottom: 0;
    clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
  }
  .hero-grille { grid-template-columns: 1fr; padding: 52px 0 60px; }
  .hero-recto { padding-right: 0; }
  .hero-visuel { justify-self: stretch; max-width: none; }

  .colonnes-charge { grid-template-columns: 1fr; }
  .grille-formules { grid-template-columns: 1fr; }
  .formule--avant { margin-top: 0; }
  .bloc-contact { grid-template-columns: 1fr; gap: 30px; }
  .auteur-grille { grid-template-columns: 1fr; gap: 30px; }
  .portrait-auteur { position: static; max-width: 320px; }
  .marche { margin-left: 0 !important; padding-left: 76px; }
  .gains { grid-template-columns: 1fr; }
  .plan-ancres { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .feuillet { padding: 62px 0; }
  .grille-postes { grid-template-columns: 1fr; }
  .citations { grid-template-columns: 1fr; }
  .bandeau-totaux { grid-template-columns: 1fr; }
  .formulaire-liasse { padding: 24px 20px 26px; }
  .colonnes-pied { grid-template-columns: 1fr; }
  .releve-couts th, .releve-couts td { padding: 9px 10px; font-size: .94rem; }
  .bloc-message .interieur { padding: 30px 24px 20px; }
  .reponse { padding-right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cube, .poste:hover .cube { animation: none !important; }
  .au-defilement { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

@media print {
  .bandeau-registre, .nav-onglets, .bouton-filets, .duo-actions { display: none; }
  body { background: #FFFFFF; color: #000000; }
}

/* ==========================================================================
   21. Magazine, La Piste d Audit
   Section ajoutee pour la partie editoriale du site. Aucune regle precedente
   n est modifiee : le magazine reprend les jetons, la coupe isometrique a
   26 degres, le double filet de total, la trame de cubes et l oscillation
   des pictogrammes deja employes par le reste du site.
   ========================================================================== */

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

.grille-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
  margin-top: 44px;
  list-style: none;
  padding: 0;
}

.fiche-article {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--filet);
  clip-path: var(--coupe);
  transition: box-shadow 180ms ease, transform 180ms ease;
  margin: 0;
}
.fiche-article:hover { box-shadow: var(--ombre-levee); transform: translateY(-2px); }

.fiche-article .vignette {
  position: relative;
  display: block;
  background: var(--report);
  border-bottom: 1px solid var(--filet);
}
.fiche-article .vignette img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.88) contrast(1.02);
}
/* voile avoine en multiplication, meme traitement photo que le reste du site */
.fiche-article .vignette::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(246, 241, 228, .1), rgba(16, 49, 47, .14));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.fiche-article .dedans {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 24px 18px;
}

.angle-article {
  font-family: var(--compte);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--canard);
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  max-width: none;
}
/* losange isometrique qui oscille, signature d animation du projet */
.angle-article::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--engage);
  transform: rotate(45deg);
  transform-origin: 50% 50%;
  animation: oscillation 5.2s ease-in-out infinite;
}
.grille-articles > *:nth-child(2) .angle-article::before { animation-delay: .4s; }
.grille-articles > *:nth-child(3) .angle-article::before { animation-delay: .8s; }
.grille-articles > *:nth-child(4) .angle-article::before { animation-delay: 1.2s; }
.grille-articles > *:nth-child(5) .angle-article::before { animation-delay: 1.6s; }
.grille-articles > *:nth-child(6) .angle-article::before { animation-delay: 2s; }
.grille-articles > *:nth-child(7) .angle-article::before { animation-delay: 2.4s; }
.grille-articles > *:nth-child(8) .angle-article::before { animation-delay: 2.8s; }
.grille-articles > *:nth-child(9) .angle-article::before { animation-delay: 3.2s; }
.fiche-article:hover .angle-article::before {
  background: var(--canard);
  animation-name: oscillation-large;
  animation-duration: 3.4s;
}

.titre-fiche {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--encre);
  margin: 0 0 .45em;
  max-width: none;
}
.titre-fiche a { color: inherit; text-decoration: none; }
.titre-fiche a:hover { color: var(--engage); text-decoration: underline; text-underline-offset: 3px; }

.fiche-article .extrait {
  font-size: 1rem;
  color: var(--encre-doux);
  margin: 0 0 18px;
  max-width: none;
}

.fiche-article .repere {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-family: var(--compte);
  font-size: .74rem;
  letter-spacing: .05em;
  color: var(--encre-doux);
  font-variant-numeric: tabular-nums;
  border-top: 1px solid var(--filet);
  padding-top: 11px;
  max-width: none;
}
.fiche-article .repere .lecture { color: var(--canard); }

/* --------------------------------------------------------------------------
   21.2 Index du magazine
   -------------------------------------------------------------------------- */

.sommaire-magazine { padding: 58px 0 86px; }
.sommaire-magazine .compte-articles {
  font-family: var(--compte);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--canard);
  margin: 0;
  max-width: none;
}

/* --------------------------------------------------------------------------
   21.3 Entete d article, fil d Ariane et reperes
   -------------------------------------------------------------------------- */

.entete-article {
  margin-top: 74px;
  background: var(--report);
  border-bottom: 1px solid var(--filet);
  padding: 46px 0 42px;
  position: relative;
  overflow: hidden;
}
.entete-article .trame-cubes {
  position: absolute;
  inset: 0;
  opacity: .35;
  pointer-events: none;
}
.entete-article .reglure { position: relative; z-index: 1; }
.entete-article h1 {
  font-size: 2.6rem;
  max-width: 22ch;
  margin-bottom: .3em;
}

.meta-article {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-family: var(--compte);
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--encre-doux);
  font-variant-numeric: tabular-nums;
  margin: 18px 0 0;
  max-width: none;
  border-top: 1px solid var(--filet);
  padding-top: 14px;
}
.meta-article .angle-publie {
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--canard);
}
.meta-article .lecture { color: var(--engage); }

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

.colonne-article {
  max-width: 74ch;
  margin-inline: auto;
  padding: 46px 0 78px;
}

.chapo-article {
  font-size: 1.28rem;
  line-height: 1.62;
  color: var(--encre);
  background: var(--report);
  border-left: 3px solid var(--engage);
  padding: 22px 26px;
  margin: 0 0 34px;
  max-width: none;
  clip-path: var(--coupe);
}

.une-article { margin: 0 0 36px; }
.une-article .legende-photo { max-width: none; }

/* --------------------------------------------------------------------------
   21.5 Corps redactionnel, balises nues sans aucune classe
   -------------------------------------------------------------------------- */

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

.corps-article h2 {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.78rem;
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--encre);
  position: relative;
  margin: 2em 0 .6em;
  padding-top: 22px;
}
.corps-article h2:first-child { margin-top: .4em; }
/* double filet de total du grand livre, pose au dessus de chaque grande partie */
.corps-article h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 96px;
  height: 6px;
  background:
    linear-gradient(var(--filet), var(--filet)) top left / 100% 1px no-repeat,
    linear-gradient(var(--encre), var(--encre)) bottom left / 100% 2px no-repeat;
}

.corps-article h3 {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.2;
  color: var(--encre);
  margin: 1.7em 0 .4em;
  padding-left: 20px;
  position: relative;
}
.corps-article h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 8px;
  height: 8px;
  background: var(--canard);
  transform: rotate(45deg);
}

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

.corps-article a { color: var(--canard); text-decoration: underline; text-underline-offset: 3px; }
.corps-article a:hover { color: var(--engage); }
.corps-article strong { font-weight: 600; color: var(--encre); }
.corps-article em { font-style: italic; }

.corps-article ul,
.corps-article ol {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.5em;
  max-width: 68ch;
}
.corps-article li { margin-bottom: .55em; }
.corps-article ul > li {
  position: relative;
  padding-left: 26px;
}
.corps-article ul > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .62em;
  width: 8px;
  height: 8px;
  background: var(--canard);
  transform: rotate(45deg);
}
.corps-article ol { counter-reset: ligne-article; }
.corps-article ol > li {
  counter-increment: ligne-article;
  position: relative;
  padding-left: 38px;
}
.corps-article ol > li::before {
  content: counter(ligne-article, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .1em;
  font-family: var(--compte);
  font-weight: 500;
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
  color: var(--engage);
}
.corps-article li > ul,
.corps-article li > ol { margin: .5em 0 .2em; }

/* tableau recapitulatif, mise en colonnes du grand livre */
.corps-article table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--filet);
  font-size: 1rem;
  margin: 32px 0 36px;
}
.corps-article th,
.corps-article td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--filet);
  border-right: 1px solid rgba(217, 207, 182, .55);
  text-align: left;
  vertical-align: top;
}
.corps-article th:last-child,
.corps-article td:last-child { border-right: 0; }
.corps-article thead th {
  font-family: var(--compte);
  font-weight: 500;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--encre-doux);
  background: var(--report);
  border-bottom: 2px solid var(--filet);
  vertical-align: bottom;
}
.corps-article tbody th {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.02rem;
}
.corps-article tbody td { font-variant-numeric: tabular-nums; }
.corps-article tbody tr:nth-child(even) { background: rgba(237, 230, 212, .48); }
.corps-article tbody tr:last-child td,
.corps-article tbody tr:last-child th { border-bottom: 0; }

/* encadre de rappel */
.corps-article aside {
  background: var(--surface);
  border: 1px solid var(--filet);
  border-left: 4px solid var(--canard);
  padding: 22px 26px 8px;
  margin: 32px 0;
  clip-path: var(--coupe);
}
.corps-article aside p { font-size: 1.04rem; max-width: none; }
.corps-article aside p:last-child { margin-bottom: 1.1em; }
.corps-article aside ul,
.corps-article aside ol { max-width: none; }

/* citation */
.corps-article blockquote {
  margin: 32px 0;
  padding: 6px 0 6px 26px;
  border-left: 3px solid var(--engage);
  font-size: 1.16rem;
  line-height: 1.62;
  color: var(--encre);
  font-style: italic;
}
.corps-article blockquote p { max-width: none; }
.corps-article blockquote p:last-child { margin-bottom: 0; }

.corps-article figure {
  margin: 32px 0;
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 8px;
  clip-path: var(--coupe);
}
.corps-article figcaption {
  font-family: var(--compte);
  font-size: .75rem;
  letter-spacing: .05em;
  color: var(--encre-doux);
  padding: 10px 6px 4px;
}

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

.appel-article {
  background: var(--encre);
  color: #C3D9D6;
  padding: 30px 34px 32px;
  margin: 44px 0 0;
  clip-path: var(--coupe);
  position: relative;
  overflow: hidden;
}
.appel-article .cote { color: #9FD8D2; }
.appel-article .accroche {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.42rem;
  line-height: 1.18;
  color: var(--surface);
  margin: 0 0 .5em;
  max-width: 34ch;
}
.appel-article p { color: #BCD8D4; max-width: 62ch; }
.appel-article .action-engage { margin-top: 8px; }

/* --------------------------------------------------------------------------
   21.7 Encart auteur
   -------------------------------------------------------------------------- */

.encart-auteur {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--filet);
  padding: 24px 28px 22px;
  margin: 40px 0 0;
  clip-path: var(--coupe);
}
.encart-auteur img {
  width: 96px;
  height: 96px;
  border: 1px solid var(--filet);
  background: var(--report);
  padding: 5px;
  object-fit: cover;
}
.encart-auteur .signe {
  font-family: var(--compte);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--canard);
  margin: 0 0 6px;
  max-width: none;
}
.encart-auteur .nom-auteur {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1.2;
  color: var(--encre);
  margin: 0 0 .35em;
  max-width: none;
}
.encart-auteur .bio { font-size: 1.02rem; color: var(--encre-doux); margin-bottom: .7em; }
.encart-auteur .renvoi-auteur { font-family: var(--compte); font-size: .78rem; margin: 0; max-width: none; }

/* --------------------------------------------------------------------------
   21.8 Bloc A lire aussi
   -------------------------------------------------------------------------- */

.lire-aussi {
  background: var(--report);
  border-top: 1px solid var(--filet);
  padding: 62px 0 74px;
}
.lire-aussi .grille-articles { margin-top: 30px; }
.lire-aussi .titre-bloc {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.72rem;
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--encre);
  margin: 0;
  max-width: 34ch;
}

/* --------------------------------------------------------------------------
   21.9 Mise en avant du magazine sur la page d accueil et sur la page auteur
   -------------------------------------------------------------------------- */

.renvoi-magazine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 36px;
  border-top: 1px solid var(--filet);
  padding-top: 22px;
}
.renvoi-magazine p {
  margin: 0;
  font-family: var(--compte);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--encre-doux);
  max-width: 62ch;
}

/* liste des articles signes, page auteur */
.parutions { list-style: none; padding: 0; margin: 26px 0 0; }
.parutions > li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 6px 22px;
  align-items: baseline;
  border-top: 1px solid var(--filet);
  padding: 14px 0 12px;
}
.parutions > li:last-child { border-bottom: 1px solid var(--filet); }
.parutions .quand {
  font-family: var(--compte);
  font-size: .76rem;
  letter-spacing: .05em;
  color: var(--canard);
  font-variant-numeric: tabular-nums;
}
.parutions .quoi { font-size: 1.06rem; }
.parutions .quoi a { text-decoration: none; }
.parutions .quoi a:hover { text-decoration: underline; text-underline-offset: 3px; }
.parutions .quoi span {
  display: block;
  font-family: var(--compte);
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--encre-doux);
  margin-top: 2px;
}

/* intitule de colonne du pied de page, quand la page reserve ses h2 au corps */
.colonnes-pied .titre-colonne {
  font-size: .78rem;
  font-family: var(--compte);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9FD8D2;
  margin: 0 0 14px;
  max-width: none;
}

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

@media (max-width: 1080px) {
  .grille-articles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .entete-article h1 { font-size: 2.05rem; max-width: none; }
  .corps-article h2 { font-size: 1.56rem; }
  .colonne-article { padding: 36px 0 60px; }
  .encart-auteur { grid-template-columns: 1fr; gap: 16px; }
  .parutions > li { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .grille-articles { grid-template-columns: 1fr; }
  .chapo-article { font-size: 1.14rem; padding: 18px 20px; }
  .appel-article { padding: 24px 22px 26px; }
  .encart-auteur { padding: 20px 22px 18px; }
  .corps-article table { display: block; overflow-x: auto; }
  .corps-article th, .corps-article td { padding: 9px 12px; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .angle-article::before,
  .fiche-article:hover .angle-article::before { animation: none !important; }
  .fiche-article:hover { transform: none; }
}
