/* ==========================================================================
   Apreneur Connect — feuille de style principale
   Implémentation du canvas Claude Design « Apreneur Connect.dc.html »
   Tokens repris à l'identique du design source.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Encres et fonds sombres */
  --ink:            #16181A;
  --ink-2:          #1E2124;
  --ink-3:          #22252A;
  --ink-4:          #2A2D31;
  --line-dark:      #2E3134;
  --line-dark-2:    #3A3D41;
  --line-dark-3:    #4A4E52;
  --line-lime-dark: #4A4E22;

  /* Papiers */
  --paper:          #F4F3EF;
  --paper-2:        #EAE8E1;
  --paper-3:        #F0EEE7;
  --paper-4:        #EDEBE4;
  --paper-5:        #EDEDEA;
  --canvas:         #DCDAD2;
  --white:          #FFFFFF;

  /* Filets */
  --line:           #E2E0D9;
  --line-2:         #DFDDD5;
  --line-3:         #D6D4CC;
  --line-4:         #C9C7BF;

  /* Accents */
  --lime:           #C7F02E;
  --lime-deep:      #8B9E1E;
  --lime-hover:     #5E6B12;
  --warm:           #F0431E;
  --warm-hover:     #D23714;

  /* Textes sur clair */
  --text:           #16181A;
  --text-2:         #3F4348;
  --text-3:         #4C5057;
  --text-4:         #5C6065;
  --text-5:         #5A5E65;
  --muted:          #6E7278;
  --muted-2:        #7A7E85;
  --muted-3:        #8B8F95;
  --muted-4:        #9A9EA4;

  /* Textes sur sombre */
  --on-dark:        #F4F3EF;
  --on-dark-2:      #D6D8DA;
  --on-dark-muted:  #9DA1A6;

  /* Typographie */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Public Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Rayons */
  --r-xl:   24px;
  --r-lg:   20px;
  --r-md:   18px;
  --r-sm:   16px;
  --r-xs:   14px;
  --r-2xs:  12px;
  --r-pill: 100px;

  /* Rythme */
  --gutter:      56px;
  --section-y:   80px;
  --maxw:        1440px;

  /* Ombres */
  --shadow-card: 0 2px 4px rgba(22, 24, 26, .06);
}

/* --------------------------------------------------------------------------
   2. Réinitialisation et base
   -------------------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

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

p, h1, h2, h3, h4, ul, ol, li, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

a {
  color: var(--text);
  text-decoration: none;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, opacity .16s ease;
}

a:hover { color: var(--lime-hover); }

img { max-width: 100%; display: block; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

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

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

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

/* --------------------------------------------------------------------------
   3. Utilitaires typographiques
   -------------------------------------------------------------------------- */

.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.7vw, 68px);
  line-height: .99;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.h1--sm { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; }

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.02;
  letter-spacing: -.03em;
}

.h2--sm { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; }

.h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.card-title--sm { font-size: 20px; }

.lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--text-4);
  text-wrap: pretty;
}

.muted     { color: var(--muted); }
.on-dark   { color: var(--on-dark); }
.on-dark-muted { color: var(--on-dark-muted); }

.mono-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.mono-label--wide { letter-spacing: .12em; }

/* --------------------------------------------------------------------------
   4. Structure
   -------------------------------------------------------------------------- */

.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--paper);
}

.shell--dark { background: var(--ink); }

.section {
  padding: var(--section-y) var(--gutter);
}

.section--tight   { padding-top: 44px; padding-bottom: 32px; }
.section--paper   { background: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
.section--ink     { background: var(--ink); }
.section--lime    { background: var(--lime); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.section-head p { max-width: 380px; color: var(--muted); }

/* --------------------------------------------------------------------------
   5. En-tête et navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header--dark {
  background: var(--ink);
  border-bottom-color: var(--line-dark);
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand__dot { color: var(--lime-deep); }

.site-header--dark .brand { color: var(--on-dark); }
.site-header--dark .brand:hover { color: var(--on-dark); }
.site-header--dark .brand__dot { color: var(--lime); }

.nav-pill {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--ink);
  padding: 6px;
  border-radius: var(--r-pill);
}

.site-header--dark .nav-pill { background: var(--ink-3); }

.nav-pill a {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--paper-5);
  padding: 11px 16px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.nav-pill a:hover { color: var(--lime); }

.nav-pill a.is-active {
  font-weight: 500;
  color: var(--ink);
  background: var(--lime);
  padding: 11px 18px;
}
.nav-pill a.is-active:hover { color: var(--ink); }

.header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.header-link {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.site-header--dark .header-link { color: var(--on-dark); }
.site-header--dark .header-link:hover { color: var(--lime); }

/* Bouton burger, visible en dessous du point de rupture */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-2xs);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span:last-child { width: 11px; }

.site-header--dark .nav-toggle { border-color: var(--line-dark-3); }
.site-header--dark .nav-toggle span { background: var(--on-dark); }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { width: 16px; transform: translateY(-6px) rotate(-45deg); }

/* Tiroir de navigation mobile */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .28s ease, visibility .28s;
}

.nav-drawer.is-open { transform: translateY(0); visibility: visible; }

.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.nav-drawer__close {
  color: var(--on-dark);
  font-size: 28px;
  line-height: 1;
  padding: 6px 12px;
  border: 1px solid var(--line-dark-2);
  border-radius: var(--r-2xs);
}

.nav-drawer a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.02em;
  color: var(--on-dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.nav-drawer a:hover { color: var(--lime); }
.nav-drawer a.is-active { color: var(--lime); }

.nav-drawer .btn { margin-top: 20px; font-size: 16px; }

body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   6. Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 19px 30px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.btn--sm { font-size: 14px; padding: 13px 20px; }
.btn--md { font-size: 15px; padding: 17px 26px; }
.btn--block { width: 100%; }

.btn--warm { background: var(--warm); color: #fff; }
.btn--warm:hover { background: var(--warm-hover); color: #fff; }

.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #B7E018; color: var(--ink); }

.btn--lime-outline {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--ink);
}
.btn--lime-outline:hover { background: #B7E018; color: var(--ink); }

.btn--ink { background: var(--ink); color: var(--lime); }
.btn--ink:hover { background: var(--ink-2); color: var(--lime); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--paper); }

.btn--outline-light {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--line-dark-3);
}
.btn--outline-light:hover { border-color: var(--lime); color: var(--lime); }

.btn--soft { background: var(--paper-3); color: var(--ink); }
.btn--soft:hover { background: var(--paper-2); color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); }

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: .45;
  pointer-events: none;
}

.link-arrow {
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   7. Badges, puces, avatars
   -------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--ink);
  background: var(--lime);
  padding: 7px 10px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.badge--sm { font-size: 10px; padding: 6px 9px; }
.badge--soft { background: var(--paper-2); }
.badge--outline-dark {
  background: transparent;
  color: var(--on-dark-2);
  border: 1px solid var(--line-dark-2);
}
.badge--outline-lime {
  background: transparent;
  color: var(--lime);
  border: 1px solid var(--line-lime-dark);
  letter-spacing: .1em;
  padding: 9px 14px;
}
.badge--lime-lg {
  letter-spacing: .12em;
  padding: 9px 14px;
}

/* Ces deux variantes portent un texte long et servent de bandeau, pas
   d'étiquette compacte : elles doivent pouvoir passer à la ligne, sinon
   elles imposent leur largeur à toute la colonne sur petit écran. */
.badge--outline-lime,
.badge--lime-lg {
  white-space: normal;
  line-height: 1.35;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 1;
  color: var(--text-2);
  background: var(--paper-3);
  padding: 8px 12px;
  border-radius: var(--r-pill);
}

.tag--dark { color: var(--on-dark-2); background: var(--ink-4); }

.tag-row { display: flex; gap: 7px; flex-wrap: wrap; }

.avatar {
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted-3);
  background: repeating-linear-gradient(45deg, #E0DED6 0 7px, #EAE8E1 7px 14px);
}

.avatar--dark { background: repeating-linear-gradient(45deg, #33363A 0 7px, #3D4045 7px 14px); }
.avatar--on-warm { background: repeating-linear-gradient(45deg, rgba(255,255,255,.25) 0 7px, rgba(255,255,255,.15) 7px 14px); }

.avatar--38 { width: 38px; height: 38px; font-size: 0; }
.avatar--46 { width: 46px; height: 46px; font-size: 0; }
.avatar--48 { width: 48px; height: 48px; font-size: 0; }
.avatar--52 { width: 52px; height: 52px; font-size: 7px; }
.avatar--54 { width: 54px; height: 54px; }
.avatar--62 { width: 62px; height: 62px; }

.avatar--132 {
  width: 132px; height: 132px;
  border-radius: var(--r-xl);
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   8. Hero de la page d'accueil
   -------------------------------------------------------------------------- */

.hero { padding: 40px var(--gutter) 64px; background: var(--paper); }

.hero__panel {
  background: var(--paper-2);
  border-radius: var(--r-xl);
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 34px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.hero__proof { display: flex; align-items: center; gap: 16px; }

.avatar-stack { display: flex; }
.avatar-stack .avatar { border: 2px solid var(--paper-2); }
.avatar-stack .avatar + .avatar { margin-left: -12px; }

.avatar-stack__count {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--paper-2);
  background: var(--ink);
  margin-left: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  color: var(--lime);
}

.hero__proof-text { display: flex; flex-direction: column; gap: 2px; }
.hero__proof-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.02em;
}
.hero__proof-text span { font-size: 13px; color: var(--muted); }

.hero__intro {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-3);
  max-width: 440px;
  text-wrap: pretty;
}

.hero__headline { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__art {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--lime);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.hero__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(22,24,26,.05) 0 12px, transparent 12px 24px);
}

.hero__art-caption {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(22,24,26,.45);
}

.mission-chip {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--ink);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 236px;
}

.mission-chip__ref {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  color: #8E9298;
}

.mission-chip__title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  color: var(--paper);
}

.mission-chip__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--lime);
}

.mission-chip__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.expert-chip {
  position: relative;
  background: var(--ink);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.expert-chip__name { font-weight: 600; font-size: 15px; color: var(--paper); }
.expert-chip__role { font-size: 12px; color: var(--on-dark-muted); }
.expert-chip .badge { margin-left: auto; }

/* --------------------------------------------------------------------------
   9. Bandeau de chiffres
   -------------------------------------------------------------------------- */

.stats-bar {
  background: var(--ink);
  padding: 34px var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat { display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line-dark); padding-left: 32px; }

.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--on-dark);
}
.stat--accent .stat__value { color: var(--lime); }
.stat__label { font-size: 14px; line-height: 1.4; color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   10. Cartes « ce qu'on résout »
   -------------------------------------------------------------------------- */

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.solve-card {
  background: var(--ink-2);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 250px;
}

.solve-card .card-title { color: var(--on-dark); margin-top: auto; }
.solve-card p { font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); }
.solve-card .link-arrow { color: var(--lime); }

.solve-card--lime { background: var(--lime); }
.solve-card--lime .card-title { color: var(--ink); }
.solve-card--lime p { color: var(--text-2); }
.solve-card--lime .link-arrow { color: var(--ink); }

.glyph {
  width: 44px; height: 44px;
  border-radius: var(--r-2xs);
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.glyph--ink { background: var(--ink); }
.glyph__ring   { width: 16px; height: 16px; border: 3px solid var(--ink); border-radius: 50%; }
.glyph__square { width: 16px; height: 16px; background: var(--ink); }
.glyph__diamond{ width: 16px; height: 16px; background: var(--ink); transform: rotate(45deg); }
.glyph__box    { width: 16px; height: 16px; border: 3px solid var(--lime); }

/* --------------------------------------------------------------------------
   11. Parcours en étapes
   -------------------------------------------------------------------------- */

.path {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.path--dark { background: var(--ink-2); border-color: transparent; }

.path__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.path__head span:last-child { font-size: 14px; color: var(--muted); }
.path--dark .path__head span:last-child { color: var(--on-dark-muted); }

.steps { display: flex; flex-direction: column; }

.step {
  position: relative;
  margin-left: 19px;
  padding-left: 32px;
  padding-bottom: 24px;
  border-left: 2px solid var(--line-3);
}
.step:last-child { padding-bottom: 0; border-left-color: transparent; }

.path--dark .step { border-left-color: var(--line-dark); }
.path--dark .step:last-child { border-left-color: transparent; }

.step__num {
  position: absolute;
  left: -19px;
  top: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  line-height: 38px;
  text-align: center;
}

.path--dark .step__num { background: var(--lime); color: var(--ink); }

.step__body { display: flex; flex-direction: column; gap: 5px; }

.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.path--dark .step__title { color: var(--on-dark); }

.step__text { font-size: 14px; line-height: 1.5; color: var(--muted); }
.path--dark .step__text { color: var(--on-dark-muted); }

/* Onglets entreprise / expert, utilisés en version étroite */
.path-tabs {
  display: none;
  gap: 5px;
  background: #DEDCD4;
  padding: 5px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}

.path-tabs button {
  flex: 1;
  padding: 12px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-align: center;
}

.path-tabs button.is-active {
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
}

/* --------------------------------------------------------------------------
   12. Cartes expert
   -------------------------------------------------------------------------- */

.expert-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.expert-card--dark { background: var(--ink-2); border-color: transparent; }

.expert-card__head { display: flex; align-items: center; gap: 14px; }
.expert-card__id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.expert-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.expert-card--dark .expert-card__name { color: var(--on-dark); }

.expert-card__role { font-size: 14px; line-height: 1.2; color: var(--muted); }
.expert-card--dark .expert-card__role { color: var(--on-dark-muted); }

.expert-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--paper-4);
  font-size: 14px;
}
.expert-card--dark .expert-card__meta { border-top-color: var(--line-dark); }

.expert-card__rate { margin-left: auto; font-weight: 600; }
.expert-card__rating { font-weight: 600; }
.expert-card--dark .expert-card__rating { color: var(--lime); }
.expert-card--dark .expert-card__missions { color: var(--on-dark-muted); }
.expert-card--dark .expert-card__rate { color: var(--on-dark); }
.expert-card__missions { color: var(--muted); }

.expert-card .badge { align-self: flex-start; }
.expert-card .btn { margin-top: auto; }

/* Variante compacte utilisée dans l'annuaire */
.expert-card--compact { border-radius: var(--r-md); padding: 22px; gap: 14px; }
.expert-card--compact .expert-card__head { align-items: flex-start; gap: 12px; }
.expert-card--compact .expert-card__name { font-size: 18px; }
.expert-card--compact .expert-card__role { font-size: 13px; line-height: 1.3; }
.expert-card--compact .expert-card__meta { gap: 12px; padding-top: 12px; font-size: 13px; }
.expert-card--compact .tag { font-size: 12px; padding: 7px 11px; }

/* --------------------------------------------------------------------------
   13. Domaines d'expertise
   -------------------------------------------------------------------------- */

.domain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.domain-card {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.domain-card:hover { border-color: var(--ink); color: var(--ink); }

.domain-card strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.domain-card span { font-size: 13px; color: var(--muted-2); }

.domain-card--dark { background: var(--ink); border-color: var(--ink); }
.domain-card--dark:hover { border-color: var(--lime); }
.domain-card--dark strong { color: var(--lime); }
.domain-card--dark span { color: var(--on-dark-muted); }

/* Variante en pastilles pour les écrans étroits */
.domain-chips { display: none; flex-wrap: wrap; gap: 8px; }
.domain-chips a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  background: var(--paper);
  border: 1px solid var(--line-2);
  padding: 13px 16px;
  border-radius: var(--r-pill);
}
.domain-chips a.is-dark { background: var(--ink); border-color: var(--ink); color: var(--lime); }

/* --------------------------------------------------------------------------
   14. Témoignages
   -------------------------------------------------------------------------- */

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.quote {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: #C4C2BA;
}

.quote p { font-size: 17px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }

.quote__author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote__author strong { font-weight: 600; font-size: 15px; }
.quote__author span { font-size: 13px; color: var(--muted); }
.quote__author div { display: flex; flex-direction: column; gap: 3px; }

.quote__result {
  background: var(--paper-2);
  border-radius: var(--r-2xs);
  padding: 14px 16px;
  font-weight: 600;
  font-size: 15px;
}

.quote--warm { background: var(--warm); gap: 22px; }
.quote--warm .quote__mark { color: rgba(255,255,255,.5); }
.quote--warm p { font-size: 19px; color: #fff; }
.quote--warm .quote__author strong { color: #fff; }
.quote--warm .quote__author span { color: rgba(255,255,255,.8); }
.quote--warm .quote__result { background: rgba(0,0,0,.18); color: #fff; }

/* --------------------------------------------------------------------------
   15. Double appel à l'action
   -------------------------------------------------------------------------- */

.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.cta-panel {
  border-radius: var(--r-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.cta-panel--lime { background: var(--lime); }
.cta-panel--ink  { background: var(--ink-2); }

.cta-panel p { font-size: 16px; line-height: 1.55; max-width: 400px; }
.cta-panel--lime p { color: var(--text-2); }
.cta-panel--ink  p { color: var(--on-dark-muted); }
.cta-panel--ink .h3 { color: var(--on-dark); }
.cta-panel--ink .mono-label { color: var(--lime); }
.cta-panel--lime .mono-label { color: var(--ink); }
.cta-panel .btn { margin-top: 10px; }

/* --------------------------------------------------------------------------
   16. Questions fréquentes
   -------------------------------------------------------------------------- */

.faq-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
}

.faq-intro { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.faq-intro p { font-size: 16px; line-height: 1.55; color: var(--muted); }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 22px 26px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  flex: none;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-5);
  margin-top: 14px;
  max-width: 720px;
}

/* --------------------------------------------------------------------------
   17. Pied de page
   -------------------------------------------------------------------------- */

.site-footer { background: var(--ink); padding: 64px var(--gutter) 34px; }

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}

.site-footer__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.site-footer__brand p { font-size: 15px; line-height: 1.55; color: var(--on-dark-muted); max-width: 300px; }

.social-row { display: flex; gap: 8px; flex-wrap: wrap; }
.social-row a {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  color: var(--lime);
  border: 1px solid var(--line-dark-2);
  padding: 10px 14px;
  border-radius: var(--r-pill);
}
.social-row a:hover { border-color: var(--lime); color: var(--lime); }

.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col .mono-label { color: var(--muted); }
.footer-col a { font-size: 15px; line-height: 1; color: var(--on-dark-2); }
.footer-col a:hover { color: var(--lime); }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  flex-wrap: wrap;
}
.site-footer__bottom > span { font-size: 13px; color: var(--muted); }

.lang-switch {
  display: flex;
  gap: 6px;
  background: var(--ink-3);
  padding: 5px;
  border-radius: var(--r-pill);
}
.lang-switch span,
.lang-switch a {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: var(--on-dark-muted);
  padding: 8px 14px;
  border-radius: var(--r-pill);
}
.lang-switch .is-active {
  font-weight: 600;
  color: var(--ink);
  background: var(--lime);
}
.lang-switch a:hover { color: var(--lime); }

/* --------------------------------------------------------------------------
   18. Barre d'action mobile
   -------------------------------------------------------------------------- */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 70;
  background: rgba(244, 243, 239, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 8px));
  gap: 10px;
  align-items: center;
}

.mobile-cta .btn { font-size: 16px; padding: 18px; }
.mobile-cta .btn:first-child { flex: 1; }
.mobile-cta .btn:last-child { font-size: 15px; padding: 16.5px 18px; }

/* --------------------------------------------------------------------------
   19. Annuaire des experts
   -------------------------------------------------------------------------- */

.search-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 24px;
}

.search-bar__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-4);
  flex: none;
}

.search-bar input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 17px;
  padding: 8px 0;
}
.search-bar input[type="search"]:focus { outline: none; }
.search-bar input::placeholder { color: var(--muted-4); }

.search-bar__region {
  font-size: 14px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 20px;
  flex: none;
}
.search-bar__region select {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}

.directory {
  padding: 12px var(--gutter) var(--section-y);
  background: var(--paper);
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 32px;
  align-items: start;
}

.filters {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: sticky;
  top: 96px;
}

.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filters__head strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.02em;
}
.filters__reset { font-size: 13px; color: var(--muted); }

.filter-group { display: flex; flex-direction: column; gap: 12px; }
.filter-group + .filter-group { border-top: 1px solid var(--paper-4); padding-top: 22px; }

/* Cases à cocher dessinées */
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.3;
  color: var(--text-2);
  cursor: pointer;
}

.check input { position: absolute; opacity: 0; width: 0; height: 0; }

.check__box {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--line-4);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s ease, border-color .15s ease;
}

.check__box::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--lime);
  opacity: 0;
  transition: opacity .15s ease;
}

.check input:checked + .check__box {
  background: var(--ink);
  border-color: var(--ink);
}
.check input:checked + .check__box::after { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2.5px solid var(--warm); outline-offset: 2px; }

/* Pastilles cliquables */
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }

.chip {
  font-size: 13px;
  line-height: 1;
  color: var(--text-2);
  background: var(--paper-3);
  padding: 8px 12px;
  border-radius: var(--r-pill);
  border: 0;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.chip:hover { background: var(--paper-2); }
.chip.is-active { background: var(--lime); color: var(--ink); }

/* Segments */
.seg {
  display: flex;
  gap: 6px;
  background: var(--paper-3);
  padding: 4px;
  border-radius: var(--r-pill);
}

.seg button {
  flex: 1;
  padding: 9px 12px;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}
.seg button.is-active { font-weight: 500; color: var(--ink); background: var(--white); }

/* Curseur de tarif */
.range-field { display: flex; flex-direction: column; gap: 14px; }
.range-field output { font-size: 14px; color: var(--text-2); }

.range-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--paper-4);
  border-radius: var(--r-pill);
  cursor: pointer;
}
.range-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--line-4);
}
.range-field input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--white);
}

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px;
  flex-wrap: wrap;
}
.results-head__count { font-size: 15px; color: var(--muted); }

.sort { display: flex; align-items: center; gap: 10px; }
.sort > span { font-size: 14px; color: var(--muted); }
.sort .seg { background: var(--paper-2); }

.results { display: flex; flex-direction: column; gap: 20px; }
.results__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.results__empty {
  background: var(--white);
  border: 1px dashed var(--line-4);
  border-radius: var(--r-lg);
  padding: 48px 32px;
  text-align: center;
  color: var(--muted);
}
.results__empty strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 16px;
  flex-wrap: wrap;
}
.pagination a,
.pagination button {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  border: 1px solid var(--line-2);
  padding: 13px 18px;
  border-radius: var(--r-pill);
  background: transparent;
}
.pagination[hidden] { display: none; }
.pagination button:hover:not(:disabled) { border-color: var(--ink); }
.pagination .is-active { font-weight: 600; background: var(--lime); border-color: var(--lime); }
.pagination .is-strong { border: 1.5px solid var(--ink); }
.pagination button:disabled { color: var(--muted-4); border-color: var(--line-2); cursor: not-allowed; opacity: .6; }
.pagination span { font-size: 14px; color: var(--muted-4); padding: 0 6px; }

/* --------------------------------------------------------------------------
   20. Profil expert
   -------------------------------------------------------------------------- */

.profile-hero { background: var(--ink); padding: 44px var(--gutter) 48px; }

.profile-hero__back {
  font-size: 13px;
  color: var(--on-dark-muted);
  display: inline-block;
  margin-bottom: 28px;
}
.profile-hero__back:hover { color: var(--lime); }

.profile-hero__body { display: flex; align-items: flex-start; gap: 28px; flex-wrap: wrap; }
.profile-hero__id { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.profile-hero__id .h1 { color: var(--on-dark); }
.profile-hero__role { font-size: 19px; line-height: 1.3; color: var(--lime); }
.profile-hero__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

.profile-hero__facts {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--on-dark-muted);
}
.profile-hero__facts strong { font-weight: 600; color: var(--lime); }

.profile-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: auto;
}

.profile-body {
  background: var(--paper);
  padding: 48px var(--gutter) var(--section-y);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.profile-main { display: flex; flex-direction: column; gap: 20px; }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel--dark { background: var(--ink-2); border-color: transparent; gap: 22px; }
.panel--dark .h4 { color: var(--on-dark); }
.panel--gap-lg { gap: 22px; }

.panel p { font-size: 17px; line-height: 1.65; color: var(--text-3); text-wrap: pretty; }

.skill { display: flex; flex-direction: column; gap: 8px; }
.skill__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.skill__name { font-weight: 500; font-size: 16px; }
.skill__level { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.skill__track { height: 6px; background: var(--paper-4); border-radius: var(--r-pill); overflow: hidden; }
.skill__bar { height: 6px; background: var(--ink); border-radius: var(--r-pill); }

.mission-item {
  background: var(--ink-3);
  border-radius: var(--r-xs);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mission-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--on-dark);
}
.mission-item p { font-size: 15px; line-height: 1.5; color: var(--on-dark-muted); }
.mission-item__result { font-weight: 600; font-size: 15px; color: var(--lime); margin-top: 4px; }

.review { display: flex; flex-direction: column; gap: 10px; }
.review + .review { border-top: 1px solid var(--paper-4); padding-top: 18px; }
.review__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.review__head strong { font-weight: 600; font-size: 15px; }
.review__head span { font-size: 14px; color: var(--muted); }
.review__score { margin-left: auto; font-weight: 600; font-size: 14px; color: var(--ink); }
.review p { font-size: 16px; line-height: 1.6; color: var(--text-3); }

.profile-aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rate-card {
  background: var(--lime);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rate-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -.03em;
}
.rate-card__price small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0;
}

.rate-card__specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(22, 24, 26, .15);
  padding-top: 18px;
}
.rate-card__specs div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.rate-card__specs dt { color: var(--text-2); }
.rate-card__specs dd { font-weight: 600; text-align: right; }

.guarantee {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guarantee p { font-size: 15px; line-height: 1.55; color: var(--text-3); }
.guarantee a { font-size: 14px; font-weight: 500; }

/* --------------------------------------------------------------------------
   21. Landing entreprise et formulaire de brief
   -------------------------------------------------------------------------- */

.landing-hero {
  background: var(--paper);
  padding: 56px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.landing-hero__copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.landing-hero__copy .lede { max-width: 520px; }

.figure-row { display: flex; gap: 34px; padding-top: 8px; flex-wrap: wrap; }
.figure { display: flex; flex-direction: column; gap: 4px; }
.figure strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
}
.figure span { font-size: 14px; color: var(--muted-2); }

.brief {
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brief__head { display: flex; flex-direction: column; gap: 12px; }
.brief__head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brief__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.02em;
}
.brief__counter { font-family: var(--font-mono); font-weight: 500; font-size: 12px; color: var(--muted); }

.brief__progress { display: flex; gap: 6px; }
.brief__progress span {
  flex: 1;
  height: 6px;
  background: var(--line);
  border-radius: var(--r-pill);
  transition: background-color .2s ease;
}
.brief__progress span.is-done { background: var(--ink); }

.brief__legend { display: flex; gap: 16px; flex-wrap: wrap; }
.brief__legend span { font-size: 12px; color: var(--muted-4); }
.brief__legend span.is-current { font-weight: 600; color: var(--ink); }

.brief__step { display: none; flex-direction: column; gap: 24px; }
.brief__step.is-active { display: flex; }

.field { display: flex; flex-direction: column; gap: 10px; }
.field__label { font-weight: 500; font-size: 15px; }
.field__hint { font-size: 13px; line-height: 1.5; color: var(--muted-3); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea,
.field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--r-xs);
  padding: 16px;
  font-size: 15px;
  line-height: 1.5;
  background: var(--white);
  transition: border-color .15s ease;
}

.field textarea { min-height: 96px; resize: vertical; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--warm); }

.field__error {
  font-size: 13px;
  color: var(--warm);
  min-height: 0;
}

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }

.choice {
  font-size: 14px;
  line-height: 1;
  color: var(--text-2);
  background: var(--paper-3);
  padding: 11px 16px;
  border-radius: var(--r-pill);
  border: 0;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.choice:hover { background: var(--paper-2); }
.choice.is-active { background: var(--lime); color: var(--ink); }

.seg--form { padding: 5px; background: var(--paper-3); }
.seg--form button { padding: 11px; font-size: 14px; }

.brief__actions { display: flex; align-items: center; gap: 12px; }
.brief__actions .btn:last-child { flex: 1; }

.brief__note { font-size: 13px; line-height: 1.5; color: var(--muted-3); }

.brief__done {
  display: none;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}
.brief__done.is-active { display: flex; }
.brief__done .glyph { background: var(--lime); }
.brief__done p { font-size: 16px; line-height: 1.6; color: var(--text-3); }

.assurance-card {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.assurance-card p { font-size: 15px; line-height: 1.55; color: var(--text-4); }
.assurance-card--dark { background: var(--ink); border-color: var(--ink); }
.assurance-card--dark .card-title--sm { color: var(--lime); }
.assurance-card--dark p { color: var(--on-dark-muted); }

.example-card {
  background: var(--ink-2);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.example-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--on-dark);
}
.example-card dl { display: flex; flex-direction: column; gap: 12px; }
.example-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
}
.example-card dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.example-card dt { font-size: 15px; color: var(--on-dark-muted); }
.example-card dd { font-weight: 500; font-size: 15px; color: var(--on-dark); text-align: right; }
.example-card dd.is-result { font-weight: 600; color: var(--lime); }

/* --------------------------------------------------------------------------
   22. Landing e-apreneurs
   -------------------------------------------------------------------------- */

.expert-hero {
  background: var(--ink);
  padding: 64px var(--gutter) 56px;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 56px;
  align-items: center;
}

.expert-hero__copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.expert-hero__copy .h1 { color: var(--on-dark); }
.expert-hero__copy .lede { color: var(--on-dark-muted); max-width: 560px; }
.expert-hero__actions { display: flex; gap: 12px; padding-top: 8px; flex-wrap: wrap; }

.open-missions {
  background: var(--ink-3);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.open-missions__list { display: flex; flex-direction: column; gap: 12px; }
.open-mission {
  background: var(--ink);
  border-radius: var(--r-xs);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.open-mission strong { font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--on-dark); }
.open-mission span { font-size: 13px; color: var(--on-dark-muted); }
.open-missions__more { font-size: 14px; color: var(--lime); }

.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefit-card p { font-size: 15px; line-height: 1.55; color: var(--text-4); }
.benefit-card--lime { background: var(--lime); border-color: var(--lime); }
.benefit-card--lime p { color: var(--text-2); }

.access-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.access-list { display: flex; flex-direction: column; gap: 14px; }
.access-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.5; color: var(--text-2); }

.access-list__dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.access-list__dot::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
}

.commission {
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.commission__intro { display: flex; flex-direction: column; gap: 6px; }
.commission__intro span { font-size: 15px; line-height: 1.5; color: var(--muted); }

.commission__rows { display: flex; flex-direction: column; }
.commission__rows > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--paper-4);
}
.commission__rows > div:last-child { border-bottom: 0; }
.commission__rows dt { font-size: 16px; line-height: 1.4; color: var(--text-2); }
.commission__rows dd {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}

.enroll-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.enroll-card p { font-size: 15px; line-height: 1.55; color: var(--text-4); }
.enroll-card--dark { background: var(--ink); border-color: var(--ink); }
.enroll-card--dark .card-title--sm { color: var(--lime); }
.enroll-card--dark p { color: var(--on-dark-muted); }

.enroll-card__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  background: var(--lime);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.deadline-banner {
  background: var(--lime);
  padding: 64px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.deadline-banner .h2 { max-width: 660px; }
.deadline-banner p { font-size: 17px; line-height: 1.5; color: var(--text-2); }
.deadline-banner__copy { display: flex; flex-direction: column; gap: 12px; }

/* --------------------------------------------------------------------------
   23. Adaptations responsives
   -------------------------------------------------------------------------- */

@media (max-width: 1280px) {
  :root { --gutter: 40px; --section-y: 64px; }

  .hero__panel { grid-template-columns: 1fr 420px; }
  .faq-layout { grid-template-columns: 320px 1fr; gap: 40px; }
  .expert-hero { grid-template-columns: 1fr 400px; gap: 40px; }
  .directory { grid-template-columns: 260px 1fr; gap: 24px; }
  .profile-body { grid-template-columns: 1fr 300px; }
}

@media (max-width: 1080px) {
  .nav-pill { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .header-link { display: none; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .results__grid { grid-template-columns: repeat(2, 1fr); }

  .hero__panel { grid-template-columns: 1fr; }
  .hero__art { min-height: 340px; }

  .landing-hero { grid-template-columns: 1fr; gap: 40px; }
  .expert-hero { grid-template-columns: 1fr; gap: 40px; }
  .access-layout { grid-template-columns: 1fr; gap: 32px; }

  .directory { grid-template-columns: 1fr; }
  .filters { position: static; }

  .profile-body { grid-template-columns: 1fr; }
  .profile-aside { position: static; }
  .profile-hero__actions { margin-left: 0; width: 100%; }
  .profile-hero__actions .btn { flex: 1; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; --section-y: 44px; }

  .site-header { padding: 12px var(--gutter); }
  .brand { font-size: 19px; }

  /* L'appel à l'action de l'en-tête est repris par le tiroir et la barre
     fixe du bas. Le garder ici ferait déborder la page sur 390 px. */
  .header-actions .btn { display: none; }

  .hero { padding: 26px var(--gutter) 28px; }
  .hero__panel { padding: 18px; border-radius: var(--r-md); }
  .hero__copy { gap: 24px; }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__art { min-height: 300px; padding: 18px; }
  .hero__art-caption { display: none; }
  .mission-chip { position: static; width: 100%; }
  .hero__art { flex-direction: column; justify-content: flex-end; gap: 12px; }

  .stats-bar { grid-template-columns: 1fr 1fr; gap: 22px; padding: 26px var(--gutter); }
  .stat + .stat { border-left: 0; padding-left: 0; }
  .stat__value { font-size: 26px; }
  .stat__label { font-size: 13px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }

  .grid-4, .grid-3, .grid-2, .split-cta { grid-template-columns: 1fr; gap: 12px; }
  .results__grid { grid-template-columns: 1fr; }

  .solve-card { min-height: 0; padding: 22px; border-radius: var(--r-md); }
  .solve-card .card-title { font-size: 19px; margin-top: 0; }

  .path-tabs { display: flex; }
  .path { padding: 0; background: transparent; border: 0; }
  .path--dark { background: transparent; }
  .path__head { display: none; }
  .path--dark .step__num { background: var(--ink); color: var(--lime); }
  .path--dark .step__title { color: var(--ink); }
  .path--dark .step__text { color: var(--muted); }
  .path--dark .step { border-left-color: var(--line-3); }
  .path[hidden] { display: none; }
  .path .btn { align-self: stretch; }

  .domain-grid { display: none; }
  .domain-chips { display: flex; }

  .cta-panel { padding: 26px; }

  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-item { padding: 18px 20px; border-radius: var(--r-xs); }
  .faq-item summary { font-size: 16px; align-items: flex-start; }
  .faq-item p { font-size: 15px; line-height: 1.55; }

  .search-bar {
    flex-wrap: wrap;
    border-radius: var(--r-md);
    padding: 16px;
    gap: 10px;
  }
  .search-bar__label { display: none; }
  .search-bar input[type="search"] { flex: 1 1 100%; font-size: 16px; }
  .search-bar__region { border-left: 0; padding-left: 0; }
  .search-bar .btn { flex: 1; }

  .filters { padding: 20px; border-radius: var(--r-md); }
  .results-head { flex-direction: column; align-items: flex-start; gap: 12px; }

  .profile-hero { padding: 28px var(--gutter) 32px; }
  .profile-hero__body { flex-direction: column; gap: 18px; }
  .avatar--132 { width: 96px; height: 96px; }
  .profile-hero__actions { flex-direction: column; }
  .profile-body { padding: 28px var(--gutter) var(--section-y); }
  .panel { padding: 22px; border-radius: var(--r-md); }
  .panel p { font-size: 16px; }

  .brief { padding: 22px; border-radius: var(--r-md); }
  .brief__legend { display: none; }
  .brief__actions { flex-wrap: wrap; }
  .brief__actions .btn { width: 100%; }

  .example-card { padding: 24px; }
  .example-card dl > div { flex-direction: column; gap: 4px; }
  .example-card dd { text-align: left; }

  .commission { padding: 22px; }
  .commission__rows > div { gap: 12px; }
  .commission__rows dd { font-size: 20px; }

  .deadline-banner { padding: 40px var(--gutter); flex-direction: column; align-items: flex-start; gap: 20px; }
  .deadline-banner .btn { width: 100%; }

  .site-footer { padding: 34px var(--gutter) 110px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 22px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .footer-col a { font-size: 14px; }
  .site-footer__bottom { padding-top: 18px; border-top: 1px solid var(--line-dark); }

  .mobile-cta { display: flex; }
}

@media (max-width: 480px) {
  /* Sur les très petits écrans, une étiquette ou un libellé de bouton sur
     deux lignes vaut mieux qu'une page qui défile horizontalement. */
  .badge { white-space: normal; line-height: 1.3; }
  .btn { white-space: normal; }

  /* La vignette expert du hero doit pouvoir se replier au lieu d'imposer
     sa largeur minimale à toute la composition. */
  .expert-chip { flex-wrap: wrap; }
  .expert-chip > span { min-width: 0; }
  .expert-chip .badge { margin-left: 0; }

  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .figure-row { gap: 20px; }
  .figure strong { font-size: 24px; }
  .choice-row .choice { flex: 1 1 auto; }
  .seg { flex-wrap: wrap; }
  .seg button { flex: 1 1 40%; }
}

/* --------------------------------------------------------------------------
   24. Impression et préférences système
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
