/* KAPITO — direction artistique « la troupe » (c300) : papier clair, grand serif, personnages 3D en vinyle.
   Feuille autonome (remplace site.css sur les pages passées au nouveau design). Polices auto-hébergées (OFL). */
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("/vendor/fonts/inter-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("/vendor/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "ISerif"; font-weight: 400; font-style: italic; font-display: swap; src: url("/vendor/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/vendor/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/vendor/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/vendor/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Mono"; font-weight: 500; font-display: swap; src: url("/vendor/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --paper: #f6f3ec; --paper-2: #eeeadf; --card: #fffdf8; --ink: #15161a; --ink-2: #565861; --ink-3: #8b8d95;
  --line: rgba(21, 22, 26, .11); --line-2: rgba(21, 22, 26, .2);
  --blue: #0a84ff; --sun: #ffcf33; --mint: #34c759; --peach: #ff9f0a; --lilac: #af52de;
  --display: "Inter", system-ui, sans-serif; --serif: "ISerif", Georgia, "Times New Roman", serif; --sans: "Inter", system-ui, -apple-system, sans-serif; --mono: "Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1); --r: 30px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1280px, 100% - 48px); margin: 0 auto; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }

/* ---------- typographie ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 12px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--blue)); }
.hx { margin: 0; font: 800 clamp(40px, 5.6vw, 88px)/1 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.hx .l1, .hx .l2 { display: block; }
.hx .l2 { font: 400 italic 1.08em/1 var(--serif); letter-spacing: -.02em; color: inherit; }
.hx.h3 { font-size: clamp(28px, 3.2vw, 40px); }
.lead { margin: 22px 0 0; max-width: 56ch; font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); text-wrap: pretty; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-3); } .small { font-size: 14px; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; font: 600 15px/1 var(--sans); letter-spacing: -.005em; transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s; white-space: nowrap; }
.btn-lg { min-height: 58px; padding: 16px 28px; font-size: 16px; }
.btn-silver, .btn-ink { background: var(--ink); color: #fff; box-shadow: 0 18px 34px -18px rgba(21, 22, 26, .7); }
.btn-silver:hover, .btn-ink:hover { transform: translateY(-2px); box-shadow: 0 26px 44px -20px rgba(21, 22, 26, .75); }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ink); }
.btn .ar { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-grid; place-items: center; font-size: 13px; transition: transform .45s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row.center { justify-content: center; }
.link { font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--blue); padding-bottom: 2px; }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 14px 14px auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 8px 8px 18px; border-radius: 999px; transition: background-color .35s, box-shadow .35s, transform .5s var(--ease); }
.nav.scrolled { background: rgba(246, 243, 236, .86); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -28px rgba(21, 22, 26, .5); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.brand { display: inline-flex; align-items: baseline; gap: 2px; font: 800 26px/1 var(--display); letter-spacing: -.04em; }
.brand::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); margin-left: 3px; transform: translateY(-1px); }
.brand em { display: none; }
.nav-links { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 253, 248, .7); box-shadow: inset 0 0 0 1px var(--line); }
.nav-links a { padding: 9px 15px; border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--ink-2); transition: background-color .25s, color .25s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-right .login { padding: 10px 12px; font: 500 14px var(--sans); color: var(--ink-2); }
.nav-right .login:hover { color: var(--ink); }
.nav-right .btn { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.burger span, .burger span::before { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; content: ""; transition: transform .35s var(--ease); }
.burger span { top: 18px; } .burger span::before { left: 0; right: 0; top: 6px; }
.burger[aria-expanded="true"] span { transform: translateY(3px) rotate(45deg); } .burger[aria-expanded="true"] span::before { transform: translateY(-6px) rotate(-90deg); }
.dim { position: fixed; inset: 0; z-index: 48; background: rgba(21, 22, 26, .35); opacity: 0; pointer-events: none; transition: opacity .35s; }
.dim.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 49; padding: 10px 18px 22px; border-radius: 28px; background: var(--card); box-shadow: 0 40px 80px -30px rgba(21, 22, 26, .5), inset 0 0 0 1px var(--line); transform: translateY(110%); transition: transform .5s var(--ease); display: grid; }
.sheet.open { transform: none; }
.sheet .grip { width: 44px; height: 5px; border-radius: 9px; background: var(--line-2); margin: 4px auto 10px; }
.sheet a:not(.btn) { display: flex; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); font: 800 22px/1.1 var(--display); letter-spacing: -.02em; }
.sheet .btn { margin-top: 16px; }
@media (max-width: 1060px) { .nav-links { display: none; } }
@media (max-width: 700px) { .burger { display: block; } .nav-right .login, .nav-right .btn { display: none; } .nav { inset: 10px 10px auto; } }

/* ---------- apparitions ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].in { opacity: 1; transform: none; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--k, 0) * 90ms + 120ms); }
.ready .ln > span { transform: none; }

/* ---------- héros ---------- */
.t-hero { position: relative; min-height: 100svh; padding: 120px 0 40px; display: grid; align-items: center; overflow: clip; }
.t-hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; align-items: center; position: relative; z-index: 2; }
.t-h1 { margin: 0; font: 800 clamp(44px, 5.5vw, 96px)/.95 var(--display); letter-spacing: -.045em; }
.t-h1 em { font: 400 italic 1.08em/1 var(--serif); letter-spacing: -.02em; }
.t-hero .lead-hook { display: grid; gap: 2px; margin-top: 26px; font-size: clamp(18px, 1.5vw, 22px); color: var(--ink); }
.t-hero .lead-hook span:last-child { color: var(--ink-2); }
.t-hero .row { margin-top: 30px; }
.t-hero .note { margin: 18px 0 0; font-size: 14px; color: var(--ink-3); }
.t-hero .lead-hook, .t-hero .row, .t-hero .note, .t-hero .eyebrow { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease) .55s, transform .9s var(--ease) .55s; }
.t-hero .row { transition-delay: .7s; } .t-hero .note { transition-delay: .82s; } .t-hero .eyebrow { transition-delay: .1s; }
.ready .t-hero .lead-hook, .ready .t-hero .row, .ready .t-hero .note, .ready .t-hero .eyebrow { opacity: 1; transform: none; }
.fig { position: relative; height: min(78svh, 760px); }
.fig canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s; }
.fig canvas.on { opacity: 1; }
.fig .poster { position: absolute; left: 50%; bottom: 0; height: 92%; width: auto; transform: translateX(-50%); transition: opacity .6s; pointer-events: none; }
.fig canvas.on + .poster { opacity: 0; }
.fig .bubble { position: absolute; z-index: 3; left: 4%; top: 18%; padding: 12px 16px 12px 14px; border-radius: 20px 20px 20px 6px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -24px rgba(21, 22, 26, .45); font: 500 14px/1.35 var(--sans); max-width: 220px; opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.fig .bubble b { display: block; font: 400 italic 20px/1.1 var(--serif); color: var(--blue); margin-bottom: 2px; }
.fig .bubble.on { opacity: 1; transform: none; }
.t-hero .giant { position: absolute; left: 0; right: 0; bottom: -2vw; z-index: 1; text-align: center; font: 800 clamp(150px, 31vw, 560px)/.72 var(--display); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(10, 132, 255, .2); user-select: none; pointer-events: none; }
@media (max-width: 900px) {
  .t-hero { padding-top: 100px; min-height: 0; }
  .t-hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .fig { height: 58svh; margin-top: 34px; }
  .fig .bubble { left: 0; right: auto; top: 10%; }
  .ln { display: inline; overflow: visible; padding: 0; margin: 0; } .ln > span { display: inline; transform: none; opacity: 0; transition: opacity .9s var(--ease); transition-delay: calc(var(--k, 0) * 90ms + 120ms); } .ready .ln > span { opacity: 1; }
}

/* ---------- bandeau défilant ---------- */
.marq { padding: 18px 0; border-block: 1px solid var(--line); background: var(--card); overflow: hidden; white-space: nowrap; }
.marq .track { display: inline-flex; gap: 46px; animation: mq 46s linear infinite; font: 400 italic 22px/1 var(--serif); letter-spacing: -.02em; }
.marq .track span { display: inline-flex; align-items: center; gap: 46px; }
.marq .track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: clamp(90px, 11vw, 170px) 0; position: relative; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 48px; }
.sec-head .lead { margin: 0; max-width: 44ch; }

/* services : quatre cartes en couleur */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-card { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 520px; padding: 30px; border-radius: var(--r); background: color-mix(in srgb, var(--c) 10%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), 0 40px 70px -40px color-mix(in srgb, var(--c) 60%, #000); }
.svc-card .top { display: flex; justify-content: space-between; align-items: start; gap: 16px; position: relative; z-index: 2; }
.svc-card .no { font: 500 13px var(--mono); color: var(--ink-3); }
.svc-card h3 { margin: 6px 0 0; font: 800 clamp(34px, 3.4vw, 52px)/1 var(--display); letter-spacing: -.035em; }
.svc-card .kick { font: 400 italic 20px/1.2 var(--serif); color: color-mix(in srgb, var(--c) 80%, #000); }
.svc-card .vis { position: relative; display: grid; place-items: center; min-height: 230px; }
.svc-card .vis .orb { width: min(220px, 60%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff 0, color-mix(in srgb, var(--c) 45%, #fff) 34%, var(--c) 100%); box-shadow: 0 40px 60px -30px color-mix(in srgb, var(--c) 70%, #000), inset -14px -20px 40px color-mix(in srgb, var(--c) 70%, #000); display: grid; place-items: center; transition: transform 1s var(--ease); }
.svc-card:hover .vis .orb { transform: translateY(-8px) rotate(-6deg) scale(1.03); }
.svc-card .vis .orb svg { width: 38%; height: 38%; color: #fff; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .18)); }
.svc-card .vis canvas { position: absolute; inset: -30px -10px 0; width: calc(100% + 20px); height: calc(100% + 30px); opacity: 0; transition: opacity .6s; }
.svc-card .vis canvas.on { opacity: 1; }
.svc-card .vis canvas.on ~ .orb { opacity: 0; }
.svc-card p.d { margin: 0 0 16px; color: var(--ink-2); max-width: 42ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chips span { padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); font: 500 13px/1 var(--sans); }
.go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.go::after { content: "→"; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: 13px; transition: transform .45s var(--ease); }
a:hover .go::after, .go:hover::after { transform: translateX(4px); }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc-card { min-height: 0; padding: 24px; } .svc-card .vis { min-height: 200px; } }

/* parcours : le personnage marche le long du chemin au défilement */
.road { position: relative; height: 300vh; }
.road .pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto 1fr; padding: 110px 0 40px; overflow: hidden; }
.road .rstage { position: relative; }
.road canvas { position: absolute; left: 0; right: 0; top: 0; bottom: 18%; width: 100%; height: 82%; display: block; }
.road .path { position: absolute; left: 4%; right: 4%; bottom: 18%; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 20px); opacity: .25; }
.road .stops { position: absolute; left: 4%; right: 4%; top: 82%; display: grid; grid-template-columns: repeat(4, 1fr); }
.road .stop { position: relative; padding: 26px 10px 0 0; }
.road .stop::before { content: ""; position: absolute; left: 0; top: -7px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2px var(--line-2); transition: background-color .4s, box-shadow .4s, transform .4s var(--ease); }
.road .stop.on::before { background: var(--c); box-shadow: inset 0 0 0 2px var(--c), 0 0 0 6px color-mix(in srgb, var(--c) 22%, transparent); transform: scale(1.1); }
.road .stop b { display: block; font: 800 clamp(19px, 1.7vw, 26px)/1.1 var(--display); letter-spacing: -.02em; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.road .stop small { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); max-width: 26ch; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease) .1s, transform .6s var(--ease) .1s; }
.road .stop.on b, .road .stop.on small { opacity: 1; transform: none; }
.road .stop::before { transform: scale(.4); opacity: .5; }
.road .stop.on::before { opacity: 1; }
@media (max-width: 760px) {
  .road { height: 260vh; }
  .road .stops { grid-template-columns: repeat(4, 1fr); top: 80%; }
  .road .stop { padding-top: 20px; } .road .stop small { display: none; } .road .stop b { font-size: 15px; }
  .road .path { bottom: 20%; } .road canvas { bottom: 20%; height: 80%; }
}

/* expertises */
.xp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: var(--r); overflow: hidden; background: var(--line); box-shadow: inset 0 0 0 1px var(--line); }
.xp article { background: var(--card); padding: 30px 28px 28px; display: flex; flex-direction: column; }
.xp .ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--paper-2); margin-bottom: 18px; }
.xp h3 { margin: 0 0 4px; font: 800 26px/1.05 var(--display); letter-spacing: -.025em; }
.xp .sub { margin: 0 0 16px; font: 400 italic 17px var(--serif); color: var(--blue); }
.xp ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 12px; }
.xp li b { display: block; font-size: 15px; } .xp li span { font-size: 14px; color: var(--ink-2); }
.xp .go { margin-top: auto; font-size: 15px; }
.pk { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pk .pk-d, .pk .pk-p, .pk .pk-b, .pk .pk-n { stroke: var(--blue); }
@media (max-width: 960px) { .xp { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .xp { grid-template-columns: 1fr; } }

/* trouver mon offre : bloc bleu */
.offer { border-radius: calc(var(--r) + 8px); background: var(--blue); color: #fff; padding: clamp(46px, 7vw, 100px) clamp(22px, 5vw, 70px); position: relative; overflow: hidden; }
.offer .eyebrow { color: rgba(255, 255, 255, .8); } .offer .eyebrow.dot::before { background: var(--sun); }
.offer .hx .l2 { color: #fff; }
.offer .lead { color: rgba(255, 255, 255, .85); }
.offer .ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .18); pointer-events: none; }
.mq { max-width: 700px; margin: 34px auto 0; position: relative; text-align: center; }
.mq-in { display: flex; gap: 8px; padding: 8px 8px 8px 22px; border-radius: 999px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.mq-in input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); font: 400 18px var(--sans); outline: none; } .mq-in input::placeholder { color: var(--ink-3); }
.mq-in .btn { min-height: 50px; } .mq.busy .btn { opacity: .6; pointer-events: none; }
.mq .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mq-sug { position: absolute; left: 0; right: 0; top: 62px; z-index: 20; padding: 6px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); display: grid; text-align: left; }
.mq-sug[hidden], .mq-out[hidden] { display: none; }
.mq-sug button { border: 0; background: none; font: 500 15px var(--sans); text-align: left; padding: 12px 16px; border-radius: 14px; cursor: pointer; } .mq-sug button:hover, .mq-sug button:focus { background: var(--paper); outline: none; }
.mq-out { margin-top: 16px; text-align: left; }
.mq-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mq-opts button { display: grid; gap: 4px; text-align: left; padding: 16px 18px; border: 0; border-radius: 20px; background: #fff; color: var(--ink); cursor: pointer; box-shadow: inset 4px 0 0 var(--c); }
.mq-opts b { font: 600 17px var(--sans); } .mq-opts span { color: var(--ink-2); font-size: 14px; }
.mq-err { color: #fff; background: rgba(0, 0, 0, .2); padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.mq p.small { margin: 14px 0 0; color: rgba(255, 255, 255, .78); }
.veil { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0; background: var(--c, var(--blue)); transition: opacity .4s var(--ease); }
.veil.on { opacity: 1; }
@media (max-width: 560px) { .mq-in { flex-direction: column; border-radius: 26px; padding: 10px; } .mq-in input { padding: 10px 12px; } .mq-opts { grid-template-columns: 1fr; } .mq-sug { top: 128px; } }

/* qui je suis */
.me { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.me-ph { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.me-ph img { width: 100%; height: 100%; object-fit: cover; }
.me-ph .tag { position: absolute; left: 14px; bottom: 14px; padding: 10px 14px; border-radius: 999px; background: var(--card); font: 500 13px var(--sans); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .4); }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 26px; }
.tile { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 16px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.tile .pk { grid-row: span 2; } .tile b { font-size: 15px; } .tile span { font-size: 13.5px; color: var(--ink-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 64px; counter-reset: s; }
.step { padding: 26px 22px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font: 400 italic 46px/1 var(--serif); color: var(--blue); margin-bottom: 18px; }
.step .num { display: none; }
.step h3 { margin: 0 0 6px; font: 600 20px var(--sans); letter-spacing: -.015em; } .step p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .me { grid-template-columns: 1fr; } .me-ph { max-width: 420px; } .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tiles, .steps { grid-template-columns: 1fr; } }

/* questions */
.faq { max-width: 860px; margin: 40px auto 0; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font: 700 clamp(19px, 1.7vw, 24px)/1.25 var(--display); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; font: 400 20px var(--sans); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq .a { padding: 0 0 26px; color: var(--ink-2); max-width: 70ch; }

/* fin de page */
.end { position: relative; text-align: center; padding: clamp(90px, 11vw, 160px) 0 0; overflow: clip; }
.end .fig { height: min(56svh, 520px); margin-top: 20px; }

/* pied de page */
.foot { position: relative; background: var(--ink); color: #fff; padding: 70px 0 0; overflow: hidden; }
.foot .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot .brand { color: #fff; }
.foot p { color: rgba(255, 255, 255, .7); }
.foot h4 { margin: 0 0 12px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.foot a { display: block; margin: 8px 0; color: rgba(255, 255, 255, .86); font-size: 15px; } .foot a:hover { color: #fff; }
.foot .word { margin: 50px 0 -0.16em; text-align: center; font: 800 clamp(120px, 25vw, 420px)/.8 var(--display); letter-spacing: -.06em; color: var(--blue); user-select: none; }
.foot .bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .6); position: relative; z-index: 2; background: var(--ink); }
.foot .sw { border: 0; background: none; color: rgba(255, 255, 255, .7); cursor: pointer; font-size: 13px; display: inline-flex; gap: 8px; align-items: center; }
.foot .sw i { width: 26px; height: 15px; border-radius: 9px; background: rgba(255, 255, 255, .25); position: relative; } .foot .sw i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; transition: transform .3s; }
.foot .sw[aria-pressed="true"] i { background: var(--blue); } .foot .sw[aria-pressed="true"] i::after { transform: translateX(11px); }
@media (max-width: 860px) { .foot .top { grid-template-columns: 1fr 1fr; } }

/* « Écouter un appel » */
dialog.appel { border: 0; padding: 0; background: transparent; color: var(--ink); width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); overflow: visible; }
dialog.appel::backdrop { background: rgba(21, 22, 26, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.appel-in { position: relative; border-radius: 28px; padding: 28px 24px 22px; background: var(--card); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .5); max-height: calc(100svh - 24px); overflow: auto; }
.appel-lead { margin: 8px 0 16px; color: var(--ink-2); font-size: 15px; }
.appel-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper-2); display: grid; place-items: center; cursor: pointer; }
.appel-x svg { width: 16px; height: 16px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; fill: none; }
.appel .kc.kc-site { --kc-ink: #15161a; --kc-acc: #0a84ff; --kc-paper: #f6f3ec; --kc-soft: #eeeadf; max-width: none; }

/* mode allégé / mouvement réduit : pas de 3D, l'image fixe reste */
.no3d .fig canvas, .no3d .road canvas, .no3d .svc-card .vis canvas { display: none; }
.no3d .road { height: auto; } .no3d .road .pin { position: relative; height: auto; min-height: 640px; } .no3d .road .stop b, .no3d .road .stop small { opacity: 1; }
.road .walker { position: absolute; bottom: 18%; left: 4%; height: 62%; display: none; }
.no3d .road .walker { display: block; }
@media (prefers-reduced-motion: reduce) { .marq .track { animation: none; } [data-reveal], .ln > span, .t-hero .row, .t-hero .lead-hook, .t-hero .note, .t-hero .eyebrow { transition: none !important; opacity: 1 !important; transform: none !important; } }

/* héros sans personnage (c301) : le texte prend toute la place, centré */
.t-hero.solo .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.t-hero.solo .t-h1 { font-size: clamp(46px, 7.4vw, 128px); }
.t-hero.solo .lead-hook { justify-items: center; }
.t-hero.solo .row { justify-content: center; }
.no3d .road .stop b, .no3d .road .stop small { transform: none; }

/* ---------- services (c302) : les quatre noms en très grand, tirés au centre par Écho ---------- */
:root { --hl: min(10.6vw, 190px); }   /* taille commune des grands titres : services et vitrine Refonte web */
.pull { position: relative; height: 380vh; }
.pull .pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto 1fr; padding-top: 104px; overflow: hidden; }
.pull .ph { position: relative; z-index: 4; }
.pull .ph .hx.h3 { font-size: clamp(26px, 2.6vw, 38px); }
.pstage { position: relative; }
.pstage .ground { position: absolute; left: 0; right: 0; bottom: 50%; height: 1.5px; background: var(--line-2); }
.pstage canvas { position: absolute; left: 0; right: 0; top: 0; bottom: 50%; width: 100%; height: 50%; display: block; z-index: 2; pointer-events: none; }
.pstage .rope { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; }
.pstage .rope path { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; opacity: 0; transition: opacity .2s; }
.words { position: absolute; inset: 0; z-index: 1; }
.w { position: absolute; left: 0; bottom: 50%; opacity: 0; will-change: transform, opacity; }
.w .big { margin: 0; font: 800 var(--hl)/.78 var(--display); letter-spacing: -.06em; white-space: nowrap; color: var(--ink); }
.w .big::after { content: ""; display: inline-block; width: .16em; height: .16em; margin-left: .04em; border-radius: 50%; background: var(--c); }
.w-info { position: absolute; left: 0; top: calc(100% + 58px); width: min(560px, 82vw); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.w.in .w-info { opacity: 1; transform: none; }
.w-info .kick { display: block; font: 400 italic 22px/1.1 var(--serif); color: color-mix(in srgb, var(--c) 85%, #000); margin-bottom: 6px; }
.w-info p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) {
  .pull { height: 340vh; }
  .w .big { font-size: 8.8vw; }
  .pstage .ground, .w { bottom: 34%; } .pstage canvas { bottom: 34%; height: 66%; }
  .w-info .kick { font-size: 21px; } .w-info p { font-size: 14.5px; }
  .pull:not(.no3d) .w-info { left: 50%; width: min(560px, 86vw); transform: translate(-50%, 10px); }
  .pull:not(.no3d) .w.in .w-info { transform: translate(-50%, 0); }
}
.no3d .pull { height: auto; } .no3d .pull .pin { position: relative; height: auto; display: block; padding-bottom: 60px; }
.no3d .pstage { position: static; } .no3d .pstage canvas, .no3d .pstage .rope, .no3d .pstage .ground { display: none; }
.no3d .words { position: static; display: grid; gap: 54px; margin-top: 40px; width: min(1280px, 100% - 48px); margin-inline: auto; }
.no3d .w { position: relative; bottom: auto; opacity: 1 !important; transform: none !important; }
.no3d .w-info { position: static; opacity: 1; transform: none; margin-top: 18px; }

/* parcours sans personnage : quatre étapes qui apparaissent au défilement */
.path2 { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 34px; }
.path2 > i { position: absolute; left: 8px; right: 8px; top: 7px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 20px); opacity: .25; }
.path2 .stop { position: relative; padding-top: 6px; }
.path2 .stop::before { content: ""; position: absolute; left: 0; top: -34px; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 20%, transparent); }
.path2 .stop b { display: block; font: 700 clamp(20px, 1.8vw, 26px)/1.1 var(--display); letter-spacing: -.03em; }
.path2 .stop small { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-2); max-width: 28ch; }
@media (max-width: 760px) { .path2 { grid-template-columns: 1fr 1fr; row-gap: 46px; } .path2 > i { display: none; } .path2 .stop::before { top: -26px; } }

/* ---------- pages intérieures (c305) ---------- */
.p-hero { padding: 150px 0 40px; }
.p-hero .p-h1 { font-size: clamp(44px, 6.4vw, 104px); }
.p-hero .art-h1 { font-size: clamp(34px, 4.6vw, 64px); max-width: 22ch; }
.p-hero .lead { max-width: 60ch; }
.p-hero.legal { padding-bottom: 0; }
/* métiers (Pour qui ?) */
.metiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 30px !important; }
.mt { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px 18px 18px 16px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.mt:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 50%, transparent), 0 20px 40px -26px rgba(21, 22, 26, .4); }
.mt .em { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: color-mix(in srgb, var(--c) 14%, var(--card)); }
.mt .tx b { display: block; font: 700 16px var(--sans); } .mt .tx small { display: block; font-size: 13.5px; color: var(--ink-2); }
.mt .ar { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; }
/* exemples de refonte */
.exs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ex { display: block; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.ex:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 70px -44px rgba(21, 22, 26, .5); }
.ex-shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.ex-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ex:hover .ex-shot img { transform: scale(1.035); }
.ex-b { padding: 22px 24px 26px; }
.ex-b h3 { margin: 0 0 6px; font: 800 26px/1.1 var(--display); letter-spacing: -.03em; }
.ex-b p { margin: 0 0 16px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 760px) { .exs { grid-template-columns: 1fr; } }
/* articles, à propos, pages légales */
.prose { max-width: 760px; font-size: 18px; line-height: 1.7; color: #2b2d33; }
.prose h2 { margin: 44px 0 12px; font: 800 clamp(24px, 2.4vw, 32px)/1.15 var(--display); letter-spacing: -.03em; color: var(--ink); }
.prose h3 { margin: 30px 0 8px; font: 700 20px/1.3 var(--sans); color: var(--ink); }
.prose p { margin: 0 0 16px; } .prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; } .prose li { margin: 6px 0; }
.prose a { color: var(--ink); border-bottom: 1.5px solid var(--blue); }
.legal-doc h1 { margin: 0 0 18px; font: 800 clamp(36px, 4.6vw, 60px)/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
/* guides */
.gcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gcard { display: block; padding: 28px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease); }
.gcard:hover { transform: translateY(-4px); }
.gcard h3 { margin: 0 0 8px; font: 800 24px/1.15 var(--display); letter-spacing: -.03em; } .gcard p { margin: 0 0 16px; color: var(--ink-2); }
@media (max-width: 760px) { .gcards { grid-template-columns: 1fr; } }

/* personnage d'un service, debout à droite de son nom (c305) */
.w-row { display: inline-flex; align-items: flex-end; gap: clamp(10px, 1.5vw, 26px); }
.w-fig { --fh: clamp(360px, 40vw, 660px); position: relative; flex: none; width: calc(var(--fh) * .8); height: var(--fh); margin-bottom: calc(var(--fh) * -.07); }
.w-fig.sm { transform: scale(.9); transform-origin: 50% 100%; }
.w-fig.walkR, .w-fig.walkL, .w-fig.walkLR, .w-fig.drop { width: calc(var(--fh) * .46); margin-bottom: 0; }
.w-fig.live .poster { opacity: 0; }
.pstage canvas.cast { top: auto; bottom: 50%; height: calc(62% + 50px); z-index: 2; visibility: hidden; }
.w-fig canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .5s; }
.w-fig canvas.on { opacity: 1; }
.w-fig .poster { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; transform: translateX(-50%); transition: opacity .5s; }
.w-fig canvas.on + .poster { opacity: 0; }
@media (max-width: 760px) { .w-fig { --fh: 60vw; margin-left: -3vw; } .pstage canvas.cast { bottom: 34%; height: calc(66% + 30px); } }
.no3d .w-fig canvas { display: none; }
/* ---------- accueil : la mascotte (c313) : monte, sourit, se présente ; glisse à gauche dans la section suivante ---------- */
.duo { position: relative; }
.mascot { position: absolute; left: 0; top: 0; z-index: 4; transform-origin: 0 0; will-change: transform; pointer-events: none; visibility: hidden; }
.m-live .mascot { visibility: visible; }
.mclip { position: absolute; inset: 0; }
.mascot canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.mascot canvas.on { opacity: 1; }
.m-live .hero-fig .poster, .m-live .intro-fig .poster { opacity: 0; transition: none; }
#m-hero .poster { height: 72%; bottom: 4.5%; }   /* même cadrage que la 3D : pas de saut quand elle prend le relais */
#m-bubble { left: auto; right: 40%; top: auto; bottom: calc(66% + 24px); z-index: 5; max-width: 290px; padding: 15px 18px 16px; border-radius: 22px 22px 6px 22px; font: 500 16px/1.38 var(--sans); color: var(--ink); background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), 0 2px 0 var(--ink), 0 24px 44px -26px rgba(21, 22, 26, .5); transform-origin: 100% 100%; transform: translateY(12px) scale(.9); }
#m-bubble.on { opacity: 1; transform: none; }
#m-bubble.still { bottom: auto; top: 0; }
#m-bubble .tg, #m-bubble .ty { grid-area: 1 / 1; }
#m-bubble .bt { margin: 0; display: grid; }
#m-bubble .tg { visibility: hidden; }   /* réserve la place du texte entier : la bulle ne bouge pas pendant qu'il s'écrit */
#m-bubble.still .tg { display: none; }   /* sans 3D : l'image fixe est plus grande, la bulle reste au-dessus */
#m-bubble.away { opacity: 0; transform: translateY(10px) scale(.95); pointer-events: none; }
#m-bubble::after { content: ""; position: absolute; right: 26px; bottom: -9px; width: 18px; height: 18px; background: var(--card); transform: rotate(45deg); border-radius: 0 0 5px 0; box-shadow: 2px 2px 0 -1px var(--line); }
#m-bubble b { display: inline; font: 400 italic 1.22em/1 var(--serif); color: var(--blue); margin: 0; letter-spacing: -.01em; }
.intro { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 70px 0; }
.intro .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 4vw, 72px); align-items: center; }
.intro-fig { position: relative; height: min(44svh, 420px); aspect-ratio: var(--ar, .56); justify-self: start; max-width: 100%; }
.intro-fig .poster { position: absolute; left: 50%; bottom: 0; height: 92%; width: auto; transform: translateX(-50%); transition: opacity .6s; pointer-events: none; }
.intro-p { margin: 18px 0 0; font: 500 clamp(24px, 2.55vw, 40px)/1.2 var(--display); letter-spacing: -.03em; }
.intro-p .iw { color: rgba(21, 22, 26, .2); transition: color .35s ease; }
.intro-p .iw.on { color: var(--ink); }
.intro-p em { font: 400 italic 1.08em/1 var(--serif); letter-spacing: -.02em; }
.intro-p em .iw.on { color: var(--blue); }
.intro .row { margin-top: 34px; }
@media (max-width: 900px) {
  #m-bubble { right: auto; left: 0; top: auto; bottom: calc(66% + 20px); max-width: min(290px, 78vw); } #m-bubble::after { right: auto; left: 40%; }
  #m-bubble.still { bottom: auto; top: 0; }
#m-bubble .tg, #m-bubble .ty { grid-area: 1 / 1; }
#m-bubble .bt { margin: 0; display: grid; }
#m-bubble .tg { visibility: hidden; }   /* réserve la place du texte entier : la bulle ne bouge pas pendant qu'il s'écrit */
#m-bubble.still .tg { display: none; }
  .intro { min-height: 0; padding: 60px 0 80px; } .intro .wrap { grid-template-columns: 1fr; gap: 6px; }
  .intro-fig { height: min(32svh, 300px); } .intro-p { font-size: clamp(24px, 6.6vw, 34px); }
}
/* à son arrivée dans la section suivante, la mascotte entre dans une bulle ronde, comme une photo de profil (anneau aux couleurs de la troupe) */
.disc { position: absolute; inset: 0; opacity: 0; background: radial-gradient(120% 100% at 50% 22%, #faf7f0 0%, #ede8db 64%, #e3ddcc 100%); }   /* papier chaud du site */
.ring { position: absolute; border-radius: 50%; pointer-events: none; background: conic-gradient(from 200deg, #0a84ff, #5ea8ff 38%, #0a84ff 62%, #0861c4); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); }   /* anneau bleu KAPITO */
.mascot .ring { opacity: 0; transform: scale(.9); transition: transform .65s cubic-bezier(.3, 1.7, .5, 1); }
.mascot .ring.pop { transform: none; }
.intro-fig .av { position: absolute; left: 0; top: 55%; width: 100%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; overflow: hidden; background: radial-gradient(120% 100% at 50% 28%, #f3f8ff 0%, #d4e6ff 62%, #bfd8fb 100%); }
.intro-fig .av .poster { left: 50%; top: 0; bottom: auto; width: 86%; height: auto; }
.intro-fig .ring.st { left: -9px; top: 55%; width: calc(100% + 18px); aspect-ratio: 1; transform: translateY(-50%); }
.m-live .intro-fig .av, .m-live .intro-fig .ring.st { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .intro-p .iw { color: var(--ink); transition: none; } .intro-p em .iw { color: var(--blue); } #m-bubble .wd { opacity: 1; transform: none; transition: none; } #m-bubble { transition: none; } }


/* la scène (c316) : curseur qui clignote, étiquette floue, pastilles d'action sous la mascotte */
#m-bubble .cur { display: inline-block; width: 2px; height: 1.1em; background: var(--ink); vertical-align: middle; margin-left: 2px; animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #m-bubble .cur { animation: none; } }

/* ---------- vitrine « Refonte (logo) web » (c318) : titre au centre, sites démo qui montent à gauche puis à droite ---------- */
.rs { display: none; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.rs-on .rs { display: block; }
.rs-on .rs-fallback { display: none; }
.rs-pin { position: absolute; inset: 0; overflow: hidden; }
.rs-card { pointer-events: auto; }
.pull .ph, .pstage .ground { transition: opacity .4s var(--ease); }
.pull.rs-live .ph, .pull.rs-live .ground { opacity: 0; }
.w .big.rf { will-change: opacity; display: flex; align-items: center; gap: .17em; }
.w .big.rf::after { display: none; }
.rs-logo { position: relative; flex: none; width: .84em; height: .84em; margin-top: .02em; filter: drop-shadow(0 .04em .08em rgba(21, 22, 26, .12)); }   /* plus doux : tuile estompée, plus de noir franc au milieu du titre */
.rs-logo img { display: block; width: 100%; height: 100%; opacity: .34; }
.rs-logo::after { content: ""; position: absolute; inset: 0; border-radius: 28%; background: linear-gradient(152deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 40%); pointer-events: none; }
.rs-card { position: absolute; top: 0; z-index: 3; display: block; width: 54vw; left: 1.4vw; border-radius: 30px; overflow: hidden; container-type: inline-size; background: var(--bg); color: var(--fg); will-change: transform; visibility: hidden;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 97%); mask-image: linear-gradient(#000 62%, transparent 97%); }
.rs-card.R { left: auto; right: 1.4vw; width: 33vw; }
.rs-in { position: relative; padding: 4cqw; aspect-ratio: 1.38; }
.rs-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 3cqw; }
.rs-top b { font: 800 9.4cqw/.9 var(--display); letter-spacing: -.055em; }
.rs-top small { font: 400 1.75cqw/1.35 var(--sans); opacity: .78; text-align: right; }
.rs-shots { position: absolute; left: 4cqw; right: 4cqw; top: 24cqw; bottom: 0; }
.rs-shots img { position: absolute; display: block; height: auto; box-shadow: 0 2.2cqw 5cqw -2cqw rgba(0, 0, 0, .45); }
.rs-shots .d { left: 0; top: 0; width: 71%; border-radius: 1.3cqw 1.3cqw 0 0; }
.rs-shots .m { right: 0; top: 6cqw; width: 21.5%; border-radius: 2.2cqw 2.2cqw 0 0; }
.rs-cap { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 36svh; pointer-events: none; }
.rs-cap > div { position: absolute; inset: auto 0 0 0; padding: 0 1.6vw 3.6svh; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.rs-cap > div.on { opacity: 1; transform: none; pointer-events: auto; }
.rs-t { margin: 0; font: 800 clamp(30px, 4.6vw, 78px)/.92 var(--display); letter-spacing: -.055em; max-width: 14ch; }
.rs-d { margin: 14px 0 0; max-width: 42ch; color: var(--ink-2); font-size: clamp(14px, 1.05vw, 16px); line-height: 1.45; }
.rs-cr { text-align: right; }
.rs-tag { margin: 0 0 14px; font-size: 14px; color: var(--ink); }
.rs-go { display: inline-block; font: 500 clamp(16px, 1.3vw, 20px)/1.2 var(--sans); border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.rs-go:hover { color: var(--blue); border-color: var(--blue); }
@media (max-width: 760px) {
  .rs-card, .rs-card.R { width: 76vw; border-radius: 22px; }
  .rs-card.L { left: 3vw; } .rs-card.R { right: 3vw; }
  .rs-in { aspect-ratio: 1.02; } .rs-top b { font-size: 12cqw; } .rs-top small { font-size: 2.6cqw; }
  .rs-shots { top: 27cqw; } .rs-shots .d { width: 78%; } .rs-shots .m { width: 27%; top: 14cqw; }
  .rs-cap { height: 40svh; z-index: 2; } .rs-cap > div { grid-template-columns: 1fr; gap: 14px; padding-bottom: 4svh; } .rs-t { font-size: clamp(30px, 9vw, 44px); max-width: 16ch; }
  .rs-d { font-size: 15px; } .rs-cr { text-align: left; display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; } .rs-tag { margin: 0; }
}

/* ---------- « Refonte web » : la visite guidée avec Kapito (c320) ---------- */
.tr-gridbg { background-image: linear-gradient(90deg, var(--gl, rgba(255, 255, 255, .14)) 1px, transparent 1px); background-size: calc(100% / 12) 100%; }
.tr section, .tr article { position: relative; }
.tr-hero { min-height: 100svh; display: grid; align-content: space-between; gap: 30px; padding: 104px 2.8vw 5svh; background-color: var(--blue); color: #fff; --gl: rgba(255, 255, 255, .15); overflow: hidden; }
.tr-id { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; font-size: 15px; line-height: 1.35; }
.tr-id b { display: block; font-weight: 600; }
.tr-pill { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 99px; background: #fff; color: var(--ink); font: 600 14px/1 var(--sans); box-shadow: 3px 3px 0 rgba(21, 22, 26, .55); transition: transform .2s; }
.tr-pill:hover { transform: translate(-1px, -1px); }
.tr-h1 { margin: 0; max-width: 62vw; font: 800 clamp(38px, 6.2vw, 108px)/.94 var(--display); letter-spacing: -.055em; position: relative; z-index: 2; }
.tr-h1 .ln { display: block; }
.tr-h1 em { font: 400 italic 1.04em/1 var(--serif); letter-spacing: -.02em; }
.tr-poster { position: absolute; right: 3vw; bottom: 0; height: 66svh; width: auto; max-width: 40vw; z-index: 1; pointer-events: none; }
.tr-on .tr-poster { display: none; }
.tr-about { min-height: 130svh; background-color: var(--paper); --gl: rgba(21, 22, 26, .07); }
.tr-about .in { position: relative; display: grid; align-items: center; grid-template-columns: repeat(12, 1fr); min-height: 100svh; padding: 0 2.8vw; }
.tr-on .tr-about .in { position: sticky; top: 0; height: 100svh; }
.tr-lead { grid-column: 6 / 13; margin: 0; font: 500 clamp(21px, 2.7vw, 42px)/1.2 var(--display); letter-spacing: -.035em; }
.tr-lead .iw { color: var(--ink); transition: color .3s ease; }
.tr-on .tr-lead .iw { color: rgba(21, 22, 26, .2); } .tr-on .tr-lead .iw.on { color: var(--ink); }
.tr-lead em { font: 400 italic 1.06em/1 var(--serif); letter-spacing: -.02em; } .tr-lead em .iw { color: var(--blue); } .tr-on .tr-lead em .iw { color: rgba(10, 132, 255, .22); } .tr-on .tr-lead em .iw.on { color: var(--blue); }
.tr-scene { background-color: var(--bg); color: var(--fg); --gl: color-mix(in srgb, var(--fg) 11%, transparent); background-image: linear-gradient(90deg, var(--gl) 1px, transparent 1px); background-size: calc(100% / 12) 100%; }
.tr-scene { height: 200svh; }   /* la hauteur ne dépend pas du JavaScript : rien ne saute quand la 3D arrive */
.tr-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .tr-scene { height: auto; } .tr-pin { position: relative; } }
.tr-head { position: absolute; top: 12svh; width: 54.2vw; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.tr-scene.L .tr-head, .tr-scene.L .tr-browser { left: 43vw; } .tr-scene.R .tr-head, .tr-scene.R .tr-browser { left: 2.8vw; }
.tr-title { margin: 0; font: 800 clamp(36px, 5.2vw, 92px)/.95 var(--display); letter-spacing: -.055em; }
.tr-view { flex: none; margin-top: .6vw; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 99px; background: #fff; color: #15161a; font: 600 14px/1 var(--sans); box-shadow: 3px 3px 0 rgba(21, 22, 26, .55); transition: transform .2s; }
.tr-view:hover { transform: translate(-1px, -1px); }
.tr-browser { position: absolute; top: calc(12svh + 7.4vw); width: 54.2vw; border-radius: 14px; overflow: hidden; background: #fbfbf7; box-shadow: 8px 8px 0 rgba(0, 0, 0, .32); }
.tr-bar { display: flex; align-items: center; gap: 7px; height: clamp(28px, 2.5vw, 38px); padding: 0 14px; background: #fbfbf7; position: relative; }
.tr-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8d6cf; }
.tr-url { position: absolute; left: 50%; transform: translateX(-50%); padding: 3px 18px; border-radius: 99px; background: #efede6; color: #565861; font: 500 12px/1.4 var(--sans); }
.tr-browser img { display: block; width: 100%; height: auto; }
.tr-phone { position: absolute; top: calc(12svh + 17vw); width: 13.4vw; aspect-ratio: 390 / 844; padding: 5px; border-radius: 28px; background: #101114; box-shadow: 6px 6px 0 rgba(0, 0, 0, .32); }
.tr-scene.L .tr-phone { left: 36.4vw; } .tr-scene.R .tr-phone { left: 49.6vw; }
.tr-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 23px; }
.tr-all { padding: 16svh 2.8vw 12svh; background-color: #eeeee8; --gl: rgba(21, 22, 26, .07); }
.tr-all .hd { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 4vh; }
.tr-all h2 { margin: 0; font: 800 clamp(36px, 5vw, 84px)/.95 var(--display); letter-spacing: -.05em; } .tr-all .hd p { margin: 0; color: var(--ink-2); }
.tr-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5vh 1.4vw; }
.tr-card { display: block; } .tr-card .im { display: block; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 30px 50px -36px rgba(21, 22, 26, .5); } .tr-card .im img { display: block; width: 100%; aspect-ratio: 1.6; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.tr-card:hover .im img { transform: scale(1.03); }
.tr-card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 2px 0; font: 600 21px/1.2 var(--display); letter-spacing: -.02em; } .tr-card .meta small { font: 400 15px var(--sans); color: var(--ink-3); letter-spacing: 0; }
.tr-contact { min-height: 100svh; display: grid; align-content: space-between; gap: 40px; padding: 18svh 2.8vw 4svh; background-color: #0b0b0d; color: #fff; --gl: rgba(255, 255, 255, .07); }
.tr-contact h2 { margin: 0; font: 800 clamp(54px, 9vw, 156px)/.9 var(--display); letter-spacing: -.06em; }
.tr-contact .top p { margin: 18px 0 0; color: rgba(255, 255, 255, .62); font-size: clamp(17px, 1.6vw, 24px); }
.tr-mail { display: inline-block; margin-top: 4.5vh; font: 300 clamp(24px, 3.1vw, 54px)/1.1 var(--display); letter-spacing: -.04em; border-bottom: 1px solid rgba(255, 255, 255, .55); transition: color .2s, border-color .2s; }
.tr-mail:hover, .tr-mail.done { color: var(--blue); border-color: var(--blue); }
.tr-contact .top .tr-copied { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .5); }
.tr-contact .bot { display: flex; flex-wrap: wrap; gap: 14px 3vw; align-items: baseline; max-width: 62vw; }
.tr-contact .lk { font: 600 clamp(20px, 2.2vw, 36px)/1.1 var(--display); letter-spacing: -.03em; } .tr-contact .lk:hover { color: var(--blue); }
.tr-act { padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .6); font: 400 15px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; } .tr-act:hover { color: #fff; }
/* la mascotte : une seule, fixe à l'écran */
.tr-m { display: none; position: fixed; left: 0; bottom: 0; z-index: 30; width: min(29vw, 410px); height: min(56svh, 520px); pointer-events: none; transform-origin: 0 100%; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.tr-on .tr-m { display: block; }
.tr-m.grab { transition: none; }
.tr-m.off { opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s, transform .9s cubic-bezier(.2, .8, .2, 1); } .tr-m { transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .35s ease; }
.tr-m .mclip { position: absolute; inset: 0; transition: clip-path .9s cubic-bezier(.2, .8, .2, 1); }
.tr-m canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: transform .9s cubic-bezier(.2, .8, .2, 1); } .tr-m canvas.on { opacity: 1; }
.tr-m .disc { transition: opacity .5s; } .tr-m .ring { transition: opacity .5s, transform .65s cubic-bezier(.3, 1.7, .5, 1); transform: scale(.9); } .tr-m .ring.pop { transform: none; }
.tr-m .hit { position: absolute; left: 16%; right: 16%; top: 28%; bottom: 0; cursor: grab; pointer-events: none; } .tr-m.can .hit { pointer-events: auto; } .tr-m.grab .hit { cursor: grabbing; }
.tr-bub { position: absolute; left: 50%; bottom: calc(68% + 12px); width: max-content; max-width: min(300px, 26vw); padding: 12px 16px 13px; border-radius: 18px 18px 18px 6px; background: var(--card); color: var(--ink); font: 500 clamp(14px, 1.1vw, 16.5px)/1.38 var(--sans); letter-spacing: -.005em;
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 rgba(255, 255, 255, .8) inset, 0 22px 40px -24px rgba(21, 22, 26, .55); opacity: 0; transform: translate(-50%, 10px) scale(.94); transform-origin: 20% 100%; transition: opacity .35s ease, transform .45s var(--ease); }
.tr-bub.on { opacity: 1; transform: translate(-50%, 0); }
.tr-bub::after { content: ""; position: absolute; left: 22px; bottom: -6px; width: 12px; height: 12px; background: var(--card); transform: rotate(45deg); border-radius: 0 0 3px 0; box-shadow: 1px 1px 0 var(--line); }
.tr-bub .tb { margin: 0; } .tr-bub .tw { color: rgba(21, 22, 26, .26); transition: color .25s; } .tr-bub .tw.on { color: var(--ink); }
.tr-bub .tw.em { font: 400 italic 1.2em/1 var(--serif); letter-spacing: -.01em; } .tr-bub .tw.em.on { color: var(--blue); }
.tr-m.av .tr-bub { display: none; }
.tr-snd { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: none; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; box-shadow: 3px 3px 0 rgba(21, 22, 26, .6); }
.tr-on .tr-snd { display: grid; } .tr-snd .on { display: none; } .tr-snd.on .on { display: inline; } .tr-snd.on .off { display: none; }
@media (max-width: 760px) {
  .tr-hero { padding-top: 96px; align-content: start; gap: 34px; } .tr-h1 { max-width: none; font-size: clamp(34px, 9.6vw, 54px); } .tr-poster { height: 40svh; right: 0; } .tr-pill { white-space: nowrap; padding: 10px 14px; font-size: 13px; }   /* le titre en haut, la mascotte et sa bulle dans le bas de l'écran */
  .tr-lead { grid-column: 1 / 13; font-size: clamp(22px, 6vw, 30px); } .tr-about .in { align-items: start; padding-top: 18svh; }
  .tr-scene .tr-head, .tr-scene.L .tr-head, .tr-scene.R .tr-head { left: 4vw; width: 92vw; top: 11svh; } .tr-title { font-size: clamp(36px, 11vw, 52px); }
  .tr-scene .tr-browser, .tr-scene.L .tr-browser, .tr-scene.R .tr-browser { left: 4vw; width: 92vw; top: calc(11svh + 22vw); }
  .tr-scene .tr-phone, .tr-scene.L .tr-phone, .tr-scene.R .tr-phone { left: auto; right: 6vw; width: 28vw; top: calc(11svh + 22vw + 28vw); }
  .tr-m { width: 50vw; height: 38svh; } .tr-bub { max-width: 66vw; font-size: 15px; }
  .tr-bub { left: 0; transform: translate(0, 10px) scale(.94); transform-origin: 20% 100%; } .tr-bub.on { transform: none; }   /* sur téléphone la bulle part du bord de la mascotte : elle ne sort pas de l'écran */
  .tr-m.R .tr-bub { left: auto; right: 0; transform-origin: 80% 100%; } .tr-m.R .tr-bub::after { left: auto; right: 22px; }
  .tr-cards { grid-template-columns: 1fr; } .tr-contact .bot { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .tr-bub { transition: none; } .tr-m, .tr-m .mclip { transition: none; } }
body:has(.tr-hero) .nav .login { padding: 9px 15px; border-radius: 99px; background: rgba(255, 255, 255, .72); color: var(--ink); }

/* ---------- volet « exemple » (c322) : le site s'ouvre en remontant depuis le bas de l'écran ---------- */
.kpn { position: fixed; inset: 0; z-index: 400; visibility: hidden; pointer-events: none; transition: visibility 0s .7s; overscroll-behavior: contain; }
.kpn.on { visibility: visible; pointer-events: auto; transition: none; }
.kpn-bk { position: absolute; inset: 0; background: rgba(21, 22, 26, .42); opacity: 0; transition: opacity .55s var(--ease); }
.kpn.on .kpn-bk { opacity: 1; }
.kpn-sh { position: absolute; left: 50%; bottom: 0; width: min(100vw, 1480px); height: calc(100svh - 3.2vh); display: flex; flex-direction: column; overflow: hidden; background: var(--paper, #f6f3ec); border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 80px rgba(21, 22, 26, .35); transform: translate3d(-50%, 105%, 0); transition: transform .68s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.kpn.on .kpn-sh { transform: translate3d(-50%, 0, 0); }
.kpn-bar { flex: none; display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 22px; border-bottom: 1px solid var(--line-2, rgba(0, 0, 0, .12)); }
.kpn-t { font: 700 15px/1.2 var(--sans); letter-spacing: -.01em; margin-right: auto; }
.kpn-nt { font: 500 14px/1 var(--sans); color: var(--ink); border-bottom: 1.5px solid currentColor; padding-bottom: 3px; } .kpn-nt:hover { color: var(--blue); }
.kpn-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease); } .kpn-x:hover { transform: scale(1.08); }
.kpn iframe { flex: 1; width: 100%; border: 0; background: var(--paper, #f6f3ec); opacity: 0; transition: opacity .35s ease; } .kpn iframe.ok { opacity: 1; }
.tr-browser[data-ex], .tr-phone[data-ex] { cursor: pointer; }
@media (max-width: 760px) { .kpn-sh { border-radius: 18px 18px 0 0; height: calc(100svh - 2.4vh); } .kpn-nt { display: none; } }
@media (prefers-reduced-motion: reduce) { .kpn-sh, .kpn-bk { transition: none; } }


/* dernière section : une marge sous les boutons, avant le pied de page (c324) */
.end:not(:has(.fig)) { padding-bottom: clamp(56px, 7vw, 100px); }


/* ---------- tuiles 3D des titres, « À propos » et « Travaillons ensemble » (c325) ---------- */
.kt { position: relative; display: inline-block; flex: none; width: .8em; height: .8em; border-radius: 27%; vertical-align: middle; background: linear-gradient(150deg, #fff, #ebe8e1); box-shadow: 0 .05em .1em rgba(21, 22, 26, .22), inset 0 -.03em .05em rgba(21, 22, 26, .1), inset 0 .02em .03em #fff; }
.kt .kt-fb { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: cover; object-position: 50% 14%; border-radius: 20%; display: block; transition: opacity .35s; }
.kt svg.kt-fb { inset: 20%; width: 60%; height: 60%; border-radius: 0; }
.kt canvas { position: absolute; left: -55%; top: -55%; width: 210%; height: 210%; opacity: 0; transition: opacity .35s; pointer-events: none; filter: drop-shadow(0 .05em .08em rgba(21, 22, 26, .28)); }
.kt.live { background: none; box-shadow: none; } .kt.live canvas { opacity: 1; } .kt.live .kt-fb { opacity: 0; }

.ab { padding: clamp(70px, 9vw, 150px) 0 clamp(46px, 6vw, 100px); }
.ab-in { width: min(1680px, 100% - 3.2vw); margin-inline: auto; }
.ab-h { margin: 0; display: flex; align-items: center; justify-content: center; gap: .2em; font: 800 min(8.4vw, 170px)/.84 var(--display); letter-spacing: -.065em; white-space: nowrap; }
.ab-lead { margin: clamp(36px, 4.6vw, 76px) 0 0; font: 300 clamp(24px, 3.9vw, 66px)/1.06 var(--display); letter-spacing: -.045em; max-width: 24em; }
.ab-lead .g { color: var(--ink-3); }
.ab-grid { margin-top: clamp(44px, 6vw, 100px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.ab-txt p { margin: 0 0 1em; max-width: 36em; font-size: clamp(17px, 1.45vw, 23px); line-height: 1.5; color: var(--ink); }
.ab-facts { margin: 0; display: grid; gap: 22px; } .ab-facts div { display: block; }
.ab-facts dt { font-size: 14px; color: var(--ink-3); margin-bottom: 4px; } .ab-facts dd { margin: 0; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.35; }

.wt { background: var(--ink); color: var(--paper); padding: clamp(80px, 10vw, 170px) 0 clamp(70px, 8vw, 140px); overflow: hidden; }
.wt-in { width: min(1680px, 100% - 3.2vw); margin-inline: auto; }
.wt-h { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: .12em; font: 800 min(8.3vw, 160px)/.84 var(--display); letter-spacing: -.065em; white-space: nowrap; }
.wt-lead { margin: clamp(36px, 4.6vw, 76px) 0 0; font: 300 clamp(24px, 3.9vw, 66px)/1.06 var(--display); letter-spacing: -.045em; }
.wt-lead .g { color: rgba(246, 243, 236, .52); }
.wt-list { margin-top: clamp(60px, 8vw, 140px); display: grid; gap: clamp(50px, 6.4vw, 110px); }
.wt-t { margin: 0; display: flex; align-items: center; gap: .14em; font: 800 min(7.8vw, 140px)/.9 var(--display); letter-spacing: -.06em; white-space: nowrap; }
.wt-it p { margin: clamp(16px, 1.8vw, 28px) 0 0; max-width: 40em; font-size: clamp(16px, 1.45vw, 22px); line-height: 1.5; color: rgba(246, 243, 236, .66); }
.wt .kt { background: linear-gradient(150deg, #fff, #e4e1d9); } .wt .kt.live { background: none; box-shadow: none; }
@media (max-width: 760px) {
  .ab-grid { grid-template-columns: 1fr; }
  .ab-h, .wt-h { font-size: 9.6vw; } .wt-t { font-size: 8.2vw; }
}

.kt { z-index: 1; } .kt:hover { z-index: 8; } .kt::before { content: ""; position: absolute; inset: -22%; border-radius: 40%; }   /* zone de survol un peu plus large que la tuile */
.kt-a { display: inline-flex; flex: none; border-radius: 27%; cursor: pointer; } .ab-h .kt, .wt-h .kt { width: .92em; height: .92em; }
@media (max-width: 760px) { .ab-h { font-size: 8vw; } .kt:hover { z-index: 1; } }

/* « Travaillons ensemble » épuré : le titre, une phrase, un bouton (c327) */
.wt { padding: clamp(70px, 9vw, 150px) 0 clamp(64px, 8vw, 130px); }
.wt-row { margin-top: clamp(40px, 5vw, 84px); display: flex; align-items: flex-end; justify-content: space-between; gap: 34px 60px; flex-wrap: wrap; }
.wt-row .wt-lead { margin: 0; }
.wt-act { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.wt-btn { display: inline-flex; align-items: center; gap: 14px; padding: 22px 36px; border-radius: 999px; background: var(--blue); color: #fff; font: 600 clamp(18px, 1.6vw, 24px)/1 var(--sans); transition: transform .25s var(--ease), background .25s; box-shadow: 0 18px 50px -14px rgba(10, 132, 255, .8); }
.wt-btn:hover { transform: translateY(-3px) scale(1.02); background: #2a96ff; }
.wt-note { font-size: 14px; color: rgba(246, 243, 236, .6); }
@media (max-width: 760px) { .wt-row { flex-direction: column; align-items: flex-start; } .wt-btn { padding: 18px 28px; } }
.wt-h { justify-content: center; gap: .2em; font-size: min(8.6vw, 170px); }
@media (max-width: 760px) { .wt-h { font-size: 8.4vw; } }

/* « Tous les exemples » (c3xx) : une seule ligne de petites vignettes qui défilent en boucle, au pas ; pause au survol, accélère avec le défilement de la page */
.tr-all { padding: 9svh 0 8svh; }
.tr-all .hd { padding: 0 2.8vw; margin-bottom: 3vh; }
.tr-all h2 { font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.035em; }
.tr-all .hd p { font-size: 14px; }
.tr-strip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.tr-track { display: flex; width: max-content; padding: 6px 0 14px; animation: trstrip 44s linear infinite; will-change: transform; }
.tr-strip:hover .tr-track, .tr-strip:focus-within .tr-track { animation-play-state: paused; }
@keyframes trstrip { to { transform: translate3d(-50%, 0, 0); } }
.tr-track .tr-card { flex: none; display: flex; align-items: center; gap: 11px; margin-right: 14px; padding: 6px 18px 6px 6px; border-radius: 13px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(21, 22, 26, .07); transition: background .3s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.tr-track .tr-card:hover, .tr-track .tr-card:focus-visible { background: #fff; transform: translateY(-3px); box-shadow: 0 14px 26px -18px rgba(21, 22, 26, .45); }
.tr-track .tr-card .im { flex: none; width: 88px; border-radius: 8px; box-shadow: none; }
.tr-track .tr-card:hover .im img { transform: none; }
.tr-track .tr-card .meta { display: block; padding: 0; font: 600 14.5px/1.15 var(--display); white-space: nowrap; }
.tr-track .tr-card .meta small { display: block; margin-top: 3px; font: 400 12px/1.2 var(--sans); }
@media (prefers-reduced-motion: reduce) { .tr-strip { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .tr-track { animation: none; } .tr-track .tr-card[aria-hidden="true"] { display: none; } }
@media (max-width: 760px) { .tr-track { animation-duration: 36s; } .tr-track .tr-card .im { width: 72px; } }
.tr-track .tr-card .im img { height: auto; aspect-ratio: 1.6; }

/* ---------- légende des sites (c328) : à côté du site, jamais dessus ; encre nette, pastille d'accès comme sur le bouton d'accueil ---------- */
.rs-cap > div { display: block; padding: 0 1.6vw 2.2svh; max-width: none; }
.rs-cap > div.cL { padding-left: 58.4vw; }
.rs-cap > div.cR { padding-right: 38vw; }
.rs-cl, .rs-cr { display: contents; }
.rs-cap .rs-in2 { display: flex; flex-direction: column; align-items: flex-start; gap: 0; max-width: 34rem; }
.rs-tag { order: 0; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 clamp(12px, 1.6svh, 18px); font: 500 12px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.rs-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }
.rs-t { order: 1; margin: 0; max-width: 12ch; color: var(--ink); -webkit-text-fill-color: var(--ink); text-shadow: none; font: 800 clamp(28px, 3.4vw, 58px)/.95 var(--display); letter-spacing: -.05em; text-wrap: balance; }
.rs-d { order: 2; margin: clamp(12px, 1.8svh, 20px) 0 0; max-width: 36ch; color: var(--ink-2); font-size: clamp(14px, 1.08vw, 17px); line-height: 1.5; text-wrap: pretty; }
.rs-go { order: 3; display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(16px, 2.6svh, 26px); padding: 10px 10px 10px 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: 600 15px/1 var(--sans); letter-spacing: -.005em; transition: transform .3s var(--ease), box-shadow .3s var(--ease); box-shadow: 0 10px 26px -12px rgba(21, 22, 26, .55); }
.rs-go span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; transition: transform .3s var(--ease); }
.rs-go:hover { color: var(--paper); border: 0; transform: translateY(-1px); } .rs-go:hover span { transform: translate(2px, -2px); }
.rs-go:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 760px) {
  .rs-cap > div.cL, .rs-cap > div.cR { padding: 0 5vw 4svh; }
  .rs-cap .rs-in2 { max-width: none; }
  .rs-t { font-size: clamp(30px, 9vw, 44px); max-width: 14ch; }
  .rs-d { display: none; }   /* sur téléphone la légende reste courte : elle ne doit pas toucher le titre */
  .rs-tag { margin-bottom: 10px; }
  .rs-go { margin-top: 16px; }
}

/* ---------- vitrine : même écart (--rsg) entre le logo et chaque site, à gauche comme à droite (c328) ----------
   Le titre est centré ; le logo se trouve à .38 hl à droite du centre et finit à 1.15 hl (hl = taille du titre). Le site de gauche s'arrête --rsg avant le logo ; celui de droite commence --rsg après lui et recouvre « web ». */
@media (min-width: 761px) {
  .rs { --rsg: clamp(12px, 1.1vw, 22px); }
  .rs-card.L { width: calc(var(--lx, calc(50vw + .38 * var(--hl))) - var(--rsg) - 1.4vw - 1.5px); }
  .rs-card.R { width: calc(100% - 1.4vw - var(--rx, calc(50vw + 1.15 * var(--hl))) - var(--rsg) + 4px); }   /* +4px / -1.5px : la tuile du logo n'est pas centrée dans son cadre, l'écart visible est le même des deux côtés */
  .rs-cap { z-index: 2; }   /* un site qui monte passe devant la légende de l'autre côté, jamais l'inverse */
  .rs-card { -webkit-mask-image: none; mask-image: none; }   /* carte pleine : rien du titre ne transparaît à travers */
}

/* ---------- « Qui je suis » en noir, pour trancher avec la page claire qui précède (c328) ---------- */
.intro { background: var(--ink); color: var(--paper); }
.intro .eyebrow { color: rgba(246, 243, 236, .62); }
.intro-p .iw { color: rgba(246, 243, 236, .22); }
.intro-p .iw.on { color: var(--paper); }
.intro-p em .iw.on { color: #4ea1ff; }
.intro .btn-ink { background: var(--paper); color: var(--ink); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .7); }
.intro .btn-ghost { background: transparent; color: var(--paper); border-color: rgba(246, 243, 236, .28); }
.intro .btn-ghost:hover { border-color: rgba(246, 243, 236, .6); background: rgba(246, 243, 236, .06); }
.intro-fig .av { background: radial-gradient(120% 100% at 50% 28%, #faf7f0 0%, #ede8db 64%, #e3ddcc 100%); }
@media (prefers-reduced-motion: reduce) { .intro-p .iw { color: var(--paper); } .intro-p em .iw { color: #4ea1ff; } }

/* ---------- légende en bulle de messagerie (c329) : « Kapito écrit… », puis la bulle apparaît ---------- */
.rs-msg { display: flex; align-items: flex-end; gap: 10px; }
.rs-msg .rs-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: block; box-shadow: 0 6px 14px -6px rgba(21, 22, 26, .5); opacity: 0; transform: scale(.6); transform-origin: 50% 100%; }
.cR .rs-msg { flex-direction: row-reverse; }
.rs-stack { display: grid; min-width: 0; }
.rs-stack > * { grid-area: 1 / 1; align-self: end; }
.cR .rs-stack { justify-items: end; }
.rs-cap .rs-in2 { position: relative; max-width: 28rem; padding: 16px 22px 18px; border-radius: 26px 26px 26px 6px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 26px 50px -28px rgba(21, 22, 26, .5); opacity: 0; transform: translateY(14px) scale(.94); transform-origin: 0 100%; }
.cR .rs-in2 { border-radius: 26px 26px 6px 26px; transform-origin: 100% 100%; }
.rs-t { font-size: clamp(22px, 2.4vw, 40px); }
.rs-d { max-width: 34ch; }
.rs-go { margin-top: clamp(12px, 1.6svh, 18px); }
.rs-cap .rs-d { font-size: clamp(13px, .98vw, 15px); margin-top: 10px; }
.rs-typing { display: inline-flex; gap: 5px; align-items: center; width: max-content; padding: 15px 18px; border-radius: 22px 22px 22px 6px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -18px rgba(21, 22, 26, .45); opacity: 0; transform: scale(.8); transform-origin: 0 100%; }
.cR .rs-typing { border-radius: 22px 22px 6px 22px; transform-origin: 100% 100%; }
.rs-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: rsDot 1s ease-in-out infinite; }
.rs-typing i:nth-child(2) { animation-delay: .15s; } .rs-typing i:nth-child(3) { animation-delay: .3s; }
.rs-cap > div.on .rs-av { animation: rsAv .4s var(--ease) both; }
.rs-cap > div.on .rs-typing { animation: rsType 1s ease both; }
.rs-cap > div.on .rs-in2 { animation: rsPop .55s var(--ease) .9s both; }
@keyframes rsDot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes rsType { 0% { opacity: 0; transform: scale(.8); } 14% { opacity: 1; transform: none; } 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.92); } }
@keyframes rsPop { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes rsAv { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rs-cap > div .rs-in2, .rs-cap > div .rs-av { opacity: 1; transform: none; animation: none !important; } .rs-typing { display: none; } }
@media (min-width: 761px) and (max-height: 780px) { .rs-d { display: none; } }
@media (max-width: 760px) {
  .rs-cap .rs-in2 { padding: 16px 18px 18px; max-width: 100%; }
  .rs-msg .rs-av { width: 30px; height: 30px; }
  .rs-t { font-size: clamp(24px, 7.4vw, 34px); }
}

/* ---------- bulle en haut, du côté opposé au site, et qui arrive vite (c330) ---------- */
@media (min-width: 761px) {
  .rs-cap { top: 11svh; bottom: auto; height: auto; }
  .rs-cap > div { inset: 0 0 auto 0; padding-top: 0; padding-bottom: 0; }
  .rs-cap > div.cL { padding-left: 60vw; padding-right: 1.6vw; }
  .rs-cap > div.cR { padding-left: 3vw; padding-right: 40vw; }
  .rs-msg, .cR .rs-msg { flex-direction: row; align-items: flex-end; }
  .rs-stack, .cR .rs-stack { justify-items: start; align-self: flex-start; }
  .cR .rs-in2 { border-radius: 26px 26px 26px 6px; transform-origin: 0 100%; }
  .cR .rs-typing { border-radius: 22px 22px 22px 6px; transform-origin: 0 100%; }
}
.rs-cap > div.on .rs-typing { animation: rsType .42s ease both; }
.rs-cap > div.on .rs-in2 { animation: rsPop .45s var(--ease) .34s both; }
@keyframes rsType { 0% { opacity: 0; transform: scale(.8); } 25% { opacity: 1; transform: none; } 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.92); } }

/* ---------- fond de « Ce que je fais » : une créature par service, la teinte change avec elle (c330) ---------- */
.pull { --kbg: #e4ecff; }
.pull::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--kbg); transition: background-color .8s var(--ease); pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22vh, #000 calc(100% - 22vh), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 22vh, #000 calc(100% - 22vh), transparent 100%); }
.no3d .pull::before { display: none; }
.kc { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.kc canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s; }
.kc canvas.on { opacity: 1; }
.pstage .ground { display: none; }

/* ======================= passe visuelle (c328) : typographie, couleurs, espacements, cohérence =======================
   Uniquement des couleurs, tailles, marges, fonds, arrondis et contours. Aucune propriété d'animation (transition, transform, opacity, animation)
   n'est touchée, aucune classe d'animation n'est redéfinie ; ce bloc est le dernier de la feuille et se retire en une fois. */
:root { --ink-2: #3f4149; --ink-3: #686a73; --paper-2: #ece8dc; --step-s: 14px; --step-b: 17px; --step-m: 20px; --step-l: 24px; }
.wrap { width: min(1320px, 100% - 64px); }
@media (max-width: 700px) { .wrap { width: calc(100% - 40px); } }

/* typographie : une échelle courte, un seul style de petit libellé (plus de chasse fixe ni de capitales espacées) */
.eyebrow, .foot h4 { font: 600 var(--step-s)/1.25 var(--sans); letter-spacing: 0; text-transform: none; }
.eyebrow { color: var(--ink-2); margin-bottom: 20px; }
.foot h4 { color: rgba(255, 255, 255, .62); margin-bottom: 14px; }
.svc-card .no { font: 600 var(--step-s) var(--sans); }
.lead { font-size: clamp(17px, 1.4vw, var(--step-m)); line-height: 1.55; }
.chips span, .tile span, .me-ph .tag, .foot .bot, .foot .sw { font-size: var(--step-s); }
.chips span { background: #fff; box-shadow: none; padding: 9px 14px; }
.tile b, .xp li b, .foot a { font-size: 16px; }
.xp li span, .step p, .appel-lead, .small { font-size: 15px; line-height: 1.5; }
.xp h3 { font-size: 24px; } .xp .sub { font-size: 18px; } .xp .go { font-size: 16px; }
.step h3 { font-size: var(--step-m); } .step::before { font-size: 40px; }
.faq summary { font-size: clamp(18px, 1.6vw, 22px); }
.btn { font-size: 16px; } .btn-lg { font-size: 17px; }
.t-hero .note { font-size: var(--step-s); color: var(--ink-2); }
@media (max-width: 560px) { .t-h1 { font-size: 38px; line-height: 1; } .hx { font-size: clamp(34px, 9.4vw, 46px); } }

/* rythme : un écart net entre les sections, plus serré qu'avant sur mobile */
.sec { padding: clamp(64px, 8vw, 128px) 0; }
.sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.end { padding-top: clamp(72px, 9vw, 140px); }
@media (max-width: 700px) { .sec { padding: 64px 0; } }

/* surfaces : un pas de ton à la place des contours, des ombres et des filets */
.btn-silver, .btn-ink, .btn-silver:hover, .btn-ink:hover { box-shadow: none; }
.btn-ghost, .btn-ghost:hover { box-shadow: none; background: var(--paper-2); }
.btn-ghost:hover { background: #e2ddcf; }
.nav-links { box-shadow: none; background: rgba(255, 253, 248, .85); }
.marq { border-block: 0; background: var(--paper-2); }
.xp { gap: 14px; border-radius: 0; overflow: visible; background: none; box-shadow: none; }
.xp article { border-radius: 26px; padding: 32px 30px 30px; }
.xp .ic { background: var(--paper); }
.tile, .step { box-shadow: none; }
.tile { padding: 18px; } .step { padding: 28px 24px; }
.faq { border-top: 0; }
.faq details { border-bottom: 0; background: var(--card); border-radius: 22px; margin-bottom: 10px; padding: 0 26px; }
.faq summary { padding: 22px 0; }
.faq summary::after { box-shadow: none; background: var(--paper-2); }
.faq .a { padding-bottom: 24px; }
.mq-in, .me-ph .tag { box-shadow: none; }
.offer .ring { display: none; }
.foot { padding-top: 84px; }
.foot p { color: rgba(255, 255, 255, .8); }
.foot a { color: rgba(255, 255, 255, .92); }
.foot .bot { border-top: 0; color: rgba(255, 255, 255, .72); padding-top: 26px; }
.wt-btn { box-shadow: none; }
.rs-tag { font: 600 14px/1.2 var(--sans); letter-spacing: 0; text-transform: none; }

/* ---------- l'équipe de Kapito dans le défilement des services (c331) : un personnage vinyle à côté de chaque grand titre ---------- */
.w-pic { position: relative; flex: none; align-self: flex-end; height: min(50svh, 27vw, 470px); margin: 0 0 -2.2vw clamp(6px, 1.4vw, 26px); pointer-events: none; }
.w-pic::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(21, 22, 26, .3), rgba(21, 22, 26, 0)); }
.w-pic { opacity: 0; transform: translateX(min(46vw, 640px)); transition: transform 1.7s cubic-bezier(.22, .6, .3, 1), opacity .35s ease; }
.w.in .w-pic { opacity: 1; transform: none; }
.w-pic .pi { position: relative; display: block; height: 100%; transform-origin: 50% 100%; }
.w-pic img { position: relative; display: block; height: 100%; width: auto; }
.w.in .w-pic .pi { animation: wstep .56s ease-in-out 3, wpic 3.8s ease-in-out 1.7s infinite; }
@keyframes wstep { 0%, 100% { transform: translateY(0) rotate(-3.5deg) scale(1.02, .97); } 25% { transform: translateY(-16px) rotate(0) scale(.99, 1.03); } 50% { transform: translateY(0) rotate(3.5deg) scale(1.02, .97); } 75% { transform: translateY(-16px) rotate(0) scale(.99, 1.03); } }
@keyframes wpic { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(-1.4deg); } }
.no3d .w .w-pic { opacity: 1; transform: none; transition: none; } .no3d .w .w-pic .pi { animation: none; }
@media (max-width: 760px) { .w-pic { height: min(34svh, 40vw); } }
@media (prefers-reduced-motion: reduce) { .w .w-pic, .w.in .w-pic { opacity: 1; transform: none; transition: none; } .w .w-pic .pi, .w.in .w-pic .pi { animation: none; } .w .w-pic .pi::after { opacity: 1; animation: none; } }
:root { --hl: min(9.6vw, 172px); }   /* titres des services un peu plus petits : le titre et son personnage tiennent ensemble dans l'écran */

/* vernis (c332) : le reflet d'un plastique laqué, limité à la silhouette du personnage : un éclat fixe en haut et un reflet qui balaie de temps en temps */
.w-pic .pi::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat;
  background: linear-gradient(104deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, .34) 49%, rgba(255, 255, 255, 0) 56%) 130% 0 / 300% 100% no-repeat, radial-gradient(ellipse 60% 36% at 32% 13%, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0)); }
.w.in .w-pic .pi::after { opacity: 1; transition: opacity .6s .9s; animation: wsheen 4.8s ease-in-out 1.7s infinite; }
@keyframes wsheen { 0%, 60% { background-position: 130% 0, 0 0; } 100% { background-position: -30% 0, 0 0; } }

/* ---------- l'équipe en 3D (c333) : même gabarit que les images qu'elle remplace ---------- */
.w-fig.walkR { --fh: min(50svh, 27vw, 470px); }
@media (max-width: 760px) { .w-fig.walkR { --fh: min(34svh, 40vw); margin-left: 0; } }

/* bulle du présentateur (c336) */
.pstage .kbub { position: absolute; z-index: 5; width: max-content; max-width: min(300px, 70vw); transform: translate(-50%, 10px) scale(.94); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .5s cubic-bezier(.3, 1.5, .5, 1), left .25s; transform-origin: 50% 100%;
  padding: 13px 17px 14px; border-radius: 20px 20px 20px 6px; background: var(--card); color: var(--ink); font: 500 15px/1.35 var(--sans); }
.pstage .kbub.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.pstage .kbub p { margin: 0; } .pstage .kbub b { font-weight: 700; color: var(--blue); }
.pstage .kbub::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: var(--card); transform: rotate(45deg); border-radius: 0 0 3px 0; }
.w-fig.stay { --fh: min(40svh, 22vw, 380px); width: calc(var(--fh) * .46); margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .pstage .kbub { transition: none; } }

/* ---------- grande flèche et aspiration entre pages (c340) ---------- */
.kgo { position: fixed; z-index: 45; right: max(6px, 1vw); top: 50%; width: clamp(54px, 7vw, 120px); height: clamp(110px, 15vw, 230px); margin-top: calc(clamp(110px, 15vw, 230px) / -2); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.kgo.on { opacity: 1; pointer-events: auto; }
.kgo svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-opacity: .2; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; transition: stroke-opacity .3s, transform .4s var(--ease); animation: kgoNudge 2.6s ease-in-out infinite; }
.kgo:hover svg, .kgo:focus-visible svg { stroke-opacity: .62; transform: translateX(8px); animation: none; }
.kgo-l { position: absolute; right: 100%; top: 50%; margin: -12px 8px 0 0; white-space: nowrap; font: 600 14px/1.2 var(--sans); color: var(--ink); background: var(--card); padding: 8px 14px; border-radius: 999px; opacity: 0; transform: translateX(10px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.kgo:hover .kgo-l, .kgo:focus-visible .kgo-l { opacity: 1; transform: none; }
@keyframes kgoNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
.kgo.go svg { stroke-opacity: .9; animation: none; transform: scale(1.4); }
@media (max-width: 760px) { .kgo-l { display: none; } .kgo svg { stroke-width: 11; } }
/* c357 : transition éclair (0,22 s + 0,3 s) : la page se referme en cercle sur la flèche, la suivante s'ouvre en cercle depuis le même point, fond encre entre les deux */
html.kgo-out, html.kgo-in { overflow: hidden; background: #14151a; }
html.kgo-out body { animation: kgoSuck .22s cubic-bezier(.7, 0, .9, .45) forwards; }
@keyframes kgoSuck { 0% { clip-path: circle(190vmax at var(--ko-x) var(--ko-y)); } 100% { clip-path: circle(0 at var(--ko-x) var(--ko-y)); } }
html.kgo-in body { animation: kgoIn .32s cubic-bezier(.1, .7, .2, 1) both; }
@keyframes kgoIn { 0% { clip-path: circle(0 at 97vw 50vh); } 100% { clip-path: circle(190vmax at 97vw 50vh); } }
@media (prefers-reduced-motion: reduce) { html.kgo-out body, html.kgo-in body { animation: none; } }

/* ---------- « Mes expertises » en pile qui se replie (c341) ---------- */
#expertises .xp { display: block; gap: 0; counter-reset: x; padding-bottom: 6vh; }
#expertises .xp article { position: sticky; top: 88px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) auto; grid-template-rows: auto auto 1fr; gap: clamp(18px, 3vw, 56px); align-items: start; margin-bottom: 22px; min-height: 270px; padding: clamp(26px, 3vw, 44px) clamp(24px, 3.4vw, 52px); border-radius: 30px; background: var(--card); transform-origin: 50% 0; will-change: transform; overflow: hidden; }
#expertises .xp article::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: calc(var(--fold, 0) * .1); pointer-events: none; }
#expertises .xp article > .ic { grid-column: 1; grid-row: 1; margin: 0 0 14px; }
#expertises .xp article > h3 { grid-column: 1; grid-row: 2; margin: 0; font-size: clamp(30px, 3.2vw, 52px); line-height: 1; letter-spacing: -.045em; }
#expertises .xp article > .sub { grid-column: 1; grid-row: 3; margin: 8px 0 0; font-size: clamp(18px, 1.5vw, 24px); }
#expertises .xp article > ul { grid-column: 2; grid-row: 1 / span 3; margin: 0; gap: 18px; align-content: start; }
#expertises .xp article > ul li b { font-size: clamp(17px, 1.35vw, 21px); }
#expertises .xp article > ul li span { font-size: clamp(15px, 1.1vw, 17px); }
#expertises .xp article > .go { grid-column: 3; grid-row: 1; margin: 0; align-self: start; white-space: nowrap; }
#expertises .xp article:nth-child(odd) { background: var(--card); } #expertises .xp article:nth-child(even) { background: #f3efe5; }
@media (max-width: 860px) {
  #expertises .xp article { grid-template-columns: 1fr; min-height: 0; top: 78px; }
  #expertises .xp article > .ic, #expertises .xp article > h3, #expertises .xp article > .sub, #expertises .xp article > ul, #expertises .xp article > .go { grid-column: 1; grid-row: auto; }
  #expertises .xp article > ul { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { #expertises .xp article { position: relative; top: auto; transform: none !important; } }
#expertises .xp article > h3, #expertises .xp article > .sub { align-self: start; }
#expertises .xp article:nth-child(2) { top: 102px; } #expertises .xp article:nth-child(3) { top: 116px; } #expertises .xp article:nth-child(4) { top: 130px; } #expertises .xp article:nth-child(5) { top: 144px; } #expertises .xp article:nth-child(6) { top: 158px; }
@media (max-width: 860px) { #expertises .xp article:nth-child(n) { top: 78px; } }

/* ---------- « À propos » : les repères en grandes cartes (c342, idée vue sur dapper.agency) ---------- */
.ab-grid { grid-template-columns: 1fr; }
.ab-txt p { max-width: 46em; }
.ab-bento { margin-top: clamp(34px, 5vw, 70px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bn { position: relative; display: flex; flex-direction: column; min-height: clamp(210px, 22vw, 330px); padding: clamp(24px, 2.6vw, 40px); border-radius: 22px; background: var(--card); transition: transform .5s var(--ease), background .3s; overflow: hidden; }
.bn:nth-child(3) { background: #f1ede2; } .bn:nth-child(4) { background: var(--ink); color: #fff; }
.bn h3 { margin: 0; max-width: 11em; font: 700 clamp(30px, 3.4vw, 56px)/1 var(--display); letter-spacing: -.045em; }
.bn p { margin: 14px 0 0; max-width: 24em; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.4; color: var(--ink-2); }
.bn:nth-child(4) p { color: rgba(255, 255, 255, .72); }
.bn-go { position: absolute; right: clamp(18px, 2vw, 30px); bottom: clamp(18px, 2vw, 30px); width: clamp(46px, 4.4vw, 62px); height: clamp(46px, 4.4vw, 62px); border-radius: 12px; background: var(--blue); display: grid; place-items: center; transition: transform .45s var(--ease), border-radius .45s var(--ease); }
.bn-go svg { width: 46%; height: 46%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.bn:hover { transform: translateY(-4px); } .bn:hover .bn-go { border-radius: 50%; transform: scale(1.06); } .bn:hover .bn-go svg { transform: translate(3px, -3px); }
@media (max-width: 760px) { .ab-bento { grid-template-columns: 1fr; } .bn { min-height: 190px; } }
@media (prefers-reduced-motion: reduce) { .bn, .bn-go, .bn-go svg { transition: none; } }

/* ---------- téléphone en perspective, Campagnes Ads (c343) ---------- */
.ph-sec { padding: clamp(60px, 8vw, 130px) 0; overflow: clip; }
.ph-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 90px); align-items: center; }
.ph-txt .chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; } .ph-txt .chips li { display: contents; }
.ph-stage { position: relative; min-height: clamp(560px, 62vw, 860px); display: grid; place-items: center; perspective: 1700px; }
.ph-px { position: absolute; inset: 0; pointer-events: none; }
.ph-px i { position: absolute; left: calc(50% + var(--x) * 6.4%); top: calc(var(--y) * 1%); width: 6.4%; aspect-ratio: 1; background: var(--blue); opacity: var(--o); transition: transform .2s linear; }
.kph { --ry: -22deg; --rx: 6deg; --ty: 0px; position: relative; width: clamp(250px, 24vw, 340px); aspect-ratio: 9 / 19.2; transform: translateY(var(--ty)) rotateY(var(--ry)) rotateX(var(--rx)) rotateZ(1.5deg); transform-style: preserve-3d; filter: drop-shadow(-34px 46px 38px rgba(21, 22, 26, .34)); will-change: transform; z-index: 2; }
.ph-body { position: absolute; inset: 0; border-radius: 15.5% / 7.4%; padding: 2.6%; background: linear-gradient(135deg, #8a8d93, #2b2d31 22%, #1a1b1e 60%, #55585e); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28), inset 0 0 0 5px #0c0c0e; }
.ph-screen { position: relative; height: 100%; border-radius: 13% / 6.2%; overflow: hidden; background: #fff; color: #111; font-family: var(--sans); }
.ph-btn { position: absolute; width: 1.4%; border-radius: 3px; background: linear-gradient(90deg, #5b5e64, #2a2c30); }
.ph-btn.b1 { left: -.9%; top: 15%; height: 3.4%; } .ph-btn.b2 { left: -.9%; top: 21.5%; height: 7%; } .ph-btn.b3 { left: -.9%; top: 30.5%; height: 7%; } .ph-btn.b4 { right: -.9%; top: 25%; height: 11%; }
.ph-sb { position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: 6.2%; display: flex; align-items: center; justify-content: space-between; padding: 0 8%; background: #fff; font: 700 clamp(9px, .85vw, 12px) var(--sans); }
.ph-isl { position: absolute; left: 50%; top: 24%; width: 30%; height: 56%; transform: translateX(-50%); border-radius: 99px; background: #0a0a0c; }
.ph-sb span { display: flex; gap: 2px; align-items: center; } .ph-sb u { width: 3px; height: 7px; background: #111; border-radius: 1px; } .ph-sb em { width: 14px; height: 7px; border: 1.5px solid #111; border-radius: 3px; margin-left: 3px; }
.ph-top { position: absolute; z-index: 3; left: 0; right: 0; top: 6.2%; height: 5.4%; display: flex; gap: 14px; align-items: center; justify-content: center; background: #fff; font-size: clamp(9px, .85vw, 12px); color: #8b8d95; } .ph-top b { color: #111; border-bottom: 2px solid var(--blue); padding: 6px 2px; }
.ph-clip { position: absolute; left: 0; right: 0; top: 11.6%; bottom: 7.4%; overflow: hidden; }
.ph-feed { will-change: transform; }
.ph-post { padding-bottom: 6px; border-bottom: 6px solid #f1f1f3; }
.ph-ph { display: flex; align-items: center; gap: 7px; padding: 8px 9px; } .ph-ph i { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 11px var(--sans); }
.ph-ph b { display: block; font-size: 10.5px; line-height: 1.1; } .ph-ph small { font-size: 8.5px; color: #8b8d95; } .ph-ph span { margin-left: auto; color: #8b8d95; font-size: 12px; letter-spacing: 1px; }
.ph-post img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: #eee; }
.ph-cta { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; background: #f1f1f3; font-size: 9.5px; font-weight: 700; } .ph-cta b { font-size: 14px; color: #8b8d95; }
.ph-act { display: flex; gap: 11px; align-items: center; padding: 8px 10px 2px; } .ph-act svg { width: 17px; height: 17px; fill: none; stroke: #111; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; } .ph-act .sp { flex: 1; }
.ph-likes { margin: 3px 10px 0; font-size: 9.5px; font-weight: 700; } .ph-cap { margin: 2px 10px 6px; font-size: 9.5px; line-height: 1.35; color: #333; }
.ph-nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 7.4%; display: flex; justify-content: space-around; align-items: flex-start; padding-top: 7px; background: #fff; border-top: 1px solid #ececef; } .ph-nav i { width: 15px; height: 15px; border-radius: 4px; background: #c9cacf; } .ph-nav i.p { background: var(--ink); }
.ph-home { position: absolute; z-index: 5; left: 50%; bottom: 1.2%; width: 34%; height: 4px; border-radius: 4px; transform: translateX(-50%); background: #111; }
.ph-glare { position: absolute; inset: 0; border-radius: 13% / 6.2%; pointer-events: none; z-index: 6; background: linear-gradient(115deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .1)); }
@media (max-width: 860px) { .ph-in { grid-template-columns: 1fr; } .ph-stage { min-height: 560px; } .kph { width: min(64vw, 300px); } }
@media (prefers-reduced-motion: reduce) { .ph-px i { transition: none; } }

/* ---------- « Trouver mon offre » façon contact (c344, idée vue sur dapper.agency) : titre géant à gauche, panneau sombre à droite ---------- */
#metier .offer { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 3vw, 48px); align-items: stretch; padding: 0; border-radius: 0; background: transparent; color: var(--ink); overflow: visible; }
#metier .offer .ring { display: none; }
#metier .offer .center { text-align: left; display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(460px, 44vw, 640px); }
#metier .offer .eyebrow { color: var(--ink); } #metier .offer .eyebrow.dot::before { background: var(--blue); }
#metier .offer .hx { font-size: clamp(46px, 6.4vw, 108px); line-height: .96; margin-top: 18px; } #metier .offer .hx .l2 { color: var(--ink); }
#metier .offer .center .lead { margin: auto 0 0; max-width: 24em; color: var(--ink); font-size: clamp(17px, 1.4vw, 22px); font-weight: 500; }
#metier .offer .mq { max-width: none; margin: 0; padding: clamp(26px, 3.4vw, 52px); border-radius: 28px; background: #1a1b1e; color: #fff; text-align: left; }
#metier .offer .mq::before { content: "Trouver ma page"; display: block; margin-bottom: clamp(22px, 2.6vw, 38px); font: 700 clamp(32px, 3.6vw, 58px)/1 var(--display); letter-spacing: -.045em; }
#metier .offer .mq-in { display: flex; flex-direction: column; gap: 12px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
#metier .offer .mq-in::before { content: "Votre métier *"; font: 600 15px/1 var(--sans); }
#metier .offer .mq-in input { flex: none; width: 100%; padding: 22px 24px; border-radius: 14px; background: #2b2c31; color: #fff; font-size: 18px; }
#metier .offer .mq-in input::placeholder { color: #8b8d95; }
#metier .offer .mq-in .btn { align-self: stretch; justify-content: space-between; min-height: 62px; margin-top: 8px; border-radius: 14px; background: var(--blue); color: #fff; font-size: 17px; }
#metier .offer .mq-in .btn .ar { background: #fff; color: var(--blue); }
#metier .offer .mq-sug { position: static; margin-top: 10px; background: #2b2c31; color: #fff; box-shadow: none; } #metier .offer .mq-sug button { color: #fff; } #metier .offer .mq-sug button:hover, #metier .offer .mq-sug button:focus { background: #3a3b41; }
#metier .offer .mq-opts button { background: #2b2c31; color: #fff; } #metier .offer .mq-opts span { color: rgba(255, 255, 255, .7); }
#metier .offer .mq p.small { color: rgba(255, 255, 255, .6); margin-top: 18px; }
@media (max-width: 860px) { #metier .offer { grid-template-columns: 1fr; } #metier .offer .center { min-height: 0; gap: 22px; } #metier .offer .center .lead { margin-top: 0; } }

/* ---------- « À propos » : le texte à gauche, les 4 cartes à droite (c349) ---------- */
.ab-grid { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(28px, 4vw, 72px); align-items: stretch; }
.ab-bento { margin-top: 0; }
.ab-bento .bn { min-height: clamp(190px, 18vw, 280px); }
.ab-bento .bn h3 { font-size: clamp(26px, 2.6vw, 44px); }
@media (max-width: 980px) { .ab-grid { grid-template-columns: 1fr; } .ab-bento { margin-top: clamp(28px, 5vw, 50px); } }
/* c356 : le texte du site ne se sélectionne pas au curseur (champs de saisie exceptés) */
html,body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
input,textarea,select,[contenteditable="true"],.sel-ok{-webkit-user-select:text;user-select:text}
::selection{background:transparent}
input::selection,textarea::selection{background:rgba(10,132,255,.3)}

/* c359 : pictogrammes des expertises = tuiles 3D (ktile.js) */
.xp .ic.kt-ic, #expertises .xp article > .ic.kt-ic { display: inline-block; width: 84px; height: 84px; border-radius: 27%; background: linear-gradient(150deg, #fff, #ebe8e1); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 6px 16px rgba(21,22,26,.1); margin-bottom: 14px; position: relative; place-items: unset; }
.xp .ic.kt-ic.live, #expertises .xp article > .ic.kt-ic.live { background: none; box-shadow: none; }
.xp .ic.kt-ic svg.kt-fb { inset: 20%; width: 60%; height: 60%; }

/* c361 : le K du titre « Refonte web » rendu comme les boutons 3D (ktile.js, kind=kmark), toujours estompé pour ne pas attirer l'œil */
.rs-logo .kt { display: block; width: 100%; height: 100%; border-radius: 28%; background: none; box-shadow: none; }
.rs-logo .kt .kt-fb { position: static; inset: auto; width: 100%; height: 100%; opacity: .34; object-fit: contain; border-radius: 0; display: block; }
.rs-logo .kt.live .kt-fb { opacity: 0; position: absolute; inset: 0; }
.rs-logo .kt canvas { filter: none; }
.rs-logo .kt.live canvas { opacity: .42; }

/* c363 : mode avion = ciel (dégradé) et nuages 3D (troupe/ksky.js) derrière « Ce que je fais » ; les créatures de fond sont masquées */
.pull.sky::before { background: linear-gradient(180deg, #9cc6ff 0%, #c4dcff 34%, #e3eeff 66%, #f4f8ff 100%); }
.pull.sky .kc, .pull.sky .kc canvas { display: none !important; }
.pull .sky-c { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; display: block; }

/* c365 : le petit Kapito qui marche dans « Trouver mon offre » (troupe/ksmall.js) */
#metier .mq-band, #metier .offer { position: relative; }
.ksm { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; max-height: 320px; pointer-events: none; z-index: 2; display: block; }
@media (max-width: 760px) { .ksm { height: 34%; } }

/* c368 : Kaméhaméha du petit Kapito (troupe/ksmall.js) : faisceau d'énergie dessiné en canvas sur toute la largeur de l'écran, halo de la case « Trouver ma page » */
.kame-cv { position: absolute; pointer-events: none; z-index: 6; display: block; }
#metier .mq { transition: box-shadow .28s ease; }
#metier .mq.kame-hit { box-shadow: 0 0 0 2px rgba(10,132,255,.95), 0 0 80px 8px rgba(10,132,255,.5); }

/* c372 : bulle de l'avion = bulle bleue façon iMessage, plus moderne (dégradé bleu KAPITO, queue incurvée, léger ballant avec le vol) */
.pull.sky .pstage .kbub { padding: 12px 18px 13px; border-radius: 22px; background: linear-gradient(180deg, #2e9bff 0%, #0a84ff 100%); color: #fff; font: 600 15.5px/1.32 var(--sans); letter-spacing: -.005em; box-shadow: 0 10px 30px rgba(10, 80, 200, .32), 0 2px 6px rgba(10, 80, 200, .22), inset 0 1px 0 rgba(255, 255, 255, .28); transform: translate(-50%, 12px) scale(.9); transform-origin: 50% 110%; transition: opacity .3s ease, transform .45s cubic-bezier(.3,1.4,.5,1); }
.pull.sky .pstage .kbub.on { transform: translate(-50%, 0) scale(1); }
.pull.sky .pstage .kbub b { color: #fff; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .55); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pull.sky .pstage .kbub::after { left: calc(50% + var(--tx, 0px)); bottom: -5px; width: 18px; height: 14px; margin-left: -9px; background: #0a84ff; transform: none; border-radius: 0 0 14px 2px; clip-path: path("M0 0 H18 C18 6 13 11 7 14 C10 9 5 7 0 0 Z"); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .pull.sky .pstage .kbub { transition: none; } }

.pull.sky .pstage .kbub { will-change: left, top; }
