/* =========================================================
   KEYS Advisory — Direction artistique v2
   Ivoire · Blanc · Beige · Bleu KEYS et ses déclinaisons · Or foncé
   ========================================================= */

:root {
  /* Bleus */
  --navy-950: #000f56;  /* un seul bleu sur tout le site : celui du logo */
  --navy-900: #000f56;   /* bleu officiel */
  --royal-700: #001889;  /* bleu monogramme */
  --blue-500: #3552a8;
  --blue-300: #9aacbf;   /* acier */
  --blue-100: #e4e9f1;
  /* Neutres chauds */
  --white: #ffffff;
  --ivory: #f8f4ec;
  --beige: #ede4d3;
  --sand: #d8c8aa;
  /* Or */
  --gold-700: #85601a;   /* texte sur fond clair (AA) */
  --gold-500: #a8802f;
  --gold-300: #d2b273;   /* sur fond bleu */
  /* Encre */
  --ink: #0b1230;
  --ink-soft: #424a63;

  --display: "Tw Cen MT", "Jost", "Futura", "Century Gothic", sans-serif;
  --body: "Avenir Next", "Avenir", "Mulish", "Helvetica Neue", Arial, sans-serif;
  --brand: "Poppins", "Avenir Next", sans-serif;

  --fs-sm: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --fs-base: clamp(1rem, 0.97rem + 0.18vw, 1.12rem);
  --fs-lg: clamp(1.15rem, 1.05rem + 0.45vw, 1.42rem);
  --fs-xl: clamp(1.5rem, 1.2rem + 1.3vw, 2.4rem);
  --fs-2xl: clamp(2.2rem, 1.5rem + 3vw, 4.4rem);
  --fs-3xl: clamp(2.8rem, 1.6rem + 5.4vw, 7.4rem);
  --fs-giant: clamp(5rem, 2rem + 17vw, 22rem);

  --gutter: clamp(20px, 5vw, 80px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--body); font-size: var(--fs-base); line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1; letter-spacing: -0.01em; }
::selection { background: var(--navy-900); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 500; background: var(--navy-900); color: #fff; padding: 12px 18px; }
.skip-link:focus { top: 12px; }

.label {
  font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-700); display: inline-block; margin-bottom: 28px;
}
.on-dark .label, .label--light { color: var(--gold-300); }
.gold { color: var(--gold-700); }
.on-dark .gold { color: var(--gold-300); }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--ink-soft); max-width: 46ch; }
.on-dark { color: var(--ivory); }
.on-dark .lead { color: #c3cddc; }

/* split text */
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line > span { display: inline-block; will-change: transform; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 30px;
  border-radius: 100px; background: var(--navy-900); color: var(--ivory); overflow: hidden; isolation: isolate;
  font-family: var(--body); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-500);
  transform: translateY(101%); border-radius: inherit; transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn .arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--light { background: var(--ivory); color: var(--navy-900); }
.btn--light:hover { color: var(--ivory); }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn--line:hover { color: var(--ivory); }

.link-u { position: relative; display: inline-block; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; color: #ffffff; cursor: pointer; }
.loader__bg { position: absolute; inset: 0; background: var(--navy-950); }
.loader__lockup { position: relative; display: flex; align-items: center; gap: clamp(22px, 2.6vw, 36px); }
.loader__mark { position: relative; isolation: isolate; display: block; width: clamp(70px, 8vw, 112px); aspect-ratio: 258 / 333; }
.loader__mark img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.loader__shine { position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(135deg, transparent 42%, rgba(236, 210, 150, 0.2) 46%, rgba(246, 226, 176, 0.95) 50%, rgba(236, 210, 150, 0.2) 54%, transparent 58%) 0% 0% / 300% 300% no-repeat;
  -webkit-mask: url("/assets/img/monogram.png?v=b1842597") center / contain no-repeat; mask: url("/assets/img/monogram.png?v=b1842597") center / contain no-repeat; }
.loader__glow { position: absolute; z-index: -1; left: 50%; top: 50%; width: 420%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(24, 56, 190, 0.55), rgba(2, 21, 104, 0.25) 45%, rgba(0, 15, 86, 0) 100%); }
.loader__rule { display: block; width: 1px; height: clamp(54px, 6.4vw, 88px); background: linear-gradient(180deg, rgba(210, 178, 115, 0), var(--gold-300) 20%, var(--gold-300) 80%, rgba(210, 178, 115, 0)); }
.loader__name { display: inline-flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.loader__keys { font-family: var(--brand); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: 0.03em; margin-right: -0.03em; display: flex; }
.loader__keys span { display: inline-block; opacity: 0; }
.loader__adv { display: flex; justify-content: space-between; font-family: var(--brand); font-weight: 300; font-size: clamp(0.62rem, 1.2vw, 0.9rem); margin-top: 0.8em; opacity: 0; }
.no-js .loader, .reduced .loader { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 200; height: var(--header-h);
  display: flex; align-items: center; color: var(--navy-900); transition: color .5s var(--ease), transform .6s var(--ease);
  isolation: isolate;
}
.header.is-dark { color: var(--ivory); }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(248, 244, 236, 0.86); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 rgba(0, 15, 86, 0.08); transition: opacity .5s var(--ease), background .5s var(--ease); }
.header.is-scrolled::before { opacity: 1; }
.header.is-scrolled.is-dark::before { background: rgba(0, 15, 86, 0.82); box-shadow: 0 1px 0 rgba(154, 172, 191, 0.14); }
.menu-open .header::before { opacity: 0; }
.header.is-hidden { transform: translateY(-110%); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; }
/* Logo : règle de contraste. Navy #000F56 sur fond clair, blanc #FFFFFF sur fond sombre. */
.brand { --logo: #000f56; --logo-inverse: #ffffff; display: inline-flex; align-items: center; gap: 12px; color: var(--logo); transition: color .5s var(--ease); }
.header.is-dark .brand, .menu-open .header .brand, .on-dark .brand { --logo: #ffffff; --logo-inverse: #000f56; }
.brand__mark { width: 36px; height: 36px; border-radius: 50%; background: var(--logo); display: grid; place-items: center; transition: background .5s var(--ease); }
.brand__glyph {
  width: 18px; aspect-ratio: 258 / 333; background: var(--logo-inverse); transition: background .5s var(--ease);
  -webkit-mask: url("/assets/img/monogram.png?v=b1842597") center / contain no-repeat; mask: url("/assets/img/monogram.png?v=b1842597") center / contain no-repeat;
}
/* ADVISORY occupe exactement la largeur de KEYS, comme sur le logo */
.brand__word { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__word b { font-family: var(--brand); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; margin-right: -0.02em; }
.brand__adv { display: flex; justify-content: space-between; font-family: var(--brand); font-weight: 300; font-size: 0.5rem; margin-top: 5px; }
.brand__adv i, .loader__adv i { font-style: normal; }
.header__right { display: flex; align-items: center; gap: 12px; }
.header .btn { min-height: 46px; padding: 0 22px; font-size: 0.88rem; }
.header.is-dark .btn { background: var(--ivory); color: var(--navy-900); }
.header.is-dark .btn:hover { color: var(--ivory); }
.menu-btn {
  height: 46px; padding: 0 20px 0 18px; border-radius: 100px; display: inline-flex; align-items: center; gap: 12px;
  box-shadow: inset 0 0 0 1px currentColor; font-weight: 500; font-size: 0.88rem;
}
.menu-btn i { width: 18px; height: 8px; position: relative; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn i::before { top: 0; } .menu-btn i::after { bottom: 0; }
.menu-open .menu-btn i::before { transform: translateY(3.25px) rotate(45deg); }
.menu-open .menu-btn i::after { transform: translateY(-3.25px) rotate(-45deg); }
.menu-open .header { color: var(--ivory); }
@media (max-width: 720px) { .header .btn { display: none; } }

/* ---------- Menu plein écran ---------- */
.menu {
  position: fixed; inset: 0; z-index: 150; background: var(--navy-950); color: var(--ivory);
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); visibility: hidden;
  display: grid; grid-template-columns: 1fr; padding: calc(var(--header-h) + 4vh) var(--gutter) 40px; overflow-y: auto;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__grid { display: grid; grid-template-columns: 1fr; gap: 48px; max-width: var(--max); margin-inline: auto; width: 100%; align-content: center; }
.menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu li { counter-increment: m; overflow: hidden; }
.menu li a { display: flex; align-items: baseline; gap: 18px; font-family: var(--display); font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.12; transition: color .4s, translate .6s var(--ease); }
.menu li a::before { content: "0" counter(m); font-family: var(--body); font-size: 0.8rem; color: var(--gold-300); letter-spacing: 0.1em; }
.menu li a:hover { color: var(--gold-300); translate: 10px 0; }
.menu-open .header .btn { background: var(--ivory); color: var(--navy-900); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ivory); }
.hero__cover { position: absolute; inset: 0; z-index: 3; background: var(--ivory); color: var(--navy-900); }
.hero__cover.is-iris { -webkit-mask-image: radial-gradient(circle at var(--ox) var(--oy), transparent var(--r), #000 calc(var(--r) + 1px)); mask-image: radial-gradient(circle at var(--ox) var(--oy), transparent var(--r), #000 calc(var(--r) + 1px)); }
.hero__inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--header-h) + 3vh); padding-bottom: 3.5vh; }
.hero h1 { font-size: min(16vw, 17.5svh); line-height: 0.94; letter-spacing: -0.025em; color: var(--navy-900); margin: 0; }
.hero h1 .gold { font-style: italic; color: var(--gold-700); white-space: nowrap; }
.hero .scroll-cue { margin-top: 2.5vh; font-size: var(--fs-sm); color: var(--ink-soft); }
.no-motion .hero__cover { position: relative; min-height: 100svh; }
.no-motion .stage { height: auto; }
.no-motion .stage__frame { position: relative; height: 100svh; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 1px; height: 40px; background: var(--ink-soft); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--gold-500); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.stage { position: relative; height: 100svh; overflow: hidden; }
.stage__frame {
  position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, var(--ivory), var(--beige));
}
.stage__frame canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.stage__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(248, 244, 236, 0.92) 0%, rgba(248, 244, 236, 0) 42%); }
.stage__text { position: absolute; inset: auto 0 9vh; z-index: 2; color: var(--navy-900); opacity: 0; pointer-events: none; }
.stage__text p { font-family: var(--display); font-size: var(--fs-2xl); line-height: 1.04; margin: 0; max-width: 22ch; }
.stage__text small { display: block; margin-top: 22px; font-size: var(--fs-sm); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-700); font-family: var(--display); font-weight: 700; }
.no-motion .stage__text { opacity: 1; }

/* ---------- Curseur ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 700; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #f8f4ec; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; box-shadow: inset 0 0 0 1px #f8f4ec;
  display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .35s, opacity .3s;
}
.cursor__label { font-family: var(--display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: #000f56; opacity: 0; transition: opacity .3s; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: #f8f4ec; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot, .cursor.is-text .cursor__ring { opacity: 0; }
.cursor.is-hidden { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor summary { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(110px, 16vh, 200px); position: relative; }
.bg-white { background: var(--white); }
.bg-ivory { background: var(--ivory); }
.bg-beige { background: var(--beige); }
.bg-navy { background: var(--navy-900); }
.bg-deep { background: var(--navy-950); }

/* Positionnement */
.statement { font-family: var(--display); font-size: var(--fs-2xl); line-height: 1.12; letter-spacing: -0.015em; color: var(--navy-900); max-width: 22ch; margin: 0; }
.statement .w { opacity: 0.14; }
.no-motion .statement .w { opacity: 1; }

.values { display: grid; grid-template-columns: 1fr; gap: 56px; margin-top: clamp(96px, 14vh, 180px); }
@media (min-width: 1000px) {
  .values { grid-template-columns: 0.8fr 1.2fr; gap: 96px; }
  .values__head { position: sticky; top: calc(var(--header-h) + 8vh); align-self: start; }
}
.values__head h2 { font-size: var(--fs-2xl); color: var(--navy-900); margin-bottom: 28px; }
.values ol { list-style: none; margin: 0; padding: 0; counter-reset: v; }
.value { counter-increment: v; display: grid; grid-template-columns: 64px 1fr; gap: 8px 24px; padding: 40px 0; border-top: 1px solid rgba(0, 15, 86, 0.14); transition: opacity .6s var(--ease); }
.value:last-child { border-bottom: 1px solid rgba(0, 15, 86, 0.14); }
.value::before { content: "0" counter(v); font-family: var(--display); font-size: 1.1rem; color: var(--gold-700); padding-top: 0.5em; }
.value h3 { font-size: var(--fs-xl); color: var(--navy-900); line-height: 1.1; }
.value p { grid-column: 2; color: var(--ink-soft); margin: 10px 0 0; max-width: 52ch; }
.js .values.is-scrubbed .value { opacity: 0.32; }
.js .values.is-scrubbed .value.is-active { opacity: 1; }

/* Expertises : « Nous conseillons… pour… », une phrase qui se recompose au défilement */
.reach__grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
.reach__title { font-size: var(--fs-2xl); line-height: 1.08; color: #ffffff; margin: 0; }
.reach__who { position: relative; display: block; min-height: 2.2em; font-style: italic; color: var(--gold-300); }
.reach__word { position: absolute; inset: 0 0 auto 0; }
.reach__word .w { display: inline-block; white-space: nowrap; }
.reach__word .ch { display: inline-block; }
.reach__audience { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0 0; padding: 0; font-size: var(--fs-sm); color: rgba(195, 205, 220, 0.62); }
.reach__audience li { transition: color .6s var(--ease); }
.reach__audience li.is-on { color: #ffffff; }
.reach__pour { display: block; margin-bottom: 14px; font-family: var(--display); font-style: italic; font-size: var(--fs-lg); color: var(--gold-300); }
.reach__list { list-style: none; margin: 0; padding: 0; }
.reach__list li { position: relative; padding: 0.42em 0; border-top: 1px solid rgba(154, 172, 191, 0.2); font-family: var(--display); font-size: var(--fs-xl); line-height: 1.15; color: #ffffff; transition: color .6s var(--ease), translate .8s var(--ease); }
.reach__list li.reach__last { color: var(--gold-300); }
@media (min-width: 900px) {
  .reach.is-pinned { min-height: 100vh; display: flex; align-items: center; padding-block: clamp(96px, 13vh, 132px) clamp(48px, 7vh, 72px); }
  .is-pinned .reach__grid { width: 100%; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(56px, 7vw, 120px); align-items: center; }
  .is-pinned .reach__list li { color: rgba(195, 205, 220, 0.3); }
  .is-pinned .reach__list li.is-past { color: rgba(195, 205, 220, 0.55); }
  .is-pinned .reach__list li.is-on { color: #ffffff; translate: 14px 0; }
  .is-pinned .reach__list li.reach__last.is-on { color: var(--gold-300); }
  .reach__list li::before { content: ""; position: absolute; left: -14px; top: 50%; width: 14px; height: 1px; background: var(--gold-300); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
  .reach__list li.is-on::before { transform: scaleX(1); }
}

/* ---------- Méthode ---------- */
.method { background: var(--navy-950); color: var(--ivory); overflow: hidden; }
.method__intro { padding-top: clamp(110px, 16vh, 200px); padding-bottom: 6vh; display: grid; gap: 32px; }
.method__intro h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.6rem); line-height: 1.06; max-width: 16ch; }
.method__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 4vh) 7vh; }
/* Les quatre lettres : une colonne chacune, alignées sur la grille du contenu */
.method__letters { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 32px); font-family: var(--display); font-weight: 400; font-size: clamp(3.6rem, 1.6rem + 8vw, 10.5rem); line-height: 0.82; letter-spacing: -0.02em; user-select: none; }
.method__letters span { display: flex; flex-direction: column; gap: 18px; padding-top: 22px; border-top: 1px solid rgba(154, 172, 191, 0.22); color: var(--gold-300); transition: color .7s var(--ease), border-color .7s var(--ease); }
.method__letters small { font-family: var(--display); font-weight: 700; font-size: clamp(0.62rem, 0.55rem + 0.25vw, 0.8rem); line-height: 1.2; letter-spacing: 0.26em; text-transform: uppercase; color: #c3cddc; transition: color .7s var(--ease); }
.js .method.is-pinned .method__letters span { color: rgba(154, 172, 191, 0.18); }
.js .method.is-pinned .method__letters span small { color: rgba(195, 205, 220, 0.45); }
.js .method.is-pinned .method__letters span.is-on { color: var(--gold-300); border-top-color: var(--gold-300); }
.js .method.is-pinned .method__letters span.is-current { color: #ffffff; border-top-color: #ffffff; }
.js .method.is-pinned .method__letters span.is-on small, .js .method.is-pinned .method__letters span.is-current small { color: var(--gold-300); }
.method__bar { height: 1px; background: rgba(154, 172, 191, 0.25); margin: clamp(28px, 4.5vh, 48px) 0 clamp(28px, 4.5vh, 48px); position: relative; }
.method__bar i { position: absolute; inset: 0; background: var(--gold-300); transform-origin: left; transform: scaleX(0); }
/* Contenu d'une étape : titre à gauche, texte et repères à droite */
.method__steps { display: grid; grid-template-columns: 1fr; gap: 56px; }
.method__step { display: grid; grid-template-columns: 1fr; gap: 16px 64px; }
@media (min-width: 900px) { .method__step { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.method__step h3 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 3rem); line-height: 1.05; margin: 0; }
.method__step h3 small { display: block; font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 14px; }
.method__step p { color: #c3cddc; max-width: 56ch; margin: 0; font-size: var(--fs-lg); line-height: 1.6; }
.js .method.is-pinned .method__steps { display: block; position: relative; min-height: 230px; }
.js .method.is-pinned .method__step { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; }
.js .method.is-pinned .method__step.is-current { opacity: 1; visibility: visible; }
@media (max-width: 899px) { .method__pin { min-height: 0; padding-block: 24px clamp(64px, 10vh, 96px); } .method__letters { margin-bottom: clamp(48px, 8vh, 72px); } .method__bar { display: none; } }

/* ---------- Expertises ---------- */
.exp-head { display: grid; gap: 28px; margin-bottom: clamp(56px, 9vh, 110px); }
.exp-head h2 { font-size: var(--fs-2xl); color: var(--navy-900); }
.expertise { border-top: 1px solid rgba(0, 15, 86, 0.16); }
.expertise:last-child { border-bottom: 1px solid rgba(0, 15, 86, 0.16); }
.expertise button { width: 100%; display: grid; grid-template-columns: 70px 1fr 48px; gap: 16px; align-items: center; text-align: left; padding: clamp(26px, 4vh, 42px) 0; color: var(--navy-900); }
.expertise__n { font-family: var(--display); color: var(--gold-700); font-size: 1.05rem; }
.expertise__t { font-family: var(--display); font-size: var(--fs-xl); line-height: 1.1; transition: transform .7s var(--ease); }
.expertise button:hover .expertise__t { transform: translateX(12px); }
.expertise__i { width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 15, 86, 0.3); position: relative; transition: background .5s var(--ease), box-shadow .5s; }
.expertise__i::before, .expertise__i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: currentColor; transition: transform .6s var(--ease); }
.expertise__i::after { transform: rotate(90deg); }
.expertise.is-open .expertise__i { background: var(--navy-900); color: var(--ivory); box-shadow: none; }
.expertise.is-open .expertise__i::after { transform: rotate(0); }
.expertise__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.expertise.is-open .expertise__panel { grid-template-rows: 1fr; }
.expertise__panel > div { overflow: hidden; }
.expertise__body { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 0 0 44px 86px; }
@media (min-width: 900px) { .expertise__body { grid-template-columns: 1fr 1fr; gap: 64px; } }
@media (max-width: 640px) { .expertise button { grid-template-columns: 40px 1fr 48px; } .expertise__body { padding-left: 0; } }
.expertise__body p { color: var(--ink-soft); margin: 0; font-size: var(--fs-lg); line-height: 1.55; }
.expertise__body ul { list-style: none; margin: 0; padding: 0; columns: 2 200px; column-gap: 32px; }
.expertise__body li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid rgba(0, 15, 86, 0.08); font-size: 0.96rem; }


/* ---------- Réalisations ---------- */
.cases-section { position: relative; overflow: hidden; }
.cases-pin { padding-block: clamp(110px, 16vh, 200px) clamp(80px, 12vh, 140px); }
.cases-head { display: grid; gap: 28px; margin-bottom: clamp(48px, 7vh, 80px); }
.cases-head h2 { font-size: var(--fs-2xl); color: var(--navy-900); }
.cases-hint { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--ink-soft); margin: 18px 0 0; }
.cases-hint svg { width: 18px; height: 18px; }
.cases-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-inline: var(--gutter); }
.cases-viewport::-webkit-scrollbar { display: none; }
.cases-track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; padding-right: var(--gutter); }
.case { scroll-snap-align: start; width: min(84vw, 440px); flex: none; display: flex; flex-direction: column; background: var(--ivory); border-radius: 4px; overflow: hidden; }
.case__cover { position: relative; aspect-ratio: 4 / 3; padding: 26px 28px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.case__cover::before { content: ""; position: absolute; right: -14%; bottom: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 1px currentColor, 0 0 0 26px transparent, 0 0 0 27px currentColor, 0 0 0 54px transparent, 0 0 0 55px currentColor; opacity: 0.14; }
.case__cover--navy { background: var(--navy-900); color: var(--ivory); }
.case__cover--ivory { background: var(--white); color: var(--navy-900); box-shadow: inset 0 0 0 1px rgba(0, 15, 86, 0.1); }
.case__cover--beige { background: var(--beige); color: var(--navy-900); }
.case__cover--gold { background: var(--gold-500); color: var(--ivory); }
.case__kind { font-family: var(--display); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.85; }
.case__cover--navy .case__kind { color: var(--gold-300); opacity: 1; }
.case__title { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); line-height: 1.05; max-width: 12ch; position: relative; }
.case__meta { display: flex; justify-content: space-between; font-family: var(--display); font-size: 0.86rem; letter-spacing: 0.08em; position: relative; }
.case__meta span:last-child { font-family: var(--brand); font-weight: 700; letter-spacing: 0.04em; color: #000f56; }
.case__cover--navy .case__meta span:last-child, .case__cover--gold .case__meta span:last-child { color: #ffffff; }
.case__body { padding: 26px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.case__sector { font-size: 0.86rem; color: var(--ink-soft); }
.case h3 { font-size: var(--fs-lg); line-height: 1.2; color: var(--navy-900); margin: 10px 0 12px; }
.case p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 18px; }
.case ul { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid rgba(0, 15, 86, 0.12); display: grid; gap: 8px; font-size: 0.9rem; color: var(--ink); }
.case li { padding-left: 18px; position: relative; }
.case li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.case--cta .btn { margin-top: auto; align-self: flex-start; }
.js .cases-section.is-pinned .cases-viewport { overflow: visible; scroll-snap-type: none; }

/* ---------- Offres ---------- */
.offers-head { display: grid; gap: 28px; margin-bottom: clamp(56px, 9vh, 100px); }
.offers-head h2 { font-size: var(--fs-2xl); color: var(--navy-900); }
.stairs { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: end; }
@media (min-width: 900px) { .stairs { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.step-card {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; background: var(--white); color: var(--navy-900);
  border-radius: 4px; box-shadow: 0 1px 0 rgba(0, 15, 86, 0.06); transition: translate .7s var(--ease), box-shadow .7s var(--ease), background .6s, color .6s;
  text-align: left; min-height: 340px;
}
@media (min-width: 900px) {
  .step-card:nth-child(1) { min-height: 380px; } .step-card:nth-child(2) { min-height: 440px; }
  .step-card:nth-child(3) { min-height: 500px; } .step-card:nth-child(4) { min-height: 560px; }
}
.step-card:hover { translate: 0 -8px; box-shadow: 0 30px 60px -30px rgba(0, 15, 86, 0.35); }
.step-card:nth-child(4) { background: var(--navy-900); color: var(--ivory); }
.step-card__code { font-family: var(--brand); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; letter-spacing: 0.02em; }
.step-card__code i { font-style: normal; opacity: 0.28; }
.step-card__name { font-family: var(--display); font-size: var(--fs-lg); margin-top: 10px; }
.step-card ul { list-style: none; padding: 0; margin: auto 0 0; padding-top: 28px; display: grid; gap: 8px; font-size: 0.95rem; color: var(--ink-soft); }
.step-card:nth-child(4) ul { color: #c3cddc; }
.step-card li { padding-left: 18px; position: relative; }
.step-card li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.step-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(0, 15, 86, 0.12); font-size: 0.9rem; }
.step-card:nth-child(4) .step-card__foot { border-color: rgba(255, 255, 255, 0.16); }
.step-card__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.step-card__more svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.step-card:hover .step-card__more svg { transform: translateX(4px); }
.offers-note { margin-top: 40px; color: var(--ink-soft); font-size: var(--fs-sm); max-width: 70ch; }

.process { margin-top: clamp(96px, 14vh, 160px); display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: p; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li { list-style: none; counter-increment: p; padding: 28px 28px 28px 0; border-top: 1px solid rgba(0, 15, 86, 0.16); position: relative; }
.process li::before { content: "0" counter(p); display: block; font-family: var(--display); color: var(--gold-700); margin-bottom: 16px; }
.process h3 { font-size: var(--fs-lg); color: var(--navy-900); margin-bottom: 10px; line-height: 1.2; }
.process p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.process-title { font-size: var(--fs-xl); color: var(--navy-900); margin-bottom: 36px; }

/* ---------- Équipe ---------- */
.team-statement { font-family: var(--display); font-size: var(--fs-2xl); line-height: 1.1; color: var(--navy-900); max-width: 20ch; margin-bottom: clamp(64px, 10vh, 120px); }
.team-cols { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .team-cols { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.team-cols h3 { font-size: var(--fs-lg); color: var(--navy-900); margin: 22px 0 12px; line-height: 1.2; }
.team-cols p { color: var(--ink-soft); margin: 0; }
.team-cols .num { font-family: var(--display); font-size: 3.4rem; line-height: 1; color: var(--gold-700); }
/* Réalisations : « Pourquoi KEYS ». Trois constats chiffrés et notre réponse.
   Les chiffres ne dépassent jamais le titre de section. */
.facts__title { font-size: var(--fs-2xl); color: #ffffff; margin: 0; }
.facts__title em { font-style: italic; color: var(--gold-300); }
.facts__intro { margin: 24px 0 0; max-width: 40ch; color: #c3cddc; font-size: var(--fs-lg); text-align: left; }
.facts__list { list-style: none; margin: clamp(56px, 9vh, 104px) 0 0; padding: 0; }
.fact { position: relative; display: grid; gap: 18px; padding: clamp(36px, 6vh, 64px) 0; border-top: 1px solid rgba(154, 172, 191, 0.22); }
.fact::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--gold-300); transform-origin: left; transform: scaleX(var(--rule, 0)); }
.fact__n { font-family: var(--display); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-300); }
.fact__fig { margin: 0; font-family: var(--display); font-size: var(--fs-2xl); line-height: 1; letter-spacing: -0.02em; color: #ffffff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fact__fig span { color: var(--gold-300); }
.fact__constat { margin: 0; max-width: 54ch; hyphens: manual; color: #9fadc2; font-size: var(--fs-lg); line-height: 1.6; }
.fact__reponse { margin: 8px 0 0; max-width: 54ch; padding-left: 22px; border-left: 1px solid var(--gold-300); hyphens: manual; font-size: var(--fs-lg); line-height: 1.6; color: #ffffff; }
@media (max-width: 899px) { .fact__constat, .fact__reponse { hyphens: auto; -webkit-hyphens: auto; } .fact__reponse { padding-left: 16px; } }
@media (min-width: 900px) {
  .fact { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: clamp(48px, 7vw, 120px); row-gap: 22px; align-items: start; }
  .fact__n { grid-column: 1 / -1; }
  .fact__fig { grid-row: 2 / span 2; }
  .fact__constat, .fact__reponse { grid-column: 2; }
}
/* ---------- Ambition ---------- */
.ambition { background: var(--navy-900); color: var(--ivory); overflow: hidden; }
.ambition__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .ambition__grid { grid-template-columns: 1fr 1fr; } }
.ambition h2 { font-size: var(--fs-3xl); line-height: 0.95; }
.ambition h2 em { color: var(--gold-300); }
.ambition__goal { margin: 36px 0 0; padding-top: 22px; border-top: 1px solid rgba(154, 172, 191, 0.22); max-width: 560px;
  font-family: var(--display); font-size: var(--fs-base); letter-spacing: 0.02em; line-height: 1.5; color: var(--gold-300); text-align: left; hyphens: manual; }
.globe { position: relative; aspect-ratio: 1; width: 100%; max-width: 680px; margin-inline: auto; }
.globe canvas { width: 100%; height: 100%; display: block; }
.globe--3d { cursor: grab; touch-action: pan-y; user-select: none; }
.globe--3d.is-grabbing { cursor: grabbing; }
.globe__label { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; white-space: nowrap; will-change: transform, opacity;
  font-family: var(--display); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-300);
  margin: -7px 0 0 12px; padding-left: 14px; }
.globe__label::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: currentColor; opacity: 0.7; }
.globe__label--dakar { color: var(--ivory); font-size: 12px; margin-left: 14px; }

/* ---------- Réalisations : les dossiers sur la table ---------- */
.desk-section { position: relative; overflow: hidden; padding-block: clamp(90px, 13vh, 160px); }
.desk { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .desk { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); min-height: min(86svh, 820px); } }
.desk__index { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid rgba(0, 15, 86, 0.14); }
.desk__index li { border-bottom: 1px solid rgba(0, 15, 86, 0.14); text-align: left; hyphens: manual; }
.desk__index button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 18px; align-items: baseline; width: 100%; padding: 18px 0;
  font-family: var(--display); font-size: var(--fs-lg); line-height: 1.2; color: rgba(0, 15, 86, 0.38); transition: color 0.5s var(--ease), padding 0.5s var(--ease); }
.desk__index button span { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--gold-500); min-width: 2.2em; }
.desk__index button:hover, .desk__index button:focus-visible { color: var(--navy-900); }
.desk__index button[aria-current="true"] { color: var(--navy-900); padding-left: 10px; }
.desk__nav { display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.desk__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(0, 15, 86, 0.25); background: transparent; color: var(--navy-900); cursor: pointer;
  display: grid; place-items: center; transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.desk__btn svg { width: 20px; height: 20px; }
.desk__btn:hover, .desk__btn:focus-visible { background: var(--navy-900); color: var(--ivory); }
.desk__count { font-family: var(--display); letter-spacing: 0.16em; font-size: 0.86rem; color: var(--ink-soft); }
.desk__count b { color: var(--navy-900); font-weight: 400; }

.desk__table { position: relative; }
.dossier__page { background: #fff; color: var(--ink); border-radius: 3px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 15, 86, 0.08); }
.dossier__page h3 { font-size: var(--fs-lg); line-height: 1.18; color: var(--navy-900); margin: 4px 0 0; }
.dossier__page p { color: var(--ink-soft); margin: 0; text-align: left; hyphens: manual; }
.dossier__n { font-family: var(--display); font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: 1; color: var(--gold-500); opacity: 0.9; }
.dossier__mesure { font-family: var(--display); font-size: 0.82rem; letter-spacing: 0.14em; color: var(--ink-soft); }
.dossier__route { display: block; height: 1px; margin-top: auto; background: rgba(0, 15, 86, 0.12); position: relative; }
.dossier__route i { position: absolute; inset: 0; background: var(--gold-500); transform-origin: left; }
.dossier__route::before, .dossier__route::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.dossier__route::before { left: 0; } .dossier__route::after { right: 0; }
.no-js .desk__stack { display: grid; gap: 20px; }
.no-js .dossier__cover { display: none; }

/* La table en perspective (JavaScript actif) */
.js .desk__table { height: clamp(500px, 72svh, 680px); perspective: 2200px; touch-action: pan-y; }
.js .desk__stack { --dw: min(36vw, 400px); position: absolute; left: 50%; top: 50%; width: var(--dw); height: calc(var(--dw) * 1.32);
  margin: calc(var(--dw) * -0.66) 0 0 calc(var(--dw) * -0.5); transform-style: preserve-3d; }
.js .dossier { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.js .dossier__page { position: absolute; inset: 0; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 15, 86, 0.08), 0 50px 80px -50px rgba(0, 15, 86, 0.55); }
.js .dossier__cover { position: absolute; inset: 0; transform-origin: 0 50%; transform-style: preserve-3d; cursor: pointer; }
.js .dossier__cover .case__cover { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 3px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  padding: clamp(26px, 3vw, 40px); box-shadow: 0 50px 80px -50px rgba(0, 15, 86, 0.6), inset 3px 0 0 rgba(0, 0, 0, 0.06); }
.js .dossier__cover .case__title { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem); max-width: 10ch; }
.js .dossier__inside { position: absolute; inset: 0; border-radius: 3px; transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--beige); overflow: hidden; box-shadow: inset -3px 0 0 rgba(0, 0, 0, 0.05), inset -40px 0 60px -40px rgba(0, 15, 86, 0.18); }
.js .dossier__inside::before { content: ""; position: absolute; left: -45%; top: 30%; width: 110%; aspect-ratio: 1; border-radius: 50%; opacity: 0.35;
  background: repeating-radial-gradient(circle, transparent 0 26px, var(--gold-500) 26px 27px); -webkit-mask: radial-gradient(circle, #000 55%, transparent 71%); mask: radial-gradient(circle, #000 55%, transparent 71%); }
@media (max-width: 899px) {
  .js .desk__table { height: calc(min(80vw, 360px) * 1.32 + 80px); }
  .js .desk__stack { --dw: min(80vw, 360px); }
  .js .dossier__inside { display: none; }
  .desk__index { display: none; }
  .desk__nav { margin-top: 18px; }
}

/* ---------- Contact : le bureau sur la carte ---------- */
.lieu { position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-950); color: var(--ivory); }
.lieu__map { position: absolute; inset: 0; pointer-events: none; }
.lieu__map img { width: 100%; height: 100%; display: block; object-fit: cover;
  animation: lieu-derive 40s ease-in-out infinite alternate; transform-origin: 50% 50%; }
@keyframes lieu-derive { from { transform: scale(1); } to { transform: scale(1.12); } }
.lieu__veil { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 15, 86, 0.95) 0%, rgba(0, 15, 86, 0.5) 32%, rgba(0, 15, 86, 0) 62%, rgba(0, 15, 86, 0.35) 100%),
              radial-gradient(70% 60% at 50% 50%, rgba(0, 15, 86, 0) 40%, rgba(0, 15, 86, 0.45) 100%); }
.lieu__pin { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--gold-300) 0 7px, rgba(217, 180, 106, 0.25) 8px 100%); box-shadow: 0 0 40px rgba(217, 180, 106, 0.45); }
.lieu__pin i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold-300); animation: lieu-onde 2.6s ease-out infinite; }
@keyframes lieu-onde { from { transform: scale(0.4); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.lieu__inner { position: relative; padding-block: clamp(80px, 12vh, 140px); }
@media (max-width: 760px) { .lieu { min-height: 100svh; } .lieu__map { bottom: 30%; } .lieu__pin { top: 35%; } }
.lieu__inner h2 { font-size: var(--fs-2xl); }
.lieu__inner h2 em { color: var(--gold-300); }
.lieu__adresse { margin: 20px 0 32px; font-family: var(--display); letter-spacing: 0.06em; color: rgba(246, 241, 231, 0.82); text-align: left; }
.lieu__credit { position: absolute; left: 16px; bottom: 12px; font-size: 10px; letter-spacing: 0.04em; color: rgba(246, 241, 231, 0.45); }
@media (prefers-reduced-motion: reduce) { .lieu__map img, .lieu__pin i { animation: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(56px, 7vw, 120px); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-grid h2 { font-size: var(--fs-2xl); line-height: 0.95; color: var(--navy-900); margin-bottom: 32px; }
.contact-lines { margin-top: 48px; display: grid; gap: 0; }
.contact-lines > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(0, 15, 86, 0.14); align-items: baseline; }
.contact-lines dt { font-family: var(--display); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-700); }
.contact-lines dd { margin: 0; font-family: var(--display); font-size: var(--fs-lg); color: var(--navy-900); }

/* Contact : choisir un créneau */
.moment__grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vh, 64px); margin-top: clamp(40px, 6vh, 64px); }
@media (min-width: 1000px) { .moment__grid { grid-template-columns: 0.8fr 1.2fr; gap: clamp(56px, 7vw, 120px); } }
.moment__format { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.moment__format legend { padding: 0; margin-bottom: 12px; font-size: var(--fs-sm); color: var(--ink-soft); }
.moment__format input { position: absolute; opacity: 0; pointer-events: none; }
.moment__format span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 100px; font-size: 0.92rem; color: var(--navy-900); box-shadow: inset 0 0 0 1px rgba(0, 15, 86, 0.3); cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease); }
.moment__format input:checked + span { background: var(--navy-900); color: var(--ivory); }
.moment__format input:focus-visible + span { outline: 2px solid var(--gold-700); outline-offset: 2px; }
.moment__nav { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.moment__nav select { flex: 1 1 0; min-width: 0; min-height: 46px; padding: 0 10px; font-family: var(--display); font-size: var(--fs-lg); color: var(--navy-900); background: transparent; border: 0; border-bottom: 1px solid rgba(0, 15, 86, 0.3); text-transform: capitalize; cursor: pointer; }
.moment__nav #moment-month { flex-grow: 1.6; }
@media (max-width: 640px) { .moment__nav { gap: 6px; } .moment__nav select { font-size: var(--fs-base); padding: 0 4px; } }
.moment__arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; line-height: 1; color: var(--navy-900); box-shadow: inset 0 0 0 1px rgba(0, 15, 86, 0.3); transition: background .4s var(--ease), color .4s var(--ease), opacity .4s; }
.moment__arrow:hover:not(:disabled) { background: var(--navy-900); color: var(--ivory); }
.moment__arrow:disabled { opacity: 0.3; cursor: default; }
.moment__week, .moment__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.moment__week span { padding: 6px 0; text-align: center; font-size: 0.76rem; color: var(--ink-soft); }
.moment__day { aspect-ratio: 1; max-height: 58px; width: 100%; border-radius: 4px; font-family: var(--display); font-size: var(--fs-base); color: var(--navy-900); background: var(--white); box-shadow: inset 0 0 0 1px rgba(0, 15, 86, 0.08); transition: background .4s var(--ease), color .4s var(--ease); }
.moment__day:hover:not(:disabled) { background: rgba(0, 15, 86, 0.1); }
.moment__day.is-today { box-shadow: inset 0 0 0 1px var(--gold-700); }
.moment__day:disabled { background: transparent; box-shadow: none; color: rgba(0, 15, 86, 0.25); cursor: default; }
.moment__day[aria-pressed="true"], .moment__day[aria-pressed="true"]:hover { background: var(--navy-900); color: #ffffff; }
.moment__hour { margin-top: 22px; }
.moment__done { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(0, 15, 86, 0.16); }
.moment__sum { margin: 0 0 18px; text-align: left; hyphens: manual; font-family: var(--display); font-size: var(--fs-lg); line-height: 1.3; color: var(--navy-900); }
.form__slot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 16px 18px; border-radius: 4px; background: var(--ivory); box-shadow: inset 3px 0 0 var(--gold-700); }
.form__slot[hidden] { display: none; }
.form__slot span { width: 100%; font-size: var(--fs-sm); color: var(--ink-soft); }
.form__slot strong { flex: 1 1 60%; font-family: var(--display); font-weight: 400; font-size: var(--fs-base); color: var(--navy-900); }
.form__slot a { font-size: var(--fs-sm); color: var(--navy-900); }
.form { display: grid; grid-template-columns: 1fr; gap: 30px 28px; align-content: start; }
@media (min-width: 700px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; position: relative; }
.field label { font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 4px; }
.field label .opt { opacity: 0.7; }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-lg); color: var(--navy-900); background: transparent; border: 0; border-bottom: 1px solid rgba(0, 15, 86, 0.3);
  border-radius: 0; padding: 10px 0 12px; min-height: 52px; transition: border-color .4s;
}
.field textarea { resize: vertical; min-height: 130px; font-size: var(--fs-base); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23000f56' stroke-width='1.4'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 26px; font-size: var(--fs-base); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--navy-900); }
.field:focus-within::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold-500); }
.field .err, .form .err { display: block; font-size: 0.86rem; color: #9e1c1c; min-height: 1.3em; margin-top: 6px; }
.field [aria-invalid="true"] { border-bottom-color: #9e1c1c; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy-900); flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { padding: 18px 22px; background: var(--white); border-radius: 4px; box-shadow: inset 3px 0 0 var(--gold-500); }
.form-status.is-err { box-shadow: inset 3px 0 0 #9e1c1c; }
.hp { position: absolute !important; left: -9999px; }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #c3cddc; padding: clamp(80px, 12vh, 128px) 0 36px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 40px 64px; padding-bottom: clamp(40px, 6vh, 64px); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; align-items: end; } }
.footer__sig { font-family: var(--display); font-size: var(--fs-base); color: #dbe2ec; margin: 20px 0 0; text-align: left; hyphens: manual; }
.footer__head { display: block; font-family: var(--display); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 16px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: #dbe2ec; }
.footer__list a { color: #ffffff; }
.footer__list a[aria-current="page"] { color: var(--gold-300); }
/* Pied de page : le logo complet, monogramme, filet or et nom, comme à l'ouverture */
.footer__lockup { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 24px); margin: 0; color: #ffffff; }
.footer__mark { display: block; width: clamp(46px, 4.4vw, 62px); aspect-ratio: 258 / 333; background: #ffffff;
  -webkit-mask: url("/assets/img/monogram.png?v=b1842597") center / contain no-repeat; mask: url("/assets/img/monogram.png?v=b1842597") center / contain no-repeat; }
.footer__rule { display: block; width: 1px; height: clamp(40px, 3.8vw, 54px); background: linear-gradient(180deg, rgba(210, 178, 115, 0), var(--gold-300) 20%, var(--gold-300) 80%, rgba(210, 178, 115, 0)); }
.footer__name { display: inline-flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.footer__name b { font-family: var(--brand); font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: 0.03em; margin-right: -0.03em; }
.footer__adv { display: flex; justify-content: space-between; font-family: var(--brand); font-weight: 300; font-size: clamp(0.5rem, 0.62vw, 0.6rem); margin-top: 0.8em; }
.footer__adv i { font-style: normal; }

/* ---------- Newsletter KEYS Insights ---------- */
.newsletter { display: grid; grid-template-columns: 1fr; gap: 28px 64px; padding: clamp(40px, 6vh, 64px) 0; border-top: 1px solid rgba(154, 172, 191, 0.2); margin-top: clamp(48px, 7vh, 80px); }
@media (min-width: 1000px) { .newsletter { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.newsletter__title { font-family: var(--display); font-size: var(--fs-xl); color: #ffffff; margin-bottom: 12px; }
.newsletter__intro p { margin: 0; max-width: 40ch; color: #c3cddc; }
.newsletter__form { display: grid; gap: 18px; }
.newsletter__row { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: end; }
@media (min-width: 640px) { .newsletter__row { grid-template-columns: 1fr auto; } }
.newsletter .field label { color: #c3cddc; }
.newsletter .field input { color: #ffffff; border-bottom-color: rgba(195, 205, 220, 0.45); font-size: var(--fs-base); }
.newsletter .field input:focus { border-bottom-color: #ffffff; }
.newsletter .consent { color: #c3cddc; font-size: 0.86rem; }
.newsletter .consent a { color: #ffffff; }
.newsletter .consent input { accent-color: var(--gold-300); }
.newsletter__note { margin: 0; font-size: 0.84rem; color: #9fb0c6; }
.newsletter__status { margin: 0; padding: 14px 18px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 3px 0 0 var(--gold-300); color: #ffffff; font-size: 0.92rem; }
.newsletter__status.is-err { box-shadow: inset 3px 0 0 #e58b8b; }
.newsletter [aria-invalid="true"] { border-bottom-color: #e58b8b; }
.on-light .newsletter { border-top-color: rgba(0, 15, 86, 0.16); }
.on-light .newsletter__title { color: var(--navy-900); }
.on-light .newsletter__intro p, .on-light .newsletter .field label, .on-light .newsletter .consent, .on-light .newsletter__note { color: var(--ink-soft); }
.on-light .newsletter .field input { color: var(--navy-900); border-bottom-color: rgba(0, 15, 86, 0.3); }
.on-light .newsletter .consent a { color: var(--navy-900); }
.on-light .newsletter__status { background: var(--white); color: var(--ink); box-shadow: inset 3px 0 0 var(--gold-500); }
.footer__social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0 0 clamp(28px, 4vh, 40px); }
.footer__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #ffffff; box-shadow: inset 0 0 0 1px rgba(195, 205, 220, 0.4); transition: color .4s var(--ease), box-shadow .4s var(--ease), translate .5s var(--ease); }
.footer__social a:hover, .footer__social a:focus-visible { color: var(--gold-300); box-shadow: inset 0 0 0 1px var(--gold-300); translate: 0 -2px; }
.footer__social svg { width: 19px; height: 19px; }
.whatsapp ~ .footer .footer__row { padding-right: 150px; }
@media (max-width: 640px) { .whatsapp ~ .footer .footer__row { padding-right: 64px; } }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; margin-top: 0; padding-top: 28px; border-top: 1px solid rgba(154, 172, 191, 0.2); font-size: 0.9rem; }
.footer__row nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__row a { color: var(--ivory); }

/* =========================================================
   Pages intérieures (même langage visuel que l'accueil)
   ========================================================= */


/* Menu : page active */
.menu li a[aria-current="page"] { color: var(--gold-300); }
.menu li a[aria-current="page"]::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-300); align-self: center; margin-left: 4px; }

/* Lien « En savoir plus » */
.more { display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(48px, 7vh, 72px); font-family: var(--display); font-size: var(--fs-lg); color: var(--navy-900); position: relative; padding-bottom: 6px; }
.more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform .6s var(--ease); }
.more:hover::after { transform: scaleX(0.35); }
.more .arrow { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.more:hover .arrow { transform: translateX(6px); }
.on-dark .more { color: #ffffff; }

/* Ouverture pleine hauteur */
.page-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 10vh) 0 clamp(56px, 9vh, 96px); overflow: hidden; isolation: isolate; }
.page-hero--beige { background: var(--beige); }
.page-hero--ivory { background: var(--ivory); }
.page-hero--white { background: var(--white); }
.page-hero--compact { min-height: 64svh; }
.page-hero--status { min-height: 86svh; }
.page-hero__grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: end; }
@media (min-width: 1000px) { .page-hero__grid { grid-template-columns: 1.25fr 0.75fr; gap: 80px; } }
.page-hero__title { font-size: var(--fs-3xl); line-height: 0.95; letter-spacing: -0.025em; color: var(--navy-900); }
.page-hero__title em { font-style: italic; color: var(--gold-700); }
.page-hero__intro { font-size: var(--fs-lg); line-height: 1.6; max-width: 44ch; margin: clamp(28px, 4vh, 44px) 0 0; color: var(--ink-soft); }
.page-hero .scroll-cue { margin-top: clamp(32px, 5vh, 56px); color: inherit; font-size: var(--fs-sm); }
/* monogramme en filigrane (Le Cabinet) */
.page-hero__mark { position: absolute; z-index: -1; right: -6vw; top: 50%; width: min(62vw, 780px); aspect-ratio: 258 / 333; transform: translateY(-50%); background: var(--navy-900); opacity: 0.05; -webkit-mask: url("/assets/img/monogram.png?v=b1842597") center / contain no-repeat; mask: url("/assets/img/monogram.png?v=b1842597") center / contain no-repeat; }
/* index typographique (Expertises) */
.hero-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(0, 15, 86, 0.18); }
.hero-index a { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(0, 15, 86, 0.18); font-family: var(--display); font-size: var(--fs-lg); color: var(--navy-900); transition: padding .6s var(--ease), color .4s; }
.hero-index a span { color: var(--gold-700); font-size: 0.95rem; padding-top: 0.25em; }
.hero-index a:hover { padding-left: 12px; }
/* éventail de couvertures (Réalisations) */
/* escalier K → KEYS (Accompagnements) */
.hero-stairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; }
.hero-stairs a { display: flex; flex-direction: column; justify-content: space-between; padding: 16px 14px; border-radius: 4px; background: rgba(0, 15, 86, 0.04); box-shadow: inset 0 0 0 1px rgba(0, 15, 86, 0.14); color: var(--navy-900); transition: background .5s var(--ease), translate .6s var(--ease); }
.hero-stairs li:nth-child(1) a { height: clamp(120px, 16vh, 150px); }
.hero-stairs li:nth-child(2) a { height: clamp(160px, 23vh, 210px); }
.hero-stairs li:nth-child(3) a { height: clamp(200px, 30vh, 270px); }
.hero-stairs li:nth-child(4) a { height: clamp(240px, 37vh, 330px); background: var(--navy-900); color: #ffffff; }
.hero-stairs a:hover { translate: 0 -6px; background: rgba(0, 15, 86, 0.08); }
.hero-stairs li:nth-child(4) a:hover { background: var(--navy-900); }
.hero-stairs b { font-family: var(--brand); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 2rem); letter-spacing: 0.02em; }
.hero-stairs b i { font-style: normal; opacity: 0.35; }
.hero-stairs span { font-size: 0.82rem; color: var(--ink-soft); }
.hero-stairs li:nth-child(4) span { color: #c3cddc; }
@media (max-width: 560px) { .hero-stairs span { font-size: 0.72rem; } .hero-stairs a { padding: 12px 10px; } }

/* Accueil : approche en trois temps */
.trio { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: clamp(72px, 10vh, 120px); }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.trio > div { border-top: 1px solid rgba(0, 15, 86, 0.16); padding-top: 24px; }
.trio__n { font-family: var(--display); color: var(--gold-700); }
.trio h3 { font-size: var(--fs-lg); color: var(--navy-900); line-height: 1.2; margin: 16px 0 10px; }
.trio p { color: var(--ink-soft); margin: 0; }

/* Accueil : expertises en lignes */
.domain-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(0, 15, 86, 0.16); }
.domain-row { display: grid; grid-template-columns: 56px 1fr 28px; gap: 8px 20px; align-items: center; padding: clamp(24px, 3.4vh, 36px) 0; border-bottom: 1px solid rgba(0, 15, 86, 0.16); color: var(--navy-900); }
@media (min-width: 900px) { .domain-row { grid-template-columns: 70px 1.1fr 1fr 28px; } }
.domain-row__n { font-family: var(--display); color: var(--gold-700); }
.domain-row__t { font-family: var(--display); font-size: var(--fs-xl); line-height: 1.1; transition: translate .7s var(--ease); }
.domain-row__d { color: var(--ink-soft); grid-column: 2; }
@media (min-width: 900px) { .domain-row__d { grid-column: auto; } }
.domain-row .arrow { width: 22px; height: 22px; color: var(--gold-700); transition: translate .6s var(--ease); grid-column: 3; grid-row: 1; justify-self: end; }
@media (min-width: 900px) { .domain-row .arrow { grid-column: 4; } }
.domain-row:hover .domain-row__t { translate: 12px 0; }
.domain-row:hover .arrow { translate: 6px 0; }

/* Colonnes de texte */
.two-cols { display: grid; grid-template-columns: 1fr; gap: 24px 64px; margin-top: clamp(48px, 7vh, 80px); color: var(--ink-soft); font-size: var(--fs-lg); line-height: 1.6; }
@media (min-width: 900px) { .two-cols { grid-template-columns: 1fr 1fr; } }
.two-panel { display: grid; grid-template-columns: 1fr; gap: 32px 80px; align-items: end; }
.two-panel h2 { font-size: var(--fs-2xl); color: var(--navy-900); }
.two-panel .more { margin-top: 28px; }

/* Grille d'engagements */
.promise-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(0, 15, 86, 0.14); border: 1px solid rgba(0, 15, 86, 0.14); }
@media (min-width: 700px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .promise-grid { grid-template-columns: repeat(3, 1fr); } }
.promise-grid > div { background: var(--beige); padding: clamp(28px, 3vw, 40px); }
.promise-grid h3 { font-size: var(--fs-lg); color: var(--navy-900); line-height: 1.2; margin-bottom: 12px; }
.promise-grid p { color: var(--ink-soft); margin: 0; }
.promise-grid--dark { background: rgba(154, 172, 191, 0.22); border-color: rgba(154, 172, 191, 0.22); }
.promise-grid--dark > div { background: var(--navy-900); }
.promise-grid--dark h3 { color: #ffffff; }
.promise-grid--dark p { color: #c3cddc; }
.on-dark .exp-head h2 { color: #ffffff; }

/* Expertises : domaines */
.domain__grid { display: grid; grid-template-columns: 1fr; gap: 40px 96px; }
@media (min-width: 1000px) { .domain__grid { grid-template-columns: 0.9fr 1.1fr; align-items: end; } }
.domain.section { padding-block: clamp(72px, 11vh, 128px); }
.domain__n { font-family: var(--display); font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); letter-spacing: 0.12em; color: var(--gold-700); display: block; margin-bottom: 18px; }
.domain h2 { font-size: var(--fs-xl); line-height: 1.12; color: var(--navy-900); }
.domain__promise { font-family: var(--display); font-size: var(--fs-lg); color: var(--ink-soft); margin-top: 16px; max-width: 32ch; }
.domain__axes { display: grid; grid-template-columns: 1fr; gap: 0 48px; margin-top: clamp(40px, 6vh, 64px); }
@media (min-width: 900px) { .domain__axes { grid-template-columns: repeat(3, 1fr); } .domain__axes--2 { grid-template-columns: repeat(2, 1fr); } }
.domain__axes > div { border-top: 1px solid rgba(0, 15, 86, 0.16); padding: 22px 0 8px; }
.domain__axes h3 { font-size: var(--fs-lg); line-height: 1.2; color: var(--navy-900); margin: 0 0 10px; }
.domain__axes p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.domain--dark .domain__axes > div { border-color: rgba(154, 172, 191, 0.22); }
.domain--dark .domain__axes h3 { color: #ffffff; }
.domain--dark .domain__axes p { color: #c3cddc; }
.domain__sub { font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-700); margin: clamp(36px, 5vh, 52px) 0 18px; line-height: 1.4; }
.domain__list, .level__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(0, 15, 86, 0.14); }
.domain__list li, .level__list li { padding: 14px 0 14px 26px; border-bottom: 1px solid rgba(0, 15, 86, 0.14); position: relative; color: var(--ink); }
.domain__list li::before, .level__list li::before { content: ""; position: absolute; left: 0; top: 1.4em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
/* Comparer : un escalier, chaque niveau ajoute une question ; KEYS les réunit toutes */
.ladder table { width: 100%; border-collapse: separate; border-spacing: 6px; table-layout: fixed; }
.ladder th, .ladder td { padding: 0; text-align: center; font-weight: 400; }
.ladder thead th { padding: 0 8px 14px; vertical-align: bottom; font-family: var(--brand); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--navy-900); }
.ladder thead th small { display: block; margin-top: 6px; font-family: var(--display); font-weight: 400; font-size: var(--fs-sm); letter-spacing: 0; color: var(--gold-700); }
.ladder thead th:first-child { width: 34%; }
.ladder tbody th { padding: 14px 16px 14px 0; text-align: left; font-family: var(--display); font-size: var(--fs-lg); line-height: 1.2; color: var(--navy-900); }
.ladder tbody th small { display: block; margin-bottom: 4px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-700); }
.ladder td { position: relative; height: clamp(68px, 9vh, 92px); }
.ladder td i { position: absolute; inset: 0; border-radius: 3px; transform-origin: bottom; }
.ladder td.n i { inset: 50% 30% auto; height: 1px; border-radius: 0; background: rgba(0, 15, 86, 0.16); }
.ladder td.y i { background: rgba(0, 15, 86, 0.08); }
.ladder td.y i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: var(--navy-900); }
.ladder td.y.is-full i { background: var(--navy-900); }
.ladder td.y.is-full i::after { background: var(--gold-300); }
.ladder__dur th, .ladder__dur td { height: auto; padding-top: 16px; font-size: var(--fs-sm); color: var(--ink-soft); }
.ladder tbody .ladder__dur th { font-size: var(--fs-sm); color: var(--ink-soft); padding-top: 16px; }
@media (max-width: 699px) {
  .ladder thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ladder table, .ladder tbody { display: block; }
  .ladder tr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 22px; }
  .ladder tbody th { grid-column: 1 / -1; width: auto; padding: 0 0 8px; }
  .ladder td { height: 52px; }
  .ladder td::after { content: attr(data-l); position: absolute; left: 0; right: 0; bottom: -18px; font-family: var(--brand); font-weight: 700; font-size: 0.68rem; color: var(--navy-900); }
  .ladder tr:not(.ladder__dur) { padding-bottom: 16px; }
  .ladder__dur td { height: auto; padding-top: 0; font-size: 0.74rem; line-height: 1.25; }
  .ladder__dur td::after { position: static; display: block; margin-top: 4px; }
}
.level__list li.inherit { color: var(--ink-soft); }
.domain--dark h2, .domain--dark .domain__promise { color: #ffffff; }
.domain--dark .domain__n, .domain--dark .domain__sub, .level--dark .domain__sub { color: var(--gold-300); }
.domain--dark .domain__list, .domain--dark .domain__list li, .level--dark .level__list, .level--dark .level__list li { border-color: rgba(154, 172, 191, 0.22); color: #dbe2ec; }
.domain--dark .domain__list li::before, .level--dark .level__list li::before { background: var(--gold-300); }

/* Accompagnements : niveaux */
.level__grid { display: grid; grid-template-columns: 1fr; gap: 40px 96px; }
@media (min-width: 1000px) { .level__grid { grid-template-columns: 0.8fr 1.2fr; } .level__head { position: sticky; top: calc(var(--header-h) + 6vh); align-self: start; } }
.level__code { display: block; font-family: var(--brand); font-weight: 700; font-size: clamp(4.5rem, 2rem + 8vw, 9.5rem); line-height: 0.85; letter-spacing: 0.01em; color: var(--navy-900); margin-bottom: 18px; }
.level__code i { font-style: normal; opacity: 0.22; }
.level--dark .level__code { color: #ffffff; }
.level h2 { font-size: var(--fs-2xl); color: var(--navy-900); }
.level--dark h2 { color: #ffffff; }
.level__meta { display: flex; gap: 40px; flex-wrap: wrap; margin: 28px 0 32px; }
.level__meta dt { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.level--dark .level__meta dt { color: #c3cddc; }
.level__meta dd { margin: 4px 0 0; font-family: var(--display); font-size: var(--fs-lg); color: var(--navy-900); }
.level--dark .level__meta dd { color: #ffffff; }
.level__body > p:not(.lead) { color: var(--ink-soft); }
.level--dark .level__body > p:not(.lead) { color: #c3cddc; }

/* Tableau comparatif */

/* Déroulé d'une mission */
.journey-grid { display: grid; grid-template-columns: 1fr; gap: 56px 96px; }
@media (min-width: 1000px) { .journey-grid { grid-template-columns: 0.8fr 1.2fr; } .journey-grid__head { position: sticky; top: calc(var(--header-h) + 6vh); align-self: start; } }
.journey-grid__head h2 { font-size: var(--fs-2xl); color: var(--navy-900); margin-bottom: 24px; }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.timeline li { counter-increment: t; position: relative; padding: 0 0 clamp(32px, 4.6vh, 48px) 72px; }
.timeline li::before { content: "0" counter(t); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 15, 86, 0.25); display: grid; place-items: center; font-family: var(--display); font-size: 0.95rem; color: var(--navy-900); background: var(--white); }
.timeline li::after { content: ""; position: absolute; left: 22px; top: 46px; bottom: 4px; width: 1px; background: rgba(0, 15, 86, 0.16); }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: var(--fs-lg); color: var(--navy-900); margin: 8px 0 8px; }
.timeline p { color: var(--ink-soft); margin: 0; max-width: 56ch; }

/* Réalisations : grille complète */
.cases-grid { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 2.4vw, 32px); }
@media (min-width: 760px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } .cases-grid .case:nth-child(3n + 2) { translate: 0 64px; } }
.cases-grid .case { width: auto; background: var(--white); transition: box-shadow .7s var(--ease); }
.cases-grid .case:hover { box-shadow: 0 40px 70px -40px rgba(0, 15, 86, 0.35); }
@media (min-width: 1200px) { .cases-grid { padding-bottom: 64px; } }

/* Insights */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 6vh, 64px); }
.filter { padding: 10px 18px; border-radius: 100px; box-shadow: inset 0 0 0 1px rgba(0, 15, 86, 0.25); font-size: 0.9rem; color: var(--navy-900); transition: background .4s var(--ease), color .4s; }
.filter:hover:not([disabled]):not(.is-active) { background: var(--beige); }
.filter.is-active { background: var(--navy-900); color: #ffffff; box-shadow: none; }
.filter[disabled] { opacity: 0.4; cursor: not-allowed; }
.insights-none { font-family: var(--display); font-size: var(--fs-lg); color: var(--ink-soft); padding: clamp(24px, 5vh, 56px) 0; margin: 0; }
.insights-grid { display: grid; grid-template-columns: 1fr; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 760px) { .insights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .insights-grid { grid-template-columns: repeat(3, 1fr); } }
.insight-card { background: var(--white); box-shadow: inset 0 0 0 1px rgba(0, 15, 86, 0.14); border-radius: 4px; overflow: hidden; }
.insight-card[hidden] { display: none !important; }
.insight-card__link { display: flex; flex-direction: column; height: 100%; padding: clamp(28px, 3vw, 40px); transition: background .5s var(--ease); }
.insight-card__link:hover { background: var(--ivory); }
.insight-card__cat { font-family: var(--display); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-700); }
.insight-card h3 { font-size: var(--fs-lg); line-height: 1.2; color: var(--navy-900); margin: 16px 0 12px; }
.insight-card p { color: var(--ink-soft); margin: 0 0 24px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.insight-card__meta { margin-top: auto; display: flex; gap: 18px; font-size: 0.86rem; color: var(--ink-soft); }
.insights-empty { padding: clamp(40px, 7vh, 80px) 0; max-width: 56ch; }
.insights-empty__title { font-family: var(--display); font-size: var(--fs-xl); color: var(--navy-900); margin-bottom: 14px; }
.insights-empty p:not(.insights-empty__title) { color: var(--ink-soft); }
.newsletter--page { margin-top: 0; border-top: 0; padding: 0; }
.newsletter__title--big { font-size: var(--fs-2xl); line-height: 1.05; }

/* Article */
.article__head { padding: calc(var(--header-h) + 10vh) 0 clamp(56px, 8vh, 88px); }
.article__narrow { max-width: calc(720px + 2 * var(--gutter)); }
.article__back { font-size: var(--fs-sm); color: var(--ink-soft); display: table; margin-bottom: 40px; }
.article__title { font-size: var(--fs-2xl); line-height: 1.04; color: var(--navy-900); }
.article__chapo { font-family: var(--display); font-size: var(--fs-lg); line-height: 1.5; color: var(--ink); margin: 28px 0 0; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; font-size: var(--fs-sm); color: var(--ink-soft); }
/* Couverture photo : titre en blanc sur dégradé bleu nuit */
.article__head--cover { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: #fff;
  min-height: min(92vh, 980px); display: flex; align-items: flex-end; padding-bottom: clamp(64px, 10vh, 120px); }
.article__cover { position: absolute; inset: 0; z-index: -2; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.04); }
.article__head--cover::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 15, 86, 0.5) 0%, rgba(0, 15, 86, 0) 75%),
    linear-gradient(180deg, rgba(0, 15, 86, 0.66) 0%, rgba(0, 15, 86, 0.56) 30%, rgba(0, 15, 86, 0.8) 62%, rgba(0, 15, 86, 0.95) 100%); }
.article__cover-text { position: relative; width: 100%; }
.article__head--cover .article__title { color: #fff; text-shadow: 0 2px 30px rgba(0, 15, 86, 0.35); }
.article__head--cover .article__chapo { color: rgba(255, 255, 255, 0.92); }
.article__head--cover .article__meta, .article__head--cover .article__back { color: rgba(255, 255, 255, 0.78); }
.article__credit { position: absolute; right: var(--gutter); bottom: 18px; margin: 0; font-size: 0.72rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.6); }
.article__credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Chiffres clés, renvois et sources */
.chiffres { display: grid; grid-template-columns: 1fr; gap: 1px; margin: 2.2em 0 2.4em; background: rgba(0, 15, 86, 0.14); box-shadow: 0 0 0 1px rgba(0, 15, 86, 0.14); }
@media (min-width: 620px) { .chiffres { grid-template-columns: repeat(3, 1fr); } }
.chiffre { background: var(--white); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.chiffre strong { font-family: var(--display); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); line-height: 1; color: var(--navy-900); font-weight: 400; letter-spacing: -0.01em; }
.chiffre span { font-size: 0.92rem; line-height: 1.5; color: var(--ink-soft); }
.ref { font-size: 0.68em; line-height: 0; margin-left: 2px; }
.ref a { color: var(--gold-700); font-weight: 600; text-decoration: none; padding: 0 1px; }
.ref a:hover { text-decoration: underline; }
.prose ol.sources { font-size: 0.86rem; line-height: 1.6; color: var(--ink-soft); padding-left: 1.6em; }
.prose ol.sources li { scroll-margin-top: calc(var(--header-h) + 24px); }
.prose ol.sources li:target { color: var(--navy-900); }
.prose ol.sources a { word-break: break-word; }

/* Vignette sur les cartes */
.insight-card__link { padding: 0; }
.insight-card__img { position: relative; display: block; flex: none; width: 100%; height: 0; padding-top: 56.25%; overflow: hidden; background: var(--beige); }
.insight-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: scale 1.2s var(--ease); }
.insight-card__link:hover .insight-card__img img { scale: 1.04; }
.insight-card__text { display: flex; flex-direction: column; flex: 1; padding: clamp(28px, 3vw, 40px); }

.article__body { padding: clamp(56px, 8vh, 96px) 0 clamp(80px, 12vh, 140px); }
.prose { font-size: 1.12rem; line-height: 1.8; color: var(--ink); }
.prose h2 { font-size: var(--fs-xl); color: var(--navy-900); margin: 2em 0 0.6em; line-height: 1.15; }
.prose h3 { font-size: var(--fs-lg); color: var(--navy-900); margin: 1.8em 0 0.5em; line-height: 1.2; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.25em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--gold-700); }
.prose blockquote { margin: 1.8em 0; padding-left: 24px; border-left: 2px solid var(--gold-500); font-family: var(--display); font-size: var(--fs-lg); line-height: 1.45; color: var(--navy-900); }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; height: 1px; background: rgba(0, 15, 86, 0.16); margin: 2.4em 0; }

/* Mentions légales et confidentialité */
.legal__narrow { max-width: calc(780px + 2 * var(--gutter)); }
.legal h2 { font-size: var(--fs-xl); color: var(--navy-900); margin: clamp(48px, 7vh, 72px) 0 18px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal__list { margin: 0; border-top: 1px solid rgba(0, 15, 86, 0.14); }
.legal__list > div { display: grid; grid-template-columns: 1fr; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid rgba(0, 15, 86, 0.14); }
@media (min-width: 700px) { .legal__list > div { grid-template-columns: 240px 1fr; } }
.legal__list dt { color: var(--ink-soft); font-size: 0.95rem; }
.legal__list dd { margin: 0; color: var(--navy-900); }
.legal__date { margin-top: 56px; font-size: 0.9rem; }

/* Contact : coordonnées sur fond sombre */
.page-hero--contact .page-hero__grid { align-items: end; }

/* Appel à l'action de fin de page */
.page-cta { padding-block: clamp(110px, 16vh, 190px); }
.page-cta__inner { display: grid; grid-template-columns: 1fr; gap: 36px 96px; align-items: end; }
@media (min-width: 1000px) { .page-cta__inner { grid-template-columns: 1.2fr 0.8fr; } }
.page-cta h2 { font-size: var(--fs-2xl); line-height: 1.04; color: var(--navy-900); max-width: 18ch; }
.page-cta.on-dark h2 { color: #ffffff; }
.page-cta .lead { margin-bottom: 28px; }

/* Bande de logos clients (affichée seulement si content/logos.json contient des logos) */
.logos { padding: clamp(56px, 8vh, 88px) 0; background: var(--white); overflow: hidden; }
.logos .label { margin-bottom: 32px; }
.logos__viewport { display: flex; width: max-content; animation: logos 42s linear infinite; }
.logos__viewport:hover { animation-play-state: paused; }
.logos__track { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); list-style: none; margin: 0; padding: 0 clamp(24px, 3vw, 48px); }
.logos__track img { height: clamp(28px, 3.4vw, 44px); width: auto; filter: grayscale(1); opacity: 0.6; transition: filter .5s var(--ease), opacity .5s; }
.logos__track img:hover { filter: none; opacity: 1; }
@keyframes logos { to { transform: translateX(-50%); } }
.reduced .logos__viewport { animation: none; flex-wrap: wrap; }

/* =========================================================
   Fondu des surfaces : un seul fond fixe dont la couleur suit le défilement.
   Les sections deviennent transparentes et se fondent l'une dans l'autre ; entre clair et sombre,
   la section qui s'en va s'efface pendant le fondu. Le pied de page garde son fond net.
   ========================================================= */
.surface-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--ivory); }
.has-morph main, .has-morph .footer { position: relative; z-index: 1; }
.has-morph [data-surface] { background: transparent !important; }

/* Bouton WhatsApp (affiché seulement si WHATSAPP_NUMBER est renseigné) */
.whatsapp { position: fixed; z-index: 180; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(84px, calc(env(safe-area-inset-bottom, 0px) + 64px)); display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 100px; background: var(--navy-900); color: #ffffff; box-shadow: 0 18px 40px -18px rgba(0, 15, 86, 0.6); font-weight: 500; font-size: 0.9rem; transition: translate .5s var(--ease), background .4s; }
.whatsapp svg { width: 22px; height: 22px; color: var(--gold-300); }
.whatsapp:hover { translate: 0 -3px; background: var(--royal-700); }
@media (max-width: 640px) { .whatsapp span { display: none; } .whatsapp { width: 52px; padding: 0; justify-content: center; } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media print {
  .header, .loader, .menu, .globe, .cursor { display: none !important; }
  .method, .ambition, .footer, .bg-navy, .bg-deep { background: #fff !important; color: #000 !important; }
  .surface-layer { display: none !important; }
}

/* Texte courant justifié, avec césure française pour éviter les grands blancs entre les mots */
main p, main li, main blockquote, main dd, .footer p {
  text-align: justify; text-justify: inter-word;
  hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 7 3 3;
}
/* Titres, mentions courtes et éléments centrés : alignement d'origine */
main .label, main [class*="__meta"], main .btn, main .filter, main .chiffre strong,
main nav li,
.statement, .stage__text, .reach li, .contact-lines dd, .domain__promise, .insight-card p, .case p, .domain__axes p, .domain-rows li, .hero-index li, .hero-stairs li, .timeline li, .step-card li { text-align: inherit; hyphens: manual; }

/* En-têtes de section : grand titre, puis texte en dessous, partout sur le site */
.exp-head, .cases-head, .offers-head, .method__intro, .two-panel { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vh, 32px); align-items: start; }
.exp-head .lead, .cases-head .lead, .offers-head .lead, .method__intro .lead, .two-panel .lead { max-width: 60ch; }
.method__intro h2 { max-width: 22ch; }

/* ---------- Accueil : index des univers, avec aperçu photographique qui suit le curseur ---------- */
.index-section { position: relative; overflow: hidden; }
.index-list { list-style: none; margin: clamp(28px, 4vh, 48px) 0 0; padding: 0; border-top: 1px solid rgba(0, 15, 86, 0.16); position: relative; z-index: 2; }
.index-row { display: grid; grid-template-columns: 44px 1fr 26px; gap: 6px 18px; align-items: center; padding: clamp(22px, 3.6vh, 40px) 0; border-bottom: 1px solid rgba(0, 15, 86, 0.16); color: var(--navy-900); text-decoration: none; }
.index-row__n { font-family: var(--display); color: var(--gold-700); font-size: var(--fs-sm); }
.index-row__t { font-family: var(--display); font-size: var(--fs-2xl); line-height: 1; transition: translate .8s var(--ease), color .5s; }
.index-row__d { grid-column: 2; color: var(--ink-soft); font-size: var(--fs-sm); text-align: left; }
.index-row svg { width: 26px; height: 26px; grid-row: 1; grid-column: 3; transition: translate .6s var(--ease); }
@media (min-width: 900px) {
  .index-row { grid-template-columns: 80px 1.4fr 1fr 30px; }
  .index-row__d { grid-column: 3; justify-self: end; }
  .index-row svg { grid-column: 4; }
  .index-row:hover .index-row__t { translate: 18px 0; }
  .index-row:hover svg { translate: 6px 0; }
  .index-list:hover .index-row:not(:hover) .index-row__t { color: rgba(0, 15, 86, 0.32); }
}

/* Ambition : l'appel à l'action conclut l'accueil */
.ambition__cta { margin-top: 36px; }

/* Réalisations : défilement horizontal sous l'en-tête de page */
.page-inner .cases-pin { padding-top: clamp(56px, 8vh, 100px); }
.page-inner .cases-section .case { background: var(--white); }

/* ---------- Transition entre les pages : un rideau bleu nuit porte le monogramme ---------- */
.veil { position: fixed; inset: 0; z-index: 9000; background: var(--navy-950); display: grid; place-items: center; pointer-events: none; transform: translateY(101%); }
.veil img { width: 46px; height: auto; filter: brightness(0) invert(1); opacity: 0; }
.is-veiled .veil { transform: none; }
.is-veiled .veil img { opacity: 1; }
/* sécurité : si les scripts ne se chargent pas, le rideau ne reste jamais fermé */
.is-veiled .veil { animation: veil-safety 0s 3s forwards; }
@keyframes veil-safety { to { visibility: hidden; } }
