/* Panama Agency · site vitrine */

/* ── Polices (auto-hébergées, sous-ensembles latin + latin étendu) ── */
@font-face { font-family: 'Funnel Display'; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/funnel-display-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Funnel Display'; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/funnel-display-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Funnel Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/funnel-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Funnel Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/funnel-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Funnel Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/funnel-sans-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Funnel Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/funnel-sans-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400 500; font-display: swap; src: url("fonts/eb-garamond-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400 500; font-display: swap; src: url("fonts/eb-garamond-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dm-mono-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dm-mono-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/dm-mono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/dm-mono-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ── Jetons ── */
:root {
  --accent: #B9C9FF;
  --ink: #0D0E0C;
  --paper: #F3F3EE;
  --on-ink: #F1F2EC;
  --surface: #181A16;
  --muted-d: #A9ADA3;
  --subtle-d: #8E9289;
  --soft-d: #C9CCC3;
  --muted-l: #5F635B;
  --deep-l: #4E524A;
  --faint-l: #B4B7AE;
  --tint-l: #E6E7E1;

  --font-display: 'Funnel Display', 'Funnel Sans', sans-serif;
  --font-body: 'Funnel Sans', system-ui, sans-serif;
  --font-accent: 'EB Garamond', Georgia, serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
  --accent-style: italic;

  --pill: 999px;
  --pill-inner: 50%;
  --radius: 28px;
  --inset: 10px;
  --space: 1;
  --maxw: 1320px;
  --title-scale: 1;
  --gutter: clamp(20px, 4vw, 56px);
  --tilt: 2deg;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --line-d: color-mix(in oklab, var(--on-ink) 10%, transparent);
  --line-l: color-mix(in oklab, var(--ink) 12%, transparent);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--accent); color: #0D0E0C; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
img { display: block; max-width: 100%; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@media (prefers-reduced-motion: reduce) {
  :root { --tilt: 0deg; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 819px) { .only-desktop { display: none !important; } }
@media (min-width: 820px) { .only-mobile { display: none !important; } }

/* Contenus provisoires : pastilles visibles tant que <html data-drafts> est présent */
html:not([data-drafts]) .flag,
html:not([data-drafts]) .draft { display: none !important; }

.site {
  position: relative;
  display: flow-root; /* contient les marges de ses enfants (épinglage exact de l'intro) */
  min-height: 100vh;
  padding-top: var(--inset);
  background: var(--paper);
  overflow-x: clip;
}

/* ── Intro : l'ordinateur ──
   Le vrai site est réduit dans l'écran ; main.js pilote le zoom au défilement.
   --sx / --sy / --w (position et largeur de l'écran au repos) sont posés par main.js. */
.intro, .intro-glare, .intro-runway { display: none; }
.intro-on .intro-runway { display: block; height: 115vh; }
.intro-on .intro {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 38%, #F9F9F6 0%, var(--paper) 55%, #E7E8E1 100%);
  cursor: pointer;
}
/* Le site reste épinglé en haut pendant toute la piste : le navigateur ne le fait pas
   défiler, seul le zoom (transform) bouge. Il défile normalement une fois la piste passée. */
.intro-on .site { position: sticky; top: 0; z-index: 1; transform-origin: 0 0; transition: opacity .8s ease; }
.intro-on:not(.intro-done) .site { pointer-events: none; }
.intro-done .intro, .intro-done .intro-glare { visibility: hidden; }

/* Avant que main.js ne place l'ordinateur ; filet de sécurité si le script ne charge pas */
.intro-on:not(.intro-ready) .site { opacity: 0; animation: intro-failsafe-show 0s 3s forwards; }
.intro-on:not(.intro-ready) .intro-runway { animation: intro-failsafe-collapse 0s 3s forwards; }
.intro-on:not(.intro-ready) .intro__laptop { opacity: 0; }
@keyframes intro-failsafe-show { to { opacity: 1; } }
@keyframes intro-failsafe-collapse { to { height: 0; } }

.intro__laptop {
  position: absolute;
  inset: 0;
  transform-origin: var(--sx) var(--sy);
}
.intro-ready .intro__laptop > * { animation: intro-in .9s var(--ease) both; }
@keyframes intro-in { from { opacity: 0; } to { opacity: 1; } }

.intro__lid {
  position: absolute;
  left: calc(var(--sx) - var(--w) * .02);
  top: calc(var(--sy) - var(--w) * .028);
  width: calc(var(--w) * 1.04);
  height: calc(var(--w) * .685);
  border-radius: calc(var(--w) * .03) calc(var(--w) * .03) calc(var(--w) * .01) calc(var(--w) * .01);
  background: #0B0C0A;
  box-shadow:
    0 0 0 calc(var(--w) * .0028) #3B3C38,
    inset 0 0 0 1px rgba(255, 255, 255, .05),
    0 calc(var(--w) * .03) calc(var(--w) * .07) rgba(13, 14, 12, .16);
}
.intro__camera {
  position: absolute;
  left: 50%;
  top: calc(var(--w) * .011);
  width: calc(var(--w) * .0065);
  height: calc(var(--w) * .0065);
  border-radius: 50%;
  background: #1E2127;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  transform: translateX(-50%);
}
.intro__base {
  position: absolute;
  left: calc(var(--sx) + var(--w) * (.5 - .6032));
  top: calc(var(--sy) + var(--w) * .657 - 1px);
  width: calc(var(--w) * 1.2064);
  height: calc(var(--w) * .03);
  border-radius:
    calc(var(--w) * .004) calc(var(--w) * .004) calc(var(--w) * .035) calc(var(--w) * .035) /
    calc(var(--w) * .004) calc(var(--w) * .004) calc(var(--w) * .024) calc(var(--w) * .024);
  background: linear-gradient(180deg, #E6E7E3 0%, #CDCEC9 32%, #A6A7A2 72%, #7D7E79 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}
.intro__notch {
  position: absolute;
  left: 50%;
  top: 0;
  width: calc(var(--w) * .16);
  height: calc(var(--w) * .011);
  border-radius: 0 0 calc(var(--w) * .012) calc(var(--w) * .012);
  background: linear-gradient(180deg, #9C9D98, #C5C6C1);
  transform: translateX(-50%);
}
.intro__shadow {
  position: absolute;
  left: calc(var(--sx) + var(--w) * (.5 - .7));
  top: calc(var(--sy) + var(--w) * .662);
  width: calc(var(--w) * 1.4);
  height: calc(var(--w) * .06);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(13, 14, 12, .3), rgba(13, 14, 12, 0));
}
/* Reflet sur la dalle, au-dessus du site */
.intro-on .intro-glare {
  display: block;
  position: fixed;
  left: var(--sx);
  top: var(--sy);
  width: var(--w);
  height: calc(var(--w) * .625);
  z-index: 2;
  pointer-events: none;
  transform-origin: 0 0;
  border-radius: calc(var(--w) * .012) calc(var(--w) * .012) 0 0;
  background: linear-gradient(118deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .03) 36%, rgba(255, 255, 255, 0) 36.4%);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.panel {
  position: relative;
  overflow: hidden;
  margin: 0 var(--inset);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-ink);
}

/* ── Éléments partagés ── */
.acc,
.statement em {
  font-family: var(--font-accent);
  font-style: var(--accent-style);
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -0.025em;
}
.dot { color: var(--accent); }

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-l);
}
.eyebrow--d { color: var(--subtle-d); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
}

.flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 6px;
  background: repeating-linear-gradient(-45deg, #FFE6AE 0 6px, #FFD98A 6px 12px);
  color: #2B2306;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.todo {
  background: #FFE6AE;
  color: #2B2306;
  padding: 0 .3em;
  border-radius: 4px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
/* Logo « Le regard » : disque lavande et sa pupille */
.brand__mark { flex: none; width: 1.2em; height: 1.2em; }
.brand__eye { fill: var(--accent); }
.brand__pupil { fill: #0D0E0C; }
.brand__acc {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
  letter-spacing: -0.02em;
}
.brand--sm { gap: 8px; margin-right: 10px; font-size: 16px; letter-spacing: -0.02em; }
/* Téléphone : la barre flottante ne garde que le symbole, pour que le bouton et le menu tiennent */
@media (max-width: 519px) {
  .brand--sm { margin-right: 4px; }
  .brand--sm .brand__mark { width: 26px; height: 26px; }
  .brand--sm .brand__name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .float-nav__bar { padding-left: 12px; }
}

.burger { display: grid; gap: 3.5px; }
.burger span { display: block; width: 14px; height: 1.5px; background: var(--on-ink); }

.pulse {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-out infinite;
}

/* Boutons pilule avec pastille fléchée */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 0 8px 0 24px;
  border-radius: var(--pill);
  font-size: 15.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .25s ease, filter .25s ease, background-color .25s ease;
}
.btn__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--pill-inner);
  display: grid;
  place-items: center;
  font-size: 17px;
}
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent .btn__icon { background: var(--ink); color: var(--accent); }
.btn--dark { background: var(--ink); color: var(--on-ink); }
.btn--dark .btn__icon { background: var(--accent); color: var(--ink); }
.btn--ghost {
  padding: 0 24px;
  border: 1px solid color-mix(in oklab, var(--on-ink) 18%, transparent);
  color: var(--on-ink);
}
.btn--md { gap: 12px; height: 48px; padding: 0 6px 0 20px; font-size: 14.5px; }
.btn--md .btn__icon { width: 36px; height: 36px; font-size: 15px; }
.btn--lg { height: 54px; padding: 0 7px 0 22px; font-size: 15px; }
.btn--block {
  display: flex;
  justify-content: space-between;
  height: 58px;
  padding: 0 8px 0 24px;
  font-size: 16px;
}
.btn--block .btn__icon { width: 42px; height: 42px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition: gap .25s;
}

.icon-btn {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--pill-inner);
  border: 1px solid color-mix(in oklab, var(--ink) 16%, transparent);
  background: transparent;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  transition: background-color .2s;
}

.chip-dark {
  padding: 6px 10px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1;
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  padding: 6px 11px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--on-ink);
  font-size: 12.5px;
}

/* Emplacement d'image (à remplacer par une <img>) */
.media {
  position: absolute;
  inset: 0;
  background: rgba(127, 127, 127, .08);
  font: 13px/1.3 system-ui, -apple-system, sans-serif;
}
.media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.media__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  text-align: center;
}
.media__empty::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px dashed currentColor;
  opacity: .35;
  pointer-events: none;
}
.media__empty svg { opacity: .45; }
.media__empty span { max-width: 90%; font-weight: 500; letter-spacing: .01em; opacity: .75; }

/* Lien d'évitement */
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--on-ink);
  font-size: 14px;
  transition: top .2s ease;
}
.skip:focus { top: 16px; }

/* ── Navigation flottante ── */
.float-nav {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 50;
  width: max-content;
  max-width: calc(100% - 24px);
  transform: translate(-50%, -150%);
  opacity: 0;
  visibility: hidden;
  transition: transform .55s var(--ease), opacity .35s ease, visibility .55s;
}
.float-nav.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.float-nav__bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 6px 6px 18px;
  border-radius: var(--pill);
  background: color-mix(in oklab, var(--ink) 82%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid color-mix(in oklab, var(--on-ink) 10%, transparent);
  color: var(--on-ink);
  box-shadow: 0 14px 40px -14px rgba(0, 0, 0, .45);
}
.float-nav__link {
  padding: 9px 13px;
  border-radius: var(--pill);
  font-size: 14px;
  color: var(--soft-d);
  transition: color .2s, background-color .2s;
}
.float-nav__cta {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: filter .2s;
}
.float-nav__burger {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--pill-inner);
  border: 1px solid color-mix(in oklab, var(--on-ink) 16%, transparent);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* ── 01 · Héros ── */
.hero {
  position: relative;
  margin: 0 var(--inset);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Fond fluide WebGL : apparaît en fondu une fois la première image calculée */
.hero__fluid {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__fluid.is-ready { opacity: 1; }
.hero__ring {
  position: absolute;
  left: 50%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
}
.hero__ring--outer { bottom: -52%; width: min(1500px, 170%); border: 1px solid color-mix(in oklab, var(--on-ink) 5%, transparent); }
.hero__ring--inner { bottom: -34%; width: min(1040px, 120%); border: 1px solid color-mix(in oklab, var(--on-ink) 6.5%, transparent); }
.hero__glow {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -28%;
  height: 70%;
  background: radial-gradient(48% 52% at 50% 78%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 72%);
}
.hero__rails {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--maxw) - 112px);
  transform: translateX(-50%);
  border-left: 1px solid color-mix(in oklab, var(--on-ink) 6%, transparent);
  border-right: 1px solid color-mix(in oklab, var(--on-ink) 6%, transparent);
}
.cross { position: absolute; width: 13px; height: 13px; }
.cross::before, .cross::after {
  content: "";
  position: absolute;
  background: color-mix(in oklab, var(--on-ink) 42%, transparent);
}
.cross::before { left: 6px; top: 0; width: 1px; height: 13px; }
.cross::after { left: 0; top: 6px; width: 13px; height: 1px; }
.cross--l { left: -7px; top: 31%; }
.cross--r { right: -7px; top: 55%; }

.hero__bar {
  position: relative;
  z-index: 3;
  height: clamp(76px, 8vw, 92px);
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 3vw, 34px);
}

/* Encoches : la navigation est « découpée » dans le panneau */
.notch-nav {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: flex-start;
}
.notch-nav__corner { width: 22px; height: 22px; }
.notch-nav__corner--l { background: radial-gradient(circle at 0 100%, transparent 21.5px, var(--paper) 22px); }
.notch-nav__corner--r { background: radial-gradient(circle at 100% 100%, transparent 21.5px, var(--paper) 22px); }
.notch-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 10px 10px;
  background: var(--paper);
  border-radius: 0 0 22px 22px;
}
.notch-nav__links a {
  padding: 10px 15px;
  border-radius: var(--pill);
  font-size: 14.5px;
  color: var(--ink);
  transition: background-color .2s;
}

.notch-cta { position: absolute; top: 0; right: 0; z-index: 4; }
.notch-cta__inner {
  position: relative;
  padding: 8px 8px 10px 10px;
  background: var(--paper);
  border-bottom-left-radius: 24px;
}
.notch-cta__fillet {
  position: absolute;
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 0 100%, transparent 21.5px, var(--paper) 22px);
}
.notch-cta__fillet--l { top: 0; left: -22px; }
.notch-cta__fillet--b { right: 0; bottom: -22px; }
.notch-cta__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px 0 18px;
  border: 0;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--on-ink);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s;
}
button.notch-cta__btn { padding: 0 18px; }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(clamp(48px, 7.5vw, 108px) * var(--space)) var(--gutter) 0;
}
.hero__content:focus { outline: none; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: var(--pill);
  background: color-mix(in oklab, var(--on-ink) 6%, transparent);
  border: 1px solid color-mix(in oklab, var(--on-ink) 10%, transparent);
  font-size: 13.5px;
  color: #D3D6CD;
  transition: background-color .2s;
}
.badge__pill {
  padding: 5px 9px;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
}

.hero__title {
  margin: 26px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(clamp(46px, 8.4vw, 132px) * var(--title-scale));
  line-height: .94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__line { display: block; }
.hero__line--lead { font-size: .86em; }
.hero__line--acc {
  padding-left: clamp(0px, calc((100vw - 640px) * .3), 160px);
  font-family: var(--font-accent);
  font-style: var(--accent-style);
  font-weight: 400;
  font-size: 1.08em;
  line-height: .92;
  letter-spacing: -0.03em;
}

.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  margin-top: clamp(28px, 3.6vw, 44px);
}
.hero__lead {
  margin: 0;
  max-width: 460px;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.55;
  color: var(--muted-d);
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Cartes du héros */
.bento-wrap { margin: calc(clamp(52px, 7vw, 88px) * var(--space)) calc(-1 * var(--gutter)) 0; }
.bento {
  display: grid;
  /* 3e colonne (Performance) un peu plus large au minimum : ses lignes tiennent sur une ligne sur mobile */
  grid-template-columns: minmax(250px, 1.3fr) minmax(205px, 1fr) minmax(265px, 1fr) minmax(205px, 1fr);
  gap: 12px;
  align-items: end;
  overflow-x: visible;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
  padding: 8px var(--gutter) clamp(12px, 2.4vw, 28px);
}
.bento::-webkit-scrollbar { display: none; }
@media (max-width: 1039px) { .bento { overflow-x: auto; } }
.bento__item { scroll-snap-align: start; }

.bento__shot {
  position: relative;
  margin: 0;
  height: clamp(260px, 25vw, 340px);
  border-radius: calc(var(--radius) * .72);
  overflow: hidden;
  background: #1A1C18;
  color: var(--soft-d);
}
.bento__caption {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px 8px 11px;
  border-radius: var(--pill);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}
.bento__caption span { width: 8px; height: 8px; border-radius: 2px; background: var(--ink); }
.bento__flag { position: absolute; left: 12px; bottom: 12px; pointer-events: none; }

.bento__card {
  border-radius: calc(var(--radius) * .72);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento__card--paper {
  min-height: clamp(220px, 19vw, 262px);
  padding: 22px;
  gap: 16px;
  background: var(--paper);
  color: var(--ink);
}
.bento__card--perf {
  min-height: clamp(258px, 22vw, 300px);
  padding: 20px;
  gap: 14px;
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--on-ink) 8%, transparent);
}
.bento__card--accent {
  min-height: clamp(212px, 17vw, 236px);
  padding: 20px;
  gap: 14px;
  background: var(--accent);
  color: var(--ink);
}
.bento__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.bento__card--paper .bento__label { color: var(--muted-l); }
.bento__card--perf .bento__label { color: var(--subtle-d); }
.bento__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(23px, 2vw, 28px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.bento__title .acc { letter-spacing: -0.02em; }
.bento__title--sm { font-size: clamp(21px, 1.8vw, 24px); line-height: 1.04; letter-spacing: -0.025em; }
.bento__text { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted-l); }

.perf__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.perf__chip {
  padding: 5px 9px;
  border-radius: var(--pill);
  border: 1px solid color-mix(in oklab, var(--on-ink) 14%, transparent);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--soft-d);
}
.perf__rows { display: grid; gap: 6px; }
.perf__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--on-ink) 4.5%, transparent);
}
.perf__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.perf__key { width: 32px; font-family: var(--font-mono); font-size: 12px; }
.perf__name { flex: 1; font-size: 13px; color: #9A9E95; }
.perf__val { font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; }
.perf__note { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--subtle-d); }

/* ── 02 · Studio ── */
.studio {
  padding-top: calc(clamp(96px, 12vw, 172px) * var(--space));
  padding-bottom: calc(clamp(88px, 11vw, 150px) * var(--space));
}
.studio__grid { display: flex; flex-wrap: wrap; gap: 28px clamp(32px, 6vw, 96px); }
.studio__label { flex: 1 1 180px; max-width: 280px; }
.studio__body { flex: 999 1 560px; min-width: 0; }

.statement {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(clamp(27px, 3.3vw, 48px) * var(--title-scale));
  line-height: 1.13;
  letter-spacing: -0.028em;
  text-wrap: pretty;
}
.statement [data-w] { color: var(--ink); transition: color .7s ease; }
.statement [data-w].is-dim { color: var(--faint-l); }
.statement em { letter-spacing: -0.02em; }

.pledges { margin-top: clamp(64px, 8vw, 112px); }
.pledges__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-l);
}
.pledges__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 36px 28px;
  padding-top: 32px;
}
.pledge__num {
  margin: 0;
  font-family: var(--font-accent);
  font-style: var(--accent-style);
  font-size: clamp(64px, 7vw, 100px);
  line-height: .85;
  letter-spacing: -0.03em;
}
.pledge__pct { font-size: .42em; vertical-align: .95em; margin-left: .06em; }
.pledge__text { margin: 16px 0 0; max-width: 220px; font-size: 15px; line-height: 1.45; color: var(--muted-l); }
.pledges__link { margin-top: 44px; }

/* ── 03 · Services ── */
.services__inner {
  padding-top: calc(clamp(80px, 10vw, 140px) * var(--space));
  padding-bottom: calc(clamp(80px, 10vw, 140px) * var(--space));
}
.services__title {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(clamp(36px, 5.6vw, 82px) * var(--title-scale));
  line-height: .98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.services__aside { max-width: 350px; }
.services__aside p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted-d); }
.services__aside .btn { margin-top: 22px; }
.services__grid {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 12px;
}
.service-wrap { display: flex; }
.service {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: clamp(330px, 30vw, 380px);
  padding: 26px;
  border-radius: calc(var(--radius) * .79);
  background-color: #161814;
  border: 1px solid color-mix(in oklab, var(--on-ink) 7%, transparent);
  color: var(--on-ink);
  transition: transform .55s var(--ease), background-color .35s ease, color .35s ease, box-shadow .55s ease;
}
.service__top { display: flex; align-items: center; justify-content: space-between; }
.service__num { font-family: var(--font-mono); font-size: 12px; opacity: .55; }
.service__icon { display: grid; place-items: center; }
.service__icon--circle { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; }
.service__icon--square { width: 28px; height: 28px; border-radius: 7px; border: 1.5px solid currentColor; }
.service__icon--diamond { width: 30px; height: 30px; }
.service__icon--diamond span { width: 20px; height: 20px; border: 1.5px solid currentColor; transform: rotate(45deg); }
.service__icon--target { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; }
.service__icon--target span { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.service__title {
  margin: 30px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(23px, 2vw, 27px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.service__text { margin: auto 0 0; padding-top: 36px; font-size: 14.5px; line-height: 1.5; opacity: .7; }
.service__link {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
}

/* ── 04 · Réalisations ── */
.work {
  padding-top: calc(clamp(96px, 12vw, 168px) * var(--space));
  padding-bottom: calc(clamp(80px, 10vw, 140px) * var(--space));
}
.section-head--work { gap: 24px 48px; }
.work__title {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(clamp(44px, 6.4vw, 96px) * var(--title-scale));
  line-height: .96;
  letter-spacing: -0.045em;
}
.work__aside { max-width: 360px; display: grid; gap: 14px; justify-items: start; }
.work__aside p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted-l); }
.work__grid {
  margin-top: clamp(48px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(36px, 4vw, 52px) 20px;
}

.project { min-width: 0; }
.project--wide { flex: 7 1 420px; }
.project--narrow { flex: 5 1 320px; }
.project--staggered { margin-top: clamp(0px, calc((100vw - 980px) * .5), 120px); }
.project__media {
  position: relative;
  border-radius: calc(var(--radius) * .79);
  overflow: hidden;
  background: var(--tint-l);
  color: var(--ink);
}
.project__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
}
.project__heading { margin: 18px 0 0; }
.project__open {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: opacity .2s;
}
.project__text { display: grid; gap: 8px; }
.project__cat {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted-l);
}
.project__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.project__name .acc { letter-spacing: normal; }
.project__arrow {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: var(--pill-inner);
  border: 1px solid color-mix(in oklab, var(--ink) 18%, transparent);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 400;
}

.next-wrap { flex: 7 1 420px; align-self: stretch; min-width: 0; display: flex; }
.next {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: clamp(340px, 34vw, 480px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: calc(var(--radius) * .79);
  background-color: var(--ink);
  border: 1px solid transparent;
  color: var(--on-ink);
  /* Même animation que les cartes des quatre expertises */
  transition: transform .55s var(--ease), background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .55s ease;
}
.next__label, .next__text { transition: color .35s ease; }
.next__glow {
  position: absolute;
  right: -20%;
  bottom: -45%;
  width: 85%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 26%, transparent), transparent);
  pointer-events: none;
}
.next__top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.next__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--subtle-d);
}
.next__arrow {
  width: 58px;
  height: 58px;
  border-radius: var(--pill-inner);
  background: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.next__bottom { position: relative; display: grid; gap: 18px; }
.next__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(clamp(38px, 4.6vw, 68px) * var(--title-scale));
  line-height: .96;
  letter-spacing: -0.04em;
}
.next__text { max-width: 380px; font-size: 15.5px; line-height: 1.5; color: var(--muted-d); }

/* ── Mots défilants ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.words {
  --f: calc(clamp(40px, 6vw, 96px) * var(--title-scale));
  overflow: clip; /* overflow:hidden (.panel) empêcherait position: sticky */
}
.words__inner {
  padding-top: calc(clamp(96px, 12vw, 160px) * var(--space));
  padding-bottom: calc(clamp(96px, 12vw, 160px) * var(--space));
}
.words__content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: var(--f);
  line-height: 1.15;
}
.words__prefix {
  position: sticky;
  top: calc(50% - var(--f) * .575);
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1em;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--on-ink);
}
.words__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-accent);
  font-style: var(--accent-style);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.words__list li {
  font-size: 1.1em;
  line-height: calc(1.15em / 1.1);
  white-space: nowrap;
}
@media (max-width: 819px) {
  .words { --f: clamp(44px, 12.5vw, 72px); }
  .words__list li + li { margin-top: calc(var(--f) * .35); }
  .words__inner { padding-bottom: calc(clamp(96px, 12vw, 160px) * var(--space) + var(--f) * 1.5); }
  /* Empilé : la phrase reste juste au-dessus du mot central, et se libère avec le dernier mot */
  .words__content { display: flow-root; }
  .words__prefix { top: calc(50% - var(--f) * 1.64); margin-bottom: calc(var(--f) * .35); font-size: .62em; }
  .words__list { margin-bottom: calc(var(--f) * -1.5); }
}

/* ── 05 · Méthode ── */
.words + .method { padding-top: calc(clamp(96px, 12vw, 168px) * var(--space)); }
.words + .method .method__grid { padding-top: 0; border-top: 0; }
.method { padding-bottom: calc(clamp(96px, 12vw, 170px) * var(--space)); }
.method__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 56px clamp(40px, 7vw, 120px);
  padding-top: calc(clamp(72px, 9vw, 128px) * var(--space));
  border-top: 1px solid var(--line-l);
}
.method__intro { flex: 1 1 320px; max-width: 440px; }
@media (min-width: 820px) { .method__intro { position: sticky; top: 112px; } }
.method__title {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(clamp(36px, 5vw, 72px) * var(--title-scale));
  line-height: .98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.method__lead { margin: 22px 0 0; max-width: 380px; font-size: 16.5px; line-height: 1.55; color: var(--muted-l); }
.method__intro .btn { margin-top: 32px; }

.steps { flex: 1.4 1 440px; min-width: 0; position: relative; }
.steps__track {
  position: absolute;
  left: 23.5px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: color-mix(in oklab, var(--ink) 14%, transparent);
}
.steps__fill {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: top;
  transform: scaleY(0);
}
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 5vw, 64px); }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 22px;
  transition: opacity .6s ease;
}
.js .step { opacity: .4; }
.js .step.is-active { opacity: 1; }
.step__dot {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid color-mix(in oklab, var(--ink) 16%, transparent);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
}
.step.is-active .step__dot { background: var(--accent); }
.step__title {
  margin: 9px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.step__text { margin: 12px 0 0; max-width: 520px; font-size: 16px; line-height: 1.6; color: var(--muted-l); }
.step__deliverable {
  margin: 18px 0 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--pill);
  background: #E7E8E2;
  font-size: 13.5px;
}
.step__deliverable span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-l);
}

/* ── 06 · Différence ── */
.diff__ghost {
  position: absolute;
  left: 50%;
  top: clamp(48px, 7vw, 100px);
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(90px, 16vw, 260px);
  line-height: .8;
  letter-spacing: -0.05em;
  color: color-mix(in oklab, var(--on-ink) 4.5%, transparent);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.diff__inner {
  position: relative;
  padding-top: calc(clamp(104px, 13vw, 180px) * var(--space));
  padding-bottom: calc(clamp(88px, 11vw, 150px) * var(--space));
}
.diff__head {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.diff__chip {
  margin: 0;
  padding: 7px 13px;
  border-radius: var(--pill);
  border: 1px solid color-mix(in oklab, var(--accent) 55%, transparent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
}
.diff__title {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(clamp(40px, 6vw, 92px) * var(--title-scale));
  line-height: .96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.diff__lead { margin: 24px 0 0; max-width: 500px; font-size: 16.5px; line-height: 1.55; color: var(--muted-d); }
.diff__grid { margin-top: clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; gap: 12px; }
.pillar {
  flex: 1 1 290px;
  min-height: clamp(300px, 28vw, 360px);
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: calc(var(--radius) * .79);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.pillar__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pillar__title {
  margin: 0;
  font-family: var(--font-accent);
  font-style: var(--accent-style);
  font-weight: 400;
  font-size: clamp(46px, 4.4vw, 66px);
  line-height: .9;
  letter-spacing: -0.03em;
}
.pillar__num { font-family: var(--font-mono); font-size: 12px; }
.pillar__text { margin: 0; max-width: 360px; font-size: 15.5px; line-height: 1.55; }
.pillar--paper { background: var(--paper); color: var(--ink); }
.pillar--paper .pillar__num { color: var(--muted-l); }
.pillar--paper .pillar__text { color: var(--deep-l); }
.pillar--dark { background: var(--surface); border: 1px solid color-mix(in oklab, var(--on-ink) 8%, transparent); color: var(--on-ink); }
.pillar--dark .pillar__num { color: var(--subtle-d); }
.pillar--dark .pillar__text { color: var(--muted-d); }
.pillar--accent { background: var(--accent); color: var(--ink); }
.pillar--accent .pillar__text { color: #2A2E1C; }

/* ── 07 · FAQ ── */
.faq {
  padding-top: calc(clamp(96px, 12vw, 170px) * var(--space));
  padding-bottom: calc(clamp(96px, 12vw, 170px) * var(--space));
}
.faq__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px clamp(40px, 7vw, 120px); }
.faq__intro { flex: 1 1 300px; max-width: 420px; }
.faq__title {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(clamp(36px, 5vw, 72px) * var(--title-scale));
  line-height: .98;
  letter-spacing: -0.04em;
}
.faq__lead { margin: 22px 0 0; font-size: 16.5px; line-height: 1.55; color: var(--muted-l); }
.faq__link { margin-top: 26px; }
.faq__list { flex: 1.5 1 460px; min-width: 0; border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); }
.faq__item { border-bottom: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); }
.faq__item h3 { margin: 0; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.faq__icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: var(--pill-inner);
  border: 1px solid color-mix(in oklab, var(--ink) 16%, transparent);
  background: transparent;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 300;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--accent); }
.faq__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease); }
.js .faq__item:not(.is-open) .faq__a { grid-template-rows: 0fr; }
.faq__a > div { overflow: hidden; min-height: 0; }
.faq__a p { margin: 0; padding: 0 64px 28px 0; max-width: 660px; font-size: 16px; line-height: 1.6; color: var(--muted-l); }

/* ── 08 · Contact ── */
.contact-panel { margin-bottom: var(--inset); }
.contact-panel__glow {
  position: absolute;
  left: -18%;
  top: -32%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 15%, transparent), transparent);
  pointer-events: none;
}
.contact { position: relative; padding-top: calc(clamp(88px, 11vw, 150px) * var(--space)); }
.contact__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px clamp(40px, 6vw, 96px); }
.contact__intro { flex: 1 1 360px; min-width: 0; }
.contact__title {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(clamp(50px, 7.4vw, 116px) * var(--title-scale));
  line-height: .92;
  letter-spacing: -0.045em;
}
.contact__title .acc { letter-spacing: -0.03em; }
.contact__lead { margin: 28px 0 0; max-width: 440px; font-size: 17px; line-height: 1.55; color: var(--muted-d); }
.contact__flag { margin: 14px 0 0; }
.contact__list { margin: clamp(36px, 5vw, 52px) 0 0; border-top: 1px solid var(--line-d); }
.contact__list > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-d);
}
.contact__list dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--subtle-d);
}
.contact__list dd { margin: 0; font-size: 16px; }
.contact__list a:not(.todo) { transition: color .2s; }
.contact__side { flex: 1.1 1 420px; min-width: 0; }

.call {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(24px, 3.2vw, 44px);
  border-radius: calc(var(--radius) * .86);
  background: #151713;
  border: 1px solid color-mix(in oklab, var(--on-ink) 8%, transparent);
}
.call__glow {
  position: absolute;
  right: -30%;
  top: -45%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 18%, transparent), transparent);
  pointer-events: none;
}
.call__head { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.call__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--subtle-d);
}
.call__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--pill);
  border: 1px solid color-mix(in oklab, var(--accent) 55%, transparent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1;
}
.call__chip span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.call__title {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.call__title .acc { letter-spacing: -0.02em; }
.call__agenda {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--line-d);
}
.call__agenda li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-d);
}
.call__agenda li span:first-child { font-family: var(--font-mono); font-size: 12px; padding-top: 3px; color: var(--accent); }
.call__agenda li span:last-child { font-size: 15.5px; line-height: 1.5; color: #D3D6CD; }
.call__actions { position: relative; display: grid; gap: 14px; }
.call__actions p { margin: 0; text-align: center; font-size: 13.5px; line-height: 1.5; color: var(--subtle-d); }
.call__book {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  padding: 8px 8px 8px 26px;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 500;
  transition: transform .25s ease, filter .25s ease;
}
.call__book span {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: var(--pill-inner);
  background: var(--ink);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.call__note {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--soft-d);
}
.call__note > span:last-child { flex: 1 1 240px; }

/* Pied de page */
.footer { position: relative; margin-top: calc(clamp(96px, 12vw, 160px) * var(--space)); }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 56px;
  padding: 44px 0;
  border-top: 1px solid var(--line-d);
}
.footer__brand { flex: 1 1 240px; max-width: 320px; }
.footer__brand .brand { display: inline-flex; }
.footer__brand p { margin: 16px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--subtle-d); }
.footer__nav {
  flex: 2 1 440px;
  min-width: 0; /* sinon la grille impose 3 colonnes de 150 px et sort de l'écran sur mobile */
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 32px 40px;
}
@media (max-width: 519px) {
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer__nav a, .footer__nav button { overflow-wrap: anywhere; }
}
.footer__heading {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--subtle-d);
}
.footer__nav ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer__nav a, .footer__nav button, .footer__bottom a { transition: color .2s; }
.footer__nav button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.footer__mail { overflow-wrap: anywhere; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line-d);
  font-size: 13px;
  color: var(--subtle-d);
}
.footer__signature {
  margin: 12px 0 -0.14em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(60px, 13vw, 210px);
  line-height: .8;
  letter-spacing: -0.055em;
  color: color-mix(in oklab, var(--on-ink) 6%, transparent);
  white-space: nowrap;
  text-align: center;
  overflow: hidden;
  user-select: none;
}

/* ── Fenêtres (menu, étude de cas, mentions) ── */
dialog {
  padding: 0;
  border: 0;
  max-width: none;
  max-height: none;
}

.menu {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow-y: auto;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--font-body);
}
.menu::backdrop { background: #0D0E0C; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; padding: 22px 20px 28px; }
.menu__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.menu__close {
  height: 44px;
  padding: 0 18px;
  border-radius: var(--pill);
  border: 1px solid color-mix(in oklab, var(--on-ink) 18%, transparent);
  background: transparent;
  color: var(--on-ink);
  font-size: 14.5px;
  cursor: pointer;
}
.menu__nav { margin-top: auto; padding-top: 48px; display: grid; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-d);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.menu__nav a span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; color: var(--subtle-d); }
.menu .btn--block { margin-top: 32px; }
.menu__mail { margin-top: 18px; text-align: center; font-size: 15px; color: var(--muted-d); }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(780px, 100%);
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  box-shadow: -40px 0 90px -30px rgba(0, 0, 0, .55);
}
.drawer::backdrop {
  background: color-mix(in oklab, #0D0E0C 55%, transparent);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.drawer__panel { min-height: 100%; }
.drawer__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(20px, 4vw, 44px);
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.drawer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.drawer__body { padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 44px) 44px; }
.case__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.case__title .acc { letter-spacing: normal; }
.case__media {
  position: relative;
  margin-top: 28px;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius) * .72);
  overflow: hidden;
  background: var(--tint-l);
  color: var(--ink);
}
/* Vraie capture de projet : l'image s'affiche entière, à son propre format */
.case__media:has(img) { aspect-ratio: auto; }
.case__media:has(img) .media { position: static; }
.case__media img { height: auto; }
.case__facts {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line-l);
  border-bottom: 1px solid var(--line-l);
}
.case__facts dt, .legal__list dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-l);
}
.case__facts dd { margin: 8px 0 0; font-size: 15.5px; }
.case__flag { margin: 16px 0 0; }
.case__site {
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 30%, transparent);
  transition: border-color .2s;
}
@media (hover: hover) { .case__site:hover { border-color: var(--ink); } }
.case__blocks { display: grid; gap: 28px; margin-top: 36px; }
.case__blocks h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -0.015em; }
.case__blocks p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--deep-l); }
.case__cta {
  margin-top: 48px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: calc(var(--radius) * .79);
  background: var(--ink);
  color: var(--on-ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.case__cta p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.case__cta .acc { letter-spacing: normal; }

.legal {
  width: min(640px, calc(100% - 32px));
  max-height: 86vh;
  margin: auto;
  overflow-y: auto;
  border-radius: calc(var(--radius) * .86);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}
.legal::backdrop {
  background: color-mix(in oklab, #0D0E0C 60%, transparent);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.legal__panel { position: relative; padding: clamp(24px, 4vw, 40px); }
.legal__close { position: absolute; top: 16px; right: 16px; }
.legal__title {
  margin: 0;
  padding-right: 56px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.03em;
}
.legal__flag { margin: 14px 0 0; }
.legal__list { margin: 24px 0 0; display: grid; gap: 16px; font-size: 15px; line-height: 1.5; }
.legal__list dd { margin: 6px 0 0; }
.legal__text { margin-top: 20px; display: grid; gap: 14px; font-size: 15px; line-height: 1.6; color: #3F433B; }
.legal__text p { margin: 0; }

/* ── Survols (pointeurs fins uniquement) ── */
@media (hover: hover) {
  .float-nav__link:hover { color: var(--on-ink); background-color: color-mix(in oklab, var(--on-ink) 8%, transparent); }
  .float-nav__cta:hover { filter: brightness(1.07); }
  .notch-nav__links a:hover { background-color: color-mix(in oklab, var(--ink) 7%, transparent); }
  .notch-cta__btn:hover { background-color: #2A2D27; }
  .badge:hover { background-color: color-mix(in oklab, var(--on-ink) 11%, transparent); }
  .btn--accent:hover { transform: translateY(-2px); filter: brightness(1.06); }
  .btn--accent.btn--flat:hover, .menu .btn--accent:hover { transform: none; }
  .btn--dark:hover { transform: translateY(-2px); background-color: #24271F; }
  .btn--ghost:hover { background-color: color-mix(in oklab, var(--on-ink) 8%, transparent); }
  .link-arrow:hover { gap: 16px; }
  .icon-btn:hover { background-color: color-mix(in oklab, var(--ink) 6%, transparent); }
  .service:hover {
    background-color: var(--paper);
    color: var(--ink);
    box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .75);
  }
  .service--tilt-l:hover { transform: rotate(calc(var(--tilt) * -1)) translateY(-10px); }
  .service--tilt-r:hover { transform: rotate(var(--tilt)) translateY(-10px); }
  .project__open:hover { opacity: .72; }
  /* Sur la page claire, la carte passe en blanc cassé pour rester détachée du fond */
  .next:hover {
    /* Carte 4× plus large qu'une carte d'expertise : angle réduit pour un mouvement équivalent */
    transform: rotate(calc(var(--tilt) * -.5)) translateY(-10px);
    background-color: #FBFBF8;
    border-color: color-mix(in oklab, var(--ink) 8%, transparent);
    color: var(--ink);
    box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .45);
  }
  .next:hover .next__label, .next:hover .next__text { color: var(--muted-l); }
  .call__book:hover { transform: translateY(-2px); filter: brightness(1.06); }
  .contact__list a:not(.todo):hover,
  .footer__nav a:hover, .footer__nav button:hover, .footer__bottom a:hover { color: var(--accent); }
}
