/* ==========================================================================
   Ksaar — intégration maquette XD (1440px) — CSS sans framework
   ========================================================================== */

:root {
  /* Couleurs */
  --bg: #020131;
  --ink: #ffffff;
  --teal: #2fc5ab;
  --blue: #42a5f5;
  --indigo: #494cd4;
  --rouge: #fa2200;
  --cercle: rgba(70, 160, 239, .206);
  --cercle-fort: rgba(70, 160, 239, .301);
  --panneau: rgba(73, 76, 212, .247);
  --ligne: rgba(255, 255, 255, .25);

  /* Dégradés */
  --grad-cta: linear-gradient(90deg, #494cd4 0%, #3d85c1 47.3%, #3a94bc 59.2%, #2fc5ab 100%);
  --grad-filet: linear-gradient(180deg, #42a5f5 0%, #2fc5ab 100%);
  --grad-regle: linear-gradient(90deg, rgba(198,198,198,0) 0%, rgba(198,198,198,.85) 45%, rgba(198,198,198,0) 100%);
  --halo-blue: radial-gradient(circle, rgba(70, 160, 239, .3) 0%, rgba(70, 160, 239, .13) 40%, rgba(70, 160, 239, 0) 70%);
  --grad-problem-panel: radial-gradient(92% 110% at 54% 0%, rgba(89, 106, 231, .44) 0%, rgba(73, 76, 212, .28) 45%, rgba(30, 38, 123, .3) 100%);

  /* Typo */
  --font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Espacements / rayons / ombres */
  --gouttiere: 155px;
  --rayon-pill: 30px;
  --rayon-carte: 20px;
  --ombre-modale: 0 30px 80px rgba(0, 0, 0, .55);

  /* Timings */
  --duree-courte: .35s;
  --duree: .7s;
  --duree-longue: 1.1s;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Échelle des scènes 1440px (mise à jour en JS) */
  --echelle: 1;
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background:
    radial-gradient(840px 560px at 50% -260px, rgba(27, 150, 255, .13), rgba(1, 1, 49, 0) 70%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.19;
  font-weight: 300;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img,
.inline-svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }

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

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  position: relative;
  max-width: 1440px;
  margin-inline: auto;
}

.section-title {
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
}

/* ==========================================================================
   Scènes 1440 : positionnement absolu fidèle, mis à l'échelle sous 1440px
   ========================================================================== */

.stage-outer {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

.stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  transform: scale(var(--echelle));
  transform-origin: top left;
}

/* ==========================================================================
   Boutons capsule
   ========================================================================== */

.cta-pill {
  --cta-dot-size: 60px;
  --cta-gap: calc(var(--cta-dot-size) * 0.13);
  display: inline-flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  color: var(--ink);
}

/* Gradient pill — covers the label only, leaving the trailing dot detached. */
.cta-pill::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: calc(var(--cta-dot-size) + var(--cta-gap));
  z-index: 0;
  border-radius: 999px;
  background: var(--grad-cta);
  transition: right .3s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}

/* White fill — spans the whole control, swept in from the left on hover. */
.cta-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(47, 197, 171, 0);
  clip-path: circle(0% at 0% 50%);
  transition:
    clip-path .46s cubic-bezier(.16, 1, .3, 1),
    box-shadow var(--duree-courte) var(--ease);
  pointer-events: none;
}

.cta-pill__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  height: 60px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    color .34s var(--ease);
}

.cta-pill__dot {
  position: relative;
  z-index: 3;
  width: var(--cta-dot-size);
  height: var(--cta-dot-size);
  margin-left: var(--cta-gap);
  border-radius: 50%;
  background: #fff;
  flex: none;
  transform: scale(1);
  transition:
    background .34s var(--ease),
    transform .5s cubic-bezier(.16, 1, .3, 1);
}

/* Phase 1 — the gradient stretches right to embrace the white dot. */
.cta-pill:hover::before,
.cta-pill:focus-visible::before {
  right: 0;
}

/* Phase 2 — white sweeps in from the left once the embrace has landed. */
.cta-pill:hover::after,
.cta-pill:focus-visible::after {
  clip-path: circle(150% at 0% 50%);
  box-shadow: 0 18px 42px rgba(47, 197, 171, .16);
  transition-delay: .24s;
}

.cta-pill:hover .cta-pill__label,
.cta-pill:focus-visible .cta-pill__label {
  color: var(--indigo);
  transition-delay: .26s;
}

.cta-pill:hover .cta-pill__dot,
.cta-pill:focus-visible .cta-pill__dot {
  background: var(--grad-cta);
  transform: scale(.73);
  transition-delay: .26s;
}

.cta-pill[aria-disabled="true"] { cursor: default; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  --header-glass-background: linear-gradient(180deg, rgba(1, 1, 49, .5) 0%, rgba(1, 1, 49, .34) 42%, rgba(1, 1, 49, .14) 74%, rgba(1, 1, 49, 0) 100%);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: background var(--duree-courte) ease, backdrop-filter var(--duree-courte) ease;
}

.site-header__inner {
  max-width: 1440px;
  margin-inline: auto;
  padding: 88px var(--gouttiere) 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding var(--duree-courte) var(--ease);
}

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

.site-header__login {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__login img {
  width: 18px;
  height: 18px;
  filter: none;
}

.site-header__login-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  color: currentColor;
}

.site-header__login-icon path {
  fill: currentColor;
}

.site-header__login:hover,
.site-header__login:focus-visible {
  color: #07d1cb;
}

.site-header__login-label {
  transition: color var(--duree-courte) var(--ease);
}

.site-header__logo img,
.site-header__logo .inline-svg {
  width: 223px;
  margin-left: -4px;
  height: auto;
  transition: width var(--duree-courte) var(--ease);
}

.site-header.is-scrolled {
  background: var(--header-glass-background);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.is-scrolled .site-header__inner { padding-top: 14px; padding-bottom: 14px; }
.site-header.is-scrolled .site-header__logo img,
.site-header.is-scrolled .site-header__logo .inline-svg { width: 132px; }
.site-header.is-scrolled .cta-pill { --cta-dot-size: 48px; }
.site-header.is-scrolled .cta-pill__label { height: 48px; font-size: 18px; padding: 0 26px; }
.site-header.is-scrolled .cta-pill__dot { width: 48px; height: 48px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { overflow: hidden; }

.hero .stage-outer { aspect-ratio: 1440 / 1226; }

.hero__stage { height: 1226px; }

.hero__deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  display: block;
  background: var(--halo-blue);
  mix-blend-mode: screen;
}

.hero__deco--circle-top {
  left: 595px;
  top: -436px;
  width: 635px;
  height: 635px;
  opacity: .62;
}

.hero__deco--circle-left {
  left: -477px;
  top: 334px;
  width: 603px;
  height: 603px;
  opacity: .46;
}

.hero__blob { position: absolute; pointer-events: none; }
.hero__blob--jaune { left: 935px; top: 203px; width: 76px; }
.hero__blob--paire { left: 1046px; top: 1013px; width: 228px; }

.hero__content {
  position: absolute;
  left: var(--gouttiere);
  top: 271px;
  width: 560px;
}

.hero__title {
  font-size: 52px;
  line-height: 54px;
  font-weight: 700;
}

.hero__subtitle {
  margin-top: 4px;
  font-size: 40px;
  line-height: 54px;
  font-weight: 300;
}

.hero__tagline {
  font-size: 40px;
  line-height: 54px;
  font-weight: 500;
  color: var(--teal);
}

.hero__content .cta-pill--video { margin-top: 54px; }

.hero__lead {
  margin-top: 82px;
  font-size: 32px;
  line-height: 38px;
  font-weight: 300;
  max-width: 560px;
}

.hero__hosted {
  margin-top: 38px;
  font-size: 32px;
  line-height: 38px;
  font-weight: 300;
  white-space: nowrap;
}

/* Mot animé en boucle */
.word-cycle {
  display: inline-grid;
  vertical-align: baseline;
  margin-left: 10px;
}

.word-cycle__word {
  grid-area: 1 / 1;
  font-size: 40px;
  font-weight: 300;
  color: var(--teal);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(.55em);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}

.word-cycle__word.is-current { opacity: 1; transform: translateY(0); }
.word-cycle__word.is-leaving { opacity: 0; transform: translateY(-.55em); }

.hero__badges { margin-top: 42px; margin-left: -4px; width: 478px; }

.hero__visual {
  position: absolute;
  left: 721px;
  top: 283px;
  width: 686px;
}

.hero__map { width: 686px; }

.hero__map.france-map__svg {
  display: block;
  height: auto;
  overflow: visible;
  touch-action: pan-y;
}

.france-map__hover-path {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity .22s var(--ease);
}

.france-map__hit-area {
  fill: transparent;
  pointer-events: all;
}

.hero__village {
  position: absolute;
  left: 128px;
  top: 599px;
  width: 440px;
  font-size: 32px;
  line-height: 38px;
  font-weight: 800;
}

.fr-bleu { color: var(--blue); }
.fr-rouge { color: var(--rouge); }

/* ==========================================================================
   Clients
   ========================================================================== */

.clients {
  position: relative;
  overflow: hidden;
  padding: 0 0 1px;
}

.clients::before,
.clients::after {
  content: "";
  display: block;
  max-width: 1360px;
  height: 1px;
  margin-inline: auto;
  background: var(--grad-regle);
}

.clients__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 28px;
  font-weight: 700;
}

.clients__plus { width: 42px; }

.clients__marquee {
  position: relative;
  overflow: hidden;
  max-width: min(1132px, calc(100vw - 48px));
  margin-inline: auto;
  margin-top: 28px;
  margin-bottom: 42px;
}

.clients__marquee::before,
.clients__marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 9%;
  min-width: 52px;
  pointer-events: none;
}

.clients__marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(2, 1, 49, 0) 100%);
}

.clients__marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, rgba(2, 1, 49, 0) 100%);
}

.clients__track {
  display: flex;
  width: max-content;
  animation: marquee var(--clients-duration, 36s) linear infinite;
  will-change: transform;
}

.clients__list {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 64px;
  padding-right: 64px;
}

.clients__list img,
.clients__list .inline-svg { width: auto; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--clients-distance, 50%))); }
}

/* ==========================================================================
   Process / schéma
   ========================================================================== */

.process { position: relative; overflow: hidden; }

/* Ambiance globale uniquement. Les halos localises de la carte et des pictos
   sont consolides dans assets/schema/halos.svg pour eviter les doublons. */
.process::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(740px 520px at 50% 12%, rgba(70, 160, 239, .08), rgba(70, 160, 239, 0) 68%),
    radial-gradient(520px 720px at calc(50% - 565px) 52%, rgba(70, 160, 239, .13), rgba(70, 160, 239, 0) 70%),
    radial-gradient(620px 620px at calc(50% - 940px) 54%, rgba(70, 160, 239, .09), rgba(70, 160, 239, 0) 66%);
}

.process__title {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 74px;
}

.process .stage-outer { position: relative; z-index: 1; aspect-ratio: 1440 / 1225; margin-top: 49px; }
.process__stage { height: 1225px; }

.process__stage::before {
  --process-stage-halos-opacity: .84;
  content: "";
  position: absolute;
  left: 217px;
  top: 0;
  z-index: 0;
  width: 967px;
  height: 1192px;
  pointer-events: none;
  background: url("../assets/schema/halos.svg") center / 100% 100% no-repeat;
  filter: blur(10px);
  mix-blend-mode: screen;
  opacity: var(--process-stage-halos-opacity);
}

.process__source {
  position: absolute;
  left: -7px;
  top: -9px;
  width: 1397px;
  max-width: none;
  mix-blend-mode: screen;
}

.process__blob { position: absolute; max-width: none; }
.process__blob--gauche { left: 153px; top: 891px; width: 128px; }
.process__blob--droite { left: 1071px; top: 646px; width: 280px; }

.process__card { position: absolute; left: 484px; top: 39px; width: 453px; max-width: none; }

.process__steps { position: absolute; inset: 0; }

.process-step { position: absolute; }

.process-step__icon {
  position: absolute;
  isolation: isolate;
  line-height: 0;
}

.process-step__icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: var(--process-icon-halo-w, 300px);
  height: var(--process-icon-halo-h, 250px);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center,
      rgba(27, 150, 255, .54) 0%,
      rgba(0, 96, 212, .26) 30%,
      rgba(0, 96, 212, .09) 56%,
      rgba(0, 96, 212, 0) 78%);
  display: none;
  filter: blur(10px);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
}

.process-step__icon svg,
.process-step__icon img { max-width: none; width: 100%; }
.process-step__text { position: relative; z-index: 1; }

.process-step--1 { left: 585px; top: 322px; width: 460px; }
.process-step--1 .process-step__icon { left: -163px; top: 7px; width: 120px; }
.process-step--1 .process-step__icon { --process-icon-halo-w: 330px; --process-icon-halo-h: 280px; }

.process-step--2 { left: 363px; top: 535px; width: 460px; text-align: right; }
.process-step--2 .process-step__icon { left: 496px; top: -3px; width: 122px; }
.process-step--2 .process-step__icon { --process-icon-halo-w: 330px; --process-icon-halo-h: 285px; }

.process-step--3 { left: 584px; top: 727px; width: 460px; }
.process-step--3 .process-step__icon { left: -147px; top: 20px; width: 95px; }
.process-step--3 .process-step__icon { --process-icon-halo-w: 290px; --process-icon-halo-h: 250px; }

.process-step--4 { left: 353px; top: 942px; width: 460px; text-align: right; }
.process-step--4 .process-step__icon { left: 491px; top: 1px; width: 104px; }
.process-step--4 .process-step__icon { --process-icon-halo-w: 310px; --process-icon-halo-h: 270px; }

.process-step h3 {
  font-size: 22px;
  line-height: 27px;
  font-weight: 500;
}

.process-step p {
  margin-top: 19px;
  font-size: 16px;
  line-height: 19px;
  font-weight: 300;
}

/* ==========================================================================
   Trois problèmes
   ========================================================================== */

.problems { position: relative; }

.problems .stage-outer { aspect-ratio: 1440 / 757; }
.problems__stage {
  height: 757px;
  background:
    radial-gradient(500px 420px at 23% 46%, rgba(70, 160, 239, .09), rgba(70, 160, 239, 0) 72%),
    radial-gradient(420px 620px at 94% 45%, rgba(70, 160, 239, .08), rgba(70, 160, 239, 0) 70%),
    var(--bg);
}

@media (min-width: 1024px) {
  .problems {
    --problems-stage-width: min(100vw, 1440px);
    --problems-stage-height: calc(var(--problems-stage-width) * 757 / 1440);
    --problems-pin-distance: clamp(580px, 74vh, 800px);
    height: calc(var(--problems-stage-height) + var(--problems-pin-distance));
  }

  .problems .stage-outer {
    position: sticky;
    top: max(0px, calc((100vh - var(--problems-stage-height)) / 2));
  }

  .problems .stage-outer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    pointer-events: none;
    background:
      radial-gradient(500px 420px at calc(50% - 389px) 46%, rgba(70, 160, 239, .09), rgba(70, 160, 239, 0) 72%),
      radial-gradient(420px 620px at calc(50% + 634px) 45%, rgba(70, 160, 239, .08), rgba(70, 160, 239, 0) 70%);
  }

  .problems__stage { background: transparent; }
}

/* Cercle de droite : halo complet, décalé hors scène comme la maquette. */
.problems__deco--circle-right {
  position: absolute;
  display: block;
  left: 1309px;
  right: auto;
  top: 57px;
  width: 696px;
  height: 696px;
  overflow: visible;
  pointer-events: none;
  opacity: .48;
  mix-blend-mode: screen;
}

.problems__deco--circle-right::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--halo-blue);
}

.problems__title {
  position: absolute;
  left: 590px;
  top: 52px;
}

.problems__panel {
  position: absolute;
  left: 154px;
  top: 162px;
  width: 556px;
  height: 425px;
  border-radius: var(--rayon-carte);
  background:
    var(--grad-problem-panel),
    linear-gradient(135deg, rgba(73, 76, 212, .18), rgba(47, 197, 171, .08));
  opacity: 1;
  mix-blend-mode: normal;
}

/* Reflet circulaire clippé dans le panneau (Groupe de masques 10) */
.problems__sheen {
  position: absolute;
  left: 154px;
  top: 162px;
  width: 556px;
  height: 425px;
  border-radius: var(--rayon-carte);
  overflow: hidden;
  pointer-events: none;
}

.problems__sheen::before {
  content: "";
  position: absolute;
  left: 28px;
  top: -261px;
  width: 512px;
  height: 512px;
  border-radius: 50%;
  background: var(--halo-blue);
  opacity: .52;
  mix-blend-mode: screen;
}

.problems__screen { position: absolute; left: 284px; top: 186px; width: 592px; max-width: none; }
.problems__cards { position: absolute; left: 185px; top: 315px; width: 332px; max-width: none; }

.problems__rail {
  position: absolute;
  left: 806px;
  top: 162px;
  width: 1px;
  height: 462px;
  background: rgba(255, 255, 255, .2);
}

.problems__rail-runner {
  position: absolute;
  left: -2px;
  top: 0;
  width: 4px;
  height: 115px;
  background: var(--grad-filet);
  will-change: transform;
}

.problem {
  position: absolute;
  left: 845px;
  width: 424px;
}

.problem[data-problem="1"] { top: 175px; }
.problem[data-problem="2"] { top: 334px; }
.problem[data-problem="3"] { top: 478px; }

.problem h3 {
  font-size: 22px;
  line-height: 27px;
  font-weight: 500;
}

.problem p {
  margin-top: 19px;
  font-size: 16px;
  line-height: 19px;
  font-weight: 300;
}

/* ==========================================================================
   Trois façons
   ========================================================================== */

.ways { position: relative; overflow: hidden; }

/* Halo bleu plein cadre : ancré au bord du viewport, il déborde sur toute la
   largeur et ne se coupe plus aux côtés sur les écrans plus larges que 1440. */
.ways::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(760px 760px at -140px 82%, rgba(70, 160, 239, .16), rgba(70, 160, 239, 0) 64%);
}

.ways::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, rgba(2, 1, 49, 0) 0%, rgba(2, 1, 49, .72) 74%, var(--bg) 100%);
}

.ways .stage-outer { position: relative; z-index: 1; aspect-ratio: 1440 / 630; }
.ways__stage { height: 630px; }

.ways__blob { position: absolute; max-width: none; }
.ways__blob--violet { left: 1104px; top: 50px; width: 194px; }
.ways__blob--bleu { left: 1252px; top: 161px; width: 71px; }

.ways .section-title { position: absolute; left: 155px; top: 0; }

.way {
  position: absolute;
  top: 174px;
  width: 312px;
  height: 455px;
  padding: 42px 36px 30px;
  border-radius: var(--rayon-carte);
  background:
    radial-gradient(105% 74% at 50% 100%, rgba(27, 150, 255, .2) 0%, rgba(27, 150, 255, .085) 42%, rgba(27, 150, 255, 0) 78%),
    linear-gradient(0deg, rgba(20, 43, 110, .68) 0%, rgba(13, 30, 91, .42) 31%, rgba(8, 18, 70, .18) 62%, rgba(1, 1, 49, 0) 100%);
  overflow: hidden;
  scale: 1;
  transform-origin: center bottom;
  transition: scale .28s var(--ease);
}

.way[data-way="1"] { left: 205px; }
.way[data-way="2"] { left: 593px; }
.way[data-way="3"] { left: 981px; }

.way__badge { position: relative; display: block; left: 0; top: 0; width: 54px; height: 54px; }
.way__circle { position: absolute; inset: 0; width: 54px; height: 54px; }
.way__icon { position: absolute; left: 50%; top: 50%; width: 37px; transform: translate(-50%, -50%); }
.way[data-way="2"] .way__icon { width: 31px; }
.way[data-way="3"] .way__icon { width: 31px; }

.way h3 {
  margin-top: 44px;
  color: var(--ink);
  font-size: 22px;
  line-height: 27px;
  font-weight: 500;
  transition: color .28s var(--ease);
}

.way > p {
  margin-top: 19px;
  max-width: none;
  font-size: 16px;
  line-height: 19px;
  font-weight: 300;
  color: rgba(255, 255, 255, .82);
}

.way__pourqui {
  position: absolute;
  left: 36px;
  right: 36px;
  top: 313px;
  width: auto;
  height: auto;
  margin-top: 0;
}

.way__pourqui::before { content: none; }

.way__rule {
  border: 0;
  margin: 0 0 18px;
  position: static;
  width: 100%;
  height: 1px;
  background: rgba(135, 169, 214, .28);
}

.way__pourqui p {
  position: static;
  width: auto;
  font-size: 16px;
  line-height: 19px;
  font-weight: 300;
  color: rgba(255, 255, 255, .82);
}

.way__label { color: var(--teal); font-weight: 500; }

.way-arrow { position: absolute; top: 368px; width: 66px; }
.way-arrow--1 { left: 522px; }
.way-arrow--2 { left: 910px; }

/* ==========================================================================
   Conçu pour les organisations
   ========================================================================== */

.orgs {
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .orgs { padding-top: 48px; }
}

/* Halos bleus plein cadre (XD : deux lueurs larges dans la zone citations — Ellipse 430/432 —
   et la grande lueur du bord gauche — Ellipse 32). Les lueurs DES CARTES, elles, sont
   clippées dans chaque panneau via .org-card::before (cf. plus bas). Ancrés au centre,
   ces halos débordent sans coupure au-delà de 1440. */
.orgs::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 300px at calc(50% - 292px) 70%, rgba(70, 160, 239, .10), rgba(70, 160, 239, 0) 70%),
    radial-gradient(560px 300px at calc(50% + 300px) 70%, rgba(70, 160, 239, .10), rgba(70, 160, 239, 0) 70%),
    radial-gradient(640px 640px at calc(50% - 1160px) 12%, rgba(70, 160, 239, .12), rgba(70, 160, 239, 0) 66%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 84px, rgba(0, 0, 0, .42) 156px, #000 260px);
  mask-image: linear-gradient(180deg, transparent 0, transparent 84px, rgba(0, 0, 0, .42) 156px, #000 260px);
}

.orgs .stage-outer { position: relative; z-index: 1; aspect-ratio: 1440 / 918; }
.orgs__stage { height: 918px; }

.orgs__blob { position: absolute; left: 597px; top: 8px; width: 138px; max-width: none; }
.orgs__blob-pair {
  position: absolute;
  left: 1205px;
  top: 650px;
  z-index: 3;
  width: 175px;
  max-width: none;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

.hero__blob,
.process__blob,
.ways__blob,
.orgs__blob,
.orgs__blob-pair {
  transform: translate3d(var(--blob-x, 0px), var(--blob-y, 0px), 0) rotate(var(--blob-r, 0deg));
  translate: 0 0;
  rotate: 0deg;
  will-change: transform, translate, rotate;
}

/* Flottement lent composé avec le parallaxe piloté en JS. */
.hero__blob--jaune,
.process__blob--gauche,
.ways__blob--bleu,
.orgs__blob {
  --blob-float-duration: 14.5s;
  --blob-float-delay: .25s;
  --blob-float-x-end: 2px;
  --blob-float-y-end: -3px;
  --blob-float-r-end: .5deg;
  --blob-float-x-mid: -1px;
  --blob-float-y-mid: 2px;
  --blob-float-r-mid: -.25deg;
}

.hero__blob--jaune {
  --blob-float-duration: 13.5s;
  --blob-float-delay: .6s;
  --blob-float-y-end: -4px;
  --blob-float-r-end: .6deg;
  --blob-float-r-mid: -.35deg;
}

.ways__blob--bleu {
  --blob-float-duration: 12.5s;
  --blob-float-delay: .45s;
  --blob-float-r-end: .7deg;
  --blob-float-y-mid: 1px;
  --blob-float-r-mid: -.3deg;
}

.hero__blob--paire,
.process__blob--droite,
.ways__blob--violet,
.orgs__blob-pair {
  --blob-float-duration: 17s;
  --blob-float-delay: .35s;
  --blob-float-x-end: -3px;
  --blob-float-y-end: 4px;
  --blob-float-r-end: -.45deg;
  --blob-float-x-mid: 2px;
  --blob-float-y-mid: -2px;
  --blob-float-r-mid: .28deg;
}

.hero__blob--paire,
.ways__blob--violet {
  --blob-float-duration: 16s;
}

.hero__blob--paire {
  --blob-float-delay: .2s;
  --blob-float-y-end: 5px;
  --blob-float-r-end: -.5deg;
  --blob-float-r-mid: .3deg;
}

.ways__blob--violet {
  --blob-float-delay: .15s;
  --blob-float-r-end: -.5deg;
  --blob-float-x-mid: 1px;
  --blob-float-r-mid: .25deg;
}

.orgs__blob-pair {
  --blob-float-duration: 17.5s;
  --blob-float-delay: .5s;
  --blob-float-r-mid: .25deg;
}

.js.blobs-ready .hero__blob {
  animation: blob-float var(--blob-float-duration, 14s) ease-in-out var(--blob-float-delay, 0s) infinite;
}

.js.blobs-ready .process__stage.is-started .process__blob,
.js.blobs-ready .ways__stage.is-in .ways__blob,
.js.blobs-ready .orgs__stage.is-in .orgs__blob,
.js.blobs-ready .orgs__stage.is-in .orgs__blob-pair {
  animation: blob-float var(--blob-float-duration, 14s) ease-in-out calc(var(--duree) + var(--blob-float-delay, 0s)) infinite;
}

@keyframes blob-float {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  38% {
    translate: var(--blob-float-x-end, 2px) var(--blob-float-y-end, -4px);
    rotate: var(--blob-float-r-end, .5deg);
  }

  72% {
    translate: var(--blob-float-x-mid, -1px) var(--blob-float-y-mid, 2px);
    rotate: var(--blob-float-r-mid, -.25deg);
  }
}

.orgs__title {
  position: absolute;
  right: 157px;
  top: 38px;
  text-align: right;
}

.org-card {
  position: absolute;
  top: 182px;
  width: 238px;
  height: 315px;
  isolation: isolate;
}

/* Panneau de la carte (XD : lueur bleue Ellipse 25/54/55/56/59 clippée dans un rect
   arrondi 215×315 — d'où un dégradé plus clair en haut, autour de l'icône, qui
   s'estompe vers le bas). Inset de 12px pour laisser la gouttière entre cartes. */
.org-card::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  bottom: 0;
  border-radius: var(--rayon-carte);
  background:
    radial-gradient(140% 66% at 50% 4%, rgba(70, 160, 239, .26), rgba(70, 160, 239, .07) 44%, rgba(70, 160, 239, 0) 74%),
    linear-gradient(180deg, rgba(73, 76, 212, .22) 0%, rgba(73, 76, 212, .09) 52%, rgba(73, 76, 212, .015) 100%);
  pointer-events: none;
}

.org-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 140px;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  pointer-events: none;
}

.org-card[data-org="1"] { left: 143px; width: 237px; }
.org-card[data-org="2"] { left: 371px; }
.org-card[data-org="3"] { left: 600px; width: 239px; }
.org-card[data-org="4"] { left: 830px; }
.org-card[data-org="5"] { left: 1059px; }

.org-card[data-org="1"]::after { background-image: url("../assets/cartes/feature-1.svg"); }
.org-card[data-org="2"]::after { background-image: url("../assets/cartes/feature-2.svg"); }
.org-card[data-org="3"]::after { background-image: url("../assets/cartes/feature-3.svg"); }
.org-card[data-org="4"]::after { background-image: url("../assets/cartes/feature-4.svg"); }
.org-card[data-org="5"]::after { background-image: url("../assets/cartes/feature-5.svg"); }

.org-card h3 {
  position: absolute;
  z-index: 2;
  left: 36px;
  top: 121px;
  width: 185px;
  font-size: 22px;
  line-height: 27px;
  font-weight: 500;
}

.org-card p {
  position: absolute;
  z-index: 2;
  left: 36px;
  top: 230px;
  width: 175px;
  font-size: 16px;
  line-height: 19px;
  font-weight: 300;
}

.orgs__quotes {
  position: absolute;
  left: 143px;
  top: 613px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  width: 1154px;
}

.quote {
  position: relative;
  min-height: 214px;
  padding: 68px 58px 46px;
  border: 1px solid rgba(136, 165, 255, .08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(30, 61, 139, .36) 0%, rgba(15, 33, 97, .22) 48%, rgba(1, 1, 49, .08) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.quote__icon { position: absolute; left: 50%; top: -30px; width: 91px; transform: translateX(-50%); }

.quote blockquote p {
  position: static;
  max-width: 45ch;
  margin-inline: auto;
  color: rgba(255, 255, 255, .9);
  font-size: 22px;
  line-height: 27px;
  font-weight: 500;
}

.quote[data-quote="2"] blockquote p { max-width: 36ch; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
}

/* Halo bleu plein cadre en haut du footer (XD : grand cercle Ellipse 57, centré et
   très diffus). Ancré au centre, il déborde sur toute la largeur sans coupure. */
.site-footer__arc {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 360px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(940px 360px at 50% -34px, rgba(70, 160, 239, .20), rgba(70, 160, 239, 0) 70%);
}

.site-footer::before {
  content: "";
  display: block;
  position: relative;
  z-index: 1;
  max-width: 1360px;
  height: 1px;
  margin-inline: auto;
  background: var(--grad-regle);
}

/* Logo sur sa propre ligne ; en dessous, liens à gauche et « Ksaar.com » à
   l'extrême droite sur la même ligne (XD : liens x155→ , Ksaar.com calé à x1285). */
.site-footer__shell {
  position: relative;
  z-index: 1;
  padding: 40px var(--gouttiere) 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 32px;
  row-gap: 26px;
}

.site-footer__logo { grid-column: 1 / -1; width: 120px; }

.site-footer__nav { grid-column: 1; }

.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
}

.site-footer__nav li {
  display: flex;
  align-items: center;
}

.site-footer__nav li:not(:last-child)::after {
  content: "|";
  margin: 0 10px;
  opacity: .9;
}

.site-footer__nav a {
  font-size: 16px;
  font-weight: 500;
  transition: color var(--duree-courte) ease;
}

.site-footer__nav a:hover { color: var(--teal); }

.site-footer__brand {
  grid-column: 2;
  justify-self: end;
  text-align: right;
  font-size: 22px;
  font-weight: 500;
}

.site-footer__brand a { color: var(--teal); }
.site-footer__brand a:hover { text-decoration: underline; }

/* ==========================================================================
   Modale
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vh, 70px) 24px;
  isolation: isolate;
}

.modal[hidden] { display: none; }

.modal__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(780px 520px at 50% 48%, rgba(73, 76, 212, .16), rgba(1, 1, 25, 0) 72%),
    rgba(1, 1, 25, .62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: none;
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(940px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  background: rgba(0, 0, 8, .88);
  border: 1px solid rgba(255, 255, 255, .04);
  border-radius: 0;
  padding: clamp(54px, 5vw, 70px) clamp(48px, 5.2vw, 74px) clamp(50px, 5vw, 66px);
  box-shadow: var(--ombre-modale);
  animation: modal-in .35s var(--ease);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(26px) scale(.97); }
  to { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color var(--duree-courte) ease, transform var(--duree-courte) var(--ease);
}

.modal__close:hover {
  border-color: var(--teal);
  transform: rotate(90deg);
}

.modal__intro {
  max-width: 786px;
}

.modal__step {
  display: block;
}

.modal__step[hidden] { display: none; }

.modal__title {
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.modal__kicker {
  margin-top: 22px;
  color: var(--teal);
  font-size: 32px;
  line-height: 1.08;
  font-weight: 500;
}

.modal__description {
  margin-top: 6px;
  color: rgba(255, 255, 255, .95);
  font-size: 22px;
  line-height: 1.24;
  font-weight: 300;
}

.modal__form {
  margin-top: clamp(34px, 3.8vw, 44px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(36px, 5vw, 58px);
  row-gap: clamp(26px, 3vw, 34px);
}

.modal__field {
  display: grid;
  gap: 12px;
}

.modal__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.modal__field label {
  color: rgba(255, 255, 255, .72);
  font-size: 22px;
  line-height: 1.05;
  font-weight: 500;
}

.modal__field label span {
  color: var(--teal);
}

.modal__field input,
.modal__field select {
  height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .06);
  background: rgba(58, 58, 75, .78);
  color: var(--ink);
  font-family: var(--font);
  font-size: 19px;
  font-weight: 300;
  transition: border-color var(--duree-courte) ease, background-color var(--duree-courte) ease;
}

.modal__field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 27px) 26px, calc(100% - 20px) 26px; background-size: 7px 7px; background-repeat: no-repeat; }

.modal__field select:invalid { color: rgba(255, 255, 255, .55); }
.modal__field option { color: #010131; }

.modal__field input:focus,
.modal__field select:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(64, 64, 86, .9);
}

.modal__field input.is-invalid,
.modal__field select.is-invalid { border-color: var(--rouge); }

.modal__error,
.modal__success {
  grid-column: 1 / -1;
  font-size: 16px;
  font-weight: 500;
}

.modal__error { color: #ff8d7a; }
.modal__success { color: var(--teal); }

.modal__submit {
  --cta-dot-size: 58px;
  align-self: end;
  justify-self: center;
}

.modal__submit .cta-pill__label {
  min-width: min(238px, 26vw);
  height: 58px;
  font-size: 24px;
}

.modal__thankyou {
  display: grid;
  row-gap: 30px;
  align-content: start;
}

.modal--video .modal__dialog {
  width: min(1120px, calc(100vw - 48px));
}

.modal__intro--video {
  max-width: 860px;
}

.modal__video-frame {
  margin-top: clamp(28px, 3vw, 42px);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.modal__video {
  display: block;
  width: 100%;
  max-height: min(62dvh, 640px);
  background: #000;
}

/* ==========================================================================
   Animations d'apparition
   ========================================================================== */

.js .anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duree) var(--ease), transform var(--duree) var(--ease);
  transition-delay: var(--d, 0s);
}

.js .anim--fade { transform: none; }

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

/* Schéma : fond extrait, carte, déco et étapes orchestrées */
.js .process__card,
.js .process__stage::before {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--duree) var(--ease), transform var(--duree) var(--ease);
}

.js .process__blob {
  opacity: 0;
  transform: translate3d(var(--blob-x, 0px), calc(var(--blob-y, 0px) + 18px), 0) rotate(var(--blob-r, 0deg));
  transition: opacity var(--duree) var(--ease), transform var(--duree) var(--ease);
}

.js .process__source {
  opacity: 0;
  transition: opacity var(--duree) var(--ease);
}

.js .process__stage.is-started .process__card,
.js .process__stage.is-started::before {
  opacity: var(--process-stage-halos-opacity, 1);
  transform: none;
}

.js .process__stage.is-started .process__source {
  opacity: 1;
}

.js .process__stage.is-started .process__blob {
  opacity: 1;
  transform: translate3d(var(--blob-x, 0px), var(--blob-y, 0px), 0) rotate(var(--blob-r, 0deg));
}

.js .process-step .process-step__text h3,
.js .process-step .process-step__text p {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duree) var(--ease), transform var(--duree) var(--ease);
}

.js .process-step .process-step__text p { transition-delay: .12s; }

.js .process-step__icon {
  opacity: 0;
  transform: translateY(20px) scale(.7);
  transition: opacity .5s var(--ease), transform .5s cubic-bezier(.34, 1.56, .64, 1);
}

.process-step__icon svg,
.process-step__icon img {
  transform-origin: 50% 50%;
  will-change: transform, filter;
}

.process-icon__svg { overflow: visible; }

.process-icon__draw-part,
.process-icon__pop-part,
.process-icon__gear-wheel,
.process-icon__chat-line,
.process-icon__monitor-slide,
.process-icon__server-light {
  transform-box: fill-box;
  transform-origin: center;
}

.process-icon__chat-line { transform-origin: left center; }

.js .process-step.is-in .process-step__text h3,
.js .process-step.is-in .process-step__text p,
.js .process-step.is-in .process-step__icon {
  opacity: 1;
  transform: none;
}

/* Problèmes : mise en avant progressive */
.js .problem {
  opacity: .58;
  transform: none;
  transition: opacity var(--duree) var(--ease);
}

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

/* Façons : colonnes puis flèches */
.js .way,
.js .way-arrow {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duree) var(--ease), transform var(--duree) var(--ease), scale .28s var(--ease);
}

.js .way[data-way="2"] { transition-delay: .18s, .18s, 0s; }
.js .way[data-way="3"] { transition-delay: .36s, .36s, 0s; }
.js .way-arrow--1 { transition-delay: .3s; }
.js .way-arrow--2 { transition-delay: .48s; }

.js .ways__stage.is-in .way,
.js .ways__stage.is-in .way-arrow { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .way:hover {
    scale: 1.018;
  }

  .way:hover h3 {
    color: var(--teal);
  }
}

/* Orgs : cartes en cascade puis citations */
.js .org-card,
.js .quote {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duree) var(--ease), transform var(--duree) var(--ease);
}

.js .org-card[data-org="2"] { transition-delay: .12s; }
.js .org-card[data-org="3"] { transition-delay: .24s; }
.js .org-card[data-org="4"] { transition-delay: .36s; }
.js .org-card[data-org="5"] { transition-delay: .48s; }
.js .quote[data-quote="1"] { transition-delay: .2s; }
.js .quote[data-quote="2"] { transition-delay: .38s; }

.js .orgs__stage.is-in .org-card,
.js .orgs__stage.is-in .quote { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1500px) {
  :root { --gouttiere: clamp(24px, 10.7vw, 155px); }
}

/* En dessous de 1024px : layout fluide, plus de scène absolue */
@media (max-width: 1023px) {

  .br-d { display: none; }

  .stage-outer { aspect-ratio: auto !important; }

  .problems__sheen,
  .site-footer__arc { display: none; }

  .stage {
    position: static;
    width: auto;
    height: auto !important;
    transform: none;
  }

  .section-title {
    font-size: clamp(26px, 5.4vw, 34px);
    line-height: 1.2;
  }

  /* Header */
  .site-header__inner { padding: 18px 24px; }
  .site-header__logo img,
  .site-header__logo .inline-svg { width: 132px; }
  .site-header__actions { gap: 18px; }
  .site-header__login { font-size: 17px; }
  .site-header__login img,
  .site-header__login-icon { width: 16px; height: 16px; }
  .site-header { background: var(--header-glass-background); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .cta-pill { --cta-dot-size: 48px; }
  .cta-pill__label { height: 48px; font-size: 17px; padding: 0 22px; }
  .cta-pill__dot { width: 48px; height: 48px; }

  /* Hero */
  .hero__stage { padding: 130px 24px 0; }
  .hero__deco--circle-top { left: auto; right: -300px; top: -430px; }
  .hero__deco--circle-left { left: -480px; }
  .hero__blob--jaune { display: none; }
  .hero__blob--paire { display: none; }

  .hero__content { position: static; width: auto; max-width: 560px; }

  .hero__title { font-size: clamp(32px, 7.4vw, 44px); line-height: 1.12; max-width: none; }
  .hero__subtitle { margin-top: 12px; font-size: clamp(22px, 5vw, 30px); line-height: 1.3; }
  .hero__tagline { font-size: clamp(22px, 5vw, 30px); line-height: 1.3; }
  .hero__content .cta-pill--video { margin-top: 28px; }
  .hero__lead { margin-top: 40px; font-size: clamp(18px, 4.2vw, 24px); line-height: 1.25; max-width: 560px; }
  .hero__hosted { margin-top: 20px; font-size: clamp(18px, 4.2vw, 24px); white-space: normal; }
  .word-cycle__word { font-size: clamp(22px, 5vw, 30px); }
  .hero__badges { margin-top: 32px; width: min(420px, 100%); }

  .hero__visual {
    position: relative;
    left: auto;
    top: auto;
    width: min(560px, 100%);
    margin: 44px auto 0;
  }

  .hero__map { width: 100%; }

  .hero__village {
    position: static;
    width: auto;
    margin-top: 18px;
    font-size: clamp(20px, 4.6vw, 26px);
    line-height: 1.25;
  }

  .hero .stage-outer { padding-bottom: 0; }
  .hero__stage { padding-bottom: 56px; }

  /* Clients */
  .clients__title { font-size: clamp(18px, 4.4vw, 24px); padding: 0 24px; text-align: center; }
  .clients__plus { width: 32px; }
  .clients__list { gap: 40px; padding-right: 40px; }
  .clients__list img,
  .clients__list .inline-svg { transform: scale(.85); }

  /* Process */
  .process__title { padding: 56px 24px 0; }
  .process .stage-outer { margin-top: 36px; }
  .process__source, .process__blob { display: none; }

  .process__stage {
    position: relative;
    overflow: hidden;
  }

  .process__stage::before {
    left: 50%;
    top: -38px;
    width: min(440px, 94vw);
    height: 300px;
    background:
      radial-gradient(ellipse at center,
        rgba(27, 150, 255, .54) 0%,
        rgba(0, 96, 212, .26) 30%,
        rgba(0, 96, 212, .09) 56%,
        rgba(0, 96, 212, 0) 78%);
    transform: translateX(-50%);
  }

  .process__card {
    position: relative;
    z-index: 1;
    left: auto;
    top: auto;
    width: min(360px, 80%);
    margin: 0 auto;
  }

  .process__steps {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 36px auto 0;
    padding: 0 24px 40px;
    display: grid;
    gap: 44px;
  }

  .process-step {
    position: static;
    width: auto !important;
    text-align: center !important;
    display: grid;
    grid-template-areas:
      "icon"
      "text";
    justify-items: center;
    gap: 16px;
  }

  .process-step__text {
    grid-area: text;
    justify-self: center;
  }

  .process-step__icon {
    order: -1;
    grid-area: icon;
    justify-self: center;
  }

  .process-step__icon {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 86px !important;
  }

  .process-step__icon::before { display: block; }

  .process-step__icon svg,
  .process-step__icon img { width: 100%; height: auto; }

  .process-step p {
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
  }

  /* Problèmes */
  .problems__deco--circle-right { display: none; }
  .problems { height: auto; }
  .problems .stage-outer { position: relative; top: auto; }
  .problems__panel {
    mix-blend-mode: normal;
    background:
      var(--grad-problem-panel),
      linear-gradient(135deg, rgba(73, 76, 212, .16), rgba(47, 197, 171, .07));
    opacity: 1;
  }
  .problems__title { position: static; padding: 40px 24px 0; }

  .problems__visual {
    position: relative;
    width: min(560px, calc(100% - 48px));
    margin: 32px auto 0;
    aspect-ratio: 556 / 470;
  }

  .problems__panel { left: 0; top: 0; width: 76%; height: 86%; }
  .problems__screen { left: 23%; top: 11%; width: 84%; }
  .problems__cards { left: 5%; top: 38%; width: 47%; }

  .problems__list {
    position: relative;
    max-width: 560px;
    margin: 36px auto 0;
    padding: 0 24px 48px 56px;
    display: grid;
    gap: 32px;
  }

  .problems__rail { left: 24px; top: 6px; height: calc(100% - 60px); }

  .problem { position: static !important; width: auto; }

  /* Façons */
  .ways .section-title { position: static; padding: 40px 24px 0; }
  .ways__blob { display: none; }

  .ways__grid {
    max-width: 560px;
    margin: 40px auto 0;
    padding: 0 24px 48px;
    display: grid;
    justify-items: center;
    gap: 28px;
  }

  .way {
    position: static !important;
    width: min(420px, 100%);
    height: auto;
    min-height: 0;
    padding: 34px 30px 30px;
  }

  .way__badge { position: relative; left: 0; top: 0; display: block; margin: 0; }

  .way h3 { margin-top: 34px; text-align: left; }
  .way > p { max-width: none; margin-inline: 0; text-align: left; }

  .way__pourqui {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    margin-top: 30px;
    background: none;
    border-radius: 0;
    padding: 0;
  }

  .way__pourqui::before { content: none; }
  .way__rule { position: static; width: 100%; margin-bottom: 14px; }
  .way__pourqui p { position: static; width: auto; }

  .way-arrow { position: static !important; transform: rotate(90deg); width: 54px; }
  .js .way-arrow { transform: rotate(90deg) translateX(24px); }
  .js .ways__stage.is-in .way-arrow { transform: rotate(90deg); }

  /* Orgs */
  .orgs__deco--circle, .orgs__blob, .orgs__blob-pair { display: none; }
  .orgs__title { position: static; text-align: center; padding: 48px 24px 0; }

  .orgs__grid {
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
    justify-content: center;
    gap: 28px;
  }

  .org-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto;
    height: auto !important;
    min-height: 0;
    padding-top: 150px;
    background: none !important;
  }

  .org-card::before { display: none; }

  .org-card::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 1;
    width: min(238px, 100%);
    aspect-ratio: 238 / 140;
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    pointer-events: none;
  }

  .org-card[data-org="1"]::after { background-image: url("../assets/cartes/feature-1.svg"); }
  .org-card[data-org="2"]::after { background-image: url("../assets/cartes/feature-2.svg"); }
  .org-card[data-org="3"]::after { background-image: url("../assets/cartes/feature-3.svg"); }
  .org-card[data-org="4"]::after { background-image: url("../assets/cartes/feature-4.svg"); }
  .org-card[data-org="5"]::after { background-image: url("../assets/cartes/feature-5.svg"); }

  .org-card h3,
  .org-card p { position: static !important; width: auto; padding: 0 8px; }

  .org-card h3 { margin-top: 6px; }
  .org-card p { margin-top: 12px; }

  .orgs__quotes {
    position: relative;
    left: auto;
    top: auto;
    max-width: 640px;
    width: auto;
    margin: 44px auto 0;
    padding: 0 24px 56px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .quote {
    width: auto;
    min-height: 0;
    padding: 48px 28px 30px;
  }

  .quote__icon { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); width: 72px; }
  .quote blockquote p { position: static; width: auto; font-size: 18px; line-height: 1.35; }

  /* Footer */
  .site-footer__shell { display: block; padding: 32px 24px 40px; text-align: center; }
  .site-footer__logo { margin-inline: auto; }
  .site-footer__nav { margin-top: 26px; }
  .site-footer__nav ul { justify-content: center; }
  .site-footer__brand { margin-top: 24px; justify-self: auto; text-align: center; }
}

@media (max-width: 900px) {
  .modal {
    align-items: flex-start;
    padding: 18px;
  }

  .modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 36px);
    padding: 48px 28px 34px;
  }

  .modal__intro { max-width: none; }

  .modal__form {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .modal__submit {
    justify-self: start;
  }

  .modal__submit .cta-pill__label {
    min-width: 190px;
  }

  .modal--video .modal__dialog {
    padding-bottom: 28px;
  }
}

@media (max-width: 599px) {
  .site-footer__nav ul { gap: 6px 18px; }
  .site-footer__nav li:not(:last-child)::after { content: none; }

  .site-header__inner { padding: 12px 16px; }
  .site-header__logo img,
  .site-header__logo .inline-svg { width: 118px; }
  .site-header__actions { gap: 12px; }
  .site-header__login { font-size: 13px; }
  .site-header__login img,
  .site-header__login-icon { width: 14px; height: 14px; }
  .site-header .cta-pill {
    --cta-dot-size: 36px;
  }
  .site-header .cta-pill__label {
    min-width: 134px;
    height: 36px;
    font-size: 13px;
    padding: 0 12px;
  }
  .site-header .cta-pill__dot { width: 36px; height: 36px; }
  .site-header.is-scrolled .site-header__inner { padding-top: 12px; padding-bottom: 12px; }
  .site-header.is-scrolled .site-header__logo img,
  .site-header.is-scrolled .site-header__logo .inline-svg { width: 118px; }
  .site-header.is-scrolled .site-header__login { font-size: 13px; }
  .site-header.is-scrolled .site-header__login-icon {
    width: 14px;
    height: 14px;
  }
  .site-header.is-scrolled .cta-pill { --cta-dot-size: 36px; }
  .site-header.is-scrolled .cta-pill__label {
    min-width: 134px;
    height: 36px;
    font-size: 13px;
    padding: 0 12px;
  }
  .site-header.is-scrolled .cta-pill__dot { width: 36px; height: 36px; }

  .hero__shell { padding-top: 104px; }

  .modal { padding: 12px; }
  .modal__dialog {
    max-height: calc(100dvh - 24px);
    padding: 46px 20px 28px;
  }
  .modal__close {
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
  }
  .modal__title { font-size: 30px; padding-right: 48px; }
  .modal__kicker { margin-top: 20px; font-size: 26px; }
  .modal__description { font-size: 19px; line-height: 1.28; }
  .modal__form { margin-top: 30px; row-gap: 20px; }
  .modal__field { gap: 9px; }
  .modal__field label { font-size: 18px; }
  .modal__field input,
  .modal__field select {
    height: 52px;
    padding: 0 18px;
    font-size: 17px;
  }
  .modal__field select {
    background-position: calc(100% - 24px) 24px, calc(100% - 18px) 24px;
    background-size: 6px 6px;
  }
  .modal__submit { --cta-dot-size: 52px; }
  .modal__submit .cta-pill__label {
    min-width: 170px;
    height: 52px;
    font-size: 19px;
  }

  .modal__video-frame { margin-top: 22px; }

  .clients__list { gap: 28px; padding-right: 28px; }
  .clients__list img,
  .clients__list .inline-svg { transform: scale(.72); }

  .problems__screen { left: 20%; width: 80%; }
}

/* ==========================================================================
   Accessibilité : réduction de mouvement
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .problems { height: auto; }
  .problems .stage-outer { position: relative; top: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .clients__marquee { overflow-x: auto; }
  .clients__marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .clients__track { animation: none; width: auto; }
  .clients__list[aria-hidden="true"] { display: none; }

  .js .anim,
  .js .problem,
  .js .way,
  .js .way-arrow,
  .js .org-card,
  .js .quote,
  .js .process__card,
  .js .process__blob,
  .js .process__source,
  .js .process__stage::before,
  .js .process-step .process-step__text h3,
  .js .process-step .process-step__text p,
  .js .process-step__icon,
  .process-icon__draw-part,
  .process-icon__pop-part {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    fill-opacity: 1 !important;
    stroke-opacity: 0 !important;
  }

  .way {
    scale: 1 !important;
  }

  .hero__blob,
  .process__blob,
  .ways__blob,
  .orgs__blob,
  .orgs__blob-pair,
  .process-step__icon svg,
  .process-step__icon img,
  .process-icon__gear-wheel,
  .process-icon__chat-line,
  .process-icon__monitor-slide,
  .process-icon__server-light {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}
