/* Horizon — landing page. Mêmes fondations que l'app : blanc, gris doux, noir, couleurs pastel. */
:root {
  --bg: #fff;
  --soft: #f7f7f8;
  --soft-2: #efeff1;
  --line: #e9e9ec;
  --line-2: #f2f2f4;
  --text: #121214;
  --muted: #64646c;
  --faint: #a2a2aa;
  --today: #ff5a36;
  --font: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-xl: 0 40px 80px -32px rgba(16, 16, 22, .28), 0 16px 40px -20px rgba(16, 16, 22, .14), 0 0 0 1px rgba(16, 16, 22, .07);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; letter-spacing: -0.006em; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
kbd { font-family: var(--font); font-size: .82em; padding: 1px 6px; border-radius: 6px; background: var(--soft-2); border: 1px solid var(--line); color: var(--text); white-space: nowrap; }
:focus-visible { outline: 2.5px solid #5E6AD2; outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--text); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.wrap-wide { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 48px)); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 12px;
  font-weight: 590; text-decoration: none; border: 1px solid var(--line); background: #fff; cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .15s var(--ease), box-shadow .15s, border-color .15s;
}
.btn:hover { background: var(--soft); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.primary { background: var(--text); border-color: var(--text); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 8px 20px -8px rgba(16, 16, 22, .5); }
.btn.primary:hover { background: #2a2a30; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 12px 24px -10px rgba(16, 16, 22, .55); }
.btn.primary svg { transition: transform .2s var(--ease); }
.btn.primary:hover svg, .btn.light:hover svg { transform: translateX(3px); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); background: var(--soft); }
.btn.light { background: #fff; color: var(--text); border-color: #fff; }
.btn.light:hover { background: #f1f1f3; transform: translateY(-1px); }
.btn.light svg { transition: transform .2s var(--ease); }
.btn.sm { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 14px; }
.btn.lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .8); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 680; font-size: 17px; letter-spacing: -0.02em; text-decoration: none; }
.brand.sm { font-size: 15px; gap: 8px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 520; padding: 8px 12px; border-radius: 9px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--text); background: var(--soft); }

/* Sélecteur de langue */
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang { position: relative; }
.lang-btn { height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; cursor: pointer; color: var(--muted); font-weight: 580; font-size: 13.5px; transition: background .15s, color .15s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: var(--soft); color: var(--text); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; background: #fff; border-radius: 14px; padding: 6px; box-shadow: 0 16px 40px -12px rgba(16, 16, 22, .25), 0 0 0 1px rgba(16, 16, 22, .07); z-index: 60; animation: pop .14s ease-out; }
.lang-opt { text-decoration: none; color: var(--text); width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; background: none; height: 38px; padding: 0 12px; border-radius: 9px; cursor: pointer; font-size: 14.5px; text-align: left; }
.lang-opt:hover, .lang-opt:focus-visible { background: var(--soft); outline: none; }
.lang-opt em { font-style: normal; font-size: 12px; color: var(--faint); font-weight: 600; }
.lang-opt.on { font-weight: 620; }
.lang-opt.on em { color: #5E6AD2; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

/* Bandeau de suggestion de langue (page anglaise) */
.suggest { background: var(--text); color: #fff; font-size: 14px; }
.suggest-in { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 6px 0; flex-wrap: wrap; }
.sg-text { color: rgba(255, 255, 255, .78); }
.sg-cta { color: #fff; font-weight: 620; text-decoration: none; background: rgba(255, 255, 255, .14); padding: 5px 12px; border-radius: 8px; transition: background .15s; }
.sg-cta:hover { background: rgba(255, 255, 255, .24); }
.sg-close { border: 0; background: transparent; color: rgba(255, 255, 255, .6); width: 28px; height: 28px; border-radius: 7px; cursor: pointer; display: grid; place-items: center; }
.sg-close:hover { color: #fff; background: rgba(255, 255, 255, .12); }

/* ---------- Hero ---------- */
.hero { padding: 52px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(40% 50% at 22% 30%, rgba(94, 106, 210, .09), transparent 70%),
    radial-gradient(35% 45% at 80% 20%, rgba(214, 90, 156, .07), transparent 70%),
    radial-gradient(40% 40% at 60% 70%, rgba(31, 162, 160, .06), transparent 70%);
}
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 540; color: var(--muted); box-shadow: 0 2px 8px -4px rgba(16, 16, 22, .12); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #33A06F; box-shadow: 0 0 0 0 rgba(51, 160, 111, .5); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(51, 160, 111, .45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(51, 160, 111, 0); } }
h1 { font-size: clamp(40px, 6.6vw, 76px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 680; margin: 0; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 620px; margin: 24px auto 0; line-height: 1.55; letter-spacing: -0.012em; }
.cta-row { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.micro { margin: 16px 0 0; font-size: 13.5px; color: var(--faint); }

/* ---------- Démo du hero ---------- */
.demo-shell { margin: 44px auto 0; background: #fff; border-radius: 20px; box-shadow: var(--shadow-xl); overflow: hidden; position: relative; }
.demo-chrome { height: 52px; display: flex; align-items: center; gap: 14px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #e4e4e8; display: block; }
.chrome-title { font-weight: 600; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrome-seg { display: inline-flex; background: var(--soft-2); border-radius: 9px; padding: 3px; gap: 2px; color: var(--muted); font-weight: 560; }
.chrome-seg b, .chrome-seg span { padding: 3px 10px; border-radius: 6px; font-weight: 560; }
.chrome-seg b { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.chrome-btn { background: var(--text); color: #fff; padding: 6px 12px; border-radius: 9px; font-weight: 600; white-space: nowrap; }
.demo-body { display: flex; min-height: 0; }
.demo-list { width: 230px; flex: none; border-right: 1px solid var(--line); padding-top: 48px; }
.dl-row { height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 18px; font-size: 14px; white-space: nowrap; transition: background .15s; }
.dl-row.hl { background: var(--soft); }
.dl-row i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); flex: none; }
.dl-row i.ms { transform: rotate(45deg) scale(.9); border-radius: 2px; }
.dl-row span { overflow: hidden; text-overflow: ellipsis; }
.dl-row em { margin-left: auto; font-style: normal; color: var(--faint); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.demo-tl { flex: 1; min-width: 0; position: relative; overflow: hidden; }
.demo-head { height: 48px; border-bottom: 1px solid var(--line); position: relative; font-size: 12px; color: var(--muted); }
.dh-cell { position: absolute; top: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 8px; padding-left: 10px; border-left: 1px solid var(--line-2); white-space: nowrap; }
.dh-cell b { font-weight: 620; color: var(--text); font-size: 12.5px; }
.dh-today { position: absolute; bottom: 5px; transform: translateX(-50%); background: var(--today); color: #fff; font-size: 11px; font-weight: 650; padding: 1px 7px; border-radius: 6px; box-shadow: 0 0 0 3px #fff; }
.demo-canvas { position: relative; }
.demo-grid-line { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.demo-wk { position: absolute; top: 0; bottom: 0; background: #fafafb; }
.demo-today { position: absolute; top: 0; bottom: 0; border-left: 1.5px solid var(--today); z-index: 1; }
.demo-today::before { content: ""; position: absolute; left: -4.75px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--today); }
.demo-row-hl { position: absolute; left: 0; right: 0; height: 46px; background: rgba(18, 18, 20, .025); opacity: 0; transition: opacity .15s; }
.demo-row-hl.on { opacity: 1; }
.demo-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.demo-links path { fill: none; stroke: #c3c3cb; stroke-width: 1.5; }
.demo-links path.hot { stroke: var(--text); }

.dbar {
  position: absolute; height: 28px; border-radius: 9px; cursor: grab; z-index: 3; touch-action: none;
  --tint: color-mix(in srgb, var(--c) 16%, white); --mid: color-mix(in srgb, var(--c) 38%, white); --ink: color-mix(in srgb, var(--c) 55%, #101014);
  transition: box-shadow .18s, transform .18s var(--ease);
}
.dbar .tr { position: absolute; inset: 0; border-radius: inherit; background: var(--tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, white); overflow: hidden; }
.dbar .fi { position: absolute; left: 0; top: 0; bottom: 0; background: var(--mid); }
.dbar .lb { position: absolute; top: 0; height: 100%; display: flex; align-items: center; white-space: nowrap; font-size: 13px; font-weight: 580; pointer-events: none; }
.dbar .lb.in { left: 11px; color: var(--ink); }
.dbar .lb.out { color: var(--text); }
.dbar .rh { position: absolute; right: -4px; top: 0; bottom: 0; width: 12px; cursor: ew-resize; }
.dbar .rh::after { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--ink); opacity: 0; transition: opacity .15s; }
.dbar:hover .rh::after, .dbar:focus-visible .rh::after { opacity: .45; }
.dbar:hover .tr { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, white), 0 6px 14px -6px rgba(16, 16, 22, .2); }
.dbar.drag { cursor: grabbing; transform: translateY(-2px); z-index: 5; }
.dbar.drag .tr { box-shadow: inset 0 0 0 1.5px var(--c), 0 14px 28px -10px rgba(16, 16, 22, .3); }
.dbar.bump .tr { animation: bump .35s var(--ease); }
@keyframes bump { 30% { transform: scale(1.04, .92); } }
.dbar:focus-visible { outline: none; }
.dbar:focus-visible .tr { box-shadow: inset 0 0 0 2px #5E6AD2, 0 0 0 4px rgba(94, 106, 210, .2); }
.dms { position: absolute; width: 0; height: 0; z-index: 3; }
.dms i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; background: var(--c); border-radius: 4px; transform: rotate(45deg) scale(.86); box-shadow: 0 0 0 3px #fff; }
.dms span { position: absolute; left: 18px; top: -10px; line-height: 20px; white-space: nowrap; font-size: 13px; font-weight: 620; }
.dtip { position: absolute; z-index: 6; transform: translate(-50%, -100%); background: var(--text); color: #fff; font-size: 12px; font-weight: 560; padding: 4px 9px; border-radius: 8px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; font-variant-numeric: tabular-nums; }
.dtip.on { opacity: 1; }

.hint {
  position: absolute; z-index: 8; display: inline-flex; align-items: center; gap: 8px; background: var(--text); color: #fff; font-size: 13px; font-weight: 580;
  padding: 8px 13px 8px 10px; border-radius: 11px; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); pointer-events: none; white-space: nowrap;
  animation: float 2.6s ease-in-out infinite; transition: opacity .3s;
}
.hint::after { content: ""; position: absolute; left: 22px; top: -5px; width: 10px; height: 10px; background: var(--text); transform: rotate(45deg); border-radius: 2px; }
.hint.gone { opacity: 0; }
@keyframes float { 50% { transform: translateY(-5px); } }
.caption { text-align: center; color: var(--faint); font-size: 13.5px; margin: 22px 0 0; }

/* Animation d'entrée des barres */
.demo-shell.boot .dbar .tr, .demo-shell.boot .dbar .lb, .demo-shell.boot .dms { opacity: 0; }
.demo-shell .dbar .tr { transform-origin: left center; }
.demo-shell.play .dbar .tr { animation: grow .7s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 250ms); }
.demo-shell.play .dbar .lb, .demo-shell.play .dms { animation: fadein .5s ease both; animation-delay: calc(var(--i) * 90ms + 550ms); }
.demo-shell.play .demo-links path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1s var(--ease) forwards; animation-delay: 1.1s; }
@keyframes grow { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Bandeau ---------- */
.strip { border-block: 1px solid var(--line); margin-top: 72px; }
.strip-in { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; padding: 22px 0; font-weight: 560; font-size: 15px; }
.strip-in span { display: inline-flex; align-items: center; gap: 8px; }
.strip-in svg { color: #33A06F; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section.soft { background: var(--soft); }
.sec-head { max-width: 680px; margin-bottom: 52px; }
.sec-head.center { text-align: center; margin-inline: auto; }
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 620; color: #5E6AD2; }
h2 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.07; letter-spacing: -0.038em; font-weight: 670; margin: 0; }
.sec-lead { font-size: 18px; color: var(--muted); margin: 18px 0 0; line-height: 1.6; }
.sec-head.center .sec-lead { margin-inline: auto; max-width: 600px; }

/* Constat */
.contrast { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ct { padding: 30px 28px 28px; border-radius: 20px; border: 1px solid var(--line); background: #fff; transition: transform .25s var(--ease), box-shadow .25s; }
.ct:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(16, 16, 22, .25); }
.ct-from { margin: 0; font-size: 15px; color: var(--faint); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.ct-to { margin: 2px 0 14px; font-size: 30px; font-weight: 670; letter-spacing: -0.03em; }
.ct p:last-child { margin: 0; color: var(--muted); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.1fr; }

/* Zoom */
.zoom-ctl { margin-top: 36px; max-width: 420px; }
.zoom-lbl { display: block; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.zoom-lbl b { color: var(--text); font-weight: 620; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--text) var(--p, 0%), #dcdce1 var(--p, 0%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: #dcdce1; }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--text); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 4px 10px -2px rgba(0, 0, 0, .25); transition: transform .15s; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 4px 10px -2px rgba(0, 0, 0, .25); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type=range]:focus-visible { outline: none; }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(94, 106, 210, .35), 0 4px 10px -2px rgba(0, 0, 0, .25); }
.zoom-ticks { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--faint); margin-top: 6px; }

.zoom-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-xl); overflow: hidden; }
.z-head { height: 50px; position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.z-h-top, .z-h-bot { position: absolute; left: 0; right: 0; height: 24px; }
.z-h-top { top: 2px; } .z-h-bot { top: 24px; }
.zc { position: absolute; top: 0; height: 24px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; font-size: 11.5px; }
.z-h-top .zc { border-left: 1px solid var(--line); padding-left: 8px; font-weight: 630; font-size: 12px; }
.z-h-bot .zc { justify-content: center; color: var(--muted); }
.z-body { position: relative; height: 330px; overflow: hidden; }
.zl { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.zl.s { background: var(--line); }
.zbar { position: absolute; height: 22px; border-radius: 7px; background: color-mix(in srgb, var(--c) 18%, white); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 32%, white); }
.zbar .fi { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: color-mix(in srgb, var(--c) 40%, white); }
.zbar span { position: absolute; top: 0; height: 100%; display: flex; align-items: center; white-space: nowrap; font-size: 12px; font-weight: 580; }
.zbar span.in { left: 9px; color: color-mix(in srgb, var(--c) 55%, #101014); }
.zgrp { position: absolute; height: 8px; border-radius: 4px; background: var(--c); }
.zgrp span { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); font-weight: 660; font-size: 12px; white-space: nowrap; }
.ztoday { position: absolute; top: 0; bottom: 0; border-left: 1.5px solid var(--today); }

/* Kanban morph */
.morph-wrap { background: #fff; border-radius: 22px; box-shadow: var(--shadow-xl); padding: 18px; }
.morph-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--soft-2); border-radius: 11px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; height: 34px; padding: 0 16px; border-radius: 8px; cursor: pointer; color: var(--muted); font-weight: 580; font-size: 14px; transition: color .15s, background .2s, box-shadow .2s; }
.seg button.on { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px rgba(0, 0, 0, .04); }
.morph-hint { margin: 0; color: var(--faint); font-size: 14px; transition: opacity .3s; }
.morph { position: relative; transition: height .5s var(--ease); }
.m-layer { position: absolute; inset: 0; transition: opacity .45s ease; pointer-events: none; }
.m-col { position: absolute; border-radius: 14px; background: var(--soft); transition: opacity .45s, background .2s; }
.m-col-h { position: absolute; display: flex; align-items: center; gap: 8px; font-weight: 630; font-size: 14px; transition: opacity .45s; white-space: nowrap; }
.m-col-h i { width: 8px; height: 8px; border-radius: 50%; background: var(--st); }
.m-col-h em { font-style: normal; color: var(--faint); font-weight: 500; font-size: 13px; }
.m-rowlbl { position: absolute; left: 0; height: 44px; display: flex; align-items: center; gap: 9px; font-size: 14px; white-space: nowrap; }
.m-rowlbl i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.m-gline { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.m-ghead { position: absolute; top: 0; height: 34px; display: flex; align-items: center; font-size: 12px; color: var(--muted); padding-left: 8px; border-left: 1px solid var(--line-2); white-space: nowrap; }
.mt {
  position: absolute; background: color-mix(in srgb, var(--c) 16%, white); border-radius: 9px; overflow: hidden; cursor: default;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, white);
  transition: left .6s var(--ease), top .6s var(--ease), width .6s var(--ease), height .6s var(--ease), background .4s, box-shadow .4s, border-radius .6s;
}
.mt .fi { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: color-mix(in srgb, var(--c) 38%, white); transition: width .6s var(--ease), opacity .4s; }
.mt .t { position: absolute; left: 11px; top: 0; height: 28px; display: flex; align-items: center; font-size: 13px; font-weight: 600; white-space: nowrap; color: color-mix(in srgb, var(--c) 55%, #101014); transition: top .6s var(--ease), color .4s, left .6s var(--ease); }
.mt .meta { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--muted); opacity: 0; transition: opacity .35s; }
.mt .meta .pb { height: 4px; border-radius: 3px; background: var(--soft-2); overflow: hidden; }
.mt .meta .pb i { display: block; height: 100%; background: var(--c); border-radius: 3px; transition: width .5s var(--ease); }
.morph.kanban .mt { background: #fff; box-shadow: 0 1px 2px rgba(16, 16, 22, .06), 0 0 0 1px rgba(16, 16, 22, .06); border-radius: 12px; cursor: pointer; }
.morph.kanban .mt:hover { box-shadow: 0 10px 22px -10px rgba(16, 16, 22, .22), 0 0 0 1px rgba(16, 16, 22, .08); }
.morph.kanban .mt .fi { opacity: 0; }
.morph.kanban .mt .t { top: 8px; left: 14px; color: var(--text); }
.morph.kanban .mt .meta { opacity: 1; transition-delay: .3s; }
.morph.kanban .mt:focus-visible { outline: 2.5px solid #5E6AD2; outline-offset: 2px; }
.morph.narrow:not(.kanban) .mt { overflow: visible; }
.morph.narrow:not(.kanban) .mt.out-r .t { left: calc(100% + 8px); color: var(--text); }
.morph.narrow:not(.kanban) .mt.out-l .t { left: auto; right: calc(100% + 8px); color: var(--text); }
.mt.pulse { animation: pulse .5s var(--ease); }
@keyframes pulse { 40% { transform: scale(1.03); } }
.st-todo { --st: #a1a1aa; } .st-doing { --st: #3d8beb; } .st-review { --st: #e2a325; } .st-done { --st: #33a06f; }

/* Fonctionnalités */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: #fff; border-radius: 20px; padding: 28px; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.feat:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(16, 16, 22, .25); }
.f-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); margin-bottom: 20px; }
.feat h3 { margin: 0 0 8px; font-size: 18px; font-weight: 640; letter-spacing: -0.02em; }
.feat p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Clavier */
.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.key {
  border: 0; background: #fff; border-radius: 16px; padding: 18px 14px 14px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 0 0 1px var(--line), 0 4px 0 0 #e3e3e7, 0 6px 16px -8px rgba(16, 16, 22, .2); transition: transform .08s, box-shadow .08s;
}
.key b { font-size: 22px; font-weight: 650; letter-spacing: -0.02em; }
.key span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.key:hover { box-shadow: 0 0 0 1px #d6d6dc, 0 4px 0 0 #dcdce1, 0 8px 20px -8px rgba(16, 16, 22, .25); }
.key.down { transform: translateY(4px); box-shadow: 0 0 0 1px #c9c9d0, 0 0 0 0 #e3e3e7, 0 2px 6px -4px rgba(16, 16, 22, .2); background: #fbfbfc; }
.key.down b { color: #5E6AD2; }
.kb-out { margin-top: 32px; min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 18px; border-radius: 14px; background: var(--soft); font-size: 15px; font-weight: 540; }
.kb-caret { width: 8px; height: 8px; border-radius: 50%; background: #33A06F; flex: none; }
.kb-out.flash { animation: flash .5s var(--ease); }
@keyframes flash { 0% { background: #e9ecfb; } 100% { background: var(--soft); } }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 16px 32px -24px rgba(16, 16, 22, .25); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

/* CTA final */
.final { padding: 32px 0 96px; }
.final-in { background: var(--text); color: #fff; border-radius: 28px; padding: 88px 32px; text-align: center; position: relative; overflow: hidden; }
.final-in::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(90deg, transparent 4%, rgba(94, 106, 210, .55) 4%, rgba(94, 106, 210, .55) 17%, transparent 17%) 0 16% / 100% 10px no-repeat,
    linear-gradient(90deg, transparent 9%, rgba(214, 90, 156, .5) 9%, rgba(214, 90, 156, .5) 23%, transparent 23%) 0 25% / 100% 10px no-repeat,
    linear-gradient(90deg, transparent 77%, rgba(31, 162, 160, .5) 77%, rgba(31, 162, 160, .5) 91%, transparent 91%) 0 76% / 100% 10px no-repeat,
    linear-gradient(90deg, transparent 83%, rgba(235, 122, 63, .5) 83%, rgba(235, 122, 63, .5) 96%, transparent 96%) 0 85% / 100% 10px no-repeat;
}
.final-in > * { position: relative; }
.final h2 { color: #fff; }
.final p { color: rgba(255, 255, 255, .65); font-size: 18px; margin: 18px 0 34px; }

/* Pied de page */
.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; gap: 18px; padding: 28px 0; flex-wrap: wrap; }
.foot-note { color: var(--faint); font-size: 14px; }
.foot-links { margin-left: auto; display: flex; gap: 20px; }
.foot-links a { text-decoration: none; color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--text); }

/* Apparitions au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.contrast .reveal:nth-child(2), .features .reveal:nth-child(3n+2) { transition-delay: .08s; }
.contrast .reveal:nth-child(3), .features .reveal:nth-child(3n) { transition-delay: .16s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split, .split.rev { grid-template-columns: 1fr; gap: 44px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .contrast { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .demo-list { width: 190px; }
}
@media (max-width: 720px) {
  .hero { padding-top: 48px; }
  .section { padding: 80px 0; }
  .demo-list { display: none; }
  .chrome-seg, .chrome-btn { display: none; }
  .features { grid-template-columns: 1fr; }
  .keys { grid-template-columns: repeat(2, 1fr); }
  .strip-in { justify-content: flex-start; gap: 12px 24px; font-size: 14.5px; }
  .final-in { padding: 64px 22px; border-radius: 22px; }
  .foot-links { margin-left: 0; }
  .z-body { height: 280px; }
  .hint { font-size: 12px; }
  .final-in::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
