/* =========================================================
   Ouno · Direction premium
   Tokens d’abord : primitives, puis sémantiques par surface.
   ========================================================= */
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* Primitives */
  --black: #000;
  --graphite-900: #0b0b0c;
  --graphite-800: #161617;
  --graphite-700: #1d1d1f;
  --graphite-500: #424245;
  --graphite-400: #6e6e73;
  --graphite-300: #86868b;
  --graphite-200: #a1a1a6;
  --graphite-150: #d2d2d7;
  --graphite-100: #e8e8ed;
  --graphite-50: #f5f5f7;
  --white: #fff;

  /* Sémantiques : surface sombre (par défaut) */
  --bg: var(--black);
  --fg: var(--graphite-50);
  --fg-2: var(--graphite-300);
  --line: rgba(255, 255, 255, .14);
  --btn-bg: var(--graphite-50);
  --btn-fg: var(--graphite-700);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22, .61, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --silver: linear-gradient(180deg, #fff 0%, #f5f5f7 38%, #a1a1a6 100%);
}
/* Surface claire : il suffit d’ajouter .is-light à une section */
.is-light {
  --bg: var(--graphite-50);
  --fg: var(--graphite-700);
  --fg-2: var(--graphite-400);
  --line: rgba(0, 0, 0, .1);
  --btn-bg: var(--graphite-700);
  --btn-fg: var(--white);
  background: var(--bg); color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--fg);
  font: 400 17px/1.47 var(--font); letter-spacing: -.012em;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { list-style: none; padding: 0; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typographie (Inter, coupe Display automatique au-delà de 32 px) ---------- */
.t-hero { font-size: clamp(48px, 8.4vw, 112px); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; }
.t-h2 { font-size: clamp(40px, 6vw, 80px); line-height: 1.04; font-weight: 600; letter-spacing: -.04em; }
.t-h3 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; }
.t-eyebrow { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: var(--fg-2); }
.t-lead { font-size: clamp(19px, 1.75vw, 24px); line-height: 1.38; font-weight: 500; letter-spacing: -.02em; color: var(--fg-2); }
.t-lead strong, .t-body strong { color: var(--fg); font-weight: 600; }
.t-body { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: var(--fg-2); }
.t-silver { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-light .t-silver { background: linear-gradient(180deg, #1d1d1f 30%, #6e6e73); -webkit-background-clip: text; background-clip: text; }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 24px;
  border-radius: 99px; background: var(--btn-bg); color: var(--btn-fg); font-size: 17px; font-weight: 500; letter-spacing: -.015em;
  transition: transform .4s var(--ease-out), opacity .3s;
}
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 32px; padding: 0 14px; font-size: 13px; }
.link { display: inline-flex; align-items: center; gap: .3em; font-size: 17px; font-weight: 500; color: var(--fg); }
.link svg { width: .7em; height: .7em; transition: transform .35s var(--ease-out); }
.link:hover { text-decoration: underline; text-underline-offset: .2em; }
.link:hover svg { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 52px; }
/* Le flou est porté par un pseudo-élément : un backdrop-filter sur .nav enfermerait les panneaux fixes du menu */
.nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(22, 22, 23, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: background-color .3s var(--ease); }
.nav.is-open::before, .nav.is-menu::before { background: rgba(22, 22, 23, .98); }
.nav__in { height: 52px; display: flex; align-items: center; gap: 32px; position: relative; }
.nav__logo { color: var(--graphite-50); display: inline-flex; }
.nav__logo svg { width: 64px; height: 14px; }
.nav__links { display: flex; gap: 6px; margin: 0 auto; }
.nav__item { display: inline-flex; align-items: center; gap: 4px; height: 52px; padding: 0 11px; font-size: 12.5px; color: var(--graphite-150); opacity: .85; transition: opacity .2s; letter-spacing: -.005em; }
.nav__item:hover, .nav__item[aria-expanded="true"] { opacity: 1; }
.nav__chev { width: 10px; height: 10px; transition: transform .35s var(--ease-out); }
[aria-expanded="true"] > .nav__chev, details[open] > summary .nav__chev { transform: rotate(180deg); }
.nav__burger { display: none; position: relative; width: 36px; height: 36px; margin-right: -8px; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; border-radius: 2px; background: var(--graphite-50); transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.nav__burger span:first-child { top: 14px; }
.nav__burger span:last-child { top: 21px; }
.nav.is-menu .nav__burger span:first-child { top: 17.5px; transform: rotate(45deg); }
.nav.is-menu .nav__burger span:last-child { top: 17.5px; transform: rotate(-45deg); }

/* Mega menu */
.mm { position: absolute; top: 52px; left: 0; right: 0; background: #161617; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.mm[hidden] { display: none; }
.mm__in { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 52px; }
.mm__in--modules { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 1.1fr); }
.mm__in--sectors { grid-template-columns: minmax(0, 3fr) minmax(240px, 1.1fr); }
.mm__k { font-size: 12px; font-weight: 500; color: var(--graphite-300); letter-spacing: 0; margin-bottom: 14px; }
.mm__group ul { display: grid; gap: 2px; }
.mm__group a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; font-size: 16px; font-weight: 600; letter-spacing: -.015em; color: var(--graphite-50); transition: background-color .2s; }
.mm__group a:hover { background: rgba(255, 255, 255, .06); }
.mm__group img { width: 28px; height: 28px; flex: none; }
.mm__sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 20px; }
.mm__sectors a { display: flex; align-items: center; gap: 14px; padding: 8px; margin: 0 -8px; border-radius: 14px; transition: background-color .2s; }
.mm__sectors a:hover { background: rgba(255, 255, 255, .06); }
.mm__sectors img { width: 52px; height: 52px; flex: none; border-radius: 12px; object-fit: cover; }
.mm__sectors b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.015em; color: var(--graphite-50); }
.mm__sectors small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--graphite-300); }
.mm__card { display: flex; flex-direction: column; gap: 8px; align-self: start; padding: 22px 22px 24px; border-radius: 20px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); transition: background-color .2s; }
.mm__card:hover { background: rgba(255, 255, 255, .09); }
.mm__card .mm__k { margin: 0; }
.mm__card b { font-size: 17px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; color: var(--graphite-50); }
.mm__card small { font-size: 14px; line-height: 1.45; color: var(--graphite-300); }
.mm__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--graphite-50); }
.mm__more svg { width: .7em; height: .7em; }
/* Carte « Sur mesure » : la différence d’Ouno, mise en avant en clair sur le menu sombre */
.mm__card--feat { position: relative; overflow: hidden; isolation: isolate; gap: 10px; padding: 26px 26px 26px; background: linear-gradient(160deg, #ffffff 0%, #ececf0 100%); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.mm__card--feat:hover { background: linear-gradient(160deg, #ffffff 0%, #ececf0 100%); transform: translateY(-2px); box-shadow: 0 36px 70px -30px rgba(0, 0, 0, .8); }
.mm__card--feat .mm__k { color: var(--graphite-400); }
.mm__card--feat b { font-size: 21px; line-height: 1.18; letter-spacing: -.025em; color: var(--graphite-700); max-width: 13em; }
.mm__card--feat small { font-size: 14.5px; color: var(--graphite-400); max-width: 19em; }
.mm__card-mark { position: absolute; z-index: -1; right: -34px; bottom: -40px; width: 170px; height: 168px; color: #000; opacity: .05; transition: transform .8s var(--ease-out); }
.mm__card--feat:hover .mm__card-mark { transform: rotate(-6deg) scale(1.04); }
.nav .btn.mm__btn { --btn-bg: var(--graphite-700); --btn-fg: #fff; align-self: flex-start; margin-top: 10px; }
.mm__side { display: grid; gap: 16px; align-content: start; }
.mm__all { display: inline-flex; align-items: center; gap: 4px; padding-left: 4px; font-size: 14px; font-weight: 500; color: var(--graphite-150); }
.mm__all svg { width: .7em; height: .7em; }
.mnav__feat { display: grid; gap: 6px; margin-top: 28px; padding: 22px; border-radius: 20px; background: linear-gradient(160deg, #ffffff 0%, #ececf0 100%); }
.mnav__feat .mm__k { margin: 0; color: var(--graphite-400); }
.mnav__feat b { font-size: 19px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--graphite-700); }
.mnav__feat small { font-size: 14.5px; line-height: 1.45; color: var(--graphite-400); }
.mnav__feat + .mnav__cta { margin-top: 14px; }
.mm-scrim { position: fixed; inset: 52px 0 0; z-index: -2; background: rgba(0, 0, 0, .38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
.nav.is-open .mm-scrim, .nav.is-menu .mm-scrim { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }

/* Menu mobile */
.mnav { position: fixed; inset: 52px 0 0; overflow-y: auto; overscroll-behavior: contain; background: #161617; }
.mnav[hidden] { display: none; }
.mnav__in { padding: 18px var(--gutter) calc(40px + env(safe-area-inset-bottom)); }
.mnav__acc { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mnav__acc summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 24px; font-weight: 600; letter-spacing: -.025em; color: var(--graphite-50); list-style: none; cursor: pointer; }
.mnav__acc summary::-webkit-details-marker { display: none; }
.mnav__acc summary .nav__chev { width: 16px; height: 16px; color: var(--graphite-300); }
.mnav__body { padding: 4px 0 22px; display: grid; gap: 18px; }
.mnav__body .mm__group a { font-size: 17px; }
.mnav__body .mm__sectors { grid-template-columns: 1fr; }
.mnav__link { display: block; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 24px; font-weight: 600; letter-spacing: -.025em; color: var(--graphite-50); }
.mnav__cta { margin-top: 28px; width: 100%; justify-content: center; }
body.is-locked { overflow: hidden; }

/* Barre locale des pages secteur et module */
.lnav { position: sticky; top: 52px; z-index: 40; height: 48px; margin-bottom: -48px; }
.lnav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(22, 22, 23, .66); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.lnav__in { height: 48px; display: flex; align-items: center; gap: 24px; }
.lnav__t { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--graphite-50); white-space: nowrap; }
.lnav__t img { width: 20px; height: 20px; }
.lnav__links { display: flex; gap: 22px; margin-left: auto; }
.lnav__links a { font-size: 12.5px; color: var(--graphite-150); opacity: .75; transition: opacity .2s; white-space: nowrap; }
.lnav__links a:hover, .lnav__links a.is-on { opacity: 1; }
.lnav__links a.is-on { color: var(--white); }
.lnav::before { transition: background-color .35s var(--ease); }
.lnav.is-light::before { background: rgba(245, 245, 247, .78); border-bottom-color: rgba(0, 0, 0, .08); }
.lnav.is-light .lnav__t { color: var(--graphite-700); }
.lnav.is-light .lnav__links a, .lnav.is-light .lnav__toggle { color: var(--graphite-600, #424245); }
.lnav.is-light .lnav__links a.is-on { color: var(--graphite-700); }
.lnav__toggle { display: none; width: 36px; height: 36px; margin-left: auto; margin-right: -8px; color: var(--graphite-150); }
.lnav__toggle .nav__chev { width: 14px; height: 14px; margin: 0 auto; }
body.page-secteur { scroll-padding-top: 100px; }
body.page-secteur .story__device { --chrome: 100px; }

@media (max-width: 1080px) {
  .lnav__links { gap: 16px; }
  .mm__in--modules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mm__in--modules .mm__card { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; }
  .mm, .mm-scrim { display: none; }
  .lnav__toggle { display: grid; place-items: center; }
  .lnav__links { display: none; position: absolute; top: 48px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; background: #161617; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .lnav.is-open .lnav__links { display: flex; }
  .lnav.is-light .lnav__links { background: #f5f5f7; border-bottom-color: rgba(0, 0, 0, .08); }
  .lnav.is-light .lnav__links a { border-bottom-color: rgba(0, 0, 0, .08); }
  .lnav__links a { padding: 12px 0; font-size: 16px; opacity: .9; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .lnav__links a:last-child { border-bottom: 0; }
}
@media (max-width: 420px) {
  .nav__cta { padding: 0 12px; font-size: 12px; }
}
.nav .btn { --btn-bg: var(--graphite-50); --btn-fg: var(--graphite-700); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--black); }
.hero__glow {
  position: absolute; left: 50%; top: 58%; width: 140vw; height: 90vh; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 70%);
}
.hero__copy { position: relative; z-index: 2; padding-top: clamp(96px, 14vh, 150px); text-align: center; }
.hero__copy .t-eyebrow { margin-bottom: 14px; }
.hero__copy .t-lead { max-width: 30em; margin: 22px auto 0; }
.hero__actions { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hero__caps { position: absolute; left: 0; right: 0; top: clamp(84px, 12vh, 120px); z-index: 2; display: grid; justify-items: center; padding: 0 var(--gutter); text-align: center; pointer-events: none; }
.hero__cap { grid-area: 1 / 1; opacity: 0; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; }
.hero__device { position: absolute; left: 50%; top: 100%; width: min(1060px, 84vw); transform: translate(-50%, -50%); z-index: 1; will-change: transform; }

/* Laptop dessiné en CSS */
.laptop { position: relative; }
.laptop__lid { position: relative; aspect-ratio: 16 / 10.4; border-radius: 2.2% / 3.4%; padding: 1.7% 1.7% 2.6%; background: #0c0c0d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 3px #1b1b1d, 0 40px 120px -20px rgba(0, 0, 0, .9); }
.laptop__lid::before { content: ""; position: absolute; left: 50%; top: .7%; width: 10%; height: 2.6%; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #0c0c0d; z-index: 2; }
.laptop__screen { position: relative; height: 100%; border-radius: .6%; overflow: hidden; background: #f8fcff; }
.laptop__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, 0) 38%); }
.laptop__base { position: relative; width: 116%; left: -8%; height: clamp(12px, 1.6vw, 22px); margin-top: -1px; border-radius: 0 0 14px 14px / 0 0 100% 100%; background: linear-gradient(180deg, #e3e4e8 0%, #b8b9be 38%, #6f7075 100%); box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .9); }
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 42%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #9a9ba0, #c9cacf); }
.laptop__base::after { content: ""; position: absolute; left: 1%; right: 1%; top: 0; height: 1px; background: rgba(255, 255, 255, .7); }

/* Contenu d’application mis à l’échelle (1280 × 800 de référence) */
.fit { position: absolute; inset: 0; overflow: hidden; }
.fit > .ui { position: absolute; left: 0; top: 0; width: 1280px; height: var(--uh, 800px); transform-origin: 0 0; transform: scale(var(--k, .5)); }

/* ---------- Légende produit ---------- */
.feature { padding: clamp(120px, 16vw, 200px) 0 clamp(80px, 10vw, 140px); }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; }
.feature__grid .t-body { max-width: 26em; }

/* ---------- Logos ---------- */
.logos { padding: 0 0 clamp(100px, 12vw, 160px); }
.logos__label { text-align: center; font-size: 14px; color: var(--fg-2); margin-bottom: 36px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__row { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__row img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .5; }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 36px)); } }

/* ---------- Manifeste ---------- */
.manifesto { padding: clamp(110px, 14vw, 180px) 0; }
.rot { font-size: clamp(40px, 6.4vw, 92px); line-height: 1.05; font-weight: 600; letter-spacing: -.045em; }
.rot__fix, .rot__slot { display: block; }
.rot__w { display: block; background: linear-gradient(180deg, #fff 20%, #8e8e93); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rot__bars { display: none; }
/* Version animée : un seul mot à la fois */
.manifesto.is-live { height: 100vh; height: 100svh; display: flex; align-items: center; padding: 0; }
.manifesto.is-live .wrap { width: 100%; }
.is-live .rot__slot { display: grid; }
.is-live .rot__w { grid-area: 1 / 1; opacity: 0; will-change: transform, opacity, filter; }
.is-live .rot__w:first-child { opacity: 1; }
.rot__w--ai { background: linear-gradient(100deg, #8e8e93 0%, #fff 30%, #c7c7cc 45%, #fff 60%, #8e8e93 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; animation: sheen 5s linear infinite; }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: -120% 0; } }
.is-live .rot__bars { display: flex; gap: 8px; margin-top: clamp(32px, 5vw, 56px); }
.rot__bars i { position: relative; width: 44px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.rot__bars i::after { content: ""; position: absolute; inset: 0; background: #f5f5f7; transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }

/* ---------- Modules (surface claire) ---------- */
.modules { padding: clamp(120px, 14vw, 180px) 0 0; }
.modules__head { text-align: center; }
.modules__head .t-lead { max-width: 26em; margin: 24px auto 0; }
.story { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; margin-top: clamp(60px, 8vw, 110px); }
.story__steps { padding: 18vh 0 22vh; }
.story__step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.story__step.is-active { opacity: 1; }
.story__num { font-size: 14px; font-weight: 600; color: var(--fg-2); margin-bottom: 14px; letter-spacing: 0; }
.story__step .t-h3 { margin-bottom: 18px; }
.story__step .t-body { max-width: 24em; }
.story__device { position: sticky; top: calc(50vh - var(--dh, 300px) / 2); height: var(--dh, 600px); align-self: start; display: flex; align-items: center; }
.tablet { position: relative; width: 100%; aspect-ratio: 16 / 10.6; border-radius: 4.2% / 6.3%; padding: 2.6%; background: #1d1d1f; box-shadow: inset 0 0 0 1px #3a3a3c, inset 0 0 0 4px #121213, 0 50px 90px -40px rgba(0, 0, 0, .55), 0 20px 40px -20px rgba(0, 0, 0, .25); }
.tablet__screen { position: relative; height: 100%; border-radius: 2.2% / 3.4%; overflow: hidden; background: #f8fcff; }
.tablet .fit { opacity: 0; transform: scale(1.02); transition: opacity .7s var(--ease), transform .9s var(--ease-out); }
.tablet .fit.is-active { opacity: 1; transform: none; }

/* Catalogue des modules (icônes du design system Ouno) */
.catalog { padding: clamp(100px, 12vw, 160px) var(--gutter) clamp(120px, 14vw, 180px); text-align: center; }
.catalog .t-h3 { max-width: 18em; margin: 0 auto; text-wrap: balance; }
h1, h2, h3, .t-lead { text-wrap: balance; }
.catalog .t-lead { max-width: 26em; margin: 18px auto 0; }
.catalog__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 64px 40px; margin: 80px auto 0; max-width: 1080px; text-align: center; }
.catalog__grid li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.catalog__grid span { max-width: 15em; }
.catalog__grid img { width: 56px; height: 56px; margin-bottom: 14px; transition: transform .5s var(--ease-out); }
.catalog__grid li:hover img { transform: translateY(-4px); }
.catalog__grid b { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.catalog__grid span { font-size: 15px; line-height: 1.45; color: var(--fg-2); }

.round { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(0, 0, 0, .06); color: var(--fg); transition: background-color .25s, transform .3s var(--ease-out), opacity .25s; }
.round:hover { background: rgba(0, 0, 0, .1); }
.round:active { transform: scale(.94); }
.round[disabled] { opacity: .3; pointer-events: none; }
.round svg { width: 9px; height: 14px; }

/* ---------- Mobile ---------- */
.mobile { padding: clamp(120px, 14vw, 180px) 0 clamp(120px, 14vw, 180px); overflow: hidden; }
.mobile__head { text-align: center; }
.mobile__head .t-lead { max-width: 28em; margin: 24px auto 0; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(28px, 6vw, 96px); margin-top: clamp(64px, 8vw, 110px); padding: 0 var(--gutter); }
.phones__item { width: clamp(220px, 23vw, 330px); text-align: center; }
.phones__item[data-phone="2"] { margin-top: clamp(40px, 6vw, 90px); }
.phones__item figcaption { margin-top: 26px; font-size: 15px; font-weight: 500; color: var(--fg-2); }
.phone { position: relative; padding: 3.6%; border-radius: 15% / 7%; background: #0b0b0c; box-shadow: inset 0 0 0 1.5px #4a4a4e, inset 0 0 0 4px #161617, 0 60px 120px -40px rgba(255, 255, 255, .12), 0 40px 80px -30px rgba(0, 0, 0, .9); }
.phone::after { content: ""; position: absolute; left: 50%; top: 3.6%; width: 30%; height: 3.4%; transform: translate(-50%, 34%); border-radius: 99px; background: #000; z-index: 3; }
.phone__screen { position: relative; aspect-ratio: 390 / 844; border-radius: 12.5% / 5.8%; overflow: hidden; background: #f8fcff; }

/* ---------- Bande photo ---------- */
.band { position: relative; background: #000; padding-top: clamp(120px, 14vw, 180px); }
.band__copy { position: relative; z-index: 2; text-align: center; }
.band__copy .t-lead { max-width: 30em; margin: 20px auto 0; }
.band__media { position: relative; height: min(110vh, 66vw); margin-top: clamp(-80px, -6vw, -40px); overflow: hidden; }
.band__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 55%; will-change: transform; }
.band__veil { position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 70%, #000 100%); }
.band__copy .t-lead { max-width: 28em; margin-top: 18px; }

/* ---------- Secteurs ---------- */
.sectors { padding: clamp(120px, 14vw, 180px) 0 clamp(110px, 13vw, 160px); }
.sectors__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.sectors__nav { display: flex; gap: 10px; }
.rail { --pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 0 var(--pad) 8px; scrollbar-width: none; outline: none; }
.rail::-webkit-scrollbar { display: none; }
.sector { flex: none; width: clamp(250px, 27vw, 360px); scroll-snap-align: start; min-width: 0; }
.sector figure { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #ddd; }
.sector img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 1.1s var(--ease); }
.sector:hover img { transform: scale(1.04); }
.rail.is-live .sector:not(.is-in):not(:hover) img { filter: grayscale(1) brightness(.92); }
.sector h3 { margin-top: 20px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.sector p { margin-top: 4px; font-size: 15px; color: var(--fg-2); }
.sectors__foot { margin-top: 48px; }

/* ---------- Méthode ---------- */
.method { padding: clamp(120px, 14vw, 180px) 0 clamp(60px, 8vw, 100px); }
.method__head .t-lead { max-width: 28em; margin-top: 24px; }
.story__big { font-size: clamp(56px, 6vw, 88px); line-height: 1; font-weight: 600; letter-spacing: -.05em; color: var(--graphite-500); margin-bottom: 22px; transition: color .6s var(--ease); }
.story__step.is-active .story__big { color: var(--fg); }
.photo-stack { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #111; }
.photo-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease-out); }
.photo-stack img.is-active { opacity: 1; transform: none; }

/* ---------- Preuve : le chiffre ---------- */
.proof { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--black); }
.proof__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; transform: scale(1.08); will-change: transform, opacity; }
.proof__veil { position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(0, 0, 0, .2), #000 100%), linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 78%, #000 100%); }
.proof__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.proof__num { display: flex; align-items: baseline; justify-content: center; line-height: .82; font-weight: 700; letter-spacing: -.06em; }
.proof__digit { font-size: clamp(200px, 34vw, 480px); font-variant-numeric: tabular-nums; }
.proof__unit { font-size: clamp(120px, 20vw, 290px); font-weight: 700; letter-spacing: -.05em; margin-left: .06em; }
.proof .t-lead { margin-top: 28px; }

/* ---------- Histoire client ---------- */
.client { padding: clamp(100px, 12vw, 160px) 0 clamp(120px, 14vw, 180px); }
.client__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
.client__photo { border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 6; background: #111; }
.client__photo img { width: 100%; height: 100%; object-fit: cover; }
.client .t-h3 { margin: 14px 0 22px; }
.client__actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 34px; }
.client__logo { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .7; margin-bottom: 26px; }

/* Témoignages */
.client__head { margin-bottom: clamp(56px, 7vw, 96px); }
.stories { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(72px, 9vw, 120px); }
.story-card { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; padding: 22px; border-radius: 28px; background: var(--graphite-800); }
.story-card figure { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; }
.story-card img { width: 100%; height: 100%; object-fit: cover; }
.story-card .t-eyebrow { font-size: 14px; }
.story-card__t { margin: 10px 0 18px; font-size: clamp(21px, 2vw, 26px); line-height: 1.2; font-weight: 600; letter-spacing: -.025em; }

/* ---------- Équipe ---------- */
.team { padding: clamp(120px, 14vw, 180px) 0 clamp(80px, 10vw, 120px); }
.team__head { text-align: center; margin-bottom: clamp(56px, 7vw, 90px); }
.team__photo { border-radius: 32px; overflow: hidden; aspect-ratio: 1300 / 930; background: #ddd; will-change: clip-path; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; }
.team__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px 80px; margin-top: 56px; align-items: start; }
.checks { display: grid; gap: 14px; font-size: 17px; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 12px; }
.checks li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--fg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(60px, 8vw, 100px) 0 clamp(120px, 14vw, 180px); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px 80px; align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { position: relative; flex: none; width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.faq__list summary i::after { transform: rotate(90deg); }
.faq__list details[open] summary i { transform: rotate(45deg); }
.faq__list details p { padding: 0 0 28px; max-width: 40em; font-size: 17px; line-height: 1.55; color: var(--fg-2); }
.faq__list details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq__list details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- Fin ---------- */
.final { position: relative; padding: clamp(140px, 16vw, 220px) 0 0; text-align: center; overflow: hidden; }
.final .t-lead { max-width: 26em; margin: 24px auto 34px; }
.final__mark { margin-top: clamp(120px, 14vw, 200px); padding: 0 var(--gutter); }
.final__mark svg { width: 100%; max-width: var(--wrap); margin: 0 auto; height: auto; display: block; overflow: visible; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 28px; font-size: 12px; color: var(--graphite-300); border-top: 1px solid var(--line); }
.footer nav { display: flex; gap: 20px; }
.footer a:hover { color: var(--fg); }

/* ---------- Modale film ---------- */
.film { width: min(1100px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 22px; background: #000; overflow: hidden; }
.film::backdrop { background: rgba(0, 0, 0, .85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film__close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(40, 40, 42, .8); color: #fff; display: grid; place-items: center; }
.film__close svg { width: 12px; height: 12px; }

/* ---------- Apparitions ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); }
.js .split-line { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .feature__grid, .client__grid { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; gap: 0; }
  .story__device { order: -1; position: sticky; top: var(--chrome, 52px); height: auto; z-index: 2; justify-content: center; padding: 14px 0 22px; background: linear-gradient(180deg, var(--bg) 88%, transparent); }
  .story__device .tablet { width: min(100%, calc(40vh * 1.51)); }
  .story__device .photo-stack { width: min(100%, calc(40vh * 1.333)); border-radius: 20px; }
  .story__steps { padding: 2vh 0 26vh; }
  .story__step { min-height: 36vh; justify-content: flex-start; padding-top: 3vh; }
  .story__big { font-size: clamp(56px, 12vw, 96px); }
  .catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .stories, .team__grid, .faq__grid { grid-template-columns: 1fr; }
  .phones__item { width: 44vw; }
  .band__media { height: 72vw; margin-top: 8px; }
  .band__img { object-position: 50% 50%; }
  .client__photo { max-width: 420px; }
}
@media (max-width: 560px) {
  .hero__device { width: 118vw; }
  .marquee__row { gap: 48px; }
  .marquee__row img { height: 24px; }
  .footer { flex-direction: column; }
  .catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .catalog__grid img { width: 48px; height: 48px; margin-bottom: 10px; }
  .catalog__grid b { font-size: 15.5px; }
  .catalog__grid span { font-size: 13.5px; }
  .story-card { grid-template-columns: 110px 1fr; gap: 18px; }
  .sectors__head { flex-direction: column; align-items: flex-start; }
  .phones { gap: 16px; }
  .phones__item { width: 46vw; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 32px 48px; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .tablet .fit, .story__step { transition: none; }
}

/* ---------- Fil conducteur : le logo carré ---------- */
.link--down svg { transform: rotate(90deg); }
.link--down:hover svg { transform: rotate(90deg) translateX(3px); }
.hero__mark { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .085; pointer-events: none; overflow: visible; }
.hero__copy, .hero__caps { z-index: 2; }
.thread { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 60; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: rgba(58, 58, 60, .72); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 10px 30px -8px rgba(0, 0, 0, .5); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.thread svg { width: 26px; height: 26px; overflow: visible; }
.thread .pc { opacity: .35; transition: opacity .3s linear; }
.thread:hover { transform: translateY(-2px); }
.thread:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.thread.is-hidden, .thread.is-top { opacity: 0; pointer-events: none; transform: translateY(8px); }
@media (max-width: 560px) { .thread { width: 46px; height: 46px; border-radius: 14px; } .thread svg { width: 22px; height: 22px; } }

/* Filigranes : une pièce du logo carré par chapitre, puis les quatre se rejoignent à la fin */
.wm-host { position: relative; isolation: isolate; overflow: clip; }
.wm { --s: min(78vh, 640px); position: absolute; z-index: -1; top: 50%; width: var(--s); height: var(--s); margin-top: calc(var(--s) / -2); color: #fff; opacity: .07; pointer-events: none; }
.is-light .wm, .is-light.wm-host .wm { color: #000; opacity: .045; }
.wm--r { right: max(-14vw, -180px); }
.wm--l { left: max(-14vw, -180px); }
@media (max-width: 700px) { .wm { --s: 62vw; } .wm--r { right: -18vw; } .wm--l { left: -18vw; } }

/* Écran de chargement : le logo carré, posé comme un tampon */
.loader { display: none; }
.is-loading body { overflow: hidden; }
.is-loading .loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #000; transition: opacity .5s var(--ease), visibility .5s; }
.is-loaded .loader { opacity: 0; visibility: hidden; }
.loader__stamp { position: relative; width: clamp(72px, 8vw, 96px); }
.loader__stamp svg { display: block; width: 100%; height: auto; color: #f5f5f7; animation: stamp .62s cubic-bezier(.22, .9, .3, 1) .2s both; }
.loader__stamp i { position: absolute; inset: -14%; border-radius: 22%; border: 1px solid rgba(245, 245, 247, .45); opacity: 0; animation: ink .9s cubic-bezier(.2, .7, .3, 1) .55s both; }
.is-loaded .loader__stamp svg { transform: scale(.96); transition: transform .5s var(--ease); }
@keyframes stamp {
  0% { transform: scale(2.6) rotate(-9deg); opacity: 0; filter: blur(10px); }
  55% { transform: scale(.9) rotate(0); opacity: 1; filter: blur(0); }
  72% { transform: scale(1.035); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes ink { 0% { transform: scale(.85); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* Indications de défilement : discrètes, elles disparaissent dès qu’on a compris */
.hero__bars { grid-row: 2; display: flex; gap: 6px; margin-top: 20px; opacity: 0; }
.hero__bars i { position: relative; width: 36px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.hero__bars i::after { content: ""; position: absolute; inset: 0; background: #f5f5f7; transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.scroll-cue { position: fixed; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); z-index: 55; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 12px; border-radius: 99px; transform: translateX(-50%); background: rgba(29, 29, 31, .72); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: 12.5px; font-weight: 500; letter-spacing: .01em; color: rgba(245, 245, 247, .82); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.scroll-cue__track { position: relative; width: 14px; height: 22px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px rgba(245, 245, 247, .7); }
.scroll-cue__track i { position: absolute; left: 50%; top: 5px; width: 3px; height: 5px; margin-left: -1.5px; border-radius: 2px; background: #f5f5f7; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 70% { transform: translateY(8px); opacity: 0; } 100% { opacity: 0; } }
.is-loading .scroll-cue, .scroll-cue.is-gone { opacity: 0; transform: translate(-50%, 10px); }
@media (prefers-reduced-motion: reduce) { .scroll-cue__track i { animation: none; opacity: 1; } }

/* =========================================================
   Pages secteur (gabarit : secteur-construction.html)
   ========================================================= */
.s-hero { position: relative; overflow: clip; padding: clamp(120px, 16vh, 170px) 0 clamp(80px, 10vw, 140px); background: var(--black); }
.s-hero__mark { position: absolute; left: 50%; top: 6%; width: min(84vw, 760px); height: auto; transform: translateX(-50%); color: #fff; opacity: .06; pointer-events: none; }
.s-hero__copy { position: relative; text-align: center; }
.s-hero__copy .t-eyebrow { margin-bottom: 16px; }
.s-hero__copy .t-lead { max-width: 30em; margin: 22px auto 0; }
.s-hero__stage { position: relative; width: min(1120px, 90vw); margin: clamp(56px, 8vw, 96px) auto 0; padding-bottom: 4%; }
.s-hero__laptop { width: 88%; }
.s-hero__phone { position: absolute; right: 0; bottom: 0; width: 21%; }
.s-hero__phone .phone { box-shadow: inset 0 0 0 1.5px #4a4a4e, inset 0 0 0 4px #161617, 0 50px 90px -30px rgba(0, 0, 0, .95); }

.pains { padding: clamp(120px, 14vw, 190px) 0; text-align: center; }
.pains__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(56px, 7vw, 90px); text-align: left; }
.pain { padding: 34px 30px 36px; border-radius: 28px; background: var(--graphite-700); }
.pain__n { font-size: 15px; font-weight: 600; color: var(--graphite-300); margin-bottom: 40px; }
.pain h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.15; font-weight: 600; letter-spacing: -.025em; }
.pain p:last-child { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.pains__answer { max-width: 30em; margin: clamp(56px, 7vw, 90px) auto 0; }

.custom { padding: clamp(120px, 14vw, 180px) 0; }
.custom__head { text-align: center; }
.custom__head .t-lead { max-width: 30em; margin: 24px auto 0; }
.custom__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(56px, 7vw, 90px); }
.c-card { padding: 34px 30px 38px; border-radius: 28px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 20px 40px -24px rgba(0, 0, 0, .12); }
.c-card__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #1d1d1f; color: #fff; margin-bottom: 26px; }
.c-card__ic svg { width: 24px; height: 24px; }
.c-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.c-card p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--fg-2); }

.s-quote { padding: clamp(120px, 14vw, 180px) 0; text-align: center; }
.s-quote__logos { display: flex; justify-content: center; align-items: center; gap: clamp(32px, 6vw, 72px); flex-wrap: wrap; margin-top: 28px; }
.s-quote__logos img { height: clamp(22px, 3vw, 34px); width: auto; max-width: 38vw; object-fit: contain; filter: brightness(0) invert(1); opacity: .6; }
.s-quote__card { max-width: 900px; margin: clamp(56px, 7vw, 90px) auto 0; }
.s-quote__card blockquote { text-wrap: balance; }
.s-quote__card figcaption { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 34px; text-align: left; font-size: 15px; color: var(--fg-2); }
.s-quote__card figcaption b { display: block; color: var(--fg); font-weight: 600; }
.s-quote__av { width: 48px; height: 48px; border-radius: 50%; background: #2c2c2e; }
.is-todo { color: var(--graphite-300); font-style: italic; outline: 1px dashed rgba(255, 255, 255, .22); outline-offset: 18px; border-radius: 4px; }


@media (max-width: 900px) {
  .pains__grid, .custom__grid { grid-template-columns: 1fr; }
  .pain__n { margin-bottom: 18px; }
  .s-hero__stage { width: 94vw; padding-bottom: 10%; }
  .s-hero__laptop { width: 92%; }
  .s-hero__phone { width: 27%; right: -1%; }
}

/* Carte secteur qui mène à sa page */
.sector__link { display: block; color: inherit; }
.sector__more { display: inline-flex; align-items: center; gap: .3em; margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--fg); }
.sector__more svg { width: .7em; height: .7em; transition: transform .35s var(--ease-out); }
.sector__link:hover .sector__more svg { transform: translateX(3px); }

/* Témoignage réel sur une page secteur : le chiffre */
.s-stat { display: flex; align-items: baseline; gap: 14px; margin-top: 26px; }
.s-stat b { white-space: nowrap; font-size: clamp(48px, 5vw, 72px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.s-stat span { font-size: 17px; color: var(--fg-2); }

/* =========================================================
   Page « Réserver une démo »
   ========================================================= */
.d-hero { padding: clamp(120px, 15vh, 170px) 0 clamp(100px, 12vw, 150px); }
.d-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: 'intro form' 'points form'; gap: 0 clamp(40px, 6vw, 96px); align-items: start; }
.d-intro { grid-area: intro; }
.d-card { grid-area: form; }
.d-points { grid-area: points; }
.d-intro .t-h2 { margin-top: 14px; }
.d-intro .t-lead { margin-top: 22px; max-width: 26em; }
.d-points { display: grid; gap: 22px; margin-top: 44px; }
.d-points li { display: flex; gap: 16px; align-items: flex-start; }
.d-points li > span { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--graphite-700); }
.d-points svg { width: 22px; height: 22px; color: var(--graphite-50); }
.d-points p { font-size: 16px; line-height: 1.45; color: var(--fg-2); }
.d-points b { display: block; color: var(--fg); font-weight: 600; margin-bottom: 2px; }

.d-card { position: sticky; top: 84px; padding: clamp(26px, 3vw, 40px); border-radius: 28px; background: var(--graphite-50); color: #1d1d1f; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.d-step__n { font-size: 13px; font-weight: 600; color: #86868b; }
.d-step__t { margin: 6px 0 22px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.03em; }
/* Créneau : une semaine à la fois (avec l'année), du lundi au vendredi, puis les heures du jour choisi */
.d-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.d-cal__month { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: #1d1d1f; }
.d-cal__month::first-letter { text-transform: uppercase; }
.d-cal__nav { display: flex; flex: none; gap: 6px; }
.d-cal__btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); color: #1d1d1f; cursor: pointer; transition: box-shadow .2s, opacity .2s; }
.d-cal__btn svg { width: 8px; height: 12px; }
.d-cal__btn[data-cal-prev] svg { transform: scaleX(-1); }
.d-cal__btn:not(:disabled):hover { box-shadow: inset 0 0 0 1.5px #1d1d1f; }
.d-cal__btn:disabled { opacity: .35; cursor: default; }
.d-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.d-day, .d-time { border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); color: #1d1d1f; font: inherit; cursor: pointer; transition: box-shadow .2s, background-color .2s, color .2s; }
.d-day { display: grid; gap: 2px; padding: 12px 6px; text-align: center; font-size: 12px; color: #6e6e73; }
.d-day b { font-size: 21px; font-weight: 600; color: #1d1d1f; letter-spacing: -.02em; }
.d-day:disabled { background: transparent; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); color: #b8b8bd; cursor: default; }
.d-day:disabled b { color: #b8b8bd; }
.d-day:not(:disabled):hover, .d-time:hover { box-shadow: inset 0 0 0 1.5px #1d1d1f; }
.d-day[aria-pressed="true"], .d-time[aria-selected="true"] { background: #1d1d1f; color: #f5f5f7; box-shadow: none; }
.d-day[aria-pressed="true"] b { color: #f5f5f7; }
.d-slot-day { margin-top: 20px; font-size: 15px; font-weight: 600; color: #1d1d1f; }
.d-slot-day::first-letter { text-transform: uppercase; }
.d-times { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 10px; align-content: start; }
.d-time { padding: 11px 0; font-size: 14px; font-weight: 500; }
.d-tz { margin-top: 14px; font-size: 13px; color: #86868b; }
.d-next { width: 100%; margin-top: 24px; --btn-bg: #1d1d1f; --btn-fg: #f5f5f7; }
.d-next:disabled { opacity: .3; cursor: default; }
.d-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 14px 8px 10px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); font: inherit; font-size: 14px; font-weight: 500; color: #1d1d1f; cursor: pointer; }
.d-back svg { width: 8px; height: 12px; transform: scaleX(-1); }
.d-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.d-f { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: #424245; }
.d-f--full { grid-column: 1 / -1; }
.d-f em { font-style: normal; color: #86868b; font-weight: 400; }
.d-f input, .d-f select, .d-f textarea { width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); font: inherit; font-size: 16px; color: #1d1d1f; outline: none; transition: box-shadow .2s; }
.d-f select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 10px no-repeat; }
.d-f textarea { resize: vertical; min-height: 84px; }
.d-f input:focus, .d-f select:focus, .d-f textarea:focus { box-shadow: inset 0 0 0 2px #1d1d1f; }
.d-f .is-bad { box-shadow: inset 0 0 0 2px #d70015; }
.d-consent { display: flex; gap: 10px; margin-top: 18px; font-size: 13px; line-height: 1.45; color: #6e6e73; }
.d-consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: #1d1d1f; }
.d-error { margin-top: 12px; font-size: 14px; color: #d70015; }
.d-note { margin-top: 12px; font-size: 12px; color: #86868b; text-align: center; }
.d-done { text-align: center; padding: 30px 0 16px; }
.d-done__ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #1d1d1f; color: #f5f5f7; margin-bottom: 18px; }
.d-done__ic svg { width: 30px; height: 30px; }
.d-done p { max-width: 24em; margin: 0 auto 26px; font-size: 17px; line-height: 1.5; color: #424245; }
.d-faq { padding: clamp(100px, 12vw, 150px) 0; }
.final--short { padding-top: clamp(60px, 8vw, 100px); }
.final--short .final__mark { margin-top: 0; }

@media (max-width: 900px) {
  .d-grid { grid-template-columns: 1fr; grid-template-areas: 'intro' 'form' 'points'; }
  .d-card { position: static; margin-top: 40px; }
  .d-points { margin-top: 56px; }
}
@media (max-width: 560px) {
  .d-days { gap: 6px; }
  .d-day { padding: 10px 2px; font-size: 11px; }
  .d-day b { font-size: 18px; }
  .d-times { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .d-fields { grid-template-columns: 1fr; }
}

/* =========================================================
   Pages module (module-*.html) et liens du catalogue
   ========================================================= */
.catalog__grid:has(.catalog__link) { gap: 16px; max-width: 1200px; margin-top: 64px; }
/* Carte module : toute la carte est cliquable, une seule flèche au même endroit sur chaque carte */
.catalog__grid li:has(.catalog__link) { display: block; }
.catalog__link { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; height: 100%; padding: 30px 28px 76px; border-radius: 26px; background: #fff; text-align: left; color: inherit; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 40px -28px rgba(0, 0, 0, .16); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.catalog__link:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 30px 60px -30px rgba(0, 0, 0, .24); }
.catalog__link img { margin-bottom: 18px; }
.catalog__link:hover img { transform: none; }
.catalog__grid .catalog__link span { max-width: none; }
.catalog__go { position: absolute; right: 22px; bottom: 22px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--graphite-50, #f5f5f7); color: var(--graphite-700); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); transition: background-color .35s var(--ease-out), color .35s var(--ease-out), transform .5s var(--ease-out); }
.catalog__go svg { width: 12px; height: 12px; }
.catalog__link:hover .catalog__go { background: var(--graphite-700); color: #fff; transform: translateX(2px); }
/* Variante sombre (pages module, « Les autres modules ») */
.mod-others .catalog__link { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.mod-others .catalog__link:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.mod-others .catalog__go { background: rgba(255, 255, 255, .08); color: var(--graphite-50); box-shadow: none; }
.mod-others .catalog__link:hover .catalog__go { background: var(--graphite-50); color: var(--graphite-700); }
@media (max-width: 900px) {
  .catalog__grid:has(.catalog__link) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 600px) {
  .catalog__grid:has(.catalog__link) { grid-template-columns: 1fr; gap: 10px; margin-top: 44px; }
  .catalog__link { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 2px; align-items: start; padding: 18px 60px 18px 18px; border-radius: 20px; }
  .catalog__link img { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 2px 0 0; }
  .catalog__go { top: 50%; bottom: auto; right: 16px; width: 32px; height: 32px; margin-top: -16px; }
}

.mod-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.mod-eyebrow img { width: 28px; height: 28px; }

/* Modules reliés : le module au centre, les autres autour */
.hub { padding: clamp(120px, 14vw, 180px) 0; }
.hub__grid { display: grid; grid-template-columns: 1fr minmax(220px, 280px) 1fr; align-items: center; gap: clamp(28px, 4vw, 56px); margin-top: clamp(56px, 7vw, 90px); }
.hub__col { display: grid; gap: 16px; }
.h-card { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 20px 40px -26px rgba(0, 0, 0, .14); }
.h-card img { flex: none; width: 40px; height: 40px; }
.h-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.h-card p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--fg-2); }
.h-card::after { content: ''; position: absolute; top: 50%; width: clamp(28px, 4vw, 56px); height: 1px; background: linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .04)); }
.hub__col--l .h-card::after { left: 100%; background: linear-gradient(90deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .18)); }
.hub__col--r .h-card::after { right: 100%; }
.hub__core { position: relative; display: grid; place-items: center; align-content: center; gap: 14px; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 40px 80px -40px rgba(0, 0, 0, .25); text-align: center; }
.hub__core img { width: 88px; height: 88px; position: relative; }
.hub__core b { position: relative; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.hub__ring { position: absolute; inset: -18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .07); }
.hub__ring--2 { inset: -40px; border-color: rgba(0, 0, 0, .04); }
@media (prefers-reduced-motion: no-preference) {
  .hub__ring { animation: hubPulse 4s var(--ease-out) infinite; }
  .hub__ring--2 { animation-delay: 1.2s; }
}
@keyframes hubPulse { 0% { transform: scale(.94); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.08); opacity: 0; } }

/* Témoignage court, initiales */
.s-quote__av--txt { display: grid; place-items: center; font-size: 15px; font-weight: 600; color: #fff; }

/* Par métier */
.jobs { padding: clamp(120px, 14vw, 180px) 0; }
.jobs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; margin-top: clamp(56px, 7vw, 90px); }
.j-card a { display: block; color: inherit; text-decoration: none; }
.j-card figure { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 22px; background: #e8e8ed; }
.j-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.j-card a:hover img { transform: scale(1.04); }
.j-card__k { margin-top: 20px; font-size: 14px; font-weight: 500; color: var(--fg-2); }
.j-card h3 { margin-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.j-card h3 + p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.j-card .sector__more { margin-top: 14px; }

/* Autres modules (fond sombre) */
.mod-others .catalog { padding-top: clamp(120px, 14vw, 180px); }

@media (max-width: 900px) {
  .hub__grid { grid-template-columns: 1fr 1fr; }
  .hub__core { grid-column: 1 / -1; grid-row: 1; width: min(240px, 62vw); margin: 30px auto 40px; }
  .hub__col { grid-row: 2; }
  .h-card::after { display: none; }
  .jobs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hub__grid { grid-template-columns: 1fr; }
  .hub__col--r { grid-row: 3; }
  .h-card { padding: 18px 20px; }
  .jobs__grid { grid-template-columns: 1fr; gap: 36px; }
  .j-card figure { aspect-ratio: 16 / 10; }
}

/* ---------- Tester la plateforme (pages secteur) ---------- */
.btn--line { --btn-bg: transparent; --btn-fg: var(--fg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); }
.is-light .btn--line { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.btn--line:hover { opacity: 1; box-shadow: inset 0 0 0 1px currentColor; }
.final__alt { margin-top: 22px; }
