/* Web Katalyst — études de cas et fiches projets.
   Les compositions varient d'un projet à l'autre ; les briques sont communes : ouverture, faits marquants,
   chapitres texte et image, détails commentés, graphique, schéma de flux, projet suivant. */

/* ---------- Ouverture ---------- */
.wk-case-hero { position: relative; background: var(--wk-ink); color: var(--on-dark-muted); padding: 28px 0 48px; overflow: hidden; }
.wk-case-hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .07), transparent 70%); pointer-events: none; }
.wk-case-hero > .wk-container { position: relative; }
.wk-case-hero-grid { display: grid; gap: 32px; align-items: center; }
.wk-page .wk-case-logo { display: block; width: auto; height: 46px; max-width: min(70%, 260px); margin: 6px 0 24px; object-fit: contain; object-position: left center; }
.wk-page .wk-case-logo.is-wide { height: 34px; }
.wk-case-hero .wk-eyebrow { color: var(--wk-yellow); }
.wk-page .wk-case-hero h1 { color: #fff; font-size: clamp(2rem, 1.25rem + 2.7vw, 3.25rem); line-height: 1.08; letter-spacing: -.015em; margin-bottom: .5em; }
.wk-case-hero .wk-lead { color: var(--on-dark); font-size: 1.125rem; max-width: 34em; margin: 0; }
.wk-case-visual { position: relative; margin: 0; }
.wk-case-visual .wk-device-desktop { width: 100%; }
.wk-case-visual .wk-device img { width: 100%; height: auto; }
.wk-case-visual figcaption { margin-top: 12px; font-size: .8125rem; color: var(--on-dark-muted); text-align: right; }
.wk-case-visual .wk-device-phone { right: -2%; bottom: 6%; width: 22%; }
@media (min-width: 1024px) {
  .wk-case-hero { padding: 36px 0 64px; }
  .wk-case-hero-grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 56px; }
  .wk-page .wk-case-logo { height: 58px; margin-bottom: 30px; }
  .wk-page .wk-case-logo.is-wide { height: 40px; }
}

/* ---------- Faits marquants ---------- */
.wk-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 36px 0 0 !important; border-top: 1px solid var(--line-dark); }
.wk-facts li { padding: 20px 0 0; }
.wk-facts strong { display: block; font: 900 clamp(1.75rem, 1.2rem + 2vw, 2.75rem)/1 var(--font-title); color: #fff; letter-spacing: -.02em; }
.wk-facts span { display: block; margin-top: 8px; font-size: .9375rem; line-height: 1.4; max-width: 17em; }
.wk-facts.is-text strong { font-size: 1.125rem; line-height: 1.25; letter-spacing: 0; }
@media (min-width: 768px) { .wk-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; } .wk-facts.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Le projet en bref ---------- */
.wk-brief { display: grid; gap: 28px 56px; }
.wk-brief h2 { margin-bottom: .5em; }
.wk-brief-scope { padding: 26px 24px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.wk-page .wk-brief-scope h3 { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.wk-brief-scope .wk-ticks { margin: 0; }
.wk-steps-line { display: grid; gap: 10px; margin: 28px 0 0 !important; counter-reset: wk-sl; }
.wk-steps-line li { counter-increment: wk-sl; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); font-weight: 700; color: var(--text-strong); background: #fff; }
.wk-steps-line li::before { content: counter(wk-sl); flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--wk-yellow); color: var(--wk-ink); font-weight: 800; font-size: .875rem; }
@media (min-width: 900px) {
  .wk-brief { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; }
  .wk-steps-line { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
  .wk-steps-line li { flex-direction: column; align-items: flex-start; border-radius: 0; border-right-width: 0; padding: 18px; }
  .wk-steps-line li:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
  .wk-steps-line li:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; border-right-width: 1px; }
}

/* ---------- Chapitres ---------- */
.wk-chapter { padding: 56px 0; }
.wk-chapter + .wk-chapter { border-top: 1px solid var(--line); }
.wk-chapter-grid { display: grid; gap: 28px; align-items: center; }
.wk-page .wk-chapter-n { margin: 0 0 6px; font: 900 3rem/1 var(--font-title); color: var(--wk-yellow); letter-spacing: -.02em; }
.wk-chapter-text h2 { margin-bottom: .45em; }
.wk-chapter-text > p { font-size: 1.0625rem; max-width: 34em; }
.wk-chapter-text .wk-ticks { margin: 14px 0 0; }
.wk-chapter-note { margin-top: 16px !important; padding: 12px 16px; border-left: 3px solid var(--wk-yellow); background: var(--bg-soft); font-size: .9375rem !important; }
.wk-chapter-media { display: grid; gap: 18px; min-width: 0; }
.wk-shot { margin: 0; }
.wk-shot img { display: block; width: 100%; height: auto; border-radius: 8px; }
.wk-shot.has-frame img { border: 1px solid var(--line); box-shadow: var(--shadow); }
.wk-shot figcaption { margin-top: 10px; font-size: .875rem; color: var(--muted); }
@media (min-width: 1024px) {
  .wk-chapter { padding: 88px 0; }
  .wk-chapter-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
  .wk-chapter.is-reverse .wk-chapter-text { order: 2; }
  .wk-chapter.is-reverse .wk-chapter-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .wk-page .wk-chapter-n { font-size: 4rem; }
  /* Deux captures empilées : le texte part du haut et reste en vue pendant qu'on les parcourt, au lieu de flotter au milieu d'une colonne vide. */
  .wk-chapter-grid:has(.wk-chapter-media > :nth-child(2)) { align-items: start; }
  .wk-chapter-grid:has(.wk-chapter-media > :nth-child(2)) .wk-chapter-text { position: sticky; top: 112px; }
}

/* Grand chiffre posé sur un visuel */
.wk-stamp { justify-self: start; margin: 0; display: inline-flex; align-items: baseline; gap: 10px; padding: 12px 18px; border-radius: var(--radius-lg); background: var(--wk-ink); color: var(--on-dark-muted); font-size: .9375rem; }
.wk-stamp strong { font: 900 1.75rem/1 var(--font-title); color: var(--wk-yellow); white-space: nowrap; }

/* Canaux d'acquisition : trois sources mènent à la boutique */
.wk-channels { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, .8fr); align-items: center; padding: 24px; border-radius: var(--radius-lg); background: var(--wk-ink); color: #fff; }
.wk-channels ul { display: grid; gap: 10px; margin: 0; }
.wk-channels li { padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); font-weight: 700; font-size: .9375rem; line-height: 1.3; }
.wk-channels li small { display: block; font-weight: 400; color: var(--on-dark-muted); font-size: .8125rem; }
.wk-channels-beam { height: 2px; background: repeating-linear-gradient(90deg, var(--wk-yellow) 0 6px, transparent 6px 10px); }
.wk-channels-target { padding: 18px 16px; border-radius: 12px; background: #fff; color: var(--text-strong); text-align: center; font-weight: 700; box-shadow: var(--shadow-lg); }
.wk-channels-target img { display: block; height: 30px; width: auto; margin: 0 auto 8px; filter: invert(1); }
.wk-channels-target small { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; }
.wk-ratio { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.wk-ratio p { margin: 0; font-size: .9375rem; }
.wk-ratio ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 12px; }
.wk-ratio li { padding-top: 10px; border-top: 3px solid var(--wk-yellow); font-size: .8125rem; color: var(--muted); }
.wk-ratio li strong { display: block; font: 900 1.625rem/1.1 var(--font-title); color: var(--text-strong); }
.wk-ratio small { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.45; }

/* ---------- Résultats et graphique ---------- */
.wk-results { background: var(--wk-ink); color: var(--on-dark-muted); }
.wk-results h2 { color: #fff; }
.wk-results .wk-eyebrow { color: var(--wk-yellow); }
.wk-results-grid { display: grid; gap: 36px; align-items: end; }
.wk-results-text > p { font-size: 1.0625rem; max-width: 30em; }
.wk-results .wk-facts { margin-top: 24px !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wk-results-source { margin-top: 22px !important; font-size: .8125rem !important; color: var(--on-dark-muted); }
.wk-bars { margin: 0; }
.wk-bars ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; height: 300px; margin: 0; padding: 0 0 0; border-bottom: 1px solid var(--line-dark); }
.wk-bars li { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; position: relative; }
.wk-bars strong { font: 900 clamp(1.25rem, 1rem + 1.2vw, 1.875rem)/1.1 var(--font-title); color: #fff; margin-bottom: 10px; }
.wk-bars i { display: block; height: calc(var(--h) * .72); min-height: 8px; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--wk-yellow), var(--wk-orange)); transform-origin: bottom; }
.wk-bars span { position: absolute; left: 0; right: 0; bottom: -30px; font-size: .875rem; color: var(--on-dark-muted); }
.wk-bars figcaption { margin-top: 44px; font-size: .875rem; color: var(--on-dark-muted); }
.wk-bars.is-armed i { transform: scaleY(0); }
.wk-bars.is-armed strong { opacity: 0; }
.wk-bars.is-armed.is-in i { transform: none; transition: transform .7s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * .18s); }
.wk-bars.is-armed.is-in strong { opacity: 1; transition: opacity .4s ease calc(.45s + var(--i) * .18s); }
@media (min-width: 1024px) { .wk-results-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } .wk-bars ol { height: 340px; gap: 22px; } }

/* ---------- Galerie en mosaïque ---------- */
.wk-mosaic { display: grid; gap: 18px; }
.wk-mosaic figure { margin: 0; }
.wk-mosaic img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.wk-mosaic figcaption { margin-top: 8px; font-size: .875rem; color: var(--muted); }
@media (min-width: 768px) {
  .wk-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .wk-mosaic figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Schéma de flux (intégrations) ---------- */
.wk-flows { padding: 26px 20px; border-radius: var(--radius-lg); background: var(--wk-ink); color: #fff; }
.wk-flows-grid { display: grid; gap: 14px; align-items: stretch; }
.wk-flows-node { display: flex; flex-direction: column; justify-content: center; padding: 18px 16px; border-radius: 12px; text-align: center; font-weight: 700; line-height: 1.3; }
.wk-flows-node small { display: block; margin-top: 4px; font-weight: 400; font-size: .8125rem; }
.wk-flows-node.is-shop { background: #fff; color: var(--text-strong); box-shadow: var(--shadow-lg); }
.wk-flows-node.is-shop small { color: var(--muted); }
.wk-flows-node.is-hub { border: 1px solid var(--wk-yellow); background: var(--wk-ink-2); box-shadow: 0 0 34px rgba(255, 193, 14, .2); }
.wk-flows-node.is-hub small { color: var(--on-dark-muted); }
.wk-flows-node.is-back { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); }
.wk-flows-node.is-back small { color: var(--on-dark-muted); }
.wk-flows-list { display: grid; gap: 8px; margin: 0; align-content: center; }
.wk-flows-list li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; background: var(--wk-ink-3); font-size: .875rem; font-weight: 600; }
.wk-flows-list li::after { content: "→"; color: var(--wk-yellow); font-weight: 800; }
.wk-flows-list li.is-back-flow::after { content: "←"; }
.wk-flows-list li small { display: block; font-weight: 400; color: var(--on-dark-muted); font-size: .75rem; }
@media (max-width: 899px) { .wk-flows-list li::after { content: "↓"; } .wk-flows-list li.is-back-flow::after { content: "↑"; } }
.wk-flows-caption { margin-top: 16px; font-size: .8125rem; color: var(--on-dark-muted); }
@media (min-width: 900px) {
  .wk-flows { padding: 36px; }
  .wk-flows-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, .9fr); gap: 20px; }
}

/* ---------- Difficultés : problème, réalisation, intérêt ---------- */
.wk-challenges { display: grid; gap: 18px; }
.wk-challenge { display: grid; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.wk-page .wk-challenge h3 { font-size: 1.25rem; margin: 0; }
.wk-challenge dl { display: grid; gap: 12px; margin: 0; }
.wk-challenge dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wk-challenge dd { margin: 2px 0 0; }
.wk-challenge dd.is-gain { padding-left: 12px; border-left: 3px solid var(--wk-yellow); color: var(--text-strong); font-weight: 600; }
@media (min-width: 900px) {
  .wk-challenge { grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: 32px; padding: 30px 32px; }
  .wk-challenge dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

/* ---------- Projet suivant ---------- */
.wk-next-case-link { display: grid; gap: 20px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.wk-next-case-link:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.wk-next-case-text { display: flex; flex-direction: column; gap: 6px; }
.wk-next-case-text .wk-eyebrow { margin-bottom: 4px; }
.wk-next-case-text strong { font: 700 1.625rem/1.2 var(--font-title); color: var(--text-strong); }
.wk-next-case-shot { display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--wk-ink); }
.wk-next-case-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.wk-next-case-link:hover .wk-next-case-shot img { transform: scale(1.03); }
@media (min-width: 768px) { .wk-next-case-link { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 40px; padding: 32px; } }

/* ---------- Compléments : comparaison de deux langues, schéma, difficultés ---------- */
.wk-case-visual.has-phone { padding-bottom: 4%; }
.wk-case-visual.has-phone figcaption { text-align: left; padding-right: 26%; }
.wk-facts.is-mixed strong { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); }
.wk-facts.is-stack { grid-template-columns: 1fr !important; margin-top: 0 !important; border-top: 0; }
.wk-facts.is-stack li { padding: 18px 0; border-top: 1px solid var(--line-dark); }
.wk-results-grid.is-plain { align-items: start; }
.wk-results-grid.is-plain:not(:has(.wk-facts)) { grid-template-columns: minmax(0, 1fr); }
.wk-results-grid.is-plain:not(:has(.wk-facts)) .wk-results-text > p { max-width: 44em; }
.wk-results .wk-link { color: #fff; }
.wk-compare { margin: 0 0 36px; }
.wk-compare:last-child { margin-bottom: 0; }
.wk-compare-grid { display: grid; gap: 16px; }
.wk-compare-grid > div { position: relative; }
.wk-compare img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.wk-compare-tag { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 3px 10px; border-radius: 99px; background: var(--wk-ink); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wk-compare figcaption { margin-top: 12px; font-size: .9375rem; color: var(--muted); }
@media (min-width: 768px) { .wk-compare-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .wk-compare { margin-bottom: 48px; } }
.wk-flows { margin: 0; }
.wk-flows-back { display: grid; gap: 10px; }
.wk-flows-back .wk-flows-node { padding: 12px 14px; text-align: left; font-size: .9375rem; }
.wk-flows-list li span { display: block; }
.wk-page .wk-challenge h3 { display: flex; align-items: flex-start; gap: 12px; }
.wk-challenge h3 span { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--wk-yellow); color: var(--wk-ink); font: 800 .9375rem/1 var(--font-text); margin-top: -2px; }

/* ---------- Fiche commune, références associées, cartes ---------- */
.wk-case-hero.is-simple .wk-device-desktop { margin: 0 auto; max-height: 440px; }
.wk-brief:not(:has(.wk-brief-scope)) { grid-template-columns: minmax(0, 1fr); max-width: calc(820px + 2 * var(--gutter)); }
.wk-brief .wk-prose > :first-child { margin-top: 0; }
/* Fiche projet courte : les captures d'archive (360 px de large) sont posées côte à côte, chacune dans une fenêtre.
   Une capture de page entière montre son début ; le lien ouvre l'image complète. Jamais plus large que la source. */
.wk-mosaic.is-native { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 28px; }
.wk-mosaic.is-native figure { flex: 0 1 360px; min-width: 0; }
.wk-mosaic.is-native figcaption { text-align: center; }
.wk-page .wk-mosaic-title { margin: 0 0 32px; text-align: center; }
.wk-shotlong { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(19, 21, 28, .08); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.wk-shotlong img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; }
.wk-shotlong.is-long { max-height: 560px; }
.wk-shotlong.is-long::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 78%); pointer-events: none; }
.wk-shotlong-more { position: absolute; left: 50%; bottom: 14px; z-index: 1; transform: translateX(-50%); padding: 8px 16px; border-radius: 99px; background: var(--wk-ink); color: #fff; font: 700 .8125rem/1.2 var(--font-text); white-space: nowrap; }
.wk-shotlong:hover, .wk-shotlong:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(19, 21, 28, .14); }
.wk-shotlong:hover .wk-shotlong-more, .wk-shotlong:focus-visible .wk-shotlong-more { background: var(--wk-yellow); color: var(--wk-ink); }
@media (max-width: 699px) { .wk-shotlong.is-long { max-height: 460px; } }
@media (prefers-reduced-motion: reduce) { .wk-shotlong { transition: none; } .wk-shotlong:hover, .wk-shotlong:focus-visible { transform: none; } }
.wk-case-refs-grid { display: grid; gap: 28px; align-items: center; }
.wk-case-refs h2 { color: #fff; }
.wk-case-refs-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; margin: 0; }
.wk-case-refs-logos img { display: block; width: auto; height: 84px; max-width: 220px; object-fit: contain; }
@media (min-width: 900px) { .wk-case-refs-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; } .wk-case-refs-logos { justify-content: center; } }

/* ---------- Repères illustrés : faits marquants et périmètre ---------- */
.wk-ico { display: block; }
.wk-facts.has-icons { gap: 12px; border-top: 0; }
.wk-facts.has-icons li { display: grid; grid-template-rows: auto auto 1fr; align-content: start; padding: 18px 16px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .045); }
.wk-fact-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 10px; background: rgba(255, 193, 14, .14); color: var(--wk-yellow); }
.wk-facts.has-icons strong { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.125rem); line-height: 1.1; white-space: nowrap; }
.wk-facts.has-icons span { color: #d6d9e0; font-size: .9375rem; max-width: none; }
.wk-facts.has-icons.is-stack li { grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; padding: 18px 16px; }
.wk-facts.has-icons.is-stack .wk-fact-ico { grid-row: 1 / 3; margin: 0; }
.wk-facts.has-icons.is-stack span { margin-top: 4px; }
.wk-results .wk-facts.has-icons { margin-top: 28px !important; }
@media (min-width: 768px) { .wk-facts.has-icons { gap: 16px; } .wk-facts.has-icons li { padding: 22px 22px 24px; } }

.wk-scope-block { margin-top: 40px; }
.wk-page .wk-scope-block h3 { margin: 0 0 18px; }
.wk-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 !important; }
.wk-scope li { display: grid; align-content: start; gap: 4px; padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.wk-scope-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 10px; background: var(--wk-yellow); color: var(--wk-ink); }
.wk-scope strong { color: var(--text-strong); line-height: 1.3; }
.wk-scope span { font-size: .875rem; color: var(--muted); line-height: 1.4; }
@media (min-width: 900px) { .wk-scope { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .wk-scope li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding: 20px; } .wk-scope-ico { grid-row: 1 / 3; margin: 0; } }
.wk-steps-line a { color: inherit; text-decoration: none; }
.wk-steps-line a:hover, .wk-steps-line a:focus-visible { text-decoration: underline; text-decoration-color: var(--wk-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ---------- Fil des chapitres : fonds alternés, jalons numérotés, trait vertical ---------- */
.wk-journey { position: relative; --jalon: 44px; }
.wk-journey .wk-chapter { position: relative; border-top: 0; scroll-margin-top: 90px; }
.wk-journey .wk-chapter:nth-child(even) { background: var(--bg-soft); }
.wk-journey .wk-chapter:nth-child(even) .wk-chapter-note { background: #fff; }
.wk-page .wk-journey .wk-chapter-n { position: relative; display: flex; align-items: center; justify-content: center; width: var(--jalon); height: var(--jalon); margin: 0 0 18px; border-radius: 50%; background: var(--wk-yellow); color: var(--wk-ink); font: 800 1.125rem/1 var(--font-text); letter-spacing: 0; }
/* Petit écran : le trait relie les chapitres dans les marges, sans rogner la largeur du contenu. */
.wk-journey .wk-chapter-n::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 56px; margin-left: -1px; background: linear-gradient(180deg, var(--line), var(--wk-yellow)); }
.wk-journey .wk-chapter:first-child .wk-chapter-n::before { height: 28px; background: linear-gradient(180deg, transparent, var(--wk-yellow)); }
.wk-journey .wk-chapter:not(:last-child)::after { content: ""; position: absolute; left: calc(var(--gutter) + var(--jalon) / 2 - 1px); bottom: 0; width: 2px; height: 56px; background: var(--line); }
@media (min-width: 1024px) {
  .wk-journey { --jalon: 56px; }
  .wk-journey::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: linear-gradient(180deg, transparent, var(--line) 90px, var(--line) calc(100% - 90px), transparent); }
  .wk-journey .wk-chapter-grid, .wk-journey .wk-chapter.is-reverse .wk-chapter-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 128px; }
  .wk-page .wk-journey .wk-chapter-n { position: absolute; z-index: 2; left: 50%; top: 50%; margin: calc(var(--jalon) / -2) 0 0 calc(var(--jalon) / -2); font-size: 1.375rem; box-shadow: 0 0 0 10px #fff; }
  .wk-page .wk-journey .wk-chapter:nth-child(even) .wk-chapter-n { box-shadow: 0 0 0 10px var(--bg-soft); }
  .wk-journey .wk-chapter-n::before, .wk-journey .wk-chapter:not(:last-child)::after { content: none; }
  /* Dans le fil, le jalon se place par rapport au chapitre : le texte y reste centré et non collant. */
  .wk-journey .wk-chapter-grid:has(.wk-chapter-media > :nth-child(2)) { align-items: center; }
  .wk-journey .wk-chapter-grid:has(.wk-chapter-media > :nth-child(2)) .wk-chapter-text { position: static; }
}

/* ---------- Progression d'un indicateur (courbe) ---------- */
.wk-perf { display: grid; gap: 32px; margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line-dark); }
.wk-page .wk-perf h3 { color: #fff; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); margin: 0 0 .5em; }
.wk-perf-text > p { max-width: 32em; }
.wk-climb { margin: 0; }
.wk-climb-plot { position: relative; height: 320px; }
.wk-climb svg { position: absolute; left: 0; top: 64px; width: 100%; height: calc(100% - 64px - 64px); overflow: visible; }
.wk-climb-line { stroke: var(--wk-yellow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wk-climb ol { position: absolute; inset: 64px 0 64px 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 0 !important; border-bottom: 1px solid var(--line-dark); }
.wk-climb li { position: relative; }
.wk-climb li::before { content: ""; position: absolute; left: 50%; bottom: 0; height: var(--h); border-left: 1px dashed rgba(255, 255, 255, .2); }
.wk-climb-point { position: absolute; left: 50%; bottom: var(--h); width: 0; height: 0; }
.wk-climb-point i { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--wk-yellow); box-shadow: 0 0 0 5px rgba(255, 193, 14, .22); }
.wk-climb-point strong { position: absolute; left: 0; bottom: 20px; transform: translateX(-50%); white-space: nowrap; font: 900 clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem)/1 var(--font-title); color: #fff; letter-spacing: -.02em; }
.wk-climb-label { position: absolute; left: 0; right: 0; top: calc(100% + 12px); text-align: center; font-size: .75rem; line-height: 1.35; color: var(--on-dark-muted); }
.wk-climb-label b { display: block; font-size: .875rem; color: #fff; }
.wk-climb figcaption { margin-top: 14px; font-size: .875rem; color: var(--on-dark-muted); }
.wk-climb.is-armed .wk-climb-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.wk-climb.is-armed .wk-climb-area, .wk-climb.is-armed .wk-climb-point, .wk-climb.is-armed li::before { opacity: 0; }
.wk-climb.is-armed.is-in .wk-climb-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.3, .6, .2, 1) .15s; }
.wk-climb.is-armed.is-in .wk-climb-area { opacity: 1; transition: opacity .6s ease 1.1s; }
.wk-climb.is-armed.is-in .wk-climb-point, .wk-climb.is-armed.is-in li::before { opacity: 1; transition: opacity .35s ease calc(.25s + var(--i) * .5s); }
@media (min-width: 1024px) { .wk-perf { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; margin-top: 72px; padding-top: 64px; } .wk-climb-plot { height: 360px; } }

@media (prefers-reduced-motion: reduce) {
  .wk-bars i, .wk-bars strong, .wk-next-case-shot img, .wk-next-case-link, .wk-climb-line, .wk-climb-area, .wk-climb-point { transition: none !important; }
}
/* Repères dont la valeur est un mot ou une expression (« Refonte complète », « Shopify 2.0 ») : taille contenue, retour à la ligne permis. */
.wk-facts.has-icons.is-mixed strong { font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); line-height: 1.15; white-space: normal; }
