/* Ressac : « la marée de nuit ». */

:root {
  --nuit: #060A12;
  --nuit-2: #0B111D;
  --nuit-3: #121A2A;
  --ligne: rgba(190, 205, 240, .10);
  --ligne-2: rgba(190, 205, 240, .18);
  --texte: #EDF0F6;
  --gris: #A3ACBE;
  --gris-2: #6E788D;
  --ambre: #FFB547;
  --ambre-clair: #FFD58F;
  --ambre-fonce: #F0812C;
  --ambre-texte: #A84A0C;
  --papier: #F6F5F1;
  --papier-2: #FFFFFF;
  --encre: #0A0F1A;
  --encre-2: #4B5264;
  --trait: #E3E1DA;
  --corail: #FF6F61;
  --bleu: #82A9FF;
  --vert-test: #6FD3A4;

  --f: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Fragment Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --r-btn: 12px;
  --r-win: 18px;
  --r-card: 20px;
  --container: 1200px;
  --gutter: 32px;
  --section: clamp(88px, 10vw, 136px);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --glow: 0 10px 30px -10px rgba(240, 129, 44, .7), 0 0 24px rgba(255, 181, 71, .30);
  --glow-hi: 0 16px 44px -10px rgba(240, 129, 44, .85), 0 0 40px rgba(255, 181, 71, .45), 0 0 80px rgba(255, 181, 71, .18);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--texte);
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code, pre { font-family: var(--mono); }
pre { margin: 0; }
::selection { background: rgba(255, 181, 71, .35); color: inherit; }
:focus-visible { outline: 2px solid var(--ambre); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ambre); color: var(--encre); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typographie ---------- */
.h1, .h2 {
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h1 { font-size: clamp(40px, 6.2vw, 84px); line-height: 1.02; }
.h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.06; }
.h2-xl { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; }
.h1 em, .h2 em { font-style: italic; font-weight: 600; color: var(--ambre); }
.papier .h2 em { color: var(--ambre-texte); }
.h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.lede { font-size: 19px; line-height: 1.55; color: var(--gris); max-width: 640px; }
.sec-lede { font-size: 18px; line-height: 1.55; color: var(--gris); max-width: 520px; }
.papier .sec-lede { color: var(--encre-2); }

/* mots qui montent */
.split .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(3deg); transform-origin: 0 100%;
  transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.split.in .w { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Étiquettes ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500; line-height: 1;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--ligne-2); color: var(--texte);
  box-shadow: inset 0 0 0 1px rgba(255, 181, 71, .06), 0 0 18px rgba(255, 181, 71, .06);
}
.pill-light { background: var(--papier-2); border-color: var(--trait); color: var(--encre-2); box-shadow: 0 1px 2px rgba(10, 15, 26, .04); padding-left: 14px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ambre); box-shadow: 0 0 0 3px rgba(255, 181, 71, .18), 0 0 10px rgba(255, 181, 71, .8); flex: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 22px; border-radius: var(--r-btn);
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-lg { height: 56px; padding: 0 26px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-ambre {
  color: var(--encre);
  background: linear-gradient(180deg, var(--ambre-clair) 0%, var(--ambre) 45%, var(--ambre-fonce) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(120, 50, 0, .25), var(--glow);
}
.btn-ambre:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(120, 50, 0, .25), var(--glow-hi); }
.btn-ghost { background: rgba(11, 17, 29, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--ligne-2); color: var(--texte); }
.btn-ghost:hover { background: rgba(28, 38, 58, .85); border-color: rgba(255, 255, 255, .3); }
.btn-encre { background: var(--encre); color: #fff; }
.btn-encre:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -12px rgba(240, 129, 44, .6), 0 0 22px rgba(255, 181, 71, .2); }
.btn-trait { border: 1.5px solid var(--trait); color: var(--encre); background: var(--papier-2); }
.btn-trait:hover { background: #EEECE6; }

/* commande à copier */
.cmd {
  display: inline-flex; align-items: center; gap: 12px;
  height: 48px; padding: 0 6px 0 18px; border-radius: 999px;
  background: rgba(11, 17, 29, .7); border: 1px solid var(--ligne-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 14px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.cmd:hover { border-color: rgba(255, 181, 71, .5); box-shadow: 0 0 24px rgba(255, 181, 71, .12); }
.cmd-p { font-family: var(--mono); color: var(--ambre); }
.cmd code { color: var(--texte); }
.cmd-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--gris); background: rgba(255, 255, 255, .05); border: 1px solid var(--ligne); transition: color .2s, background-color .2s; }
.cmd-btn:hover { color: var(--texte); background: rgba(255, 255, 255, .1); }
.cmd-btn.is-done { color: var(--ambre); }

.kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px; font-family: var(--mono); font-size: 11px; color: var(--gris);
  background: linear-gradient(180deg, #172033, #0F1624); border: 1px solid var(--ligne-2); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .4); }

/* ---------- En-tête ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: 64px;
  background: rgba(6, 10, 18, .72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--ligne); }
.top-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name { font-size: 21px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.brand-mark { filter: drop-shadow(0 0 10px rgba(255, 181, 71, .25)); }
.nav { display: flex; gap: 30px; margin: 0 auto; }
.nav a { position: relative; font-size: 15px; font-weight: 500; color: var(--gris); padding: 6px 0; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--ambre-clair), var(--ambre-fonce)); box-shadow: 0 0 10px rgba(255, 181, 71, .6); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--texte); }
.nav a:hover::after { transform: scaleX(1); }
.top-actions { display: flex; align-items: center; gap: 22px; }
.top-login { font-size: 15px; font-weight: 500; color: var(--gris); transition: color .2s; }
.top-login:hover { color: var(--texte); }

/* ---------- Sections ---------- */
.nuit { position: relative; background: var(--nuit); color: var(--texte); isolation: isolate; }
.nuit::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .05; pointer-events: none; mix-blend-mode: overlay; }
.sec { padding: var(--section) 0; overflow: hidden; }
.sec-glow { position: absolute; z-index: -1; left: 50%; top: -220px; width: 1100px; height: 520px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 181, 71, .13), rgba(80, 110, 190, .08) 55%, transparent); pointer-events: none; }
.sec-glow-l { left: 20%; top: auto; bottom: -260px; }

.papier { position: relative; background: var(--papier); color: var(--encre); padding: var(--section) 0; }
.papier-suite { padding-top: 0; }
/* coutures lumineuses */
.seam-top::before, .seam-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 181, 71, .15) 18%, rgba(255, 196, 110, .95) 50%, rgba(255, 181, 71, .15) 82%, transparent 100%);
  box-shadow: 0 0 22px 2px rgba(255, 181, 71, .45);
}
.seam-top::before { top: -1px; }
.seam-bottom::after { bottom: -1px; }

.sec-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: 64px; }
.sec-head.center { align-items: center; text-align: center; }
.sec-head.center .h2 { max-width: 880px; }
.sec-head.center .sec-lede { max-width: 620px; }
.split-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; }
.split-head > div { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; max-width: 680px; }
.split-head .sec-lede { padding-bottom: 8px; }

/* ---------- Haut de page ---------- */
.hero { padding: 148px 0 0; overflow: hidden; }
.hero-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(60, 85, 150, .30), transparent 70%),
    radial-gradient(70% 45% at 50% 74%, rgba(240, 129, 44, .30), rgba(120, 70, 60, .12) 45%, transparent 75%),
    linear-gradient(180deg, #060A12 0%, #08101E 55%, #0B1322 100%);
}
.halo { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform, opacity; }
.halo-1 { width: 620px; height: 620px; left: -180px; top: 80px; background: radial-gradient(closest-side, rgba(70, 105, 200, .55), transparent); animation: orb 18s var(--ease-io) infinite alternate, breathe 9s ease-in-out infinite; }
.halo-2 { width: 760px; height: 520px; right: -220px; top: 260px; background: radial-gradient(closest-side, rgba(255, 160, 70, .32), transparent); animation: orb 22s var(--ease-io) -6s infinite alternate-reverse, breathe 9s ease-in-out -3s infinite; }
.halo-3 { width: 900px; height: 360px; left: 50%; margin-left: -450px; top: 58%; background: radial-gradient(closest-side, rgba(255, 190, 110, .30), transparent); animation: breathe 7s ease-in-out -2s infinite; }
@keyframes orb { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, -30px, 0) scale(1.06); } }
@keyframes breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(0, 0, 0, .35) 100%); }

/* houle : lignes de trafic générées par main.js */
.houle { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.houle-row { position: absolute; left: 0; width: 200%; display: flex; will-change: transform; animation: houle var(--dur, 60s) linear infinite; }
.houle-row svg { width: 50%; height: auto; flex: none; overflow: visible; }
@keyframes houle { to { transform: translate3d(-50%, 0, 0); } }

.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.hero .h1 { max-width: 980px; text-shadow: 0 0 40px rgba(6, 10, 18, .6); }
.hero .h1 em { padding-right: .04em;
  background: linear-gradient(180deg, #FFE2AE 10%, var(--ambre) 55%, var(--ambre-fonce) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 181, 71, .35)); }
.hero .lede { color: #C3CADA; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero-note { font-size: 14px; color: var(--gris); margin-top: -12px; }

.hero-a, .hero-b, .hero-c, .hero-d, .hero-e { animation: rise 1s var(--ease) both; }
.hero-a { animation-delay: .15s; } .hero-b { animation-delay: .3s; } .hero-c { animation-delay: .5s; } .hero-d { animation-delay: .65s; } .hero-e { animation-delay: .8s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.hero-win-wrap { margin-top: 72px; perspective: 1600px; }
.hero-win { animation: winIn 1.4s var(--ease) .9s both; transform-origin: 50% 0; }
@keyframes winIn { from { opacity: 0; transform: translateY(60px) rotateX(14deg) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Fenêtre d'application ---------- */
.win { position: relative; background: var(--nuit-2); border: 1px solid var(--ligne-2); border-radius: var(--r-win);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 120px -40px rgba(0, 0, 0, .85), 0 30px 90px -50px rgba(255, 160, 70, .45); }
.hero-win { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.hero-win::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, transparent, var(--nuit)); pointer-events: none; }
.win-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--ligne); font-size: 13px; color: var(--gris-2); }
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #202A3D; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.win-title { font-family: var(--mono); font-size: 12.5px; margin: 0 auto; color: var(--gris); }
.win-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--gris); }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--ambre); box-shadow: 0 0 8px rgba(255, 181, 71, .9); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

.win-body { display: grid; grid-template-columns: 236px minmax(0, 1fr) 262px; }
.win-side, .win-vars { padding: 14px 12px; font-size: 13px; }
.win-side { border-right: 1px solid var(--ligne); display: flex; flex-direction: column; }
.win-vars { border-left: 1px solid var(--ligne); padding: 14px 16px; }
.side-head { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--gris); padding: 2px 6px 12px; }
.side-count { font-family: var(--mono); font-size: 11px; font-weight: 400; padding: 2px 7px; border-radius: 6px; background: rgba(255, 111, 97, .14); color: var(--corail); }
.inc-list { display: flex; flex-direction: column; gap: 3px; }
.inc { display: grid; grid-template-columns: auto 1fr auto; column-gap: 8px; row-gap: 3px; padding: 9px 10px; border-radius: 10px; color: var(--gris); border: 1px solid transparent; }
.inc .m, .trace-req .m { font-family: var(--mono); font-size: 10.5px; color: var(--gris-2); align-self: center; }
.inc .p { font-family: var(--mono); font-size: 12px; color: var(--texte); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inc .t { grid-column: 2 / 4; font-size: 11.5px; color: var(--gris-2); }
.s { font-family: var(--mono); font-size: 11px; padding: 1px 6px; border-radius: 5px; align-self: center; }
.s-err { color: var(--corail); background: rgba(255, 111, 97, .12); }
.s-warn { color: var(--ambre); background: rgba(255, 181, 71, .12); }
.inc.is-active { background: var(--nuit-3); border-color: var(--ligne-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.side-foot { margin-top: auto; display: flex; align-items: center; gap: 5px; padding: 12px 6px 0; font-size: 12px; color: var(--gris-2); }
.side-foot span:last-child { margin-left: 4px; }

.win-main { display: flex; flex-direction: column; min-width: 0; }
.trace-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px 12px; }
.trace-req { font-family: var(--mono); font-size: 14px; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.trace-req .m { font-size: 12px; color: var(--ambre); }
.trace-meta { font-family: var(--mono); font-size: 12px; color: var(--gris-2); white-space: nowrap; }
.trace { position: relative; margin: 0 20px; padding-bottom: 6px; --lab: 200px; --dur: 64px; }
.trace-scale { display: flex; justify-content: space-between; margin-left: var(--lab); margin-right: var(--dur); padding: 0 0 8px; border-bottom: 1px solid var(--ligne); font-family: var(--mono); font-size: 10.5px; color: var(--gris-2); }
.trace-rows { display: flex; flex-direction: column; padding-top: 6px; }
.tr { display: grid; grid-template-columns: var(--lab) 1fr var(--dur); align-items: center; height: 34px; border-radius: 8px; transition: background-color .3s var(--ease); }
.tl { font-family: var(--mono); font-size: 12px; color: var(--gris-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 10px 0 8px; transition: color .3s var(--ease); }
.td { font-family: var(--mono); font-size: 11.5px; color: var(--gris-2); text-align: right; padding-right: 8px; transition: color .3s var(--ease); }
.tb-track { position: relative; height: 100%; }
.tb { position: absolute; top: 50%; left: var(--x); width: var(--w); min-width: 4px; height: 12px; margin-top: -6px; border-radius: 4px;
  background: rgba(190, 205, 240, .16); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.tb-root { height: 6px; margin-top: -3px; background: rgba(190, 205, 240, .12); }
.tr.on .tl, .tr.on .td { color: var(--texte); }
.tr.on .tb { background: linear-gradient(180deg, var(--ambre-clair), var(--ambre-fonce)); box-shadow: 0 0 14px rgba(255, 181, 71, .45); }
.tr.on .tb-root { background: rgba(255, 181, 71, .35); box-shadow: none; }
.tr-ext.on .tb { background: linear-gradient(180deg, #A9C3FF, #5C86F0); box-shadow: 0 0 14px rgba(130, 169, 255, .45); }
.tr-ext.on .tl { color: #B9CCFF; }
.tr-err.on { background: rgba(255, 111, 97, .08); }
.tr-err.on .tl, .tr-err.on .td { color: var(--corail); }
.tr-err.on .tb { background: var(--corail); box-shadow: 0 0 16px rgba(255, 111, 97, .6); }
.tb-x { position: absolute; top: 50%; left: calc(79% + 8px); transform: translateY(-50%); font-family: var(--mono); font-size: 10.5px; color: var(--corail); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.tr-err.on .tb-x { opacity: 1; }
.playhead { position: absolute; top: 0; bottom: 0; left: var(--lab); right: var(--dur); pointer-events: none; }
.playhead span { position: absolute; top: -4px; bottom: 0; left: 0; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--ambre);
  box-shadow: 0 0 10px rgba(255, 181, 71, .9), 0 0 30px rgba(255, 181, 71, .5); will-change: transform; transform: translateX(0); }
.playhead span::before { content: ""; position: absolute; top: 0; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 3px; transform: rotate(45deg); background: var(--ambre-clair); }

.term { margin: 14px 20px 0; padding: 14px 16px 44px; min-height: 172px; border-top: 1px solid var(--ligne); font-family: var(--mono); font-size: 12.5px; line-height: 1.85; color: var(--gris); }
.term-l { opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-l.on { opacity: 1; transform: none; }
.term .l1 { color: var(--texte); }
.pr { color: var(--ambre); }
.c-mute { color: var(--gris-2); }
.c-err { color: var(--corail); }
.c-amb { color: var(--ambre); }
.l4 { color: var(--texte); }
.caret { display: inline-block; width: 7px; height: 14px; margin-left: 4px; vertical-align: -2px; background: var(--ambre); animation: blink 1s steps(1) infinite; }

.vars { font-size: 12px; line-height: 1.75; color: var(--gris); padding: 2px 6px; white-space: pre; overflow: hidden; }
.k { color: #C9D3EA; }
.v { color: var(--ambre-clair); }
.v-hot { color: var(--corail); }
.mask { color: var(--gris-2); background: rgba(190, 205, 240, .08); border-radius: 4px; padding: 0 4px; }
.vars-frozen { margin-top: 14px; padding: 10px 6px 0; border-top: 1px solid var(--ligne); display: flex; flex-direction: column; gap: 8px; }
.vars-frozen div { display: grid; grid-template-columns: 13px 1fr auto; gap: 8px; align-items: center; font-size: 12px; color: var(--gris-2); }
.vars-frozen svg { color: var(--ambre); }
.vars-frozen b { font-family: var(--mono); font-weight: 400; color: var(--texte); font-size: 11.5px; }
.vars-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 0 6px; font-size: 12px; color: var(--gris); }

/* ---------- Preuve : logos clients et chiffres ---------- */
.hero-note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; }
.hero-note b { color: var(--texte); font-weight: 600; }
.stars { color: var(--ambre); letter-spacing: 2px; font-size: 14px; text-shadow: 0 0 12px rgba(255, 181, 71, .45); }
.sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gris-2); }
.stack { padding: 56px 0 var(--section); overflow: hidden; }
.stack-t { text-align: center; font-size: 15px; color: var(--gris); margin-bottom: 30px; padding: 0 20px; }
.stack-t b { color: var(--texte); font-weight: 600; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; flex: none; align-items: center; }
.marquee-list li { display: flex; align-items: center; gap: 9px; margin-right: 64px; height: 40px; white-space: nowrap; color: #8F99AE; font-size: 22px; line-height: 1; transition: color .3s; }
.marquee-list li:hover { color: var(--texte); }
.lg-mark { flex: none; display: inline-block; width: 18px; height: 18px; background: currentColor; }
.lg-a { font-weight: 700; letter-spacing: -0.04em; } .lg-a .lg-mark { clip-path: polygon(50% 0, 100% 30%, 100% 75%, 50% 100%, 0 75%, 0 30%); }
.lg-b { font-weight: 500; font-style: italic; letter-spacing: -0.02em; font-size: 24px; } .lg-b .lg-mark { border-radius: 50%; width: 10px; height: 10px; box-shadow: 9px 0 0 currentColor, 4.5px -8px 0 currentColor; margin-right: 10px; }
.lg-c { font-weight: 600; letter-spacing: .02em; font-size: 18px; } .lg-c .lg-mark { width: 4px; height: 22px; transform: skewX(-18deg); box-shadow: 7px 0 0 currentColor; margin-right: 8px; }
.lg-d { font-family: var(--mono); font-size: 20px; letter-spacing: -0.04em; } .lg-d .lg-mark { border-radius: 4px 4px 50% 50%; }
.lg-e { font-weight: 600; letter-spacing: -0.03em; } .lg-e .lg-mark { border-radius: 50% 50% 50% 0; }
.lg-f { font-weight: 400; letter-spacing: -0.01em; font-size: 24px; } .lg-f .lg-mark { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.lg-g { font-weight: 700; letter-spacing: .06em; font-size: 17px; } .lg-g .lg-mark { border-radius: 3px; transform: rotate(45deg) scale(.8); }
.lg-h { font-weight: 600; font-style: italic; letter-spacing: -0.04em; } .lg-h .lg-mark { border-radius: 50%; background: none; border: 3px solid currentColor; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 64px 0 0; border: 1px solid var(--ligne); border-radius: var(--r-card); background: linear-gradient(180deg, rgba(18, 26, 42, .55), rgba(11, 17, 29, .3)); overflow: hidden; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 30px 28px; border-left: 1px solid var(--ligne); }
.stat:first-child { border-left: 0; }
.stat dd { margin: 0; font-size: clamp(40px, 4.4vw, 58px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--texte); font-variant-numeric: tabular-nums; }
.stat:nth-child(2) dd { color: var(--ambre); text-shadow: 0 0 30px rgba(255, 181, 71, .35); }
.stat dt { font-size: 14.5px; line-height: 1.45; color: var(--gris); max-width: 200px; }

/* ---------- Avis ---------- */
.avis { padding: var(--section) 0; overflow: hidden; border-top: 1px solid var(--ligne); }
.avis .sec-lede { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; }
.q-rows { display: flex; flex-direction: column; gap: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.q-row { overflow: hidden; }
.q-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.q-row-rev .q-track { animation-direction: reverse; animation-duration: 64s; }
.q-rows:hover .q-track { animation-play-state: paused; }
.q-set { display: flex; gap: 20px; padding-right: 20px; flex: none; }
.quote { margin: 0; width: 380px; flex: none; display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--r-card); background: linear-gradient(180deg, #0F1726, var(--nuit-2)); border: 1px solid var(--ligne);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); transition: border-color .4s var(--ease); }
.q-set .quote:nth-child(3n+2) { width: 320px; }
.q-set .quote:nth-child(4n+3) { width: 440px; }
.quote:hover { border-color: rgba(255, 181, 71, .4); }
.q-stars { color: var(--ambre); letter-spacing: 2px; font-size: 13px; }
.quote blockquote { margin: 0; }
.quote p { font-size: 16px; line-height: 1.55; color: #D7DCE7; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.q-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12.5px; color: var(--ambre-clair); background: radial-gradient(circle at 30% 25%, #26324C, #121A2A); border: 1px solid var(--ligne-2); flex: none; }
.q-who { display: flex; flex-direction: column; font-size: 13.5px; line-height: 1.35; color: var(--gris); }
.q-who b { font-size: 14.5px; color: var(--texte); font-weight: 600; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; display: flex; flex-direction: column; border-radius: var(--r-card); padding: 14px; color: var(--texte);
  background: radial-gradient(120% 80% at 50% 0%, #16213A 0%, #0A1020 55%, var(--nuit) 100%);
  border: 1px solid rgba(10, 15, 26, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 80px -40px rgba(10, 15, 26, .65), 0 20px 60px -40px rgba(240, 129, 44, .35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 0 0 1px rgba(255, 181, 71, .35), 0 40px 90px -40px rgba(10, 15, 26, .7), 0 0 50px -10px rgba(255, 181, 71, .3); }
.screen { position: relative; aspect-ratio: 16 / 11.5; border-radius: 14px; background: rgba(6, 10, 18, .7); border: 1px solid var(--ligne); padding: 14px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.scr-top { display: flex; justify-content: space-between; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-family: var(--mono); font-size: 11px; color: var(--gris); background: rgba(255, 255, 255, .04); border: 1px solid var(--ligne); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-amb { color: var(--ambre); border-color: rgba(255, 181, 71, .3); background: rgba(255, 181, 71, .08); }
.chip-new { color: var(--ambre-clair); border-color: rgba(255, 181, 71, .3); flex: none; }
.code-mini { font-size: 12px; line-height: 1.8; color: #C9D3EA; white-space: pre; overflow: hidden; }
.code-mini .n, .code .n { color: #3E4860; display: inline-block; width: 14px; }
.kw { color: #C9A2FF; }
.st { color: var(--ambre-clair); }
.fn { color: #9CC1FF; }
.nb { color: #FFA27A; }
.cm { color: var(--gris-2); font-style: italic; }

.flow { position: relative; height: 2px; margin: auto 0 0; background: linear-gradient(90deg, transparent, rgba(255, 181, 71, .2), transparent); border-radius: 2px; }
.flow span { position: absolute; top: -2px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--ambre); box-shadow: 0 0 10px var(--ambre); animation: flow 2.6s linear infinite; }
.flow span:nth-child(2) { animation-delay: -.5s; } .flow span:nth-child(3) { animation-delay: -1.1s; } .flow span:nth-child(4) { animation-delay: -1.6s; } .flow span:nth-child(5) { animation-delay: -2.2s; }
@keyframes flow { 0% { transform: translateX(0); opacity: 0; } 10%, 85% { opacity: 1; } 100% { transform: translateX(min(340px, 80vw)); opacity: 0; } }
.counter { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 10px; border-top: 1px solid var(--ligne); }
.counter-l { font-size: 12px; color: var(--gris-2); }
.counter b { font-family: var(--mono); font-weight: 400; font-size: 20px; color: var(--texte); letter-spacing: -0.02em; }

.mini-term { font-family: var(--mono); font-size: 12px; line-height: 1.8; color: #C9D3EA; display: flex; flex-direction: column; gap: 4px; }
.rp { margin-top: 6px; }
.rp b { font-weight: 400; color: var(--ambre); }
.rp-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.rp-bar span { display: block; height: 100%; width: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--ambre-fonce), var(--ambre-clair)); transform-origin: 0 50%; animation: fill 6s var(--ease-io) infinite; }
@keyframes fill { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
.rp-steps { display: flex; gap: 6px; margin: 4px 0 2px; }
.rp-steps i { flex: 1; height: 16px; border-radius: 4px; background: rgba(255, 181, 71, .16); animation: stepOn 6s infinite; }
.rp-steps i:nth-child(1) { animation-delay: 0s; } .rp-steps i:nth-child(2) { animation-delay: .5s; } .rp-steps i:nth-child(3) { animation-delay: 1s; } .rp-steps i:nth-child(4) { animation-delay: 1.5s; }
.rp-steps i:nth-child(5) { animation-delay: 2s; } .rp-steps i:nth-child(6) { animation-delay: 2.5s; } .rp-steps i:nth-child(7) { animation-delay: 3s; } .rp-steps i:nth-child(8) { animation-delay: 3.5s; }
.rp-steps i.x { background: rgba(255, 111, 97, .55); }
@keyframes stepOn { 0% { opacity: .25; } 6%, 90% { opacity: 1; } 100% { opacity: .25; } }
.rp-out, .rp-out2 { animation: lineIn 6s infinite; }
.rp-out { animation-delay: 0s; }
@keyframes lineIn { 0%, 30% { opacity: 0; } 38%, 96% { opacity: 1; } 100% { opacity: 0; } }

.code-gen { white-space: normal; }
.code-gen .g { white-space: pre; display: block; animation: genIn 7s infinite both; }
.code-gen .g:nth-child(1) { animation-delay: 0s; } .code-gen .g:nth-child(2) { animation-delay: .35s; } .code-gen .g:nth-child(3) { animation-delay: .7s; } .code-gen .g:nth-child(4) { animation-delay: 1.05s; } .code-gen .g:nth-child(5) { animation-delay: 1.4s; }
@keyframes genIn { 0% { opacity: 0; transform: translateX(-6px); } 6%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.stackcalls { margin-top: auto; display: flex; flex-direction: column; gap: 4px; padding-top: 10px; border-top: 1px solid var(--ligne); font-size: 11.5px; }
.sc { display: flex; justify-content: space-between; gap: 10px; padding: 3px 8px; border-radius: 6px; color: var(--gris); }
.sc b { font-weight: 400; color: #C9D3EA; }
.sc span { color: var(--gris-2); }
.sc.on { background: rgba(255, 181, 71, .08); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, .25); }
.sc.on b { color: var(--ambre-clair); }
.ci-line { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(111, 211, 164, .07); border: 1px solid rgba(111, 211, 164, .22); font-size: 12.5px; color: #CFEFE0; animation: lineIn 7s infinite; }
.ci-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vert-test); box-shadow: 0 0 10px rgba(111, 211, 164, .8); }
.ci-t { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--gris); }

.step-txt { padding: 22px 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.step-n code { font-size: 13px; color: var(--ambre); }
.checks { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.checks li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.45; color: #C3CADA; }
.checks svg { color: var(--ambre); margin-top: 3px; }

/* ---------- Tuiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 26px; padding: 28px; border-radius: var(--r-card); background: linear-gradient(180deg, #0D1422, var(--nuit-2)); border: 1px solid var(--ligne);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); transition: border-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease); overflow: hidden; }
.tile:hover { border-color: rgba(255, 181, 71, .42); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 40px rgba(255, 181, 71, .10), 0 0 90px rgba(255, 181, 71, .06); }
.tile-wide { grid-column: span 2; flex-direction: row; align-items: stretch; }
.tile-wide .tile-txt { flex: 0 0 34%; }
.tile-full { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 40px; }
.tile-full .tile-txt { flex: 0 0 32%; }
.tile-txt { display: flex; flex-direction: column; gap: 10px; }
.tile-txt p { font-size: 15.5px; line-height: 1.55; color: var(--gris); }

.scrub { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 18px; border-radius: 14px; background: rgba(6, 10, 18, .6); border: 1px solid var(--ligne); }
.scrub-label { font-size: 13px; color: var(--gris); font-family: var(--mono); }
.scrub-label b { color: var(--ambre); font-weight: 400; }
.scrub-ui { position: relative; display: flex; flex-direction: column; gap: 12px; }
.scrub-range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; }
.scrub-range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ambre-fonce), var(--ambre) var(--p, 100%), rgba(255, 255, 255, .08) var(--p, 100%)); }
.scrub-range::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ambre-fonce), var(--ambre) var(--p, 100%), rgba(255, 255, 255, .08) var(--p, 100%)); }
.scrub-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--ambre-clair); border: 3px solid var(--nuit); box-shadow: 0 0 0 1px var(--ambre), 0 0 18px rgba(255, 181, 71, .8); }
.scrub-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ambre-clair); border: 3px solid var(--nuit); box-shadow: 0 0 0 1px var(--ambre), 0 0 18px rgba(255, 181, 71, .8); }
.scrub-range:focus-visible { outline: none; }
.scrub-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--ambre), 0 0 18px rgba(255, 181, 71, .8); }
.scrub-ticks { display: flex; justify-content: space-between; padding: 0 9px; margin-top: -6px; }
.scrub-ticks i { width: 1px; height: 6px; background: var(--ligne-2); }
.scrub-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12.5px; }
.scrub-table th { text-align: left; font-weight: 400; color: var(--gris-2); padding: 0 0 8px; border-bottom: 1px solid var(--ligne); font-size: 11.5px; }
.scrub-table td { padding: 7px 0; border-bottom: 1px solid rgba(190, 205, 240, .06); color: #C9D3EA; }
.scrub-table td:last-child { text-align: right; color: var(--ambre-clair); transition: opacity .25s; }
.scrub-table td.is-hot { color: var(--corail); }
.scrub-table td.is-none { color: var(--gris-2); }
.scrub-table tr:last-child td { border-bottom: 0; }

.maskdemo { position: relative; margin-top: auto; padding: 16px; border-radius: 14px; background: rgba(6, 10, 18, .6); border: 1px solid var(--ligne); font-family: var(--mono); font-size: 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.md-row { display: flex; justify-content: space-between; gap: 10px; }
.md-swap { position: relative; display: grid; text-align: right; }
.md-swap > span { grid-area: 1 / 1; white-space: nowrap; }
.md-a { color: var(--ambre-clair); animation: mdA 6s var(--ease-io) infinite; }
.md-b { color: var(--gris); animation: mdB 6s var(--ease-io) infinite; }
@keyframes mdA { 0%, 35% { opacity: 1; } 45%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes mdB { 0%, 35% { opacity: 0; } 45%, 90% { opacity: 1; } 100% { opacity: 0; } }
.md-sweep { position: absolute; top: 0; bottom: 0; left: 0; width: 60px; background: linear-gradient(90deg, transparent, rgba(255, 181, 71, .25), transparent); animation: sweep 6s var(--ease-io) infinite; pointer-events: none; }
@keyframes sweep { 0%, 28% { transform: translateX(-80px); opacity: 0; } 32% { opacity: 1; } 46% { transform: translateX(380px); opacity: 0; } 100% { transform: translateX(380px); opacity: 0; } }

.frozen { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.frozen li { display: grid; grid-template-columns: 1fr auto 13px; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(6, 10, 18, .6); border: 1px solid var(--ligne); font-size: 12px; }
.frozen code { color: #9CC1FF; }
.frozen b { font-family: var(--mono); font-weight: 400; color: var(--texte); }
.frozen svg { color: var(--ambre); }

.diff { margin-top: auto; padding: 14px 0; white-space: normal; border-radius: 14px; background: rgba(6, 10, 18, .6); border: 1px solid var(--ligne); font-size: 12px; line-height: 1.9; overflow: hidden; }
.diff > span { display: block; padding: 0 14px; white-space: pre; }
.d-ctx { color: var(--gris-2); }
.d-ctx b { color: var(--texte); font-weight: 400; }
.d-del { color: var(--corail); background: rgba(255, 111, 97, .08); }
.d-add { color: var(--ambre-clair); background: rgba(255, 181, 71, .08); }

.palette { margin-top: auto; border-radius: 14px; background: rgba(6, 10, 18, .6); border: 1px solid var(--ligne); padding: 6px; font-size: 13px; }
.pal-in { display: flex; align-items: center; gap: 10px; padding: 10px 10px 12px; border-bottom: 1px solid var(--ligne); margin-bottom: 6px; color: var(--gris); }
.pal-q { color: var(--texte); font-family: var(--mono); font-size: 13px; }
.pal-c { width: 2px; height: 15px; background: var(--ambre); margin-left: -8px; animation: blink 1s steps(1) infinite; }
.pal-row { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 8px; color: var(--gris); }
.pal-row span:first-child { margin-right: auto; }
.pal-row.is-on { background: var(--nuit-3); color: var(--texte); box-shadow: inset 0 0 0 1px var(--ligne-2); }

.pipe { flex: 1; display: flex; align-items: center; gap: 0; min-width: 0; }
.pipe-step { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 12px; background: rgba(6, 10, 18, .6); border: 1px solid var(--ligne); }
.ps-i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ligne-2); color: var(--gris); }
.pipe-step.done .ps-i { color: var(--vert-test); border-color: rgba(111, 211, 164, .4); background: rgba(111, 211, 164, .08); }
.pipe-step.run { border-color: rgba(255, 181, 71, .45); box-shadow: 0 0 30px rgba(255, 181, 71, .12); }
.pipe-step.run .ps-i { color: var(--ambre); border-color: rgba(255, 181, 71, .5); }
.pipe-step.run .ps-i svg { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(-360deg); } }
.pipe-step.wait { opacity: .55; }
.ps-n { font-size: 14px; font-weight: 500; color: var(--texte); line-height: 1.3; }
.ps-t { font-family: var(--mono); font-size: 11.5px; color: var(--gris-2); }
.ps-bar { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.ps-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--ambre-fonce), var(--ambre-clair)); transform-origin: 0 50%; animation: fill 5s var(--ease-io) infinite; }
.pipe-link { flex: 0 0 28px; height: 2px; position: relative; background: var(--ligne-2); overflow: hidden; }
.pipe-link i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--ambre), transparent); animation: linkRun 2.2s linear infinite; }
@keyframes linkRun { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- Données ---------- */
.route { display: grid; grid-template-columns: 1fr 56px 1fr 56px 1fr 56px 1fr; align-items: stretch; margin-bottom: 56px; }
.node { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-card); background: var(--papier-2); border: 1px solid var(--trait);
  box-shadow: 0 1px 1px rgba(10, 15, 26, .03), 0 8px 16px -4px rgba(10, 15, 26, .05), 0 24px 48px -24px rgba(10, 15, 26, .12); }
.node-n { font-family: var(--mono); font-size: 12px; color: var(--encre-2); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--trait); background: var(--papier); }
.node-t { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.node p { font-size: 14.5px; line-height: 1.5; color: var(--encre-2); }
.node-c { margin-top: auto; padding-top: 12px; font-size: 12px; color: var(--encre); border-top: 1px dashed var(--trait); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node-key { background: var(--nuit); border-color: var(--nuit); color: var(--texte); box-shadow: 0 30px 70px -30px rgba(10, 15, 26, .55), 0 20px 50px -30px rgba(240, 129, 44, .5); }
.node-key p { color: var(--gris); }
.node-key .node-n { background: rgba(255, 181, 71, .12); border-color: rgba(255, 181, 71, .4); color: var(--ambre); }
.node-key .node-c { color: var(--ambre-clair); border-color: var(--ligne-2); }
.link { position: relative; align-self: center; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, #CFCBC0 0 4px, transparent 4px 8px); }
.pk { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--ambre-fonce); box-shadow: 0 0 10px rgba(240, 129, 44, .7); animation: pk 2.4s linear infinite; }
.pk:nth-child(2) { animation-delay: -.8s; } .pk:nth-child(3) { animation-delay: -1.6s; }
@keyframes pk { 0% { transform: translateX(-4px); opacity: 0; } 15%, 80% { opacity: 1; } 100% { transform: translateX(40px); opacity: 0; } }
.guar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--trait); padding-top: 36px; }
.g h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.g p { font-size: 15px; line-height: 1.55; color: var(--encre-2); }

/* ---------- Installation ---------- */
.install { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.install-txt { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.install-steps { display: flex; flex-direction: column; gap: 22px; margin-top: 12px; }
.install-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; }
.is-n { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-family: var(--mono); font-size: 14px; color: var(--ambre); background: rgba(255, 181, 71, .08); border: 1px solid rgba(255, 181, 71, .3); box-shadow: 0 0 18px rgba(255, 181, 71, .12); }
.install-steps h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.install-steps p { font-size: 15.5px; color: var(--gris); margin-top: 2px; }
.code-win { overflow: hidden; }
.tabs { display: flex; align-items: center; gap: 4px; padding: 8px; border-bottom: 1px solid var(--ligne); }
.tab { position: relative; height: 34px; padding: 0 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--gris); transition: color .2s, background-color .2s; }
.tab:hover { color: var(--texte); background: rgba(255, 255, 255, .04); }
.tab[aria-selected="true"] { color: var(--texte); background: var(--nuit-3); box-shadow: inset 0 0 0 1px var(--ligne-2); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -9px; height: 2px; border-radius: 2px; background: var(--ambre); box-shadow: 0 0 10px var(--ambre); }
.code-copy { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 8px; font-size: 13px; color: var(--gris); border: 1px solid var(--ligne); transition: color .2s, background-color .2s; }
.code-copy:hover { color: var(--texte); background: rgba(255, 255, 255, .05); }
.code-copy.is-done { color: var(--ambre); }
.code { padding: 22px 24px 26px; font-size: 13.5px; line-height: 1.75; color: #C9D3EA; white-space: pre; overflow-x: auto; min-height: 400px; animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Tarifs ---------- */
.toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: max-content; margin: -16px auto 48px; padding: 6px; border-radius: 999px; background: var(--papier-2); border: 1px solid var(--trait); box-shadow: 0 12px 30px -16px rgba(10, 15, 26, .25); }
.toggle button { position: relative; z-index: 1; height: 44px; padding: 0 22px; justify-content: center; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--encre-2); display: inline-flex; align-items: center; gap: 8px; transition: color .3s var(--ease); }
.toggle button[aria-checked="true"] { color: var(--encre); }
.toggle[data-p="a"] .toggle-knob { transform: translateX(100%); }
.toggle-gift { font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: 999px; background: rgba(240, 129, 44, .12); color: var(--ambre-texte); }
.toggle-knob { position: absolute; z-index: 0; top: 6px; left: 6px; height: 44px; border-radius: 999px; width: calc(50% - 6px); transition: transform .4s var(--ease);
  background: linear-gradient(180deg, var(--ambre-clair), var(--ambre) 50%, var(--ambre-fonce)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 22px -4px rgba(255, 181, 71, .7), 0 8px 20px -10px rgba(240, 129, 44, .8); }

.prices { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 20px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-card); overflow: hidden; }
.card { background: var(--papier-2); border: 1px solid var(--trait); box-shadow: 0 1px 1px rgba(10, 15, 26, .03), 0 8px 16px -4px rgba(10, 15, 26, .05), 0 24px 48px -24px rgba(10, 15, 26, .12); }
.price-hot { background: radial-gradient(120% 70% at 80% 0%, #1A2540 0%, var(--nuit-2) 55%, var(--nuit) 100%); color: var(--texte); border: 1px solid rgba(255, 181, 71, .4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 80px -36px rgba(10, 15, 26, .7), 0 30px 70px -40px rgba(240, 129, 44, .6); transform: translateY(-12px); }
.price-hot.reveal { transform: translateY(20px); }
.price-hot.reveal.in { transform: translateY(-12px); }
.price-glow { position: absolute; top: -110px; right: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 181, 71, .45), transparent); filter: blur(20px); pointer-events: none; }
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.price-badge { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 999px; color: var(--encre); background: linear-gradient(180deg, var(--ambre-clair), var(--ambre)); box-shadow: 0 0 18px -4px rgba(255, 181, 71, .8); }
.price-use { font-size: 15px; color: var(--encre-2); margin-top: 6px; }
.price-hot .price-use { color: var(--gris); }
.price-v { display: flex; align-items: baseline; gap: 8px; margin-top: 28px; }
.amount { display: inline-block; font-size: 60px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.amount.swap { opacity: 0; transform: translateY(8px); }
.ttc { font-size: 14px; font-weight: 500; color: var(--encre-2); }
.price-hot .ttc { color: var(--gris); }
.price-per { font-size: 14px; color: var(--encre-2); margin: 8px 0 26px; min-height: 22px; }
.price-hot .price-per { color: var(--gris); }
.price .checks { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--trait); }
.price-hot .checks { border-color: var(--ligne-2); }
.price .checks li { font-size: 15px; color: var(--encre); }
.price-hot .checks li { color: #D7DCE7; }
.card .checks svg { color: var(--ambre-texte); }
.price-foot { text-align: center; font-size: 14px; color: var(--encre-2); margin-top: 36px; }

/* ---------- Questions ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; max-width: 1080px; margin: 0 auto; }
.qa { padding: 28px 0; border-top: 1px solid var(--trait); }
.qa h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; margin-bottom: 10px; }
.qa p { font-size: 16px; line-height: 1.6; color: var(--encre-2); }

/* ---------- Appel final ---------- */
.final { padding: 160px 0 170px; overflow: hidden; text-align: center; }
.final-sky { background:
    radial-gradient(80% 60% at 50% 100%, rgba(240, 129, 44, .30), rgba(120, 70, 60, .10) 45%, transparent 75%),
    radial-gradient(70% 50% at 50% 0%, rgba(60, 85, 150, .25), transparent 70%),
    var(--nuit); }
.final-sky .houle { height: 60%; }
.final-sky .halo-3 { top: 62%; }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.final .h2 { max-width: 900px; }
.final .lede { color: #C3CADA; }

/* ---------- Pied de page ---------- */
.foot { padding: 72px 0 36px; border-top: 1px solid var(--ligne); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 16px; font-size: 15px; color: var(--gris); max-width: 320px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h2 { font-size: 14px; font-weight: 600; color: var(--texte); margin-bottom: 4px; }
.foot-col a { font-size: 15px; color: var(--gris); transition: color .2s; width: max-content; }
.foot-col a:hover { color: var(--ambre); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ligne); font-size: 13px; color: var(--gris); }
.fiction { color: var(--gris); }

/* boucles hors écran */
.is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* ---------- Tailles d'écran ---------- */
@media (max-width: 1180px) {
  .win-body { grid-template-columns: 210px minmax(0, 1fr); }
  .win-vars { display: none; }
  .nav { gap: 22px; }
}
@media (max-width: 1020px) {
  .nav, .top-login { display: none; }
  .top-actions { margin-left: auto; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: 1 / -1; }
  .tile-full { flex-direction: column; align-items: stretch; }
  .pipe { flex-wrap: wrap; gap: 10px; }
  .pipe-link { display: none; }
  .pipe-step { flex: 1 1 40%; }
  .route { grid-template-columns: 1fr 1fr; gap: 20px; }
  .link { display: none; }
  .guar { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .install { grid-template-columns: 1fr; gap: 48px; }
  .prices { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .price-hot, .price-hot.reveal.in { transform: none; order: -1; }
  .price-hot.reveal { transform: translateY(20px); }
  .split-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .faq { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--ligne); }
}
@media (max-width: 760px) {
  .win-side { display: none; }
  .win-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile-wide { flex-direction: column; }
  .tile-wide .tile-txt, .tile-full .tile-txt { flex: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .top { height: 60px; }
  .brand-name { font-size: 19px; }
  .hero { padding-top: 112px; }
  .hero-in { gap: 22px; }
  .lede { font-size: 17px; }
  .sec-lede { font-size: 16.5px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .cmd { width: 100%; justify-content: space-between; }
  .cmd code { margin-right: auto; }
  .hero-win-wrap { margin-top: 52px; padding: 0 12px; }
  .win-bar { padding: 0 12px; }
  .win-title { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .win-live { display: none; }
  .trace-head { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 14px 10px; }
  .trace { margin: 0 14px; --lab: 112px; --dur: 44px; }
  .tl { font-size: 10.5px; padding: 0 6px 0 4px; }
  .td { font-size: 10px; padding-right: 2px; }
  .tr { height: 30px; }
  .tb-x { display: none; }
  .term { margin: 12px 14px 0; padding: 12px 4px 36px; font-size: 11px; min-height: 190px; }
  .term-l { white-space: normal; }
  .halo { animation: none !important; filter: blur(60px); }
  .halo-1 { width: 90vw; height: 90vw; left: -30vw; }
  .halo-2 { width: 100vw; height: 80vw; right: -40vw; }
  .halo-3 { width: 110vw; margin-left: -55vw; }
  .stack { padding: 40px 0 var(--section); }
  .marquee-list li { font-size: 18px; margin-right: 40px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .stat { padding: 22px 18px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--ligne); }
  .stat dt { font-size: 13.5px; }
  .quote, .q-set .quote:nth-child(3n+2), .q-set .quote:nth-child(4n+3) { width: 290px; padding: 22px; }
  .quote p { font-size: 15px; }
  .hero-note .sep { display: none; }
  .sec-head { margin-bottom: 44px; }
  .step { padding: 10px; }
  .screen { padding: 12px; aspect-ratio: auto; min-height: 270px; }
  .step-txt { padding: 18px 8px 10px; }
  .tile { padding: 20px; gap: 20px; }
  .scrub { padding: 14px; }
  .scrub-table { font-size: 11.5px; }
  .pipe-step { flex: 1 1 100%; }
  .route { grid-template-columns: 1fr; }
  .guar { grid-template-columns: 1fr; }
  .code { font-size: 12px; padding: 18px 16px 22px; min-height: 0; }
  .tabs { flex-wrap: wrap; }
  .tab { padding: 0 10px; font-size: 13.5px; }
  .code-copy { padding: 0 10px; }
  .code-copy span { display: none; }
  .toggle { margin-bottom: 36px; width: 100%; max-width: 350px; }
  .toggle button { padding: 0 8px; font-size: 14px; gap: 6px; }
  .toggle-gift { font-size: 11px; padding: 3px 7px; }
  .price { padding: 24px; }
  .amount { font-size: 48px; }
  .qa { padding: 22px 0; }
  .final { padding: 120px 0 130px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; gap: 6px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .split .w, .reveal { opacity: 1 !important; transform: none !important; }
  .price-hot.reveal { transform: translateY(-12px) !important; }
  .houle-row { animation: none !important; }
  .term-l { opacity: 1; transform: none; }
  .md-a { opacity: 0; } .md-b { opacity: 1; }
}

/* ---------- FAQ classique (réponse qui s'ouvre au clic) ---------- */
.qa { padding: 0; }
.qa h3 { margin: 0; font-size: inherit; }
.qa-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left;
  font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; color: var(--encre); transition: color .25s; }
.qa-q:hover { color: var(--ambre-texte); }
.plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--trait); background: var(--papier-2);
  transition: transform .45s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -0.9px 0 0 -6px; border-radius: 2px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
.qa-q:hover .plus { border-color: rgba(168, 74, 12, .45); }
.qa-q[aria-expanded="true"] .plus { transform: rotate(135deg); background: var(--encre); border-color: var(--encre); color: var(--ambre-clair); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.qa-a.open { grid-template-rows: 1fr; }
.qa-in { overflow: hidden; min-height: 0; }
.qa-in p { padding: 0 54px 26px 0; opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.qa-a.open .qa-in p { opacity: 1; transform: none; transition-delay: .08s; }
.faq { align-items: start; }
@media (max-width: 640px) {
  .qa-q { font-size: 16.5px; padding: 20px 0; }
  .qa-in p { padding-right: 0; }
}
.qa-in { visibility: hidden; transition: visibility 0s linear .45s; }
.qa-a.open .qa-in { visibility: visible; transition: visibility 0s linear 0s; }
