/* =================================================================
   ServiceOps — Design system
   Éditorial, sobre, premium. Polices système (RGPD-friendly).
   ================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Couleurs */
  --ink:        #16202a;   /* texte principal */
  --ink-soft:   #2c3a45;
  --muted:      #5b6a74;   /* texte secondaire */
  --paper:      #fbfaf7;   /* fond général, légèrement chaud */
  --surface:    #ffffff;
  --surface-2:  #f3efe8;
  --line:       #e7e1d6;   /* filets, bordures */
  --brand:      #0c4a57;   /* teal profond */
  --brand-2:    #0a3a45;
  --brand-ink:  #06303a;
  --accent:     #d9632a;   /* terracotta — CTA, liens d'action */
  --accent-2:   #b94f1d;
  --gold:       #c9a227;
  --ok:         #1f7a5c;
  --danger:     #b23a3a;

  /* Typo */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono:  "SFMono-Regular", ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;

  /* Échelle & rythme */
  --maxw:       1140px;
  --readw:      720px;     /* largeur de lecture confortable */
  --radius:     14px;
  --radius-sm:  9px;
  --shadow:     0 1px 2px rgba(16,32,42,.04), 0 8px 30px rgba(16,32,42,.07);
  --shadow-lg:  0 24px 60px rgba(16,32,42,.14);
  --ease:       cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent); }
strong { color: var(--ink); }
ul, ol { padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- 3. Utilitaires de mise en page ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.narrow   { max-width: var(--readw); margin-inline: auto; }
.section  { padding-block: clamp(3.2rem, 7vw, 5.8rem); }
.section--tight { padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.bg-surface { background: var(--surface); }
.bg-soft    { background: var(--surface-2); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--sans);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: .55em;
}
.eyebrow::before { content: ""; width: 1.6em; height: 2px; background: var(--accent); display: inline-block; }
.lede { font-size: 1.2rem; color: var(--muted); line-height: 1.6; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: .7em 1.1em; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 4. Titres ---------- */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
.section-head { max-width: 640px; margin-bottom: 2.4rem; }
.section-head .lede { margin-top: .8rem; }

/* ---------- 5. Boutons ---------- */
.btn {
  --bg: var(--brand); --fg: #fff;
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 1rem/1 var(--sans);
  background: var(--bg); color: var(--fg);
  padding: .85em 1.4em; border-radius: 999px; border: 1.5px solid var(--bg);
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
  box-shadow: 0 6px 18px rgba(12,74,87,.18);
}
.btn:hover { transform: translateY(-2px); color: var(--fg); box-shadow: 0 12px 26px rgba(12,74,87,.26); }
.btn--accent { --bg: var(--accent); box-shadow: 0 6px 18px rgba(217,99,42,.22); }
.btn--accent:hover { box-shadow: 0 12px 26px rgba(217,99,42,.32); }
.btn--ghost { --bg: transparent; --fg: var(--brand); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { --fg: var(--brand); border-color: var(--brand); background: var(--surface); box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--brand-ink); border-color: #fff; }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn svg { width: 1.05em; height: 1.05em; }
.arrow-link { font-weight: 600; display: inline-flex; align-items: center; gap: .4em; }
.arrow-link svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- 6. Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--paper) 94%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6em; font-family: var(--serif); font-weight: 600; font-size: 1.32rem; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand .mark { flex: 0 0 auto; width: 34px; height: 34px; }
.brand b { color: var(--brand); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  display: inline-block; padding: .55em .85em; border-radius: 8px; color: var(--ink-soft); font-weight: 500; font-size: .98rem;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-links a.is-active { color: var(--brand); font-weight: 600; }
.nav-cta { margin-left: .4rem; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 9px; width: 44px; height: 40px; cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 85% -10%, rgba(12,74,87,.10), transparent 60%),
    radial-gradient(50% 60% at 0% 110%, rgba(217,99,42,.08), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3.4rem, 7vw, 6rem); }
.hero h1 { margin-top: 1rem; }
.hero .lede { margin-top: 1.3rem; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-meta { margin-top: 2.2rem; display: flex; gap: 1.6rem; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero-meta b { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--brand); line-height: 1; }
.hero-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1.8rem; position: relative;
}
.hero-card .quote-mark { font-family: var(--serif); font-size: 4rem; line-height: .6; color: var(--accent); opacity: .35; }
.hero-card blockquote { font-family: var(--serif); font-size: 1.32rem; line-height: 1.4; color: var(--ink); margin: .4rem 0 1.2rem; }
.hero-card .sign { display: flex; align-items: center; gap: .8rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; flex: 0 0 auto; }
.sign-name { font-weight: 600; color: var(--ink); }
.sign-role { font-size: .85rem; color: var(--muted); }

/* ---------- 8. Grille de thèmes ---------- */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.theme {
  display: flex; gap: .9rem; padding: 1.3rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.theme:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.theme .ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); display: grid; place-items: center; }
.theme .ico svg { width: 22px; height: 22px; }
.theme h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.theme p { font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* ---------- 9. Cartes d'articles ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.4rem; }
.post-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .2s var(--ease), box-shadow .25s, border-color .2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 25%, var(--line)); }
.post-card__cover { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.post-card__cover svg { width: 100%; height: 100%; }
.post-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.post-card h3 { font-size: 1.32rem; line-height: 1.2; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.post-meta { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--muted); }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, #fff); padding: .32em .7em; border-radius: 999px;
}
.tag--accent { color: var(--accent-2); background: color-mix(in srgb, var(--accent) 12%, #fff); }
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.post-card__footer { margin-top: .4rem; }

/* Carte « featured » sur la home */
.post-card--feature { grid-column: 1 / -1; }
@media (min-width: 820px) {
  .post-card--feature { flex-direction: row; }
  .post-card--feature .post-card__cover { aspect-ratio: auto; flex: 0 0 44%; }
  .post-card--feature .post-card__body { padding: 2rem 2.2rem; justify-content: center; }
  .post-card--feature h3 { font-size: 1.9rem; }
}

/* ---------- 10. Bandeau BMC Helix (CTA) ---------- */
.bmc-cta {
  position: relative; overflow: hidden; color: #eaf3f4;
  background: linear-gradient(135deg, var(--brand-ink), var(--brand) 60%, #0f5a69);
  border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow);
}
.bmc-cta::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(217,99,42,.32), transparent 70%); pointer-events: none;
}
.bmc-cta .eyebrow { color: #ffd9a8; }
.bmc-cta .eyebrow::before { background: #ffd9a8; }
.bmc-cta h2, .bmc-cta h3 { color: #fff; }
.bmc-cta p { color: #cfe2e5; margin-top: .7rem; max-width: 56ch; }
.bmc-cta .actions { margin-top: 1.5rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.bmc-inline { /* version compacte en fin d'article */
  margin: 2.8rem 0 1rem;
}

/* ---------- 11. Article ---------- */
.article-header { padding-top: clamp(1.6rem, 4vw, 2.6rem); }
.breadcrumb { font-size: .85rem; color: var(--muted); display: flex; gap: .5em; flex-wrap: wrap; align-items: center; margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: .5; }
.article-title { margin: .8rem 0 1.1rem; max-width: 18ch; }
.article-sub { font-size: 1.25rem; color: var(--muted); font-family: var(--serif); font-style: italic; max-width: 40ch; }
.article-byline { display: flex; align-items: center; gap: .8rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .92rem; }
.article-byline .avatar { width: 42px; height: 42px; }
.article-byline .meta { color: var(--muted); }
.article-byline .meta b { color: var(--ink); display: block; font-weight: 600; }

.article-cover { margin: 2.2rem 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.article-cover svg { width: 100%; height: auto; display: block; }

/* Corps de l'article — typographie de lecture */
.prose { font-size: 1.15rem; line-height: 1.75; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.3em; }
.prose p { max-width: 100%; }
.prose h2 { margin-top: 2.4em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.8em; font-size: 1.32rem; color: var(--ink); }
.prose h2 + p, .prose h3 + p { margin-top: .7em; }
.prose a { color: var(--accent-2); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose .lead-para:first-letter {
  float: left; font-family: var(--serif); font-size: 3.4em; line-height: .76; font-weight: 600;
  padding: .04em .12em 0 0; color: var(--brand);
}

/* Citation mise en avant */
.pullquote {
  font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--ink);
  border-left: 4px solid var(--accent); padding: .2em 0 .2em 1.1rem; margin: 2em 0;
  font-style: italic;
}

/* Encadré « terrain » */
.field-note {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm); padding: 1.4rem 1.6rem; margin: 2em 0; box-shadow: var(--shadow);
}
.field-note .label { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); display: flex; align-items: center; gap: .5em; }
.field-note .label svg { width: 1.1em; height: 1.1em; }
.field-note p { margin-top: .6rem; font-size: 1.05rem; color: var(--ink-soft); }
.field-note p:first-of-type { margin-top: .6rem; }

/* Liste de points clés */
.takeaways { background: var(--surface-2); border-radius: var(--radius); padding: 1.5rem 1.7rem; margin: 2em 0; }
.takeaways h3 { margin-top: 0; font-size: 1.15rem; }
.takeaways ul { margin-top: .8rem; list-style: none; padding: 0; }
.takeaways li { position: relative; padding-left: 1.8em; }
.takeaways li + li { margin-top: .7em; }
.takeaways li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Signature de fin d'article */
.author-box { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; margin-top: 2.4rem; }
.author-box .avatar { width: 56px; height: 56px; font-size: 1.2rem; }
.author-box h4 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.author-box .name { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin-top: .1rem; }
.author-box p { color: var(--muted); font-size: .96rem; margin-top: .4rem; }

/* --- CTA robustes même imbriqués dans .prose (articles, à-propos) --- */
/* Sans ces règles, .prose h3 / .prose a écrasent les couleurs du bloc BMC Helix */
.prose .bmc-cta h2,
.prose .bmc-cta h3 { color: #fff; }
.prose .bmc-cta p  { color: #cfe2e5; }
.prose a.btn { color: var(--fg); text-decoration: none; }
.prose a.btn:hover { color: var(--fg); text-decoration: none; }

/* ---------- 12. Formulaire ---------- */
.form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; color: var(--ink); }
.field .req { color: var(--accent); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.input, .textarea, .select {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .8em .9em; transition: border-color .15s, box-shadow .15s, background .15s;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent); }
.textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.checkbox { display: flex; gap: .7em; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.checkbox input { margin-top: .25em; width: 18px; height: 18px; accent-color: var(--brand); flex: 0 0 auto; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-size: .96rem; border: 1px solid; display: flex; gap: .7em; align-items: flex-start; }
.alert svg { width: 1.2em; height: 1.2em; flex: 0 0 auto; margin-top: .15em; }
.alert--ok    { background: color-mix(in srgb, var(--ok) 8%, #fff); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); color: #14543f; }
.alert--error { background: color-mix(in srgb, var(--danger) 7%, #fff); border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); color: #8a2a2a; }

.contact-aside ul { list-style: none; padding: 0; }
.contact-aside li { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-aside li:last-child { border-bottom: 0; }
.contact-aside .ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); display: grid; place-items: center; }
.contact-aside .ico svg { width: 20px; height: 20px; }
.contact-aside b { display: block; color: var(--ink); }
.contact-aside span { color: var(--muted); font-size: .92rem; }

/* ---------- 13. Bandes & mises en page composées ---------- */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 3.4rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.stat b { font-family: var(--serif); font-size: 2.1rem; color: var(--brand); display: block; line-height: 1; }
.stat span { color: var(--muted); font-size: .9rem; margin-top: .4rem; display: block; }

.timeline { list-style: none; padding: 0; margin-top: 1.5rem; }
.timeline li { position: relative; padding-left: 2rem; padding-bottom: 1.6rem; border-left: 2px solid var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .15rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--paper); }
.timeline b { color: var(--ink); font-family: var(--serif); font-size: 1.1rem; }
.timeline p { color: var(--muted); margin-top: .2rem; font-size: .96rem; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--ink); color: #c4cfd6; margin-top: 4rem; }
.site-footer a { color: #c4cfd6; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.4rem; padding-block: clamp(2.6rem, 5vw, 4rem); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand b { color: #7fd2c2; }
.footer-brand p { color: #9fb0b9; margin-top: 1rem; max-width: 34ch; font-size: .96rem; }
.footer-col h4 { font-family: var(--sans); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; color: #8a9aa3; }
.footer-bottom a { color: #8a9aa3; }

/* ---------- 15. Divers ---------- */
.page-hero { padding-block: clamp(2.6rem, 6vw, 4.4rem) clamp(1.6rem, 3vw, 2.4rem); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { margin-top: 1rem; max-width: 52ch; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.pill { font-size: .85rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .4em .9em; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }
.muted { color: var(--muted); }
.text-center { text-align: center; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { order: -1; max-width: 520px; }
  .split, .split--even { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem clamp(1.1rem, 4vw, 2.2rem) 1.6rem;
    transform: translateY(-130%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg);
  }
  .nav.is-open .nav-links { transform: translateY(0); }
  .nav.is-open .nav-toggle span { background: transparent; }
  .nav.is-open .nav-toggle span::before { transform: rotate(45deg); }
  .nav.is-open .nav-toggle span::after  { transform: rotate(-45deg); }
  .nav-links a { padding: .8em .6em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-cta { margin: .6rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.1rem; }
}
@media (max-width: 480px) {
  .hero-meta b { font-size: 1.4rem; }
  .prose { font-size: 1.08rem; }
}

/* ---------- 17. Préférences utilisateur ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Petite apparition au scroll (progressive enhancement) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Impression */
@media print {
  .site-header, .site-footer, .bmc-cta, .nav-toggle, .author-box, .contact-aside { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .prose { color: #000; }
}
