/* ==========================================================================
   999solutions — feuille de style principale (mobile d’abord)
   ========================================================================== */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2-variations"),
       url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #000;
  --ink: #1d1d1f;
  --white: #fff;
  --paper: #f5f5f7;
  --gray: #6e6e73;
  --gray-dark: #86868b;
  --gray-light: #a1a1a6;
  --line: #d2d2d7;
  --line-dark: #2c2c2e;
  --card-dark: #161617;
  --focus: #2997ff;

  --grad: linear-gradient(90deg, #3f7bff 0%, #8a5cff 35%, #e04fb3 68%, #ff8a3d 100%);
  --grad-ink: linear-gradient(90deg, #2f6bff 0%, #7b4dff 35%, #d03a9e 68%, #e8601c 100%);
  --grad-conic: conic-gradient(from 0deg, #3f7bff, #8a5cff, #e04fb3, #ff8a3d, #3f7bff);

  --font: -apple-system, BlinkMacSystemFont, "Inter Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gutter: 24px;
  --nav-h: 48px;
  --radius-l: 28px;
  --radius-m: 20px;
  --radius-s: 14px;
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--black);
}

/* Les sections, très aérées, s’ancrent en haut de l’écran ; les tuiles juste sous la barre. */
.tile[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.01em;
  font-synthesis: none;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

html.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon--grad { stroke: url(#g-brand); }

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

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 980px;
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: none; }

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

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */

.eyebrow {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 12px;
  color: var(--gray);
}
.eyebrow--muted { color: var(--gray-dark); }

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.text-gradient--ink { background-image: var(--grad-ink); }
p.text-gradient, dt.text-gradient { width: fit-content; }

.section-title {
  font-size: clamp(34px, 9.4vw, 64px);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.section-lead {
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.42;
  letter-spacing: -.015em;
  color: var(--gray);
  text-wrap: pretty;
}

.section-head { margin-bottom: 40px; }

/* --------------------------------------------------------------------------
   Boutons & liens
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 26px;
  border: 0;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.015em;
  text-decoration: none;
  transition: transform .25s var(--ease-out), background-color .25s, opacity .25s;
}
.btn:active { transform: scale(.97); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: #e8e8ed; }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #2c2c2e; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

.btn-spinner {
  display: none;
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, .18);
  border-top-color: currentColor;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn-label { opacity: 0; }
.btn.is-loading .btn-spinner { display: block; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}
.link .icon { width: 17px; height: 17px; stroke-width: 2; transition: transform .3s var(--ease-out); }
.link:hover .icon { transform: translateX(3px); }
.link--light { color: var(--white); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #f5f5f7;
}

.nav-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(10px, env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background-color .45s var(--ease-io), border-color .45s var(--ease-io);
}

/* Barre claire au-dessus des sections blanches (menu fermé uniquement). */
.nav--light:not(.is-open) .nav-bar {
  background: rgba(250, 250, 252, .8);
  border-bottom-color: rgba(0, 0, 0, .08);
}
.nav--light:not(.is-open) .brand,
.nav--light:not(.is-open) .nav-toggle { color: var(--ink); }
.nav--light:not(.is-open) .nav-cta { background: var(--ink); color: var(--white); }
.nav.is-open .nav-bar { background: transparent; border-bottom-color: transparent; }

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 19px;
  letter-spacing: -.03em;
  text-decoration: none;
  color: #f5f5f7;
  transition: color .45s var(--ease-io);
}
.brand-num { font-weight: 800; }
.brand-word { font-weight: 500; }

.nav-actions { display: flex; align-items: center; gap: 4px; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 14px;
  border-radius: 980px;
  background: #f5f5f7;
  color: var(--black);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  transition: opacity .3s, transform .25s var(--ease-out), background-color .45s var(--ease-io), color .45s var(--ease-io);
}
.nav-cta:active { transform: scale(.95); }
.nav.is-open .nav-cta { opacity: 0; pointer-events: none; }

.nav-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #f5f5f7;
  transition: color .45s var(--ease-io);
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  margin: -.75px 0 0 -9px;
  border-radius: 1px;
  background: currentColor;
  transition: transform .4s var(--ease-io);
}
.nav-toggle span:first-child { transform: translateY(-4px); }
.nav-toggle span:last-child { transform: translateY(4px); }
.nav.is-open .nav-toggle span:first-child { transform: rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: rotate(-45deg); }
.no-js .nav-toggle { display: none; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 20px) var(--gutter) 40px;
  background: rgba(0, 0, 0, .94);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s var(--ease-io), visibility 0s linear .35s;
}
.nav.is-open .menu {
  visibility: visible;
  opacity: 1;
  transition: opacity .35s var(--ease-io);
}
.menu a {
  display: block;
  padding: 7px 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.025em;
  color: #e8e8ed;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .3s, transform .3s;
}
.menu a:hover { color: var(--white); }
.nav.is-open .menu a {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 35ms + 60ms);
}
.menu li:nth-child(1) { --i: 1; }
.menu li:nth-child(2) { --i: 2; }
.menu li:nth-child(3) { --i: 3; }
.menu li:nth-child(4) { --i: 4; }
.menu li:nth-child(5) { --i: 5; }
.menu li:nth-child(6) { --i: 6; }
.menu li:nth-child(7) { --i: 7; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 64px) 0 24px;
  background: var(--black);
  color: #f5f5f7;
  text-align: center;
}

.hero-copy .eyebrow { margin-inline: auto; }

.hero-title {
  font-size: clamp(64px, 19vw, 128px);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.05em;
}
.hero-title .text-gradient { padding-bottom: .06em; }

.hero-lead {
  max-width: 31ch;
  margin: 24px auto 0;
  font-size: 19px;
  line-height: 1.42;
  letter-spacing: -.015em;
  color: var(--gray-light);
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.hero-visual {
  --size: min(344px, 88vw);
  --orb: calc(var(--size) * .42);
  position: relative;
  width: var(--size);
  height: var(--size);
  margin: 44px auto 0;
}

.orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--orb);
  height: var(--orb);
  margin: calc(var(--orb) / -2) 0 0 calc(var(--orb) / -2);
}
.orb-glow {
  position: absolute;
  inset: -32%;
  border-radius: 50%;
  background: var(--grad-conic);
  filter: blur(38px);
  opacity: .7;
  animation: spin 16s linear infinite, breathe 6s ease-in-out infinite;
}
.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #3f7bff, #8a5cff, #e04fb3, #ff8a3d, #3f7bff);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  animation: spin 9s linear infinite reverse;
}
.orb-core {
  position: absolute;
  inset: 3px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #2b2b30 0%, #0d0d0f 52%, #000 100%);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, .05);
}
.orb-core .icon {
  width: 36%;
  height: 36%;
  stroke: url(#g-brand);
  stroke-width: 1.3;
  animation: breathe 6s ease-in-out infinite;
}

.orbit { position: absolute; inset: 0; animation: spin 64s linear infinite; }
.orbit::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
}
.orbit li {
  --r: calc(var(--size) / 2 - 22px);
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
}
.orbit li:nth-child(1) { --a: 0deg;   --k: 0; }
.orbit li:nth-child(2) { --a: 45deg;  --k: 1; }
.orbit li:nth-child(3) { --a: 90deg;  --k: 2; }
.orbit li:nth-child(4) { --a: 135deg; --k: 3; }
.orbit li:nth-child(5) { --a: 180deg; --k: 4; }
.orbit li:nth-child(6) { --a: 225deg; --k: 5; }
.orbit li:nth-child(7) { --a: 270deg; --k: 6; }
.orbit li:nth-child(8) { --a: 315deg; --k: 7; }
.node {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #161617;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #f5f5f7;
  animation: spin 64s linear infinite reverse, node-ping 8s var(--ease-io) infinite;
  animation-delay: 0s, calc(var(--k) * 1s);
}
.node .icon { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Manifeste (texte révélé au défilement)
   -------------------------------------------------------------------------- */

.statement {
  padding: 96px 0 120px;
  background: var(--black);
  color: #f5f5f7;
}
.statement-text {
  font-size: clamp(30px, 8vw, 56px);
  line-height: 1.16;
  font-weight: 650;
  letter-spacing: -.028em;
}
.statement-text .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.statement-text .w { transition: color .25s linear, opacity .25s linear; }
.statement-text.is-split .w { opacity: .22; }
.statement-text.is-split .w.is-on { opacity: 1; }

/* --------------------------------------------------------------------------
   Services (tuiles)
   -------------------------------------------------------------------------- */

.services { padding: 104px 0 12px; background: var(--white); }

.tiles {
  display: grid;
  gap: 12px;
  max-width: 1004px;
  margin-inline: auto;
  padding-inline: 12px;
}

.tile {
  position: relative;
  overflow: hidden;
  padding: 44px 24px 0;
  border-radius: var(--radius-l);
}
.tile--dark { background: var(--black); color: #f5f5f7; }
.tile--light { background: var(--paper); color: var(--ink); }
.tile--outline { background: var(--white); border: 1px solid var(--line); padding-bottom: 36px; }

.tile-eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--gray);
}
.tile--dark .tile-eyebrow { color: var(--gray-dark); }

.tile-title {
  margin-top: 8px;
  font-size: clamp(30px, 8.2vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.tile-text {
  margin-top: 14px;
  color: var(--gray);
  text-wrap: pretty;
}
.tile--dark .tile-text { color: var(--gray-light); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li {
  padding: 6px 13px;
  border-radius: 980px;
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: #e8e8ed;
}

.tile-visual { padding: 36px 0 32px; }

/* Visuel : conversation avec l’agent */
.chat {
  max-width: 360px;
  margin-inline: auto;
  padding: 14px 14px 18px;
  border-radius: 24px;
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  text-align: left;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.chat-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
}
.chat-avatar .icon { width: 18px; height: 18px; }
.chat-id strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.chat-id span { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--gray-dark); letter-spacing: 0; }
.chat-id span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #30d158; }

.chat-body { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; }
.msg {
  max-width: 84%;
  padding: 9px 14px;
  border-radius: 19px;
  font-size: 15px;
  line-height: 1.36;
  letter-spacing: -.01em;
}
.msg--user { align-self: flex-end; background: #f5f5f7; color: var(--black); border-bottom-right-radius: 6px; }
.msg--agent { background: #2c2c2e; color: #f5f5f7; border-bottom-left-radius: 6px; }

.chat-reply { display: grid; justify-items: start; }
.chat-reply > * { grid-area: 1 / 1; }
.typing {
  display: inline-flex;
  gap: 4px;
  padding: 13px 14px;
  border-radius: 19px;
  background: #2c2c2e;
  opacity: 0;
}
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; animation: typing-dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

.receipt {
  display: grid;
  gap: 7px;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: #d2d2d7;
}
.receipt li { display: flex; align-items: center; gap: 8px; }
.receipt .icon {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  stroke-width: 3;
}

.js .chat .msg, .js .chat .receipt li { opacity: 0; }
.js .is-visible .chat .msg--user { animation: pop .55s var(--ease-out) .5s forwards; }
.js .is-visible .chat .typing { animation: typing-life 1.3s linear 1.1s forwards; }
.js .is-visible .chat .msg--agent { animation: pop .55s var(--ease-out) 2.35s forwards; }
.js .is-visible .chat .receipt li { animation: pop .5s var(--ease-out) forwards; }
.js .is-visible .chat .receipt li:nth-child(1) { animation-delay: 3s; }
.js .is-visible .chat .receipt li:nth-child(2) { animation-delay: 3.3s; }
.js .is-visible .chat .receipt li:nth-child(3) { animation-delay: 3.6s; }

/* Visuel : flux de décision */
.flow { display: flex; flex-direction: column; max-width: 360px; margin-inline: auto; text-align: left; }
.flow-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 24px -12px rgba(0, 0, 0, .18);
}
.flow-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--black);
  color: var(--white);
  flex: none;
}
.flow-ic .icon { width: 20px; height: 20px; }
.flow-node--ai .flow-ic { background: var(--grad); }
.flow-ic--decision { font-size: 19px; font-weight: 700; }
.flow-txt small { display: block; font-size: 12px; font-weight: 500; color: var(--gray); letter-spacing: 0; }
.flow-txt strong { display: block; font-size: 15px; line-height: 1.3; font-weight: 600; }

.flow-line {
  position: relative;
  width: 2px;
  height: 26px;
  margin-left: 32px;
  overflow: hidden;
  background: var(--line);
}
.flow-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  width: 2px;
  height: 10px;
  background: var(--black);
  animation: drip 1.8s var(--ease-io) infinite;
}

.flow-branches {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 44px;
}
.flow-branches::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 25%;
  right: 25%;
  height: 18px;
  border: 2px solid var(--line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.flow-branches::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 14px;
  margin-left: -1px;
  background: var(--line);
}
.flow-branch { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.flow-tag {
  margin-top: -14px;
  padding: 2px 10px;
  border-radius: 980px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}
.flow-leaf {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 12px 10px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 24px -12px rgba(0, 0, 0, .18);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
}
.flow-leaf .icon { width: 20px; height: 20px; }

.js .flow > * { opacity: 0; }
.js .is-visible .flow > * { animation: pop .6s var(--ease-out) forwards; }
.js .is-visible .flow > :nth-child(1) { animation-delay: .3s; }
.js .is-visible .flow > :nth-child(2) { animation-delay: .55s; }
.js .is-visible .flow > :nth-child(3) { animation-delay: .8s; }
.js .is-visible .flow > :nth-child(4) { animation-delay: 1.05s; }
.js .is-visible .flow > :nth-child(5) { animation-delay: 1.3s; }
.js .is-visible .flow > :nth-child(6) { animation-delay: 1.6s; }

/* Visuel : hub multi-logiciels */
.hub {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  place-items: center;
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-lines line {
  stroke: rgba(255, 255, 255, .16);
  stroke-width: 1.2;
  stroke-dasharray: 3 6;
  vector-effect: non-scaling-stroke;
  animation: dash 1.2s linear infinite, line-ping 6.4s var(--ease-io) infinite;
}
.hub-lines line:nth-child(1) { animation-delay: 0s, 0s; }
.hub-lines line:nth-child(2) { animation-delay: 0s, .8s; }
.hub-lines line:nth-child(3) { animation-delay: 0s, 1.6s; }
.hub-lines line:nth-child(5) { animation-delay: 0s, 2.4s; }
.hub-lines line:nth-child(8) { animation-delay: 0s, 3.2s; }
.hub-lines line:nth-child(7) { animation-delay: 0s, 4s; }
.hub-lines line:nth-child(6) { animation-delay: 0s, 4.8s; }
.hub-lines line:nth-child(4) { animation-delay: 0s, 5.6s; }

.hub-app { position: relative; display: grid; place-items: center; }
.app-ic {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, .1);
  color: #f5f5f7;
  animation: app-ping 6.4s var(--ease-io) infinite;
  animation-delay: calc(var(--k, 0) * .8s);
}
.app-label {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gray-dark);
  white-space: nowrap;
}
.hub > :nth-child(2) { --k: 0; }
.hub > :nth-child(3) { --k: 1; }
.hub > :nth-child(4) { --k: 2; }
.hub > :nth-child(7) { --k: 3; }
.hub > :nth-child(10) { --k: 4; }
.hub > :nth-child(9) { --k: 5; }
.hub > :nth-child(8) { --k: 6; }
.hub > :nth-child(5) { --k: 7; }

.hub-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 0 44px rgba(138, 92, 255, .55);
}
.hub-core .icon { width: 34px; height: 34px; stroke-width: 1.5; }

/* Visuel : multi-appareils */
.devices {
  position: relative;
  max-width: 360px;
  height: 250px;
  margin-inline: auto;
  text-align: left;
}
.laptop { position: absolute; left: 0; top: 8px; width: 74%; }
.laptop-screen {
  aspect-ratio: 16 / 10.4;
  padding: 7px;
  border-radius: 12px 12px 2px 2px;
  background: #1d1d1f;
}
.screen-ui {
  display: grid;
  align-content: start;
  gap: 8px;
  height: 100%;
  padding: 10px 12px;
  border-radius: 5px;
  background: var(--white);
}
.screen-title {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.screen-title .icon { width: 13px; height: 13px; stroke: url(#g-brand); stroke-width: 2; }
.task {
  display: grid;
  grid-template-columns: 1fr 38%;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}
.bar { height: 6px; border-radius: 3px; background: #e8e8ed; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--black); transform-origin: left; }
.js .bar i { transform: scaleX(0); }
.js .is-visible .bar i { animation: fill .9s var(--ease-out) forwards; }
.js .is-visible .task:nth-of-type(1) .bar i { animation-delay: .5s; }
.js .is-visible .task:nth-of-type(2) .bar i { animation-delay: 1.1s; }
.js .is-visible .task:nth-of-type(3) .bar i { animation-delay: 1.7s; }
.js .is-visible .task:nth-of-type(4) .bar i { animation-delay: 2.3s; }
.laptop-base {
  position: relative;
  height: 9px;
  margin: 0 -7%;
  border-radius: 1px 1px 10px 10px;
  background: linear-gradient(#e3e3e8, #b7b7bd);
}
.laptop-base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 18%;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 0 0 6px 6px;
  background: #c7c7cc;
}

.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 36%;
  aspect-ratio: 9 / 19;
  padding: 5px;
  border-radius: 26px;
  background: #1d1d1f;
  box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .45);
}
.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 21px;
  background:
    radial-gradient(120% 60% at 50% 110%, rgba(138, 92, 255, .55), transparent 70%),
    radial-gradient(90% 50% at 10% 100%, rgba(63, 123, 255, .45), transparent 70%),
    #000;
}
.phone-screen::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 34%;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 6px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .05);
}
.phone-time {
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: rgba(255, 255, 255, .92);
  text-align: center;
}
.notif {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 66px;
  padding: 7px 8px 8px;
  border-radius: 12px;
  background: rgba(245, 245, 247, .95);
  color: var(--ink);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0;
}
.notif-head {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 3px;
  font-size: 7px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--gray);
}
.notif-ic {
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--black);
  color: var(--white);
  flex: none;
}
.notif-ic .icon { width: 9px; height: 9px; stroke-width: 3; }
.notif strong { display: block; font-size: 9px; font-weight: 700; white-space: nowrap; }
.notif-body { display: block; color: var(--gray); white-space: nowrap; }
.js .notif { opacity: 0; transform: translateY(-16px) scale(.92); }
.js .is-visible .notif { animation: notif-in .7s var(--ease-out) 3.3s forwards; }

/* Accompagnement */
.mini-list { display: grid; gap: 14px; margin-top: 26px; }
.mini-list li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.mini-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--paper);
  flex: none;
}
.mini-ic .icon { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   Démonstration (étapes pilotées par le défilement)
   -------------------------------------------------------------------------- */

.workflow {
  padding: 104px 0 96px;
  background: var(--black);
  color: #f5f5f7;
}
.workflow .section-head { margin-bottom: 0; }
.workflow-track { margin-top: 36px; }

.wf-caption {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gray-dark);
}
.wf-steps { display: grid; gap: 8px; }
.wf-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background: var(--card-dark);
  border: 1px solid #222224;
  transition: opacity .45s var(--ease-out), background-color .45s, border-color .45s, transform .45s var(--ease-out);
}
.wf-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #232325;
  color: #f5f5f7;
  transition: background-color .45s, color .45s;
}
.wf-ic .icon { width: 21px; height: 21px; }
.wf-txt small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--gray-dark); }
.wf-txt strong { display: block; font-size: 16px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.wf-txt span { display: block; font-size: 13px; line-height: 1.35; color: var(--gray-dark); letter-spacing: 0; }
.wf-status {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  transition: background-color .3s, border-color .3s;
}
.wf-status .icon { width: 16px; height: 16px; stroke-width: 2.6; transition: opacity .3s, transform .4s var(--ease-out); }

.wf-progress {
  height: 3px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 2px;
  background: #222224;
}
.wf-progress span {
  display: block;
  height: 100%;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(var(--p, 1));
}
.wf-summary {
  margin-top: 18px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -.02em;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

/* Mode « scrollytelling » activé par le JS */
.workflow.is-scrolly { padding-bottom: 0; }
.is-scrolly .workflow-track { position: relative; height: 300vh; height: 300svh; margin-top: 8px; }
.is-scrolly .workflow-stage {
  position: sticky;
  top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100vh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  padding-block: 16px 24px;
}
.is-scrolly .wf-step { opacity: .38; }
.is-scrolly .wf-step .wf-status { background: transparent; border: 1.5px solid #3a3a3c; }
.is-scrolly .wf-step .wf-status .icon { opacity: 0; transform: scale(.4); }
.is-scrolly .wf-step.is-active {
  opacity: 1;
  background: #1c1c1e;
  border-color: #3a3a3c;
  transform: scale(1.02);
}
.is-scrolly .wf-step.is-active .wf-ic { background: var(--white); color: var(--black); }
.is-scrolly .wf-step.is-active .wf-status { border-color: #3a3a3c; border-top-color: var(--white); animation: spin .8s linear infinite; }
.is-scrolly .wf-step.is-done { opacity: 1; }
.is-scrolly .wf-step.is-done .wf-status { background: var(--white); border-color: var(--white); }
.is-scrolly .wf-step.is-done .wf-status .icon { opacity: 1; transform: none; }
.is-scrolly .wf-summary { opacity: 0; transform: translateY(12px); }
.is-scrolly.is-complete .wf-summary { opacity: 1; transform: none; }

@media (max-height: 700px) {
  .is-scrolly .wf-txt span { display: none; }
  .is-scrolly .wf-step { padding-block: 8px; }
}
@media (max-height: 620px) {
  .is-scrolly .workflow-stage { padding-block: 8px 12px; }
  .is-scrolly .wf-caption { margin-bottom: 8px; }
  .is-scrolly .wf-steps { gap: 6px; }
  .is-scrolly .wf-ic { width: 36px; height: 36px; }
  .is-scrolly .wf-progress { margin-top: 12px; }
  .is-scrolly .wf-summary { margin-top: 12px; font-size: 19px; }
}
@media (max-height: 540px) {
  .is-scrolly .wf-txt small { display: none; }
  .is-scrolly .wf-ic { width: 32px; height: 32px; }
  .is-scrolly .wf-caption { display: none; }
}

/* --------------------------------------------------------------------------
   Bénéfices
   -------------------------------------------------------------------------- */

.benefits { padding: 104px 0 96px; background: var(--white); }
.benefits-list { margin-top: 48px; }
.benefit { padding: 30px 0; border-top: 1px solid var(--line); }
.benefit-value {
  padding-bottom: .05em;
  font-size: clamp(46px, 13.5vw, 88px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.045em;
}
.benefit dd {
  max-width: 28ch;
  margin-top: 12px;
  font-size: 19px;
  line-height: 1.42;
  letter-spacing: -.015em;
  color: var(--gray);
}

/* --------------------------------------------------------------------------
   Cas d’usage (carrousel)
   -------------------------------------------------------------------------- */

.usecases { padding: 104px 0 96px; background: var(--paper); }
.usecases .section-head { margin-bottom: 0; }

.carousel-track {
  position: relative;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 36px max(var(--gutter), calc((100% - 980px) / 2)) 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100% - 980px) / 2));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: -4px; border-radius: var(--radius-l); }

.uc-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 min(82vw, 340px);
  min-height: 340px;
  padding: 30px 26px 30px;
  border-radius: var(--radius-l);
  background: var(--white);
  scroll-snap-align: start;
  box-shadow: 0 2px 12px -6px rgba(0, 0, 0, .08);
}
.uc-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: var(--black);
  color: var(--white);
}
.uc-icon .icon { width: 28px; height: 28px; }
.uc-team { margin-top: 30px; font-size: 15px; font-weight: 600; color: var(--gray); }
.uc-title {
  margin-top: 6px;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.uc-text { margin-top: auto; padding-top: 22px; color: var(--gray); text-wrap: pretty; }

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: calc(980px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.carousel-dots {
  display: flex;
  align-items: center;
  padding: 0 8px;
  min-height: 44px;
  border-radius: 980px;
  background: rgba(210, 210, 215, .55);
}
.carousel-dot {
  position: relative;
  width: 22px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  transition: width .4s var(--ease-out);
}
.carousel-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 4px;
  background: #8e8e93;
  transition: width .4s var(--ease-out), background-color .3s;
}
.carousel-dot.is-active { width: 38px; }
.carousel-dot.is-active::before { width: 26px; background: var(--ink); }

.carousel-paddles { display: flex; gap: 12px; }
.paddle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(210, 210, 215, .55);
  color: var(--ink);
  transition: opacity .3s, transform .25s var(--ease-out), background-color .3s;
}
.paddle:active { transform: scale(.92); }
.paddle .icon { width: 20px; height: 20px; stroke-width: 2.2; }
.paddle[disabled] { opacity: .35; cursor: default; }
.no-js .carousel-nav { display: none; }

/* --------------------------------------------------------------------------
   Méthode (frise)
   -------------------------------------------------------------------------- */

.method { padding: 104px 0 72px; background: var(--white); }

.timeline { position: relative; margin-top: 48px; padding-left: 46px; }
.timeline-step { position: relative; padding-bottom: 40px; }
.timeline-step:last-child { padding-bottom: 0; }
/* Segment reliant chaque étape à la suivante, rempli selon --fill (0 à 1). */
.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -33px;
  top: 18px;
  bottom: -2px;
  width: 2px;
  border-radius: 1px;
  background:
    linear-gradient(var(--black), var(--black)) top / 100% calc(var(--fill, 1) * 100%) no-repeat,
    var(--line);
}
.timeline-step::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: -40px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--black);
  background: var(--black);
  box-shadow: 0 0 0 5px var(--white);
  transition: background-color .35s, border-color .35s;
}
.timeline.is-animated .timeline-step { --fill: 0; }
.timeline.is-animated .timeline-step::before { background: var(--white); border-color: var(--line); }
.timeline.is-animated .timeline-step.is-reached::before { background: var(--black); border-color: var(--black); }
.timeline-num {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  color: var(--gray);
}
.timeline-step h3 {
  margin-top: 2px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.025em;
}
.timeline-step p { margin-top: 6px; color: var(--gray); max-width: 34ch; }

/* --------------------------------------------------------------------------
   Sécurité
   -------------------------------------------------------------------------- */

.security { padding: 104px 0; background: var(--black); color: #f5f5f7; }
.security .section-lead { color: var(--gray-light); }
.sec-grid {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}
.sec-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: start;
  padding: 22px 20px;
  border-radius: var(--radius-m);
  background: var(--card-dark);
}
.sec-card .icon { grid-row: span 2; width: 30px; height: 30px; stroke-width: 1.5; }
.sec-card h3 { font-size: 17px; line-height: 1.3; font-weight: 650; letter-spacing: -.015em; }
.sec-card p { margin-top: 4px; font-size: 15px; line-height: 1.43; letter-spacing: -.008em; color: var(--gray-dark); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { padding: 104px 0; background: var(--white); }
.faq-list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.018em;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: 4px; border-radius: 6px; }
.faq-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
  flex: none;
  transition: background-color .3s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.8px;
  margin: -.9px 0 0 -6px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform .35s var(--ease-out);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open]:not(.is-closing) .faq-icon { background: #e8e8ed; }
.faq-item[open]:not(.is-closing) .faq-icon::after { transform: rotate(0deg); }
.faq-answer { overflow: hidden; }
.faq-answer p { padding: 0 44px 24px 0; color: var(--gray); text-wrap: pretty; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
  background: var(--black);
  color: #f5f5f7;
  color-scheme: dark;
}
.contact-glow {
  position: absolute;
  left: 50%;
  top: -170px;
  width: 560px;
  height: 420px;
  margin-left: -280px;
  border-radius: 50%;
  background: var(--grad-conic);
  filter: blur(90px);
  opacity: .32;
  pointer-events: none;
  animation: spin 24s linear infinite;
}
.contact .container { position: relative; }
.contact-head { text-align: center; }
.contact-head .eyebrow { margin-inline: auto; }
.contact .section-lead { max-width: 32ch; margin-inline: auto; color: var(--gray-light); }

.form { display: grid; gap: 22px; max-width: 560px; margin: 44px auto 0; }
.form-group { overflow: hidden; border-radius: 16px; background: #1c1c1e; }
.field { position: relative; padding: 11px 16px 9px; transition: background-color .2s; }
.field + .field::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 0;
  height: 1px;
  background: #38383a;
}
.field:focus-within { background: #232325; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: #8e8e93;
}
.optional { font-weight: 400; color: #636366; }
.field input,
.field textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 3px 0 4px;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #f5f5f7;
  font-size: 17px;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #545458; opacity: 1; }
.field.is-invalid label { color: #ff6961; }
.field-error { margin-top: 2px; font-size: 13px; color: #ff6961; letter-spacing: 0; }

.choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.choices legend {
  padding: 0 0 10px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: #8e8e93;
}
.choices-list { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 980px;
  border: 1px solid #3a3a3c;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: #d2d2d7;
  transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease-out);
}
.choice input:checked + span { background: var(--white); border-color: var(--white); color: var(--black); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice input:active + span { transform: scale(.96); }

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

.form-status { min-height: 1.4em; font-size: 15px; text-align: center; color: #ff9f97; }
.form-status:empty { display: none; }
.form-note { font-size: 12px; line-height: 1.5; letter-spacing: 0; text-align: center; color: var(--gray-dark); }
.form-note a { color: #d2d2d7; }

.form-success {
  max-width: 480px;
  margin: 48px auto 0;
  padding: 40px 24px;
  border-radius: var(--radius-l);
  background: #1c1c1e;
  text-align: center;
  outline: none;
}
.success-ic {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  animation: pop .7s var(--ease-out) both;
}
.success-ic .icon { width: 34px; height: 34px; stroke-width: 2.4; }
.form-success h3 { font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.028em; }
.form-success p { margin-top: 10px; color: var(--gray-light); }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.footer {
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  background: var(--paper);
  color: var(--gray);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -.005em;
}
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-tagline { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.footer-tagline strong { color: var(--ink); font-weight: 600; }
.footer-group { border-bottom: 1px solid var(--line); }
.footer-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  font-size: 14px;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
.footer-group summary::-webkit-details-marker { display: none; }
.footer-group summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 1.5px solid var(--gray);
  border-bottom: 1.5px solid var(--gray);
  transform: translateY(-2px) rotate(45deg);
  transition: transform .3s var(--ease-out);
}
.footer-group[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.footer-group ul { padding: 0 0 12px 12px; }
.footer-group a { display: block; padding: 8px 0; font-size: 14px; color: #424245; }
.footer-legal { display: grid; gap: 8px; padding-top: 18px; }
.footer-legal ul { display: flex; flex-wrap: wrap; }
.footer-legal li + li::before { content: "|"; margin: 0 9px; color: var(--line); }
.footer-legal a { color: #424245; }

/* --------------------------------------------------------------------------
   Pages secondaires (mentions légales, confidentialité, 404, merci)
   -------------------------------------------------------------------------- */

.page-hero {
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 64px) 0 56px;
  background: var(--black);
  color: #f5f5f7;
}
.page-hero .section-lead { color: var(--gray-light); }
.prose { padding: 56px 0 96px; background: var(--white); }
.prose .container { max-width: calc(720px + 2 * var(--gutter)); }
.prose h2 {
  margin-top: 44px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.022em;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 12px; color: #424245; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .updated { margin-top: 48px; font-size: 14px; color: var(--gray); }

.status-page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--nav-h) + 48px) var(--gutter) 64px;
  background: var(--black);
  color: #f5f5f7;
  text-align: center;
}
.status-page .hero-visual { --size: min(240px, 64vw); margin: 0 auto 36px; }
.status-page .eyebrow { margin-inline: auto; }
.status-page .success-ic { margin-bottom: 28px; }
.status-list { display: grid; gap: 4px; margin-top: 12px; color: var(--gray-light); }
.status-page h1 {
  font-size: clamp(40px, 11vw, 72px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.04em;
}
.status-page p { max-width: 30ch; margin: 16px auto 0; font-size: 19px; line-height: 1.42; color: var(--gray-light); }
.status-page .btn { margin-top: 32px; }

/* --------------------------------------------------------------------------
   Apparition au défilement
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Pause des animations hors écran (économie de batterie) */
.is-paused, .is-paused * { animation-play-state: paused !important; }

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

@keyframes spin { to { rotate: 360deg; } }

@keyframes breathe {
  0%, 100% { scale: 1; }
  50% { scale: 1.08; }
}

@keyframes node-ping {
  0%, 9%, 100% { background-color: #161617; color: #f5f5f7; border-color: rgba(255, 255, 255, .14); box-shadow: 0 0 0 rgba(255, 255, 255, 0); scale: 1; }
  4% { background-color: #fff; color: #000; border-color: #fff; box-shadow: 0 0 28px rgba(255, 255, 255, .45); scale: 1.14; }
}

@keyframes app-ping {
  0%, 10%, 100% { background-color: #1c1c1e; color: #f5f5f7; border-color: rgba(255, 255, 255, .1); scale: 1; }
  5% { background-color: #fff; color: #000; border-color: #fff; scale: 1.08; }
}

@keyframes line-ping {
  0%, 10%, 100% { stroke: rgba(255, 255, 255, .16); }
  5% { stroke: rgba(255, 255, 255, .9); }
}

@keyframes dash { to { stroke-dashoffset: -18; } }

@keyframes drip {
  0% { transform: translateY(0); }
  100% { transform: translateY(46px); }
}

@keyframes pop {
  from { opacity: 0; transform: translateY(10px) scale(.94); }
  to { opacity: 1; transform: none; }
}

@keyframes typing-life {
  0% { opacity: 0; transform: scale(.85); }
  15%, 82% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(.9); }
}

@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@keyframes fill { to { transform: scaleX(1); } }

@keyframes notif-in {
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Accessibilité : mouvements réduits
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Grands écrans : mise en page provisoire (version ordinateur à venir)
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
  :root { --gutter: 40px; --nav-h: 52px; }
  .hero-ctas { flex-direction: row; justify-content: center; gap: 28px; }
  .tile { padding: 64px 56px 0; }
  .tile--outline { padding-bottom: 56px; }
  .tile-copy { max-width: 620px; }
  .tile-visual { padding: 48px 0 56px; }
  .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}
