/* ============================================================
   Kolya — design system
   Shared by index.html and /metiers/<slug>/index.html
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --soft: #F5F4EF;
  --soft-2: #ECEAE2;
  --ink: #0E0E0C;
  --ink-2: #1A1A18;
  --muted: #5C5C57;
  --line: rgba(14,14,12,0.08);
  --line-2: rgba(14,14,12,0.05);
  --accent: #C5F548;
  --accent-deep: #1F2D0A;

  /* motion */
  --ease:     cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:      700ms;
  --dur-fast: 380ms;

  /* radii */
  --r-shell: 32px;
  --r-core:  26px;
  --r-section: 48px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* All anchor targets land 110px below the viewport top so the floating
     nav (~96px) doesn't cover the section heading. */
  scroll-padding-top: 110px;
}
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px; line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--ink); }

/* === Film grain — fixed, pointer-events-none, single layer === */
body::after {
  content: ""; position: fixed; inset: 0;
  z-index: 9999; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.045;
  mix-blend-mode: multiply;
}

.serif { font-family: 'Fraunces', serif; font-weight: 400; letter-spacing: -0.025em; }
.mono  { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

.h-display {
  font-family: 'Fraunces', serif; font-weight: 400;
  letter-spacing: -0.04em; line-height: 0.92;
  font-variation-settings: "opsz" 144;
}

/* === Eyebrow micro pill === */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(14,14,12,0.04);
  box-shadow: inset 0 0 0 1px rgba(14,14,12,0.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); display: inline-block;
  animation: pulse-dot 1.6s var(--ease-out) infinite;
}
.eyebrow.on-dark {
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}
.eyebrow.on-lime {
  background: rgba(31,45,10,0.08);
  box-shadow: inset 0 0 0 1px rgba(31,45,10,0.12);
  color: var(--accent-deep);
}
@keyframes pulse-dot { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* === BUTTONS — Button-in-Button + magnetic hover === */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  font-family: inherit; font-weight: 500; font-size: 14px;
  cursor: pointer; user-select: none; white-space: nowrap;
  transition:
    transform var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
  will-change: transform;
}
.btn .btn-icon {
  width: 36px; height: 36px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  transition:
    transform var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
}
.btn .btn-icon svg { width: 12px; height: 12px; }
.btn:active { transform: scale(0.98); }
.btn:hover .btn-icon { transform: translate(2px, -1px) scale(1.04); }

.btn-lime { background: var(--accent); color: var(--ink); }
.btn-lime .btn-icon { background: rgba(14,14,12,0.10); }
.btn-lime:hover { background: #D2FA60; }
.btn-lime:hover .btn-icon { background: rgba(14,14,12,0.18); }

.btn-ghost {
  background: rgba(255,255,255,0.6);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(14,14,12,0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost .btn-icon { background: rgba(14,14,12,0.06); }
.btn-ghost:hover { background: var(--ink); color: white; box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost:hover .btn-icon { background: rgba(255,255,255,0.14); }

.btn-dark { background: var(--ink); color: white; box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset; }
.btn-dark .btn-icon { background: rgba(255,255,255,0.10); }
.btn-dark:hover { background: var(--accent); color: var(--ink); }
.btn-dark:hover .btn-icon { background: rgba(14,14,12,0.10); }

.btn-on-lime {
  background: rgba(255,255,255,0.4);
  color: var(--accent-deep);
  box-shadow: inset 0 0 0 1px rgba(31,45,10,0.18);
}
.btn-on-lime .btn-icon { background: rgba(31,45,10,0.12); }
.btn-on-lime:hover { background: var(--ink); color: white; box-shadow: inset 0 0 0 1px var(--ink); }
.btn-on-lime:hover .btn-icon { background: rgba(255,255,255,0.14); }

/* Compact (used inside the floating nav) */
.btn-sm { padding: 5px 5px 5px 16px; font-size: 13px; gap: 10px; }
.btn-sm .btn-icon { width: 30px; height: 30px; }
.btn-sm .btn-icon svg { width: 11px; height: 11px; }

/* === Reveal on scroll: blur + translate + fade === */
.reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  filter: blur(10px);
  transition:
    opacity 1100ms var(--ease-out),
    transform 1100ms var(--ease-out),
    filter 900ms var(--ease-out);
  will-change: transform, opacity, filter;
}
.reveal.in { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }

/* === FLOATING ISLAND NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50; padding: 18px 20px;
  pointer-events: none;
  transition: padding var(--dur) var(--ease);
}
.nav.scrolled { padding: 12px 20px; }
.nav-inner {
  pointer-events: auto;
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 22px;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 0 0 1px rgba(14,14,12,0.06),
    0 14px 40px -16px rgba(14,14,12,0.18);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav.scrolled .nav-inner {
  background: rgba(255,255,255,0.82);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 0 0 1px rgba(14,14,12,0.08),
    0 18px 48px -16px rgba(14,14,12,0.22);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 56px; width: auto; object-fit: contain; }
.nav-min {
  display: flex; gap: 2px; padding: 4px;
  background: rgba(14,14,12,0.04);
  box-shadow: inset 0 0 0 1px rgba(14,14,12,0.05);
  border-radius: 999px;
}
.nav-min a {
  padding: 8px 16px; font-size: 13px; font-weight: 500; color: var(--ink-2);
  border-radius: 999px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-min a:hover { background: rgba(255,255,255,0.7); color: var(--ink); }
.nav-min a.active {
  background: white; color: var(--ink);
  box-shadow: 0 1px 2px rgba(14,14,12,0.06), inset 0 0 0 1px rgba(14,14,12,0.04);
}
@media (max-width: 980px) { .nav-min { display: none; } }
@media (max-width: 540px) {
  .nav-cta .btn-label { display: none; }
  .nav-cta { padding: 4px; }
}

/* === HERO ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 140px 0 96px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center right;
  display: block;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0.96) 0%,
      rgba(255,255,255,0.82) 32%,
      rgba(255,255,255,0.42) 60%,
      rgba(255,255,255,0.05) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 28%, rgba(255,255,255,0.55) 100%);
}
.hero > .wrap { position: relative; z-index: 2; }
@media (max-width: 900px) {
  .hero-bg-img { object-position: center; }
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.55) 0%,
        rgba(255,255,255,0.88) 50%,
        rgba(255,255,255,0.98) 80%,
        white 100%);
  }
}

.hero-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 64px; color: var(--muted);
}
.hero-eyebrow { margin-bottom: 32px; }

.hero-title {
  font-size: clamp(56px, 10vw, 168px);
  color: var(--ink);
}
/* Hero headline italics: Fraunces italic 300, opsz 144 (Italics-as-Color Rule) */
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
/* SEO kicker line above the iconic two-line headline */
.hero-title .hero-kicker {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  font-variation-settings: normal;
}

.hero-bot { margin-top: 64px; max-width: 640px; }
.hero-bot p.lede {
  font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5;
  color: var(--ink-2); max-width: 540px;
}
.hero-bot .ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* === SECTION HEAD primitive === */
.sec-head {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 80px; align-items: end;
  margin-bottom: 80px;
}
.sec-head h2 {
  font-family: 'Fraunces', serif; font-weight: 400;
  letter-spacing: -0.04em; line-height: 0.94;
  font-size: clamp(44px, 6vw, 96px); color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.sec-head em { font-style: italic; color: var(--muted); }
.sec-head p.lede { font-size: 16px; color: var(--ink-2); max-width: 380px; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; } }

/* Outer "shell" + inner "core" Double-Bezel pattern (shared) */
.shell {
  background: rgba(14,14,12,0.045);
  border-radius: var(--r-shell);
  padding: 6px;
  box-shadow: inset 0 0 0 1px rgba(14,14,12,0.05);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.shell.tight { padding: 5px; border-radius: 28px; }
.core {
  background: white;
  border-radius: var(--r-core);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.6);
}
.core.tight { border-radius: 22px; }
.shell.dark { background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10); }
.shell.dark .core { background: var(--ink-2); box-shadow: inset 0 1px 1px rgba(255,255,255,0.04); }

/* === PROBLEME ======================================================= */
.probleme {
  padding: 200px 0;
  background: var(--soft);
  border-radius: var(--r-section) var(--r-section) 0 0;
  overflow: hidden;
}
.pain-list { display: flex; flex-direction: column; margin-top: 32px; }
.pain {
  display: grid;
  grid-template-columns: minmax(110px, 0.32fr) 1fr auto;
  gap: clamp(24px, 4vw, 80px);
  align-items: baseline;
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
  transition: padding-left var(--dur) var(--ease);
}
.pain:last-child { border-bottom: 1px solid var(--line); }

.pain .num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(72px, 11vw, 184px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
  text-transform: none;
}
.pain .num::after {
  content: ".";
  color: var(--accent);
  font-style: normal;
  font-weight: 400;
  margin-left: -0.04em;
  letter-spacing: 0;
}

.pain .text {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.pain .text small {
  display: block;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-style: normal; font-weight: 400;
  font-size: clamp(14px, 1.1vw, 17px);
  letter-spacing: 0;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 18px;
  max-width: 56ch;
}

.pain .arrcircle {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(14,14,12,0.04);
  box-shadow: inset 0 0 0 1px rgba(14,14,12,0.06);
  display: flex; align-items: center; justify-content: center;
  align-self: center;
  transition:
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}
.pain .arrcircle svg { width: 16px; height: 16px; }
.pain:hover { padding-left: 24px; }
.pain:hover .arrcircle {
  background: var(--ink); color: white;
  box-shadow: inset 0 0 0 1px var(--ink);
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .probleme { padding: 140px 0 120px; }
  .pain {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 16px;
    padding: 56px 0 64px;
    align-items: end;
  }
  .pain .num {
    grid-column: 1 / -1; grid-row: 1;
    font-size: clamp(112px, 28vw, 200px);
    margin-bottom: -12px;
    align-self: start;
  }
  .pain .text {
    grid-column: 1; grid-row: 2;
    font-size: clamp(26px, 6.4vw, 38px);
  }
  .pain .arrcircle {
    grid-column: 2; grid-row: 2;
    align-self: end;
    width: 48px; height: 48px;
  }
  .pain:hover { padding-left: 0; }
}

/* === SOLUTION ======================================================= */
.solution { padding: 200px 0; background: white; }
.solution .inner { max-width: 920px; margin: 0 auto; text-align: center; }
.solution .accent-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 999px;
  background: var(--accent);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 16px 32px -12px rgba(31,45,10,0.32);
  margin-bottom: 36px;
}
.solution .accent-mark svg { width: 28px; height: 28px; color: var(--accent-deep); }
.solution .label { color: var(--muted); margin-bottom: 24px; display: inline-flex; }
.solution h2 {
  font-size: clamp(48px, 7vw, 112px); color: var(--ink);
  margin: 16px 0 36px;
}
.solution em { font-style: italic; color: var(--muted); }
.solution p {
  font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2);
  line-height: 1.55; max-width: 680px; margin: 0 auto;
}

/* === SERVICES ======================================================= */
.services { padding: 160px 0; background: var(--soft); border-radius: var(--r-section) var(--r-section) 0 0; }
.srv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.srv-card { /* outer shell */ cursor: pointer; }
.srv-card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 1px rgba(14,14,12,0.08),
    0 32px 64px -32px rgba(14,14,12,0.28);
}
.srv-core { display: flex; flex-direction: column; }
.srv-illu { aspect-ratio: 1/1; overflow: hidden; background: var(--ink); }
.srv-illu img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1100ms var(--ease);
}
.srv-card:hover .srv-illu img { transform: scale(1.04); }
.srv-body {
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1;
}
.srv-body .top { display: flex; justify-content: space-between; align-items: flex-start; }
.srv-body .top .num {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.22em; color: var(--muted); padding-top: 14px;
}
.srv-body .top .arrcircle {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(14,14,12,0.04);
  box-shadow: inset 0 0 0 1px rgba(14,14,12,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.srv-card:hover .arrcircle { background: var(--accent); color: var(--ink); transform: rotate(-45deg); box-shadow: inset 0 0 0 1px rgba(31,45,10,0.16); }
.srv-body h3 {
  font-family: 'Fraunces', serif; font-weight: 400; letter-spacing: -0.025em;
  font-size: clamp(26px, 3vw, 36px); line-height: 1.05;
}
.srv-body p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.srv-body .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.srv-body .tag {
  font-size: 11px; padding: 6px 12px; border-radius: 999px;
  background: rgba(14,14,12,0.04); color: var(--ink-2);
  box-shadow: inset 0 0 0 1px rgba(14,14,12,0.06);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em; text-transform: uppercase;
}
@media (max-width: 900px) { .srv-grid { grid-template-columns: 1fr; } }

/* === CAS D'USAGE ===================================================== */
.cases { padding: 160px 0; background: white; }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.case-grid > .reveal { display: flex; }
.case-card {
  cursor: pointer;
  flex: 1; display: flex; flex-direction: column;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 1px rgba(14,14,12,0.08),
    0 24px 48px -24px rgba(14,14,12,0.24);
}
.case-card > .core { flex: 1; display: flex; flex-direction: column; }
/* Wrapper enforces square ratio as a flex child; img fills the wrapper. */
.case-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--soft);
  position: relative;
}
.case-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; object-position: center;
  transition: transform 1100ms var(--ease);
}
.case-card:hover .case-img { transform: scale(1.04); }
.case-body {
  padding: 24px 24px 28px;
  flex: 1; display: flex; flex-direction: column;
}
.case-body .sector {
  color: var(--muted); margin-bottom: 8px;
  display: inline-flex; padding: 4px 10px; border-radius: 999px;
  background: rgba(14,14,12,0.04);
  box-shadow: inset 0 0 0 1px rgba(14,14,12,0.05);
  font-size: 10px; letter-spacing: 0.2em;
}
.case-body h3 {
  font-family: 'Fraunces', serif; font-weight: 400; letter-spacing: -0.025em;
  font-size: 22px; color: var(--ink); line-height: 1.2; margin-bottom: 12px;
}
.case-body p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 1100px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .case-grid { grid-template-columns: 1fr; } }

/* Wrap a card in <a class="case-link"> to make it navigable while keeping
   the existing hover/lift on the inner article. */
.case-link {
  display: flex; flex: 1; color: inherit; text-decoration: none;
  border-radius: 28px; outline-offset: 4px;
  cursor: pointer;
  /* Don't let the anchor's default drag behavior block text selection */
  -webkit-user-drag: none;
}
.case-link .case-card { cursor: pointer; }
/* Force text selectability on card content even inside anchor wrappers */
.case-link .case-body,
.case-link .case-body *,
.case-card .case-body,
.case-card .case-body * {
  -webkit-user-select: text;
  user-select: text;
  -webkit-user-drag: none;
}
.case-link .case-body p,
.case-link .case-body h3 { cursor: text; }
.case-link .case-img-wrap,
.case-link .case-img { -webkit-user-drag: none; user-drag: none; }
.case-link:focus-visible { outline: 2px solid var(--accent-deep); }

/* === METHODE ======================================================== */
.method { padding: 160px 0; background: var(--soft); border-radius: var(--r-section) var(--r-section) 0 0; }
.meth-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: stretch; }
.meth-grid > .reveal { display: flex; }
.meth-grid .meth-card { flex: 1; display: flex; flex-direction: column; }
.meth-grid .meth-core { flex: 1; }
.meth-card { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.meth-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(14,14,12,0.07), 0 20px 40px -20px rgba(14,14,12,0.18);
}
.meth-core {
  padding: 28px 24px;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.meth-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(14,14,12,0.04);
  box-shadow: inset 0 0 0 1px rgba(14,14,12,0.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.meth-card:hover .meth-num {
  background: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(31,45,10,0.16),
              inset 0 1px 0 rgba(255,255,255,0.5);
}
.meth-num span { color: var(--ink); font-size: 12px; font-family: 'JetBrains Mono', monospace; }
.meth-core h3 {
  font-family: 'Fraunces', serif; font-weight: 400; letter-spacing: -0.025em;
  font-size: 30px; color: var(--ink); margin-bottom: 10px;
}
.meth-core p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.meth-core .duration {
  color: var(--muted); margin-top: 24px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
}
@media (max-width: 1100px) { .meth-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .meth-grid { grid-template-columns: 1fr; } }

/* === RESULTATS ====================================================== */
.results {
  background: var(--ink); color: white;
  padding: 160px 0; border-radius: var(--r-section) var(--r-section) 0 0;
  position: relative; overflow: hidden;
}
.results::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(197,245,72,0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(197,245,72,0.06), transparent 60%);
}
.results > .wrap { position: relative; }
.results .label { color: rgba(255,255,255,0.65); margin-bottom: 24px; }
.results-head {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: end;
  margin-bottom: 80px;
}
.results-head h2 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(44px, 6vw, 96px); letter-spacing: -0.04em; line-height: 0.94;
  color: white;
  font-variation-settings: "opsz" 144;
}
.results-head em { font-style: italic; color: rgba(255,255,255,0.5); }
.results-head p { font-size: 16px; color: rgba(255,255,255,0.72); max-width: 380px; }
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.res-cell { transition: transform var(--dur) var(--ease); }
.res-cell:hover { transform: translateY(-4px); }
.res-core {
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10),
              inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 32px 28px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.res-icon {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--accent); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 8px 20px -8px rgba(197,245,72,0.6);
}
.res-icon svg { width: 16px; height: 16px; }
.res-cell .h {
  font-family: 'Fraunces', serif; font-weight: 400; letter-spacing: -0.025em;
  font-size: clamp(28px, 3vw, 40px); color: white; line-height: 1.05; margin: 24px 0 12px;
}
.res-cell p { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.55; }
@media (max-width: 1000px) {
  .results-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .res-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) { .res-grid { grid-template-columns: 1fr; } }

/* === CTA ============================================================ */
.cta { padding: 96px 0 160px; background: white; }
.cta-card {
  background: var(--accent); border-radius: var(--r-section);
  padding: clamp(56px, 8vw, 112px);
  position: relative; overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 32px 80px -32px rgba(31,45,10,0.4);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay; opacity: 0.5;
}
.cta-card .deco {
  position: absolute; top: -30%; right: -10%;
  width: 540px; height: 540px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(31,45,10,0.10), rgba(31,45,10,0));
}
.cta-card .inner { position: relative; }
.cta-card .label { color: var(--accent-deep); margin-bottom: 32px; display: inline-flex; }
.cta-card h2 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(52px, 8vw, 140px); letter-spacing: -0.04em; line-height: 0.92;
  color: var(--ink); margin-bottom: 48px;
  font-variation-settings: "opsz" 144;
}
.cta-card em { font-style: italic; color: var(--accent-deep); }
.cta-lede {
  font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5;
  color: var(--accent-deep); max-width: 540px; opacity: 0.88;
}

/* === FOOTER ========================================================= */
.footer { background: var(--ink); color: white; padding: 80px 0 40px; border-radius: var(--r-section) var(--r-section) 0 0; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.foot-brand { display: flex; align-items: center; margin-bottom: 20px; }
.foot-brand img { height: 80px; width: auto; object-fit: contain; }
.foot-blurb { font-size: 14px; color: rgba(255,255,255,0.65); max-width: 320px; }
.foot-col h6 {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 18px;
}
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px; color: white; opacity: 0.78;
  transition: opacity var(--dur-fast) var(--ease);
}
.foot-col a:hover { opacity: 1; }
.foot-word {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(120px, 22vw, 360px); line-height: 0.88;
  letter-spacing: -0.06em;
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 32px;
}
.foot-word .dot { color: var(--accent); }
.foot-meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 24px; color: rgba(255,255,255,0.5); font-size: 13px;
}
.foot-meta nav { display: flex; gap: 24px; }
.foot-meta a { transition: color var(--dur-fast) var(--ease); }
.foot-meta a:hover { color: white; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }

/* === POLISH: utility, a11y, focus, motion-reduce ============================ */

/* Replaces inline color on hero meta numerator */
.hero-meta-num { color: var(--muted); }

/* Cards lift on hover but are not clickable. Don't promise a click. */
.srv-card, .pain { cursor: default; }

/* Focus ring : visible, calm, conforme WCAG AA */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 999px;
}
.btn:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}
.btn-on-lime:focus-visible,
.btn-dark:focus-visible {
  outline-color: var(--ink);
}
.nav-min a:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 4px;
  background: white;
  color: var(--ink);
}
.foot-col a:focus-visible,
.foot-meta a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  color: white;
  opacity: 1;
}

/* Skip link, visible only on focus, calm Cabinet voice. */
.skip-link {
  position: absolute; top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  transform: translateY(-200%);
  transition: transform var(--dur-fast) var(--ease);
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* === CONTACT FORM (CTA card) ============================================ */
.contact-form-wrap { margin-top: 40px; }
.contact-form {
  display: grid; gap: 14px;
  max-width: 720px;
}
.contact-form .row-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 640px) {
  .contact-form .row-2 { grid-template-columns: 1fr; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-deep);
  padding-left: 4px;
}
.field label .opt {
  font-size: 9px; opacity: 0.55; margin-left: 6px;
  text-transform: none; letter-spacing: 0.04em;
}
.field input,
.field select,
.field textarea {
  appearance: none; -webkit-appearance: none;
  background: rgba(255,255,255,0.72);
  box-shadow: inset 0 0 0 1px rgba(31,45,10,0.18);
  border: none;
  border-radius: 18px;
  padding: 14px 18px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 15px; line-height: 1.45;
  color: var(--ink);
  transition:
    background var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  background: rgba(255,255,255,0.86);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  background: white;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  box-shadow: inset 0 0 0 1.5px rgba(168, 25, 78, 0.55);
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(31,45,10,0.42);
}
.field textarea {
  resize: vertical; min-height: 128px;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%231F2D0A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}
.field-pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-top: 12px;
}
.submit-row .small {
  font-size: 12px; line-height: 1.5;
  color: var(--accent-deep); opacity: 0.72;
  max-width: 320px;
}

/* Thank-you state */
.contact-thanks {
  display: none;
  margin-top: 40px;
  max-width: 640px;
  padding: 32px;
  background: rgba(255,255,255,0.72);
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(31,45,10,0.18);
  /* Clear the floating nav (84px) + breathing room when scrollIntoView lands here */
  scroll-margin-top: 110px;
}
.contact-thanks.show { display: block; }
.contact-form-wrap.hide { display: none; }
/* Same scroll-margin for the error banner so it lands cleanly under the nav */
.contact-error { scroll-margin-top: 110px; }
.contact-thanks h3 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.025em; line-height: 1;
  color: var(--ink); margin-bottom: 14px;
}
.contact-thanks h3 em { font-style: italic; color: var(--accent-deep); }
.contact-thanks p { color: var(--accent-deep); font-size: 16px; line-height: 1.55; }
.contact-thanks .check {
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--ink); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.contact-thanks .check svg { width: 22px; height: 22px; }

/* Error banner (when redirect ?sent=0) — single-voice rule: ink + bg-tint, no second accent */
.contact-error {
  display: none;
  margin-bottom: 16px; padding: 12px 16px;
  background: rgba(14, 14, 12, 0.04);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(14, 14, 12, 0.14);
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.contact-error::before {
  content: "⚠ ";
  margin-right: 4px;
}
.contact-error.show { display: block; }

/* ============================================================
   MÉTIER PAGES (sub-pages /metiers/<slug>/)
   Breadcrumb, prose, side panel, FAQ, inline stats
   ============================================================ */

/* Breadcrumb */
.breadcrumb { padding: 110px 0 0; }
.breadcrumb ol {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb li {
  display: inline-flex; align-items: center; gap: 10px;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--line);
  opacity: 0.6;
}
.breadcrumb a {
  color: var(--muted);
  transition: color var(--dur-fast) var(--ease);
  padding: 4px 0;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] {
  color: var(--ink);
}

/* Métier hero (photo-backed, full-bleed) */
.metier-hero {
  position: relative;
  min-height: 80vh;
  min-height: 80dvh;
  padding: 56px 0 96px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.metier-hero .hero-bg-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center right;
  display: block;
}
.metier-hero .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0.96) 0%,
      rgba(255,255,255,0.84) 30%,
      rgba(255,255,255,0.5) 58%,
      rgba(255,255,255,0.1) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 32%, rgba(255,255,255,0.5) 100%);
}
.metier-hero > .wrap { position: relative; z-index: 2; }
@media (max-width: 900px) {
  .metier-hero .hero-bg-img { object-position: center; }
  .metier-hero .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.55) 0%,
        rgba(255,255,255,0.88) 50%,
        rgba(255,255,255,0.98) 80%,
        white 100%);
  }
}
.metier-hero .eyebrow { margin-bottom: 32px; }
.metier-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(48px, 7vw, 112px);
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: var(--ink);
  margin: 0 0 32px;
  max-width: 18ch;
}
.metier-hero h1 em {
  font-style: italic; font-weight: 300; color: var(--muted);
}
.metier-hero p.lede {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 60ch;
  margin-bottom: 36px;
}
.metier-hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   APP MOCKUP (per-métier "voici ce que vous aurez" preview)
   Renders as a stylized browser/app frame, content varies per page.
   ============================================================ */
.app-mockup {
  margin: 80px auto 0;
  max-width: 920px;
  padding: 0 0 80px;
  position: relative;
}
.app-mockup-cap {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 24px;
}

/* Image-based mockup (real screenshot) */
.app-screenshot {
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(14,14,12,0.08),
    0 40px 80px -32px rgba(14,14,12,0.32),
    0 16px 40px -16px rgba(14,14,12,0.18);
  background: var(--soft);
}
.app-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}
.app-frame {
  background: var(--ink);
  border-radius: 28px;
  padding: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 40px 80px -32px rgba(14,14,12,0.32),
    0 16px 40px -16px rgba(14,14,12,0.18);
  overflow: hidden;
}
.app-titlebar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
}
.app-titlebar .dots {
  display: inline-flex; gap: 6px;
}
.app-titlebar .dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.app-titlebar .url {
  flex: 1;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  padding: 6px 14px;
  border-radius: 999px;
  max-width: 360px;
  margin: 0 auto;
}
.app-body {
  background: white;
  border-radius: 22px;
  padding: 28px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px;
  color: var(--ink);
  display: grid;
  gap: 18px;
}
.app-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
}
.app-bar .ttl {
  font-family: 'Fraunces', serif;
  font-size: 18px; font-weight: 400;
  letter-spacing: -0.02em;
}
.app-bar .ttl em { font-style: italic; color: var(--muted); }
.app-bar .stamp {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.app-stats .cell {
  background: var(--soft);
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
}
.app-stats .v {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 26px; line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.app-stats .v em { font-style: italic; color: var(--accent-deep); }
.app-stats .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.app-rows { display: grid; gap: 6px; }
.app-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.app-row.live {
  background: rgba(197,245,72,0.16);
  border-color: rgba(31,45,10,0.18);
}
.app-row .t {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 500;
}
.app-row .who {
  font-size: 13px; color: var(--ink);
  line-height: 1.4;
}
.app-row .who small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}
.app-row .badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
}
.app-row.live .badge {
  background: var(--accent);
  color: var(--accent-deep);
  border-color: rgba(31,45,10,0.18);
}
.app-row .badge.ok { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.app-cta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
}
.app-cta .hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.app-cta .next {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}
.app-cta .next::after {
  content: "↗";
  display: inline-block;
  font-size: 12px;
}
@media (max-width: 600px) {
  .app-mockup { padding: 0 0 56px; }
  .app-frame { padding: 6px; border-radius: 22px; }
  .app-body { padding: 20px; border-radius: 16px; }
  .app-stats { grid-template-columns: 1fr 1fr; }
  .app-stats .cell:last-child { grid-column: 1 / -1; }
  .app-row { grid-template-columns: 48px 1fr; gap: 10px; padding: 10px 12px; }
  .app-row .badge { grid-column: 1 / -1; justify-self: start; }
}

/* Métier prose */
.metier-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: white;
}
.metier-section.alt { background: var(--soft); }
.metier-section.alt + .metier-section.alt { border-top: 1px solid var(--line); }

.metier-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  .metier-grid { grid-template-columns: 1fr; }
}

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1em; }
.prose p {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
  color: var(--ink-2);
}
.prose h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}
.prose > h2:first-child { margin-top: 0; }
.prose h2 em { font-style: italic; color: var(--muted); }
.prose h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}
.prose ul, .prose ol {
  margin: 0.8em 0 1em;
  padding: 0;
  list-style: none;
}
.prose ul li, .prose ol li {
  position: relative;
  padding-left: 32px;
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 14px;
}
.prose ul li::before {
  content: "";
  position: absolute; left: 0; top: 0.74em;
  width: 18px; height: 1.5px;
  background: var(--accent-deep);
}
.prose ol { counter-reset: ol; }
.prose ol li {
  counter-increment: ol;
  padding-left: 40px;
}
.prose ol li::before {
  content: counter(ol, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent-deep);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-fast) var(--ease);
}
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; color: var(--ink-2); }

.prose blockquote {
  margin: 2em 0;
  padding: 28px 36px;
  background: var(--soft);
  border-radius: 24px;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.prose blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Side panel: TOC, key facts, contextual CTA */
.side-panel {
  background: var(--soft);
  border-radius: 24px;
  padding: 28px 32px;
  border: 1px solid var(--line);
}
.metier-grid > .side-panel { position: sticky; top: 110px; }
@media (max-width: 900px) {
  .metier-grid > .side-panel { position: static; }
}
.side-panel h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.side-panel ul {
  display: flex; flex-direction: column; gap: 4px;
}
.side-panel li { padding: 0; }
.side-panel li::before { content: none; }
.side-panel a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  padding: 8px 0;
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.side-panel a::before {
  content: "";
  position: absolute;
  left: -16px; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%) scale(0);
  transition: transform var(--dur-fast) var(--ease);
}
.side-panel a:hover { color: var(--ink); }
.side-panel a:hover::before { transform: translateY(-50%) scale(1); }

/* FAQ accordion (HTML <details>/<summary>) */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 920px; }
.faq-item {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: background var(--dur-fast) var(--ease);
}
.faq-item[open] { background: white; box-shadow: 0 8px 24px -12px rgba(14,14,12,0.12); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-deep);
  transition: transform var(--dur-fast) var(--ease);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 28px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}
.faq-item .faq-body > * + * { margin-top: 0.8em; }

/* Stats inline (for métier "Ce que vous gagnez" section) */
.stats-inline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0;
}
.stat-pill {
  text-align: left;
  padding: 24px 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.stat-pill .v {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.stat-pill .v em { font-style: italic; color: var(--accent-deep); }
.stat-pill .l {
  font-size: 13px; color: var(--muted); line-height: 1.5;
}
@media (max-width: 1000px) {
  .stats-inline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .stats-inline { grid-template-columns: 1fr; }
}

/* === content-visibility: defer rendering of below-fold sections =========== */
.probleme,
.solution,
.services,
.cases,
.method,
.results,
.cta,
.metier-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 1200px;
}

/* Reduced motion: respect the user's OS pref (PRODUCT.md A11y) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .eyebrow .dot { animation: none !important; opacity: 0.7; }
  body::after { display: none; }
}
