/* ============================================================
   PALETTE — source de vérité unique
   Les noms sémantiques des études de cas sont des ALIAS :
   changer une couleur de marque ici la change partout.
   ============================================================ */
:root {
  --ink: #0b0d10;
  --paper: #f2f2f0;
  --muted: #929bab;
  --muted2: #b6bcc6;
  --faint: #242932;
  --surface: #10141a;

  --c1: #28e6ff;
  --c2: #9f6eff;
  --c3: #2fffb4;
  --c4: #f968a7;
  --c5: #ffea4d;

  /* alias sémantiques (études de cas) */
  --shift: var(--c1);
  --world: var(--c2);
  --c-green: var(--c3);
  --c-pink: var(--c4);
  --lesson: var(--c5);

  /* terrains (home) : alias des couleurs de marque */
  --t-personne:     var(--c4);
  --t-outil:        var(--c1);
  --t-parcours:     var(--c2);
  --t-organisation: var(--c5);
  --t-ecosysteme:   var(--c3);

  /* accents globaux, redéfinis localement par les composants */
  --accent: var(--c5);
  --sc: var(--c1);
  /* ECHELLE TYPOGRAPHIQUE */
  --ff-serif: "Instrument Serif", Georgia, serif;
  --ff-sans: "Inter", system-ui, sans-serif;
  --fs-xs: 11px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-md: 17px;
  --fs-lg: 19px;
  --fs-xl: 22px;
  --fs-2xl: 26px;
  --fs-title-s: clamp(1.45rem, 2.6vw, 2.1rem);
  --fs-title-m: clamp(1.7rem, 3.6vw, 2.9rem);
  --fs-title-l: clamp(2rem, 4.6vw, 3.4rem);
  --fs-title-xl: clamp(2rem, 5.1vw, 4.4rem);
  --fs-display: clamp(2rem, 6.2vw, 5.4rem);
  /* bloc signature : héros (sig-) et footer (ft-) */
  --fs-sig-name: var(--fs-2xl);
  --fs-sig-role: clamp(1.25rem, 1.05rem + .6vw, 1.5rem);
  --fs-sig-desc: 1rem;
  --fs-sig-claim: var(--fs-xl);
  --fs-ft-name: 1.25rem;
  --fs-ft-role: clamp(1.05rem, .9rem + .5vw, 1.25rem);
}

/* Source: article_1_relation_paradigme_v2.html */
@view-transition {
  navigation: auto;
}
::view-transition-old(site-nav),
::view-transition-new(site-nav) {
  animation: none;
}
::view-transition-group(site-nav) {
  z-index: 1000;
}
/* ── HERO ── */
@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* ── ARTICLE ── */
/* Encadrés paradigmes */
.paradigms {
  margin: clamp(44px, 7vh, 56px) 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
}
.paradigm {
  padding: 24px 28px;
  background: var(--ink);
  transition: background 0.4s ease;
}
.paradigm:hover {
  background: var(--ink);
}
.paradigm-era {
  font-size: var(--fs-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.paradigm-name {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 8px;
}
.paradigm-def {
  font-size: var(--fs-md);
  color: var(--muted2);
  line-height: 1.65;
}
.paradigm-last {
  background: color-mix(in srgb, var(--accent) 10%, var(--ink));
}
.paradigm-last:hover {
  background: color-mix(in srgb, var(--accent) 15%, var(--ink));
}
.paradigm-last .paradigm-era {
  color: color-mix(in srgb, var(--accent) 70%, var(--muted));
}
.paradigm-last .paradigm-name {
  color: var(--accent);
}
.paradigm-last .paradigm-def {
  color: var(--muted2);
}

/* Séparateur */
/* Conclusion */
/* Navigation série */
/* Source: article_2_trois_disciplines_v2.html */
/* Portrait des 3 disciplines */
.disciplines {
  margin: clamp(44px, 7vh, 56px) 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
}
@media (max-width: 720px) {
  .disciplines {
    grid-template-columns: 1fr;
  }
}
.discipline {
  padding: 26px 22px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.discipline-color {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}
.discipline-name {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--paper);
  line-height: 1.2;
}
.discipline-what {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}
.discipline-hidden {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.55;
  padding-top: 10px;
  border-top: 1px solid var(--faint);
}

/* Le territoire commun — encadré sombre relief */
.liminal-box {
  background: var(--surface);
  border: 1px solid var(--faint);
  border-radius: 3px;
  padding: clamp(32px, 4.5vw, 44px);
  margin: clamp(44px, 7vh, 56px) 0;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 60px -16px color-mix(in srgb, var(--accent) 22%, transparent);
}
.liminal-box-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.liminal-box-title {
  font-family: var(--ff-serif);
  font-size: var(--fs-title-s);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1.2;
}
.liminal-box-def {
  font-size: 0.92rem;
  color: var(--muted2);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 32px;
}
.liminal-phases {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  margin-top: 24px;
  background: var(--faint);
  border: 1px solid var(--faint);
}
@media (max-width: 600px) {
  .liminal-phases {
    grid-template-columns: 1fr;
  }
}
.liminal-phase {
  padding: 18px;
  background: var(--ink);
}
.liminal-phase-name {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 5px;
  letter-spacing: 0.04em;
  font-family: var(--ff-serif);
}
.liminal-phase-def {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Correspondances */
.correspondances {
  margin: clamp(44px, 7vh, 56px) 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
}
.correspondance {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  background: var(--ink);
}
@media (max-width: 600px) {
  .correspondance {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }
}
.correspondance-left {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
  text-align: right;
}
@media (max-width: 600px) {
  .correspondance-left {
    text-align: center;
  }
}
.correspondance-left strong {
  color: var(--paper);
  font-weight: 400;
  display: block;
  margin-bottom: 2px;
}
.correspondance-arrow {
  text-align: center;
  color: var(--accent);
  font-size: 0.9rem;
}
.correspondance-right {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}
.correspondance-right strong {
  color: var(--accent);
  font-weight: 400;
  display: block;
  margin-bottom: 2px;
}

/* Source: article_3_metaliminalite_v2.html */
/* Définition — encadré relief */
.definition {
  background: var(--surface);
  border: 1px solid var(--faint);
  border-radius: 3px;
  padding: clamp(32px, 4.5vw, 44px);
  margin: clamp(44px, 7vh, 56px) 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 60px -16px color-mix(in srgb, var(--accent) 22%, transparent);
}
.definition-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.definition-word {
  font-family: var(--ff-serif);
  font-size: var(--fs-title-m);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 18px;
  line-height: 1.15;
}
.definition-text {
  font-size: var(--fs-md);
  color: var(--muted2);
  line-height: 1.75;
}

/* Conditions numérotées */
.conditions {
  margin: clamp(44px, 7vh, 56px) 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
}
.condition {
  padding: 26px 28px;
  background: var(--ink);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  align-items: baseline;
}
.condition-num {
  grid-row: span 2;
  font-family: var(--ff-serif);
  font-size: var(--fs-2xl);
  color: var(--accent);
  line-height: 1;
  opacity: 0.6;
}
.condition-title {
  grid-column: 2;
  font-family: var(--ff-serif);
  font-size: var(--fs-lg);
  font-weight: 400;
  color: var(--paper);
}
.condition-body {
  grid-column: 2;
  margin-top: 8px;
  font-size: var(--fs-md);
  color: var(--muted2);
  line-height: 1.65;
}

/* Adossement (appui philo) + Relieur : encadrés discrets */
.adossement,
.maieuticien-box {
  background: var(--surface);
  border: 1px solid var(--faint);
  border-left: 2px solid var(--accent);
  border-radius: 3px;
  padding: clamp(26px, 3.5vw, 36px);
  margin: clamp(44px, 7vh, 56px) 0;
}
.adossement-label,
.maieuticien-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.adossement-name,
.maieuticien-title {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 14px;
  line-height: 1.25;
}
.maieuticien-body {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Source: article_4_cercle_reciprocites_v2.html */
/* Les 4 phases du cercle */
.phases {
  margin: clamp(44px, 7vh, 56px) 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
}
.phase {
  padding: 28px;
  background: var(--ink);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  --pc: var(--accent);
}
.phase-num {
  font-family: var(--ff-serif);
  font-size: 1.8rem;
  color: var(--pc);
  line-height: 1;
  opacity: 0.6;
}
.phase-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.phase-name {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 12px;
  line-height: 1.2;
}
.phase-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.phase-seuil {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--pc);
  line-height: 1.5;
  padding-top: 12px;
  border-top: 1px solid var(--faint);
}
/* chaque phase sa nuance (progression du spectre) */
.phase-blue {
  --pc: var(--c1);
}
.phase-violet {
  --pc: var(--c2);
}
.phase-green {
  --pc: var(--c3);
}
.phase-rust {
  --pc: var(--c4);
}

/* Le commun — encadré relief */
.commun-box {
  background: var(--surface);
  border: 1px solid var(--faint);
  border-radius: 3px;
  padding: clamp(32px, 4.5vw, 44px);
  margin: clamp(44px, 7vh, 56px) 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 60px -16px color-mix(in srgb, var(--accent) 22%, transparent);
}
.commun-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.commun-title {
  font-family: var(--ff-serif);
  font-size: var(--fs-title-s);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1.2;
}
.commun-body {
  font-size: 0.92rem;
  color: var(--muted2);
  line-height: 1.75;
}

/* Source: article_5_relation_paradigme_v2.html */
h1,
h2,
h3,
h4 {
  font-family: var(--ff-serif);
  font-weight: 400;
  line-height: 1.1;
}

.hero {
              overflow: hidden;
  border-bottom: 1px solid var(--faint);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 55% 70% at 88% 8%,
      color-mix(in srgb, var(--accent) 16%, transparent) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 35% 55% at 5% 92%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 55%
    );
}
.hero-series {
  font-size: var(--fs-sm);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(32px, 6vh, 48px);
  position: relative;
}
.hero-series span {
  color: var(--accent);
}
.hero-title {
  font-family: var(--ff-serif);
  font-size: var(--fs-display);
  font-weight: 400;
  color: var(--paper);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 20ch;
  position: relative;
  margin-bottom: clamp(24px, 4vh, 34px);
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: var(--fs-lg);
  color: var(--muted2);
  line-height: 1.7;
  max-width: 52ch;
  position: relative;
  margin-bottom: clamp(44px, 7vh, 64px);
}
.hero-meta {
  display: flex;
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
  position: relative;
  flex-wrap: wrap;
}
.hero-meta-item {
  font-size: var(--fs-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta-sep {
  width: 1px;
  height: 18px;
  background: var(--faint);
}
.scroll-hint {
  position: absolute;
  bottom: 34px;
  right: clamp(24px, 10vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
}
.scroll-hint span {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 46px;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}

.article {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(28px, 4vh, 48px) 24px clamp(90px, 14vh, 120px);
}

.article p {
  font-size: var(--fs-md);
  line-height: 1.85;
  color: var(--muted2);
  margin-bottom: 28px;
}
.article p strong {
  color: var(--paper);
  font-weight: 400;
}
.section-title {
  font-size: var(--fs-title-s);
  color: var(--paper);
  line-height: 1.2;
  margin-top: clamp(56px, 9vh, 76px);
  margin-bottom: 26px;
}
.section-title em {
  font-style: italic;
  color: var(--c3);
}

.pull-quote {
  margin: clamp(44px, 7vh, 56px) 0;
  padding-left: 28px;
  border-left: 2px solid var(--accent);
}
.pull-quote p {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-style: italic;
  color: var(--paper);
  line-height: 1.45;
  margin-bottom: 0;
}
.pull-quote cite {
  display: block;
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
  font-style: normal;
}

.chapeau {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-style: italic;
  color: var(--paper);
  line-height: 1.55;
  margin-bottom: clamp(26px, 4vh, 36px);
  padding-bottom: clamp(26px, 4vh, 36px);
  border-bottom: 1px solid var(--faint);
}

.sep {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: clamp(44px, 7vh, 56px) 0;
}
.sep-line {
  flex: 1;
  height: 1px;
  background: var(--faint);
}
.sep-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.conclusion {
  background: var(--surface);
  border: 1px solid var(--faint);
  border-radius: 3px;
  padding: clamp(36px, 5vw, 52px);
  margin-top: clamp(56px, 9vh, 76px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 60px -14px color-mix(in srgb, var(--accent) 20%, transparent);
}
.conclusion p {
  color: var(--muted);
  margin-bottom: 22px;
}
.conclusion p:last-child {
  margin-bottom: 0;
}
.conclusion strong {
  color: var(--paper);
  font-weight: 400;
}
.conclusion-title {
  font-family: var(--ff-serif);
  font-size: var(--fs-2xl);
  font-style: italic;
  color: var(--paper);
  line-height: 1.35;
  margin-bottom: 24px;
}
.serie-nav {
  margin-top: clamp(64px, 10vh, 80px);
  padding-top: clamp(40px, 6vh, 48px);
  border-top: 1px solid var(--faint);
}
.serie-nav-label {
  font-size: var(--fs-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.serie-articles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.serie-articles > *:nth-child(1) {
  --sc: var(--c1);
}
.serie-articles > *:nth-child(2) {
  --sc: var(--c2);
}
.serie-articles > *:nth-child(3) {
  --sc: var(--c3);
}
.serie-articles > *:nth-child(4) {
  --sc: var(--c4);
}
.serie-articles > *:nth-child(5) {
  --sc: var(--c5);
}
.serie-articles > *:nth-child(6) {
  --sc: var(--c1);
}
a.serie-article:hover {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--sc) 9%, transparent),
    transparent 88%
  );
}
a.serie-article:hover .serie-num {
  color: var(--sc);
}
a.serie-article:hover .serie-article-title {
  color: var(--paper);
}
.serie-article.current {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--sc) 9%, transparent),
    transparent 88%
  );
  padding-left: 12px;
}
.serie-article.current .serie-article-title {
  color: var(--paper);
}
.serie-article.current .serie-num {
  color: var(--sc);
}

.serie-article {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 15px 10px 15px 4px;
  border-bottom: 1px solid var(--faint);
  text-decoration: none;
  color: inherit;
  transition: background 0.35s ease;
}
.serie-article:last-child {
  border-bottom: none;
}
.serie-num {
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--muted);
  flex-shrink: 0;
  width: 22px;
  transition: color 0.35s ease;
}
.serie-article-title {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--muted2);
  margin-bottom: 3px;
  transition: color 0.35s ease;
}
.serie-article-sub {
  font-size: var(--fs-sm);
  color: var(--muted);
  font-style: italic;
  line-height: 1.4;
}

/* lien vers le texte suivant, juste avant la nav de serie */
.serie-next {
  display: block;
  margin-top: clamp(56px, 9vh, 76px);
  padding: clamp(20px, 3vh, 28px) clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--faint);
  text-decoration: none;
  transition: border-color 0.35s ease, background 0.35s ease;
}
.serie-next:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--faint));
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}
.serie-next-k {
  display: block;
  font-size: var(--fs-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.serie-next-t {
  display: block;
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  color: var(--paper);
  line-height: 1.25;
}
.serie-next-arrow {
  color: var(--accent);
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.35s ease;
}
.serie-next:hover .serie-next-arrow {
  transform: translateX(6px);
}

/* Synthèse — progression des articles */
.synthese {
  margin: clamp(44px, 7vh, 56px) 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
}
.synthese-row {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  background: var(--ink);
}
@media (max-width: 600px) {
  .synthese-row {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }
}
.synthese-left {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
  text-align: right;
}
@media (max-width: 600px) {
  .synthese-left {
    text-align: center;
  }
}
.synthese-arrow {
  text-align: center;
  color: var(--accent);
  font-size: 0.9rem;
}
.synthese-right {
  font-size: 0.84rem;
  color: var(--paper);
  line-height: 1.5;
}
.synthese-title {
  font-family: var(--ff-serif);
  font-weight: 400;
  color: var(--accent);
  display: block;
  margin-bottom: 2px;
}

/* Ce que ça change — items numérotés */
.changes {
  margin: clamp(44px, 7vh, 56px) 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
}
.change-item {
  padding: 26px 28px;
  background: var(--ink);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
}
.change-icon {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
  opacity: 0.6;
}
.change-title {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 8px;
}
.change-body {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Coda finale — encadré relief */
.coda {
  background: var(--surface);
  border: 1px solid var(--faint);
  border-radius: 3px;
  padding: clamp(36px, 5vw, 52px);
  margin-top: clamp(56px, 9vh, 76px);
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 70px -14px color-mix(in srgb, var(--accent) 24%, transparent);
}
.coda-title {
  font-family: var(--ff-serif);
  font-size: var(--fs-title-s);
  font-style: italic;
  color: var(--accent);
  line-height: 1.3;
  margin-bottom: 20px;
}
.coda-body {
  font-size: 0.95rem;
  color: var(--muted2);
  line-height: 1.75;
  max-width: 52ch;
  margin: 0 auto 24px;
}
.coda-sign {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Source: cas-healthanea.html */
/* ============ STRATE 1 — SURFACE ============ */
/* ============ STRATE 2 — LE RÉSUMÉ ============ */
/* ============ STRATE 3 — LE DÉTAIL ============ */
.toc a:hover {
  color: var(--paper);
}
.toc a.active {
  color: var(--paper);
}
/* chaque chapitre porte sa couleur */
.notes {
  margin-top: clamp(50px, 8vh, 90px);
  border-top: 1px solid var(--faint);
  padding-top: 44px;
}
.notes .eyebrow {
  margin-bottom: 32px;
}
.notes .cols {
  columns: 2;
  column-gap: clamp(28px, 4vw, 60px);
  max-width: 94ch;
}
@media (max-width: 760px) {
  .notes .cols {
    columns: 1;
  }
}
.notes .item {
  break-inside: avoid;
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 1px solid var(--faint);
}
.notes .item h5 {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: var(--fs-base);
  margin-bottom: 7px;
}
.notes .item p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.7;
}
/* Source: cas-bi-solution.html */
/* ============ STRATE 1 ============ */
/* ============ STRATE 2 ============ */
/* ============ STRATE 3 ============ */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
  margin: 40px 0;
}
@media (max-width: 640px) {
  .duo {
    grid-template-columns: 1fr;
  }
}
.duo > div {
  background: var(--ink);
  padding: clamp(24px, 3vw, 36px);
}
.duo .k {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  color: var(--accent);
  margin-bottom: 14px;
}
.duo p {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.7;
  max-width: none;
}

/* Source: cas-proshop.html */
/* ============ STRATE 1 ============ */
/* ============ STRATE 2 ============ */
/* ============ STRATE 3 ============ */
.deliverables {
  margin-top: 40px;
  border-top: 1px solid var(--faint);
}
.deliverables li {
  list-style: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--faint);
  font-size: var(--fs-base);
  color: var(--muted);
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
}
.deliverables li span {
  color: var(--accent);
  font-family: var(--ff-serif);
  font-size: var(--fs-sm);
}

.lesson + .lesson {
  margin-top: clamp(70px, 11vh, 130px);
  border-top: 1px solid var(--faint);
  padding-top: clamp(50px, 7vh, 80px);
}
.scope {
  font-size: var(--fs-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}
/* Source: cas-shift-prime.html */
h1,
h2,
h3,
.serif {
  font-family: var(--ff-serif);
  font-weight: 400;
  line-height: 1.1;
}
/* ============ STRATE 1 — SURFACE ============ */
.s1 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16vh 0 0;
}
.s1 h1 {
  font-size: var(--fs-title-l);
  letter-spacing: -0.01em;
  margin-bottom: 26px;
  line-height: 1.05;
}
.s1 h1 em {
  font-style: normal;
  color: var(--shift);
}
.s1 .question {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-title-l);
  line-height: 1.2;
  max-width: 22ch;
  margin: clamp(40px, 6vh, 68px) 0 40px;
  color: var(--paper);
}
.s1 .context {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--muted);
  max-width: 60ch;
}
.facts {
  margin-top: 0;
  border-top: 1px solid var(--faint);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
}
.facts dt {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 7px;
}
.facts dd {
  font-size: var(--fs-base);
  color: var(--paper);
  font-weight: 400;
}
.bascule {
  margin-top: clamp(48px, 7vh, 80px);
  font-family: var(--ff-serif);
  font-size: var(--fs-2xl);
  line-height: 1.4;
  color: var(--muted);
  max-width: 36ch;
}
.bascule span {
  color: var(--shift);
  font-style: italic;
}

/* ============ STRATE 2 — LE RÉSUMÉ ============ */
.s2 {
  padding: clamp(50px, 11vh, 100px) 0 clamp(15px, 5vh, 45px);
}

.s2 .eyebrow {
  font-size: var(--fs-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 500;
  margin-bottom: 24px;
}
.summary {
  border-top: 1px solid var(--faint);
}
.row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: clamp(16px, 3vw, 44px);
  align-items: start;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--faint);
  text-decoration: none;
  color: inherit;
  transition: none;
}
.row .num {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  color: var(--muted);
  padding-top: 3px;
  transition: color 0.35s ease;
}
.row .txt .t {
  font-size: var(--fs-xl);
  font-family: var(--ff-serif);
  line-height: 1.3;
  margin-bottom: 9px;
  max-width: 36ch;
  color: var(--muted2);
  transition: color 0.35s ease;
}
.row .txt .d {
  font-size: var(--fs-base);
  color: var(--muted);
  max-width: 72ch;
  line-height: 1.65;
  transition: color 0.35s ease;
}
.row:hover .txt .t {
  color: var(--paper);
}
.row:hover .txt .d {
  color: var(--muted2);
}
.row:nth-of-type(1):hover .num {
  color: var(--shift);
}
.row:nth-of-type(2):hover .num {
  color: var(--world);
}
.row:nth-of-type(3):hover .num {
  color: var(--c-green);
}
.row:nth-of-type(4):hover .num {
  color: var(--c-pink);
}
.row:nth-of-type(5):hover .num {
  color: var(--shift);
}
.row:nth-of-type(6):hover .num {
  color: var(--lesson);
}
@media (max-width: 700px) {
  .row {
    grid-template-columns: 34px 1fr;
  }
}

/* ============ STRATE 3 — LE DÉTAIL ============ */
.s3 {
  position: relative;
  padding-top: clamp(60px, 9vh, 110px);
}
.s3 .intro {
  margin-bottom: clamp(50px, 8vh, 90px);
}
.s3 .intro h2 {
  font-size: var(--fs-title-m);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
@media (max-width: 960px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
.toc {
  position: sticky;
  top: calc(50vh - 90px);
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  
}
.toc a,
.toc a:link,
.toc a:visited {
  /* :link/:visited pour battre le a:link global (cyan) qui a la même
     spécificité que .toc a et gagnait par ordre de cascade */
  color: var(--paper);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 11px;
  transition: color 0.35s ease;
}
.toc a .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
  /* neutralise la règle générique .dot (frise) qui déteint ici :
     le margin auto désalignait les points, la bordure/ombre masquait leur couleur */
  margin: 0;
  border: 0;
  box-shadow: none;
  transition:
    background 0.35s ease,
    transform 0.35s ease;
}
.toc a:hover,
.toc a.active {
  color: var(--paper);
}
.toc a.active .dot {
  transform: scale(1.7);
}
/* survol ou actif : le texte ET la pastille prennent la couleur de la section */
.toc a:nth-of-type(1):hover,
.toc a:nth-of-type(1).active {
  color: var(--shift);
}
.toc a:nth-of-type(2):hover,
.toc a:nth-of-type(2).active {
  color: var(--world);
}
.toc a:nth-of-type(3):hover,
.toc a:nth-of-type(3).active {
  color: var(--c-green);
}
.toc a:nth-of-type(4):hover,
.toc a:nth-of-type(4).active {
  color: var(--c-pink);
}
.toc a:nth-of-type(5):hover,
.toc a:nth-of-type(5).active {
  color: var(--shift);
}
.toc a:nth-of-type(6):hover,
.toc a:nth-of-type(6).active {
  color: var(--lesson);
}
.toc a:nth-of-type(7):hover,
.toc a:nth-of-type(7).active {
  color: var(--lesson);
}
.toc a:nth-of-type(1):hover .dot,
.toc a:nth-of-type(1).active .dot {
  background: var(--shift);
}
.toc a:nth-of-type(2):hover .dot,
.toc a:nth-of-type(2).active .dot {
  background: var(--world);
}
.toc a:nth-of-type(3):hover .dot,
.toc a:nth-of-type(3).active .dot {
  background: var(--c-green);
}
.toc a:nth-of-type(4):hover .dot,
.toc a:nth-of-type(4).active .dot {
  background: var(--c-pink);
}
.toc a:nth-of-type(5):hover .dot,
.toc a:nth-of-type(5).active .dot {
  background: var(--shift);
}
.toc a:nth-of-type(6):hover .dot,
.toc a:nth-of-type(6).active .dot {
  background: var(--lesson);
}
.toc a:nth-of-type(7):hover .dot,


.toc a:nth-of-type(7).active .dot {
  background: var(--lesson);
}
@media (max-width: 960px) {
  .toc {
    display: none;
  }
}

#c1 {
  --accent: var(--shift);
}
#c2 {
  --accent: var(--world);
}
#c3 {
  --accent: var(--c-green);
}
#c4 {
  --accent: var(--c-pink);
}
#c5 {
  --accent: var(--shift);
}
#c6 {
  --accent: var(--lesson);
}
#c7 {
  --accent: var(--c-pink);
}

.chapter {
  padding: 0 0 clamp(60px, 9vh, 100px);
  scroll-margin-top: 80px;
}
.chapter .eyebrow {
  margin-bottom: 20px;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}
.chapter h3 {
  font-size: var(--fs-title-m);
  max-width: 22ch;
  margin-bottom: 26px;
}
.chapter p {
  max-width: 66ch;
}
.chapter p + p:not(.pull) {
  /* :not(.pull) évacue le pull-quote de cette règle : sinon son margin-top
     (44px) était écrasé par ces 20px quand il suit un paragraphe */
  margin-top: 20px;
}
.chapter .quiet {
  color: var(--muted);
}
.brief {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-2xl);
  line-height: 1.4;
  color: var(--accent);
  margin: 36px 0;
  max-width: 32ch;
  padding-left: 26px;
  border-left: 2px solid var(--accent);
}
.pull {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-title-s);
  line-height: 1.35;
  color: var(--accent);
  margin: 44px 0;
  max-width: 32ch;
  padding-left: 26px;
  border-left: 2px solid var(--accent);
}
.figure {
  margin: 44px 0 16px;
  //**background: var(--paper);**//
  padding: clamp(14px, 2.4vw, 32px);
  max-width: 100%;
  border-radius: 8px;
}

.figure .icp {
  max-width: 80%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}
.figcap {
  font-size: var(--fs-sm);
  color: var(--muted);
  max-width: 62ch;
  border-left: 2px solid var(--accent);
  padding-left: 14px;
}
.legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: 8px;
}
.legend > div {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}
.legend .lt {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}
.legend p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.7;
  max-width: none;
}

.ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  margin: 44px 0 40px;
}
@media (max-width: 700px) {
  .ba {
    grid-template-columns: 1fr;
  }
}
.ba figure {
  margin: 0;
}
.ba .figure {
  margin: 0;
}
.ba figcaption {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.65;
  margin-top: 16px;
  border-left: 2px solid var(--accent);
  padding-left: 14px;
}
.ba figcaption .lt {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.defs {
  margin: 40px 0;
  border-top: 1px solid var(--faint);
}
.defs > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: clamp(14px, 2.5vw, 32px);
  padding: 18px 0;
  border-bottom: 1px solid var(--faint);
}
@media (max-width: 600px) {
  .defs > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
.defs dt {
  font-family: var(--ff-serif);
  font-size: var(--fs-lg);
  color: var(--accent);
}
.defs dd {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.7;
}
.nodes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 36px;
  gap: 8px;
}
.node {
  background: var(--ink);
  padding: clamp(22px, 2.6vw, 30px);
  min-height: 250px;
  border: 1px solid var(--faint);
}
.node .n {
  font-family: var(--ff-serif);
  font-size: var(--fs-base);
  color: var(--accent);
  margin-bottom: 15px;
}
.node h4 {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: var(--fs-base);
  line-height: 1.4;
  margin-bottom: 10px;
}
.node p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.65;
}

/* chiffres */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
  margin: 44px 0 20px;
}
.metric {
  background: var(--ink);
  padding: clamp(26px, 3vw, 38px);
}
.metric .v {
  font-family: var(--ff-serif);
  font-size: var(--fs-display);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.metric .l {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
}
.metrics.big {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.metrics.big .v {
  font-size: var(--fs-display);
}

/* rupture finale */
.ancrage {
  --accent: var(--lesson);
  border-top: 1px solid var(--faint);
  padding: clamp(90px, 15vh, 180px) 0 clamp(80px, 12vh, 140px);
}
.ancrage .eyebrow {
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin-bottom: clamp(40px, 6vh, 70px);
}
.ancrage blockquote {
  font-family: var(--ff-serif);
  font-size: var(--fs-title-l);
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 26ch;
}
.ancrage blockquote span {
  color: var(--accent);
  font-style: italic;
}
.ancrage blockquote.second {
  margin-top: clamp(28px, 4vh, 48px);
  color: var(--muted);
}
.ancrage-body {
  margin-top: clamp(44px, 6vh, 72px);
  max-width: 66ch;
}
.ancrage-body p {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.8;
}
.ancrage-body p + p {
  margin-top: 22px;
}

/* section « un livre qui a nourri ce regard » (fin d'un cas) */
.livre {
  border-top: 1px solid var(--faint);
  padding: clamp(52px, 9vh, 96px) 0 clamp(20px, 4vh, 40px);
}
.livre-inner {
  display: flex;
  gap: clamp(26px, 4vw, 48px);
  align-items: flex-start;
  max-width: 720px;
}
.livre-cover {
  flex: none;
  width: clamp(112px, 16vw, 150px);
  height: auto;
  border-radius: 3px;
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.6);
}
.livre-title {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-title-s);
  line-height: 1.1;
  color: var(--paper);
  margin: 4px 0 16px;
}
.livre-title span {
  display: block;
  margin-top: 8px;
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.livre-body p {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--muted2);
  max-width: 48ch;
}
.livre-body p + p {
  margin-top: 16px;
}
@media (max-width: 620px) {
  .livre-inner {
    flex-direction: column;
    gap: 22px;
  }
  .livre-cover {
    width: 122px;
  }
}

footer {
    margin-top: clamp(60px, 9vh, 100px);
              }
/* Source: etudes de cas.html */
h1,
h2 {
  font-family: var(--ff-serif);
  font-weight: 400;
  line-height: 1.1;
}
/* ---------- en-tête ---------- */
header {
  padding: clamp(90px, 18vh, 190px) 0 clamp(50px, 8vh, 90px);
}
header h1 {
  font-size: var(--fs-display);
  letter-spacing: -0.02em;
  max-width: 20ch;
}
header h1 em {
  font-style: italic;
  color: var(--c1);
}
header .sub {
  margin-top: clamp(30px, 4.4vh, 46px);
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--paper);
  max-width: 64ch;
}

/* ---------- liste ---------- */
.cases {
  border-top: 1px solid var(--faint);
  margin: 0 calc(-1 * clamp(16px, 2.4vw, 34px));
}

.case {
  display: block;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--faint);
  padding: clamp(30px, 4.6vh, 52px) clamp(16px, 2.4vw, 34px);
  position: relative;
  isolation: isolate;
}
/* le fond qui s'allume, au rythme du trait */
.case::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 92%);
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.case:hover::before {
  opacity: 0.07;
}

/* la question, en tête */
.q {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-2xl);
  line-height: 1.4;
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: clamp(16px, 2.4vh, 26px);
  transition: color 0.5s ease;
}
.case:hover .q {
  color: var(--accent);
}

/* la relation : deux termes de même poids, et le lien entre eux */
.rel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(10px, 1.6vw, 20px);
  font-family: var(--ff-serif);
  font-size: var(--fs-title-m);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--muted2);
  transition: color 0.5s ease;
}
.case:hover .rel {
  color: var(--paper);
}
.term {
  position: relative;
  white-space: nowrap;
}

.tie {
  position: relative;
  width: clamp(40px, 9vw, 150px);
  height: 1px;
  background: var(--faint);
  flex: none;
}
.tie::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.case:hover .tie::after {
  transform: scaleX(1);
}
.tie::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
  transition: background 0.5s ease 0.1s;
}
.case:hover .tie::before {
  background: var(--accent);
}
.dot-end {
  position: absolute;
  right: -3px;
  top: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
  transition: background 0.4s ease;
}
.case:hover .dot-end {
  background: var(--accent);
  transition-delay: 0.55s;
}

.meta {
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: clamp(14px, 2vh, 22px);
}
.meta b {
  color: var(--muted2);
  font-weight: 500;
}

/* le cas à venir */
.case.soon {
  pointer-events: none;
}
.case.soon .rel {
  color: var(--faint);
}
.case.soon .q {
  color: var(--faint);
}
.case.soon .meta {
  color: var(--faint);
}

/* apparition */
/* Source: index.html */
.wrap {
        position: relative;
  z-index: 2;
}
#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}
.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 90% 60% at 50% 0%,
    transparent 45%,
    rgba(11, 13, 16, 0.55) 100%
  );
}

.nav {
  position: relative;
  z-index: 3;
          }
.brand .role-nav {
  color: var(--muted);
  font-size: var(--fs-base);
}
@media (max-width: 560px) {
  .brand .role-nav {
    display: none;
  }
}
.navlinks {
  display: flex;
  gap: clamp(16px, 2.6vw, 34px);
}
.navlinks a {
  text-decoration: none;
  color: var(--muted);
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
  transition: color 0.4s;
}
.navlinks a:hover {
  color: var(--paper);
}
@media (max-width: 720px) {
  .navlinks {
    display: none;
  }
}

.hero {
  z-index: 2;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  }

.wrap > .hero {
  min-height: 90vh 0 80vh;
}

.wrap > .hero h1 {
  max-width: 32ch;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(
    90deg,
    var(--c2),
    var(--c1),
    var(--c3),
    var(--c5),
    var(--c4),
    var(--c2)
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: hue 11s linear infinite;
}
@keyframes hue {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}
.hero .bascule {
  font-family: var(--ff-serif);
  font-size: var(--fs-title-s);
  color: var(--paper);
  margin: clamp(50px, 8vh, 90px) 0 clamp(34px, 5vh, 48px);
  line-height: 1.25;
}

.skills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 820px) {
  .skills {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 460px) {
  .skills {
    grid-template-columns: 1fr;
  }
}
.skill {
  border: 1px solid var(--faint);
  border-radius: 3px;
  padding: 22px 22px 24px;
  background: rgba(16, 20, 26, 0.5);
  backdrop-filter: blur(2px);
  transition:
    border-color 0.5s,
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.5s;
  color: var(--sk);
}
.skill:hover {
  transform: translateY(-4px);
  border-color: var(--sk);
  background: rgba(18, 22, 29, 0.8);
}
.skill .sk-ico {
  width: 40px;
  height: 40px;
  color: var(--sk);
  margin-bottom: 16px;
}
.skill .sk-name {
  font-family: var(--ff-serif);
  font-size: 1.12rem;
  color: var(--paper);
  line-height: 1.15;
  margin-bottom: 7px;
}
.skill .sk-def {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.5;
}
.skill.k1 {
  --sk: var(--c1);
}
.skill.k2 {
  --sk: var(--c2);
}
.skill.k3 {
  --sk: var(--c4);
}
.skill.k4 {
  --sk: var(--c5);
}

.hzone {
  position: relative;
  margin: clamp(56px, 10vh, 120px) 0 clamp(20px, 3vh, 28px);
}
/* ===== bloc symptômes (proto intégré) ===== */
.sympt {
  margin: clamp(56px, 9vh, 110px) 0 clamp(30px, 4vh, 40px);
}
/* ===== punchline (cercle) ===== */
.pl-scene {
  position: relative;
  width: 100%;
  min-height: clamp(720px, 98vh, 1060px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 10vh, 120px) 6vw;
  text-align: center;
  background: var(--ink);
}

/* "Et maintenant…" : démarre au niveau de la marge existante, le disque est repoussé d'autant en dessous */
.pl-lead {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--paper);
  text-shadow:
    0 0 30px rgba(255, 255, 255, 0.35),
    0 0 60px rgba(255, 255, 255, 0.15);
  margin-bottom: clamp(120px, 10vh, 120px);
}

/* le grand disque central : tout tient dedans — silhouette liquide qui ondule en continu, glow attaché directement dessus */
.pl-disc {
  position: relative;
  width: clamp(420px, 92vmin, 860px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(64px, 10vmin, 112px) clamp(42px, 7vmin, 70px);
  background: var(--ink);
  isolation: isolate;
  transition: box-shadow 1s ease;
  animation:
    pl-liquid 10s ease-in-out infinite,
    pl-glowDim 4.6s ease-in-out infinite;
}
.pl-scene.revealed .pl-disc {
  animation: pl-liquid 10s ease-in-out infinite;
  box-shadow: none;
}
@keyframes pl-liquid {
  0%,
  100% {
    border-radius: 50%;
  }
  20% {
    border-radius: 46% 54% 61% 39% / 43% 46% 54% 57%;
  }
  40% {
    border-radius: 59% 41% 44% 56% / 52% 58% 42% 48%;
  }
  60% {
    border-radius: 41% 59% 52% 48% / 58% 40% 60% 42%;
  }
  80% {
    border-radius: 53% 47% 39% 61% / 46% 55% 45% 54%;
  }
}
@keyframes pl-discPulse {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.045);
  }
  100% {
    transform: scale(1);
  }
}

/* glow porté directement par le disque : chaque couleur décalée à sa propre position autour de l'anneau, à 80% d'opacité */
@keyframes pl-glowDim {
  0%,
  100% {
    box-shadow:
      26px 0 36px 2px color-mix(in srgb, var(--c1) 80%, transparent),
      8px 25px 36px 2px color-mix(in srgb, var(--c2) 80%, transparent),
      -21px 15px 36px 2px color-mix(in srgb, var(--c3) 80%, transparent),
      -21px -15px 36px 2px color-mix(in srgb, var(--c4) 80%, transparent),
      8px -25px 36px 2px color-mix(in srgb, var(--c5) 80%, transparent);
  }
  50% {
    box-shadow:
      30px 0 44px 4px color-mix(in srgb, var(--c1) 80%, transparent),
      9px 29px 44px 4px color-mix(in srgb, var(--c2) 80%, transparent),
      -24px 18px 44px 4px color-mix(in srgb, var(--c3) 80%, transparent),
      -24px -18px 44px 4px color-mix(in srgb, var(--c4) 80%, transparent),
      9px -29px 44px 4px color-mix(in srgb, var(--c5) 80%, transparent);
  }
}
@keyframes pl-glowBright {
  0% {
    box-shadow:
      30px 0 44px 4px color-mix(in srgb, var(--c1) 80%, transparent),
      9px 29px 44px 4px color-mix(in srgb, var(--c2) 80%, transparent),
      -24px 18px 44px 4px color-mix(in srgb, var(--c3) 80%, transparent),
      -24px -18px 44px 4px color-mix(in srgb, var(--c4) 80%, transparent),
      9px -29px 44px 4px color-mix(in srgb, var(--c5) 80%, transparent);
  }
  40% {
    box-shadow:
      44px 0 64px 10px color-mix(in srgb, var(--c1) 80%, transparent),
      13px 42px 64px 10px color-mix(in srgb, var(--c2) 80%, transparent),
      -35px 26px 64px 10px color-mix(in srgb, var(--c3) 80%, transparent),
      -35px -26px 64px 10px color-mix(in srgb, var(--c4) 80%, transparent),
      13px -42px 64px 10px color-mix(in srgb, var(--c5) 80%, transparent);
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}
/* le sursaut du clic garde la lueur un instant, puis elle s'efface une fois le disque plein de couleurs */
.pl-scene.flashing .pl-disc {
  animation:
    pl-liquid 10s ease-in-out infinite,
    pl-glowBright 0.9s ease-out forwards,
    pl-discPulse 0.7s ease-out;
}

/* le spectre coloré, uniquement visible à l'intérieur une fois révélé */
.pl-bg-base {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #c9b8f0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.pl-bg-spectre {
  position: absolute;
  width: 180%;
  height: 180%;
  left: 50%;
  top: 50%;
  margin-left: -90%;
  margin-top: -90%;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(
    from 0deg at 50% 50%,
    var(--c1),
    var(--c2),
    var(--c3),
    var(--c4),
    var(--c5),
    var(--c1)
  );
  opacity: 0;
  filter: blur(46px) saturate(1.05);
  animation: pl-spin 28s linear infinite;
  transition: opacity 1.2s ease;
}
.pl-scene.revealed .pl-bg-base {
  opacity: 0.8;
}
.pl-scene.revealed .pl-bg-spectre {
  opacity: 1;
}
@keyframes pl-spin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

.pl-content {
  position: relative;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  gap: 0;
}
.pl-line1 {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(20px, 3.6vmin, 40px);
}
.pl-line1 {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-title-l);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 22ch;
  text-shadow:
    0 0 30px rgba(255, 255, 255, 0.35),
    0 0 60px rgba(255, 255, 255, 0.15);
  transition:
    color 0.8s,
    text-shadow 0.8s;
}
.pl-scene.revealed .pl-line1 {
  color: #2b2440;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.5);
}

.pl-logo-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pl-logo {
  position: relative;
  width: clamp(74px, 11vmin, 124px);
  cursor: pointer;
  animation: pl-logoPulse 1.8s ease-in-out infinite;
}
.pl-logo::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    var(--c1),
    var(--c2),
    var(--c3),
    var(--c5),
    var(--c4),
    var(--c1)
  );
  filter: blur(24px);
  opacity: 0.4;
  transition: opacity 0.55s ease-in-out;
  animation: pl-haloPulse 1.8s ease-in-out infinite;
}
@keyframes pl-haloPulse {
  0%,
  100% {
    transform: scale(0.96);
  }
  50% {
    transform: scale(1.05);
  }
}
.pl-logo:hover::before {
  opacity: 0.62;
}
.pl-scene.revealed .pl-logo::before {
  opacity: 0;
}
.pl-logo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}
.pl-logo .pl-empty {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.pl-logo .pl-full {
  position: relative;
  opacity: 1;
  transition: opacity 0.7s ease;
}
@keyframes pl-logoPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.03);
  }
}
.pl-scene.revealed .pl-logo .pl-full {
  opacity: 0;
}
.pl-scene.revealed .pl-logo .pl-empty {
  opacity: 1;
}

.pl-cursor-hand {
  position: absolute;
  right: 10%;
  bottom: 14%;
  width: clamp(22px, 3.1vmin, 30px);
  pointer-events: none;
  z-index: 2;
  animation: pl-handTap 1.8s ease-in-out infinite;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
  transition: opacity 0.4s;
}
.pl-cursor-hand svg {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes pl-handTap {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
.pl-scene.revealed .pl-cursor-hand {
  opacity: 0;
}


/* FOND : glisse et change selon le volet */
.bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg.solid {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--sc) 70%, transparent),
    color-mix(in srgb, var(--sc) 40%, transparent)
  );
}
.bg .spectre {
  position: absolute;
  width: 250vmax;
  height: 250vmax;
  left: 50%;
  top: 50%;
  margin-left: -125vmax;
  margin-top: -125vmax;
  background: conic-gradient(
    from 0deg at 50% 50%,
    var(--c1),
    var(--c2),
    var(--c3),
    var(--c4),
    var(--c5),
    var(--c1)
  );
  opacity: 0.7;
  filter: blur(60px);
  animation: spin 28s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.stage:not(.is-meta) .bg .spectre {
  display: none;
}
.stage.is-meta .bg {
  background: transparent;
}

/* CONTENU */
.titre {
  position: relative;
  z-index: 1;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--ink);
}
.constat-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 60px);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.constat {
  position: relative;
  font-family: var(--ff-serif);
  font-size: 1.9rem;
  line-height: 1.3;
  max-width: 34ch;
  margin: 0 auto;
  color: var(--ink);
  height: calc(1.3em * 4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-arrow {
  background: none;
  border: none;
  cursor: pointer;
  flex: none;
  font-family: var(--ff-serif);
  font-size: var(--fs-title-l);
  line-height: 1;
  color: var(--ink);
  opacity: 0.4;
  transition:
    opacity 0.2s,
    transform 0.2s;
  padding: 0 6px;
}
.nav-arrow:hover {
  opacity: 0.95;
  transform: scale(1.15);
}

/* la piste qui glisse : titre + constat (le fond glisse via .bg séparément) */
.slider {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 190px;
  will-change: transform, opacity;
}

.btn {
  position: relative;
  z-index: 5;
  overflow: hidden;
  --px: 50%;
  --py: 50%;
  --tiltx: 0;
  --tilty: 0;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.9rem;
  padding: 14px 46px;
  min-width: 230px;
  cursor: pointer;
  transform: perspective(650px) rotateX(calc(var(--tiltx) * 1deg))
    rotateY(calc(var(--tilty) * 1deg));
  transition: transform 0.18s ease;
}
.btn-holo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("grain.png");
  background-size: 600% 600%;
  background-position: var(--px) var(--py);
  opacity: 0.62;
  mix-blend-mode: screen;
  transition: background-position 0.25s ease;
}
.btn-label {
  position: relative;
  z-index: 2;
  color: var(--ink);
}

.btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
}
.nav-dots {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.nav-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  background: var(--ink);
  opacity: 0.25;
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.nav-dots button:hover {
  opacity: 0.55;
}
.nav-dots button.active {
  opacity: 0.85;
  transform: scale(1.35);
}

/* CARTE HYPOTHÈSE : centrée sur la rangée du constat */
.sticker {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  --spx: 50%;
  --spy: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: clamp(440px, 46vw, 560px);
  height: clamp(280px, 26vw, 340px);
  border-radius: var(--blob, 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(30px, 3.5vw, 46px);
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(16px) saturate(158%);
  backdrop-filter: blur(16px) saturate(158%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
.sticker::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("grain.png");
  background-size: 600% 600%;
  background-position: var(--spx) var(--spy);
  opacity: 0.5;
  mix-blend-mode: screen;
  transition: background-position 0.25s ease;
}
.stage.revealed .sticker {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  transition:
    opacity 0.3s ease,
    transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
.rainbow {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -45%;
  width: 40%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent,
    var(--c1) 14%,
    var(--c2) 34%,
    var(--c3) 52%,
    var(--c5) 70%,
    var(--c4) 88%,
    transparent
  );
  filter: blur(6px);
  transform: skewX(-14deg);
  opacity: 0;
  mix-blend-mode: screen;
}
.stage.revealed .rainbow {
  animation: sweep 1s cubic-bezier(0.6, 0, 0.2, 1) 0.05s 1;
}
@keyframes sweep {
  0% {
    left: -45%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}
.hypo {
  font-family: var(--ff-serif);
  font-size: 1.9rem;
  line-height: 1.3;
  color: var(--ink);
  position: relative;
  z-index: 3;
  max-width: 24ch;
  opacity: 0;
  transition: opacity 0.2s ease;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.6);
}
.stage.revealed .hypo {
  opacity: 1;
  transition: opacity 0.3s ease 0.45s;
}
.wave-wrap {
  position: relative;
}
.wave {
  display: block;
  width: 100%;
  height: 96px;
  cursor: crosshair;
}
.hz-legend {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(20px, 3.5vw, 48px);
  margin-top: -8px;
}
.hz {
  text-align: left;
}
.hz-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hz-ic {
  width: 30px;
  height: 30px;
  flex: none;
  stroke: var(--t);
}
.hz .st {
  font-size: var(--fs-md);
  color: var(--paper);
}
.hz .ss {
  font-size: var(--fs-md);
  color: var(--muted);
  margin-top: 3px;
  padding-left: 42px;
}
@media (max-width: 900px) {
  .hz-legend {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .hz-legend {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

section {
  position: relative;
  z-index: 2;
}
.band {
  padding: clamp(60px, 10vh, 120px) 0;
  border-top: 1px solid var(--faint);
}
.band.band--sans-trait { border-top: none; }
.band .eyebrow {
  margin-bottom: clamp(22px, 4vh, 34px);
}
.band h2 {
  font-size: var(--fs-title-m);
  max-width: 24ch;
  letter-spacing: -0.015em;
  margin-bottom: clamp(26px, 4.5vh, 44px);
}
.band h2 em {
  font-style: italic;
  color: var(--c1);
}
.bascule-h2 {
  font-size: var(--fs-title-m);
  max-width: 24ch;
  letter-spacing: -0.015em;
  margin: 0 0 clamp(30px, 5vh, 48px);
}
.band .intro {
  font-size: var(--fs-lg);
  color: var(--muted2);
  line-height: 1.8;
  max-width: 60ch;
  margin-bottom: clamp(30px, 5vh, 48px);
}
  .band .txt {
    max-width: 720px;
  }
  .band .txt p {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--muted2);
    margin-bottom: 18px;
  }

.exp {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.exp span {
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  color: var(--muted2);
  border: 1px solid var(--faint);
  border-radius: 100px;
  padding: 9px 18px;
  transition:
    border-color 0.4s,
    color 0.4s;
}
.exp span:hover {
  border-color: var(--c1);
  color: var(--paper);
}

@media (max-width: 720px) {
}
em.grad {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(
    90deg,
    var(--c2),
    var(--c1),
    var(--c3),
    var(--c5),
    var(--c4),
    var(--c2)
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: hue 11s linear infinite;
}

/* ===== ÉTAPES DE LA MÉTHODE (index.html) — .step ===== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
}
.step {
  background: color-mix(in srgb, var(--sc) 4%, var(--ink));
  border-left: 2px solid var(--sc);
  padding: clamp(26px, 3.6vw, 40px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: baseline;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 100%;
  background: var(--sc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.3, 0.1, 0.2, 1);
}
.step.in::before {
  transform: scaleX(1);
}
.step .sn {
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  opacity: 0;
  transform: translateX(-12px);
}
.step.in .sn {
  opacity: 1;
  transform: none;
}
.step h3,
.step p {
  transition:
    opacity 0.6s ease 0.15s,
    transform 0.6s ease 0.15s;
  opacity: 0;
  transform: translateY(10px);
}
.step.in h3,
.step.in p {
  opacity: 1;
  transform: none;
}
.step.p2::before,
.step.p2 .sn,
.step.p2 h3,
.step.p2 p {
  transition-delay: 0.15s;
}
.step.p3::before,
.step.p3 .sn,
.step.p3 h3,
.step.p3 p {
  transition-delay: 0.3s;
}
.step .sn {
  font-family: var(--ff-serif);
  font-size: var(--fs-title-s);
  color: var(--sc);
  line-height: 1;
}
.step h3 {
  font-size: var(--fs-2xl);
  color: var(--sc);
  margin-bottom: 10px;
  line-height: 1.2;
}
.step p {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
}
.step.p1 {
  --sc: var(--c1);
}
.step.p2 {
  --sc: var(--c4);
}
.step.p3 {
  --sc: var(--c3);
}
.steps-after {
  margin-top: clamp(26px, 4vh, 40px);
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-2xl);
  color: var(--muted2);
  line-height: 1.4;
  max-width: 30ch;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
}
.client {
  background: var(--ink);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  transition: background 0.4s;
}
.client:hover {
  background: var(--surface);
  color: var(--muted);
}

.proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
}
.proof .cell {
  background: var(--ink);
  padding: clamp(26px, 3.4vw, 40px);
}
.proof .k {
  font-family: var(--ff-serif);
  font-size: var(--fs-title-s);
  color: var(--paper);
  margin-bottom: 10px;
  line-height: 1.15;
}
.proof .k em {
  font-style: italic;
  color: var(--t, var(--c3));
}
.proof .d {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
}
.proof-link {
  display: inline-block;
  margin-top: clamp(24px, 4vh, 36px);
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--c1);
  font-size: var(--fs-base);
  letter-spacing: 0.03em;
  transition: color 0.4s;
}
.proof-link:hover {
  color: var(--c3);
}

.entries {
  border-top: 1px solid var(--faint);
}
.entry {
  display: grid;
  grid-template-columns: clamp(38px, 6vw, 70px) 1fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(26px, 4.2vh, 48px) clamp(6px, 1.4vw, 14px);
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--faint);
  position: relative;
  isolation: isolate;
}
.entry::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--ec) 0%, transparent 78%);
  opacity: 0;
  transition: opacity 0.6s;
}
.entry:hover::before {
  opacity: 0.07;
}
.entry .n {
  font-family: var(--ff-serif);
  font-size: var(--fs-2xl);
  color: var(--ec);
  opacity: 0.5;
  transition: opacity 0.5s;
}
.entry:hover .n {
  opacity: 1;
}
.entry h3 {
  font-size: var(--fs-title-s);
  color: var(--muted2);
  transition: color 0.5s;
  line-height: 1.15;
  margin-bottom: 5px;
}
.entry:hover h3 {
  color: var(--paper);
}
.entry p {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.6;
  max-width: 54ch;
}
.entry .a {
  font-size: var(--fs-lg);
  color: var(--ec);
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.5s,
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.entry:hover .a {
  opacity: 1;
  transform: none;
}
.entry.e1 {
  --ec: var(--c1);
}
.entry.e2 {
  --ec: var(--c4);
}
.entry.e3 {
  --ec: var(--c2);
}
.entry.e4 {
  --ec: var(--c5);
}
@media (max-width: 720px) {
  .entry {
    grid-template-columns: auto 1fr;
    gap: 14px;
  }
  .entry .a {
    display: none;
  }
}

.contact {
  padding: clamp(70px, 12vh, 150px) 0;
  border-top: 1px solid var(--faint);
}
.contact h2 {
  font-family: var(--ff-serif);
  font-size: var(--fs-title-l);
  line-height: 1.2;
  max-width: 20ch;
  margin-bottom: clamp(30px, 5vh, 44px);
}
.contact h2 em {
  font-style: italic;
  color: var(--c5);
}
.contact .links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.contact .links a {
  font-size: var(--fs-base);
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 14px 26px;
  border: 1px solid var(--faint);
  color: var(--paper);
  transition: border-color 0.4s;
}
.contact .links a.primary {
  border-color: var(--c5);
  color: var(--c5);
}
.contact .links a:hover {
  border-color: var(paper);
  color: var(--paper);
}

.contact-lead {
  color: var(--muted);
  font-size: var(--fs-lg);
  line-height: 1.6;
  max-width: 50ch;
  margin: 0;
}
.contact-mail {
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  color: var(--muted);
}
.contact .contact-mail a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--faint);
  transition: border-color 0.4s;
}
.contact .contact-mail a:hover {
  border-color: var(--c5);
}

/* ===== Contact — la machine à dons ===================================== */
.contact--don {
  --don-card: #070709;
  --don-line: #22242c;
  border-top: 0;
  padding: clamp(40px, 7vh, 90px) 0 clamp(70px, 12vh, 130px);
}
/* [hidden] doit gagner sur les display: des composants dons */
.contact--don [hidden],
.don-modal [hidden] {
  display: none !important;
}
.don-title {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-title-m);
  line-height: 1.15;
  color: var(--paper);
  max-width: 22ch;
  margin: 22px 0 clamp(12px, 2vh, 18px);
}
.don-title em {
  font-style: italic;
}
.don-sub {
  color: var(--muted);
  max-width: 44ch;
}

/* la bordure irisée animée (masque = bordure seule) */
.don-holo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    125deg,
    var(--c1),
    var(--c2),
    var(--c3),
    var(--c4),
    var(--c5),
    var(--c1)
  );
  background-size: 300% 100%;
  animation: donHolo 8s linear infinite;
  -webkit-mask:
    linear-gradient(var(--ink) 0 0) content-box,
    linear-gradient(var(--ink) 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
@keyframes donHolo {
  to {
    background-position: 300% 0;
  }
}

/* le damier : cartes à plat qu'on retourne (façon memory) */
.don-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 2.6vw, 38px);
  max-width: 860px;
  margin: clamp(38px, 7vh, 72px) auto clamp(24px, 4vh, 38px);
}
.don-cell {
  perspective: 1000px;
  will-change: transform;
  animation: donBreath var(--bd, 7s) ease-in-out var(--bdelay, 0s) infinite;
}
@keyframes donBreath {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
}
.don-flip {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.1;
  cursor: pointer;
  border-radius: 14px;
}
.don-flip:focus-visible {
  outline: none;
}
.don-flip:focus-visible .don-face--back {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c1) 70%, transparent);
}
.don-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.don-flip.is-flipped .don-flip-inner {
  transform: rotateY(180deg);
}
.don-flip:not(.is-flipped):hover .don-flip-inner {
  transform: translateY(-6px);
}
/* « une nouvelle donne » : vague (montée/descente) + flip général, en cascade */
.don-flip.is-waving {
  animation: donWave 0.62s ease var(--wd, 0s) both;
}
.don-flip-inner.is-dealing {
  animation: donDeal 0.62s cubic-bezier(0.2, 0.7, 0.2, 1) var(--wd, 0s) both;
}
@keyframes donWave {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-22px);
  }
}
@keyframes donDeal {
  to {
    transform: rotateY(360deg);
  }
}
.don-face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: var(--don-card);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}
.don-face--back {
  display: grid;
  place-items: center;
}
.don-seal {
  width: 42%;
}
.don-seal svg {
  width: 100%;
  height: auto;
  display: block;
}
.don-face--front {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 11px;
  padding: clamp(18px, 2vw, 28px);
}
.don-fglyph {
  width: clamp(42px, 5vw, 52px);
  height: clamp(42px, 5vw, 52px);
}
.don-fglyph svg {
  width: 100%;
  height: 100%;
  display: block;
}
.don-fnom {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  line-height: 1.12;
  color: var(--paper);
}
.don-flecon {
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.don-plus {
  margin-top: 54px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  /* déjà cerclé de bleu, le « + » en bleu, au repos */
  border: 1px solid color-mix(in srgb, var(--muted) 55%, var(--faint));
  background: color-mix(in srgb, var(--muted) 7%, transparent);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.12s;
}
.don-plus svg {
  width: 18px;
  height: 18px;
}
.don-plus svg path {
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}
/* survol : un peu plus de bleu dans le noir, sans jamais saturer */
.don-plus:hover,
.don-plus:focus-visible {
  color: var(--paper);
  border-color: var(--paper);
  background: color-mix(in srgb, var(--paper) 18%, transparent);
  outline: none;
}
.don-plus:active {
  transform: scale(0.9);
}
.don-reshuffle {
  display: block;
  margin: 0 auto;
  font-size: var(--fs-sm);
  letter-spacing: 0.03em;
  color: var(--muted);
  background: none;
  border: 1px solid var(--faint);
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.don-reshuffle:hover,
.don-reshuffle:focus-visible {
  border-color: var(--c1);
  color: var(--paper);
  outline: none;
}

/* la modale */
.don-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
}
.don-modal[hidden] {
  display: none !important;
}
.don-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(4, 4, 6, 0.74);
  backdrop-filter: blur(5px);
  animation: donFade 0.35s ease;
}
@keyframes donFade {
  from {
    opacity: 0;
  }
}
.don-card {
  position: relative;
  width: min(440px, 100%);
  background: var(--don-card, var(--ink));
  border-radius: 18px;
  padding: clamp(30px, 4.4vw, 44px) clamp(26px, 4vw, 40px) clamp(26px, 4vw, 36px);
  text-align: center;
  animation: donPop 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes donPop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
}
.don-glyph {
  width: 62px;
  height: 62px;
  margin: 0 auto clamp(14px, 3vh, 22px);
}
.don-glyph svg {
  width: 100%;
  height: 100%;
  display: block;
}
.don-origine {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.don-nom {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-title-s);
  line-height: 1.12;
  color: var(--paper);
  margin: 7px 0 18px;
}
.don-savoir {
  font-size: var(--fs-base);
  line-height: 1.72;
  color: var(--muted2);
  margin: 0;
}
.don-lecon {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-xl);
  line-height: 1.4;
  color: var(--paper);
  margin: clamp(18px, 3vh, 26px) 0 0;
  padding-top: clamp(18px, 3vh, 24px);
  border-top: 1px solid var(--don-line, var(--faint));
}
.don-lien {
  display: inline-block;
  margin-top: 16px;
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c1);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--c1) 40%, transparent);
  padding-bottom: 3px;
  transition: border-color 0.3s;
}
.don-lien:hover {
  border-color: var(--c1);
}
.don-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(22px, 4vh, 32px);
}
.don-close-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--faint);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.12s;
}
.don-close-btn svg {
  width: 18px;
  height: 18px;
}
.don-close-btn svg path {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.don-close-btn:hover,
.don-close-btn:focus-visible {
  border-color: var(--paper);
  color: var(--paper);
  background: color-mix(in srgb, var(--paper) 10%, transparent);
  outline: none;
}
.don-close-btn:active {
  transform: scale(0.88);
}
.don-close-btn.is-pressed {
  animation: donPress 0.2s ease;
}
@keyframes donPress {
  40% {
    transform: scale(0.82);
  }
  100% {
    transform: scale(1);
  }
}

/* le contre-don, facultatif */
.don-give {
  max-width: 500px;
  margin: clamp(22px, 4vh, 40px) auto 0;
  text-align: center;
}
.don-form {
  display: grid;
  gap: 12px;
  text-align: left;
}
.don-field {
  width: 100%;
  font: inherit;
  font-size: var(--fs-base);
  color: var(--paper);
  background: var(--don-card);
  border: 1px solid var(--faint);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color 0.3s;
}
.don-field::placeholder {
  color: var(--muted);
}
.don-field:focus {
  outline: none;
  border-color: var(--c1);
}
textarea.don-field {
  min-height: 240px;
  resize: vertical;
}
/* bouton foil holographique — même grammaire que la pastille « Regarder autrement » */
.don-submit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --px: 50%;
  --py: 50%;
  width: 100%;
  margin-top: 6px;
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 15px 30px;
  cursor: pointer;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: box-shadow 0.28s ease, transform 0.16s ease;
}
.don-submit .holo {
  opacity: 0.62;
}
.don-submit-t {
  position: relative;
  z-index: 2;
}
.don-submit-sweep {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -45%;
  width: 40%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent,
    var(--c1) 14%,
    var(--c2) 34%,
    var(--c3) 52%,
    var(--c5) 70%,
    var(--c4) 88%,
    transparent
  );
  filter: blur(6px);
  transform: skewX(-14deg);
  opacity: 0;
  mix-blend-mode: screen;
  animation: pill-sweep 8s cubic-bezier(0.6, 0, 0.2, 1) 2s infinite;
}
.don-submit:hover {
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.34),
    0 0 24px -6px var(--c1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.don-submit:hover .holo {
  opacity: 1;
}
.don-submit:active {
  transform: translateY(1px) scale(0.995);
}
.don-submit:disabled {
  opacity: 0.6;
  cursor: default;
}
.don-status {
  margin: 4px 0 0;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--c3);
  text-align: center;
}
.don-status.is-error {
  color: var(--c4);
}
.don-give .contact-mail {
  margin-top: clamp(26px, 4vh, 36px);
  text-align: center;
}
.don-note {
  max-width: 44ch;
  margin: 0 auto clamp(28px, 5vh, 44px);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--muted);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.don-note.is-shown {
  opacity: 1;
  transform: none;
}
.don-note b {
  color: var(--paper);
  font-weight: 400;
}
@media (prefers-reduced-motion: reduce) {
  .don-holo::before,
  .don-card,
  .don-backdrop,
  .don-flip-inner,
  .don-flip.is-waving,
  .don-flip-inner.is-dealing,
  .don-cell,
  .don-submit-sweep,
  .don-close-btn,
  .don-close-btn.is-pressed {
    animation: none;
    transition: none;
  }
}
@media (max-width: 560px) {
  .don-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 400px;
  }
}

footer {
  position: relative;
  z-index: 2;
                }
/* ===== bloc constat (proto, préfixé sy-) ===== */
.sy-stage {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  --sc: #28e6ff;
  --sc-b: #9f6eff;
  background: #c9b8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 120px;
  text-align: center;
  padding: 60px 40px 50px;
}

/* FOND : glisse et change selon le volet */
.sy-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.sy-bg.sy-solid {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--sc) 55%, white),
    color-mix(in srgb, var(--sc-b) 40%, white)
  );
}
.sy-bg .sy-spectre {
  position: absolute;
  width: 250vmax;
  height: 250vmax;
  left: 50%;
  top: 50%;
  margin-left: -125vmax;
  margin-top: -125vmax;
  background: conic-gradient(
    from 0deg at 50% 50%,
    var(--c1),
    var(--c2),
    var(--c3),
    var(--c4),
    var(--c5),
    var(--c1)
  );
  opacity: 0.7;
  filter: blur(60px);
  animation: sy-spin 28s linear infinite;
}
@keyframes sy-spin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.sy-stage:not(.sy-is-meta) .sy-bg .sy-spectre {
  display: block;
  background: conic-gradient(
    from 0deg at 50% 50%,
    var(--sc), var(--sc-b), var(--sc), var(--sc-b), var(--sc)
  );
  opacity: 0.8;
  filter: blur(70px);
}
.sy-stage.sy-is-meta .sy-bg {
  background: transparent;
}

/* CONTENU */
.sy-titre {
  position: relative;
  z-index: 1;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--ink);
}
.sy-constat-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 60px);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.sy-constat {
  position: relative;
  font-family: var(--ff-serif);
  font-size: 1.9rem;
  line-height: 1.3;
  max-width: 34ch;
  margin: 0 auto;
  color: var(--ink);
  height: calc(1.3em * 4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sy-nav-arrow {
  background: none;
  border: none;
  cursor: pointer;
  flex: none;
  font-family: var(--ff-serif);
  font-size: var(--fs-title-l);
  line-height: 1;
  color: var(--ink);
  opacity: 0.4;
  transition:
    opacity 0.2s,
    transform 0.2s;
  padding: 0 6px;
}
.sy-nav-arrow:hover {
  opacity: 0.95;
  transform: scale(1.15);
}

/* la piste qui glisse : titre + constat (le fond glisse via .sy-bg séparément) */
.sy-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.sy-btn {
  position: relative;
  z-index: 5;
  overflow: hidden;
  --px: 50%;
  --py: 50%;
  --tiltx: 0;
  --tilty: 0;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.9rem;
  padding: 14px 46px;
  min-width: 230px;
  cursor: pointer;
  transform: perspective(650px) rotateX(calc(var(--tiltx) * 1deg))
    rotateY(calc(var(--tilty) * 1deg));
  transition: transform 0.18s ease;
}
.sy-btn-holo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("grain.png");
  background-size: 600% 600%;
  background-position: var(--px) var(--py);
  filter: saturate(158%);
    opacity: 0.62;
    mix-blend-mode: multiply;
  transition: background-position 0.25s ease;
}
.sy-btn-label {
  position: relative;
  z-index: 2;
  color: var(--ink);
}

.sy-btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.sy-nav-dots {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.sy-nav-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  background: var(--ink);
  opacity: 0.25;
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.sy-nav-dots button:hover {
  opacity: 0.55;
}
.sy-nav-dots button.active {
  opacity: 0.85;
  transform: scale(1.35);
}

/* CARTE HYPOTHÈSE : centrée sur la rangée du constat */
.sy-sticker {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  --spx: 50%;
  --spy: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: min(60%, 600px);
  max-width: min(96%, 980px);
  height: auto;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(22px, 3vw, 34px) clamp(28px, 3.5vw, 44px);
  overflow: hidden;
  pointer-events: none;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0),
    inset 0 1px 0 rgba(255, 255, 255, 0);

  transition:
    transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.1),
    background 0.3s ease,

    box-shadow 0.3s ease;
}
.sy-sticker::after {
  
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-position: var(--spx) var(--spy);
  opacity: 0;
  mix-blend-mode: screen;
  transition:
    background-position 0.25s ease,
    opacity 0.3s ease;
}
.sy-stage.sy-revealed .sy-sticker {
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  background: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);

  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.sy-stage.sy-revealed .sy-sticker::after {
  opacity: 0.5;
}
.sy-rainbow {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -45%;
  width: 40%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent,
    var(--c1) 14%,
    var(--c2) 34%,
    var(--c3) 52%,
    var(--c5) 70%,
    var(--c4) 88%,
    transparent
  );
  filter: blur(6px);
  transform: skewX(-14deg);
  opacity: 0;
  mix-blend-mode: screen;
}
.sy-stage.sy-revealed .sy-rainbow {
  animation: sweep 1s cubic-bezier(0.6, 0, 0.2, 1) 0.05s 1;
}

.sy-hypo {
  font-family: var(--ff-serif);
  font-size: 1.9rem;
  line-height: 1.3;
  color: var(--ink);
  position: relative;
  z-index: 3;
  max-width: 880px;
  opacity: 0;
  transition: opacity 0.2s ease;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.6);
}
.sy-stage.sy-revealed .sy-hypo {
  opacity: 1;
  transition: opacity 0.3s ease 0.45s;
}

/* Source: reciprocites.html */
/* héros spécifique à la page recherche (reciprocites) : pas de plein écran
   ni de filet, il se cale sur son contenu avec un bas d'air mesuré, l'erratum
   remonte juste après. Classe dédiée = aucune autre page touchée. */
.hero.hero--recherche {
  border-bottom: none;
  min-height: auto;
  padding-bottom: clamp(70px, 9vh, 100px);
}
/* bloc erratum (note de recherche en haut de page) */
.erratum {
  max-width: 760px;
  margin: clamp(16px, 2.4vh, 28px) 0 clamp(30px, 3vh, 40px);
  padding: clamp(20px, 3vw, 30px) clamp(40px, 3.7vw, 50px);
  border: 1px solid var(--faint);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.erratum-tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c1);
  border: 1px solid color-mix(in srgb, var(--c1) 40%, transparent);
  border-radius: 999px;
  padding: 4px 12px;
}
.erratum p {
  margin: 0;
  max-width: 68ch;
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--muted2);
}
/* temps de lecture, juste avant le séparateur qui ouvre le contenu */
.erratum-meta {
  margin: 0 0 clamp(26px, 4vh, 40px);
  padding-bottom: clamp(22px, 3.5vh, 32px);
  border-bottom: 1px solid var(--faint);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* nav */
.menu a:nth-child(3):hover {
  color: var(--c3);
}
/* ─────────── I. RECONNAÎTRE ─────────── */
.open {
  padding: clamp(80px, 15vh, 170px) 0 clamp(50px, 8vh, 90px);
}
.open h1 {
  font-size: var(--fs-display);
  letter-spacing: -0.022em;
  max-width: 19ch;
  margin-bottom: clamp(32px, 5vh, 50px);
}
.open h1 em {
  font-style: italic;
  color: var(--c4);
}
.open .lede {
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--muted2);
  max-width: 56ch;
}
.open .lede + .lede {
  margin-top: 20px;
}

/* la spirale */
.spiral {
  padding: clamp(30px, 5vh, 60px) 0 clamp(70px, 11vh, 130px);
}
.root {
  border-left: 2px solid var(--c4);
  padding-left: clamp(18px, 2.6vw, 32px);
  margin-bottom: clamp(40px, 6vh, 70px);
  max-width: 60ch;
}
.root .eyebrow {
  color: var(--c4);
  margin-bottom: 14px;
}
.root h3 {
  font-size: var(--fs-title-s);
  line-height: 1.25;
  margin-bottom: 14px;
  max-width: 24ch;
}
.root p {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.8;
}
.root p + p {
  margin-top: 18px;
}
.root .et-pourtant {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-2xl);
  line-height: 1.4;
  color: var(--c4);
  margin-top: 26px;
  max-width: 26ch;
}
.etages {
  margin-bottom: 22px;
}

.levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
}
@media (max-width: 780px) {
  .levels {
    grid-template-columns: 1fr;
  }
}
.lvl {
  background: var(--ink);
  padding: clamp(22px, 2.8vw, 32px);
}
.lvl .n {
  font-family: var(--ff-serif);
  font-size: var(--fs-sm);
  color: var(--lc);
  margin-bottom: 14px;
}
.lvl h4 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-2xl);
  margin-bottom: 10px;
  color: var(--lc);
}
.lvl p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.65;
}
.lvl:nth-child(1) {
  --lc: var(--c1);
}
.lvl:nth-child(2) {
  --lc: var(--c2);
}
.lvl:nth-child(3) {
  --lc: var(--c3);
}
.loop {
  margin-top: 26px;
  font-size: var(--fs-base);
  color: var(--muted);
  border-left: 1px solid var(--faint);
  padding-left: 18px;
  max-width: 70ch;
  line-height: 1.8;
}
.loop b {
  color: var(--c4);
  font-weight: 400;
}

/* ─────────── II. EXPLORER LES 18 LIEUX ─────────── */
.lieux {
  padding: clamp(20px, 3vh, 40px) 0 clamp(70px, 11vh, 140px);
}
.sec-head {
  margin-bottom: clamp(38px, 6vh, 68px);
}
.sec-head h2 {
  font-size: var(--fs-title-m);
  max-width: 22ch;
  margin: 14px 0 22px;
}
.sec-head h2 em {
  font-style: italic;
  color: var(--c5);
}
.praxis .sec-head h2 em {
  color: var(--c3);
}
.sec-head p {
  font-size: var(--fs-base);
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.8;
}

.explore {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .explore {
    grid-template-columns: 1fr;
  }
}

.group + .group {
  margin-top: 34px;
}
.group > .gt {
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gc);
  font-weight: 500;
  margin-bottom: 12px;
}
.group:nth-of-type(1) {
  --gc: var(--c4);
}
.group:nth-of-type(2) {
  --gc: var(--c1);
}
.group:nth-of-type(3) {
  --gc: var(--c2);
}
.group:nth-of-type(4) {
  --gc: var(--c3);
}

.list {
  border-top: 1px solid var(--faint);
}
.item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: baseline;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  border-bottom: 1px solid var(--faint);
  padding: 13px 10px 13px 4px;
  font-family: inherit;
  color: var(--muted2);
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: 1.45;
  transition:
    color 0.35s ease,
    background 0.35s ease,
    padding-left 0.35s ease;
}
.item:hover {
  color: var(--paper);
  padding-left: 10px;
}
.item .no {
  font-family: var(--ff-serif);
  font-size: var(--fs-sm);
  color: var(--faint);
  transition: color 0.35s ease;
}
.item:hover .no {
  color: var(--gc);
}
.item.active {
  color: var(--paper);
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--gc) 9%, transparent),
    transparent 88%
  );
  padding-left: 10px;
}
.item.active .no {
  color: var(--gc);
}

/* panneau */
.panel {
  position: sticky;
  top: 34px;
}
.card {
  border: 1px solid var(--faint);
  padding: clamp(26px, 3.2vw, 42px);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  --pc: var(--c4);
}
.card .kicker {
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pc);
  font-weight: 500;
  margin-bottom: 20px;
}
.card h3 {
  font-size: var(--fs-title-s);
  line-height: 1.22;
  margin-bottom: 16px;
  max-width: 22ch;
}
.card .sum {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--pc);
  margin-bottom: 26px;
}
.card .body {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.8;
}
.card .out {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid var(--faint);
}
.card .out .lb {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 9px;
}
.card .out .rc-geste {
  font-size: var(--fs-base);
  color: var(--paper);
  line-height: 1.6;
  margin-bottom: 22px;
}
.card .out .seuil {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.7;
}
.card .idle {
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: 1.8;
  margin: auto 0;
}
.card .idle b {
  color: var(--paper);
  font-weight: 400;
}

/* ─────────── III. LE DÉPLACEMENT ─────────── */
.deplacement {
  padding: clamp(80px, 13vh, 160px) 0;
  border-top: 1px solid var(--faint);
}
.geste {
  border-left: 2px solid var(--c1);
  padding-left: clamp(20px, 3vw, 38px);
  margin-bottom: clamp(50px, 8vh, 90px);
}
.geste .eyebrow {
  color: var(--c1);
  margin-bottom: 16px;
}
.geste p {
  font-family: var(--ff-serif);
  font-size: var(--fs-title-m);
  line-height: 1.2;
  max-width: 24ch;
}
.geste .def {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: 1.85;
  color: var(--muted);
  max-width: 62ch;
  margin-top: clamp(26px, 4vh, 40px);
}
.principes {
  margin-bottom: clamp(26px, 4vh, 42px);
}
.principes h3 {
  font-size: var(--fs-title-s);
  margin: 14px 0 12px;
  max-width: 24ch;
}
.principes p {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.8;
  max-width: 58ch;
}
.vgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
}
.v {
  background: var(--ink);
  padding: clamp(22px, 2.8vw, 32px);
  min-height: 160px;
}
.v .n {
  font-family: var(--ff-serif);
  font-size: var(--fs-sm);
  color: var(--vc);
  margin-bottom: 14px;
}
.v h4 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-xl);
  line-height: 1.25;
  margin-bottom: 11px;
}
.v h4 span {
  color: var(--vc);
}
.v p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
}
.v:nth-child(1) {
  --vc: var(--c1);
}
.v:nth-child(2) {
  --vc: var(--c2);
}
.v:nth-child(3) {
  --vc: var(--c3);
}
.v:nth-child(4) {
  --vc: var(--c4);
}

/* ─────────── IV. LA PRAXIS ─────────── */
.praxis {
  padding: clamp(70px, 11vh, 140px) 0;
  border-top: 1px solid var(--faint);
}
.objets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
  margin-top: clamp(26px, 4vh, 44px);
}
.objet {
  background: var(--ink);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-height: 215px;
  transition: background 0.5s ease;
}
.objet:hover {
  background: var(--ink);
}
.objet .k {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oc);
  font-weight: 500;
  margin-bottom: 18px;
}
.objet h4 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-2xl);
  line-height: 1.2;
  margin-bottom: 12px;
}
.objet p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.7;
}
.objet .go {
  margin-top: auto;
  padding-top: 18px;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 0.4s ease;
}
.objet:hover .go {
  color: var(--oc);
}
.objet:nth-child(1) {
  --oc: var(--c1);
}
.objet:nth-child(2) {
  --oc: var(--c2);
}
.objet:nth-child(3) {
  --oc: var(--c3);
}
.objet:nth-child(4) {
  --oc: var(--c4);
}

.lead-method {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.85;
  max-width: 64ch;
  margin-bottom: clamp(40px, 6vh, 66px);
}
.lead-method strong {
  color: var(--paper);
  font-weight: 400;
}

/* rôles */
.roles {
  margin-bottom: clamp(50px, 8vh, 90px);
}
.roles > .eyebrow {
  margin-bottom: 20px;
}
.rgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
}
.role {
  background: var(--ink);
  padding: clamp(22px, 2.8vw, 30px);
}
.role .rn {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  color: var(--paper);
  margin-bottom: 11px;
}
.role p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.7;
}
.rnote {
  margin-top: 20px;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.75;
  max-width: 64ch;
  font-style: italic;
}

/* préliminaire — dimensionner : carte détachée */
.prelim {
  background: var(--surface);
  border: 1px solid var(--faint);
  border-radius: 3px;
  padding: clamp(26px, 3.6vw, 52px);
  margin-bottom: clamp(56px, 9vh, 100px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 40px -6px rgba(255, 255, 255, 0.09),
    0 0 110px -20px rgba(255, 255, 255, 0.07);
}
.prelim h3 {
  font-size: var(--fs-title-m);
  margin: 12px 0 20px;
}
.plead {
  font-size: var(--fs-md);
  color: var(--paper);
  line-height: 1.85;
  max-width: 70ch;
}
.plead strong {
  color: var(--paper);
  font-weight: 400;
}

.obj {
  margin-top: clamp(32px, 5vh, 52px);
  border-top: 1px solid var(--faint);
  padding-top: 26px;
}
.olab {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 20px;
}
.peser .olab {
  margin-bottom: 10px;
}
.pintro {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.8;
  max-width: 60ch;
  margin-bottom: 26px;
}
.onote {
  margin-top: 16px;
  font-size: var(--fs-sm);
  color: var(--muted);
  font-style: italic;
}

.lvwrap {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: clamp(12px, 2vw, 22px);
  align-items: stretch;
}
@media (max-width: 700px) {
  .lvwrap {
    grid-template-columns: 1fr;
  }
  .lvaxis {
    display: none;
  }
}
.lvaxis {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 2px 0;
}
.lvaxis .t {
  white-space: nowrap;
}
.lvaxis .line {
  position: relative;
  flex: 1;
  width: 1px;
  min-height: 60px;
  margin-left: 11px;
  background: linear-gradient(180deg, var(--c3), var(--c5), #ff9f45, #f9566a);
}
.lvaxis .line::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: 0;
  width: 7px;
  height: 7px;
  border-right: 1px solid #f9566a;
  border-bottom: 1px solid #f9566a;
  transform: rotate(45deg) translate(-1px, -1px);
}
.lvls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lvline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 700px) {
  .lvline {
    grid-template-columns: 1fr;
  }
}
.ob {
  background: var(--ink);
  border: 1px solid var(--faint);
  border-radius: 4px;
  padding: 22px 20px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.ob h5 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-md);
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--paper);
}
.ob h5::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--lvl);
  margin-top: 14px;
}
.ob p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.65;
}
.lvline.n1 {
  --lvl: #2fffb4;
}
.lvline.n2 {
  --lvl: #ffea4d;
}
.lvline.n3 {
  --lvl: #ff9f45;
}
.lvline.n4 {
  --lvl: #f9566a;
}

/* la balance */
.peser {
  margin-top: clamp(34px, 5vh, 56px);
  border-top: 1px solid var(--faint);
  padding-top: 26px;
}
.pcols {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: clamp(10px, 2vw, 26px);
  align-items: stretch;
  margin-top: 18px;
}
@media (max-width: 760px) {
  .pcols {
    grid-template-columns: 1fr;
  }
  .pvs {
    display: none;
  }
}
.pside {
  background: var(--ink);
  border: 1px solid var(--faint);
  padding: clamp(20px, 2.6vw, 28px);
}
.pside .ph {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  margin-bottom: 8px;
}
.pside .ph span {
  font-size: var(--fs-xl);
  color: var(--muted);
  font-style: italic;
}
.pside .pd {
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 18px;
}
.pside ul {
  list-style: none;
}
.pside li {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
  padding: 8px 0;
  border-bottom: 1px solid rgba(36, 41, 50, 0.7);
}
.pside li:last-child {
  border-bottom: 0;
}
.pside.left .ph {
  color: var(--paper);
}
.pside.right .ph {
  color: var(--paper);
}
.pvs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: var(--fs-2xl);
  color: var(--paper);
}

.pres {
  margin-top: clamp(28px, 4vh, 44px);
}
.posits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.pos {
  background: var(--ink);
  padding: clamp(18px, 2.2vw, 24px);
  border-top: 2px solid var(--pc);
}
.pos span {
  display: block;
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  color: var(--pc);
  margin-bottom: 9px;
}
.pos p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
}
.pos.p1 {
  --pc: var(--c4);
}
.pos.p2 {
  --pc: #2fffb4;
}
.pos.p3 {
  --pc: #ffea4d;
}
.pos.p4 {
  --pc: var(--c1);
}
.pos.p5 {
  --pc: var(--c2);
}
.pres .onote em {
  color: var(--muted2);
}

.poutil {
  margin-top: clamp(26px, 4vh, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 4vw, 54px);
}
.poutil .sl {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
}
.poutil .sv {
  font-size: var(--fs-base);
  color: var(--paper);
  line-height: 1.5;
}
.poutil .sv.q {
  font-family: var(--ff-serif);
  color: var(--c1);
  font-size: var(--fs-md);
}

/* têtes d'étapes */
.etapes-head {
  margin-bottom: clamp(26px, 4vh, 42px);
}
.etapes-head h3 {
  font-size: var(--fs-title-s);
  margin: 14px 0 12px;
}
.etapes-head p {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.8;
  max-width: 60ch;
}

/* frise */
.frise {
  border-top: 1px solid var(--faint);
}
/* ===== ÉTAPES DES RÉCIPROCITÉS (reciprocites.html) — .rc-step ===== */
.rc-step {
  --stc: var(--paper);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(200px, 270px);
  gap: clamp(14px, 2.6vw, 40px);
  align-items: start;
  padding: clamp(24px, 3vw, 36px) clamp(10px, 1.6vw, 18px);
  border-bottom: 1px solid var(--faint);
  position: relative;
  isolation: isolate;
}
.rc-step::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--stc) 0%, transparent 82%);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.rc-step:hover::before {
  opacity: 0.045;
}
.rc-step.st1 {
  --stc: var(--c1);
}
.rc-step.st2 {
  --stc: var(--c2);
}
.rc-step.st3 {
  --stc: var(--c3);
}
.rc-step.st4 {
  --stc: var(--c4);
}
.rc-step.st5 {
  --stc: var(--c5);
}
.rc-step .sn {
  font-family: var(--ff-serif);
  font-size: var(--fs-base);
  color: var(--stc);
  padding-top: 6px;
}
.rc-step h4 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-title-s);
  margin-bottom: 12px;
  color: var(--stc);
}
.rc-step .sq {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--muted2);
  margin-bottom: 12px;
  max-width: 46ch;
}
.rc-step .st {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.75;
  max-width: 64ch;
}
.rc-step .sr {
  border-left: 1px solid var(--faint);
  padding-left: clamp(14px, 2vw, 24px);
}
.rc-step .sl {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 6px;
}
.rc-step .sv {
  font-size: var(--fs-base);
  color: var(--paper);
  line-height: 1.5;
  margin-bottom: 18px;
}
.rc-step .sv:last-child {
  margin-bottom: 0;
}
.rc-step .sv.q {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--stc);
  font-size: var(--fs-base);
}
@media (max-width: 820px) {
.rc-step {
    grid-template-columns: 38px 1fr;
}
.rc-step .sr {
    grid-column: 2;
    margin-top: 18px;
    border-left: 0;
    padding-left: 0;
}
}

.verbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.verbs span {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--faint);
  padding: 5px 11px;
}

.ouverture {
  margin-top: clamp(30px, 4.5vh, 48px);
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.8;
  max-width: 64ch;
  border-left: 1px solid var(--faint);
  padding-left: 18px;
}

/* ─────────── V. LA THÉORIE ─────────── */
.theorie {
  padding: clamp(70px, 11vh, 140px) 0;
  border-top: 1px solid var(--faint);
}
.cta-serie {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(30px, 5vh, 50px);
  padding: 18px 30px;
  border: 1px solid var(--faint);
  background: transparent;
  text-decoration: none;
  font-size: var(--fs-base);
  letter-spacing: 0.02em;
}
.cta-serie:hover,
.cta-serie:focus-visible {
  gap: 22px;
  outline: none;
}

.art {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: clamp(14px, 2.6vw, 36px);
  align-items: start;
  padding: clamp(20px, 2.8vw, 30px) clamp(12px, 1.8vw, 22px);
  border-bottom: 1px solid var(--faint);
  text-decoration: none;
  color: inherit;
  position: relative;
  isolation: isolate;
}
.art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--ac) 0%, transparent 90%);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.art:hover::before {
  opacity: 0.06;
}
.art .num {
  font-family: var(--ff-serif);
  font-size: var(--fs-base);
  color: var(--muted);
  padding-top: 5px;
  transition: color 0.4s ease;
}
.art:hover .num {
  color: var(--ac);
}
.art h3 {
  font-size: var(--fs-2xl);
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--muted2);
  transition: color 0.4s ease;
  max-width: 28ch;
}
.art:hover h3 {
  color: var(--paper);
}
.art .idea {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.7;
  max-width: 70ch;
}
.art:nth-of-type(1) {
  --ac: var(--c1);
}
.art:nth-of-type(2) {
  --ac: var(--c2);
}
.art:nth-of-type(3) {
  --ac: var(--c3);
}
.art:nth-of-type(4) {
  --ac: var(--c4);
}
.art:nth-of-type(5) {
  --ac: var(--c5);
}
@media (max-width: 640px) {
  .art {
    grid-template-columns: 34px 1fr;
  }
}

/* ─────────── VI. TRAVAILLER ENSEMBLE ─────────── */
.travail {
  padding: clamp(80px, 13vh, 160px) 0;
  border-top: 1px solid var(--faint);
}
.secteurs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
  margin-top: clamp(26px, 4vh, 44px);
}
.s {
  background: var(--ink);
  padding: clamp(22px, 2.8vw, 32px);
  min-height: 185px;
}
.s .n {
  font-family: var(--ff-serif);
  font-size: var(--fs-sm);
  color: var(--sc);
  margin-bottom: 14px;
}
.s h4 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-xl);
  line-height: 1.24;
  margin-bottom: 11px;
}
.s p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.65;
}
.s:nth-child(1) {
  --sc: var(--c1);
}
.s:nth-child(2) {
  --sc: var(--c2);
}
.s:nth-child(3) {
  --sc: var(--c3);
}
.s:nth-child(4) {
  --sc: var(--c4);
}

.clos {
  padding: clamp(70px, 11vh, 140px) 0;
  border-top: 1px solid var(--faint);
}
.clos blockquote {
  font-family: var(--ff-serif);
  font-size: var(--fs-title-l);
  line-height: 1.16;
  max-width: 24ch;
}
.clos blockquote span {
  color: var(--c5);
  font-style: italic;
}
.clos .after {
  margin-top: 32px;
  max-width: 58ch;
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: 1.8;
}
.clos .after + .after {
  margin-top: 20px;
}

/* liens par défaut : une seule couleur, soulignés discrètement (fini le
   jeu de couleurs). Les composants (nav, footer, cartes, boutons…) gardent
   leur propre style via text-decoration:none. */
a:link,
a:visited {
  color: var(--c1);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: color-mix(in srgb, var(--c1) 45%, transparent);
  transition: text-decoration-color 0.3s ease, color 0.3s ease;
}

a:hover,
a:active {
  color: var(--c1);
  text-decoration-color: var(--c1);
}
/* cta-serie : texte blanc, cyan au survol en douceur (bat le a:link global) */
a.cta-serie {
  color: var(--paper);
  transition: color 0.45s ease, border-color 0.45s ease, gap 0.4s ease-in-out;
}
a.cta-serie:hover,
a.cta-serie:focus-visible {
  color: var(--c1);
}
/* sur la page pratique, les cta-serie passent en vert au survol (texte + cadre) */
.pratique a.cta-serie:hover,
.pratique a.cta-serie:focus-visible {
  color: var(--c3);
  border-color: var(--c3);
}
/* liens "composants" (nav, cartes, boutons, footer, CTA) : jamais soulignés.
   Préfixe a. pour égaler la spécificité de a:link et gagner par l'ordre. */
a.site-brand, a.site-pill, a.site-contact,
a.proof-link, a.row, a.case, a.expl-card, a.cta-serie, a.fin-primaire, a.fin-secondaire,
a.prelim-go, a.porte, a.porte-seuil, a.porte-geste, a.porte-source,
a.station, a.serie-article, a.don-lien, a.don-more,
a.pi-exit, a.pi-back,
a.ft-more, a.ft-mail, a.ft-up {
  text-decoration: none;
}

ul {
  list-style: inside;
  padding-left: 0;
  margin-top: 10px;
}

li {
  line-height: 1.7;
  color: var(--paper);
  
}
/* Source: relation-paradigme-du-design.html */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--ff-sans);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  }
h1,
h2,
h3 {
  font-family: var(--ff-serif);
  font-weight: 400;
  line-height: 1.1;
}
.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 90px);
}
.eyebrow {
  font-size: var(--fs-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(26px, 3.4vh, 38px) 0;
  border-bottom: 1px solid var(--faint);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: inherit;
}
.mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  flex: none;
  position: relative;
  transition: border-color 0.5s ease;
}
.mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--muted);
  transition:
    background 0.5s ease,
    inset 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.brand:hover .mark {
  border-color: var(--c1);
}
.brand:hover .mark::after {
  background: var(--c1);
  inset: 9px;
}
.brand .name {
  font-family: var(--ff-serif);
  font-size: var(--fs-lg);
}
.menu {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.2vw, 44px);
}
.menu a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  transition: color 0.4s ease;
  padding-bottom: 3px;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.menu a:hover::after,
.menu a.on::after {
  transform: scaleX(1);
}
.menu a:nth-child(1):hover,
.menu a:nth-child(1).on {
  color: var(--c1);
}
.menu a:nth-child(2):hover {
  color: var(--c3);
}
.menu a.contact {
  color: var(--paper);
}
.menu a.contact:hover {
  color: var(--c5);
}
@media (max-width: 640px) {
  .brand .name {
    font-size: var(--fs-md);
  }
  .menu {
    gap: 15px;
  }
  .menu a {
    font-size: var(--fs-sm);
    letter-spacing: 0.02em;
  }
}

/* hero */
.hero {
  padding: clamp(40px, 7vh, 70px) 0 0;
  position: relative;
}
.hero .eyebrow {
  margin-bottom: clamp(26px, 4vh, 38px);
}
.hero h1 {
  font-size: var(--fs-display);
  letter-spacing: -0.02em;
  line-height: 1.04;
  max-width: 16ch;
  margin-bottom: clamp(120px, 16vh, 180px);
}
/* le mot qui se compose depuis les 5 couleurs */
.spectrum-word {
  position: relative;
  display: inline-block;
  font-style: italic;
  background: linear-gradient(
    90deg,
    var(--c1),
    var(--c2),
    var(--c3),
    var(--c4),
    var(--c5)
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: spectrumShift 9s ease-in-out infinite;
}
@keyframes spectrumShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.hero .lede {
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--muted2);
  max-width: 56ch;
  margin-bottom: clamp(14px, 2.4vh, 22px);
}
.hero .lede em {
  font-style: italic;
  color: var(--paper);
}

/* les cinq terrains du design : nom (--paper) + definition courte (--muted),
   alignes en deux colonnes, un terrain par ligne, fins filets entre */
.tdef {
  max-width: 675px;
  margin: 0 0 clamp(20px, 3vh, 30px);
  border-top: 1px solid var(--faint);
}
.tdef-row {
  display: flex;
  gap: clamp(10px, 1.4vw, 14px);
  padding: clamp(13px, 2.2vh, 18px) 0;
  border-bottom: 1px solid var(--faint);
  font-size: var(--fs-lg);
  line-height: 1.5;
}
/* filet d'entree (border-top du bloc) conserve, filet de sortie retire */
.tdef-row:last-child { border-bottom: none; }
.tdef-name {
  flex: none;
  width: clamp(130px, 15vw, 150px);
  color: var(--paper);
  font-weight: 500;
}
.tdef-txt { color: var(--muted); }
@media (max-width: 480px) {
  .tdef-name { width: 92px; }
}

/* série — le fil */
.serie {
  /* fusion des deux anciennes règles ; border-top retirée (le héros porte déjà son filet) */
  margin-top: clamp(26px, 4vh, 44px);
  padding: clamp(30px, 6vh, 70px) 0 clamp(90px, 15vh, 160px);
  position: relative;
}
.serie-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 7vh, 72px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--faint);
}
.serie-head .t {
  font-size: var(--fs-xl);
  font-family: var(--ff-serif);
  color: var(--muted2);
}
.serie-head .n {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* article 06 mis en avant juste après le héros (page série) — gabarit .prelim */
.prelim--solo {
  margin-top: clamp(30px, 5vh, 52px);
}
.prelim--solo .eyebrow {
  color: var(--c1);
  margin-bottom: 14px;
}
.prelim--solo h3 {
  font-family: var(--ff-serif);
  font-weight: 400;
  color: var(--paper);
}
.prelim-go {
  display: inline-block;
  margin-top: clamp(20px, 3vh, 28px);
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c1);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--c1) 40%, transparent);
  padding-bottom: 3px;
  transition: border-color 0.3s;
}
.prelim-go:hover {
  border-color: var(--c1);
}
/* pas de filet sous le héros quand le bloc 06 (ou son accroche) le suit (page série) */
.hero:has(+ .prelim--solo),
.hero:has(+ .solo-cue) {
  border-bottom: none;
}

/* accroche « si vous ne deviez en lire qu'un » au-dessus du bloc 06, alignee sur son texte interieur */
.solo-cue {
  margin: clamp(30px, 5vh, 52px) 0 16px;
  font-size: var(--fs-2xl);
  color: var(--paper);
  letter-spacing: 0.01em;
  font-family: var(--ff-serif);
}
.solo-cue + .prelim--solo {
  margin-top: 0;
}

/* la piste : rail vertical + fil coloré qui se trace */
.track {
  position: relative;
  display: grid;
  gap: 0;
  --rail: clamp(6px, 1.6vw, 14px);
}
.rail {
  position: absolute;
  left: var(--rail);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--faint);
  z-index: 0;
}
.thread {
  position: absolute;
  left: var(--rail);
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--c1) 0%,
    var(--c2) 25%,
    var(--c3) 50%,
    var(--c4) 75%,
    var(--c5) 100%
  );
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 1;
}
.track.drawn .thread {
  transform: scaleY(1);
}

/* chaque station */
.station {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: clamp(52px, 9vw, 96px) 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(30px, 5vh, 54px) 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--faint);
}
.station:last-child {
  border-bottom: none;
}
.station .node {
  position: relative;
  justify-self: stretch;
  margin-left: 0;
  width: auto;
  /* neutralise la collision avec le .node « carte » (min-height:250px + bordure
     + fond + padding) qui glissait un vilain cadre autour du numéro. */
  background: none;
  border: none;
  padding: 0;
  min-height: 0;
}
.station .dot {
  position: absolute;
  z-index: 3;
  left: var(--rail);
  top: clamp(11px, 2vw, 21px);
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--sc);
  margin: 0;
  box-shadow: 0 0 0 5px var(--ink);
  transition:
    background 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.station:hover .dot {
  background: var(--sc);
  transform: translateX(-50%) scale(1.25);
  box-shadow:
    0 0 0 5px var(--ink),
    0 0 22px -2px var(--sc);
}
.num {
  font-family: var(--ff-serif);
  font-size: var(--fs-title-l);
  color: var(--sc);
  line-height: 1;
  text-align: left;
  margin-top: 0;
  margin-left: clamp(24px, 4vw, 40px);
  opacity: 1;
  transition: opacity 0.45s ease;
}
.station:hover .num {
  opacity: 1;
}

.body {
  padding-top: 4px;
}
.body h3 {
  font-size: var(--fs-title-s);
  line-height: 1.18;
  color: var(--muted2);
  transition: color 0.45s ease;
  max-width: 26ch;
  margin-bottom: 12px;
}
.station:hover .body h3 {
  color: var(--paper);
}
.body .idea {
  font-size: var(--fs-md);
  color: var(--muted2);
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 18px;
}
.body .foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.body .read {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.body .go {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    color 0.45s ease,
    gap 0.45s ease;
}
.station:hover .body .go {
  color: var(--sc);
  gap: 12px;
}

html,
body {
  height: auto;
  min-height: 100%;
}
body {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Shared portfolio navigation */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  view-transition-name: site-nav;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 18px clamp(24px, 6vw, 90px);
  color: var(--paper);
  background: rgba(11, 13, 16, 0.86);
  border-bottom: 1px solid rgba(36, 41, 50, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-nav .site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav .site-mark {
  width: 28px;
  height: 42px;
  display: block;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 0 3px rgba(40, 230, 255, 0.16));
  }
.site-nav .site-brand:hover .site-mark {
  filter: drop-shadow(0 0 5px rgba(40, 230, 255, 0.3))
    drop-shadow(0 0 9px rgba(249, 104, 167, 0.16));
}
.site-nav .site-mark[src] {
  border: 0;
  border-radius: 0;
}
@keyframes logo-breathe {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 3px rgba(40, 230, 255, 0.14));
  }
  50% {
    transform: scale(1.025);
    filter: drop-shadow(0 0 5px rgba(40, 230, 255, 0.22))
      drop-shadow(0 0 8px rgba(159, 110, 255, 0.12));
  }
}
.site-nav .site-name {
  font-family: var(--ff-serif);
  font-size: var(--fs-lg);
}
.site-nav .site-role {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  color: var(--muted);
}
.site-nav .site-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
}
.site-nav .site-links a {
  position: relative;
  padding: 5px 0;
  color: var(--muted);
  font:
    400 12px/1.2 "Inter",
    sans-serif;
  letter-spacing: 0.05em;
  text-decoration: none;
  /* survol : la couleur doit répondre tout de suite */
  transition: color 0.12s ease-in;
}
.site-nav .site-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.16s ease-in;
}
.site-nav .site-links a:hover,
.site-nav .site-links a.active {
  color: var(--paper);
}
.site-nav .site-links a:hover::after,
.site-nav .site-links a.active::after {
  transform: scaleX(1);
}
/* item actif : blanc, comme le survol et Contact (pas de couleur par section) */
.site-nav .site-links a.site-contact {
  color: var(--paper);
}
body.has-site-nav {
  padding-top: 74px;
}
body.has-site-nav {
  animation: page-enter 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes page-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 760px) {
  .site-nav {
    min-height: 64px;
    padding: 14px 18px;
  }
  .site-nav .site-role {
    display: none;
  }
  .site-nav .site-links {
    gap: 13px;
  }
  .site-nav .site-links a {
    font-size: var(--fs-xs);
    letter-spacing: 0.02em;
  }
  body.has-site-nav {
    padding-top: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.has-site-nav {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav .site-mark {
    animation: none;
  }
}

.station.st1 {
  --sc: var(--c1);
}
.station.st2 {
  --sc: var(--c2);
}
.station.st3 {
  --sc: var(--c3);
}
.station.st4 {
  --sc: var(--c4);
}
.station.st5 {
  --sc: var(--c5);
}

/* reveal au scroll — global.
   L'état caché n'est appliqué QUE si le JS tourne (html.js-rv, posé par reveal.js).
   Sans JS, ou si reveal.js échoue, tout reste visible : aucun bloc ne peut disparaître. */
.js-rv .rv {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}
.js-rv .rv.in {
  opacity: 1;
  transform: none;
}
/* accessibilité : pas d'animation si l'utilisateur la refuse */
@media (prefers-reduced-motion: reduce) {
  .js-rv .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* anti-flash : le conteneur est masqué le temps que reveal.js marque les blocs,
   puis relâché (classe retirée). Failsafe JS de 1,2 s si le setup échoue. */
.js-rv-hold .wrap,
.js-rv-hold .article {
  visibility: hidden;
}

/* clôture */
.tail {
  padding: clamp(50px, 9vh, 100px) 0 clamp(70px, 12vh, 130px);
  border-top: 1px solid var(--faint);
  max-width: 60ch;
}
.tail p {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-2xl);
  line-height: 1.4;
  color: var(--muted2);
}
.back {
  margin-top: clamp(30px, 5vh, 44px);
}
.back a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--muted);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  transition:
    color 0.4s ease,
    gap 0.4s ease;
}
.back a:hover {
  color: var(--c1);
  gap: 14px;
}

footer {
  border-top: 1px solid var(--faint);
  padding: 44px 0 80px;
  font-size: var(--fs-sm);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
footer a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--faint);
}

@media (max-width: 640px) {
  .station {
    grid-template-columns: clamp(44px, 12vw, 60px) 1fr;
    gap: 16px;
  }
  .track {
    --rail: 11px;
  }
}

/* ============ PIED DE PAGE — v1 (index.html) ============ */
.ft {
  position: relative;
  z-index: 2;
  /* neutralise la règle générique `footer { display:flex; padding:44px 0 80px }` */
  display: block;
  padding: 0;
  margin-top: clamp(70px, 11vh, 130px);
  background: var(--ink);
  border-top: 1px solid var(--faint);
  font-size: var(--fs-sm);
  color: var(--muted);
}
/* le fil : rappel du motif qui traverse tout le site */
.ft::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3), var(--c5), var(--c4));
  opacity: 0.55;
}
.ft-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) clamp(24px, 6vw, 72px) 0;
}
.ft-top {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) 2.15fr;
  gap: clamp(40px, 6vw, 90px);
}

/* — signature — */
.ft-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.ft-mark img {
  width: 26px;
  height: 40px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 0 4px rgba(40, 230, 255, 0.18));
}
.ft-name {
  font-family: var(--ff-serif);
  font-size: var(--fs-ft-name);
  color: var(--paper);
  line-height: 1.15;
}
.ft-role {
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.ft-role2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-ft-role);
  line-height: 1.1;
}

.ft-role2 em{
  font-style: italic;
  background: linear-gradient(
    90deg,
    var(--c2),
    var(--c1),
    var(--c3),
    var(--c5),
    var(--c4),
    var(--c2)
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: hue 11s linear infinite;
}

/* footer : nom et rôle sur une même ligne, séparés par un point médian */
.ft-ligne {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5em;
}
.ft-ligne .ft-role2::before {
  content: "·";
  margin-right: .5em;
  opacity: .5;
}

.ft-role3 {
  font-size: var(--fs-sm);
  font-weight: 200;
  color: var(--muted2);
  letter-spacing: 0.02em;
}

.ft-claim {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  line-height: 1.35;
  color: var(--muted2);
  max-width: 20ch;
  margin-bottom: 18px;
}
.ft-claim em {
  font-style: italic;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3), var(--c5));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ft-place {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--muted2);
  letter-spacing: 0.01em;
}
.ft-pin { width: 20px; height: 20px; flex: none; fill: var(--t-personne); }
.ft-ville { color: var(--paper); font-weight: 400; }

/* — colonnes — */
.ft-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.2vw, 48px);
}
/* la vieille règle `footer a { border-bottom }` soulignait tout : on ne garde
   le filet que sous les intitulés de colonne (.ft-h, qui porte le sien) */
.ft a {
  border-bottom: 0;
}
.ft-h {
  font-size: var(--fs-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--faint);
}
.ft-col ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.ft-col li {
  margin-bottom: 10px;
}
.ft-col a,
.ft-soon {
  display: flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  color: var(--muted2);
  font-size: var(--fs-base);
  line-height: 1.45;
  transition: color 0.3s ease;
}
.ft-col a:hover {
  color: var(--paper);
}
.ft-col .ft-tag {
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.ft-soon {
  color: var(--muted);
  cursor: default;
}

/* cas : chaque projet garde sa couleur */
.ft-cases li > * {
  position: relative;
  padding-left: 16px;
}
.ft-cases li > *::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--d);
  box-shadow: 0 0 8px -1px var(--d);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ft-cases a:hover {
  color: var(--d);
}
.ft-cases a:hover::before {
  transform: scale(1.7);
}
.ft-cases .ft-soon::before {
  opacity: 0.4;
}

/* série : numéros en serif */
.ft-num b {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-sm);
  color: var(--muted);
  flex: none;
  transition: color 0.3s ease;
}
.ft-num a:hover {
  color: var(--d);
}
.ft-num a:hover b {
  color: var(--d);
}

/* liens de bas de colonne — scopés dans .ft-col pour battre `.ft-col a` */
.ft-col .ft-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--c1);
  text-decoration: none;
  transition: gap 0.35s ease, color 0.3s ease;
}
.ft-col .ft-more:hover {
  gap: 13px;
  color: var(--c3);
}
.ft-col .ft-mail {
  font-size: var(--fs-sm);
  color: var(--muted2);
  word-break: break-word;
}
.ft-col .ft-mail:hover {
  color: var(--c1);
  gap: 8px;
}

/* contact : pastille holographique (même recette que .fin-primaire) */
.ft-col a.ft-pill {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --px: 50%;
  --py: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid color-mix(in srgb, var(--paper) 60%, transparent);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  box-shadow:
    0 6px 18px color-mix(in srgb, var(--ink) 25%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--paper) 70%, transparent);
  transition: box-shadow 0.28s ease, transform 0.16s ease;
}
.ft-col a.ft-pill:hover,
.ft-col a.ft-pill:focus-visible {
  color: var(--ink);
  box-shadow:
    0 10px 28px color-mix(in srgb, var(--ink) 34%, transparent),
    0 0 24px -6px var(--c1),
    inset 0 1px 0 color-mix(in srgb, var(--paper) 85%, transparent);
}
.ft-col a.ft-pill:hover .holo,
.ft-col a.ft-pill:focus-visible .holo { opacity: 1; }
.ft-col a.ft-pill:active { transform: translateY(1px) scale(0.985); }
.ft-pill .holo-label { position: relative; z-index: 2; }

/* réseaux : un logo et un nom par ligne, sous le lieu ; le nom est souligné en foil holographique */
.ft-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 14px;
}
.ft-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--paper);
  text-decoration: none;
}
.ft-logo { width: 20px; height: 20px; flex: none; fill: currentColor; }
.ft-social-txt { position: relative; padding-bottom: 3px; }
.ft-social-txt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: url("grain.png") 50% 87% / 740px 740px;
  filter: saturate(220%);
  transform-origin: bottom;
  transform: scaleY(0.5);
  transition: transform 0.3s ease, background-position 0.8s ease;
}
.ft-social a:hover .ft-social-txt::after,
.ft-social a:focus-visible .ft-social-txt::after {
  transform: scaleY(1.5);
  background-position: 10% 89%;
}

/* — bandeau bas — */
.ft-bottom {
  margin-top: clamp(40px, 6vh, 64px);
  padding: 20px 0 26px;
  border-top: 1px solid var(--faint);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--muted);
}
.ft-spectrum {
  display: flex;
  gap: 6px;
}
.ft-spectrum i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.ft-up {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.ft-up:hover {
  color: var(--paper);
}

@media (max-width: 980px) {
  .ft-top {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}
@media (max-width: 620px) {
  .ft-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ft-bottom {
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ft-cases li > *::before,
  .ft-more {
    transition: none;
  }
}

/* ============ FIGURES CLIQUABLES ============ */
.fig-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
}
.fig-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

/* lightbox : image agrandie, centrée sur fond noir, à sa définition réelle */
.fig-lb {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
}
.fig-lb[hidden] {
  display: none !important;
}
.fig-lb-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: zoom-out;
  background: rgba(4, 4, 6, 0.9);
  backdrop-filter: blur(4px);
  animation: donFade 0.35s ease;
}
.fig-lb-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 30px 80px -20px var(--ink);
  animation: donPop 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fig-lb-close {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 4vh, 34px);
  transform: translateX(-50%);
  z-index: 2;
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  backdrop-filter: blur(4px);
}
.fig-lb-close:active {
  transform: translateX(-50%) scale(0.88);
}
.fig-lb-close.is-pressed {
  animation: figPress 0.2s ease;
}
@keyframes figPress {
  40% {
    transform: translateX(-50%) scale(0.82);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fig-lb-backdrop,
  .fig-lb-img,
  .fig-lb-close.is-pressed {
    animation: none;
  }
}

/* ============ MENU HAMBURGER (mobile) ============ */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--paper);
  cursor: pointer;
  flex: none;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 2px;
  border-radius: 3px;
}
/* les trois barres : une réelle, deux en pseudo-éléments */
.nav-bars,
.nav-bars::before,
.nav-bars::after {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 1.5px;
  margin-left: -11px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.2s ease;
}
.nav-bars {
  top: 50%;
  margin-top: -0.75px;
}
.nav-bars::before,
.nav-bars::after {
  content: "";
  left: 0;
  margin-left: 0;
}
.nav-bars::before {
  top: -7px;
}
.nav-bars::after {
  top: 7px;
}
/* état ouvert : la barre du milieu disparaît, les deux autres se croisent */
.site-nav.nav-open .nav-bars {
  background: transparent;
}
.site-nav.nav-open .nav-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.site-nav.nav-open .nav-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }
  /* l'identité complète reste visible dans l'en-tête */
  .site-nav .site-role {
    display: inline;
  }
  /* un backdrop-filter sur la barre en ferait le bloc conteneur des
     éléments position:fixed qu'elle contient — le menu plein écran
     resterait alors enfermé dans la hauteur de la barre. */
  .site-nav {
    backdrop-filter: none;
    background: var(--ink);
  }

  /* le menu couvre toute la page : on est obligé de choisir */
  /* le menu est un enfant de .site-nav : son z-index le place dans la pile
     de la barre. Il doit rester SOUS le logo et le bouton, sinon il les couvre. */
  .site-nav .site-brand,
  .site-nav .nav-toggle {
    position: relative;
    z-index: 2;
  }
  .site-nav .site-links {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 1.6vh, 16px);
    padding: 92px 24px 56px;
    /* fond à 90 % : on devine la page derrière sans qu'elle gêne la lecture */
    background: color-mix(in srgb, var(--ink) 90%, transparent);
    /* le panneau descend depuis le haut, comme s'il sortait du bouton */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    /* cette transition-ci gouverne la FERMETURE */
    transition:
      opacity 0.5s ease,
      transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.6s;
  }
  .site-nav.nav-open .site-links {
    opacity: 1;
    visibility: visible;
    transform: none;
    /* et celle-ci l'OUVERTURE */
    transition:
      opacity 0.55s ease,
      transform 0.72s cubic-bezier(0.2, 0.7, 0.2, 1),
      visibility 0.72s;
  }

  /* les entrées arrivent en cascade derrière le panneau */
  .site-nav .site-links a {
    opacity: 0;
    transform: translateY(-18px);
    /* fermeture : douce, en légère cascade inverse */
    transition:
      opacity 0.4s ease,
      transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      color 0.12s ease-in;
  }
  .site-nav .site-links a:nth-child(1) {
    transition-delay: 0.16s, 0.16s, 0s;
  }
  .site-nav .site-links a:nth-child(2) {
    transition-delay: 0.12s, 0.12s, 0s;
  }
  .site-nav .site-links a:nth-child(3) {
    transition-delay: 0.08s, 0.08s, 0s;
  }
  .site-nav .site-links a:nth-child(4) {
    transition-delay: 0.04s, 0.04s, 0s;
  }
  .site-nav .site-links a:nth-child(5) {
    transition-delay: 0s, 0s, 0s;
  }
  .site-nav.nav-open .site-links a {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.5s ease,
      transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
      color 0.12s ease-in;
  }
  .site-nav.nav-open .site-links a:nth-child(1) {
    transition-delay: 0.22s, 0.22s, 0s;
  }
  .site-nav.nav-open .site-links a:nth-child(2) {
    transition-delay: 0.31s, 0.31s, 0s;
  }
  .site-nav.nav-open .site-links a:nth-child(3) {
    transition-delay: 0.4s, 0.4s, 0s;
  }
  .site-nav.nav-open .site-links a:nth-child(4) {
    transition-delay: 0.49s, 0.49s, 0s;
  }
  .site-nav.nav-open .site-links a:nth-child(5) {
    transition-delay: 0.58s, 0.58s, 0s;
  }

  /* grands, centrés, largement cliquables */
  .site-nav .site-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 460px;
    min-height: 64px;
    padding: 0;
    font-family: var(--ff-serif);
    font-size: var(--fs-title-m);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--paper);
  }
  .site-nav .site-links a.active {
    color: var(--c1);
  }
  /* Contact : blanc comme les autres entrées (il était violet par erreur) */
  .site-nav .site-links a.site-contact {
    color: var(--paper);
  }
  /* la pastille « Regarder autrement » suit la largeur de l'écran, mais plafonnée */
  .site-nav .site-links a.site-pill {
    width: 100%;
    max-width: 280px;
  }
  /* appui : un glow tant que le doigt est posé ; l'action part au relâchement (clic natif) */
  .site-nav .site-links a {
    -webkit-tap-highlight-color: transparent;
  }
  .site-nav .site-links a:active {
    color: var(--paper);
    border-radius: 999px;
    background: color-mix(in srgb, var(--c1) 20%, transparent);
    transform: scale(0.97);
    text-shadow: 0 0 12px var(--c1);
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--c1) 70%, transparent),
      0 0 28px 4px color-mix(in srgb, var(--c1) 60%, transparent),
      0 0 72px 14px color-mix(in srgb, var(--c1) 32%, transparent);
  }
  .site-nav .site-links a.site-pill:active {
    color: var(--ink);
    background: var(--paper);
    text-shadow: none;
    transform: scale(0.97);
    box-shadow:
      0 0 0 2px var(--c1),
      0 0 34px 8px color-mix(in srgb, var(--c1) 85%, transparent),
      0 0 84px 22px color-mix(in srgb, var(--c1) 45%, transparent);
  }
  /* le soulignement animé n'a pas de sens ici */
  .site-nav .site-links a::after {
    display: none;
  }

  /* pas de défilement de la page derrière le menu ouvert */
  body.nav-locked {
    overflow: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-bars,
  .nav-bars::before,
  .nav-bars::after,
  .site-nav .site-links,
  .site-nav .site-links a {
    transition: none;
    transition-delay: 0s;
  }
  /* pas de glissement ni de cascade : apparition simple */
  .site-nav .site-links,
  .site-nav .site-links a {
    transform: none;
  }
}

/* ============ LOGOS CLIENTS ============ */
.client img {
  /* deux plafonds : la largeur borne les logos allongés,
     la hauteur borne les carrés — l'ensemble reste optiquement équilibré */
  max-width: 64%;
  max-height: 42%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1);
  transition:
    opacity 0.35s ease,
    filter 0.35s ease;
}
.client:hover img {
  opacity: 1;
  filter: none;
}
/* logos livrés sur fond noir plein : `screen` rend le noir invisible
   sur --ink, sans toucher au tracé blanc */
.client-noir img {
  mix-blend-mode: screen;
}
/* le CNRS est carré : sans plafond de hauteur plus généreux il paraîtrait minuscule */
.client img[src*="cnrs"] {
  max-height: 58%;
  max-width: 42%;
}
@media (max-width: 620px) {
  .clients-grid {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  }
  .client img {
    max-width: 70%;
    max-height: 46%;
  }
}

/* les filets étaient dessinés par le fond de la grille traversant un gap de 1px :
   une rangée incomplète laissait alors voir un bloc vide. Chaque cellule porte
   maintenant ses propres bordures — l'espace restant est invisible. */
.clients-grid {
  gap: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--faint);
  border-left: 1px solid var(--faint);
}
.client {
  border-right: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
}

/* nombre de colonnes figé par palier : `auto-fill` laissait la grille tomber
   sur des répartitions bâtardes (4+4+1) selon la largeur de fenêtre. */
.clients-grid {
  grid-template-columns: repeat(5, 1fr);
}
.client img {
  max-width: 72%;
  max-height: 52%;
}
.client img[src*="cnrs"] {
  max-height: 68%;
  max-width: 48%;
}
@media (max-width: 980px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client img {
    max-width: 74%;
    max-height: 50%;
  }
}

/* Nespresso : le mot-clé n'occupe qu'une petite part de la toile, le reste
   est du noir neutralisé par `screen`. Il lui faut donc une image bien plus
   grande pour un tracé visible équivalent aux autres. */
.client img[src*="nespresso"] {
  max-width: 93%;
  max-height: 93%;
}

/* Nexans : tracé plus dense que les autres, réduit de 15 % pour l'équilibre optique */
.client img[src*="nexans"] {
  max-width: 61%;
  max-height: 44%;
}




/* ============ À PROPOS — la lettre ============ */
/* Gabarit repris de .prelim (page Réciprocités) : halo doux, titre retenu,
   texte au fil. Classe propre — même forme, autre intention. */
.lettre-zone {
  /* pas de hero ici, mais on garde exactement la respiration des autres pages
     sous la nav : mesuré à 138 px d'écart entre le bas de la barre et l'œilleton */
  padding-top: calc(clamp(80px, 16vh, 180px) - 18px);
  /* premiere section de la page : pas de filet superieur sous la nav */
  border-top: 0;
}
/* l œilleton s aligne sur le bord gauche de la carte, pas sur la gouttière de page */
/* aligné sur les œilletons des autres sections (« Où je me tiens »),
   c'est-à-dire au bord gauche de la page */
.lettre-zone > .eyebrow {
  margin: 0 0 32px;
}
.lettre {
  /* la carte prend toute la largeur de page, comme les autres sections.
     Le texte, lui, garde exactement sa mesure et sa position : le surplus
     devient de la marge à droite. Cest leffet recherché. */
  max-width: none;
  background: var(--surface);
  border: 1px solid var(--faint);
  border-radius: 3px;
  /* min abaissé pour le mobile : la carte se cumule déjà aux 24px du .wrap,
     26px de padding interne resserraient trop la colonne de lecture. */
  padding: clamp(20px, 3.6vw, 52px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 40px -6px rgba(255, 255, 255, 0.09),
    0 0 110px -20px rgba(255, 255, 255, 0.07);
}
/* même échelle que le h3 de .prelim : on ne crie pas sur cette page */
.lettre h1 {
  font-size: var(--fs-title-m);
  /* auto sur les côtés : le titre s'aligne sur le bloc de texte centré.
     Le raccourci « margin: 0 0 26px » remettait les côtés à zéro. */
  margin: 0 auto 26px;
  max-width: 696px;
}
.llead {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.85;
}
.llead + .llead {
  margin-top: clamp(20px, 3vh, 30px);
}
.llead strong {
  color: var(--paper);
  font-weight: 400;
}

/* en-tete « auteur » de la page À propos : portrait a gauche, titre a droite,
   aligne sur la colonne de texte (fini le rond centre au-dessus d'un texte a gauche) */
.lettre-head {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
  margin-bottom: clamp(26px, 4.5vh, 38px);
}
.lettre-head h1 {
  margin: 0;
  max-width: none;
}
.portrait-me {
  flex: none;
  width: clamp(120px, 20vw, 168px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid var(--faint);
  filter: saturate(0.9) contrast(1.03);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 60px -8px rgba(255, 255, 255, 0.18);
}
@media (max-width: 560px) {
  .lettre-head { flex-direction: column; align-items: flex-start; gap: 18px; }
}




/* ============ À PROPOS — la clôture ============ */
/* La page s'ouvre et se referme sur la même carte : le halo fait la parenthèse. */
.lettre-zone-fin {
  padding-top: 0;
}
.lettre-fin h2 {
  font-size: var(--fs-title-m);
  line-height: 1.2;
  margin-bottom: 24px;
  /* même mesure que le reste : un bloc plus étroit serait centré à part,
     et son bord gauche ne tomberait plus sur celui du texte */
  max-width: 696px;
}
.fin-emo {
  display: inline-block;
  font-size: 0.8em;
  margin-left: 4px;
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--c5) 55%, transparent));
}
.lettre-fin .llead {
  margin-bottom: clamp(30px, 4.5vh, 44px);
}
/* les deux appels les plus importants du site : un bouton plein, un lien souligné.
   Sélecteurs en .fin-liens a... pour passer devant a:link / a:hover globaux. */
.fin-liens {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 34px;
}
.fin-liens a {
  font-size: var(--fs-md);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.25s ease;
}
/* principal : même recette que la pastille de nav (papier, foil holographique grain.png piloté par site-nav.js) */
.fin-liens a.fin-primaire {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --px: 50%;
  --py: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border: 1px solid color-mix(in srgb, var(--paper) 60%, transparent);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
  box-shadow:
    0 6px 18px color-mix(in srgb, var(--ink) 25%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--paper) 70%, transparent);
  transition: box-shadow 0.28s ease, transform 0.16s ease;
}

.fin-liens a.fin-primaire:hover,
.fin-liens a.fin-primaire:focus-visible {
  color: var(--ink);
  box-shadow:
    0 10px 28px color-mix(in srgb, var(--ink) 34%, transparent),
    0 0 24px -6px var(--c1),
    inset 0 1px 0 color-mix(in srgb, var(--paper) 85%, transparent);
}
.fin-liens a.fin-primaire:hover .holo,
.fin-liens a.fin-primaire:focus-visible .holo { opacity: 1; }
.fin-liens a.fin-primaire:hover::after,
.fin-liens a.fin-primaire:focus-visible::after { transform: translateX(5px); }
.fin-liens a.fin-primaire:active { transform: translateY(1px) scale(0.985); }
/* secondaire : texte clair, soulignement en foil holographique (grain.png, comme la pastille de nav) qui s'épaissit au survol */
.fin-liens a:not(.fin-primaire) {
  position: relative;
  color: var(--paper);
  padding-bottom: 4px;
  transition: color 0.25s ease;
}
.fin-liens a:not(.fin-primaire)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: url("grain.png") 50% 87% / 740px 740px;
  filter: saturate(220%);
  transform-origin: bottom;
  transform: scaleY(0.5);
  transition: transform 0.3s ease, background-position 0.8s ease;
}
.fin-liens a:not(.fin-primaire):hover,
.fin-liens a:not(.fin-primaire):focus-visible {
  color: var(--paper);
}
.fin-liens a:not(.fin-primaire):hover::after,
.fin-liens a:not(.fin-primaire):focus-visible::after {
  transform: scaleY(1.5);
  background-position: 10% 89%;
}
/* héros : le secondaire est une pastille en contour, qui se remplit au survol */
.hero .fin-liens a:not(.fin-primaire) {
  padding: 13px 28px;
  border: 1px solid color-mix(in srgb, var(--paper) 45%, transparent);
  border-radius: 999px;
  background: transparent;
  transition: background-color 0.28s ease, border-color 0.28s ease, color 0.25s ease;
}
.hero .fin-liens a:not(.fin-primaire):hover,
.hero .fin-liens a:not(.fin-primaire):focus-visible {
  border-color: var(--paper);
  background: color-mix(in srgb, var(--paper) 12%, transparent);
}
.hero .fin-liens a:not(.fin-primaire)::after { display: none; }
.fin-liens a:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .fin-liens a, .fin-liens a::after { transition: none; }
}
/* la signature : la lettre est signée */
.fin-signature {
  margin-top: clamp(32px, 5vh, 48px);
  padding-top: clamp(20px, 3vh, 26px);
  border-top: 1px solid var(--faint);
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-2xl);
  color: var(--muted);
}

/* ============ À PROPOS — comment je travaille ============ */
/* De vrais paragraphes qui s'enchaînent : pas de colonnes, pas de cartes.
   L'émoji est en marge, le texte coule. */
.trav {
  max-width: 68ch;
}
.trav-para {
  position: relative;
  padding-left: clamp(38px, 4.5vw, 52px);
  font-size: var(--fs-md);
  line-height: 1.85;
  color: var(--muted);
}
.trav-para + .trav-para {
  margin-top: clamp(26px, 4vh, 40px);
  padding-top: clamp(26px, 4vh, 40px);
  border-top: 1px solid var(--faint);
}
.trav-emo {
  position: absolute;
  left: 0;
  top: 0.15em;
  font-size: var(--fs-xl);
  line-height: 1;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--sc) 45%, transparent));
}
.trav-para + .trav-para .trav-emo {
  top: calc(clamp(26px, 4vh, 40px) + 0.15em);
}
/* l'amorce porte la couleur du propos */
.trav-para strong {
  color: var(--sc);
  font-weight: 400;
}
/* les outils cités : présents, sans faire liste */
.trav-para em {
  font-style: normal;
  color: var(--muted2);
}

/* la carte est pleine largeur, mais son contenu reste à la mesure d'origine
   (800 px de carte moins 2 × 52 px de retrait) : rien ne bouge à gauche. */
.lettre > * {
  max-width: 696px;
  /* centré dans la carte pleine largeur : marges égales à gauche et à droite,
     sans toucher aux marges verticales */
  margin-inline: auto;
}

/* ============ TITRES : GLYPHES NON ROGNÉS ============ */
/* Avec background-clip:text le dégradé n'est peint que dans la boîte de
   l'élément. En italique, ascendantes et descendantes débordent de cette
   boîte et se retrouvent sans peinture — donc invisibles.
   On agrandit la zone peinte sans déplacer la mise en page. */
.spectrum-word,
.ft-claim em {
  padding-block: 0.16em;
  margin-block: -0.16em;
}
/* line-height 1.1 est trop serré pour l'italique d'Instrument Serif :
   suffisant pour la peinture, mais les glyphes sortent encore du flux.
   On desserre juste ce qu'il faut sur les titres qui portent de l'italique. */
h1 em,
h2 em,
h3 em,
h1 .spectrum-word,
h2 .spectrum-word {
  line-height: 1.22;
}

/* ==========================================================================
   Série « Regarder autrement » — 5 articles + 2 pages d'entrée
   Tout ce qui suit est ADDITIF : aucune de ces classes n'existait avant.
   Le gros du gabarit d'article est réutilisé tel quel (.hero, .article,
   .chapeau, .section-title, .pull-quote, .paradigms, .definition,
   .condition, .conclusion, .serie-nav) — voir les anciens articles.
   ========================================================================== */

/* accent par article : le site code déjà la série en c1→c5 (.serie-articles) */
.art-1 { --accent: var(--c1); }
.art-2 { --accent: var(--c2); }
.art-3 { --accent: var(--c3); }
.art-4 { --accent: var(--c4); }
.art-5 { --accent: var(--c5); }
.art-6 { --accent: var(--c1); }

/* l'assertion isolée : sérif, couleur d'accent, sans filet (≠ .pull-quote) */
.claim {
  font-family: var(--ff-serif);
  font-size: var(--fs-2xl);
  line-height: 1.24;
  color: var(--accent);
  margin: clamp(30px, 5vh, 44px) 0;
}

/* bibliographie de fin d'article */
.biblio {
  border-top: 1px solid var(--faint);
  margin-top: clamp(48px, 8vh, 64px);
  padding-top: 40px;
}
.biblio h2 { font-size: var(--fs-xl); margin: 0 0 6px; }
.biblio .biblio-intro { font-size: var(--fs-base); color: var(--muted); margin-bottom: 30px; }
.biblio h3 {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 30px 0 4px;
}
.biblio ul { list-style: none; padding: 0; margin: 0; }
.biblio li {
  padding: 15px 0;
  border-bottom: 1px solid var(--faint);
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--muted2);
}
.biblio li .a { color: var(--paper); font-weight: 500; }
.biblio li .ti { font-style: italic; color: var(--paper); }
.biblio li .pub { color: var(--muted); }
.biblio li .note { display: block; margin-top: 5px; font-size: var(--fs-sm); color: var(--muted); }

/* la pastille de navigation */
/* pastille : voir le bloc holographique en fin de fichier */

/* --- « Regarder autrement » : les trois portes ------------------------- */
.portes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-block: 20px clamp(70px, 12vh, 110px);
}
a.porte,
.porte {
  border-radius: 16px;
  padding: 36px 30px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  background: var(--pc);
}
.porte:hover,
.porte:focus-visible { outline: none; }
.porte-idx {
  color: var(--ink);
  font-size: var(--fs-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.65;
}
.porte h2 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-title-m);
  line-height: 1.12;
  margin: 16px 0 14px;
  color: var(--ink);
}
.porte-desc {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: rgba(11, 13, 16, 0.82);
}
.porte-foot { margin-top: auto; padding-top: 26px; }
.porte-meta {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(11, 13, 16, 0.7);
  margin-bottom: 14px;
}
.porte-go {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(11, 13, 16, 0.35);
  border-radius: 999px;
  padding: 11px 20px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.porte:hover .porte-go {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.porte-seuil  { --pc: var(--c1); }
.porte-source { --pc: var(--c2); }
.porte-geste  { --pc: var(--c3); }

.ra-intro { padding-block: clamp(60px, 10vh, 90px) 40px; }
.ra-intro h1 { max-width: 12ch; }
.ra-charniere {
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--paper);
  margin-top: 30px;
  max-width: 620px;
}
.ra-promesse { font-size: var(--fs-md); color: var(--muted); margin-top: 18px; max-width: 600px; }

@media (max-width: 820px) {
  .portes { grid-template-columns: 1fr; }
  .porte { min-height: 0; }
}

/* --- table de correspondances (article 02) ---------------------------- */
.corresp { border-top: 1px solid var(--faint); margin: clamp(30px, 5vh, 40px) 0; }
.corresp-row {
  display: grid;
  grid-template-columns: 1fr 96px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--faint);
}
.corresp-a b,
.corresp-b b {
  display: block;
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-lg);
  color: var(--paper);
}
.corresp-b b { color: var(--accent); }
.corresp-a span,
.corresp-b span { font-size: var(--fs-sm); color: var(--muted); }
.corresp-eq {
  text-align: center;
  color: var(--muted);
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-sm);
  line-height: 1.2;
}
@media (max-width: 600px) {
  .corresp-row { grid-template-columns: 1fr; gap: 5px; }
  .corresp-eq { display: none; }
}

/* definition sur deux paragraphes (article 03) */
.definition-text + .definition-text { margin-top: 12px; }

/* --- incise en marge (articles 02 et 04) ------------------------------- */
.aside {
  border-left: 2px solid var(--faint);
  padding-left: 22px;
  margin: clamp(30px, 5vh, 40px) 0;
  font-size: var(--fs-md);
  color: var(--muted2);
}
.aside strong { color: var(--paper); font-weight: 500; }

/* --- comparaison en deux colonnes (article 06) ------------------------- */
.split {
  border-top: 1px solid var(--faint);
  margin: clamp(36px, 6vh, 48px) 0 0;
}
.split .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3vh, 26px) 0;
  border-bottom: 1px solid var(--faint);
}
.split .h {
  font-family: var(--ff-serif);
  font-size: var(--fs-lg);
  margin-bottom: 8px;
}
.split .l .h { color: var(--muted); }
.split .r .h { color: var(--accent); }
.split p { font-size: var(--fs-md); line-height: 1.6; color: var(--muted2); margin: 0; }
@media (max-width: 600px) {
  .split .row { grid-template-columns: 1fr; gap: 10px; }
}

/* --- les trois terrains (article 06) ----------------------------------- */
.terrains {
  border-top: 1px solid var(--faint);
  margin: clamp(28px, 4vh, 36px) 0 0;
}
.terrain {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: clamp(16px, 2.4vw, 24px);
  padding: clamp(20px, 3vh, 26px) 0;
  border-bottom: 1px solid var(--faint);
}
.terrain .n {
  font-family: var(--ff-serif);
  font-size: var(--fs-2xl);
  color: var(--accent);
  line-height: 1;
}
.terrain h4 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-lg);
  color: var(--paper);
  margin-bottom: 8px;
}
.terrain p { font-size: var(--fs-md); line-height: 1.6; color: var(--muted2); margin: 0; }
@media (max-width: 600px) {
  .terrain { grid-template-columns: 1fr; gap: 6px; }
}

/* --- le cercle vertueux (article 05) ----------------------------------- */
.cercle {
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 34px 30px;
  margin: clamp(36px, 6vh, 46px) 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 5%, transparent), transparent);
  text-align: center;
  color: var(--accent);
}
.cercle-lab {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.cercle svg { max-width: 340px; width: 100%; height: auto; margin: 0 auto; display: block; }
.cercle-node { fill: var(--ink); }
.cercle-lbl { fill: var(--paper); }
.cercle-ring {
  margin-top: 8px;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--muted2);
}
.cercle-ring b { color: var(--accent); font-weight: 500; }

/* --- l'envoi final de la série (article 05) ---------------------------- */
.envoi { border-top: 1px solid var(--faint); padding: 56px 0; text-align: center; }
.envoi p {
  font-family: var(--ff-serif);
  font-size: var(--fs-2xl);
  line-height: 1.3;
  color: var(--paper);
  max-width: 600px;
  margin: 0 auto;
}

/* --- La pratique ------------------------------------------------------- */
.pratique { --accent: var(--c3); }

/* le cadre d'orientation */
.cadre {
  border: 1px solid var(--faint);
  border-radius: 10px;
  padding: clamp(24px, 3.4vw, 38px);
  margin: clamp(34px, 5vh, 46px) 0;
  color: var(--accent);
}
.cadre-tag {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.cadre h3 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-2xl);
  line-height: 1.2;
  color: var(--paper);
  margin: 0 0 10px;
}
.cadre > p { color: var(--muted); font-size: var(--fs-base); margin: 0 0 22px; }
.cadre svg { width: 100%; max-width: 620px; height: auto; margin: 0 auto; display: block; }
.cadre-node { fill: var(--ink); }
.cadre-nom { fill: var(--paper); }
.cadre-sous { fill: var(--muted); }
.cadre-cap {
  font-size: var(--fs-sm);
  color: var(--muted);
  text-align: center;
  margin: 14px 0 0;
}

/* liste « libellé + explication » — sert au cadre ET aux traces */
.paire { margin-top: clamp(24px, 4vh, 34px); }
.paire-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--faint);
}
.paire-nom {
  font-family: var(--ff-serif);
  font-size: var(--fs-lg);
  line-height: 1.2;
  color: var(--paper);
}
.paire-nom span {
  display: block;
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}
.paire-row p { margin: 0; font-size: var(--fs-base); color: var(--muted2); }
@media (max-width: 640px) {
  .paire-row { grid-template-columns: 1fr; gap: 8px; }
}

/* la porte vers une autre entrée */
.porte-lat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  border: 1px solid var(--faint);
  border-radius: 10px;
  padding: clamp(24px, 3vw, 34px);
  margin: clamp(30px, 5vh, 44px) 0;
}
.porte-lat-l {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.porte-lat h4 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-2xl);
  color: var(--paper);
  margin: 0 0 8px;
}
.porte-lat p { margin: 0; font-size: var(--fs-base); color: var(--muted); max-width: 60ch; }

/* rangée de liens d'action */
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 4vh, 34px); }
.actions .cta-serie { margin-top: 0; }

/* ==========================================================================
   Effets holographiques — même recette que le bouton « Et si…? »
   (grain.png à 600 % piloté par --px/--py), sans les inclinaisons.
   ========================================================================== */

/* --- la pastille de navigation ---------------------------------------- */
.site-nav .site-links a.site-pill {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --px: 50%;
  --py: 50%;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 500;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: box-shadow 0.28s ease, transform 0.16s ease;
}
.site-nav .site-links a.site-pill::after { display: none; }
.holo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* la couleur vient de grain.png lui-meme : c est un foil pastel iride.
     Aucun degrade ajoute — exactement la source du bouton #syc-btn. */
  background-image: url("grain.png");
  background-size: 
  600% 600%;
  background-position: var(--px) var(--py);
  /* meme saturation que le backdrop-filter de la reference */
  filter: saturate(158%);
  /* multiply au lieu de screen : la reference est posee sur un disque
     colore, nous sur du blanc — screen y serait invisible */
  mix-blend-mode: multiply;
  opacity: 0.62;
  transition: opacity 0.28s ease, background-position 0.25s ease;
}
/* ====================== PASTILLE ISOLEE ==============================
   Le calque holographique de la pastille de nav ne depend PLUS de la
   regle generique .holo : toutes ses proprietes sont declarees ici.
   Toucher .holo (cartes, ou tout autre composant) ne peut plus
   l affecter. NE RIEN MODIFIER ICI sans demande explicite de Brann.
   Etat fige : grain.png 600% . multiply . 0.62 . saturate(158%)
   ==================================================================== */
.holo-label { 
  font-weight: 600;
}
.site-nav .site-links a.site-pill .holo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("grain.png");
  background-size: 600% 600%;
  background-position: var(--px) var(--py);
  background-blend-mode: normal;
  filter: saturate(158%);
  mix-blend-mode: multiply;
  opacity: 0.62;
  transition: opacity 0.28s ease, background-position 0.25s ease;
}
.site-pill .holo-label { position: relative; z-index: 2; }
.site-nav .site-links a.site-pill:hover,
.site-nav .site-links a.site-pill:focus-visible {
  color: var(--ink);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.34),
    0 0 24px -6px var(--c1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.site-nav .site-links a.site-pill:hover .holo,
.site-nav .site-links a.site-pill:focus-visible .holo { opacity: 1; }
.site-nav .site-links a.site-pill:active { transform: translateY(1px) scale(0.985); }

/* séparateur de nav + entrée « Explorations » */
.site-nav .site-links .site-sep {
  color: var(--faint);
  font-size: var(--fs-sm);
  user-select: none;
}

/* --- les trois portes : verre depoli ------------------------------------
   Reprise du fond de #syc-btn : rgba blanc + backdrop-filter blur/saturate,
   grain en screen. Textes en noir. Aucune elevation au survol.
   NE PAS mutualiser ces regles avec celles de la pastille de nav. */
a.porte,
.porte {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --px: 50%;
  --py: 50%;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--ink);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.porte > *:not(.holo) { position: relative; z-index: 2; }
.porte .holo {
  mix-blend-mode: multiply;
  filter: saturate(158%);
  opacity: 0.62;
}
.porte:hover .holo,
.porte:focus-visible .holo { opacity: 0.85; }
.porte:hover,
.porte:focus-visible {
  background: var(--paper);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.34),
    0 0 32px -10px var(--pc),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.porte:active { background: var(--paper); }

/* tous les textes de la carte en noir */
.porte h2,
.porte-idx,
.porte-desc,
.porte-meta,
.porte-go { color: var(--ink); }
.porte-idx { opacity: 1; }
.porte-desc { color: rgba(11, 13, 16, 0.82); }
.porte-meta { color: rgba(11, 13, 16, 0.7); }
.porte-go { border-color: rgba(11, 13, 16, 0.35); }
.porte:hover .porte-go {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.porte-seuil  { --pc: var(--c1); }
.porte-source { --pc: var(--c2); }
.porte-geste  { --pc: var(--c3); }

.ra-intro { padding-block: clamp(60px, 10vh, 90px) 40px; }
.ra-intro h1 { max-width: 12ch; }
.ra-charniere {
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--paper);
  margin-top: 30px;
  max-width: 620px;
}
.ra-promesse { font-size: var(--fs-md); color: var(--muted); margin-top: 18px; max-width: 600px; }

@media (max-width: 820px) {
  .portes { grid-template-columns: 1fr; }
  .porte { min-height: 0; }
}

/* --- landing : pont + constat + scene refondue ----------------------- */

/* --- constat : sortir du full-bleed, rentrer dans .wrap avec radius --- */
.sy-constat-section {
  padding: clamp(60px, 10vh, 120px) 0 clamp(40px, 7vh, 70px);
}
.sy-stage {
  position: relative;
  width: 100%;
  left: auto;
  transform: none;
  overflow: hidden;
  border-radius: 16px;
  --sc: #28e6ff;
  background: #c9b8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vh, 36px);
  text-align: center;
  padding: clamp(40px, 6vh, 60px) clamp(20px, 3vw, 40px) clamp(30px, 5vh, 50px);
}
.sy-constat-row {
  gap: clamp(8px, 1.4vw, 16px);
}
.sy-nav-arrow {
  padding: 0 2px;
  font-size: var(--fs-title-l);
}

/* Constat en mobile : resserrer les grands vides verticaux (les gaps de 120px /
   70px sont pensés pour le plein ecran, pas pour un telephone) et laisser le
   constat grandir au lieu d'etre bloque a 4 lignes (sinon un texte long deborde). */
@media (max-width: 600px) {
  /* carte plus compacte en haut et en bas, plus d'air entre les éléments, marges latérales réduites */
  .sy-stage { padding: clamp(22px, 3.5vh, 30px) 12px clamp(18px, 3vh, 26px); gap: clamp(28px, 4.5vh, 40px); }
  .sy-slider { gap: clamp(28px, 5vh, 44px); }
  .sy-btn-group { gap: clamp(22px, 3.5vh, 30px); }
  .sy-constat { height: auto; min-height: calc(1.3em * 4); font-size: clamp(1.2rem, 5.2vw, 1.9rem); }
  .sy-titre { font-size: clamp(1.45rem, 6.2vw, 2.2rem); line-height: 1.25; }
  .sy-btn { font-size: clamp(1.3rem, 5.6vw, 1.9rem); padding: 12px 30px; min-width: 0; }
  /* la bulle d'hypothese a besoin de plus de largeur sur telephone. Avec
     width:auto (defaut), le conteneur flex + texte qui s'enroule s'effondre en
     colonne etroite : on impose donc une largeur EXPLICITE, et on reduit le
     padding lateral. */
  .sy-sticker { width: 94%; max-width: 94%; padding: clamp(18px, 4vw, 26px) clamp(18px, 4vw, 24px); }
  .sy-hypo { max-width: 100%; font-size: 1.4rem; }
}

/* --- scene : cercle central, CTA en dessous --- */

/* le pl-line2 devient "Je vous invite a", centre, sous le logo */
.pl-line2-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* le bouton final : meme police, meme taille, italique, centre */
a.pl-cta {
  display: inline-block;
  padding: 12px 34px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--paper);
  border-radius: 999px;
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-title-l);
  line-height: 1.12;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s, background 0.25s ease, color 0.25s ease;
}
a.pl-cta,
.pl-scene.revealed a.pl-cta {
  opacity: 1;
  transform: translateY(0);
}
a.pl-cta:hover, a.pl-cta:focus-visible {
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

/* --- landing / scene : "Et ensuite...?" dans le disque, "Je vous invite a" + bouton apparaissent en dessous ---
   Structure : pl-etincelle en haut du pl-content, logo au milieu, pl-invite en bas.
   Au repos : etincelle en blanc, invite cachee.
   Apres clic (pl-scene.revealed) : le fond du disque passe en spectre colore,
   l etincelle passe en noir pour rester lisible, l invite apparait sous le logo. */

.pl-content {
  gap: clamp(18px, 2.6vh, 32px);
}

.pl-etincelle {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-title-l);
  line-height: 1;
  color: var(--paper);
  text-shadow:
    0 0 30px rgba(255, 255, 255, 0.35),
    0 0 60px rgba(255, 255, 255, 0.15);
  transition: color 0.6s ease, text-shadow 0.6s ease;
}
.pl-etincelle i { font-style: italic; opacity: 0.85; }

.pl-invite {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.8vh, 20px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 0.25s, transform 0.5s ease 0.25s;
  pointer-events: none;
}
.pl-invite .pl-line2 {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-title-l);
  line-height: 1;
  color: var(--ink);
  text-shadow: none;
  animation: none;
  opacity: 1;
  transform: none;
  margin: 0;
  max-width: none;
  letter-spacing: 0;
}
a.pl-cta {
  display: inline-block;
  padding: 10px 30px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-title-l);
  line-height: 1;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
a.pl-cta:hover, a.pl-cta:focus-visible {
  background: transparent;
  color: var(--ink);
  outline: none;
}

/* revele */
.pl-scene.revealed .pl-etincelle {
  color: var(--ink);
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.35);
}
.pl-scene.revealed .pl-invite {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* landing : pas de trait sous le hero avant le pont */
header.hero { border-bottom: none; }

/* --- articles : hero centre dans la meme colonne que .article + fond adouci --- */
body.has-site-nav[class*="art-"] .hero,
body.has-site-nav.pratique .hero {
  max-width: 800px;
  margin: 0 auto;
  padding-inline: 24px;
  min-height: 0;
  display: block;
}
body.has-site-nav[class*="art-"] .hero-title,
body.has-site-nav.pratique .hero-title {
  max-width: none;
}
body.has-site-nav[class*="art-"] .hero-bg,
body.has-site-nav.pratique .hero-bg {
  /* on remonte la luminance du hero article — moins etouffe */
  background:
    radial-gradient(ellipse 70% 90% at 50% 15%,
      color-mix(in srgb, var(--accent) 22%, transparent) 0%,
      transparent 60%),
    radial-gradient(ellipse 40% 60% at 90% 95%,
      rgba(255, 255, 255, 0.05) 0%, transparent 55%);
}


/* --- landing / scene : ajustements v3 ---
   Marges autour du logo augmentees, tailles de texte homogenes plus petites,
   logo plus petit et bien centre, disque un cran plus compact. */
.pl-disc {
  width: clamp(380px, 78vmin, 720px);
}
.pl-content {
  gap: clamp(36px, 5.5vh, 64px);
}
.pl-logo {
  width: clamp(64px, 8vmin, 96px);
  height: auto;
  margin: 0 auto;
}
.pl-logo img { width: 100%; height: auto; }
.pl-etincelle span,
.pl-invite .pl-line2,
a.pl-cta {
  font-size: var(--fs-title-s);
}
a.pl-cta {
  padding: 8px 24px;
}

/* --- héros : bloc signature (portrait + identité) --- */
.hero-sig {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  margin: clamp(8px, 2vh, 16px) 0 clamp(24px, 4vh, 36px);
}
.sig-portrait {
  position: relative;
  width: clamp(168px, 15vw, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--faint);
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 60px -8px rgba(255, 255, 255, 0.18);
  flex: none;
}
.sig-portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
}
.sig-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-serif);
  font-size: var(--fs-title-s);
  color: var(--muted);
}
.sig-ident { 
  text-align: left; 
  min-width: 0;
  max-width: 390px; }
/* textes du bloc signature du héros : classes propres, indépendantes du footer (.ft-*) */
.sig-name {
  font-family: var(--ff-serif);
  font-size: var(--fs-sig-name);
  color: var(--paper);
  line-height: 1.15;
}
.sig-role {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-sig-role);
  line-height: 1.1;
}
.sig-role em {
  font-style: italic;
  background: linear-gradient(90deg, var(--c2), var(--c1), var(--c3), var(--c5), var(--c4), var(--c2));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: hue 11s linear infinite;
}
.sig-desc {
  font-size: var(--fs-sig-desc);
  font-weight: 200;
  color: var(--muted2);
  letter-spacing: 0.02em;
}
.sig-claim {
  font-family: var(--ff-serif);
  font-size: var(--fs-sig-claim);
  font-style: italic;
  font-weight: 200;
  color: var(--paper);
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin-top: clamp(8px, 1vw, 20px);
}
@media (max-width: 720px) {
  /* mobile : le portrait passe au-dessus du texte, aligné à gauche, et reste assez grand */
  .hero-sig { flex-direction: column; align-items: flex-start; gap: 20px; }
  .sig-portrait { width: clamp(140px, 42vw, 176px); }
}

.ident-ligne {
  display: flex;
  align-items: baseline;   /* aligne les deux textes sur leur ligne de base */
  flex-wrap: wrap;         /* passe à la ligne proprement sur mobile si ça ne tient pas */
  gap: .5em;
}

/* le point médian entre les deux, ajouté en CSS */
.ident-ligne .sig-role::before {
  content: "·";
  margin-right: .5em;
  opacity: .5;
}

/* ============================================================
   EXPLORATION — ligne de filtres + grille de projets
   Source: explorations.html
   ============================================================ */
.expl-filters {
  padding: clamp(10px, 2vh, 20px) 0 clamp(30px, 5vh, 50px);
  border-top: 1px solid var(--faint);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.expl-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.expl-filter {
  appearance: none;
  border: 1px solid var(--faint);
  background: rgba(16, 20, 26, 0.5);
  color: var(--muted);
  font: 400 12px/1.2 "Inter", sans-serif;
  letter-spacing: 0.03em;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    border-color 0.35s ease,
    color 0.35s ease,
    background 0.35s ease;
}
.expl-filter:hover {
  color: var(--paper);
  border-color: var(--muted);
}
.expl-filter[data-filter="all"] {
  color: var(--paper);
  font-weight: 500;
}
.expl-filter.is-active {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

/* la grille : trois rectangles par ligne */
.expl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: clamp(10px, 2vh, 20px) 0 clamp(60px, 9vh, 110px);
}
@media (max-width: 900px) {
  .expl-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .expl-grid {
    grid-template-columns: 1fr;
  }
  .expl-filter {
    font-size: var(--fs-xs);
    padding: 8px 13px;
  }
}

/* essai : carte claire, texte noir, qui s'eclaircit au survol
   (au lieu du fond sombre / texte clair) */
.expl-card {
  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  padding: 24px 24px 26px;
  background: rgba(242, 242, 240, 0.5);
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition:
    background 0.5s ease,
    box-shadow 0.5s ease;
  min-right
}
/* foil holographique, comme les portes de regarder-autrement : grain.png
   pense pour du multiply sur un fond clair, donc plus de delavage ici.
   Chaque carte derive de maniere autonome (duree/decalage propres a
   elle) au lieu de suivre la meme position de souris que les autres :
   c'est ce qui les decouple les unes des autres. */
@keyframes expl-holo-drift {
  0%   { background-position: 15% 25%; }
  25%  { background-position: 85% 15%; }
  50%  { background-position: 70% 85%; }
  75%  { background-position: 25% 75%; }
  100% { background-position: 15% 25%; }
}
.expl-card .holo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("grain.png");
  background-size: 600% 600%;
  filter: saturate(158%);
  mix-blend-mode: multiply;
  opacity: 0.45;
  animation: expl-holo-drift 16s ease-in-out infinite;
  transition: opacity 0.4s ease;
}
.expl-card.rv.in {
  min-height: 304px; /* example value, adjust as needed */
}

.expl-grid .expl-card:nth-child(1) .holo { animation-duration: 16s; animation-delay: 0s; }
.expl-grid .expl-card:nth-child(2) .holo { animation-duration: 19s; animation-delay: -4s; }
.expl-grid .expl-card:nth-child(3) .holo { animation-duration: 13s; animation-delay: -8s; }
.expl-grid .expl-card:nth-child(4) .holo { animation-duration: 21s; animation-delay: -2s; }
.expl-grid .expl-card:nth-child(5) .holo { animation-duration: 15s; animation-delay: -10s; }
/* carte active (lien) : plus claire au repos, voile réduit pour la lisibilité */
a.expl-card {
  background: rgba(242, 242, 240, 0.92);
}
a.expl-card .holo {
  opacity: 0.2;
}
a.expl-card:hover .holo {
  opacity: 0.38;
}
.expl-card > *:not(.holo) {
  position: relative;
  z-index: 1;
}
a.expl-card:hover {
  background: rgba(242, 242, 240, 1);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.expl-card.is-hidden {
  display: none;
}
.expl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  position: fixed;
  bottom: 0;

}
.expl-tags span {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 13, 16, 0.62);
  border: 1px solid rgba(11, 13, 16, 0.22);
  border-radius: 999px;
  padding: 4px 10px;

}
.expl-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.15;
}
a.expl-card:hover h3 {
  color: var(--ink);
}
.expl-card p {
  font-size: var(--fs-sm);
  color: rgba(11, 13, 16, 0.72);
  line-height: 1.6;
}
.expl-more {
  margin-top: 16px;
  font-size: var(--fs-sm);
  color: var(--ink);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
a.expl-card:hover .expl-more {
  opacity: 1;
  transform: none;
}

/* carte à venir : visuellement inactive (fantôme, non disponible) */
.expl-card.expl-soon {
  cursor: default;
  background: rgba(255, 255, 255, 0.03);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.expl-card.expl-soon .holo {
  display: none;
}
.expl-card.expl-soon h3 {
  color: rgba(242, 242, 240, 0.48);
}
.expl-card.expl-soon p {
  color: rgba(242, 242, 240, 0.32);
}
.expl-card.expl-soon .expl-tags span {
  color: rgba(242, 242, 240, 0.3);
  border-color: rgba(242, 242, 240, 0.14);
}

/* veil retire sur les pages de lecture — il assombrit le corps de texte */
body.has-site-nav[class*="art-"] .veil,
body.has-site-nav.pratique .veil { display: none; }

/* pastille : balayage arc-en-ciel periodique — inspire de .sy-rainbow du bloc constat.
   Demarre a 2s, se rejoue toutes les 8s (cycle 1s de balayage + 7s d attente). */
.site-nav .site-links a.site-pill .pill-rainbow {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -45%;
  width: 40%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent,
    var(--c1) 14%,
    var(--c2) 34%,
    var(--c3) 52%,
    var(--c5) 70%,
    var(--c4) 88%,
    transparent
  );
  filter: blur(6px);
  transform: skewX(-14deg);
  opacity: 0;
  mix-blend-mode: screen;

  animation: pill-sweep 8s cubic-bezier(0.6, 0, 0.2, 1) 2s infinite;
}
@keyframes pill-sweep {
  0%    { left: -60%; opacity: 0; }
  1.5%  { opacity: 1; }
  11%   { opacity: 1; }
  12.5% { left: 130%; opacity: 0; }
  100%  { left: 130%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav .site-links a.site-pill .pill-rainbow { animation: none; }
}


/* =====================================================================
   pl-scene v2 : gros bouton holographique « Mais par où commencer ? »
   1er clic = tout s'allume + « Je vous invite à [Regarder autrement] »
   2e clic  = navigation vers regarder-autrement.html
   (ancien effet éclipse archivé dans Old/pl-scene-eclipse/)
   ===================================================================== */
.pls-scene{
  padding: clamp(40px, 7vh, 80px) 0;
  display: flex;
  justify-content: center;
}
.pls-btn{
  position: relative;
  width: 100%;
  min-height: clamp(200px, 32vh, 300px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vh, 70px);
  overflow: hidden;
  isolation: isolate;
  border-radius: 16px;
  background:
    radial-gradient(120% 150% at 18% 20%, color-mix(in srgb, var(--c1) 32%, transparent), transparent 55%),
    radial-gradient(120% 150% at 82% 26%, color-mix(in srgb, var(--c2) 30%, transparent), transparent 55%),
    radial-gradient(130% 160% at 65% 92%, color-mix(in srgb, var(--c4) 26%, transparent), transparent 58%),
    radial-gradient(130% 160% at 30% 88%, color-mix(in srgb, var(--c3) 22%, transparent), transparent 58%),
    var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .5s cubic-bezier(.2,.9,.3,1.1);
}
.pls-btn:active{ transform: scale(.992); }
.pls-btn::after{
  content:""; position:absolute; inset:0; z-index:-1; border-radius:16px;
  animation: pls-glow 4.6s ease-in-out infinite;
}
@keyframes pls-glow{
  0%,100%{ box-shadow:
    26px 0 40px 2px color-mix(in srgb,var(--c1) 70%,transparent),
    8px 25px 40px 2px color-mix(in srgb,var(--c2) 70%,transparent),
    -21px 15px 40px 2px color-mix(in srgb,var(--c3) 70%,transparent),
    -21px -15px 40px 2px color-mix(in srgb,var(--c4) 70%,transparent),
    8px -25px 40px 2px color-mix(in srgb,var(--c5) 70%,transparent); }
  50%{ box-shadow:
    30px 0 50px 4px color-mix(in srgb,var(--c1) 70%,transparent),
    9px 29px 50px 4px color-mix(in srgb,var(--c2) 70%,transparent),
    -24px 18px 50px 4px color-mix(in srgb,var(--c3) 70%,transparent),
    -24px -18px 50px 4px color-mix(in srgb,var(--c4) 70%,transparent),
    9px -29px 50px 4px color-mix(in srgb,var(--c5) 70%,transparent); }
}
.pls-sweep{
  position:absolute; top:-30%; bottom:-30%; left:-45%; width:40%;
  z-index:2; pointer-events:none;
  background:linear-gradient(100deg, transparent,
    var(--c1) 14%, var(--c2) 34%, var(--c3) 52%, var(--c5) 70%, var(--c4) 88%, transparent);
  filter:blur(6px); transform:skewX(-14deg);
  opacity:0; mix-blend-mode:screen;
  animation: pls-band 4.5s cubic-bezier(.6,0,.2,1) 1s infinite;
}
@keyframes pls-band{
  0%{ left:-45%; opacity:0; }
  8%{ opacity:1; }
  38%{ opacity:1; }
  50%,100%{ left:120%; opacity:0; }
}
.pls-lights{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  opacity:0; transition:opacity .6s ease; mix-blend-mode:screen;
  background:
    radial-gradient(120% 150% at 18% 20%, var(--c1), transparent 56%),
    radial-gradient(120% 150% at 82% 26%, var(--c2), transparent 56%),
    radial-gradient(130% 160% at 65% 92%, var(--c4), transparent 58%),
    radial-gradient(130% 160% at 30% 88%, var(--c3), transparent 58%),
    radial-gradient(150% 170% at 50% 50%, color-mix(in srgb, var(--c5) 55%, transparent), transparent 62%);
}
.pls-btn.is-on .pls-lights{ opacity:.92; }
.pls-stack{ position:relative; z-index:3; display:grid; place-items:center; text-align:center; }
.pls-stack > *{ grid-area:1/1; }
.pls-ask{
  font-family: var(--ff-serif); font-style:italic;
  font-size: var(--fs-title-l); line-height:1.05;
  color:var(--paper); text-shadow:0 0 30px rgba(255,255,255,.35), 0 0 60px rgba(255,255,255,.15);
  transition:opacity .45s ease;
}
.pls-btn.is-on .pls-ask{ opacity:0; }
.pls-reveal{
  display:flex; flex-direction:row; flex-wrap:nowrap; align-items:center; justify-content:center;
  gap:clamp(10px,1.4vw,22px);
  opacity:0; transform:translateY(10px);
  transition:opacity .55s ease .12s, transform .55s cubic-bezier(.2,.9,.3,1.1) .12s;
  pointer-events:none;
}
.pls-btn.is-on .pls-reveal{ opacity:1; transform:none; pointer-events:auto; }
.pls-invite{
  font-family: var(--ff-serif); font-style:italic;
  font-size: var(--fs-title-l); line-height:1.1; color:var(--ink);
  white-space:nowrap;
}
.pls-pill{
  position:relative; overflow:hidden; isolation:isolate;
  display:inline-flex; align-items:center; justify-content:center;
  --px:50%; --py:50%;
  background:var(--paper); color:var(--ink);
  border:1px solid rgba(255,255,255,.6); border-radius:999px;
  padding:.28em .7em;
  font-family: var(--ff-serif); font-style:italic;
  font-size: var(--fs-title-l); line-height:1.1; white-space:nowrap;
  box-shadow:0 8px 22px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.7);
}
.pls-pill-holo{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:url("grain.png"); background-size:380px 380px; background-repeat:repeat;
  background-position:var(--px) var(--py);
  filter:saturate(162%); mix-blend-mode:multiply; opacity:.8;
}
.pls-pill-sweep{
  position:absolute; top:-20%; bottom:-20%; left:-45%; width:40%; z-index:1; pointer-events:none;
  background:linear-gradient(100deg, transparent,
    var(--c1) 14%, var(--c2) 34%, var(--c3) 52%, var(--c5) 70%, var(--c4) 88%, transparent);
  filter:blur(6px); transform:skewX(-14deg); opacity:0; mix-blend-mode:screen;
}
.pls-btn.is-on .pls-pill-sweep{ animation: pls-pillband 5s cubic-bezier(.6,0,.2,1) .6s infinite; }
@keyframes pls-pillband{
  0%{ left:-55%; opacity:0; }
  3%{ opacity:1; }
  18%{ opacity:1; }
  30%,100%{ left:120%; opacity:0; }
}
.pls-pill-label{ position:relative; z-index:2; }

/* Mobile : la révélation « Je vous invite à [Regarder autrement] » tenait sur
   UNE ligne trop large (nowrap, gros serif) → coupée par overflow:hidden du
   bouton, les bords disparaissaient. On la laisse se replier sur deux lignes
   et on réduit la taille pour qu'elle tienne dans le bouton. */
@media (max-width: 600px){
  .pls-btn{ padding:clamp(30px,5vh,52px) 20px; }
  .pls-ask{ font-size: var(--fs-title-s); }
  .pls-reveal{ flex-wrap:wrap; gap:10px; }
  .pls-invite,
  .pls-pill{ font-size: var(--fs-title-s); }
}

/* =====================================================================
   PARCOURS INTERACTIF — « Éprouver / Faire l'expérience »
   Page immersive autonome (parcours-interactif.html + parcours-interactif.js).
   Classes préfixées pi- pour éviter toute collision (.wrap/.q/.btn existants).
   Réutilise les tokens du site (--c1..c5, --ink, --paper, --muted, --faint).
   ===================================================================== */
.pi-page{ font-weight:300; font-size: var(--fs-md); line-height:1.65; --ac:var(--c1); }
.pi-page h1,.pi-page h2{ font-family: var(--ff-serif); font-weight:400; letter-spacing:-.02em; line-height:1.13; }
.pi-page h1{ font-size: var(--fs-title-m); }
.pi-page h1 em{ font-style:italic; color:var(--muted); display:block; margin-top:4px; }
.pi-page h2{ font-size: var(--fs-title-s); color:var(--paper); }
.pi-page h2 em{ font-style:italic; color:var(--muted); }
.pi-page p{ margin:0 0 1.05em; }
.pi-page p:last-child{ margin-bottom:0; }
.pi-page strong{ font-weight:500; color:var(--paper); }
.pi-page [hidden]{ display:none!important; }

.pi-top{ position:fixed; top:0; left:0; right:0; z-index:20; display:flex; align-items:center; gap:18px;
  padding:14px clamp(20px,4vw,40px); background:linear-gradient(180deg,var(--ink) 55%,transparent); }
.pi-exit,.pi-back{ font-family:inherit; font-size: var(--fs-sm); letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted); background:none; border:none; padding:0; cursor:pointer; text-decoration:none;
  white-space:nowrap; flex:0 0 auto; transition:color .3s; }
.pi-exit:hover,.pi-exit:focus-visible,.pi-back:hover,.pi-back:focus-visible{ color:var(--ac); outline:none; }
.pi-steps{ display:flex; align-items:center; margin-left:auto; list-style:none; padding:0; }
.pi-step{ display:flex; align-items:center; gap:7px; color:var(--muted); font-size: var(--fs-xs); letter-spacing:.03em; }
.pi-step + .pi-step{ margin-left:8px; }
.pi-step + .pi-step::before{ content:""; width:clamp(8px,2.4vw,24px); height:1px; background:var(--faint); margin-right:8px; }
.pi-step .n{ width:19px; height:19px; border-radius:50%; border:1px solid var(--faint); display:grid; place-items:center;
  font-size: var(--fs-xs); flex:0 0 auto; transition:border-color .3s,background .3s,color .3s; }
.pi-step.pi-done{ color:var(--paper); }
.pi-step.pi-done .n{ border-color:var(--ac); color:var(--ac); }
.pi-step.pi-cur{ color:var(--ac); }
.pi-step.pi-cur .n{ border-color:var(--ac); background:color-mix(in srgb,var(--ac) 18%,transparent); color:var(--ac); }
.pi-step.pi-clickable{ cursor:pointer; }
.pi-step.pi-clickable:hover{ color:var(--ac); }
.pi-step.pi-clickable:hover .n{ border-color:var(--ac); color:var(--ac); }
@media (max-width:640px){ .pi-step .lb{ display:none; } }

.pi-wrap{ max-width:800px; margin:0 auto; padding:0 28px; }
/* L'accueil respire plus large que les écrans de lecture (qui, eux, restent en
   colonne resserrée pour le confort de lecture). */
#s-home.pi-wrap{ max-width:1200px; padding-left:clamp(24px,4vw,44px); padding-right:clamp(24px,4vw,44px); }
#s-home .pi-lead{ max-width:66ch; }
.pi-kicker{ font-size: var(--fs-sm); letter-spacing:.22em; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:20px; }
.pi-kicker b{ color:var(--ac); font-weight:400; }
.pi-muted{ color:var(--muted); font-size: var(--fs-base); margin-top:14px; }
.pi-lead{ font-size: var(--fs-md); color:var(--paper); margin-top:24px; }
.pi-note{ margin-top:22px; max-width:62ch; font-size: var(--fs-base); line-height:1.6; color:var(--muted);
  border-left:2px solid color-mix(in srgb,var(--ac) 40%,var(--faint)); padding-left:18px; }
.pi-note b{ color:var(--muted2); font-weight:500; }

/* ancrage haut : le contenu part d'une position stable et grandit vers le bas
   (la page scrolle), plus de recentrage vertical qui fait « sauter » l'écran. */
.pi-screen{ display:none; min-height:100svh; flex-direction:column; justify-content:flex-start; padding-top:clamp(94px,13vh,150px); padding-bottom:96px; } /* haut/bas séparés : le padding latéral de .pi-wrap ne doit pas être écrasé */
/* transition entre écrans : même grammaire que les révélations du site (.rv) —
   fondu + léger glissement depuis le bas, easing « ease ». */
.pi-screen.pi-on{ display:flex; animation:pi-screen-in .6s ease both; }
@keyframes pi-screen-in{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }

.pi-btn{ display:inline-flex; align-items:center; gap:10px; background:none; border:1px solid var(--faint);
  color:var(--paper); font:400 12.5px/1 Inter,sans-serif; letter-spacing:.14em; text-transform:uppercase;
  padding:15px 24px; border-radius:999px; cursor:pointer; transition:.3s; margin-top:32px; align-self:flex-start; }
.pi-btn:hover,.pi-btn:focus-visible{ border-color:var(--ac); color:var(--ac); outline:none; }

.pi-scene{ font-size: var(--fs-md); color:var(--paper); border-left:2px solid var(--ac); padding-left:23px; margin-top:24px; }
.pi-scene p{ margin-bottom:.8em; }
.pi-q{ font-family: var(--ff-serif); font-size: var(--fs-xl); line-height:1.3; margin:34px 0 20px; color:var(--paper); }
.pi-opts{ display:flex; flex-wrap:wrap; gap:9px; }
.pi-opt{ background:none; border:1px solid var(--faint); color:var(--paper); border-radius:999px;
  padding:12px 20px; font:300 15px/1 Inter,sans-serif; cursor:pointer; transition:.25s; }
.pi-opt:hover,.pi-opt:focus-visible{ border-color:var(--ac); color:var(--ac); outline:none; }

.pi-turn{ font-size: var(--fs-md); color:var(--paper); margin-top:24px; }
.pi-turn .pi-hit{ font-family: var(--ff-serif); font-size: var(--fs-2xl);
  line-height:1.25; color:var(--ac); margin-top:26px; display:block; }

.pi-list{ margin-top:14px; border-top:1px solid var(--faint); }
.pi-it{ display:flex; align-items:flex-start; gap:15px; width:100%; text-align:left; background:none; border:none;
  border-bottom:1px solid var(--faint); color:var(--paper); cursor:pointer; padding:22px 4px; transition:color .3s,padding-left .3s; }
.pi-it:hover,.pi-it:focus-visible{ color:var(--wc); padding-left:10px; outline:none; }
.pi-it .pi-dot{ width:7px; height:7px; border-radius:50%; background:var(--faint); flex:0 0 7px; margin-top:.6em; transition:background .3s; }
.pi-it:hover .pi-dot,.pi-it.pi-seen .pi-dot{ background:var(--wc); }
.pi-it.pi-seen{ color:var(--muted); }
.pi-it .pi-nm{ font-family: var(--ff-serif); font-size: var(--fs-xl); line-height:1.2; display:block; }
.pi-it .pi-rl{ font-size: var(--fs-sm); color:var(--muted); display:block; margin-top:3px; }

.pi-appears{ border:1px solid color-mix(in srgb,var(--ac) 42%,var(--faint)); border-radius:16px;
  padding:clamp(38px,5.5vw,58px) clamp(28px,4.5vw,48px); margin-top:44px; text-align:center;
  background:linear-gradient(180deg,color-mix(in srgb,var(--ac) 9%,transparent),transparent);
  box-shadow:0 30px 70px -46px color-mix(in srgb,var(--ac) 75%,transparent); }
.pi-appears .pi-lab{ font-size: var(--fs-sm); letter-spacing:.24em; text-transform:uppercase; color:var(--ac); display:block; margin-bottom:18px; }
.pi-appears p{ font-family: var(--ff-serif); font-size: var(--fs-title-s); line-height:1.24; color:var(--ac); max-width:24ch; margin:0 auto; }
.pi-appears .pi-app-more, .pi-appears .pi-app-more p{ max-width:52ch; margin:20px auto 0; padding-top:20px; text-align:center;
  font-family: var(--ff-sans); font-size: var(--fs-md); font-style:normal; line-height:1.7; color:var(--paper);
  border-top:1px solid color-mix(in srgb,var(--ac) 24%,var(--faint)); }
.pi-appears .pi-app-more p{ margin:0; padding-top:0; border-top:none; max-width:none; }
.pi-app-more[hidden]{ display:none; }

.pi-fix{ border-left:2px solid var(--faint); padding-left:22px; margin-top:28px; color:var(--muted2); font-size: var(--fs-md); }
.pi-fix b{ color:var(--paper); font-weight:500; }
.pi-piste{ font-size: var(--fs-base); line-height:1.72; color:var(--muted2); margin-top:clamp(34px,5vh,54px); max-width:62ch;
  border-left:2px solid color-mix(in srgb,var(--ac) 55%,var(--faint)); padding:4px 0 4px 22px; }
.pi-piste b{ color:var(--paper); font-weight:500; }
.pi-elsewhere{ font-family: var(--ff-serif); font-size: var(--fs-xl); color:var(--paper);
  margin-top:58px; padding-top:36px; border-top:1px solid var(--faint); }
/* « La piste » : composition ENTIÈREMENT centrée, autour du cercle — même alignement
   du haut (titre + lead) jusqu'en bas (accompagnement, « ailleurs », bouton), avec un
   séparateur court et centré au lieu de l'ancien trait pleine largeur. */
#s-piste .pi-kicker, #s-piste h2, #s-piste .pi-lead{ text-align:center; }
#s-piste .pi-lead{ max-width:62ch; margin-left:auto; margin-right:auto; }
#s-piste #pt-cercle{ margin-top:clamp(20px,3vh,32px); }
#s-piste #pt-body.pi-piste{ margin:clamp(34px,5vh,54px) auto 0; max-width:60ch; text-align:center; border-left:none; padding:0; }
#s-piste #pt-body.pi-piste::after{ content:""; display:block; width:44px; height:1px; margin:clamp(30px,4vh,42px) auto 0;
  background:color-mix(in srgb,var(--ac) 45%,var(--faint)); }
#s-piste .pi-piste-title{ font-family: var(--ff-serif); font-weight:400;
  font-size: var(--fs-title-s); line-height:1.15; letter-spacing:.2px;
  color:color-mix(in srgb,var(--ac) 60%,var(--paper)); margin:0 0 clamp(16px,2.4vh,24px); }
#s-piste #pt-elsewhere{ max-width:48ch; margin:clamp(28px,4vh,38px) auto 0; padding-top:0; border-top:none; text-align:center; }
#s-piste #pt-next{ align-self:center; margin-top:26px; }

.pi-defs{ position:absolute; width:0; height:0; }
.pi-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:48px; }
.pi-card{ position:relative; display:flex; flex-direction:column; align-items:flex-start; text-align:left;
  width:100%;
  background:linear-gradient(180deg,rgba(255,255,255,.025),transparent);
  border:1px solid color-mix(in srgb,var(--cc) 20%,var(--faint)); border-radius:16px; padding:30px 30px 34px;
  color:var(--paper); cursor:pointer; font-family:inherit;
  /* halo léger : un souffle de la couleur du cas, au repos. */
  box-shadow:0 8px 40px -24px color-mix(in srgb,var(--cc) 55%,transparent);
  transition:border-color .35s,transform .35s,box-shadow .35s; --cc:var(--c1); }
.pi-cards .pi-card:nth-child(1){ --cc:var(--c1); }
.pi-cards .pi-card:nth-child(2){ --cc:var(--c3); }
.pi-cards .pi-card:nth-child(3){ --cc:var(--c4); }
.pi-cards .pi-card:nth-child(4){ --cc:var(--c2); }
.pi-card::after{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; opacity:.5;
  transition:opacity .4s; background:radial-gradient(130% 110% at 18% 0%, color-mix(in srgb,var(--cc) 18%,transparent), transparent 62%); }
.pi-card:hover,.pi-card:focus-visible,.pi-card.pi-done{ border-color:color-mix(in srgb,var(--cc) 55%,var(--faint));
  transform:translateY(-3px); box-shadow:0 20px 44px -22px color-mix(in srgb,var(--cc) 75%,transparent); outline:none; }
.pi-card:hover::after,.pi-card:focus-visible::after,.pi-card.pi-done::after{ opacity:1; }
.pi-ic{ display:block; width:clamp(112px,12vw,150px); height:auto; margin:10px auto 32px;
  transition:transform .35s; }
.pi-card:hover .pi-ic,.pi-card:focus-visible .pi-ic,.pi-card.pi-done .pi-ic{ transform:scale(1.05); }
.pi-card-name{ font-family: var(--ff-serif); font-size: var(--fs-2xl); line-height:1.14; color:var(--paper); margin:0; transition:color .35s; }
.pi-card:hover .pi-card-name,.pi-card:focus-visible .pi-card-name,.pi-card.pi-done .pi-card-name{ color:var(--cc); }
.pi-card-tag{ font-size: var(--fs-base); color:var(--muted); margin:5px 0 0; }
.pi-card-sum{ font-size: var(--fs-md); line-height:1.62; color:var(--muted2); margin:18px 0 0; }
.pi-card--meta .pi-card-name{ font-style:italic; color:var(--muted); }
/* carte meta désactivée : inactive, non cliquable, sans survol */
.pi-card:disabled{ opacity:.4; cursor:default; border-color:var(--faint); }
.pi-card:disabled:hover,.pi-card:disabled:focus-visible{ opacity:.4; border-color:var(--faint); transform:none; }
.pi-card:disabled::after,.pi-card:disabled:hover::after,.pi-card:disabled:focus-visible::after{ opacity:0; }
.pi-card:disabled .pi-card-name,.pi-card:disabled:hover .pi-card-name{ color:var(--muted); }
@media (max-width:860px){ .pi-cards{ grid-template-columns:1fr; gap:18px; } }
/* « Aller plus loin » : apparaît sur l'accueil une fois les trois parcours faits */
.pi-further{ margin-top:clamp(40px,7vh,72px); padding-top:clamp(30px,4vh,44px); border-top:1px solid var(--faint);
  animation:pi-rise .7s ease both; }
.pi-further[hidden]{ display:none; }
.pi-further-lead{ text-align:left; font-family: var(--ff-serif); font-size: var(--fs-xl);
  color:var(--paper); max-width:56ch; margin:0 0 24px; }
.pi-further-links{ display:grid; grid-template-columns:1fr 1fr; gap:16px; max-width:600px; margin:0; }
a.pi-further-link{ --cc:var(--c2); display:flex; flex-direction:column; gap:5px; text-decoration:none; color:var(--paper);
  border:1px solid color-mix(in srgb,var(--cc) 42%,var(--faint)); border-radius:14px; padding:18px 20px;
  background:color-mix(in srgb,var(--paper) 5%,var(--ink)); transition:border-color .3s, transform .3s, box-shadow .3s; }
a.pi-further-link:nth-child(2){ --cc:var(--c5); }
a.pi-further-link:hover,a.pi-further-link:focus-visible{ border-color:var(--cc); transform:translateY(-3px);
  box-shadow:0 18px 40px -24px color-mix(in srgb,var(--cc) 65%,transparent); outline:none; }
.pi-further-k{ font-family: var(--ff-serif); font-size: var(--fs-xl); color:var(--cc); }
.pi-further-k::after{ content:" \2192"; font-family: var(--ff-sans); }
.pi-further-d{ font-size: var(--fs-sm); color:var(--muted); }
@media (max-width:680px){ .pi-further-links{ grid-template-columns:1fr; } }

@keyframes pi-fade{ from{opacity:0; transform:translateY(-4px);} to{opacity:1; transform:none;} }
/* « Les places » (et « La piste ») — la scène cercle (façon Cercle vertueux, sombre).
   Produit au centre ; autour, trois cartes-rôles (icône + nom + « Découvrir ») qu'on
   ouvre ; puis les arcs à flèches (sens horaire) + encadrés entre paires. .pi-cscene
   (surtout PAS .pi-scene, déjà pris par le mur). */
.pi-cercle{ margin-top:14px; }
.pi-cscene{ position:relative; width:100%; max-width:720px; margin:8px auto 0; aspect-ratio:1/1; }
.pi-cscene-svg{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.pi-cscene-ring{ fill:none; stroke:var(--faint); stroke-width:1.2; stroke-dasharray:5 9; opacity:.4; }
.pi-dot{ opacity:0; animation:pi-op .5s ease forwards; }
.pi-dot:nth-of-type(2){ animation-delay:.15s; } .pi-dot:nth-of-type(3){ animation-delay:.3s; } .pi-dot:nth-of-type(4){ animation-delay:.45s; }
.pi-arrhead{ fill:color-mix(in srgb,var(--paper) 40%,var(--faint)); }
.pi-links{ opacity:0; }
.pi-link{ fill:none; stroke:color-mix(in srgb,var(--paper) 38%,var(--faint)); stroke-width:2.4; stroke-linecap:round;
  stroke-dasharray:560; stroke-dashoffset:560; }
.pi-cscene.pi-linked .pi-links{ opacity:1; }
.pi-cscene.pi-linked .pi-link{ animation:pi-draw2 1s cubic-bezier(.4,0,.2,1) forwards; }
.pi-cscene.pi-linked .pi-link:nth-of-type(2){ animation-delay:.3s; }
.pi-cscene.pi-linked .pi-link:nth-of-type(3){ animation-delay:.6s; }
@keyframes pi-draw2{ to{ stroke-dashoffset:0; } }
@keyframes pi-op{ from{ opacity:0; } to{ opacity:1; } }
/* « La piste » : cercle réparé — arcs vifs, rôles en mini */
.pi-cscene.pi-alive .pi-link{ stroke:color-mix(in srgb,var(--paper) 60%,var(--faint)); stroke-width:2.7; }
.pi-cscene.pi-alive .pi-arrhead{ fill:color-mix(in srgb,var(--paper) 62%,var(--faint)); }
.pi-role--mini{ width:27%; }
.pi-role--mini .pi-role-head{ padding:10px 13px; }
.pi-role--mini .pi-role-nm{ font-size: var(--fs-lg); }
.pi-role-mininote{ margin:0; padding:10px 13px 12px; font-size: var(--fs-base); line-height:1.55; color:var(--muted2); }
/* le produit, au centre */
.pi-produit{ position:absolute; left:50%; top:50.6%; transform:translate(-50%,-50%); width:24%; aspect-ratio:1; border-radius:50%;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:3px; z-index:2;
  border:1px solid color-mix(in srgb,var(--paper) 30%,var(--faint));
  background:radial-gradient(circle at 50% 36%, color-mix(in srgb,var(--paper) 9%,var(--ink)), var(--ink) 78%);
  opacity:0; animation:pi-scalein .6s cubic-bezier(.34,1.56,.64,1) forwards .5s; }
@keyframes pi-scalein{ from{ opacity:0; transform:translate(-50%,-50%) scale(.6); } to{ opacity:1; transform:translate(-50%,-50%) scale(1); } }
.pi-produit-nm{ font-family: var(--ff-serif); font-size: var(--fs-lg); line-height:1.08; color:var(--paper); }
.pi-produit-sub{ font-size: var(--fs-xs); letter-spacing:.13em; text-transform:uppercase; color:var(--muted); }
/* les rôles : cartes encadrées, en-tête coloré à icône + nom, révélation dedans */
.pi-role{ position:absolute; width:27%; --cc:var(--ac); z-index:3; overflow:hidden; border-radius:14px;
  border:1px solid color-mix(in srgb,var(--cc) 48%,var(--faint)); background:color-mix(in srgb,var(--paper) 6%,var(--ink));
  box-shadow:0 18px 44px -30px rgba(0,0,0,.7); opacity:0; animation:pi-op .55s ease forwards;
  transition:border-color .3s, transform .3s, box-shadow .3s; }
.pi-role--a{ top:0; left:50%; transform:translateX(-50%); animation-delay:.2s; }
.pi-role--b{ top:56%; left:0; animation-delay:.45s; }
.pi-role--c{ top:56%; right:0; animation-delay:.7s; }
.pi-role:not(.pi-open):hover, .pi-role:not(.pi-open):focus-within{ border-color:var(--cc);
  box-shadow:0 22px 50px -26px color-mix(in srgb,var(--cc) 65%,transparent); }
.pi-role--a:not(.pi-open):hover{ transform:translateX(-50%) translateY(-2px); }
.pi-role--b:not(.pi-open):hover, .pi-role--c:not(.pi-open):hover{ transform:translateY(-2px); }
.pi-role-btn{ display:block; width:100%; text-align:left; cursor:pointer; font-family:inherit; color:var(--paper); background:none; border:none; padding:0; }
.pi-role.pi-open .pi-role-btn{ cursor:default; }
.pi-role-head{ display:flex; align-items:center; gap:9px; padding:11px 13px;
  background:color-mix(in srgb,var(--cc) 20%,transparent); border-bottom:1px solid color-mix(in srgb,var(--cc) 30%,var(--faint)); }
.pi-role-ic{ flex:0 0 auto; width:22px; height:22px; color:var(--cc); display:grid; place-items:center; }
.pi-role-ic svg{ width:21px; height:21px; }
.pi-role-nm{ font-family: var(--ff-serif); font-size: var(--fs-xl); line-height:1.1; color:var(--paper); }
.pi-role-invite{ display:block; padding:9px 13px; font-size: var(--fs-xs); letter-spacing:.14em; text-transform:uppercase;
  color:color-mix(in srgb,var(--cc) 70%,var(--paper)); }
.pi-role-invite::after{ content:" \2193"; }
.pi-role.pi-open .pi-role-invite{ display:none; }
.pi-role-reveal{ display:none; }
.pi-role.pi-open .pi-role-reveal{ display:block; padding:12px 14px 14px; animation:pi-fade .45s ease; }
.pi-role-reveal p{ font-size: var(--fs-base); line-height:1.62; color:var(--paper); margin:0; }
/* encadrés ENTRE les paires : vraies cartes contrastées */
.pi-bet{ position:absolute; width:27%; z-index:2; opacity:0; border-radius:11px; padding:12px 14px;
  border:1px solid color-mix(in srgb,var(--paper) 20%,var(--faint)); background:color-mix(in srgb,var(--paper) 5%,var(--ink));
  box-shadow:0 16px 38px -28px rgba(0,0,0,.7); }
.pi-cscene.pi-linked .pi-bet{ animation:pi-rise .6s cubic-bezier(.22,.61,.36,1) forwards; }
.pi-bet--r{ top:20%; right:0; animation-delay:.5s; }
.pi-bet--b{ bottom:0; left:50%; transform:translateX(-50%); animation-delay:.85s; }
.pi-bet--l{ top:20%; left:0; animation-delay:1.2s; }
.pi-cscene.pi-linked .pi-bet--b{ animation-name:pi-rise-cx; }
@keyframes pi-rise-cx{ from{ opacity:0; transform:translate(-50%,14px); } to{ opacity:1; transform:translate(-50%,0); } }
.pi-bet-label{ display:block; font-size: var(--fs-xs); letter-spacing:.1em; text-transform:uppercase; color:color-mix(in srgb,var(--paper) 55%,var(--muted)); margin-bottom:6px; }
.pi-bet p{ font-family: var(--ff-serif); font-style:italic; font-size: var(--fs-md); line-height:1.5; color:var(--paper); margin:0; }
.pi-cercle-hint{ max-width:52ch; margin:8px auto 0; text-align:center; color:var(--muted); font-size: var(--fs-base); line-height:1.6; }
.pi-cercle-see{ display:flex; width:fit-content; margin:22px auto 0; }
.pi-cercle-see:not([hidden]){ animation:pi-rise .6s cubic-bezier(.22,.61,.36,1) both; }
#s-places > #p-next{ align-self:center; margin-top:clamp(30px,5vh,56px); }
@media (max-width:640px){
  .pi-cscene{ aspect-ratio:auto; max-width:440px; display:flex; flex-direction:column; gap:14px; }
  .pi-cscene-svg{ display:none; }
  .pi-produit{ position:static; transform:none; width:auto; aspect-ratio:auto; border-radius:0; border:none;
    background:none; box-shadow:none; flex-direction:row; align-items:baseline; justify-content:flex-start; gap:8px;
    padding:0 0 10px; border-bottom:1px solid var(--faint); opacity:1; animation:none; }
  .pi-produit-nm{ font-size: var(--fs-lg); } .pi-produit-sub{ display:inline; }
  .pi-role, .pi-role--a, .pi-role--b, .pi-role--c{ position:static; inset:auto; width:100%; transform:none; }
  .pi-bet, .pi-bet--r, .pi-bet--b, .pi-bet--l{ position:static; inset:auto; width:100%; transform:none; }
  .pi-cscene.pi-linked .pi-bet, .pi-cscene.pi-linked .pi-bet--b{ animation:pi-op .5s ease forwards; }
}

/* Étape « Plus tard » : frise VERTICALE, les mois se dévoilent l'un après l'autre ;
   le rail s'illumine (fluo) à chaque pas. Tout aligné à gauche. */
.pi-timeline{ position:relative; margin-top:40px; }
.pi-tl-node{ position:relative; padding:0 0 48px 46px; animation:pi-rise .55s cubic-bezier(.22,.61,.36,1) both; }
.pi-tl-node:last-child{ padding-bottom:0; }
.pi-tl-node.pi-pending{ display:none; }
.pi-tl-node::before{ content:""; position:absolute; left:13px; top:4px; bottom:0; width:2px; background:var(--faint); }
.pi-tl-node.pi-open::before{ transform-origin:top; animation:pi-draw .6s ease both;
  background:linear-gradient(180deg,var(--ac),color-mix(in srgb,var(--ac) 35%,var(--faint)));
  box-shadow:0 0 14px color-mix(in srgb,var(--ac) 55%,transparent); }
@keyframes pi-draw{ from{ transform:scaleY(0); } to{ transform:scaleY(1); } }
@keyframes pi-rise{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }
.pi-tl-head{ display:flex; align-items:center; gap:14px; width:100%; text-align:left; background:none; border:none;
  cursor:pointer; color:var(--paper); font-family:inherit; padding:0; }
.pi-tl-dot{ position:absolute; left:4px; top:5px; width:20px; height:20px; border-radius:50%; z-index:1;
  border:2px solid var(--faint); background:var(--ink); transition:border-color .35s, background .35s, box-shadow .35s; }
.pi-tl-head:hover .pi-tl-dot,.pi-tl-head:focus-visible .pi-tl-dot{ border-color:var(--ac); outline:none; }
.pi-tl-node.pi-open .pi-tl-dot{ border-color:var(--ac); background:var(--ac);
  box-shadow:0 0 0 5px color-mix(in srgb,var(--ac) 15%,transparent), 0 0 18px color-mix(in srgb,var(--ac) 60%,transparent); }
.pi-tl-label{ font-family: var(--ff-serif); font-size: var(--fs-xl); line-height:1.08; color:var(--paper); transition:color .3s; }
.pi-tl-head:hover .pi-tl-label,.pi-tl-node.pi-open .pi-tl-label{ color:var(--ac); }
.pi-tl-body{ display:none; margin-top:12px; font-size: var(--fs-md); line-height:1.64; color:var(--paper); max-width:58ch; }
.pi-tl-node.pi-open .pi-tl-body{ display:block; animation:pi-fade .4s ease; }
/* phrase-choc + boutons */
.pi-turn-hit{ text-align:left; margin-top:44px; }
.pi-turn-hit:not([hidden]){ display:block; animation:pi-rise .85s cubic-bezier(.22,.61,.36,1) both; }
.pi-turn-hit .pi-hit{ text-align:left; max-width:34ch; margin:0; }
#s-turn > #t-next{ align-self:flex-start; margin-top:30px; }
#s-turn > #t-next:not([hidden]){ animation:pi-rise .7s cubic-bezier(.22,.61,.36,1) both; animation-delay:.1s; }
#s-end > #e-next{ align-self:center; margin-top:36px; }
.pi-tl-reveal{ margin-top:34px; }
.pi-tl-reveal:not([hidden]){ display:inline-flex; animation:pi-rise .6s cubic-bezier(.22,.61,.36,1) both; }

/* Réponses graduées (situation 1) : choix engagé + verdict en place */
.pi-answers{ display:block; margin-top:24px; }
.pi-ans-block{ border:1px solid var(--faint); border-radius:10px; margin-bottom:12px; overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.015),transparent); transition:border-color .3s,background .3s; }
.pi-ans-block:last-child{ margin-bottom:0; }
.pi-ans-head{ display:flex; align-items:center; justify-content:space-between; gap:14px; width:100%; min-height:64px;
  text-align:left; background:none; border:none; cursor:pointer; color:var(--paper); font-family:inherit; padding:16px 22px; transition:color .3s; }
.pi-ans-head:hover,.pi-ans-head:focus-visible{ color:var(--ac); outline:none; }
.pi-ans-label{ font-family: var(--ff-serif); font-size: var(--fs-xl); line-height:1.25; color:var(--paper); }
.pi-ans-plus{ flex:0 0 auto; color:var(--muted); font-size: var(--fs-lg); line-height:1; transition:color .3s; }
.pi-ans-plus::before{ content:"+"; }
.pi-ans-block.pi-open .pi-ans-plus::before{ content:"\2013"; }
.pi-ans-head:hover .pi-ans-plus,.pi-ans-head:focus-visible .pi-ans-plus{ color:var(--ac); }
.pi-ans-body{ padding:0 20px 18px; }
.pi-ans-block.pi-open .pi-ans-body{ animation:pi-fade .35s ease; }
.pi-ans-reply{ font-size: var(--fs-md); line-height:1.62; color:var(--muted); max-width:64ch; }
.pi-ans-cue{ display:block; margin-top:10px; font-size: var(--fs-sm); letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.pi-ans-cue:empty{ display:none; }
.pi-ans-block.pi-good{ border-color:color-mix(in srgb,var(--ac) 45%,var(--faint)); background:linear-gradient(180deg,color-mix(in srgb,var(--ac) 7%,transparent),transparent); }
.pi-ans-block.pi-good .pi-ans-label{ color:var(--ac); }
.pi-ans-block.pi-good .pi-ans-cue{ color:var(--ac); }
/* la reponse lucide est le paiement de l'ecran : en clair (--paper),
   pas en muted comme les « presque ». */
.pi-ans-block.pi-good .pi-ans-reply{ color:var(--paper); }

.pi-sy p{ font-size: var(--fs-lg); color:var(--paper); }
.pi-sy .pi-big{ font-family: var(--ff-serif); font-size: var(--fs-title-s);
  line-height:1.25; color:var(--paper); margin:30px 0; }
.pi-offer{ border-left:2px solid var(--c1); padding-left:22px; margin-top:34px; font-size: var(--fs-md); color:var(--paper); }
.pi-contact{ margin-top:34px; font-size: var(--fs-md); }
.pi-contact a{ color:var(--c1); text-decoration:none; border-bottom:1px solid rgba(40,230,255,.35); }

.pi-footer{ max-width:660px; margin:0 auto; padding:38px 28px 66px; border-top:1px solid var(--faint); font-size: var(--fs-sm); color:var(--muted); }

@media (prefers-reduced-motion:reduce){ .pi-page *{ transition:none!important; animation:none!important; } }


/* frise des terrains (sommaire des etudes de cas) - classe .tfrise, distincte de .terrains (article 6) */
.trajet { font-size: var(--fs-base); color: var(--muted); line-height: 1.6; margin: -8px 0 26px; }
.trajet b { color: var(--muted2); font-weight: 500; }
.tfrise { display: block; width: 100%; max-width: 480px; margin: 8px 0 15px; }
.tfrise .tf-labels { display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-base); line-height: 1.3; }
.tfrise .tf-w { color: var(--muted); opacity: 0.45; white-space: nowrap; }
.tfrise .tf-w.on { color: var(--paper); opacity: 1; }
.tfrise .tf-mark { display: block; width: 100%; position: relative; height: 9px; margin-top: 6px; }
.tfrise .tf-d { position: absolute; top: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--paper); }
.tfrise .tf-a { position: absolute; top: 3px; height: 1.6px; background: var(--paper); }
.tfrise .tf-a.r::after { content: ""; position: absolute; right: -1px; top: -2.2px; border-left: 5px solid var(--paper); border-top: 3px solid transparent; border-bottom: 3px solid transparent; }
.tfrise .tf-a.l::before { content: ""; position: absolute; left: -1px; top: -2.2px; border-right: 5px solid var(--paper); border-top: 3px solid transparent; border-bottom: 3px solid transparent; }
@media (max-width: 460px) {
  .tfrise .tf-labels { font-size: var(--fs-sm); gap: 5px; }
}


/* ===== Home : les cinq terrains sur l'onde (.hzone / .hz-legend) ===== */
.band .hzone { margin: clamp(8px, 2vh, 16px) 0 0; }
.wrap > .hero.hero--home { 
  min-height: 0; 
  padding-top: clamp(90px, 15vh, 180px); 
  padding-bottom: clamp(60px, 10vh, 120px); }
.band .hzone + .chute { margin-top: clamp(36px, 6vh, 56px); }
.band .chute { font-family: var(--ff-serif); font-style: italic; font-size: var(--fs-title-s); line-height: 1.25; color: var(--paper); max-width: 32ch; }

/* ===== Slider constat : deux couleurs animables + lecture sous le constat ===== */
@property --sc   { syntax: '<color>'; inherits: true; initial-value: #28e6ff; }
@property --sc-b { syntax: '<color>'; inherits: true; initial-value: #9f6eff; }
.sy-stage { transition: --sc-b 1.4s cubic-bezier(.6, 0, .2, 1); }
.sy-stage:not(.sy-is-meta) .sy-rainbow {
  background: linear-gradient(100deg, transparent, var(--sc) 30%, var(--sc-b) 70%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .sy-stage { transition: none; }
  .sy-bg .sy-spectre { animation: none; }
  .sy-stage.sy-revealed .sy-rainbow { animation: none; }
}

/* ===== Home section 6 : effets cliquables vers leur cas ===== */
.proof a.cell { text-decoration: none; color: inherit; display: block; transition: background .3s ease; }
.proof a.cell:hover { background: color-mix(in srgb, var(--t) 9%, var(--ink)); }
.proof-cas { margin-top: 14px; font-size: var(--fs-sm); letter-spacing: .03em; color: var(--t); }


.final h2 { max-width: none; }

/* ===== Slider : frise des cinq terrains (départ allumé, arrivée en fantôme) ===== */
.sy-head { display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2.5vh, 22px); width: 100%; }
.sy-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sy-frise {
  --ease: cubic-bezier(.6, 0, .2, 1);
  --r: 22px; /* rayon d'une pastille : le fil s'arrête à son bord */
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); /* colonnes régulières, indépendantes des noms */
  width: min(60%, 600px); /* même largeur que la bulle de lecture (.sy-sticker) */ color: var(--ink);
}
.sy-frise::before { content: ""; position: absolute; top: 21px; left: 10%; right: 10%; height: 2px; background: color-mix(in srgb, var(--ink) 16%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent var(--r), #000 var(--r), #000 calc(100% - var(--r)), transparent calc(100% - var(--r))) 0 0 / 25% 100% repeat-x;
  mask: linear-gradient(90deg, transparent var(--r), #000 var(--r), #000 calc(100% - var(--r)), transparent calc(100% - var(--r))) 0 0 / 25% 100% repeat-x; }
.sy-node { display: grid; justify-items: center; gap: 8px; position: relative; z-index: 1; color: var(--ink); }
/* pastille opaque, fond noir : le fil ne la traverse pas, l'icône prend la couleur du terrain */
.sy-pastille { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--t); transition: opacity .6s; }
.sy-pastille svg { width: 30px; height: 30px; opacity: .3; transition: opacity .5s; }
.sy-nom { color: var(--ink); font-size: var(--fs-base); letter-spacing: .02em; opacity: 0; transition: opacity .5s; }
.sy-node.on .sy-pastille svg { opacity: 1; }
.sy-node.on .sy-nom { opacity: 1; }
/* arrivée en fantôme : l'icône respire, le nom reste caché jusqu'au clic */
.sy-node.dest .sy-pastille svg { animation: sy-respire 2.6s ease-in-out infinite; }
@keyframes sy-respire { 50% { opacity: .75; } }
/* après le clic : les trois terrains hors trajet s'effacent au niveau du fil (16 %) */
.sy-stage.sy-revealed .sy-frise:not(.sy-frise-meta) .sy-node:not(.on):not(.dest) .sy-pastille { opacity: .16; }
/* le fil parcouru, du départ vers l'arrivée */
.sy-trace {
  position: absolute; top: 21px; height: 2px; background: var(--ink); z-index: 2;
  left: calc((var(--lo, 0) + .5) * 20% + var(--r)); width: calc(var(--span, 0) * 20% - 2 * var(--r));
  clip-path: var(--hide, inset(0 100% 0 0)); transition: clip-path .4s;
}
.sy-stage.sy-revealed .sy-trace { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease); }
.sy-stage.sy-revealed .sy-node.dest .sy-pastille svg { animation: none; opacity: 1; transition-delay: var(--d, 1.1s); }
.sy-stage.sy-revealed .sy-node.dest .sy-nom { opacity: 1; transition-delay: var(--d, 1.1s); }
/* volet 1 : les pastilles passent devant le trait (il ne cache pas les icônes) */
.sy-frise-meta .sy-trace { z-index: 0; left: calc((var(--lo, 0) + .5) * 20%); width: calc(var(--span, 0) * 20%); }
/* volet 1 : tout est éteint, le témoin part de Personne et allume chaque terrain, nom compris */
.sy-stage.sy-revealed .sy-frise-meta .sy-pastille svg, .sy-stage.sy-revealed .sy-frise-meta .sy-nom { opacity: 1; transition-delay: var(--d, 0s); }
@media (max-width: 600px) { .sy-frise { --r: 20px; width: calc(100% + 16px); margin-inline: -8px; } .sy-head { gap: 24px; } .sy-pastille { width: 40px; height: 40px; } .sy-pastille svg { width: 28px; height: 28px; } .sy-frise::before, .sy-trace { top: 19px; } .sy-nom { font-size: min(calc(var(--fs-xs) - 1px), 2.7vw); letter-spacing: 0; white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) {
  .sy-node.dest .sy-pastille svg { animation: none; }
  .sy-stage.sy-revealed .sy-trace, .sy-stage.sy-revealed .sy-node.dest .sy-pastille svg, .sy-stage.sy-revealed .sy-node.dest .sy-nom, .sy-stage.sy-revealed .sy-frise-meta .sy-pastille svg, .sy-stage.sy-revealed .sy-frise-meta .sy-nom { transition-duration: 0s; transition-delay: 0s; }
}

/* ===== Slider : ligne d'introduction au-dessus de la carte ===== */
.sy-intro {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  line-height: 1.3;
  color: var(--muted2);
  margin: 0 0 clamp(16px, 3vh, 28px);
}



/* ---- Prototype embarqué (Chalon dans la rue) : téléphone 414 x 896 dans une page ---- */
.proto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: clamp(24px, 6vh, 56px) 0 clamp(48px, 10vh, 96px);
}

.proto-frame {
  width: min(414px, 100%);
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--faint);
  border-radius: 44px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.proto-screen {
  display: block;
  width: 100%;
  height: min(896px, 85dvh);
  border: 0;
  border-radius: 34px;
  background: var(--faint);
}

.proto-enter {
  display: none; /* ordinateur : le téléphone est déjà affiché en grand, pas besoin de plein écran */
  padding: 12px 22px;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.proto-enter:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--paper);
}

/* Réserve la place du téléphone pendant qu'il est en plein écran, pour que la page ne saute pas. */
.proto-stage {
  width: min(414px, 100%);
  height: calc(min(896px, 85dvh) + 22px);
}

.proto-frame.is-immersive {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--proto-h, 100dvh);
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.proto-frame.is-immersive .proto-screen {
  width: min(414px, 100vw);
  height: min(896px, var(--proto-h, 100dvh));
  border-radius: 0;
}

@media (min-width: 431px) {
  .proto-frame.is-immersive .proto-screen {
    border-radius: 40px;
  }
}

.proto-lock {
  overflow: hidden;
}

/* Le menu du site est dans une autre couche que le cadre : on le masque pendant l'immersion. */
.proto-lock .site-nav {
  display: none;
}

/* Téléphone / tablette : on n'affiche pas un téléphone dans un téléphone. Un bouton ouvre l'appli, seule, en plein écran. */
@media (max-width: 820px), (pointer: coarse) {
  .proto-enter {
    display: inline-block;
  }

  .proto-stage {
    height: 0;
    overflow: hidden;
    visibility: hidden;
  }

  .proto-frame.is-immersive {
    visibility: visible;
  }
}

.proto-note {
  max-width: 52ch;
  font-size: var(--fs-sm);
  line-height: 1.6;
  text-align: center;
  color: var(--muted);
}

.proto-note a {
  color: var(--paper);
  text-underline-offset: 3px;
}
