:root {
  color-scheme: dark;
  --night-950: #050b12;
  --night-900: #08131f;
  --night-850: #0d1b28;
  --night-800: #132635;
  --paper: #f5f1e8;
  --mist: #c9d2d4;
  --muted: #9fb0b4;
  --gold: #f0bd70;
  --gold-soft: #ffe0a7;
  --ember: #dd6d42;
  --green: #88aa87;
  --line: rgba(245, 241, 232, 0.16);
  --line-strong: rgba(240, 189, 112, 0.42);
  --panel: rgba(10, 22, 33, 0.82);
  --panel-solid: #0d1a25;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night-950);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--night-950);
  color: var(--paper);
  font-family: var(--serif);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 16% 12%, rgba(26, 84, 116, 0.18), transparent 34%),
    radial-gradient(circle at 84% 34%, rgba(155, 74, 42, 0.11), transparent 32%),
    var(--night-950);
}

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

a {
  color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: #fff3d6;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #fff0be;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 10px 14px;
  background: var(--paper);
  color: var(--night-950);
  font-family: var(--sans);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(245, 241, 232, 0.1);
  background: rgba(5, 11, 18, 0.84);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 32px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a,
.nav-list .lang-pending {
  color: #dde4e4;
  font-family: var(--sans);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--gold-soft);
}

.nav-list a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-underline-offset: 0.55em;
}

.lang-pending {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  opacity: 0.7;
  cursor: not-allowed;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  background: transparent;
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 650;
}

.hero-stage {
  --pointer-x: 0px;
  --pointer-y: 0px;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #07121d;
}

.hero-art,
.hero-vignette,
.hero-glow,
.embers {
  position: absolute;
  inset: 0;
}

.hero-art {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025) translate(var(--pointer-x), var(--pointer-y));
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
  filter: saturate(0.95) contrast(1.02);
}

.hero-vignette {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 9, 15, 0.86) 0%, rgba(3, 9, 15, 0.64) 24%, rgba(3, 9, 15, 0.04) 54%, rgba(3, 9, 15, 0.2) 100%),
    linear-gradient(0deg, rgba(3, 9, 15, 0.64) 0%, transparent 32%, rgba(3, 9, 15, 0.22) 100%);
  pointer-events: none;
}

.hero-glow {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 179, 70, 0.16), transparent 26%),
    radial-gradient(ellipse at 50% 83%, rgba(227, 107, 53, 0.13), transparent 35%);
  opacity: 0.55;
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
}

.hero-stage.is-active .hero-glow {
  opacity: 0.9;
}

/* Variantes exploratoires : elles ne modifient pas la homepage principale. */
.concept-academic .embers,
.concept-earth .embers {
  display: none;
}

.concept-academic .hero-glow {
  background:
    radial-gradient(circle at 68% 38%, rgba(220, 150, 75, 0.1), transparent 28%),
    radial-gradient(ellipse at 66% 82%, rgba(183, 94, 48, 0.08), transparent 34%);
  opacity: 0.28;
  animation: none;
}

.concept-earth .hero-glow {
  background: radial-gradient(circle at 65% 50%, rgba(220, 145, 69, 0.08), transparent 32%);
  opacity: 0.18;
  animation: none;
}

.concept-earth .hero-vignette {
  background:
    linear-gradient(90deg, rgba(2, 8, 16, 0.9) 0%, rgba(2, 8, 16, 0.7) 25%, rgba(2, 8, 16, 0.12) 57%, rgba(2, 8, 16, 0.18) 100%),
    linear-gradient(0deg, rgba(2, 8, 16, 0.58) 0%, transparent 38%, rgba(2, 8, 16, 0.22) 100%);
}

.concept-figure .hero-art {
  object-position: center top;
  filter: saturate(0.78) contrast(1.06) brightness(0.72);
}

.concept-figure .hero-vignette {
  background:
    linear-gradient(90deg, rgba(3, 9, 15, 0.93) 0%, rgba(3, 9, 15, 0.72) 31%, rgba(3, 9, 15, 0.18) 61%, rgba(3, 9, 15, 0.28) 100%),
    linear-gradient(0deg, rgba(3, 9, 15, 0.72) 0%, transparent 44%, rgba(3, 9, 15, 0.22) 100%);
}

.concept-figure .hero-glow {
  background: radial-gradient(circle at 25% 82%, rgba(210, 102, 46, 0.1), transparent 35%);
  opacity: 0.2;
  animation: none;
}

.concept-figure .embers,
.concept-figure .tree-map,
.concept-figure .scroll-hint {
  display: none;
}

.concept-figure .hero-copy {
  width: min(44rem, 47vw);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid rgba(255, 213, 145, 0.42);
  border-radius: 999px;
  background: rgba(7, 15, 23, 0.72);
  color: #fff4dc;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-action:first-child {
  border-color: rgba(240, 156, 78, 0.72);
  background: linear-gradient(110deg, #df6c3f, #efb35d);
  color: #150c08;
}

.hero-action:hover,
.hero-action:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold-soft);
}

.embers {
  z-index: 3;
  pointer-events: none;
}

.ember {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #ffd180;
  box-shadow: 0 0 10px rgba(255, 150, 55, 0.92);
  opacity: 0.4;
  animation: ember-float var(--duration) ease-in-out infinite var(--delay);
}

.hero-inner {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 48px), var(--max));
  min-height: 100svh;
  margin: 0 auto;
  padding-top: 112px;
}

.hero-copy {
  position: absolute;
  top: 23%;
  left: 0;
  width: min(34rem, 36vw);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.7);
}

.eyebrow {
  margin: 0 0 18px;
  color: #a9c7bd;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(4rem, 8.5vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.hero-copy h1 span {
  color: var(--gold);
}

.hero-lead {
  max-width: 31rem;
  margin: 26px 0 0;
  color: #eef1ec;
  font-size: clamp(1.08rem, 1.65vw, 1.34rem);
  line-height: 1.5;
}

.hero-note {
  max-width: 28rem;
  margin: 18px 0 0;
  color: #c5d0d1;
  font-family: var(--sans);
  font-size: 0.91rem;
}

.tree-map {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
}

.tree-link {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  max-width: 260px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 213, 145, 0.46);
  border-radius: 12px;
  background: rgba(6, 14, 21, 0.77);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34), 0 0 18px rgba(222, 111, 53, 0.07);
  color: #fff4dc;
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.22;
  text-decoration: none;
  backdrop-filter: blur(10px);
  pointer-events: auto;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.tree-link::after {
  content: "→";
  color: var(--gold);
  font-size: 1rem;
}

.tree-link:hover,
.tree-link:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold-soft);
  background: rgba(18, 31, 38, 0.94);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 168, 74, 0.28);
  color: #fff9eb;
}

.node-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border: 1px solid #ffe0a7;
  border-radius: 50%;
  background: #b95a35;
  box-shadow: 0 0 12px rgba(255, 177, 88, 0.88);
}

.branch-project { top: 21%; left: 38%; }
.branch-research { top: 42%; left: 63%; }
.branch-team { top: 24%; left: 63%; }
.branch-publications { top: 52%; left: 63%; }
.root-ere { top: 71%; left: 24%; }
.root-terrain { top: 81%; left: 37%; }
.root-braise { top: 81%; left: 57%; }
.root-agia { top: 70%; left: 68%; }

.scroll-hint {
  position: absolute;
  z-index: 8;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-hint::after {
  width: 1px;
  height: 25px;
  content: "";
  background: linear-gradient(var(--gold), transparent);
}

.content-wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.home-intro,
.content-section {
  padding: clamp(68px, 9vw, 118px) 0;
}

.home-intro {
  position: relative;
  background: var(--night-950);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2,
h3 {
  text-wrap: balance;
}

.section-title,
.page-title {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.section-title {
  font-size: clamp(2.35rem, 5vw, 4.5rem);
}

.section-copy p,
.prose p,
.lead {
  color: var(--mist);
  font-size: clamp(1.03rem, 1.5vw, 1.17rem);
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
}

.priority-grid,
.card-grid,
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.priority-card,
.info-card,
.status-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.priority-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  color: var(--paper);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.priority-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
}

.priority-number {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.priority-card h3,
.info-card h3,
.status-card h3 {
  margin: 34px 0 10px;
  color: var(--paper);
  font-size: 1.42rem;
  font-weight: 500;
}

.priority-card p,
.info-card p,
.status-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.93rem;
}

.priority-card .arrow {
  margin-top: auto;
  padding-top: 22px;
  color: var(--gold);
  font-family: var(--sans);
}

.page-hero {
  min-height: 56svh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 28%, rgba(207, 118, 64, 0.14), transparent 28%),
    radial-gradient(circle at 20% 0%, rgba(47, 98, 122, 0.17), transparent 35%);
}

.page-title {
  max-width: 940px;
  font-size: clamp(3.25rem, 7vw, 7rem);
}

.page-title .accent {
  color: var(--gold);
}

.draft-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 0.82rem;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #e2e8e8;
  background: rgba(255, 255, 255, 0.04);
}

.status-tag.hypothesis { border-color: rgba(240, 189, 112, 0.5); }
.status-tag.observation { border-color: rgba(136, 170, 135, 0.6); }
.status-tag.documented { border-color: rgba(120, 171, 205, 0.62); }
.status-tag.archive { border-color: rgba(184, 151, 192, 0.62); }
.status-tag.perspective { border-color: rgba(208, 129, 86, 0.62); }

.content-section + .content-section {
  border-top: 1px solid rgba(245, 241, 232, 0.08);
}

.prose {
  max-width: 780px;
}

.prose h2 {
  margin: 0 0 24px;
  color: var(--paper);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 500;
  line-height: 1.12;
}

.prose h3 {
  margin: 44px 0 15px;
  color: var(--gold-soft);
  font-size: 1.38rem;
  font-weight: 500;
}

.prose p {
  margin: 0 0 20px;
}

.pull-quote {
  max-width: 920px;
  margin: 0;
  padding-left: 24px;
  border-left: 2px solid var(--ember);
  color: var(--paper);
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1.35;
}

.info-card,
.status-card {
  padding: 24px;
}

.info-card h3,
.status-card h3 {
  margin-top: 0;
}

.evidence-list {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.evidence-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--mist);
}

.evidence-list li::before {
  position: absolute;
  left: 17px;
  top: 20px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  content: "";
}

.source-notes {
  margin-top: 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.source-notes summary {
  padding: 18px 0;
  color: var(--gold-soft);
  font-family: var(--sans);
  font-weight: 650;
  cursor: pointer;
}

.source-notes-inner {
  padding: 0 0 24px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
}

.source-notes-inner ul {
  margin: 12px 0 0;
  padding-left: 1.2rem;
}

.source-notes-inner li + li {
  margin-top: 7px;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.text-link,
.solid-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 9px;
  font-family: var(--sans);
  font-weight: 650;
  text-decoration: none;
}

.text-link {
  border: 1px solid var(--line-strong);
  color: var(--gold-soft);
}

.solid-link {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #1b1107;
}

.text-link:hover,
.solid-link:hover {
  transform: translateY(-2px);
}

.placeholder-page .page-hero {
  min-height: 48svh;
}

/* Page Équipe : l'arbre lumineux relie la responsabilité scientifique au terrain. */
.equipe-page main {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(3, 9, 15, 0.93) 0%, rgba(3, 9, 15, 0.76) 48%, rgba(3, 9, 15, 0.46) 100%),
    linear-gradient(180deg, rgba(3, 9, 15, 0.14), rgba(3, 9, 15, 0.88)),
    url("arbre-lumineux-terre.png") center / cover fixed;
}

.equipe-page .page-hero {
  background: transparent;
}

.equipe-page .content-section {
  border-top: 1px solid rgba(245, 241, 232, 0.14);
  background: linear-gradient(180deg, rgba(3, 9, 15, 0.18), rgba(3, 9, 15, 0.64));
}

.equipe-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-section-title {
  max-width: 780px;
}

.equipe-page .info-card {
  background: rgba(5, 13, 21, 0.82);
  backdrop-filter: blur(12px);
}

.ai-team-section {
  background: rgba(3, 9, 15, 0.78) !important;
}

.ai-team-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: start;
}

.ai-team-figure {
  position: sticky;
  top: 108px;
  margin: 0;
}

.ai-team-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(240, 189, 112, 0.42);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.ai-team-figure figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  line-height: 1.55;
}

.ai-team-intro {
  margin: 26px 0 0;
  color: var(--mist);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.ai-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.ai-participant-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(136, 170, 135, 0.4);
  border-radius: 16px;
  background: rgba(7, 18, 27, 0.92);
  box-shadow: var(--shadow);
}

.participant-label {
  margin: 0;
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ai-participant-card h3 {
  margin: 26px 0 12px;
  color: var(--gold-soft);
  font-size: 1.7rem;
  font-weight: 500;
}

.ai-participant-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.91rem;
  line-height: 1.65;
}

.ai-method-note {
  margin-top: 18px;
  padding: 20px 22px;
  border-left: 2px solid var(--green);
  background: rgba(136, 170, 135, 0.08);
}

.ai-method-note strong {
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ai-method-note p {
  margin: 8px 0 0;
  color: var(--mist);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.65;
}

.equipe-quote {
  max-width: 900px;
  margin: 48px 0 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(240, 189, 112, 0.46);
  border-left: 3px solid var(--gold);
  border-radius: 0 18px 18px 0;
  background: rgba(5, 13, 21, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.equipe-quote blockquote,
.equipe-quote p {
  margin: 0;
}

.equipe-quote blockquote {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.32;
}

.equipe-quote figcaption {
  margin-top: 20px;
  color: var(--mist);
  font-family: var(--sans);
  font-size: 0.84rem;
  letter-spacing: 0.035em;
  line-height: 1.6;
}

.equipe-quote figcaption strong {
  color: var(--gold-soft);
  font-weight: 700;
}

@media (max-width: 760px) {
  .equipe-page main {
    background-attachment: scroll;
    background-position: 62% center;
  }

  .equipe-card-grid {
    grid-template-columns: 1fr;
  }

  .ai-team-layout,
  .ai-team-grid {
    grid-template-columns: 1fr;
  }

  .ai-team-figure {
    position: static;
  }

  .ai-participant-card {
    min-height: 0;
  }

  .equipe-quote {
    margin-top: 32px;
    border-radius: 0 14px 14px 0;
  }
}

/* Page Carnet : actualités, archives et fragments situés. */
.carnet-page .page-hero {
  background:
    radial-gradient(circle at 82% 24%, rgba(240, 189, 112, 0.12), transparent 30%),
    radial-gradient(circle at 18% 4%, rgba(43, 105, 119, 0.2), transparent 36%);
}

.carnet-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: end;
}

.carnet-section-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.97rem;
}

.carnet-entry {
  margin-top: 42px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 22, 33, 0.72);
  box-shadow: var(--shadow);
}

.carnet-entry-featured {
  border-color: rgba(240, 189, 112, 0.38);
  background:
    radial-gradient(circle at 90% 15%, rgba(240, 189, 112, 0.1), transparent 32%),
    rgba(10, 22, 33, 0.8);
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.carnet-entry h3 {
  max-width: 820px;
  margin: 26px 0 14px;
  color: var(--paper);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
}

.carnet-entry > p {
  max-width: 820px;
  margin: 0;
  color: var(--mist);
  font-family: var(--sans);
  font-size: 1rem;
}

.carnet-archives {
  background: rgba(255, 255, 255, 0.018);
}

.fragment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.fragment-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(24px, 3.5vw, 38px);
  border: 1px solid rgba(136, 170, 135, 0.35);
  border-radius: 18px;
  background: rgba(7, 17, 26, 0.9);
  box-shadow: var(--shadow);
}

.fragment-card-wide {
  grid-column: 1 / -1;
  min-height: 300px;
  border-color: rgba(240, 189, 112, 0.34);
}

.fragment-card .status-tag {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 0.72rem;
}

.fragment-card blockquote,
.fragment-card blockquote p {
  margin: 0;
}

.fragment-card blockquote {
  display: flex;
  flex: 1;
  align-items: center;
  padding: 34px 0;
  color: var(--paper);
  font-size: clamp(1.55rem, 2.7vw, 2.4rem);
  line-height: 1.3;
}

.fragment-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.55;
}

.fragment-card figcaption strong {
  color: var(--gold-soft);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .carnet-section-heading,
  .fragment-grid {
    grid-template-columns: 1fr;
  }

  .fragment-card-wide {
    grid-column: auto;
  }

  .fragment-card {
    min-height: 0;
  }
}

/* Page Publications : une référence éditoriale vérifiée. */
.publication-feature {
  background:
    radial-gradient(circle at 17% 38%, rgba(71, 143, 153, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.publication-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.publication-cover {
  margin: 0;
}

.publication-cover a {
  display: block;
  width: min(100%, 280px);
  overflow: hidden;
  border: 1px solid rgba(240, 189, 112, 0.42);
  border-radius: 4px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.publication-cover a:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 78px rgba(0, 0, 0, 0.58);
}

.publication-cover img {
  width: 100%;
  height: auto;
}

.publication-cover figcaption {
  max-width: 280px;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  line-height: 1.5;
}

.publication-details h2 {
  margin: 12px 0 16px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 500;
  line-height: 0.98;
}

.publication-chapter-title {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.35;
}

.publication-details > p:not(.section-kicker, .publication-chapter-title) {
  max-width: 760px;
  color: var(--mist);
  font-size: 1.06rem;
}

.publication-meta {
  display: grid;
  gap: 0;
  margin: 34px 0;
  border-top: 1px solid var(--line);
}

.publication-meta div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.publication-meta dt,
.publication-meta dd {
  margin: 0;
}

.publication-meta dt {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.publication-meta dd {
  color: var(--mist);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .publication-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .publication-cover {
    display: grid;
    justify-items: center;
  }

  .publication-cover figcaption {
    text-align: center;
  }

  .publication-meta div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.site-footer {
  padding: 52px 0;
  border-top: 1px solid var(--line);
  background: #050a10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}

.footer-grid p {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.87rem;
}

.footer-meta {
  color: #89979a;
  font-family: var(--sans);
  font-size: 0.8rem;
  text-align: right;
}

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

@keyframes breathe {
  0%, 100% { opacity: 0.46; }
  50% { opacity: 0.7; }
}

@keyframes ember-float {
  0%, 100% { transform: translate3d(0, 8px, 0); opacity: 0.18; }
  50% { transform: translate3d(5px, -12px, 0); opacity: 0.72; }
}

@media (max-width: 1080px) {
  .nav-list { gap: 14px; }
  .nav-list a, .nav-list .lang-pending { font-size: 0.82rem; }
  .hero-copy { width: min(29rem, 38vw); }
  .tree-link { max-width: 220px; font-size: 0.82rem; }
  .branch-project { left: 40%; }
  .branch-research { left: 62%; }
  .branch-team { left: 61%; }
  .branch-publications { left: 62%; }
  .root-ere { left: 20%; }
  .root-agia { left: 65%; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 11, 18, 0.98);
  }
  .site-nav.is-open { display: block; }
  .nav-list {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
    padding: 18px 0 22px;
    align-items: stretch;
    flex-direction: column;
  }
  .nav-list a, .nav-list .lang-pending {
    display: block;
    padding: 8px 2px;
    font-size: 1rem;
  }
  .lang-pending { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-stage { min-height: auto; padding-bottom: 36px; }
  .hero-art {
    position: relative;
    height: min(63vw, 520px);
    min-height: 360px;
    object-position: 54% center;
    transform: scale(1.04);
  }
  .hero-vignette {
    height: min(63vw, 520px);
    min-height: 360px;
    background: linear-gradient(0deg, var(--night-950), transparent 55%);
  }
  .hero-glow, .embers { height: min(63vw, 520px); min-height: 360px; }
  .hero-inner {
    width: min(calc(100% - 32px), var(--max));
    min-height: 0;
    padding-top: 0;
  }
  .hero-copy {
    position: relative;
    top: auto;
    width: auto;
    max-width: 680px;
    margin-top: -56px;
    padding: 24px 0 26px;
    text-shadow: 0 4px 18px rgba(0,0,0,.8);
  }
  .hero-copy h1 { font-size: clamp(3.6rem, 14vw, 6rem); }
  .tree-map {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .tree-map::before {
    grid-column: 1 / -1;
    content: "Explorer l’arbre";
    margin: 8px 0 2px;
    color: var(--green);
    font-family: var(--sans);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .tree-link {
    position: static;
    max-width: none;
    min-height: 56px;
  }
  .scroll-hint { display: none; }
  .section-grid { grid-template-columns: 1fr; }
  .priority-grid, .card-grid, .status-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .nav-shell { width: min(calc(100% - 24px), var(--max)); }
  .brand { font-size: 0.8rem; letter-spacing: 0.16em; }
  .hero-art, .hero-vignette, .hero-glow, .embers { min-height: 330px; height: 70vw; }
  .tree-map { grid-template-columns: 1fr; }
  .content-wrap { width: min(calc(100% - 28px), var(--max)); }
  .page-hero { min-height: 52svh; padding-top: 130px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .hero-art { transform: none !important; }
  .embers { display: none; }
}

/* Homepage pyramide : prototype local du 17 octobre 2026. */
.pyramid-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--night-950);
}

.pyramid-hero-media,
.pyramid-hero-shade {
  position: absolute;
  inset: 0;
}

.pyramid-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.86) contrast(1.05) brightness(0.82);
}

.pyramid-hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 10, 17, 0.98) 0%, rgba(4, 10, 17, 0.9) 35%, rgba(4, 10, 17, 0.52) 54%, rgba(4, 10, 17, 0.12) 78%, rgba(4, 10, 17, 0.26) 100%),
    linear-gradient(0deg, rgba(4, 10, 17, 0.7) 0%, transparent 34%, rgba(4, 10, 17, 0.18) 100%);
}

.pyramid-hero-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  min-height: 100svh;
  margin: 0 auto;
  padding: 118px 0 48px;
  display: flex;
  align-items: center;
}

.pyramid-hero-copy {
  width: min(620px, 53vw);
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.75);
}

.pyramid-kicker {
  margin: 0 0 12px;
  color: #9bc6ad;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.pyramid-hero h1 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(4.2rem, 7.2vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.pyramid-hero h1 span {
  color: var(--gold);
}

.pyramid-lead {
  max-width: 610px;
  margin: 18px 0 0;
  color: #ddd8cf;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.46;
}

.concept-pyramid {
  width: min(570px, 100%);
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(242, 200, 121, 0.2);
  border-radius: 22px;
  background: rgba(6, 14, 22, 0.48);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(9px);
}

.pyramid-row {
  display: grid;
  justify-content: center;
  gap: 10px;
}

.pyramid-row + .pyramid-row {
  margin-top: 9px;
}

.pyramid-row-single {
  grid-template-columns: minmax(138px, 0.38fr);
}

.pyramid-row-double {
  grid-template-columns: repeat(2, minmax(135px, 0.36fr));
}

.pyramid-row-triple {
  grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.pyramid-row-alignment {
  grid-template-columns: minmax(220px, 0.62fr);
}

.concept-link {
  --concept-color: var(--gold);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid color-mix(in srgb, var(--concept-color) 58%, transparent);
  border-radius: 11px;
  background: #07111b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: #fff5df;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.concept-link::before {
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--concept-color);
  box-shadow: 0 0 11px color-mix(in srgb, var(--concept-color) 72%, transparent);
  content: "";
}

.concept-foundation { --concept-color: #f0bd70; }
.concept-relational { --concept-color: #83b9b2; }
.concept-hypothesis { --concept-color: #dc774c; }
.concept-alignment { --concept-color: #ffe0a7; }

.concept-alignment {
  min-height: 47px;
  background: linear-gradient(105deg, #38231d, #25231c);
  letter-spacing: 0.13em;
}

.concept-link:hover,
.concept-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--concept-color);
  background: #12222d;
  box-shadow: 0 9px 25px rgba(0, 0, 0, 0.3), 0 0 20px color-mix(in srgb, var(--concept-color) 22%, transparent);
  color: #fffaf0;
}

.pyramid-caption {
  margin: 15px 0 0;
  color: #a8b4b5;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.concept-return {
  margin-top: 24px;
}

@media (max-width: 1080px) {
  .pyramid-hero-copy { width: min(590px, 58vw); }
  .concept-pyramid { margin-top: 18px; padding: 15px; }
  .pyramid-row + .pyramid-row { margin-top: 7px; }
  .concept-link { min-height: 40px; font-size: 0.78rem; }
}

@media (max-width: 900px) {
  .pyramid-hero { min-height: auto; padding-top: 72px; overflow: visible; }
  .pyramid-hero-media { position: relative; height: min(76vw, 540px); min-height: 360px; }
  .pyramid-hero-media img { object-position: 61% top; }
  .pyramid-hero-shade {
    background:
      linear-gradient(0deg, var(--night-950) 0%, rgba(5, 11, 18, 0.38) 48%, rgba(5, 11, 18, 0.16) 100%),
      linear-gradient(90deg, rgba(5, 11, 18, 0.56), rgba(5, 11, 18, 0.04) 70%);
  }
  .pyramid-hero-shell {
    width: min(calc(100% - 32px), 720px);
    min-height: 0;
    margin-top: -82px;
    padding: 0 0 54px;
    display: block;
  }
  .pyramid-hero-copy { width: auto; }
  .pyramid-hero h1 { font-size: clamp(3.8rem, 15vw, 6.2rem); }
  .pyramid-lead { max-width: 650px; }
  .concept-pyramid {
    width: 100%;
    margin-top: 30px;
    padding: 18px;
    background: rgba(10, 24, 35, 0.88);
  }
  .pyramid-row,
  .pyramid-row-single,
  .pyramid-row-double,
  .pyramid-row-triple,
  .pyramid-row-alignment {
    grid-template-columns: 1fr;
  }
  .pyramid-row + .pyramid-row { margin-top: 10px; }
  .concept-link { min-height: 54px; font-size: 0.9rem; }
  .concept-alignment { min-height: 58px; }
}

@media (max-width: 580px) {
  .pyramid-hero-media { height: 82vw; min-height: 330px; }
  .pyramid-hero-shell { width: min(calc(100% - 24px), 720px); margin-top: -58px; }
  .pyramid-kicker { font-size: 0.65rem; letter-spacing: 0.12em; }
  .pyramid-lead { font-size: 1rem; }
  .concept-pyramid { padding: 14px; border-radius: 16px; }
}

/* Homepage écran unique : évolution du 17 octobre 2026. */
body.pyramid-home {
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.pyramid-home > main {
  min-height: 0;
}

.pyramid-home .pyramid-hero {
  height: 100%;
  min-height: 0;
}

.pyramid-home .pyramid-hero-shell {
  height: 100%;
  min-height: 0;
  padding: 92px 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: center;
}

.pyramid-home .pyramid-hero-copy {
  width: auto;
  max-width: 650px;
}

.pyramid-home .pyramid-hero h1 {
  font-size: clamp(4rem, 6vw, 6.2rem);
}

.pyramid-statement {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--paper);
  font-size: clamp(1.12rem, 1.55vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
}

.pyramid-question {
  max-width: 650px;
  margin: 13px 0 0;
  color: #e8e0d5;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.48;
}

.pyramid-home .pyramid-lead {
  max-width: 640px;
  margin-top: 13px;
  color: #bac5c5;
  font-family: var(--sans);
  font-size: clamp(0.86rem, 1vw, 0.98rem);
  line-height: 1.52;
}

.pyramid-actions {
  margin-top: 20px;
}

.pyramid-actions .text-link,
.pyramid-actions .solid-link {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 0.9rem;
}

.pyramid-home .concept-pyramid {
  width: 100%;
  max-width: 570px;
  margin: 0;
  justify-self: end;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.pyramid-home .pyramid-hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 10, 17, 0.98) 0%, rgba(4, 10, 17, 0.87) 34%, rgba(4, 10, 17, 0.36) 62%, rgba(4, 10, 17, 0.34) 100%),
    linear-gradient(0deg, rgba(4, 10, 17, 0.72) 0%, transparent 38%, rgba(4, 10, 17, 0.2) 100%);
}

.pyramid-home .home-footer {
  position: relative;
  z-index: 5;
  padding: 10px 0;
  background: rgba(5, 10, 16, 0.98);
}

.home-footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.home-footer-inner .brand {
  flex: 0 0 auto;
}

.home-footer-inner p {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.76rem;
  line-height: 1.4;
}

@media (max-height: 780px) and (min-width: 901px) {
  .pyramid-home .pyramid-hero-shell { padding-top: 84px; padding-bottom: 12px; }
  .pyramid-home .pyramid-hero h1 { font-size: clamp(3.6rem, 5.5vw, 5.2rem); }
  .pyramid-statement { margin-top: 13px; font-size: 1.08rem; }
  .pyramid-question { margin-top: 9px; font-size: 0.92rem; }
  .pyramid-home .pyramid-lead { margin-top: 9px; font-size: 0.82rem; }
  .pyramid-actions { margin-top: 13px; }
  .pyramid-home .concept-pyramid { padding: 14px; }
  .pyramid-home .pyramid-row + .pyramid-row { margin-top: 7px; }
  .pyramid-home .concept-link { min-height: 38px; font-size: 0.76rem; }
  .pyramid-home .concept-alignment { min-height: 43px; }
  .pyramid-home .pyramid-caption { margin-top: 11px; font-size: 0.66rem; }
}

@media (max-width: 900px) {
  body.pyramid-home {
    height: auto;
    min-height: 100svh;
    overflow: auto;
    display: block;
  }
  .pyramid-home .pyramid-hero { height: auto; min-height: auto; }
  .pyramid-home .pyramid-hero-shell {
    height: auto;
    min-height: 0;
    padding: 0 0 42px;
    display: block;
  }
  .pyramid-home .pyramid-hero h1 { font-size: clamp(3.8rem, 15vw, 6.2rem); }
  .pyramid-statement { font-size: clamp(1.18rem, 4.8vw, 1.48rem); }
  .pyramid-question { font-size: 1rem; }
  .pyramid-home .pyramid-lead { font-size: 0.94rem; }
  .pyramid-home .concept-pyramid {
    width: 100%;
    max-width: none;
    margin-top: 30px;
    background: rgba(10, 24, 35, 0.88);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.23);
    backdrop-filter: blur(9px);
  }
  .home-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .pyramid-home .home-footer { padding: 24px 0; }
  .home-footer-inner p { font-size: 0.82rem; }
}

/* Page Projet : première version éditoriale documentée. */
section[id] {
  scroll-margin-top: 88px;
}

.project-hero {
  padding-bottom: 68px;
}

#pacte .section-title {
  font-size: clamp(2.15rem, 3.2vw, 2.9rem);
}

.project-hero .lead {
  max-width: 820px;
}

.project-toc {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.project-toc > p {
  margin: 0 0 12px;
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 34px;
  margin: 0;
  padding-left: 1.35rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
}

.project-toc a {
  color: #dce4e2;
  text-decoration-color: rgba(240, 189, 112, 0.48);
}

.section-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.concept-jumps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.concept-jump {
  scroll-margin-top: 96px;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}

.concept-jump h3 {
  margin: 0 0 7px;
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.concept-jump p {
  margin: 0;
  color: var(--mist);
  font-size: 0.97rem;
  line-height: 1.58;
}

.project-question {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  line-height: 1.3;
}

.research-status-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.research-status-list li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.research-status-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.research-status-list strong {
  display: inline-block;
  min-width: 178px;
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.reference-list {
  margin: 18px 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.86rem;
  line-height: 1.6;
}

.reference-list li + li {
  margin-top: 9px;
}

.reference-list a {
  overflow-wrap: anywhere;
}

.source-directive {
  margin: 0 0 20px;
  color: var(--mist);
  font-family: var(--sans);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .project-toc ol,
  .concept-jumps {
    grid-template-columns: 1fr;
  }
  .research-status-list strong {
    display: block;
    min-width: 0;
    margin-bottom: 5px;
  }
}

/* Page Instruments : statuts, prototype et dispositif prospectif. */
.instruments-overview {
  padding-top: 72px;
}

.instruments-status-grid {
  margin-top: 30px;
}

.instruments-status-grid .status-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
}

.instruments-status-grid .text-link {
  align-self: flex-start;
  margin-top: auto;
}

.instrument-number {
  margin: 0 0 30px;
  color: var(--ember);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.instrument-subtitle {
  max-width: 440px;
  margin: 18px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.035em;
  line-height: 1.55;
}

.instrument-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.instrument-indicators span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 26, 37, 0.74);
  color: var(--mist);
  font-family: var(--sans);
  font-size: 0.76rem;
  line-height: 1.25;
}

.instrument-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
  counter-reset: instrument-step;
}

.instrument-flow li {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(13, 26, 37, 0.58);
  counter-increment: instrument-step;
}

.instrument-flow li::before {
  display: block;
  margin-bottom: 12px;
  color: var(--ember);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  content: "0" counter(instrument-step);
}

.instrument-flow strong,
.instrument-flow span {
  display: block;
}

.instrument-flow strong {
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.35;
}

.instrument-flow span {
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  line-height: 1.48;
}

.instrument-figure {
  max-width: 1000px;
  margin: 54px auto 0;
  padding: clamp(14px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.instrument-figure img {
  width: 100%;
  height: auto;
}

.instrument-figure figcaption {
  margin-top: 18px;
  color: var(--mist);
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.55;
}

.instrument-detail-block {
  margin-top: 58px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.instrument-detail-title {
  max-width: 780px;
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 500;
  line-height: 1.06;
}

.instrument-indicator-grid {
  margin-top: 28px;
}

.instrument-indicator-grid .info-card {
  min-height: 210px;
}

@media (max-width: 760px) {
  .instruments-status-grid .status-card {
    min-height: 0;
  }

  .instrument-flow {
    grid-template-columns: 1fr;
  }

  .instrument-figure {
    margin-top: 36px;
    border-radius: 16px;
  }

  .instrument-detail-block {
    margin-top: 40px;
    padding-top: 32px;
  }

  .instrument-indicator-grid .info-card {
    min-height: 0;
  }
}

/* V0.15 : portraits, manifeste et orientations relationnelles. */
.human-profile-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
  overflow: hidden;
}

.human-profile-photo {
  width: 100%;
  height: clamp(220px, 22vw, 300px);
  border: 1px solid var(--line);
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.03);
}

.human-profile-copy p {
  margin-bottom: 0;
}

.values-orientations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.values-orientations span {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgba(240, 189, 112, 0.42);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(240, 189, 112, 0.12), rgba(45, 142, 139, 0.08));
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 0.79rem;
  font-weight: 750;
  letter-spacing: 0.065em;
  line-height: 1.35;
  text-transform: uppercase;
}

.carnet-social-link {
  margin-top: 20px;
}

.manifesto-page {
  background: var(--night-950);
}

.manifesto-hero {
  padding-bottom: clamp(64px, 8vw, 110px);
}

.manifesto-hero-inner {
  max-width: 1180px;
}

.manifesto-hero .page-title {
  max-width: 1030px;
}

.manifesto-hero .lead {
  max-width: 780px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.manifesto-section {
  padding: clamp(72px, 9vw, 126px) 0;
  border-top: 1px solid var(--line);
}

.manifesto-section:nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: start;
}

.manifesto-grid .section-title {
  max-width: 520px;
  margin-bottom: 0;
}

.manifesto-copy {
  max-width: 760px;
  color: var(--mist);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.78;
}

.manifesto-copy > :first-child {
  margin-top: 0;
}

.manifesto-copy > :last-child {
  margin-bottom: 0;
}

.manifesto-question {
  padding: 20px 0 20px 24px;
  border-left: 2px solid var(--ember);
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.72rem);
  line-height: 1.45;
}

.manifesto-pullquote {
  margin: 34px 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(240, 189, 112, 0.42);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(240, 189, 112, 0.11), rgba(45, 142, 139, 0.07));
  box-shadow: var(--shadow);
}

.manifesto-pullquote p {
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.38;
}

.values-orientations-large {
  margin: 28px 0 34px;
}

.values-orientations-large span {
  min-height: 76px;
  padding: 18px 20px;
  font-size: 0.86rem;
}

.manifesto-together {
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.manifesto-signature {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.manifesto-signature span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.035em;
}

/* Fonds documentaires : images assombries pour préserver la priorité du texte. */
.project-page main,
.carnet-page main,
.instruments-page main,
.manifesto-page main {
  position: relative;
  isolation: isolate;
}

.project-page main,
.carnet-page main {
  background:
    linear-gradient(90deg, rgba(3, 9, 15, 0.94) 0%, rgba(3, 9, 15, 0.82) 48%, rgba(3, 9, 15, 0.68) 100%),
    linear-gradient(180deg, rgba(3, 9, 15, 0.22), rgba(3, 9, 15, 0.92)),
    url("code-may-fond.png") center top / cover fixed;
}

.manifesto-page main {
  background:
    linear-gradient(90deg, rgba(5, 11, 18, 0.94), rgba(5, 11, 18, 0.84) 54%, rgba(5, 11, 18, 0.9)),
    linear-gradient(180deg, rgba(5, 11, 18, 0.5), rgba(5, 11, 18, 0.96)),
    url("manifeste-background.png") center top / cover fixed;
}

.instruments-page main {
  background:
    linear-gradient(90deg, rgba(5, 11, 18, 0.88), rgba(5, 11, 18, 0.78) 52%, rgba(5, 11, 18, 0.9)),
    linear-gradient(180deg, rgba(5, 11, 18, 0.72), rgba(5, 11, 18, 0.96)),
    url("instruments-background.png") center top / cover fixed;
}

.project-page .page-hero,
.carnet-page .page-hero,
.instruments-page .page-hero,
.manifesto-page .page-hero {
  background: transparent;
}

.project-page .content-section,
.carnet-page .content-section,
.instruments-page .content-section {
  background: linear-gradient(180deg, rgba(5, 11, 18, 0.64), rgba(5, 11, 18, 0.78));
}

.manifesto-page .manifesto-section {
  background: rgba(5, 11, 18, 0.58);
}

.manifesto-page .manifesto-section:nth-child(even) {
  background: rgba(5, 11, 18, 0.72);
}

@media (max-width: 900px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .human-profile-card {
    grid-template-columns: minmax(110px, 0.36fr) minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .human-profile-card {
    grid-template-columns: 1fr;
  }

  .human-profile-photo {
    height: min(86vw, 360px);
  }

  .values-orientations {
    grid-template-columns: 1fr;
  }

  .manifesto-section {
    padding: 62px 0;
  }

  .project-page main,
  .carnet-page main,
  .instruments-page main,
  .manifesto-page main {
    background-attachment: scroll;
  }
}
