/*
 * MySkillz – feuille de style du site
 * Faite main, mobile d'abord. Aucune ressource externe : la police Inter est hébergée avec le site.
 * Palette du logo validé : anthracite #26262A, crème #F5F0EA, terracotta #A34B2C (graphismes)
 * et #8F462B (texte), pêche #F5B08C et #D7947A (sur fond sombre).
 */

/* ---------- Police ---------- */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff?v=ca0cbc2048") format("woff");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* Police de secours aux mêmes proportions : limite le décalage au chargement d'Inter */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}

/* ---------- Variables ---------- */

:root {
  --ink: #26262A;
  --ink-soft: #3B3B41;
  --muted: #5C5750;
  --logo-grey: #6B6660; /* logos des clients, tous du même gris (5,0:1 sur le crème, vérifié par build.py) */
  --cream: #F5F0EA;
  --paper: #FBF8F4;
  --white: #FFFFFF;
  --sand: #EEE6DC;
  --line: #DCD1C4;
  --line-soft: #E7DED3;
  --field-line: #8E8378;
  --terra: #A34B2C;
  --terra-text: #8F462B;
  --terra-tint: #F1E2D8;
  --terra-pale: #E6BBA5;
  --peach: #F5B08C;
  --peach-2: #D7947A;
  --dark-muted: #BDB6AD;
  --dark-line: #3E3E45;
  --error: #A1281E;
  --error-bg: #FDF1EE;

  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 1px 2px rgb(38 38 42 / .06);
  --shadow: 0 1px 2px rgb(38 38 42 / .05), 0 14px 36px -18px rgb(38 38 42 / .24);
  --shadow-lg: 0 2px 6px rgb(38 38 42 / .05), 0 34px 70px -30px rgb(38 38 42 / .38);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --section-y: clamp(72px, 9.5vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 1120px) {
  :root { --header-h: 80px; }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
/* :where() = aucune priorité : les classes des composants gardent leurs marges */
:where(ul[class], ol[class], .site-nav ul, .breadcrumb ol, .legal__toc ol) { list-style: none; margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; }
abbr[title] { text-decoration: none; }

a { color: var(--terra-text); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible,
.site-footer :focus-visible,
.cta-card :focus-visible,
.aside-card--dark :focus-visible { outline-color: var(--peach); }

::selection { background: var(--peach); color: var(--ink); }

main:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 100;
  padding: .8rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.nowrap { white-space: nowrap; }

.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Typographie ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.1rem;
  color: var(--terra-text);
  font-size: .8125rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.eyebrow--center { justify-content: center; }
.section--dark .eyebrow,
.cta-card .eyebrow { color: var(--peach-2); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; }
@media (min-width: 860px) {
  .section-head--center { text-align: center; }
  .section-head--center .eyebrow { justify-content: center; }
  .section-head--center .section-title,
  .section-head--center .section-intro { margin-inline: auto; }
}
.section-head--wide { max-width: 1080px; }
.showcase .section-head--wide { max-width: var(--container); } /* titre en une phrase sur deux lignes : la 1re ligne fait jusqu'à ~1 170 px */

.section-title {
  max-width: 24ch;
  font-size: clamp(1.875rem, 1.2rem + 2.4vw, 2.875rem);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.section-title--statement {
  max-width: 26ch;
  font-size: clamp(1.875rem, 1.1rem + 2.7vw, 3.125rem);
  line-height: 1.08;
}
.section-title--lines { max-width: none; }
.section-title--lines .line { display: block; }
.section-title--lines .line--accent { color: var(--terra-text); }

.section-intro {
  max-width: 62ch;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
}
.section--dark .section-intro { color: var(--dark-muted); }

.note { margin-top: 1.5rem; color: var(--muted); font-size: .875rem; }
.note--strong { color: var(--ink); font-size: 1.0625rem; font-weight: 600; }

/* ---------- Boutons ---------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .75rem 1.35rem;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: -.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .icon-arrow-right { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary { --btn-bg: var(--terra); --btn-fg: var(--white); --btn-bd: var(--terra); box-shadow: 0 8px 20px -10px rgb(163 75 44 / .65); }
.btn--primary:hover { --btn-bg: var(--terra-text); --btn-bd: var(--terra-text); box-shadow: 0 10px 24px -10px rgb(143 70 43 / .7); }
.btn--secondary { --btn-bd: var(--ink); }
.btn--secondary:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); }
.btn--peach { --btn-bg: var(--peach); --btn-fg: var(--ink); --btn-bd: var(--peach); }
.btn--peach:hover { --btn-bg: #F8C4A8; --btn-bd: #F8C4A8; }

.btn--sm { min-height: 42px; padding: .55rem 1.05rem; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.55rem; font-size: 1.0625rem; }
@media (max-width: 419px) {
  .btn--lg { padding-inline: 1rem; gap: .4rem; }
  .form__submit { font-size: 1rem; }
}

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }

@media (max-width: 479px) {
  .btn-row .btn { width: 100%; }
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgb(245 240 234 / .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled,
.menu-open .site-header {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px -24px rgb(38 38 42 / .45);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: var(--header-h);
}

.site-header__logo {
  flex: none;
  margin-right: auto;
  padding: 4px 0;
  border-radius: 6px;
}
.site-header__logo img { width: auto; height: 36px; }

.site-header__cta--bar { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .5rem 1rem .5rem .8rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 620;
  cursor: pointer;
}
.menu-toggle:hover { border-color: var(--ink); }
.menu-toggle .icon { width: 20px; height: 20px; }
.menu-toggle .icon-shut { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-shut { display: block; }
.no-js .menu-toggle { display: none; }

.lang__list { display: flex; gap: .25rem; }
.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 0 .7rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 680;
  letter-spacing: .08em;
  text-decoration: none;
}
.lang a:hover { color: var(--ink); border-color: var(--line); }
.lang a[aria-current] { border-color: var(--line); background: var(--paper); color: var(--ink); }

@media (min-width: 600px) and (max-width: 1119px) {
  .site-header__cta--bar { display: inline-flex; }
  .site-header__cta--menu { display: none; }
}

@media (max-width: 1119px) {
  .site-header__bar { flex-wrap: wrap; }
  .site-menu { width: 100%; padding-bottom: 1rem; }
  .js .site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .25rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
    box-shadow: 0 30px 40px -30px rgb(38 38 42 / .4);
  }
  .js .site-menu:not(.is-open) { display: none; }
  .site-nav ul { display: flex; flex-direction: column; }
  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: .75rem 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink);
    font-size: 1.125rem;
    font-weight: 620;
    text-decoration: none;
  }
  .site-nav a[aria-current="page"],
  .site-nav a.is-active { color: var(--terra-text); }
  .site-menu__aside {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
  }
  html.menu-open { overflow: hidden; }
  .no-js .site-header { position: relative; }
  .no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: 0 1.25rem; }
  .no-js .site-nav a { min-height: 44px; border: 0; font-size: 1rem; }
}

@media (min-width: 1120px) {
  .site-header__logo img { height: 40px; }
  .menu-toggle { display: none; }
  .site-menu { display: flex; align-items: center; gap: 1.5rem; }
  .site-nav ul { display: flex; gap: .15rem; }
  .site-nav a {
    position: relative;
    display: block;
    padding: .55rem .7rem;
    border-radius: 8px;
    color: var(--ink);
    font-size: .9375rem;
    font-weight: 560;
    text-decoration: none;
  }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: .7rem;
    right: .7rem;
    bottom: .3rem;
    height: 2px;
    border-radius: 2px;
    background: var(--terra);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .site-nav a:hover::after,
  .site-nav a.is-active::after,
  .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-menu__aside { display: flex; align-items: center; gap: .75rem; }
}
/* En-tête de bureau : liens et bouton sur une ligne (libellés NL plus longs), espacements resserrés juste au-dessus de 1120 px. */
@media (min-width: 1120px) {
  .site-nav a, .site-header__cta { white-space: nowrap; }
}
@media (min-width: 1120px) and (max-width: 1239px) {
  .site-nav ul { gap: 0; }
  .site-nav a { padding-inline: .45rem; }
  .site-nav a::after { left: .45rem; right: .45rem; }
  .site-menu { gap: .75rem; }
  .site-menu__aside { gap: .5rem; }
}

/* ---------- Sections ---------- */

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 6vw, 80px) var(--section-y); }
.page-hero + .section--tight { padding-top: clamp(8px, 2vw, 24px); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--cream); }

.card {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.card__title {
  margin-bottom: .55rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.card p { color: var(--muted); font-size: 1rem; }

.icon-badge {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--terra-tint);
  color: var(--terra);
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--light { background: var(--paper); }

.cards { display: grid; gap: 1.25rem; }
@media (min-width: 860px) {
  .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}

/* ---------- Accueil : héros ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6.5vw, 96px) clamp(64px, 8vw, 112px);
}
.hero__print {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -22%;
  width: clamp(440px, 58vw, 820px);
  opacity: .075;
  transform: translateY(-46%);
  pointer-events: none;
  user-select: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(48px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); }
  .hero__print { right: -10%; }
}

.hero__title {
  max-width: 14ch;
  font-size: clamp(2.5rem, 1.35rem + 4.6vw, 4.5rem);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.hero__lead {
  max-width: 54ch;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.02rem + .45vw, 1.3125rem);
  line-height: 1.55;
}
.hero__actions { margin-top: 2.25rem; }
.hero__note { max-width: 54ch; margin-top: 1rem; color: var(--muted); font-size: .9375rem; }

.facts {
  max-width: 600px;
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.facts__label {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.facts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.facts__list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .9375rem; font-weight: 560; line-height: 1.4; }
.facts__list .icon { width: 22px; height: 22px; margin-top: -1px; color: var(--terra); }
@media (max-width: 479px) {
  .facts__list { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
}
@media (max-width: 999px) {
  .hero__print { top: auto; bottom: -140px; opacity: .045; transform: none; }
}

/* Maquette d'écran de quiz (illustration, sans vraie question) */
.quiz {
  position: relative;
  display: block;
  width: 100%;
  max-width: 470px;
  margin-inline: auto;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.quiz::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18px -10px -12px 18px;
  border-radius: inherit;
  background: var(--terra-pale);
}
.quiz span { display: block; }
.quiz__top { display: flex !important; align-items: center; justify-content: space-between; gap: 1rem; }
.quiz__progress { color: var(--muted); font-size: .8125rem; font-weight: 680; letter-spacing: .04em; }
.quiz__timer { display: flex !important; align-items: center; gap: .65rem; text-align: left; }
.quiz__ring { width: 44px; height: 44px; }
.quiz__ring-track { stroke: var(--line-soft); }
.quiz__ring-value { stroke: var(--terra); }
.quiz__timer-value { font-size: 1.0625rem; font-weight: 720; line-height: 1.1; font-variant-numeric: tabular-nums; }
.quiz__timer-label { color: var(--muted); font-size: .75rem; line-height: 1.2; }
.quiz__bar { height: 6px; margin-top: 1.1rem; overflow: hidden; border-radius: 99px; background: var(--line-soft); }
.quiz__bar > span { width: 35%; height: 100%; border-radius: inherit; background: var(--terra); transform-origin: left; }
.quiz__category { margin-top: 1.4rem; color: var(--terra-text); font-size: .75rem; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; }
.quiz__question { margin-top: .45rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); font-weight: 700; line-height: 1.35; letter-spacing: -.012em; }
.quiz__answers { display: grid !important; gap: .55rem; margin-top: 1.25rem; }
.quiz__answer {
  display: flex !important;
  align-items: center;
  gap: .85rem;
  padding: .65rem .85rem;
  border: 1.5px solid var(--line-soft);
  border-radius: 14px;
  background: var(--white);
}
.quiz__answer-text { font-size: .9375rem; font-weight: 560; font-variant-numeric: tabular-nums; }
.quiz__answer.is-selected { border-color: var(--terra); background: var(--terra-tint); }
.quiz__answer.is-selected .quiz__answer-text { color: var(--ink); font-weight: 680; }
.quiz__letter {
  display: grid !important;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--sand);
  font-size: .8125rem;
  font-weight: 720;
}
.is-selected .quiz__letter { background: var(--terra); color: var(--white); }
.quiz__check { margin-left: auto; color: var(--terra); }
.quiz__check .icon { width: 20px; height: 20px; }
.quiz__foot {
  display: grid !important;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
}
.quiz__label { margin-bottom: .45rem; color: var(--muted); font-size: .6875rem; font-weight: 680; letter-spacing: .12em; text-transform: uppercase; }
.quiz__score { display: flex !important; align-items: center; gap: .85rem; }
.quiz__score .quiz__label { margin-bottom: 0; }
.quiz__meter { flex: 1; height: 8px; overflow: hidden; border-radius: 99px; background: var(--line-soft); }
.quiz__points { font-size: .9375rem; font-weight: 720; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quiz__meter > span { width: 72%; height: 100%; border-radius: inherit; background: var(--peach-2); transform-origin: left; }

@media (min-width: 640px) {
  .quiz::before { inset: 26px -18px -18px 26px; }
}
.hero__visual { padding-right: 10px; }
@media (min-width: 640px) {
  .hero__visual { padding-right: 18px; }
}

/* Sur mobile : version compacte (deux réponses), pour ne pas repousser la suite de la page */
@media (max-width: 599px) {
  .quiz__answer:nth-child(n+3) { display: none !important; }
}

/* ---------- Bandeau de confiance (logos des clients) ---------- */

/* Logos : fichiers SVG séparés affichés en masque (la CSP interdit les styles en ligne) et teintés d'un seul gris.
   Chaque .client-logo--<logo> (généré par build.py, plus bas) donne --logo-h et --logo-w (px à 1440 px de large) ;
   --logo-scale réduit logos et espaces sur petit écran. Libellé au-dessus des logos ; bandeau centré, aligné à gauche
   dès 1280 px. Rangées réglées pour --trust-logos logos (7 ; build.py vérifie que le contenu en a autant), jamais un
   logo seul sur sa rangée : une rangée de 7 dès 1120 px, 3 + 4 de 480 à 1119 px, 2 + 2 + 3 en dessous. Avec les
   hauteurs de tailles.json, la rangée la plus longue mesure 1003 px dès 1120 px (1040 px disponibles), 518 px dès
   768 px (707), 415 px dès 480 px (442), 283 px puis 259 px sous 360 px (288 px disponibles à 320 px).
   Retours à la ligne : ::before et ::after de la liste (flex-basis 100 %, placés par order, l'ordre des logos ne
   change pas). L'écart entre rangées vient donc du padding des <li> (un row-gap s'ajouterait de part et d'autre de
   ces lignes vides), compensé en haut et en bas par la marge négative de la liste. */
.trust { padding-block: 28px; border-block: 1px solid var(--line); }
.trust__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; text-align: center; }
.trust__label { flex-basis: 100%; color: var(--muted); font-size: .8125rem; font-weight: 650; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; text-wrap: balance; }
.trust__list {
  --trust-logos: 7; /* nombre de logos pour lequel les rangées sont réglées (comparé au contenu par build.py) */
  --logo-scale: 1;
  --logo-row-gap: 20px;
  display: flex;
  flex-wrap: wrap;
  flex-basis: 100%;
  align-items: center;
  justify-content: center;
  gap: 0 calc(40px * var(--logo-scale));
  margin-block: calc(var(--logo-row-gap) / -2);
}
.trust__list > li { flex: none; padding-block: calc(var(--logo-row-gap) / 2); }

.client-logo {
  display: block;
  width: calc(var(--logo-w) * var(--logo-scale, 1));
  height: calc(var(--logo-h) * var(--logo-scale, 1));
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
/* la couleur seulement là où le masque existe : jamais de rectangle gris */
@supports (mask-image: none) or (-webkit-mask-image: none) {
  .client-logo { background-color: var(--logo-grey); }
  @media (prefers-contrast: more) {
    .client-logo { background-color: var(--ink); }
  }
  /* contraste élevé (Windows) : le fond serait remplacé par la couleur du fond, le logo disparaîtrait */
  @media (forced-colors: active) {
    .client-logo { forced-color-adjust: none; background-color: CanvasText; }
  }
}

/* Généré par build.py (load_client_logos) : hauteur = src/assets/clients/tailles.json, largeur = hauteur × rapport du viewBox */
.client-logo--bnp-paribas-fortis { --logo-h: 29px; --logo-w: 140.43px; -webkit-mask-image: url("../clients/bnp-paribas-fortis.svg?v=9421b217e3"); mask-image: url("../clients/bnp-paribas-fortis.svg?v=9421b217e3"); }
.client-logo--spf-finances { --logo-h: 42px; --logo-w: 129.19px; -webkit-mask-image: url("../clients/spf-finances.svg?v=acc18b14da"); mask-image: url("../clients/spf-finances.svg?v=acc18b14da"); }
.client-logo--partena-professional { --logo-h: 30px; --logo-w: 94.91px; -webkit-mask-image: url("../clients/partena-professional.svg?v=43c7fdf615"); mask-image: url("../clients/partena-professional.svg?v=43c7fdf615"); }
.client-logo--chr-liege { --logo-h: 32px; --logo-w: 124.84px; -webkit-mask-image: url("../clients/chr-liege.svg?v=115db13148"); mask-image: url("../clients/chr-liege.svg?v=115db13148"); }
.client-logo--gza-ziekenhuizen { --logo-h: 36px; --logo-w: 76.81px; -webkit-mask-image: url("../clients/gza-ziekenhuizen.svg?v=d0495939a0"); mask-image: url("../clients/gza-ziekenhuizen.svg?v=d0495939a0"); }
.client-logo--gohr { --logo-h: 30px; --logo-w: 77.21px; -webkit-mask-image: url("../clients/gohr.svg?v=6065696e1f"); mask-image: url("../clients/gohr.svg?v=6065696e1f"); }
.client-logo--ulb { --logo-h: 36px; --logo-w: 119.47px; -webkit-mask-image: url("../clients/ulb.svg?v=a135a922b1"); mask-image: url("../clients/ulb.svg?v=a135a922b1"); }

/* 1120 px et plus : une rangée de 7 ; alignée à gauche, comme le contenu de la page, dès 1280 px */
@media (min-width: 1280px) {
  .trust__inner { text-align: start; }
  .trust__list { justify-content: flex-start; }
}
/* 480 à 1119 px : trois logos, puis quatre (rangées centrées) */
@media (max-width: 1119px) {
  .trust__list > li:nth-child(n+4) { order: 2; }
  .trust__list::after { content: ""; flex-basis: 100%; order: 1; }
}
@media (max-width: 767px) {
  .trust__list { --logo-scale: .8; }
}
@media (max-width: 639px) {
  .trust { padding-block: 24px; }
  .trust__inner { row-gap: 16px; }
  .trust__list { --logo-row-gap: 16px; }
}
/* moins de 480 px : deux logos, deux, puis trois (rangées centrées) */
@media (max-width: 479px) {
  .trust__list > li:nth-child(n+3) { order: 2; }
  .trust__list > li:nth-child(n+5) { order: 4; }
  .trust__list::before { content: ""; flex-basis: 100%; order: 1; }
  .trust__list::after { order: 3; }
}
@media (max-width: 359px) {
  .trust__list { column-gap: 20px; }
}

/* ---------- Constat (fond sombre) ---------- */

.split { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: end; }
}
.constat .section-title { max-width: 17ch; }
.constat__text p { color: var(--dark-muted); font-size: 1.125rem; }
.constat__text p + p { margin-top: 1rem; }

.stats { display: grid; margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--dark-line); }
.stat { padding: 1.75rem 0; border-bottom: 1px solid var(--dark-line); }
.stat > span { display: block; }
.stat__value {
  color: var(--peach);
  font-size: clamp(3.5rem, 2.3rem + 4.6vw, 6.25rem);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -.045em;
}
.stat__label { max-width: 24ch; margin-top: .75rem; color: var(--cream); font-size: 1.0625rem; font-weight: 560; line-height: 1.4; }
.stat__source { margin-top: .5rem; color: var(--dark-muted); font-size: .8125rem; }
@media (max-width: 719px) {
  .stats--3 .stat { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.25rem; align-items: baseline; padding: 1.25rem 0; }
  .stats--3 .stat__value { grid-row: span 2; font-size: 3rem; }
  .stats--3 .stat__label { margin-top: 0; }
}
@media (min-width: 720px) {
  .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats--3 .stat { padding: 2.25rem 2rem 0 0; border-bottom: 0; }
  .stats--3 .stat + .stat { padding-left: 2rem; border-left: 1px solid var(--dark-line); }
}
.sources { margin-top: 2.5rem; color: var(--dark-muted); font-size: .8125rem; }

/* ---------- Concept ---------- */

.points { display: grid; gap: 1rem; max-width: 980px; margin-inline: auto; }
@media (min-width: 760px) {
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
.point {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--sand);
}
.point__title { margin-bottom: .35rem; font-size: 1.1875rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.point p { color: var(--muted); }
@media (min-width: 520px) {
  .point { flex-direction: row; align-items: flex-start; gap: 1.25rem; }
}

/* ---------- En pratique : frise des 17 semaines ---------- */

.timeline {
  padding: clamp(20px, 3.5vw, 40px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.timeline__track { margin-bottom: clamp(24px, 3vw, 36px); }
.timeline__weeks,
.timeline__bars { display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 3px; }
.timeline__weeks li {
  color: var(--muted);
  font-size: .6875rem;
  font-weight: 620;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.timeline__bars { position: relative; align-items: center; height: 18px; margin-top: .5rem; }
.timeline__bars::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  margin-top: -1px;
  background: var(--line);
}
.timeline__bar { position: relative; height: 14px; border-radius: 99px; }
.timeline__bar--1 { background: var(--terra-pale); }
.timeline__bar--2 { background: var(--terra); }
.timeline__bar--dot { justify-self: center; width: 14px; background: var(--ink); box-shadow: 0 0 0 3px var(--paper); }
.timeline__bars [data-start="1"] { grid-column-start: 1; }
.timeline__bars [data-start="2"] { grid-column-start: 2; }
.timeline__bars [data-start="3"] { grid-column-start: 3; }
.timeline__bars [data-start="4"] { grid-column-start: 4; }
.timeline__bars [data-start="5"] { grid-column-start: 5; }
.timeline__bars [data-start="6"] { grid-column-start: 6; }
.timeline__bars [data-start="7"] { grid-column-start: 7; }
.timeline__bars [data-start="8"] { grid-column-start: 8; }
.timeline__bars [data-start="9"] { grid-column-start: 9; }
.timeline__bars [data-start="10"] { grid-column-start: 10; }
.timeline__bars [data-start="11"] { grid-column-start: 11; }
.timeline__bars [data-start="12"] { grid-column-start: 12; }
.timeline__bars [data-start="13"] { grid-column-start: 13; }
.timeline__bars [data-start="14"] { grid-column-start: 14; }
.timeline__bars [data-start="15"] { grid-column-start: 15; }
.timeline__bars [data-start="16"] { grid-column-start: 16; }
.timeline__bars [data-start="17"] { grid-column-start: 17; }
.timeline__bars [data-span="1"] { grid-column-end: span 1; }
.timeline__bars [data-span="2"] { grid-column-end: span 2; }
.timeline__bars [data-span="3"] { grid-column-end: span 3; }
.timeline__bars [data-span="4"] { grid-column-end: span 4; }
.timeline__bars [data-span="5"] { grid-column-end: span 5; }
.timeline__bars [data-span="6"] { grid-column-end: span 6; }
.timeline__bars [data-span="7"] { grid-column-end: span 7; }
.timeline__bars [data-span="8"] { grid-column-end: span 8; }

.timeline__list { display: grid; }
.tl-item { position: relative; padding: 0 0 1.6rem 2.1rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  top: .3rem;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 99px;
  background: var(--ink);
}
.tl-item::after {
  content: "";
  position: absolute;
  top: 1.45rem;
  bottom: .1rem;
  left: 6px;
  width: 2px;
  background: var(--line);
}
.tl-item:last-child::after { display: none; }
.tl-item--1::before { background: var(--terra-pale); height: 26px; }
.tl-item--2::before { background: var(--terra); height: 26px; }
.tl-item--1::after,
.tl-item--2::after { top: 2.2rem; }
.tl-item__weeks {
  display: block;
  margin-bottom: .2rem;
  color: var(--terra-text);
  font-size: .75rem;
  font-weight: 720;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tl-item__title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.tl-item p { margin-top: .2rem; color: var(--muted); font-size: .9375rem; line-height: 1.5; }

/* Mobile : la règle des 17 semaines serait illisible, la liste verticale suffit */
@media (max-width: 599px) {
  .timeline__track { display: none; }
}

/* Ordinateur : la légende suit les 17 colonnes de la règle (S1–S6, S7–S12, puis S13 à S17) */
@media (min-width: 900px) {
  .timeline__list { grid-template-columns: repeat(17, minmax(0, 1fr)); column-gap: 3px; row-gap: 1.1rem; }
  .tl-item { padding: 1.1rem 1.5rem 0 0; }
  .tl-item--1 { grid-column: 1 / span 6; grid-row: 1 / span 3; }
  .tl-item--2 { grid-column: 7 / span 6; grid-row: 1 / span 3; }
  /* le point de chaque jalon tombe sous le centre de la colonne S13 de la règle */
  .tl-item--3, .tl-item--4, .tl-item--5 { grid-column: 13 / span 5; padding: 0 0 0 calc((100% - 12px) / 10 + 16px); }
  .tl-item--1::before, .tl-item--2::before { top: 0; width: 100%; height: 4px !important; }
  .tl-item::after { display: none; }
  .tl-item--3::before, .tl-item--4::before, .tl-item--5::before { top: .2rem; left: calc((100% - 12px) / 10 - 7px); width: 14px; height: 14px; }
  .tl-item--3 .tl-item__title, .tl-item--4 .tl-item__title, .tl-item--5 .tl-item__title { display: inline; }
  .tl-item--3 .tl-item__weeks, .tl-item--4 .tl-item__weeks, .tl-item--5 .tl-item__weeks { display: inline; margin: 0 .5rem 0 0; }
}

/* Votre part : un seul bloc (la promesse, puis les 3 points à valider) */
.deal {
  display: grid;
  gap: 1.5rem 3rem;
  margin-top: 1.25rem;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--cream);
}
@media (min-width: 900px) {
  .deal { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
}
.deal__lead {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem);
  font-weight: 680;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.deal__lead .icon { width: 36px; height: 36px; margin-top: .1rem; color: var(--peach); }
.deal__title { margin-bottom: .4rem; color: var(--peach-2); font-size: .8125rem; font-weight: 680; letter-spacing: .12em; text-transform: uppercase; }
.deal .checklist .icon { color: var(--peach); }
@media (min-width: 900px) {
  .deal__part { padding-left: 3rem; border-left: 1px solid var(--dark-line); }
}
.checklist li { display: flex; align-items: flex-start; gap: .7rem; padding: .45rem 0; font-weight: 560; }
.checklist .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--terra); }

/* ---------- Résultats ---------- */

.benefit { position: relative; display: flex; flex-direction: column; }
.benefit .icon-badge { margin-bottom: 1.5rem; }
.benefit__num {
  position: absolute;
  top: clamp(24px, 3vw, 32px);
  right: clamp(24px, 3vw, 32px);
  color: var(--terra-text);
  font-size: .8125rem;
  font-weight: 720;
  letter-spacing: .1em;
}

/* ---------- Vitrine : avant, pendant, après ---------- */

.phases { position: relative; display: grid; gap: 2rem; }
.phase { position: relative; padding-left: 4.5rem; }
.phase__icon {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--terra);
  color: var(--white);
  box-shadow: 0 0 0 8px var(--sand);
}
.phase__title { font-size: 1.5rem; font-weight: 760; line-height: 1.2; letter-spacing: -.02em; }
.phase p { max-width: 34ch; margin-top: .45rem; color: var(--muted); }
.phase:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 64px;
  bottom: -1.5rem;
  left: 27px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--terra-pale) 0 6px, transparent 6px 12px);
}
@media (min-width: 860px) {
  .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .phase { padding-left: 0; padding-top: 5rem; }
  .phase:not(:last-child)::before { display: none; }
  .phases::before {
    content: "";
    position: absolute;
    top: 27px;
    bottom: auto;
    left: 28px;
    right: calc(33.333% - 2.5rem * 2 / 3 - 28px); /* s'arrête au dernier pictogramme */
    width: auto;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--terra-pale) 0 8px, transparent 8px 16px);
  }
}

/* ---------- Pourquoi ça marche ---------- */

.why__grid { display: grid; gap: 2.75rem; }
@media (min-width: 960px) {
  .why__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 5rem; align-items: center; }
}
.why__list { display: grid; gap: .75rem; }
.why__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  font-weight: 620;
}
.why__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--terra-tint);
  color: var(--terra);
}

/* ---------- Références (fond sombre) ---------- */

.refs__grid { display: grid; gap: 3rem; }
@media (min-width: 960px) {
  .refs__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; align-items: start; }
}
.stats--compact { margin-top: 2.5rem; }
.stats--compact .stat {
  display: grid;
  grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.1rem 0;
}
.stats--compact .stat__value { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); }
.stats--compact .stat__label { max-width: none; margin-top: 0; font-size: 1rem; }
@media (min-width: 560px) {
  .stats--compact .stat { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); }
}

.refs__table {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-xl);
  background: rgb(255 255 255 / .03);
}
.ref-table { width: 100%; }
.ref-table caption {
  padding-bottom: 1rem;
  color: var(--peach-2);
  font-size: .8125rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-align: left;
  text-transform: uppercase;
}
.ref-table thead th {
  padding: .6rem 0;
  border-bottom: 1px solid var(--dark-line);
  color: var(--dark-muted);
  font-size: .8125rem;
  font-weight: 600;
  text-align: left;
}
.ref-table tbody th,
.ref-table td {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--dark-line);
  text-align: left;
  vertical-align: top;
}
.ref-table tbody tr:last-child > * { border-bottom: 0; padding-bottom: .25rem; }
.ref-table tbody th { padding-right: 1.25rem; color: var(--cream); font-size: 1.0625rem; font-weight: 650; line-height: 1.35; }
.ref-table td { color: var(--peach); font-weight: 520; line-height: 1.35; }
@media (min-width: 560px) {
  .ref-table tbody th { font-size: 1.125rem; }
}
@media (max-width: 559px) {
  .ref-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .ref-table tbody tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--dark-line); }
  .ref-table tbody tr:last-child { border-bottom: 0; padding-bottom: .25rem; }
  .ref-table tbody th,
  .ref-table td { display: block; padding: 0; border: 0; }
  .ref-table td { margin-top: .2rem; }
}

/* ---------- Métiers ---------- */

.jobs__grid { display: grid; gap: .75rem; }
.job {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.job__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--terra-tint);
  color: var(--terra);
}
.job__title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.job p { margin-top: .25rem; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.job--custom { position: relative; border-color: var(--terra); background: var(--terra); color: var(--white); }
.job--custom p { color: rgb(255 255 255 / .9); }
.job--custom .job__icon { background: rgb(255 255 255 / .16); color: var(--white); }
.job__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .75rem;
  color: var(--white);
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / .5);
}
.job__cta:hover { text-decoration-color: var(--white); }
.job__cta .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.job__cta:hover .icon { transform: translateX(3px); }
.job__cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job--custom:hover .job__cta { text-decoration-color: var(--white); }
.job--custom :focus-visible { outline-color: var(--white); }

@media (min-width: 560px) {
  .jobs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 1000px) {
  .jobs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .job { flex-direction: column; gap: 1.25rem; padding: 1.5rem; }
  .job--custom:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
}

/* ---------- Tableau comparatif ---------- */

.compare-wrap {
  padding: .5rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.compare { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare th,
.compare td {
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}
.compare thead th {
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 680;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.compare tbody th { font-weight: 680; }
.compare td { color: var(--muted); }
.compare td > span { vertical-align: middle; }
.compare .is-us { background: var(--terra-tint); color: var(--ink); font-weight: 680; }
.compare thead .is-us { border-radius: 20px 20px 0 0; background: var(--ink); color: var(--cream); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:last-child .is-us { border-radius: 0 0 20px 20px; }
.compare td .icon { display: inline-block; width: 20px; height: 20px; margin-right: .5rem; color: var(--terra); vertical-align: middle; }

@media (max-width: 899px) {
  .compare-wrap { padding: 0; border: 0; background: none; box-shadow: none; }
  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td { display: block; }
  .compare thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .compare tbody tr {
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--paper);
  }
  .compare tbody th { padding: 1.1rem 1.25rem .6rem; border: 0; font-size: 1.125rem; }
  .compare td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 1.25rem;
    border-top: 1px solid var(--line-soft);
    border-bottom: 0;
    text-align: right;
  }
  .compare td::before {
    content: attr(data-label);
    content: attr(data-label) / "";
    color: var(--muted);
    font-size: .875rem;
    font-weight: 500;
    text-align: left;
  }
  .compare td.is-us { border-radius: 0 !important; }
  .compare td.is-us::before { color: var(--terra-text); font-weight: 680; }
  .compare td .icon { display: none; }
}

/* ---------- Questions fréquentes ---------- */

.faq__grid { display: grid; gap: 1rem; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5rem; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.faq__cta { margin-top: 2rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__q { display: block; font-size: 1.125rem; font-weight: 650; line-height: 1.35; letter-spacing: -.01em; transition: color .2s var(--ease); }
.faq-item summary:hover .faq-item__q { color: var(--terra-text); }
.faq-item__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: var(--terra);
  transition: transform .3s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.faq-item__icon .icon { width: 18px; height: 18px; }
.faq-item[open] .faq-item__icon { border-color: var(--terra); background: var(--terra); color: var(--white); transform: rotate(45deg); }
.faq-item__a { max-width: 64ch; padding: 0 0 1.5rem; color: var(--muted); }
@media (min-width: 640px) {
  .faq-item__a { padding-right: 3.5rem; }
}
.faq-item__a > * + * { margin-top: .75rem; }
.faq-item__a ul { padding-left: 1.2rem; }
.faq-item__a li + li { margin-top: .3rem; }
.faq-item__a li::marker { color: var(--terra); }

/* ---------- Appel final et prochaines étapes ---------- */

.final-cta { padding-block: 0 var(--section-y); }
.cta-card {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(32px, 6vw, 80px);
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--cream);
}
@media (min-width: 900px) {
  .cta-card { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 3rem; }
}
.cta-card__print {
  position: absolute;
  z-index: -1;
  top: -270px;
  right: -260px;
  width: clamp(320px, 40vw, 540px);
  opacity: .06;
  pointer-events: none;
}
.cta-card__title {
  max-width: 14ch;
  font-size: clamp(2.125rem, 1.25rem + 3.4vw, 3.5rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -.034em;
  text-wrap: balance;
}
.cta-card__text p { max-width: 44ch; margin-top: 1.1rem; color: var(--dark-muted); font-size: 1.125rem; }
.cta-card__actions { display: grid; justify-items: start; gap: 1.1rem; }
.cta-card__alt { max-width: 40ch; color: var(--dark-muted); font-size: .9375rem; }
.cta-card__alt a { color: var(--peach); font-weight: 600; }

.cta-steps { padding-top: 2rem; border-top: 1px solid var(--dark-line); }
@media (min-width: 900px) {
  .cta-steps { grid-column: 1 / -1; }
}
.cta-steps__title { margin-bottom: 1.1rem; color: var(--peach-2); font-size: .8125rem; font-weight: 680; letter-spacing: .12em; text-transform: uppercase; }
.cta-steps__list { display: grid; gap: 1.1rem; }
@media (min-width: 900px) {
  .cta-steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}
.cta-steps__item { display: flex; align-items: flex-start; gap: .9rem; }
.cta-steps__num {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--peach);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 760;
}
.cta-steps__body { color: var(--dark-muted); font-size: .9375rem; line-height: 1.5; }
.cta-steps__name { display: block; color: var(--cream); font-size: 1.0625rem; font-weight: 700; }

/* ---------- Bouton d'action fixe (mobile, accueil) ---------- */

.mobile-cta[hidden] { display: none; }
@media (max-width: 599px) {
  .mobile-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    box-shadow: var(--shadow-lg), 0 8px 20px -10px rgb(163 75 44 / .65);
  }
  .menu-open .mobile-cta { display: none; }
  html.has-mobile-cta { scroll-padding-bottom: 96px; }
}
@media (min-width: 600px) {
  .mobile-cta { display: none !important; }
}

/* ---------- Pied de page ---------- */

.site-footer {
  padding-top: clamp(56px, 7vw, 88px);
  background: var(--ink);
  color: var(--dark-muted);
  font-size: .9375rem;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--peach); }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1060px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 3rem; }
}
.site-footer__logo { display: inline-block; border-radius: 6px; }
.site-footer__logo img { width: 248px; height: auto; }
.site-footer__brand p { max-width: 34ch; margin-top: 1.25rem; }
.site-footer__title {
  margin-bottom: 1.1rem;
  color: var(--peach-2);
  font-size: .8125rem;
  font-weight: 680;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-footer__list li + li { margin-top: .75rem; }
.contact-line { display: flex; align-items: center; gap: .65rem; }
.contact-line .icon { width: 18px; height: 18px; color: var(--peach); }
.site-footer__team li + li { margin-top: 1.1rem; }
.site-footer__name { display: block; color: var(--cream); font-weight: 620; }
.site-footer__role { display: block; font-size: .875rem; }
.site-footer__in { display: inline-flex; align-items: center; gap: .4rem; margin-top: .3rem; font-size: .875rem; }
.site-footer .site-footer__in { color: var(--peach); }
.site-footer__in .icon { width: 16px; height: 16px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 2rem;
  margin-top: clamp(48px, 6vw, 72px);
  padding-block: 1.5rem;
  border-top: 1px solid var(--dark-line);
  font-size: .8125rem;
}
.site-footer__top { display: inline-flex; align-items: center; gap: .4rem; margin-left: auto; }
.site-footer__top .icon { width: 16px; height: 16px; }
@media (max-width: 599px) {
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .site-footer__top { margin-left: 0; }
}

/* ---------- Pages intérieures ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(28px, 4vw, 56px) clamp(32px, 4vw, 56px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__print {
  position: absolute;
  z-index: 0;
  top: -60px;
  right: -140px;
  width: clamp(320px, 40vw, 560px);
  opacity: .07;
  pointer-events: none;
}
.page-hero__title {
  max-width: 18ch;
  font-size: clamp(2.25rem, 1.4rem + 3.3vw, 3.875rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -.034em;
  text-wrap: balance;
}
.page-hero__intro { max-width: 62ch; margin-top: 1.4rem; }
.page-hero__intro p { color: var(--muted); font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); }
.page-hero__intro p + p { margin-top: .75rem; }
.page-hero__intro p:first-child { color: var(--ink); font-weight: 560; }
.page-hero__meta { margin-top: 1rem; color: var(--muted); font-size: .9375rem; }
.contact-quick { margin-top: 1.5rem; }
@media (min-width: 1000px) {
  .contact-quick { display: none; }
}

.breadcrumb { margin-bottom: clamp(20px, 3vw, 32px); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; color: var(--muted); font-size: .875rem; }
.breadcrumb li + li::before { content: "/"; content: "/" / ""; margin-right: .4rem; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--terra-text); text-decoration: underline; }
.breadcrumb a[aria-current] { color: var(--ink); font-weight: 560; }

/* ---------- Contact ---------- */

.contact__grid { display: grid; gap: 1.5rem; }
@media (min-width: 1000px) {
  .contact__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
  .contact__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.form-card {
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.form-card__title,
.aside-card__title { font-size: 1.5rem; font-weight: 720; line-height: 1.2; letter-spacing: -.02em; }
.contact__aside { display: grid; gap: 1.25rem; }
.aside-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-xl); background: var(--sand); }
.aside-card > p { margin-top: .5rem; color: var(--muted); }
.aside-card--dark { background: var(--ink); color: var(--cream); }
.aside-card--dark > p { color: var(--dark-muted); }
.contact-list { margin-top: 1.25rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .9rem; padding: .9rem 0; border-top: 1px solid var(--dark-line); }
.contact-list .icon { margin-top: .35rem; color: var(--peach); }
.contact-list__label { display: block; color: var(--dark-muted); font-size: .75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.contact-list a { color: var(--cream); font-size: 1.0625rem; font-weight: 620; text-decoration-color: var(--peach); overflow-wrap: anywhere; }
.team { margin-top: 1rem; }
.team__member { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; }
.team__member + .team__member { border-top: 1px solid var(--line); }
.team__initials {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--terra);
  color: var(--white);
  font-weight: 720;
  letter-spacing: .02em;
}
.team__info > * { display: block; }
.team__name { font-weight: 680; }
.team__role { color: var(--muted); font-size: .9375rem; }
.team__in { display: inline-flex !important; align-items: center; gap: .35rem; margin-top: .2rem; font-size: .9375rem; font-weight: 600; }
.team__in .icon { width: 17px; height: 17px; }

/* Formulaire */
.form { margin-top: 1.25rem; }
.form__required { margin-bottom: 1.5rem; color: var(--muted); font-size: .875rem; }
.form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) {
  .form__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field--full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; }
.field__label { margin-bottom: .45rem; font-size: .9375rem; font-weight: 620; line-height: 1.35; }
.field__req { margin-left: .2rem; color: var(--terra-text); }
.field__opt { color: var(--muted); font-size: .875rem; font-weight: 400; }
.field__hint { margin: -.2rem 0 .5rem; color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.field__hint--after { margin: .45rem 0 0; }
.field__input {
  width: 100%;
  min-height: 50px;
  padding: .75rem 1rem;
  border: 1.5px solid var(--field-line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field__input::placeholder { color: #736A61; opacity: 1; }
.field__input:hover { border-color: var(--ink-soft); }
.field__input:focus { outline: 2px solid transparent; outline-offset: 2px; border-color: var(--terra); box-shadow: 0 0 0 1px var(--terra), 0 0 0 5px rgb(163 75 44 / .22); }
.field__input--area { min-height: 168px; resize: vertical; line-height: 1.55; }
.field__input[aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgb(161 40 30 / .18); }
.field-error {
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  margin-top: .45rem;
  color: var(--error);
  font-size: .875rem;
  font-weight: 580;
  line-height: 1.4;
}
.field-error[hidden] { display: none; }

.field--check { margin-top: 1.5rem; }
.check { display: flex; align-items: flex-start; gap: .85rem; }
.check__input {
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  border: 1.5px solid var(--field-line);
  border-radius: 7px;
  background: var(--white);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.check__input::before {
  content: "";
  width: 12px;
  height: 7px;
  margin-top: -3px;
  border-bottom: 2.5px solid var(--white);
  border-left: 2.5px solid var(--white);
  opacity: 0;
  transform: rotate(-45deg);
}
.check__input:checked { border-color: var(--terra); background: var(--terra); }
.check__input:checked::before { opacity: 1; }
.check__input:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }
.check__input[aria-invalid="true"] { border-color: var(--error); }
.check__label { font-size: .9375rem; line-height: 1.5; cursor: pointer; }

.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.form__submit { position: relative; }
.form__submit[disabled] { cursor: progress; opacity: .8; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgb(255 255 255 / .45); border-top-color: var(--white); border-radius: 50%; }
.is-sending .spinner { display: block; animation: spin .8s linear infinite; }
.is-sending .form__submit .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 479px) {
  .form__submit { width: 100%; }
}
.form__privacy { margin-top: 1rem; color: var(--muted); font-size: .8125rem; }

.form-summary {
  margin-bottom: 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1.5px solid var(--error);
  border-radius: 14px;
  background: var(--error-bg);
  color: var(--ink);
}
.form-summary[hidden] { display: none; }
.form-summary:focus { outline: 3px solid var(--error); outline-offset: 2px; }
.form-summary__title { color: var(--error); font-weight: 720; }
.form-summary p + p { margin-top: .25rem; font-size: .9375rem; }
.form-summary ul { margin-top: .6rem; padding-left: 1.2rem; font-size: .9375rem; }
.form-summary a { color: var(--error); font-weight: 600; }
/* Message qui n'est pas une erreur (demande enregistrée sur le serveur) : encadré neutre, texte anthracite sur la teinte */
.form-summary--info { border-color: var(--terra-text); background: var(--terra-tint); }
.form-summary--info:focus { outline-color: var(--terra-text); }
.form-summary--info .form-summary__title { color: var(--ink); }

/* ---------- Mentions légales ---------- */

.legal__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) {
  .legal__grid { grid-template-columns: 280px minmax(0, 1fr); gap: 4.5rem; align-items: start; }
  .legal__toc { position: sticky; top: calc(var(--header-h) + 24px); }
}
.legal__toc { padding: 1.5rem; border-radius: var(--radius-lg); background: var(--sand); }
.legal__toc-title { margin-bottom: .6rem; color: var(--muted); font-size: .8125rem; font-weight: 680; letter-spacing: .12em; text-transform: uppercase; }
.legal__toc a { display: block; padding: .35rem 0; color: var(--ink); font-size: .9375rem; text-decoration: none; }
.legal__toc a:hover { color: var(--terra-text); text-decoration: underline; }

.prose { max-width: 72ch; }
.prose h2 { margin: 3rem 0 .9rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); font-weight: 720; line-height: 1.2; letter-spacing: -.02em; }
.prose > section:first-child > h2 { margin-top: 0; }
.prose h3 { margin: 2rem 0 .5rem; font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; }
.prose p,
.prose ul,
.prose dl { margin-top: .85rem; color: #45413C; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: .3rem; }
.prose li::marker { color: var(--terra); }
.prose a { overflow-wrap: anywhere; }
.dl { border-top: 1px solid var(--line); }
.dl > div { display: grid; gap: .15rem 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.dl dt { color: var(--ink); font-weight: 620; }
.dl dd { color: var(--muted); overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .dl > div { grid-template-columns: 220px minmax(0, 1fr); }
}

/* ---------- Pages de statut (merci, 404) ---------- */

.status {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: min(78vh, 760px);
  padding-block: clamp(64px, 10vw, 140px);
  text-align: center;
}
.status__print {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(96vw, 700px);
  opacity: .05;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.status__inner { position: relative; z-index: 1; max-width: 720px; }
.status__badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--terra);
  color: var(--white);
  box-shadow: 0 0 0 10px var(--terra-tint);
}
.status__badge .icon { width: 30px; height: 30px; stroke-width: 2.25; }
.status__title {
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: -.034em;
  text-wrap: balance;
}
.status__text { max-width: 52ch; margin: 1rem auto 0; color: var(--muted); font-size: 1.125rem; }
.status .btn-row { margin-top: 2.25rem; }

/* ---------- Animations discrètes (seulement si le visiteur ne demande pas moins de mouvement) ---------- */

@media screen and (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
  }
  .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
  .reveal-ready .reveal-group > [data-reveal]:nth-child(2) { transition-delay: .08s; }
  .reveal-ready .reveal-group > [data-reveal]:nth-child(3) { transition-delay: .16s; }
  .reveal-ready .reveal-group > [data-reveal]:nth-child(4) { transition-delay: .24s; }
  .reveal-ready .reveal-group > [data-reveal]:nth-child(5) { transition-delay: .32s; }
  .reveal-ready .reveal-group > [data-reveal]:nth-child(6) { transition-delay: .4s; }
  .reveal-ready .reveal-group > [data-reveal]:nth-child(7) { transition-delay: .48s; }
  .reveal-ready .reveal-group > [data-reveal]:nth-child(8) { transition-delay: .56s; }

  .reveal-ready .quiz .quiz__bar > span,
  .reveal-ready .quiz .quiz__meter > span { transform: scaleX(0); transition: transform 1.4s .5s var(--ease); }
  .reveal-ready .quiz.is-visible .quiz__bar > span,
  .reveal-ready .quiz.is-visible .quiz__meter > span { transform: scaleX(1); }
  .reveal-ready .quiz .quiz__ring-value { stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s .4s var(--ease); }
  .reveal-ready .quiz.is-visible .quiz__ring-value { stroke-dashoffset: 44; }
}

/* ---------- Impression ---------- */

@media print {
  .site-header, .skip-link, .hero__print, .page-hero__print, .status__print, .cta-card__print, .site-footer__top, .form, .menu-toggle, .mobile-cta, .contact-quick { display: none !important; }
  body { background: #fff; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .section--dark, .site-footer, .cta-card, .aside-card--dark, .deal { background: #fff; color: #000; }
  .stat__value, .stat__label, .sources, .stat__source, .section--dark .section-intro, .constat__text p, .ref-table tbody th, .ref-table td,
  .cta-card__text p, .cta-card__alt, .cta-steps__body, .cta-steps__name, .site-footer a, .aside-card--dark > p, .contact-list a { color: #000; }
}
