/* Endalise, feuille de style unique.
   Systeme de nommage propre au projet : classeur, rail, jauge, releve, fiche,
   encoche, chrono, pochette. Mode clair integral, aucune variante sombre. */

:root {
  --blanc-chaud: #FBF9F7;
  --euca-pale: #E8F0EA;
  --surface: #FFFFFF;
  --encre: #241C2E;
  --doux: #5E5470;
  --prune: #6B3FA8;
  --prune-sombre: #58328B;
  --prune-clair: #FBF7FF;
  --euca: #3E6B57;
  --bordure: #D4DED6;

  --titre: "Space Grotesk", "Segoe UI", Tahoma, sans-serif;
  --courant: "Karla", "Helvetica Neue", Arial, sans-serif;
  --releve: "Bree Serif", Georgia, "Times New Roman", serif;

  --biseau: 14px;
  --mesure: 66ch;
  --colonne: 1180px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='grain13'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23grain13)'/%3E%3C/svg%3E");
}

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

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

body {
  margin: 0;
  background-color: var(--blanc-chaud);
  color: var(--encre);
  font-family: var(--courant);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1 { font-size: 3.05rem; font-weight: 600; }
h2 { font-size: 2.05rem; font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 500; }
h4 { font-size: 1.0625rem; font-weight: 500; }

p { margin: 0 0 1.15em; max-width: var(--mesure); }
ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }

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

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

strong { font-weight: 700; }

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

.saut-contenu {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--prune);
  color: var(--prune-clair);
  padding: 12px 20px;
  z-index: 200;
  font-weight: 600;
}
.saut-contenu:focus { left: 12px; top: 12px; }

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

/* ------------------------------------------------------------------ */
/* Utilitaires de forme : encoche, rail, grain                          */
/* ------------------------------------------------------------------ */

.encoche {
  position: relative;
  border: 1px solid transparent;
  background-color: transparent;
  background-image:
    linear-gradient(315deg, var(--teinte-biseau, transparent) 0 20px, var(--surface) 20px),
    linear-gradient(var(--bordure), var(--bordure));
  background-clip: padding-box, border-box;
  background-origin: border-box, border-box;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--biseau)), calc(100% - var(--biseau)) 100%, 0 100%);
  transition: background-image 0.26s ease;
}

.encoche::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background-color: #C3D8C9;
  z-index: 2;
}

.encoche::after {
  content: "";
  position: absolute;
  left: 0;
  top: 33%;
  width: 3px;
  height: 18px;
  background-color: var(--prune);
  z-index: 3;
  transition: top 0.26s ease;
}

.encoche:hover, .encoche:focus-within, .encoche.est-marquee {
  --teinte-biseau: var(--euca);
}
.encoche:hover::after, .encoche:focus-within::after, .encoche.est-marquee::after {
  top: 66%;
}

.encoche--alt {
  background-image:
    linear-gradient(315deg, var(--teinte-biseau, transparent) 0 20px, var(--euca-pale) 20px),
    linear-gradient(var(--bordure), var(--bordure));
}

.grain-porteur { position: relative; isolation: isolate; }
.grain-porteur > * { position: relative; z-index: 1; }
.grain-porteur::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.surtitre {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--courant);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--euca);
  margin: 0 0 14px;
  max-width: none;
}
.surtitre::before {
  content: "";
  width: 3px;
  height: 12px;
  background-color: var(--euca);
  flex: 0 0 auto;
}

.chapeau {
  font-size: 1.15rem;
  color: var(--doux);
  max-width: 62ch;
}

.valeur-releve {
  font-family: var(--releve);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--prune);
  font-variant-numeric: tabular-nums;
  display: block;
}

.etiquette-date {
  font-family: var(--releve);
  font-size: 0.95rem;
  color: var(--euca);
  font-variant-numeric: tabular-nums;
}

.zone { max-width: var(--colonne); margin: 0 auto; padding: 0 24px; }

section { padding: 84px 0; }
section.serree { padding: 60px 0; }

.fond-euca { background-color: var(--euca-pale); }
.fond-blanc { background-color: var(--surface); }

/* ------------------------------------------------------------------ */
/* Boutons                                                              */
/* ------------------------------------------------------------------ */

.action, .action-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  font-family: var(--courant);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.08s ease;
}

.action {
  background-color: var(--prune);
  background-image: linear-gradient(315deg, var(--teinte-biseau, transparent) 0 18px, var(--prune) 18px);
  color: var(--prune-clair);
  border: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--biseau)), calc(100% - var(--biseau)) 100%, 0 100%);
}
.action:hover {
  background-image: linear-gradient(315deg, var(--euca) 0 18px, var(--prune-sombre) 18px);
  color: var(--prune-clair);
}
.action:active { transform: translateY(1px); }

.action-2 {
  background-color: var(--surface);
  color: var(--encre);
  border: 1px solid var(--bordure);
  border-left: 3px solid var(--euca);
  border-radius: 4px;
}
.action-2:hover {
  background-color: var(--euca-pale);
  border-left-color: var(--prune);
  color: var(--encre);
}
.action-2:active { transform: translateY(1px); }

.action--compact { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }

/* ------------------------------------------------------------------ */
/* En tete fixe                                                         */
/* ------------------------------------------------------------------ */

.entete-rail {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 68px;
  background-color: rgba(251, 249, 247, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bordure);
  z-index: 120;
  transition: height 0.24s ease;
}
.entete-rail.est-compacte { height: 58px; }

.entete-rail .zone {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.jauge-lecture {
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px;
  width: 0;
  background-color: var(--prune);
  transition: width 0.1s linear;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--encre);
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.marque:hover { color: var(--encre); }
.marque svg { flex: 0 0 auto; display: block; }

.nav-ancres { display: flex; align-items: center; gap: 26px; }
.nav-ancres a {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--encre);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-ancres a:hover { border-bottom-color: var(--euca); color: var(--encre); }

.bouton-panneau {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-left: 3px solid var(--euca);
  border-radius: 4px;
  cursor: pointer;
}
.bouton-panneau span[aria-hidden="true"] {
  display: block;
  width: 20px; height: 2px;
  background: var(--encre);
  position: relative;
}
.bouton-panneau span[aria-hidden="true"]::before,
.bouton-panneau span[aria-hidden="true"]::after {
  content: "";
  position: absolute;
  left: 0; width: 20px; height: 2px;
  background: var(--encre);
}
.bouton-panneau span[aria-hidden="true"]::before { top: -6px; }
.bouton-panneau span[aria-hidden="true"]::after { top: 6px; }

.panneau {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 88vw);
  background: var(--surface);
  border-left: 3px solid var(--euca);
  transform: translateX(102%);
  transition: transform 0.28s ease;
  z-index: 160;
  padding: 26px 24px;
  overflow-y: auto;
}
.panneau.est-ouvert { transform: translateX(0); }
.panneau a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--bordure);
  color: var(--encre);
  text-decoration: none;
  font-weight: 600;
}
.panneau a:hover { color: var(--prune); }
.panneau .action { margin-top: 20px; width: 100%; }

.ferme-panneau {
  background: none;
  border: 0;
  font-family: var(--courant);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--euca);
  cursor: pointer;
  padding: 6px 0;
  margin-bottom: 12px;
}

.voile {
  position: fixed;
  inset: 0;
  background: rgba(36, 28, 46, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 150;
}
.voile.est-visible { opacity: 1; visibility: visible; }

body.corps-verrouille { overflow: hidden; }

/* ------------------------------------------------------------------ */
/* Hero, ecran de controle a jauges laterales                           */
/* ------------------------------------------------------------------ */

.console {
  padding: 132px 0 0;
  background-color: var(--blanc-chaud);
  position: relative;
  overflow: hidden;
}

.console-grille {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 72px;
  display: grid;
  grid-template-columns: 88px minmax(0, 720px) 88px;
  gap: 34px;
  align-items: stretch;
  justify-content: center;
}

.jauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-height: 460px;
}

.jauge-corps {
  position: relative;
  width: 10px;
  flex: 1 1 auto;
  background-color: var(--surface);
  border: 1px solid var(--bordure);
  overflow: hidden;
}
.jauge-remplissage {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background-color: var(--euca);
  height: 0;
  transition: height 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.jauge-curseur {
  position: absolute;
  left: -4px; right: -4px;
  height: 4px;
  background-color: var(--prune);
  bottom: 0;
  transition: bottom 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.jauge-valeur {
  font-family: var(--releve);
  font-size: 1.35rem;
  color: var(--encre);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.jauge-intitule {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--euca);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  max-height: 190px;
  overflow: hidden;
}
.jauge--droite .jauge-valeur, .jauge--droite .jauge-intitule {
  writing-mode: vertical-rl;
  transform: none;
}

.console-centre { padding-top: 6px; }
.console-centre h1 { margin-bottom: 22px; }
.console-centre .chapeau { margin-bottom: 30px; }

.duo-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.rassurance {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--doux);
  margin-bottom: 30px;
  max-width: 60ch;
}
.rassurance b { color: var(--encre); font-weight: 700; }

.releve-quatre {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--bordure);
  background-color: var(--surface);
}
.case-releve {
  padding: 16px 14px;
  border-right: 1px solid var(--bordure);
  position: relative;
}
.case-releve:last-child { border-right: 0; }
.case-releve::before {
  content: "";
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 1px;
  background-color: #C3D8C9;
}
.case-releve dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--euca);
  margin-bottom: 6px;
}
.case-releve dd {
  margin: 0;
  font-family: var(--releve);
  font-size: 1.05rem;
  color: var(--encre);
  line-height: 1.3;
}

.cliche {
  position: relative;
  border: 1px solid transparent;
  background-image: linear-gradient(var(--bordure), var(--bordure));
  background-clip: border-box;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--biseau)), calc(100% - var(--biseau)) 100%, 0 100%);
  padding: 1px;
  overflow: hidden;
}
.cliche img { width: 100%; }
.cliche::before {
  content: "";
  position: absolute;
  inset: 1px;
  background-image: var(--grain);
  background-size: 180px 180px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 3;
}
.cliche::after {
  content: "";
  position: absolute;
  left: 1px; top: 1px; bottom: 1px;
  width: 3px;
  background-image: linear-gradient(to bottom,
    #C3D8C9 0 30%, var(--prune) 30% calc(30% + 18px), #C3D8C9 calc(30% + 18px) 100%);
  z-index: 4;
}
.legende-cliche {
  position: absolute;
  left: 1px; right: 1px; bottom: 1px;
  background-color: rgba(251, 249, 247, 0.92);
  padding: 10px 14px 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--encre);
  z-index: 5;
  border-top: 1px solid var(--bordure);
}

.console-vue {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 0;
}

/* ------------------------------------------------------------------ */
/* Bandeau defilant de mots cles                                        */
/* ------------------------------------------------------------------ */

.ruban {
  height: 46px;
  background-color: var(--euca-pale);
  border-top: 1px solid var(--bordure);
  border-bottom: 1px solid var(--bordure);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.ruban::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 180px 180px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.piste {
  display: flex;
  width: max-content;
  animation: defile 38s linear infinite;
  position: relative;
  z-index: 1;
}
.ruban:hover .piste, .ruban:focus-within .piste { animation-play-state: paused; }
.piste span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--euca);
  white-space: nowrap;
}
.piste span::after {
  content: "";
  width: 4px; height: 4px;
  background-color: var(--prune);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
@keyframes defile {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ------------------------------------------------------------------ */
/* Probleme, deux colonnes                                              */
/* ------------------------------------------------------------------ */

.constat-grille {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: start;
  margin-top: 40px;
}

.liste-faits { list-style: none; padding: 0; margin: 0; }
.liste-faits li {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--bordure);
  align-items: baseline;
  margin: 0;
}
.liste-faits li:first-child { border-top: 1px solid var(--bordure); }
.liste-faits p { margin: 0; max-width: none; }

.pave-couts {
  padding: 28px 30px 30px;
  --biseau: 14px;
}
.pave-couts h3 { margin-bottom: 18px; }
.pave-couts dl { margin: 0; }
.pave-couts dt {
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--euca);
  margin-top: 18px;
}
.pave-couts dd {
  margin: 4px 0 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.pave-couts dd b {
  font-family: var(--releve);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--prune);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.note-source {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--doux);
  margin-top: 22px;
}

/* ------------------------------------------------------------------ */
/* Solution, quatre temps horizontaux                                   */
/* ------------------------------------------------------------------ */

.chrono { margin-top: 44px; counter-reset: temps; }

.temps {
  display: grid;
  grid-template-columns: 92px 1fr 300px;
  gap: 30px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--bordure);
  position: relative;
}
.temps:first-child { border-top: 1px solid var(--bordure); }

.temps-numero {
  font-family: var(--releve);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--prune);
  font-variant-numeric: tabular-nums;
}
.temps-rail {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  background-color: var(--euca);
  width: 0;
  transition: width 1.2s ease;
}
.temps.est-visible .temps-rail { width: var(--part, 25%); }
.temps h3 { margin-bottom: 8px; }
.temps p { margin: 0; }
.temps-appui {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--doux);
  border-left: 3px solid #C3D8C9;
  padding-left: 16px;
}

/* ------------------------------------------------------------------ */
/* Fonctionnalites, grille de fiches encochees                          */
/* ------------------------------------------------------------------ */

.grille-fiches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}
.fiche { padding: 26px 26px 30px; }
.fiche h3 { margin-bottom: 10px; padding-left: 2px; }
.fiche p { margin: 0 0 10px; font-size: 1rem; }
.fiche p:last-child { margin-bottom: 0; }
.fiche-tag {
  display: inline-block;
  font-family: var(--releve);
  font-size: 0.95rem;
  color: var(--euca);
  margin-bottom: 12px;
}

/* ------------------------------------------------------------------ */
/* Avantages, tableau de gains                                          */
/* ------------------------------------------------------------------ */

.cadre-tableau { overflow-x: auto; margin-top: 40px; }

.tableau-gains {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--surface);
  border: 1px solid var(--bordure);
  min-width: 720px;
}
.tableau-gains caption {
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--doux);
  padding-bottom: 12px;
}
.tableau-gains thead th {
  background-color: var(--euca-pale);
  font-family: var(--courant);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--euca);
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--bordure);
}
.tableau-gains thead th:last-child { text-align: right; }
.tableau-gains tbody th {
  text-align: left;
  font-family: var(--courant);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 18px;
  border-bottom: 1px solid var(--bordure);
  position: relative;
  padding-left: 26px;
}
.tableau-gains tbody th::before {
  content: "";
  position: absolute;
  left: 12px; top: 16px; bottom: 16px;
  width: 1px;
  background-color: #C3D8C9;
}
.tableau-gains tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--bordure);
  font-size: 1rem;
  color: var(--doux);
  vertical-align: top;
}
.tableau-gains tbody td:last-child {
  text-align: right;
  font-family: var(--releve);
  font-size: 1.1rem;
  color: var(--prune);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tableau-gains tbody tr:last-child th,
.tableau-gains tbody tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------------ */
/* Preuve sociale                                                       */
/* ------------------------------------------------------------------ */

.bandeau-chiffres {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--bordure);
  border: 1px solid var(--bordure);
  margin-bottom: 44px;
}
.chiffre-cle {
  background-color: var(--surface);
  padding: 24px 20px;
  text-align: left;
}
.chiffre-cle p {
  margin: 6px 0 0;
  font-size: 0.9375rem;
  color: var(--doux);
  max-width: none;
}

.paroles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.parole { padding: 26px 26px 24px; }
.parole blockquote {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.65;
}
.parole blockquote p { margin: 0 0 12px; }
.parole blockquote p:last-child { margin-bottom: 0; }
.parole figcaption {
  border-top: 1px solid var(--bordure);
  padding-top: 14px;
  font-size: 0.875rem;
  color: var(--doux);
  font-weight: 500;
}
.parole figcaption b {
  display: block;
  font-family: var(--titre);
  font-size: 1rem;
  font-weight: 600;
  color: var(--encre);
  letter-spacing: -0.01em;
}

/* ------------------------------------------------------------------ */
/* Bande prune courte avant les tarifs                                  */
/* ------------------------------------------------------------------ */

.bande-prune {
  background-color: var(--prune);
  color: var(--prune-clair);
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}
.bande-prune::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 180px 180px;
  opacity: 0.08;
  pointer-events: none;
}
.bande-prune .zone {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.bande-prune p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--prune-clair);
  max-width: 62ch;
}
.bande-prune .action-2 { background-color: var(--surface); border-left-color: var(--euca); }

/* ------------------------------------------------------------------ */
/* Tarifs                                                               */
/* ------------------------------------------------------------------ */

.grille-formules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
  align-items: stretch;
}
.formule {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
}
.formule h3 { margin-bottom: 6px; }
.formule .prix {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0 4px;
}
.formule .prix span:first-child {
  font-family: var(--releve);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--prune);
  font-variant-numeric: tabular-nums;
}
.formule .prix span:last-child {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--doux);
}
.formule .cible {
  font-size: 0.9375rem;
  color: var(--doux);
  margin: 10px 0 18px;
  border-bottom: 1px solid var(--bordure);
  padding-bottom: 18px;
}
.formule ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1 1 auto;
}
.formule ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  margin-bottom: 11px;
  line-height: 1.55;
}
.formule ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 2px;
  background-color: var(--euca);
}
.formule .action, .formule .action-2 { width: 100%; }
.marqueur-formule {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--prune-clair);
  background-color: var(--prune);
  padding: 4px 10px;
  margin-bottom: 12px;
}
.mention-tarifs {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--doux);
  margin-top: 26px;
}

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

.colonne-faq { max-width: 760px; margin-top: 40px; }

.question {
  border-bottom: 1px solid var(--bordure);
  position: relative;
}
.question:first-child { border-top: 1px solid var(--bordure); }
.question-bouton {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: 0;
  padding: 22px 4px 22px 20px;
  text-align: left;
  font-family: var(--titre);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--encre);
  cursor: pointer;
  position: relative;
}
.question-bouton::before {
  content: "";
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 3px;
  background-color: #C3D8C9;
}
.question-bouton[aria-expanded="true"]::before { background-color: var(--prune); }
.signe {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  position: relative;
  margin-top: 6px;
}
.signe::before, .signe::after {
  content: "";
  position: absolute;
  background-color: var(--euca);
  left: 0; top: 8px;
  width: 18px; height: 2px;
  transition: transform 0.24s ease;
}
.signe::after { transform: rotate(90deg); }
.question-bouton[aria-expanded="true"] .signe::after { transform: rotate(0deg); }
.question-reponse {
  padding: 0 20px 24px;
  display: none;
}
.question-reponse.est-ouverte { display: block; }
.question-reponse p { margin: 0 0 12px; font-size: 1rem; }
.question-reponse p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/* Contact                                                              */
/* ------------------------------------------------------------------ */

.contact-grille {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}

.pochette { padding: 30px 30px 34px; }

.champ { margin-bottom: 18px; }
.champ label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--encre);
  margin-bottom: 6px;
}
.champ input[type="text"],
.champ input[type="email"],
.champ select,
.champ textarea {
  width: 100%;
  font-family: var(--courant);
  font-size: 1rem;
  color: var(--encre);
  background-color: var(--blanc-chaud);
  border: 1px solid var(--bordure);
  border-left: 3px solid #C3D8C9;
  border-radius: 4px;
  padding: 11px 13px;
}
.champ textarea { resize: vertical; min-height: 128px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-left-color: var(--prune); }
.aide-champ {
  font-size: 0.875rem;
  color: var(--doux);
  margin: 6px 0 0;
}

.champ-consentement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 22px 0 24px;
  font-size: 0.9375rem;
  color: var(--doux);
}
.champ-consentement input { margin-top: 5px; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--prune); }
.champ-consentement label { font-weight: 500; line-height: 1.6; }

.apres-formulaire {
  font-size: 0.875rem;
  color: var(--doux);
  margin-top: 18px;
}

.engagements { padding: 28px 28px 30px; }
.engagements h3 { margin-bottom: 16px; }
.engagements ul { list-style: none; padding: 0; margin: 0; }
.engagements li {
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid var(--bordure);
  font-size: 0.9375rem;
  position: relative;
}
.engagements li:last-child { border-bottom: 0; }
.engagements li::before {
  content: "";
  position: absolute;
  left: 0; top: 21px;
  width: 8px; height: 2px;
  background-color: var(--euca);
}

/* ------------------------------------------------------------------ */
/* Pied de page                                                         */
/* ------------------------------------------------------------------ */

.pied-classeur {
  background-color: var(--euca-pale);
  border-top: 1px solid var(--bordure);
  padding: 62px 0 0;
  position: relative;
  overflow: hidden;
}
.pied-classeur::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 180px 180px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.pied-classeur .zone { position: relative; z-index: 1; }

.pied-colonnes {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 44px;
}
.pied-classeur h2 {
  font-size: 0.78rem;
  font-family: var(--courant);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--euca);
  margin-bottom: 16px;
}
.pied-classeur ul { list-style: none; padding: 0; margin: 0; }
.pied-classeur li { margin-bottom: 10px; }
.pied-classeur a { color: var(--encre); text-decoration: none; font-size: 0.9375rem; }
.pied-classeur a:hover { color: var(--prune); text-decoration: underline; }
.pied-classeur p { font-size: 0.9375rem; color: var(--doux); }
.pied-social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.pied-social a { font-weight: 600; font-size: 0.875rem; color: var(--euca); }

.reseau-liens {
  border-top: 1px solid var(--bordure);
  padding: 22px 0;
  font-size: 0.8125rem;
  color: var(--doux);
}
.reseau-liens a { color: var(--doux); font-size: 0.8125rem; }

.barre-pied {
  border-top: 1px solid var(--bordure);
  padding: 20px 0 26px;
  font-size: 0.875rem;
  color: var(--doux);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
}
.barre-pied p { margin: 0; max-width: none; }

/* ------------------------------------------------------------------ */
/* Pages interieures                                                    */
/* ------------------------------------------------------------------ */

.entete-page {
  padding: 132px 0 46px;
  background-color: var(--euca-pale);
  border-bottom: 1px solid var(--bordure);
  position: relative;
  overflow: hidden;
}
.entete-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 180px 180px;
  opacity: 0.06;
  pointer-events: none;
}
.entete-page .zone { position: relative; z-index: 1; }
.fil { font-size: 0.875rem; color: var(--doux); margin-bottom: 14px; }
.fil a { color: var(--euca); font-weight: 600; }

.page-texte { padding: 56px 0 84px; }
.page-texte .zone { max-width: 820px; }
.page-texte h2 { font-size: 1.6rem; margin-top: 44px; }
.page-texte h3 { margin-top: 30px; }
.page-texte ul li, .page-texte ol li { max-width: var(--mesure); }

.encart {
  padding: 24px 26px 26px;
  margin: 30px 0;
}
.encart h3 { margin-top: 0; }
.encart p:last-child { margin-bottom: 0; }

.portrait-auteur {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}
.portrait-auteur img { border: 1px solid var(--bordure); }

.liste-plan { list-style: none; padding: 0; margin: 26px 0 0; }
.liste-plan li {
  padding: 18px 0 18px 22px;
  border-bottom: 1px solid var(--bordure);
  position: relative;
}
.liste-plan li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 3px;
  background-color: #C3D8C9;
}
.liste-plan a { font-family: var(--titre); font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.liste-plan p { margin: 4px 0 0; font-size: 0.9375rem; color: var(--doux); }

.bloc-centre { text-align: left; max-width: 640px; }

/* ------------------------------------------------------------------ */
/* Apparitions au defilement                                            */
/* ------------------------------------------------------------------ */

.apparait {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.apparait.est-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* Adaptations                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1040px) {
  .constat-grille { grid-template-columns: 1fr; gap: 34px; }
  .temps { grid-template-columns: 72px 1fr; }
  .temps-appui { grid-column: 2; }
  .grille-fiches { grid-template-columns: repeat(2, 1fr); }
  .paroles { grid-template-columns: 1fr; }
  .grille-formules { grid-template-columns: 1fr; }
  .contact-grille { grid-template-columns: 1fr; }
  .pied-colonnes { grid-template-columns: repeat(2, 1fr); }
  .bandeau-chiffres { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-ancres, .entete-rail .action { display: none; }
  .bouton-panneau { display: inline-flex; }
  .console-grille {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .console-centre { order: 1; }
  .jauge {
    order: 2;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    gap: 14px;
  }
  .jauge-corps { width: auto; height: 10px; flex: 1 1 auto; }
  .jauge-remplissage { top: 0; bottom: 0; height: auto !important; right: auto; width: 0; }
  .jauge-curseur { top: -4px; bottom: -4px; height: auto; width: 4px; left: 0; }
  .jauge-valeur, .jauge-intitule { writing-mode: horizontal-tb; transform: none; max-height: none; }
  .portrait-auteur { grid-template-columns: 1fr; }
  .releve-quatre { grid-template-columns: repeat(2, 1fr); }
  .case-releve:nth-child(2) { border-right: 0; }
  .case-releve:nth-child(1), .case-releve:nth-child(2) { border-bottom: 1px solid var(--bordure); }
}

@media (max-width: 720px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.7rem; }
  section { padding: 62px 0; }
  .console { padding-top: 108px; }
  .grille-fiches { grid-template-columns: 1fr; }
  .liste-faits li { grid-template-columns: 1fr; gap: 4px; }
  .pied-colonnes { grid-template-columns: 1fr; }
  .bandeau-chiffres { grid-template-columns: 1fr; }
  .pochette, .engagements, .pave-couts { padding: 22px 20px 24px; }
}

@media (max-width: 480px) {
  .grain-porteur::before,
  .ruban::before,
  .bande-prune::before,
  .pied-classeur::before,
  .entete-page::before,
  .cliche::before { display: none; }
  .releve-quatre { grid-template-columns: 1fr; }
  .case-releve { border-right: 0; border-bottom: 1px solid var(--bordure); }
  .case-releve:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .piste {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }
  .ruban { height: auto; padding: 8px 16px; }
  .apparait { opacity: 1; transform: none; transition: none; }
  .jauge-remplissage, .jauge-curseur, .temps-rail, .encoche, .encoche::after { transition: none; }
}

@media print {
  .entete-rail, .panneau, .voile, .ruban, .bande-prune { display: none; }
  body { background: #FFFFFF; }
}
/* ================================================================== */
/* MAGAZINE, Le Dossier chronologique                                   */
/* Ajout en fin de feuille, aucune regle existante n est modifiee.      */
/* Le magazine reprend la meme matiere que le reste d Endalise :        */
/* la forme signature du cran de jauge (rail vert eucalyptus de         */
/* 3 pixels, segment prune au tiers superieur, angle inferieur droit    */
/* coupe en biseau de 14 pixels), le grain photographique sur les       */
/* aplats, le bandeau defilant de mots cles, Space Grotesk pour les     */
/* titres, Karla pour le texte et Bree Serif pour les dates et les      */
/* durees, lues comme des valeurs de releve.                            */
/* ================================================================== */

/* ------------------------------------------------------------------ */
/* 1. Entete du magazine et des articles                                */
/* ------------------------------------------------------------------ */

.entete-magazine {
  padding: 132px 0 52px;
  background-color: var(--euca-pale);
  border-bottom: 1px solid var(--bordure);
  position: relative;
  overflow: hidden;
}
.entete-magazine::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.entete-magazine .zone { position: relative; z-index: 1; }
.entete-magazine h1 { margin-bottom: 18px; }

.fil-magazine {
  font-size: 0.875rem;
  color: var(--doux);
  margin: 0 0 16px;
  max-width: none;
}
.fil-magazine a { color: var(--euca); font-weight: 600; }
.fil-magazine span[aria-hidden="true"] { padding: 0 8px; color: var(--bordure); }

.chapeau-magazine {
  font-size: 1.15rem;
  color: var(--doux);
  max-width: 68ch;
  margin-bottom: 22px;
}

/* Ligne de releve du magazine: nombre d articles, date, signature.
   Les valeurs passent en Bree Serif comme les chiffres de jauge du hero. */
.releve-magazine {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--bordure);
  background-color: var(--surface);
  max-width: 760px;
}
.releve-magazine div {
  flex: 1 1 200px;
  padding: 14px 16px;
  border-right: 1px solid var(--bordure);
  position: relative;
}
.releve-magazine div:last-child { border-right: 0; }
.releve-magazine div::before {
  content: "";
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 1px;
  background-color: #C3D8C9;
}
.releve-magazine dt,
.releve-magazine b {
  display: block;
  font-family: var(--courant);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--euca);
  margin-bottom: 5px;
}
.releve-magazine dd,
.releve-magazine span {
  display: block;
  margin: 0;
  font-family: var(--releve);
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--encre);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ */
/* 2. Grille de cartes d article, sommaire du magazine                  */
/* ------------------------------------------------------------------ */

.grille-sommaire {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.fiche-article {
  display: flex;
  flex-direction: column;
  padding: 0 0 24px;
  overflow: hidden;
}
.fiche-article .fiche-article__cliche {
  display: block;
  position: relative;
  margin: 0 0 18px 3px;
  border-bottom: 1px solid var(--bordure);
  overflow: hidden;
}
.fiche-article__cliche img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.fiche-article:hover .fiche-article__cliche img { transform: scale(1.025); }
.fiche-article__cliche::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0.04;
  pointer-events: none;
}

.fiche-article__angle,
.fiche-article__corps,
.fiche-article__pied { padding: 0 24px 0 22px; }

.fiche-article__angle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--courant);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--euca);
  margin-bottom: 10px;
}
.fiche-article__angle::before {
  content: "";
  width: 3px;
  height: 11px;
  background-color: var(--euca);
  flex: 0 0 auto;
}

.fiche-article__titre {
  font-family: var(--titre);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  max-width: none;
  text-wrap: balance;
}
.fiche-article__titre a {
  color: var(--encre);
  text-decoration: none;
}
.fiche-article__titre a:hover { color: var(--prune); text-decoration: underline; }

.fiche-article__extrait {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--doux);
  margin: 0 0 16px;
  max-width: none;
  flex: 1 1 auto;
}

.fiche-article__pied {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  border-top: 1px solid var(--bordure);
  padding-top: 13px;
  margin: 0;
  max-width: none;
  font-family: var(--releve);
  font-size: 0.95rem;
  color: var(--euca);
  font-variant-numeric: tabular-nums;
}
.fiche-article__pied span::before {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  background-color: var(--prune);
  transform: rotate(45deg);
  margin-right: 10px;
  vertical-align: 0.15em;
}

/* ------------------------------------------------------------------ */
/* 3. Entete d un article, fil d Ariane et reperes                      */
/* ------------------------------------------------------------------ */

.entete-article { padding: 132px 0 46px; }
.entete-article h1 { margin-bottom: 20px; }

.reperes-article {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
  padding: 14px 0 0;
  margin: 0 0 26px;
  border-top: 1px solid var(--bordure);
  font-family: var(--releve);
  font-size: 0.95rem;
  color: var(--encre);
  font-variant-numeric: tabular-nums;
}
.reperes-article li { margin: 0; }
.reperes-article li.repere-angle {
  font-family: var(--courant);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--prune-clair);
  background-color: var(--prune);
  padding: 4px 10px;
}
.reperes-article a { color: var(--euca); font-weight: 400; }

.chapo-article {
  font-family: var(--courant);
  font-size: 1.2rem;
  line-height: 1.62;
  color: var(--encre);
  background-color: var(--surface);
  border: 1px solid var(--bordure);
  border-left: 3px solid var(--euca);
  padding: 22px 26px 22px 24px;
  margin: 0;
  max-width: 68ch;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--biseau)), calc(100% - var(--biseau)) 100%, 0 100%);
}
.chapo-article::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 33%;
  width: 3px;
  height: 18px;
  background-color: var(--prune);
}

/* ------------------------------------------------------------------ */
/* 4. Corps d article, colonne de lecture et image a la une             */
/* ------------------------------------------------------------------ */

.corps-page { padding: 46px 0 76px; }
.zone--lecture { max-width: 860px; }

.cliche-article { margin: 0 0 40px; }
.cliche-article img { width: 100%; }

/* ------------------------------------------------------------------ */
/* 5. HTML semantique nu du corps redactionnel                          */
/* Le texte des articles ne porte aucun attribut class : chaque balise   */
/* est mise en forme ici, en tant que descendante de .corps-article.     */
/* ------------------------------------------------------------------ */

.corps-article {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--encre);
}

.corps-article h2 {
  font-family: var(--titre);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--encre);
  margin: 52px 0 16px;
  padding-left: 20px;
  max-width: 30ch;
  position: relative;
  text-wrap: balance;
}
.corps-article h2::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 3px;
  height: calc(100% - 12px);
  background-color: var(--euca);
}
.corps-article h2:first-child { margin-top: 0; }

.corps-article h3 {
  font-family: var(--titre);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--encre);
  margin: 34px 0 12px;
  padding-left: 20px;
  max-width: 34ch;
  position: relative;
}
.corps-article h3::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 10px;
  height: 2px;
  background-color: var(--prune);
}

.corps-article p {
  margin: 0 0 1.15em;
  max-width: var(--mesure);
}

.corps-article ul,
.corps-article ol {
  margin: 0 0 1.5em;
  padding-left: 0;
  list-style: none;
  max-width: var(--mesure);
}
.corps-article ul li,
.corps-article ol li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 0.6em;
  max-width: var(--mesure);
}
.corps-article ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 9px;
  height: 2px;
  background-color: var(--euca);
}
.corps-article ol { counter-reset: point-corps; }
.corps-article ol li { counter-increment: point-corps; padding-left: 34px; }
.corps-article ol li::before {
  content: counter(point-corps);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--releve);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--prune);
  font-variant-numeric: tabular-nums;
}
.corps-article li > ul,
.corps-article li > ol { margin: 0.5em 0 0.2em; }

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

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

/* Tableau recapitulatif : en tete en vert eucalyptus pale, rail fin d un
   pixel dans la premiere colonne, chiffres alignes a droite en Bree Serif. */
.corps-article table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--surface);
  border: 1px solid var(--bordure);
  margin: 34px 0 38px;
  font-size: 1rem;
}
.corps-article thead th {
  background-color: var(--euca-pale);
  font-family: var(--courant);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--euca);
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--bordure);
  vertical-align: bottom;
}
.corps-article tbody th {
  text-align: left;
  font-family: var(--courant);
  font-weight: 600;
  font-size: 1rem;
  color: var(--encre);
  padding: 14px 16px 14px 24px;
  border-bottom: 1px solid var(--bordure);
  position: relative;
  vertical-align: top;
}
.corps-article tbody th::before {
  content: "";
  position: absolute;
  left: 11px; top: 15px; bottom: 15px;
  width: 1px;
  background-color: #C3D8C9;
}
.corps-article tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--bordure);
  color: var(--doux);
  vertical-align: top;
}
.corps-article tbody tr:last-child th,
.corps-article tbody tr:last-child td { border-bottom: 0; }
.corps-article tbody tr:nth-child(even) th,
.corps-article tbody tr:nth-child(even) td { background-color: rgba(232, 240, 234, 0.42); }

/* Encadre recapitulatif : fiche encochee, rail de jauge et biseau. */
.corps-article aside {
  background-color: var(--euca-pale);
  border: 1px solid var(--bordure);
  border-left: 3px solid var(--euca);
  padding: 24px 26px 22px 24px;
  margin: 34px 0 38px;
  position: relative;
  max-width: 68ch;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--biseau)), calc(100% - var(--biseau)) 100%, 0 100%);
}
.corps-article aside::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 33%;
  width: 3px;
  height: 18px;
  background-color: var(--prune);
}
.corps-article aside p { margin-bottom: 0.8em; }
.corps-article aside p:last-child { margin-bottom: 0; }
.corps-article aside ul,
.corps-article aside ol { margin-bottom: 0; }
.corps-article aside li:last-child { margin-bottom: 0; }

/* Citation : rail de jauge plein, texte en Space Grotesk. */
.corps-article blockquote {
  margin: 34px 0 38px;
  padding: 4px 0 4px 24px;
  border-left: 3px solid #C3D8C9;
  position: relative;
  max-width: 62ch;
  font-family: var(--titre);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: var(--encre);
}
.corps-article blockquote::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 33%;
  width: 3px;
  height: 18px;
  background-color: var(--prune);
}
.corps-article blockquote p { margin-bottom: 0.5em; max-width: none; }
.corps-article blockquote p:last-child { margin-bottom: 0; }

.corps-article figure {
  margin: 34px 0 38px;
  border: 1px solid var(--bordure);
  border-left: 3px solid var(--euca);
  background-color: var(--surface);
  padding: 1px 1px 0;
}
.corps-article figure img { width: 100%; }
.corps-article figcaption {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--doux);
  padding: 11px 16px 12px;
  border-top: 1px solid var(--bordure);
}

/* ------------------------------------------------------------------ */
/* 6. Appel a l action de fin d article                                 */
/* ------------------------------------------------------------------ */

.appel-article {
  padding: 28px 30px 30px;
  margin: 46px 0 40px;
}
.appel-article p { margin: 0 0 20px; max-width: 62ch; }
.appel-article p:last-child { margin-bottom: 0; }
.appel-article .duo-actions { margin-bottom: 0; }
.appel-article .titre-appel {
  font-family: var(--titre);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--encre);
  margin-bottom: 12px;
}

/* ------------------------------------------------------------------ */
/* 7. Encart auteur                                                     */
/* ------------------------------------------------------------------ */

.encart-auteur {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: start;
  padding: 26px 28px 28px 26px;
  margin: 0 0 12px;
}
.encart-auteur img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 1px solid var(--bordure);
}
.encart-auteur p { margin: 0 0 10px; font-size: 0.9375rem; color: var(--doux); }
.encart-auteur p:last-child { margin-bottom: 0; }
.encart-auteur .auteur-nom {
  font-family: var(--titre);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--encre);
  margin-bottom: 2px;
}
.encart-auteur .auteur-role {
  display: block;
  font-family: var(--courant);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--euca);
  margin-bottom: 12px;
}

/* ------------------------------------------------------------------ */
/* 8. Bloc A lire aussi et section Derniers articles de l accueil       */
/* ------------------------------------------------------------------ */

.lire-aussi { padding: 66px 0 72px; }
.titre-bloc {
  font-family: var(--titre);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--encre);
  margin: 0 0 26px;
  max-width: none;
}

.grille-lire {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.carte-lire {
  display: flex;
  flex-direction: column;
  padding: 0 0 20px;
  overflow: hidden;
}
.carte-lire__cliche {
  display: block;
  position: relative;
  margin: 0 0 16px 3px;
  border-bottom: 1px solid var(--bordure);
  overflow: hidden;
}
.carte-lire__cliche img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.carte-lire:hover .carte-lire__cliche img { transform: scale(1.025); }
.carte-lire__cliche::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0.04;
  pointer-events: none;
}
.carte-lire__titre,
.carte-lire__accroche { padding: 0 22px 0 20px; max-width: none; }
.carte-lire__titre {
  font-family: var(--titre);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.carte-lire__titre a { color: var(--encre); text-decoration: none; }
.carte-lire__titre a:hover { color: var(--prune); text-decoration: underline; }
.carte-lire__accroche {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--doux);
  margin: 0;
}

.derniers-articles .surtitre { margin-bottom: 14px; }
.derniers-articles .chapeau { margin-bottom: 34px; }
.derniers-articles .grille-sommaire { margin-bottom: 34px; }
.pied-magazine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  border-top: 1px solid var(--bordure);
  padding-top: 26px;
}
.pied-magazine p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--doux);
  max-width: 54ch;
}

/* Liste datee des articles, employee sur auteur.html et plan-du-site.html. */
.liste-parutions { list-style: none; padding: 0; margin: 26px 0 0; }
.liste-parutions li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 6px 20px;
  align-items: baseline;
  padding: 16px 0 16px 22px;
  border-bottom: 1px solid var(--bordure);
  position: relative;
  margin: 0;
}
.liste-parutions li:first-child { border-top: 1px solid var(--bordure); }
.liste-parutions li::before {
  content: "";
  position: absolute;
  left: 0; top: 20px; bottom: 20px;
  width: 3px;
  background-color: #C3D8C9;
}
.liste-parutions li:hover::before { background-color: var(--prune); }
.liste-parutions time {
  font-family: var(--releve);
  font-size: 0.95rem;
  color: var(--euca);
  font-variant-numeric: tabular-nums;
}
.liste-parutions a {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--encre);
  text-decoration: none;
}
.liste-parutions a:hover { color: var(--prune); text-decoration: underline; }
.liste-parutions .parution-angle {
  grid-column: 2;
  margin: 0;
  font-size: 0.875rem;
  color: var(--doux);
  max-width: none;
}

/* ------------------------------------------------------------------ */
/* 9. Adaptations du magazine                                           */
/* ------------------------------------------------------------------ */

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

@media (max-width: 900px) {
  .entete-magazine { padding-top: 108px; }
  .entete-article { padding-top: 108px; }
}

@media (max-width: 720px) {
  .grille-sommaire { grid-template-columns: 1fr; }
  .grille-lire { grid-template-columns: 1fr; }
  .corps-article h2 { font-size: 1.55rem; }
  .corps-article table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
  }
  .encart-auteur { grid-template-columns: 1fr; gap: 18px; }
  .appel-article { padding: 22px 20px 24px; }
  .liste-parutions li { grid-template-columns: 1fr; }
  .liste-parutions .parution-angle { grid-column: 1; }
  .releve-magazine div { border-right: 0; border-bottom: 1px solid var(--bordure); }
  .releve-magazine div:last-child { border-bottom: 0; }
}

@media (max-width: 480px) {
  .entete-magazine::before,
  .fiche-article__cliche::after,
  .carte-lire__cliche::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fiche-article__cliche img,
  .carte-lire__cliche img { transition: none; }
  .fiche-article:hover .fiche-article__cliche img,
  .carte-lire:hover .carte-lire__cliche img { transform: none; }
}

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

/* ------------------------------------------------------------------ */
/* 10. Raccords avec l habillage general                                */
/* Dans le dossier blog/, les intitules de colonne du pied de page sont  */
/* des paragraphes et non des h2 : la hierarchie de titres appartient    */
/* au corps redactionnel. Ils gardent exactement l aspect des h2 du      */
/* pied de page du reste du site.                                        */
/* ------------------------------------------------------------------ */

.pied-classeur .pied-titre {
  font-size: 0.78rem;
  font-family: var(--courant);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--euca);
  margin: 0 0 16px;
  max-width: none;
}

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

/* 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}
