:root {
  --ink: #0A2137;
  --ink-2: #0E2A45;
  --ink-3: #133352;
  --dim: #5E6E7E;
  --rule: #E3E8EC;
  --paper: #F8F8F6;
  --card: #FFFFFF;
  --green: #1A5C42;
  --green-soft: #9EC8A0;
  --on-ink: #F4F6F5;
  --on-ink-dim: rgba(244, 246, 245, 0.62);
  --on-ink-rule: rgba(244, 246, 245, 0.12);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --w: 1180px;
  --gut: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { background: var(--paper); color: var(--ink); }
body {
  font-family: Geist, system-ui, sans-serif;
  font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--green-soft); color: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green-soft); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Barre ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  color: var(--on-ink);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.bar.is-scrolled {
  background: rgba(10, 33, 55, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--on-ink-rule);
}
.brand { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-soft);
  box-shadow: 0 0 0 4px rgba(158, 200, 160, 0.16);
}
.bar nav { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.bar nav a {
  text-decoration: none; padding: 8px 12px; border-radius: 999px;
  color: var(--on-ink-dim);
  transition: color 0.25s, background 0.25s;
}
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--on-ink); background: rgba(244, 246, 245, 0.07); }
.bar nav a.cta { color: var(--ink); background: var(--on-ink); margin-left: 8px; }
.bar nav a.cta:hover { background: #fff; }

/* ---------- Héros ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--on-ink);
  padding: 168px 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; z-index: -1;
  background: radial-gradient(closest-side, rgba(158, 200, 160, 0.16), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(244, 246, 245, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
@keyframes drift { to { transform: translate(-8vw, 6vw) scale(1.1); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.02em; color: var(--on-ink-dim);
  padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid var(--on-ink-rule); background: rgba(244, 246, 245, 0.03);
}
.eyebrow b { font-weight: 500; color: var(--on-ink); }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-soft); margin-left: 4px; }

h1 {
  margin-top: 28px;
  font-size: clamp(42px, 6.6vw, 92px);
  line-height: 0.98; font-weight: 600; letter-spacing: -0.045em;
  max-width: 14ch;
}
h1 em { font-style: normal; color: var(--green-soft); }
.lead {
  margin-top: 28px; max-width: 34rem;
  font-size: clamp(18px, 1.6vw, 21px); font-weight: 300; line-height: 1.5;
  color: var(--on-ink-dim);
}
.actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn span { transition: transform 0.3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-light { background: var(--on-ink); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--on-ink-rule); color: var(--on-ink); }
.btn-ghost:hover { border-color: rgba(244, 246, 245, 0.35); }

.proof {
  margin-top: 112px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--on-ink-rule);
}
.proof div { padding: 28px 28px 40px 0; }
.proof div + div { padding-left: 28px; border-left: 1px solid var(--on-ink-rule); }
.proof b {
  display: block; font-weight: 500; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(34px, 3.6vw, 48px); color: var(--on-ink);
}
.proof span { display: block; margin-top: 12px; max-width: 22rem; font-size: 14px; line-height: 1.45; color: var(--on-ink-dim); }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: 140px 0; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green);
}
.label::before { content: ""; width: 18px; height: 1px; background: currentColor; }
h2 {
  margin-top: 18px;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.04; font-weight: 600; letter-spacing: -0.04em;
  max-width: 18ch;
  scroll-margin-top: 100px;
}
.intro { margin-top: 20px; max-width: 36rem; color: var(--dim); font-size: 18px; }
[id] { scroll-margin-top: 84px; }

/* Problèmes */
.problems { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pb {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 32px 30px 28px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--rule);
  text-decoration: none;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.pb::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(158, 200, 160, 0.18), transparent 60%);
  transition: opacity 0.4s;
}
.pb:hover { transform: translateY(-4px); border-color: #D3DCD5; box-shadow: 0 24px 48px -28px rgba(10, 33, 55, 0.28); }
.pb:hover::before { opacity: 1; }
.pb .n { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--dim); }
.pb h3 { position: relative; margin-top: 56px; font-size: 24px; line-height: 1.15; font-weight: 500; letter-spacing: -0.025em; }
.pb p { position: relative; margin-top: 14px; color: var(--dim); font-size: 16px; line-height: 1.5; flex: 1; }
.pb .go {
  position: relative; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--ink);
}
.pb .go em { font-style: normal; color: var(--green); font-weight: 500; }
.pb .go span { transition: transform 0.4s var(--ease); }
.pb:hover .go span { transform: translateX(4px); }

/* Méthode */
.method { background: var(--card); border-block: 1px solid var(--rule); }
.method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.method-side { position: sticky; top: 120px; }
.viz {
  margin-top: 48px; border-radius: 20px; padding: 28px;
  background: var(--paper); border: 1px solid var(--rule);
}
.viz svg { display: block; width: 100%; height: auto; }
.viz figcaption { margin-top: 18px; font-size: 13px; color: var(--dim); display: flex; justify-content: space-between; gap: 12px; }
.viz figcaption b { color: var(--ink); font-weight: 500; }
.steps { list-style: none; padding-top: 8px; }
.steps li {
  display: grid; grid-template-columns: 56px 1fr; gap: 8px;
  padding: 34px 0; border-bottom: 1px solid var(--rule);
  color: #9AA6B1; transition: color 0.5s var(--ease);
}
.steps li:first-child { padding-top: 0; }
.steps li .k { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; padding-top: 8px; transition: color 0.5s; }
.steps li b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.steps li p { margin-top: 8px; font-size: 16px; line-height: 1.5; }
.steps li.on { color: var(--ink); }
.steps li.on .k { color: var(--green); }
.steps li.on p { color: var(--dim); }

/* Promesses */
#engagements { padding-bottom: 72px; }
.promises { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pr { position: relative; padding-top: 24px; }
.pr::before, .pr::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; }
.pr::before { right: 0; background: var(--rule); }
.pr::after { width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 120ms + 200ms); }
.pr.in::after { transform: scaleX(1); }
.pr b { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.pr p { margin-top: 10px; color: var(--dim); font-size: 16px; line-height: 1.5; }

/* Ligerio */
.feature {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 64px; border-radius: 28px;
  background: var(--ink); color: var(--on-ink);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}
.feature::before {
  content: ""; position: absolute; z-index: -1; right: -10%; bottom: -40%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(158, 200, 160, 0.14), transparent 70%);
}
.feature .txt { padding: 56px 0 56px 56px; display: flex; flex-direction: column; }
.tag { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-soft); }
.feature h3 { margin-top: 18px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; font-weight: 500; letter-spacing: -0.03em; }
.feature p { margin-top: 18px; color: var(--on-ink-dim); font-size: 17px; }
.facts { margin-top: auto; padding-top: 40px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 36px; }
.facts b { display: block; font-size: 28px; font-weight: 500; letter-spacing: -0.03em; }
.facts span { font-size: 13px; color: var(--on-ink-dim); }
.link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 32px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px; align-self: flex-start;
}
.link span { transition: transform 0.4s var(--ease); }
.link:hover span { transform: translateX(4px); }
.feature .chart { padding: 48px 48px 40px 24px; display: flex; flex-direction: column; justify-content: center; }
.feature .chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.feature .chart figcaption { margin-top: 14px; font-size: 13px; color: var(--on-ink-dim); }
.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 2.2s var(--ease); }
.in .draw { stroke-dashoffset: 0; }
.area, .chart .lbl, .chart .dot { opacity: 0; transition: opacity 1s var(--ease) 1.4s; }
.in .area, .in .lbl, .in .dot { opacity: 1; }

/* Moverz, Teneolog */
.duo-head { margin-top: 120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: end; }
.duo-head h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; }
.duo-head p { color: var(--dim); }
.gap-viz { margin-top: 40px; background: var(--card); }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); }
.tabs button {
  font: inherit; font-size: 14px; border: 0; background: none; color: var(--dim); cursor: pointer;
  padding: 8px 16px; border-radius: 999px; transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(10, 33, 55, 0.08), 0 0 0 1px var(--rule); }
.gap-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.phase-pill { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; display: inline-flex; gap: 6px; }
.phase-pill span { padding: 6px 10px; border-radius: 999px; color: #9AA6B1; transition: color 0.4s, background 0.4s; }
.gap-viz:not(.after) .phase-pill .b, .gap-viz.after .phase-pill .a { color: var(--ink); background: var(--paper); }
.gap-viz.after .phase-pill .a { color: var(--card); background: var(--green); }
.gap-stage { position: relative; margin-top: 24px; }
.gap-stage svg { display: block; width: 100%; height: auto; }
.mode { transition: opacity 0.5s var(--ease); }
.gap-viz[data-mode="moverz"] .mode.t, .gap-viz[data-mode="teneolog"] .mode.m { opacity: 0; pointer-events: none; }
.before, .after-g { transition: opacity 0.7s var(--ease); }
.gap-viz.after .before { opacity: 0; }
.gap-viz:not(.after) .after-g { opacity: 0; }
.node rect { fill: var(--card); stroke: #CDD5DC; }
.node.main rect { fill: var(--ink); stroke: var(--ink); }
.node text { font-size: 12px; fill: var(--ink); font-family: Geist, sans-serif; }
.node.main text { fill: var(--on-ink); }
.node.sys rect { fill: var(--green); stroke: var(--green); }
.node.sys text { fill: #fff; }
.wire { fill: none; stroke: #B9C3CC; stroke-width: 1.2; stroke-dasharray: 3 5; }
.wire.ok { stroke: var(--green); stroke-dasharray: none; stroke-width: 1.5; }
.pkt { fill: var(--ink); }
.pkt.ok { fill: var(--green); }
.note { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.04em; fill: var(--dim); }
.note.ok { fill: var(--green); }
.wall { stroke: #CDD5DC; stroke-dasharray: 2 4; }
.viz figcaption.gap-caption { display: block; }
.gap-caption { margin-top: 14px; min-height: 1.5em; font-size: 15px; color: var(--dim); transition: opacity 0.3s; }
.gap-caption b { color: var(--ink); font-weight: 500; }

.duo { margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.case {
  border-radius: 20px; background: var(--card); border: 1px solid var(--rule);
  padding: 36px 34px 32px; display: flex; flex-direction: column;
  transition: box-shadow 0.5s var(--ease), border-color 0.5s;
}
.case:hover { border-color: #D3DCD5; box-shadow: 0 24px 48px -32px rgba(10, 33, 55, 0.25); }
.case .tag { color: var(--green); }
.case h4 { margin-top: 14px; font-size: 26px; line-height: 1.15; font-weight: 500; letter-spacing: -0.03em; }
.case > p { margin-top: 14px; color: var(--dim); font-size: 16px; }
.case dl { margin-top: 24px; flex: 1; }
.case dl div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.5; }
.case dt { color: var(--dim); font-size: 13px; padding-top: 2px; }
.case .link { color: var(--ink); }

/* Contact */
.contact { background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.contact::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 100%; width: 90vw; aspect-ratio: 1; transform: translate(-50%, -40%);
  background: radial-gradient(closest-side, rgba(158, 200, 160, 0.16), transparent 70%);
}
.contact .label { color: var(--green-soft); }
.contact h2 { max-width: 16ch; }
.contact-links { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--on-ink-rule); }
.contact-links .ci { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--on-ink-rule); min-width: 0; }
.contact-links .ci + .ci { padding-left: 32px; border-left: 1px solid var(--on-ink-rule); }
.contact-links a {
  flex: 1; min-width: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 28px 0; text-decoration: none;
  font-size: clamp(20px, 2.4vw, 30px); letter-spacing: -0.02em;
  transition: color 0.3s;
}
.contact-links a > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.copy {
  flex: 0 0 auto; font: inherit; font-size: 13px; cursor: pointer;
  padding: 8px 14px; border-radius: 999px; margin-right: 4px;
  color: var(--on-ink); background: rgba(244, 246, 245, 0.06); border: 1px solid var(--on-ink-rule);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.copy:hover { background: rgba(244, 246, 245, 0.12); border-color: rgba(244, 246, 245, 0.3); }
.copy.done { color: var(--ink); background: var(--green-soft); border-color: var(--green-soft); }
.contact-links a small { font-size: 13px; letter-spacing: 0; color: var(--on-ink-dim); display: block; margin-bottom: 6px; }
.contact-links a span.arr { transition: transform 0.4s var(--ease); color: var(--green-soft); }
.contact-links a:hover span.arr { transform: translate(4px, -4px); }
.foot { padding: 64px 0 40px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--on-ink-dim); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-ink); }

/* Pages internes */
.hero-page { padding: 168px 0 96px; }
.hero-page h1 { font-size: clamp(42px, 6vw, 80px); }
.soon {
  margin-top: 40px; display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--on-ink-dim);
}
.soon i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-soft); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- Apparitions ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .hero .rv { transition-duration: 1.1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
  .area, .chart .lbl, .chart .dot { opacity: 1; }
}

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .problems { grid-template-columns: 1fr; }
  .pb h3 { margin-top: 32px; }
  .method-grid, .duo-head { grid-template-columns: 1fr; gap: 40px; }
  .method-side { position: static; }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature .txt { padding: 40px 32px 0; }
  .feature .chart { padding: 32px; }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --gut: 20px; }
  body { font-size: 16px; }
  .bar nav a:not(.cta) { display: none; }
  .hero { padding-top: 128px; }
  .proof { grid-template-columns: 1fr; margin-top: 72px; }
  .proof div, .proof div + div { padding: 22px 0; border-left: 0; }
  .proof div + div { border-top: 1px solid var(--on-ink-rule); }
  .sec { padding: 96px 0; }
  .promises { grid-template-columns: 1fr; gap: 28px; }
  .feature { border-radius: 20px; }
  .feature .txt { padding: 32px 22px 0; }
  .feature .chart { padding: 24px 22px 28px; }
  .facts { grid-template-columns: repeat(3, auto); gap: 0 20px; }
  .facts b { font-size: 22px; }
  .viz { padding: 18px; }
  .case { padding: 28px 22px; }
  .case dl div { grid-template-columns: 1fr; gap: 4px; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-links .ci + .ci { padding-left: 0; border-left: 0; }
  .foot { flex-direction: column; }
  .steps li { grid-template-columns: 40px 1fr; padding: 26px 0; }
  .steps li b { font-size: 19px; }
}
@media (max-width: 720px) {
  .gap-stage { overflow-x: auto; margin-inline: -18px; padding-inline: 18px; scrollbar-width: none; }
  .gap-stage::-webkit-scrollbar { display: none; }
  .gap-stage svg { min-width: 540px; }
}
.hero-page + .contact { border-top: 1px solid var(--on-ink-rule); }

/* Pages projet */
.kpis { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--on-ink-rule); }
.kpis div { padding: 24px 24px 8px 0; }
.kpis div + div { padding-left: 24px; border-left: 1px solid var(--on-ink-rule); }
.kpis b { display: block; font-size: clamp(26px, 2.8vw, 38px); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.kpis span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--on-ink-dim); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.split .side { position: sticky; top: 120px; }
.split .side p { margin-top: 20px; color: var(--dim); }
.split ol { list-style: none; margin-top: 32px; counter-reset: s; }
.split ol li { counter-increment: s; position: relative; padding: 16px 0 16px 44px; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.5; }
.split ol li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--green); }
.split ol li b { font-weight: 500; }
.plate { border-radius: 24px; background: var(--paper); border: 1px solid var(--rule); padding: 24px; }
.plate img { display: block; width: 100%; height: auto; }
.alt { background: var(--card); border-block: 1px solid var(--rule); }
.alt .plate { background: var(--paper); }
.back { display: inline-flex; margin-top: 56px; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .side { position: static; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis div:nth-child(3) { padding-left: 0; border-left: 0; }
  .kpis div:nth-child(n+3) { border-top: 1px solid var(--on-ink-rule); }
}
@media (max-width: 720px) { .plate { padding: 14px; border-radius: 18px; } }

/* Teneolog : le raisonnement, carte animée */
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: start; margin-top: 64px; }
.stage { position: sticky; top: 96px; }
.map {
  position: relative; border-radius: 24px; overflow: hidden;
  background: var(--card); border: 1px solid var(--rule);
  box-shadow: 0 40px 80px -60px rgba(10, 33, 55, 0.35);
}
.map svg { display: block; width: 100%; height: auto; }
.map-head { position: absolute; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.map-head .mono { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.verdict-pill {
  font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px;
  background: var(--green); color: #fff; opacity: 0; transform: translateY(-6px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.s6 .verdict-pill { opacity: 1; transform: none; }
.log {
  margin-top: 12px; border-radius: 16px; padding: 14px 18px; min-height: 148px;
  background: var(--ink); color: var(--on-ink-dim);
  font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; line-height: 1.75;
}
.log div { opacity: 0.25; transition: opacity 0.5s, color 0.5s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log div.on { opacity: 1; }
.log div.now { color: var(--green-soft); }
.log div b { color: var(--on-ink); font-weight: 500; }
.illus { margin-top: 10px; font-size: 12px; color: var(--dim); }

.tn-road-main { fill: none; stroke: #EDF0F2; stroke-width: 12; stroke-linecap: round; transition: stroke 0.8s; }
.tn-road { fill: none; stroke: #DCE2E7; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.s3 .tn-road-main, .s4 .tn-road-main, .s5 .tn-road-main, .s6 .tn-road-main { stroke: #DCE8DE; }
.tn-g { opacity: 0; transition: opacity 0.7s var(--ease); }
.s1 .g1, .s2 .g1 { opacity: 1; }
.s2 .g2, .s3 .g2, .s4 .g2, .s5 .g2, .s6 .g2 { opacity: 1; }
.s3 .g3, .s4 .g3, .s5 .g3, .s6 .g3 { opacity: 1; }
.s4 .g4 { opacity: 1; }
.s5 .g5, .s6 .g5 { opacity: 1; }
.s6 .g6 { opacity: 1; }
.s2 .g2t { opacity: 1; }
.tn-dest { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; opacity: 0; transition: opacity 0.6s; }
.s1 .tn-dest, .s2 .tn-dest, .s3 .tn-dest, .s4 .tn-dest, .s5 .tn-dest, .s6 .tn-dest { opacity: 1; }
.tn-pin { transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(-14px) scale(0.6); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.4s; }
.s1 .tn-pin, .s2 .tn-pin, .s3 .tn-pin, .s4 .tn-pin, .s5 .tn-pin, .s6 .tn-pin { transform: none; opacity: 1; }
.tn-route { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.8s var(--ease), stroke 0.6s, opacity 0.6s, stroke-width 0.6s; }
.tn-back { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 5; opacity: 0; transition: opacity 0.8s 1.2s, stroke 0.6s; }
.s3 .tn-route, .s4 .tn-route, .s5 .tn-route, .s6 .tn-route { stroke-dashoffset: 0; }
.s3 .tn-back, .s4 .tn-back, .s5 .tn-back, .s6 .tn-back { opacity: 0.55; }
.tn-route.r2 { transition-delay: 0.15s; } .tn-route.r3 { transition-delay: 0.3s; } .tn-route.r4 { transition-delay: 0.45s; }
.s5 .tn-route.fail, .s6 .tn-route.fail { stroke: #B5523B; opacity: 0.55; }
.s5 .tn-back.fail, .s6 .tn-back.fail { stroke: #B5523B; opacity: 0.3; }
.s5 .tn-route.doubt, .s6 .tn-route.doubt { stroke: #8FB592; }
.s5 .tn-back.doubt, .s6 .tn-back.doubt { stroke: #8FB592; }
.s5 .tn-route.ok, .s6 .tn-route.ok { stroke: var(--green); stroke-width: 4; }
.s5 .tn-back.ok, .s6 .tn-back.ok { stroke: var(--green); opacity: 0.8; }
.s6 .tn-route.fail, .s6 .tn-route.doubt { opacity: 0.25; }
.tn-anchor circle.halo { fill: rgba(158, 200, 160, 0.35); animation: ring 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ring { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.tn-txt { font-family: Geist, sans-serif; font-size: 12px; fill: var(--ink); }
.tn-mono { font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.04em; fill: var(--dim); }
.tn-mono.ok { fill: var(--green); }
.tn-mono.warn { fill: #B5523B; }
.tn-cp { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.s5 .tn-cp.bad, .s6 .tn-cp.bad { stroke: #B5523B; fill: #F6E7E3; }
.s5 .tn-cp.doubt, .s6 .tn-cp.doubt { stroke: #8FB592; fill: #EEF5EE; }
.s5 .tn-cp.good, .s6 .tn-cp.good { stroke: var(--green); fill: #E3EFE5; }
.ask { font-family: Geist, sans-serif; }

.reason { list-style: none; }
.reason li { padding: 0 0 18vh; color: #9AA6B1; transition: color 0.5s var(--ease); }
.reason li:last-child { padding-bottom: 32vh; }
.reason .q { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.04em; color: inherit; }
.reason h3 { margin-top: 10px; font-size: 26px; line-height: 1.15; font-weight: 500; letter-spacing: -0.025em; }
.reason p { margin-top: 12px; font-size: 16px; line-height: 1.55; }
.reason li.on { color: var(--ink); }
.reason li.on .q { color: var(--green); }
.reason li.on p { color: var(--dim); }
.reason li .stg { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; font-size: 10px; }

.code-band { background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.code-band::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(rgba(244,246,245,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(244,246,245,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, #000, transparent 75%);
}
.code-band .label { color: var(--green-soft); }
.code-band .grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.code-band p { margin-top: 20px; color: var(--on-ink-dim); max-width: 34rem; }
.big-num { font-size: clamp(64px, 9vw, 128px); font-weight: 600; letter-spacing: -0.06em; line-height: 0.9; }
.big-num small { display: block; margin-top: 14px; font-size: 15px; letter-spacing: 0; font-weight: 400; color: var(--on-ink-dim); }
.split-bars { margin-top: 32px; display: grid; gap: 12px; }
.split-bars div { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-size: 14px; color: var(--on-ink-dim); }
.split-bars div b { color: var(--on-ink); font-weight: 500; }
.split-bars i { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: var(--on-ink-rule); position: relative; overflow: hidden; }
.split-bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--green-soft); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) 0.3s; }
.split-bars.in i::after { transform: scaleX(1); }
.pairs { margin-top: 40px; border-top: 1px solid var(--on-ink-rule); }
.pairs div { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--on-ink-rule); font-size: 15px; }
.pairs div span:first-child { color: var(--on-ink-dim); font-style: italic; }
.pairs div span:last-child { color: var(--on-ink); }
.pairs .h span { font-style: normal !important; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-soft) !important; }

@media (max-width: 960px) {
  .story { grid-template-columns: 1fr; gap: 24px; }
  .stage { top: 76px; z-index: 2; }
  .log { min-height: 0; padding: 10px 14px; }
  .log div:not(.now) { display: none; }
  .illus { display: none; }
  .reason { padding-top: 24px; }
  .reason li { padding-bottom: 50vh; }
  .code-band .grid2 { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 720px) {
  .map { border-radius: 18px; }
  .reason h3 { font-size: 22px; }
  .pairs div { grid-template-columns: 1fr; gap: 4px; }
}
.map svg { max-height: calc(100vh - 290px); margin: 0 auto; }
@media (max-width: 960px) { .map svg { max-height: 46vh; } }

/* Accueil : le dirigeant, ses six priorités, et l'arrivée */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.org {
  position: relative; height: 420px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(244,246,245,0.05), rgba(244,246,245,0.015));
  border: 1px solid var(--on-ink-rule);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.org .in-org { position: absolute; inset: 24px; }
.org svg.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.org .lk { fill: none; stroke: rgba(244,246,245,0.22); stroke-width: 1.2; transition: opacity 0.8s var(--ease); }
.org .lk.wait { stroke-dasharray: 3 5; }
.org .lk.me { stroke: var(--green-soft); opacity: 0; }
.org.st1 .lk.me, .org.st2 .lk.me, .org.st3 .lk.me { opacity: 0.8; }
.org.st1 .lk.wait, .org.st2 .lk.wait, .org.st3 .lk.wait { opacity: 0; }
.org .lk.boss2 { opacity: 0; }
.org.st1 .lk.boss2, .org.st2 .lk.boss2, .org.st3 .lk.boss2 { opacity: 1; }
.org.st1 .lk.boss1, .org.st2 .lk.boss1, .org.st3 .lk.boss1 { opacity: 0; }

.person {
  position: absolute; top: 0; width: 46%; height: 64px;
  display: flex; align-items: center; gap: 12px; padding: 0 16px;
  border-radius: 14px; border: 1px solid var(--on-ink-rule); background: var(--ink-2);
  transition: left 0.9s var(--ease), opacity 0.7s var(--ease), transform 0.7s var(--ease), border-color 0.6s;
}
.person i {
  flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: 13px; font-weight: 600; background: rgba(244,246,245,0.1); color: var(--on-ink);
}
.person b { display: block; font-size: 15px; font-weight: 500; line-height: 1.2; }
.person small { display: block; font-size: 12px; color: var(--on-ink-dim); }
.person.boss { left: 27%; }
.org.st1 .person.boss, .org.st2 .person.boss, .org.st3 .person.boss { left: 0; }
.person.me { left: 54%; opacity: 0; transform: translateY(-10px); border-color: rgba(158,200,160,0.45); }
.person.me i { background: var(--green-soft); color: var(--ink); }
.org.st1 .person.me, .org.st2 .person.me, .org.st3 .person.me { opacity: 1; transform: none; }

.prio { list-style: none; }
.prio li {
  position: absolute; width: 46%; height: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px 0 14px;
  border-radius: 12px; font-size: 13.5px; color: var(--on-ink);
  background: rgba(244,246,245,0.04); border: 1px solid var(--on-ink-rule);
  transition: border-color 0.6s, background 0.6s, color 0.6s;
}
.prio li.c1 { left: 0; } .prio li.c2 { left: 54%; }
.prio li.r1 { top: 112px; } .prio li.r2 { top: 172px; } .prio li.r3 { top: 232px; }
.prio li.waiting { border-style: dashed; color: var(--on-ink-dim); background: transparent; }
.badge { position: relative; flex: 0 0 auto; height: 22px; min-width: 84px; }
.badge span {
  position: absolute; right: 0; top: 0; height: 22px; padding: 0 9px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: "Geist Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase;
  opacity: 0; transform: translateY(4px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.badge .w { color: var(--on-ink-dim); border: 1px dashed rgba(244,246,245,0.25); }
.badge .p { color: var(--on-ink); background: rgba(244,246,245,0.1); }
.badge .p::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-soft); animation: blink 1.4s ease-in-out infinite; }
.badge .v { color: var(--ink); background: var(--green-soft); }
.prio li[data-s="w"] .w, .prio li[data-s="p"] .p, .prio li[data-s="v"] .v { opacity: 1; transform: none; }
.prio li[data-s="v"] { border-color: rgba(158,200,160,0.4); background: rgba(158,200,160,0.07); color: var(--on-ink); border-style: solid; }
.prio li[data-s="p"] { border-style: solid; color: var(--on-ink); }

.org-foot {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid var(--on-ink-rule); font-size: 13px; color: var(--on-ink-dim);
}
.org-foot b { color: var(--on-ink); font-weight: 500; }
.org-foot .count { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; }
.org-foot .bar-v { flex: 1; height: 3px; margin: 0 14px; border-radius: 2px; background: var(--on-ink-rule); overflow: hidden; }
.org-foot .bar-v i { display: block; height: 100%; width: calc(var(--v, 0) / 6 * 100%); background: var(--green-soft); transition: width 0.6s var(--ease); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 720px) {
  .org { height: 400px; }
  .org .in-org { inset: 16px; }
  .person { padding: 0 10px; gap: 8px; height: 58px; }
  .person i { flex-basis: 28px; height: 28px; font-size: 11px; }
  .person b { font-size: 13px; } .person small { font-size: 11px; }
  .prio li { font-size: 12px; padding: 0 8px 0 10px; height: 52px; }
  .prio li.r1 { top: 100px; } .prio li.r2 { top: 162px; } .prio li.r3 { top: 224px; }
  .badge { min-width: 0; height: 18px; }
  .badge span { font-size: 9px; height: 18px; padding: 0 6px; }
  .prio li { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
  .badge { width: 100%; } .badge span { left: 0; right: auto; }
}
.hero-grid h1 { font-size: clamp(40px, 4.8vw, 70px); max-width: 13ch; }
.prio li { background: #102840; white-space: nowrap; }
.prio li.waiting { background: #0C243C; }
.prio li[data-s="v"] { background: #15333F; }
@media (max-width: 1100px) and (min-width: 721px) {
  .prio li { font-size: 12.5px; }
  .badge { min-width: 0; }
  .badge span { font-size: 9.5px; padding: 0 7px; }
}
.story > * { min-width: 0; }
@media (max-width: 960px) { .story { grid-template-columns: minmax(0, 1fr); } }


/* Méthode : l'espace client, budget et avancement */
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dim); white-space: nowrap; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 2s ease-in-out infinite; }
.dash {
  margin-top: 88px; border-radius: 22px; overflow: hidden;
  background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 50px 100px -70px rgba(10, 33, 55, 0.45), 0 1px 0 rgba(10, 33, 55, 0.03);
}
.d-top { display: flex; align-items: center; gap: 16px; padding: 12px 18px; background: var(--card); border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--dim); }
.d-top .dots { display: inline-flex; gap: 6px; }
.d-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: #E3E8EC; }
.d-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-title b { color: var(--ink); font-weight: 500; }
.d-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border-bottom: 1px solid var(--rule); }
.d-kpis div { background: var(--card); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.d-kpis small { font-size: 12px; color: var(--dim); }
.d-kpis b { font-size: 26px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.d-kpis span { font-size: 12px; color: var(--dim); }
.d-kpis .hl b { color: var(--green); }
.d-bar { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: var(--rule); overflow: hidden; }
.d-bar i { display: block; height: 100%; width: calc(var(--p) * 1%); background: var(--green); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) 0.2s; }
.dash.in .d-bar i { transform: scaleX(1); }
.d-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.d-table { padding: 10px 12px 16px; border-right: 1px solid var(--rule); }
.d-row {
  width: 100%; font: inherit; color: var(--ink); text-align: left; cursor: pointer;
  display: grid; grid-template-columns: 1.1fr 1.3fr 1.2fr 1.4fr; gap: 14px; align-items: center;
  padding: 14px 12px; border-radius: 12px; border: 1px solid transparent; background: none;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.d-row:hover { background: rgba(10, 33, 55, 0.03); }
.d-row[aria-selected="true"] { background: var(--card); border-color: var(--rule); box-shadow: 0 1px 3px rgba(10, 33, 55, 0.06); }
.d-headrow { cursor: default; padding-block: 8px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.d-headrow:hover { background: none; }
.d-name { font-weight: 500; font-size: 15px; }
.d-prog { display: flex; align-items: center; gap: 10px; }
.d-prog i { flex: 1; height: 5px; border-radius: 3px; background: var(--rule); position: relative; overflow: hidden; }
.d-prog i::after { content: ""; position: absolute; inset: 0; width: calc(var(--p) * 1%); background: var(--green); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease) 0.3s; }
.dash.in .d-prog i::after { transform: scaleX(1); }
.d-prog em { font-style: normal; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--dim); min-width: 34px; text-align: right; }
.d-money { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; }
.d-next { font-size: 13px; color: var(--dim); }
.d-rule { margin: 14px 12px 0; padding: 12px 14px; border-radius: 12px; background: #EAF2EB; color: var(--green); font-size: 13.5px; line-height: 1.45; }
.d-rule b { font-weight: 600; }
.d-detail { padding: 22px 24px 24px; background: var(--card); min-height: 420px; }
.d-detail h4 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.d-detail h4 em { font-style: normal; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; font-weight: 400; color: var(--dim); }
.d-sub { margin-top: 18px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.d-tasks { list-style: none; margin-top: 8px; }
.d-tasks li { display: grid; grid-template-columns: 16px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; font-size: 14px; border-bottom: 1px dashed var(--rule); }
.d-tasks li::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #B9C3CC; box-sizing: border-box; }
.d-tasks li.doing::before { border-color: var(--green); background: linear-gradient(90deg, var(--green) 50%, transparent 50%); }
.d-tasks li.done { color: var(--dim); }
.d-tasks li.done span:first-child { text-decoration: line-through; text-decoration-color: rgba(94, 110, 126, 0.5); }
.d-tasks li.done::before { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.d-tasks li .when { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; color: var(--dim); }
.d-tasks li.doing .when { color: var(--green); }
.d-ask { margin-top: 16px; padding: 14px; border-radius: 14px; border: 1px solid #D6E5D8; background: #F3F8F3; }
.d-ask small { display: block; font-family: "Geist Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.d-ask p { margin-top: 6px; font-size: 14.5px; line-height: 1.4; color: var(--ink); }
.d-ask .btns { margin-top: 12px; display: flex; gap: 8px; }
.d-ask button { font: inherit; font-size: 13px; padding: 7px 14px; border-radius: 999px; cursor: pointer; border: 1px solid var(--rule); background: var(--card); color: var(--ink); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.d-ask button.yes { background: var(--green); border-color: var(--green); color: #fff; }
.d-ask button.yes:hover { background: #154C36; }
.d-ask.ok { background: var(--card); border-color: var(--rule); }
.d-ask.ok .btns { display: none; }
.d-ask .done-msg { display: none; margin-top: 10px; font-size: 13px; color: var(--green); font-weight: 500; }
.d-ask.ok .done-msg { display: block; }
.d-log { list-style: none; margin-top: 8px; }
.d-log li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; padding: 6px 0; font-size: 13px; color: var(--dim); }
.d-log li b { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; font-weight: 400; color: var(--ink); }
.d-log li i { font-style: normal; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; }
.d-detail > * { animation: dIn 0.45s var(--ease) both; }
@keyframes dIn { from { opacity: 0; transform: translateY(6px); } }
.dash-note { margin-top: 12px; }
@media (max-width: 960px) {
  .d-kpis { grid-template-columns: repeat(2, 1fr); }
  .d-main { grid-template-columns: 1fr; }
  .d-table { border-right: 0; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 720px) {
  .dash { margin-top: 56px; border-radius: 18px; }
  .d-top .live { display: none; }
  .d-kpis div { padding: 14px; }
  .d-kpis b { font-size: 20px; }
  .d-headrow { display: none; }
  .d-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .d-prog { grid-column: 1 / -1; grid-row: 2; }
  .d-money { grid-column: 2; grid-row: 1; }
  .d-next { grid-column: 1 / -1; }
  .d-detail { padding: 18px 16px; min-height: 0; }
}
.d-money { white-space: nowrap; }
.d-row { grid-template-columns: minmax(80px, 1fr) minmax(90px, 1.2fr) auto minmax(0, 1.3fr); }
@media (max-width: 1180px) and (min-width: 961px) { .d-main { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .d-next { display: none; } .d-headrow span:last-child { display: none; } .d-row { grid-template-columns: minmax(80px, 1fr) minmax(90px, 1.3fr) auto; } }
@media (max-width: 720px) { .d-row { grid-template-columns: 1fr auto; } }
.d-month { margin: 14px 12px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: 12px; overflow: hidden; background: var(--rule); border: 1px solid var(--rule); }
.d-month small { grid-column: 1 / -1; background: var(--card); padding: 10px 14px 0; font-family: "Geist Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.d-month div { background: var(--card); padding: 8px 14px 14px; }
.d-month b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.d-month span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--dim); }

/* Exemples : les autres sujets, en liste */
.more { margin-top: 120px; }
.more-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.more-head h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; }
.more-head p { margin-top: 12px; color: var(--dim); max-width: 34rem; }
.chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.chips button {
  font: inherit; font-size: 13px; cursor: pointer; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--rule); background: var(--card); color: var(--dim);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.chips button:hover { color: var(--ink); border-color: #CDD5DC; }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.list { list-style: none; margin-top: 36px; border-top: 1px solid var(--rule); }
.list li {
  position: relative;
  display: grid; grid-template-columns: 110px 210px minmax(0, 1fr) 110px; gap: 24px; align-items: baseline;
  padding: 26px 12px; border-bottom: 1px solid var(--rule);
  transition: background 0.4s var(--ease), opacity 0.4s, transform 0.4s;
}
.list li::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.list li:hover { background: var(--card); }
.list li:hover::before { transform: scaleX(1); }
.list li.off { display: none; }
.list .yr { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--dim); }
.list .who { font-size: 13px; color: var(--dim); line-height: 1.4; }
.list .who b { display: block; font-size: 16px; font-weight: 500; color: var(--ink); }
.list .what { font-size: 15px; color: var(--dim); line-height: 1.55; }
.list .what b { display: block; margin-bottom: 4px; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); }
.list .tg { justify-self: end; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green); padding: 4px 10px; border-radius: 999px; background: #EAF2EB; white-space: nowrap; }
.more > .link { margin-top: 32px; color: var(--ink); }
@media (max-width: 960px) {
  .list li { grid-template-columns: 90px minmax(0, 1fr) auto; gap: 8px 20px; }
  .list .what { grid-column: 2 / -1; }
}
@media (max-width: 720px) {
  .more { margin-top: 88px; }
  .list li { grid-template-columns: minmax(0, 1fr) auto; padding: 22px 4px; }
  .list .yr { grid-column: 1; }
  .list .tg { grid-column: 2; grid-row: 1; }
  .list .who, .list .what { grid-column: 1 / -1; }
}
.brand small { font-size: 12px; font-weight: 400; color: var(--on-ink-dim); margin-left: 4px; }
.addr { margin-top: 28px; font-size: 15px; color: var(--on-ink-dim); }
.addr b { color: var(--on-ink); font-weight: 500; }
@media (max-width: 720px) { .brand small { display: none; } }
.brand { gap: 10px; }
.brand img { display: block; }
.brand .wm { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 25px; letter-spacing: 0; line-height: 1; }
.brand small { margin-left: 2px; font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--on-ink-dim); }
@media (max-width: 720px) { .brand small { display: inline; } }
