/* ==========================================================================
   Eko Conseil — feuille de style (v2)
   Direction : « lumière d'aube ». Une nuit profonde qui s'éclaire : horizon
   lumineux à l'ouverture, halos qui suivent la lecture, campus baigné d'une
   lumière pétrole, appel final comme un lever de jour.
   Typographie : une seule police, Inter (graisses 400 à 700), sur l'échelle
   typographique de Notion (96/600, 72/500, 54/700 … 12/500), sans italique.
   Mise en page : conteneur 1280 px ; compositions asymétriques ;
   profondeur par la lumière et les paliers de surface.
   ========================================================================== */

/* ---------- Police (auto-hébergée, licence SIL OFL) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  /* « block » : le texte attend Inter (fichier léger et préchargé) plutôt que
     d'apparaître un instant dans une autre police */
  font-display: block;
}
/* Repli technique calibré sur Inter : sert à la mise en page pendant le
   chargement, et ne s'affiche que si le fichier Inter ne peut pas être chargé */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 105.82%;
  ascent-override: 91.54%;
  descent-override: 22.79%;
  line-gap-override: 0%;
}

/* ---------- Jetons ---------- */
:root {
  color-scheme: dark;

  /* Nuit */
  --night-0: #050607;
  --night-1: #08090b;
  --night-2: #0c0e11;
  --night-3: #11141a;
  --night-4: #181c23;

  /* Texte */
  --text: #f3f2ee;
  --text-2: #b9bbbe;
  --text-3: #868a8f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.26);

  /* Lumières (triplets RGB pour les transparences) */
  --petrol-rgb: 14 79 94;
  --cyan-rgb: 69 199 229;
  --violet-rgb: 140 125 255;
  --orange-rgb: 240 138 44;
  --rose-rgb: 232 155 211;
  --petrol: rgb(var(--petrol-rgb));
  --cyan: rgb(var(--cyan-rgb));
  --violet: rgb(var(--violet-rgb));
  --orange: rgb(var(--orange-rgb));
  --rose: rgb(var(--rose-rgb));

  /* Papier (bloc inversé) */
  --paper: #ece9e2;
  --paper-ink: #0d0e10;
  --paper-text: #3d4045;
  --paper-line: rgba(13, 14, 16, 0.16);

  --danger: #ffa3a3;
  --ok: #7fdcf0;

  /* Typographie : Inter, échelle de Notion (taille max · graisse · interligne · approche) */
  --font-sans: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-display-lg: clamp(2.75rem, 1.667rem + 5.417vw, 6rem);    /* 96px · 600 · 1.04 · -0.048em */
  --fs-display: clamp(2.25rem, 1.5rem + 3.75vw, 4.5rem);        /* 72px · 500 · 1.21 · -0.028em */
  --fs-display-sm: clamp(1.875rem, 1.375rem + 2.5vw, 3.375rem); /* 54px · 700 · 1.04 · -0.035em */
  --fs-heading-lg: clamp(1.625rem, 1.167rem + 2.292vw, 3rem);   /* 48px · 400 · 1.5 */
  --fs-heading: clamp(1.5rem, 1.167rem + 1.667vw, 2.5rem);      /* 40px · 400 · 1.5 */
  --fs-title: clamp(1.5rem, 1.333rem + 0.833vw, 2rem);          /* 32px · 400 · 1.25 */
  --fs-heading-sm: 1.375rem;                                    /* 22px · 700 · 1.27 · -0.011em */
  --fs-lead: clamp(1.125rem, 1.083rem + 0.208vw, 1.25rem);      /* 18 → 20px · 400 */
  --fs-body: 1rem;                                              /* 16px · 400 · 1.5 */
  --fs-small: 0.875rem;                                         /* 14px · 400/500/600 · 1.43 */
  --fs-xs: 0.75rem;                                             /* 12px · 500 · 1.33 · 0.01em */

  /* Mot mis en valeur dans les titres : lumière d'aube. Dégradé symétrique,
     affiché sur deux fois la largeur du mot : il glisse lentement. */
  --dawn: linear-gradient(100deg, #ffd3a8 0%, #f9ab8f 17%, #ec9fd2 34%, #b3a6ff 50%, #ec9fd2 66%, #f9ab8f 83%, #ffd3a8 100%);
  --dawn-ink: linear-gradient(100deg, #b4500c 0%, #a8407f 27%, #5544d6 50%, #a8407f 73%, #b4500c 100%);

  /* Mouvement */
  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-atmos: cubic-bezier(0.455, 0.03, 0.515, 0.955);

  /* Formes et rythme */
  --r-card: 28px;
  --r-frame: 24px;
  --r-input: 14px;
  --r-pill: 999px;
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(96px, 11vw, 160px);
  --header-h: 72px;
}

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

html {
  background: var(--night-1);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 32px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night-1);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 400;
  text-wrap: balance;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgb(var(--orange-rgb) / 0.85);
  color: var(--night-0);
  -webkit-text-fill-color: var(--night-0);
}

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

[hidden] {
  display: none !important;
}

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

/* ---------- Fond évolutif ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.ambient__layer {
  position: absolute;
  inset: -10%;
  opacity: 0;
  transition: opacity 1.6s var(--ease-io);
}

.ambient__layer--a {
  background:
    radial-gradient(38% 34% at 88% 8%, rgb(var(--violet-rgb) / 0.11), transparent 72%),
    radial-gradient(34% 30% at 6% 34%, rgb(var(--cyan-rgb) / 0.06), transparent 72%);
}

.ambient__layer--b {
  background:
    radial-gradient(46% 42% at 0% 48%, rgb(var(--petrol-rgb) / 0.42), transparent 72%),
    radial-gradient(30% 30% at 100% 86%, rgb(var(--cyan-rgb) / 0.06), transparent 72%);
}

.ambient__layer--c {
  background:
    radial-gradient(42% 36% at 100% 100%, rgb(var(--orange-rgb) / 0.1), transparent 72%),
    radial-gradient(36% 34% at 0% 92%, rgb(var(--violet-rgb) / 0.08), transparent 72%);
}

body:not([data-ambient]) .ambient__layer--a,
body[data-ambient="a"] .ambient__layer--a,
body[data-ambient="b"] .ambient__layer--b,
body[data-ambient="c"] .ambient__layer--c {
  opacity: 1;
}

.grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/grain.png");
  background-size: 128px 128px;
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- Typographie (Inter, échelle de Notion) ---------- */
.t-hero,
.t-display,
.t-h2,
.t-h3 {
  color: var(--text);
}

/* display-lg : 96px · 600 · 1.04 · -0.048em */
.t-hero {
  font-size: var(--fs-display-lg);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.048em;
}

/* display : 72px · 500 · 1.21 · -0.028em */
.t-display {
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.21;
  letter-spacing: -0.028em;
}

/* display-sm : 54px · 700 · 1.04 · -0.035em */
.t-h2 {
  font-size: var(--fs-display-sm);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

/* 32px · 400 · 1.25 */
.t-h3 {
  font-size: var(--fs-title);
  font-weight: 400;
  line-height: 1.25;
}

/* Mot mis en valeur : même police, droite, teintée d'un dégradé d'aube */
.t-hero em,
.t-display em,
.t-h2 em,
.t-h3 em,
.manifesto__text em {
  font-style: normal;
}

.t-hero em,
.t-display em,
.t-h2 em,
.t-h3 em,
.split em .w__i,
html:not(.js) .manifesto__text em .mw,
.js .manifesto__text em .mw.is-lit,
.menu__list a[aria-current="page"] .menu__label {
  color: var(--em-color, #f6b493);
  background-image: var(--em-grad, var(--dawn));
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Titres animés : ce sont les mots qui portent le dégradé */
.split em {
  background-image: none;
}

/* Sur fond clair, le dégradé est foncé pour rester lisible */
.pledges__card,
.review {
  --em-color: #8f3f6a;
  --em-grad: var(--dawn-ink);
}

.lead {
  max-width: 38em;
  color: var(--text-2);
  font-size: var(--fs-lead);
  line-height: 1.5;
  text-wrap: pretty;
}

/* caption : 12px · 500 · 1.33 · 0.01em */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.33;
}

.label::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.text-light {
  color: var(--text);
}

/* Mots découpés (titres animés) */
.split .w {
  display: inline-block;
  white-space: nowrap;
}

.split .w__i {
  display: inline-block;
}

/* ---------- Mise en page ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.container--narrow {
  max-width: calc(800px + 2 * var(--gutter));
}

.section {
  position: relative;
  padding-block: var(--section);
}

.section--flush-top {
  padding-top: 0;
}

.section--after-hero {
  padding-top: clamp(8px, 2vw, 32px);
}

.center {
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

/* En-tête de section éditorial : titre à gauche, introduction à droite */
.sh {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.sh > * {
  min-width: 0;
}

.sh__aside {
  display: grid;
  gap: 20px;
  align-content: end;
  max-width: 30em;
}

@media (min-width: 960px) {
  .sh {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 64px;
    align-items: end;
  }

  .sh__aside {
    justify-self: end;
  }
}

/* ---------- Lien d'évitement ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--text);
  color: var(--night-0);
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: calc(12px + env(safe-area-inset-top, 0px));
}

/* ---------- Boutons et liens ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid var(--btn-border);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  /* Léger effet « aimant » au survol (souris uniquement, réglé par le script) */
  translate: var(--bx, 0px) var(--by, 0px);
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.4s var(--ease-out), transform 0.3s var(--ease-out), translate 0.6s var(--ease-out);
}

.btn__icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  overflow: hidden;
}

.btn__icon svg {
  position: absolute;
  inset: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.45s var(--ease-out);
}

.btn__icon svg + svg {
  transform: translateX(-140%);
}

.btn:hover .btn__icon svg:first-child,
.btn:focus-visible .btn__icon svg:first-child {
  transform: translateX(140%);
}

.btn:hover .btn__icon svg + svg,
.btn:focus-visible .btn__icon svg + svg {
  transform: translateX(0);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  --btn-bg: var(--text);
  --btn-fg: var(--night-0);
  box-shadow: 0 0 0 0 rgb(255 255 255 / 0);
}

.btn--primary:hover {
  --btn-bg: #ffffff;
  box-shadow: 0 0 0 6px rgb(255 255 255 / 0.08), 0 12px 40px -8px rgb(var(--orange-rgb) / 0.45);
}

.btn--ghost {
  --btn-border: var(--line-3);
  --btn-bg: rgb(255 255 255 / 0.03);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  --btn-border: rgb(255 255 255 / 0.6);
  --btn-bg: rgb(255 255 255 / 0.08);
}

.btn--dark {
  --btn-bg: var(--paper-ink);
  --btn-fg: var(--text);
}

.btn--dark:hover {
  --btn-bg: #24262b;
}

.btn--sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: var(--fs-small);
  gap: 10px;
}

.btn--sm .btn__icon,
.btn--sm .btn__icon svg {
  width: 16px;
  height: 16px;
}

.btn[disabled],
.btn[aria-busy="true"] {
  cursor: progress;
  opacity: 0.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.center .actions,
.actions--center {
  justify-content: center;
}

@media (max-width: 479px) {
  .actions--stack .btn {
    flex: 1 1 100%;
  }
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  padding-bottom: 4px;
  transition: background-size 0.5s var(--ease-out);
}

.link:hover,
.link:focus-visible {
  background-size: 100% 1px;
}

.link svg {
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform 0.45s var(--ease-out);
}

.link:hover svg,
.link:focus-visible svg {
  transform: translateX(4px);
}

/* Pastille */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.43;
  text-align: left;
}

@media (max-width: 479px) {
  .pill {
    font-size: var(--fs-xs);
    letter-spacing: 0.01em;
    line-height: 1.33;
  }
}

.pill__dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px 2px rgb(var(--orange-rgb) / 0.7);
}

/* ---------- En-tête ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  pointer-events: none;
}

.header__wrap {
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  height: var(--header-h);
  margin: 0 auto;
  padding-inline: calc(var(--gutter) - 12px);
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  pointer-events: auto;
  transition: max-width 0.6s var(--ease-out), height 0.6s var(--ease-out), margin 0.6s var(--ease-out), padding 0.6s var(--ease-out), border-radius 0.6s var(--ease-out), background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}

/* Fil de lecture : une ligne de lumière suit la progression dans la page */
.header__bar {
  position: relative;
}

.header__bar::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: -1px;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--orange));
  transform: scaleX(var(--sp, 0));
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.header.is-scrolled .header__bar::after {
  opacity: 0.9;
}

.header.is-scrolled .header__bar {
  max-width: 1120px;
  height: 60px;
  margin-top: 10px;
  padding-inline: 10px 8px;
  border-color: var(--line-2);
  border-radius: var(--r-pill);
  background: rgb(12 14 17 / 0.66);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 12px 40px -18px rgb(0 0 0 / 0.7);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header.is-scrolled .header__bar {
    background: rgb(12 14 17 / 0.97);
  }
}

.brand {
  display: inline-flex;
  flex: none;
  padding: 4px;
  border-radius: 10px;
}

.brand img {
  width: auto;
  height: 34px;
  transition: height 0.6s var(--ease-out);
}

.header.is-scrolled .brand img {
  height: 30px;
}

.nav {
  display: none;
}

.nav__inner {
  position: relative;
}

.nav__list {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.09);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out), opacity 0.3s ease;
}

.nav__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  color: var(--text-2);
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current="page"] {
  color: var(--text);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgb(var(--orange-rgb) / 0.8);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-long {
  display: none;
}

.menu-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.04);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.menu-btn:hover {
  background: rgb(255 255 255 / 0.1);
}

.menu-btn__bars {
  position: relative;
  width: 16px;
  height: 8px;
}

.menu-btn__bars::before,
.menu-btn__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}

.menu-btn__bars::before {
  top: 0;
}

.menu-btn__bars::after {
  top: calc(100% - 1.5px);
}

.menu-btn[aria-expanded="true"] .menu-btn__bars::before {
  top: calc(50% - 0.75px);
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__bars::after {
  top: calc(50% - 0.75px);
  transform: rotate(-45deg);
}

@media (min-width: 640px) {
  .cta-long {
    display: inline;
  }

  .cta-short {
    display: none;
  }
}

@media (min-width: 1024px) {
  .nav {
    display: block;
  }

  .menu-btn {
    display: none;
  }
}

/* ---------- Menu mobile ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  overflow-y: auto;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 32px);
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  background:
    radial-gradient(60% 40% at 100% 0%, rgb(var(--violet-rgb) / 0.18), transparent 70%),
    radial-gradient(60% 40% at 0% 100%, rgb(var(--orange-rgb) / 0.12), transparent 70%),
    var(--night-1);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}

.menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__list li {
  border-bottom: 1px solid var(--line);
}

/* Menu mobile : 20px · 500 · 1.4 */
.menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.menu__list a svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--text-3);
  transition: transform 0.45s var(--ease-out), color 0.3s ease;
}

.menu__list a:hover svg,
.menu__list a:focus-visible svg {
  color: var(--text);
  transform: translateX(4px);
}

.menu__foot {
  display: grid;
  gap: 16px;
}

.menu__foot .btn {
  width: 100%;
}

.menu__foot p {
  color: var(--text-2);
  font-size: var(--fs-small);
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: no-preference) {
  .menu__list li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
  }

  .menu.is-open .menu__list li {
    opacity: 1;
    transform: none;
  }

  .menu.is-open .menu__list li:nth-child(2) { transition-delay: 0.05s; }
  .menu.is-open .menu__list li:nth-child(3) { transition-delay: 0.1s; }
  .menu.is-open .menu__list li:nth-child(4) { transition-delay: 0.15s; }
  .menu.is-open .menu__list li:nth-child(5) { transition-delay: 0.2s; }
}

@media (min-width: 1024px) {
  .menu {
    display: none;
  }
}

/* ---------- Héros d'accueil ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: calc(var(--header-h) + clamp(36px, 6.5vh, 88px));
  padding-bottom: clamp(176px, 17vw, 250px);
  text-align: center;
}

.hero::after,
.cta::after,
.state::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 72px;
  background: linear-gradient(to bottom, rgb(8 9 11 / 0), var(--night-1));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(24px, 3vw, 36px);
}

.hero__title {
  margin-block: clamp(4px, 1vw, 12px);
}

.hero__line {
  display: block;
}

.hero__sub {
  max-width: 34em;
  color: var(--text-2);
  font-size: var(--fs-lead);
  line-height: 1.5;
  text-wrap: balance;
}

/* Horizon lumineux : la lumière se lève derrière la courbe */
.horizon {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 0;
  height: clamp(320px, 36vw, 520px);
  pointer-events: none;
}

.horizon__rise {
  position: absolute;
  inset: 0;
  transform: translate3d(0, var(--py, 0px), 0);
}

.hero .horizon__rise,
.campus__img,
.team__clip img {
  will-change: transform;
}

.horizon__glow {
  position: absolute;
  top: -30%;
  bottom: 0;
  left: 50%;
  width: 150%;
  transform: translateX(-50%);
}

.horizon__glow--violet {
  background: radial-gradient(46% 56% at 50% 74%, rgb(var(--violet-rgb) / 0.46), rgb(var(--violet-rgb) / 0.12) 48%, transparent 70%);
}

.horizon__glow--cyan {
  background:
    radial-gradient(30% 50% at 30% 74%, rgb(var(--cyan-rgb) / 0.24), transparent 70%),
    radial-gradient(34% 54% at 72% 74%, rgb(var(--cyan-rgb) / 0.16), rgb(var(--petrol-rgb) / 0.32) 38%, transparent 70%);
}

.horizon__glow--orange {
  width: 90%;
  background: radial-gradient(28% 34% at 50% 74%, rgb(var(--orange-rgb) / 0.85), rgb(var(--orange-rgb) / 0.2) 46%, transparent 70%);
}

/* La lumière suit discrètement la souris (valeurs lissées par le script) */
.horizon__glow--violet {
  translate: calc(var(--gx, 0) * 22px) calc(var(--gy, 0) * 10px);
}

.horizon__glow--cyan {
  translate: calc(var(--gx, 0) * -16px) calc(var(--gy, 0) * 8px);
}

.horizon__glow--orange,
.horizon__sun {
  translate: calc(var(--gx, 0) * 12px) 0;
}

.horizon__planet {
  position: absolute;
  left: 50%;
  top: 66%;
  width: max(2000px, 190vw);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 0%, #0e1116 0%, var(--night-1) 3.5%);
  box-shadow:
    inset 0 1.5px 0 rgb(255 255 255 / 0.7),
    inset 0 18px 40px -20px rgb(var(--cyan-rgb) / 0.45),
    0 -2px 24px rgb(var(--cyan-rgb) / 0.28),
    0 -10px 80px rgb(var(--violet-rgb) / 0.3);
}

.horizon__sun {
  position: absolute;
  left: 50%;
  top: calc(66% - 14px);
  width: min(520px, 70vw);
  height: 28px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, #fff6e8 0%, rgb(var(--orange-rgb) / 0.9) 28%, rgb(var(--orange-rgb) / 0) 72%);
  filter: blur(4px);
}

.horizon .grain {
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 42%, #000 64%, transparent 86%);
  mask-image: linear-gradient(to bottom, transparent 8%, #000 42%, #000 64%, transparent 86%);
}

/* ---------- Expertises : grille de cartes ---------- */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bento > li {
  display: flex;
  min-width: 0;
}

@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .bento > li:nth-child(1),
  .bento > li:nth-child(4) {
    grid-column: span 8;
  }

  .bento > li:nth-child(2),
  .bento > li:nth-child(3) {
    grid-column: span 4;
  }
}

.card {
  --hue: var(--violet-rgb);
  --mx: 50%;
  --my: 0%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 460px;
  padding: clamp(24px, 2.6vw, 36px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background:
    radial-gradient(70% 60% at 100% 0%, rgb(var(--hue) / 0.1), transparent 70%),
    linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0.01)),
    var(--night-2);
  transition: transform 0.6s var(--ease-out), border-color 0.4s ease, box-shadow 0.6s var(--ease-out);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgb(var(--hue) / 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgb(var(--hue) / 0.85), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 30px 80px -40px rgb(var(--hue) / 0.5);
}

.card:hover::before,
.card:hover::after,
.card:focus-within::before,
.card:focus-within::after {
  opacity: 1;
}

.card--market {
  --hue: var(--cyan-rgb);
}

.card--plan {
  --hue: var(--orange-rgb);
}

.card--survey {
  --hue: var(--rose-rgb);
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.card__label {
  color: var(--text-2);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.card__label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgb(var(--hue));
  box-shadow: 0 0 10px rgb(var(--hue) / 0.9);
  vertical-align: 1px;
}

.card__go {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--text);
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, transform 0.6s var(--ease-out);
}

.card__go svg {
  width: 16px;
  height: 16px;
  transform: rotate(-45deg);
  transition: transform 0.6s var(--ease-out);
}

.card:hover .card__go {
  border-color: var(--text);
  background: var(--text);
  color: var(--night-0);
}

.card:hover .card__go svg {
  transform: rotate(0deg);
}

.card__art {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 190px;
  padding-block: 28px;
  container-type: inline-size;
}

.card__body {
  display: grid;
  gap: 10px;
}

.card__title {
  color: var(--text);
  font-size: var(--fs-title);
  font-weight: 400;
  line-height: 1.25;
}

.card__title a {
  color: inherit;
  text-decoration: none;
}

.card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: var(--r-card);
}

.card__title a:focus-visible {
  outline: none;
}

.card__title a:focus-visible::after {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.card__text {
  max-width: 32em;
  color: var(--text-2);
}

@media (min-width: 1080px) {
  .bento > li:nth-child(1) .card,
  .bento > li:nth-child(4) .card {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
    grid-template-rows: auto 1fr;
    column-gap: 32px;
  }

  .bento > li:nth-child(1) .card__top,
  .bento > li:nth-child(4) .card__top {
    grid-column: 1 / -1;
  }

  .bento > li:nth-child(1) .card__body,
  .bento > li:nth-child(4) .card__body {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
  }

  .bento > li:nth-child(1) .card__art,
  .bento > li:nth-child(4) .card__art {
    grid-column: 2;
    grid-row: 2;
    padding-block: 16px 0;
  }
}

/* Illustration — Business Model Canvas */
.bmc-art {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(54px, auto)) minmax(44px, auto);
  grid-template-areas:
    "pa pa ac ac vp vp rc rc se se"
    "pa pa re re vp vp ch ch se se"
    "co co co co co rv rv rv rv rv";
  gap: 4px;
  width: 100%;
  max-width: 480px;
}

.bmc-art span {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgb(var(--violet-rgb) / 0.32);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.02);
  color: var(--text-2);
  font-size: 0.65625rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  overflow-wrap: normal;
  -webkit-hyphens: auto;
  hyphens: auto;
  transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease, transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
}

.bmc-art .pa { grid-area: pa; }
.bmc-art .ac { grid-area: ac; }
.bmc-art .re { grid-area: re; }
.bmc-art .vp { grid-area: vp; }
.bmc-art .rc { grid-area: rc; }
.bmc-art .ch { grid-area: ch; }
.bmc-art .se { grid-area: se; }
.bmc-art .co { grid-area: co; }
.bmc-art .rv { grid-area: rv; }

.bmc-art .vp {
  border-color: rgb(var(--violet-rgb) / 0.9);
  background: linear-gradient(180deg, rgb(var(--violet-rgb) / 0.32), rgb(var(--violet-rgb) / 0.12));
  color: var(--text);
  box-shadow: 0 0 40px -6px rgb(var(--violet-rgb) / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.25);
}

.card:hover .bmc-art span:not(.vp) {
  border-color: rgb(var(--violet-rgb) / 0.6);
  background: rgb(var(--violet-rgb) / 0.07);
  color: var(--text);
}

.bmc-art--full {
  max-width: 620px;
  grid-template-rows: repeat(2, minmax(96px, auto)) minmax(64px, auto);
}

.bmc-art--full span {
  padding: 10px;
  font-size: 0.75rem;
}

@container (max-width: 400px) {
  .bmc-art,
  .bmc-art--full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(60px, auto);
    grid-template-areas:
      "pa ac re"
      "rc vp ch"
      "se co rv";
    max-width: 340px;
  }

  .bmc-art span {
    font-size: 0.6875rem;
  }
}

/* Illustration — Étude de marché */
.market-art {
  width: 100%;
  max-width: 300px;
  height: auto;
  overflow: visible;
}

.market-art__c circle {
  fill: rgb(var(--cyan-rgb) / 0.09);
  stroke: rgb(var(--cyan-rgb) / 0.75);
  stroke-width: 1;
  mix-blend-mode: screen;
  vector-effect: non-scaling-stroke;
}

.market-art__c {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 1.4s var(--ease-out), opacity 1s ease;
}

.market-art__core {
  fill: #e9fbff;
  filter: drop-shadow(0 0 6px rgb(var(--cyan-rgb)));
}

.market-art text {
  fill: var(--text);
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  paint-order: stroke;
  stroke: var(--night-2);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.card:hover .market-art__c--1 { transform: translate(4px, 3px); }
.card:hover .market-art__c--2 { transform: translate(-4px, 3px); }
.card:hover .market-art__c--3 { transform: translate(0, -4px); }

/* Illustration — Business plan */
.plan-art {
  width: 100%;
  max-width: 320px;
  height: auto;
  overflow: visible;
}

.plan-art__grid {
  stroke: rgb(255 255 255 / 0.08);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.plan-art__bar {
  fill: rgb(var(--orange-rgb) / 0.12);
  stroke: rgb(var(--orange-rgb) / 0.55);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: transform 0.9s var(--ease-out), fill 0.5s ease;
}

.plan-art__line {
  fill: none;
  stroke: url(#plan-grad);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.plan-art__area {
  fill: url(#plan-area);
}

.plan-art__dot {
  fill: #fff4e6;
  filter: drop-shadow(0 0 6px rgb(var(--orange-rgb)));
}

.card:hover .plan-art__bar {
  fill: rgb(var(--orange-rgb) / 0.22);
  transform: scaleY(1.08);
}

.card:hover .plan-art__bar:nth-of-type(2) { transition-delay: 0.04s; }
.card:hover .plan-art__bar:nth-of-type(3) { transition-delay: 0.08s; }
.card:hover .plan-art__bar:nth-of-type(4) { transition-delay: 0.12s; }
.card:hover .plan-art__bar:nth-of-type(5) { transition-delay: 0.16s; }
.card:hover .plan-art__bar:nth-of-type(6) { transition-delay: 0.2s; }

/* Illustration — Étude de satisfaction */
.survey-art {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 380px;
}

.survey-art__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.025);
}

.survey-art__q {
  display: grid;
  gap: 6px;
}

.survey-art__q i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: rgb(255 255 255 / 0.16);
}

.survey-art__q i + i {
  width: 62%;
  background: rgb(255 255 255 / 0.08);
}

.survey-art__scale {
  display: flex;
  gap: 6px;
}

.survey-art__scale i {
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid rgb(var(--rose-rgb) / 0.45);
  border-radius: 50%;
  transition: background-color 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease, transform 0.5s var(--ease-out);
}

.survey-art__scale i.is-pick {
  border-color: var(--rose);
  background: var(--rose);
  box-shadow: 0 0 14px rgb(var(--rose-rgb) / 0.8);
}

.survey-art__out {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 7px 14px;
  border: 1px solid rgb(var(--rose-rgb) / 0.5);
  border-radius: var(--r-pill);
  background: rgb(var(--rose-rgb) / 0.1);
  color: var(--text);
  font-size: var(--fs-xs);
  font-weight: 500;
}

.survey-art__out svg {
  width: 14px;
  height: 14px;
}

.card:hover .survey-art__scale i.is-pick {
  transform: scale(1.2);
}

/* ---------- Manifeste ---------- */
.manifesto {
  position: relative;
  padding-block: clamp(40px, 5vw, 80px);
}

/* heading-lg : 48px · 400 · 1.5 */
.manifesto__text {
  max-width: 21em;
  margin-inline: auto;
  color: var(--text);
  font-size: var(--fs-heading-lg);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}

.mw {
  transition: color 0.5s ease;
}

.js .manifesto__text .mw {
  color: #5f6469;
}

.js .manifesto__text .mw.is-lit {
  color: var(--text);
}

.manifesto__sign {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ---------- Méthode ---------- */
.method__grid {
  display: grid;
  gap: 56px;
}

.method__grid > * {
  min-width: 0;
}

.method__aside {
  display: grid;
  align-content: start;
  gap: 28px;
}

.method__counter {
  display: none;
}

@media (min-width: 1000px) {
  .method__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(56px, 7vw, 120px);
  }

  .method__aside {
    position: sticky;
    top: calc(var(--header-h) + 64px);
    align-self: start;
  }

  .method__counter {
    position: relative;
    display: grid;
    place-items: center;
    width: 168px;
    height: 168px;
    margin-top: 8px;
  }
}

.method__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.method__ring circle {
  fill: none;
  stroke-width: 1;
}

.method__ring-track {
  stroke: var(--line-2);
}

.method__ring-fill {
  stroke: url(#ring-grad);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--p, 0));
}

.method__digits {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

/* display : 72px · 500 · -0.028em */
.method__digit-window {
  display: block;
  height: 1em;
  overflow: hidden;
  font-size: 4.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.028em;
}

.method__digit-strip {
  display: block;
  transform: translateY(calc(var(--step, 0) * -1em));
  transition: transform 0.8s var(--ease-out);
}

.method__digit-strip span {
  display: block;
  height: 1em;
}

.method__digits small {
  color: var(--text-3);
  font-size: var(--fs-small);
  font-weight: 500;
}

.steps-wrap {
  position: relative;
}

.steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps__track {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 27.5px;
  width: 1px;
  background: var(--line-2);
}

.steps__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cyan), var(--violet) 55%, var(--orange));
  transform-origin: top;
  transform: scaleY(var(--p, 1));
  box-shadow: 0 0 12px rgb(var(--cyan-rgb) / 0.6);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(48px, 9vh, 104px);
}

.step:last-child {
  padding-bottom: 0;
}

.step__node {
  position: relative;
  z-index: 1;
  font-variant-numeric: tabular-nums;
  display: grid;
  grid-row: span 3;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-3);
  border-radius: 50%;
  background: var(--night-1);
  color: var(--text-2);
  font-size: var(--fs-body);
  font-weight: 500;
  transition: border-color 0.6s ease, color 0.6s ease, box-shadow 0.6s ease, background-color 0.6s ease;
}

/* 32px · 400 · 1.25 */
.step__title {
  padding-top: max(0px, calc((56px - 1.25em) / 2));
  color: var(--text);
  font-size: var(--fs-title);
  font-weight: 400;
  line-height: 1.25;
  transition: color 0.6s ease;
}

.step__text {
  max-width: 30em;
  margin-top: 12px;
}

.js .step__title {
  color: #a9abae;
}

.js .step.is-past .step__title,
.js .step.is-active .step__title {
  color: var(--text);
}

.js .step.is-past .step__node,
.js .step.is-active .step__node {
  border-color: rgb(255 255 255 / 0.6);
  color: var(--text);
}

.js .step.is-active .step__node {
  background: var(--text);
  color: var(--night-0);
  box-shadow: 0 0 0 8px rgb(var(--orange-rgb) / 0.12), 0 0 32px rgb(var(--orange-rgb) / 0.55);
}

.method__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.method__cta p {
  color: var(--text-3);
  font-size: var(--fs-small);
}

/* Variante page Méthode : étapes plus amples */
.steps--large .step {
  padding-bottom: clamp(64px, 12vh, 140px);
}

.steps--large .step__title {
  font-size: var(--fs-title);
}

.steps--large .step__text {
  font-size: var(--fs-lead);
}

/* ---------- Campus ---------- */
.campus {
  position: relative;
  padding-block: clamp(40px, 6vw, 96px);
}

.campus__frame {
  position: relative;
  overflow: hidden;
  margin-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  background: var(--night-2);
}

.campus__media {
  position: relative;
  width: 100%;
  height: min(118vw, 72vh);
  min-height: 360px;
  overflow: hidden;
}

.campus__img {
  position: absolute;
  left: 0;
  top: -9%;
  width: 100%;
  height: 118%;
  max-width: none;
  object-fit: cover;
  object-position: 58% 62%;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.02);
}

.campus__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(8 9 11 / 0.55) 0%, rgb(8 9 11 / 0) 30%, rgb(8 9 11 / 0) 52%, rgb(8 9 11 / 0.85) 100%),
    radial-gradient(60% 50% at 85% 15%, rgb(var(--orange-rgb) / 0.18), transparent 70%);
}

.campus__credit {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  color: rgb(243 242 238 / 0.82);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: right;
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.6);
}

.campus__credit a {
  color: inherit;
}

.campus__content {
  display: grid;
  gap: 22px;
  padding-top: 32px;
  padding-bottom: 36px;
}

@media (max-width: 899px) {
  .campus__content {
    padding-left: clamp(20px, 5vw, 32px);
    padding-right: clamp(20px, 5vw, 32px);
  }
}

.campus__note {
  max-width: 38em;
  color: var(--text-3);
  font-size: var(--fs-small);
}

@media (min-width: 900px) {
  .campus__frame {
    margin-inline: 0;
    border: 0;
    border-radius: 0;
  }

  .js .campus__frame {
    clip-path: inset(calc((1 - var(--p, 1)) * 4vw) calc((1 - var(--p, 1)) * 5vw) round calc((1 - var(--p, 1)) * 36px));
  }

  .campus__media {
    height: min(88vh, 860px);
  }

  .campus__shade {
    background:
      linear-gradient(180deg, rgb(8 9 11 / 0.7) 0%, rgb(8 9 11 / 0) 26%, rgb(8 9 11 / 0) 46%, rgb(8 9 11 / 0.92) 100%),
      linear-gradient(90deg, rgb(8 9 11 / 0.75) 0%, rgb(8 9 11 / 0) 60%),
      radial-gradient(50% 45% at 88% 12%, rgb(var(--orange-rgb) / 0.2), transparent 70%);
  }

  .campus__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding-bottom: clamp(56px, 7vw, 104px);
  }

  .campus__content > * {
    max-width: 44rem;
  }

  .campus__note,
  .campus__content .label {
    color: var(--text-2);
  }

  .campus__credit {
    right: 24px;
    bottom: 20px;
    left: auto;
    max-width: 30em;
  }
}

/* Logos institutionnels (masqués tant que leur usage n'est pas autorisé) */
/* Logos (utilisés tels quels) : Eko Conseil et Université de Rennes */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.logos img {
  width: auto;
  height: 40px;
}

.logos__sep {
  align-self: stretch;
  width: 1px;
  background: rgb(255 255 255 / 0.24);
}

.campus__content .logos {
  margin-top: 4px;
}

@media (max-width: 479px) {
  .logos img {
    height: 34px;
  }
}

/* ---------- Équipe / association ---------- */
.team {
  overflow-x: clip;
}

.team__grid {
  display: grid;
  gap: 48px;
}

.team__grid > * {
  min-width: 0;
}

.team__text {
  display: grid;
  align-content: start;
  gap: 28px;
}

.audience-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-chips li {
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  color: var(--text);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.43;
}

.team__figure {
  position: relative;
}

.team__glow {
  position: absolute;
  inset: 8% 0 -8% 10%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(50% 50% at 60% 50%, rgb(var(--orange-rgb) / 0.22), transparent 70%),
    radial-gradient(40% 40% at 20% 30%, rgb(var(--violet-rgb) / 0.2), transparent 70%);
  filter: blur(20px);
}

.team__frame {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-frame);
  background: linear-gradient(135deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.02));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.team__clip {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--r-frame) - 8px);
  background: var(--night-3);
}

.team__clip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.1);
}

.team__figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  margin-top: 14px;
  padding-inline: 4px;
  color: var(--text-3);
  font-size: var(--fs-xs);
}

@media (min-width: 980px) {
  .team__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(56px, 7vw, 112px);
    align-items: center;
  }
}

/* ---------- Engagements (bloc inversé) ---------- */
.pledges__card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 88px);
  border-radius: calc(var(--r-card) + 4px);
  background:
    radial-gradient(60% 70% at 100% 0%, rgb(var(--orange-rgb) / 0.12), transparent 70%),
    var(--paper);
  color: var(--paper-text);
}

.pledges__card :focus-visible {
  outline-color: var(--paper-ink);
}

.pledges__head {
  display: grid;
  gap: 20px;
}

.pledges__head .t-h2 {
  color: var(--paper-ink);
}

.pledges__head p {
  max-width: 30em;
  color: var(--paper-text);
  font-size: var(--fs-lead);
}

@media (min-width: 900px) {
  .pledges__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: end;
  }
}

.pledges__list {
  display: grid;
  gap: 0 56px;
  margin: clamp(40px, 5vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .pledges__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pledge {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 20px;
  padding-block: 28px;
  border-top: 1px solid var(--paper-line);
}

.pledge__icon {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--paper-line);
  border-radius: 50%;
  color: var(--paper-ink);
}

/* heading-sm : 22px · 700 · 1.27 · -0.011em */
.pledge h3 {
  color: var(--paper-ink);
  font-size: var(--fs-heading-sm);
  font-weight: 700;
  line-height: 1.27;
  letter-spacing: -0.011em;
}

.pledge p {
  max-width: 30em;
  margin-top: 6px;
  color: var(--paper-text);
}

/* ---------- Appel final ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: clamp(112px, 14vw, 200px);
  padding-bottom: clamp(200px, 24vw, 320px);
  text-align: center;
}

.cta .horizon {
  height: clamp(300px, 38vw, 520px);
}



.cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 28px;
}

.prompt {
  --angle: 0deg;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 680px;
  margin-top: 8px;
  padding: 8px 8px 8px 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgb(5 6 7 / 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s ease, box-shadow 0.4s ease;
}

.prompt::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle), transparent 0deg, rgb(var(--orange-rgb) / 0.9) 60deg, rgb(var(--violet-rgb) / 0.9) 140deg, transparent 200deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.prompt:focus-within {
  border-color: var(--line-3);
  box-shadow: 0 20px 60px -20px rgb(var(--violet-rgb) / 0.5);
}

.prompt:focus-within::before {
  opacity: 1;
}

.prompt input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  outline: none;
}

.prompt input::placeholder {
  color: #8a8e93;
  opacity: 1;
}

.prompt .btn {
  flex: none;
}

@media (max-width: 559px) {
  .prompt {
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border-radius: 24px;
  }

  .prompt input {
    padding: 12px 14px;
  }
}

.cta__mail {
  color: var(--text-2);
  font-size: var(--fs-small);
  overflow-wrap: anywhere;
}

.cta__mail a {
  color: var(--text);
}

/* ---------- Pages intérieures ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: calc(var(--header-h) + clamp(64px, 10vh, 128px));
  padding-bottom: clamp(64px, 8vw, 112px);
  text-align: center;
}

.page-hero__light {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 50% 0%, rgb(var(--violet-rgb) / 0.2), transparent 72%),
    radial-gradient(30% 40% at 12% 30%, rgb(var(--petrol-rgb) / 0.6), transparent 72%),
    radial-gradient(26% 30% at 88% 40%, rgb(var(--orange-rgb) / 0.1), transparent 72%);
}

.page-hero__line {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1100px, 90%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.35), rgb(var(--orange-rgb) / 0.8), rgb(255 255 255 / 0.35), transparent);
}

.page-hero__inner {
  display: grid;
  justify-items: center;
  gap: 28px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-3);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.33;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--text-3);
}

.crumbs a {
  color: var(--text-2);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--text);
}

.crumbs [aria-current="page"] {
  color: var(--text);
}

/* Sous-navigation des expertises */
.subnav {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 80px);
  z-index: 20;
  display: flex;
  justify-content: center;
  padding-block: 12px;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  pointer-events: none;
}

.subnav ul {
  display: flex;
  gap: 4px;
  max-width: 100%;
  margin: 0;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgb(12 14 17 / 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  list-style: none;
  pointer-events: auto;
  scrollbar-width: none;
}

.subnav ul::-webkit-scrollbar {
  display: none;
}

.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--text-2);
  font-size: var(--fs-small);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.subnav a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--hue));
  box-shadow: 0 0 8px rgb(var(--hue) / 0.8);
}

.subnav a:hover {
  color: var(--text);
}

.subnav a.is-current {
  background: rgb(255 255 255 / 0.1);
  color: var(--text);
}

.hue-violet { --hue: var(--violet-rgb); }
.hue-cyan { --hue: var(--cyan-rgb); }
.hue-orange { --hue: var(--orange-rgb); }
.hue-rose { --hue: var(--rose-rgb); }

/* ---------- Page Expertises ---------- */
.xp {
  position: relative;
  padding-block: clamp(64px, 9vw, 136px);
}

.xp__grid {
  display: grid;
  gap: 40px;
}

.xp__grid > * {
  min-width: 0;
}

@media (min-width: 980px) {
  .xp__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(56px, 7vw, 112px);
    align-items: center;
  }

  .xp--flip .xp__visual {
    order: 2;
  }
}

.xp__panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(340px, 40vw, 520px);
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background:
    radial-gradient(70% 60% at 50% 100%, rgb(var(--hue) / 0.2), transparent 70%),
    radial-gradient(50% 40% at 100% 0%, rgb(var(--hue) / 0.1), transparent 70%),
    linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0.01)),
    var(--night-2);
}

.xp__panel {
  container-type: inline-size;
}

.xp__panel:has(.bmc-art--full) {
  padding: clamp(20px, 2.4vw, 32px);
}

.xp__panel .market-art {
  max-width: 400px;
}

.xp__panel .plan-art {
  max-width: 440px;
}

.xp__panel .survey-art {
  max-width: 440px;
}

.xp__body {
  display: grid;
  gap: 24px;
}

.xp__list {
  display: grid;
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.xp__list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 2px 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.xp__list li::before {
  content: "";
  grid-row: span 2;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: rgb(var(--hue));
  box-shadow: 0 0 10px rgb(var(--hue) / 0.8);
}

.xp__list strong {
  color: var(--text);
  font-weight: 600;
}

.note {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgb(var(--orange-rgb) / 0.4);
  border-radius: 16px;
  background: rgb(var(--orange-rgb) / 0.06);
  color: var(--text);
}

.note strong {
  font-weight: 600;
}

.xp .btn {
  justify-self: start;
  max-width: 100%;
  white-space: normal;
  text-align: left;
}

.unsure {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  background:
    radial-gradient(60% 80% at 0% 100%, rgb(var(--violet-rgb) / 0.14), transparent 70%),
    var(--night-2);
}

.unsure h2 + p {
  margin-top: 12px;
}

@media (min-width: 900px) {
  .unsure {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
  }

  .unsure .actions {
    justify-content: flex-end;
  }
}

/* ---------- Page À propos ---------- */
.feature-photo {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
}

.duo {
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.duo article {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  gap: 40px;
  min-height: clamp(220px, 26vw, 300px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background:
    radial-gradient(70% 60% at 100% 100%, rgb(var(--hue) / 0.16), transparent 70%),
    var(--night-2);
}

.duo .label {
  color: var(--text-2);
}

.duo p.t-h3 {
  max-width: 14em;
}

.audience__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.audience__list li {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(6px, 1vw, 14px);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: var(--fs-heading-lg);
  font-weight: 400;
  line-height: 1.5;
  transition: padding-left 0.6s var(--ease-out), color 0.4s ease;
}

.audience__list li:nth-child(even) {
  color: var(--text-2);
}

.audience__list li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), var(--violet), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out);
}

.audience__list li:hover {
  padding-left: 16px;
}

.audience__list li:hover::before {
  transform: scaleX(1);
}

.audience__list small {
  color: var(--text-3);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 40px;
}

.contact-grid > * {
  min-width: 0;
}

@media (min-width: 980px) {
  .contact-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 48px;
    align-items: start;
  }
}

.form-card {
  position: relative;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  background:
    radial-gradient(60% 40% at 100% 0%, rgb(var(--violet-rgb) / 0.12), transparent 70%),
    linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.015)),
    var(--night-2);
}

.form {
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  gap: 22px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field label {
  color: var(--text);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.43;
}

.field .opt {
  color: var(--text-3);
  font-weight: 400;
}

.input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-input);
  background: rgb(5 6 7 / 0.7);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.input::placeholder {
  color: #8a8e93;
  opacity: 1;
}

.input:hover {
  border-color: var(--line-3);
}

.input:focus {
  outline: none;
  border-color: rgb(255 255 255 / 0.7);
  background: rgb(5 6 7 / 0.9);
  box-shadow: 0 0 0 4px rgb(var(--violet-rgb) / 0.22);
}

.input[aria-invalid="true"] {
  border-color: var(--danger);
}

select.input {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23f3f2ee' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 18px center;
  background-repeat: no-repeat;
  background-size: 16px;
  cursor: pointer;
}

select.input option {
  background: var(--night-2);
  color: var(--text);
}

textarea.input {
  min-height: 170px;
  resize: vertical;
}

.field__hint {
  color: var(--text-3);
  font-size: var(--fs-small);
  line-height: 1.43;
}

.field__error {
  color: var(--danger);
  font-size: var(--fs-small);
  line-height: 1.43;
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: grid;
  gap: 16px;
}

.form-legal {
  color: var(--text-3);
  font-size: var(--fs-xs);
  line-height: 1.5;
}

.form-legal a {
  color: var(--text);
}

.form-status {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.04);
  color: var(--text);
}

.form-status p {
  color: var(--text-2);
}

.form-status strong {
  color: var(--text);
  font-weight: 600;
}

.form-status--ok {
  border-color: rgb(var(--cyan-rgb) / 0.7);
}

.form-status--error {
  border-color: rgb(255 163 163 / 0.7);
}

.form-status .actions {
  margin-top: 4px;
}

.contact-aside {
  display: grid;
  gap: 16px;
}

.aside-card {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.02);
}

.aside-card .label {
  color: var(--text-2);
}

.aside-card .big {
  color: var(--text);
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.aside-card .big a {
  text-decoration: none;
}

.aside-card .big a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copy-btn {
  justify-self: start;
}

.next-steps {
  display: grid;
  gap: 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: next;
}

.next-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  color: var(--text);
  counter-increment: next;
}

.next-steps li::before {
  content: counter(next, decimal-leading-zero);
  color: var(--text-3);
  font-size: var(--fs-small);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.43;
}

/* ---------- Textes légaux ---------- */
.prose {
  color: var(--text-2);
}

.section--flush-top > .prose {
  padding-top: clamp(40px, 5vw, 64px);
}

.prose > * + * {
  margin-top: 16px;
}

/* heading-sm : 22px · 700 · 1.27 · -0.011em */
.prose h2 {
  margin-top: 48px;
  color: var(--text);
  font-size: var(--fs-heading-sm);
  font-weight: 700;
  line-height: 1.27;
  letter-spacing: -0.011em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.4);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.prose a:hover {
  text-decoration-color: var(--text);
}

.prose ul {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 6px;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.facts {
  display: grid;
  gap: 4px 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--text);
  font-weight: 600;
}

.facts dd + dt {
  margin-top: 12px;
}

@media (min-width: 640px) {
  .facts {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .facts dd + dt {
    margin-top: 0;
  }
}

.todo {
  display: inline-block;
  padding: 1px 10px;
  border: 1px dashed rgb(var(--orange-rgb) / 0.8);
  border-radius: var(--r-pill);
  color: var(--text);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.8;
  white-space: nowrap;
}

.updated {
  color: var(--text-3);
  font-size: var(--fs-small);
}

/* ---------- Avis et références (masqués tant qu'ils ne sont pas réels) ---------- */
.reviews {
  display: grid;
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 800px) {
  .reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.review {
  display: grid;
  gap: 20px;
  padding: 32px;
  border-radius: var(--r-card);
  background: var(--paper);
  color: var(--paper-text);
}

.review blockquote {
  color: var(--paper-ink);
  font-size: var(--fs-title);
  font-weight: 400;
  line-height: 1.25;
}

.badge-example {
  justify-self: start;
  padding: 2px 10px;
  border: 1px dashed currentColor;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
}

.clients {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 800px) {
  .clients {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.clients li {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 120px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--text-2);
  text-align: center;
}

/* ---------- Pages d'état (404, merci) ---------- */
.state {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  place-items: center;
  min-height: min(92vh, 900px);
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: clamp(220px, 26vw, 340px);
  text-align: center;
}

.state__inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 28px;
}

/* ---------- Pied de page ---------- */
.footer {
  position: relative;
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--night-0);
  font-size: var(--fs-small);
  line-height: 1.43;
}

.footer__grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: auto;
  }
}

.logos--footer img {
  height: 34px;
}

.footer__brand p {
  max-width: 30ch;
  margin-top: 18px;
  color: var(--text-3);
  font-size: var(--fs-small);
}

.footer__col h2 {
  color: var(--text-3);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.33;
}

.footer__col ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.footer__col a {
  padding-bottom: 2px;
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.5s var(--ease-out);
}

.footer__col a:hover,
.footer__col a:focus-visible {
  background-size: 100% 1px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: var(--fs-xs);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes drift-a {
  from { transform: translateX(-52%) scale(1); }
  to { transform: translateX(-46%) scale(1.06); }
}

@keyframes drift-b {
  from { transform: translateX(-48%) translateY(0); }
  to { transform: translateX(-54%) translateY(-3%); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

@keyframes sun-pulse {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1.12); }
}

@keyframes lights-on {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 12px 2px rgb(var(--orange-rgb) / 0.7); }
  50% { box-shadow: 0 0 20px 5px rgb(var(--orange-rgb) / 0.9); }
}

@keyframes core-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes trace {
  to { --angle: 360deg; }
}

@keyframes failsafe-show {
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes failsafe-clip {
  to { clip-path: inset(0 round 16px); }
}

@keyframes failsafe-line {
  to { width: 18px; }
}

@keyframes dawn-shift {
  to { background-position: 100% 50%; }
}

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@media (prefers-reduced-motion: no-preference) {
  /* Lumière ambiante, très lente */
  .horizon__glow--violet { animation: drift-a 26s var(--ease-io) infinite alternate; }
  .horizon__glow--cyan { animation: drift-b 34s var(--ease-io) infinite alternate; }
  .horizon__glow--orange { animation: breathe 9s var(--ease-io) infinite; }
  .horizon__sun { animation: sun-pulse 9s var(--ease-io) infinite; }
  .pill__dot { animation: dot-pulse 3s var(--ease-io) infinite; }
  .market-art__core { animation: core-pulse 3s var(--ease-io) infinite; }
  .prompt:focus-within::before { animation: trace 3.5s linear infinite; }

  .is-paused .horizon__glow,
  .is-paused .horizon__sun {
    animation-play-state: paused;
  }

  /* Ouverture : l'horizon s'allume */
  .js .horizon__rise > * {
    opacity: 0;
  }

  .js.is-loaded .horizon__rise > * {
    opacity: 1;
    transition: opacity 2.6s var(--ease-atmos);
  }

  .js.is-loaded .horizon__glow--cyan { transition-delay: 0.3s; }
  .js.is-loaded .horizon__glow--orange,
  .js.is-loaded .horizon__sun { transition-delay: 0.6s; }

  /* Titres : chaque mot sort du flou */
  .js .split .w__i {
    opacity: 0;
    transform: translate3d(0, 0.42em, 0);
    transition:
      opacity 0.9s var(--ease-out) calc(var(--d, 0s) + var(--i, 0) * 0.06s),
      transform 1.1s var(--ease-out) calc(var(--d, 0s) + var(--i, 0) * 0.06s);
  }

  .js .split[data-hero] .w__i {
    filter: blur(12px);
    transition:
      opacity 1s var(--ease-out) calc(var(--d, 0s) + var(--i, 0) * 0.07s),
      transform 1.2s var(--ease-out) calc(var(--d, 0s) + var(--i, 0) * 0.07s),
      filter 1s var(--ease-out) calc(var(--d, 0s) + var(--i, 0) * 0.07s);
  }

  .js .split.is-in .w__i {
    opacity: 1;
    transform: none;
    filter: none;
  }

  /* Éléments qui suivent le titre du héros */
  .js .fade-up {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s);
  }

  .js .fade-up.is-in {
    opacity: 1;
    transform: none;
  }

  /* Apparitions au défilement */
  .js .reveal {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
    transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.2s var(--ease-out) var(--d, 0s);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .js .reveal--scale {
    transform: translate3d(0, 28px, 0) scale(0.97);
  }

  .js .reveal--rise {
    transform: translate3d(0, 90px, 0);
    transition-duration: 2.2s, 2.6s;
    transition-timing-function: var(--ease-atmos), var(--ease-out);
  }

  /* Illustrations des cartes */
  .js .bmc-art span {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.96);
  }

  .js .is-in .bmc-art span {
    opacity: 1;
    transform: none;
  }

  .js .is-in .bmc-art span:nth-child(1) { transition-delay: 0.15s; }
  .js .is-in .bmc-art span:nth-child(2) { transition-delay: 0.22s; }
  .js .is-in .bmc-art span:nth-child(3) { transition-delay: 0.29s; }
  .js .is-in .bmc-art span:nth-child(4) { transition-delay: 0.5s; }
  .js .is-in .bmc-art span:nth-child(5) { transition-delay: 0.36s; }
  .js .is-in .bmc-art span:nth-child(6) { transition-delay: 0.43s; }
  .js .is-in .bmc-art span:nth-child(7) { transition-delay: 0.4s; }
  .js .is-in .bmc-art span:nth-child(8) { transition-delay: 0.58s; }
  .js .is-in .bmc-art span:nth-child(9) { transition-delay: 0.64s; }

  .js .market-art__c {
    opacity: 0;
  }

  .js .market-art__c--1 { transform: translate(-26px, -14px); }
  .js .market-art__c--2 { transform: translate(26px, -14px); }
  .js .market-art__c--3 { transform: translate(0, 26px); }

  .js .is-in .market-art__c {
    opacity: 1;
    transform: none;
  }

  .js .is-in .market-art__c--2 { transition-delay: 0.1s; }
  .js .is-in .market-art__c--3 { transition-delay: 0.2s; }

  .js .card:hover .market-art__c--1 { transform: translate(4px, 3px); }
  .js .card:hover .market-art__c--2 { transform: translate(-4px, 3px); }
  .js .card:hover .market-art__c--3 { transform: translate(0, -4px); }

  .js .plan-art__bar {
    transform: scaleY(0);
  }

  .js .is-in .plan-art__bar {
    transform: scaleY(1);
  }

  .js .is-in .plan-art__bar:nth-of-type(1) { transition-delay: 0.2s; }
  .js .is-in .plan-art__bar:nth-of-type(2) { transition-delay: 0.28s; }
  .js .is-in .plan-art__bar:nth-of-type(3) { transition-delay: 0.36s; }
  .js .is-in .plan-art__bar:nth-of-type(4) { transition-delay: 0.44s; }
  .js .is-in .plan-art__bar:nth-of-type(5) { transition-delay: 0.52s; }
  .js .is-in .plan-art__bar:nth-of-type(6) { transition-delay: 0.6s; }

  .js .card:hover .plan-art__bar {
    transform: scaleY(1.08);
  }

  .js .plan-art__line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.8s var(--ease-out) 0.5s;
  }

  .js .is-in .plan-art__line {
    stroke-dashoffset: 0;
  }

  .js .plan-art__area,
  .js .plan-art__dot {
    opacity: 0;
    transition: opacity 1s ease 1.6s;
  }

  .js .is-in .plan-art__area,
  .js .is-in .plan-art__dot {
    opacity: 1;
  }

  .js .survey-art__row {
    opacity: 0;
    transform: translate3d(16px, 0, 0);
    transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
  }

  .js .is-in .survey-art__row {
    opacity: 1;
    transform: none;
  }

  .js .is-in .survey-art__row:nth-child(2) { transition-delay: 0.12s; }
  .js .is-in .survey-art__row:nth-child(3) { transition-delay: 0.24s; }

  .js .survey-art__scale i.is-pick {
    background: transparent;
    box-shadow: none;
  }

  .js .is-in .survey-art__scale i.is-pick {
    background: var(--rose);
    box-shadow: 0 0 14px rgb(var(--rose-rgb) / 0.8);
    transition-delay: 0.7s;
  }

  .js .is-in .survey-art__row:nth-child(2) i.is-pick { transition-delay: 0.9s; }
  .js .is-in .survey-art__row:nth-child(3) i.is-pick { transition-delay: 1.1s; }

  .js .survey-art__out {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
    transition: opacity 0.8s var(--ease-out) 1.3s, transform 0.9s var(--ease-out) 1.3s;
  }

  .js .is-in .survey-art__out {
    opacity: 1;
    transform: none;
  }

  /* ---------- Mouvements discrets ---------- */

  /* L'en-tête descend doucement à l'ouverture */
  .js .header__wrap {
    opacity: 0;
    transform: translate3d(0, -14px, 0);
    transition: opacity 0.9s var(--ease-out) 0.1s, transform 1s var(--ease-out) 0.1s;
  }

  .js.is-loaded .header__wrap {
    opacity: 1;
    transform: none;
  }

  /* Le mot en lumière d'aube : le dégradé glisse lentement */
  .t-hero em,
  .t-display em,
  .t-h2 em,
  .t-h3 em,
  .split em .w__i,
  html:not(.js) .manifesto__text em .mw,
  .js .manifesto__text em .mw.is-lit,
  .menu__list a[aria-current="page"] .menu__label {
    animation: dawn-shift 7s var(--ease-io) infinite alternate;
  }

  /* Le contenu du héros s'éloigne doucement au défilement */
  .js .hero__inner {
    transform: translate3d(0, calc(var(--hp, 0) * -56px), 0);
    opacity: calc(1 - var(--hp, 0) * 0.85);
    will-change: transform, opacity;
  }

  /* Le filet des pages intérieures se trace depuis le centre */
  .js .page-hero__line {
    transform: translateX(-50%) scaleX(0);
    transition: transform 1.8s var(--ease-out) 0.45s;
  }

  .js.is-loaded .page-hero__line {
    transform: translateX(-50%) scaleX(1);
  }

  /* Le petit trait des étiquettes se dessine à l'apparition */
  .js .label::before {
    transition: width 0.9s var(--ease-out) calc(var(--d, 0s) + 0.25s);
  }

  .js .label.reveal:not(.is-in)::before,
  .js .reveal:not(.is-in) .label::before {
    width: 0;
  }

  /* Listes : les éléments arrivent un par un, de plus près */
  .js .xp__list .reveal,
  .js .pledges__list .reveal,
  .js .next-steps .reveal,
  .js .audience-chips .reveal,
  .js .footer .reveal {
    transform: translate3d(0, 16px, 0);
  }

  .js .audience__list .reveal {
    transform: translate3d(-18px, 0, 0);
    transition:
      opacity 0.9s var(--ease-out) var(--d, 0s),
      transform 1.1s var(--ease-out) var(--d, 0s),
      padding-left 0.6s var(--ease-out),
      color 0.4s ease;
  }

  .js .xp__list .reveal.is-in,
  .js .pledges__list .reveal.is-in,
  .js .next-steps .reveal.is-in,
  .js .audience-chips .reveal.is-in,
  .js .footer .reveal.is-in,
  .js .audience__list .reveal.is-in {
    transform: none;
  }

  /* Photos d'équipe : le cadre s'ouvre et l'image se pose */
  .js .team__figure .team__clip {
    clip-path: inset(9% 7% round 16px);
    transition: clip-path 1.5s var(--ease-out) 0.1s;
  }

  .js .team__figure.is-in .team__clip {
    clip-path: inset(0 round 16px);
  }

  .js .team__figure .team__clip picture {
    display: block;
    transform: scale(1.14);
    transition: transform 1.9s var(--ease-out) 0.1s;
  }

  .js .team__figure.is-in .team__clip picture {
    transform: none;
  }

  /* Filet de sécurité si le script ne se charge pas */
  .js:not(.is-ready) .split .w__i,
  .js:not(.is-ready) .reveal,
  .js:not(.is-ready) .fade-up,
  .js:not(.is-ready) .horizon__rise > *,
  .js:not(.is-ready) .header__wrap,
  .js:not(.is-ready) .team__clip picture {
    animation: failsafe-show 0s linear 2.5s forwards;
  }

  .js:not(.is-ready) .team__clip {
    animation: failsafe-clip 0s linear 2.5s forwards;
  }

  .js:not(.is-ready) .label::before {
    animation: failsafe-line 0s linear 2.5s forwards;
  }

  /* Transitions entre les pages (navigateurs compatibles) */
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: 0.35s var(--ease-io) both vt-out;
  }

  ::view-transition-new(root) {
    animation: 0.55s var(--ease-out) both vt-in;
  }
}

@keyframes vt-out {
  to { opacity: 0; }
}

@keyframes vt-in {
  from { opacity: 0; transform: translateY(10px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .card:hover,
  .btn:active {
    transform: none;
  }

  .campus__img,
  .horizon__rise,
  .team__frame picture {
    transform: none !important;
  }
}

/* ---------- Impression ---------- */
@media print {
  .header,
  .menu,
  .ambient,
  .horizon,
  .grain,
  .prompt,
  .skip-link,
  .subnav {
    display: none !important;
  }

  html,
  body {
    background: #fff;
    color: #000;
  }

  *,
  *::before,
  *::after {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    background-color: transparent !important;
    text-shadow: none !important;
    box-shadow: none !important;
  }

  em,
  .w__i,
  .mw,
  .menu__label {
    background-image: none !important;
  }

  .reveal,
  .fade-up,
  .split .w__i,
  .hero__inner,
  .team__clip picture {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .team__clip {
    clip-path: none !important;
  }
}

/* Contraste élevé (Windows) : texte plein, sans dégradé */
@media (forced-colors: active) {
  em,
  .w__i,
  .mw,
  .menu__label {
    background-image: none !important;
    -webkit-text-fill-color: currentColor !important;
  }
}
