/* ==========================================================================
   Web Katalyst — Landing e-commerce (V4)
   Charte reprise de webkatalyst.com : jaune #FFC10E, noir #13151C, blanc, gris.
   Couleurs, polices et espacements : variables ci-dessous.
   ========================================================================== */

/* Polices auto-hébergées (sous-ensemble latin, licence SIL OFL) : aucun appel à un service tiers. */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/lato-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("../assets/fonts/lato-900-latin.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../assets/fonts/open-sans-latin-var.woff2") format("woff2"); }

:root {
  --wk-yellow: #ffc10e;
  --wk-yellow-hover: #ffcd3c;
  --wk-orange: #f5a300;
  --wk-ink: #13151c;
  --wk-ink-2: #1c1f28;
  --wk-ink-3: #2a2e39;

  --text: #3e3d3c;
  --text-strong: #13151c;
  --muted: #5c5c5c;
  --line: #e3e3e3;
  --bg: #ffffff;
  --bg-soft: #f4f4f2;
  --on-dark: #ffffff;
  --on-dark-muted: #bcc0ca;
  --line-dark: #343947;

  --ok: #1d7a46;
  --ok-bg: #e5f4ea;
  --wait-bg: #fff3d1;
  --wait-ink: #4d3b00;
  --error: #b3261e;

  --font-title: "Lato", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Open Sans", "Segoe UI", Arial, sans-serif;

  --container: 1200px;
  --gutter: 16px;
  --radius: 4px;
  --radius-lg: 12px;
  --header-h: 64px;
  --shadow: 0 1px 2px rgba(19, 21, 28, .06), 0 10px 30px rgba(19, 21, 28, .10);
  --shadow-lg: 0 4px 10px rgba(0, 0, 0, .18), 0 30px 70px rgba(0, 0, 0, .35);
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 72px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-text); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--text-strong); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
code { font-size: .875em; background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
.contact-form input, .contact-form select, .contact-form textarea, .contact-form button { scroll-margin-top: calc(var(--header-h) + 16px); scroll-margin-bottom: 96px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--wk-orange); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .section-dark :focus-visible { outline-color: var(--wk-yellow); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--wk-yellow); color: var(--wk-ink); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(820px + 2 * var(--gutter)); }

/* ---------- Boutons, liens, surtitres ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 50px; padding: 13px 26px; border: 0; border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-text); font-weight: 700; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  transition: background-color .2s, transform .2s;
}
.btn-primary { background: var(--wk-yellow); color: var(--wk-ink); }
.btn-primary:hover { background: var(--wk-yellow-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .75rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: var(--wk-yellow); }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }
.eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; display: flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--wk-yellow); flex: none; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 28px; width: auto; }
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a { display: block; padding: 10px 12px; text-decoration: none; font-size: .9375rem; font-weight: 600; border-radius: var(--radius); }
.main-nav a:hover { background: var(--bg-soft); color: var(--text-strong); }
@media (min-width: 980px) { .main-nav { display: block; } .brand img { height: 32px; } }
@media (max-width: 380px) { .site-header .btn-sm { padding: 8px 10px; letter-spacing: .02em; } .brand img { height: 24px; } }

/* ---------- Cadres d'appareils (captures réelles) ---------- */
.device { margin: 0; background: #fff; overflow: hidden; }
.device-desktop { border-radius: 10px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.device-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; background: #ebedf0; border-bottom: 1px solid #dcdfe4; }
.device-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c6cad2; flex: none; }
.device-bar span { margin-left: 8px; font-size: .6875rem; color: #555b66; background: #fff; border-radius: 99px; padding: 1px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device-phone { border-radius: 26px; border: 7px solid #0b0c10; box-shadow: var(--shadow-lg); background: #0b0c10; }
.device-phone img { border-radius: 19px; }

/* ---------- A. Hero ---------- */
.hero { background: var(--wk-ink); color: var(--on-dark-muted); padding: 48px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero .eyebrow { color: var(--wk-yellow); }
.hero h1 { color: var(--on-dark); font-weight: 900; font-size: clamp(2.125rem, 1.3rem + 3.4vw, 3.75rem); letter-spacing: -.015em; line-height: 1.08; max-width: 14ch; }
.hero .lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: #dde0e6; max-width: 36em; }
.hero .link-arrow { color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 28px 0 32px; }
@media (min-width: 1024px) {
  .hero { padding: 80px 0 88px; }
  .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; }
}

/* ---------- Sections génériques ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--wk-ink); color: var(--on-dark-muted); }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark .eyebrow { color: var(--wk-yellow); }
@media (min-width: 1024px) { .section { padding: 104px 0; } }
.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head h2, .case-intro h2, .coton-copy h2, .contact-copy h2 { font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.75rem); letter-spacing: -.01em; }
.section-intro { font-size: 1.0625rem; color: var(--muted); margin: 0; }

/* ---------- C. Étude de cas Diptyque ---------- */
.case { padding: 72px 0; }
@media (min-width: 1024px) { .case { padding: 104px 0; } }
.case-diptyque { background: var(--bg-soft); }
.case-intro { max-width: 900px; margin-bottom: 36px; }
.plain-list { list-style: none; display: grid; gap: 16px; margin-top: 8px; }
.plain-list strong { color: var(--text-strong); display: block; }
.stat-row { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid #d6d6d2; border-bottom: 1px solid #d6d6d2; margin-bottom: 24px; }
@media (min-width: 900px) { .stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-row li { padding: 20px 16px 20px 0; }
.stat-row strong { display: block; font-family: var(--font-title); font-weight: 900; font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem); color: var(--text-strong); line-height: 1.1; }
.stat-row span { display: block; font-size: .875rem; line-height: 1.4; margin-top: 4px; }

.tech-details { border: 1px solid #d6d6d2; border-radius: var(--radius-lg); background: #fff; }
.tech-details summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; color: var(--text-strong); display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.tech-details summary::-webkit-details-marker { display: none; }
.tech-details summary::after { content: "+"; font-size: 1.25rem; line-height: 1; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-soft); }
.tech-details[open] summary::after { content: "–"; background: var(--wk-yellow); }
.tech-body { padding: 4px 20px 24px; display: grid; gap: 28px; }
@media (min-width: 900px) { .tech-body { grid-template-columns: 340px 1fr; align-items: start; } }
.tech-list { list-style: disc; padding-left: 20px; display: grid; gap: 8px; font-size: .9375rem; }
.archi { display: grid; justify-items: center; font-size: .8125rem; }
.archi-node { background: var(--wk-ink-3); color: #fff; border-radius: 8px; padding: 8px 12px; font-weight: 700; text-align: center; line-height: 1.25; }
.archi-node small { display: block; font-weight: 400; color: var(--on-dark-muted); font-size: .6875rem; }
.archi-main { background: var(--wk-ink); }
.archi-hub { background: var(--wk-yellow); color: var(--wk-ink); }
.archi-link { width: 2px; height: 18px; background: repeating-linear-gradient(var(--wk-orange) 0 4px, transparent 4px 8px); }
.archi-leaves { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }

.quote { margin: 28px 0 0; padding: 24px 26px; background: var(--wk-ink); color: #eceef3; border-radius: var(--radius-lg); position: relative; }
.quote { border-left: 4px solid var(--wk-yellow); }
.quote blockquote { margin: 0 0 12px; }
.quote blockquote p { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.quote figcaption { font-size: .875rem; color: var(--on-dark-muted); }
.quote figcaption strong { color: #fff; }
.quote-light { background: #fff; color: var(--text-strong); border: 1px solid var(--line); box-shadow: var(--shadow); }
.quote-light figcaption { color: var(--muted); }
.quote-light figcaption strong { color: var(--text-strong); }

/* ---------- F. Café Coton ---------- */
.case-coton { background: #fff; border-top: 1px solid var(--line); }
.coton-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .coton-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.coton-steps { list-style: none; counter-reset: st; display: grid; gap: 14px; margin: 24px 0 32px; }
.coton-steps li { counter-increment: st; padding-left: 44px; position: relative; }
.coton-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--wk-yellow); color: var(--wk-ink); font-weight: 700; display: grid; place-items: center; }
.coton-steps strong { color: var(--text-strong); }
.stat-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; margin-bottom: 12px; }
.stat-note { font-size: .875rem; color: var(--muted); margin: 0; }
.coton-visual { margin: 0; }
.scroll-shot { --win: 520px; max-width: 520px; margin: 0 auto; }
.scroll-window { height: var(--win); overflow: hidden; }
.scroll-window img { width: 100%; transition: transform 9s ease-in-out; }
.coton-visual figcaption { font-size: .875rem; color: var(--muted); text-align: center; margin-top: 12px; }
@media (max-width: 560px) { .scroll-shot { --win: 420px; } }

.weekly { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .weekly { grid-template-columns: 1fr 1fr; gap: 48px; } }
.weekly-card { background: var(--wk-yellow); color: var(--wk-ink); border-radius: var(--radius-lg); padding: 30px; }
.weekly-kicker { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8125rem; margin: 0 0 6px; }
.weekly-card h3 { font-size: 1.75rem; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--wk-ink) 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='%23ffc10e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.check-list-dark li { color: #e8eaef; }
.check-list-dark li::before { background-color: var(--wk-yellow); background-image: 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='%2313151c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- H. FAQ ---------- */
.faq { border-top: 1px solid #d6d6d2; }
.faq details { border-bottom: 1px solid #d6d6d2; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-family: var(--font-title); font-weight: 700; font-size: 1.125rem; color: var(--text-strong); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 1.25rem; transition: transform .2s, background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--wk-yellow); }
.faq-body { padding: 0 0 22px; max-width: 70ch; }
.faq-body p { margin: 0; }

/* ---------- I. Contact ---------- */
.contact-grid { display: grid; gap: 44px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; } }
.contact-lead { font-size: 1.125rem; color: #e1e4ea; }
.contact-form { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 18px; }
@media (min-width: 768px) { .contact-form { padding: 36px; } }
.demo-notice { margin: 0; font-size: .875rem; background: var(--wait-bg); color: var(--wait-ink); border-radius: var(--radius); padding: 10px 14px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field > label { font-weight: 700; color: var(--text-strong); font-size: .9375rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text-strong); background: #fff; border: 1px solid #a9a9a9; border-radius: var(--radius); padding: 11px 14px; min-height: 48px;
}
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2313151c' stroke-width='2'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:disabled { background: #f2f2f2; color: var(--muted); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-hint { margin: 0; font-size: .8125rem; color: var(--muted); }
.field-error { margin: 0; color: var(--error); font-size: .875rem; font-weight: 600; }
.inline-check { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; color: var(--text-strong); min-height: 32px; cursor: pointer; }
.inline-check input { width: 18px; height: 18px; accent-color: var(--wk-ink); }
.form-status { border-radius: var(--radius); padding: 14px 16px; font-size: .9375rem; }
.form-status.is-demo { background: var(--wait-bg); color: var(--wait-ink); }
.form-status.is-error { background: #fdecea; color: var(--error); }
.form-status.is-success { background: var(--ok-bg); color: var(--ok); }

/* ---------- Pied de page ---------- */
.site-footer { background: #0c0d12; color: var(--on-dark-muted); padding: 28px 0; font-size: .875rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; }
.footer-inner a { color: #e6e8ee; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.footer-inner p { margin: 0; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scroll-shot:hover .scroll-window img, .scroll-shot:focus-visible .scroll-window img { transform: none !important; }
}


/* ==========================================================================
   V3 — parcours raccourci, hero mis en scène, preuves compactes
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { background-color: var(--wk-ink); background-image: radial-gradient(120% 90% at 85% 40%, #1d2433 0%, var(--wk-ink) 62%); }
.hero h1 { max-width: 15ch; }
.hero-actions { margin: 26px 0 22px; }

/* Scène : capture principale + téléphone, perspective et profondeur (pixels et textes d'origine conservés) */
.hero-stage { position: relative; perspective: 1600px; min-width: 0; }
.hero-stage::before { content: ""; position: absolute; inset: 8% 4% 0 10%; background: radial-gradient(closest-side, rgba(255,193,14,.20), transparent 70%); filter: blur(10px); z-index: 0; pointer-events: none; }
.stage-inner { --ry: -7deg; --rx: 4deg; --pz: 70px; --px: 0px; position: relative; z-index: 1; transform-style: preserve-3d; transform: rotateY(var(--ry)) rotateX(var(--rx)); padding: 0 12% 9% 0; }
.stage-desk { position: relative; width: 100%; transform: translateZ(0); }
.stage-phone { position: absolute; right: 0; bottom: 0; width: 27%; transform: translateZ(var(--pz)) translateX(var(--px)); }
.stage-caption { position: relative; z-index: 1; margin: 18px 0 0; font-size: .8125rem; color: var(--on-dark-muted); }
@media (prefers-reduced-motion: no-preference) {
  .stage-inner { animation: stage-in 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .stage-phone { animation: phone-in 1.1s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes stage-in { from { transform: rotateY(-20deg) rotateX(9deg) translateY(18px); } to { transform: rotateY(var(--ry)) rotateX(var(--rx)); } }
@keyframes phone-in { from { transform: translateZ(10px) translateX(28%); } to { transform: translateZ(var(--pz)) translateX(var(--px)); } }
@media (max-width: 1023px) {
  .hero { padding: 32px 0 44px; }
  .hero-grid { gap: 30px; }
  .hero-stage { max-width: 560px; width: 100%; margin: 0 auto; }
  .stage-inner { --ry: -5deg; --rx: 3deg; --pz: 40px; }
}


/* ---------- Vidéo (affichée seulement si fournie) ---------- */
.video-block { background: var(--wk-ink-2); color: var(--on-dark-muted); padding: 56px 0; }
.video-block h2 { color: var(--on-dark); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.video-block .eyebrow { color: var(--wk-yellow); }
.video-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .video-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.video-frame { border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-duration { font-weight: 700; color: var(--on-dark); }

/* ---------- Diptyque ---------- */
.case-intro { margin-bottom: 28px; }
.case-intro h2 { font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.75rem); letter-spacing: -.01em; max-width: 22ch; }
.case-lead { font-size: 1.0625rem; max-width: 64ch; margin: 0; }
.case-lead a { color: var(--text-strong); font-weight: 600; text-decoration-color: var(--wk-yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.device-flat { box-shadow: var(--shadow); border: 1px solid var(--line); }

.viewer { margin-bottom: 40px; }
.viewer-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 99px; width: fit-content; max-width: 100%; margin: 0 auto 22px; }
.viewer-tabs button { font: inherit; font-size: .875rem; font-weight: 700; color: var(--text); background: transparent; border: 0; border-radius: 99px; padding: 9px 16px; min-height: 40px; cursor: pointer; }
.viewer-tabs button[aria-selected="true"] { background: var(--wk-ink); color: #fff; }
.viewer-tabs button:hover:not([aria-selected="true"]) { background: var(--bg-soft); }
.view { margin: 0 auto; }
.view-wide { max-width: 960px; }
.view-phone { max-width: 260px; }
.zoom-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: inherit; border-radius: 10px; }
.zoom-btn .device { display: block; }
.zoom-btn:hover .device-flat { box-shadow: var(--shadow-lg); }
.view figcaption { margin-top: 14px; font-size: .9375rem; text-align: center; }
.view figcaption strong { color: var(--text-strong); }
.view-phone figcaption { text-align: center; }
.viewer-note { margin: 10px 0 0; text-align: center; font-size: .8125rem; color: var(--muted); }
@media (max-width: 520px) { .viewer-tabs { border-radius: var(--radius-lg); } .viewer-tabs button { padding: 8px 12px; font-size: .8125rem; } }
/* Cibles tactiles d'au moins 44 px sur écran tactile (V4.3) */
@media (pointer: coarse) { .btn-sm, .viewer-tabs button { min-height: 44px; } }

.tech-body-full { display: block; }
.tech-body-full > * + * { margin-top: 28px; }
.tech-body-full h3 { font-size: 1.125rem; }
.detail-cols { display: grid; gap: 28px; }
@media (min-width: 900px) { .detail-cols { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.tech-details .stat-row { margin-bottom: 0; }

/* CTA après chaque étude de cas */
.case-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; background: var(--wk-ink); color: var(--on-dark-muted); border-radius: var(--radius-lg); padding: 24px 28px; }
.case-cta p { margin: 0; max-width: 60ch; }
.case-cta strong { color: var(--on-dark); display: block; font-family: var(--font-title); font-size: 1.1875rem; line-height: 1.3; margin-bottom: 4px; }
.case-cta :focus-visible { outline-color: var(--wk-yellow); }
@media (max-width: 560px) { .case-cta { padding: 20px; } .case-cta .btn { width: 100%; } }

/* ---------- Café Coton ---------- */
.coton-copy h2 { font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.75rem); letter-spacing: -.01em; }
.coton-steps { margin-bottom: 0; }

/* ---------- Offre et méthode ---------- */
.steps { list-style: none; display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--wk-yellow); color: var(--wk-ink); font-weight: 900; font-family: var(--font-title); display: grid; place-items: center; margin: 0 0 14px; }
.step h3 { font-size: 1.375rem; }
.step ul { list-style: none; display: grid; gap: 10px; }
.step li { position: relative; padding-left: 22px; color: var(--text-strong); }
.step li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 2px; background: var(--wk-orange); }
.weekly-card p:last-child { margin: 0; }
.weekly-kicker { font-size: .75rem; }
.weekly-card h3 { font-size: 1.5rem; }

/* ---------- FAQ : témoignage associé ---------- */
.quote-inline { margin-top: 16px; background: var(--bg-soft); color: var(--text-strong); border-left-color: var(--wk-yellow); padding: 18px 20px; }
.quote-inline blockquote p { font-size: 1rem; }
.quote-inline figcaption { color: var(--muted); }
.quote-inline figcaption strong { color: var(--text-strong); }

/* ---------- Contact : champs visibles rapidement ---------- */
.contact.section { padding: 56px 0; }
@media (min-width: 1024px) { .contact.section { padding: 88px 0; } }
.contact-grid { gap: 22px; }
.contact-copy h2 { margin-bottom: .3em; }
.contact-lead { margin: 0; }
.optional-fields { border: 1px solid var(--line); border-radius: var(--radius); }
.optional-fields summary { cursor: pointer; padding: 12px 14px; font-weight: 700; color: var(--text-strong); min-height: 44px; display: flex; align-items: center; gap: 6px; }
.optional-fields[open] summary { border-bottom: 1px solid var(--line); }
.optional-fields .field-row { padding: 14px; }

/* ---------- Agrandissement ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 11, 16, .93); }
.lightbox img { display: block; max-width: 94vw; max-height: 88vh; width: auto; height: auto; border-radius: 8px; background: #fff; }
.lightbox-close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--wk-yellow); color: var(--wk-ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
@media (max-width: 560px) { .lightbox-close { top: 6px; right: 6px; } }

@media (prefers-reduced-motion: reduce) {
  .stage-inner, .stage-phone { animation: none !important; }
}

/* Libellés courts sur petit écran */
.show-sm { display: none; }
@media (max-width: 560px) { .hide-sm { display: none; } .show-sm { display: inline; } }

/* ==========================================================================
   V3.1 — finition : hero mobile, preuves, interactions tactiles
   ========================================================================== */

/* Hero : sur mobile, texte → CTA → preuve → visuel */
.hero h1 { max-width: 17ch; }
.hero-actions { margin: 24px 0 0; }
@media (max-width: 1023px) {
  .hero { padding: 28px 0 32px; }
  .hero-grid { gap: 22px; }
  .hero h1 { font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem); }
  .hero .lead { margin-bottom: 0; }
  .stage-caption { margin-top: 10px; }
}


/* Indications adaptées : survol + clic sur ordinateur, toucher sur mobile */
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint-pointer { display: none; } .hint-touch { display: inline; } }

/* Capture Café Coton : bouton d'agrandissement ; défilement au survol seulement là où le survol existe */
.scroll-shot.zoom-btn { display: block; background: #fff; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.scroll-shot .scroll-window { display: block; }
@media (hover: hover) and (pointer: fine) {
  .scroll-shot:hover .scroll-window img { transform: translateY(calc(-100% + var(--win))); }
}
.scroll-shot:focus-visible .scroll-window img { transform: translateY(calc(-100% + var(--win))); }
@media (max-width: 560px) { .scroll-shot { --win: 360px; } }

/* Agrandissement : la capture garde sa taille réelle et se parcourt par glissement si elle dépasse l'écran */
.lightbox { position: fixed; inset: 0; margin: auto; width: min(96vw, 1040px); max-width: 96vw; max-height: 92vh; }
.lightbox-scroll { max-height: 86vh; max-width: 96vw; overflow: auto; overscroll-behavior: contain; border-radius: 8px; background: #fff; -webkit-overflow-scrolling: touch; }
.lightbox-scroll img { display: block; max-width: none; max-height: none; width: auto; height: auto; border-radius: 0; margin: 0 auto; }
.lightbox-scroll img.is-tall { width: 100%; max-width: 640px; }
.lightbox-hint { margin: 8px 0 0; text-align: center; color: #fff; font-size: .875rem; }
.lightbox-close { z-index: 2; }
@media (max-width: 560px) { .lightbox { width: 96vw; } .lightbox-close { position: fixed; top: 10px; right: 10px; } }

/* ==========================================================================
   V4 — entrée en matière forte, références visibles, preuves chiffrées
   ========================================================================== */

/* ---------- Hero : titre court, sous-titre concret, preuve attribuée sous le bouton ---------- */
.hero h1 { max-width: 11em; font-size: clamp(2.375rem, 1.5rem + 3.8vw, 4.25rem); }
.nowrap { white-space: nowrap; }
.hero .lead { max-width: 32em; }
.hero-actions { margin: 26px 0 0; }
.hero-proof { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 24px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-dark); color: #dde0e6; font-size: .9375rem; line-height: 1.45; max-width: 34em; }
.hero-proof strong { font-family: var(--font-title); font-weight: 900; font-size: 1.75rem; line-height: 1; color: var(--wk-yellow); letter-spacing: -.01em; }
.hero-proof span { flex: 1 1 16em; }
@media (max-width: 1023px) {
  .hero h1 { font-size: clamp(2.25rem, 1.6rem + 4vw, 3rem); }
  .hero-actions { margin-top: 22px; gap: 12px 24px; }
  .hero-proof { margin-top: 20px; }
}

/* ---------- Entrée en matière : bandeau de références ---------- */
.intro-proof { background: var(--wk-ink-2); }
.logos { background: var(--wk-ink-2); color: var(--on-dark-muted); padding: 22px 0 26px; border-top: 1px solid var(--line-dark); }
.logos-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.logos-title { margin: 0; font-family: var(--font-text); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.marquee-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); font: 600 .8125rem/1 var(--font-text); cursor: pointer; }
.marquee-toggle:hover { border-color: var(--on-dark-muted); }
.marquee-toggle:focus-visible { outline-color: var(--wk-yellow); }
.mt-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.marquee-toggle[aria-pressed="true"] .mt-icon { border: 0; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid currentColor; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { list-style: none; display: flex; width: max-content; gap: 0; }
.logo-group { display: grid; justify-items: center; gap: 12px; padding: 4px 40px; border-right: 1px solid var(--line-dark); }
.logo-set { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.logo-sep { width: 1px; height: 34px; background: var(--line-dark); }
.logo-word { font-family: var(--font-title); font-weight: 700; font-size: 1.375rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.logo-img { width: auto; flex: none; }
.logo-almalki { height: 58px; }
.logo-111 { height: 22px; }
.marquee.is-animated .marquee-track { animation: marquee var(--marquee-dur, 40s) linear infinite; }
.marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Sans animation (mouvement réduit ou script absent) : liste fixe, centrée, sur plusieurs lignes */
.marquee:not(.is-animated) { -webkit-mask-image: none; mask-image: none; }
.marquee:not(.is-animated) .marquee-track { width: 100%; flex-wrap: wrap; justify-content: center; row-gap: 20px; }
.marquee:not(.is-animated) .is-clone, .marquee.is-static .is-clone { display: none; }
@media (max-width: 560px) {
  .logo-group { padding: 4px 26px; }
  .logo-word { font-size: 1.125rem; }
  .logo-almalki { height: 48px; }
  .logo-111 { height: 18px; }
  .marquee:not(.is-animated) .logo-group { border-right: 0; }
}

/* ---------- Entrée en matière : chiffres clés + interlocuteur ---------- */

/* ---------- Diptyque : grandes captures + complexité maîtrisée ---------- */
.case-diptyque { background: #fff; }
.case-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.case-body > * { min-width: 0; }
@media (min-width: 1024px) { .case-body { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.complexity { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 24px; }
.complexity-title { font-size: 1.25rem; margin-bottom: 14px; }
.cx-tag { font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--wk-ink); background: var(--wk-yellow); border-radius: 3px; padding: 3px 6px; justify-self: start; }
.complexity-note { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #dddcd7; font-size: .8125rem; color: var(--muted); }
.contrib { margin-top: 28px; max-width: 760px; }
.contrib h3 { font-size: 1.125rem; margin-bottom: 6px; }
.contrib p { margin: 0; }
.case-diptyque .tech-details { margin-top: 20px; }

/* ---------- Café Coton : résultats en premier plan ---------- */
.case-coton { background: var(--bg-soft); }
.coton-context { font-size: .9375rem; color: var(--muted); margin: -4px 0 18px; }
.coton-kpis { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 26px; padding: 22px 0; border-top: 3px solid var(--wk-yellow); border-bottom: 1px solid #dddcd7; }
.coton-kpis li { display: grid; gap: 2px; align-content: start; }
.coton-kpis strong { font-family: var(--font-title); font-weight: 900; color: var(--text-strong); letter-spacing: -.02em; line-height: 1; font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); }
.coton-kpis span { font-size: .9375rem; line-height: 1.4; }
.coton-sub { font-size: 1.125rem; margin-bottom: 10px; }

/* ---------- Méthode : besoins pris en charge + démarche en images ---------- */
.needs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: -20px 0 32px; }
.needs a, .needs span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--text-strong); text-decoration: none; }
.needs a::after { content: "→"; margin-left: 8px; color: var(--wk-orange); }
.needs a:hover { border-color: var(--wk-orange); }

/* ---------- Équipe : compacte ---------- */
.team-grid { display: grid; gap: 28px; }

/* ---------- Contact : ce qui se passe ensuite ---------- */
.next-steps { list-style: none; counter-reset: ns; display: grid; gap: 14px; margin-top: 24px; }
.next-steps li { counter-increment: ns; position: relative; padding-left: 44px; color: var(--on-dark-muted); line-height: 1.5; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--wk-yellow); color: var(--wk-yellow); font-weight: 800; display: grid; place-items: center; font-size: .875rem; }
.next-steps strong { color: var(--on-dark); }
.optional-fields > .field { padding: 14px 14px 0; }
.optional-fields > .field-row { padding: 14px; }

/* ---------- Barre d'action mobile ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(19, 21, 28, .96); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform .25s ease; }
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { min-height: 46px; }
@media (min-width: 900px) { .mobile-cta { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } .marquee .marquee-track { animation: none !important; } }
@media (max-width: 560px) {
  .complexity { padding: 20px 18px; }
}
@media (max-width: 560px) {
  .needs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .needs a, .needs span { font-size: .8125rem; padding: 8px 10px; border-radius: var(--radius-lg); }
  .needs li:first-child { grid-column: 1 / -1; }
}
.marquee:not(.is-animated) .logo-group { max-width: 100%; }
.marquee:not(.is-animated) .logo-set { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
@media (max-width: 560px) { .marquee:not(.is-animated) .logo-group { padding: 4px 8px; } .marquee:not(.is-animated) .logo-sep { display: none; } }

/* ==========================================================================
   V4.1 — début plus compact, bandeau « Réalisations & expériences », bénéfices Diptyque, équipe
   ========================================================================== */
.hero-contact { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; color: #dde0e6; font-size: .9375rem; line-height: 1.4; }
.hero-contact img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 60% 20%; border: 2px solid var(--wk-yellow); flex: none; }
.hero-contact strong { color: #fff; }

/* Bandeau : logos seuls, sans légende (V4.3) ; tailles optiques homogènes (hauteur visuelle ~30 px).
   TF1 : rectangle plein, donc visuellement plus lourd qu'un logo au trait → un peu moins haut. */
.logos { padding: 20px 0 22px; }
/* Espacement proportionnel à l'écran : une série reste plus large que l'écran jusqu'à ~1 600 px,
   donc le défilement lent est conservé sans qu'un logo apparaisse deux fois à la fois ; au-delà, liste fixe centrée. */
.logo-group { padding: 4px clamp(34px, 4.8vw, 76px); }
.logo-set { min-height: 48px; gap: 18px; }
.logo-diptyque { height: 30px; }
.logo-almalki { height: 46px; }
.logo-dm { height: 34px; }
.logo-111 { height: 17px; }
.logo-ibm { height: 30px; }
.logo-tf1 { height: 26px; border-radius: 1px; }
.logo-cafecoton { height: 36px; }
.logo-word { font-size: 1.125rem; }
@media (max-width: 560px) {
  .logo-group { padding: 4px 22px; }
  .logo-diptyque, .logo-ibm { height: 26px; }
  .logo-almalki { height: 40px; }
  .logo-dm { height: 28px; }
  .logo-111 { height: 15px; }
  .logo-tf1 { height: 23px; }
  .logo-cafecoton { height: 31px; }
  .logo-word { font-size: 1rem; }
}
/* Pas d'animation quand tout tient à l'écran : liste fixe centrée */
.marquee.is-static { -webkit-mask-image: none; mask-image: none; }
.marquee.is-static .marquee-track { width: 100%; justify-content: center; flex-wrap: wrap; row-gap: 16px; }
.marquee.is-static .logo-group:last-child { border-right: 0; }

/* Diptyque : bénéfices d'abord, preuves techniques ensuite */
.benefit-list { list-style: none; display: grid; }
.benefit-list li { padding: 14px 0; border-top: 1px solid #dddcd7; }
.benefit { margin: 0 0 6px; font-size: .9375rem; line-height: 1.5; }
.benefit strong { display: block; font-family: var(--font-title); font-size: 1.125rem; color: var(--text-strong); margin-bottom: 2px; }
.proof { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.proof code { font-size: .8125rem; }

/* Équipe : Tony et compétences */
.team-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .team-grid { grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; } }
.team-lead { display: grid; gap: 20px; align-items: start; }
@media (min-width: 620px) { .team-lead { grid-template-columns: 180px 1fr; gap: 28px; } }
.team-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: 60% 20%; border: 4px solid var(--wk-yellow); }
@media (min-width: 620px) { .team-photo { width: 180px; height: 180px; } }
.team-lead h2 { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem); margin-bottom: .25em; }
.team-role { font-weight: 700; color: #7a5200; margin-bottom: .75em; }
.team-lead p:last-child { margin-bottom: 0; }
.team-skills { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 24px; }
.team-skills h3 { font-size: 1.1875rem; margin-bottom: 12px; }
.skill-list { list-style: none; display: grid; gap: 10px; }
.skill-list li { position: relative; padding-left: 22px; line-height: 1.5; }
.skill-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--wk-orange); }
.skill-list strong { color: var(--text-strong); }

/* Mobile : sections plus resserrées pour atteindre plus vite les réalisations */
@media (max-width: 767px) {
  .case { padding: 48px 0; }
  .case-intro h2, .coton-copy h2 { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 1.875rem); }
  .case-lead { font-size: 1rem; }
  .case-body { gap: 20px; }
  .contrib { margin-top: 20px; }
  .case-cta { margin-top: 24px; }
  .coton-kpis { padding: 16px 0; margin-bottom: 18px; }
  .coton-kpis strong { font-size: 2.5rem; }
}
.marquee-toggle { white-space: nowrap; }
@media (max-width: 560px) {
  .marquee-toggle { min-width: 44px; min-height: 44px; justify-content: center; padding: 6px; }
  .mt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ==========================================================================
   V4.2 — séquence « démarche » pilotée par le défilement
   ========================================================================== */
.demarche { background: var(--wk-ink); color: var(--on-dark-muted); }
.demarche .eyebrow { color: var(--wk-yellow); }
.demarche h2 { color: #fff; font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem); letter-spacing: -.01em; margin-bottom: .6em; }
.demarche-sticky { padding: 56px 0; }
.demarche-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .demarche-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr); gap: 48px; } }
.demarche-steps { list-style: none; display: grid; gap: 10px; counter-reset: ds; }
.demarche-steps li { counter-increment: ds; position: relative; padding-left: 40px; line-height: 1.45; color: var(--on-dark-muted); transition: color .25s, opacity .25s; }
.demarche-steps li::before { content: attr(data-n); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; font-size: .8125rem; font-weight: 800; color: var(--on-dark-muted); transition: background-color .25s, color .25s, border-color .25s; }
.demarche-steps span { display: block; font-family: var(--font-title); font-weight: 900; font-size: 1.125rem; color: #fff; }
.demarche-media { margin: 0; }
.demarche-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #0b0c10; }
.demarche-still, .demarche-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.demarche.is-scrolly .demarche-still { object-position: 60% 50%; }
.demarche-canvas { display: none; }
.demarche-media figcaption { margin-top: 10px; font-size: .8125rem; color: var(--on-dark-muted); }
@media (max-width: 767px) { .demarche-frame { aspect-ratio: 4 / 3; } }

/* Mode défilement (activé par le script, jamais en mouvement réduit) */
.demarche.is-scrolly .demarche-track { height: 230vh; }
.demarche.is-scrolly .demarche-sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; align-items: center; padding: 0; }
.demarche.is-scrolly .demarche-sticky > .container { width: 100%; }
.demarche.is-scrolly .demarche-canvas { display: block; }
.demarche.is-scrolly.has-frame .demarche-still { visibility: hidden; }
.demarche.is-scrolly .demarche-steps li { opacity: .62; }
.demarche.is-scrolly .demarche-steps li.is-done { opacity: .78; }
.demarche.is-scrolly .demarche-steps li.is-active { opacity: 1; }
.demarche.is-scrolly .demarche-steps li.is-active::before { background: var(--wk-yellow); border-color: var(--wk-yellow); color: var(--wk-ink); }
/* Lien discret pour passer la séquence (V4.3) */
.demarche-skip { display: inline-block; margin-top: 18px; padding: 10px 0; font-size: .875rem; font-weight: 600; color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-dark); }
.demarche-skip::after { content: " ↓"; }
.demarche-skip:hover { text-decoration-color: currentColor; }
.demarche-skip:focus-visible { outline-color: var(--wk-yellow); }
/* Mobile (V4.3) : scène calée sous le titre ; zone fixe à la hauteur de son contenu (pas de vide sombre
   à la sortie : l'étude de cas remonte juste sous la légende) ; course de défilement ≈ 0,65 écran */
@media (max-width: 767px) {
  .demarche.is-scrolly .demarche-track { height: 140vh; }
  .demarche.is-scrolly .demarche-sticky { height: auto; align-items: flex-start; padding: 20px 0 28px; }
  .demarche.is-scrolly .demarche-skip { margin-top: 0; padding: 12px 0; font-size: .8125rem; min-height: 44px; }
  .demarche.is-scrolly .demarche-grid { gap: 14px; }
  .demarche.is-scrolly h2 { font-size: 1.375rem; margin-bottom: .4em; }
  /* Hauteur réservée à l'étape la plus longue (titre + 2 lignes) : la scène ne bouge pas quand l'étape change */
  .demarche.is-scrolly .demarche-steps { display: block; min-height: 4.8em; }
  .demarche.is-scrolly .demarche-steps li { display: none; }
  .demarche.is-scrolly .demarche-steps li.is-active { display: block; }
  .demarche.is-scrolly .demarche-media figcaption { font-size: .75rem; }
}

/* ---------- Parcours de contact (V4.4) : réservation 15 min, WhatsApp, opt-in, anti-robots ---------- */
.contact-booking { display: grid; gap: 14px; justify-items: start; margin: 4px 0 18px; }
.contact-or { margin: 0; color: var(--on-dark-muted, #c9ccd3); font-size: .9375rem; }
.btn-whatsapp { margin-top: 18px; background: transparent; color: #fff; border: 2px solid #25d366; }
.btn-whatsapp::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #25d366; margin-right: 10px; }
.btn-whatsapp:hover { background: rgba(37, 211, 102, .14); }
.field-check { align-content: end; }
.field-check .inline-check { align-items: flex-start; min-height: 48px; padding-top: 12px; }
.inline-check.optin { align-items: flex-start; font-size: .875rem; color: var(--text); line-height: 1.45; }
.inline-check.optin input, .field-check .inline-check input { flex: none; margin-top: 2px; }
.form-privacy { margin: -6px 0 0; font-size: .8125rem; color: var(--muted); }
.form-status a:not(.btn) { color: inherit; font-weight: 700; }
.status-next { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 10px; color: var(--text-strong); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (pointer: coarse) { .inline-check { min-height: 44px; } }

/* ==========================================================================
   V4.5 — caméléon de la séquence « démarche »
   Présent pendant la maquette, il s'efface quand la boutique finale prend la place (opacité et teinte pilotées par le défilement :
   --mascot-o et --mascot-t, réglées par js/main.js). Sans script ou en mouvement réduit : rendu fixe, dans le coin vide de la scène.
   Décoratif : ne recouvre ni texte ni bouton ; la vidéo d'origine n'est pas modifiée.
   ========================================================================== */
.demarche-stage { position: relative; }
.demarche-mascot { position: absolute; z-index: 2; left: -4%; bottom: -2%; width: 23%; max-width: 190px; height: auto; pointer-events: none;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .5)); }
.demarche.is-scrolly .demarche-mascot { opacity: var(--mascot-o, 0); transform: translateY(calc((1 - var(--mascot-o, 0)) * 10px));
  filter: grayscale(var(--mascot-t, 0)) sepia(var(--mascot-t, 0)) saturate(calc(1 + var(--mascot-t, 0) * 1.4)) brightness(calc(1 - var(--mascot-t, 0) * .3)) drop-shadow(0 10px 12px rgba(0, 0, 0, .5)); }
.demarche-coulisses { display: none; margin: 18px 0 0; font-size: .9375rem; font-weight: 600; color: var(--on-dark); }
@media (min-width: 900px) { .demarche-coulisses { display: block; } .demarche-coulisses + .demarche-skip { margin-top: 8px; } }
@media (max-width: 767px) { .demarche-mascot { width: 30%; left: -2%; bottom: -3%; } }

/* ==========================================================================
   V4.5 — Hero : scène d'entrée (contours → captures → profondeur → liaisons → état final)
   Une seule fois, 4,6 s. L'état par défaut (sans animation) est l'état final.
   Les captures de la boutique ne sont ni déformées ni recouvertes : les repères sont sous le cadre.
   ========================================================================== */
.hero-stage { container-type: inline-size; }
.stage-inner { padding: 0 12% 0 0; }
.stage-shot { margin: 0; }
.stage-outline { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; z-index: 2; }
.stage-outline rect { width: calc(100% - 2px); height: calc(100% - 2px); fill: none; stroke: var(--wk-yellow); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }

/* Liaisons de la boutique à ses outils : trois repères sous le cadre, reliés par un trait en pointillé */
.stage-rail { position: relative; margin: 0 22% 0 23%; padding: 16px 0 20px; transform: translateZ(24px); }
.stage-rail::before { content: ""; position: absolute; left: 22px; top: 0; width: 2px; height: 16px; background: repeating-linear-gradient(180deg, rgba(255,193,14,.9) 0 4px, transparent 4px 8px); }
.stage-rail ul { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; }
.stage-rail li { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; white-space: nowrap;
  background: linear-gradient(180deg, #2c303c, #1d2029); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 12px 20px -12px rgba(0,0,0,.8);
  color: #fff; font: 600 .6875rem/1.2 var(--font-text); }
.stage-rail li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wk-yellow); box-shadow: 0 0 8px rgba(255,193,14,.8); }
.stage-rail li + li::after { content: ""; position: absolute; right: 100%; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, rgba(255,193,14,.9) 0 4px, transparent 4px 8px); }
@container (max-width: 430px) { .hero-mascot { bottom: 2px; } .stage-rail { margin-left: 25%; padding: 12px 0 16px; } .stage-rail ul { gap: 10px; } .stage-rail li { padding: 4px 8px; font-size: .625rem; } .stage-rail li + li::after { width: 10px; } .stage-rail li:nth-child(3) { display: none; } }

/* Caméléon : sous le cadre, au bord gauche de la composition, tourné vers la boutique */
.hero-mascot { position: absolute; left: -2%; bottom: -16px; width: 17.5%; max-width: 112px; height: auto; pointer-events: none; transform: translateZ(34px); filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }

@media (prefers-reduced-motion: no-preference) {
  .stage-inner { animation: hero-depth 4.6s cubic-bezier(.3,.6,.2,1) both; }
  .stage-phone { animation: hero-phone 4.6s cubic-bezier(.3,.6,.2,1) both; }
  .stage-outline { animation: hero-outline 4.6s linear both; }
  .stage-outline rect { animation: hero-draw 1.05s cubic-bezier(.6,.1,.3,1) both; }
  .stage-phone .stage-outline rect { animation-delay: .25s; }
  .stage-shot { animation: hero-shot 1.15s cubic-bezier(.3,.7,.2,1) .95s both; }
  .stage-phone .stage-shot { animation-delay: 1.25s; }
  .stage-rail::before { transform-origin: top; animation: hero-tie .4s ease 3s both; }
  .stage-rail li { animation: hero-pill .5s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(3.2s + var(--k) * .28s); }
  .stage-rail li + li::after { transform-origin: left; animation: hero-link .3s ease both; animation-delay: calc(3.1s + var(--k) * .28s); }
  .hero-mascot { animation: hero-mascot 2s ease-out 2.6s both; }
}
@keyframes hero-depth { 0%, 44% { transform: rotateY(0deg) rotateX(0deg) scale(.97); } 70%, 100% { transform: rotateY(var(--ry)) rotateX(var(--rx)) scale(1); } }
@keyframes hero-phone { 0%, 44% { transform: translateZ(0) translateX(0); } 70%, 100% { transform: translateZ(var(--pz)) translateX(var(--px)); } }
@keyframes hero-outline { 0%, 40% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes hero-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hero-shot { from { opacity: 0; clip-path: inset(-140px -140px 100% -140px); } to { opacity: 1; clip-path: inset(-140px -140px -140px -140px); } }
@keyframes hero-tie { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hero-link { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hero-pill { from { opacity: 0; scale: .8; } to { opacity: 1; scale: 1; } }
@keyframes hero-mascot {
  0%   { opacity: 0; filter: grayscale(1) sepia(1) saturate(2.4) brightness(.62) drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
  35%  { opacity: 1; filter: grayscale(1) sepia(1) saturate(2.4) brightness(.62) drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
  100% { opacity: 1; filter: grayscale(0) sepia(0) saturate(1) brightness(1) drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
}
@media (prefers-reduced-motion: reduce) {
  .stage-outline, .stage-outline rect, .stage-shot, .stage-rail::before, .stage-rail li, .stage-rail li::after, .hero-mascot { animation: none !important; }
}

.hero-stage .stage-caption { margin-top: 22px; }
@media (max-width: 1023px) { .hero-stage .stage-caption { margin-top: 12px; } }
