/* ServorIA — page d'accueil publique (contenu et effets : land.js).
   Les états de départ des animations GSAP sont posés par le script : sans lui, tout est visible. */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.land { --wrap: 1180px; --gut: 24px; --out: cubic-bezier(.16, 1, .3, 1); --nav-top: calc(14px + env(safe-area-inset-top)); --nav-h: 64px;
  position: fixed; inset: 0; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: #08080a; }
.land.menu-open, .land.lenis-stopped { overflow: hidden; }
.land-c { position: relative; isolation: isolate; }
.land .sec, .ftr { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right)); }
.land .sec { padding-top: 140px; scroll-margin-top: 90px; }
.sec-head { max-width: 780px; margin: 0 0 48px; }
.sec-head p { margin: 18px 0 0; color: var(--text-2); font-size: 17px; line-height: 1.6; }
.sh { margin: 0; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.03; letter-spacing: -.045em; font-weight: 700; }
/* mots masqués : la montée est jouée par GSAP */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .03em .13em; margin: 0 -.03em -.13em; }
.w > span { display: inline-block; }
/* apparitions simples */
.rv { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .8s var(--ease), transform 1s var(--out), filter .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.rv.in { opacity: 1; transform: none; filter: none; }

/* ============================== barre de navigation ============================== */
.nv { position: fixed; top: var(--nav-top); left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 8px; width: min(1180px, calc(100% - 32px)); height: var(--nav-h);
  margin: 0 auto; padding: 0 8px 0 14px; border-radius: 999px; isolation: isolate; transition: width .7s var(--out); }
/* le verre est porté par un pseudo-élément : le menu déroulant garde son propre flou */
.nv::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(20, 20, 27, .5); border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 16px 40px -18px rgba(0,0,0,.7); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); transition: background .35s, box-shadow .35s; }
.nv.scrolled { width: min(1060px, calc(100% - 32px)); }
.nv.scrolled::before, .nv.open::before { background: rgba(14, 14, 19, .8); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 50px -18px rgba(0,0,0,.85); }
.nv-prog { position: absolute; left: 30px; right: 30px; bottom: 0; height: 1px; border-radius: 1px; background: linear-gradient(90deg, var(--accent), #22d3ee); opacity: .7;
  transform-origin: left; transform: scaleX(var(--prog, 0)); pointer-events: none; }
.nv-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.nv-brand:hover { text-decoration: none; }
.nv-brand .logo { width: 34px; height: 34px; border-radius: 10px; }
.nv-menu { flex: 1; min-width: 0; display: flex; justify-content: center; }
.nv-list { position: relative; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nv-hl { position: absolute; left: 0; top: 50%; z-index: 0; width: 0; height: 40px; margin-top: -20px; border-radius: 999px; background: rgba(255,255,255,.07); opacity: 0; pointer-events: none;
  transition: transform .4s var(--out), width .4s var(--out), opacity .25s; }
.nv-list.hl-on .nv-hl { opacity: 1; }
.nv-item { position: relative; z-index: 1; }
.nv-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 15px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: color .2s; }
.nv-link:hover, .nv-item.open > .nv-link, .nv-item.current > .nv-link { color: var(--text); text-decoration: none; }
.nv-link .ic { color: var(--text-3); transition: transform .35s var(--out); }
.nv-item.open > .nv-link .ic { transform: rotate(180deg); }
.nv-item.current > .nv-link::after { content: ""; width: 5px; height: 5px; margin-left: 2px; border-radius: 50%; background: var(--accent); }
/* méga-menu « Produit » */
.nv-panel { position: absolute; top: calc(100% + 16px); left: 50%; width: 580px; opacity: 0; visibility: hidden; transform: translate(-50%, -8px) scale(.98); transform-origin: top center;
  transition: opacity .2s, transform .3s var(--out), visibility 0s .3s; }
.nv-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nv-item.open .nv-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .2s, transform .45s var(--out), visibility 0s; }
.nv-panel-in { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 8px; padding: 8px; border-radius: 24px; background: rgba(16, 16, 22, .88); border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 30px 70px -20px rgba(0,0,0,.85); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); }
.nv-plinks { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nv-plinks li { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .45s var(--out); }
.nv-item.open .nv-plinks li { opacity: 1; transform: none; }
.nv-item.open .nv-plinks li:nth-child(2) { transition-delay: .04s; } .nv-item.open .nv-plinks li:nth-child(3) { transition-delay: .08s; } .nv-item.open .nv-plinks li:nth-child(4) { transition-delay: .12s; }
.nv-plink { display: flex; align-items: center; gap: 13px; padding: 10px 12px; border-radius: 16px; color: var(--text); transition: background .2s; }
.nv-plink:hover { background: rgba(255,255,255,.06); text-decoration: none; }
.nv-pic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); color: var(--text-2); transition: color .2s, border-color .2s; }
.nv-pic .ic { stroke-width: 1.6; }
.nv-plink:hover .nv-pic { color: var(--text); border-color: rgba(255,255,255,.24); }
.nv-ptxt { display: flex; flex-direction: column; min-width: 0; }
.nv-ptxt b { font-size: 14.5px; font-weight: 600; }
.nv-ptxt small { color: var(--text-3); font-size: 12.5px; line-height: 1.35; }
.nv-feature { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 190px; padding: 18px 16px 16px; border-radius: 18px; color: var(--text);
  background: radial-gradient(120% 90% at 100% 0%, rgba(124,108,255,.38), transparent 62%), radial-gradient(90% 80% at 0% 100%, rgba(34,211,238,.16), transparent 60%), #121218; border: 1px solid rgba(255,255,255,.08); }
.nv-feature:hover { text-decoration: none; }
.nv-feat-code { display: flex; flex-direction: column; gap: 8px; }
.nv-feat-code i { display: block; height: 6px; width: 0; border-radius: 99px; background: rgba(255,255,255,.16); transition: width .9s var(--out); }
.nv-feat-code i:nth-child(2) { background: rgba(124,108,255,.55); }
.nv-item.open .nv-feat-code i { width: var(--w); }
.nv-item.open .nv-feat-code i:nth-child(2) { transition-delay: .08s; } .nv-item.open .nv-feat-code i:nth-child(3) { transition-delay: .16s; } .nv-item.open .nv-feat-code i:nth-child(4) { transition-delay: .24s; }
.nv-feat-txt { display: flex; flex-direction: column; gap: 2px; }
.nv-feat-txt small { color: var(--text-2); font-size: 12.5px; }
.nv-feat-txt b { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.nv-feat-txt .ic { transition: transform .3s var(--out); }
.nv-feature:hover .nv-feat-txt .ic { transform: translateX(3px); }
.nv-menu-foot { display: none; }
.nv-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.nv-login { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; color: var(--text); font-size: 14.5px; font-weight: 500; transition: background .2s; }
.nv-login:hover { background: rgba(255,255,255,.07); text-decoration: none; }
.nv .nv-cta { min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 14.5px; }
.nv-toggle { display: none; position: relative; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.07); }
.nv-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .4s var(--out), top .4s var(--out); }
.nv-toggle span:nth-child(1) { top: 18px; } .nv-toggle span:nth-child(2) { top: 24px; }
.nv.open .nv-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nv.open .nv-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
@media (min-width: 961px) and (hover: hover) {
  .nv-item.has-panel:hover .nv-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .2s, transform .45s var(--out), visibility 0s; }
  .nv-item.has-panel:hover .nv-plinks li { opacity: 1; transform: none; }
  .nv-item.has-panel:hover .nv-feat-code i { width: var(--w); }
  .nv-item.has-panel:hover > .nv-link { color: var(--text); }
  .nv-item.has-panel:hover > .nv-link .ic { transform: rotate(180deg); }
}
/* tablette et téléphone : menu en feuille de verre sous la barre */
@media (max-width: 960px) {
  .nv-toggle { display: block; }
  .nv-login, .nv-hl { display: none; }
  .nv-actions { margin-left: auto; }
  .nv-menu { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: -2; flex-direction: column; justify-content: flex-start; gap: 18px;
    max-height: calc(100dvh - var(--nav-top) - var(--nav-h) - 24px); overflow-y: auto; overscroll-behavior: contain; padding: 10px; border-radius: 28px;
    background: rgba(14, 14, 19, .94); border: 1px solid rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 100vmax rgba(4,4,6,0);
    backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top center; transition: opacity .2s, transform .35s var(--out), box-shadow .35s, visibility 0s .35s; }
  .nv.open .nv-menu { opacity: 1; visibility: visible; transform: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 100vmax rgba(4,4,6,.6);
    transition: opacity .2s, transform .45s var(--out), box-shadow .35s, visibility 0s; }
  .nv-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nv-list > li, .nv-menu-foot { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .5s var(--out); }
  .nv.open .nv-list > li, .nv.open .nv-menu-foot { opacity: 1; transform: none; }
  .nv.open .nv-list > li:nth-child(3) { transition-delay: .05s; } .nv.open .nv-list > li:nth-child(4) { transition-delay: .1s; }
  .nv.open .nv-list > li:nth-child(5) { transition-delay: .15s; } .nv.open .nv-menu-foot { transition-delay: .2s; }
  .has-panel > .nv-link { height: auto; padding: 10px 12px 4px; color: var(--text-3); font-size: 13px; pointer-events: none; }
  .has-panel > .nv-link .ic, .nv-item.current > .nv-link::after { display: none; }
  .nv-panel { position: static; width: auto; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nv-panel::before, .nv-feature { display: none; }
  .nv-panel-in { display: block; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nv-plinks li { opacity: 1; transform: none; }
  .nv-item > a.nv-link { width: 100%; height: auto; min-height: 52px; padding: 0 12px; border-radius: 16px; color: var(--text); font-size: 17px; font-weight: 600; }
  .nv-item > a.nv-link:hover { background: rgba(255,255,255,.06); }
  .nv-menu-foot { display: flex; flex-direction: column; gap: 10px; padding: 4px; }
  .nv-menu-foot .btn { width: 100%; border-radius: 999px; }
}

/* ============================== héros ============================== */
.hx { position: relative; padding: calc(var(--nav-top) + var(--nav-h) + 92px) var(--gut) 40px; }
.hx-bg { position: absolute; inset: -10% 0 -20%; z-index: -1; overflow: hidden; pointer-events: none; }
.hx-aura { position: absolute; left: 50%; border-radius: 50%; filter: blur(40px); }
.hx-aura.a1 { top: 6%; width: 640px; height: 440px; margin-left: -560px; background: radial-gradient(closest-side, rgba(124,108,255,.42), transparent); animation: aura1 18s ease-in-out infinite alternate; }
.hx-aura.a2 { top: 12%; width: 560px; height: 400px; margin-left: -10px; background: radial-gradient(closest-side, rgba(34,211,238,.2), transparent); animation: aura2 22s ease-in-out infinite alternate; }
.hx-aura.a3 { top: 46%; width: 1000px; height: 420px; margin-left: -500px; background: radial-gradient(closest-side, rgba(99,86,255,.24), transparent); animation: aura1 26s ease-in-out infinite alternate-reverse; }
@keyframes aura1 { to { transform: translate(80px, 40px) scale(1.12); } }
@keyframes aura2 { to { transform: translate(-90px, 30px) scale(.9); } }
.hx-grid { position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 50% 0 / 64px 64px, linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 50% 0 / 64px 64px;
  -webkit-mask: radial-gradient(70% 55% at 50% 28%, #000, transparent 78%); mask: radial-gradient(70% 55% at 50% 28%, #000, transparent 78%); }
.hx-grid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(190,180,255,.35) 1px, transparent 1px) 50% 0 / 64px 64px, linear-gradient(90deg, rgba(190,180,255,.35) 1px, transparent 1px) 50% 0 / 64px 64px;
  -webkit-mask: radial-gradient(200px circle at var(--gx, -999px) var(--gy, -999px), #000, transparent); mask: radial-gradient(200px circle at var(--gx, -999px) var(--gy, -999px), #000, transparent); }
.hx-in { position: relative; max-width: 1180px; margin: 0 auto; text-align: center; }
.hx-title { margin: 0; font-size: clamp(40px, 6.1vw, 90px); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
.hx-l { display: block; text-wrap: balance; }
.hx-dim { color: #66667a; }
.hx-lead { max-width: 38em; margin: 28px auto 0; color: var(--text-2); font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.65; }
/* champ de saisie : bordure lumineuse qui tourne lentement */
.hx-box { position: relative; max-width: 720px; margin: 38px auto 0; padding: 16px 12px 12px 20px; border-radius: 26px; text-align: left; background: rgba(15, 15, 20, .86);
  box-shadow: 0 40px 90px -40px rgba(124,108,255,.6), inset 0 1px 0 rgba(255,255,255,.05); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.hx-box::before, .hx-box::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--ang), rgba(124,108,255,.95), rgba(34,211,238,.7) 12%, rgba(255,255,255,.07) 30%, rgba(255,255,255,.07) 70%, rgba(124,108,255,.95)); animation: hx-spin 7s linear infinite; }
.hx-box::before { padding: 1px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.hx-box::after { z-index: -1; inset: -2px; filter: blur(22px); opacity: .3; transition: opacity .4s; }
.hx-box:focus-within::after { opacity: .6; }
.hx-box.pulse { animation: hx-pulse .5s var(--out); }
@keyframes hx-spin { to { --ang: 360deg; } }
@keyframes hx-pulse { 40% { transform: scale(1.012); } }
.hx-field { position: relative; }
.hx-field textarea { display: block; width: 100%; min-height: 58px; padding: 2px 0; border: 0; outline: none; resize: none; background: none; color: var(--text); font-size: 17px; line-height: 1.6; }
.hx-ph { position: absolute; inset: 2px 0 auto; color: var(--text-3); font-size: 17px; line-height: 1.6; pointer-events: none; transition: opacity .2s; }
.hx-box.typing .hx-ph { opacity: 0; }
.hx-caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -3px; border-radius: 1px; background: var(--accent); animation: hx-blink 1.1s steps(2, start) infinite; }
@keyframes hx-blink { to { visibility: hidden; } }
.hx-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.hx-hint { color: var(--text-3); font-size: 13px; }
.hx-hint kbd { margin-right: 4px; padding: 2px 7px; border-radius: 6px; border: 1px solid rgba(255,255,255,.14); color: var(--text-2); font: 500 11.5px var(--mono); }
.hx-send { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: #f4f4f6; color: #0b0b0e; font-size: 15px; font-weight: 600; transition: background .2s, transform .2s var(--out); }
.hx-send:hover { background: #fff; }
.hx-send:active { transform: scale(.97); }
.hx-send .ic { transition: transform .3s var(--out); }
.hx-send:hover .ic { transform: translateX(3px); }
.hx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.hx-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); color: var(--text-2); font-size: 13.5px; font-weight: 500;
  transition: color .2s, border-color .2s, background .2s, transform .2s var(--out); }
.hx-chip .ic { color: var(--text-3); stroke-width: 1.7; transition: color .2s; }
.hx-chip:hover { color: var(--text); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.05); }
.hx-chip:hover .ic { color: var(--text-2); }
.hx-chip:active { transform: scale(.97); }
.hx-note { margin: 22px 0 0; color: var(--text-3); font-size: 13.5px; }

/* ============================== aperçu de l'application ============================== */
.stage-wrap { position: relative; max-width: calc(1060px + 2 * var(--gut)); margin: 0 auto; padding: 40px var(--gut) 20px; perspective: 1800px; scroll-margin-top: 80px; }
.stage-glow { position: absolute; left: 8%; right: 8%; top: 8%; height: 72%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(124,108,255,.34), rgba(34,211,238,.06) 60%, transparent); filter: blur(30px); pointer-events: none; }
.stage { --p: 1; margin: 0 auto; transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p)) * 28deg)) scale(calc(.86 + var(--p) * .14)) translateY(calc((1 - var(--p)) * -20px)); will-change: transform; }

/* ============================== chiffres ============================== */
.land .kpi-sec { padding-top: 90px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.kpi { padding: 34px 28px 30px; border-left: 1px solid rgba(255,255,255,.08); }
.kpi:first-child { border-left: 0; padding-left: 0; }
.kpi dd { max-width: 19em; margin: 14px 0 0; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.odo { display: flex; font-size: clamp(40px, 5vw, 66px); font-weight: 700; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.odo-c { display: inline-block; height: 1em; overflow: hidden; }
.odo-c > span { display: flex; flex-direction: column; transition: transform 2s var(--out); transition-delay: calc(var(--i) * 120ms + var(--d, 0) * 90ms); }
.odo-c b { display: block; height: 1em; font-weight: inherit; }
.in .odo-c > span { transform: translateY(calc(var(--n) * -1em)); }
.odo-s { white-space: pre; }

/* ============================== manifeste ============================== */
.land .man-sec { padding-top: 150px; }
.manifesto { max-width: 23em; margin: 0; font-size: clamp(28px, 3.9vw, 52px); font-weight: 600; line-height: 1.18; letter-spacing: -.035em; }

/* ============================== fonctionnalités ============================== */
.ft { position: relative; margin-top: 150px; scroll-margin-top: 0; }
.ft-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto 40px; padding: 0 var(--gut); }
.ft-meta { display: flex; align-items: center; gap: 14px; flex: none; padding-bottom: 8px; color: var(--text-3); font: 500 13px var(--mono); }
.ft-count b { color: var(--text); font-weight: 500; }
.ft-bar { width: 120px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.ft-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(.2); transition: transform .25s; }
.ft-view { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.ft-view::-webkit-scrollbar { display: none; }
.ft-track { display: flex; gap: 20px; width: max-content; padding: 4px max(var(--gut), calc(50% - var(--wrap) / 2)) 12px; perspective: 1600px; }
.fc { flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; width: min(84vw, 500px); min-height: 520px; padding: 32px; border-radius: 28px; scroll-snap-align: center;
  background: radial-gradient(100% 70% at 100% 0%, rgba(124,108,255,.11), transparent 60%), #111116; border: 1px solid rgba(255,255,255,.08); transform-origin: 0% 50%; }
.fc-n { color: var(--text-3); font: 500 13px var(--mono); }
.fc h3 { margin: 16px 0 10px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.03em; }
.fc p { max-width: 30em; margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.fc-vis { display: grid; align-content: center; min-height: 220px; padding: 24px; border-radius: 18px; background: #0a0a0d; border: 1px solid rgba(255,255,255,.06); }
/* défilement horizontal piloté par la page (grands écrans) */
.ft.pinned { margin-top: 60px; }
.ft.pinned .ft-pin { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; height: 100vh; height: 100dvh; padding-top: calc(var(--nav-h) + 10px); overflow: hidden; }
.ft.pinned .ft-view { overflow: visible; scroll-snap-type: none; }
.ft.pinned .fc { width: clamp(420px, 38vw, 560px); min-height: min(540px, 60vh); }
/* contenus des visuels : ligne à ligne */
[data-seq] > * { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--out); }
[data-seq].in > * { opacity: 1; transform: none; }
[data-seq].in > :nth-child(2) { transition-delay: .3s; } [data-seq].in > :nth-child(3) { transition-delay: .6s; }
[data-seq].in > :nth-child(4) { transition-delay: .9s; } [data-seq].in > :nth-child(5) { transition-delay: 1.2s; }
.term { display: flex; flex-direction: column; gap: 9px; color: var(--text-2); font: 13.5px/1.5 var(--mono); }
.t-warn { color: #fcd38d; } .t-ok { color: #6ee7b7; }
.vers { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0 0 0 16px; list-style: none; border-left: 1px dashed rgba(255,255,255,.14); color: var(--text-2); font-size: 15px; }
.vers li { position: relative; display: flex; align-items: center; gap: 12px; }
.vers li::before { content: ""; position: absolute; left: -22px; width: 11px; height: 11px; border-radius: 50%; background: #2c2c35; border: 2px solid #0a0a0d; }
.vers li.on { color: var(--text); } .vers li.on::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(124,108,255,.2); }
.vers b { padding: 3px 8px; border-radius: 6px; background: #1d1d24; color: var(--text); font: 600 12.5px var(--mono); }
.json { display: flex; flex-direction: column; margin: 0; overflow-x: auto; color: var(--text-2); font: 13.5px/1.75 var(--mono); white-space: pre; }
.j-k { color: #7dd3fc; } .j-s { color: #86efac; } .j-b { color: #c49cff; } .j-n { color: #fcd38d; }
.files { display: flex; flex-wrap: wrap; gap: 10px; }
.files span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; background: #18181e; border: 1px solid rgba(255,255,255,.08); color: var(--text); font: 13px var(--mono); }
.files .ic { color: var(--text-3); }
.handoff { display: flex; flex-direction: column; gap: 12px; }
.ho-msg { align-self: flex-end; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 94%; padding: 14px 16px; border-radius: 16px 16px 4px 16px; background: #1b1b21; font-size: 14.5px; line-height: 1.5; }
.ho-att { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); color: var(--text-2); font: 12.5px var(--mono); }
.ho-step { display: flex; align-items: center; gap: 8px; color: #6ee7b7; font: 13px var(--mono); }

/* ============================== fonctionnement ============================== */
.how { position: relative; margin-top: 150px; scroll-margin-top: 0; }
.how-pin { position: relative; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.how-title { margin-bottom: 44px; }
.how-list { position: relative; }
.how-bar { display: none; }
.how-steps { display: grid; gap: 64px; margin: 0; padding: 0; list-style: none; }
.how-step { display: grid; gap: 8px; }
.how-vis { margin-top: 14px; }
.how-n { color: var(--text-3); font: 500 13px var(--mono); transition: color .4s; }
.how-step.on .how-n { color: #b9b0ff; }
.how-txt h3 { margin: 4px 0 8px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.03em; }
.how-txt p { max-width: 30em; margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.6; }
/* grands écrans : la section reste à l'écran, les étapes s'enchaînent à droite */
.how.pinned { height: 320vh; }
.how.pinned .how-pin { position: sticky; top: 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-content: center; column-gap: 72px; height: 100vh; height: 100dvh; padding-top: var(--nav-h); }
.how.pinned .how-title, .how.pinned .how-list { grid-column: 1; }
.how.pinned .how-bar { display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.how.pinned .how-bar i { display: block; width: 100%; height: 100%; background: linear-gradient(var(--accent), #22d3ee); transform-origin: top; transform: scaleY(0); }
.how.pinned .how-steps { gap: 6px; padding-left: 28px; }
.how.pinned .how-step { grid-template-columns: 34px minmax(0, 1fr); gap: 0; padding: 16px 0; }
.how.pinned .how-vis { margin-top: 0; }
.how.pinned .how-txt { opacity: .35; transition: opacity .5s var(--ease); }
.how.pinned .how-step.on .how-txt { opacity: 1; }
.how.pinned .how-txt p { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--out), opacity .4s; }
.how.pinned .how-step.on .how-txt p { max-height: 8em; opacity: 1; transition-delay: .1s; }
.how.pinned .how-n { padding-top: 9px; }
.how.pinned .how-vis { position: absolute; top: 50%; left: calc(100% + 72px); width: calc(100% * 1.15 / .85); opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-44%) scale(.95); filter: blur(8px); transition: opacity .45s, transform .7s var(--out), filter .5s, visibility 0s .5s; }
.how.pinned .how-step.on .how-vis { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-50%); filter: none; transition: opacity .5s .1s, transform .8s var(--out) .1s, filter .6s .1s, visibility 0s; }
/* maquettes des étapes */
.mk { overflow: hidden; border-radius: 20px; background: #0c0c10; border: 1px solid rgba(255,255,255,.09); box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(124,108,255,.05); }
.mk-top { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.06); background: #111116; }
.mk-top > span { width: 10px; height: 10px; border-radius: 50%; background: #2a2a33; }
.mk-top b { margin-left: 10px; color: var(--text-2); font: 500 12.5px var(--mono); }
.mk-body { margin: 0; min-height: 230px; padding: 24px 22px; }
.mk-user { margin: 0 0 0 auto; max-width: 86%; padding: 14px 16px; border-radius: 18px 18px 4px 18px; background: #1d1d25; font-size: 15px; line-height: 1.55; }
.mk-user span { opacity: 0; transition: opacity .25s; }
.how-step.on .mk-user span { opacity: 1; transition-delay: calc(var(--k) * 55ms + .3s); }
.mk-comp { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 16px 16px; padding: 10px 10px 10px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); color: var(--text-3); font-size: 14px; }
.mk-comp i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--text); color: #0b0b0e; }
.mk-code .mk-body { color: var(--text-2); font: 13.5px/1.85 var(--mono); white-space: pre; overflow-x: auto; }
.mk-ln { display: block; opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .5s var(--out); }
.how-step.on .mk-ln { opacity: 1; transform: none; transition-delay: calc(var(--k) * 110ms + .25s); }
.c-k { color: #c49cff; } .c-t { color: #7dd3fc; } .c-f { color: #fcd38d; } .c-s { color: #86efac; }
.mk-status { position: relative; height: 46px; border-top: 1px solid rgba(255,255,255,.06); font: 500 13px var(--mono); }
.mk-status > span { position: absolute; inset: 0 18px; display: flex; align-items: center; gap: 8px; }
.mk-run { color: var(--text-3); }
.mk-ok { color: #6ee7b7; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--out); }
.how-step.on .mk-code .mk-run { animation: mk-run 1.4s 1.2s forwards; }
.how-step.on .mk-code .mk-ok { opacity: 1; transform: none; transition-delay: 2.3s; }
.how-step.on .mk-files .mk-ok { opacity: 1; transform: none; transition-delay: 1s; }
@keyframes mk-run { 70% { opacity: 1; } to { opacity: 0; } }
.mk-files .mk-body { display: flex; flex-direction: column; gap: 8px; }
.mk-row { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 12px; background: #131318; border: 1px solid rgba(255,255,255,.06); color: var(--text-2); font: 13.5px var(--mono); }
.mk-row .ic { color: var(--text-3); }
.mk-new { color: var(--text); border-color: rgba(124,108,255,.5); background: rgba(124,108,255,.08); opacity: 0; transform: translateY(-14px) scale(.97); transition: opacity .4s, transform .7s var(--out); }
.how-step.on .mk-new { opacity: 1; transform: none; transition-delay: .45s; }
.mk-new em { margin-left: auto; padding: 2px 8px; border-radius: 99px; background: var(--accent); color: #fff; font: 600 11px var(--font); font-style: normal; }

/* ============================== exemples ============================== */
.land .gal-sec { max-width: none; padding-inline: 0; }
.gal-sec .sec-head { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.gal { padding: 30px 0 50px; overflow: hidden; perspective: 1400px; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.gal-plane { display: grid; gap: 16px; transform: rotateZ(-3deg) scale(1.06); }
.gal-row { display: flex; gap: 16px; width: max-content; will-change: transform; }
.land:not(.fx) .gal-row[data-row="1"] { transform: translateX(-30%); }
.ex { flex: none; display: flex; flex-direction: column; gap: 14px; width: 320px; margin: 0; padding: 22px; border-radius: 18px; background: #111116; border: 1px solid rgba(255,255,255,.08); transition: border-color .3s, background .3s; }
.ex:hover { border-color: rgba(255,255,255,.18); background: #15151b; }
.ex-top { display: flex; align-items: center; gap: 10px; color: var(--text-3); }
.ex-top code { color: var(--text); font: 500 13.5px var(--mono); }
.ex p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* ============================== offres ============================== */
.land-plans { margin: 0; }
.land-plans:empty { min-height: 420px; }
.land-plans .plan { background: #111116; border-color: rgba(255,255,255,.08); }
.land-plans .plan.featured { border-color: rgba(124,108,255,.5); }
.land-packs { margin-top: 28px; }
.land-packs .pack { background: #111116; border-color: rgba(255,255,255,.08); }
.packs-title { margin: 0 0 14px; color: var(--text-2); font-size: 15px; text-align: center; }

/* ============================== FAQ ============================== */
.faq { max-width: 820px; border-top: 1px solid rgba(255,255,255,.08); }
.faq details { border-bottom: 1px solid rgba(255,255,255,.08); }
.faq summary { position: relative; display: flex; align-items: center; gap: 18px; min-height: 64px; padding: 18px 2px; list-style: none; cursor: pointer; font-size: 17px; font-weight: 500; transition: color .15s; }
.faq summary:hover { color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--out); }
.faq details[open] summary::after { transform: none; }
.faq-i { flex: none; width: 24px; color: var(--text-3); font: 500 13px var(--mono); }
.faq-q { flex: 1; }
.pm { position: relative; flex: none; width: 14px; height: 14px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--text-2); transition: transform .3s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq-a p { margin: 0; padding: 0 40px 22px 44px; color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.faq details[open] .faq-a { animation: faq-in .4s var(--out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ============================== appel final ============================== */
.fin { position: relative; margin-top: 150px; padding: 170px var(--gut) 160px; overflow: hidden; isolation: isolate; text-align: center; }
.fin-bg { position: absolute; inset: 0; z-index: -1; border-top: 1px solid rgba(255,255,255,.06);
  background: radial-gradient(60% 75% at 50% 100%, rgba(124,108,255,.5), rgba(34,211,238,.1) 48%, transparent 76%), radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px) 0 0 / 24px 24px, #0c0c12; }
.fin-in { max-width: 900px; margin: 0 auto; }
.fin .sh { font-size: clamp(40px, 6.4vw, 88px); }
.fin p { margin: 24px 0 36px; color: var(--text-2); font-size: 17px; }
.fin-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.fin-cta .btn-lg { min-height: 54px; padding: 0 26px; border-radius: 999px; font-size: 16px; }

/* ============================== pied de page ============================== */
.ftr { padding-top: 72px; overflow: hidden; color: var(--text-3); font-size: 14px; }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .8fr)) minmax(0, 1.2fr); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ftr-id { display: flex; flex-direction: column; gap: 12px; }
.ftr-id p { margin: 0; }
.ftr-col { display: flex; flex-direction: column; }
.ftr-col b { margin-bottom: 8px; color: var(--text); font-size: 13.5px; font-weight: 600; }
.ftr-col a { display: flex; align-items: center; min-height: 36px; color: var(--text-2); font-size: 14.5px; transition: color .15s; }
.ftr-col a:hover { color: var(--text); text-decoration: none; }
.ftr-meta { margin: 20px 0 0; font-size: 13px; }
.ftr-mark { display: flex; justify-content: center; margin-top: 36px; overflow: hidden; font-size: clamp(76px, 20.5vw, 290px); font-weight: 800; line-height: .8; letter-spacing: -.065em; user-select: none;
  padding-bottom: env(safe-area-inset-bottom); }
.ftr-mark span { display: inline-block; padding-right: .07em; margin-right: -.07em; color: transparent; background: linear-gradient(180deg, rgba(255,255,255,.17), rgba(255,255,255,0) 82%); -webkit-background-clip: text; background-clip: text; }

/* ============================== tailles d'écran ============================== */
@media (min-width: 1024px) {
  .faq-sec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
  .faq-sec .sec-head { position: sticky; top: 110px; }
}
@media (max-width: 860px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:nth-child(odd) { border-left: 0; padding-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .ft-head { flex-direction: column; align-items: flex-start; }
  .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-id { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .land { --gut: 16px; --nav-top: calc(10px + env(safe-area-inset-top)); --nav-h: 58px; }
  .nv { width: calc(100% - 20px); padding: 0 7px 0 12px; gap: 6px; }
  .nv.scrolled { width: calc(100% - 20px); }
  .nv-brand { font-size: 18px; } .nv-brand .logo { width: 32px; height: 32px; }
  .nv .nv-cta { min-height: 40px; padding: 0 15px; }
  .nv-toggle { width: 42px; height: 42px; } .nv-toggle span { left: 13px; right: 13px; }
  .nv-toggle span:nth-child(1) { top: 17px; } .nv-toggle span:nth-child(2) { top: 23px; }
  .nv.open .nv-toggle span:nth-child(1), .nv.open .nv-toggle span:nth-child(2) { top: 20px; }
  .hx { padding-top: calc(var(--nav-top) + var(--nav-h) + 52px); }
  .hx-title { font-size: clamp(34px, 10.4vw, 56px); }
  .hx-aura.a1 { width: 420px; height: 320px; margin-left: -330px; } .hx-aura.a2 { width: 360px; height: 300px; margin-left: -40px; }
  .hx-box { margin-top: 30px; padding: 14px 10px 10px 16px; border-radius: 22px; }
  .hx-field textarea, .hx-ph { font-size: 16px; }
  .hx-field textarea { min-height: 78px; }
  .hx-hint { display: none; }
  .hx-bar { justify-content: flex-end; }
  .hx-send { width: 100%; justify-content: center; }
  .hx-chips { flex-wrap: nowrap; justify-content: flex-start; margin: 16px calc(-1 * var(--gut)) 0; padding: 0 var(--gut) 4px; overflow-x: auto; scrollbar-width: none; }
  .hx-chips::-webkit-scrollbar { display: none; }
  .hx-chip { flex: none; min-height: 44px; }
  .stage-wrap { perspective: 1000px; padding-top: 28px; }
  .stage { transform: rotateX(calc((1 - var(--p)) * 18deg)) scale(calc(.92 + var(--p) * .08)); }
  .land .sec { padding-top: 96px; }
  .land .kpi-sec { padding-top: 56px; }
  .land .man-sec { padding-top: 100px; }
  .sec-head { margin-bottom: 32px; }
  .kpi { padding: 24px 0 22px 18px; }
  .kpi dd { font-size: 13.5px; }
  .ft, .how { margin-top: 100px; }
  .ft-head { margin-bottom: 28px; }
  .ft-track { gap: 12px; }
  .fc { min-height: 0; padding: 24px 20px 20px; border-radius: 22px; }
  .fc p { font-size: 15px; }
  .fc-vis { min-height: 0; padding: 20px 18px; border-radius: 14px; }
  .term, .json { font-size: 12.5px; }
  .vers { gap: 12px; font-size: 14px; }
  .how-steps { gap: 56px; }
  .mk-body { min-height: 0; padding: 18px 16px; }
  .mk-code .mk-body { font-size: 11.5px; }
  .gal { padding: 16px 0 30px; }
  .gal-plane, .gal-row { gap: 12px; }
  .ex { width: 256px; gap: 10px; padding: 18px; }
  .ex p { font-size: 14px; }
  .faq summary { gap: 12px; font-size: 16px; }
  .faq-i { width: 22px; }
  .faq-a p { padding: 0 8px 20px 34px; }
  .fin { margin-top: 100px; padding: 110px var(--gut) 100px; }
  .fin-cta .btn-lg { width: 100%; }
  .ftr-col a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv, [data-seq] > *, .mk-user span, .mk-ln, .mk-new, .mk-ok { opacity: 1; transform: none; filter: none; transition: none; }
  .mk-run { display: none; }
  .odo-c > span { transform: translateY(calc(var(--n) * -1em)); transition: none; }
  .hx-aura, .hx-box::before, .hx-box::after, .hx-caret { animation: none; }
  .stage { transform: none; }
}
