@charset "UTF-8";
/* ============================================================
   Websider — feuille de style unique
   Direction : graphite et bleu électrique
   ============================================================ */

/* ---------- Polices auto-hébergées (aucun appel à un CDN) ---------- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  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: 'Inter';
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/spacegrotesk-latin.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
  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: 'Space Grotesk';
  src: url('../fonts/spacegrotesk-latin-ext.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Jetons ---------- */
:root {
  --g-950:#0C0F11; --g-900:#14181C; --g-850:#1B2126; --g-800:#242B31;
  --g-700:#343C44; --g-600:#4C555E; --g-500:#6A737C; --g-400:#98A1AA;
  --g-300:#C2C9CF; --g-200:#E1E6EA; --g-150:#EDF0F3; --g-100:#F4F6F8;
  --g-050:#FAFBFC; --white:#FFFFFF;

  --blue-700:#0F3FB0; --blue-600:#1450DB; --blue-500:#1B5CFF;
  --blue-400:#4D82FF; --blue-300:#8FAEFF; --blue-100:#DCE7FF; --blue-050:#EFF4FF;

  --ink: var(--g-900);
  --body: var(--g-700);
  --muted: var(--g-500);
  --line: var(--g-200);
  --accent: var(--blue-500);
  --accent-text: var(--blue-600);

  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --s1:.25rem; --s2:.5rem; --s3:.75rem; --s4:1rem; --s5:1.5rem;
  --s6:2rem; --s7:2.5rem; --s8:3rem; --s9:4rem; --s10:5.5rem; --s11:7rem;

  --shadow-sm: 0 1px 2px rgba(12,15,17,.05), 0 1px 3px rgba(12,15,17,.04);
  --shadow-md: 0 4px 12px rgba(12,15,17,.06), 0 12px 32px rgba(12,15,17,.06);
  --shadow-lg: 0 8px 24px rgba(12,15,17,.08), 0 24px 64px rgba(12,15,17,.10);

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

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'cv05' 1;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s4);
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.35rem + 3.6vw, 3.9rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.7rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
h4 { font-size: 1.0625rem; letter-spacing: -0.015em; }

p { margin: 0 0 var(--s4); text-wrap: pretty; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--blue-700); }
strong { color: var(--ink); font-weight: 600; }
img, svg { max-width: 100%; height: auto; }
ul, ol { margin: 0 0 var(--s4); padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s7) 0; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .875em; background: var(--g-100);
  padding: .15em .4em; border-radius: 5px; color: var(--g-850);
}
pre {
  background: var(--g-950); color: var(--g-150); padding: var(--s5);
  border-radius: var(--radius); overflow-x: auto; font-size: .9rem; line-height: 1.6;
}
pre code { background: none; padding: 0; color: inherit; }

::selection { background: var(--blue-100); color: var(--g-950); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--g-950); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* Champ appât anti-robot : retiré du flux sans être masqué au clavier */
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Mise en page ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s5); }
.container--narrow { max-width: 780px; }
.container--mid { max-width: 960px; }

.section { padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--flush-top { padding-top: 0; }

.section--tinted { background: var(--g-050); border-block: 1px solid var(--g-150); }
.section--dark {
  background: var(--g-950); color: var(--g-300);
  --ink: #fff; --body: var(--g-300); --line: rgba(255,255,255,.12);
  --muted: var(--g-400); --accent-text: var(--blue-300);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a { color: var(--blue-300); }

.grid { display: grid; gap: var(--s5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.split {
  display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .85fr 1.15fr; }
  .split--reverse > :first-child { order: 2; }
}

.stack > * + * { margin-top: var(--s4); }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure--wide { max-width: 72ch; }
.center .measure, .center .measure--wide { margin-inline: auto; }

/* ---------- Typographie utilitaire ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-text);
  margin-bottom: var(--s3);
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px;
}
.section--dark .eyebrow { color: var(--blue-300); }
.section--dark .eyebrow::before { background: var(--blue-400); }

.lead {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.6; color: var(--g-600);
}
.section--dark .lead { color: var(--g-300); }

.small { font-size: .9375rem; }
.muted { color: var(--muted); }
.section-head { margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-size: .9688rem; font-weight: 600;
  letter-spacing: -0.01em; line-height: 1;
  padding: .95rem 1.4rem; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--blue-500); color: #fff;
  box-shadow: 0 1px 2px rgba(12,15,17,.12), 0 6px 18px rgba(27,92,255,.22);
}
.btn--primary:hover { background: var(--blue-600); color: #fff; box-shadow: 0 2px 4px rgba(12,15,17,.14), 0 10px 26px rgba(27,92,255,.28); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--g-300); }
.btn--outline:hover { border-color: var(--g-800); background: var(--g-050); color: var(--ink); }
.section--dark .btn--outline { color: #fff; border-color: rgba(255,255,255,.28); }
.section--dark .btn--outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); color: #fff; }

.btn--ghost { background: transparent; color: var(--accent-text); padding-inline: 0; }
.btn--ghost:hover { color: var(--blue-700); gap: .8rem; }

.btn--light { background: #fff; color: var(--g-950); }
.btn--light:hover { background: var(--g-150); color: var(--g-950); }

.btn--lg { padding: 1.1rem 1.75rem; font-size: 1.03rem; }
.btn--sm { padding: .65rem 1rem; font-size: .875rem; }
.btn--block { width: 100%; }

.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.center .btn-row { justify-content: center; }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 20px rgba(12,15,17,.05); }
.header__inner { display: flex; align-items: center; gap: var(--s5); min-height: 72px; }

.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; }
.logo__mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo__text {
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  letter-spacing: -0.035em; color: var(--g-950);
}

.nav { margin-left: auto; display: none; align-items: center; gap: .15rem; }
@media (min-width: 1040px) { .nav { display: flex; } }

.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .7rem; border-radius: 8px;
  font-size: .9375rem; font-weight: 500; color: var(--g-700);
  text-decoration: none; white-space: nowrap;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav__link:hover { color: var(--g-950); background: var(--g-100); }
.nav__link[aria-current="page"] { color: var(--g-950); font-weight: 600; }

.nav__item { position: relative; }
.nav__caret { width: 9px; height: 9px; transition: transform .2s var(--ease); opacity: .55; }
.nav__item:hover .nav__caret, .nav__item:focus-within .nav__caret { transform: rotate(180deg); }

.nav__panel {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0;
  width: min(680px, 92vw);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: var(--s5);
  display: grid; grid-template-columns: 1fr 1fr; gap: .35rem;
  opacity: 0; visibility: hidden; translate: -50% 6px;
  transition: opacity .18s var(--ease), translate .18s var(--ease), visibility .18s;
}
.nav__item:hover .nav__panel, .nav__item:focus-within .nav__panel {
  opacity: 1; visibility: visible; translate: -50% 0;
}
.nav__panel-link {
  display: block; padding: .7rem .8rem; border-radius: var(--radius-sm);
  text-decoration: none; transition: background-color .15s var(--ease);
}
.nav__panel-link:hover { background: var(--g-100); }
.nav__panel-title {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: .9375rem; color: var(--g-950); margin-bottom: .1rem;
}
.nav__panel-desc { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.45; }

.header__cta { display: none; margin-left: var(--s3); }
@media (min-width: 1040px) { .header__cta { display: inline-flex; } }

.burger {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; color: var(--g-900);
}
@media (min-width: 1040px) { .burger { display: none; } }
.burger span {
  display: block; width: 17px; height: 1.5px; background: currentColor;
  position: relative; transition: background-color .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 17px; height: 1.5px;
  background: currentColor; transition: transform .22s var(--ease), top .22s var(--ease);
}
.burger span::before { top: -5.5px; }
.burger span::after  { top: 5.5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: 72px 0 0; z-index: 99;
  background: #fff; overflow-y: auto; padding: var(--s5) 0 var(--s9);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1040px) { .mobile-nav { display: none; } }
.mobile-nav__group + .mobile-nav__group { border-top: 1px solid var(--g-150); margin-top: var(--s4); padding-top: var(--s4); }
.mobile-nav__label {
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: var(--s3);
}
.mobile-nav__link {
  display: block; padding: .7rem 0; font-size: 1.05rem; font-weight: 500;
  color: var(--g-900); text-decoration: none;
}
.mobile-nav__link:hover { color: var(--accent-text); }
.mobile-nav .btn { margin-top: var(--s5); }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 1.5rem + 6vw, 6rem) clamp(3rem, 2rem + 5vw, 5.5rem); }
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(760px 420px at 78% -8%, rgba(27,92,255,.10), transparent 62%),
    radial-gradient(560px 380px at 4% 8%, rgba(27,92,255,.05), transparent 60%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, var(--g-150) 1px, transparent 1px),
    linear-gradient(to bottom, var(--g-150) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 30%, transparent 72%);
}
.hero__inner { display: grid; gap: clamp(2.5rem, 4vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .hero__inner { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { margin-bottom: var(--s5); }
.hero__lead { font-size: clamp(1.075rem, 1rem + .45vw, 1.3rem); color: var(--g-600); max-width: 56ch; }
.hero__reassurance {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-top: var(--s5); font-size: .9375rem; color: var(--g-600);
}
.hero__reassurance svg { flex-shrink: 0; margin-top: .15rem; color: var(--accent); }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s6); }
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .8rem; border-radius: 100px;
  border: 1px solid var(--line); background: var(--white);
  font-size: .8125rem; font-weight: 500; color: var(--g-600);
}
.pill svg { color: var(--accent); flex-shrink: 0; }

/* ---------- Cartes ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 1.4vw, 2.1rem);
  display: flex; flex-direction: column;
  transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card--link:hover { border-color: var(--g-300); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3 { margin-bottom: var(--s3); }
.card p { color: var(--g-600); }
.card > :last-child { margin-bottom: 0; }
.card__foot { margin-top: auto; padding-top: var(--s5); }

.section--tinted .card { background: #fff; }
.section--dark .card {
  background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.11);
}
.section--dark .card p { color: var(--g-400); }
.section--dark .card--link:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); transform: translateY(-3px); box-shadow: none; }

.card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-050); color: var(--accent-text);
  margin-bottom: var(--s4); flex-shrink: 0;
}
.section--dark .card__icon { background: rgba(77,130,255,.16); color: var(--blue-300); }

.card--pillar { padding-top: clamp(1.75rem, 1rem + 1.6vw, 2.4rem); }
.card--pillar::before {
  content: ''; position: absolute; inset: 0 auto auto 0;
  width: 100%; height: 3px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  opacity: 0; transition: opacity .25s var(--ease);
}
.card--pillar:hover::before { opacity: 1; }

/* Liste à coches dans les cartes */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li {
  position: relative; padding-left: 1.6rem; margin-bottom: .55rem;
  font-size: .9375rem; color: var(--g-600); line-height: 1.55;
}
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .48em;
  width: 8px; height: 8px; border-radius: 50%;
  border: 2px solid var(--blue-400); background: transparent;
}
.ticks--check li::before {
  content: ''; left: .1rem; top: .38em; width: 6px; height: 10px;
  border: solid var(--accent); border-width: 0 2px 2px 0;
  transform: rotate(42deg); border-radius: 0; background: none;
}
.section--dark .ticks li { color: var(--g-400); }

/* ---------- Problèmes ---------- */
.problem-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.problem {
  display: flex; align-items: flex-start; gap: var(--s4);
  padding: var(--s5) 0; border-bottom: 1px solid var(--line);
}
.problem__mark {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px;
  background: var(--g-100); color: var(--g-500);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 600; font-family: var(--font-display);
  margin-top: .1rem;
}
.problem p { margin: 0; color: var(--g-700); }
@media (min-width: 760px) { .problem-list { grid-template-columns: 1fr 1fr; column-gap: var(--s8); } }

/* ---------- Étapes ---------- */
.steps { counter-reset: step; display: grid; gap: var(--s5); }
@media (min-width: 720px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) { .steps--2 { grid-template-columns: repeat(2, 1fr); } }
.step { position: relative; padding-top: var(--s5); border-top: 2px solid var(--g-200); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -1px; left: 0;
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; color: var(--accent-text);
  background: var(--white); padding-right: .7rem; transform: translateY(-50%);
}
.step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step p { font-size: .9375rem; color: var(--g-600); margin: 0; }
.section--tinted .step::before { background: var(--g-050); }
.section--dark .step { border-top-color: rgba(255,255,255,.16); }
.section--dark .step::before { background: var(--g-950); color: var(--blue-300); }

/* Timeline verticale */
.timeline { position: relative; padding-left: 2.5rem; counter-reset: tl; }
.timeline::before {
  content: ''; position: absolute; left: 11px; top: .6rem; bottom: .6rem;
  width: 2px; background: linear-gradient(var(--blue-300), var(--g-200));
}
.timeline__item { position: relative; padding-bottom: var(--s7); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  counter-increment: tl; content: counter(tl);
  position: absolute; left: -2.5rem; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue-400); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .72rem; font-weight: 700;
}
.timeline__item h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.timeline__item p { color: var(--g-600); margin: 0; font-size: .9688rem; }
.section--dark .timeline__item::before { background: var(--g-950); }
.section--tinted .timeline__item::before { background: var(--g-050); }

/* ---------- Encadré ---------- */
.callout {
  border-left: 3px solid var(--accent);
  background: var(--blue-050);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--s5) var(--s6);
}
.callout > :last-child { margin-bottom: 0; }
.callout p { color: var(--g-700); }
.section--dark .callout { background: rgba(77,130,255,.10); border-left-color: var(--blue-400); }
.section--dark .callout p { color: var(--g-300); }

.callout--neutral { background: var(--g-100); border-left-color: var(--g-400); }

/* ---------- Onglets métiers ---------- */
.tabs__list {
  display: flex; gap: .4rem; overflow-x: auto; padding-bottom: var(--s3);
  margin-bottom: var(--s6); scrollbar-width: thin;
  border-bottom: 1px solid var(--line);
}
.tabs__btn {
  flex-shrink: 0; padding: .6rem 1rem; border-radius: 8px 8px 0 0;
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-display); font-size: .9375rem; font-weight: 500;
  color: var(--g-600); position: relative; white-space: nowrap;
  transition: color .15s var(--ease);
}
.tabs__btn:hover { color: var(--g-950); }
.tabs__btn[aria-selected="true"] { color: var(--accent-text); font-weight: 600; }
.tabs__btn[aria-selected="true"]::after {
  content: ''; position: absolute; left: .6rem; right: .6rem; bottom: -1px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.tabs__panel[hidden] { display: none; }

/* ---------- Filtres cas d'usage ---------- */
.filters { display: grid; gap: var(--s5); margin-bottom: var(--s7); }
.filter-group__label {
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: var(--s3);
}
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  padding: .45rem .9rem; border-radius: 100px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-family: var(--font-body); font-size: .875rem; font-weight: 500; color: var(--g-700);
  transition: all .15s var(--ease);
}
.chip:hover { border-color: var(--g-400); color: var(--g-950); }
.chip[aria-pressed="true"] {
  background: var(--g-950); border-color: var(--g-950); color: #fff;
}
.filter-count { font-size: .9375rem; color: var(--muted); margin-bottom: var(--s5); }
.case-card[hidden] { display: none; }
.empty-state { padding: var(--s8) 0; text-align: center; color: var(--muted); }

/* ---------- Accordéon FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--s4); padding: var(--s5) 0; background: none; border: 0; cursor: pointer;
  text-align: left; font-family: var(--font-display); font-size: 1.05rem;
  font-weight: 600; letter-spacing: -0.015em; color: var(--ink); line-height: 1.4;
}
.faq__q:hover { color: var(--accent-text); }
.faq__icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: .18rem; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; top: 50%; left: 50%; background: currentColor;
  transition: transform .22s var(--ease);
}
.faq__icon::before { width: 13px; height: 1.5px; transform: translate(-50%,-50%); }
.faq__icon::after  { width: 1.5px; height: 13px; transform: translate(-50%,-50%); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq__a { overflow: hidden; }
.faq__a > div { padding-bottom: var(--s5); }
.faq__a p:last-child, .faq__a ul:last-child { margin-bottom: 0; }
.faq__a p { color: var(--g-600); max-width: 68ch; }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--g-950); color: var(--g-300);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 1.5rem + 3.5vw, 4rem);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 300px at 88% 0%, rgba(27,92,255,.35), transparent 62%),
    radial-gradient(420px 260px at 0% 100%, rgba(27,92,255,.16), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--g-300); }
.cta-band__inner { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 860px) { .cta-band__inner { grid-template-columns: 1.25fr .75fr; } }
@media (min-width: 860px) { .cta-band__actions { justify-self: end; } }
.cta-band .btn-row { flex-direction: column; align-items: stretch; }
@media (min-width: 520px) and (max-width: 859px) { .cta-band .btn-row { flex-direction: row; } }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: var(--s5); }
.form__row { display: grid; gap: var(--s5); }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .875rem; font-weight: 600; color: var(--g-800); }
.field .hint { font-size: .8125rem; color: var(--muted); }
.field .req { color: var(--blue-600); }

.input, .select, .textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--g-900);
  background: #fff; border: 1px solid var(--g-300); border-radius: var(--radius-sm);
  padding: .8rem .9rem; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--g-400); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(27,92,255,.14);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236A737C' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center; padding-right: 2.4rem;
}
.field--error .input, .field--error .select, .field--error .textarea { border-color: #C0332B; }
.field__error { font-size: .8125rem; color: #C0332B; font-weight: 500; }

.checkbox { display: flex; align-items: flex-start; gap: .7rem; }
.checkbox input {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: .18rem;
  accent-color: var(--blue-500); cursor: pointer;
}
.checkbox label { font-size: .875rem; font-weight: 400; color: var(--g-600); line-height: 1.55; }

.form-note { font-size: .8125rem; color: var(--muted); }

.alert {
  padding: var(--s4) var(--s5); border-radius: var(--radius-sm);
  font-size: .9375rem; border-left: 3px solid;
}
.alert--error { background: #FDF3F2; border-color: #C0332B; color: #8A241E; }
.alert--success { background: #EFF7F1; border-color: #2E7D4F; color: #1F5636; }

/* Bloc formulaire compact posé sur fond sombre */
.form-panel {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); box-shadow: var(--shadow-md);
}
.form-panel h3 { margin-bottom: var(--s2); }
.form-panel .form { margin-top: var(--s5); }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { padding-block: var(--s5) 0; }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  list-style: none; padding: 0; margin: 0; font-size: .8125rem; color: var(--muted);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-text); text-decoration: underline; }
.breadcrumb li + li::before { content: '/'; margin-right: .45rem; color: var(--g-300); }
.breadcrumb [aria-current] { color: var(--g-700); }

/* ---------- Page de service ---------- */
.page-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(2rem, 1.5rem + 3vw, 3.5rem); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 60ch; }

.stat-row { display: grid; gap: var(--s5); margin-top: var(--s7); }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }
.stat { border-left: 2px solid var(--blue-300); padding-left: var(--s4); }
.stat__label { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1rem; display: block; margin-bottom: .2rem; }
.stat__text { font-size: .875rem; color: var(--muted); }

/* ---------- Article ---------- */
.article-layout { display: grid; gap: var(--s8); }
@media (min-width: 1020px) { .article-layout { grid-template-columns: minmax(0,1fr) 280px; align-items: start; } }

.prose { max-width: 72ch; font-size: 1.075rem; }
.prose h2 { margin-top: var(--s8); margin-bottom: var(--s4); font-size: clamp(1.5rem, 1.2rem + 1.1vw, 1.95rem); scroll-margin-top: 96px; }
.prose h3 { margin-top: var(--s6); margin-bottom: var(--s3); scroll-margin-top: 96px; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin-bottom: var(--s5); }
.prose li { margin-bottom: .5rem; }
.prose blockquote {
  margin: var(--s6) 0; padding: var(--s5) var(--s6);
  border-left: 3px solid var(--accent); background: var(--blue-050);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose blockquote p { margin: 0; font-size: 1.05rem; color: var(--g-800); }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); }
.table-scroll { overflow-x: auto; margin-bottom: var(--s5); }
.prose table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-display); font-weight: 600; color: var(--ink); background: var(--g-050); }

.toc { position: sticky; top: 96px; font-size: .875rem; }
.toc__title {
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: var(--s3);
}
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc li { margin: 0; }
.toc a {
  display: block; padding: .4rem 0 .4rem .9rem; margin-left: -1px;
  border-left: 1px solid transparent; color: var(--g-600);
  text-decoration: none; line-height: 1.45;
}
.toc a:hover { color: var(--accent-text); }
.toc a.is-active { color: var(--accent-text); border-left-color: var(--accent); font-weight: 500; }
.toc .lvl-3 a { padding-left: 1.7rem; font-size: .8125rem; }
@media (max-width: 1019px) { .toc { position: static; margin-bottom: var(--s6); } }

.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  font-size: .875rem; color: var(--muted); margin-bottom: var(--s5);
}
.tag {
  display: inline-flex; padding: .25rem .7rem; border-radius: 100px;
  background: var(--blue-050); color: var(--accent-text);
  font-size: .75rem; font-weight: 600; text-decoration: none;
  font-family: var(--font-display); letter-spacing: .01em;
}
.tag:hover { background: var(--blue-100); color: var(--blue-700); }

/* Carte d'article */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card__cat { margin-bottom: var(--s3); }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: var(--s3); }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-text); }
.post-card p { font-size: .9375rem; color: var(--g-600); }
.post-card__meta { margin-top: auto; padding-top: var(--s4); font-size: .8125rem; color: var(--muted); }

/* ---------- Tableau comparatif de parcours ---------- */
.levels { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .levels { grid-template-columns: repeat(3, 1fr); } }
.level { position: relative; }
.level--featured { border-color: var(--g-950); box-shadow: var(--shadow-md); }
.level__badge {
  position: absolute; top: -11px; left: clamp(1.5rem, 1rem + 1.4vw, 2.1rem);
  background: var(--g-950); color: #fff; font-family: var(--font-display);
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 100px;
}
.level__num {
  font-family: var(--font-display); font-size: .75rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-text); margin-bottom: .5rem;
}

/* ---------- Logos et éléments de confiance ---------- */
.trust-row {
  display: flex; flex-wrap: wrap; gap: var(--s5) var(--s7);
  align-items: center; justify-content: center;
}
.trust-item {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: var(--g-600); font-weight: 500;
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

.placeholder-slot {
  border: 1px dashed var(--g-300); border-radius: var(--radius);
  padding: var(--s6); text-align: center; color: var(--muted); font-size: .9375rem;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, var(--g-050) 10px, var(--g-050) 20px);
}

/* ---------- Pied de page ---------- */
.footer { background: var(--g-950); color: var(--g-400); padding-block: var(--s9) var(--s6); }
.footer h2, .footer h3 { color: #fff; }
.footer a { color: var(--g-400); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s8); } }
.footer__brand .logo__text { color: #fff; }
.footer__desc { font-size: .9375rem; line-height: 1.6; margin-top: var(--s4); max-width: 42ch; }
.footer__col-title {
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--g-500); margin-bottom: var(--s4);
}
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: .6rem; font-size: .9375rem; }
.footer__bottom {
  margin-top: var(--s8); padding-top: var(--s5);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: var(--s4) var(--s5);
  align-items: center; justify-content: space-between; font-size: .8125rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s4); }
.footer__social { display: flex; gap: .6rem; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.14);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.footer__social a:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.3); }
.footer .missing { color: var(--g-600); font-style: italic; }

/* ---------- Barre d'action mobile ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .7rem var(--s5) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex; gap: .6rem;
  transform: translateY(110%); transition: transform .25s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; }
@media (min-width: 760px) { .mobile-cta { display: none; } }
@media (max-width: 759px) { body { padding-bottom: 72px; } }

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
  position: fixed; left: var(--s4); right: var(--s4); bottom: var(--s4); z-index: 120;
  max-width: 560px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: var(--s5) var(--s6);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.cookie-banner.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 759px) { .cookie-banner { bottom: 76px; } }
/* Sur grand écran, le bandeau est ancré à droite : les appels à l'action
   de la section d'ouverture, alignés à gauche, restent accessibles. */
@media (min-width: 760px) { .cookie-banner { left: auto; right: var(--s5); bottom: var(--s5); } }
.cookie-banner h3 { font-size: 1rem; margin-bottom: var(--s2); }
.cookie-banner p { font-size: .875rem; color: var(--g-600); margin-bottom: var(--s4); }
.cookie-banner .btn-row { gap: .5rem; }

/* ---------- Schémas ---------- */
.diagram { width: 100%; height: auto; display: block; }
/* Les polices des schémas sont imposées ici plutôt que par attribut :
   une règle CSS l'emporte sur un attribut de présentation, ce qui garantit
   un rendu identique sur tous les navigateurs. */
.diagram text { font-family: var(--font-body); }
.diagram text[font-weight="600"], .diagram text[font-weight="700"] { font-family: var(--font-display); }
.diagram-frame {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1rem, .5rem + 1.5vw, 1.75rem);
  box-shadow: var(--shadow-md);
}
.section--dark .diagram-frame { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); box-shadow: none; }
.section--tinted .diagram-frame { box-shadow: var(--shadow-sm); }

/* ---------- Apparition au défilement ----------
   L'état masqué n'est appliqué que si JavaScript est actif : la classe « js »
   est posée sur <html> par un script en ligne. Sans JavaScript, tout le
   contenu reste visible — ce qui vaut aussi si le script échoue à se charger. */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Impression ---------- */
@media print {
  .header, .footer, .mobile-cta, .cookie-banner, .cta-band, .toc { display: none !important; }
  body { color: #000; }
  a::after { content: ' (' attr(href) ')'; font-size: .8em; }
}
