/* ═══════════════════════════════════════════════════════════════════════
   dieg.ch — socle commun
   Le langage visuel de toutes les pages. Chaque page ajoute ensuite son
   propre <style> pour ce qui lui est vraiment propre.

   Règle de couleur : le fond et le texte restent neutres. La couleur ne sert
   qu'à porter un sens — bleu pour la structure, violet pour la ponctuation,
   vert pour ce qui signale. Jamais de dégradé décoratif sur de grandes
   surfaces : c'est ce qui fait basculer un site tech dans le cliché.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --ink:        #f2f4fb;
  --ink-soft:   rgba(242, 244, 251, .62);
  /* Remonte de .36 a .50 le 22.07.2026 : a .36 le gris tombait a 3,03:1,
     sous le seuil de 4,5:1 qu'exige le petit texte. Seul vrai defaut
     d'accessibilite du site — invisible a l'oeil, il se calcule. */
  --ink-faint:  rgba(242, 244, 251, .50);
  --glass:      rgba(255, 255, 255, .05);
  --hairline:   rgba(255, 255, 255, .09);

  /* Les trois signaux. Ils ne se mélangent jamais en dégradé rose : chacun
     tient un rôle — le bleu porte, le violet ponctue, le vert signale. */
  --nuit:       #05070f;
  --bleu:       #4C7DFF;
  --violet:     #9B6BFF;
  --vert:       #3DE8A6;
  --accent:     var(--bleu);
  --swiss:      #ff4d4d;

  --radius:     28px;
  --radius-sm:  20px;
  --ease:       cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--nuit);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ══ FOND ══════════════════════════════════════════════════════════════ */
/* La nébuleuse. Le flou est porté par CHAQUE masse et non par le conteneur :
   un filtre sur le parent forcerait le navigateur à recalculer un flou de
   100 px sur toute la surface à chaque image dès qu'un enfant bouge. Posé sur
   la masse elle-même, avec `will-change: transform`, le flou est calculé une
   fois puis la couche est simplement déplacée par le compositeur — le
   mouvement devient gratuit. */
.ambient {
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
}
.filtres { position: absolute; width: 0; height: 0; overflow: hidden; }

.ambient span {
  position: absolute;
  display: block;
  border-radius: 50%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  /* `screen` additionne les lumières au lieu de les empiler : là où deux
     voiles se croisent, ça s'éclaircit. C'est le comportement d'un gaz qui
     émet, pas d'une peinture qui couvre — et c'est la moitié de l'effet. */
  mix-blend-mode: screen;
}
/* Quatre masses, quatre flous différents. C'est l'écart entre les flous qui
   donne l'épaisseur : une nébuleuse n'est pas une tache floue, c'est plusieurs
   voiles de netteté différente qui se traversent. Chacune suit la souris à sa
   propre vitesse — les plus floues sont les plus lentes, comme si elles
   étaient plus loin. */
.b1 {
  width: 62vmax; height: 58vmax; top: -8%; left: -4%;
  background: radial-gradient(ellipse at 42% 44%, var(--bleu) 0%, rgba(76,125,255,.55) 38%, transparent 68%);
  filter: url(#gaz) blur(26px);
  opacity: .42;
}
.b2 {
  width: 52vmax; height: 50vmax; bottom: -6%; right: -2%;
  background: radial-gradient(ellipse at 55% 45%, var(--violet) 0%, rgba(155,107,255,.5) 40%, transparent 68%);
  filter: url(#gaz2) blur(22px);
  opacity: .38;
}
/* Le vert reste une note, pas une masse : c'est la couleur qui signale, elle
   perd son sens si elle occupe le tiers de l'écran. */
.b3 {
  width: 40vmax; height: 36vmax; bottom: -10%; left: 22%;
  background: radial-gradient(ellipse at 50% 50%, var(--vert) 0%, rgba(61,232,166,.4) 42%, transparent 66%);
  filter: url(#gaz) blur(34px);
  opacity: .20;
}
/* Le coeur : petite, peu floue, presque blanche. Dans le Crabe c'est la zone
   centrale qui brille le plus fort et qui donne l'echelle de tout le reste. */
.b4 {
  width: 26vmax; height: 22vmax; top: 24%; left: 42%;
  background: radial-gradient(ellipse at 45% 50%, #CFE0FF 0%, rgba(126,168,255,.55) 34%, transparent 62%);
  filter: url(#gaz2) blur(14px);
  opacity: .30;
}

/* Le voile : il rattrape ce que la nebuleuse coute en lisibilite. Sans lui,
   du texte gris sur des filaments lumineux passe sous le seuil de contraste
   par endroits — et ca change selon la position de la souris, donc c'est
   intestable. Le voile garantit un plancher sombre sous le contenu. */
.voile {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 78% 62% at 50% 42%, transparent 0%, rgba(5,7,15,.34) 62%, rgba(5,7,15,.72) 100%),
    linear-gradient(180deg, rgba(5,7,15,.30) 0%, rgba(5,7,15,.12) 30%, rgba(5,7,15,.42) 100%);
}

/* width/height explicites : un <canvas> est un élément remplacé, `inset: 0`
   ne l'étire pas — sans ça il garde sa taille intrinsèque de 300 × 150. */
#reseau {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ══ TRAME ═════════════════════════════════════════════════════════════ */
.page {
  position: relative;
  z-index: 3;
  width: min(52rem, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2rem);
}
.page.etroit { width: min(42rem, 100%); }
section { padding: clamp(3.5rem, 10vh, 6rem) 0; }

/* ══ VERRE ═════════════════════════════════════════════════════════════ */
.glass {
  position: relative;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(44px) saturate(180%);
  -webkit-backdrop-filter: blur(44px) saturate(180%);
  border: 1px solid var(--hairline);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 32px 80px -24px rgba(0, 0, 0, .75);
}

/* Le liseré iridescent : un seul par page, sur l'élément qui compte. */
.iris::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle),
    transparent 0deg, var(--bleu) 60deg, var(--violet) 120deg,
    var(--vert) 190deg, transparent 270deg, transparent 360deg);
  -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, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: .8;
  animation: spin 12s linear infinite;
  pointer-events: none;
}
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes spin { to { --angle: 360deg; } }

/* ══ TYPOGRAPHIE ═══════════════════════════════════════════════════════
   `background-clip: text` ne peint le dégradé que dans la boîte de
   l'élément. Une interligne trop serrée laisse les jambages (g, y, p)
   dépasser : ils n'ont plus rien à découper et disparaissent. D'où
   l'interligne desserrée et le padding bas. */
h1 {
  margin: 0;
  padding-bottom: .12em;
  font-size: clamp(2.3rem, 7.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.038em;
  background: linear-gradient(180deg, #ffffff 25%, rgba(255, 255, 255, .62));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
h2 {
  margin: 2.75rem 0 .9rem;
  font-size: clamp(1.35rem, 3.6vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.028em;
}
h3 {
  margin: 0 0 .45rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
p { text-wrap: pretty; }

.lede {
  margin: 1.35rem auto 0;
  max-width: 27rem;
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: balance;
}
.section-lede {
  margin: 0 0 2.75rem;
  max-width: 34rem;
  font-size: clamp(.975rem, 2.2vw, 1.0625rem);
  line-height: 1.62;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.75rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
/* Fixe, et non plus clignotante. Une pastille qui bat attire l'œil en
   permanence pour dire une chose qui ne change jamais. */
.pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--vert);
  box-shadow: 0 0 10px 2px color-mix(in srgb, var(--vert) 55%, transparent);
}

/* ══ PROSE DES PAGES DU LABO ═══════════════════════════════════════════ */
.prose p {
  margin: 0 0 1.2rem;
  font-size: 1.0125rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose > :last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 1.2rem; padding-left: 1.1rem; }
.prose li {
  margin-bottom: .55rem;
  font-size: 1.0125rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.prose li::marker { color: var(--ink-faint); }

pre {
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  overflow-x: auto;
  border-radius: 14px;
  background: rgba(0, 0, 0, .4);
  border: 1px solid var(--hairline);
  font-size: .8125rem;
  line-height: 1.65;
}
pre, code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}
pre code { color: rgba(245, 245, 247, .8); }
.prose :not(pre) > code {
  padding: .12em .38em;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  font-size: .875em;
  color: var(--ink);
}

.retenir {
  margin: 2rem 0;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--accent);
  background: rgba(110, 119, 245, .06);
}
.retenir p { margin: 0; font-size: .975rem; line-height: 1.62; color: var(--ink-soft); }
.retenir strong { color: var(--ink); }

/* ══ DÉMOS ═════════════════════════════════════════════════════════════ */
.demo {
  margin: 2rem 0;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, .03);
}
.demo-titre {
  margin: 0 0 1.15rem;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: center;
  margin-top: 1.35rem;
}
.control { display: flex; flex-direction: column; gap: .5rem; min-width: 9rem; flex: 1; }
.control label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.control label b {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--ink-soft);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .16);
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .55);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 15px; height: 15px;
  border: none;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .55);
  cursor: pointer;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .875rem;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch i {
  position: relative;
  flex: none;
  width: 2.6rem; height: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--hairline);
  transition: background .3s ease;
}
.switch i::after {
  content: "";
  position: absolute;
  top: 50%; left: 3px;
  width: 1.075rem; height: 1.075rem;
  border-radius: 50%;
  background: var(--ink);
  transform: translateY(-50%);
  transition: transform .3s var(--ease);
}
.switch input:checked + i { background: rgba(110, 119, 245, .5); }
.switch input:checked + i::after { transform: translate(1.05rem, -50%); }
.switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ══ NAVIGATION ════════════════════════════════════════════════════════ */
.back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2.25rem;
  font-size: .85rem;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color .3s ease, gap .3s var(--ease);
}
.back:hover, .back:focus-visible { color: var(--ink-soft); gap: .75rem; }
.back svg {
  width: .9rem; height: .9rem;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

.suivant {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: transform .35s var(--ease);
}
.suivant:hover { transform: translateY(-3px); }
.suivant span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.suivant strong { display: block; margin-top: .3rem; font-size: 1rem; font-weight: 600; }

/* ══ CARTES ════════════════════════════════════════════════════════════ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
}
.card {
  display: block;
  padding: 1.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
}
a.card { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
a.card:hover, a.card:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 40px 90px -26px rgba(0, 0, 0, .85);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  margin-bottom: 1.15rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--hairline);
}
.card-icon svg {
  width: 1.2rem; height: 1.2rem;
  stroke: var(--ink-soft);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }
.card .tag {
  display: inline-block;
  margin-top: 1.05rem;
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.card.soon { opacity: .5; }

/* ══ PIED ══════════════════════════════════════════════════════════════ */
.rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}
footer { padding: 2.5rem 0 3.5rem; text-align: center; }
footer p { margin: 1.5rem 0 0; font-size: .8rem; color: var(--ink-faint); }
footer a { color: var(--ink-faint); text-decoration: none; }
footer a:hover { color: var(--ink-soft); }

/* ══ RÉVÉLATION AU SCROLL ══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.in.d1 { transition-delay: .09s; }
.reveal.in.d2 { transition-delay: .18s; }
.reveal.in.d3 { transition-delay: .27s; }

/* ══ ACCESSIBILITÉ ═════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .iris::before { animation: none !important; }
  .reveal { transition: none !important; opacity: 1; transform: none; }
  a.card, .suivant { transition: none !important; }
}
@supports not (backdrop-filter: blur(1px)) {
  .glass { background: rgba(20, 20, 24, .85); }
}

/* ══════════════════════════════════════════════════════════════════════
   REFONTE — composants propres au nouvel accueil
   ══════════════════════════════════════════════════════════════════════ */

/* ── Le titre du héros ────────────────────────────────────────────────
   Le dégradé est plus large que le texte et se déplace : c'est ce qui
   fait le reflet. `background-clip: text` ne peint que dans la boîte des
   glyphes, donc le reflet semble traverser les lettres elles-mêmes. */
.titre-hero {
  margin: 0;
  padding-bottom: .14em;
  font-size: clamp(2rem, 7.2vw, 4.2rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
  color: transparent;
}

/* ⚠ Le dégradé est porté par chaque mot, pas par le <h1>.
   `background-clip: text` découpe le fond d'un élément sur SES propres
   glyphes — mais un descendant qui porte un `transform` ou un `filter` est
   peint dans une couche séparée, où ce fond découpé ne s'étend pas. Le mot
   restait donc transparent, sans rien derrière : invisible. Chaque mot porte
   maintenant son propre dégradé, et c'est lui qui est animé. */
.mot { display: inline-block; }
.mot > i {
  display: inline-block;
  font-style: normal;
  background: linear-gradient(100deg,
    #ffffff 0%, #ffffff 30%,
    var(--bleu) 42%, var(--violet) 50%, var(--vert) 58%,
    #ffffff 72%, #ffffff 100%);
  background-size: 320% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation:
    monte  .9s var(--ease) both,
    reflet 7s  var(--ease) 1.4s infinite;
}
@keyframes reflet {
  0%        { background-position: 100% 0; }
  38%, 100% { background-position: 0% 0; }
}
@keyframes monte {
  from { opacity: 0; transform: translateY(.5em) rotateX(-40deg); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
/* Les mots entrent l'un après l'autre. Le délai est sur l'entrée seulement,
   le reflet garde le sien pour que les trois brillent ensemble. */
.mot:nth-child(1) > i { animation-delay: .15s, 1.4s; }
.mot:nth-child(2) > i { animation-delay: .30s, 1.4s; }
.mot:nth-child(3) > i { animation-delay: .45s, 1.4s; }

/* ── Cartes de verre à bordure lumineuse ──────────────────────────────
   Le liseré est un dégradé masqué en anneau (même technique que .iris,
   sans rotation). Il s'allume au survol, il ne brille pas en continu. */
.grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.1rem;
  margin-top: 2.5rem;
}
.bloc {
  position: relative;
  padding: 1.9rem 1.75rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.bloc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--teinte, var(--bleu)), transparent 55%);
  -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, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: .45;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.bloc:hover::before { opacity: 1; }
.bloc h3 { margin-bottom: .6rem; }
.bloc p  { margin: 0; font-size: 1rem; line-height: 1.62; color: var(--ink-soft); }

/* La pastille en tête de carte reprend la teinte de la carte : c'est le
   seul endroit où la couleur est franche, le reste est gris. */
.jeton {
  display: grid;
  place-items: center;
  width: 2.35rem; height: 2.35rem;
  margin-bottom: 1.2rem;
  border-radius: 11px;
  background: color-mix(in srgb, var(--teinte, var(--bleu)) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--teinte, var(--bleu)) 34%, transparent);
}
.jeton svg {
  width: 1.15rem; height: 1.15rem;
  fill: none;
  stroke: var(--teinte, var(--bleu));
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.t-bleu   { --teinte: var(--bleu); }
.t-violet { --teinte: var(--violet); }
.t-vert   { --teinte: var(--vert); }

/* ── Vision & objectifs ───────────────────────────────────────────────
   Une colonne de jalons reliés par un filet vertical. Le filet se remplit
   au scroll : c'est GSAP qui pousse --avance, de 0 à 1. */
.jalons {
  position: relative;
  margin-top: 2.75rem;
  padding-left: 2.4rem;
}
.jalons::before,
.jalons::after {
  content: "";
  position: absolute;
  left: .48rem;
  top: .4rem;
  bottom: .4rem;
  width: 1px;
}
.jalons::before { background: var(--hairline); }
/* Enregistrée pour que le navigateur la traite comme un nombre et non comme
   une chaîne : sans ça elle ne s'interpole pas et le filet sauterait de 0 à 1. */
@property --avance {
  syntax: "<number>";
  initial-value: 0;
  inherits: false;
}
.jalons::after {
  background: linear-gradient(180deg, var(--bleu), var(--violet), var(--vert));
  transform: scaleY(var(--avance, 0));
  transform-origin: top;
}
.jalon { position: relative; padding-bottom: 2.1rem; }
.jalon:last-child { padding-bottom: 0; }
.jalon::before {
  content: "";
  position: absolute;
  left: -2.4rem;
  top: .42rem;
  width: 9px; height: 9px;
  margin-left: .05rem;
  border-radius: 50%;
  background: var(--nuit);
  border: 1px solid var(--ink-faint);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease);
}
.jalon.in::before {
  background: var(--teinte, var(--bleu));
  border-color: var(--teinte, var(--bleu));
  box-shadow: 0 0 12px 1px color-mix(in srgb, var(--teinte, var(--bleu)) 55%, transparent);
}
.jalon h3 { margin-bottom: .5rem; }
.jalon p  { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  .mot > i { animation: none !important; background-position: 0 0; }
  .jalons::after { transform: scaleY(1); }
}
