/* =========================================================
   Vocametrics — feuille de style
   Direction artistique : "color-coded classroom on white"
   ========================================================= */

:root {
  /* Couleurs */
  --color-iris-bolt: #4255ff;
  --color-iris-dark: #3245e8;
  --color-ink-charcoal: #282e3e;
  --color-deep-indigo: #2e3856;
  --color-slate-veil: #586380;
  --color-fog-mist: #6b7391;
  --color-pure-black: #000000;
  --color-chalk-canvas: #f6f7fb;
  --color-paper-white: #ffffff;
  --color-lilac-wash: #edefff;
  --color-mist-border: #d9dde8;

  /* Pastels décoratifs (cartes illustrées uniquement) */
  --pastel-cyan: #b5ecff;
  --pastel-magenta: #fdd3f1;
  --pastel-violet: #d4d9ff;
  --pastel-peach: #ffdcc4;

  /* Typo */
  --font: "DM Sans", "Hurme Geometric Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Espacements */
  --s-8: 8px; --s-16: 16px; --s-24: 24px; --s-32: 32px; --s-40: 40px; --s-48: 48px; --s-64: 64px;
  --section-gap: 80px;
  --max: 1200px;
  --gutter: 24px;

  /* Rayons */
  --r-input: 4px;
  --r-card: 8px;
  --r-feature: 24px;
  --r-pill: 200px;

  /* Ombres */
  --shadow-md: rgba(40, 46, 62, 0.1) 0px 4px 16px 0px;
  --shadow-sm: rgba(40, 46, 62, 0.1) 0px 2px 4px 0px;
  --shadow-subtle: rgba(0, 0, 0, 0.3) 0px 0px 1px 0px inset;

  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Surfaces (cartes, champs) : blanches en mode clair, sombres en mode sombre */
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, .75);
  --nav-bg: rgba(255, 255, 255, .92);
  --featured-bg: rgba(237, 239, 255, .5);
  --locked-bg: rgba(237, 239, 255, .55);
  color-scheme: light;
}

/* ---------- Mode sombre ----------
   Choisi par le visiteur (bouton soleil/lune, mémorisé) ou, à défaut, selon le réglage
   de son appareil. L'attribut data-theme est posé dans <head> avant l'affichage. */
:root[data-theme="dark"] {
  --color-iris-bolt: #7284ff;
  --color-iris-dark: #8b9aff;
  --color-ink-charcoal: #e7e9f3;
  --color-deep-indigo: #c9cff2;
  --color-slate-veil: #a7afc8;
  --color-fog-mist: #7f88a6;
  --color-pure-black: #ffffff;
  --color-chalk-canvas: #0e1120;
  --color-paper-white: #151a2c;
  --color-lilac-wash: #222846;
  --color-mist-border: #2b3250;
  --pastel-cyan: #12384a;
  --pastel-magenta: #3e1f3a;
  --pastel-violet: #252b5a;
  --pastel-peach: #43291b;
  --surface: #1b2135;
  --surface-soft: rgba(27, 33, 53, .8);
  --nav-bg: rgba(16, 20, 36, .9);
  --featured-bg: rgba(114, 132, 255, .12);
  --locked-bg: rgba(14, 17, 32, .7);
  --shadow-md: rgba(0, 0, 0, 0.45) 0px 4px 16px 0px;
  --shadow-sm: rgba(0, 0, 0, 0.4) 0px 2px 4px 0px;
  --shadow-subtle: rgba(255, 255, 255, 0.12) 0px 0px 1px 0px inset;
  color-scheme: dark;
}
/* Impression et PDF : toujours en clair */
@media print {
  :root[data-theme="dark"] {
    --color-iris-bolt: #4255ff; --color-iris-dark: #3245e8; --color-ink-charcoal: #282e3e; --color-deep-indigo: #2e3856;
    --color-slate-veil: #586380; --color-fog-mist: #6b7391; --color-pure-black: #000000; --color-chalk-canvas: #f6f7fb;
    --color-paper-white: #ffffff; --color-lilac-wash: #edefff; --color-mist-border: #d9dde8;
    --pastel-cyan: #b5ecff; --pastel-magenta: #fdd3f1; --pastel-violet: #d4d9ff; --pastel-peach: #ffdcc4;
    --surface: #ffffff; --surface-soft: rgba(255, 255, 255, .75); --featured-bg: rgba(237, 239, 255, .5);
    color-scheme: light;
  }
}
/* Pas d'animation de couleurs au chargement ; transition douce quand on change de thème */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .35s ease, border-color .35s ease, color .35s ease, fill .35s ease, stroke .35s ease !important;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-ink-charcoal);
  background: var(--color-chalk-canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--color-iris-bolt); color: #fff; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; line-height: 20px; font-weight: 600;
  color: var(--color-iris-bolt);
  letter-spacing: .02em;
  margin-bottom: var(--s-16);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-iris-bolt); box-shadow: 0 0 0 4px rgba(66, 85, 255, .15); }
.h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--color-ink-charcoal);
}
.lead { font-size: 18px; line-height: 1.6; color: var(--color-slate-veil); max-width: 560px; margin-top: var(--s-16); }
.section-head { margin-bottom: var(--s-48); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

.tag {
  display: inline-flex; align-items: center;
  font-size: 12px; line-height: 18px; color: var(--color-slate-veil);
  background: var(--color-chalk-canvas);
  border-radius: var(--r-pill);
  padding: 2px 10px;
  white-space: nowrap;
}
.tag--accent { background: var(--color-lilac-wash); color: var(--color-iris-bolt); font-weight: 600; }

/* ---------- Boutons ---------- */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 16px; line-height: 24px;
  padding: 10px 24px; border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  white-space: nowrap;
  will-change: transform;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--pill { background: var(--color-iris-bolt); color: #fff; box-shadow: var(--shadow-sm); }
.btn--pill:hover { background: var(--color-iris-dark); box-shadow: 0 8px 24px rgba(66, 85, 255, .28); }
.btn--outline { background: transparent; border-color: var(--color-iris-bolt); color: var(--color-iris-bolt); }
.btn--outline:hover { background: var(--color-lilac-wash); }
.btn--ghost { color: var(--color-ink-charcoal); }
.btn--ghost:hover { background: var(--color-chalk-canvas); }
.btn--sm { font-size: 14px; line-height: 20px; padding: 8px 18px; }
.btn--lg { font-size: 17px; padding: 14px 30px; }
.btn--block { width: 100%; }
.btn:focus-visible, .link:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--color-iris-bolt); outline-offset: 3px; }

.link { color: var(--color-iris-bolt); font-size: 16px; position: relative; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--color-paper-white);
  display: grid; place-items: center;
  clip-path: inset(0 0 0 0);
}
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 220px; }
.loader__mark { color: var(--color-iris-bolt); }
.loader__bar { width: 100%; height: 3px; border-radius: 3px; background: var(--color-lilac-wash); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--color-iris-bolt); transform: scaleX(0); transform-origin: left; }
html:not(.js) .loader { display: none; }

/* ---------- Barre de progression ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--color-iris-bolt); transform: scaleX(0); transform-origin: left; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: var(--shadow-md);
}
.nav__inner {
  max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  height: 64px; display: flex; align-items: center; gap: var(--s-32);
}
.logo { display: inline-flex; flex: none; white-space: nowrap; align-items: center; gap: 10px; color: var(--color-iris-bolt); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo span { color: var(--color-ink-charcoal); }
.nav__links { display: flex; gap: 4px; margin: 0 auto; }
.nav__links a { font-size: 14px; padding: 8px 12px; white-space: nowrap; border-radius: var(--r-input); color: var(--color-ink-charcoal); transition: background .2s, color .2s; position: relative; }
.nav__links a:hover { background: var(--color-chalk-canvas); }
.nav__links a.is-active { color: var(--color-iris-bolt); font-weight: 600; }
.nav__links a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -12px; height: 3px; border-radius: 3px 3px 0 0; background: var(--color-iris-bolt); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__actions .btn { white-space: nowrap; }
.lang-switch { flex: none; display: grid; place-items: center; height: 40px; min-width: 40px; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid var(--color-mist-border); background: var(--surface); color: var(--color-ink-charcoal); font-size: 13px; font-weight: 700; letter-spacing: .04em; transition: border-color .2s, color .2s; }
.lang-switch:hover { border-color: var(--color-iris-bolt); color: var(--color-iris-bolt); }
.theme-toggle { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-mist-border); background: var(--surface); color: var(--color-ink-charcoal); cursor: pointer; padding: 0; transition: border-color .2s, color .2s; }
.theme-toggle:hover { border-color: var(--color-iris-bolt); color: var(--color-iris-bolt); }
.theme-toggle:focus-visible { outline: 2px solid var(--color-iris-bolt); outline-offset: 2px; }
.theme-toggle svg { grid-area: 1 / 1; transition: transform .45s var(--ease), opacity .3s; }
.theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
[data-theme="dark"] .theme-toggle__sun { opacity: 1; transform: none; }
[data-theme="dark"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(.6); }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-mist-border); background: var(--surface); cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--color-ink-charcoal); border-radius: 2px; transition: transform .35s var(--ease); }
.nav__burger span:first-child { top: 15px; } .nav__burger span:last-child { top: 22px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px var(--gutter) 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  position: absolute; inset: -10%; z-index: -1;
  background-image:
    linear-gradient(var(--color-mist-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-mist-border) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 10%, transparent 75%);
}
.hero__content { position: relative; z-index: 2; text-align: center; max-width: 860px; }
.hero__title {
  font-size: clamp(46px, 7.6vw, 108px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.045em;
  margin-bottom: var(--s-24);
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .04em .08em; }
.hero__title .word { display: inline-block; will-change: transform; }
.highlight { position: relative; color: var(--color-iris-bolt); }
.highlight__mark {
  position: absolute; left: -2%; right: -2%; bottom: .08em; height: .2em; z-index: -1;
  background: var(--color-lilac-wash);
  border-radius: 4px;
  transform-origin: left center;
}
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--color-slate-veil); max-width: 620px; margin: 0 auto var(--s-32); }
.hero__ctas { display: flex; align-items: center; justify-content: center; gap: var(--s-24); flex-wrap: wrap; }
.hero__meta { margin-top: var(--s-24); font-size: 13px; color: var(--color-fog-mist); }

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; color: var(--color-fog-mist); letter-spacing: .08em; text-transform: uppercase;
}
.hero__scroll i { width: 1px; height: 40px; background: var(--color-mist-border); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--color-iris-bolt); animation: scrollLine 1.8s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* Cartes flottantes */
.hero__cards { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hcard { position: absolute; width: 260px; }
.hcard__mouse, .hcard__body { will-change: transform; }
.hcard--a { top: 17%; left: 4%; }
.hcard--b { top: 13%; right: 5%; width: 230px; }
.hcard--c { bottom: 11%; left: 7%; width: 250px; }
.hcard--d { bottom: 14%; right: 4%; width: 270px; }

/* Feature card (pastel + panneau blanc) */
.fcard { border-radius: var(--r-feature); padding: 12px; box-shadow: var(--shadow-md); }
.fcard--cyan { background: var(--pastel-cyan); }
.fcard--magenta { background: var(--pastel-magenta); }
.fcard--violet { background: var(--pastel-violet); }
.fcard--peach { background: var(--pastel-peach); }
.fcard__panel { background: var(--color-paper-white); border-radius: var(--r-card); padding: 16px; }
.fcard__label { font-size: 12px; line-height: 18px; color: var(--color-slate-veil); font-weight: 600; letter-spacing: .02em; margin-bottom: 8px; }

.qcard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.qcard__time { font-size: 12px; color: var(--color-fog-mist); }
.qcard__q { font-size: 15px; line-height: 1.4; font-weight: 600; margin-bottom: 14px; }
.likert { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.likert span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--color-mist-border); transition: all .3s; }
.likert span:nth-child(1), .likert span:nth-child(5) { width: 32px; height: 32px; }
.likert span.is-on { border-color: var(--color-iris-bolt); background: var(--color-iris-bolt); box-shadow: 0 0 0 4px rgba(66, 85, 255, .15); }
.likert__labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--color-fog-mist); margin-top: 8px; }
.likert--sm span { width: 18px; height: 18px; }
.likert--sm span:nth-child(1), .likert--sm span:nth-child(5) { width: 22px; height: 22px; }

.mini-radar { width: 100%; height: auto; }
.mini-radar__grid polygon { fill: none; stroke: var(--color-mist-border); stroke-width: 1; }
.mini-radar__grid line { stroke: var(--color-mist-border); stroke-width: 1; }
.mini-radar__shape { fill: rgba(66, 85, 255, .18); stroke: var(--color-iris-bolt); stroke-width: 2; stroke-linejoin: round; }
.mini-radar__labels text { font-size: 13px; font-weight: 600; fill: var(--color-slate-veil); text-anchor: middle; dominant-baseline: middle; font-family: var(--font); }

.mbar { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; font-size: 13px; margin-top: 10px; }
.mbar b { font-weight: 600; color: var(--color-iris-bolt); font-size: 12px; }
.mbar i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--color-chalk-canvas); overflow: hidden; }
.mbar em { display: block; height: 100%; width: var(--w); background: var(--color-iris-bolt); border-radius: 6px; transform-origin: left; }

.match { display: flex; align-items: center; gap: 14px; }
.match__job { font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.match__meta { font-size: 12px; color: var(--color-slate-veil); margin-top: 2px; }
.ring { position: relative; width: 64px; height: 64px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring__bg { stroke: var(--color-lilac-wash); }
.ring__fg { --p: .8; stroke: var(--color-iris-bolt); stroke-linecap: round; stroke-dasharray: 169.65; stroke-dashoffset: calc(169.65 * (1 - var(--p))); }
.ring__val { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.ring--lg { width: 128px; height: 128px; }
.ring--lg circle { stroke-width: 5; }
.ring--lg .ring__val { font-size: 28px; letter-spacing: -0.02em; }

/* ---------- Stats ---------- */
.stats { background: var(--color-paper-white); border-block: 1px solid var(--color-mist-border); padding: var(--s-48) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-24); }
.stat { padding: 0 var(--s-16); border-left: 1px solid var(--color-mist-border); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-size: clamp(36px, 4vw, 52px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 14px; color: var(--color-slate-veil); margin-top: 4px; }

/* ---------- Manifeste ---------- */
.manifesto { padding: 140px 0 120px; }
.manifesto__text {
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.3; font-weight: 500; letter-spacing: -0.02em;
  max-width: 1050px;
}
.manifesto__text em { font-style: normal; color: var(--color-iris-bolt); }
.manifesto__text .mw { display: inline-block; }

/* ---------- Process ---------- */
.process { background: var(--color-paper-white); overflow: hidden; }
.process__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0; }
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-24); margin-bottom: var(--s-48); }
.process__dots { display: flex; gap: 8px; }
.process__dots span { width: 28px; height: 4px; border-radius: 4px; background: var(--color-mist-border); transition: background .4s, width .4s var(--ease); }
.process__dots span.is-on { background: var(--color-iris-bolt); width: 48px; }
.process__track {
  display: flex; gap: var(--s-24);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding-right: var(--gutter);
  width: max-content;
}
.step { width: min(440px, 80vw); padding: 16px; display: flex; flex-direction: column; flex: none; }
.step__head { display: flex; align-items: baseline; gap: 16px; padding: 16px 12px 24px; }
.step__num { font-size: 15px; font-weight: 700; color: var(--color-ink-charcoal); opacity: .5; }
.step__head h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.step__panel { flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 24px; min-height: 300px; }
.step__panel p { color: var(--color-slate-veil); font-size: 16px; line-height: 1.55; }
.step__visual { margin-top: auto; border-radius: var(--r-card); background: var(--color-chalk-canvas); padding: 20px; min-height: 140px; }
.step__visual--q { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.qline { height: 8px; border-radius: 8px; }
.qline i { display: block; width: var(--w); height: 100%; background: var(--color-mist-border); border-radius: 8px; }
.step__visual--q .likert { margin-top: 10px; }
.step__visual--dims { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-content: center; }
.step__visual--dims span { aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--r-card); background: var(--surface); font-weight: 700; font-size: 14px; color: var(--color-slate-veil); box-shadow: var(--shadow-sm); }
.step__visual--dims span:nth-child(-n+6) { color: var(--color-iris-bolt); }
.step__visual--bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; }
.step__visual--bars i { flex: 1; height: var(--h); background: var(--color-mist-border); border-radius: 6px 6px 2px 2px; transform-origin: bottom; }
.step__visual--bars i:nth-child(3) { background: var(--color-iris-bolt); }
.step__visual--jobs { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.step__visual--jobs div { display: flex; justify-content: space-between; align-items: center; background: var(--surface); border-radius: var(--r-card); padding: 10px 14px; box-shadow: var(--shadow-sm); font-size: 14px; }
.step__visual--jobs b { font-weight: 600; }
.step__visual--jobs span { color: var(--color-iris-bolt); font-weight: 700; }

/* Ordinateur : la section épinglée tient toujours dans la hauteur de la fenêtre,
   pour que les cartes restent entières pendant le défilement horizontal */
@media (min-width: 961px) {
  .process__pin {
    height: 100vh; height: 100svh; min-height: 0;
    padding: calc(64px + clamp(12px, 4vh, 40px)) 0 clamp(16px, 4vh, 48px);
  }
  .process__head { margin-bottom: clamp(16px, 4vh, 48px); }
}
/* Fenêtres peu hautes (portable, navigateur avec barres) : cartes plus compactes */
@media (min-width: 961px) and (max-height: 860px) {
  .process .eyebrow { margin-bottom: 8px; }
  .process .h2 { font-size: clamp(28px, 6vh, 48px); }
  .step { padding: 12px; }
  .step__head { padding: 8px 10px 14px; }
  .step__head h3 { font-size: 24px; }
  .step__panel { min-height: 0; padding: 18px; gap: 14px; }
  .step__panel p { font-size: 15px; line-height: 1.5; }
  .step__visual { min-height: 0; padding: 14px; }
  .step__visual--dims span { aspect-ratio: auto; height: 38px; }
  .step__visual--bars { height: 104px; }
  .step__visual--q { height: 104px; }
  .step__visual--jobs div { padding: 7px 12px; font-size: 13px; }
}
@media (min-width: 961px) and (max-height: 600px) {
  .process .h2 { font-size: clamp(24px, 5.5vh, 32px); }
  .step__visual--dims span { height: 32px; }
  .step__visual--bars, .step__visual--q { height: 84px; }
  .step__visual--jobs div:nth-child(3) { display: none; }
}
@media (min-width: 961px) and (max-height: 480px) {
  .step__visual { display: none; }
}

/* ---------- Méthode ---------- */
.method { background: var(--color-lilac-wash); padding: 120px 0; }
.method__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-64); align-items: start; }
.method__visual { position: sticky; top: 120px; }
.curve-card { background: var(--color-paper-white); border-radius: var(--r-feature); padding: var(--s-24); box-shadow: var(--shadow-md); }
.curve-card__head { display: flex; justify-content: space-between; align-items: center; }
.curve { width: 100%; height: auto; margin: 8px 0 4px; overflow: visible; }
.curve__axis { stroke: var(--color-mist-border); stroke-width: 1; }
.curve__area { fill: var(--color-chalk-canvas); }
.curve__area--on { fill: rgba(66, 85, 255, .16); }
.curve__line { fill: none; stroke: var(--color-iris-bolt); stroke-width: 2.5; stroke-linecap: round; }
.curve__marker line { stroke: var(--color-ink-charcoal); stroke-width: 1.5; stroke-dasharray: 3 4; }
.curve__marker circle { fill: var(--color-iris-bolt); stroke: var(--surface); stroke-width: 3; }
.curve__ticks text { font-size: 12px; fill: var(--color-fog-mist); text-anchor: middle; font-family: var(--font); }
.curve-card__foot { border-top: 1px solid var(--color-mist-border); padding-top: 16px; font-size: 15px; color: var(--color-slate-veil); }
.curve-card__foot b { color: var(--color-ink-charcoal); }

.msteps { list-style: none; margin: var(--s-40) 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-16); }
.mstep { display: flex; gap: 16px; background: var(--color-paper-white); border-radius: var(--r-card); padding: var(--s-24); box-shadow: var(--shadow-sm); }
.mstep__n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--color-lilac-wash); color: var(--color-iris-bolt); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.mstep h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.mstep p { color: var(--color-slate-veil); font-size: 15px; }
.formula {
  display: inline-block; margin-top: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px;
  background: var(--color-chalk-canvas); color: var(--color-deep-indigo);
  border-radius: var(--r-input); padding: 6px 10px; box-shadow: var(--shadow-subtle);
}

/* ---------- Démo ---------- */
.demo { padding: 120px 0; }
.demo__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--s-24); }
.demo__panel { background: var(--color-paper-white); border: 1px solid var(--color-mist-border); border-radius: var(--r-feature); padding: var(--s-32); }
.demo__panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.demo__reset { background: none; border: 0; color: var(--color-iris-bolt); font-size: 14px; cursor: pointer; padding: 4px 0; }
.demo__reset:hover { text-decoration: underline; }

.sliders { display: flex; flex-direction: column; }
.slider { padding: 18px 0; border-bottom: 1px solid var(--color-mist-border); }
.slider:last-child { border-bottom: 0; padding-bottom: 0; }
.slider__top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.slider__q { font-size: 15px; line-height: 1.4; }
.slider__dim { flex: none; font-size: 12px; font-weight: 700; color: var(--color-iris-bolt); background: var(--color-lilac-wash); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.slider input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; cursor: pointer;
  background: linear-gradient(90deg, var(--color-iris-bolt) var(--fill, 50%), var(--color-chalk-canvas) var(--fill, 50%));
  box-shadow: var(--shadow-subtle);
}
.slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--color-iris-bolt); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease);
}
.slider input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2); }
.slider input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--color-iris-bolt); }
.slider__scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--color-fog-mist); margin-top: 8px; }

.demo__result { display: flex; flex-direction: column; gap: var(--s-24); }
.demo__radar-wrap { display: grid; grid-template-columns: 1fr 180px; gap: var(--s-24); align-items: center; }
.radar { width: 100%; max-width: 340px; height: auto; margin: 0 auto; overflow: visible; }
.radar__grid polygon { fill: none; stroke: var(--color-mist-border); }
.radar__grid polygon:last-child { fill: var(--color-chalk-canvas); }
.radar__grid line { stroke: var(--color-mist-border); }
.radar__shape { fill: rgba(66, 85, 255, .16); stroke: var(--color-iris-bolt); stroke-width: 2.5; stroke-linejoin: round; }
.radar__dots circle { fill: var(--surface); stroke: var(--color-iris-bolt); stroke-width: 2.5; }
.radar__labels text { font-size: 13px; fill: var(--color-ink-charcoal); font-weight: 600; text-anchor: middle; dominant-baseline: middle; font-family: var(--font); }
.radar__labels text.sub { font-size: 11px; font-weight: 400; fill: var(--color-slate-veil); }
.demo__code { background: var(--color-lilac-wash); border-radius: var(--r-card); padding: 20px; }
.demo__code-val { font-size: 40px; font-weight: 700; letter-spacing: .08em; color: var(--color-iris-bolt); line-height: 1.1; margin: 4px 0 8px; }
.demo__code-hint { font-size: 13px; color: var(--color-slate-veil); line-height: 1.4; }

.jobs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.job { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 4px 12px; border: 1px solid var(--color-mist-border); border-radius: var(--r-card); padding: 12px 16px; }
.job__rank { font-size: 13px; font-weight: 700; color: var(--color-fog-mist); }
.job:first-child .job__rank { color: var(--color-iris-bolt); }
.job__name { font-weight: 600; font-size: 15px; }
.job__pct { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.job__bar { grid-column: 2 / -1; height: 6px; border-radius: 6px; background: var(--color-chalk-canvas); overflow: hidden; }
.job__bar i { display: block; height: 100%; width: 0; background: var(--color-iris-bolt); border-radius: 6px; }
.job__verdict { grid-column: 2 / -1; font-size: 12px; color: var(--color-slate-veil); }
.demo__note { font-size: 12px; color: var(--color-fog-mist); margin-top: 12px; }

/* ---------- Scores ---------- */
.scores { background: var(--color-paper-white); padding: 120px 0; overflow: hidden; }
.scores__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-64); align-items: center; }
.sexp { display: flex; flex-direction: column; gap: var(--s-24); margin-top: var(--s-40); }
.sexp__item { display: flex; gap: 16px; align-items: flex-start; }
.sexp__badge { flex: none; min-width: 64px; height: 40px; padding: 0 12px; border-radius: var(--r-pill); background: var(--color-lilac-wash); color: var(--color-iris-bolt); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.sexp__item h3 { font-size: 18px; font-weight: 600; margin-bottom: 2px; }
.sexp__item p { color: var(--color-slate-veil); font-size: 15px; }

.report { background: var(--color-chalk-canvas); border: 1px solid var(--color-mist-border); border-radius: var(--r-feature); box-shadow: var(--shadow-md); overflow: hidden; will-change: transform; }
.report__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--color-mist-border); background: var(--surface); }
.report__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-mist-border); }
.report__bar span { margin-left: 10px; font-size: 12px; color: var(--color-fog-mist); }
.report__body { padding: var(--s-24); display: flex; flex-direction: column; gap: var(--s-16); }
.report__top { display: flex; justify-content: space-between; align-items: flex-start; background: var(--surface); border-radius: var(--r-card); padding: 16px 20px; }
.report__title { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.report__rel { font-size: 13px; color: var(--color-slate-veil); background: var(--color-chalk-canvas); border-radius: var(--r-pill); padding: 4px 12px; }
.report__rel b { color: var(--color-iris-bolt); }
.report__cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-16); }
.report__dims, .report__match { background: var(--surface); border-radius: var(--r-card); padding: 20px; }
.report__match { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.rdim { display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; padding: 7px 0; }
.rdim i { height: 8px; border-radius: 8px; background: var(--color-chalk-canvas); overflow: hidden; }
.rdim em { display: block; height: 100%; width: var(--w); background: var(--color-iris-bolt); border-radius: 8px; transform-origin: left; }
.rdim b { font-weight: 600; text-align: right; color: var(--color-slate-veil); font-size: 12px; }
.report__insight { background: var(--surface); border-radius: var(--r-card); padding: 16px 20px; font-size: 14px; color: var(--color-slate-veil); border-left: 3px solid var(--color-iris-bolt); }
.report__insight b { color: var(--color-ink-charcoal); }

/* ---------- Marquee ---------- */
.jobs-marquee { padding: 120px 0 100px; overflow: hidden; }
.marquee { overflow: hidden; padding: 6px 0; }
.marquee__row { display: flex; gap: 12px; width: max-content; will-change: transform; }
.mpill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--color-paper-white); border: 1px solid var(--color-mist-border); border-radius: var(--r-pill);
  padding: 12px 22px; font-size: 17px; white-space: nowrap;
  transition: border-color .25s, color .25s, background .25s;
}
.mpill b { font-size: 12px; font-weight: 700; color: var(--color-iris-bolt); background: var(--color-lilac-wash); border-radius: var(--r-pill); padding: 2px 8px; }
.mpill:hover { border-color: var(--color-iris-bolt); color: var(--color-iris-bolt); }

/* ---------- Audience ---------- */
.audience { padding: 0 0 120px; }
.audience__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-16); }
.acard {
  background: var(--color-paper-white); border: 1px solid var(--color-mist-border); border-radius: var(--r-card);
  padding: var(--s-24); display: flex; flex-direction: column; gap: 10px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.acard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.acard__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--color-lilac-wash); display: grid; place-items: center; margin-bottom: 8px; transition: background .3s; }
.acard__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--color-iris-bolt); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.acard:hover .acard__icon { background: var(--color-iris-bolt); }
.acard:hover .acard__icon svg { stroke: var(--surface); }
.acard h3 { font-size: 18px; font-weight: 600; }
.acard p { color: var(--color-slate-veil); font-size: 15px; flex: 1; }
.acard .tag { align-self: flex-start; }

/* ---------- Formules ---------- */
.plans { background: var(--color-lilac-wash); padding: 120px 0; }
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-24); align-items: stretch; }
.plans__grid--two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
.plan { position: relative; background: var(--color-paper-white); border-radius: var(--r-card); padding: var(--s-32); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan--featured { outline: 2px solid var(--color-iris-bolt); }
.plan__flag { position: absolute; top: -13px; left: var(--s-32); background: var(--color-iris-bolt); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: var(--r-pill); }
.plan__name { font-size: 16px; font-weight: 600; color: var(--color-slate-veil); }
.plan__price { font-size: 48px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; margin: 8px 0 4px; }
.plan__desc { color: var(--color-slate-veil); font-size: 15px; }
.plan__list { list-style: none; padding: 0; margin: var(--s-24) 0 var(--s-32); display: flex; flex-direction: column; gap: 10px; flex: 1; border-top: 1px solid var(--color-mist-border); padding-top: var(--s-24); }
.plan__list li { font-size: 15px; padding-left: 26px; position: relative; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--color-lilac-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%234255ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* ---------- CTA final ---------- */
.final { position: relative; padding: 160px 0; text-align: center; overflow: hidden; isolation: isolate; }
.final__bg { position: absolute; inset: 0; z-index: -1; background: var(--color-paper-white); clip-path: circle(12% at 50% 50%); }
.final__title { text-wrap: balance; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.1; font-weight: 600; letter-spacing: -0.035em; max-width: 960px; margin: 0 auto var(--s-40); }

/* ---------- Footer ---------- */
.footer { background: var(--color-chalk-canvas); border-top: 1px solid var(--color-mist-border); padding-top: var(--s-48); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: var(--s-32); padding-bottom: var(--s-48); }
.footer__brand p { color: var(--color-slate-veil); font-size: 14px; margin-top: 16px; max-width: 280px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h4 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.footer__col a, .footer__col span { font-size: 14px; color: var(--color-slate-veil); transition: color .2s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--color-iris-bolt); }
.footer__col a[href^="mailto:"] { overflow-wrap: normal; word-break: keep-all; }
.footer__bottom { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--color-mist-border); font-size: 13px; color: var(--color-fog-mist); }
.footer__bottom > p:last-child { margin-left: auto; }

/* =========================================================
   Responsive
   ========================================================= */
/* Menu compact (liens resserrés) jusqu'à 1 280 px : la barre garde la place pour
   les boutons langue (FR/EN) et clair/sombre ; menu burger à partir de 1 100 px */
@media (max-width: 1280px) {
  .nav__inner { gap: var(--s-16); }
  .nav__links { gap: 0; }
  .nav__links a { padding: 8px 8px; font-size: 13.5px; }
  .nav__links a.is-active::after { left: 8px; right: 8px; }
}
@media (max-width: 1100px) {
  .nav__links, .nav__login { display: none; }
  .nav__burger { display: block; }
  .nav__actions { margin-left: auto; }
  .nav__mobile {
    display: flex; flex-direction: column; gap: 4px;
    max-height: 0; overflow: hidden; transition: max-height .5s var(--ease);
    padding: 0 var(--gutter);
  }
  .nav.is-open .nav__mobile { max-height: 560px; padding-bottom: 16px; }
  .nav__mobile a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--color-mist-border); font-size: 16px; }
  .nav__mobile .btn { margin-top: 12px; }
}

@media (max-width: 1100px) {
  .hcard { width: 220px !important; }
  .hcard--a { left: 2%; } .hcard--b { right: 2%; } .hcard--c { left: 3%; } .hcard--d { right: 2%; }
  .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

/* Écrans moyens : les cartes du haut de l'accueil s'écartent du titre */
@media (max-width: 1440px) {
  .hcard--a { top: 12%; left: 2%; width: 240px; }
  .hcard--b { top: 10%; right: 2%; width: 215px; }
}
@media (min-width: 1101px) and (max-width: 1280px) {
  .hcard--a { left: 1.5%; width: 200px; }
  .hcard--b { right: 1.5%; width: 195px; }
  .hcard--c { left: 1.5%; width: 205px; }
  .hcard--d { right: 1.5%; width: 225px; }
  .hcard--d .match { gap: 10px; }
  .hcard--d .ring { width: 50px; height: 50px; }
  .hcard--d .ring__val { font-size: 13px; }
  .hcard--d .match__job { font-size: 15px; }
}
/* Entre 961 et 1100 px, pas assez de place autour du titre et des boutons : pas de cartes flottantes (sous 960 px, elles passent en grille) */
@media (min-width: 961px) and (max-width: 1100px) {
  .hcard { display: none; }
}

@media (max-width: 960px) {
  .hero { padding-top: 110px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 48px; min-height: auto; }
  .hero__cards { position: relative; inset: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 560px; }
  .hcard { position: relative; inset: auto !important; width: auto !important; }
  .hcard--b, .hcard--c { display: none; }
  .hero__scroll { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-32); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }

  .process__pin { min-height: auto; }
  .process__head { flex-direction: column; align-items: flex-start; }
  .process__dots { display: none; }
  .process__track { width: auto; flex-direction: column; padding: 0 var(--gutter); }
  .step { width: 100%; }

  .method__grid, .scores__grid, .demo__grid { grid-template-columns: 1fr; }
  .method__visual { position: relative; top: 0; }
  .plans__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .manifesto { padding: 96px 0 80px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .hero__cards { grid-template-columns: 1fr; max-width: 320px; }
  .hero__ctas { flex-direction: column; gap: 16px; }
  .demo__panel { padding: var(--s-24) 18px; }
  .demo__radar-wrap { grid-template-columns: 1fr; }
  .report__cols { grid-template-columns: 1fr; }
  .rdim { grid-template-columns: 96px 1fr 34px; }
  .audience__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--contact { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .footer__bottom > p:last-child { margin-left: 0; }
  .method, .demo, .scores, .plans, .jobs-marquee { padding: 88px 0; }
  .final { padding: 112px 0; }
  .mpill { font-size: 15px; padding: 10px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .loader { display: none; }
}

/* Découpe des titres (JS) */
.nowrap { white-space: nowrap; }
/* Marge invisible sur les côtés : avec l'espacement serré des titres, la dernière lettre (ex. le « s » de « Tous ») n'est plus rognée */
.rw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .12em; margin: 0 -.08em -.12em; }
.rw > span { display: inline-block; will-change: transform; }

@media (max-width: 480px) {
  /* « qui vous ressemble. » tient sur une ligne (titre sur 2 lignes) */
  .hero__title { font-size: clamp(34px, 11vw, 52px); }
  .nav__actions .btn--pill { display: none; }
  .logo { font-size: 18px; }
  /* Les longs libellés de bouton passent à la ligne au lieu de déborder */
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .btn--lg { padding-left: 20px; padding-right: 20px; }
}

/* ---------- Rideau de transition entre pages ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 190;
  display: grid; place-items: center;
  background: var(--color-paper-white); color: var(--color-iris-bolt);
  clip-path: inset(0% 0% 0% 0%);
  pointer-events: none;
}
html:not(.js) .curtain { display: none; }
.js:not(.is-return) body[data-page="home"] .curtain { clip-path: inset(100% 0% 0% 0%); }
.is-return .loader { display: none; }
/* Filet de sécurité si les scripts ne se chargent pas */
.curtain, .loader { animation: vmSafety 0s 6s forwards; }
@keyframes vmSafety { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .curtain { display: none; } }

main { overflow-x: clip; }

/* ---------- Publicités (Google AdSense, voir assets/js/ads.js) ----------
   Invisibles tant qu'AdSense n'est pas activé (attribut hidden). Une place est réservée
   pour que la page ne saute pas à l'arrivée de l'annonce ; un bloc sans annonce disparaît. */
.adslot { box-sizing: border-box; width: 100%; align-self: stretch; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: var(--s-32) var(--gutter); text-align: center; }
.adslot[hidden] { display: none; }
.adslot__label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-fog-mist); }
.adslot ins.adsbygoogle { min-height: 0; }
/* L'emplacement reste replié tant que Google n'y a pas mis d'annonce (site en examen, aucune annonce disponible…) */
.adslot.is-waiting { height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; }
.adslot:has(ins[data-ad-status="unfilled"]) { display: none; }
.adslot--inline { padding: var(--s-24) 0; }
.adslot--side { padding: 0; }
/* Fiche métier : la colonne de gauche ne reste plus fixe quand elle contient une annonce (sinon le bas serait caché) */
.jpage__side:has(.adslot--side:not([hidden])) { position: static; }
@media (max-width: 960px) { .adslot--side { display: none !important; } }
@media print { .adslot { display: none !important; } }

/* Mode sombre : couleurs des graphiques SVG dessinés avec des couleurs fixes (radars, courbes) */
[data-theme="dark"] svg [fill="#f6f7fb"] { fill: var(--color-chalk-canvas); }
[data-theme="dark"] svg [fill="#fff"] { fill: var(--surface); }
[data-theme="dark"] svg [fill="#586380"] { fill: var(--color-slate-veil); }
[data-theme="dark"] svg [fill="#4255ff"] { fill: var(--color-iris-bolt); }
[data-theme="dark"] svg [stroke="#d9dde8"] { stroke: var(--color-mist-border); }
[data-theme="dark"] svg [stroke="#939bb4"] { stroke: var(--color-fog-mist); }
[data-theme="dark"] svg [stroke="#4255ff"] { stroke: var(--color-iris-bolt); }
