/* ============================================================
   AlphaCor — Feuille de style de production
   Design System v1.0 · accent « Vert France »
   Nomenclature de tokens : --color-primary, --surface-2,
   --text-muted, --space-4, --radius-md, --shadow-md, etc.
   Thème clair unique (pas de mode sombre).
   Aucun framework. Aucune dépendance JS. ≤ 60 Ko.
   ============================================================ */

/* -----------------------------------------------------------
   1. TOKENS — MODE CLAIR (défaut)
   ----------------------------------------------------------- */
:root {
  /* neutres chauds */
  --bg: #F4F0E9;
  --surface-1: #FFFFFF;
  --surface-2: #FBF8F2;
  --surface-3: #ECE6DB;
  --border: #E4DDD0;
  --border-strong: #D0C7B6;
  --text-strong: #171310;
  --text: #423B30;
  --text-muted: #726855;

  /* marque — Vert France */
  --color-primary: #1B6E3B;
  --color-primary-hover: #155A30;
  --color-primary-ink: #186637;
  --color-primary-weak: #E3F0E8;
  --color-primary-contrast: #FFFFFF;

  /* conversion — Ambre industriel (réservé aux CTA de réservation, cf. 01-CHARTE §1.3) */
  --cta: #C7480E;
  --cta-hover: #A83C0E;
  --cta-ink: #8A310A;
  --cta-weak: #FBEADF;
  --cta-contrast: #FFFFFF;

  /* états */
  --color-success: #1F7A44;  --color-success-weak: #E3F0E8;
  --color-warning: #9A6100;  --color-warning-weak: #F7ECD6;
  --color-error:   #B4322A;  --color-error-weak:   #F8E3E1;
  --color-info:    #235FA6;  --color-info-weak:    #E4EDF7;

  /* élévation */
  --shadow-sm: 0 1px 2px rgba(35, 22, 10, .06);
  --shadow-md: 0 6px 20px -6px rgba(35, 22, 10, .14);
  --shadow-lg: 0 28px 56px -16px rgba(35, 22, 10, .20);

  /* espacement — échelle 4 / 8 */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;
  --space-4: 16px;  --space-5: 24px;  --space-6: 32px;
  --space-7: 48px;  --space-8: 64px;  --space-9: 96px;
  --space-10: 128px;

  /* rayons */
  --radius-sm: 4px;  --radius-md: 8px;  --radius-lg: 14px;
  --radius-xl: 22px; --radius-pill: 999px;

  /* largeurs */
  --content: 1160px;
  --content-narrow: 720px;

  /* typographie */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  color-scheme: light;
}

/* Le site est CLAIR uniquement (06-SPEC §1). Pas de mode sombre : les blocs sombres
   (hero--dark, proof-band, cta-final, testimonial) sont des sections de design d'un
   site clair, dessinées explicitement — pas un thème. */

/* -----------------------------------------------------------
   2. RESET & BASE
   ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--color-primary-ink); text-decoration: none; }
a:hover { color: var(--color-primary-hover); text-decoration: underline; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

::selection { background: var(--color-primary); color: var(--color-primary-contrast); }

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* chiffres tabulaires — prix & résultats */
.tnum, .price, .stat, [data-tnum] { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

/* accessibilité */
.sr-only {
  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; left: var(--space-3); top: -60px;
  z-index: 200; background: var(--color-primary);
  color: var(--color-primary-contrast); padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md); font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: var(--space-3); text-decoration: none; }

/* -----------------------------------------------------------
   3. TYPOGRAPHIE
   ----------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.display, h1 { font-weight: 700; }
.display { font-size: clamp(2.5rem, 6vw, 4rem); line-height: .98; letter-spacing: -.03em; }
h1 { font-size: clamp(2.125rem, 4.4vw, 3rem); line-height: 1.05; }
h2 { font-size: clamp(1.6875rem, 3.6vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.375rem, 2.2vw, 1.625rem); font-weight: 600; line-height: 1.2; }
h4 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }

p { text-wrap: pretty; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--text); max-width: 62ch; }
.small { font-size: .9375rem; }
.muted { color: var(--text-muted); }

.eyebrow {
  font-family: var(--font-text);
  font-weight: 600; font-size: .75rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-primary-ink);
}

code, .mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .85em;
  background: var(--surface-3);
  padding: .1em .4em; border-radius: var(--radius-sm);
}

/* -----------------------------------------------------------
   4. LAYOUT
   ----------------------------------------------------------- */
.container { width: 100%; max-width: var(--content); margin-inline: auto; padding-inline: max(20px, 4vw); }
.container--narrow { max-width: var(--content-narrow); }

.section { padding-block: clamp(var(--space-8), 8vw, var(--space-9)); }
.section + .section { border-top: 1px solid var(--border); }
.section--alt { background: var(--surface-2); }

.stack > * + * { margin-top: var(--space-4); }
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* -----------------------------------------------------------
   5. BOUTONS
   ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  min-height: 44px;                 /* cible tactile */
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 600; font-size: .9375rem;
  line-height: 1.2; text-align: center; text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .15s ease, border-color .15s ease,
              transform .1s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--color-primary); color: var(--color-primary-contrast); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn--secondary { background: transparent; color: var(--text-strong); border-color: var(--border-strong); }
.btn--secondary:hover { border-color: var(--color-primary); background: var(--color-primary-weak); }

.btn--ghost { background: transparent; color: var(--color-primary-ink); }
.btn--ghost:hover { background: var(--color-primary-weak); }

/* CTA de conversion — Ambre industriel. Un seul .btn--cta visible par viewport. */
.btn--cta { background: var(--cta); color: var(--cta-contrast); border-color: var(--cta); box-shadow: var(--shadow-sm); }
.btn--cta:hover { background: var(--cta-hover); border-color: var(--cta-hover); transform: translateY(-1px); }
.btn--cta:active { transform: translateY(0); }
.btn--cta:focus-visible { outline-color: var(--cta); }
/* flèche qui glisse au survol */
.btn__arrow { display: inline-block; transition: transform .2s ease; }
.btn--cta:hover .btn__arrow { transform: translateX(3px); }

.btn--block { width: 100%; }
.btn--sm { min-height: 36px; padding: 8px 14px; font-size: .875rem; border-radius: var(--radius-sm); }

.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--surface-3); color: var(--text-muted);
  border-color: transparent; box-shadow: none;
  opacity: .7; cursor: not-allowed; transform: none;
}

/* -----------------------------------------------------------
   6. NAVIGATION
   ----------------------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-nav[data-scrolled="true"] {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -18px rgba(23, 19, 16, .45);
}
.site-nav__inner {
  max-width: var(--content); margin-inline: auto;
  padding-inline: max(20px, 4vw);
  min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  position: relative; z-index: 46; /* au-dessus du panneau mobile (z-45) : logo + croix visibles */
}
.site-nav__logo { display: flex; align-items: center; }
.site-nav__logo img { height: 26px; width: auto; transition: opacity .2s ease; }
.site-nav__logo:hover img { opacity: .72; }
.site-nav__links { display: flex; align-items: center; gap: clamp(var(--space-4), 2.4vw, var(--space-6)); list-style: none; }
.site-nav__links a:not(.btn) { position: relative; color: var(--text); font-weight: 400; font-size: .9375rem; padding-block: 4px; }
.site-nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px;
  background: var(--color-primary); border-radius: 2px; transition: right .22s ease;
}
.site-nav__links a:not(.btn):hover { color: var(--color-primary-ink); text-decoration: none; }
.site-nav__links a:not(.btn):hover::after,
.site-nav__links a[aria-current="page"]::after { right: 0; }
.site-nav__links a[aria-current="page"] { color: var(--text-strong); font-weight: 600; }
.site-nav__cta { white-space: nowrap; box-shadow: var(--shadow-sm); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-md); align-items: center; justify-content: center; flex-direction: column; gap: 5px; background: var(--surface-1); transition: border-color .2s ease; }
.nav-toggle:hover { border-color: var(--color-primary); }
.nav-toggle span { width: 18px; height: 2px; background: var(--text-strong); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.site-nav[data-open="true"] .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav[data-open="true"] .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav[data-open="true"] .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .site-nav__links { display: none; }
  .nav-toggle { display: flex; }
  .site-nav[data-open="true"] { background: var(--bg); border-bottom-color: var(--border); }
}

/* -----------------------------------------------------------
   6b. MENU MOBILE PLEIN ÉCRAN (06-SPEC §2) — desktop : masqué
   ----------------------------------------------------------- */
.nav-panel { display: none; }
@media (max-width: 860px) {
  .nav-panel {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 45;
    background: var(--bg);
    height: 100dvh;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .24s ease, transform .24s ease, visibility 0s linear .24s;
  }
  .site-nav[data-open="true"] .nav-panel {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .24s ease, transform .24s ease, visibility 0s;
  }
  .nav-panel:focus { outline: none; }
  .nav-panel__scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: calc(68px + var(--space-5)) max(20px, 5vw) var(--space-6); }
  .nav-panel__eyebrow {
    font-family: var(--font-text); font-weight: 700; font-size: .72rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary-ink);
    margin-bottom: var(--space-3);
  }
  .nav-panel__eyebrow + ul { margin-bottom: var(--space-6); }

  .nav-poles { list-style: none; display: flex; flex-direction: column; gap: 2px; }
  .nav-pole {
    display: flex; align-items: center; gap: var(--space-3);
    min-height: 52px; padding: 10px 8px; border-radius: var(--radius-md);
    color: var(--text-strong); text-decoration: none;
  }
  .nav-pole:hover, .nav-pole:focus-visible { background: var(--surface-2); text-decoration: none; }
  .nav-pole__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius-md);
    background: var(--color-primary-weak); color: var(--color-primary-ink);
    display: flex; align-items: center; justify-content: center; }
  .nav-pole__body { flex: 1; display: flex; flex-direction: column; gap: 1px; }
  .nav-pole__name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; letter-spacing: -.01em; }
  .nav-pole__desc { font-size: .875rem; color: var(--text-muted); line-height: 1.3; }
  .nav-pole__chev { flex-shrink: 0; color: var(--text-muted); display: flex; }

  .nav-accels { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px var(--space-4); }
  .nav-accels a { display: block; padding: 12px 8px; min-height: 44px; font-size: .9375rem;
    font-weight: 500; color: var(--text); border-radius: var(--radius-md); }
  .nav-accels a:hover, .nav-accels a:focus-visible { background: var(--surface-2); text-decoration: none; color: var(--color-primary-ink); }

  .nav-direct { list-style: none; display: flex; flex-direction: column;
    margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--border); }
  .nav-direct a { display: block; padding: 12px 8px; min-height: 48px;
    font-family: var(--font-display); font-weight: 600; font-size: 1.375rem;
    color: var(--text-strong); border-radius: var(--radius-md); }
  .nav-direct a:hover, .nav-direct a:focus-visible { background: var(--surface-2); text-decoration: none; }

  .nav-panel__cta {
    padding: var(--space-4) max(20px, 5vw) calc(var(--space-4) + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border); background: var(--surface-2);
  }
  .nav-panel__wa { text-align: center; font-size: .9rem; color: var(--text-muted); margin-top: var(--space-3); }
  .nav-panel__micro { text-align: center; font-size: .78rem; color: var(--text-muted); margin-top: 4px; }

  /* Cascade d'apparition des groupes (30 ms incrémental, 8 max) */
  @keyframes navFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .site-nav[data-open="true"] .nav-panel__scroll > * { animation: navFadeIn .3s cubic-bezier(.2, .7, .3, 1) both; }
  .site-nav[data-open="true"] .nav-panel__scroll > *:nth-child(1) { animation-delay: .03s; }
  .site-nav[data-open="true"] .nav-panel__scroll > *:nth-child(2) { animation-delay: .06s; }
  .site-nav[data-open="true"] .nav-panel__scroll > *:nth-child(3) { animation-delay: .09s; }
  .site-nav[data-open="true"] .nav-panel__scroll > *:nth-child(4) { animation-delay: .12s; }
  .site-nav[data-open="true"] .nav-panel__scroll > *:nth-child(5) { animation-delay: .15s; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .nav-panel { transition: none; }
  .site-nav[data-open="true"] .nav-panel__scroll > * { animation: none; }
}

/* -----------------------------------------------------------
   7. HERO
   ----------------------------------------------------------- */
.hero { padding-block: clamp(var(--space-8), 9vw, 120px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 6px 14px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: var(--space-6);
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary); }
.hero--dark { background: var(--text-strong); }
.hero--dark h1, .hero--dark .display { color: var(--bg); }
.hero--dark .lead { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.hero--dark .hero__badge { color: color-mix(in srgb, var(--bg) 70%, transparent); border-color: color-mix(in srgb, var(--bg) 25%, transparent); }
.accent { color: var(--color-primary); }

/* -----------------------------------------------------------
   8. CARTES & CARTES D'OFFRE
   ----------------------------------------------------------- */
.card {
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-6);
}
.card--pad-lg { padding: var(--space-7); }

.offer-card { transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.offer-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.offer-card h3 { margin-block: var(--space-4) var(--space-2); }
.offer-card p { color: var(--text-muted); font-size: .95rem; margin-bottom: var(--space-5); }
.offer-card__price { display: flex; align-items: baseline; gap: 6px; }
.offer-card__price b { font-family: var(--font-display); font-weight: 700; font-size: 1.625rem; color: var(--text-strong); }
.offer-card__price span { font-size: .8125rem; color: var(--text-muted); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--color-primary-ink);
  background: var(--color-primary-weak); padding: 5px 10px;
  border-radius: var(--radius-pill);
}

/* -----------------------------------------------------------
   9. ENCADRÉ TARIFAIRE (héros)
   ----------------------------------------------------------- */
.pricing { position: relative; }
.pricing__amount { display: flex; align-items: baseline; gap: 6px; padding-bottom: var(--space-5); border-bottom: 1px solid var(--border); }
.pricing__amount b { font-family: var(--font-display); font-weight: 700; font-size: 2.75rem; color: var(--text-strong); letter-spacing: -.02em; }
.pricing__amount span { font-size: 1.125rem; color: var(--text-muted); }
.pricing__list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-block: var(--space-5); }
.pricing__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text); }
.pricing__list svg { flex-shrink: 0; margin-top: 2px; color: var(--color-success); }

.pricing--featured { background: var(--text-strong); border-color: var(--text-strong); box-shadow: var(--shadow-lg); overflow: hidden; }
.pricing--featured h3, .pricing--featured .pricing__amount b { color: var(--bg); }
.pricing--featured .pricing__amount { border-bottom-color: color-mix(in srgb, var(--bg) 20%, transparent); }
.pricing--featured .pricing__amount span,
.pricing--featured p { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.pricing--featured .pricing__list li { color: var(--bg); }
.pricing--featured .pricing__list svg { color: var(--color-primary); }
.pricing__ribbon {
  position: absolute; top: 0; right: 0;
  background: var(--cta); color: var(--cta-contrast);
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 16px; border-bottom-left-radius: var(--radius-md);
}

/* -----------------------------------------------------------
   10. BANDEAU DE PREUVE CHIFFRÉE (signature)
   ----------------------------------------------------------- */
.proof-band { background: var(--text-strong); border-radius: var(--radius-xl); padding: clamp(var(--space-6), 4vw, var(--space-7)); }
.proof-band__grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.proof-band__grid--solo { grid-template-columns: auto 1fr; align-items: center; }
@media (max-width: 640px) { .proof-band__grid--solo { grid-template-columns: 1fr; gap: var(--space-4); } }
.proof-stat { border-left: 3px solid var(--color-primary); padding-left: var(--space-5); }
.proof-stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: .9; color: var(--bg); letter-spacing: -.03em; }
.proof-stat__num .unit { font-size: .5em; color: var(--color-primary); }
.proof-stat p { font-size: .95rem; color: color-mix(in srgb, var(--bg) 70%, transparent); margin-top: var(--space-3); line-height: 1.5; }

/* -----------------------------------------------------------
   11. CALCULATEUR (signature interactif)
   ----------------------------------------------------------- */
.calc { background: var(--surface-1); border: 1.5px solid var(--border-strong); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.calc__grid { display: grid; grid-template-columns: 1.15fr .85fr; }
.calc__controls { padding: clamp(var(--space-5), 3vw, var(--space-6)); }
.calc__tasks { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.calc__task {
  display: flex; align-items: center; gap: var(--space-3);
  width: 100%; text-align: left; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--surface-2); min-height: 44px;
  transition: border-color .15s ease;
}
.calc__task:hover { border-color: var(--color-primary); }
.calc__check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border-strong); display: flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s; }
.calc__task[aria-pressed="true"] .calc__check { background: var(--color-primary); border-color: var(--color-primary); }
.calc__check svg { color: var(--color-primary-contrast); opacity: 0; }
.calc__task[aria-pressed="true"] .calc__check svg { opacity: 1; }
.calc__task-label { flex: 1; font-size: .95rem; font-weight: 600; color: var(--text-strong); }
.calc__task-hours { flex-shrink: 0; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--text-muted); }
.calc__rate { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--border); }
.calc__rate-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-3); }
.calc__rate input[type="range"] { width: 100%; accent-color: var(--color-primary); height: 6px; }
.calc__result { background: var(--text-strong); padding: clamp(var(--space-5), 3vw, var(--space-6)); display: flex; flex-direction: column; justify-content: center; }
.calc__result-label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-primary); }
.calc__cost { display: flex; align-items: baseline; gap: 8px; margin-top: var(--space-4); }
.calc__cost b { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 6vw, 4rem); line-height: .9; color: var(--bg); letter-spacing: -.03em; }
.calc__cost span { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--color-primary); }
.calc__sub { display: flex; gap: var(--space-5); margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); }
.calc__sub b { font-family: var(--font-display); font-weight: 700; font-size: 1.625rem; color: var(--bg); }
.calc__sub .unit { font-size: .85rem; color: var(--color-primary); }
.calc__sub small { display: block; font-size: .78rem; color: color-mix(in srgb, var(--bg) 65%, transparent); margin-top: 2px; }

@media (max-width: 720px) { .calc__grid { grid-template-columns: 1fr; } }

/* -----------------------------------------------------------
   12. LISTE À COCHES & ÉTAPES
   ----------------------------------------------------------- */
.checklist { list-style: none; display: flex; flex-direction: column; gap: var(--space-4); }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; }
.checklist .tick { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--color-success-weak); display: flex; align-items: center; justify-content: center; }
.checklist .tick svg { color: var(--color-success); }

.steps { list-style: none; display: flex; flex-direction: column; gap: var(--space-5); }
.steps li { display: flex; gap: var(--space-4); align-items: flex-start; }
.steps .num { flex-shrink: 0; width: 34px; height: 34px; border-radius: var(--radius-md); background: var(--text-strong); color: var(--bg); font-family: var(--font-display); font-weight: 700; font-size: .9375rem; display: flex; align-items: center; justify-content: center; }
.steps li:last-child .num { background: var(--color-primary); color: var(--color-primary-contrast); }
.steps .num-title { font-weight: 600; font-size: .97rem; color: var(--text-strong); }
.steps .num-desc { font-size: .9rem; color: var(--text-muted); }

/* -----------------------------------------------------------
   13. FAQ ACCORDÉON
   ----------------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: var(--space-3); }
.faq__item { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); text-align: left; padding: 18px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.03rem; color: var(--text-strong); min-height: 44px; }
.faq__q .chevron { flex-shrink: 0; color: var(--color-primary); transition: transform .2s ease; }
.faq__item[open] .faq__q .chevron { transform: rotate(180deg); }
.faq__item summary { list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__a { padding: 0 22px 20px; font-size: .95rem; color: var(--text); line-height: 1.6; max-width: 60ch; }

/* -----------------------------------------------------------
   14. FORMULAIRES
   ----------------------------------------------------------- */
.field { display: block; }
.field + .field { margin-top: var(--space-4); }
.field > label { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; min-height: 44px;
  font-size: .95rem; color: var(--text-strong);
  background: var(--surface-2); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md); transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-weak);
}
.textarea { resize: vertical; min-height: 96px; font-family: inherit; }

/* -----------------------------------------------------------
   15. TÉMOIGNAGE
   ----------------------------------------------------------- */
.testimonial { background: var(--text-strong); border-radius: var(--radius-lg); padding: var(--space-7); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6); }
.testimonial__mark { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; color: var(--color-primary); line-height: 1; }
.testimonial__quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.4; color: var(--bg); }
.testimonial__foot { display: flex; align-items: center; gap: var(--space-4); padding-top: var(--space-5); border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); }
.testimonial__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-contrast); font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testimonial__name { font-weight: 600; font-size: .95rem; color: var(--bg); }
.testimonial__role { font-size: .82rem; color: color-mix(in srgb, var(--bg) 65%, transparent); }

/* -----------------------------------------------------------
   16. FOOTER
   ----------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--surface-2); }
.site-footer__inner { max-width: var(--content); margin-inline: auto; padding: var(--space-7) max(20px, 4vw); }
.site-footer small { font-size: .82rem; color: var(--text-muted); }
.site-footer__cols { display: grid; gap: var(--space-6); grid-template-columns: 1.5fr 1fr 1fr 1fr; padding-bottom: var(--space-6); }
@media (max-width: 860px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__cols { grid-template-columns: 1fr; } }
.site-footer__brand img { height: 40px; width: auto; margin-bottom: var(--space-3); }
.site-footer__brand p { max-width: 32ch; }
.site-footer__col { display: flex; flex-direction: column; gap: var(--space-2); }
.site-footer__col h2 { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); font-family: var(--font-text); margin-bottom: var(--space-1); }
.site-footer__col a { font-size: .9rem; color: var(--text); }
.site-footer__col a:hover { color: var(--color-primary-ink); }
.site-footer__bar { border-top: 1px solid var(--border); padding-top: var(--space-5); }

/* -----------------------------------------------------------
   17. MOTIF « SLASH » (illustration de marque)
   ----------------------------------------------------------- */
.slash-fill {
  background: var(--text-strong);
  background-image: repeating-linear-gradient(115deg, transparent 0 22px,
    color-mix(in srgb, var(--color-primary) 90%, transparent) 22px 30px, transparent 30px 60px);
}

/* -----------------------------------------------------------
   18. MOUVEMENT RÉDUIT
   ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* -----------------------------------------------------------
   19. EXTENSIONS SITE (mêmes tokens) — hero, tarifs, CTA, éléments de page
   ----------------------------------------------------------- */

/* Rangée de CTA du hero */
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin-top: var(--space-6); }
.chip-inline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  padding: 10px 16px; border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--bg) 25%, transparent);
  color: color-mix(in srgb, var(--bg) 80%, transparent);
}

/* Bande de stats sous le hero */
.hero-stats { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); }
.hero-stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--bg); letter-spacing: -.02em; }
.hero-stat b [data-countup] { display: inline; }
.hero-stat > span { display: block; font-size: .88rem; color: color-mix(in srgb, var(--bg) 68%, transparent); margin-top: 4px; }

/* Sous-titre de section */
.section__intro { max-width: 62ch; }
.section__intro .eyebrow { display: block; margin-bottom: var(--space-3); }
.section__intro h2 + p { margin-top: var(--space-3); color: var(--text-muted); }

/* Carte « douleur » (numérotée) */
.pain-card .k { font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .06em; color: var(--color-primary-ink); display: block; margin-bottom: var(--space-3); }
.pain-card h3 { font-size: 1.1rem; }
.pain-card p { color: var(--text-muted); font-size: .95rem; margin-top: var(--space-2); }

/* Table tarifaire (grille de prix complète) */
.tariff { width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-1); }
.tariff table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tariff th { text-align: left; font-family: var(--font-text); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); padding: 14px 18px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tariff td { padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text); }
.tariff tr:last-child td { border-bottom: none; }
.tariff td.amount { text-align: right; font-family: var(--font-display); font-weight: 700; color: var(--text-strong); white-space: nowrap; }
.tariff td .sub { display: block; font-size: .8rem; color: var(--text-muted); font-weight: 400; }
.tariff .name b { font-weight: 700; color: var(--text-strong); }
.tariff .pill { margin: 0; }

/* Prix temporairement masqués — pilotés par UNE seule classe sur <body> (00-DECISIONS §7).
   Retirer .prices-hidden (constante PRICES_HIDDEN=false dans build.mjs) ré-affiche tout. */
.price-blur { border-radius: var(--radius-sm); transition: filter .25s ease; }
body.prices-hidden .price-blur { filter: blur(7px); user-select: none; cursor: help; }
body.prices-hidden .price-blur:hover, body.prices-hidden .price-blur:focus { filter: blur(3px); }
.price-note { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-2); font-size: .82rem; color: var(--text-muted); font-style: italic; }

/* Carte cas client */
.case-card .sector { font-family: var(--font-text); font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-primary-ink); display: block; margin-bottom: var(--space-2); }
.case-card h3 { font-size: 1.1rem; }
.case-card p { color: var(--text-muted); font-size: .93rem; margin-top: var(--space-2); }
.case-card .result { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px dashed var(--border-strong); font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--text-strong); }

/* Bloc CTA final (sombre, centré) */
.cta-final { background: var(--text-strong); border-radius: var(--radius-xl); padding: clamp(var(--space-7), 6vw, var(--space-9)) var(--space-6); text-align: center; }
.cta-final h2 { color: var(--bg); max-width: 20ch; margin-inline: auto; }
.cta-final p { color: color-mix(in srgb, var(--bg) 72%, transparent); max-width: 52ch; margin: var(--space-3) auto var(--space-6); }
.cta-final .btn--secondary { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.cta-final .btn--secondary:hover { border-color: var(--bg); background: color-mix(in srgb, var(--bg) 10%, transparent); }
.cta-final .whatsapp { margin-top: var(--space-4); font-size: .9rem; color: color-mix(in srgb, var(--bg) 70%, transparent); }
.cta-final .whatsapp a { color: var(--bg); }

/* Deux colonnes offre (pôle site / contenus) */
.split { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tag-line { font-family: var(--font-text); font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-primary-ink); }

/* Page fondateur */
/* Page fondateur — signature typographique (sans photo) */
.founder-sign { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: color-mix(in srgb, var(--bg) 82%, transparent); }
.founder-sign b { color: var(--bg); }
.acte { display: grid; gap: var(--space-5); grid-template-columns: 160px 1fr; padding: var(--space-5) 0; border-top: 1px solid var(--border); }
@media (max-width: 640px) { .acte { grid-template-columns: 1fr; gap: var(--space-2); } }
.acte .period { font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--color-primary-ink); }
.acte h3 { font-size: 1.15rem; margin-bottom: var(--space-2); }
.acte p { color: var(--text-muted); font-size: .96rem; }
.acte .refs { font-size: .84rem; color: var(--text-muted); margin-top: var(--space-2); }
.skill-card .k { font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .06em; color: var(--color-primary-ink); display: block; margin-bottom: var(--space-2); }
.skill-card .proof { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px dashed var(--border-strong); font-size: .86rem; color: var(--text); }
.skill-card .proof b { color: var(--color-primary-ink); }

/* Cartes contact */
.contact-card { text-align: center; }
.contact-card .big-link { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--color-primary-weak); color: var(--color-primary); margin-bottom: var(--space-3); }
.card-icon svg { display: block; }

/* Prose (mentions légales, blog, pages longues) */
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-5); font-size: 1.1rem; }
.prose p, .prose ul { margin-top: var(--space-3); color: var(--text); }
.prose ul { padding-left: var(--space-5); }
.prose li { margin-top: var(--space-1); }
.prose a { text-decoration: underline; }
.prose .todo { background: var(--color-warning-weak); color: var(--color-warning); font-weight: 600; padding: 1px 7px; border-radius: var(--radius-sm); font-size: .9em; }
.prose .updated { color: var(--text-muted); font-size: .9rem; }

/* ============================================================
   20. CHARTE V2 — conversion, mouvement, réassurance
   (Ambre = action, vert = marque. Tout mouvement neutralisé
   sous prefers-reduced-motion.)
   ============================================================ */

/* -----------------------------------------------------------
   20a. Mouvement — reveal au scroll (motion.js pose .is-visible)
   ----------------------------------------------------------- */
/* État initial masqué UNIQUEMENT si JS actif (sinon le contenu reste visible). */
.js .reveal, .js .reveal-group > * {
  opacity: 0; transform: translateY(8px);
  transition: opacity .45s cubic-bezier(.2, .7, .3, 1), transform .45s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible, .reveal-group > .is-visible { opacity: 1; transform: none; }
/* cascade dans les grilles : +60 ms par enfant (max 4) */
.reveal-group > *:nth-child(2) { transition-delay: .06s; }
.reveal-group > *:nth-child(3) { transition-delay: .12s; }
.reveal-group > *:nth-child(4) { transition-delay: .18s; }

/* compteurs animés : chiffres tabulaires (zéro reflow) */
[data-countup], .hero-stat b { font-variant-numeric: tabular-nums; }

/* -----------------------------------------------------------
   20b. Hero vivant — motif slash animé + soulignement de l'accent
   ----------------------------------------------------------- */
.hero--dark { position: relative; overflow: hidden; }
.hero--dark > * { position: relative; z-index: 1; }
.hero--dark::before {
  content: ""; position: absolute; inset: -25% -10%; z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(115deg,
    transparent 0 22px,
    color-mix(in srgb, var(--color-primary) 8%, transparent) 22px 30px,
    transparent 30px 60px);
  animation: slash-drift 40s linear infinite;
}
@keyframes slash-drift { from { background-position: 0 0; } to { background-position: 240px 0; } }

.hero--dark .accent { position: relative; white-space: nowrap; }
.hero--dark .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: 3px;
  background: var(--color-primary); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: accent-underline .6s cubic-bezier(.2, .7, .3, 1) .4s forwards;
}
@keyframes accent-underline { to { transform: scaleX(1); } }

/* -----------------------------------------------------------
   20c. Trust-chips (garanties, hero + services + tunnel RDV)
   ----------------------------------------------------------- */
.trust-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.trust-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8125rem; font-weight: 500; color: var(--text-muted);
  border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  padding: 6px 12px; background: var(--surface-1);
}
.trust-chip svg { width: 15px; height: 15px; color: var(--color-primary); flex-shrink: 0; }
.hero--dark .trust-chip, .trust-chips--on-dark .trust-chip {
  color: color-mix(in srgb, var(--bg) 80%, transparent);
  border-color: color-mix(in srgb, var(--bg) 22%, transparent);
  background: transparent;
}

/* -----------------------------------------------------------
   20d. Bande interlocuteur (accueil)
   ----------------------------------------------------------- */
.interlocutor { display: flex; gap: var(--space-4); align-items: center; }
.interlocutor__avatar {
  width: 64px; height: 64px; border-radius: var(--radius-lg);
  background: var(--surface-3); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  color: var(--text-strong); flex-shrink: 0; overflow: hidden;
}
.interlocutor__avatar img { width: 100%; height: 100%; object-fit: cover; }
.interlocutor p { font-size: .95rem; max-width: 62ch; }
.interlocutor b { color: var(--text-strong); }
.interlocutor a { font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) {
  .interlocutor { flex-wrap: wrap; }
  .interlocutor a { width: 100%; }
}

/* -----------------------------------------------------------
   20e. Témoignage — variante claire (pages service, tunnel RDV)
   ----------------------------------------------------------- */
.testimonial--light { background: var(--surface-1); border: 1px solid var(--border); }
.testimonial--light .testimonial__quote { color: var(--text-strong); }
.testimonial--light .testimonial__mark { color: var(--color-primary); }
.testimonial--light .testimonial__foot { border-top-color: var(--border); }
.testimonial--light .testimonial__name { color: var(--text-strong); }
.testimonial--light .testimonial__role { color: var(--text-muted); }
.testimonial--light .testimonial__avatar { background: var(--color-primary-weak); color: var(--color-primary-ink); }

/* -----------------------------------------------------------
   20f. Sticky CTA mobile (03-SPEC §2.2)
   ----------------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4);
  border-top: 1px solid var(--border-strong);
  transform: translateY(130%); transition: transform .3s cubic-bezier(.2, .7, .3, 1);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }
@media (min-width: 861px) { .sticky-cta { display: none !important; } }

/* -----------------------------------------------------------
   20g. Modal de réservation (dialog natif + iframe RDV)
   ----------------------------------------------------------- */
.booking-modal {
  border: none; padding: 0; background: transparent;
  width: min(720px, 100%); max-width: 720px;
  color: var(--text);
}
.booking-modal::backdrop {
  background: rgba(23, 19, 16, .55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.booking-modal__inner {
  background: var(--surface-1); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; max-height: 92vh; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.booking-modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.booking-modal__title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--text-strong); }
.booking-modal__close {
  width: 44px; height: 44px; border-radius: var(--radius-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); border: 1px solid transparent; background: transparent;
  transition: background .15s ease, color .15s ease;
}
.booking-modal__close:hover { background: var(--surface-3); color: var(--text-strong); }
.booking-modal__body { position: relative; flex: 1; min-height: 0; background: var(--surface-1); }
.booking-modal__frame { width: 100%; height: 72vh; border: 0; display: block; }
.booking-modal__fallback { padding: var(--space-7) var(--space-6); text-align: center; }
.booking-modal__fallback p { color: var(--text-muted); margin-bottom: var(--space-4); }
body.modal-open { overflow: hidden; }
@media (max-width: 640px) {
  .booking-modal { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; }
  .booking-modal__inner { max-height: 100%; height: 100%; border-radius: 0; border: 0; }
  .booking-modal__frame { height: 100%; flex: 1; }
}

/* Module RDV embarqué pleine page (contact.html) */
.rdv-embed { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-1); box-shadow: var(--shadow-md); }
.rdv-embed__frame { width: 100%; height: 780px; border: 0; display: block; }

/* -----------------------------------------------------------
   20h. Cadre navigateur minimal (captures d'écran réelles)
   ----------------------------------------------------------- */
.browser-frame { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-1); box-shadow: var(--shadow-md); }
.browser-frame__bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: var(--surface-3); border-bottom: 1px solid var(--border); }
.browser-frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); display: inline-block; }
.browser-frame img { display: block; width: 100%; height: auto; }

/* -----------------------------------------------------------
   20i. Mouvement réduit — neutralisation des nouveautés
   ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero--dark::before { animation: none !important; }
  .hero--dark .accent::after { transform: scaleX(1) !important; animation: none !important; }
  .sticky-cta { transition: none !important; }
  .btn__arrow { transition: none !important; }
}

/* ============================================================
   21. UTILITAIRES & EXTENSIONS (remplacent les styles inline)
   ============================================================ */

/* Espacement vertical */
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.pt-7 { padding-top: var(--space-7); }

/* Alignement */
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Largeurs de mesure */
.measure-80 { max-width: 80ch; }
.measure-none { max-width: none; }

/* Texte sur blocs sombres de design (hero--dark, proof-band, cta-final) */
.text-invert { color: var(--bg); }
.text-invert-70 { color: color-mix(in srgb, var(--bg) 78%, transparent); line-height: 1.6; }

/* Bouton secondaire posé sur un bloc sombre */
.btn--on-dark { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.btn--on-dark:hover { border-color: var(--bg); background: color-mix(in srgb, var(--bg) 10%, transparent); }

/* Ligne de prix (cartes méthode / offres) */
.price-line { margin-top: var(--space-4); font-family: var(--font-display); font-weight: 700; color: var(--color-primary-ink); }

/* Carte d'offre sur page service */
.pricing-card { margin-top: var(--space-5); border-radius: var(--radius-xl); max-width: 640px; }

/* Carte « et vous ? » mise en avant (pôles) */
.card--accent { background: var(--color-primary-weak); border-color: var(--color-primary); }

/* Section resserrée (bande interlocuteur) + hero contact compact */
.section--tight { padding-block: var(--space-6); }
.hero--compact { padding-block: clamp(var(--space-7), 6vw, var(--space-8)); }

/* Intro pleine largeur (À propos) */
.section__intro--wide { max-width: none; }

/* Chiffre de preuve avec filet à gauche (proof-band solo) + variantes de taille */
.stat-bordered { border-left: 3px solid var(--color-primary); padding-left: var(--space-5); }
.stat--3 { font-size: clamp(2rem, 4.5vw, 3rem); }
.stat--26 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.stat--24 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }

/* Portrait interlocuteur (À propos) : ratio 4/5 */
.interlocutor__avatar--portrait { width: 96px; height: 120px; border-radius: var(--radius-lg); }

/* Lede des cartes contact */
.contact-card__lede { margin: var(--space-2) 0 var(--space-4); }

/* Valeur du curseur du calculateur */
.calc-rate-val { font-family: var(--font-display); color: var(--text-strong); }

/* ============================================================
   22. BLOG « Carnet de bord » (07-SPEC)
   ============================================================ */

/* Cartes d'article (listing, « à lire ensuite », carnet accueil) */
.blog-card { display: flex; flex-direction: column; background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
a.blog-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.blog-card__cat { align-self: flex-start; margin-bottom: var(--space-3); }
.blog-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.2; color: var(--text-strong); }
.blog-card__excerpt { color: var(--text-muted); font-size: .95rem; margin-top: var(--space-2); flex: 1; }
.blog-card__meta { font-size: .8rem; color: var(--text-muted); margin-top: var(--space-4); font-variant-numeric: tabular-nums; }

/* Listing blog/index.html */
.blog-hero { padding-block: clamp(var(--space-7), 6vw, var(--space-8)); }
.blog-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.blog-filter { display: inline-flex; padding: 7px 14px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); font-size: .85rem; font-weight: 500; color: var(--text); }
.blog-filter:hover, .blog-filter[aria-current="true"] { background: var(--color-primary-weak); border-color: var(--color-primary); color: var(--color-primary-ink); text-decoration: none; }
.blog-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: var(--space-6); }
.blog-empty { color: var(--text-muted); margin-top: var(--space-6); }

/* Gabarit d'article */
.article { padding-block: clamp(var(--space-7), 6vw, var(--space-8)); }
.post { max-width: var(--content-narrow); margin-inline: auto; padding-inline: max(20px, 4vw); }
.breadcrumb { font-size: .85rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--color-primary-ink); }
.post__head { margin-top: var(--space-5); }
.post__head h1 { margin-top: var(--space-3); }
.post__meta { color: var(--text-muted); font-size: .9rem; margin-top: var(--space-4); font-variant-numeric: tabular-nums; }
.post__body { margin-top: var(--space-6); font-size: 1.0625rem; line-height: 1.75; }
.post__body > * + * { margin-top: var(--space-5); }
.post__body h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); margin-top: var(--space-7); }
.post__body h3 { font-size: 1.3rem; margin-top: var(--space-6); }
.post__body ul, .post__body ol { padding-left: var(--space-5); }
.post__body li + li { margin-top: var(--space-2); }
.post__body a { color: var(--color-primary-ink); text-decoration: underline; }
.post__body strong { color: var(--text-strong); }
.pullquote { border-left: 3px solid var(--color-primary); padding-left: var(--space-5); font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 2.5vw, 1.6rem); line-height: 1.35; color: var(--text-strong); }
.aside-note { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); font-size: .97rem; }
.aside-note > *:first-child { margin-top: 0; }
.post__table { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.post__table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.post__table th, .post__table td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.post__table tr:last-child td { border-bottom: none; }

/* Encadré résultat (proof-band clair compact) */
.result-band { background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--color-primary); border-radius: var(--radius-lg); padding: var(--space-5); display: flex; gap: var(--space-5); align-items: center; flex-wrap: wrap; }
.result-band__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1; color: var(--text-strong); letter-spacing: -.02em; }
.result-band__num .unit { font-size: .45em; color: var(--color-primary-ink); }
.result-band p { color: var(--text); font-size: .97rem; flex: 1; min-width: 220px; }

/* Bloc auteur */
.author-box { display: flex; gap: var(--space-4); align-items: flex-start; margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--border); }
.author-box__avatar { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-3); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--text-strong); }
.author-box__name { font-family: var(--font-display); font-weight: 600; color: var(--text-strong); }
.author-box__bio { color: var(--text-muted); font-size: .95rem; margin-top: 2px; }

/* CTA de fin d'article */
.post-cta { margin-top: var(--space-7); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(var(--space-6), 5vw, var(--space-7)); text-align: center; }
.post-cta .eyebrow { display: block; }
.post-cta h2 { max-width: 26ch; margin: var(--space-2) auto var(--space-5); }

/* « À lire ensuite » */
.related { max-width: var(--content-narrow); margin: var(--space-8) auto 0; padding-inline: max(20px, 4vw); }
.related h2 { font-size: 1.3rem; }
.related__grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr; margin-top: var(--space-5); }
@media (max-width: 560px) { .related__grid { grid-template-columns: 1fr; } }

/* Placeholder de capture d'écran dans un cadre navigateur (en attendant les vraies captures) */
.browser-frame__ph { aspect-ratio: 16 / 9; background: var(--surface-3); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: .9rem; text-align: center; padding: var(--space-4); }
