/* Styles de base et illustrations NIKITA. La direction visuelle active est dans studio.css :
   blanc perle, encre, verre discret et icônes pastel. Les logos officiels restent inchangés. */

:root {
  --blanc: #fdfbfc;
  --gris-fond: #f6f6f6;
  --encre: #1e1e1e;
  --texte-2: #707070;
  --texte-3: #888888;
  --filet: rgba(0, 0, 0, 0.08);
  --filet-fort: rgba(0, 0, 0, 0.12);
  --rose: #ff2e8c;
  --rose-texte: #c01562;
  --rose-doux: #ffe8f2;
  --magenta-logo: #ff0073;
  --verre: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.52));
  --verre-bord: rgba(255, 255, 255, 0.85);
  --verre-ombre: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.3),
    0 1px 2px rgba(25, 25, 25, 0.04), 0 24px 60px -28px rgba(90, 30, 57, 0.28);
  --flou: none;
  --ressort: cubic-bezier(0.22, 1, 0.36, 1);
  --police: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--rose-texte); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(255, 46, 140, 0.16); }
.ico { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.evitement { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 999px; color: #fff; background: var(--encre); font-weight: 600; transition: top 0.3s; }
.evitement:focus { top: 16px; }
.cadre { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .cadre { padding: 0 24px; } }

/* Fonds : blanc d'Apple, gris d'Apple, et des voiles pastel immobiles pour le verre. */
.section { position: relative; isolation: isolate; padding: 104px 0; }
.section-teintee { background: var(--gris-fond); }
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 12% 30%, rgba(255, 170, 208, 0.22), transparent 70%),
    radial-gradient(34% 40% at 90% 70%, rgba(255, 185, 216, 0.22), transparent 70%);
}
@media (min-width: 1024px) { .section { padding: 150px 0; } }

/* ---------- Boutons ---------- */
.btn, .btn-clair {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.4s var(--ressort), background-color 0.25s, box-shadow 0.4s var(--ressort), border-color 0.25s;
}
.btn { color: #fff; background: var(--encre); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 10px 24px -12px rgba(0, 0, 0, 0.45); }
.btn:hover { background: #000; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 16px 32px -14px rgba(0, 0, 0, 0.5); }
.btn-clair {
  color: var(--encre);
  background: var(--verre);
  -webkit-backdrop-filter: var(--flou);
  backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord);
  box-shadow: var(--verre-ombre);
}
.btn-clair:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.92); }
.btn:active, .btn-clair:active { transform: scale(0.98); }
.btn-grand { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-petit { min-height: 36px; padding: 0 15px; font-size: 14px; }
.fleche { transition: transform 0.4s var(--ressort); }
a:hover .fleche { transform: translateX(3px); }

/* ---------- Barre en verre ---------- */
.barre { position: fixed; top: 14px; left: 12px; right: 12px; z-index: 50; }
.barre-pilule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1040px;
  height: 56px;
  margin: 0 auto;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: var(--flou);
  backdrop-filter: var(--flou);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(0, 0, 0, 0.04), 0 14px 36px -22px rgba(45, 45, 45, 0.35);
  transition: background-color 0.4s, box-shadow 0.4s;
}
.barre.defilee .barre-pilule { background: rgba(255, 255, 255, 0.74); }
.marque { display: inline-flex; align-items: center; min-height: 44px; }
.marque img { width: auto; height: 24px; }
.barre-liens { display: none; gap: 2px; }
.barre-liens a { padding: 8px 12px; border-radius: 999px; font-size: 14px; color: rgba(30, 30, 30, 0.8); transition: color 0.2s, background-color 0.2s; }
.barre-liens a:hover { color: var(--encre); background: rgba(0, 0, 0, 0.04); }
.barre-actions { display: flex; align-items: center; gap: 6px; }
.lien-discret { display: none; padding: 8px 12px; font-size: 14px; color: rgba(30, 30, 30, 0.8); }
.lien-discret:hover { color: var(--encre); }
.bouton-menu { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; }
.bouton-menu:hover { background: rgba(0, 0, 0, 0.05); }
.bouton-menu .ico { width: 1.25rem; height: 1.25rem; }
.menu-mobile {
  display: flex;
  flex-direction: column;
  max-width: 1040px;
  margin: 8px auto 0;
  padding: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: var(--flou);
  backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord);
  box-shadow: var(--verre-ombre);
}
.menu-mobile[hidden] { display: none; }
.menu-mobile a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 14px; }
.menu-mobile a:hover { background: rgba(0, 0, 0, 0.04); }
@media (min-width: 1024px) {
  .barre-liens, .lien-discret { display: flex; }
  .bouton-menu, .menu-mobile { display: none !important; }
}
@media (max-width: 420px) { .barre .btn-petit { display: none; } }

/* ---------- En-tête ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 124px 0 56px; text-align: center; background: var(--blanc); }
.hero-ciel { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #fff 0%, var(--blanc) 70%); }
.annonce { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 10px; font-size: 15px; color: var(--encre); }
.annonce-badge { font-weight: 600; color: var(--rose-texte); }
.annonce-lien { display: inline-flex; align-items: center; gap: 2px; color: var(--rose-texte); }
.annonce-lien .ico, .lien-fleche .ico { width: 0.95em; height: 0.95em; stroke-width: 2.2; transition: transform 0.3s var(--ressort); }
.annonce:hover .annonce-lien, .lien-fleche:hover { text-decoration: underline; text-underline-offset: 3px; }
.annonce:hover .annonce-lien .ico, .lien-fleche:hover .ico { transform: translateX(2px); }
.lien-fleche { display: inline-flex; align-items: center; gap: 2px; min-height: 46px; padding: 0 8px; font-size: 17px; color: var(--rose-texte); }
.hero h1 {
  max-width: 1080px;
  margin: 22px auto 0;
  font-size: clamp(2.6rem, 1.2rem + 4.6vw, 4.9rem);
  line-height: 1.04;
  font-weight: 650;
  letter-spacing: -0.045em;
}
.ligne-titre { display: block; }
@media (min-width: 640px) { .ligne-titre { white-space: nowrap; } }
.hero-chapeau { max-width: 40rem; text-wrap: balance; margin: 24px auto 0; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.5; color: var(--texte-2); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 34px; }
@media (max-width: 479px) { .hero-actions > .btn { flex: 1 1 100%; } }
@keyframes monte { from { opacity: 0; } to { opacity: 1; } }
.apparait { animation: monte .45s ease var(--d, 0s) both; }

/* ---------- Film : un processus à la fois ----------
   Rendu à part (HyperFrames, ~/Desktop/montage/projets/2026-10-13_nikita_processus) ; ici, la lecture et les
   chapitres. Paysage 16:9 sur ordinateur, portrait 4:5 sur téléphone (choisi par app.js). */
.film { width: 100%; max-width: 1212px; margin: 40px auto 0; padding: 0 16px; }
.film-cadre {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #f8f8f8;
  border: 1px solid var(--filet);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 44px 90px -46px rgba(33, 33, 33, 0.42);
}
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-bouton {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--encre);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 1px solid var(--verre-bord);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ressort), background-color 0.2s;
}
.film-bouton:hover { transform: scale(1.06); background: #fff; }
.film-son { right: 68px; }
.film-bouton .ico { width: 18px; height: 18px; }
.chapitres { display: flex; gap: 6px; margin-top: 18px; }
.chapitres li { flex: 1 1 0; min-width: 0; }
.chapitres button {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px 12px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  color: var(--texte-3);
  transition: color 0.2s, background-color 0.2s;
}
.chapitres button:hover { color: var(--encre); background: rgba(0, 0, 0, 0.035); }
.chapitres button.actif { color: var(--encre); }
.chapitres i { position: relative; display: block; width: 100%; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(0, 0, 0, 0.08); }
.chapitres i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--encre); transform-origin: 0 50%; transform: scaleX(var(--avance, 0)); }
.chapitres button.actif i::after { background: linear-gradient(90deg, #ff4f9e, #c01562); }
@media (max-width: 767px) {
  .film-cadre { aspect-ratio: 4 / 5; border-radius: 24px; }
  .chapitres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
}

/* ---------- Références ---------- */
.references { padding: 40px 0 16px; text-align: center; background: var(--blanc); }
.petit-titre { margin-bottom: 16px; font-size: 13px; font-weight: 500; color: var(--texte-3); }
.defile-cadre { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.defile { display: flex; align-items: center; width: max-content; animation: defile 55s linear infinite; }
.defile-cadre:hover .defile { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }
.defile li { display: flex; align-items: center; min-height: 56px; padding: 0 32px; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.025em; color: #a3a3a3; white-space: nowrap; }
.defile img { width: auto; filter: grayscale(1); opacity: 0.5; transition: filter 0.3s, opacity 0.3s; }
.defile li:hover img { filter: none; opacity: 1; }
.ref-carre { height: 44px; border-radius: 4px; }
.ref-bloc { height: 38px; border-radius: 4px; }
.ref-large { height: 28px; }

/* ---------- Titres de section ---------- */
.entete { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.pastille-titre { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--rose-texte); }
.pastille-titre .ico { color: var(--rose-texte); }
.entete h2 { margin-top: 14px; font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.4rem); line-height: 1.04; font-weight: 650; letter-spacing: -0.05em; }
.entete > p:last-child { max-width: 38rem; margin: 20px auto 0; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; color: var(--texte-2); }

/* ---------- Cartes de verre ---------- */
.grille-3 { display: grid; gap: 18px; }
@media (min-width: 900px) { .grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.carte {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.6));
  -webkit-backdrop-filter: var(--flou);
  backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord);
  box-shadow: var(--verre-ombre);
  transition: transform 0.5s var(--ressort), box-shadow 0.5s var(--ressort);
}
.carte:hover { transform: translateY(-4px) scale(1.005); box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(25, 25, 25, 0.05), 0 36px 70px -30px rgba(90, 30, 57, 0.35); }
.illus {
  position: relative;
  isolation: isolate;
  height: 260px;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 24% 18%, rgba(255, 175, 211, 0.32), transparent 70%),
    radial-gradient(55% 65% at 84% 82%, rgba(255, 190, 219, 0.34), transparent 70%),
    linear-gradient(180deg, #fcf8fa, #f9f4f6);
}
.carte-texte { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.carte-texte h3 { font-size: 1.45rem; line-height: 1.2; font-weight: 650; letter-spacing: -0.03em; }
.carte-texte > p:not(.etape-produit) { margin-top: 10px; font-size: 1rem; line-height: 1.55; color: var(--texte-2); }
.etape-produit { margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--rose-texte); }
.etape-bientot { display: inline-flex; align-self: flex-start; padding: 3px 11px; border-radius: 999px; background: var(--rose-doux); }
.lien-carte { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; min-height: 44px; font-size: 16px; font-weight: 500; color: var(--rose-texte); }

/* Fragments d'interface : petites fenêtres de verre posées dans l'illustration. */
.reglage, .noeud, .cours, .fenetre, .satellite, .memoires > span, .puce-flottante, .modele {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, 0.04), 0 14px 30px -18px rgba(90, 30, 57, 0.4);
}

.illus-reglages { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.reglage { display: flex; align-items: center; gap: 10px; width: 86%; padding: 10px 12px; border-radius: 18px; font-size: 13.5px; font-weight: 500; text-align: left; }
.reglage-decale { translate: 16px 0; }
.reglage-ico { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; color: var(--encre); background: rgba(0, 0, 0, 0.05); }
.bascule { position: relative; flex: none; width: 40px; height: 24px; margin-left: auto; border-radius: 999px; background: #e5e5e5; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08); }
.bascule::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, #ff4f9e, #e11571); transition: opacity 0.35s ease var(--db, 0s); }
.bascule::after { content: ""; position: absolute; right: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); transition: translate 0.55s var(--ressort) var(--db, 0s); }

.illus-modeles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 24px; align-content: center; -webkit-mask-image: radial-gradient(85% 90% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(85% 90% at 50% 50%, #000 55%, transparent 100%); }
.modele { display: grid; place-items: center; min-height: 58px; padding: 6px; border-radius: 16px; font-size: 12.5px; font-weight: 500; line-height: 1.2; text-align: center; color: var(--texte-2); }
.modele-sur { color: var(--encre); font-weight: 600; }
.modele-centre { background: linear-gradient(145deg, #2c2c2c, #1e1e1e); border-color: #1e1e1e; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.55); }
.modele-centre svg { width: 30px; height: 30px; fill: var(--magenta-logo); }

.illus-flux { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.noeud { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 14px; font-size: 13.5px; font-weight: 500; }
.noeud .ico { color: var(--texte-2); }
.noeud-fort { color: #fff; background: var(--encre); border-color: var(--encre); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.5); }
.noeud-fort .ico:not(.curseur) { color: #ff7ab6; }
.curseur { position: absolute; right: -18px; bottom: -16px; width: 22px; height: 22px; color: var(--encre) !important; fill: #fff; stroke-width: 1.6; }
.liens-flux { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; fill: none; stroke: rgba(30, 30, 30, 0.22); stroke-width: 1.5; stroke-dasharray: 4 4; }

/* ---------- Plateforme ---------- */
.bento { display: grid; gap: 18px; }
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .bento > .carte { grid-column: span 5; }
  .bento > .carte-large { grid-column: span 7; }
  .bento .illus { height: 300px; }
}
.fenetre { position: absolute; border-radius: 20px; }
.fenetre-titre { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; font-weight: 600; }
.fenetre-titre .ico { color: var(--texte-2); }
.bulle { font-size: 13px; line-height: 1.45; }
.illus-scan .fenetre-chat { left: 5%; top: 30px; width: 46%; padding: 14px; display: grid; gap: 10px; }
.bulle-agent { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 16px 16px 16px 6px; background: rgba(0, 0, 0, 0.04); }
.bulle-avatar, .bot-avatar { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--filet); }
.bulle-avatar svg, .bot-avatar svg { width: 62%; height: 62%; fill: var(--magenta-logo); }
.bulle-moi { display: flex; align-items: center; gap: 8px; justify-self: end; padding: 10px 14px; border-radius: 16px 16px 6px 16px; color: #fff; background: var(--encre); }
.onde { display: inline-flex; align-items: center; gap: 3px; height: 16px; }
.onde i { width: 3px; height: 100%; border-radius: 2px; background: #ff7ab6; animation: onde 1.2s ease-in-out infinite; }
.onde i:nth-child(odd) { height: 55%; animation-delay: -0.4s; }
.onde i:nth-child(3n) { height: 80%; animation-delay: -0.8s; }
@keyframes onde { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
.illus-scan .fenetre-rapport { right: 5%; top: 84px; width: 42%; padding: 14px 16px; }
.ligne-rapport { display: grid; gap: 5px; margin-top: 10px; font-size: 12px; color: var(--texte-2); }
.jauge { position: relative; display: block; height: 7px; overflow: hidden; border-radius: 999px; background: rgba(0, 0, 0, 0.06); }
.jauge::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #1e1e1e, #4d4d4d); transform-origin: 0 50%; transition: transform 1.3s var(--ressort) var(--dj, 0.5s); }
.ligne-rapport:first-of-type .jauge::after { background: linear-gradient(90deg, #ff4f9e, #c01562); }
.ligne-rapport:nth-of-type(2) .jauge { --dj: 0.65s; }
.ligne-rapport:nth-of-type(3) .jauge { --dj: 0.8s; }
.puce-flottante { position: absolute; padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--encre); }
.pf-scan { right: 6%; top: 30px; }
.pf-bot { right: 6%; top: 26px; color: #fff; background: var(--encre); border-color: var(--encre); }

.illus-formations { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.cours { position: relative; display: flex; align-items: center; gap: 10px; width: 86%; padding: 10px 12px; border-radius: 18px; text-align: left; }
.cours > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.cours b { font-size: 13.5px; font-weight: 600; }
.cours em { font-style: normal; font-size: 12px; color: var(--texte-2); }
.cours-ico { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; color: var(--encre); background: rgba(0, 0, 0, 0.05); }
.cours-badge { margin-left: auto; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 500; color: var(--texte-2); background: rgba(0, 0, 0, 0.05); white-space: nowrap; }
.cours-fort { translate: 14px 0; }
.cours-fort .cours-ico { color: #fff; background: linear-gradient(145deg, #ff5fa7, #c01562); }
.cours-fort .cours-badge { color: var(--rose-texte); background: var(--rose-doux); }
.progression { position: absolute; left: 54px; right: 14px; bottom: 6px; height: 3px; border-radius: 999px; background: rgba(0, 0, 0, 0.06); }
.progression i { display: block; width: 62%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff4f9e, #c01562); transform-origin: 0 50%; transition: transform 1.4s var(--ressort) 0.9s; }

.illus-reseau { display: grid; place-items: center; }
.cercle { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.9); background: radial-gradient(closest-side, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08)); box-shadow: inset 0 1px 0 #fff; translate: -50% -50%; }
.c-1 { width: 124px; height: 124px; }
.c-2 { width: 214px; height: 214px; }
.c-3 { width: 304px; height: 304px; }
.reseau-centre { position: relative; z-index: 1; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 20px; background: linear-gradient(145deg, #2c2c2c, #1e1e1e); box-shadow: 0 18px 34px -14px rgba(0, 0, 0, 0.55); }
.reseau-centre svg { width: 54%; height: 54%; fill: var(--magenta-logo); }
.satellite { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.satellite .ico { color: var(--texte-2); }
.s-1 { left: 12%; top: 22%; }
.s-2 { right: 10%; top: 18%; }
.s-3 { left: 9%; bottom: 20%; }
.s-4 { right: 12%; bottom: 16%; }

.illus-bot .fenetre-bot { left: 6%; top: 28px; width: 60%; padding: 12px 14px 14px; display: grid; gap: 10px; }
.fenetre-bot-tete { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; font-size: 13.5px; border-bottom: 1px solid var(--filet); }
.bot-lieu { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 500; color: var(--texte-2); background: rgba(0, 0, 0, 0.05); white-space: nowrap; }
.bulle-moi-texte { justify-self: end; max-width: 85%; padding: 9px 12px; border-radius: 16px 16px 6px 16px; color: #fff; background: var(--encre); }
.bulle-bot { max-width: 92%; padding: 9px 12px; border-radius: 16px 16px 16px 6px; background: rgba(0, 0, 0, 0.04); }
.masque { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; color: var(--rose-texte); background: var(--rose-doux); }
.memoires { position: absolute; right: 5%; bottom: 26px; display: grid; gap: 8px; }
.memoires > span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 14px; font-size: 12.5px; font-weight: 500; }
.memoires .ico { color: var(--texte-2); }
@media (max-width: 560px) {
  .illus-scan { height: 300px; }
  .illus-scan .fenetre-chat { width: 72%; }
  .illus-scan .fenetre-rapport { width: 62%; top: 128px; }
  .pf-scan, .pf-bot { display: none; }
  .illus-bot .fenetre-bot { width: 78%; }
  .memoires > span { display: none; }
  .memoires .pate { --t: 66px; }
}

/* ---------- NIKITA Bot : le noir d'Apple ---------- */
.section-bot { padding: 24px 12px; background: var(--gris-fond); }
.bot-panneau { position: relative; isolation: isolate; overflow: hidden; max-width: 1380px; margin: 0 auto; padding: 88px 0; border-radius: 36px; color: #f6f6f6; background: #000; }
.bot-decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.halo { position: absolute; border-radius: 50%; }
.h-1 { width: 760px; height: 560px; right: -180px; top: -220px; background: radial-gradient(closest-side, rgba(255, 46, 140, 0.24), rgba(255, 46, 140, 0.06) 55%, transparent); }
.h-2 { width: 620px; height: 480px; left: -200px; bottom: -260px; background: radial-gradient(closest-side, rgba(255, 110, 175, 0.16), transparent); }
@media (max-width: 640px) {
  .h-1 { width: 440px; height: 380px; right: -170px; top: -170px; }
  .h-2 { width: 400px; height: 320px; left: -170px; bottom: -190px; }
}
.sol-points { display: none; }
.bot-grille { display: grid; gap: 40px; align-items: center; }
.pastille-sombre { color: #f6f6f6; }
.point-vivant { width: 8px; height: 8px; border-radius: 50%; background: #ff4f9e; box-shadow: 0 0 0 4px rgba(255, 79, 158, 0.2); }
.bot-texte h2 { margin-top: 16px; font-size: clamp(2.8rem, 1.4rem + 4.4vw, 5.2rem); line-height: 1.02; font-weight: 650; letter-spacing: -0.05em; }
.bot-texte .bot-accroche { margin-top: 14px; max-width: 30rem; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.03em; color: #f6f6f6; }
.bot-texte > p:not(.pastille-titre):not(.bot-accroche) { margin-top: 16px; max-width: 34rem; font-size: 1.15rem; line-height: 1.5; color: #a3a3a3; }
.bot-points { display: grid; gap: 14px; margin: 32px 0 36px; }
.bot-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.06rem; line-height: 1.4; color: #d4d4d4; }
.bot-points .ico { margin-top: 0.15em; color: #ff7ab6; }
.btn-lumineux { color: var(--encre); background: #f6f6f6; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 16px 40px -14px rgba(255, 46, 140, 0.6); }
.btn-lumineux:hover { background: #fff; }
.bot-visuel { position: relative; min-height: 450px; }
.bot-image {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 118%);
  height: auto;
  translate: -50% -70%;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  animation: flotte-lent 11s ease-in-out infinite;
}
.fenetre-sombre {
  position: relative;
  z-index: 2;
  top: 210px;
  max-width: 420px;
  margin: 0 auto;
  padding: 14px 16px 16px;
  display: grid;
  gap: 10px;
  color: #f6f6f6;
  background: linear-gradient(160deg, rgba(47, 47, 47, 0.86), rgba(26, 26, 26, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 30px 60px -24px rgba(0, 0, 0, 0.7);
}
.fenetre-sombre .fenetre-bot-tete { border-bottom-color: rgba(255, 255, 255, 0.1); }
.fenetre-sombre .bot-lieu { color: #d4d4d4; background: rgba(255, 255, 255, 0.1); }
.fenetre-sombre .bulle-moi-texte { color: var(--encre); background: #f6f6f6; }
.fenetre-sombre .bulle-bot { color: #ebebeb; background: rgba(255, 255, 255, 0.08); }
.journal { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 500; color: #ff9fca; background: rgba(255, 79, 158, 0.14); }
@media (min-width: 960px) {
  .bot-panneau { padding: 110px 0; }
  .bot-grille { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .bot-visuel { min-height: 480px; }
  .bot-image { translate: -50% -62%; }
  .fenetre-sombre { top: 170px; }
}
@media (min-width: 1024px) { .section-bot { padding: 24px 16px; } }

/* ---------- Preuves ---------- */
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.chiffres > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62));
  -webkit-backdrop-filter: var(--flou);
  backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord);
  box-shadow: var(--verre-ombre);
}
.chiffres dt { font-size: 15px; color: var(--texte-2); }
.chiffres dd { font-size: clamp(2.6rem, 1.8rem + 2.4vw, 4rem); font-weight: 650; letter-spacing: -0.055em; line-height: 1; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cas { padding: 28px; }
.cas-tag { align-self: flex-start; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--texte-2); background: rgba(0, 0, 0, 0.05); }
.cas:first-child .cas-tag { color: var(--rose-texte); background: var(--rose-doux); }
.cas-chiffre { margin-top: 20px; font-size: clamp(3rem, 2.2rem + 2.4vw, 4.2rem); font-weight: 650; letter-spacing: -0.06em; line-height: 1; }
.cas-libelle { margin-top: 10px; font-weight: 600; }
.cas-detail { margin-top: 6px; font-size: 0.96rem; color: var(--texte-2); }

/* ---------- Appel final ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; padding: 130px 0 140px; text-align: center; background: var(--blanc); }
.final-ciel {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(34% 40% at 32% 62%, rgba(255, 190, 219, 0.22), transparent 72%),
    radial-gradient(30% 40% at 68% 48%, rgba(255, 204, 227, 0.24), transparent 72%);
}
.final-texte {
  max-width: 760px;
  padding: 56px 24px;
  border-radius: 40px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.4));
  -webkit-backdrop-filter: var(--flou);
  backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord);
  box-shadow: var(--verre-ombre);
}
.final-image {
  position: absolute;
  left: 50%;
  top: 0;
  width: 300px;
  height: auto;
  margin-left: -150px;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
@media (max-width: 899px) { .final { padding-top: 200px; } }
@media (min-width: 900px) { .final-image { left: calc(50% + 150px); top: -6px; width: 470px; margin-left: 0; } }
.final h2 { max-width: 16ch; margin: 0 auto; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1.02; font-weight: 650; letter-spacing: -0.052em; }
.final-texte > p { max-width: 32rem; margin: 18px auto 0; font-size: 1.15rem; color: var(--texte-2); }
@media (max-width: 639px) { .final-texte { width: calc(100% - 32px); } }
@media (min-width: 640px) { .final-texte { padding: 64px 48px; } }

/* ---------- Pied de page ---------- */
.pied { padding: 56px 0 32px; background: var(--gris-fond); border-top: 1px solid var(--filet); font-size: 13px; }
.pied-grille { display: grid; gap: 28px; }
.pied-marque img { width: auto; height: 24px; }
.pied-marque p { margin-top: 12px; max-width: 18rem; color: var(--texte-2); }
.pied h2 { margin-bottom: 8px; font-size: 12.5px; font-weight: 600; color: var(--encre); }
.pied nav, .pied-contact { display: flex; flex-direction: column; align-items: flex-start; }
.pied nav a, .pied-contact a, .pied-contact p { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; color: var(--texte-2); }
.pied nav a:hover, .pied-contact a:hover { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }
.pied-contact .ico { color: var(--texte-3); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--filet); color: var(--texte-3); }
.pied-bas a:hover { color: var(--encre); }
@media (min-width: 640px) { .pied-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pied-grille { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ---------- Apparition au défilement ---------- */
html.js [data-revele] {
  opacity: 0;
  transition: opacity .4s ease var(--dr, 0s), box-shadow .25s ease;
}
html.js [data-revele].visible { opacity: 1; }

/* ---------- NIKIBOT en pâte à modeler ----------
   Une boule de vraie pâte (photos, assets/img/nikibot, une par humeur, toutes sur le même cadre) : app.js empile les
   humeurs et les couches de mouvement, une couche par mouvement (flotter, sauter, se pencher, respirer). La photo
   change d'un coup, comme en animation image par image. */
.pate { position: relative; display: block; width: var(--t, 96px); aspect-ratio: 280 / 276; }
.pate img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.pate img[data-h="repos"], .pate:not([data-vue]) img:first-of-type { opacity: 1; }
.pate[data-vue]:not([data-vue="repos"]) img[data-h="repos"] { opacity: 0; }
.pate[data-vue="gauche"] img[data-h="gauche"], .pate[data-vue="droite"] img[data-h="droite"], .pate[data-vue="haut"] img[data-h="haut"],
.pate[data-vue="travail"] img[data-h="travail"], .pate[data-vue="content"] img[data-h="content"] { opacity: 1; }
.pate img[data-h="ferme"] { animation: pate-cligne 4.6s steps(1, end) var(--cligne, 0s) infinite; }
.pate[data-vue="content"] img[data-h="ferme"] { animation: none; }
.pate-flotte, .pate-saut, .pate-penche, .pate-souffle { position: absolute; inset: 0; transform-origin: 50% 96%; }
.pate-flotte { animation: pate-flotte 3.2s ease-in-out var(--decal, 0s) infinite; }
.pate-penche { rotate: var(--penche, 0deg); transition: rotate 0.6s var(--ressort); }
.pate-souffle { animation: pate-souffle 2.6s ease-in-out var(--decal, 0s) infinite; }
.pate-ombre { position: absolute; left: 22%; right: 22%; bottom: -5%; height: 10%; animation: pate-ombre 3.2s ease-in-out var(--decal, 0s) infinite; }
.pate-tache { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(55, 55, 55, 0.3), rgba(55, 55, 55, 0)); }
.pate.saute .pate-saut { animation: pate-saut 0.95s both; }
.pate.saute .pate-tache { animation: pate-tache 0.95s ease-out both; }
.bot-avatar-pate { background: none; box-shadow: none; overflow: visible; }
.bot-avatar-pate img { width: 112%; max-width: none; height: auto; }
/* la carte NIKIBOT des offres : la boule posée sur ses mémoires */
.memoires .pate { --t: 72px; justify-self: center; margin-bottom: -2px; }
html.js .illus-bot .memoires .pate { opacity: 0; }
html.js .visible .illus-bot .memoires .pate { animation: bulle 0.6s var(--ressort) 0.45s both; }
/* la section NIKIBOT : un bot par équipe, posés sur les couches de verre (vos serveurs) ; ils flottent avec elles */
.bot-equipe { position: absolute; z-index: 1; left: 50%; top: 50%; width: min(560px, 118%); aspect-ratio: 1; translate: -50% -70%; animation: flotte-lent 11s ease-in-out infinite; pointer-events: none; }
.bot-equipe .pate { position: absolute; left: calc(var(--x) - var(--t) / 2); top: calc(var(--y) - var(--t) * 0.986); pointer-events: auto; }
.bot-equipe .pate-tache { background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)); }
html.js .bot-visuel .bot-equipe .pate { opacity: 0; }
html.js .bot-visuel.visible .bot-equipe .pate { animation: bulle 0.6s var(--ressort) calc(0.15s + var(--n, 0) * 0.12s) both; }
@media (min-width: 960px) { .bot-equipe { translate: -50% -62%; } }
@keyframes pate-flotte { 0%, 100% { transform: translateY(-2%); } 50% { transform: translateY(-7%); } }
@keyframes pate-ombre { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(0.86); opacity: 0.7; } }
@keyframes pate-souffle { 0%, 100% { transform: none; } 50% { transform: scale(0.985, 1.03); } }
@keyframes pate-cligne { 0% { opacity: 0; } 95% { opacity: 1; } 98%, 100% { opacity: 0; } }
/* il se tasse, s'étire en l'air, s'écrase en retombant, tremblote ; son ombre rétrécit pendant le saut */
@keyframes pate-saut {
  0% { transform: none; animation-timing-function: ease-out; }
  14% { transform: scale(1.14, 0.84); animation-timing-function: cubic-bezier(0.2, 0.8, 0.3, 1); }
  44% { transform: translateY(-34%) scale(0.9, 1.12); animation-timing-function: cubic-bezier(0.6, 0, 0.9, 0.4); }
  64% { transform: translateY(0) scale(1.18, 0.82); animation-timing-function: ease-out; }
  80% { transform: scale(0.95, 1.06); }
  100% { transform: none; }
}
@keyframes pate-tache { 0%, 100% { transform: none; opacity: 1; } 44% { transform: scale(0.55); opacity: 0.45; } 64% { transform: scale(1.1); opacity: 1; } }

/* ---------- Animations ----------
   Règle du kit : en continu, seules transform et opacity bougent ; le reste ne joue
   qu'une fois, à l'apparition. Le verre flouté ne bouge pas. */
@keyframes tourne { to { transform: rotate(1turn); } }
@keyframes flotte-petit { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes flotte-lent { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(-1.5deg); } }
@keyframes onde-sortante { from { transform: scale(1); opacity: 0.75; } to { transform: scale(var(--onde, 2.4)); opacity: 0; } }
@keyframes clignote { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes bulle { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes efface { to { opacity: 0; } }
@keyframes affiche { from { opacity: 0; } to { opacity: 1; } }
@keyframes saute { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Survol des cartes : un reflet suit le pointeur (souris seulement, position écrite par app.js). */
.carte { position: relative; }
@media (hover: hover) and (pointer: fine) {
  .carte::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    width: 560px;
    height: 560px;
    margin: -280px 0 0 -280px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.6), transparent);
    mix-blend-mode: overlay;
    pointer-events: none;
    opacity: 0;
    transform: translate(var(--gx, 50%), var(--gy, 50%));
    transition: opacity 0.5s ease;
  }
  .carte:hover::after { opacity: 1; }
}

/* Vision : les trois réglages s'activent l'un après l'autre. */
.reglage:nth-child(1) .bascule { --db: 0.6s; }
.reglage:nth-child(2) .bascule { --db: 0.9s; }
.reglage:nth-child(3) .bascule { --db: 1.2s; }
html.js .carte:not(.visible) .bascule::before { opacity: 0; }
html.js .carte:not(.visible) .bascule::after { translate: -16px 0; }

/* Vision : les modèles apparaissent depuis le centre, puis une onde part du symbole. */
.modele:nth-child(5) { --n: 0; }
.modele:nth-child(2), .modele:nth-child(4), .modele:nth-child(6), .modele:nth-child(8) { --n: 2; }
.modele:nth-child(1), .modele:nth-child(3), .modele:nth-child(7), .modele:nth-child(9) { --n: 4; }
html.js .illus-modeles .modele { opacity: 0; scale: 0.86; transition: opacity 0.6s var(--ressort), scale 0.7s var(--ressort); transition-delay: calc(var(--n) * 70ms + 0.35s); }
html.js .visible .illus-modeles .modele { opacity: 1; scale: 1; }
.modele-centre { position: relative; }
.modele-centre::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid rgba(255, 46, 140, 0.55); --onde: 1.55; animation: onde-sortante 3s ease-out 1.2s infinite; opacity: 0; }

/* Vision : l'agent propose, un point descend, la personne valide d'un clic, tout est journalisé. */
.illus-flux::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 80px;
  z-index: 0;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #ff2e8c;
  box-shadow: 0 0 10px rgba(255, 46, 140, 0.7);
  opacity: 0;
  animation: descend 5.5s ease-in-out infinite;
}
@keyframes descend {
  0% { transform: translateY(0); opacity: 0; }
  4% { opacity: 1; }
  15% { transform: translateY(30px); opacity: 1; }
  16%, 38% { transform: translateY(30px); opacity: 0; }
  39% { transform: translateY(68px); opacity: 0; }
  42% { opacity: 1; }
  54% { transform: translateY(98px); opacity: 1; }
  56%, 100% { transform: translateY(98px); opacity: 0; }
}
.curseur { animation: clic 5.5s var(--ressort) infinite; }
@keyframes clic {
  0%, 6% { transform: translate(28px, 24px); opacity: 0; }
  18% { transform: translate(0, 0); opacity: 1; }
  23% { transform: translate(0, 0) scale(0.82); }
  28% { transform: translate(0, 0) scale(1); opacity: 1; }
  62% { transform: translate(0, 0); opacity: 1; }
  74%, 100% { transform: translate(16px, 14px); opacity: 0; }
}
.noeud-fort { animation: appui 5.5s ease infinite; }
@keyframes appui { 0%, 21% { transform: scale(1); } 24% { transform: scale(0.95); } 30%, 100% { transform: scale(1); } }
.noeud-fort::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid rgba(255, 46, 140, 0.6); opacity: 0; animation: valide 5.5s ease-out infinite; }
@keyframes valide { 0%, 24% { transform: scale(1); opacity: 0; } 27% { opacity: 0.8; } 48%, 100% { transform: scale(1.18, 1.6); opacity: 0; } }
.n-3 { animation: note 5.5s ease infinite; }
@keyframes note { 0%, 54% { transform: scale(1); } 58% { transform: scale(1.04); } 64%, 100% { transform: scale(1); } }

/* Plateforme */
html.js .carte:not(.visible) .jauge::after, html.js .carte:not(.visible) .progression i { transform: scaleX(0); }
.pf-scan { animation: flotte-petit 6s ease-in-out infinite; }
html.js .illus-formations .cours { opacity: 0; transform: translateX(-16px); transition: opacity 0.7s var(--ressort), transform 0.8s var(--ressort); }
html.js .illus-formations .cours:nth-child(2) { transition-delay: 0.15s; }
html.js .illus-formations .cours:nth-child(3) { transition-delay: 0.3s; }
html.js .visible .illus-formations .cours { opacity: 1; transform: none; }
.reseau-centre::before, .reseau-centre::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; border: 1.5px solid rgba(255, 46, 140, 0.45); --onde: 3.4; opacity: 0; animation: onde-sortante 4.4s ease-out infinite; }
.reseau-centre::after { animation-delay: -2.2s; }
.satellite { animation: flotte-petit 7s ease-in-out infinite; }
.s-2 { animation-delay: -1.8s; }
.s-3 { animation-delay: -3.5s; }
.s-4 { animation-delay: -5.2s; }
html.js .illus-bot .bulle-moi-texte, html.js .illus-bot .bulle-bot, html.js .illus-bot .masque, html.js .illus-bot .memoires > span { opacity: 0; }
html.js .visible .illus-bot .bulle-moi-texte { animation: bulle 0.6s var(--ressort) 0.35s both; }
html.js .visible .illus-bot .bulle-bot { animation: bulle 0.6s var(--ressort) 0.95s both; }
html.js .visible .illus-bot .masque { animation: bulle 0.5s var(--ressort) 1.6s both; }
html.js .visible .illus-bot .memoires > span { animation: bulle 0.6s var(--ressort) calc(var(--ms) + 0.6s) both; }
.memoires > span:nth-of-type(2) { --ms: 0.15s; }
.memoires > span:nth-of-type(3) { --ms: 0.3s; }
.memoires > span:nth-of-type(1) { --ms: 0s; }

/* NIKITA Bot : la question, le bot qui écrit, la réponse, puis la trace dans le journal. */
.bulle-sequence { position: relative; }
.ecrit { display: none; }
html.js .ecrit { position: absolute; left: 12px; top: 50%; display: inline-flex; gap: 4px; translate: 0 -50%; }
.ecrit i { width: 6px; height: 6px; border-radius: 50%; background: #a3a3a3; animation: saute 1s ease-in-out infinite; }
.ecrit i:nth-child(2) { animation-delay: 0.15s; }
.ecrit i:nth-child(3) { animation-delay: 0.3s; }
html.js .bot-visuel .fenetre-sombre .bulle-moi-texte, html.js .bot-visuel .bulle-sequence, html.js .bot-visuel .journal { opacity: 0; }
html.js .bot-visuel.visible .fenetre-sombre .bulle-moi-texte { animation: bulle 0.6s var(--ressort) 0.6s both; }
html.js .bot-visuel.visible .bulle-sequence { animation: bulle 0.6s var(--ressort) 1.2s both; }
html.js .bot-visuel.visible .ecrit { animation: efface 0.25s ease 2.5s both; }
html.js .bot-visuel.visible .bulle-contenu { animation: affiche 0.5s ease 2.6s both; }
html.js .bot-visuel.visible .journal { animation: bulle 0.6s var(--ressort) 3.1s both; }
.point-vivant { animation: clignote 2.2s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; }
  .defile { flex-wrap: wrap; width: auto; justify-content: center; }
  .defile li[aria-hidden="true"] { display: none; }
}
