/* FlowStack Systems, charte « Pilote » (tokens repris de flowstacksystems.org, globals.css).
   Blanc, gris Apple, encre, un seul bleu (action, liens, flux). Inter seule. */

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

:root {
  --ground: #ffffff;
  --surface: #f5f5f7;
  --surface-2: #e8e8ed;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --hair: rgba(0, 0, 0, 0.1);
  --accent: #0066cc;
  --accent-fill: #0071e3;
  --accent-ink: #ffffff;
  --glass: rgba(255, 255, 255, 0.78);
  --shadow: 0 0 0 1px var(--hair), 0 30px 80px -30px rgba(0, 0, 0, 0.35);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 60px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #000000;
    --surface: #1c1c1e;
    --surface-2: #2c2c2e;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --hair: rgba(255, 255, 255, 0.14);
    --accent: #2997ff;
    --glass: rgba(0, 0, 0, 0.72);
    --shadow: 0 0 0 1px var(--hair), 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  }
}
.theme-dark {
  --ground: #000000;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --hair: rgba(255, 255, 255, 0.14);
  --accent: #2997ff;
}

*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  background: var(--ground);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong { font-weight: 600; }
::selection { background: var(--accent-fill); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 980px; background: var(--ink); color: var(--ground);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---- Type ---- */
.display {
  font-weight: 600;
  font-size: clamp(3.4rem, 12vw, 8.75rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
}
.title {
  font-weight: 600;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}
.lede {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.45;
  text-wrap: pretty;
}
.lede strong { color: var(--ink); }
.small { color: var(--muted); font-size: 15px; max-width: 680px; margin-top: 16px; text-wrap: pretty; }
.eyebrow { color: var(--muted); font-size: 15px; font-weight: 500; margin-bottom: 10px; font-variant-numeric: tabular-nums; }

/* ---- Buttons, links ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: 980px;
  font-size: 17px; font-weight: 500; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 34px; padding: 0 16px; font-size: 14px; }
.btn-fill { background: var(--accent-fill); color: var(--accent-ink); }
.btn-quiet { background: var(--surface); color: var(--ink); }
.link { color: var(--accent); font-weight: 500; }
.link-more::after { content: "\00a0›"; display: inline-block; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-fill:hover { background: color-mix(in oklab, var(--accent-fill) 88%, #000); }
  .btn-quiet:hover { background: color-mix(in oklab, var(--surface) 88%, var(--ink)); }
  .link:hover { text-decoration: underline; text-underline-offset: 3px; }
  a:hover > .link-more::after, .link-more:hover::after { transform: translateX(3px); }
}

/* ---- Tags: shape differs, not only color ---- */
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 980px; font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.tag-claude { background: var(--ink); color: var(--ground); }
.tag-chatgpt { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.tag-both { background: var(--surface-2); color: var(--muted); }

/* ---- Segmented control (nav + dock) ---- */
.seg {
  position: relative; display: inline-flex; padding: 3px; border-radius: 980px; background: var(--surface);
}
.seg > a, .seg > button {
  position: relative; z-index: 1; display: inline-flex; align-items: center;
  min-height: 30px; padding: 0 14px; border-radius: 980px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color 200ms ease;
}
.seg > .is-active, .seg > [aria-pressed="true"] { color: var(--ink); }
.seg-pill {
  position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 980px;
  background: var(--ground); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px var(--hair);
  opacity: 0;
  transition: transform 420ms var(--ease-out), width 420ms var(--ease-out), opacity 200ms ease;
}
@media (prefers-color-scheme: dark) { .seg-pill { background: var(--surface-2); } }

/* ---- Nav ---- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair);
}
.nav-in {
  height: var(--nav-h); width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; line-height: 1; }
.logo .mark { height: 1.15em; width: auto; }
.logo-soft { font-weight: 400; color: var(--muted); }
.nav-seg { display: none; }
@media (min-width: 960px) { .nav-seg { display: inline-flex; } }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.progress span { display: block; height: 100%; background: var(--accent-fill); transform: scaleX(0); transform-origin: 0 50%; }

/* ---- Hero ---- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(48px, 9vh, 104px)) 0 0; text-align: center; overflow: clip; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--hair) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, #000 10%, transparent 75%);
}
.hero-flow { position: absolute; top: 0; left: 0; width: 100%; height: 760px; display: none; }
@media (min-width: 1180px) { .hero-flow { display: block; } }
.hero-flow path { fill: none; stroke: var(--hair); stroke-width: 1.5; }
.hero-flow .node { fill: var(--ground); stroke: var(--hair); stroke-width: 1.5; }
.hero-flow .node-hub { fill: var(--accent-fill); stroke: none; }
.hero-flow circle { fill: var(--accent); }
.hero-in { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-align: left; margin-bottom: clamp(24px, 4vh, 40px); }
.brand-mark { width: 40px; height: auto; }
.brand > span { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: 17px; letter-spacing: -0.02em; }
.brand > span > span { font-size: 14px; color: var(--muted); }
.hero-lede { max-width: 660px; margin: clamp(20px, 3vh, 32px) auto 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 32px; }

.demo-wrap { position: relative; max-width: 680px; margin: clamp(48px, 8vh, 72px) auto 0; }
.halo {
  position: absolute; inset: 8% -14% -10%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent-fill) 20%, transparent), transparent);
  filter: blur(28px);
}
.window { position: relative; text-align: left; border-radius: 22px; background: var(--ground); box-shadow: var(--shadow); }
.win-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--hair); }
.win-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-2); }
.win-bar p { position: absolute; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted); pointer-events: none; }
.win-body { display: flex; flex-direction: column; gap: 12px; padding: clamp(18px, 3vw, 28px); }
.bubble { max-width: 86%; padding: 10px 15px; border-radius: 20px; font-size: 15.5px; line-height: 1.4; }
.bubble-user { align-self: flex-end; background: var(--ink); color: var(--ground); border-bottom-right-radius: 6px; transform-origin: 100% 100%; }
.bubble-ai { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 6px; }
.typing { display: none; align-self: flex-start; gap: 5px; padding: 14px 16px; border-radius: 20px; background: var(--surface); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.steps { position: relative; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.steps-line { position: absolute; left: 29px; top: 28px; bottom: 28px; width: 2px; background: var(--accent-fill); transform-origin: 50% 0; }
.steps a {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: 16px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--hair);
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.steps a:active { transform: scale(0.98); }
.step-n {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: var(--ground); font-size: 13px; font-weight: 600;
}
.step-name { font-weight: 600; letter-spacing: -0.02em; }
.step-h { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.step-h::after { content: "\00a0\00a0›"; }
@media (hover: hover) and (pointer: fine) { .steps a:hover { background: var(--surface); } }
.hero-foot {
  width: min(1180px, 100% - 2 * var(--gutter)); margin: clamp(56px, 9vh, 96px) auto 0;
  display: flex; justify-content: space-between; gap: 16px; padding: 18px 0;
  border-top: 1px solid var(--hair); font-size: 13px; color: var(--muted); text-align: left;
}

/* ---- Intro ---- */
.intro { padding: clamp(88px, 14vw, 160px) 0 clamp(40px, 6vw, 72px); }
.intro-text { max-width: 760px; margin-top: 24px; }
.assess { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 860px) { .assess { grid-template-columns: repeat(3, 1fr); } }
.assess-card a {
  display: flex; flex-direction: column; height: 100%; padding: 28px; border-radius: 28px; background: var(--surface);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.assess-card a:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) {
  .assess-card a:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.35); }
}
.assess-n { font-size: 64px; font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; }
.assess-name { margin-top: 14px; font-size: 24px; font-weight: 600; letter-spacing: -0.025em; }
.assess-label { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--muted); }
.assess-you, .assess-goal { margin-top: 4px; font-size: 16px; text-wrap: pretty; }
.assess-card .link-more { margin-top: auto; padding-top: 22px; font-size: 15px; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 40px; padding: 18px 0; border-block: 1px solid var(--hair); }
.legend-title { font-size: 14px; font-weight: 600; }
.legend ul { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.legend li { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.duo { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; } }
.tile { border-radius: 28px; background: var(--surface); padding: clamp(24px, 3vw, 36px); }
.tile h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; }
.tile p { margin-top: 8px; color: var(--muted); text-wrap: pretty; }
.duo-paid { background: var(--ground); box-shadow: inset 0 0 0 1px var(--hair); }

/* ---- Levels ---- */
.level { padding-top: clamp(80px, 12vw, 152px); }
.level-head { display: grid; gap: 8px 48px; align-items: end; }
@media (min-width: 860px) { .level-head { grid-template-columns: auto 1fr; } }
.level-num { overflow: clip; font-size: clamp(8rem, 24vw, 15.5rem); font-weight: 600; letter-spacing: -0.07em; line-height: 0.78; padding-top: 0.06em; }
.level-num span { display: block; }
.level-copy { padding-bottom: 6px; }
.level-copy .lede { max-width: 640px; margin-top: 16px; }
.prereq { margin-top: 16px; max-width: 640px; padding: 14px 18px; border-radius: 16px; background: var(--surface); font-size: 15px; }

.block { margin-top: clamp(48px, 6vw, 72px); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; }
.block-head h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -0.03em; }
.count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cols, .row { display: grid; grid-template-columns: minmax(0, 1fr) 190px 210px; gap: 32px; }
.cols { padding-bottom: 10px; border-bottom: 1px solid var(--hair); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.row { padding: 22px 0; border-bottom: 1px solid var(--hair); }
.r-name { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
a.r-name { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color 200ms ease, text-decoration-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { a.r-name:hover { color: var(--accent); text-decoration-color: currentColor; } }
.r-meta { margin-top: 3px; font-size: 13px; color: var(--muted); }
.r-desc { margin-top: 8px; font-size: 15.5px; text-wrap: pretty; }
.c2 { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 2px; }
.r-dur { font-size: 14px; color: var(--muted); }
.c3 { font-size: 14.5px; padding-top: 3px; text-wrap: pretty; }
@media (max-width: 759px) {
  .cols { display: none; }
  .row { grid-template-columns: auto minmax(0, 1fr); gap: 12px 20px; }
  .c1 { grid-column: 1 / -1; }
  .c2 { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .c3 { color: var(--muted); padding-top: 0; align-self: center; }
}
.order { margin-top: 24px; padding: 20px 24px; border-radius: 20px; background: var(--surface); }
.order-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.order p:last-child { text-wrap: pretty; }
.note { margin-top: 20px; padding-left: 16px; border-left: 2px solid var(--hair); color: var(--muted); font-size: 15.5px; max-width: 720px; }
.handy { margin-top: clamp(48px, 6vw, 72px); }
.handy h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -0.03em; padding-bottom: 14px; }
.handy ul { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.handy a {
  display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 16px 18px; border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--hair); transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.handy a:active { transform: scale(0.98); }
.handy a span { font-weight: 600; letter-spacing: -0.015em; }
.handy a small { font-size: 12.5px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .handy a:hover { background: var(--surface); } }
.warning {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin-top: 40px;
  padding: clamp(22px, 3vw, 32px); border-radius: 24px; box-shadow: inset 0 0 0 1.5px var(--ink);
}
.warning::before {
  content: "!"; grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--ink); color: var(--ground); font-weight: 700; font-size: 16px;
}
.warning h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.warning p { color: var(--muted); text-wrap: pretty; }

/* ---- Recap ---- */
.recap { padding: clamp(96px, 14vw, 168px) 0 clamp(40px, 6vw, 72px); }
.recap .lede { max-width: 720px; margin-top: 20px; }
.countup { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.table-wrap { margin-top: 48px; }
.recap-table { width: 100%; border-collapse: collapse; font-size: 15px; text-align: left; }
.recap-table thead th { padding: 0 20px 12px 0; border-bottom: 1px solid var(--hair); font-size: 12.5px; font-weight: 600; color: var(--muted); vertical-align: bottom; }
.recap-table tbody th, .recap-table td { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--hair); vertical-align: top; text-wrap: pretty; }
.recap-table tbody th { font-weight: 600; white-space: nowrap; }
.recap-table td:last-child { font-weight: 600; }
.rt-n { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; background: var(--ink); color: var(--ground); font-size: 12.5px; }
@media (max-width: 759px) {
  .recap-table thead { display: none; }
  .recap-table tr { display: block; padding: 20px 0; border-bottom: 1px solid var(--hair); }
  .recap-table tbody th, .recap-table td { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 6px 0; border: 0; }
  .recap-table tbody th { display: flex; align-items: center; font-size: 18px; padding-bottom: 12px; }
  .recap-table td::before { content: attr(data-label); font-size: 13px; font-weight: 600; color: var(--muted); }
}

/* ---- Rules: cartes empilées ---- */
.rules { padding: clamp(80px, 12vw, 144px) 0 clamp(40px, 6vw, 72px); }
.rule-stack { display: grid; gap: 18px; margin-top: 48px; }
.rule {
  position: sticky; top: calc(var(--nav-h) + 24px + var(--i) * 14px);
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  min-height: 176px; padding: clamp(24px, 3.4vw, 40px); border-radius: 28px;
  background: var(--surface); box-shadow: 0 -1px 0 var(--hair), 0 18px 40px -28px rgba(0, 0, 0, 0.35);
  transform-origin: 50% 0;
}
.rule-n { font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.85; min-width: 1ch; }
.rule p { font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.38; color: var(--muted); text-wrap: pretty; }
.rule strong { color: var(--ink); }

/* ---- Contact ---- */
.contact { padding: clamp(64px, 10vw, 120px) var(--gutter) clamp(40px, 6vw, 64px); }
.contact-card {
  --ground: #000000; --surface: #1c1c1e; --ink: #f5f5f7; --muted: #a1a1a6; --hair: rgba(255, 255, 255, 0.14); --accent: #2997ff;
  position: relative; isolation: isolate; overflow: hidden; max-width: 1180px; margin-inline: auto;
  padding: clamp(56px, 9vw, 120px) clamp(24px, 6vw, 96px);
  border-radius: clamp(28px, 4vw, 40px); background: var(--ground); color: var(--ink); text-align: center;
  box-shadow: inset 0 0 0 1px var(--hair);
}
.contact-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.3px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 80%);
}
.contact-glow {
  position: absolute; z-index: -1; left: 50%; top: 50%; width: 640px; height: 640px; margin: -320px 0 0 -320px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 113, 227, 0.42), rgba(0, 113, 227, 0) 100%);
}
.contact-mark { width: 52px; height: auto; margin-bottom: 28px; }
.contact .title { max-width: 820px; margin-inline: auto; }
.contact .lede { max-width: 660px; margin: 22px auto 0; }
.contact-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.contact-cta .btn { max-width: 100%; }

/* ---- Sources ---- */
.sources { padding: clamp(56px, 8vw, 96px) 0 48px; }
.sources h2 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 20px; }
.sources ul { columns: 2 340px; column-gap: 48px; }
.sources li { break-inside: avoid; margin-bottom: 14px; font-size: 14px; }
.sources li span { display: block; }
.sources li a { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .sources li a:hover { color: var(--accent); text-decoration: underline; } }

/* ---- Dock (filtre) ---- */
.dock {
  position: fixed; z-index: 45; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 980px;
  background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 1px var(--hair), 0 16px 40px -16px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, 160%); opacity: 0; visibility: hidden;
  transition: transform 360ms var(--ease-out), opacity 200ms ease, visibility 0s linear 360ms;
}
.dock.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform 420ms var(--ease-out), opacity 200ms ease; }
.dock-label { font-size: 13px; color: var(--muted); }
.dock-seg > button { min-height: 34px; }

/* ---- Footer ---- */
.foot { border-top: 1px solid var(--hair); padding: 22px 0 calc(88px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---- États initiaux animés (posés seulement si JS + mouvement autorisés) ---- */
.js #hero-title, .js [data-hero], .js [data-hero-window], .js [data-demo], .js .steps-line { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .typing i { animation: none; }
  .hero-flow circle { display: none; }
}
@media print {
  .nav, .dock, .hero-bg, .skip { display: none !important; }
  .js * { visibility: visible !important; }
  .rule { position: static; }
  .hero { padding-top: 0; }
}
