  :root {
    --canvas: #ffffff;
    --soft: #fafafa;
    --night: #1c1c1c;
    --hairline: #dfdfdf;
    --cool: #ededed;
    --cool-2: #d4d4d4;
    --ink: #171717;
    --mute: #707070;
    --mute-2: #9a9a9a;
    --primary: #3ecf8e;
    --primary-deep: #24b47e;
    --on-primary: #171717;
    --good: #157f5b;
    --sh-2: 0 8px 24px rgba(0,0,0,.08);
    --prose: 44rem;
    --wide: 60rem;
    --pad: clamp(1.25rem, 5vw, 2.5rem);
    --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  }

  * { box-sizing: border-box; }

  body {
    background: var(--canvas); color: var(--ink);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3 { font-weight: 500; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
  p { margin: 0; }
  a { color: inherit; text-underline-offset: 2px; }
  code { font-family: var(--mono); font-size: .8125rem; background: var(--soft); border: 1px solid var(--cool); border-radius: 4px; padding: .05rem .35rem; overflow-wrap: anywhere; }
  :focus-visible { outline: 2px solid var(--primary-deep); outline-offset: 3px; border-radius: 4px; }

  /* ---------- masthead (repris de /pricing) ---------------------------- */
  .masthead {
    padding: 1.25rem var(--pad); border-bottom: 1px solid var(--hairline);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    position: sticky; top: 0; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); z-index: 20;
  }
  .wordmark { text-decoration: none; font-weight: 500; letter-spacing: -.02em; font-size: 1.0625rem; display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); }
  .wordmark__mark { flex: none; }
  .masthead__meta { font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }

  /* ---------- trame ------------------------------------------------- */
  .band { padding: clamp(2.75rem, 6vw, 4.5rem) var(--pad); }
  .band--soft { background: var(--soft); border-block: 1px solid var(--hairline); }
  .prose { max-width: var(--prose); margin-inline: auto; display: flex; flex-direction: column; gap: 1.125rem; }
  .eyebrow { font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
  .h1 { font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.1; }
  .h2 { font-size: clamp(1.375rem, 3.2vw, 1.75rem); line-height: 1.2; }
  .lede { font-size: clamp(1.0625rem, 2.2vw, 1.1875rem); line-height: 1.55; color: var(--mute); }
  .body { color: var(--mute); font-size: .9375rem; }
  .body strong { color: var(--ink); font-weight: 500; }

  .actions { display: flex; flex-wrap: wrap; gap: .625rem; align-items: center; }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--primary); color: var(--on-primary); text-decoration: none; font-weight: 500; font-size: .9375rem; padding: .625rem 1.125rem; border-radius: 6px; }
  .btn:hover { background: var(--primary-deep); }
  .btn--ghost { background: var(--canvas); color: var(--ink); border: 1px solid var(--hairline); font-weight: 400; }
  .btn--ghost:hover { background: var(--soft); border-color: var(--cool-2); }

  /* ---------- sommaire ------------------------------------------------ */
  .toc { display: flex; flex-wrap: wrap; gap: .375rem .5rem; padding: 0; margin: .25rem 0 0; list-style: none; }
  .toc a { display: inline-block; font-size: .8125rem; text-decoration: none; color: var(--mute); border: 1px solid var(--hairline); border-radius: 999px; padding: .25rem .75rem; background: var(--canvas); }
  .toc a:hover { color: var(--ink); border-color: var(--cool-2); }

  /* ---------- prérequis ----------------------------------------------- */
  .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
  .facts > div { background: var(--canvas); padding: 1rem 1.125rem; display: flex; flex-direction: column; gap: .25rem; }
  .facts dt { font-family: var(--mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-2); }
  .facts dd { margin: 0; font-size: .875rem; line-height: 1.5; }
  dl.facts { margin: 0; }

  /* ---------- vidéo (chargée au clic) --------------------------------- */
  .video { margin: 0; display: flex; flex-direction: column; gap: .5rem; }
  .video__frame { position: relative; width: 100%; overflow: hidden; border-radius: 10px; border: 1px solid var(--hairline); background: var(--cool); box-shadow: var(--sh-2); }
  .video__frame img, .video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
  .video__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
  .video__play::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.08); transition: background .2s; }
  .video__play:hover::after { background: rgba(0,0,0,.18); }
  .video__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; box-shadow: var(--sh-2); }
  .video figcaption { font-size: .8125rem; color: var(--mute); }

  /* ---------- étapes -------------------------------------------------- */
  .steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
  .step { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--hairline); }
  .step:last-child { border-bottom: 1px solid var(--hairline); }
  .step__n { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--cool-2); display: grid; place-items: center; font-family: var(--mono); font-size: .8125rem; background: var(--canvas); }
  .step__b { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
  .step h3 { font-size: 1.0625rem; }
  .step p, .step li { font-size: .9375rem; color: var(--mute); }
  .step ul { margin: 0; padding-left: 1.125rem; display: flex; flex-direction: column; gap: .25rem; }
  .ui { color: var(--ink); font-weight: 500; white-space: nowrap; }
  .path { font-family: var(--mono); font-size: .8125rem; color: var(--ink); }
  .note { font-size: .875rem; color: var(--mute); border-left: 2px solid var(--primary); padding: .125rem 0 .125rem .875rem; }
  .note strong { color: var(--ink); font-weight: 500; }

  /* ---------- agents -------------------------------------------------- */
  .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .75rem; }
  .card { border: 1px solid var(--hairline); border-radius: 10px; padding: 1rem 1.125rem; background: var(--canvas); display: flex; flex-direction: column; gap: .375rem; }
  .card h3 { font-size: .9375rem; }
  .card p { font-size: .875rem; line-height: 1.55; color: var(--mute); }
  .card .tag { align-self: flex-start; font-family: var(--mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--good); background: rgba(62,207,142,.14); border-radius: 999px; padding: .2rem .5rem; }

  /* ---------- table des autorisations -------------------------------- */
  .scopes { width: 100%; border-collapse: collapse; font-size: .875rem; }
  .scopes th { text-align: left; font-family: var(--mono); font-size: .625rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-2); padding: 0 .75rem .5rem 0; }
  .scopes td { border-top: 1px solid var(--hairline); padding: .625rem .75rem .625rem 0; vertical-align: top; color: var(--mute); }
  .scopes td:first-child { width: 42%; }
  .scopes tr.group td { color: var(--ink); font-weight: 500; padding-top: 1.25rem; border-top: 0; }
  @media (max-width: 36rem) {
    .scopes thead { display: none; }
    .scopes tr { display: block; border-top: 1px solid var(--hairline); padding: .625rem 0; }
    .scopes tr.group { border-top: 0; }
    .scopes td { display: block; border: 0; padding: .125rem 0; width: auto !important; }
  }

  .list { margin: 0; padding-left: 1.125rem; display: flex; flex-direction: column; gap: .5rem; color: var(--mute); font-size: .9375rem; }
  .list strong { color: var(--ink); font-weight: 500; }

  /* ---------- dépannage ----------------------------------------------- */
  details { border-top: 1px solid var(--hairline); }
  details:last-of-type { border-bottom: 1px solid var(--hairline); }
  summary { cursor: pointer; list-style: none; padding: .875rem 0; font-weight: 500; font-size: .9375rem; display: flex; justify-content: space-between; gap: 1rem; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; font-family: var(--mono); color: var(--mute); }
  details[open] summary::after { content: "−"; }
  details > div { padding: 0 0 1rem; font-size: .9375rem; color: var(--mute); display: flex; flex-direction: column; gap: .5rem; }

  footer { padding: 1.75rem var(--pad) 3rem; border-top: 1px solid var(--hairline); }
  .foot { max-width: var(--wide); margin-inline: auto; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8125rem; color: var(--mute); }
  footer a { text-decoration: none; }
  footer a:hover { text-decoration: underline; }

  @media print {
    .masthead { position: static; }
    details > div { display: flex !important; }
  }
