/* Polices hébergées (sous-ensemble latin, polices variables, licence OFL) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/inter.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: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/jetbrains-mono.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: "Manrope"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("/assets/fonts/manrope.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; }

/* Quarktop Services — feuille de style commune */

:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --surface: #ffffff;
  --sunk: #efefeb;
  --text: #0f1115;
  --muted: #555b66;
  --faint: #767c86;
  --line: #e2e2dc;
  --ring-faint: #b3b8bf;
  --accent: #0e7a5c;
  --accent-hover: #0a5c45;
  --accent-ink: #ffffff;
  --ring: #3ecf9a;
  --q-blue: #3a63c9;
  --q-green: #178a22;
  --q-pink: #b8457e;
  --q-blue-dot: #5d88ee;
  --q-green-dot: #1bc528;
  --q-pink-dot: #ee92bf;
  --q-blue-soft: #eaf0fd;
  --field: #ffffff;
  --invert-bg: #0f1115;
  --invert-text: #f7f7f4;

  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: 80px;
  --section: 128px;
  --max: 1440px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1115;
  --surface: #161a21;
  --sunk: #12151b;
  --text: #eceef0;
  --muted: #a3a9b1;
  --faint: #8a909a;
  --line: #262b35;
  --ring-faint: #262b35;
  --accent: #3ecf9a;
  --accent-hover: #7fe3be;
  --accent-ink: #0b1a14;
  --q-blue: #8aa9f3;
  --q-green: #4fd65a;
  --q-pink: #f0a5ca;
  --q-blue-soft: #18213a;
  --field: #12151b;
  --invert-bg: #eceef0;
  --invert-text: #0f1115;
}

/* Sans JavaScript : on suit quand même la préférence système */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f1115;
    --surface: #161a21;
    --sunk: #12151b;
    --text: #eceef0;
    --muted: #a3a9b1;
    --faint: #8a909a;
    --line: #262b35;
    --ring-faint: #262b35;
    --accent: #3ecf9a;
    --accent-hover: #7fe3be;
    --accent-ink: #0b1a14;
    --q-blue: #8aa9f3;
    --q-green: #4fd65a;
    --q-pink: #f0a5ca;
    --q-blue-soft: #18213a;
    --field: #12151b;
    --invert-bg: #eceef0;
    --invert-text: #0f1115;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 18px; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow--blue { color: var(--q-blue); }
.h-section {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -0.02em;
}
.h-sub {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.015em;
}
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* Quarks : même dégradé radial que dans le logo (blanc au centre) */
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dot--blue { background: radial-gradient(circle closest-side, #ffffff, var(--q-blue-dot)); }
.dot--green { background: radial-gradient(circle closest-side, #ffffff, var(--q-green-dot)); }
.dot--pink { background: radial-gradient(circle closest-side, #ffffff, var(--q-pink-dot)); }
.tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; }
.tag--blue { color: var(--q-blue); }
.tag--green { color: var(--q-green); }
.tag--pink { color: var(--q-pink); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; font-size: 17px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  transition: background 0.15s;
}
.btn:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--muted); font-weight: 400; font-size: 16px; padding: 0 8px; }
.btn--ghost:hover { background: transparent; color: var(--text); }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer;
}
.icon-btn:hover { border-color: var(--faint); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; }
.logo { display: block; width: 64px; height: 64px; }
.logo .logo-ink { fill: var(--text); }
.logo .logo-badge { fill: var(--text); fill-opacity: 0.07; }
.logo .logo-tagline { fill: var(--muted); }
.logo .logo-ring { stroke: var(--accent); }

.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; color: var(--accent-ink); }
.nav-tools { display: flex; align-items: center; gap: 8px; }

.dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 0;
  background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer;
}
.dropdown-toggle:hover, .dropdown-toggle[aria-expanded="true"] { color: var(--text); }
.dropdown-toggle svg { width: 12px; height: 12px; transition: transform 0.15s; }
.dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: -20px; min-width: 340px;
  padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface);
  box-shadow: 0 16px 40px rgb(15 17 21 / 0.08);
  display: none; flex-direction: column;
}
.dropdown-menu.is-open { display: flex; }
.dropdown-menu a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; color: var(--text); }
.dropdown-menu a:hover { background: var(--sunk); color: var(--text); }
.dropdown-menu small { color: var(--muted); font-size: 13px; }

.menu-toggle { display: none; }
.theme-toggle--menu { display: none; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- Accueil ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap {
  position: relative; min-height: calc(100vh - 80px); max-height: 900px;
  display: flex; flex-direction: column; justify-content: center; gap: 56px; padding-top: 80px; padding-bottom: 80px;
}
/* L'orbite se cale sur un pourcentage de la zone de contenu (et non en px) : elle suit le titre quand la fenêtre change de taille */
.hero-orbit {
  --orbit: clamp(440px, 52vw, 760px);
  position: absolute; left: calc((100% - min(100%, var(--max))) / 2 + min(100%, var(--max)) * 0.68 - var(--orbit) / 2); top: calc(50% - var(--orbit) / 2);
  width: var(--orbit); height: var(--orbit); pointer-events: none;
}
.hero-orbit .ring { stroke: var(--ring); }
.hero-orbit .ring-faint { stroke: var(--ring-faint); }
.hero-title {
  position: relative; max-width: 1040px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 5.3vw, 76px); line-height: 1.08; letter-spacing: -0.025em;
  display: flex; flex-direction: column; gap: 6px;
}
.hero-title span { display: flex; align-items: center; gap: 28px; }
.hero-title .dot { width: 18px; height: 18px; }
.hero-title .hero-answer { margin-top: 28px; padding-left: 46px; font-weight: 700; color: var(--accent); }
.hero-actions { position: relative; display: flex; align-items: center; gap: 24px; padding-left: 46px; }

.domains { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.domains ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.domains li + li { border-left: 1px solid var(--line); }
.domains a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 28px 32px; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 20px;
}
.domains li:first-child a { padding-left: 0; }
.domains li:last-child a { padding-right: 0; }
.domains a:hover { color: var(--accent); }
.domains a > span { display: flex; align-items: center; gap: 14px; }

.section { padding: var(--section) 0; }
.section--surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }

/* Philosophie */
.philo-intro { grid-column: span 8; display: flex; flex-direction: column; gap: 28px; }
.philo-intro .lead { max-width: 560px; }
.philo-figure { display: flex; align-items: center; justify-content: center; }
.prose.prose--wide { max-width: 1120px; }
.prose--wide { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: 64px; align-items: start; }
.prose--wide > * { grid-column: 1; }
.prose--wide > .philo-figure--histoire { grid-column: 2; grid-row: 3 / span 10; position: sticky; top: 120px; margin: 8px 0 0; }
.prose--wide > .eyebrow, .prose--wide > h1 { grid-column: 1 / -1; }
.philo-figure--histoire svg { max-width: 320px; }
.philo-figure svg { width: 100%; max-width: 360px; height: auto; }
.philo-figure .orbit { stroke: var(--line); }
.philo-figure .gluon { stroke: var(--faint); }
.philo-figure .core { fill: var(--text); }
.aside-box {
  margin-top: 80px; padding: 40px 48px; border-radius: 20px; background: var(--sunk);
  display: grid; grid-template-columns: 3fr 9fr; gap: 24px; align-items: center;
}
.aside-box h3 { font-family: var(--font-display); font-size: 30px; font-weight: 700; }
.aside-box p { font-size: 17px; line-height: 1.65; color: var(--muted); }

/* Expertise */
.qui-sommes-nous-head { align-items: end; }
.qui-sommes-nous-head > div:first-child { grid-column: span 7; display: flex; flex-direction: column; gap: 24px; }
.founder { grid-column: 9 / span 4; display: flex; gap: 18px; align-items: center; }
.avatar {
  width: 88px; height: 88px; flex-shrink: 0; border-radius: 50%; border: 3px solid var(--accent);
  background: var(--sunk); display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-family: var(--font-mono); font-size: 11px; color: var(--faint);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder strong { display: block; font-family: var(--font-display); font-size: 22px; }
.founder span { font-size: 14px; color: var(--muted); }

.stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 64px; }
.stats > div { padding: 36px 28px; display: flex; flex-direction: column; gap: 8px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats > div:first-child { padding-left: 0; }
.stats > div:last-child { padding-right: 0; }
.stat-group { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.stat-group > div { display: flex; flex-direction: column; gap: 8px; }
.stat-value { font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 1.1; }
.stat-label { font-size: 15px; line-height: 1.5; color: var(--muted); }

.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin: 64px 0 28px; }
.block-head h3 { font-family: var(--font-display); font-size: 30px; font-weight: 700; }
.legend { display: flex; gap: 20px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend .dot { width: 10px; height: 10px; }

.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.work h4 { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.2; }
.work p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.work .stack { margin-top: auto; font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.work a { color: var(--text); }
.work a:hover { color: var(--accent); }
.rail-hint { display: none; }

.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--text); }
.timeline { position: relative; }
.timeline::after { content: ""; position: absolute; top: -6px; right: 2px; width: 12px; height: 12px; border-top: 2px solid var(--text); border-right: 2px solid var(--text); transform: rotate(45deg); }
.timeline li { padding: 20px 20px 0 0; display: flex; flex-direction: column; gap: 6px; }
.timeline time, .timeline .when { font-family: var(--font-mono); font-size: 13px; color: var(--faint); }
.timeline .now { color: var(--accent); }
.timeline strong { font-weight: 600; font-size: 16px; }
.timeline span { font-size: 14px; color: var(--muted); }

/* Contact */
.contact-intro { grid-column: span 5; display: flex; flex-direction: column; gap: 28px; padding-right: 32px; }
.contact-intro .lead { font-size: 18px; }
.contact-direct { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-direct a, .contact-direct span { min-height: 36px; display: flex; gap: 12px; align-items: center; color: var(--text); }
.contact-direct span { color: var(--muted); }
.contact-direct svg { width: 18px; height: 18px; flex-shrink: 0; }

.form {
  grid-column: 7 / span 6; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 40px;
  display: flex; flex-direction: column; gap: 24px;
}
.form fieldset { margin: 0; padding: 0; border: 0; }
.form legend { padding: 0; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--field); color: var(--text); font-size: 15px; cursor: pointer;
}
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field small { font-weight: 400; color: var(--faint); }
.field input, .field textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--text);
  background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px;
}
.field input { height: 50px; }
.field textarea { padding: 14px 16px; line-height: 1.5; resize: vertical; min-height: 180px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.form-foot p { font-size: 13px; line-height: 1.5; color: var(--faint); max-width: 300px; }
.form-status { font-size: 14px; color: var(--accent); min-height: 1em; }

/* ---------- Pages service ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--faint); padding-top: 40px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current="page"] { color: var(--text); }

.svc-hero { padding: 56px 0 112px; align-items: center; }
.svc-hero > div:first-child { grid-column: span 7; display: flex; flex-direction: column; gap: 28px; }
.svc-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 4.5vw, 64px); line-height: 1.04; letter-spacing: -0.02em; }
.svc-hero .lead { max-width: 640px; }
.svc-hero .actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.svc-visual { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 12px; }
.state { padding: 24px; border-radius: 18px; display: flex; flex-direction: column; gap: 10px; }
.state--before { border: 1px dashed var(--line); background: var(--sunk); }
.state--after { border: 1px solid var(--accent-soft-border, var(--line)); background: var(--surface); }
.state--blue { border-color: var(--q-blue-dot); background: var(--q-blue-soft); }
.state--green { border-color: var(--q-green-dot); }
.state--pink { border-color: var(--q-pink-dot); }
.state .label { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.state .chips-static { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 13px; }
.state .chips-static span { padding: 8px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.arrow { display: flex; justify-content: center; }
.arrow svg { width: 28px; height: 36px; }

.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.pain { padding: 28px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.pain .num { font-family: var(--font-mono); font-size: 13px; }
.pain h3 { font-size: 18px; font-weight: 600; line-height: 1.4; }
.pain p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.side-title { grid-column: span 4; display: flex; flex-direction: column; gap: 20px; padding-right: 32px; }
.side-title p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.side-body { grid-column: 6 / span 7; }

.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 14px;
}
.steps h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.steps p { font-size: 16px; line-height: 1.6; color: var(--muted); }

.case {
  padding: 56px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
}
.case > div:first-child { grid-column: span 7; display: flex; flex-direction: column; gap: 18px; }
.case h2 { font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 1.15; }
.case p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.case-figures { grid-column: 9 / span 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.case-figures div { display: flex; flex-direction: column; gap: 4px; }
.case-figures strong { font-family: var(--font-display); font-size: 40px; line-height: 1.1; }
.case-figures span { font-size: 14px; color: var(--muted); }

.faq > div { padding: 28px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq h3 { font-size: 20px; font-weight: 600; }
.faq p { font-size: 16px; line-height: 1.65; color: var(--muted); }

.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.related a {
  padding: 32px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.related a:hover { border-color: var(--faint); color: var(--text); }
.related a > div { display: flex; flex-direction: column; gap: 10px; }
.related .title { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.related .go { font-size: 26px; color: var(--muted); }

.cta-band {
  padding: 72px; border-radius: 28px; background: var(--invert-bg); color: var(--invert-text);
  display: flex; justify-content: space-between; align-items: center; gap: 48px;
}
.cta-band h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 3vw, 44px); line-height: 1.1; }
.cta-band p { font-size: 18px; opacity: 0.75; margin-top: 14px; }
.cta-band .btn { flex-shrink: 0; background: var(--ring); color: #0b1a14; }
.cta-band .btn:hover { background: #7fe3be; }

/* Page texte (mentions légales) */
.prose { max-width: 760px; padding: 40px 0 var(--section); }
.prose h1 { font-family: var(--font-display); font-size: clamp(38px, 4vw, 56px); line-height: 1.05; margin: 24px 0 40px; }
.prose h2 { font-family: var(--font-display); font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--muted); }
.prose p + p { margin-top: 10px; }
.prose .lead { font-size: 20px; color: var(--text); margin-bottom: 24px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.about-link { margin-top: 32px; font-weight: 600; }
.about-link a { color: var(--accent); }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 112px; font-size: 14px; color: var(--muted); }
.home .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 12px; }
.footer-grid .title { color: var(--text); font-weight: 600; }
.footer-grid a { color: var(--muted); }
.footer-grid .footer-sub { margin-top: 12px; }
.footer-grid a:hover { color: var(--text); }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 600; }
.footer-brand svg { width: 26px; height: 26px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 48px; --section: 104px; }
  .hero-orbit { opacity: 0.8; }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; --section: 72px; }
  html { scroll-padding-top: 80px; }

  .site-header .wrap { height: 68px; }
  .logo { width: 52px; height: 52px; }
  .menu-toggle { display: inline-flex; }
  .theme-toggle--bar { display: none; }
  .theme-toggle--menu { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 4px; background: none; border: 0; color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; }
  .theme-toggle--menu svg { width: 18px; height: 18px; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; background: var(--surface); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18); }
  .nav.is-open::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 100vh; background: rgba(0, 0, 0, 0.45); }
  .nav > a, .dropdown-toggle {
    padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--text);
    font-family: var(--font-display); font-size: 24px; font-weight: 700; width: 100%; justify-content: space-between;
  }
  .nav .btn { margin-top: 16px; min-height: 52px; font-size: 16px; font-family: var(--font-body); border: 0; }
  .dropdown-menu { position: static; min-width: 0; box-shadow: none; border: 0; padding: 4px 0 8px; background: transparent; }
  .dropdown-menu a { padding: 12px 4px; }

  .hero .wrap { min-height: 0; padding-top: 140px; padding-bottom: 72px; gap: 40px; }
  .hero-orbit { --orbit: min(96vw, 440px); left: calc(100% - var(--orbit) * 0.6); opacity: 0.6; }
  .hero-title { gap: 14px; }
  .hero-title span { gap: 14px; align-items: baseline; }
  .hero-title .dot { width: 12px; height: 12px; }
  .hero-title .hero-answer { margin-top: 14px; padding-left: 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; padding-left: 0; gap: 8px; }

  .domains ul { grid-template-columns: 1fr; }
  .domains li + li { border-left: 0; border-top: 1px solid var(--line); }
  .domains a, .domains li:first-child a, .domains li:last-child a { padding: 20px 0; font-size: 18px; }

  .grid-12 { display: flex; flex-direction: column; gap: 32px; }
  .pains, .related { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .aside-box { grid-template-columns: 1fr; padding: 24px; margin-top: 32px; gap: 10px; }
  .aside-box h3 { font-size: 22px; }
  .philo-figure svg { max-width: 260px; }
  .prose.prose--wide { display: block; }
  .philo-figure--histoire { margin: 0 0 32px; }

  .founder { margin-top: 8px; }
  .avatar { width: 64px; height: 64px; }
  .stats { grid-template-columns: 1fr; margin-top: 40px; border-bottom: 0; }
  .stats > div, .stats > div:first-child, .stats > div:last-child { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .stats > div + div { border-left: 0; }
  .stat-value { font-size: 32px; }
  .stat-label { font-size: 13px; }

  .block-head { flex-direction: column; gap: 12px; margin: 48px 0 16px; }
  .block-head h3 { font-size: 24px; }
  .legend { flex-wrap: wrap; gap: 14px; font-size: 11px; }
  .works {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scrollbar-width: none;
  }
  .works::-webkit-scrollbar { display: none; }
  .work { flex: 0 0 290px; scroll-snap-align: start; padding: 24px; }
  .work h4 { font-size: 20px; }
  .rail-hint { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--faint); }

  .timeline { grid-template-columns: 1fr; gap: 24px; border-top: 0; border-left: 2px solid var(--line); padding-left: 20px; }
  .timeline::after { display: none; }
  .timeline li { padding: 0; }

  .contact-intro { padding-right: 0; }
  .form { padding: 0; border: 0; background: transparent; }
  .fields { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .form-foot p { max-width: none; }

  .svc-hero { padding: 32px 0 72px; }
  .side-title { padding-right: 0; }
  .steps li { grid-template-columns: 52px 1fr; gap: 14px; }
  .steps h3 { font-size: 20px; }
  .case { padding: 28px; display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .case > div:first-child { grid-column: auto; }
  .case-figures { grid-column: auto; gap: 20px; }
  .case h2 { font-size: 26px; }
  .case-figures strong { font-size: 30px; }
  .related a { padding: 24px; }
  .related .title { font-size: 20px; }
  .cta-band { flex-direction: column; align-items: stretch; padding: 36px 24px; gap: 24px; border-radius: 20px; }
  .cta-band .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
.section--spaced { margin-top: var(--section); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Page Qui sommes-nous (philosophie et valeurs) */
.section--top { padding-top: 32px; }
.philo-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; padding-top: 64px; }
.philo-values .prose { max-width: none; padding: 0; }
.philo-values h2 { margin-top: 0; }
.philo-values h3 { font-family: var(--font-display); font-size: 20px; margin: 28px 0 8px; }
.method { padding-top: 64px; }
.method h2 { font-family: var(--font-display); font-size: 26px; margin: 0 0 24px; }
.method ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--text); }
.method li { padding: 20px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.method .when { font-family: var(--font-mono); font-size: 13px; color: var(--faint); }
.method strong { font-weight: 600; font-size: 16px; }
.method li span:last-child { font-size: 15px; line-height: 1.6; color: var(--muted); }
.about-more.prose { max-width: 760px; padding: 64px 0 0; }
.aside-box h2 { font-family: var(--font-display); font-size: 30px; font-weight: 700; }
@media (max-width: 860px) {
  .philo-values { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .method { padding-top: 40px; }
  .method ol { grid-template-columns: 1fr; }
  .method li { padding: 16px 0; border-bottom: 1px solid var(--line); }
}
