/* ============================================================
   POLICES AUTO-HÉBERGÉES (RGPD - aucun appel à Google)
   ============================================================ */
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-vietnamese-600.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-ext-600.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/fraunces-vietnamese-600.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-ext-600.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/fonts/fraunces-vietnamese-600.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-ext-600.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/schibsted-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/schibsted-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/schibsted-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/schibsted-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/schibsted-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/schibsted-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/schibsted-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/schibsted-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   GRATEAUAGENCY.FR - main.css
   Tokens (design-system §2) + bases (§3) + composants (§4 / §4bis)
   Mobile-first, zéro hex en dur répété : tokens uniquement.
   ============================================================ */

/* ============================================================
   :ROOT - TOKENS COMPLETS (design-system §2)
   ============================================================ */
:root {
  /* PALETTE - couleurs brutes */
  --yellow-50:  #fffdf0;
  --yellow-100: #fff7c2;
  --yellow-200: #ffef85;
  --yellow-300: #ffe73f;
  --yellow-400: #ffe01b;
  --yellow-500: #f5d000;
  --yellow-600: #d9b500;
  --yellow-700: #8a7400;

  --ink-900: #241c15;
  --ink-800: #34291f;
  --ink-700: #4a3d30;

  --neutral-0:   #ffffff;
  --neutral-50:  #faf9f7;
  --neutral-100: #f6f6f4;
  --neutral-200: #ededea;
  --neutral-300: #dededa;
  --neutral-400: #b3b0a8;
  --neutral-500: #6f6b62;
  --neutral-600: #565249;
  --neutral-700: #3d392f;

  --blue-50:  #eef4fb;
  --blue-500: #1f6fd6;
  --blue-600: #195aad;
  --blue-700: #14457f;

  --green-50:  #ecf6ef;
  --green-600: #176b3b;
  --red-50:    #fceeed;
  --red-600:   #9e2622;
  --amber-50:  #fdf6e7;
  --amber-700: #8a5d00;

  /* TOKENS SÉMANTIQUES */
  --color-brand:           var(--yellow-400);
  --color-brand-hover:     var(--yellow-500);
  --color-brand-active:    var(--yellow-600);
  --color-brand-subtle:    #f5f2ec;
  --color-brand-border:    var(--yellow-300);
  --color-on-brand:        var(--ink-900);

  /* Accents secondaires, même esprit que le jaune Cavendish (punchy, friendly) */
  --accent-green:          #1faE76;
  --accent-blue:           #2f8fe0;
  --accent-purple:         #8b5cf6;
  --accent-orange:         #fb8b2e;

  --color-bg:            var(--neutral-0);
  --color-bg-subtle:     var(--neutral-100);
  --color-surface:       var(--neutral-0);
  --color-border:        var(--neutral-200);
  --color-border-strong: var(--neutral-300);

  --color-text:          var(--ink-900);
  --color-text-heading:  var(--ink-900);
  --color-text-muted:    var(--neutral-500);
  --color-text-on-dark:  var(--neutral-50);
  --color-text-on-brand: var(--ink-900);

  --color-action:        var(--ink-900);
  --color-action-hover:  var(--ink-800);
  --color-action-active: var(--ink-700);
  --color-on-action:     var(--neutral-0);

  --color-link:          var(--color-text-heading);
  --color-link-hover:    var(--color-text-heading);
  --color-link-visited:  var(--color-text-heading);

  --color-success:       var(--green-600);
  --color-success-bg:    var(--green-50);
  --color-error:         var(--red-600);
  --color-error-bg:      var(--red-50);
  --color-warning:       var(--amber-700);
  --color-warning-bg:    var(--amber-50);
  --color-info:          var(--color-text-heading);
  --color-info-bg:       var(--color-bg-subtle);

  --color-dark:          var(--ink-900);
  --color-dark-surface:  var(--ink-800);

  /* TOKENS MARRON CHAUDS - tons sable/terre, harmonie avec jaune Cavendish + encre
     Contraste sur fond --color-warm-bg  : encre #241C15 -> ratio ~10:1 (AA large)
     Contraste sur fond --color-warm-bg-strong : encre #241C15 -> ratio ~7.5:1 (AA large)
     (tokens documentes dans design-system.md) */
  --warm-50:  #faf4ee;
  --warm-100: #efe3d5;
  --warm-200: #e8d9c5;
  --warm-300: #d9c5a8;

  --color-warm-bg:        var(--warm-100); /* #EFE3D5 - fond sable doux, sections alternées */
  --color-warm-bg-strong: var(--warm-200); /* #E8D9C5 - légèrement plus soutenu si besoin */

  --color-focus:         var(--ink-900);
  --focus-ring:          0 0 0 3px var(--neutral-0), 0 0 0 5px var(--ink-900);
  --focus-ring-offset:   2px;

  /* TYPOGRAPHIE */
  --font-heading: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body:    "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fraunces-axes:         "SOFT" 100, "WONK" 0;
  --fraunces-axes-display: "SOFT" 100, "WONK" 0;

  --text-xs:   clamp(0.75rem, 0.72rem + 0.13vw, 0.8125rem);
  --text-sm:   clamp(0.875rem, 0.85rem + 0.13vw, 0.9375rem);
  --text-base: clamp(1.0625rem, 1.02rem + 0.21vw, 1.1875rem);
  --text-lg:   clamp(1.1875rem, 1.12rem + 0.34vw, 1.375rem);
  --text-xl:   clamp(1.375rem, 1.27rem + 0.51vw, 1.75rem);
  --text-2xl:  clamp(1.75rem, 1.5rem + 1.05vw, 2.5rem);
  --text-3xl:  clamp(2.25rem, 1.85rem + 1.75vw, 3.5rem);
  --text-4xl:  clamp(2.75rem, 2.1rem + 2.8vw, 4.5rem);

  --leading-tight:   1.1;
  --leading-heading: 1.2;
  --leading-body:    1.7;
  --leading-relaxed: 1.8;

  --weight-regular:        400;
  --weight-medium:         500;
  --weight-semibold:       600;
  --weight-bold:           700;
  --weight-heading:        700;
  --weight-heading-strong: 900;

  --measure:        68ch;
  --measure-narrow: 56ch;
  --container:      1200px;
  --container-wide: 1320px;

  /* ESPACEMENTS */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --section-gap: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* RAYONS */
  --radius-sm:   8px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 999px;

  /* OMBRES */
  --shadow-xs: 0 1px 2px rgba(36, 28, 21, 0.06);
  --shadow-sm: 0 1px 3px rgba(36, 28, 21, 0.08), 0 1px 2px rgba(36, 28, 21, 0.04);
  --shadow-md: 0 4px 12px rgba(36, 28, 21, 0.10), 0 2px 4px rgba(36, 28, 21, 0.05);
  --shadow-lg: 0 12px 28px rgba(36, 28, 21, 0.14), 0 4px 8px rgba(36, 28, 21, 0.07);

  /* TRANSITIONS */
  --ease:            cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast:   120ms;
  --duration-normal: 200ms;
  --duration-slow:   320ms;

  /* Z-INDEX */
  --z-header:  100;
  --z-drawer:  200;
  --z-toc:     50;
  --z-cookie:  300;

  --header-h: 4.5rem;

  /* PRIMITIVES GRAPHIQUES */
  --blob-fill:        var(--yellow-300);
  --blob-fill-subtle: #efe3d5;
  --rule-thickness:   3px;
  --rule-color:       var(--color-brand);
  --pill-pad-y:       0.3em;
  --pill-pad-x:       0.8em;
  --dot-size:         0.6rem;
  --blob-radius-1: 42% 58% 63% 37% / 45% 38% 62% 55%;
  --blob-radius-2: 58% 42% 38% 62% / 55% 62% 38% 45%;
}

/* ============================================================
   BASES GLOBALES (design-system §3)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  font-weight: var(--weight-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  line-height: var(--leading-heading);
  font-weight: var(--weight-heading);
  font-optical-sizing: auto;
  font-variation-settings: var(--fraunces-axes);
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0 0 var(--space-md);
}

h1 {
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
  font-weight: var(--weight-heading-strong);
  font-variation-settings: var(--fraunces-axes-display);
}
h2 { font-size: var(--text-2xl); margin-top: var(--space-2xl); }
h3 { font-size: var(--text-xl);  margin-top: var(--space-xl); }
h4 { font-size: var(--text-lg); }

p, ul, ol, blockquote { margin: 0 0 var(--space-lg); }

/* Effet surligneur « marqueur » */
.highlight {
  background: linear-gradient(transparent 12%, var(--color-brand) 12%, var(--color-brand) 88%, transparent 88%);
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.prose { max-width: var(--measure); }
.prose p, .prose li { text-wrap: pretty; }
.prose li { margin-bottom: var(--space-xs); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.section--subtle { background: var(--color-bg-subtle); }
.section--warm {
  background: #322417; /* marron fonce (ex-footer) applique aux 2 sections */
  color: var(--color-text-on-dark);
}
.section--warm .section-head h2,
.section--warm .split__text h2 { color: var(--color-text-on-dark); }
.section--warm .split__text h2 .highlight { color: var(--color-text-heading); }
.section--warm .eyebrow { color: var(--color-brand); }
.section--warm .arrow-link { color: var(--color-brand); }
.section--warm .split__placeholder { color: var(--color-text-on-dark); }
.section--warm .btn--secondary,
.section--warm .btn--secondary:link,
.section--warm .btn--secondary:visited {
  color: var(--color-text-on-dark);
  border-color: rgba(255, 255, 255, 0.45);
}
.section--warm .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-on-dark);
  border-color: rgba(255, 255, 255, 0.7);
}
.section--brand  { background: var(--color-brand); color: var(--color-on-brand); }
.section--brand h1,
.section--brand h2,
.section--brand h3 { color: var(--color-on-brand); }

a {
  color: var(--color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover   { color: var(--color-link-hover); }
a:visited { color: var(--color-link-visited); }

/* Focus visible */
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }

.section--brand :focus-visible { outline-color: var(--ink-900); }
.footer :focus-visible,
.cookie-banner :focus-visible,
.section--dark :focus-visible { outline-color: var(--color-brand); }

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--space-md);
  top: -100%;
  background: var(--color-dark);
  color: var(--color-text-on-dark);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  z-index: var(--z-cookie);
  transition: top var(--duration-fast) var(--ease);
  text-decoration: none;
  font-weight: var(--weight-semibold);
}
.skip-link:focus { top: var(--space-md); }

:target { scroll-margin-top: calc(var(--header-h) + var(--space-md)); }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   UTILITAIRES LÉGERS
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Honeypot anti-bot : hors écran, invisible humains, présent pour les robots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.section--dark {
  background: var(--color-dark);
  color: var(--color-text-on-dark);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--color-text-on-dark); }
.section--dark .eyebrow { color: var(--color-brand); }

/* ============================================================
   BOUTONS (design-system §4.1)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  min-height: 44px;
  transition:
    background var(--duration-normal) var(--ease),
    border-color var(--duration-normal) var(--ease),
    color var(--duration-normal) var(--ease),
    transform var(--duration-fast) var(--ease),
    box-shadow var(--duration-normal) var(--ease);
}
.btn:active { transform: translateY(1px); }

/* Les boutons sont souvent des <a>. La regle globale a:visited (specificite 0,1,1)
   prime sinon sur .btn--primary (0,1,0) et rend le texte invisible une fois le lien visite.
   On reaffirme la couleur du texte pour :link / :visited de chaque variante, AVANT les
   regles :hover (ordre LVHA) pour que le survol garde la priorite sur l'etat visite. */
.btn--primary:link, .btn--primary:visited { color: var(--color-on-action); }
.btn--highlight:link, .btn--highlight:visited,
.btn--cta:link, .btn--cta:visited { color: var(--color-on-brand); }
.btn--secondary:link, .btn--secondary:visited,
.btn--ghost:link, .btn--ghost:visited { color: var(--color-text); }

.btn--primary { background: var(--color-action); color: var(--color-on-action); }
.btn--primary:hover  { background: var(--color-action-hover); box-shadow: var(--shadow-md); color: var(--color-on-action); }
.btn--primary:active { background: var(--color-action-active); }

.btn--highlight { background: var(--color-brand); color: var(--color-on-brand); box-shadow: var(--shadow-sm); }
.btn--highlight:hover  { background: var(--color-brand-hover); box-shadow: var(--shadow-md); color: var(--color-on-brand); }
.btn--highlight:active { background: var(--color-brand-active); box-shadow: var(--shadow-sm); }

.btn--cta {
  background: var(--color-brand);
  color: var(--color-on-brand);
  box-shadow: var(--shadow-sm);
  padding: 1em 1.85em;
}
.btn--cta:hover  { background: var(--color-brand-hover); box-shadow: var(--shadow-lg); color: var(--color-on-brand); }
.btn--cta:active { background: var(--color-brand-active); box-shadow: var(--shadow-sm); }
.btn--cta .icon { transition: transform var(--duration-normal) var(--ease); }
.btn--cta:hover .icon { transform: translateX(3px); }

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}
.btn--secondary:hover  { background: var(--color-text); color: var(--color-on-action); }
.btn--secondary:active { background: var(--color-action-active); border-color: var(--color-action-active); }

.btn--ghost { background: transparent; color: var(--color-text); }
.btn--ghost:hover { background: var(--color-bg-subtle); }

.btn:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================================================
   LIEN EXTERNE (design-system §4.2)
   ============================================================ */
.link-external::after {
  content: "↗";
  display: inline-block;
  margin-left: 0.2em;
  font-size: 0.85em;
}

/* ============================================================
   CARTE ARTICLE (design-system §4.3)
   ============================================================ */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--duration-normal) var(--ease),
    box-shadow var(--duration-normal) var(--ease),
    border-color var(--duration-normal) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}
.card:focus-within { box-shadow: var(--focus-ring); }

.card__media {
  aspect-ratio: 16 / 9;
  background: var(--color-bg-subtle);
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}
/* Placeholder visuel pour les images à venir */
.card__media--placeholder {
  aspect-ratio: 16 / 9;
  background: var(--neutral-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.card__tag {
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-on-brand);
  background: var(--color-brand);
  padding: 0.25em 0.7em;
  border-radius: var(--radius-full);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  font-variation-settings: var(--fraunces-axes);
  margin: var(--space-2xs) 0;
  line-height: var(--leading-heading);
}
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__title a { color: var(--color-text-heading); text-decoration: none; }
.card:hover .card__title a {
  text-decoration: underline;
  text-decoration-color: var(--color-brand);
  text-decoration-thickness: 3px;
}

.card__excerpt {
  color: var(--color-text);
  font-size: var(--text-sm);
}

.card__meta {
  margin-top: auto;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

.card-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card-grid--4col { }
@media (min-width: 1024px) { .card-grid--4col { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   CHAMPS DE FORMULAIRE (design-system §4.5)
   ============================================================ */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  margin-bottom: var(--space-lg);
}
.field__label {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--color-text-heading);
}
.field__label .req { color: var(--color-error); margin-left: 0.15em; }
.field__hint { font-size: var(--text-xs); color: var(--color-text-muted); }

.input, .textarea, .select {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-surface);
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 0.7em 0.9em;
  min-height: 44px;
  width: 100%;
  transition:
    border-color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease);
}
.input::placeholder { color: var(--neutral-400); }
.textarea { min-height: 8rem; resize: vertical; line-height: var(--leading-body); }

.input:hover, .textarea:hover, .select:hover { border-color: var(--neutral-400); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible {
  outline: none;
  border-color: var(--color-action);
  box-shadow: 0 0 0 3px var(--color-brand);
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"],
.select[aria-invalid="true"] {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px var(--color-error-bg);
}
.field__error {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  color: var(--color-error);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}
.field__error[hidden] { display: none; }
.field__error::before { content: "⚠"; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
}
.checkbox input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15em;
  accent-color: var(--color-brand);
  flex-shrink: 0;
}

/* ============================================================
   HEADER / NAVIGATION (design-system §4.7)
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  min-height: var(--header-h);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: var(--header-h);
}

.header__logo {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-variation-settings: var(--fraunces-axes);
  font-size: var(--text-lg);
  color: var(--color-text-heading);
  text-decoration: none;
  flex-shrink: 0;
}
.header__logo:hover,
.header__logo:visited { color: var(--color-text-heading); }

/* Trait jaune sous le logo = signature de marque */
.header__logo span {
  display: inline-block;
  border-bottom: 3px solid var(--color-brand);
  padding-bottom: 1px;
}

.nav { display: none; }

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  display: inline-block;
}
.nav__link:hover {
  background: var(--color-brand-subtle);
  box-shadow: inset 0 -3px 0 var(--color-brand);
  color: var(--color-text);
}
.nav__link[aria-current="page"] {
  font-weight: var(--weight-semibold);
  box-shadow: inset 0 -3px 0 var(--color-brand);
}

.burger {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid var(--color-text);
  border-radius: var(--radius-md);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
}

.burger__line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: transform var(--duration-normal) var(--ease), opacity var(--duration-fast) var(--ease);
}

.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* CTA header masqué en mobile (présent dans le menu drawer), affiché en desktop */
.header__inner > .btn--primary { display: none; }

@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: var(--space-xs); }
  .burger { display: none; }
  .header__inner > .btn--primary { display: inline-flex; }
}

/* Drawer mobile */
.drawer {
  position: fixed;
  inset: 0;                       /* plein ecran : couvre la barre d'annonce ET le header */
  background: var(--color-bg);
  z-index: 400;                   /* au-dessus du header (100), de l'annonce et du bandeau cookies (300) */
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: calc(var(--space-2xl) + var(--space-lg)) var(--space-lg) var(--space-lg);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--duration-slow) var(--ease), visibility 0s linear var(--duration-slow);
  overflow-y: auto;
}
.drawer__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.drawer__close:hover { background: var(--color-bg-subtle); }
.drawer[data-open="true"] { transform: translateX(0); visibility: visible; transition: transform var(--duration-slow) var(--ease), visibility 0s; }

.drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.drawer .nav__link {
  font-size: var(--text-lg);
  padding: var(--space-md);
  min-height: 44px;
  display: block;
  border-radius: var(--radius-md);
}
.drawer .btn { margin-top: var(--space-md); }

/* ============================================================
   BARRE D'ANNONCE (annonce fine en haut de page)
   ============================================================ */
.announce-bar {
  background: var(--color-brand);              /* jaune petant */
  border-bottom: 1px solid #ffffff;            /* la ligne en blanc */
  padding: var(--space-xs) var(--space-lg);
  text-align: center;
  font-size: var(--text-xs);
  color: #322417;                              /* texte marron */
}
.announce-bar a {
  color: #322417;
  font-weight: var(--weight-semibold);
  text-decoration: underline;
  text-decoration-color: #322417;
  text-decoration-thickness: 2px;
}
.announce-bar a:hover { color: #000000; text-decoration-color: #000000; }

/* Pastille jaune d'annonce */
.announce-bar__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #322417;
  border-radius: var(--radius-full);
  margin-right: var(--space-xs);
  vertical-align: middle;
}

/* ============================================================
   BLOC SECTION - CONTENEUR GÉNÉRIQUE (design-system §4bis.0)
   ============================================================ */
.block {
  padding-block: var(--section-gap);
  position: relative;
  overflow: clip;
}
.block__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}
.block--wide .block__inner { max-width: var(--container-wide); }

.section-head {
  max-width: var(--measure-narrow);
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.section-head--start {
  text-align: left;
  margin-inline: 0;
}
.section-head h2 { margin-top: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

/* ============================================================
   PRIMITIVES GRAPHIQUES (design-system §4bis.1)
   ============================================================ */
.blob {
  position: absolute;
  z-index: 0;
  background: var(--blob-fill);
  border-radius: var(--blob-radius-1);
  pointer-events: none;
}
.blob--2 {
  border-radius: var(--blob-radius-2);
  background: var(--blob-fill-subtle);
}
@keyframes blob-morph { 50% { border-radius: var(--blob-radius-2); } }
.blob--animated { animation: blob-morph 14s var(--ease) infinite alternate; }

.pastille {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background: var(--color-brand);
  color: var(--color-on-brand);
}
.pastille--lg  { width: 3.5rem; height: 3.5rem; }
.pastille--ink { background: var(--color-dark); color: var(--color-brand); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: var(--pill-pad-y) var(--pill-pad-x);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
}
.badge--brand   { background: var(--color-brand); color: var(--color-on-brand); }
.badge--outline { background: transparent; border: 1.5px solid var(--color-border-strong); color: var(--color-text); }
.badge--ink     { background: var(--color-dark); color: var(--color-text-on-dark); }

.list-dots { list-style: none; padding: 0; }
.list-dots li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
}
.list-dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: var(--radius-full);
  background: var(--color-brand);
}

.rule {
  display: block;
  width: 3rem;
  height: var(--rule-thickness);
  background: var(--rule-color);
  border: 0;
  border-radius: var(--radius-full);
  margin: var(--space-md) 0;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  text-decoration: none;
}
.arrow-link .icon { transition: transform var(--duration-normal) var(--ease); }
.arrow-link:hover { color: var(--color-link); }
.arrow-link:hover .icon { transform: translateX(3px); }

/* ============================================================
   HERO D'ACCUEIL 2 COLONNES (design-system §4bis.2)
   ============================================================ */
.hero {
  padding-block: var(--space-md) var(--space-2xl);
  position: relative;
  overflow: clip;
  display: flex;
  align-items: center;
}
.hero__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.15rem, 1.8rem + 1.25vw, 3.3rem);
  font-weight: var(--weight-heading-strong);
  font-variation-settings: var(--fraunces-axes-display);
  margin: 0 0 var(--space-md);
  max-width: 14ch;
  line-height: var(--leading-tight);
}
.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text);
  max-width: 46ch;
  margin: 0 0 var(--space-lg);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
/* Garantit le texte blanc du bouton noir du hero (anti-override / anti-cache) */
.hero__actions .btn--primary,
.hero__actions .btn--primary:hover,
.hero__actions .btn--primary:focus,
.hero__actions .btn--primary:visited {
  color: #ffffff;
}
.hero__proof {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  flex-wrap: wrap;
}
.hero__stars { color: var(--color-brand); letter-spacing: -0.05em; }
.hero__avatars {
  display: inline-flex;
}
.hero__avatars .avatar {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-bg);
  background: var(--neutral-200);
  margin-left: -0.5rem;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: var(--weight-bold);
  color: var(--color-text-muted);
}
.hero__avatars .avatar:first-child { margin-left: 0; }

/* Colonne visuelle */
.hero__visual { position: relative; }
.hero__visual .blob {
  width: 115%;
  height: 115%;
  inset: -7% -7% auto auto;
  /* Blob jaune derrière la photo : rappel de marque, pas un aplat */
  opacity: 0.75;
}
.hero__preview {
  position: relative;
  z-index: 1;
  /* Pas de overflow:hidden ni background : la photo gère son propre cadrage */
}

/* Photo hero - remplace le placeholder CSS */
.hero__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-xl);
  /* Ombre portée nette pour cadrage façon Mailchimp */
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(36, 28, 21, 0.10);
}

@media (min-width: 1024px) {
  .hero { min-height: calc(100svh - 6rem); }
  .hero__grid { grid-template-columns: 1fr 1.12fr; gap: var(--space-2xl); align-items: center; }
  .hero > .container { width: 100%; }
}

/* ============================================================
   BARRE DE CONFIANCE (design-system §4bis.3)
   ============================================================ */
.trustbar { padding-block: var(--space-2xl); }
.trustbar__label {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
}
.trustbar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl) var(--space-3xl);
}
/* Logos placeholder CSS (vraies images viendront plus tard) */
.trustbar__logo-placeholder {
  height: 2rem;
  min-width: 80px;
  background: var(--neutral-300);
  border-radius: var(--radius-sm);
  opacity: 0.5;
  transition: opacity var(--duration-normal) var(--ease);
}
.trustbar__logo-placeholder:hover { opacity: 0.8; }

/* ============================================================
   GRILLE DE FEATURES / SERVICES (design-system §4bis.4)
   ============================================================ */
.features {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, 1fr); } }

.feature {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition:
    box-shadow var(--duration-normal) var(--ease),
    transform var(--duration-normal) var(--ease);
}
.feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  font-variation-settings: var(--fraunces-axes);
  margin: var(--space-xs) 0 0;
}
.feature__text {
  color: var(--color-text);
  font-size: var(--text-sm);
  margin: 0;
}

/* ============================================================
   FEATURE FLIP CARD - retourne au survol pour révéler une photo
   ============================================================ */
.feature--flip {
  position: relative;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  perspective: 1400px;
  min-height: 340px;
}
.feature--flip:hover {
  box-shadow: none;
  transform: none;
}
.feature__inner {
  position: relative;
  width: 100%;
  min-height: 340px;
  transition: transform var(--duration-slow) var(--ease);
  transform-style: preserve-3d;
}
/* Le retournement ne s'active que sur appareils avec survol réel (souris) :
   désactivé sur tablette/téléphone tactiles où il n'a pas de sens. */
@media (hover: hover) and (pointer: fine) {
  .feature--flip:hover .feature__inner {
    transform: rotateY(180deg);
  }
}
.feature__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.feature__front {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.feature__back {
  justify-content: flex-end;
  background: var(--color-dark);
  border: 1px solid var(--color-dark);
  transform: rotateY(180deg);
  text-decoration: none;
}
.feature__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.04);
  z-index: 0;
}
.feature__back::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(36, 28, 21, 0.94) 0%,
    rgba(36, 28, 21, 0.6) 45%,
    rgba(36, 28, 21, 0.25) 100%
  );
  z-index: 1;
}
.feature__back-content {
  position: relative;
  z-index: 2;
}
.feature__back .feature__title {
  color: var(--color-text-on-dark);
  margin: 0;
}
.feature__back-content .arrow-link {
  color: var(--color-brand);
  margin-top: var(--space-2xs);
}
/* Accessibilité : pas de retournement si l'utilisateur préfère moins d'animations */
@media (prefers-reduced-motion: reduce) {
  .feature__inner {
    transition: none;
  }
  .feature--flip:hover .feature__inner {
    transform: none;
  }
}

/* ============================================================
   CHIFFRES CLÉS - FOND BLANC (règle couleur prioritaire)
   ============================================================ */
.stats-white {
  background: var(--color-bg);
}
.stats-white__grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}
@media (min-width: 768px) { .stats-white__grid { grid-template-columns: repeat(4, 1fr); } }

.stat-white__num {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-heading-strong);
  font-variation-settings: var(--fraunces-axes-display);
  line-height: 1;
  color: var(--color-text-heading);
  /* Accent jaune : soulignement sous le chiffre */
  border-bottom: var(--rule-thickness) solid var(--color-brand);
  padding-bottom: var(--space-xs);
  display: inline-block;
  margin-bottom: var(--space-xs);
}
.stat-white__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  display: block;
}

/* ============================================================
   BLOC ÉDITORIAL 2 COLONNES (design-system §4bis.6)
   ============================================================ */
.split {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}
.split__media { position: relative; }
.split__media .blob { width: 110%; height: 110%; inset: auto auto -5% -5%; }
.split__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.split__title { font-size: var(--text-2xl); margin-top: 0; }

/* Placeholder visuel pour split */
.split__placeholder {
  aspect-ratio: 5 / 4;
  background: var(--neutral-100);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-4xl); }
  .split--reverse .split__media { order: -1; }
}

/* ============================================================
   TÉMOIGNAGES (design-system §4bis.7) - cartes blanches
   ============================================================ */
.testimonials-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.testimonial-card__mark {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-heading-strong);
  color: var(--color-brand);
  line-height: 0.8;
  display: block;
  font-variation-settings: var(--fraunces-axes-display);
}
.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  font-variation-settings: var(--fraunces-axes);
  line-height: var(--leading-heading);
  color: var(--color-text-heading);
  margin: 0;
  flex: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
  margin-top: auto;
}
.testimonial-card__author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--neutral-200);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.testimonial-card__author strong { color: var(--color-text); font-weight: var(--weight-semibold); display: block; }

/* ============================================================
   FAQ (design-system §4.13)
   ============================================================ */
.faq-list { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-variation-settings: var(--fraunces-axes);
  font-size: var(--text-lg);
  color: var(--color-text-heading);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  flex-shrink: 0;
  font-size: var(--text-base);
  color: var(--color-on-brand);
  background: var(--color-brand);
  border-radius: var(--radius-full);
  transition: transform var(--duration-normal) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer {
  padding-bottom: var(--space-lg);
  max-width: var(--measure);
  color: var(--color-text);
}
.faq-item__answer p:last-child { margin-bottom: 0; }
.faq-item summary:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}

/* ============================================================
   NEWSLETTER - CARTE BLANCHE (règle couleur prioritaire)
   ============================================================ */
.newsletter-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-3xl);
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin-inline: auto;
  /* Petit accent jaune : trait gauche */
  border-left: 5px solid var(--color-brand);
}
.newsletter-card__eyebrow { margin-bottom: var(--space-sm); }
.newsletter-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  font-variation-settings: var(--fraunces-axes);
  color: var(--color-text-heading);
  margin-top: 0;
  margin-bottom: var(--space-sm);
}
.newsletter-card__desc {
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  font-size: var(--text-base);
}
.newsletter-card__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.newsletter-card__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
@media (min-width: 560px) {
  .newsletter-card__row { flex-direction: row; }
  .newsletter-card__row .input { flex: 1; }
}
.newsletter-card__rgpd {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
}
.newsletter-card__rgpd a { color: var(--color-link); }

/* Message de succès */
.newsletter-success {
  display: none;
  background: var(--color-success-bg);
  border: 1px solid var(--color-success);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: var(--color-success);
  text-align: center;
}

/* ============================================================
   CTA FINAL (§4bis.8 adapté - fond clair, pas jaune plein)
   ============================================================ */
.cta-final {
  background: var(--color-bg-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl) var(--space-xl);
  text-align: center;
  max-width: var(--container);
  margin-inline: auto;
  position: relative;
  overflow: clip;
}
.cta-final__title {
  font-size: var(--text-3xl);
  max-width: 18ch;
  margin: 0 auto var(--space-md);
  line-height: var(--leading-tight);
}
.cta-final__text {
  max-width: 50ch;
  margin: 0 auto var(--space-xl);
  color: var(--color-text-muted);
}
.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}
/* Petit accent jaune décoratif dans le coin */
.cta-final__accent {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 12rem;
  height: 12rem;
  background: var(--color-brand);
  opacity: 0.12;
  border-radius: var(--blob-radius-1);
  pointer-events: none;
}

/* ============================================================
   SECTION PAR MÉTIER (chips / liens rapides)
   ============================================================ */
.metier-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5em 1.1em;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border-strong);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  text-decoration: none;
  background: var(--color-surface);
  transition:
    border-color var(--duration-normal) var(--ease),
    background var(--duration-normal) var(--ease),
    color var(--duration-normal) var(--ease);
  min-height: 44px;
}
.chip:hover {
  border-color: var(--color-brand);
  background: var(--color-brand-subtle);
  color: var(--color-text);
}
.chip__icon {
  font-size: 1.1em;
  line-height: 1;
}

/* ============================================================
   MÉTHODE / ÉTAPES NUMÉROTÉES
   ============================================================ */
.steps {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
  counter-reset: steps;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  counter-increment: steps;
}
.step__num {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-heading-strong);
  font-variation-settings: var(--fraunces-axes-display);
  color: var(--color-brand);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-sm);
}
/* Numéros d'étape colorés, dans le même esprit que le jaune */
.steps .step:nth-child(1) .step__num { color: #157a52; }
.steps .step:nth-child(2) .step__num { color: var(--accent-blue); }
.steps .step:nth-child(3) .step__num { color: var(--accent-purple); }
.steps .step:nth-child(4) .step__num { color: #c4620a; }
.step__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  font-variation-settings: var(--fraunces-axes);
  margin: 0 0 var(--space-sm);
}
.step__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* ============================================================
   MÉGA-FOOTER (design-system §4.8)
   ============================================================ */
.footer {
  background: var(--color-dark);
  color: var(--color-text-on-dark);
  padding-block: var(--space-4xl) var(--space-xl);
  margin-top: var(--section-gap);
}
.footer__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

/* (A) Bloc haut */
.footer__top {
  display: grid;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--ink-700);
}
@media (min-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; align-items: start; gap: var(--space-4xl); }
}

.footer__brand { max-width: 38ch; }
.footer__logo {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading-strong);
  font-variation-settings: var(--fraunces-axes-display);
  font-size: var(--text-2xl);
  color: var(--color-text-on-dark);
  text-decoration: none;
  display: inline-block;
}
.footer__logo:hover,
.footer__logo:visited { color: var(--color-text-on-dark); }

.footer__logo-accent {
  color: var(--color-brand);
}

.footer__pitch {
  color: var(--neutral-300);
  font-size: var(--text-sm);
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

.footer__news-title {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-variation-settings: var(--fraunces-axes);
  font-size: var(--text-lg);
  color: var(--color-text-on-dark);
  margin: 0 0 var(--space-sm);
}
.footer__news-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer__news-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer__news-form .input {
  background: var(--ink-800);
  border-color: var(--ink-700);
  color: var(--color-text-on-dark);
}
.footer__news-form .input::placeholder { color: var(--neutral-500); }
.footer__news-form .input:focus-visible {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(255, 224, 27, 0.2);
}
.footer__news-form .btn--highlight { white-space: nowrap; }
.footer__news-rgpd {
  font-size: var(--text-xs);
  color: var(--neutral-400);
  margin: 0;
}
.footer__news-rgpd a { color: var(--color-brand); text-decoration: underline; }
@media (min-width: 560px) {
  .footer__news-row { flex-direction: row; }
  .footer__news-row .input { flex: 1; }
}

/* (B) 6 colonnes de liens */
.footer__cols {
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: 1fr;
  padding-block: var(--space-3xl);
}
@media (min-width: 560px) { .footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .footer__cols { grid-template-columns: repeat(5, 1fr); } }

.footer__title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neutral-400);
  margin-bottom: var(--space-md);
  margin-top: 0;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.footer a {
  color: var(--color-text-on-dark);
  text-decoration: none;
  display: inline-block;
  padding: var(--space-2xs) 0;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  transition: color var(--duration-fast) var(--ease);
}
.footer a:hover {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* (C) Rangée basse */
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  border-top: 1px solid var(--ink-700);
  padding-top: var(--space-lg);
  font-size: var(--text-sm);
}
.footer__bottom-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
}
.footer__bottom-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm) var(--space-lg);
  width: 100%;
}
@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  background: transparent;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-md);
  color: var(--color-text-on-dark);
  padding: var(--space-2xs) var(--space-sm);
  font-size: var(--text-sm);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color var(--duration-fast) var(--ease);
}
.lang-switch:hover { border-color: var(--color-brand); }

.footer__social {
  display: inline-flex;
  gap: var(--space-sm);
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background: var(--ink-800);
  color: var(--color-text-on-dark);
  padding: 0;
  font-size: 0.85em;
  transition:
    background var(--duration-normal) var(--ease),
    color var(--duration-normal) var(--ease);
}
.footer__social a:hover {
  background: var(--color-brand);
  color: var(--color-on-brand);
  text-decoration: none;
}

.footer__copyright { color: var(--neutral-400); font-size: var(--text-xs); }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.footer__legal a {
  color: var(--neutral-400);
  font-size: var(--text-xs);
  padding: 0;
}
.footer__legal a:hover { color: var(--color-brand); }

/* ============================================================
   BANDEAU COOKIES (design-system §4.10)
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: var(--z-cookie);
  max-width: 560px;
  margin-inline: auto;
  background: var(--color-dark);
  color: var(--color-text-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-slow) var(--ease), opacity var(--duration-slow) var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-hiding {
  transform: translateY(calc(100% + var(--space-md)));
  opacity: 0;
}
.cookie-banner__text {
  font-size: var(--text-sm);
  margin: 0 0 var(--space-md);
  line-height: var(--leading-body);
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}
.cookie-banner a { color: var(--color-brand); text-decoration: underline; }
.cookie-banner .btn--ghost {
  color: var(--color-text-on-dark);
  font-size: var(--text-sm);
}
.cookie-banner .btn--ghost:hover { background: var(--color-dark-surface); }

/* ============================================================
   SECTION PERSONA CARDS (design-system §4.15)
   ============================================================ */
.persona-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .persona-grid { grid-template-columns: repeat(3, 1fr); } }

.persona-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition:
    border-color var(--duration-normal) var(--ease),
    box-shadow var(--duration-normal) var(--ease),
    transform var(--duration-normal) var(--ease);
}
.persona-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-brand-border);
  box-shadow: var(--shadow-md);
}
.persona-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--color-brand);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease);
}
.persona-card:hover::before { opacity: 1; }

.persona-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  background: var(--color-brand);
  color: var(--color-on-brand);
  font-size: 1.5rem;
}

.persona-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  font-variation-settings: var(--fraunces-axes);
  margin: 0;
}

.persona-card__desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: 0;
  flex: 1;
}

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

/* ============================================================
   SECTION WRAPPER GÉNÉRIQUE
   ============================================================ */
.section {
  padding-block: var(--section-gap);
}
.section--tight {
  padding-block: var(--space-2xl);
}
.section--border-top {
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   PROSE (contenu éditorial)
   ============================================================ */
.prose a { color: var(--color-link); text-decoration: underline; text-decoration-color: var(--color-brand); text-decoration-thickness: 2px; text-underline-offset: 2px; font-weight: var(--weight-medium); }
.prose a:hover { color: var(--color-link-hover); text-decoration-thickness: 2px; }
.prose ol { padding-left: var(--space-lg); }
.prose ol li { margin-bottom: var(--space-sm); }

/* ============================================================
   SECTION TITLE - titre de section dans les hubs
   ============================================================ */
.section__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-heading);
  font-variation-settings: var(--fraunces-axes);
  color: var(--color-text-heading);
  margin-top: 0;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-sm);
  border-bottom: var(--rule-thickness) solid var(--color-brand);
  display: inline-block;
}

/* ============================================================
   FORMULAIRE - résumé erreurs + succès
   ============================================================ */
.form-error-summary {
  background: var(--color-error-bg);
  border: 1px solid var(--color-error);
  border-left: 4px solid var(--color-error);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  color: var(--color-error);
}
.form-error-summary strong { display: block; margin-bottom: var(--space-xs); }
.form-error-summary ul { margin: 0; padding-left: var(--space-lg); }
.form-error-summary a { color: var(--color-error); font-weight: var(--weight-semibold); }

.form-success {
  background: var(--color-success-bg);
  border: 1px solid var(--color-success);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  color: var(--color-success);
  text-align: center;
}

/* ============================================================
   CARD SANS IMAGE - accent coloré en tête de carte
   ============================================================ */
.card--accent-top::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--color-brand);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ============================================================
   STATS MINI (bloc informatif visuel dans split section)
   ============================================================ */
.stats-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.stat-mini {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid rgba(255,255,255,0.12);
}
.stat-mini__num {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-heading-strong);
  font-variation-settings: var(--fraunces-axes-display);
  color: var(--color-brand);
  line-height: 1;
  display: block;
}
.stat-mini__label {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark);
  opacity: 0.8;
  margin-top: var(--space-2xs);
  display: block;
}

/* ============================================================
   FIL D'ARIANE (design-system §4.9)
   ============================================================ */
.breadcrumb { padding-block: var(--space-md); font-size: var(--text-sm); border-bottom: 1px solid var(--color-border); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: var(--space-xs); color: var(--color-text-muted); }
.breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-link); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--color-text); font-weight: var(--weight-medium); }
@media (max-width: 480px) { .breadcrumb li:first-child { display: none; } }

/* ============================================================
   HERO PILIER
   ============================================================ */
.pilier-hero { padding-block: var(--space-2xl) var(--space-xl); text-align: center; }
.pilier-hero__content { max-width: 64ch; margin-inline: auto; }
.pilier-hero .meta-row { justify-content: center; }
.pilier-hero__title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-heading-strong);
  font-variation-settings: var(--fraunces-axes-display);
  line-height: var(--leading-tight);
  margin: var(--space-md) 0 var(--space-lg);
}
.pilier-hero__intro {
  font-size: var(--text-lg);
  color: var(--color-text);
  max-width: 62ch;
  margin: 0 auto var(--space-lg);
  line-height: var(--leading-relaxed);
}
.pilier-hero__visual { margin-top: var(--space-xl); }
.pilier-hero__img {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(36, 28, 21, 0.10);
}

/* ============================================================
   TABLE DES MATIÈRES (design-system §4.11)
   ============================================================ */
.toc { font-size: var(--text-sm); }
.toc__title {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  color: var(--color-text-heading);
  margin: 0 0 var(--space-sm);
  font-size: var(--text-base);
}
.toc a,
.toc__link {
  display: block;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2xs) 0;
  border-left: 3px solid transparent;
  padding-left: var(--space-sm);
  line-height: 1.4;
  transition: color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}
.toc a:hover,
.toc__link:hover { color: var(--color-text); }
.toc a[aria-current="true"],
.toc__link[aria-current="true"] {
  color: var(--color-text);
  border-left-color: var(--color-brand);
  font-weight: var(--weight-semibold);
}

/* Résumé audio des articles (ElevenLabs) */
.audio-resume {
  max-width: 72ch;
  margin: 0 auto var(--space-xl);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-subtle);
}
.audio-resume__label {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  margin: 0 0 var(--space-sm);
  color: var(--color-text-heading);
}
.audio-resume__icon { color: var(--color-action); margin-right: var(--space-2xs); }
.audio-resume audio { width: 100%; height: 40px; }

/* Sommaire des articles de blog : accordeon visible a toutes les tailles (1 colonne) */
.toc--article {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin: 0 auto var(--space-2xl);
  max-width: 72ch;
}
.toc--article summary {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  color: var(--color-text-heading);
  cursor: pointer;
  font-size: var(--text-base);
  padding: var(--space-2xs) 0;
}
.toc--article summary:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
  border-radius: var(--radius-sm);
}
.toc--article nav { margin-top: var(--space-sm); }

/* Mobile : accordéon fermé par défaut */
.toc--mobile {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-xl);
}
.toc--mobile summary {
  font-weight: var(--weight-semibold);
  cursor: pointer;
  font-size: var(--text-base);
  padding: var(--space-2xs) 0;
}
.toc--mobile summary:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
  border-radius: var(--radius-sm);
}
.toc--mobile nav {
  margin-top: var(--space-sm);
}

/* Desktop : layout 2 colonnes article + TOC sticky */
@media (min-width: 1024px) {
  .article-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, var(--measure));
    gap: var(--space-3xl);
    align-items: start;
    padding-block: var(--space-2xl);
  }
  .toc--desktop {
    position: sticky;
    top: calc(var(--header-h) + var(--space-lg));
    z-index: var(--z-toc);
  }
  .toc--mobile { display: none; }
}
@media (max-width: 1023px) {
  .toc--desktop { display: none; }
  .article-layout { padding-block: var(--space-xl); }
}

/* ============================================================
   BLOCS ÉDITORIAUX (design-system §4.12)
   ============================================================ */

/* Callout / encadré à retenir */
.callout {
  border: 1px solid var(--color-info);
  background: var(--color-info-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-block: var(--space-xl);
}
.callout__title {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  color: var(--color-info);
  margin: 0 0 var(--space-sm);
  font-size: var(--text-base);
}
.callout--brand {
  border-color: var(--color-brand-border);
  border-left: 4px solid var(--color-brand);
  background: var(--color-brand-subtle);
}
.callout--brand .callout__title { color: var(--color-text-heading); }
.callout--tip { border-color: var(--color-success); background: var(--color-success-bg); }
.callout--tip .callout__title { color: var(--color-success); }
.callout--warning { border-color: var(--color-warning); background: var(--color-warning-bg); }
.callout--warning .callout__title { color: var(--color-warning); }
.callout p:last-child { margin-bottom: 0; }
.callout ol { padding-left: var(--space-lg); margin-bottom: 0; }
.callout ol li { margin-bottom: var(--space-xs); }

/* Tableau de prix */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-block: var(--space-xl);
  font-size: var(--text-sm);
}
.price-table caption {
  text-align: left;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
  caption-side: top;
}
.price-table th,
.price-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.price-table thead th {
  background: var(--color-bg-subtle);
  color: var(--color-text-heading);
  font-weight: var(--weight-semibold);
}
.price-table tbody tr:hover { background: var(--color-brand-subtle); }
.price-table .price { font-weight: var(--weight-bold); color: var(--color-text-heading); white-space: nowrap; }

/* ============================================================
   FAQ ACCORDÉON (design-system §4.13)
   ============================================================ */
.faq-list { margin-block: var(--space-lg); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-lg);
  color: var(--color-text-heading);
  list-style: none;
  font-variation-settings: var(--fraunces-axes);
  font-optical-sizing: auto;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  flex-shrink: 0;
  font-size: var(--text-base);
  color: var(--color-on-brand);
  background: var(--color-brand);
  border-radius: var(--radius-full);
  transition: transform var(--duration-normal) var(--ease);
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer { padding-bottom: var(--space-lg); max-width: var(--measure); }
.faq-item__answer p:last-child { margin-bottom: 0; }
.faq-item summary:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
  border-radius: var(--radius-sm);
}

/* ============================================================
   META E-E-A-T (design-system §4.14)
   ============================================================ */
.author-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}
.meta-row .updated { font-weight: var(--weight-medium); color: var(--color-text); }
.meta-row svg { vertical-align: middle; flex-shrink: 0; }

/* ============================================================
   BLOC CTA CONTEXTUEL (design-system §4.4)
   ============================================================ */
.cta-block {
  background: var(--color-brand-subtle);
  border: 1px solid var(--color-brand-border);
  border-left: 6px solid var(--color-brand);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-block: var(--space-2xl);
  max-width: var(--measure);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.cta-block__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin: 0;
  font-variation-settings: var(--fraunces-axes);
  font-optical-sizing: auto;
  font-weight: var(--weight-semibold);
}
.cta-block__text { color: var(--color-text); margin: 0; }
@media (min-width: 768px) {
  .cta-block { flex-direction: row; align-items: center; gap: var(--space-xl); }
  .cta-block__content { flex: 1; }
}

/* ============================================================
   LAYOUT 2 COLONNES - page contact
   ============================================================ */
.contact-layout {
  display: grid;
  gap: var(--space-3xl);
  max-width: var(--container);
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
  }
}

/* ============================================================
   BLOC AUTEUR (page pilier / article)
   ============================================================ */
.auteur-bloc {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  max-width: 72ch;
}
.auteur-bloc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  background: var(--color-brand);
  color: var(--color-on-brand);
  flex-shrink: 0;
}
.auteur-bloc__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin: 0 0 var(--space-sm);
  font-variation-settings: var(--fraunces-axes);
  font-optical-sizing: auto;
}
.auteur-bloc__text {
  color: var(--color-text);
  margin: 0 0 var(--space-md);
  font-size: var(--text-base);
}
@media (max-width: 599px) {
  .auteur-bloc { flex-direction: column; gap: var(--space-md); }
}
.prose a:hover { color: var(--color-link-hover); text-decoration-thickness: 2px; }
