:root {
  --bg: #05070d;
  --bg-elevated: #0d1420;
  --accent: #5b9dff;
  --text: #e8edf5;
  --text-muted: rgba(232, 237, 245, 0.72);
  --font-base: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  /* Not yet consumed outside the typography/spacing pass — reserved for future components. */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  color: #fff;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  margin-bottom: var(--space-3);
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  position: sticky;
  top: 0;
  background: rgba(5, 7, 13, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.site-header__brand { display: flex; align-items: center; }
.site-header__logo { height: 36px; filter: invert(1); display: block; }
.site-header__nav a { margin-left: 24px; font-size: 14px; }

.section {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-7) var(--space-3);
}

/* --- Écosystème : 5 offres, déjà numérotées dans le texte (01 — ... 05 — ...).
   Le compteur CSS reprend ces mêmes chiffres en filigrane pour les mettre en
   scène sans dupliquer le texte source. */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
  counter-reset: card;
}

.card {
  counter-increment: card;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 100% 0%, rgba(91, 157, 255, 0.14), transparent 60%),
    linear-gradient(165deg, rgba(13, 20, 32, 0.92), var(--bg-elevated));
  border: 1px solid rgba(91, 157, 255, 0.22);
  border-radius: 16px;
  padding: 30px 26px 26px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card::before {
  content: counter(card, decimal-leading-zero);
  position: absolute;
  top: -8px;
  right: 14px;
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  background: linear-gradient(180deg, rgba(91, 157, 255, 0.4), rgba(91, 157, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 157, 255, 0.5);
  box-shadow: 0 20px 40px -22px rgba(91, 157, 255, 0.35);
}
.card:hover::before { transform: scale(1.08); opacity: 0.85; }
.card:hover::after { transform: scaleX(1); }

.card h3 {
  position: relative;
  z-index: 1;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 12px;
  padding-right: 48px;
}

.card p {
  position: relative;
  z-index: 1;
  font-size: 15px;
}

/* --- Approche : 3 phases (pré-prod / prod / post-prod) + encart de synthèse. */
















@media (max-width: 480px) {

}

/* --- Infrastructure IA : liste de systèmes à gauche, scène sombre à droite.
   Les schémas sont dessinés par assets/js/systemes.js dans un repère logique
   (--k = échelle) ; les textes restent à 13px réels grâce à la compensation. */
.section.systemes {
  max-width: 1280px;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.systemes__head { max-width: 760px; margin-bottom: var(--space-5); }
.systemes__eyebrow {
  margin: 0 0 var(--space-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.systemes__head h2 { margin-bottom: var(--space-2); }
.systemes__lead { margin: 0; font-size: 1.125rem; max-width: 40em; }

.systemes__layout {
  display: grid;
  grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

/* Liste de sélection */
.systemes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid #1c2a4a;
  display: flex;
  flex-direction: column;
}
.systeme {
  display: block;
  width: 100%;
  margin: 0 0 0 -1px;
  padding: 13px 20px;
  text-align: left;
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.systeme__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.systeme__name { font-size: 18px; font-weight: 500; color: #6f7fa3; transition: color 0.3s ease; }
.systeme__tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #3f5d99;
  border: 1px solid #1d2f57;
  border-radius: 99px;
  padding: 2px 8px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.systeme__what {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.35;
  color: #55668a;
  transition: color 0.3s ease;
}
.systeme:hover .systeme__name { color: #b9c7e6; }
.systeme.is-active {
  border-left-color: var(--accent);
  background: linear-gradient(90deg, rgba(91, 157, 255, 0.14), transparent);
}
.systeme.is-active .systeme__name { color: #e8eefc; }
.systeme.is-active .systeme__what { color: #9fb0d4; }
.systeme.is-active .systeme__tag { color: #6aa0ff; border-color: #2b4a8a; }
.systeme:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Scène */
.systemes__stage {
  position: relative;
  border-radius: 24px;
  border: 1px solid #1c2a4a;
  background: #080d18;
  background-image: radial-gradient(#1b2744 1px, transparent 1px);
  background-size: 22px 22px;
  overflow: hidden;
}
/* Fenêtre de la caméra : le canevas la dépasse, seule la partie cadrée se voit. */
.systemes__inner {
  position: relative;
  height: 470px;
  overflow: hidden;
  touch-action: pan-y;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.systemes__inner.is-out { opacity: 0; }
.sx-world {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  will-change: transform;
}

/* Balayage horizontal continu, de la gauche vers la droite, à zoom constant.
   Ne se déclenche que sur sélection (clic) ; l'utilisateur peut aussi glisser
   le schéma à la main sur écran tactile (cf. pointerdown plus bas). */
@keyframes sx-cam {
  from { transform: var(--cam0); }
  to { transform: var(--cam1); }
}
.sx-world--cam { animation: sx-cam 26s linear both; }
.systemes.is-paused .sx-world--cam { animation-play-state: paused; }

/* Zones de couleur reprises du canevas d'origine. */
.sx-zone {
  position: absolute;
  border: 1px solid var(--zb);
  background: var(--zf);
  border-radius: 10px;
}
.sx-zone-t {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: var(--zt);
}
.sx-zone--note .sx-zone-t {
  right: 14px;
  white-space: normal;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  opacity: 0.75;
}
.sx-lines { position: absolute; left: 0; top: 0; overflow: visible; }
.sx-line { fill: none; stroke: #3a5ea8; stroke-width: 2; stroke-linecap: round; }
.sx-line--dash { stroke-width: 1.6; stroke-dasharray: 5 5; }
.sx-line--lit { stroke: #5b9dff; stroke-width: 2.2; }
/* Bille lumineuse qui remonte la liaison, portée par le chemin en CSS. */
.sx-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #9cc4ff;
  box-shadow: 0 0 10px 3px rgba(91, 157, 255, 0.5);
  offset-rotate: 0deg;
  offset-distance: 0%;
}
.systemes.is-live .sx-dot { animation: sx-run var(--dur, 4.5s) linear infinite; animation-delay: var(--del, 0s); }
.systemes.is-paused .sx-dot,
.systemes:not(.is-playing) .sx-dot { animation-play-state: paused; }
@keyframes sx-run { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.sx-tag {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: calc(11px / var(--k, 1));
  color: #7f90b4;
  background: #080d18;
  padding: 0 3px;
  line-height: 1.2;
}

/* Éléments */
.sx-n { position: absolute; width: 0; height: 0; }
.sx-box {
  position: absolute;
  left: calc(var(--w) / -2);
  top: calc(var(--h) / -2);
  width: var(--w);
  height: var(--h);
  border-radius: 18px;
  background: #111b33;
  border: 1px solid #2b4a8a;
  box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sx-n--agent .sx-box { background: #14224a; border-color: var(--accent); }
/* Un noeud déclencheur garde le flanc arrondi du canevas d'origine. */
.sx-n--depart .sx-box { border-radius: 48px 18px 18px 48px; border-left: 2px solid var(--accent); }
.sx-n--sous .sx-box { border-radius: 50%; border-style: dashed; background: #0e1730; }
.sx-n--small .sx-box { border-radius: 50%; border-style: dashed; }
.sx-n--pill .sx-box { border-radius: 99px; font-size: calc(13px / var(--k, 1)); color: #cfd9f2; }
.sx-n--empty .sx-box { background: rgba(17, 27, 51, 0.45); border-style: dashed; border-color: #3a5ea8; color: #7fb0ff; }
.sx-n--empty .sx-plus { font-size: 34px; font-weight: 300; line-height: 1; }
.sx-n--dot .sx-box { border-radius: 50%; background: #5b9dff; border: 0; box-shadow: 0 0 12px rgba(91, 157, 255, 0.7); }
.sx-box img { display: block; width: 38px; height: 38px; object-fit: contain; }
.sx-n--small .sx-box img,
.sx-n--sous .sx-box img { width: 26px; height: 26px; }
.sx-n--sous .sx-box svg { width: 26px; height: 26px; }
/* Les glyphes de noeuds reprennent la couleur définie par n8n, portée par `color`. */
.sx-box svg { width: 32px; height: 32px; color: #7fb0ff; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sx-n--small .sx-box svg { width: 26px; height: 26px; }
.sx-agent-t { font-size: calc(13px / var(--k, 1)); color: #e8eefc; line-height: 1.25; text-align: left; }
.sx-label {
  position: absolute;
  left: -70px;
  width: 140px;
  top: calc(var(--h) / 2 + 10px);
  text-align: center;
  font-size: calc(13px / var(--k, 1));
  line-height: 1.25;
  color: #cfd9f2;
  text-wrap: balance;
}
.sx-n--small .sx-label,
.sx-n--sous .sx-label { color: #8fa0c2; }

/* Apparition, puis pulsation douce */
.systemes.is-live .sx-n { animation: sx-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: var(--d, 0s); }
.systemes.is-live .sx-box { animation: sx-pulse 4.5s ease-in-out infinite; animation-delay: var(--p, 0s); }
.systemes.is-live .sx-n--empty .sx-plus { animation: sx-plus 2.4s ease-in-out infinite; }
.systemes.is-live .sx-line,
.systemes.is-live .sx-tag,
.systemes.is-live .sx-zone,
.systemes.is-live .sx-zone-t { animation: sx-fade 0.7s ease both; animation-delay: var(--d, 0.4s); }
.systemes:not(.is-playing) .sx-n,
.systemes:not(.is-playing) .sx-box,
.systemes:not(.is-playing) .sx-plus,
.systemes.is-paused .sx-box { animation-play-state: paused; }
@keyframes sx-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes sx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sx-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes sx-plus { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.35); opacity: 1; } }

.systemes__stage-cta { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 3; }
.systemes__caption { display: none; }

/* Boutons d'audit */
.btn-audit {
  display: inline-block;
  background: var(--accent);
  color: #05070d;
  border: 0;
  border-radius: 99px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(91, 157, 255, 0.6);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-audit:hover { background: #7ab1ff; transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(91, 157, 255, 0.75); }
.btn-audit:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn-audit[hidden] { display: none; }
.systemes__stage-cta:hover { transform: translateX(-50%) translateY(-2px); }

.systemes__foot { margin-top: var(--space-5); }
.systemes__outro { margin: 0 0 var(--space-2); font-size: 0.92rem; color: var(--text-muted); }
.systemes__legal { margin: var(--space-3) 0 0; padding-top: 14px; border-top: 1px solid #131c33; font-size: 12px; color: #55668a; }

/* Fenêtre du formulaire d'audit */
.audit-modal {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: var(--space-4);
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(91, 157, 255, 0.35);
  border-radius: var(--radius-lg);
  overflow: auto;
}
.audit-modal::backdrop { background: rgba(2, 4, 9, 0.78); backdrop-filter: blur(4px); }
.audit-modal h2 { font-size: 1.5rem; margin-bottom: var(--space-3); }
.audit-modal .audit-form { padding: 0; border: 0; background: none; box-shadow: none; }
.audit-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.audit-modal__close:hover { color: #fff; }
.audit-modal__close:focus-visible { outline: 2px solid var(--accent); }

@media (min-width: 901px) {
  .systemes__stage { position: sticky; top: 96px; }
}

/* Mobile : scène au-dessus, liste en pastilles défilantes */
@media (max-width: 900px) {
  .section.systemes { padding-left: var(--space-2); padding-right: var(--space-2); }
  .systemes__layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .systemes__stage { order: 1; }
  .systemes__caption {
    order: 2;
    display: block;
    margin: 0;
    min-height: 3em;
    font-size: 14px;
    color: #9fb0d4;
  }
  .systemes__list {
    order: 3;
    flex-direction: row;
    gap: 8px;
    border-left: 0;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .systemes__list li { flex: 0 0 auto; scroll-snap-align: start; }
  .systeme {
    margin: 0;
    padding: 9px 16px;
    white-space: nowrap;
    border: 1px solid #1d2f57;
    border-radius: 99px;
  }
  .systeme__name { font-size: 15px; }
  .systeme__tag, .systeme__what { display: none; }
  .systeme.is-active { border-color: var(--accent); background: rgba(91, 157, 255, 0.16); }
  .systemes__stage-cta { bottom: 14px; padding: 11px 20px; font-size: 14px; }
  .systemes__inner { height: 400px; }
}

@media (prefers-reduced-motion: reduce) {
  .systemes__inner, .systeme, .systeme__name, .systeme__what, .systeme__tag, .btn-audit { transition: none; }
  .sx-world--cam { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .timeline::before,
  .timeline__step::before { animation: none; }
}

/* --- Comment ça fonctionne : 3 étapes en colonnes. Le label est un <h2> (hiérarchie
   des titres) stylé en petites capitales ; les badges sont des pastilles. */
.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.timeline__lede {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 560px;
  margin: 0 0 var(--space-4);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 var(--space-4);
  position: relative;
  max-width: 560px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, rgba(91, 157, 255, 0.12), rgba(91, 157, 255, 0.75), rgba(91, 157, 255, 0.12));
  background-size: 100% 220%;
  animation: timelineFlow 7s linear infinite;
}

@keyframes timelineFlow {
  0% { background-position: 0 0; }
  100% { background-position: 0 220%; }
}

@keyframes timelineDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91, 157, 255, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(91, 157, 255, 0); }
}

.timeline__step {
  position: relative;
  padding-bottom: var(--space-5);
}
.timeline__step:last-child { padding-bottom: 0; }

.timeline__step::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-4) + 0px);
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-sizing: border-box;
  animation: timelineDotPulse 2.8s ease-in-out infinite;
}
.timeline__step:nth-child(2)::before { animation-delay: 0.4s; }
.timeline__step:nth-child(3)::before { animation-delay: 0.8s; }

.timeline__step h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  margin-bottom: var(--space-1);
}

.timeline__step p {
  font-size: 1rem;
  margin: 0;
  color: var(--text-muted);
}

/* --- Sections éditoriales (Équipe, Case Study, Audit) : plus larges que la
   colonne de lecture standard pour laisser respirer image + texte. */
.section--wide { max-width: 1120px; }

/* --- Équipe : portrait + bio. Le portrait a un fond gris-bleu froid qui se
   fond dans le thème ; un filet d'accent décalé le détache du fond. */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-6);
  align-items: center;
  margin-top: var(--space-5);
}

.founder__portrait {
  position: relative;
  margin: 0;
  isolation: isolate;
}
.founder__portrait::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid rgba(91, 157, 255, 0.4);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.founder__portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(42, 120, 255, 0.45), 0 0 0 1px rgba(91, 157, 255, 0.18);
}
/* Fondu vers --bg en bas du portrait, pour ancrer l'image dans la page. */
.founder__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, transparent 60%, rgba(5, 7, 13, 0.55));
  pointer-events: none;
}

.founder__bio {
  padding-left: var(--space-4);
  border-left: 2px solid var(--accent);
}
.founder__label {
  font-size: 12px !important;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin: var(--space-4) 0 var(--space-2) !important;
}
.founder__label:first-child { margin-top: 0 !important; }
.founder__name {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-3);
}
.founder__bio p {
  margin: 0 0 var(--space-2);
  max-width: 34em;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.6;
  color: var(--text-muted);
}
.founder__bio p:not(.founder__label) { color: var(--text-muted); }

/* --- Case study : affiche en vedette, texte + sélections festival à droite. */
.casestudy {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-7);
  align-items: center;
}

.casestudy__poster {
  position: relative;
  margin: 0;
  isolation: isolate;
}
.casestudy__poster::before {
  content: "";
  position: absolute;
  inset: -12% -14%;
  background: radial-gradient(closest-side, rgba(42, 120, 255, 0.35), transparent);
  filter: blur(30px);
  z-index: -1;
}
.casestudy__poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(91, 157, 255, 0.25);
}

.casestudy__body h2 { margin-bottom: var(--space-3); }
.casestudy__body > p {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
  max-width: 30em;
}

/* Les lauriers sont livrés en bleu nuit sur transparent : on les passe en blanc. */
.casestudy__laurels {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-5) 0 0;
  padding: var(--space-4) 0 0;
  border-top: 1px solid rgba(91, 157, 255, 0.2);
}
.casestudy__laurels li { flex: 0 1 160px; min-width: 0; }
.casestudy__laurels img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

/* --- Audit gratuit : argumentaire à gauche, formulaire en carte à droite. */
.cta {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-7);
  align-items: start;
}
.cta__pitch {
  position: sticky;
  top: 110px;
}
.cta__pitch h2 {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.cta__pitch p {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
  max-width: 24em;
}

.audit-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-2);
  padding: var(--space-5);
  background:
    radial-gradient(circle at 100% 0%, rgba(91, 157, 255, 0.14), transparent 55%),
    linear-gradient(165deg, rgba(13, 20, 32, 0.92), var(--bg-elevated));
  border: 1px solid rgba(91, 157, 255, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -40px rgba(42, 120, 255, 0.4);
}
/* Société, Message, consentement, bouton, statut : pleine largeur. */
.audit-form > :nth-child(3),
.audit-form > :nth-child(n+6) { grid-column: 1 / -1; }

.audit-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.audit-form input:not([type="checkbox"]),
.audit-form select,
.audit-form textarea {
  width: 100%;
  background: rgba(5, 7, 13, 0.6);
  border: 1px solid rgba(91, 157, 255, 0.28);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.audit-form textarea { resize: vertical; min-height: 96px; }
.audit-form select {
  appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.audit-form select option { background: var(--bg-elevated); color: var(--text); }
.audit-form input:not([type="checkbox"]):hover,
.audit-form select:hover,
.audit-form textarea:hover { border-color: rgba(91, 157, 255, 0.55); }
.audit-form input:not([type="checkbox"]):focus-visible,
.audit-form select:focus-visible,
.audit-form textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  background: rgba(5, 7, 13, 0.85);
  box-shadow: 0 0 0 3px rgba(91, 157, 255, 0.25);
}

.audit-form label.audit-form__consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
}
.audit-form__consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}
.audit-form__consent input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.audit-form button {
  background: var(--accent);
  color: #05070d;
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(91, 157, 255, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.audit-form button:hover:not(:disabled) {
  background: #7ab1ff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(91, 157, 255, 0.75);
}
.audit-form button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.audit-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.audit-form__status { min-height: 1.2em; margin: 0; font-size: 14px; }
.audit-form__status[data-state="error"] { color: #ff6b6b; }
.audit-form__status[data-state="success"] { color: #5bffa0; }

@media (max-width: 900px) {
  .founder,
  .casestudy,
  .cta { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .founder__portrait { max-width: 380px; margin-right: 20px; }
  .casestudy__poster { max-width: 420px; }
  .casestudy__poster::before { inset: -4%; filter: none; }
  .cta__pitch { position: static; }
}
@media (max-width: 560px) {
  .founder__bio { padding-left: var(--space-3); }
  .audit-form { grid-template-columns: minmax(0, 1fr); padding: var(--space-3); }
  .audit-form > :nth-child(3),
  .audit-form > :nth-child(n+6) { grid-column: auto; }
  .casestudy__laurels { gap: var(--space-3); }
}

.site-footer { text-align: center; padding: 40px 24px; color: var(--text-muted); font-size: 13px; }
.site-footer__links { margin-top: 8px; }
.site-footer__links a { color: var(--text-muted); }
.site-footer__links a:hover { color: var(--accent); }

@media (max-width: 480px) {
  .section { padding: var(--space-6) var(--space-2); }
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 86vh, 880px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  overflow: hidden;
}

/* Two ambient glow layers, offset diagonally, drifting at different speeds
   for depth. Pure decoration — kept out of the text's z-index stack. */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
}

.hero::before {
  width: 60%;
  height: 70%;
  left: -15%;
  top: -20%;
  background: radial-gradient(circle, rgba(42, 120, 255, 0.32), transparent 65%);
  animation: heroDriftA 16s ease-in-out infinite;
}

.hero::after {
  width: 55%;
  height: 65%;
  right: -15%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(91, 157, 255, 0.28), transparent 60%);
  animation: heroDriftB 20s ease-in-out infinite;
  animation-delay: -6s;
}

@keyframes heroDriftA {
  0%, 100% { translate: 0 0; scale: 1; opacity: 0.55; }
  50% { translate: 4% -3%; scale: 1.1; opacity: 0.9; }
}

@keyframes heroDriftB {
  0%, 100% { translate: 0 0; scale: 1; opacity: 0.45; }
  50% { translate: -5% 4%; scale: 1.08; opacity: 0.8; }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 157, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 157, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 35%, rgba(42, 120, 255, 0.35), transparent 55%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 75%);
  animation: heroPulse 4s ease-in-out infinite;
  z-index: 0;
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.6; scale: 1; }
  50% { opacity: 1; scale: 1.015; }
}

/* Light scroll parallax, added on top of the ambient drift via
   animation-composition so both effects run without one overriding
   the other. Browsers without scroll-driven animations just keep
   the drift above — no fallback needed. */
@supports (animation-timeline: scroll()) {
  .hero::before {
    animation: heroDriftA 16s ease-in-out infinite, heroParallaxBack linear;
    animation-composition: replace, add;
    animation-timeline: auto, scroll(root block);
    animation-range: normal, 0 90vh;
  }
  .hero::after {
    animation: heroDriftB 20s ease-in-out infinite, heroParallaxFront linear;
    animation-delay: -6s, 0s;
    animation-composition: replace, add;
    animation-timeline: auto, scroll(root block);
    animation-range: normal, 0 90vh;
  }
  .hero__grid {
    animation: heroPulse 4s ease-in-out infinite, heroParallaxGrid linear;
    animation-composition: replace, add;
    animation-timeline: auto, scroll(root block);
    animation-range: normal, 0 90vh;
  }
}

@keyframes heroParallaxBack { to { translate: 0 8%; } }
@keyframes heroParallaxFront { to { translate: 0 -10%; } }
@keyframes heroParallaxGrid { to { translate: 0 4%; } }

@media (prefers-reduced-motion: reduce) {
  .hero__grid,
  .hero::before,
  .hero::after {
    animation: none;
  }
  .hero__grid { opacity: 0.8; }
}

.hero__logo {
  position: relative; z-index: 1;
  height: 72px;
  filter: invert(1);
  margin-bottom: 28px;
}
.hero__title {
  position: relative; z-index: 1;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  color: #fff;
  text-shadow: 0 0 40px rgba(91, 157, 255, 0.45);
  overflow-wrap: break-word;
  max-width: 90%;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__tagline {
  position: relative; z-index: 1;
  font-size: clamp(2.6rem, 1.8rem + 3.6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #fff;
  text-shadow: 0 0 60px rgba(91, 157, 255, 0.4);
  margin: 24px 0 0;
}
.hero__subtitle {
  position: relative; z-index: 1;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 20px;
}

/* Scroll-fade only activates once JS confirms it can run the observer.
   Without the `js-ready` class on <html>, content stays fully visible. */
html.js-ready .scroll-fade,
html.js-ready .scroll-fade-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js-ready .scroll-fade.is-visible,
html.js-ready .scroll-fade-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
html.js-ready .scroll-fade-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
html.js-ready .scroll-fade-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
html.js-ready .scroll-fade-stagger.is-visible > *:nth-child(3) { transition-delay: 0.24s; }
html.js-ready .scroll-fade-stagger.is-visible > *:nth-child(4) { transition-delay: 0.36s; }
html.js-ready .scroll-fade-stagger.is-visible > *:nth-child(5) { transition-delay: 0.48s; }
html.js-ready .scroll-fade-stagger.is-visible > *:nth-child(6) { transition-delay: 0.6s; }
html.js-ready .scroll-fade-stagger.is-visible > *:nth-child(7) { transition-delay: 0.72s; }

@media (prefers-reduced-motion: reduce) {
  html.js-ready .scroll-fade,
  html.js-ready .scroll-fade-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Fondateur : carrousel à deux vues (portrait, puis création originale). */
.founder__visual { min-width: 0; }

.founder__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 18px;
}
.founder__track::-webkit-scrollbar { display: none; }

.founder__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  margin: 0;
  min-width: 0;
}

.founder__work {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.founder__poster {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(91, 157, 255, 0.35);
}
.founder__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }

.founder__work-body .founder__label { margin-top: 0 !important; }
.founder__work-title {
  font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
}
.founder__work-body > p:not(.founder__label) {
  margin: 0 0 var(--space-3);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.founder__work-body .casestudy__laurels { margin-top: 0; }

.founder__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.founder__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  cursor: pointer;
}
.founder__dot.is-active { background: var(--accent); }
.founder__dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.founder__track .founder__portrait::before { display: none; }
.founder { align-items: start; }
.founder__track { align-items: flex-start; }
.founder__track .founder__portrait::before { content: none; }
.founder__track .founder__portrait::after { content: none; }
.founder__slide { align-self: flex-start; }

/* --- FAQ : accordéon natif (details/summary), sans JavaScript. */
.faq-list {
  max-width: 760px;
  margin: var(--space-4) 0 0;
  border-top: 1px solid rgba(91, 157, 255, 0.2);
}
.faq-item { border-bottom: 1px solid rgba(91, 157, 255, 0.2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-family: var(--font-base);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  font-weight: 500;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq-item p {
  margin: 0 0 var(--space-3);
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* --- Bloc de réservation : titre, phrase, un seul bouton. */
.booking { text-align: center; }
.booking .section-label { margin-bottom: var(--space-3); }
.booking__title {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 auto var(--space-3);
  max-width: 18ch;
}
.booking__title em { font-style: italic; font-weight: 500; color: var(--accent); }
.booking__lede {
  max-width: 44ch;
  margin: 0 auto var(--space-4);
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
.booking__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--accent);
  color: #05070d;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.booking__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(91, 157, 255, 0.6); }
.booking__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.booking__note {
  margin: var(--space-3) 0 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- En-tête : lien Contact et icônes de réseaux sociaux. */
.site-header__nav { display: flex; align-items: center; gap: var(--space-3); }
.site-header__link { font-size: 14px; }
.site-header__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-muted);
  border: 1px solid rgba(91, 157, 255, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.site-header__social:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.site-header__social:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* --- Hero : apparition sobre du logo, du titre et du paragraphe. */
.hero__reveal {
  animation: heroReveal 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.hero__logo.hero__reveal {
  animation: heroReveal 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both 0.05s,
             heroLogoFloat 6.5s ease-in-out infinite 0.95s;
}
.hero__tagline.hero__reveal { animation-delay: 0.25s; }
.hero__subtitle.hero__reveal { animation-delay: 0.45s; }

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0) scale(1); filter: invert(1) drop-shadow(0 0 0 rgba(91, 157, 255, 0)); }
  50% { transform: translateY(-6px) scale(1.015); filter: invert(1) drop-shadow(0 0 16px rgba(91, 157, 255, 0.45)); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__reveal,
  .hero__logo.hero__reveal { animation: none; opacity: 1; transform: none; }
}

/* --- Nos services : trois cartes de hauteur égale, numéro en filigrane. */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
  align-items: stretch;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 100% 0%, rgba(91, 157, 255, 0.12), transparent 60%),
    linear-gradient(165deg, rgba(13, 20, 32, 0.92), var(--bg-elevated));
  border: 1px solid rgba(91, 157, 255, 0.22);
  border-radius: 18px;
  padding: var(--space-5) var(--space-4) var(--space-4);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.service:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 157, 255, 0.45);
  box-shadow: 0 22px 44px -26px rgba(91, 157, 255, 0.4);
}

.service h3 {
  position: relative;
  z-index: 1;
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: var(--space-2);
}
.service > p {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 var(--space-3);
}

.service__points {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.service__points li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.service__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 9px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.service__btn {
  margin-top: auto;
  align-self: center;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.service__btn:hover { background: var(--accent); color: #05070d; }
.service__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* --- Fenêtre du formulaire : phrase d'introduction sous le titre. */
.audit-modal__intro {
  margin: 0 0 var(--space-3);
  max-width: 46ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --- Notre approche : avant / après, avec liaison centrale. */
.approche__lede {
  max-width: 62ch;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 var(--space-5);
}
.approche-flow {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: stretch;
}
.approche-side {
  border: 1px solid rgba(91, 157, 255, 0.22);
  border-radius: 18px;
  padding: var(--space-4) var(--space-4);
  background: var(--bg-elevated);
  min-width: 0;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.approche-side:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 157, 255, 0.5);
}
.approche-side--after {
  border-color: rgba(91, 157, 255, 0.55);
  background: linear-gradient(165deg, rgba(20, 34, 74, 0.9), var(--bg-elevated));
  box-shadow: 0 0 30px -12px rgba(91, 157, 255, 0.45);
}
.approche-side--after:hover { box-shadow: 0 10px 40px -14px rgba(91, 157, 255, 0.6); }
.approche-side--before:hover { box-shadow: 0 10px 34px -16px rgba(0, 0, 0, 0.5); }
.approche-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-3);
}
.approche-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}
.approche-side li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.approche-side--before li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #ff6b6b;
  opacity: 0.8;
}
.approche-side--after li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.approche-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.approche-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 157, 255, 0.15), rgba(91, 157, 255, 0.8));
}
.approche-link span {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 14px rgba(91, 157, 255, 0.5);
}
.approche__result {
  margin: var(--space-5) 0 0;
  text-align: center;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  color: var(--text);
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
.approche__note {
  margin: var(--space-3) 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
@media (max-width: 760px) {
  .approche-flow { grid-template-columns: 1fr; gap: var(--space-3); }
  .approche-link { height: 40px; }
  .approche-link::before { top: 0; bottom: 0; left: 50%; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(91,157,255,.15), rgba(91,157,255,.8)); }
}

/* --- Scène de plateforme : l'interface réelle du produit, dans le même cadre
   et avec le même vocabulaire de tuiles que les schémas de systèmes. */
.sx-pf-screen {
  position: absolute;
  left: 52px;
  width: 570px;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(91, 157, 255, 0.45);
  background: #111b33;
  box-shadow: 0 30px 60px -28px rgba(42, 120, 255, 0.65), 0 0 0 1px rgba(91, 157, 255, 0.08);
  animation: sx-in 0.5s ease both;
}
.sx-pf-screen::before {
  content: "";
  position: absolute;
  inset: -46px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(91, 157, 255, 0.28), transparent 72%);
  filter: blur(24px);
  pointer-events: none;
}
.sx-pf-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 12px;
  background: #0d1420;
  border-bottom: 1px solid rgba(91, 157, 255, 0.18);
}
.sx-pf-bar i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.sx-pf-bar i:nth-child(1) { background: #ff6459; }
.sx-pf-bar i:nth-child(2) { background: #ffbd2e; }
.sx-pf-bar i:nth-child(3) { background: #28c93f; }
.sx-pf-screen img { display: block; width: 100%; height: auto; }
/* Un aperçu recadré au milieu d'un texte s'estompe en bas, pour que la coupure
   paraisse voulue et non accidentelle. */
.sx-pf-screen--fondu img {
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}

.sx-n--info .sx-box {
  border-radius: 16px;
  justify-content: flex-start;
  padding: 0 16px;
  gap: 12px;
}
.sx-info-t {
  font-size: calc(14px / var(--k, 1));
  line-height: 1.3;
  color: #e8eefc;
  text-align: left;
}
.sx-n--info .sx-box svg { width: 22px; height: 22px; flex: none; }

.sx-pf-lien {
  position: absolute;
  left: 52px;
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #05070d;
  font-size: calc(14px / var(--k, 1));
  font-weight: 600;
  text-decoration: none;
  animation: sx-in 0.5s 0.45s ease both;
}
.sx-pf-lien:hover { background: #7fb0ff; }
.sx-pf-lien:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* PERALO n'est pas encore publique : le bouton reste visible mais inactif. */
.sx-pf-lien.is-off { background: #1a2338; color: rgba(232, 237, 245, 0.55); border: 1px solid rgba(91, 157, 255, 0.25); cursor: default; }
.sx-pf-lien.is-off:hover { background: #1a2338; }

/* --- Scène de plateforme, sous ~700px : le texte des tuiles, compensé pour
   rester lisible à l'échelle du repère, débordait de leurs cases. En dessous
   de ce seuil, le visuel et les tuiles passent en flux normal, sans transform. */
.systemes__inner.is-flow-scene {
  height: auto !important;
  min-height: 320px;
  overflow: visible;
  padding: 28px 20px 24px;
}
.sx-world--flow-pf {
  position: static;
  display: block;
  width: 100% !important;
  height: auto !important;
  transform: none !important;
  animation: none !important;
}
.sx-pf-screen--mobile {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 20px;
}
.sx-pf-tiles-mobile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 20px;
}
.sx-pf-tile-mobile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111b33;
  border: 1px solid #2b4a8a;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.35;
  color: #e8eefc;
}
.sx-pf-tile-icon { flex: none; display: flex; }
.sx-pf-tile-icon svg { width: 20px; height: 20px; color: #7fb0ff; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sx-pf-lien--mobile {
  position: static;
  display: flex;
  width: fit-content;
  margin: 0 auto;
  font-size: 14px;
}
