/*
  Octopus Hire, site vitrine.
  Same tokens as the app (octopus-joe/src/index.css): paper ground, ink lines,
  one highlighter yellow for what matters. Joe speaks in the typewriter face,
  the site in the grotesk, so the reader always knows who is talking.
*/
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('fonts/schibsted-grotesk-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #f4f5f2;
  --side: #eceee9;
  --sheet: #ffffff;
  --ink: #15171c;
  --ink-2: #4a4f57;
  --line: #d9dcd6;
  --stone: #bfc3bb;
  --marker: #f5dc4a;
  --marker-soft: #f8e78a;
  --alert: #b43333;
  --done: #2e7d4f;
  --source: #0a66c2;
  --source-soft: #e8f1fb;
  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --hard: 4px 4px 0 var(--ink);
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-size: 18px; line-height: 1.55; overflow-x: hidden; }
::selection { background: var(--marker); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--sheet); padding: 10px 14px; border: 2px solid var(--ink); border-radius: 10px; }

h1 { font-size: clamp(44px, 7.6vw, 108px); font-weight: 800; line-height: 0.94; letter-spacing: -0.04em; }
h2 { font-size: clamp(34px, 4.6vw, 62px); font-weight: 800; line-height: 1; letter-spacing: -0.035em; max-width: 17ch; }
h3 { font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 56ch; }
.mark { background: var(--marker-soft); padding: 2px 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.joe-says { font-family: var(--mono); font-size: 15px; line-height: 1.5; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border: 2px solid var(--ink); border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none; color: var(--ink); background: var(--sheet); white-space: nowrap; transition: transform 120ms ease, box-shadow 120ms ease; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--hard); }
.btn:active { transform: translate(0, 0); box-shadow: none; }
.btn-go { background: var(--marker); box-shadow: var(--hard); }
.btn-go:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-go:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-small { min-height: 44px; padding: 8px 16px; font-size: 15px; border-radius: 12px; }
.btn-ink { background: var(--ink); color: var(--sheet); }
.textlink { font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.textlink:hover { text-decoration-color: var(--marker); background: var(--marker-soft); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1.5px solid transparent; transition: border-color 150ms; }
.nav.is-stuck { border-bottom-color: var(--ink); }
.nav-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 600; white-space: nowrap; }
.nav-links a { text-decoration: none; padding: 10px 0; }
.nav-links a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 1180px) { .nav-links { display: none; } .nav-in .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 4vw, 52px) 0 clamp(56px, 7vw, 96px); }
.hero h1 span { display: block; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(24px, 3.4vw, 44px); }
.hero .lede { margin-top: 6px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; font-size: 14px; font-weight: 600; }
.hero-facts li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 12px; background: var(--sheet); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

/* The office window: the one loud thing on the page. */
.office { background: var(--sheet); border: 2px solid var(--ink); border-radius: 20px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.office-bar { display: flex; align-items: center; gap: 18px; padding: 12px 16px; border-bottom: 2px solid var(--ink); background: var(--side); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.office-bar strong { font-weight: 800; }
.office-bar span { color: var(--ink-2); }
.office-bar .on { color: var(--ink); border-bottom: 2px solid var(--ink); }
.office-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 18px 20px; min-height: 360px; }
.office-joe { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.office-joe svg { width: 132px; height: auto; }
.bubble { position: relative; width: 100%; min-height: 92px; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--paper); font-family: var(--mono); font-size: 13px; line-height: 1.45; }
.bubble::before { content: ''; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; margin-left: -6px; background: var(--paper); border-left: 1.5px solid var(--ink); border-top: 1.5px solid var(--ink); transform: rotate(45deg); }
.caret { display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--ink); animation: caret 1.1s step-end infinite; }
.office-work { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.office-title { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.steps { display: flex; flex-direction: column; gap: 6px; }
.step { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 6px 8px; border-radius: 10px; transition: background 200ms, color 200ms; }
.step-dot { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--stone); border-radius: 999px; background: var(--sheet); }
.step-dot svg { width: 12px; height: 12px; opacity: 0; }
.step small { margin-left: auto; font-size: 12px; font-weight: 600; font-family: var(--mono); color: var(--ink-2); }
.step.is-doing { background: var(--marker-soft); color: var(--ink); }
.step.is-doing .step-dot { border-color: var(--ink); border-top-color: transparent; animation: spin 0.65s linear infinite; }
.step.is-done { color: var(--ink); }
.step.is-done .step-dot { background: var(--done); border-color: var(--done); animation: pop 550ms ease-out; }
.step.is-done .step-dot svg { opacity: 1; }
.step.is-yours { background: var(--marker); color: var(--ink); }
.step.is-yours .step-dot { border-color: var(--ink); }

.verdict { border: 1.5px solid var(--ink); border-radius: 14px; padding: 12px 14px; background: var(--sheet); opacity: 0; transform: translateY(8px); transition: opacity 300ms, transform 300ms; }
.verdict.is-in { opacity: 1; transform: none; }
.verdict-who { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 800; }
.verdict-who span { font-weight: 600; color: var(--ink-2); font-size: 13px; }
.verdict q { display: block; margin: 8px 0 4px; font-size: 13.5px; line-height: 1.6; quotes: none; }
.verdict cite { font-style: normal; font-size: 12px; color: var(--ink-2); }
.verdict-act { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.verdict-act p { font-size: 13px; font-weight: 700; margin-right: auto; }
.yn { min-width: 64px; min-height: 40px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--sheet); font-weight: 800; font-size: 14px; transition: transform 120ms, box-shadow 120ms, background 120ms; }
.yn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.yn[data-v='oui'] { background: var(--marker); }
.yn.is-picked { background: var(--ink); color: var(--sheet); }
.office-note { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
@media (max-width: 560px) {
  .office-body { grid-template-columns: 1fr; padding: 16px; }
  .office-joe { flex-direction: row; align-items: flex-start; gap: 10px; }
  .office-joe svg { width: 84px; flex: none; }
  .bubble::before { top: 24px; left: -7px; margin: 0; border-top: 0; border-bottom: 1.5px solid var(--ink); }
  .office-bar span:nth-of-type(n + 3) { display: none; }
}

/* ---------- Sections ---------- */
.band { padding: clamp(64px, 9vw, 128px) 0; border-top: 1.5px solid var(--ink); }
.band-sheet { background: var(--sheet); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink .lede { color: #c9cdc6; }
.band-ink :focus-visible { outline-color: var(--marker); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split > div > .lede { margin-top: 22px; }
.split-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
@media (max-width: 900px) { .split, .split-rev { grid-template-columns: 1fr; } .split-rev .split-visual { order: 2; } }
.points { margin-top: 30px; display: grid; gap: 18px; max-width: 54ch; }
.points li { padding-left: 20px; border-left: 3px solid var(--ink); }
.points strong { display: block; font-size: 18px; }
.points span { color: var(--ink-2); font-size: 16.5px; }
.band-ink .points li { border-left-color: var(--marker); }
.band-ink .points span { color: #c9cdc6; }
.after { margin-top: 34px; }



/* Simulation */
.call { background: var(--sheet); color: var(--ink); border: 2px solid var(--ink); border-radius: 20px; box-shadow: var(--hard); overflow: hidden; }
.call-top { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 2px solid var(--ink); background: var(--side); font-size: 14px; font-weight: 700; }
.call-top time { margin-left: auto; font-family: var(--mono); font-weight: 500; }
.wave { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.wave i { width: 3px; height: 100%; background: var(--ink); border-radius: 2px; transform-origin: 50% 100%; animation: level 1.2s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -0.3s; } .wave i:nth-child(3) { animation-delay: -0.6s; } .wave i:nth-child(4) { animation-delay: -0.9s; }
.call-lines { display: grid; gap: 10px; padding: 18px; min-height: 290px; align-content: start; }
.say { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity 350ms, transform 350ms; }
.say.is-in { opacity: 1; transform: none; }
.say b { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); margin-bottom: 2px; }
.say-client { background: var(--side); border: 1.5px solid var(--line); border-bottom-left-radius: 4px; }
.say-cand { justify-self: end; background: var(--sheet); border: 1.5px solid var(--ink); border-bottom-right-radius: 4px; }
.call-found { border-top: 2px solid var(--ink); padding: 16px 18px; background: var(--paper); }
.call-found p { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.found { display: grid; gap: 8px; }
.found li { font-size: 14.5px; opacity: 0; transition: opacity 400ms; }
.found li.is-in { opacity: 1; }
.found strong { display: block; }
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 6vw, 72px); border: 2px solid var(--ink); border-radius: 18px; background: var(--sheet); overflow: hidden; }
.kinds li { padding: 22px 24px; border-left: 2px solid var(--ink); }
.kinds li:first-child { border-left: 0; }
.kinds p { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
@media (max-width: 800px) { .kinds { grid-template-columns: 1fr; } .kinds li { border-left: 0; border-top: 2px solid var(--ink); } .kinds li:first-child { border-top: 0; } }

/* Joe and his office */
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .duo-joe { order: -1; justify-self: center; } .duo-joe svg { width: 150px; } }
.adapt { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.adapt p { margin-top: 8px; color: var(--ink-2); max-width: 46ch; }
@media (max-width: 800px) { .adapt { grid-template-columns: 1fr; } }

/* Chasseur de têtes */
.hunt { position: relative; width: 100%; aspect-ratio: 1 / 0.86; max-width: 520px; margin-left: auto; }
.radar { position: absolute; inset: 0; }
.radar circle { fill: none; stroke: #3a3e46; stroke-width: 1.5; }
.radar .sweep { transform-origin: 250px 215px; animation: spin 5s linear infinite; }
.blip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 7px 11px 7px 8px; border-radius: 12px; background: var(--sheet); color: var(--ink); border: 1.5px solid var(--sheet); font-size: 13px; font-weight: 700; white-space: nowrap; opacity: 0; transform: scale(0.8); transition: opacity 400ms, transform 400ms cubic-bezier(0.2, 1.4, 0.4, 1); }
.blip.is-in { opacity: 1; transform: none; }
.blip small { display: block; font-weight: 500; font-size: 11.5px; color: var(--source); }
.blip::before { content: ''; width: 26px; height: 26px; border-radius: 999px; background: var(--source-soft); border: 1.5px solid var(--source); flex: none; }
.criteria { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.criteria li { font-family: var(--mono); font-size: 13.5px; padding: 6px 12px; border: 1.5px solid var(--marker); color: var(--marker); border-radius: 999px; }
@media (max-width: 900px) { .hunt { margin: 0 auto; } }

.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(44px, 6vw, 80px); }
.rules p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.rules li { border-top: 3px solid var(--ink); padding-top: 14px; }
@media (max-width: 900px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .rules { grid-template-columns: 1fr; } }

/* Compare */
@media (max-width: 640px) { .versus th, .versus td { padding: 12px 12px; font-size: 14.5px; } }

/* Testimonial */
@media (max-width: 700px) { .voice { grid-template-columns: 1fr; } }

/* Start steps */
.start { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 40px; counter-reset: s; }
.start li { counter-increment: s; }
.start li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 800; background: var(--sheet); }
.start li:first-child::before { background: var(--marker); }
.start p { margin-top: 6px; color: var(--ink-2); font-size: 16.5px; }
@media (max-width: 800px) { .start { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 36px; border-top: 2px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1.5px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 4px; font-size: 19px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 20px; font-weight: 500; line-height: 1; transition: transform 200ms, background 200ms; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--marker); }
.faq p { padding: 0 4px 22px; color: var(--ink-2); max-width: 66ch; }

/* Demo form */
.demo { background: var(--marker); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.demo .lede { color: var(--ink); margin-top: 20px; }
.demo-joe { margin-top: 28px; display: flex; gap: 14px; align-items: flex-end; }
.demo-joe svg { width: 120px; flex: none; }
.demo-joe p { padding: 12px 14px; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 14px 14px 14px 4px; margin-bottom: 30px; }
.form { background: var(--sheet); border: 2px solid var(--ink); border-radius: 20px; box-shadow: 8px 8px 0 var(--ink); padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 15px; font-weight: 700; }
.field label span { font-weight: 400; color: var(--ink-2); }
.field input, .field select { width: 100%; min-width: 0; height: 52px; padding: 0 14px; font: inherit; font-size: 17px; color: var(--ink); background-color: var(--paper); border: 1.5px solid var(--mute); border-radius: 12px; transition: border-color 120ms, box-shadow 120ms, background-color 120ms; }
.field input::placeholder { color: var(--mute); opacity: 1; }
.field input:hover, .field select:hover { border-color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); background-color: var(--sheet); box-shadow: 0 0 0 3px var(--marker); }
.field select { -webkit-appearance: none; appearance: none; padding-right: 38px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5l5.5 5.500 5.500-5.500' fill='none' stroke='%2315171c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.phone { display: grid; grid-template-columns: minmax(0, 168px) minmax(0, 1fr); gap: 8px; }
.roles { border: 0; padding: 0; margin: 0; min-width: 0; }
.roles legend { padding: 0; margin-bottom: 7px; }
.field-hint { font-size: 14px; color: var(--ink-2); }
.role-list { display: grid; gap: 8px; }
.role-row { display: flex; gap: 8px; }
.role-row input { flex: 1; min-width: 0; }
.role-del { flex: none; width: 52px; height: 52px; border: 1.5px solid var(--mute); border-radius: 12px; background: var(--sheet); font-size: 22px; line-height: 1; cursor: pointer; transition: background 120ms; }
.role-del:hover { background: var(--paper); border-color: var(--ink); }
.role-add { justify-self: start; padding: 8px 14px; border: 1.5px dashed var(--ink); border-radius: 12px; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; transition: background 120ms; }
.role-add:hover { background: var(--marker-soft); }
.role-add[hidden] { display: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.form .btn { width: 100%; }
.form-note { font-size: 14px; color: var(--ink-2); }
.form-err { font-size: 15px; font-weight: 600; color: var(--alert); }
.form-ok { display: none; text-align: center; padding: 12px 0; }
.form-ok svg { width: 140px; margin: 0 auto 8px; }
.form-ok h3 { font-size: 26px; }
.form-ok p { margin-top: 8px; color: var(--ink-2); }
.form-ok .form-again { margin-top: 20px; }
.form.is-sent > :not(.form-ok) { display: none; }
.form.is-sent .form-ok { display: block; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }

/* Footer */
.foot { background: var(--ink); color: var(--paper); padding: 48px 0 110px; font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; }
.foot .brand { color: var(--paper); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-underline-offset: 4px; }
.foot-night { margin-top: 28px; display: none; align-items: center; gap: 14px; color: #c9cdc6; }
.foot-night.is-on { display: flex; }
.foot-night svg { width: 70px; color: var(--ink); flex: none; }
.foot small { display: block; margin-top: 28px; color: #9da19a; font-size: 13.5px; }

/* Mobile sticky call */
.dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; transform: translateY(140%); transition: transform 250ms ease; }
.dock.is-up { transform: none; }
.dock .btn { width: 100%; }
@media (max-width: 760px) { .dock { display: block; } }
@media (min-width: 761px) { .foot { padding-bottom: 48px; } }

/* ---------- Joe ---------- */
.joe { color: var(--ink); overflow: visible; }
.joe-bob { animation: joe-bob 4.2s ease-in-out infinite; }
.joe-breathe { animation: joe-breathe 5s ease-in-out infinite; }
.joe-eye { transform-box: fill-box; transform-origin: center; animation: joe-blink 5.5s infinite; }
.joe-t { transform-box: view-box; animation: joe-sway 3.4s ease-in-out infinite; }
.joe-t2 { animation-delay: -0.7s; } .joe-t3 { animation-delay: -1.4s; } .joe-t4 { animation-delay: -2.1s; } .joe-t5 { animation-delay: -2.8s; } .joe-t6 { animation-delay: -1.9s; }
.joe-mouth-talk { transform-box: fill-box; transform-origin: center; animation: joe-talk 0.26s ease-in-out infinite; }
.joe-z { animation: joe-z 2.6s ease-in-out infinite; } .joe-z2 { animation-delay: -1.3s; }
@keyframes joe-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes joe-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2px); } }
@keyframes joe-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } }
@keyframes joe-sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(3deg); } }
@keyframes joe-talk { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
@keyframes joe-z { 0% { opacity: 0; transform: translate(0, 4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(6px, -10px); } }
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(1); } 54% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes level { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *:not(.film-screen *), *:not(.film-screen *)::before, *:not(.film-screen *)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
.foot-night svg { background: var(--paper); border-radius: 16px; padding: 4px; }

.band-ink .btn-go { box-shadow: 4px 4px 0 var(--paper); }
.band-ink .btn-go:hover { box-shadow: 6px 6px 0 var(--paper); }
.brand { white-space: nowrap; }
@media (max-width: 480px) {
  .nav-in { gap: 10px; }
  .brand { font-size: 17px; }
  .nav .btn-small { padding: 6px 12px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }
  .btn { white-space: normal; text-align: center; }
  .nav .btn { white-space: nowrap; }
}
.demo-joe > div { flex: none; width: 120px; }

/* ---------- v2 ---------- */
.hero-for { margin-top: 14px; font-weight: 700; font-size: 17px; }
.hero-quote { margin-top: 22px; font-size: 15.5px; color: var(--ink-2); max-width: 46ch; line-height: 1.7; }
.hero-quote .mark { color: var(--ink); font-weight: 700; }
.h-mid { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; max-width: 18ch; }
.h-mid + .lede { margin-top: 16px; }

/* Why an office */

/* Method */

/* Direct contact */
.direct { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 26px; }
.direct p { width: 100%; font-weight: 700; }
.dock { display: none; gap: 10px; }
@media (max-width: 760px) { .dock { display: flex; } }
.dock .btn-go { flex: 1; width: auto; }
.dock .btn-ink { width: 56px; flex: none; padding: 0; }

/* Legal pages */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(38px, 5.4vw, 68px); }
.legal .date { margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.legal .note { margin-top: 28px; padding: 16px 18px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--marker-soft); font-size: 16px; }
.legal h2 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; max-width: none; margin-top: 48px; padding-top: 22px; border-top: 1.5px solid var(--ink); }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.legal p { margin-top: 14px; }
.legal p strong, .legal li strong { color: var(--ink); }
.legal ul { margin-top: 12px; display: grid; gap: 8px; }
.legal li { padding-left: 22px; position: relative; }
.legal li::before { content: ''; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; background: var(--ink); border-radius: 2px; }
.legal a { font-weight: 600; text-underline-offset: 4px; }
.legal .back { display: inline-block; margin-bottom: 26px; }
.row2 { align-items: end; }
@media (max-width: 900px) { #methode .after { display: none; } }


/* ---------- Proofs: the skill view, tied to the CV sentence ---------- */
:root { --thread: #b43333; --mute: #5a5f66; --line-2: #e6e8e3; --wash: #e4e6e1; }
.pv { grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); gap: clamp(28px, 4vw, 52px); }
.pv h2 { font-size: clamp(34px, 3.8vw, 52px); }
#preuves, #enquete { padding: clamp(52px, 6vw, 84px) 0; }
.pv-strip { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: clamp(28px, 3vw, 40px); padding-top: 20px; border-top: 1.5px solid var(--ink); }
.pv-strip h3 { max-width: 12ch; }
.pv-ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pv-ledger dt { font-family: var(--mono); font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.pv-ledger dd { margin: 6px 0 0; font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.pv-ledger dd::before { content: ''; display: block; width: 26px; height: 6px; margin-bottom: 8px; background: var(--marker); border: 1.5px solid var(--ink); border-radius: 999px; }
@media (max-width: 900px) { .pv-strip { grid-template-columns: 1fr; gap: 14px; } .pv-strip h3 { max-width: none; } .pv-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pv-ledger { grid-template-columns: 1fr; gap: 12px; } .pv-ledger div { position: relative; padding-left: 16px; } .pv-ledger dd { margin-top: 1px; } .pv-ledger dd::before { position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; height: auto; margin: 0; } }
.pv-rule { margin-top: 24px; padding-left: 18px; border-left: 3px solid var(--ink); font-size: 17.5px; max-width: 52ch; }
.pv-law { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); max-width: 56ch; }

.pv-stage { position: relative; display: grid; grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.pv-cv { position: relative; margin-top: 44px; padding: 20px 20px 22px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 6px; transform: rotate(-1.4deg); font-size: 13.5px; line-height: 1.5; }
.pv-cv-tab { position: absolute; top: -13px; left: 16px; padding: 2px 10px; font-family: var(--mono); font-size: 12px; background: var(--ink); color: var(--paper); border-radius: 999px; }
.pv-cv-name { font-weight: 800; font-size: 17px; }
.pv-cv-sub { color: var(--ink-2); }
.pv-cv-h { margin-top: 14px; padding-bottom: 3px; border-bottom: 1px solid var(--stone); font-weight: 700; font-size: 12.5px; }
.pv-cv-job { margin-top: 8px; font-weight: 600; }
.pv-cv-job span { display: block; font-weight: 400; color: var(--ink-2); font-size: 12.5px; }
.pv-cv ul { margin-top: 6px; display: grid; gap: 7px; }
.pv-cv li { position: relative; padding-left: 12px; }
.pv-cv li::before { content: ''; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.pv-line { padding: 1px 2px; background: var(--marker-soft); -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background 300ms; }
.pv-line.is-on { background: var(--marker); box-shadow: 0 0 0 1.5px var(--ink); }
.pv-cv-soft { margin-top: 8px; color: var(--mute); }

.pv-win { background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--hard); overflow: hidden; }
.pv-win-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 14px 16px; background: var(--sheet); border-bottom: 1px solid var(--line); }
.pv-win-name { font-size: 18px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.pv-win-sub { font-size: 13px; color: var(--ink-2); }
.pv-tabs { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 600; }
.pv-tabs span { padding: 4px 11px; border-radius: 7px; color: var(--ink-2); }
.pv-tabs .is-on { background: var(--ink); color: var(--sheet); }
.pv-win-body { padding: 12px 12px 14px; }
.pv-count { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.pv-skills { display: grid; gap: 8px; margin-top: 8px; }
.pv-skill { display: block; width: 100%; padding: 11px 13px; text-align: left; font: inherit; color: inherit; background: var(--sheet); border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color 200ms, box-shadow 200ms; }
.pv-skill > span { display: block; }
.pv-skill[aria-pressed='true'], .pv-skill:hover { border-color: var(--ink); }
.pv-skill[aria-pressed='true'] { box-shadow: 3px 3px 0 var(--ink); }
.pv-skill-top { display: flex !important; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pv-skill-top b { display: block; font-size: 15.5px; line-height: 1.25; }
.pv-skill small { display: block; margin-top: 2px; font-family: var(--mono); font-size: 11.5px; color: var(--mute); }
.pv-stars { display: inline-flex; gap: 2px; flex: none; margin-top: 2px; }
.pv-stars svg { width: 15px; height: 15px; fill: none; stroke: var(--stone); stroke-width: 1.6; stroke-linejoin: round; }
.pv-stars svg.on { fill: var(--marker); stroke: var(--ink); }
.pv-quote { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-2); font-size: 13.5px; line-height: 1.6; }
.pv-cited { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; color: var(--ink-2); }
.pv-cited span { flex-basis: 100%; font-weight: 700; color: var(--ink); }
.pv-cited i { font-style: normal; padding: 3px 10px; border: 1px dashed var(--stone); border-radius: 999px; background: var(--sheet); }
.pv-thread { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pv-thread path { fill: none; stroke: var(--thread); stroke-width: 2.5; stroke-linecap: round; }
.pv-thread circle { fill: var(--thread); stroke: var(--sheet); stroke-width: 1.5; }
.pv-cap { margin-top: 26px; padding-left: 14px; border-left: 3px solid var(--marker); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 1080px) { .pv { grid-template-columns: 1fr; } .pv-side { max-width: 720px; } }
@media (max-width: 640px) {
  .pv-stage { grid-template-columns: 1fr; gap: 18px; }
  .pv-cv, .pv-thread { display: none; }
  .pv-left { order: 2; }
  .pv-cap { margin-top: 0; }
  .pv-quote::before { content: 'Dans son CV'; display: block; margin-bottom: 3px; font-family: var(--mono); font-size: 11.5px; color: var(--mute); }
}

/* ---------- The investigation: pieces hung on one red thread ---------- */
.enq { position: relative; margin-top: clamp(28px, 3.4vw, 44px); padding: 18px clamp(16px, 2.4vw, 28px) 20px; background-color: var(--side); background-image: radial-gradient(var(--stone) 1px, transparent 1.2px); background-size: 18px 18px; border: 2px solid var(--ink); border-radius: 20px; }
.enq-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.enq-top b { font-size: 18px; }
.enq-top span { color: var(--ink-2); font-size: 15px; }
.enq-top output { margin-left: auto; padding: 2px 10px; font-family: var(--mono); font-size: 13px; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 999px; }
.enq-line { position: relative; margin-top: 10px; }
.enq-thread { position: absolute; left: 0; top: 0; width: 100%; height: 40px; z-index: 2; overflow: visible; pointer-events: none; }
.enq-thread path { fill: none; stroke: var(--thread); stroke-width: 2.5; stroke-linecap: round; }
.enq-line ol { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; padding-top: 12px; }
.piece { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; width: 100%; height: 100%; min-height: 146px; padding: 20px 14px 13px; text-align: left; font: inherit; color: var(--ink); background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 4px 4px 12px 12px; box-shadow: 3px 3px 0 var(--ink); transform-origin: 50% 0; transition: transform 300ms cubic-bezier(0.3, 1.4, 0.5, 1), background 200ms, box-shadow 200ms; }
button.piece { cursor: pointer; }
.enq-line li:nth-child(1) .piece { transform: rotate(-1.6deg); }
.enq-line li:nth-child(2) .piece { transform: rotate(1.1deg); margin-top: 8px; }
.enq-line li:nth-child(3) .piece { transform: rotate(-0.8deg); margin-top: 3px; }
.enq-line li:nth-child(4) .piece { transform: rotate(1.5deg); margin-top: 9px; }
.enq-line li:nth-child(5) .piece { transform: rotate(-1.2deg); margin-top: 4px; }
.enq-line li:nth-child(6) .piece { transform: rotate(0.7deg); margin-top: 6px; }
.enq-line li button.piece:hover { transform: rotate(0deg) translateY(2px); }
.piece .pin { position: absolute; z-index: 3; left: 50%; top: -7px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: var(--ink); border: 2px solid var(--sheet); box-shadow: 0 0 0 1.5px var(--ink); }
.piece small { display: block; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.piece b { display: block; margin-top: 2px; font-size: 19px; line-height: 1.15; letter-spacing: -0.01em; }
.piece span { display: block; margin: 6px 0 12px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.piece em { margin-top: auto; font-style: normal; font-family: var(--mono); font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.piece em::before { content: 'Au dossier'; }
.piece[aria-pressed='true'] em { background: var(--marker); border: 1.5px solid var(--ink); animation: stamp 320ms cubic-bezier(0.3, 1.4, 0.5, 1) both; }
.piece[aria-pressed='false'] { background: var(--paper); border-style: dashed; border-color: var(--mute); box-shadow: none; }
.piece[aria-pressed='false'] b { color: var(--ink-2); }
.piece[aria-pressed='false'] .pin { background: var(--sheet); }
.piece[aria-pressed='false'] em { padding-left: 0; color: var(--ink-2); }
.piece[aria-pressed='false'] em::before { content: 'À réunir'; }
.piece-you { background: var(--marker); border-width: 2px; box-shadow: var(--hard); }
.piece-you small, .piece-you span { color: var(--ink); }
@keyframes stamp { from { transform: scale(1.5) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.enq-foot { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.enq-joe { position: relative; flex: none; width: 70px; margin-right: 6px; }
.enq-joe .joe { width: 70px; display: block; }
.enq-loupe { position: absolute; right: -12px; top: 2px; width: 26px; height: 26px; fill: var(--sheet); stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; transform: rotate(8deg); }
.enq-foot .joe-says { min-height: 46px; display: flex; align-items: center; padding: 8px 14px; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 12px; }
.enq-hint { margin-top: 2px; font-size: 13.5px; color: var(--ink-2); }
.enq-foot .btn { margin-left: auto; flex: none; }
.points-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); max-width: none; margin-top: clamp(28px, 3.4vw, 40px); }
@media (max-width: 1040px) {
  .enq-thread { display: none; }
  .enq-line { padding-left: 26px; }
  .enq-line::before { content: ''; position: absolute; left: 6px; top: -6px; bottom: 34px; width: 2.5px; border-radius: 2px; background: var(--thread); }
  .enq-line ol { grid-template-columns: 1fr; gap: 10px; padding-top: 4px; }
  .enq-line li:nth-child(n) .piece, .enq-line li:nth-child(n) button.piece:hover { transform: none; margin-top: 0; }
  .piece { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; }
  .piece small { display: none; }
  .piece b, .piece span { grid-column: 1; }
  .piece b { margin-top: 0; font-size: 18px; }
  .piece span { margin: 3px 0 0; }
  .piece em { margin: 0; grid-column: 2; grid-row: 1 / span 2; }
  .piece .pin { left: -20px; top: 50%; margin: -6.5px 0 0 -6.5px; }
  .piece-you em { display: none; }
  .enq-foot { flex-wrap: wrap; }
  .enq-foot .btn { margin-left: 0; flex: 1 1 100%; white-space: normal; text-align: center; }
  .enq-foot .joe-says { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 800px) { .points-row { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 640px) { .enq-foot .btn { display: none; } }


/* ---------- Mobile menu ---------- */
.nav-toggle { display: none; flex: none; width: 44px; height: 44px; padding: 0; border: 2px solid var(--ink); border-radius: 12px; background: var(--sheet); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2.5px; margin: 3.5px auto; border-radius: 2px; background: var(--ink); transition: transform 200ms, opacity 200ms; }
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav-in { position: relative; }
  .nav-in .btn { margin-left: auto; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); flex-direction: column; gap: 0; margin: 0; padding: 6px 18px; background: var(--sheet); border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--hard); font-size: 17px; }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 13px 0; border-top: 1px solid var(--line); }
  .nav-links a:first-child { border-top: 0; }
}

/* ---------- Detective Joe ---------- */
.enq-joe { width: 92px; margin: -10px 14px -4px 0; }
.enq-joe .joe { width: 92px; }
.enq-kit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--ink); stroke-width: 2.65; stroke-linecap: round; stroke-linejoin: round; }
.enq-kit .hat { fill: var(--ink); }
.enq-kit .brim { fill: var(--ink); }
.enq-kit .band { stroke: var(--marker); stroke-width: 5; }
.enq-kit .bow { stroke-width: 2.4; }
.enq-kit .lens { fill: rgba(245, 220, 74, 0.35); stroke-width: 3.6; }
.enq-kit .handle { stroke-width: 6; }

/* ---------- Tools and workflow ---------- */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); margin-top: clamp(36px, 5vw, 60px); padding-top: clamp(28px, 3.4vw, 44px); border-top: 1.5px solid var(--ink); }
.two-col { display: flex; flex-direction: column; }
.two-col .lede { margin-top: 14px; font-size: 18px; }
.note { margin-top: 10px; font-size: 16px; font-weight: 600; }
.two-col .pz-box, .two-col .wf { margin-top: 26px; }
.closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: clamp(32px, 4vw, 52px); padding: 20px 24px; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; }
.closing p { font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; max-width: 34ch; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.pz-box { position: relative; max-width: 520px; }
.pz { display: block; width: 100%; height: auto; overflow: visible; }
.pz-p path { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.pz-p text { font-family: var(--sans); font-size: 17px; font-weight: 700; text-anchor: middle; fill: var(--ink); }
.pz-last { transition: transform 700ms cubic-bezier(0.3, 1.35, 0.5, 1); transform-box: fill-box; transform-origin: center; }
.pz-last path { fill: var(--marker); stroke-width: 3; filter: drop-shadow(4px 4px 0 var(--ink)); }
.pz-last text { font-weight: 800; }
.pz-box.is-apart .pz-last { transform: translate(34px, 30px) rotate(9deg); }
.pz-joe { position: absolute; right: 9%; bottom: 23%; width: 15%; pointer-events: none; transition: transform 700ms cubic-bezier(0.3, 1.35, 0.5, 1); }
.pz-joe .joe { display: block; width: 100%; }
.pz-box.is-apart .pz-joe { transform: translate(34px, 30px) rotate(9deg); }

.wf { background: var(--sheet); border: 2px solid var(--ink); border-radius: 20px; box-shadow: var(--hard); padding: clamp(18px, 2.4vw, 26px); }
.wf-top b { display: block; margin-top: 8px; font-size: 21px; letter-spacing: -0.01em; }
.wf-top small { display: block; font-size: 14px; color: var(--ink-2); }
.wf-tag { display: inline-block; padding: 2px 10px; font-family: var(--mono); font-size: 12px; background: var(--ink); color: var(--sheet); border-radius: 999px; }
.wf-steps { margin-top: 14px; }
.wf-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 16.5px; font-weight: 600; }
.wf-steps i { position: relative; width: 24px; height: 24px; border: 1.5px solid var(--stone); border-radius: 50%; }
.wf-steps em { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--marker); }
.wf-steps li[data-who='you'] em { background: var(--ink); color: var(--sheet); }
.wf-steps li.is-doing i { border-color: var(--line); border-top-color: var(--ink); border-width: 2.5px; animation: wfspin 0.75s linear infinite !important; }
.wf-steps li.is-done i { background: var(--done); border-color: var(--done); }
.wf-steps li.is-done i::after { content: ''; position: absolute; left: 7px; top: 3.5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.wf-steps li.is-yours { margin: 0 -10px; padding: 11px 10px; background: var(--marker-soft); border-radius: 10px; border-top-color: transparent; }
.wf-steps li.is-yours i { border-color: var(--ink); background: var(--marker); }
@keyframes wfspin { to { transform: rotate(360deg); } }
.wf-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1.5px solid var(--ink); }
.wf-joe { flex: none; width: 54px; }
.wf-joe .joe { display: block; width: 54px; }
.wf-foot .joe-says { flex: 1 1 0; min-width: 0; min-height: 46px; display: flex; align-items: center; font-size: 14px; }
.wf-run { flex: none; }
.wf-run:disabled { opacity: 1; background: var(--paper); box-shadow: none; cursor: default; }
@media (max-width: 560px) { .wf-foot { flex-wrap: wrap; } .wf-run { flex: 1 1 100%; } }

/* ---------- Employer brand ---------- */
.film-brand .film-screen { background: #0e4d45; }
.brand-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: clamp(32px, 4vw, 52px); align-items: start; }
.brand-story blockquote, .brand-find { font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.brand-story figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.brand-story small { display: block; margin-top: 12px; font-size: 12.5px; color: var(--ink-2); }
.brand-stat { padding-left: 20px; border-left: 3px solid var(--ink); }
.brand-n { font-size: clamp(44px, 5vw, 68px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; }
.brand-stat p + p { margin-top: 8px; font-size: 16.5px; }
.brand-stat small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-2); }
.brand-offer { padding: 20px 22px; background: var(--sheet); border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--hard); }
.brand-offer p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.brand-offer .after { margin-top: 16px; }
.brand-offer .btn { white-space: normal; text-align: center; }
@media (max-width: 980px) { .brand-row { grid-template-columns: 1fr; } }

/* ---------- Morocco ---------- */
#maroc { position: relative; padding-top: calc(clamp(64px, 9vw, 128px) + 20px); }
.zellige { position: absolute; left: 0; right: 0; top: 0; height: 36px; border-bottom: 1.5px solid var(--ink); background-color: var(--marker); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cpath d='M18 3l4.4 4.4h6.2v6.2L33 18l-4.400 4.400v6.2h-6.2L18 33l-4.400-4.400H7.400v-6.2L3 18l4.400-4.400V7.400h6.2z' fill='%23fff' stroke='%2315171c' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M18 12l6 6-6 6-6-6z' fill='%2315171c'/%3E%3C/svg%3E"); background-size: 36px 36px; background-position: center; }
.rules.here li { position: relative; }
.rules.here svg { display: block; width: 30px; height: 30px; margin-bottom: 10px; fill: var(--marker); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }

/* ---------- Pilots ---------- */
.pilots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-top: clamp(32px, 4vw, 48px); }
.pilot { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 34px); background: var(--sheet); border: 2px solid var(--ink); border-radius: 20px; box-shadow: var(--hard); }
.pilot:first-child { background: var(--marker); }
.pilot-num { font-size: clamp(56px, 7vw, 96px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }
.pilot h3, .pilot blockquote { margin-top: 14px; font-size: clamp(21px, 2vw, 26px); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
.pilot p:not(.pilot-num) { margin-top: 10px; font-size: 17px; }
.pilot figcaption { margin-top: auto; padding-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.pilot:first-child figcaption { color: var(--ink); }
@media (max-width: 800px) { .pilots { grid-template-columns: 1fr; } }
@media (max-width: 350px) { .nav-in .btn { display: none; } .nav-toggle { margin-left: auto; } }

/* Pilots: clearly a beta programme */
.pilot-tag { align-self: flex-start; margin-bottom: 16px; padding: 3px 11px; font-family: var(--mono); font-size: 12.5px; background: var(--ink); color: var(--sheet); border-radius: 999px; }
.pilot-next { margin-top: clamp(24px, 3vw, 36px); font-size: 18px; }
.pilot-next .textlink { margin-left: 8px; white-space: nowrap; }
@media (max-width: 400px) { .phone { grid-template-columns: minmax(0, 138px) minmax(0, 1fr); } }

/* ---------- Partnerships page ---------- */
.partner-hero { padding-top: clamp(40px, 6vw, 84px); }
.partner-top { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; }
.partner-hero h1 { font-size: clamp(40px, 5.2vw, 68px); max-width: 11ch; }
@media (max-width: 900px) { .partner-top { grid-template-columns: 1fr; } }
.partner-hero .lede { margin-top: 22px; }
.partner-pz { justify-self: center; width: 100%; max-width: 440px; }
.partner-pz .pz-joe { right: 12%; bottom: 44%; width: 19%; }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 32px); margin-top: clamp(32px, 4vw, 52px); }
.way { display: flex; flex-direction: column; padding: clamp(20px, 2.6vw, 30px); background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; }
.way-tag { align-self: flex-start; padding: 3px 11px; font-family: var(--mono); font-size: 12.5px; background: var(--ink); color: var(--sheet); border-radius: 999px; }
.way h3 { margin-top: 14px; font-size: clamp(21px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.015em; }
.way ul { display: grid; gap: 12px; margin-top: 16px; }
.way li { position: relative; padding-left: 18px; font-size: 16.5px; color: var(--ink-2); }
.way li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--marker); border: 1.5px solid var(--ink); border-radius: 50%; }
.way li strong { color: var(--ink); }
.way > p:not(.way-tag) { margin-top: 12px; font-size: 16.5px; color: var(--ink-2); }
.way-open { background: var(--marker); box-shadow: var(--hard); }
.way-open > p:not(.way-tag) { color: var(--ink); }
.way-open .after { margin-top: auto; padding-top: 18px; }
.way-open .btn-go { background: var(--ink); color: var(--sheet); }
.partner-contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.partner-contact .demo-joe { margin-top: 0; }
@media (max-width: 860px) { .ways, .partner-contact { grid-template-columns: 1fr; } }
.pilot h3 + blockquote { margin-top: 12px; font-size: 18px; font-weight: 600; letter-spacing: 0; line-height: 1.4; }

/* FAQ: generalist AI compared with Joe */
.gen { margin: 0 4px 16px; max-width: 760px; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--sheet); }
.gen > div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); border-top: 1px solid var(--line); }
.gen > div:first-child { border-top: 0; }
.gen span { padding: 13px 16px; font-size: 16px; line-height: 1.45; }
.gen span:first-child { color: var(--ink-2); background: var(--paper); border-right: 1.5px solid var(--ink); }
.gen span:last-child { font-weight: 600; }
.gen-head span { font-size: 13.5px; font-weight: 700 !important; color: var(--ink) !important; }
.gen-head span:last-child { background: var(--marker); }
.faq .gen-end { color: var(--ink); font-size: 19px; font-weight: 700; }
@media (max-width: 600px) {
  .gen > div { grid-template-columns: 1fr; }
  .gen span:first-child { border-right: 0; padding-bottom: 4px; font-size: 14.5px; }
  .gen span:last-child { padding-top: 4px; background: var(--paper); }
  .gen-head { display: none !important; }
  .gen > div:nth-child(2) { border-top: 0; }
  .gen span:first-child::before { content: 'IA généraliste : '; font-weight: 700; color: var(--ink); }
  .gen span:last-child::before { content: 'Joe : '; font-weight: 800; background: var(--marker); padding: 0 4px; margin-right: 2px; }
}
