/* Inter, hébergée avec le site (licence SIL OFL, voir assets/fonts/OFL.txt) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f5f3ee;
  --white: #fff;
  --ink: #161615;
  --ink-2: #222221;
  --ink-3: #2e2e2c;
  --cream: #f1ede3;
  --cream-2: #e8e3d7;
  --ember: #f45d2b;
  --ember-text: #b23d12;     /* orange lisible sur fond clair */
  --mute-light: #66635c;
  --mute-dark: #a8a49a;
  --line: rgba(255, 255, 255, .12);
  --line-ink: rgba(22, 22, 21, .13);
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  --serif: var(--sans);      /* une seule famille, y compris dans les maquettes */
  --shadow-soft: 0 1px 2px rgba(22, 20, 14, .05), 0 8px 24px -14px rgba(22, 20, 14, .18);
  --wide: 1120px;
  --side: max(22px, calc((100% - var(--wide)) / 2));
  --ease: cubic-bezier(.28, .11, .32, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.5 var(--sans); font-optical-sizing: auto; letter-spacing: -.011em; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; }
ul, ol { list-style: none; }
button, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--ember-text); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 8px; }

h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 8.4vw, 6.5rem); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.75rem); line-height: 1.06; letter-spacing: -.035em; }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -.025em; }
h4 { font-size: .95rem; font-weight: 600; }

/* ---------- actions : un bouton plein, un lien ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 1rem; font-weight: 500; text-decoration: none; transition: background-color .2s; }
.btn:hover { background: #3a3a37; }
.btn-small { min-height: 34px; padding: 0 15px; font-size: .8rem; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.05rem; font-weight: 500; color: var(--ember-text); text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 30px; }
.center { text-align: center; }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 238, .94); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.stuck { border-color: var(--line-ink); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 52px; padding-inline: var(--side); }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: auto; font-weight: 600; text-decoration: none; }
.brand svg { width: 19px; height: 20px; }
.nav nav { display: flex; gap: 30px; margin-right: auto; font-size: .8rem; }
.nav nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: #3f3d38; transition: color .2s; }
.nav nav a:hover, .nav nav a.here { color: #000; }
.menu-btn { display: none; width: 44px; height: 44px; flex: none; place-content: center; gap: 6px; margin-right: -10px; }
.menu-btn i { display: block; width: 18px; height: 1.500px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(3.750px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-3.750px) rotate(-45deg); }

/* ---------- thème clair / sombre ---------- */
.theme-btn { display: grid; place-items: center; width: 44px; height: 44px; flex: none; margin-right: -16px; border-radius: 50%; }
.theme-btn svg { width: 20px; height: 20px; overflow: visible; }
.theme-btn circle { fill: none; stroke: currentColor; stroke-width: 1.6; }
.theme-btn path { fill: currentColor; }
.theme-btn[aria-pressed="true"] svg { transform: rotate(180deg); }
/* Le temps de la bascule : aucune transition de couleur ne doit brouiller la découpe. */
.theming *, .theming *::before, .theming *::after { transition: none !important; }
::view-transition { pointer-events: none; }
::view-transition-image-pair(root) { isolation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 0; }
::view-transition-new(root) { z-index: 1; }

/* ---------- ouverture ---------- */
.hero { text-align: center; padding: clamp(34px, 5.5vh, 90px) 22px clamp(48px, 7vh, 80px); }
.hero > p { max-width: 36em; margin: 24px auto 32px; font-size: clamp(1.1rem, 1.9vw, 1.4rem); line-height: 1.45; color: var(--mute-light); text-wrap: balance; }
/* Ouverture : les deux formes du logo se rejoignent, puis le texte suit. Seule animation automatique du site. */
.mark { display: block; width: clamp(46px, 4.8vw, 62px); height: auto; margin: 0 auto clamp(18px, 2.6vh, 32px); fill: var(--ink); overflow: visible; }
.mark path { transform-box: fill-box; }
.js .mark-a { animation: mark-a 1.1s cubic-bezier(.16, 1, .3, 1) .1s both; }
.js .mark-b { animation: mark-b 1.1s cubic-bezier(.16, 1, .3, 1) .1s both; }
@keyframes mark-a { from { opacity: 0; transform: translate(80%, -22%); } 30% { opacity: 1; } }
@keyframes mark-b { from { opacity: 0; transform: translate(-80%, 22%); } 30% { opacity: 1; } }
.js .hero > h1 { animation: rise 1s .5s var(--ease) both; }
.js .hero > p { animation: rise 1s .6s var(--ease) both; }
.js .hero > .actions { animation: rise 1s .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- points d'attente et bouton d'envoi ---------- */
.dots { display: inline-flex; gap: 4px; padding-block: 8px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #8d897f; animation: blink 1.1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.send { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; }
.send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- sections ---------- */
.section { padding: clamp(90px, 12vw, 170px) var(--side); }
.head { max-width: 800px; margin: 0 auto clamp(40px, 6vw, 70px); text-align: center; }
.head p { max-width: 34em; margin: 18px auto 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--mute-light); text-wrap: balance; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.seen { opacity: 1; transform: none; }

/* ---------- formats ---------- */
.creations { background: var(--white); }
.tabs { display: flex; gap: 2px; width: max-content; max-width: 100%; margin: 0 auto 38px; padding: 3px; overflow-x: auto; border-radius: 99px; background: #efede8; scrollbar-width: none; }
.tabs button { flex: none; min-height: 40px; padding: 0 19px; border-radius: 99px; white-space: nowrap; font-size: .88rem; font-weight: 500; transition: background-color .35s var(--ease), box-shadow .35s; }
.tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 4px rgba(22, 20, 14, .16); }
.tabs button:focus-visible { outline-offset: -3px; }
.stage { max-width: 900px; margin-inline: auto; }
.rig { position: relative; aspect-ratio: 16 / 10; container-type: inline-size; }
.shot { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s var(--ease), transform .7s var(--ease), visibility .5s; }
.shot.on { opacity: 1; visibility: visible; transform: none; }
.stage figcaption, .stagebox figcaption { margin-top: 16px; text-align: center; font-size: .78rem; color: var(--mute-light); }
.brief-card { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 38px; margin: 54px 0 22px; }
.brief-card > div { padding-top: 22px; border-top: 1px solid var(--line-ink); }
.brief-card h3 { margin-bottom: 10px; }
.brief-card h4 { margin-bottom: 8px; }
.brief-card p { font-size: .98rem; color: var(--mute-light); }
.brief-card.swap > div { animation: rise .5s var(--ease); }

/* ---------- maquettes des formats ---------- */
.win { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 1.8cqw; background: var(--ink); color: var(--ink); padding: .9cqw; font-size: 1.65cqw; line-height: 1.35; }
.bar { display: flex; align-items: center; gap: .7cqw; padding: .4cqw 1cqw 1.2cqw; color: #bdb6a5; }
.bar i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #45443f; }
.bar span { margin-left: 1cqw; }
.bar-os span { margin: 0; color: var(--cream); font-weight: 600; }
.bar u { margin-left: auto; text-decoration: none; }
.m { flex: 1; min-height: 0; background: #f6f1e5; border-radius: 1.2cqw; overflow: hidden; }
.m strong { font-family: var(--serif); font-weight: 400; }
.m em { font-style: normal; font-weight: 600; background: var(--ember); border-radius: 99px; padding: .8cqw 1.8cqw; width: max-content; }
.m s { display: block; height: .9cqw; border-radius: 9px; background: #d9d0bb; text-decoration: none; }
.m small { font-size: 1em; color: var(--mute-light); }

.m-web { display: grid; grid-template-columns: 8cqw 1fr; }
.m-rail { background: var(--cream-2); padding: 2cqw 1.8cqw; display: flex; flex-direction: column; gap: 1.8cqw; }
.m-rail b { height: 4.4cqw; border-radius: 1cqw; background: var(--ink); }
.m-rail s { background: #bdb39c; }
.m-body { padding: 2.2cqw; min-width: 0; }
.m-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2cqw; }
.m-title strong { font-size: 2.9cqw; }
.m-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; }
.m-cols > div { background: var(--cream); border-radius: 1.2cqw; padding: 1.2cqw; }
.m-cols p { background: #fffcf4; border-radius: .9cqw; padding: 1.4cqw 1.2cqw; margin-top: 1.1cqw; font-weight: 600; box-shadow: var(--shadow-soft); }
.m-cols p span { display: block; font-weight: 400; color: var(--mute-light); margin-top: .4cqw; }
.m-cols p.hot { background: var(--ink); color: var(--cream); }
.m-cols p.hot span { color: var(--mute-dark); }

.win-os { border-radius: .9cqw; background: #2a2a27; }
.m-menu { display: flex; gap: 2.4cqw; padding: 0 1cqw 1.1cqw; color: var(--cream); }
.m-desk { display: grid; grid-template-columns: 21cqw 1fr; border-radius: .4cqw; }
.m-desk ul { background: var(--cream-2); padding: 1.4cqw; }
.m-desk li { padding: 1cqw 1.2cqw; border-radius: .6cqw; }
.m-desk li:first-child { color: var(--mute-light); }
.m-desk li.hot { background: var(--ink); color: var(--cream); }
.m-row { display: grid; grid-template-columns: 1fr 13cqw; padding: 1.75cqw .6cqw; border-bottom: 1px solid #e3dbc8; }
.m-th { font-weight: 600; padding-top: 0; }
.m-status { display: flex; justify-content: space-between; gap: 2cqw; padding: 1cqw 1cqw .1cqw; color: #bdb6a5; }

.m-tool { display: grid; grid-template-columns: 1fr 1fr; }
.m-form { padding: 2.4cqw; display: flex; flex-direction: column; gap: 1.5cqw; }
.m-form strong { font-size: 2.9cqw; }
.m-form label { color: var(--mute-light); }
.m-form label span { display: block; color: var(--ink); background: #fffcf4; border: 1px solid #ddd4bf; border-radius: .9cqw; padding: 1cqw 1.4cqw; margin-top: .4cqw; }
.m-doc { margin: 2.4cqw 2.4cqw 0 0; background: #fffcf4; border-radius: 1cqw 1cqw 0 0; padding: 2.6cqw; box-shadow: var(--shadow-soft); }
.m-doc b { display: block; font: 400 3.4cqw var(--serif); margin-bottom: 1.6cqw; }
.m-doc s { margin-bottom: 1cqw; }
.m-doc > s:nth-of-type(2) { width: 72%; }
.m-doc > s:nth-of-type(3) { width: 48%; }
.m-doc hr { border: 0; border-top: 1px solid #ddd4bf; margin: 1.8cqw 0; }
.m-doc div { display: grid; grid-template-columns: 1fr 7cqw; align-items: center; padding-block: .6cqw; }
.m-doc div s { margin: 0; }
.m-doc p { color: #a5360f; font-weight: 600; }

.m-land { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.8cqw; text-align: center; padding: 2cqw; }
.m-land strong { font-size: 5cqw; line-height: 1.08; letter-spacing: -.02em; }
.m-land p { color: var(--mute-light); font-size: 1.9cqw; }
.m-land > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; width: 100%; margin-top: 1.6cqw; }
.m-land > div span { background: #fffcf4; border-radius: 1.2cqw; padding: 1.6cqw; box-shadow: var(--shadow-soft); text-align: left; font-weight: 600; }
.m-land > div i { display: block; width: 3.4cqw; height: 3.4cqw; border-radius: .9cqw; background: var(--ink); margin-bottom: 1.4cqw; }

.m-site { display: flex; flex-direction: column; padding: 0 2.2cqw 2cqw; gap: 1.6cqw; }
.m-nav { display: flex; gap: 2.4cqw; padding-top: 1.8cqw; color: var(--mute-light); }
.m-nav b { margin-right: auto; color: var(--ink); font: 500 2.1cqw var(--serif); }
.m-hero { flex: 1; min-height: 0; border-radius: 1.4cqw; display: flex; align-items: flex-end; padding: 2.6cqw; color: var(--cream); background: #26231f; }
.m-hero strong { font-size: 3.9cqw; line-height: 1.12; max-width: 14em; }
.m-arts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.m-arts i { display: block; height: 7cqw; border-radius: 1cqw; background: var(--cream-2); margin-bottom: 1.1cqw; }
.m-arts s { margin-bottom: .7cqw; }
.m-arts s:last-child { width: 62%; }

.m-web .m-body { display: flex; flex-direction: column; }
.m-week { flex: 1; min-height: 0; display: flex; align-items: flex-end; gap: 1.4cqw; margin-top: 1.6cqw; padding: 1.4cqw; border-radius: 1.2cqw; background: var(--cream); }
.m-week i { flex: 1; height: var(--h); border-radius: .6cqw; background: var(--ink); }
.m-week i:nth-child(6) { background: var(--ember); }

/* ---------- méthode : la scène reste, le produit avance ---------- */
.method { height: 460vh; }
.method-pin { position: sticky; top: 52px; display: flex; flex-direction: column; justify-content: center; height: calc(100vh - 52px); height: calc(100svh - 52px); padding: 18px var(--side); }
.method .head { margin-bottom: clamp(18px, 5vh, 60px); }
.method-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(28px, 5vw, 70px); }
.steps li { border-left: 2px solid var(--line-ink); padding-left: 22px; transition: border-color .4s; }
.steps li.on { border-color: var(--ink); }
.steps button { display: block; width: 100%; min-height: 46px; text-align: left; font-size: clamp(1.2rem, 1.9vw, 1.5rem); letter-spacing: -.02em; color: var(--mute-light); transition: color .3s; }
.steps button b { font-weight: 600; }
.steps li.on button { color: var(--ink); }
.steps li > div { display: grid; grid-template-rows: 0fr; overflow: hidden; opacity: 0; visibility: hidden; transition: grid-template-rows .55s var(--ease), opacity .4s, visibility .55s; }
.steps li > div > div, .steps li > div > p { min-height: 0; }
.steps li.on > div { grid-template-rows: 1fr auto; opacity: 1; visibility: visible; }
.steps p { overflow: hidden; max-width: 40ch; font-size: .96rem; color: var(--mute-light); }
.steps small { display: block; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.steps li.on small { max-height: 6em; padding-block: 8px 14px; font-size: .86rem; font-weight: 600; }
.window { background: var(--ink); color: var(--cream); border-radius: 18px; padding: 7px; box-shadow: 0 40px 70px -50px rgba(22, 20, 14, .6); }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px 11px; font-size: .78rem; color: var(--mute-dark); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.window-bar span { margin-left: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-bar em { margin-left: auto; font-style: normal; white-space: nowrap; }
.canvas { position: relative; height: clamp(300px, 50vh, 450px); overflow: hidden; border-radius: 12px; background: var(--ink-2); }

/* l'application passe du croquis au produit : mêmes blocs, styles différents */
.app { position: absolute; inset: 0; display: grid; grid-template-columns: 62px 1fr; transition: opacity .6s, transform .7s var(--ease), background-color .6s; }
.app-side { padding: 18px 14px; display: flex; flex-direction: column; gap: 14px; border-right: 1px dashed #55534c; transition: background-color .6s, border-color .6s; }
.app-side b, .app-side s { display: block; width: 34px; height: 34px; border-radius: 10px; border: 1px dashed #6d6a61; transition: all .6s var(--ease); }
.app-side s { height: 12px; border-radius: 5px; }
.app-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ph { font-family: var(--serif); font-size: 1.45rem; }
.app-cta { font-size: .78rem; font-weight: 600; padding: 7px 14px; border-radius: 99px; border: 1px dashed #6d6a61; white-space: nowrap; transition: all .6s; }
.app-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.app-cards div { border: 1px dashed #6d6a61; border-radius: 12px; padding: 10px 12px; min-width: 0; transition: all .6s var(--ease); }
.app-cards small { display: block; font-size: .72rem; line-height: 1.3; color: var(--mute-dark); transition: color .6s; }
.app-cards strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
.app-chart { flex: 1; min-height: 40px; display: flex; align-items: flex-end; gap: 4%; border: 1px dashed #6d6a61; border-radius: 12px; padding: 12px; transition: all .6s; }
.app-chart i { flex: 1; height: var(--h); border: 1px dashed #6d6a61; border-radius: 5px; transform-origin: bottom; transition: all .7s var(--ease); }
.app-ai { display: flex; align-items: center; gap: 10px; border: 1px dashed #6d6a61; border-radius: 99px; padding: 9px 15px; font-size: .82rem; transition: all .6s; }
.app-ai i { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); flex: none; }

.window:is([data-step="2"], [data-step="3"], [data-step="4"]) .app { background: var(--cream); color: var(--ink); }
.window:is([data-step="2"], [data-step="3"], [data-step="4"]) .app-side { background: var(--cream-2); border-color: transparent; }
.window:is([data-step="2"], [data-step="3"], [data-step="4"]) :is(.app-side b, .app-side s) { background: var(--ink); border: 1px solid var(--ink); }
.window:is([data-step="2"], [data-step="3"], [data-step="4"]) .app-side s { opacity: .22; }
.window:is([data-step="2"], [data-step="3"], [data-step="4"]) .app-cta { background: var(--ember); border: 1px solid var(--ember); }
.window:is([data-step="2"], [data-step="3"], [data-step="4"]) :is(.app-cards div, .app-chart, .app-ai) { background: #f5f0e4; border: 1px solid transparent; }
.window:is([data-step="2"], [data-step="3"], [data-step="4"]) .app-cards small { color: var(--mute-light); }
.window:is([data-step="2"], [data-step="3"], [data-step="4"]) .app-chart i { background: var(--ink); border: 1px solid var(--ink); }
.window:is([data-step="2"], [data-step="3"], [data-step="4"]) .app-chart i:last-child { background: var(--ember); border-color: var(--ember); }
.window[data-step="0"] .app { opacity: 0; transform: scale(.96); }

.layer { position: absolute; opacity: 0; transform: translateY(18px); transition: opacity .45s, transform .6s var(--ease); pointer-events: none; }
.window[data-step="0"] .notes, .window[data-step="2"] .code, .window[data-step="3"] .deploy, .window[data-step="4"] .toast { opacity: 1; transform: none; transition-delay: .18s; }
.notes { inset: 0; padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 12px; font-size: .94rem; }
.bubble { max-width: 80%; padding: 11px 16px; border-radius: 16px; }
.bubble.you { background: var(--ink-3); align-self: flex-start; }
.bubble.me { background: var(--cream); color: var(--ink); align-self: flex-end; }
.notes ul { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.notes li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); margin-right: 10px; }
.code { right: 12px; bottom: 12px; width: min(90%, 390px); background: rgba(22, 22, 22, .97); color: var(--cream); border: 1px solid var(--line); border-radius: 13px; padding: 16px 18px; font: 12.5px/1.75 ui-monospace, "Cascadia Code", Consolas, monospace; overflow: hidden; box-shadow: 0 12px 30px -16px rgba(0,0,0,.5); }
.code span { color: var(--ember); }
.deploy { right: 14px; bottom: 14px; background: var(--ink); color: var(--cream); border-radius: 14px; padding: 15px 20px; font-size: .88rem; box-shadow: 0 12px 30px -16px rgba(0,0,0,.5); }
.deploy li { padding-block: 3px; }
.deploy li::before { content: "✓"; color: var(--ember); font-weight: 700; margin-right: 10px; }
.toast { right: 14px; top: 62px; max-width: 270px; background: #fff; color: var(--ink); border-radius: 14px; padding: 13px 17px; font-size: .86rem; font-weight: 500; box-shadow: 0 12px 30px -16px rgba(0,0,0,.5); }


/* ---------- expertise : une fiche technique, tout est lisible ---------- */
.expertise { background: var(--ink); color: #f5f3ee; }
.expertise .head p { color: var(--mute-dark); }
.spec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px 50px; padding-block: 42px; border-top: 1px solid var(--line); }
.spec > div > p { font-size: 1.15rem; line-height: 1.45; }
.spec ul { margin-top: 18px; }
.spec li { padding-block: 5px; color: var(--mute-dark); font-size: .98rem; }

/* ---------- services ---------- */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.offer { display: flex; flex-direction: column; padding: clamp(24px, 3.4vw, 46px); border-radius: 28px; background: var(--white); }
.offer > p { margin: 12px 0 28px; font-size: 1.1rem; color: var(--mute-light); }
.list li { display: flex; flex-direction: column; padding-block: 14px; border-top: 1px solid var(--line-ink); }
.list b { font-weight: 600; }
.list span { font-size: .92rem; color: var(--mute-light); }
.offer-dark { background: var(--ink); color: #f5f3ee; }
.offer-dark > p, .offer-dark .list span { color: var(--mute-dark); }
.offer-dark .list li { border-color: var(--line); }
.offer-dark .offer-end { margin: auto 0 0; padding-top: 28px; }
.offer .offer-end .btn { background: var(--ember); color: var(--ink); }
.trace { margin-top: 26px; padding: 22px; border-radius: 18px; background: var(--paper); }
.trace li svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.trace-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: .82rem; color: var(--mute-light); }
.trace-top em { font-style: normal; color: var(--ember-text); white-space: nowrap; }
.trace-goal { font-family: var(--sans); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.3; margin: 18px 0 22px; }
.trace li { display: flex; align-items: center; gap: 15px; padding: 11px 13px; border-radius: 14px; border: 1px solid transparent; opacity: .72; transition: opacity .4s, background-color .4s, border-color .4s; }
.trace li b { display: block; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.trace li span { display: block; font-size: .82rem; color: var(--mute-light); }
.trace li.done { opacity: .8; }
.trace li.active { opacity: 1; background: #fff; }
.trace li.active svg { color: var(--ember); }
.trace li.human.active { border-color: var(--ember-text); }
.trace li.human.active svg { color: var(--ember-text); }


/* ---------- engagement ---------- */
.why { background: var(--white); }
.statement { max-width: 940px; margin-inline: auto; font-size: clamp(1.9rem, 4.4vw, 3.4rem); font-weight: 600; line-height: 1.16; letter-spacing: -.035em; }
.js .statement .w { color: #b9b5ab; transition: color .3s linear; }
.js .statement .w.lit { color: var(--ink); }
.pledges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; max-width: 940px; margin: clamp(56px, 7vw, 90px) auto 0; }
.pledges li { padding-top: 20px; border-top: 1px solid var(--line-ink); }
.pledges b { display: block; margin-bottom: 6px; font-weight: 600; }
.pledges span { display: block; font-size: .95rem; color: var(--mute-light); }

/* ---------- questions ---------- */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-list details { border-bottom: 1px solid var(--line-ink); interpolate-size: allow-keywords; }
.faq-list details:first-child { border-top: 1px solid var(--line-ink); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 68px; padding-block: 16px; list-style: none; cursor: pointer; font-size: 1.1rem; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--mute-light); transition: transform .35s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq-list details[open]::details-content { height: auto; }
.faq-list details p { max-width: 62ch; padding-bottom: 24px; color: var(--mute-light); }

/* ---------- contact ---------- */
.contact { padding: clamp(90px, 13vw, 170px) var(--side); background: var(--ink); color: #f5f3ee; color-scheme: dark; }
.contact-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.contact-head p { max-width: 34em; margin: 18px auto 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--mute-dark); text-wrap: balance; }
.contact .btn { background: var(--ember); color: var(--ink); }
.contact .btn:hover { background: #ff7a4d; }
.contact .more { color: #f5f3ee; }
.contact :focus-visible, .expertise :focus-visible, .offer-dark :focus-visible { outline-color: var(--ember); }


.sent { max-width: 560px; margin-inline: auto; text-align: center; animation: rise .6s var(--ease) both; }
.sent svg { width: 44px; height: 44px; fill: none; stroke: var(--ember); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sent h3 { margin: 14px 0 12px; }
.sent h3:focus { outline: 0; }
.sent > p { margin-bottom: 30px; color: var(--mute-dark); }
.actions button.btn { border: 0; }

/* ---------- compléments de parcours ---------- */
.step-bar { display: none; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; margin-left: 18px; text-underline-offset: 3px; }
.foot p { display: flex; flex-wrap: wrap; align-items: center; }
.foot p:first-child { min-height: 44px; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 26px var(--side); font-size: .78rem; color: var(--mute-light); }

/* ---------- adaptations ---------- */
@media (max-width: 900px) {
  .nav-in { gap: 12px; }
  .menu-btn { display: grid; }
  .theme-btn { margin-right: -8px; }
  .nav nav { display: none; position: absolute; left: 0; right: 0; top: 52px; flex-direction: column; gap: 0; padding: 6px 22px 20px; background: var(--paper); border-bottom: 1px solid var(--line-ink); }
  .nav.open { background: var(--paper); }
  .nav.open nav { display: flex; }
  .nav nav a { min-height: 52px; font-size: 1.3rem; font-weight: 600; color: var(--ink); }
  .offers, .method-grid, .spec { grid-template-columns: minmax(0, 1fr); }
  .brief-card, .pledges { grid-template-columns: 1fr; gap: 22px; }
  .method-grid { gap: 14px; }
  .stagebox { order: -1; }
  .canvas { height: clamp(250px, 38svh, 420px); }
  .steps li { display: none; }
  .steps li.on { display: block; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .tabs { border-radius: 16px; }
  .rig { aspect-ratio: 16 / 12; margin-inline: -10px; }
  .win { font-size: 2.3cqw; }
  .m-status span:first-child { display: none; }
  .brief-card { margin-top: 32px; }
  .method .head { margin-bottom: 12px; }
  .method .head h2 { font-size: 1.55rem; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-main { padding: 12px; gap: 9px; }
  .ph { font-size: 1.1rem; }
  .app-cards { gap: 6px; }
  .app-cards div { padding: 7px; }
  .app-cards small { font-size: .65rem; }
  .app-cards strong { font-size: 1.25rem; }
  .code { right: 8px; width: calc(100% - 16px); font-size: 10.5px; padding: 11px 12px; }
  .notes { padding: 14px; gap: 8px; font-size: .82rem; }
  .bubble { max-width: 90%; padding: 8px 12px; }
}
@media (max-width: 360px) {
  .nav .btn-small { display: none; }
}
@media (max-height: 700px) and (min-width: 901px) {
  .method .head h2 { font-size: 2rem; }
  .method .head { margin-bottom: 14px; }
  .canvas { height: 52vh; }
}
@media (pointer: coarse) {
  .tabs button { min-height: 44px; }
  .send { width: 44px; height: 44px; }
  .btn-small { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after, .faq-list details::details-content { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- compléments : petits écrans ---------- */
@media (max-width: 900px) {
  .method { height: 360vh; }
  .step-bar { display: flex; gap: 6px; margin-bottom: 4px; }
  .step-bar i { flex: 1; height: 3px; border-radius: 3px; background: var(--line-ink); transition: background-color .4s; }
  .step-bar i.on { background: var(--ink); }
  html.menu-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .foot { flex-direction: column; }
  .foot a:first-child { margin-left: 0; }
}


/* ---------- contact en conversation ---------- */
@media (max-width: 560px) {
}


/* ---------- boutons ----------
   Trois gestes, un par rôle. Agir : la pilule prend la forme d'une feuille du logo.
   Répondre : la proposition prend la forme de la bulle qu'elle va envoyer. Aller : le trait se dessine.
   Tous s'enfoncent à l'appui. Le survol ne s'applique qu'aux appareils qui ont un pointeur. */
:root { --spring: cubic-bezier(.34, 1.45, .64, 1); }
.btn { --r: 24px; border-radius: var(--r); }
.btn-small { --r: 17px; }
.btn, .talk-chips button, .send, .theme-btn, .menu-btn, .tabs button {
  transition: scale .45s var(--spring), border-radius .4s var(--ease), background-color .25s, border-color .25s, color .25s, opacity .25s;
}
:is(.btn, .send, .theme-btn, .menu-btn, .tabs button):active, .talk-chips button:active { scale: .955; transition-duration: .09s, .4s, .25s, .25s, .25s, .25s; }
.btn:focus-visible { border-top-right-radius: 4px; }

.more, .nav nav a {
  --sous: transparent;
  background: linear-gradient(currentColor, currentColor) 100% calc(50% + .82em) / 0 1.5px no-repeat, linear-gradient(var(--sous), var(--sous)) 0 calc(50% + .82em) / 100% 1px no-repeat;
  transition: background-size .45s var(--ease), color .2s;
}
.more:hover { text-decoration: none; }
.nav nav a { background-position: 100% calc(50% + .95em), 0 calc(50% + .95em); }
.nav nav a.here { background-size: 100% 1.5px, 100% 1px; background-position: 0 calc(50% + .95em), 0 calc(50% + .95em); }
:is(.more, .nav nav a):focus-visible { background-size: 100% 1.5px, 100% 1px; }

.send { overflow: hidden; }
.send svg { transition: translate .4s var(--spring); }
.theme-btn svg { transition: rotate .6s var(--spring); }
.steps button b { display: inline-block; transition: translate .4s var(--ease); }
.faq-list summary::after { transition: rotate .45s var(--spring), color .2s; }
.faq-list details[open] summary::after { transform: none; rotate: 45deg; }

/* onglets : une seule pastille, qui glisse de l'un à l'autre */
.tabs { position: relative; }
.tabs button { position: relative; z-index: 1; }
.tab-pill { position: absolute; z-index: 0; left: 0; top: 3px; bottom: 3px; border-radius: 99px; background: #fff; box-shadow: 0 1px 4px rgba(22, 20, 14, .16); transition: translate .5s var(--ease), width .5s var(--ease); pointer-events: none; }
.tabs:has(.tab-pill) button[aria-selected="true"] { background: none; box-shadow: none; }

@media (hover: hover) {
  .btn:hover { border-top-right-radius: 4px; }
  .more:hover { background-size: 100% 1.5px, 100% 1px; background-position: 0 calc(50% + .82em), 0 calc(50% + .82em); }
  .nav nav a:hover { background-size: 100% 1.5px, 100% 1px; background-position: 0 calc(50% + .95em), 0 calc(50% + .95em); }
  .send:hover svg { translate: 0 -3px; }
  .theme-btn:hover svg { rotate: 45deg; }
  .steps li:not(.on) button:hover { color: var(--ink); }
  .steps li:not(.on) button:hover b { translate: 7px 0; }
  .faq-list details:not([open]) summary:hover::after { rotate: 90deg; color: var(--ink); }
  .menu-btn[aria-expanded="false"]:hover i:first-of-type { transform: translateY(-1.5px); }
  .menu-btn[aria-expanded="false"]:hover i:last-of-type { transform: translateY(1.5px); }
}
@media (pointer: coarse) {
  .btn-small { --r: 22px; }
}
@media (max-width: 900px) {
  .nav nav a, .nav nav a.here, .nav nav a:hover { background: none; }
}
@media (max-width: 560px) {
  .tab-pill { border-radius: 13px; }
}


/* ---------- expertise : la planète et ses cinq couches ---------- */
.planet { display: none; }
.js .expertise { overflow: clip; }
.js .expert { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(30px, 5vw, 70px); }
.js .planet { display: flex; flex-direction: column; justify-content: center; --tall: min(520px, 70vh); position: sticky; top: calc(50vh + 8px - var(--tall) / 2); align-self: start; margin-left: -70px; }
.js .specs { padding-bottom: 8vh; }
.planet figcaption { margin-top: 6px; text-align: center; font-size: .86rem; color: var(--mute-dark); }
.js .spec { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 14px; min-height: 50svh; padding-block: 34px; }
.js .spec:first-child { border-top: 0; }
.js .spec h3 { transition: color .4s; }
.js .spec.lit h3 { color: var(--ember); }
@media (max-width: 900px) {
  .js .expert { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .js .planet { z-index: 2; top: 52px; margin: 0 -22px; padding-bottom: 12px; background: var(--ink); border-bottom: 1px solid var(--line); }
  .js .specs { padding-bottom: 0; }
  .js .spec { min-height: 46svh; }
}


/* ---------- ouverture : l'idée, la maquette, le produit ---------- */
.js .hero > .actions { display: none; }
.hero-cta, .hs { display: none; }
.js .hero { padding-inline: var(--side); padding-bottom: clamp(70px, 9vw, 130px); }
.js .hero > h1 { font-size: clamp(2.7rem, 7.4vw, 5.6rem); }
.js .hero > p { margin: 16px auto 24px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.idea-pause { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; color: var(--hi); transition: scale .45s var(--spring); }
.idea-pause:active { scale: .92; }
.idea-pause svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.idea-pause .p2 { fill: currentColor; stroke-width: 1.5; }
.idea-pause[aria-pressed="false"] .p2, .idea-pause[aria-pressed="true"] .p1 { display: none; }

/* la scène */
.hs { --st: #161615; --line-st: rgba(245, 243, 238, .13); --lo: #a8a49a; --hi: #f5f3ee; --wb: #f5f3ee; --cb: #fff; --tx: #161615; --mu: #66635c; --ln: rgba(22, 22, 21, .12); --sk: #e3dfd5; --ac: #f45d2b; --on: #161615; }
.js .hs { display: block; position: relative; overflow: hidden; border-radius: 30px; background: var(--st); color: var(--hi); text-align: left; animation: rise 1.1s .9s var(--ease) both; }
.hs-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 0 14px 0 26px; font-size: .84rem; color: var(--lo); }
.hs-steps { display: flex; gap: 22px; }
.hs-steps li { position: relative; padding-left: 15px; color: var(--lo); transition: color .4s; }
.hs-steps li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color .4s, border-color .4s; }
.hs-steps li.on { color: var(--hi); }
.hs-steps li:is(.on, .past)::before { background: var(--ac); border-color: var(--ac); }
.hs-name { margin-left: auto; }
.hs-head .idea-pause { margin: 0 2px 0 -6px; }
.hs-head .idea-pause:focus-visible { outline-color: var(--ac); outline-offset: -4px; }
.hs-name[hidden] + .idea-pause { margin-left: auto; }
.hs .btn { min-height: 44px; padding: 0 20px; font-size: .9rem; background: var(--ac); color: var(--on); white-space: nowrap; animation: rise .5s var(--ease) both; }
.hs-canvas { position: relative; height: 408px; }
.hs-phrase { position: absolute; inset: 0 0 70px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: .1em .27em; max-width: 17.5em; margin: 0 auto; padding-inline: 18px; font-size: calc(clamp(1.5rem, 3.5vw, 2.6rem) * var(--fs, 1)); line-height: 1.25; letter-spacing: -.028em; font-weight: 500; color: var(--lo); }
.hs-phrase b { font-weight: 600; color: var(--lo); transition: color .6s; }
.hs-phrase .w { opacity: 0; transform: translateY(12px); overflow-wrap: anywhere; }
.hs:is([data-state="write"], [data-state="mark"]) .w { opacity: 1; transform: none; transition: opacity .5s calc(var(--n) * 75ms), transform .6s calc(var(--n) * 75ms) var(--ease); }
.hs[data-state="mark"] .hs-phrase b { color: var(--ac); }
.hs[data-state="make"] .w { opacity: 1; transform: none; color: transparent; transition: color .35s; }
.hs[data-state="make"] .hs-phrase b { visibility: hidden; }
.h-clone { position: absolute; z-index: 6; transform-origin: 0 0; white-space: nowrap; pointer-events: none; will-change: transform; }

.hs-layer { position: absolute; inset: 0; }
.hs-layer.final { clip-path: inset(50%); }
.hs[data-state="build"] .final, .hs[data-state="live"] .final { visibility: visible; }
.hs:not([data-state="build"], [data-state="live"]) .final { visibility: hidden; }
.hs[data-state="live"] .final { clip-path: none; }
.hs[data-state="out"] .hs-layer { opacity: 0; transition: opacity .5s; }
.hs[data-state="out"] .final { visibility: visible; clip-path: none; }
.hs[data-state="out"] .wire { visibility: hidden; }

.h-main { position: absolute; left: 26px; top: 2px; right: 292px; bottom: 26px; display: flex; flex-direction: column; border-radius: 18px; background: var(--wb); color: var(--tx); overflow: hidden; }
.h-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; font-size: .76rem; color: var(--mu); }
.h-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--sk); }
.h-bar span { margin-left: 10px; }
.h-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 46px 1.6fr 1fr; gap: 10px; padding: 0 10px 10px; }
.h-rail { display: flex; flex-direction: column; align-items: center; gap: 13px; padding-top: 8px; }
.h-rail u { width: 26px; height: 8px; border-radius: 8px; background: var(--sk); }
.h-rail u:first-child { height: 26px; border-radius: 8px; background: var(--tx); margin-bottom: 5px; }
.h-panel, .h-aside { min-width: 0; padding: 18px 20px; border-radius: 13px; background: var(--cb); overflow: hidden; }
.k-site .h-rail { display: none; }
.h-body.k-site { grid-template-columns: 1.6fr 1fr; padding-left: 10px; }
.k-site .h-panel { padding: 0; }
.hs [data-slot] { display: inline-block; max-width: 100%; font-size: 1.3rem; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.h-aside [data-slot], .h-phone [data-slot] { font-size: 1.08rem; }
.h-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.h-top [data-slot] { min-width: 0; }
.h-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 16px; border-radius: 99px; background: var(--ac); color: var(--on); font-size: .82rem; font-weight: 600; }
.h-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; border-top: 1px solid var(--ln); font-size: .88rem; color: var(--tx); }
.h-aside .h-row, .h-phone .h-row { min-height: 38px; font-size: .84rem; }
.hs :is([data-slot], strong) + .h-row, .h-top + .h-row { border-top: 0; }
.h-row em { font-style: normal; color: var(--mu); white-space: nowrap; }
.hs strong { display: block; margin: 4px 0 10px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; color: var(--tx); }
.h-pill { position: relative; display: grid; padding: 4px 12px; border-radius: 99px; background: var(--wb); font-size: .78rem; }
.h-pill i { grid-area: 1 / 1; font-style: normal; text-align: center; transition: opacity .35s; }
.h-pill i + i { opacity: 0; }
.h-pill.flip { transition: background-color .4s calc(var(--n, 0) * .12s), color .4s calc(var(--n, 0) * .12s); }
.h-pill.flip i { transition-delay: calc(var(--n, 0) * .12s); }
.hs[data-state="live"] .final .h-pill.flip { background: var(--tx); color: var(--wb); }
.hs[data-state="live"] .final .h-pill.flip i:first-child { opacity: 0; }
.hs[data-state="live"] .final .h-pill.flip i + i { opacity: 1; }
.h-switch { flex: none; position: relative; width: 38px; height: 22px; border-radius: 22px; background: var(--tx); text-decoration: none; }
.h-switch::after { content: ""; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--cb); }
.h-bars { display: flex; align-items: flex-end; gap: 7px; height: 128px; margin-top: 14px; }
.h-bars i { flex: 1; height: var(--h); border-radius: 6px; background: var(--sk); transform-origin: bottom; transition: height .8s var(--ease); }
.h-bars i:last-child { background: var(--ac); }
.h-doc s { display: block; height: 9px; margin-bottom: 11px; border-radius: 9px; background: var(--sk); transform-origin: left; }
.h-doc s:nth-child(2) { width: 84%; }
.h-doc s:nth-child(3) { width: 92%; }
.h-doc s:nth-child(4) { width: 60%; }
.h-doc s:nth-child(5) { width: 74%; }
.h-panel .h-doc { margin: 14px 0; }
.h-aside .h-doc { margin: 16px 0 10px; }
.hs[data-state="build"] .final .k-tool .h-panel .h-doc s { transform: scaleX(0); }
.hs[data-state="live"] .final .k-tool .h-panel .h-doc s { transition: transform .7s var(--ease); }
.hs[data-state="live"] .final .k-tool .h-panel .h-doc s:nth-child(2) { transition-delay: .1s; }
.hs[data-state="live"] .final .k-tool .h-panel .h-doc s:nth-child(3) { transition-delay: .2s; }
.hs[data-state="live"] .final .k-tool .h-panel .h-doc s:nth-child(n+4) { transition-delay: .3s; }
.h-cover { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; height: 100%; padding: 26px; background: var(--tx); color: var(--wb); }
.h-cover [data-slot] { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.04em; }
.h-cover s { width: 78%; height: 9px; margin-top: 10px; border-radius: 9px; background: var(--wb); opacity: .22; }
.h-cover s + s { width: 54%; }
.h-cover .h-btn { margin-top: 20px; }
.h-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.h-tiles i { aspect-ratio: 1 / .92; border-radius: 10px; background: var(--sk); }

.h-phone { position: absolute; right: 30px; top: 2px; bottom: 26px; width: 236px; display: flex; flex-direction: column; align-items: flex-start; padding: 40px 20px 20px; border-radius: 34px; background: var(--cb); color: var(--tx); overflow: hidden; }
.h-notch { position: absolute; left: 50%; top: 12px; width: 70px; height: 18px; margin-left: -35px; border-radius: 18px; background: var(--tx); }
.h-phone > * { max-width: 100%; }
.h-phone .h-row, .h-phone .h-field, .h-phone .h-line, .h-phone .h-days { width: 100%; }
.h-phone > .h-btn { width: 100%; min-height: 42px; margin-top: auto; }
.h-line { margin-top: 16px; }
.h-line li { position: relative; padding: 0 0 22px 26px; font-size: .88rem; }
.h-line li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--ac); transition: background-color .5s; }
.h-line li:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 19px; bottom: -3px; width: 2px; background: var(--ln); }
.h-line .late { color: var(--mu); transition: color .5s; }
.h-line .late::before { background: var(--sk); }
.hs[data-state="live"] .final .h-line .late { color: var(--tx); }
.hs[data-state="live"] .final .h-line .late::before { background: var(--ac); }
.h-field { margin-top: 8px; padding: 8px 13px; border-radius: 12px; border: 1px solid var(--ln); font-size: .95rem; }
.h-field span { display: block; font-size: .72rem; color: var(--mu); }
.h-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 14px; }
.h-days i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; font-style: normal; font-size: .78rem; color: var(--mu); background: var(--wb); transition: background-color .5s, color .5s; }
.hs[data-state="live"] .final .day { background: var(--ac); color: var(--on); }
.h-note { position: absolute; right: 190px; bottom: 100px; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 16px; background: var(--tx); color: var(--wb); font-size: .86rem; font-weight: 500; opacity: 0; transform: translateY(14px) scale(.96); transition: none; }
.h-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--ac); }
.hs[data-state="live"] .final .h-note { opacity: 1; transform: none; transition: opacity .45s .45s, transform .6s .45s var(--spring); }
.hs-cursor { position: absolute; left: 0; top: 0; z-index: 7; width: 24px; height: 24px; opacity: 0; pointer-events: none; transform-origin: 3px 3px; }
.hs-cursor path { fill: var(--tx); stroke: var(--wb); stroke-width: 1.6; stroke-linejoin: round; }
.hs:not([data-state="build"], [data-state="live"]) .hs-cursor { visibility: hidden; }

/* la maquette : mêmes blocs, seulement leurs contours */
.wire :is(.h-main, .h-panel, .h-aside, .h-phone, .h-cover, .h-btn, .h-pill, .h-bars i, .h-tiles i, .h-days i, .h-field, .h-rail u, s, .h-switch, .h-notch, .h-bar i) { background: none !important; box-shadow: inset 0 0 0 1px var(--line-st); opacity: 1; }
.hs .wire :is(.h-main, .h-phone) { box-shadow: none; outline: 1px dashed rgba(245, 243, 238, .34); outline-offset: -1px; }
.wire :is(.h-row, .h-field) { border-color: var(--line-st); }
.wire, .wire :is(span, em, i, strong, li, .h-field) { color: transparent !important; }
.hs .wire .h-line li::before, .hs .wire .h-line li::after, .hs .wire .h-switch::after { background: var(--line-st); }
.wire .h-note { visibility: hidden; }
.wire [data-slot] { color: var(--hi); opacity: 0; }
.wire [data-slot].in { opacity: 1; }
.hs .wire.hs-layer :is(.h-main, .h-phone) { opacity: 0; }
.hs:is([data-state="make"], [data-state="build"]) .wire.hs-layer :is(.h-main, .h-phone) { opacity: 1; transition: opacity .8s .15s; }
.hs:is([data-state="make"], [data-state="build"]) .wire.hs-layer .h-phone { transition-delay: .4s; }

@media (hover: hover) {
  }
@media (max-width: 980px) {
  .h-main { right: 236px; }
  .h-phone { width: 200px; right: 22px; padding-inline: 16px; }
  .h-note { right: 150px; }
  .h-body, .h-body.k-site { grid-template-columns: 1.4fr 1fr; padding-left: 10px; }
  .h-rail { display: none; }
}
@media (max-width: 700px) {
  .js .hero { padding-inline: 14px; }
      .hs { border-radius: 24px; }
  .hs-head { padding: 0 8px 0 18px; }
  .hs-steps { align-items: center; gap: 10px; }
  .hs-steps li:not(.on) { width: 7px; height: 20px; padding: 0; font-size: 0; }
  .hs-name { display: none; }
  .hs-head .idea-pause { margin-left: auto; }
  .hs .btn { padding: 0 14px; font-size: .82rem; }
  .hs-canvas { height: 510px; }
  .hs-phrase { max-width: 14em; }
  .h-main { left: 12px; right: 12px; bottom: auto; height: 330px; }
  .h-body, .h-body.k-site { grid-template-columns: 1fr; grid-template-rows: 1fr 92px; gap: 8px; padding: 0 8px 8px; }
  .h-panel, .h-aside { padding: 12px 14px; }
  .k-site .h-panel { padding: 0; }
  .h-cover { padding: 18px; }
  .h-row { min-height: 35px; font-size: .84rem; }
  .h-panel .h-row:nth-child(n+5) { display: none; }
  .h-panel .h-doc s:nth-child(n+4) { display: none; }
  .hs strong { font-size: 1.25rem; margin-bottom: 4px; }
  .h-panel .h-doc { margin: 8px 0 4px; }
  .h-panel strong { display: none; }
  .h-aside .h-doc s:nth-child(n+3) { display: none; }
  .h-bars, .h-aside .h-row ~ .h-row { display: none; }
  .h-aside .h-doc { margin: 12px 0 0; }
  .h-aside .h-doc + .h-row { display: none; }
  .h-tiles { grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
  .h-tiles i { aspect-ratio: auto; height: 36px; }
  .h-phone { left: 50%; right: auto; top: 346px; bottom: -190px; width: 232px; margin-left: -116px; border-radius: 30px 30px 0 0; }
  .h-note { left: 24px; right: 24px; bottom: 18px; justify-content: center; background: var(--ac); color: var(--on); }
  .h-note i { background: var(--on); }
}

/* la scène, fin de la préqualification : plan et récapitulatif */
.q-end { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4.5vw, 64px); color: var(--hi); }
.q-end > div { animation: rise .7s var(--ease) both; }
.q-end .hp-right { animation-delay: .12s; }
.hs-ask h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.hs-ask h2:focus { outline: 0; }
.hp-reply { max-width: 36em; margin-top: 12px; color: var(--lo); }
.hp-list { counter-reset: p; margin-top: 22px; }
.hp-list li { counter-increment: p; position: relative; padding: 14px 0 14px 36px; border-top: 1px solid var(--line-st); animation: rise .6s var(--ease) both; }
.hp-list li:nth-child(1) { animation-delay: .15s; }
.hp-list li:nth-child(2) { animation-delay: .25s; }
.hp-list li:nth-child(3) { animation-delay: .35s; }
.hp-list li:nth-child(4) { animation-delay: .45s; }
.hp-list li::before { content: counter(p); position: absolute; left: 2px; top: 14px; font-weight: 600; color: var(--ac); }
.hp-list b { display: block; font-weight: 600; }
.hp-list span { display: block; font-size: .94rem; line-height: 1.45; color: var(--lo); }
.hp-right { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; border-radius: 22px; background: rgba(245, 243, 238, .06); }
.hs .hp-right .btn { width: 100%; min-height: 48px; margin-top: auto; font-size: 1rem; animation: none; }
.hp-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; width: 100%; margin-top: 6px; }
.hp-links .more { font-size: .95rem; color: var(--hi); }
.hp-fine { width: 100%; margin-top: 8px; text-align: center; font-size: .8rem; color: var(--lo); }
.hs :focus-visible { outline-color: var(--ac); }
@media (max-width: 900px) {
  .q-end { grid-template-columns: minmax(0, 1fr); }
  .hp-right { padding: 20px 16px; }
}

/* bouton principal : liseré de lumière */
.js .hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 18px; margin: 6px 0 clamp(34px, 4.6vh, 50px); animation: rise 1s .7s var(--ease) both; }
.lumen { position: relative; min-height: 64px; padding: 0 36px; border-radius: 32px; background: #060607; color: #f5f3ee; font-size: 1.1rem; font-weight: 600; transition: scale .45s var(--spring); }
.lumen:active { scale: .965; transition-duration: .09s; }
.lumen canvas { position: absolute; left: -48px; top: -48px; width: calc(100% + 96px); height: calc(100% + 96px); pointer-events: none; }
.lumen span { position: relative; display: inline-flex; align-items: center; gap: 12px; }
.lumen svg { width: 18px; height: 19px; }
.lumen:focus-visible { outline-offset: 7px; }


/* la scène, préqualification : un formulaire en étapes */
.hs.asking .hs-head { display: none; }
.hs-ask { display: flex; flex-direction: column; min-height: 466px; padding: 0 44px 34px; animation: rise .6s var(--ease) both; }
.q-top { display: flex; justify-content: space-between; align-items: center; min-height: 66px; font-size: .88rem; color: var(--lo); }
.q-close { min-height: 44px; padding: 0 4px; font-size: .9rem; color: var(--hi); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.q-close:hover { text-decoration-color: currentColor; }
.q-bar { height: 2px; border-radius: 2px; background: var(--line-st); overflow: hidden; }
.q-bar i { display: block; height: 100%; background: var(--ac); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.q-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 30px 0 18px; }
.q-step { width: 100%; max-width: 860px; margin-inline: auto; }
.q-step h2 { font-size: clamp(1.55rem, 3.1vw, 2.3rem); line-height: 1.14; }
.hs-ask h2:focus { outline: 0; }
.q-help { max-width: 40em; margin-top: 10px; color: var(--lo); }
.q-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; margin-top: 24px; }
.q-choice { position: relative; display: flex; cursor: pointer; }
.q-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; pointer-events: none; }
.q-choice span { flex: 1; display: flex; align-items: center; min-height: 58px; padding: 10px 20px; border-radius: 18px; border: 1px solid #6f6b65; line-height: 1.3; transition: background-color .25s, border-color .25s, color .25s, border-radius .4s var(--ease), scale .45s var(--spring); }
.q-choice:active span { scale: .975; transition-duration: .25s, .25s, .25s, .4s, .09s; }
.q-choice input:checked + span { background: var(--hi); border-color: var(--hi); color: var(--st); font-weight: 600; }
.q-choice input:focus-visible + span { outline: 2px solid var(--ac); outline-offset: 3px; }
.q-area, .q-field input { width: 100%; border: 1px solid #6f6b65; border-radius: 18px; background: rgba(245, 243, 238, .05); color: var(--hi); font: inherit; letter-spacing: inherit; caret-color: var(--ac); }
.q-area { margin-top: 22px; min-height: 148px; padding: 16px 20px; line-height: 1.5; resize: vertical; font-size: 1.1rem; }
.q-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 24px; }
.q-field label { display: block; margin-bottom: 7px; font-size: .9rem; color: var(--lo); }
.q-field input { min-height: 52px; padding: 0 18px; border-radius: 16px; }
:is(.q-area, .q-field input):focus-visible { outline: 0; border-color: var(--hi); box-shadow: 0 0 0 1px var(--hi); }
:is(.q-area, .q-field input)[aria-invalid="true"] { border-color: #ffab8f; box-shadow: 0 0 0 1px #ffab8f; }
.q-msg { display: block; margin-top: 6px; font-size: .86rem; color: #ffab8f; }
.q-msg:empty { display: none; }
.q-error { min-height: 1.5em; text-align: center; font-size: .92rem; color: #ffab8f; }
.q-fine { margin-top: 18px; font-size: .82rem; color: var(--lo); }
.q-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 860px; margin: 10px auto 0; }
.q-foot .more { color: var(--hi); }
.q-foot .btn { margin-left: auto; }
.hs .hs-ask .btn { min-height: 50px; padding: 0 30px; font-size: 1rem; animation: none; }
.hs-ask.end .q-body { justify-content: flex-start; padding-bottom: 6px; }
.q-advice { max-width: 36em; margin-top: 14px; color: var(--lo); }
.q-advice b { color: var(--hi); font-weight: 600; }
.hp-right dl { width: 100%; margin-bottom: 20px; }
.hp-right dl > div { display: grid; grid-template-columns: 6.4em minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; padding-block: 4px; border-top: 1px solid var(--line-st); }
.hp-right dl > div:first-child { border: 0; }
.hp-right dt { font-size: .84rem; color: var(--lo); }
.hp-right dd { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; font-size: .94rem; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; }
.hp-right .edit { min-height: 40px; font-size: .84rem; color: var(--hi); text-decoration: underline; text-underline-offset: 3px; }
.q-done { max-width: 620px; margin-inline: auto; text-align: center; }
.q-done .q-help { margin-inline: auto; }
.q-done h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.hs-ask-end { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 28px; margin-top: 26px; }
.hs-ask-end .more { color: var(--hi); }
@media (hover: hover) {
  .q-choice:hover span { border-color: var(--hi); border-bottom-right-radius: 5px; }
}
@media (max-width: 700px) {
  .hs-ask { padding: 0 18px 22px; min-height: 520px; }
  .q-end { display: flex; flex-direction: column; gap: 0; }
  .q-end .hp-left { display: contents; }
  .q-end .hp-right { order: 2; margin-top: 22px; }
  .q-end .hp-list { order: 3; }
  .q-choices, .q-fields { grid-template-columns: minmax(0, 1fr); }
  .q-choices { gap: 8px; }
  .q-choice span { min-height: 50px; padding: 8px 17px; border-radius: 16px; }
  .q-body { padding: 22px 0 12px; }
}

/* second bouton et agenda */
.cta-call { --r: 32px; display: inline-flex; align-items: center; justify-content: center; min-height: 64px; padding: 0 34px; border-radius: var(--r); border: 1.5px solid #8f8b82; color: var(--ink); font-size: 1.1rem; font-weight: 600; text-decoration: none; transition: scale .45s var(--spring), border-radius .4s var(--ease), border-color .25s; }
.cta-call:active { scale: .965; transition-duration: .09s, .4s, .25s; }
.cta-call:focus-visible { outline-offset: 4px; }
@media (hover: hover) {
  .cta-call:hover { border-color: var(--ink); border-top-right-radius: 5px; }
}
.hs-cal { padding: 0 20px 22px; animation: rise .6s var(--ease) both; }
.hs-cal .q-top { gap: 16px; padding-inline: 10px; border-bottom: 1px solid var(--line-st); margin-bottom: 22px; }
.hs-cal h2 { font-size: 1.15rem; letter-spacing: -.02em; color: var(--hi); }
.hs-cal h2:focus { outline: 0; }
#my-cal-inline-30min { width: 100%; min-height: 480px; overflow: hidden; border-radius: 16px; }
#my-cal-inline-30min iframe { min-height: 590px; }
.hero { overflow-x: clip; }
.cal-wait { padding: 12px 0; text-align: center; color: var(--lo); }
.cal-out { margin-top: 14px; text-align: center; font-size: .84rem; color: var(--lo); }
.cal-out a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hi); text-underline-offset: 3px; }
@media (max-width: 700px) {
  .js .hero-cta { flex-direction: column; }
  .lumen, .cta-call { width: min(100%, 290px); }
  .cta-call { min-height: 58px; }
  .hs-cal { padding: 0 10px 16px; }
  #my-cal-inline-30min iframe { min-height: 720px; }
  .hs-cal .q-top { padding-inline: 8px; }
}

/* champ piège, invisible pour les personnes */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.q-fine a { color: var(--hi); text-underline-offset: 3px; }

/* pages légales */
.page { max-width: 760px; margin-inline: auto; padding: clamp(44px, 8vh, 90px) 22px 110px; }
.page h1 { font-size: clamp(2.2rem, 5.4vw, 3.4rem); }
.page .stamp { margin-top: 14px; color: var(--mute-light); }
.page h2 { margin: 46px 0 12px; font-size: clamp(1.25rem, 2.4vw, 1.55rem); letter-spacing: -.02em; }
.page p, .page li { color: var(--mute-light); }
.page p + p { margin-top: 12px; }
.page ul { margin-top: 10px; padding-left: 1.1em; list-style: disc; }
.page li { padding-block: 4px; }
.page b { font-weight: 600; color: var(--ink); }
.page a { color: var(--ember-text); text-underline-offset: 3px; }
.page dl { margin-top: 20px; }
.page dl > div { display: grid; grid-template-columns: 13em minmax(0, 1fr); gap: 4px 18px; padding-block: 11px; border-top: 1px solid var(--line-ink); }
.page dt { color: var(--mute-light); }
.page mark { padding: 1px 7px; border-radius: 6px; background: #f45d2b; color: #161615; }
@media (max-width: 560px) { .page dl > div { grid-template-columns: 1fr; } }

/* page À propos */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(20px, 4vw, 60px); min-height: calc(100svh - 52px); padding: 20px var(--side) 0; overflow-x: clip; }
.about h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); text-align: left; }
.about p { max-width: 32em; margin-top: 18px; color: var(--mute-light); }
.about .about-lead { margin-top: 24px; font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.45; color: var(--ink); }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.about-art { align-self: end; }
.about-art canvas { display: block; width: min(116%, 96svh); height: auto; aspect-ratio: 420 / 480; margin: 0 -8% 0 auto; touch-action: pan-y; }
.about-ways { padding-top: 60px; }
.about-ways .pledges { max-width: none; margin: 0; }
@media (max-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 34px; }
  .about-art { order: -1; }
  .about-art canvas { width: 108%; margin: 0 -4%; }
  .about-ways { padding-top: 30px; }
}

/* page Portfolio : une mosaïque, une tuile par projet */
.tiles { --rang: clamp(335px, 43svh, 430px); display: grid; grid-template: "bao bao sob sob" var(--rang) "bao bao form face" var(--rang) "poche suite suite face" var(--rang) / minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; max-width: 1640px; margin-inline: auto; padding: 14px 14px 60px; }
.nav-large .nav-in, .foot-large { width: 100%; max-width: 1640px; margin-inline: auto; padding-inline: clamp(22px, 3vw, 44px); }
.t-title { max-width: 1640px; margin-inline: auto; padding: clamp(34px, 6vh, 64px) clamp(22px, 3vw, 44px) clamp(10px, 2vh, 22px); font-size: clamp(2.3rem, 5vw, 4.2rem); }
.tile { --p: 1; position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 30px; overflow: hidden; background: var(--white); }
.t-text { position: relative; z-index: 2; padding: clamp(20px, 2vw, 32px) clamp(20px, 2vw, 34px) 0; }
.t-text h2 { font-size: clamp(1.5rem, 2vw, 2.1rem); letter-spacing: -.035em; line-height: 1.08; }
.t-text p { margin-top: 5px; font-size: clamp(.98rem, 1.15vw, 1.15rem); letter-spacing: -.01em; }
.t-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-top: 14px; }
.tile img { display: block; height: auto; }
.t-stage { position: relative; flex: 1; min-height: 0; margin-top: clamp(18px, 2.4vh, 30px); }
.t-plus { position: absolute; right: 18px; bottom: 18px; z-index: 5; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #161615; color: #fff; transition: scale .45s var(--spring), rotate .45s var(--spring); }
.t-plus:active { scale: .92; }
.t-plus svg, .t-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* Bao CRM, dans sa couleur */
.t-bao { grid-area: bao; background: #d9f24f; color: #14160a; }
.t-bao .t-text { padding: clamp(24px, 3.4vw, 54px) clamp(22px, 3.2vw, 52px) 0; }
.t-bao .t-text h2 { font-size: clamp(2.2rem, 4.4vw, 4.4rem); letter-spacing: -.045em; }
.t-bao .t-text p { font-size: clamp(1.05rem, 1.6vw, 1.45rem); }
.t-bao .btn { background: #14160a; color: #fff; }
.t-bao .more { color: #14160a; }
.tile .t-win { position: absolute; left: clamp(22px, 3.2vw, 52px); top: 0; width: auto; max-width: none; height: 112%; border-radius: 20px 0 0 0; translate: 0 calc((1 - var(--p)) * 90px); box-shadow: 0 -2px 60px -20px rgba(40, 52, 0, .45); }

/* sobary.com, entre deux lumières */
.t-sob { grid-area: sob; background: #e9e5db; color: #161615; }
.t-sob .btn { background: #161615; color: #fff; }
.t-sob .t-text h2 { font-size: clamp(1.7rem, 2.5vw, 2.6rem); }
.t-compare { --x: 50%; position: absolute; inset: 0 clamp(20px, 2vw, 34px) auto; translate: 0 calc((1 - var(--p)) * 60px); border-radius: 18px 18px 0 0; overflow: hidden; touch-action: pan-y; box-shadow: 0 -2px 50px -24px rgba(22, 20, 14, .5); }
.t-compare img { width: 100%; }
.t-over { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.t-line { position: absolute; inset: 0 auto 0 var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); pointer-events: none; }
.t-line::after { content: "‹ ›"; position: absolute; left: 50%; top: 26%; display: grid; place-items: center; width: 46px; height: 46px; margin-left: -23px; padding-bottom: 4px; border-radius: 50%; background: #fff; color: #161615; font-size: 1.25rem; letter-spacing: .12em; text-indent: .12em; line-height: 1; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.t-compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.t-compare:focus-within { outline: 3px solid #b23d12; outline-offset: -3px; }

/* petites tuiles */
.t-form { grid-area: form; background: #f45d2b; color: #161615; }
.t-form .more { color: #161615; }
.t-steps { display: flex; flex-wrap: wrap; align-content: flex-end; gap: 6px; height: 100%; padding: 0 clamp(16px, 1.8vw, 30px) clamp(18px, 1.8vw, 28px); }
.t-steps span { display: flex; align-items: center; min-height: 34px; padding: 0 13px; border-radius: 99px; background: rgba(22, 22, 21, .11); font-size: .92rem; font-weight: 500; translate: 0 calc((1 - var(--p)) * 40px); }
.t-steps span.on { background: #161615; color: #fff; }
.t-face { grid-area: face; background: var(--white); }
.t-face canvas { display: block; flex: none; width: 150%; height: auto; aspect-ratio: 420 / 480; margin: auto -25% 0; touch-action: pan-y; }
.t-pocket { grid-area: poche; background: #eef6bf; color: #14160a; }
.tile .t-phone { position: absolute; left: 50%; top: 6px; width: min(62%, 220px); border-radius: 28px; outline: 6px solid #14160a; translate: -50% calc((1 - var(--p)) * 80px); box-shadow: 0 30px 60px -20px rgba(20, 26, 0, .45); }
.t-next { grid-area: suite; justify-content: space-between; padding: clamp(24px, 3vw, 48px); background: #161615; color: #f5f3ee; }
.t-next h2 { font-size: clamp(2.2rem, 4.4vw, 4.4rem); letter-spacing: -.045em; line-height: 1; }
.t-next .btn { background: #f45d2b; color: #161615; }
.t-next .more { color: #f5f3ee; }

/* détails */
.t-info { width: min(640px, calc(100% - 32px)); max-height: 86svh; margin: auto; padding: clamp(28px, 5vw, 56px); border: 0; border-radius: 30px; background: var(--white); color: var(--ink); }
.t-info::backdrop { background: rgba(12, 12, 13, .5); backdrop-filter: blur(14px); }
.t-info[open] { animation: rise .5s var(--ease) both; }
.t-info h2 { font-size: 2.3rem; }
.t-info h3 { margin-top: 26px; font-size: 1.05rem; letter-spacing: -.01em; }
.t-info p { margin-top: 6px; color: var(--mute-light); }
.t-close { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--ink); }
.t-close svg { rotate: 45deg; }
@media (hover: hover) {
  .t-plus:hover { rotate: 90deg; }
}
@media (min-width: 1241px) {
  .t-sob { flex-direction: row; }
  .t-sob .t-text { flex: 0 0 34%; padding-right: 0; }
  .t-sob .t-stage { margin-top: clamp(24px, 2.4vw, 36px); }
  .t-compare { inset: 0 auto auto 26px; width: auto; height: 100%; aspect-ratio: 16 / 10; border-radius: 18px 0 0 0; }
}
@media (max-width: 1240px) {
  .tiles { --rang: clamp(320px, 42svh, 400px); grid-template: "bao sob" var(--rang) "bao form" var(--rang) "face poche" var(--rang) "face suite" var(--rang) / minmax(0, 1fr) minmax(0, 1fr); }
  .tile .t-win { height: 100%; }
  .t-face canvas { width: min(134%, 560px); align-self: center; margin-inline: 0; }
}
@media (max-width: 560px) {
  .tiles { grid-template: "bao bao" 430px "sob sob" 355px "form face" 304px "poche face" 270px "suite suite" 300px / minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding-inline: 10px; }
  .tile { border-radius: 24px; }
  .t-text { padding: 20px 18px 0; }
  .t-bao .t-text { padding: 26px 22px 0; }
  .t-form .t-text h2, .t-face .t-text h2, .t-pocket .t-text h2 { font-size: 1.35rem; }
  .t-steps { gap: 5px; padding: 0 12px 14px; }
  .t-steps span { min-height: 28px; padding: 0 10px; font-size: .8rem; }
  .t-form .t-links { margin-top: 8px; }
  .t-form .t-stage { margin-top: 6px; }
  .t-form .t-text p { display: none; }
  .t-face canvas { width: 180%; margin-inline: -40%; }
  .tile .t-phone { width: 64%; border-radius: 18px; outline-width: 4px; }
}

/* réserver un appel : questions, créneau, confirmation */
.c-now { width: 100%; max-width: 860px; margin-inline: auto; }
.c-now.wide { max-width: none; }
.c-head h2 { font-size: clamp(1.55rem, 3.1vw, 2.3rem); line-height: 1.14; text-wrap: balance; }
.c-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.c-option { display: flex; align-items: center; min-height: 64px; padding: 10px 22px; border-radius: 20px; border: 1px solid #6f6b65; color: var(--hi); text-align: left; line-height: 1.3; transition: background-color .22s, border-color .22s, color .22s, border-radius .4s var(--ease), scale .45s var(--spring); }
.c-option b { font-weight: 600; color: var(--hi); transition: color .22s; }
.c-option span { color: var(--lo); transition: color .22s; }
.c-option:active { scale: .975; }
.c-option:is(.on, [aria-pressed="true"]) { background: var(--hi); border-color: var(--hi); }
.c-option:is(.on, [aria-pressed="true"]) :is(span, b) { color: var(--st); }
.c-option.was { border-color: var(--hi); box-shadow: 0 0 0 1px var(--hi); }
.c-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; margin-top: 22px; }
.c-go .more { color: var(--hi); }
.hs .hs-ask .btn:disabled { opacity: .38; cursor: default; }
.c-write { display: grid; gap: 16px; justify-items: start; margin-top: 22px; }
.c-input { width: 100%; min-height: 60px; padding: 16px 20px; border: 1px solid #6f6b65; border-radius: 18px; background: rgba(245, 243, 238, .05); color: var(--hi); font: inherit; font-size: 1.1rem; line-height: 1.5; letter-spacing: inherit; resize: vertical; caret-color: var(--ac); }
textarea.c-input { min-height: 128px; }
.c-input:focus-visible { outline: 0; border-color: var(--hi); box-shadow: 0 0 0 1px var(--hi); }
.c-input[aria-invalid="true"] { border-color: #ffab8f; box-shadow: 0 0 0 1px #ffab8f; }
.c-input::placeholder { color: var(--lo); opacity: 1; }
.c-error { margin-top: 12px; color: #ffab8f; font-size: .93rem; }
.c-error:empty { display: none; }
.c-note { margin-top: 18px; font-size: .84rem; color: var(--lo); }
.c-note a { color: var(--hi); text-underline-offset: 3px; }
.c-wait { display: grid; place-items: center; min-height: 260px; color: var(--lo); }
.c-card { margin-top: 26px; }
.c-cal { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.c-cal > .c-wait { grid-column: 1 / -1; }
.c-cal[aria-busy="true"] { opacity: .55; transition: opacity .25s; }
.c-month { display: flex; align-items: center; gap: 2px; margin-bottom: 6px; }
.c-month h3 { flex: 1; font-size: 1.15rem; letter-spacing: -.025em; }
.c-nav { width: 44px; height: 44px; border-radius: 50%; color: var(--hi); font-size: 1.6rem; line-height: 1; padding-bottom: 5px; }
.c-nav:disabled { opacity: .28; cursor: default; }
.c-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.c-grid span { padding: 4px 0; font-size: .8rem; color: var(--lo); }
.c-day { min-height: 46px; border-radius: 15px; color: var(--hi); font-weight: 600; font-variant-numeric: tabular-nums; background: rgba(245, 243, 238, .09); transition: scale .4s var(--spring), background-color .2s, border-radius .4s var(--ease); }
.c-day:disabled { background: none; color: var(--lo); font-weight: 400; opacity: .55; cursor: default; }
.c-day.on { background: var(--ac); color: var(--on); border-bottom-right-radius: 4px; }
.c-day:not(:disabled):active, .c-slot:active { scale: .94; }
.c-zone { margin-top: 12px; font-size: .84rem; color: var(--lo); }
.c-hours > p { min-height: 44px; display: flex; align-items: center; margin-bottom: 6px; font-weight: 600; }
.c-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 7px; }
.c-slot { min-height: 46px; border-radius: 15px; border: 1px solid #6f6b65; color: var(--hi); font-weight: 600; font-variant-numeric: tabular-nums; transition: scale .4s var(--spring), background-color .2s, color .2s, border-color .2s, border-radius .4s var(--ease); }
.c-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-st); }
.c-row b { display: block; font-size: 1.15rem; letter-spacing: -.015em; }
.c-row span:not(.sr-only) { color: var(--lo); font-size: .95rem; overflow-wrap: anywhere; }
.c-edit { flex: none; min-height: 44px; color: inherit; font-weight: 600; font-size: .92rem; text-decoration: underline; text-underline-offset: 4px; }
.c-recap { border-block: 1px solid var(--line-st); margin-bottom: 24px; }
.c-recap summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; }
.c-recap summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; }
.c-recap[open] summary::after { content: "−"; }
.c-recap dl { margin: 0 0 18px; }
.c-recap dl > div { display: grid; grid-template-columns: 7.6em minmax(0, 1fr); gap: 12px; padding: 4px 0; font-size: .95rem; }
.c-recap dt { color: var(--lo); }
.c-recap dd { margin: 0; overflow-wrap: anywhere; }
.c-fine { margin-top: 14px; font-size: .84rem; color: var(--lo); }
.c-done { margin-top: 0; text-align: center; }
.c-done p { margin: 10px auto 0; max-width: 34em; color: var(--lo); }
.c-done .c-when { font-size: 1.25rem; font-weight: 600; color: var(--hi); }
.c-done .c-go { justify-content: center; margin-top: 28px; }
.c-tick { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; color: var(--ac); }
.c-tick svg { width: 64px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; animation: c-tick .7s .25s var(--ease) both; }
@keyframes c-tick { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
.c-foot { display: flex; width: 100%; max-width: 860px; min-height: 44px; margin: 6px auto 0; }
.q-body:has(> .wide) ~ .c-foot { max-width: none; }
.c-foot .more { color: var(--hi); }
@media (hover: hover) {
  .c-option:hover { border-color: var(--hi); border-bottom-right-radius: 5px; }
  .c-slot:hover { background: var(--hi); border-color: var(--hi); color: var(--st); border-bottom-right-radius: 4px; }
  .c-day:not(:disabled, .on):hover { background: rgba(245, 243, 238, .2); }
  .c-nav:not(:disabled):hover { background: rgba(245, 243, 238, .09); }
}
@media (max-width: 700px) {
  .c-options, .c-cal { grid-template-columns: minmax(0, 1fr); }
  .c-options { gap: 8px; }
  .c-option { min-height: 52px; padding: 8px 18px; border-radius: 17px; }
  .c-cal { gap: 16px; }
  .c-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.lumen .lumen-cal { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lumen-cal .tick { stroke-dasharray: 11; transition: stroke-dashoffset .55s var(--ease); }
@media (hover: hover) { .lumen:hover .tick { animation: lumen-tick .7s var(--ease); } }
@keyframes lumen-tick { 0%, 25% { stroke-dashoffset: 11; } 100% { stroke-dashoffset: 0; } }

/* contact : un seul bouton */
.contact-head { margin-bottom: 0; }
.contact-go { margin-top: clamp(34px, 5vw, 52px); text-align: center; }
a.lumen { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.contact { position: relative; overflow: hidden; }
.contact > :not(.oiseau) { position: relative; z-index: 1; }
.oiseau { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (min-width: 701px) { .contact { display: grid; align-content: center; min-height: min(1000px, 108svh); padding-block: 170px 240px; } }
@media (max-width: 700px) { .contact { padding: 250px var(--side) 310px; } }

/* le caméléon, posé sur le bord du cadre */
.perch { display: none; }
.js .perch { display: block; position: relative; z-index: 2; height: 0; animation: rise 1.1s .9s var(--ease) both; }
.perch canvas { position: absolute; max-width: none; pointer-events: none; }
@media (max-width: 900px) { .js .hero-cta { margin-bottom: 72px; } }

/* Expertise : le trajet d'une demande, en cartes reliées */
.js .planet { margin-left: -30px; --tall: min(600px, 76vh); }
.flux { --card: #1f1f1d; --row: #292926; --bd: rgba(245, 243, 238, .085); --hi: #f5f3ee; --lo: #98948a; --wire: #45443f; --ac: #f45d2b; --ac-bg: rgba(244, 93, 43, .07); --ac-lo: #ff8f68; position: relative; height: var(--tall); color: var(--hi); text-align: left; user-select: none; }
.fx-top { position: absolute; z-index: 3; inset: 0 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 4px 6px 0 18px; font-size: .95rem; line-height: 1.35; opacity: 0; transition: opacity .8s .3s; }
.flux.in .fx-top { opacity: 1; }
.fx-top b { display: block; font-weight: 600; }
.fx-top span { color: var(--lo); font-size: .84rem; }
.fx-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 13px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--ac) 55%, transparent); background: var(--ac-bg); font-style: normal; transition: border-color .6s, background-color .6s; }
.fx-badge span { color: var(--ac-lo); font-size: .82rem; font-weight: 500; transition: color .6s; }
.flux.safe .fx-badge { border-color: var(--bd); background: none; }
.flux.safe .fx-badge span { color: var(--hi); }
.fx-view { position: absolute; inset: 0; overflow: hidden; -webkit-mask: linear-gradient(transparent 9%, #000 24%, #000 88%, transparent); mask: linear-gradient(transparent 9%, #000 24%, #000 88%, transparent); }
.fx-stage { position: absolute; left: 0; top: 0; width: 470px; transform-origin: 0 0; will-change: transform; }
.fx-links { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.fx-links path { fill: none; stroke-linecap: round; }
.fx-links .base { stroke: var(--wire); stroke-width: 1.5; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke .7s, stroke-dashoffset 1s cubic-bezier(.4, 0, .1, 1); }
.flux.in .fx-links .base { stroke-dashoffset: 0; }
.fx-links g:nth-child(1) .base { transition-delay: 0s, .55s; } .fx-links g:nth-child(2) .base { transition-delay: 0s, .75s; } .fx-links g:nth-child(3) .base { transition-delay: 0s, .95s; } .fx-links g:nth-child(4) .base { transition-delay: 0s, 1.15s; }
.fx-links :is(.aura, .beam, .core) { opacity: 0; transition: opacity .6s, stroke .7s; animation: fx-beam 2.9s linear infinite paused; }
.flux.run .fx-links :is(.aura, .beam, .core) { animation-play-state: running; }
.flux.in .fx-links :is(.aura, .beam, .core) { opacity: 1; }
.fx-links .aura { stroke: rgba(245, 243, 238, .34); stroke-width: 6; stroke-dasharray: 17 183; filter: blur(4px); }
.fx-links .beam { stroke: rgba(245, 243, 238, .62); stroke-width: 2; stroke-dasharray: 17 183; }
.fx-links .core { stroke: #fff; stroke-width: 2.2; stroke-dasharray: 5 195; animation-name: fx-core; }
.fx-links g:nth-child(2) path { animation-delay: -.8s; } .fx-links g:nth-child(3) path { animation-delay: -1.7s; } .fx-links g:nth-child(4) path { animation-delay: -.3s; }
.flux:not(.safe) .fx-links g:is(:nth-child(2), :nth-child(3)) .base { stroke: var(--ac); }
.flux:not(.safe) .fx-links g:is(:nth-child(2), :nth-child(3)) :is(.aura, .beam) { stroke: var(--ac); }
.flux:not(.safe) .fx-links g:is(:nth-child(2), :nth-child(3)) .aura { stroke-width: 7; }
.fx-links circle { fill: #161615; stroke: var(--wire); stroke-width: 1.5; transition: stroke .7s; }
.flux:not(.safe) .fx-links g:is(:nth-child(2), :nth-child(3)) circle { stroke: var(--ac); }
@keyframes fx-beam { from { stroke-dashoffset: 18; } 70%, to { stroke-dashoffset: -102; } }
@keyframes fx-core { from { stroke-dashoffset: 6; } 70%, to { stroke-dashoffset: -114; } }
.fx-card { position: absolute; left: 0; top: 0; width: 290px; padding: 13px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--bd), 0 24px 50px -26px rgba(0, 0, 0, .9); cursor: grab; touch-action: pan-y; transition: opacity .7s, box-shadow .5s; opacity: 0; }
.flux.in .fx-card { opacity: 1; }
.fx-card:nth-of-type(2) { transition-delay: .12s; } .fx-card:nth-of-type(3) { transition-delay: .24s; z-index: 2; } .fx-card:nth-of-type(4) { transition-delay: .36s; } .fx-card:nth-of-type(5) { transition-delay: .48s; }
.flux.in.near .fx-card { transition-delay: 0s; }
.flux.in.near .fx-card:not(.on) { opacity: .62; }
.fx-card.on { box-shadow: 0 0 0 1px rgba(245, 243, 238, .20), 0 34px 70px -30px #000; }
.fx-card.held { cursor: grabbing; box-shadow: 0 0 0 1px rgba(245, 243, 238, .26), 0 44px 80px -26px #000; z-index: 4; }
.fx-card header { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.fx-card header b { display: block; font-size: 1.04rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.fx-card header span { font-size: .88rem; color: var(--lo); }
.fx-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--row); color: var(--hi); }
.flux svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fx-ic svg { width: 21px; }
.fx-row { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 37px; padding: 0 13px; border-radius: 12px; background: var(--row); font-size: .92rem; text-align: left; }
.fx-row + .fx-row { margin-top: 6px; }
.fx-row span { color: var(--lo); }
.fx-row b { margin-left: auto; font-weight: 500; }
.fx-row.q { min-height: 31px; padding: 0 5px; background: none; margin: 0; }
.fx-row.q span { color: var(--hi); } .fx-row.q b { color: var(--lo); font-weight: 400; }
.fx-rule { color: inherit; font: inherit; font-size: .92rem; cursor: pointer; background: var(--ac-bg); box-shadow: inset 0 0 0 1px var(--ac); transition: background-color .5s, box-shadow .5s, scale .15s; }
.fx-rule :is(span, b) { color: var(--ac-lo); transition: color .5s; }
.fx-rule svg { width: 17px; margin-left: 6px; color: var(--ac-lo); transition: rotate .35s, color .5s; }
.flux.open .fx-rule svg { rotate: 180deg; }
.flux.safe .fx-rule { background: var(--row); box-shadow: none; }
.flux.safe .fx-rule span { color: var(--lo); } .flux.safe .fx-rule :is(b, svg) { color: var(--hi); }
.fx-menu { position: absolute; left: 0; right: 0; top: calc(100% + 9px); z-index: 5; padding: 8px; border-radius: 18px; background: #262624; box-shadow: 0 0 0 1px rgba(245, 243, 238, .12), 0 40px 70px -24px #000; opacity: 0; visibility: hidden; translate: 0 -8px; scale: .98; transform-origin: 50% 0; transition: opacity .25s, translate .4s var(--ease), scale .4s var(--ease), visibility .25s; }
.flux.open .fx-menu { opacity: 1; visibility: visible; translate: 0; scale: 1; }
.fx-menu small { display: block; padding: 5px 9px 7px; font-size: .82rem; color: var(--lo); }
.fx-menu [data-v] { position: relative; display: block; width: 100%; padding: 8px 38px 9px 10px; border-radius: 11px; text-align: left; line-height: 1.3; transition: background-color .2s; }
.fx-menu [data-v] b { display: block; font-size: .94rem; font-weight: 600; } .fx-menu [data-v] span { font-size: .83rem; color: var(--lo); }
.fx-menu [data-v="auto"].sel span { color: var(--ac-lo); }
.fx-menu [data-v] svg { position: absolute; right: 11px; top: 50%; width: 18px; margin-top: -9px; opacity: 0; transition: opacity .2s; }
.fx-menu .sel { background: rgba(245, 243, 238, .06); } .fx-menu .sel svg { opacity: 1; }
.fx-save { display: block; width: 100%; min-height: 42px; margin-top: 8px; border-radius: 12px; background: #454542; color: #8d8a82; font-size: .93rem; font-weight: 600; transition: background-color .3s, color .3s, scale .15s; }
.fx-save.go { background: #f5f3ee; color: #161615; }
.flux .press { scale: .975; }
.fx-chat { display: grid; gap: 8px; padding: 2px; }
.fx-chat p { font-size: .94rem; line-height: 1.35; }
.fx-me { justify-self: end; padding: 8px 14px; border-radius: 15px 15px 5px 15px; background: #f5f3ee; color: #161615; }
.fx-it { justify-self: start; padding: 8px 14px; border-radius: 15px 15px 15px 5px; background: var(--row); }
.fx-pill { position: absolute; left: 0; top: 0; padding: 3px 12px 4px; border-radius: 99px; background: #161615; box-shadow: 0 0 0 1px var(--bd); font-size: .80rem; color: var(--lo); white-space: nowrap; opacity: 0; transition: opacity .6s, color .5s; pointer-events: none; }
.flux.in .fx-pill { opacity: .9; }
.flux.safe .fx-pill[data-l="2"] { color: var(--hi); }
.fx-pointer { position: absolute; left: -4px; top: -3px; z-index: 8; width: 24px; opacity: 0; transition: transform .8s cubic-bezier(.3, 0, .1, 1), opacity .3s; pointer-events: none; }
.flux .fx-pointer path { fill: #f5f3ee; stroke: #161615; stroke-width: 1.400; transition: scale .12s; transform-origin: 5px 3px; }
.fx-pointer.show { opacity: 1; } .fx-pointer.down path { scale: .84; }
.fx-card :is(button):focus-visible { outline: 2px solid var(--hi); outline-offset: 2px; }
@media (max-width: 900px) {
  .js .planet { margin: 0 -22px; }
  .flux { height: 36svh; }
  .fx-top { padding: 12px 22px 0; }
  .fx-top div span { display: none; }
  .fx-view { -webkit-mask: linear-gradient(transparent 12%, #000 27%, #000 90%, transparent); mask: linear-gradient(transparent 12%, #000 27%, #000 90%, transparent); }
}

/* ---------- technologies : dans le hero, sous le bouton ---------- */
.stack { margin-bottom: 88px; }
.js .hero-cta { margin-bottom: 28px; }
.js .stack { animation: rise 1s .8s var(--ease) both; }
.stack ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.stack li { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow-soft); }
.stack svg { flex: none; width: 17px; height: 17px; fill: currentColor; transition: fill .3s var(--ease); }
.stack .t-n8n svg { width: 21px; height: 21px; }
.stack .t-elevenlabs svg { width: 15px; height: 15px; }
.stack span { font-size: .82rem; font-weight: 500; line-height: 1; }
/* au survol : la tuile s'incline vers le curseur, un halo à la couleur de l'outil le suit et court sur le bord */
.stack li { position: relative; isolation: isolate; --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; transition: transform .25s var(--ease), translate .45s var(--spring), scale .45s var(--spring), box-shadow .35s var(--ease), opacity .35s var(--ease); }
.stack li::before, .stack li::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
.stack li::before { padding: 1.5px; background: radial-gradient(110px circle at var(--mx) var(--my), var(--glow), color-mix(in srgb, var(--glow) 25%, transparent) 55%, transparent 80%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.stack li::after { z-index: -1; background: radial-gradient(80px circle at var(--mx) var(--my), color-mix(in srgb, var(--glow) 28%, transparent), transparent 75%); }
.stack svg { transition: fill .3s var(--ease), scale .45s var(--spring), rotate .45s var(--spring), filter .3s var(--ease); }
.stack .t-claude { --brand: #d97757; --glow: #d97757; }
.stack .t-openai { --glow: #10a37f; }
.stack .t-n8n { --brand: #ea4b71; --glow: #ea4b71; }
.stack .t-elevenlabs { --glow: #7c6cf2; }
.stack .t-trigger { --brand: #2fbf45; --glow: #41d353; }
.stack .t-github { --glow: #8250df; }
.stack .t-supabase { --brand: #2fb67c; --glow: #3ecf8e; }
@media (hover: hover) {
  .stack li:hover { translate: 0 -6px; scale: 1.07; transform: perspective(420px) rotateX(var(--rx)) rotateY(var(--ry)); box-shadow: 0 18px 30px -16px var(--glow), 0 4px 14px -8px var(--glow); }
  .stack li:hover::before, .stack li:hover::after { opacity: 1; }
  .stack li:hover svg { fill: var(--brand, currentColor); scale: 1.25; rotate: -8deg; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--glow) 65%, transparent)); }
  .stack ul:has(li:hover) li:not(:hover) { opacity: .45; scale: .96; }
}
@media (prefers-reduced-motion: reduce) {
  .stack li:hover, .stack li:hover svg, .stack ul:has(li:hover) li:not(:hover) { translate: none; scale: none; rotate: none; transform: none; }
}
@media (max-width: 900px) {
  .js .hero-cta { margin-bottom: 24px; }
  .stack { margin-bottom: 76px; }
}
