/* ==========================================================================
   Ossalys, feuille de style unique.
   Univers de studio a domicile: blanc franc, vert pistache tendre, terre cuite.
   Nommage des classes: vocabulaire de la pratique (montant, torsade, appui,
   palier, cordee, carnet, seance), jamais de nommage generique.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons de la maison
   -------------------------------------------------------------------------- */

:root {
  --blanc: #FFFFFF;
  --pistache: #EEF3E1;
  --surface: #FAFBF4;
  --encre: #2B2A24;
  --encre-douce: #5E5A4E;
  --terre: #A8552C;
  --terre-sombre: #8C4523;
  --terre-voile: #F7EAE2;
  --amande: #718F42;
  --amande-voile: #E4EDCE;
  --bordure: #E2E6D2;
  --sur-terre: #FFFFFF;

  --police-titre: "Fraunces", "Iowan Old Style", Georgia, serif;
  --police-texte: "Titillium Web", "Segoe UI", Tahoma, sans-serif;
  --police-main: "Kalam", "Bradley Hand", cursive;

  --gouttiere: 32px;
  --ancrage: 88px;
  --cadre: 1200px;
  --rayon: 20px 4px 20px 4px;
  --rayon-bouton: 16px 4px 16px 4px;

  --pose: 0 2px 4px rgba(43, 42, 36, 0.10);
  --souleve: 0 14px 28px rgba(43, 42, 36, 0.13), 0 4px 10px rgba(168, 85, 44, 0.10);
  --cadence: 180ms cubic-bezier(0.22, 0.61, 0.36, 1);

  --corde: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='14' viewBox='0 0 48 14'%3E%3Cpath d='M0 7C6 1.5 18 1.5 24 7C30 12.5 42 12.5 48 7' fill='none' stroke='%23A8552C' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M0 7C6 12.5 18 12.5 24 7C30 1.5 42 1.5 48 7' fill='none' stroke='%23718F42' stroke-width='3' stroke-linecap='round' stroke-dasharray='17 7'/%3E%3C/svg%3E");
  --corde-pale: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='28' viewBox='0 0 48 14'%3E%3Cpath d='M0 7C6 1.5 18 1.5 24 7C30 12.5 42 12.5 48 7' fill='none' stroke='%23A8552C' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M0 7C6 12.5 18 12.5 24 7C30 1.5 42 1.5 48 7' fill='none' stroke='%23718F42' stroke-width='2.4' stroke-linecap='round' stroke-dasharray='17 7'/%3E%3C/svg%3E");
}

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

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

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

body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

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

h1 { font-size: 3.25rem; }
h2 { font-size: 2.125rem; }
h3 { font-size: 1.3125rem; line-height: 1.32; }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.1em; max-width: 68ch; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }

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

strong { font-weight: 700; }

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

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

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

.saut-contenu {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 120;
  background: var(--terre);
  color: var(--sur-terre);
  padding: 12px 22px;
  border-radius: var(--rayon-bouton);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--cadence);
}
.saut-contenu:focus { top: 12px; color: var(--sur-terre); }

/* --------------------------------------------------------------------------
   3. Montant d ancrage, forme signature
   -------------------------------------------------------------------------- */

.montant {
  position: relative;
  padding-left: 22px;
}
.montant::before,
.montant::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  border-radius: 3px;
  transition: width var(--cadence), left var(--cadence);
}
.montant::before {
  left: 0;
  width: 3px;
  background: var(--terre);
}
.montant::after {
  left: 4px;
  width: 1px;
  background: var(--amande);
}

.surtitre {
  font-family: var(--police-main);
  font-size: 1rem;
  font-weight: 400;
  color: var(--terre);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  transform: rotate(-0.5deg);
}
.surtitre::before {
  content: "";
  width: 34px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--terre) 0 3px, transparent 3px 4px, var(--amande) 4px 5px);
  flex: none;
}

/* --------------------------------------------------------------------------
   4. Motif signature: torsades de cordage
   -------------------------------------------------------------------------- */

.torsade {
  height: 14px;
  background-image: var(--corde);
  background-repeat: repeat-x;
  background-position: left center;
  border: 0;
  margin: 0;
}
.torsade--large { width: 100%; }
.torsade--courte { width: 168px; }

.tressage {
  position: relative;
  isolation: isolate;
}
.tressage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--corde-pale);
  background-size: 96px 28px;
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
}

/* Declinaison legere en degrade, pour les filets courts */
.filet-corde {
  height: 8px;
  width: 120px;
  border-radius: 4px;
  background-image:
    repeating-linear-gradient(30deg, var(--terre) 0 3px, transparent 3px 9px),
    repeating-linear-gradient(-30deg, var(--amande) 0 3px, transparent 3px 9px);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */

.appui,
.appui-clair {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: var(--rayon-bouton);
  font-family: var(--police-texte);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence), background-color var(--cadence);
}

.appui {
  background: var(--terre);
  color: var(--sur-terre);
  border: 2px solid var(--terre);
}
.appui:hover,
.appui:focus-visible {
  background: var(--terre-sombre);
  border-color: var(--terre-sombre);
  color: var(--sur-terre);
  transform: translateY(-2px);
  box-shadow: var(--souleve);
}

.appui-clair {
  background: var(--blanc);
  color: var(--terre);
  border: 2px solid var(--terre);
}
.appui-clair:hover,
.appui-clair:focus-visible {
  background: var(--amande-voile);
  color: var(--terre-sombre);
  transform: translateY(-2px);
  box-shadow: var(--souleve);
}

.appui--pleine { width: 100%; }

/* --------------------------------------------------------------------------
   6. Structure de page
   -------------------------------------------------------------------------- */

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

.zone { padding: 92px 0; }
.zone--serree { padding: 68px 0; }
.zone--ample { padding: 116px 0; }
.zone--pistache { background: var(--pistache); }
.zone--surface { background: var(--surface); }

.zone__chapeau { max-width: 720px; margin-bottom: 48px; }
.zone__chapeau p { color: var(--encre-douce); font-size: 1.125rem; }

/* --------------------------------------------------------------------------
   7. Barre d appui (en tete)
   -------------------------------------------------------------------------- */

.barre-appui {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--blanc);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--cadence), border-color var(--cadence);
}
.barre-appui.est-posee {
  border-bottom-color: var(--bordure);
  box-shadow: 0 6px 18px rgba(43, 42, 36, 0.07);
}
.barre-appui__interieur {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.enseigne {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--police-titre);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--encre);
  text-decoration: none;
  letter-spacing: -0.015em;
}
.enseigne:hover { color: var(--terre); }
.enseigne__monogramme { width: 40px; height: 40px; flex: none; }

.chemin {
  display: flex;
  align-items: center;
  gap: 26px;
}
.chemin__lien {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--encre);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--cadence), color var(--cadence);
}
.chemin__lien:hover,
.chemin__lien:focus-visible {
  color: var(--terre);
  border-bottom-color: var(--terre);
}

.bouton-brins {
  display: none;
  width: 48px;
  height: 48px;
  border: 2px solid var(--bordure);
  border-radius: 12px 4px 12px 4px;
  background: var(--blanc);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.bouton-brins span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--encre);
  position: relative;
}
.bouton-brins span::before,
.bouton-brins span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--encre);
}
.bouton-brins span::before { top: -7px; }
.bouton-brins span::after { top: 7px; }

.panneau-plie {
  position: fixed;
  inset: 0;
  background: var(--blanc);
  z-index: 110;
  padding: 24px;
  overflow-y: auto;
  display: none;
}
.panneau-plie.est-ouvert { display: block; }
.panneau-plie__tete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.panneau-plie__fermer {
  width: 48px;
  height: 48px;
  border: 2px solid var(--bordure);
  border-radius: 12px 4px 12px 4px;
  background: var(--blanc);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--encre);
  cursor: pointer;
}
.panneau-plie__liste {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.panneau-plie__liste li { border-bottom: 1px solid var(--bordure); }
.panneau-plie__liste a {
  display: block;
  padding: 16px 4px;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--encre);
  text-decoration: none;
}
.panneau-plie__liste a:hover { color: var(--terre); }

/* --------------------------------------------------------------------------
   8. Ouverture, grille asymetrique soixante quarante avec bande d ancrage
   -------------------------------------------------------------------------- */

.ouverture {
  position: relative;
  padding: 76px 0 0;
  background:
    linear-gradient(to bottom, var(--blanc) 0 62%, var(--surface) 62% 100%);
}
.ouverture__grille {
  display: grid;
  grid-template-columns: var(--ancrage) minmax(0, 7fr) minmax(0, 5fr);
  column-gap: var(--gouttiere);
  align-items: start;
}

.bande-ancrage {
  position: relative;
  align-self: stretch;
  min-height: 340px;
  padding-top: 8px;
}
.bande-ancrage::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--terre) 0 3px, transparent 3px 4px, var(--amande) 4px 5px);
}
.bande-ancrage__compte {
  font-family: var(--police-main);
  font-size: 1rem;
  color: var(--encre-douce);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-left: 20px;
  white-space: nowrap;
}

.ouverture__texte { padding-bottom: 84px; }
.ouverture__texte h1 { margin-bottom: 22px; }
.ouverture__accroche {
  font-size: 1.1875rem;
  color: var(--encre-douce);
  max-width: 58ch;
}
.ouverture__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 30px 0 34px;
}

.gage {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 18px 22px 18px 26px;
  max-width: 560px;
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.gage:hover { transform: translateY(-3px); box-shadow: var(--souleve); }
.gage__chiffre {
  font-family: var(--police-titre);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--terre);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.gage__texte { font-size: 0.9375rem; color: var(--encre-douce); margin: 0; }

.ouverture__image {
  position: relative;
  margin-top: 14px;
  margin-right: calc(50% - 50vw + 20px);
}
.cadre-photo {
  position: relative;
  display: block;
}
.cadre-photo img {
  border-radius: var(--rayon);
  position: relative;
  z-index: 2;
  width: 100%;
}
.cadre-photo::after {
  content: "";
  position: absolute;
  inset: 8px -8px -8px 8px;
  border: 1px solid var(--amande);
  border-radius: var(--rayon);
  z-index: 1;
}
.cadre-photo::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 33%;
  background: linear-gradient(to top, rgba(168, 85, 44, 0.06), rgba(168, 85, 44, 0));
  border-radius: var(--rayon);
  z-index: 3;
  pointer-events: none;
}
.cadre-photo__note {
  position: absolute;
  z-index: 4;
  bottom: -18px;
  left: -18px;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 12px 4px 12px 4px;
  padding: 8px 16px;
  font-family: var(--police-main);
  font-size: 1rem;
  color: var(--encre);
  box-shadow: var(--pose);
}

.ouverture__frise { margin-top: 26px; }

/* --------------------------------------------------------------------------
   9. Constat, meme partage soixante quarante
   -------------------------------------------------------------------------- */

.constat__grille {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  gap: 56px;
  align-items: start;
}
.constat__liste { list-style: none; padding: 0; margin: 28px 0 0; }
.constat__liste li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  color: var(--encre-douce);
}
.constat__liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 4px;
  border-radius: 2px;
  background: var(--terre);
}

.couts {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 30px 30px 12px;
  box-shadow: var(--pose);
  margin-top: -64px;
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.couts:hover { transform: translateY(-3px); box-shadow: var(--souleve); }
.couts h3 { margin-bottom: 20px; }
.cout {
  border-top: 1px dashed var(--bordure);
  padding: 18px 0;
}
.cout:first-of-type { border-top: 0; padding-top: 0; }
.cout__valeur {
  font-family: var(--police-titre);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--terre);
  display: block;
  line-height: 1.2;
}
.cout p { margin: 4px 0 0; font-size: 0.9375rem; color: var(--encre-douce); }

/* --------------------------------------------------------------------------
   10. Montee, quatre paliers
   -------------------------------------------------------------------------- */

.montee {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.montee__colonne {
  position: sticky;
  top: 112px;
}
.montee__paliers { display: grid; gap: 20px; }

.palier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 26px 28px 26px 34px;
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.palier:nth-child(even) { margin-left: 40px; }
.palier:hover,
.palier:focus-within { transform: translateY(-3px); box-shadow: var(--souleve); }
.palier:hover::before,
.palier:focus-within::before { width: 5px; }
.palier:hover::after,
.palier:focus-within::after { left: 6px; }
.palier__rang {
  font-family: var(--police-main);
  font-size: 1rem;
  color: var(--terre);
  display: block;
  margin-bottom: 6px;
}
.palier h3 { margin-bottom: 10px; }
.palier p { margin-bottom: 0; color: var(--encre-douce); }

/* --------------------------------------------------------------------------
   11. Atelier, cartes de fonctionnalites
   -------------------------------------------------------------------------- */

.atelier__grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.fiche {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 28px 26px 26px 32px;
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.fiche:hover,
.fiche:focus-within { transform: translateY(-3px); box-shadow: var(--souleve); }
.fiche:hover::before,
.fiche:focus-within::before { width: 5px; }
.fiche:hover::after,
.fiche:focus-within::after { left: 6px; }
.fiche h3 { margin-bottom: 10px; }
.fiche p { margin-bottom: 0; color: var(--encre-douce); font-size: 1rem; }
.fiche__marge {
  font-family: var(--police-main);
  font-size: 0.9375rem;
  color: var(--amande);
  filter: brightness(0.78);
  display: block;
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   12. Gains, deux colonnes soixante quarante inversees
   -------------------------------------------------------------------------- */

.gains {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: 60px;
  align-items: center;
}
.gains__image { margin-left: calc(50% - 50vw + 20px); }
.gains__liste { display: grid; gap: 22px; margin-top: 8px; }
.gain {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 16px 18px 16px 22px;
  border-radius: 16px 4px 16px 4px;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.gain:hover { transform: translateY(-3px); box-shadow: var(--souleve); }
.gain:hover::before { width: 5px; }
.gain:hover::after { left: 6px; }
.gain__mesure {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 1.625rem;
  color: var(--terre);
  line-height: 1.15;
}
.gain h3 { font-size: 1.125rem; margin-bottom: 6px; }
.gain p { margin: 0; font-size: 0.9375rem; color: var(--encre-douce); }

/* --------------------------------------------------------------------------
   13. Carnets, preuve sociale
   -------------------------------------------------------------------------- */

.carnets__grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.temoin {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 28px 26px 24px 32px;
  margin: 0;
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.temoin:nth-child(2) { margin-top: 26px; }
.temoin:hover { transform: translateY(-3px); box-shadow: var(--souleve); }
.temoin:hover::before { width: 5px; }
.temoin:hover::after { left: 6px; }
.temoin blockquote { margin: 0 0 18px; padding: 0; }
.temoin blockquote p:last-child { margin-bottom: 0; }
.temoin figcaption {
  font-family: var(--police-main);
  font-size: 1rem;
  color: var(--encre);
  line-height: 1.5;
  border-top: 1px solid var(--bordure);
  padding-top: 14px;
}
.temoin figcaption span {
  display: block;
  font-family: var(--police-texte);
  font-size: 0.875rem;
  color: var(--encre-douce);
}

.carnets__detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
  margin-top: 64px;
}

.bande-preuve {
  margin-top: 72px;
  background: var(--pistache);
  border-radius: var(--rayon);
  padding: 40px 32px;
}
.bande-preuve__liste {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.bande-preuve__liste li {
  margin: 0;
  position: relative;
}
.bande-preuve__liste li + li::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amande);
  transform: translateY(-50%);
}
.bande-preuve strong {
  display: block;
  font-family: var(--police-titre);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--terre);
  line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
}
.bande-preuve span { font-size: 0.9375rem; color: var(--encre-douce); }

/* --------------------------------------------------------------------------
   14. Cordee tarifaire
   -------------------------------------------------------------------------- */

.cordee {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.formule {
  position: relative;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 30px 28px 30px 34px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.formule:hover { transform: translateY(-3px); box-shadow: var(--souleve); }
.formule:hover::before { width: 5px; }
.formule:hover::after { left: 6px; }
.formule--avant {
  transform: translateY(-16px);
  border-color: var(--terre);
  padding-top: 40px;
  overflow: hidden;
}
.formule--avant:hover { transform: translateY(-19px); }
.formule--avant .formule__corde {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background-image: var(--corde);
  background-repeat: repeat-x;
}
.formule__marque {
  display: inline-block;
  font-family: var(--police-main);
  font-size: 0.9375rem;
  color: var(--terre);
  margin-bottom: 8px;
}
.formule h3 { margin-bottom: 6px; }
.formule__cible { font-size: 0.9375rem; color: var(--encre-douce); min-height: 76px; }
.formule__prix {
  font-family: var(--police-titre);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--encre);
  line-height: 1;
  margin: 6px 0 2px;
}
.formule__prix small {
  display: block;
  font-family: var(--police-texte);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--encre-douce);
  margin-top: 8px;
}
.formule__inclus {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  border-top: 1px solid var(--bordure);
  padding-top: 20px;
}
.formule__inclus li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9375rem;
  margin-bottom: 12px;
}
.formule__inclus li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid var(--amande);
}
.formule .appui,
.formule .appui-clair { margin-top: auto; }

.cordee__note {
  margin-top: 40px;
  font-size: 0.9375rem;
  color: var(--encre-douce);
  max-width: 74ch;
}

/* --------------------------------------------------------------------------
   15. Questions
   -------------------------------------------------------------------------- */

.questions {
  max-width: 800px;
  margin-inline: auto;
}
.question {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 16px 4px 16px 4px;
  margin-bottom: 14px;
  box-shadow: var(--pose);
  transition: box-shadow var(--cadence), transform var(--cadence);
  overflow: hidden;
}
.question:hover { transform: translateY(-3px); box-shadow: var(--souleve); }
.question > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-family: var(--police-titre);
  font-size: 1.125rem;
  font-weight: 600;
  position: relative;
}
.question > summary::-webkit-details-marker { display: none; }
.question > summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 27px;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--terre);
  border-bottom: 3px solid var(--terre);
  transform: rotate(45deg);
  transition: transform var(--cadence);
}
.question[open] > summary::after { transform: rotate(-135deg); top: 32px; }
.question__reponse { padding: 0 24px 22px; }
.question__reponse p { color: var(--encre-douce); margin-bottom: 0.7em; }
.question__reponse p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   16. Echange, formulaire
   -------------------------------------------------------------------------- */

.echange {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  gap: 48px;
  align-items: start;
}
.formulaire {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 32px;
  box-shadow: var(--pose);
}
.champ { margin-bottom: 20px; }
.champ label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 7px;
}
.champ input[type="text"],
.champ input[type="email"],
.champ select,
.champ textarea {
  width: 100%;
  font-family: var(--police-texte);
  font-size: 1rem;
  color: var(--encre);
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: 12px 4px 12px 4px;
  padding: 13px 14px;
  min-height: 48px;
  transition: border-color var(--cadence), box-shadow var(--cadence);
}
.champ textarea { resize: vertical; min-height: 130px; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  border-color: var(--terre);
  box-shadow: 0 0 0 3px var(--terre-voile);
  outline: none;
}
.champ__aide { font-size: 0.8125rem; color: var(--encre-douce); margin: 6px 0 0; }

.consentement {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 24px;
}
.consentement input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--terre); }
.consentement label { font-weight: 400; }

.reperes { display: grid; gap: 20px; }
.repere {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 22px 22px 22px 28px;
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.repere:hover { transform: translateY(-3px); box-shadow: var(--souleve); }
.repere:hover::before { width: 5px; }
.repere:hover::after { left: 6px; }
.repere h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.repere p { margin: 0; font-size: 0.9375rem; color: var(--encre-douce); }
.repere a { font-weight: 600; }

/* --------------------------------------------------------------------------
   17. Pages de texte
   -------------------------------------------------------------------------- */

.feuille {
  display: grid;
  grid-template-columns: var(--ancrage) minmax(0, 1fr);
  column-gap: var(--gouttiere);
  padding: 60px 0 96px;
}
.feuille__ancre { position: relative; }
.feuille__ancre::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 0;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--terre) 0 3px, transparent 3px 4px, var(--amande) 4px 5px);
}
.feuille__corps { max-width: 76ch; }
.feuille__corps h2 { margin-top: 48px; font-size: 1.625rem; }
.feuille__corps h3 { margin-top: 30px; }
.feuille__corps dl { margin: 0 0 1.2em; }
.feuille__corps dt { font-weight: 700; margin-top: 14px; }
.feuille__corps dd { margin: 2px 0 0; color: var(--encre-douce); }

.fil {
  font-size: 0.875rem;
  color: var(--encre-douce);
  padding: 20px 0 0;
}
.fil a { font-weight: 600; }

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

.encadre {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 24px 26px 8px 30px;
  margin: 32px 0;
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.encadre:hover { transform: translateY(-3px); box-shadow: var(--souleve); }
.encadre h3 { margin-top: 0; }

.portrait {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin: 32px 0 12px;
}
.portrait img { border-radius: var(--rayon); border: 1px solid var(--bordure); }

.profils {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.profils a {
  display: inline-block;
  border: 1px solid var(--bordure);
  border-radius: 12px 4px 12px 4px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--blanc);
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.profils a:hover { transform: translateY(-2px); box-shadow: var(--souleve); }

.plan-liste { list-style: none; padding: 0; margin: 0; }
.plan-liste li {
  border-bottom: 1px solid var(--bordure);
  padding: 16px 0 16px 22px;
  position: relative;
}
.plan-liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 12px;
  height: 4px;
  border-radius: 2px;
  background: var(--terre);
}
.plan-liste a { font-weight: 600; font-size: 1.0625rem; }
.plan-liste p { margin: 4px 0 0; font-size: 0.9375rem; color: var(--encre-douce); }

.avis-court {
  text-align: center;
  padding: 96px 0;
  max-width: 720px;
  margin-inline: auto;
}
.avis-court h1 { margin-bottom: 18px; }
.avis-court .torsade { margin: 30px auto; max-width: 260px; }
.avis-court__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* --------------------------------------------------------------------------
   18. Pied de page
   -------------------------------------------------------------------------- */

.pied {
  background: var(--surface);
  border-top: 1px solid var(--bordure);
  padding: 0 0 28px;
}
.pied__corde {
  height: 14px;
  background-image: var(--corde);
  background-repeat: repeat-x;
}
.pied__colonnes {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 56px 0 40px;
}
.pied h2 {
  font-size: 1rem;
  font-family: var(--police-texte);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 9px; }
.pied a { color: var(--encre); text-decoration: none; font-size: 0.9375rem; }
.pied a:hover { color: var(--terre); text-decoration: underline; }
.pied p { font-size: 0.9375rem; color: var(--encre-douce); }
.pied__position { max-width: 34ch; }
.pied__legal {
  border-top: 1px solid var(--bordure);
  padding-top: 22px;
  font-size: 0.8125rem;
  color: var(--encre-douce);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}
.pied__legal p { margin: 0; font-size: 0.8125rem; }

/* --------------------------------------------------------------------------
   19. Entree au defilement
   -------------------------------------------------------------------------- */

.a-lever {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease-out, transform 520ms ease-out;
}
.a-lever.est-levee { opacity: 1; transform: none; }

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

@media (max-width: 1080px) {
  .atelier__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bande-preuve__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .bande-preuve__liste li + li::before { display: none; }
  .cordee { grid-template-columns: 1fr; }
  .formule--avant { transform: none; }
  .formule--avant:hover { transform: translateY(-3px); }
  .carnets__grille { grid-template-columns: 1fr; }
  .temoin:nth-child(2) { margin-top: 0; }
}

@media (max-width: 900px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.625rem; }
  .chemin { display: none; }
  .bouton-brins { display: inline-flex; }
  .ouverture { padding-top: 44px; background: var(--blanc); }
  .ouverture__grille { grid-template-columns: 1fr; row-gap: 34px; }
  .bande-ancrage { display: none; }
  .ouverture__texte { padding-bottom: 0; }
  .ouverture__texte h1 { position: relative; padding-bottom: 16px; }
  .ouverture__texte h1::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 120px; height: 3px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--terre) 0 60%, var(--amande) 60% 100%);
  }
  .ouverture__image { margin-right: 0; }
  .constat__grille,
  .montee,
  .gains,
  .echange,
  .carnets__detail { grid-template-columns: 1fr; gap: 34px; }
  .couts { margin-top: 0; }
  .montee__colonne { position: static; }
  .palier:nth-child(even) { margin-left: 0; }
  .gains__image { margin-left: 0; order: -1; }
  .atelier__grille { grid-template-columns: 1fr; }
  .feuille { grid-template-columns: 1fr; padding-top: 40px; }
  .feuille__ancre { display: none; }
  .portrait { grid-template-columns: 1fr; }
  .pied__colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .zone { padding: 64px 0; }
  .zone--ample { padding: 72px 0; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  h1 { font-size: 2rem; }
  .cadre { width: min(100% - 32px, var(--cadre)); }
  .gage { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bande-preuve__liste { grid-template-columns: 1fr; }
  .gain { grid-template-columns: 1fr; gap: 6px; }
  .pied__colonnes { grid-template-columns: 1fr; }
  .formulaire { padding: 22px; }
  .appui, .appui-clair { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .a-lever { opacity: 1; transform: none; }
  .appui:hover,
  .appui-clair:hover,
  .fiche:hover,
  .palier:hover,
  .temoin:hover,
  .formule:hover,
  .gain:hover,
  .repere:hover,
  .encadre:hover,
  .couts:hover,
  .gage:hover,
  .question:hover,
  .profils a:hover { transform: none; box-shadow: var(--souleve); }
  .formule--avant { transform: none; }
}

@media print {
  .barre-appui, .panneau-plie, .saut-contenu, .ouverture__actions { display: none; }
  body { font-size: 11pt; }
}
/* ==========================================================================
   21. Magazine: L Atelier des appuis
   Section ajoutee en fin de feuille, sans modifier une seule regle ci dessus.
   Le magazine reprend les jetons de la maison: blanc, pistache tendre, terre
   cuite et vert amande, le montant d ancrage a filet double comme forme
   signature, la torsade de cordage comme motif de separation, et l ombre plate
   qui se souleve au survol comme signature d animation.
   Le corps redactionnel des articles ne porte aucune classe: toutes les balises
   nues sont mises en forme comme descendantes de .atelier-corps.
   ========================================================================== */

/* --------------------------------------------------------------------------
   21.1 Ouverture du magazine, meme partage soixante quarante que le hero
   -------------------------------------------------------------------------- */

.atelier-ouverture {
  padding: 60px 0 0;
  background: linear-gradient(to bottom, var(--blanc) 0 70%, var(--surface) 70% 100%);
}
.atelier-ouverture__grille {
  display: grid;
  grid-template-columns: var(--ancrage) minmax(0, 7fr) minmax(0, 5fr);
  column-gap: var(--gouttiere);
  align-items: start;
}
.atelier-ouverture__texte { padding-bottom: 56px; }
.atelier-ouverture__texte h1 { margin-bottom: 20px; }
.atelier-ouverture__chapeau {
  font-size: 1.1875rem;
  color: var(--encre-douce);
  max-width: 58ch;
}
.atelier-ouverture__frise { margin-top: 22px; }

/* Panneau de reperes, a droite de l ouverture */
.atelier-somme {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 26px 26px 22px 32px;
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.atelier-somme:hover { transform: translateY(-3px); box-shadow: var(--souleve); }
.atelier-somme:hover::before { width: 5px; }
.atelier-somme:hover::after { left: 6px; }
.atelier-somme h2 { font-size: 1.3125rem; margin-bottom: 12px; }
.atelier-somme p { font-size: 0.9375rem; color: var(--encre-douce); }
.atelier-somme ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--bordure);
  padding-top: 16px;
}
.atelier-somme li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9375rem;
  color: var(--encre-douce);
  margin-bottom: 10px;
}
.atelier-somme li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 4px;
  border-radius: 2px;
  background: var(--terre);
}

/* --------------------------------------------------------------------------
   21.2 Grille de cartes d article et carte d article
   -------------------------------------------------------------------------- */

.atelier-grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
  list-style: none;
  padding: 0;
  margin: 0;
}
.atelier-grille > li { margin: 0; }

.atelier-carte {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.atelier-carte:hover,
.atelier-carte:focus-within { transform: translateY(-3px); box-shadow: var(--souleve); }
.atelier-carte:hover .atelier-carte__corps::before,
.atelier-carte:focus-within .atelier-carte__corps::before { width: 5px; }
.atelier-carte:hover .atelier-carte__corps::after,
.atelier-carte:focus-within .atelier-carte__corps::after { left: 6px; }

.atelier-carte__vue {
  display: block;
  position: relative;
  margin: 0;
  background: var(--pistache);
}
.atelier-carte__vue img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.atelier-carte__vue::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background-image: var(--corde);
  background-repeat: repeat-x;
  background-position: left center;
  opacity: 0.9;
}
.atelier-carte__corps {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px 24px 24px 30px;
}
.atelier-carte__angle {
  font-family: var(--police-main);
  font-size: 1rem;
  color: var(--terre);
  display: block;
  margin-bottom: 8px;
  transform: rotate(-0.5deg);
}
.atelier-carte__titre {
  font-family: var(--police-titre);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  max-width: none;
}
.atelier-carte__titre a {
  color: var(--encre);
  text-decoration: none;
}
.atelier-carte__titre a:hover,
.atelier-carte__titre a:focus-visible { color: var(--terre); text-decoration: underline; }
.atelier-carte__extrait {
  font-size: 0.9375rem;
  color: var(--encre-douce);
  margin-bottom: 16px;
  max-width: none;
}
.atelier-carte__jalons {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--bordure);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.8125rem;
  color: var(--encre-douce);
  max-width: none;
}
.atelier-carte__jalons span { display: inline-flex; align-items: center; gap: 8px; }
.atelier-carte__jalons span + span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amande);
  flex: none;
}

/* La premiere carte du sommaire du magazine occupe deux colonnes.
   Le decalage est porte par l element de liste, seul enfant direct de la grille. */
.atelier-grille__tete { grid-column: span 2; }
.atelier-carte--tete .atelier-carte__vue img { aspect-ratio: 16 / 9; }
.atelier-carte--tete .atelier-carte__titre { font-size: 1.5rem; }
.atelier-carte--tete .atelier-carte__extrait { font-size: 1rem; }

/* --------------------------------------------------------------------------
   21.3 Entete d article: fil d Ariane, angle, dates et temps de lecture
   -------------------------------------------------------------------------- */

.atelier-entete {
  padding: 26px 0 44px;
  background: var(--blanc);
}
.atelier-entete .fil { padding-top: 0; margin-bottom: 22px; }
.atelier-entete h1 { margin-bottom: 20px; }
.atelier-colonne { max-width: 760px; margin-inline: auto; }

.atelier-etiquette {
  display: inline-block;
  font-family: var(--police-main);
  font-size: 1rem;
  color: var(--terre);
  background: var(--terre-voile);
  border-radius: 12px 4px 12px 4px;
  padding: 5px 16px;
  margin-bottom: 14px;
}
.atelier-jalons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--bordure);
  font-size: 0.875rem;
  color: var(--encre-douce);
  max-width: none;
}
.atelier-jalons b { color: var(--encre); font-weight: 700; }
.atelier-jalons a { font-weight: 600; }

/* Exergue du chapeau, tenue par le montant d ancrage */
.atelier-exergue {
  font-family: var(--police-titre);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--encre);
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 22px 26px 22px 32px;
  margin: 0 0 24px;
  max-width: none;
  box-shadow: var(--pose);
}

/* Image a la une */
.atelier-vue { margin: 0 0 12px; }
.atelier-vue img {
  width: 100%;
  border-radius: var(--rayon);
  border: 1px solid var(--bordure);
}
.atelier-legende {
  font-family: var(--police-main);
  font-size: 1rem;
  color: var(--encre-douce);
  margin: 0 0 36px;
}

/* --------------------------------------------------------------------------
   21.4 Corps redactionnel, balises nues, mesure de lecture confortable
   Le corps verse par l assembleur ne porte aucun attribut class: chaque balise
   est donc mise en forme ici, en tant que descendante de .atelier-corps.
   -------------------------------------------------------------------------- */

.atelier-corps {
  max-width: 760px;
  margin-inline: auto;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.atelier-corps > * { max-width: 68ch; }

.atelier-corps h2 {
  position: relative;
  font-size: 1.75rem;
  margin: 46px 0 16px;
  padding-left: 22px;
}
.atelier-corps h2::before,
.atelier-corps h2::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  border-radius: 3px;
}
.atelier-corps h2::before { left: 0; width: 3px; background: var(--terre); }
.atelier-corps h2::after { left: 4px; width: 1px; background: var(--amande); }
.atelier-corps h2:first-child { margin-top: 0; }

.atelier-corps h3 {
  font-size: 1.3125rem;
  margin: 32px 0 12px;
  color: var(--encre);
}
.atelier-corps h3::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--terre) 0 60%, var(--amande) 60% 100%);
}

.atelier-corps p { margin: 0 0 1.15em; color: var(--encre); }
.atelier-corps strong { font-weight: 700; color: var(--encre); }
.atelier-corps em { font-style: italic; color: var(--encre-douce); }

.atelier-corps a {
  color: var(--terre);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--cadence), background-color var(--cadence);
}
.atelier-corps a:hover,
.atelier-corps a:focus-visible {
  color: var(--terre-sombre);
  background: var(--terre-voile);
}

.atelier-corps ul,
.atelier-corps ol { margin: 0 0 1.3em; padding-left: 0; list-style: none; }
.atelier-corps ul li,
.atelier-corps ol li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--encre);
}
.atelier-corps ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 4px;
  border-radius: 2px;
  background: var(--terre);
}
.atelier-corps ol { counter-reset: appui; }
.atelier-corps ol li { counter-increment: appui; }
.atelier-corps ol li::before {
  content: counter(appui);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amande-voile);
  border: 1px solid var(--amande);
  color: var(--encre);
  font-family: var(--police-titre);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.atelier-corps li ul,
.atelier-corps li ol { margin: 10px 0 0; }

/* Tableau recapitulatif, avec en tete, defilement horizontal si besoin */
.atelier-corps table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.6em;
  font-size: 0.9375rem;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--pose);
}
.atelier-corps thead { background: var(--pistache); }
.atelier-corps th {
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: left;
  color: var(--encre);
  padding: 14px 16px;
  border-bottom: 2px solid var(--bordure);
}
.atelier-corps td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--bordure);
  color: var(--encre-douce);
  vertical-align: top;
}
.atelier-corps tbody tr:last-child td { border-bottom: 0; }
.atelier-corps tbody tr:nth-child(even) { background: var(--surface); }
.atelier-corps tbody th {
  border-bottom: 1px solid var(--bordure);
  background: var(--surface);
}

/* Encadre, traite comme une carte de la maison */
.atelier-corps aside {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 24px 26px 10px 32px;
  margin: 32px 0;
  position: relative;
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.atelier-corps aside::before,
.atelier-corps aside::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  border-radius: 3px;
}
.atelier-corps aside::before { left: 10px; width: 3px; background: var(--terre); }
.atelier-corps aside::after { left: 14px; width: 1px; background: var(--amande); }
.atelier-corps aside:hover { transform: translateY(-3px); box-shadow: var(--souleve); }
.atelier-corps aside:hover::before { width: 5px; }
.atelier-corps aside:hover::after { left: 16px; }
.atelier-corps aside p { color: var(--encre-douce); font-size: 1rem; }
.atelier-corps aside ul { margin-bottom: 1em; }

/* Citation */
.atelier-corps blockquote {
  margin: 32px 0;
  padding: 6px 0 6px 30px;
  position: relative;
  font-family: var(--police-titre);
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--encre);
}
.atelier-corps blockquote::before,
.atelier-corps blockquote::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 3px;
}
.atelier-corps blockquote::before { left: 0; width: 3px; background: var(--terre); }
.atelier-corps blockquote::after { left: 4px; width: 1px; background: var(--amande); }
.atelier-corps blockquote p:last-child { margin-bottom: 0; }

.atelier-corps figure { margin: 30px 0; }
.atelier-corps figure img { border-radius: var(--rayon); border: 1px solid var(--bordure); }
.atelier-corps figcaption {
  font-family: var(--police-main);
  font-size: 0.9375rem;
  color: var(--encre-douce);
  margin-top: 10px;
}

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

.atelier-appel {
  position: relative;
  background: var(--blanc);
  border: 1px solid var(--terre);
  border-radius: var(--rayon);
  padding: 34px 32px 32px 38px;
  overflow: hidden;
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.atelier-appel:hover { transform: translateY(-3px); box-shadow: var(--souleve); }
.atelier-appel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background-image: var(--corde);
  background-repeat: repeat-x;
}
.atelier-appel__titre {
  font-family: var(--police-titre);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 10px 0 12px;
}
.atelier-appel p { color: var(--encre-douce); }
.atelier-appel .appui { margin-top: 10px; }

/* --------------------------------------------------------------------------
   21.6 Encart auteur
   -------------------------------------------------------------------------- */

.atelier-auteur {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 26px 28px 22px 34px;
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.atelier-auteur:hover { transform: translateY(-3px); box-shadow: var(--souleve); }
.atelier-auteur:hover::before { width: 5px; }
.atelier-auteur:hover::after { left: 6px; }
.atelier-auteur img {
  width: 96px;
  height: 96px;
  border-radius: 20px 4px 20px 4px;
  border: 1px solid var(--bordure);
  object-fit: cover;
}
.atelier-auteur__nom {
  font-family: var(--police-titre);
  font-size: 1.1875rem;
  font-weight: 600;
  margin: 0 0 2px;
}
.atelier-auteur__role {
  font-family: var(--police-main);
  font-size: 1rem;
  color: var(--terre);
  display: block;
  margin-bottom: 10px;
}
.atelier-auteur p { font-size: 0.9375rem; color: var(--encre-douce); margin-bottom: 0.7em; }
.atelier-auteur p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   21.7 Bloc A lire aussi
   -------------------------------------------------------------------------- */

.atelier-aussi { margin-top: 48px; }
.atelier-aussi__titre {
  font-family: var(--police-titre);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 8px;
}
.atelier-aussi__intro { color: var(--encre-douce); margin-bottom: 26px; }
.atelier-aussi__mur {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.atelier-voisine {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--pose);
  transition: transform var(--cadence), box-shadow var(--cadence);
}
.atelier-voisine:hover,
.atelier-voisine:focus-within { transform: translateY(-3px); box-shadow: var(--souleve); }
.atelier-voisine:hover .atelier-voisine__corps::before,
.atelier-voisine:focus-within .atelier-voisine__corps::before { width: 5px; }
.atelier-voisine:hover .atelier-voisine__corps::after,
.atelier-voisine:focus-within .atelier-voisine__corps::after { left: 6px; }
.atelier-voisine__vue { display: block; margin: 0; background: var(--pistache); }
.atelier-voisine__vue img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.atelier-voisine__corps { padding: 18px 20px 20px 26px; flex: 1 1 auto; }
.atelier-voisine__titre {
  font-family: var(--police-titre);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 8px;
  max-width: none;
}
.atelier-voisine__titre a { color: var(--encre); text-decoration: none; }
.atelier-voisine__titre a:hover,
.atelier-voisine__titre a:focus-visible { color: var(--terre); text-decoration: underline; }
.atelier-voisine__accroche {
  font-size: 0.9375rem;
  color: var(--encre-douce);
  margin: 0;
  max-width: none;
}

.atelier-separation { margin: 44px 0; }

/* --------------------------------------------------------------------------
   21.8 Derniers articles, section de la page d accueil
   -------------------------------------------------------------------------- */

.atelier-derniers__tete {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.atelier-derniers__tete p { color: var(--encre-douce); }
.atelier-derniers__tete h2 { margin-bottom: 10px; }
.atelier-derniers__texte { max-width: 720px; }
.atelier-derniers__pied { margin-top: 36px; }

/* --------------------------------------------------------------------------
   21.9 Titres de colonne du pied de page dans le magazine
   Les pages d article n emploient ni h2 ni h3 hors du corps redactionnel:
   leurs colonnes de pied de page portent donc un h4, mis en forme ici a
   l identique des colonnes du reste du site.
   -------------------------------------------------------------------------- */

.pied h4 {
  font-size: 1rem;
  font-family: var(--police-texte);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--encre);
}

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

@media (max-width: 1080px) {
  .atelier-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atelier-grille__tete { grid-column: span 2; }
  .atelier-aussi__mur { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .atelier-ouverture { padding-top: 36px; background: var(--blanc); }
  .atelier-ouverture__grille { grid-template-columns: 1fr; row-gap: 30px; }
  .atelier-ouverture__texte { padding-bottom: 0; }
  .atelier-entete { padding-bottom: 30px; }
  .atelier-corps h2 { font-size: 1.5rem; }
  .atelier-exergue { font-size: 1.125rem; padding: 20px 20px 20px 26px; }
  .atelier-auteur { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .atelier-grille,
  .atelier-aussi__mur { grid-template-columns: 1fr; }
  .atelier-grille__tete { grid-column: auto; }
  .atelier-corps { font-size: 1rem; }
  .atelier-corps table { font-size: 0.875rem; }
  .atelier-corps th,
  .atelier-corps td { padding: 10px 12px; }
  .atelier-appel { padding: 30px 22px 26px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .atelier-carte:hover,
  .atelier-voisine:hover,
  .atelier-somme:hover,
  .atelier-auteur:hover,
  .atelier-appel:hover,
  .atelier-corps aside:hover { transform: none; box-shadow: var(--souleve); }
}

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