@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #060A13;
  --bg-2: #0B1120;
  --surface: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #EDF0F7;
  --muted: #8E97AB;
  --blue: #2F6BFF;
  --blue-2: #6E9BFF;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.dot { color: var(--blue); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; border-radius: 8px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; }

/* ---------- Nav flottante ---------- */
.nav-shell { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.nav {
  max-width: 1080px; margin: 0 auto; height: 58px; padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(12, 18, 32, 0.6); border: 1px solid var(--line);
  border-radius: 16px; backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
}
.logo { font-weight: 800; font-size: 1.55rem; letter-spacing: -0.055em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); font-size: 0.94rem; transition: color .15s; }
.nav-links a:not(.btn):hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 0.98rem;
  text-decoration: none; white-space: nowrap; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .2s ease, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 0 0 1px rgba(110,155,255,.5) inset, 0 8px 30px -8px rgba(47,107,255,.7);
}
.btn-primary:hover { background: #3D76FF; box-shadow: 0 0 0 1px rgba(110,155,255,.7) inset, 0 10px 40px -8px rgba(47,107,255,.9); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; border-radius: 10px; }
.arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 0; text-align: center; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero-bg::after {
  content: ""; position: absolute; left: 50%; top: -260px; width: 1100px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(47,107,255,.28), rgba(47,107,255,.08) 55%, transparent);
  filter: blur(10px);
}

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04);
  font-size: 0.86rem; color: #C4CBDA; text-decoration: none;
}
.badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(47,107,255,.6); animation: ping 2.4s infinite; }
.badge b { color: var(--text); font-weight: 600; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47,107,255,.6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(47,107,255,0); } }

.hero h1 {
  margin: 28px auto 0; max-width: 980px;
  font-size: clamp(2.6rem, 6.4vw, 5.1rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700;
  background: linear-gradient(180deg, #FFFFFF 30%, #A9B2C6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .dot { -webkit-text-fill-color: var(--blue); }
.hero .sub { margin: 26px auto 0; max-width: 640px; font-size: 1.22rem; color: var(--muted); }
.hero .sub strong { color: var(--text); font-weight: 500; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

/* ---------- Connexions ---------- */
.flow { position: relative; max-width: 1080px; margin: 72px auto 0; aspect-ratio: 1080 / 250; }
.flow > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow .base { fill: none; stroke: rgba(255,255,255,.11); stroke-width: 1.2; }
.flow .pulse-line {
  fill: none; stroke: url(#pulseGrad); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 70 1100; stroke-dashoffset: 70;
  animation: travel 3.6s cubic-bezier(.55,.1,.35,1) infinite;
}
@keyframes travel { 0% { stroke-dashoffset: 70; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -1000; opacity: 0; } }
.flow .stem { stroke: url(#stemGrad); stroke-width: 1.5; }

.chip {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px 8px 8px; border-radius: 12px;
  background: rgba(14, 21, 38, .85); border: 1px solid var(--line-2);
  font-size: 0.9rem; font-weight: 500; color: #D3D9E6; white-space: nowrap;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6);
  animation: chipGlow 3.6s infinite;
}
.chip .ic {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(110,155,255,.28), rgba(47,107,255,.08)); border: 1px solid rgba(110,155,255,.25);
}
.chip svg { width: 16px; height: 16px; stroke: #B9CCFF; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes chipGlow { 0%, 100% { border-color: var(--line-2); } 6% { border-color: rgba(110,155,255,.7); } 22% { border-color: var(--line-2); } }

.node {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%);
  width: 18px; height: 18px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 6px rgba(47,107,255,.18), 0 0 40px 8px rgba(47,107,255,.55);
}
.node::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(110,155,255,.6);
  animation: ring 3.6s ease-out infinite; animation-delay: 2.6s;
}
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 60%, 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- Produit ---------- */
.stage { position: relative; max-width: 1160px; margin: 70px auto 0; perspective: 1800px; }
.stage::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 8%; height: 70%;
  background: radial-gradient(closest-side, rgba(47,107,255,.35), transparent); filter: blur(40px); z-index: -1;
}
.laptop { transform: rotateX(var(--tilt, 14deg)) scale(var(--scale, .96)); transform-origin: 50% 0; transition: transform .1s linear; will-change: transform; }
.screen {
  border-radius: 18px; padding: 10px; background: linear-gradient(180deg, #1A2234, #0E1422);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 50px 120px -30px rgba(0,0,0,.9), 0 -1px 0 rgba(255,255,255,.12) inset;
}
.screen img { border-radius: 10px; width: 100%; }
.base-bar {
  height: 16px; margin: 0 -3.5%; border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, #2A3348, #121828 70%); border: 1px solid rgba(255,255,255,.1); border-top: 0;
  position: relative;
}
.base-bar::after { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 6px; transform: translateX(-50%); background: #0B1020; border-radius: 0 0 8px 8px; }
.phone {
  position: absolute; right: -2%; bottom: -6%; width: 20%; min-width: 150px;
  padding: 7px; border-radius: 34px; background: #0E1422; border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.9), 0 0 0 6px rgba(6,10,19,.9);
  transform: translateY(var(--phone-y, 40px)); transition: transform .1s linear;
}
.phone img { border-radius: 27px; }
.stage-fade { height: 140px; margin-top: -140px; position: relative; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.demo-note { margin-top: 64px; font-size: 0.85rem; color: #646D82; }

/* ---------- Phrase + timeline (façon Butter) ---------- */
.bt { position: relative; height: 320vh; }
.bt-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.bt-inner { position: relative; height: 100%; }
.bt-sentence {
  position: absolute; left: 24px; right: 24px; top: 50%; margin: 0 auto; max-width: 1080px;
  transform: translateY(calc(-50% + var(--sy, 0px))); opacity: var(--so, 1);
  text-align: center; font-size: clamp(1.75rem, 4.2vw, 3.4rem); line-height: 1.24; letter-spacing: -0.035em; font-weight: 600;
}
.w { color: #283044; transition: color .3s ease; }
.w.on { color: var(--text); }
.bt-sentence .dot { transition: color .3s; }

.tile {
  display: inline-block; vertical-align: -0.14em; width: 1.12em; height: 1.12em; margin: 0 .06em;
  transform: rotate(var(--r, -6deg)); visibility: var(--tv, visible);
}
.tile .tool { width: 100%; height: 100%; border-radius: 26%; }

/* Tuile (même rendu en petit, en vol et posée) */
.tool {
  position: relative; display: grid; place-items: center; overflow: hidden;
  border-radius: 24%; background: var(--c, #1A2234);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -0.6em 1.4em rgba(0,0,0,.18), 0 .5em 1.4em -.6em rgba(0,0,0,.8);
}
.tool::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 80% at 28% 10%, rgba(255,255,255,.38), transparent 52%), linear-gradient(180deg, transparent 55%, rgba(0,0,0,.14));
}
.tool.light { background: linear-gradient(180deg, #FFFFFF, #E9EDF5); }
.tool.light::after { background: radial-gradient(120% 80% at 28% 10%, rgba(255,255,255,.9), transparent 50%), linear-gradient(180deg, transparent 60%, rgba(10,18,40,.07)); }
.tool svg { width: 50%; height: 50%; fill: #fff; position: relative; z-index: 1; }
.tool img { width: var(--iw, 74%); height: auto; position: relative; z-index: 1; }

.timeline {
  position: absolute; left: 24px; right: 24px; top: 50%; max-width: 1160px; margin: 0 auto;
  transform: translateY(calc(-50% + var(--ty, 70vh))); opacity: var(--to, 0);
  background: #0E1320; border: 1px solid var(--line-2); border-radius: 30px; padding: 20px 0 24px;
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.95), 0 1px 0 rgba(255,255,255,.06) inset;
}
.tl-top { display: flex; align-items: center; gap: 16px; padding: 0 22px; font-size: .88rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-play { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); display: grid; place-items: center; cursor: pointer; color: var(--text); }
.tl-play:hover { background: rgba(255,255,255,.09); }
.tl-play:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.tl-play svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; fill: none; }
.tl-play .i-play { display: none; fill: currentColor; }
.tl-play[aria-pressed="true"] .i-pause { display: none; }
.tl-play[aria-pressed="true"] .i-play { display: block; }
.tl-time b { color: var(--text); font-weight: 500; }
.tl-sep { width: 1px; height: 22px; background: var(--line-2); }
.tl-now b { color: var(--text); font-weight: 600; }
.tl-now i { font-style: normal; margin-left: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(47,107,255,.14); color: var(--blue-2); font-size: .8rem; }
.tl-ruler { position: relative; height: 34px; margin: 18px 22px 0; }
.tl-ticks { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; }
.tl-ticks span { width: 1px; height: 9px; background: rgba(255,255,255,.18); position: relative; }
.tl-ticks span.s { height: 0; background: none; }
.tl-ticks span.s::after { content: attr(data-s); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: .72rem; color: #9AA3B7; }
.tl-range { position: absolute; top: 3px; bottom: 3px; left: 17%; width: 23%; border-radius: 7px; background: rgba(255,255,255,.07); border-left: 2px solid rgba(255,255,255,.7); border-right: 2px solid rgba(255,255,255,.7); }

.tl-slots { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 18px 22px 0; }
.slot { aspect-ratio: 1; }
.slot .tool { width: 100%; height: 100%; opacity: 0; transition: transform .35s cubic-bezier(.3,1.4,.5,1), filter .35s; }
.slot.in .tool { opacity: 1; }
.landed .slot .tool { filter: saturate(.85) brightness(.86); }
.landed .slot .tool.active { filter: none; transform: scale(1.04); }
.tl-head { z-index: 3; position: absolute; top: -50px; bottom: -6px; left: var(--hx, 22px); width: 2px; background: linear-gradient(var(--blue-2), rgba(110,155,255,.12)); opacity: 0; transition: opacity .4s; }
.landed .tl-head { opacity: 1; }
.tl-head::before { content: ""; position: absolute; top: -2px; left: 50%; width: 12px; height: 12px; transform: translateX(-50%) rotate(45deg); background: var(--blue-2); border-radius: 2px; }

.fly { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.fly .tool { position: absolute; left: 0; top: 0; will-change: transform, width, height; }

/* Et aussi */
.also { padding: 40px 0 150px; text-align: center; }
.also-title { margin: 0 0 22px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.also-list { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.also-list li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #B4BCCD; font-size: .92rem; }
.also-list svg { width: 17px; height: 17px; fill: #8E97AB; }
.tools-legal { margin-top: 26px; font-size: .8rem; color: #5D667A; }

.proto-note { text-align: center; color: #646D82; font-size: .9rem; padding: 0 0 80px; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .laptop { transform: none; }
  .phone { transform: none; }
  .flow .pulse-line { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  .chip { padding: 6px; gap: 0; }
  .chip span.l { display: none; }
  .phone { right: 2%; width: 26%; border-radius: 22px; padding: 5px; }
  .phone img { border-radius: 17px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-shell { top: 10px; padding: 0 10px; }
  .nav { padding: 0 8px 0 16px; height: 54px; }
  .hero { padding-top: 128px; }
  .hero .sub { font-size: 1.08rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .flow { margin-top: 52px; aspect-ratio: 1080 / 330; }
  .chip .ic { width: 26px; height: 26px; }
  .stage { margin-top: 48px; }
  .screen { padding: 5px; border-radius: 10px; }
  .screen img { border-radius: 6px; }
  .base-bar { height: 9px; }
  .phone { min-width: 0; width: 30%; bottom: -10%; border-radius: 16px; padding: 4px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.9), 0 0 0 4px rgba(6,10,19,.9); }
  .phone img { border-radius: 12px; }
}
@media (max-width: 600px) {
  .bt { height: 280vh; }
  .bt-sentence { left: 16px; right: 16px; }
  .timeline { left: 12px; right: 12px; border-radius: 20px; padding: 14px 0 16px; }
  .tl-top { padding: 0 14px; gap: 10px; }
  .tl-time, .tl-sep { display: none; }
  .tl-ruler { margin: 12px 14px 0; }
  .tl-ticks span:not(.s):nth-child(even) { display: none; }
  .tl-slots { gap: 8px; padding: 14px 14px 0; }
  .tl-head { top: -40px; }
  .also { padding: 20px 0 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .bt { height: auto; }
  .bt-sticky { position: static; height: auto; overflow: visible; padding: 120px 0; }
  .bt-sentence, .timeline { position: relative; left: auto; right: auto; top: auto; transform: none; opacity: 1; }
  .timeline { margin-top: 64px; }
  .w { color: var(--text); }
  .slot .tool { opacity: 1; }
  .fly { display: none; }
}

/* =========================================================
   Sections suivantes
   ========================================================= */
.sec { padding: 140px 0; position: relative; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 18px; }
.sec h2, .final h2 {
  margin: 0; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.06; letter-spacing: -0.04em; font-weight: 700;
  background: linear-gradient(180deg, #FFFFFF 40%, #B3BBCD); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec h2 .dot, .final h2 .dot { -webkit-text-fill-color: var(--blue); }
.lead { color: var(--muted); font-size: 1.15rem; margin: 20px 0 0; max-width: 560px; }
.lead a { color: var(--blue-2); }
.sec-head { max-width: 820px; margin-bottom: 64px; }
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--line-2); border-radius: 24px;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06);
  position: relative; overflow: hidden;
}
/* Halo qui suit la souris */
.panel::before, .tab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(110,155,255,.10), transparent 60%);
}
.panel:hover::before, .tab:hover::before { opacity: 1; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; color: #C9D0DE; }
.ticks li::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; transform: translateY(2px); background: radial-gradient(circle, var(--blue) 3.5px, rgba(47,107,255,.2) 4px); }

/* 1. Impact */
.also { padding-bottom: 60px; }
.impact-grid, .validate-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.impact-card { padding: 26px; }
.ic-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ic-label { display: block; font-size: .85rem; color: var(--muted); }
.ic-amount { display: block; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: #FF8A9B; transition: color .6s; line-height: 1.1; margin-top: 4px; }
.ic-amount.zero { color: #4ADE9B; }
.ic-session { font-size: .8rem; color: var(--muted); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.ic-rows { list-style: none; margin: 8px 0 0; padding: 0; }
.ic-row { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 16px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.ic-row:last-child { border-bottom: 0; }
.ic-name b { display: block; font-weight: 600; color: var(--text); }
.ic-name span { color: var(--muted); font-size: .82rem; }
.ic-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.ic-bar i { display: block; height: 100%; width: var(--w, 20%); border-radius: inherit; background: #FF6B81; transition: width 1s cubic-bezier(.3,.9,.3,1), background .6s; }
.ic-row.ok .ic-bar i { width: 100%; background: #34C98A; }
.pill { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; transition: background .4s, color .4s; }
.pill.crit { background: rgba(255,107,129,.14); color: #FF8A9B; }
.pill.late { background: rgba(255,176,72,.14); color: #FFC274; }
.pill.ok { background: rgba(52,201,138,.15); color: #4ADE9B; }
.ic-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8rem; color: #646D82; }
.link-btn { background: none; border: 0; color: var(--blue-2); font: inherit; font-size: .85rem; cursor: pointer; padding: 4px; }
.link-btn:focus-visible { outline: 2px solid var(--blue-2); border-radius: 6px; }

/* 2. Onglets agents */
.tabs { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.tab-list { display: grid; gap: 8px; }
.tab {
  position: relative; overflow: hidden; text-align: left; font: inherit; color: var(--muted); cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: 16px; padding: 18px 20px 20px;
  transition: background .25s, border-color .25s, color .25s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--text); }
.tab:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.tab-top { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; }
.tab-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); }
.tab[aria-selected="true"] .tab-ic { background: linear-gradient(160deg, rgba(110,155,255,.35), rgba(47,107,255,.1)); border-color: rgba(110,155,255,.4); }
.tab-ic svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.tab[aria-selected="true"] .tab-body { grid-template-rows: 1fr; }
.tab-body-inner { min-height: 0; overflow: hidden; display: block; }
.tab-desc { display: block; margin-top: 12px; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.tab-points { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tab-points span { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: rgba(47,107,255,.12); color: #B9CCFF; }
.tab-bar { position: absolute; left: 20px; right: 20px; bottom: 8px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.06); opacity: 0; }
.tab[aria-selected="true"] .tab-bar { opacity: 1; }
.tab-bar i { display: block; height: 100%; width: var(--prog, 0%); background: var(--blue-2); border-radius: inherit; }
.tab-panel { position: sticky; top: 110px; }
.tab-screen img { transition: opacity .35s ease, transform .35s ease; }
.tab-screen img.swap { opacity: 0; transform: scale(.985); }

/* 3. Validation */
.steps-mini { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.steps-mini li { display: flex; align-items: center; gap: 14px; color: #C9D0DE; }
.steps-mini b { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: .82rem; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: var(--blue-2); }
.draft { padding: 24px; }
.draft-head { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); }
.draft-tag { display: inline-flex; align-items: center; gap: 9px; color: #C9D0DE; }
.draft-tag .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: ping 2.4s infinite; }
.draft-meta { margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; display: grid; gap: 6px; font-size: .9rem; color: #C9D0DE; }
.draft-meta span { display: inline-block; width: 58px; color: #646D82; }
.draft-body { min-height: 9.6em; margin: 18px 0 0; font-size: 1rem; line-height: 1.6; color: #DDE2EC; white-space: pre-line; }
.draft-body .caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -0.2em; background: var(--blue-2); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.draft-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
.d-btn { font: inherit; font-size: .9rem; font-weight: 500; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: #C9D0DE; display: inline-flex; align-items: center; gap: 8px; cursor: default; transition: transform .2s, background .3s, box-shadow .3s; }
.d-ok { background: var(--blue); border-color: transparent; color: #fff; box-shadow: 0 8px 26px -10px rgba(47,107,255,.8); }
.d-ok svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; display: none; }
.d-ok.press { transform: scale(.94); }
.d-ok.done { background: #1F9D6A; box-shadow: 0 8px 26px -10px rgba(52,201,138,.7); }
.d-ok.done svg { display: block; }
.draft-sent { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(52,201,138,.1); border: 1px solid rgba(52,201,138,.25); color: #7BE5B5; font-size: .9rem; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.draft-sent.show { opacity: 1; transform: none; }
.draft-sent svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* 4. Pilote */
.road { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 44px; }
.road-line { position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; }
.road-line i { display: block; height: 100%; width: var(--fill, 0%); background: linear-gradient(90deg, var(--blue), var(--blue-2)); border-radius: inherit; box-shadow: 0 0 18px rgba(47,107,255,.7); }
.road-dot { position: absolute; top: -40px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(255,255,255,.18); transition: border-color .4s, box-shadow .4s, background .4s; }
.road-step { position: relative; }
.road-step.on .road-dot { border-color: var(--blue-2); background: var(--blue); box-shadow: 0 0 0 6px rgba(47,107,255,.18), 0 0 24px rgba(47,107,255,.7); }
.road-when { display: block; font-size: .8rem; font-weight: 600; color: var(--blue-2); letter-spacing: .04em; }
.road-step h3 { margin: 8px 0 8px; font-size: 1.15rem; letter-spacing: -0.015em; }
.road-step p { margin: 0; color: var(--muted); font-size: .95rem; }
.pilot-cta { margin-top: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px 28px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.seats { display: flex; align-items: center; gap: 8px; }
.seats span { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(47,107,255,.15); animation: seat 2.8s ease-in-out infinite; }
.seats span:nth-child(2) { animation-delay: .15s; } .seats span:nth-child(3) { animation-delay: .3s; } .seats span:nth-child(4) { animation-delay: .45s; } .seats span:nth-child(5) { animation-delay: .6s; }
@keyframes seat { 0%, 100% { box-shadow: 0 0 0 4px rgba(47,107,255,.15); } 50% { box-shadow: 0 0 0 7px rgba(47,107,255,.05); } }
.seats b { margin-left: 10px; font-weight: 600; }

/* 5. FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 44px 24px 0; font-weight: 600; font-size: 1.08rem; position: relative; transition: color .2s; }
.faq summary:hover { color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--blue-2); border-bottom: 2px solid var(--blue-2); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 4px; border-radius: 6px; }
.faq details p { margin: 0; padding: 0 44px 24px 0; color: var(--muted); }

/* 6. Final */
.final { position: relative; padding: 160px 0 170px; text-align: center; overflow: hidden; isolation: isolate; }
.final-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 50% 60%, rgba(47,107,255,.32), transparent 70%); }
.final-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px; mask-image: radial-gradient(ellipse 50% 60% at 50% 55%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 55%, #000, transparent 75%); opacity: .5; }
.final-mark { width: 220px; height: 110px; margin: 0 auto 30px; display: block; overflow: visible; }
.fm-lines path { fill: none; stroke: rgba(160,190,255,.8); stroke-width: 1.8; stroke-dasharray: 200; stroke-dashoffset: 200; }
.final-inner.in .fm-lines path { animation: draw 1.4s cubic-bezier(.5,0,.2,1) forwards; }
.final-inner.in .fm-lines path:nth-child(2), .final-inner.in .fm-lines path:nth-child(5) { animation-delay: .15s; }
.final-inner.in .fm-lines path:nth-child(3), .final-inner.in .fm-lines path:nth-child(6) { animation-delay: .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fm-dot { fill: var(--blue); transform-origin: 120px 100px; transform: scale(0); filter: drop-shadow(0 0 10px rgba(47,107,255,.9)); }
.final-inner.in .fm-dot { animation: pop .5s 1.35s cubic-bezier(.3,1.8,.5,1) forwards; }
@keyframes pop { to { transform: scale(1); } }
.final .lead { margin: 20px auto 0; }
.final .cta-row { margin-top: 36px; }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 56px 0 36px; color: var(--muted); font-size: .92rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot p { margin: 8px 0 0; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: #646D82; }

@media (max-width: 980px) {
  .impact-grid, .validate-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .tabs { grid-template-columns: 1fr; }
  .tab-panel { position: relative; top: 0; order: -1; }
  .road { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .road-line { display: none; }
}
@media (max-width: 600px) {
  .sec { padding: 96px 0; }
  .impact-card, .draft { padding: 18px; border-radius: 18px; }
  .ic-head { flex-direction: column; }
  .ic-row { grid-template-columns: 1fr auto; }
  .ic-bar { grid-column: 1 / -1; order: 3; }
  .road { grid-template-columns: 1fr; padding-top: 0; row-gap: 32px; }
  .road-step { padding-left: 36px; }
  .road-dot { top: 2px; }
  .pilot-cta { padding: 20px; }
  .pilot-cta .btn { flex: 1 1 100%; }
  .final { padding: 110px 0 120px; }
  .final .cta-row .btn { flex: 1 1 100%; }
  .draft-actions .d-btn:not(.d-ok) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .fm-lines path { stroke-dashoffset: 0; }
  .fm-dot { transform: none; }
}
.tool.txt { background: linear-gradient(180deg, #1E2740, #121a2c); }
.tool.txt span { position: relative; z-index: 1; font-weight: 700; font-size: 1.05em; letter-spacing: -0.02em; color: #E6EAF3; }
.shot-caption { margin-top: 14px; font-size: .82rem; color: #646D82; text-align: right; }
/* Bloc secteur (accueil) */
.sector-card { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; overflow: hidden; }
.sector-text { padding: 56px; }
.sector-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.sector-text .btn { margin-top: 30px; }
.sector-img { align-self: stretch; padding: 48px 0 0 0; display: flex; align-items: flex-end; }
.sector-img img { border-radius: 12px 0 0 0; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0; }
.sector-more { margin-top: 22px; color: var(--muted); font-size: .95rem; }
.sector-more a { color: var(--blue-2); }
@media (max-width: 980px) { .sector-card { grid-template-columns: 1fr; } .sector-text { padding: 36px 28px 0; } .sector-img { padding: 32px 0 0 28px; } }

/* Confiance (bandeau sécurité) */
.trust { padding: 0 0 40px; }
.trust-list { list-style: none; margin: 0 auto; padding: 18px 20px; max-width: 1080px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.02); }
.trust-list li { display: inline-flex; align-items: center; gap: 9px; color: #C9D0DE; font-size: .93rem; }
.trust-list svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--blue-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Qui est derrière Tekt */
.founder-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.founder-sign { margin: 26px 0 0; color: #C9D0DE; font-weight: 500; }
.founder-sign a { color: var(--blue-2); }
.founder-card { padding: 34px; }
.founder-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.founder-points li { display: flex; gap: 14px; align-items: flex-start; color: #C9D0DE; }
.founder-points svg { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: none; stroke: var(--blue-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.founder-cta-text { margin: 28px 0 18px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.founder-short { padding: 100px 0; }
.founder-short .sec-head { text-align: center; max-width: 760px; margin: 0 auto; }
.founder-quote { margin: 0; font-size: 1.35rem; line-height: 1.55; color: var(--text); }
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-card { padding: 26px; }
  .founder-quote { font-size: 1.15rem; }
  .trust-list { justify-content: flex-start; }
}
