/* Étude a - « Le scénario » : la page écrite dans la grammaire d'un scénario Make.
   Palette de marque : encre #111310, surfaces #171915 / #1e211b, papier #f1efe7,
   signal #c8ff35 (outils + action), violet #b9a8ff (IA), orange #ff8a4c (équipe), gris #8d9085.
   Polices de marque : Space Grotesk 600 (titres, numéros), Manrope (texte). */

:root {
  --ink: #111310;
  --s1: #171915;
  --s2: #1e211b;
  --s3: #262a22;
  --paper: #f1efe7;
  --mute: #8d9085;
  --mute2: #b4b6ac;
  --signal: #c8ff35;
  --violet: #b9a8ff;
  --orange: #ff8a4c;
  --line: #34382e;
  --out: cubic-bezier(.16, 1, .3, 1);
  --seam: cubic-bezier(.87, 0, .13, 1);
  --ui: cubic-bezier(.4, 0, .2, 1);
  --display: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  --num: 'Array', 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  --text: 'Manrope', system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --gap-sec: clamp(76px, 10vw, 152px);
  --bar: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -.02em; text-wrap: balance; hyphens: none; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--signal); color: var(--ink); padding: 12px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.d { display: none; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px;
  font: 600 16px/1 var(--display); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .3s var(--ui), color .3s var(--ui), border-color .3s var(--ui), transform .3s var(--ui);
}
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: #d8ff6e; }
.btn--line { background: transparent; color: var(--paper); border-color: rgba(241, 239, 231, .42); }
.btn--line:hover { border-color: var(--paper); background: rgba(241, 239, 231, .06); }
.btn:active { transform: translateY(1px); }
.link {
  display: inline-flex; align-items: center; min-height: 44px; font: 600 16px/1.2 var(--display);
  color: var(--paper); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: text-decoration-color .3s var(--ui), color .3s var(--ui);
}
.link:hover { color: var(--signal); }

/* ---------- barre ---------- */
.bar { position: fixed; inset: 0 0 auto 0; height: var(--bar); z-index: 50; transition: background-color .4s var(--ui), border-color .4s var(--ui); border-bottom: 1px solid transparent; }
.bar.is-solid, .no-js .bar { background: var(--ink); border-bottom-color: #23261f; }
.bar__in { height: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font: 600 17px/1 var(--display); letter-spacing: -.01em; margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px #2c3027; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font: 500 15px/1 var(--display); color: #d6d5cc; text-decoration: none; transition: color .3s var(--ui);
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--out); }
.nav a:not(.btn):hover { color: var(--paper); }
.nav a:not(.btn)[aria-current="true"] { color: var(--paper); }
.nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 14px; min-height: 44px; }
@media (min-width: 900px) and (max-width: 1160px) { .brand span { display: none; } .nav a:not(.btn) { padding: 0 9px; font-size: 14.5px; } .nav a:not(.btn)::after { left: 9px; right: 9px; } .nav__cta { margin-left: 8px; } }
.menu-btn { display: none; }

/* ---------- héros ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--bar) + clamp(28px, 6vh, 64px)) var(--pad) 40px; display: flex; flex-direction: column; align-items: center; }
.hero::before { /* trame de points du canevas Make, très discrète */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(241, 239, 231, .07) 1px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 70%, transparent 100%);
}
.hero__copy { text-align: center; max-width: 1080px; }
.hero h1 span span { display: inline; }
.nb { white-space: nowrap; }
.hero h1 { font-size: clamp(2.6rem, 5.7vw, 5.2rem); line-height: .98; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.hero__sub { margin: clamp(18px, 2.6vh, 28px) auto 0; max-width: 640px; font-size: clamp(17px, 1.35vw, 19.5px); color: #d9d8cf; }
.hero__ctas { margin-top: clamp(22px, 3.4vh, 34px); display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.scene { margin: clamp(36px, 6vh, 72px) 0 0; width: 100%; max-width: var(--max); }
.chain { position: relative; display: grid; grid-template-columns: auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto; align-items: start; }
.trigger { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: calc(var(--mod) / 2 - 30px); }
.trigger__dot { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); background: var(--s2); box-shadow: inset 0 0 0 1.5px #3b4035; }
.trigger__label { font: 600 15px/1.2 var(--display); color: var(--mute2); white-space: nowrap; }
.scene { --mod: clamp(120px, 16vh, 190px); }
.wire { align-self: start; margin-top: calc(var(--mod) / 2 - 1px); height: 2px; background: #3a3e34; position: relative; display: flex; justify-content: center; align-items: center; gap: 10px; margin-inline: 10px; }
.wire i { width: 12px; height: 12px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px var(--ink); flex: none; }
.station { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.mod {
  position: relative; width: var(--mod); height: var(--mod); border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
}
.mod svg { width: 40%; height: 40%; }
.mod b { position: absolute; top: 4%; right: 4%; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 600 16px/1 var(--num); box-shadow: 0 0 0 2px currentColor; }
.mod--outils { background: var(--signal); }
.mod--ia { background: var(--violet); }
.mod--equipe { background: var(--orange); }
.mod--outils b, .mod--ia b, .mod--equipe b { color: var(--paper); }
.mod .halo { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 3px currentColor; pointer-events: none; opacity: 0; }
.mod--outils .halo { color: var(--signal); } .mod--ia .halo { color: var(--violet); } .mod--equipe .halo { color: var(--orange); }
.mod--outils b { box-shadow: 0 0 0 2px var(--signal); } .mod--ia b { box-shadow: 0 0 0 2px var(--violet); } .mod--equipe b { box-shadow: 0 0 0 2px var(--orange); }
.station__name { font: 600 24px/1.15 var(--display); }
[data-role="outils"] .station__name { color: var(--signal); }
[data-role="ia"] .station__name { color: var(--violet); }
[data-role="equipe"] .station__name { color: var(--orange); }
.mod--cl { background: transparent; color: var(--paper); border: 3px dashed var(--paper); }
.mod .halo { color: var(--paper); }
.mod--cl .halo { color: var(--paper); }
.token { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: 0; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 5px var(--ink), 0 0 0 7px rgba(241, 239, 231, .35); z-index: 3; pointer-events: none; }
.tasks { margin-top: 8px; display: grid; gap: 4px; font-size: 16px; color: var(--paper); }
.tag { margin-top: 22px; text-align: center; font-size: 15px; line-height: 1.5; color: rgba(241, 239, 231, .74); }
.tag::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); margin-right: 10px; vertical-align: 1px; }

/* ---------- sections communes ---------- */
section { position: relative; }
.roles, .publics, .work, .method, .prices, .me, .faq, .contact { padding: var(--gap-sec) var(--pad) 0; }
.head { max-width: var(--max); margin: 0 auto; }
.kick { font: 600 17px/1.3 var(--display); color: var(--mute2); margin-bottom: 14px; }
.kick--ia { color: var(--violet); }
h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -.03em; max-width: 24ch; }
.lede { margin-top: 18px; font-size: 19px; color: #d9d8cf; max-width: 46ch; }
.note { margin-top: 22px; font-size: 15px; line-height: 1.5; color: rgba(241, 239, 231, .74); }
.note::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); margin-right: 10px; vertical-align: 1px; }

/* le fil : trois pastilles reliées par un tracé, dérivés de la progression de scroll */
.seam { --p: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 2px; margin: calc(-.5 * var(--gap-sec) - 36px) auto calc(.5 * var(--gap-sec) - 36px); height: 72px; justify-content: center; position: relative; left: 0; }
.seam::before { content: ""; position: absolute; inset: 0; background: #2f332a; }
.seam::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform-origin: 50% 0; transform: scaleY(var(--p)); }
.seam i { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: var(--signal); flex: none; box-shadow: 0 0 0 4px var(--ink); }
.js .seam i { background: #4a4f42; transition: background-color .4s var(--out); }
.js .seam i.is-lit { background: var(--signal); }
.seam--link { margin: 28px auto 0; height: 84px; }

/* ---------- 2. qui fait quoi ---------- */
.roles__stage { max-width: var(--max); margin: 0 auto; }
.roles .head { margin: 0; }
.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; min-height: 340px; --o: 1; border-radius: 28px;
  /* forme : rond fermé -> carte ouverte (clip-path, aucune mise en page) */
  clip-path: inset(calc((1 - var(--o)) * var(--cy)) calc((1 - var(--o)) * var(--cx)) round calc(28px + (1 - var(--o)) * 100px));
}
.card { --cx: calc(50% - 90px); --cy: calc(50% - 90px); }
.card--outils { background: var(--signal); }
.card--ia { background: var(--violet); }
.card--equipe { background: var(--orange); }
.card__closed { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--ink); opacity: clamp(0, (.64 - var(--o)) * 8.4, 1); pointer-events: none; }
.card__closed b { font: 600 52px/1 var(--num); }
.card__closed span { font: 600 20px/1.1 var(--display); }
.card__open { position: relative; padding: 30px 30px 32px; color: var(--ink); opacity: clamp(0, (var(--o) - .58) * 6.4, 1); }
.card__k { display: flex; align-items: center; gap: 10px; font: 600 16px/1 var(--display); }
.card__k b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 600 15px/1 var(--num); }
.card h3 { margin-top: 56px; font-size: clamp(1.45rem, 1.85vw, 1.75rem); line-height: 1.08; letter-spacing: -.025em; min-height: 2.16em; }
@media (min-width: 1240px) { .card h3 { min-height: 0; } }
.card__open > p:last-child { margin-top: 14px; font-size: 17px; line-height: 1.5; color: #1d1f1a; font-weight: 500; }

/* ---------- 3. publics (immobile) ---------- */
.aud { max-width: var(--max); margin: 48px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud__b { background: var(--s1); border-radius: 28px; padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 14px; box-shadow: inset 0 0 0 1px #24271f; }
.aud__b--ag { background: var(--paper); color: var(--ink); box-shadow: none; }
.aud__k { font: 600 17px/1.2 var(--display); color: var(--signal); }
.aud__b--ag .aud__k { color: #a63d08; }
.aud .aud__b--ag p:not(.aud__k) { color: #2a2c25; }
.aud__b--ag .link { color: var(--ink); text-decoration-color: var(--ink); }
.aud__b--ag .link:hover { color: #a63d08; }
.aud__b h3 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.04; letter-spacing: -.028em; margin-top: 18px; }
.aud__b p:not(.aud__k) { color: #d0cfc6; max-width: 34ch; }
.aud__b .link { margin-top: auto; padding-top: 18px; align-self: flex-start; }

/* ---------- 4. réalisations ---------- */
.case { max-width: var(--max); margin: 56px auto 0; }
.shot { margin: 0; }
.shot__frame { border-radius: 24px; overflow: hidden; background: #ebebeb; transform-origin: 50% 0; box-shadow: 0 0 0 1px #2a2d25; }
.js .shot__frame { transform: scale(var(--sc, 1)); }
.shot__scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.shot__scroll::-webkit-scrollbar { display: none; }
.shot__scroll img { width: 100%; height: auto; }
.shot figcaption { margin-top: 14px; font-size: 15px; line-height: 1.5; color: rgba(241, 239, 231, .74); }
.case__txt { margin-top: 36px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px 48px; }
.case__k { color: var(--signal); display: flex; flex-direction: column; align-items: flex-start; }
.case__lab { font: 600 17px/1.3 var(--display); }
.case__n { font: 600 clamp(4rem, 8.6vw, 7.5rem)/.95 var(--num); letter-spacing: -.02em; margin: 6px 0 4px; }
.case__u { font: 600 20px/1.2 var(--display); color: var(--paper); }
.case--two .case__k { color: var(--orange); }
.case h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.04; letter-spacing: -.028em; }
.case h3 a { text-decoration: none; }
.case h3 a:hover { color: var(--signal); }
.case__txt p:not(.case__k):not(.stack) { margin-top: 16px; color: #d0cfc6; max-width: 52ch; }
.stack { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 15px/1.2 var(--display); color: var(--mute2); }
.stack span { display: inline-flex; align-items: center; gap: 8px; }
.stack span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5a5f51; }
.case__txt .link { margin-top: 10px; }
.case--two { margin-top: clamp(72px, 9vw, 120px); }

.merge { position: relative; margin: 0; border-radius: 24px; background: var(--s1); box-shadow: inset 0 0 0 1px #24271f; padding: 44px clamp(24px, 4vw, 56px) 30px;
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "in . out" "big big big" "tag tag tag"; align-items: center; column-gap: 24px; }
.merge__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.merge__wires path { fill: none; stroke: #4a4f42; stroke-width: 2; }
.merge__wires path.w-out { stroke: var(--violet); stroke-width: 2.5; }
.merge__in { grid-area: in; display: grid; grid-template-columns: repeat(2, 52px); gap: 14px 18px; position: relative; }
.mbox { transition: background-color .3s var(--out), color .3s var(--out), box-shadow .3s var(--out); }
.mbox.is-lit { background: var(--signal); color: var(--ink); box-shadow: none; }
.mbox { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--s3); box-shadow: inset 0 0 0 1.5px #464b3e; font: 600 15px/1 var(--num); color: var(--mute2); }
.merge__out { grid-area: out; display: flex; align-items: center; gap: 72px; position: relative; }
.mnode { width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; font: 600 19px/1 var(--display); color: var(--ink); }
.mnode--notion { background: var(--paper); }
.mnode--claude { background: var(--violet); }
.merge__big { grid-area: big; margin-top: 40px; font: 600 clamp(1.6rem, 2.6vw, 2.4rem)/1.06 var(--display); letter-spacing: -.028em; }
.merge .tag { grid-area: tag; text-align: left; margin-top: 18px; }

/* ---------- 5. méthode + routeur ---------- */
.method__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; align-items: start; }
.method__grid .head { margin: 0; position: sticky; top: calc(var(--bar) + 40px); }
.steps { position: relative; display: grid; gap: 56px; padding-top: 6px; }
.steps__wire { position: absolute; left: 27px; top: 34px; bottom: 34px; width: 2px; height: auto; overflow: visible; }
.steps::before { content: ""; position: absolute; left: 27px; top: 34px; bottom: 60px; width: 2px; background: #2f332a; }
.steps::after { content: ""; position: absolute; left: 27px; top: 34px; bottom: 60px; width: 2px; background: var(--signal); transform-origin: 0 0; transform: scaleY(var(--p, 1)); }
.steps__wire { display: none; }
.steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; }
.steps__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 600 22px/1 var(--num); background: var(--signal); color: var(--ink); position: relative; z-index: 1; transition: background-color .5s var(--out), color .5s var(--out); }
.js .steps li:not(.is-lit) .steps__n { background: var(--s2); color: var(--paper); box-shadow: inset 0 0 0 1.5px #464b3e; }
.steps h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; padding-top: 10px; }
.steps p { margin-top: 8px; color: #d0cfc6; max-width: 40ch; }

.prompt { max-width: var(--max); margin: clamp(80px, 10vw, 136px) auto 0; }
.prompt__head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 64px; align-items: end; }
.prompt__head .kick { grid-column: 1 / -1; margin: 0; }
.prompt__head h3 { font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.04; letter-spacing: -.03em; }
.prompt__head p:last-child { color: #d0cfc6; max-width: 46ch; }
.router { position: relative; margin-top: 48px; }
.router__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.router__wires path { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.router__line { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr) 56px 1fr; grid-template-rows: auto auto; gap: 18px 28px; align-items: center; }
.node { border-radius: 22px; padding: 22px 22px 24px; background: var(--s1); box-shadow: inset 0 0 0 1.5px #2c3027; display: grid; gap: 10px; align-content: start; }
.node__k { display: flex; align-items: center; gap: 10px; font: 600 19px/1.1 var(--display); }
.node__k::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; flex: none; }
.node__t { font-size: 16px; line-height: 1.5; color: #d0cfc6; }
.node--ia { grid-row: 1 / span 2; align-self: center; min-height: 190px; }
.node--ia .node__k { color: var(--violet); }
.node--team .node__k { color: var(--orange); }
.node--alert .node__k { color: var(--paper); }
.node--alert .node__k::before { background: var(--mute); }
.router__hub { grid-column: 4; grid-row: 1 / span 2; justify-self: center; }
.router__hub span { display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 6px var(--ink), 0 0 0 7.5px #3b3f35; }
.node--team { grid-column: 5; grid-row: 1; }
.node--alert { grid-column: 5; grid-row: 2; }
.prompt .note::before { background: var(--violet); }

/* ---------- 6. tarifs ---------- */
.offers { position: relative; max-width: var(--max); margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.offers__wire { position: absolute; left: 16.66%; right: 16.66%; top: 31px; height: 2px; background: var(--signal); transform-origin: 0 50%; z-index: 0; }
.js .offers__wire { transform: scaleX(0); transition: transform .9s var(--out); }
.js .offers.is-in .offers__wire { transform: scaleX(1); }
.offer { margin-top: 31px; position: relative; z-index: 1; background: var(--s1); border-radius: 26px; padding: 0 clamp(22px, 2.4vw, 34px) 30px; box-shadow: inset 0 0 0 1px #24271f; display: flex; flex-direction: column; }
.offer--main { background: var(--s2); box-shadow: inset 0 0 0 1.5px rgba(200, 255, 53, .45); }
.offer__mod { width: 62px; height: 62px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--signal); box-shadow: inset 0 0 0 2px var(--signal); font: 600 22px/1 var(--num); margin-top: -31px; }
.offer__step { font: 600 16px/1.2 var(--display); color: var(--mute2); text-align: center; }
.offer h3 { margin-top: 8px; font-size: clamp(1.4rem, 1.9vw, 1.75rem); line-height: 1.1; text-align: center; }
.offer__price { min-height: 3.6em; margin: 22px 0 22px; text-align: center; letter-spacing: -.02em; white-space: nowrap; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; }
.offer__price b { font: 600 clamp(1.9rem, 3.05vw, 2.9rem)/1 var(--num); }
.offer__price .pre { margin: 0; }
.offer__price small { display: block; margin: 0; font: 500 16px/1 var(--text); letter-spacing: 0; color: rgba(241, 239, 231, .78); }
.offer details { border-top: 1px solid #2c3027; border-bottom: 1px solid #2c3027; margin-bottom: 22px; }
.offer summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font: 600 16px/1.2 var(--display); }
.offer summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.offer summary::after, .faq summary::after { content: "+"; font: 500 24px/1 var(--display); color: var(--signal); transition: transform .4s var(--out); }
.offer details[open] summary::after, .faq details[open] summary::after { transform: rotate(45deg); }
.offer details ul { display: grid; gap: 6px; font-size: 16px; color: #d0cfc6; padding-bottom: 12px; }
.offer details li { padding-left: 18px; position: relative; }
.offer details li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.offer details p { font-size: 15px; color: var(--mute2); padding-bottom: 16px; }
.offer .btn { margin-top: auto; width: 100%; }
.terms { max-width: var(--max); margin: 28px auto 0; font-size: 15px; line-height: 1.5; color: rgba(241, 239, 231, .78); }
.terms span { display: block; max-width: 96ch; }
.prices .head + .offers + .terms { text-align: left; }

/* ---------- 7. interlocuteur (immobile) ---------- */
.me { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 40px 72px; align-items: center; }
.me__photo { width: clamp(200px, 24vw, 340px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 24px; border: 1px solid #2c3027; display: block; }
.me h2 { max-width: none; }
.me__txt > p:not(.kick):not(.tools) { margin-top: 18px; color: #d0cfc6; max-width: 50ch; font-size: 18px; }
.me .link { margin-top: 12px; }
.tools { margin-top: 30px; padding-top: 22px; border-top: 1px solid #2c3027; font-size: 16px; color: var(--mute2); }
.tools span { color: var(--paper); font-weight: 600; margin-right: 6px; }

/* ---------- 8. FAQ (immobile) ---------- */
.faq { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px 64px; align-items: start; }
.faq .head { margin: 0; }
.faq__list { border-top: 1px solid #2c3027; }
.faq details { border-bottom: 1px solid #2c3027; }
.faq summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; font: 600 18px/1.3 var(--display); padding: 10px 0; }
.faq details:not([open]) > p, .offer details:not([open]) > :not(summary) { display: none; }
.faq details p { padding: 0 40px 22px 0; color: #d0cfc6; font-size: 16.5px; }

/* ---------- 9. contact : dernier module ---------- */
.contact { text-align: center; padding-bottom: clamp(56px, 8.5vw, 120px); display: flex; flex-direction: column; align-items: center; }
.contact h2 { margin: 0 auto; max-width: none; font-size: clamp(2.4rem, 5.4vw, 4.8rem); }
.contact__p { margin-top: 18px; font-size: 19px; color: #d9d8cf; }
.endmod { margin-top: 0; display: inline-flex; align-items: center; gap: 22px; padding: 14px 34px 14px 14px; border-radius: 999px; background: var(--signal); color: var(--ink); text-decoration: none; font: 600 clamp(20px, 2vw, 24px)/1 var(--display); letter-spacing: -.01em; transition: background-color .3s var(--ui); }
.endmod:hover { background: #d8ff6e; }
.endmod__ring { width: 76px; height: 76px; border-radius: 50%; background: var(--ink); color: var(--signal); display: grid; place-items: center; }
.endmod__ring svg { width: 36px; height: 36px; }
.js .endmod { transform: scale(var(--es, 1)); transform-origin: 50% 0; }
.mail { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 12px 18px; flex-wrap: wrap; }
.mail__a { font: 600 19px/1 var(--display); min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-decoration-color: rgba(200, 255, 53, .7); text-underline-offset: 6px; }
.copy { min-height: 44px; }
.copy__ok { min-width: 0; font-size: 15px; color: var(--signal); }
.contact__fine { margin-top: 18px; font-size: 15px; color: var(--mute2); }

/* ---------- pied ---------- */
.foot { border-top: 1px solid #23261f; padding: 34px var(--pad) 40px; }
.foot__in { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--mute2); }
.foot__id, .foot__links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 26px; }
.foot__links { gap: 0 26px; }
.foot__in img { width: 36px; height: 36px; border-radius: 10px; }
.foot a { min-height: 44px; display: inline-flex; align-items: center; color: var(--paper); text-decoration: none; }
.foot a:hover { color: var(--signal); }

.dock { display: none; }
.js .dock.is-off { transform: translateY(110%) !important; }

/* ---------- desktop : épinglage de « Qui fait quoi » ---------- */
@media (min-width: 900px) and (min-height: 700px) {
  .js .roles { height: 215vh; }
  .js .roles__stage { position: sticky; top: var(--bar); min-height: calc(100vh - var(--bar)); display: flex; flex-direction: column; justify-content: center; padding-bottom: 24px; }
  .js .roles { padding-top: var(--gap-sec); }
}

/* ---------- tablette / mobile ---------- */
@media (max-width: 1100px) {
  .router__line { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto; }
  .node--ia { grid-row: auto; min-height: 0; }
  .router__hub { grid-column: 1 / -1; grid-row: auto; padding: 4px 0; }
  .node--team { grid-column: 1 / span 1; grid-row: auto; }
  .node--alert { grid-column: 3 / span 1; grid-row: auto; }
  .merge__out { gap: 40px; }
}
@media (max-width: 899px) {
  :root { --gap-sec: 52px; }
  body { font-size: 16.5px; }
  .no-js body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .nav { display: none; }
  .js .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid rgba(241, 239, 231, .4); background: transparent; color: var(--paper); font: 600 15px/1 var(--display); cursor: pointer; }
  .js .nav.is-open { display: flex; position: fixed; inset: var(--bar) 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 4px; padding: 28px var(--pad); z-index: 49; }
  .js .nav.is-open a:not(.btn) { font-size: 28px; min-height: 64px; border-bottom: 1px solid #23261f; padding: 0; }
  .js .nav.is-open a:not(.btn)::after { display: none; }
  .js .nav.is-open .nav__cta { margin: 24px 0 0; min-height: 56px; }
  .bar { background: var(--ink); border-bottom-color: #23261f; }

  .hero { min-height: 0; align-items: stretch; padding-top: calc(var(--bar) + 26px); padding-bottom: 0; }
  .hero__copy { text-align: left; }
  .hero h1 { font-size: clamp(2.45rem, 11.4vw, 3.4rem); line-height: 1.02; }
  .hero__sub { margin-left: 0; font-size: 17px; }
  .hero__ctas { flex-direction: column; gap: 10px; }
  .hero__ctas .btn { width: 100%; min-height: 52px; }
  .scene { --mod: 76px; margin-top: 30px; }
  .chain { grid-template-columns: 1fr; justify-items: start; }
  .trigger { flex-direction: row; padding: 0 0 0 12px; gap: 14px; }
  .trigger__dot { width: 60px; height: 60px; }
  .wire { width: 2px; height: 22px; margin: 3px 0 3px 37px; flex-direction: column; gap: 6px; }
  .wire i { width: 8px; height: 8px; box-shadow: 0 0 0 3px var(--ink); }
  .trigger + .wire { margin-left: 37px; }
  .trigger { padding-left: 8px; }
  .station { flex-direction: row; text-align: left; align-items: center; gap: 18px; }
  .mod { margin-left: 0; }
  .mod b { width: 26px; height: 26px; font-size: 13px; top: -2px; right: -4px; }
  .station__name { font-size: 19px; }
  .tasks { margin-top: 4px; gap: 0; font-size: 15px; line-height: 1.45; }
  .tag { text-align: left; margin-top: 18px; }

  .seam { height: 44px; gap: 6px; margin-top: calc(-.5 * var(--gap-sec) - 22px); margin-bottom: calc(.5 * var(--gap-sec) - 22px); }
  .seam i { width: 9px; height: 9px; box-shadow: 0 0 0 3px var(--ink); }
  .seam--link { margin: 22px auto 0; height: 60px; }
  h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .lede { font-size: 17px; margin-top: 14px; }
  .cards { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .card { min-height: 0; --cx: calc(50% - 60px); --cy: calc(50% - 60px); }
  .card__open { padding: 22px 22px 24px; }
  .card h3 { margin-top: 12px; font-size: 1.55rem; min-height: 0; }
  .card__open > p:last-child { font-size: 16px; margin-top: 8px; }
  .js .card, .js .card__open { transition: clip-path .7s var(--out), opacity .4s var(--ui); }
  .js .card:not(.is-open) { clip-path: inset(calc(50% - 40px) calc(100% - 92px) calc(50% - 40px) 12px round 40px); }
  .js .card:not(.is-open) .card__open { opacity: 0; }
  .js .card.is-open .card__open { opacity: 1; transition-delay: .42s; }
  .js .card.is-open { clip-path: inset(0 round 24px); }
  .card__closed { display: none; }

  .aud { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .aud__b { padding: 26px 22px; border-radius: 22px; gap: 10px; }
  .aud__b h3 { margin-top: 8px; font-size: 1.75rem; }
  .aud__b .link { padding-top: 6px; }

  .case { margin-top: 32px; }
  .shot__frame { border-radius: 18px; }
  .js .shot__frame { transform: none; }
  .shot__scroll img { width: 600px; max-width: none; }
  .case__txt { grid-template-columns: 1fr; margin-top: 22px; gap: 10px; }
  .case h3 { font-size: 1.8rem; }
  .case--two { margin-top: 52px; }
  .merge { grid-template-columns: 1fr; grid-template-areas: "in" "out" "big" "tag"; padding: 24px 20px 20px; justify-items: center; row-gap: 34px; }
  .merge__in { grid-template-columns: repeat(4, 44px); gap: 12px 16px; }
  .mbox { width: 44px; height: 44px; font-size: 14px; }
  .merge__out { gap: 28px; }
  .mnode { width: 92px; height: 92px; font-size: 16px; }
  .merge__big { margin-top: -12px; justify-self: start; font-size: 1.5rem; }
  .merge .tag { margin-top: -30px; justify-self: start; }

  .method__grid { grid-template-columns: 1fr; gap: 32px; }
  .method__grid .head { position: static; }
  .steps { gap: 20px; }
  .steps li { grid-template-columns: 48px 1fr; gap: 18px; }
  .steps__n { width: 48px; height: 48px; font-size: 18px; }
  .steps::before, .steps::after { left: 23px; top: 30px; bottom: 50px; }
  .steps h3 { font-size: 1.4rem; padding-top: 8px; }
  .steps p { margin-top: 4px; font-size: 16px; }
  .prompt { margin-top: 56px; }
  .prompt__head { grid-template-columns: 1fr; gap: 14px; }
  .prompt__head h3 { font-size: 1.85rem; }
  .router { margin-top: 28px; }
  .router__line { grid-template-columns: 1fr 1fr; gap: 12px; }
  .node { padding: 16px 16px 18px; border-radius: 18px; gap: 6px; }
  .node__k { font-size: 16px; }
  .node__t { font-size: 15px; line-height: 1.45; }
  .node--ia { grid-column: 1 / -1; grid-template-columns: 92px 1fr; align-items: baseline; gap: 4px 12px; padding: 13px 16px; }
  .router__hub { grid-column: 1 / -1; padding: 6px 0; }
  .router__hub span { width: 18px; height: 18px; }
  .router__hub { padding: 0; }
  .node--team { grid-column: 1; }
  .node--alert { grid-column: 2; }

  .offers { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .offers__wire { left: 52px; right: auto; top: 40px; bottom: 40px; width: 2px; height: auto; transform-origin: 50% 0; }
  .js .offers__wire { transform: scaleY(0); }
  .js .offers.is-in .offers__wire { transform: scaleY(1); }
  .offer { padding: 20px 20px 20px; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; border-radius: 22px; }
  .offer { margin-top: 0; }
  .offer__mod { width: 52px; height: 52px; margin: 0; font-size: 19px; grid-row: 1 / span 2; }
  .offer__step, .offer h3 { text-align: left; grid-column: 2; }
  .offer h3 { margin-top: 2px; font-size: 1.2rem; hyphens: none; }
  .offer__price { min-height: 0; grid-column: 1 / -1; text-align: left; margin: 16px 0 12px; display: flex; flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 12px; flex-wrap: wrap; min-height: 0; white-space: normal; }
  .offer__price b { font-size: 2.1rem; }
  .offer__price small { display: inline; margin: 0; }
  .offer__price .pre { order: -1; width: 100%; }
  .offer details, .offer .btn { grid-column: 1 / -1; }
  .offer details { margin-bottom: 14px; }
  .offer:not(.offer--main) .btn { display: none; }
  .offer:not(.offer--main) details { margin-bottom: 0; }
  .terms { font-size: 14.5px; }

  .me { grid-template-columns: 1fr; gap: 20px; }
  .me__photo { width: 160px; border-radius: 18px; }
  .me__txt > p:not(.kick):not(.tools) { font-size: 16.5px; }
  .tools { margin-top: 20px; padding-top: 16px; font-size: 15px; }

  .faq { grid-template-columns: 1fr; gap: 24px; }
  .faq summary { min-height: 52px; font-size: 16.5px; padding: 8px 0; }
  .faq details p { padding-right: 0; font-size: 16px; }

  .contact { padding-bottom: 56px; align-items: stretch; text-align: left; }
  .contact .seam { align-self: center; }
  .contact h2 { margin: 0; font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .contact__p { font-size: 17px; }
  .endmod { margin-top: 30px; width: 100%; padding: 10px 22px 10px 10px; gap: 16px; font-size: 19px; }
  .endmod__ring { width: 60px; height: 60px; }
  .endmod__ring svg { width: 28px; height: 28px; }
  .mail { justify-content: flex-start; margin-top: 22px; }
  .case__n { font-size: 4.2rem; }
  .case__k { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
  .case__lab { flex-basis: 100%; }
  .case__n { margin: 0; }
  .foot { padding-bottom: 28px; }
  .foot__in { gap: 4px 20px; font-size: 14.5px; }
  .foot__in span { flex-basis: 100%; }

  .dock { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; gap: 10px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid #23261f; }
  .dock .btn { min-height: 52px; }
  .dock .btn--signal { flex: 1; }
  .dock .btn--line { flex: none; padding: 0 22px; }
  .js .dock { transform: translateY(110%); transition: transform .5s var(--out); }
  .js .dock.is-on { transform: none; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 2.3rem; }
  .mod--cl { }
  .shot__scroll img { width: 560px; }
}

/* ---------- mouvement réduit : tout posé ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js .roles { height: auto !important; }
  .js .roles__stage { position: static !important; min-height: 0 !important; }
  .card { --o: 1 !important; }
  .js .card { clip-path: inset(0 round 24px) !important; }
  .js .card .card__open { opacity: 1 !important; }
  .js .shot__frame { transform: none !important; }
  .js .seam i { background: var(--signal) !important; }
  .seam::after { transform: none !important; }
  .js .dock.is-off { transform: none !important; }
  .js .steps li .steps__n { background: var(--signal) !important; color: var(--ink) !important; box-shadow: none !important; }
  .steps::after { transform: none !important; }
  .js .offers__wire { transform: none !important; }
  .js .endmod { transform: none !important; }
  .router__wires path { stroke-dashoffset: 0 !important; }
}

/* ---------- formulaire (production OVH) ---------- */
.pform { width: 100%; max-width: 760px; margin: 56px auto 0; text-align: left; border-radius: 28px; padding: clamp(24px, 3.4vw, 40px); background: var(--s1); box-shadow: inset 0 0 0 1px #24271f; }
.pform__t { font: 600 clamp(20px, 2vw, 24px)/1.2 var(--display); letter-spacing: -.015em; }
.pform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.pform label { display: flex; justify-content: space-between; gap: 12px; margin: 20px 0 8px; font: 600 15.5px/1.2 var(--display); }
.pform label span { font: 500 13.5px/1.2 var(--text); color: var(--mute2); }
.pform input, .pform select, .pform textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid #3a3e34; background: var(--ink); color: var(--paper); font: 400 16px/1.4 var(--text); transition: border-color .25s var(--ui); }
.pform textarea { min-height: 150px; resize: vertical; }
.pform select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--signal) 50%), linear-gradient(135deg, var(--signal) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.pform input:focus-visible, .pform select:focus-visible, .pform textarea:focus-visible { outline: none; border-color: var(--signal); }
.pform [aria-invalid="true"] { border-color: var(--orange); }
.pform .field-help { margin: -2px 0 10px; font-size: 14.5px; color: var(--mute2); }
.pform .form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pform .form-privacy { margin-top: 18px; font-size: 14.5px; color: var(--mute2); }
.pform .form-privacy a { color: var(--paper); text-decoration-color: rgba(200, 255, 53, .7); text-underline-offset: 4px; }
.pform .form-submit { margin-top: 20px; width: 100%; min-height: 56px; }
.pform .form-submit:disabled { opacity: .6; cursor: default; }
.pform .form-status:not(:empty) { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(200, 255, 53, .1); color: var(--paper); font-size: 15.5px; }
.pform .form-error { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 138, 76, .12); color: var(--paper); font-size: 15.5px; }
.pform .form-error a { color: var(--signal); }
.contact__or { margin-top: 44px; font: 600 15.5px/1.2 var(--display); color: var(--mute2); }
@media (max-width: 899px) { .pform__row { grid-template-columns: 1fr; } .pform { margin-top: 40px; } }
