/* HUMIND AI — feuille de style du site
   Charte : marine, or, ivoire. Source Serif 4 pour les titres, Source Sans 3 pour le texte. */

:root {
  --hm-navy: #0d2552;
  --hm-navy-deep: #081a3c;
  --hm-navy-soft: #1d3a6e;
  --hm-gold: #b8963e;
  --hm-gold-text: #8a6a1c;      /* or lisible sur fond clair (5,0:1) */
  --hm-gold-light: #d9c28a;     /* or lisible sur marine (8,1:1) */
  --hm-ivory: #f6f3ec;
  --hm-paper: #ffffff;
  --hm-ink: #1b2130;
  --hm-muted: #545d6e;          /* 6,6:1 sur blanc */
  --hm-muted-on-navy: #b9c3d6;
  --hm-rule: #d8d2c4;
  --hm-rule-navy: rgba(217, 194, 138, .28);
  --hm-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --hm-sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --hm-wrap: 1180px;
  --hm-text: 680px;
  --hm-gutter: clamp(20px, 5vw, 48px);
  --hm-section: clamp(72px, 9vw, 128px);
}

/* ---------- Base (appliquée aux pages du nouveau site) ---------- */
body.hm-site {
  background: var(--hm-paper);
  color: var(--hm-ink);
  font-family: var(--hm-sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.hm-site #masthead,
body.hm-site .site-header,
body.hm-site #colophon,
body.hm-site .site-footer,
body.hm-site .entry-hero,
body.hm-site .page-title { display: none !important; }
body.hm-site .content-area,
body.hm-site .site-main,
body.hm-site .content-container,
body.hm-site .entry-content-wrap,
body.hm-site article.entry { margin: 0 !important; padding: 0 !important; max-width: none !important; box-shadow: none !important; background: transparent !important; }
body.hm-site .entry-content { margin: 0 !important; }
body.hm-site .entry-content > * { margin-block: 0; }
body.hm-site .site { background: var(--hm-paper); }

.hm-site h1, .hm-site h2, .hm-site h3, .hm-site h4 {
  font-family: var(--hm-serif);
  font-weight: 500;
  color: var(--hm-navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .6em;
}
.hm-site h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 400; }
.hm-site h2 { font-size: clamp(1.85rem, 3.2vw, 2.7rem); font-weight: 400; }
.hm-site h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.hm-site h4 { font-family: var(--hm-sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.hm-site p { margin: 0 0 1.1em; }
.hm-site p:last-child { margin-bottom: 0; }
.hm-site a { color: var(--hm-navy); text-decoration-color: var(--hm-gold); text-underline-offset: .18em; text-decoration-thickness: 1px; }
.hm-site a:hover { color: var(--hm-gold-text); }
.hm-site ::selection { background: var(--hm-gold-light); color: var(--hm-navy-deep); }
.hm-site strong { font-weight: 600; }
.hm-site :focus-visible { outline: 2px solid var(--hm-gold); outline-offset: 3px; }

/* ---------- Mise en page ---------- */
.hm-section { padding-block: var(--hm-section); }
.hm-section.hm-tight { padding-block: clamp(56px, 6vw, 88px); }
.hm-wrap { max-width: var(--hm-wrap); margin-inline: auto; padding-inline: var(--hm-gutter); }
.hm-narrow { max-width: var(--hm-text); }
.hm-ivory { background: var(--hm-ivory); }
.hm-navy { background: var(--hm-navy); color: #e9edf5; }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) h1, :is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) h2, :is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) h3 { color: #fff; }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) a { color: #fff; }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) a:hover { color: var(--hm-gold-light); }
.hm-rule-top { border-top: 1px solid var(--hm-rule); }

.hm-kicker {
  font-family: var(--hm-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hm-gold-text);
  margin: 0 0 1.4em;
  display: flex; align-items: center; gap: 14px;
}
.hm-kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-kicker, .hm-hero .hm-kicker, .hm-page-hero .hm-kicker, .hm-cta .hm-kicker { color: var(--hm-gold-light); }
.hm-lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--hm-muted); max-width: 720px; }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-lead { color: var(--hm-muted-on-navy); }
.hm-small { font-size: .9rem; color: var(--hm-muted); }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-small { color: var(--hm-muted-on-navy); }
.hm-section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.hm-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hm-split > :first-child { position: sticky; top: 120px; }
.hm-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.hm-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.hm-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }

/* ---------- Liens d'action ---------- */
.hm-link {
  font-family: var(--hm-sans); font-weight: 600; font-size: .95rem;
  color: var(--hm-navy); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--hm-gold); padding-bottom: 3px;
}
.hm-link::after { content: "→"; transition: transform .2s ease; }
.hm-link:hover { color: var(--hm-gold-text); }
.hm-link:hover::after { transform: translateX(3px); }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-link { color: #fff; border-color: var(--hm-gold-light); }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-link:hover { color: var(--hm-gold-light); }
.hm-button {
  display: inline-block; font-family: var(--hm-sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .02em; text-decoration: none;
  background: var(--hm-navy); color: #fff !important;
  padding: 15px 28px; border: 1px solid var(--hm-navy); border-radius: 2px;
  transition: background .2s ease, color .2s ease;
}
.hm-button:hover { background: var(--hm-navy-deep); color: #fff; }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-button { background: var(--hm-gold-light); border-color: var(--hm-gold-light); color: var(--hm-navy-deep) !important; }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-button:hover { background: #fff; border-color: #fff; }
.hm-actions { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-top: 40px; }

/* ---------- En-tête ---------- */
.hm-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.admin-bar .hm-header { top: 32px; }
.hm-header.is-scrolled { border-bottom-color: var(--hm-rule); }
.hm-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.hm-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--hm-navy); }
.hm-brand__mark { width: 40px; height: 40px; color: var(--hm-gold); flex: none; }
.hm-brand__mark svg { width: 100%; height: 100%; display: block; }
.hm-brand__name { font-family: var(--hm-serif); font-size: 1.3rem; letter-spacing: .14em; font-weight: 500; line-height: 1; }
.hm-brand__tag { display: block; font-family: var(--hm-sans); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--hm-muted); margin-top: 6px; font-weight: 600; }
.hm-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.hm-nav__list { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.hm-nav__list > li { position: relative; }
.hm-nav__list a, .hm-nav__toggle {
  font-family: var(--hm-sans); font-size: .95rem; font-weight: 500; color: var(--hm-ink);
  text-decoration: none; background: none; border: 0; padding: 30px 0; cursor: pointer; line-height: 1;
  display: inline-flex; align-items: center; gap: 6px;
}
.hm-nav__list a:hover, .hm-nav__toggle:hover, .hm-nav__list a[aria-current="page"] { color: var(--hm-navy); }
.hm-nav__list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--hm-gold); }
.hm-nav__toggle::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.hm-sub {
  position: absolute; left: -24px; top: 100%; min-width: 320px;
  background: #fff; border: 1px solid var(--hm-rule); border-top: 2px solid var(--hm-gold);
  list-style: none; margin: 0; padding: 12px 0; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.hm-nav__list li:hover > .hm-sub, .hm-nav__list li:focus-within > .hm-sub, .hm-sub.is-open { opacity: 1; visibility: visible; transform: none; }
.hm-sub a { display: block; padding: 12px 24px; }
.hm-sub a span { display: block; font-size: .85rem; color: var(--hm-muted); font-weight: 400; margin-top: 4px; line-height: 1.4; }
.hm-sub a:hover { background: var(--hm-ivory); }
.hm-header .hm-button { padding: 12px 20px; font-size: .88rem; }
.hm-burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.hm-burger span, .hm-burger::before, .hm-burger::after { content: ""; position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--hm-navy); transition: transform .2s ease, opacity .2s ease; }
.hm-burger::before { top: 15px; } .hm-burger span { top: 21px; } .hm-burger::after { top: 27px; }
.hm-burger[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.hm-burger[aria-expanded="true"] span { opacity: 0; }
.hm-burger[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Héro ---------- */
.hm-hero { position: relative; overflow: hidden; background: var(--hm-navy); color: #e9edf5; padding-block: clamp(80px, 9vw, 132px) clamp(72px, 8vw, 112px); }

.hm-hero .hm-wrap { position: relative; z-index: 1; }
.hm-hero h1 { color: #fff; max-width: 880px; margin-bottom: .5em; }
.hm-hero h1 em { font-style: italic; color: var(--hm-gold-light); }
.hm-hero .hm-lead { color: var(--hm-muted-on-navy); }
.hm-hero__audience { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hm-rule-navy); font-size: .92rem; color: var(--hm-muted-on-navy); max-width: 880px; }
.hm-page-hero { background: var(--hm-navy); color: #e9edf5; padding-block: clamp(80px, 10vw, 136px) clamp(64px, 8vw, 104px); position: relative; overflow: hidden; }

/* ---------- Fleur de vie des en-têtes ---------- */
.hm-fleur { position: absolute; z-index: 0; pointer-events: none; }
.hm-fleur--accueil { right: -160px; top: 50%; width: 640px; height: 640px; margin-top: -320px; opacity: .22; }
.hm-fleur--page { right: -200px; bottom: -220px; width: 560px; height: 560px; opacity: .16; }
.hm-fleur svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hm-fleur circle { fill: none; stroke: var(--hm-gold); stroke-width: .3; }
.hm-fleur .hm-fleur__anneau { stroke-width: .6; }
@media (max-width: 700px) {
  .hm-fleur--accueil { width: 460px; height: 460px; right: -210px; top: auto; bottom: -150px; margin-top: 0; opacity: .14; }
  .hm-fleur--page { width: 380px; height: 380px; right: -190px; bottom: -190px; opacity: .12; }
}
.hm-page-hero .hm-wrap { position: relative; z-index: 1; }
.hm-page-hero h1 { color: #fff; max-width: 860px; }
.hm-page-hero .hm-lead { color: var(--hm-muted-on-navy); }
.hm-crumb { font-size: .82rem; letter-spacing: .04em; color: var(--hm-muted-on-navy); margin-bottom: 36px; }
.hm-crumb a { color: var(--hm-muted-on-navy); text-decoration: none; }
.hm-crumb a:hover { color: #fff; }

/* ---------- Listes éditoriales numérotées ---------- */
.hm-numbered { list-style: none; margin: 0; padding: 0; counter-reset: hm; }
.hm-numbered > li { counter-increment: hm; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 24px; padding: 28px 0; border-top: 1px solid var(--hm-rule); }
.hm-numbered > li:last-child { border-bottom: 1px solid var(--hm-rule); }
.hm-numbered > li::before { content: counter(hm, decimal-leading-zero); font-family: var(--hm-serif); font-size: 1.1rem; color: var(--hm-gold-text); padding-top: 2px; }
.hm-numbered h3 { margin-bottom: .35em; }
.hm-numbered p { color: var(--hm-muted); }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-numbered > li { border-color: var(--hm-rule-navy); }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-numbered > li::before { color: var(--hm-gold-light); }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-numbered p { color: var(--hm-muted-on-navy); }

.hm-cols { display: grid; gap: 0; }
.hm-col { padding: 32px 32px 32px 0; border-top: 1px solid var(--hm-rule); }
.hm-col h3 { margin-bottom: .5em; }
.hm-col p { color: var(--hm-muted); font-size: 1rem; }
.hm-col .hm-meta { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hm-gold-text); font-weight: 600; margin-bottom: 14px; display: block; }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-col { border-color: var(--hm-rule-navy); }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-col p { color: var(--hm-muted-on-navy); }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-col .hm-meta { color: var(--hm-gold-light); }

/* ---------- La chaîne des quatre maillons ---------- */
.hm-chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }
.hm-chain__step { padding: 0 28px 0 0; position: relative; }
.hm-chain__step + .hm-chain__step { padding-left: 28px; border-left: 1px solid var(--hm-rule); }
.hm-chain__num { font-family: var(--hm-serif); font-size: 2.6rem; line-height: 1; color: var(--hm-rule); margin-bottom: 18px; display: block; }
.hm-chain__status { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--hm-muted); margin-bottom: 12px; }
.hm-chain__step.is-seen .hm-chain__num { color: var(--hm-gold); }
.hm-chain__step.is-seen .hm-chain__status { color: var(--hm-gold-text); }
.hm-chain__step h3 { font-size: 1.2rem; }
.hm-chain__step p { font-size: .98rem; color: var(--hm-muted); }
.hm-chain__because { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--hm-rule); font-family: var(--hm-serif); font-style: italic; font-size: 1rem; color: var(--hm-navy); }
.hm-grid-2.hm-chain-note { max-width: none; }
.hm-chain-note { margin-top: 48px; max-width: 820px; font-size: 1.08rem; }
.hm-chain-note:not(.hm-grid-2)::before { content: ""; display: block; width: 48px; height: 1px; background: var(--hm-gold); margin-bottom: 20px; }
.hm-grid-2.hm-chain-note { padding-top: 32px; border-top: 1px solid var(--hm-rule); }

/* ---------- Citation ---------- */
.hm-quote { margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--hm-gold); }
.hm-quote p { font-family: var(--hm-serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; color: var(--hm-navy); font-style: italic; margin-bottom: 16px; }
.hm-quote cite { font-style: normal; font-size: .85rem; letter-spacing: .06em; color: var(--hm-muted); text-transform: uppercase; font-weight: 600; }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-quote p { color: #fff; }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-quote cite { color: var(--hm-muted-on-navy); }

/* ---------- Situations (cartes d'entrée) ---------- */
.hm-situations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--hm-rule); }
.hm-situation { display: block; padding: 40px 40px 44px 0; border-bottom: 1px solid var(--hm-rule); text-decoration: none; color: inherit; transition: background .2s ease; }
.hm-situation:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--hm-rule); }
.hm-situation:hover { background: linear-gradient(90deg, transparent, var(--hm-ivory)); }
.hm-situation .hm-meta { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hm-gold-text); font-weight: 600; display: block; margin-bottom: 16px; }
.hm-situation h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 400; margin-bottom: .5em; }
.hm-situation p { color: var(--hm-muted); font-size: 1rem; margin-bottom: 22px; }
.hm-situation .hm-link { pointer-events: none; }

/* ---------- Schéma du métabolisme ---------- */
.hm-metabolism { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin-top: 8px; }
.hm-metabolism__side { border-top: 1px solid var(--hm-rule); padding-top: 18px; }
.hm-metabolism__side .hm-meta { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--hm-muted); display: block; margin-bottom: 10px; }
.hm-metabolism__side p { font-family: var(--hm-serif); font-size: 1.2rem; color: var(--hm-navy); line-height: 1.4; }
.hm-metabolism__side .hm-loss { font-size: 1rem; font-style: italic; color: var(--hm-muted); font-family: var(--hm-serif); margin-top: 6px; }
.hm-metabolism__core { width: 200px; height: 200px; border-radius: 50%; border: 1px solid var(--hm-gold); display: grid; place-items: center; text-align: center; position: relative; color: var(--hm-gold); }
.hm-metabolism__core img, .hm-metabolism__core svg { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); opacity: .22; }
.hm-metabolism__core span { position: relative; font-family: var(--hm-serif); font-size: 1.25rem; color: var(--hm-navy); background: var(--hm-paper); padding: 4px 10px; }
.hm-ivory .hm-metabolism__core span { background: var(--hm-ivory); }

/* ---------- Six fonctions ---------- */
.hm-functions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hm-rule); border-left: 1px solid var(--hm-rule); }
.hm-function { padding: 32px 28px; border-right: 1px solid var(--hm-rule); border-bottom: 1px solid var(--hm-rule); }
.hm-function__code { font-family: var(--hm-serif); color: var(--hm-gold-text); font-size: 1rem; display: block; margin-bottom: 12px; }
.hm-function h3 { font-size: 1.25rem; margin-bottom: .35em; }
.hm-function p { font-size: .98rem; color: var(--hm-muted); }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-functions, :is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-function { border-color: var(--hm-rule-navy); }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-function__code { color: var(--hm-gold-light); }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-function p { color: var(--hm-muted-on-navy); }

/* ---------- Démarche en cinq temps ---------- */
.hm-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.hm-step { padding: 28px 20px 0 0; border-top: 2px solid var(--hm-navy); position: relative; }
.hm-step::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--hm-paper); border: 2px solid var(--hm-navy); }
.hm-ivory .hm-step::before { background: var(--hm-ivory); }
.hm-step h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: .3em; }
.hm-step p { font-size: .96rem; color: var(--hm-muted); }
.hm-phases { display: grid; grid-template-columns: 2fr 3fr; gap: 0; margin-top: 36px; }
.hm-phase { padding: 18px 20px 0 0; border-top: 1px solid var(--hm-gold); }
.hm-phase + .hm-phase { padding-left: 0; }
.hm-phase .hm-meta { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--hm-gold-text); display: block; margin-bottom: 6px; }
.hm-phase p { font-size: .96rem; color: var(--hm-muted); }

/* ---------- Seuil et plafond ---------- */
.hm-curve { width: 100%; height: auto; display: block; }
.hm-curve text { font-family: var(--hm-sans); font-size: 16px; fill: var(--hm-muted); }
.hm-curve .hm-curve__label { font-family: var(--hm-serif); font-size: 20px; fill: var(--hm-navy); }
.hm-curve .hm-curve__axis { stroke: var(--hm-rule); stroke-width: 1; }
.hm-curve .hm-curve__line { fill: none; stroke: var(--hm-navy); stroke-width: 2.2; }
.hm-curve .hm-curve__zone { fill: var(--hm-ivory); }
.hm-curve .hm-curve__mark { stroke: var(--hm-gold); stroke-width: 1; stroke-dasharray: 4 5; }
.hm-curve .hm-curve__dot { fill: var(--hm-gold); }
.hm-ivory .hm-curve .hm-curve__zone { fill: #ebe5d7; }

/* ---------- Trois objets de valeur ---------- */
.hm-values { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
.hm-value { padding: 32px 0; border-top: 1px solid var(--hm-rule); border-bottom: 1px solid var(--hm-rule); }
.hm-value .hm-meta { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--hm-gold-text); display: block; margin-bottom: 10px; }
.hm-value h3 { font-size: 1.35rem; font-weight: 500; }
.hm-value p { color: var(--hm-muted); font-size: .98rem; }
.hm-neq { display: grid; place-items: center; padding: 0 24px; font-family: var(--hm-serif); font-size: 1.8rem; color: var(--hm-gold); }

/* ---------- Mécanismes (chaînes causales) ---------- */
.hm-mech { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hm-mech th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hm-muted); font-weight: 700; text-align: left; padding: 0 16px 14px 0; border-bottom: 1px solid var(--hm-navy); vertical-align: bottom; }
.hm-mech td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--hm-rule); vertical-align: top; position: relative; color: var(--hm-ink); }
.hm-mech td:first-child { font-family: var(--hm-serif); font-size: 1.08rem; color: var(--hm-navy); width: 28%; }
.hm-mech td:not(:first-child)::before { content: "→"; color: var(--hm-gold); margin-right: 10px; }
.hm-mech td:last-child { font-weight: 600; }

/* ---------- Tient / cède ---------- */
.hm-holds { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.hm-holds h3 { font-family: var(--hm-sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding-bottom: 14px; border-bottom: 2px solid var(--hm-navy); margin-bottom: 0; }
.hm-holds .is-weak h3 { border-bottom-color: var(--hm-gold); }
.hm-holds dl { margin: 0; }
.hm-holds dt { font-family: var(--hm-serif); font-size: 1.2rem; color: var(--hm-navy); padding-top: 20px; }
.hm-holds dd { margin: 4px 0 0; padding-bottom: 20px; border-bottom: 1px solid var(--hm-rule); color: var(--hm-muted); font-size: .98rem; }

/* ---------- Plan en cent jours ---------- */
.hm-plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.hm-plan__step { padding: 0 28px 0 0; }
.hm-plan__step + .hm-plan__step { padding-left: 28px; border-left: 1px solid var(--hm-rule); }
.hm-plan__when { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--hm-gold-text); display: block; margin-bottom: 12px; }
.hm-plan__step h3 { font-size: 1.3rem; font-weight: 500; }
.hm-plan__step p { color: var(--hm-muted); font-size: .98rem; }

/* ---------- Tableau de bord (maquette sans valeurs) ---------- */
.hm-dash { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.hm-dash li { display: grid; grid-template-columns: minmax(0, 1fr) clamp(140px, 34%, 210px) 24px; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hm-rule); font-size: .98rem; }
.hm-dash__bar { position: relative; height: 2px; background: var(--hm-rule); }
.hm-dash__bar i, .hm-dash__bar b { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%); }
.hm-dash__bar i { background: var(--hm-paper); border: 1.5px solid var(--hm-muted); }
.hm-dash__bar b { background: var(--hm-navy); }
.hm-dash__trend { font-size: 1.1rem; text-align: center; color: var(--hm-navy); }
.hm-dash__trend.is-down { color: var(--hm-gold-text); }
.hm-dash-legend { margin-top: 20px; font-size: .88rem; color: var(--hm-muted); display: flex; gap: 28px; flex-wrap: wrap; }
.hm-illustration-note { display: inline-block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--hm-muted); border: 1px solid var(--hm-rule); padding: 5px 10px; margin-bottom: 24px; }
:is(.hm-navy, .hm-hero, .hm-page-hero, .hm-cta) .hm-illustration-note { color: var(--hm-muted-on-navy); border-color: var(--hm-rule-navy); }

/* ---------- Offre : missions ---------- */
.hm-missions { border-top: 1px solid var(--hm-navy); }
.hm-mission { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2fr); gap: 16px 40px; padding: 36px 0; border-bottom: 1px solid var(--hm-rule); align-items: start; }
.hm-mission h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: .25em; }
.hm-mission .hm-meta { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hm-gold-text); font-weight: 600; }
.hm-mission p { color: var(--hm-muted); font-size: 1rem; }
.hm-mission__time { font-size: .88rem; color: var(--hm-muted); text-align: right; padding-top: 6px; }

/* ---------- Références ---------- */
.hm-contexts { display: grid; grid-template-columns: 180px minmax(0, 1fr); border-top: 1px solid var(--hm-rule); }
.hm-contexts dt, .hm-contexts dd { padding: 22px 0; border-bottom: 1px solid var(--hm-rule); margin: 0; }
.hm-contexts dt { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--hm-gold-text); padding-top: 26px; }
.hm-contexts dd { font-family: var(--hm-serif); font-size: 1.15rem; color: var(--hm-navy); line-height: 1.5; }
.hm-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px); }

/* ---------- Équipe ---------- */
.hm-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.hm-person { padding: 32px 0 36px; border-top: 1px solid var(--hm-rule); }
.hm-person__mono { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--hm-gold); display: grid; place-items: center; font-family: var(--hm-serif); font-size: 1.1rem; color: var(--hm-navy); margin-bottom: 22px; letter-spacing: .04em; }
.hm-person h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: .15em; }
.hm-person__role { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hm-gold-text); font-weight: 600; display: block; margin-bottom: 14px; }
.hm-person__school { font-size: .9rem; color: var(--hm-muted); font-style: italic; margin-bottom: 12px; }
.hm-person p { font-size: .98rem; color: var(--hm-ink); }
.hm-person p.hm-person__devise { font-family: var(--hm-serif); font-style: italic; font-size: .95rem; color: var(--hm-navy); border-left: 2px solid var(--hm-gold); padding-left: 12px; margin-top: 14px; }
.hm-person__devise span { font-family: var(--hm-sans); font-style: normal; font-size: .8rem; color: var(--hm-muted); white-space: nowrap; }

/* ---------- Confiance ---------- */
.hm-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--hm-rule-navy); }
.hm-trust > div { padding: 32px 32px 8px 0; }
.hm-trust > div + div { padding-left: 32px; border-left: 1px solid var(--hm-rule-navy); }
.hm-trust h3 { font-size: 1.25rem; font-weight: 500; }
.hm-trust p { font-size: .98rem; color: var(--hm-muted-on-navy); }
.hm-ivory .hm-trust, .hm-section:not(.hm-navy) .hm-trust { border-color: var(--hm-rule); }
.hm-section:not(.hm-navy) .hm-trust > div + div { border-color: var(--hm-rule); }
.hm-section:not(.hm-navy) .hm-trust p { color: var(--hm-muted); }

/* ---------- FAQ ---------- */
.hm-faq { border-top: 1px solid var(--hm-navy); }
.hm-faq details { border-bottom: 1px solid var(--hm-rule); }
.hm-faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-family: var(--hm-serif); font-size: 1.25rem; color: var(--hm-navy); }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--hm-sans); font-weight: 300; font-size: 1.6rem; color: var(--hm-gold-text); transition: transform .2s ease; }
.hm-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.hm-faq details > div { padding: 0 48px 28px 0; color: var(--hm-muted); max-width: 760px; }

/* ---------- Appel final ---------- */
.hm-cta { background: var(--hm-navy); color: #e9edf5; padding-block: clamp(72px, 8vw, 112px); }
.hm-cta__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.hm-cta h2 { color: #fff; margin-bottom: .4em; }
.hm-cta p { color: var(--hm-muted-on-navy); }
.hm-cta__side { text-align: right; }
.hm-cta__mail { display: block; margin-top: 18px; font-size: .92rem; color: var(--hm-muted-on-navy) !important; text-decoration: none; }
.hm-cta__mail:hover { color: #fff !important; }

/* ---------- Formulaire ---------- */
.hm-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.hm-form .hm-field { display: flex; flex-direction: column; gap: 8px; }
.hm-form .hm-field.is-wide { grid-column: 1 / -1; }
.hm-form label { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--hm-ink); }
.hm-form label span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--hm-muted); }
.hm-form input, .hm-form select, .hm-form textarea {
  font: inherit; font-size: 1rem; color: var(--hm-ink); background: #fff;
  border: 0; border-bottom: 1px solid #9aa2b1; border-radius: 0; padding: 10px 0; width: 100%;
  transition: border-color .2s ease;
}
.hm-form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230d2552' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 24px; }
.hm-form textarea { min-height: 120px; resize: vertical; border: 1px solid #9aa2b1; padding: 12px; }
.hm-form input:focus, .hm-form select:focus, .hm-form textarea:focus { outline: none; border-color: var(--hm-navy); }
.hm-form .hm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hm-form .hm-consent { grid-column: 1 / -1; font-size: .88rem; color: var(--hm-muted); }
.hm-form button { grid-column: 1 / -1; justify-self: start; cursor: pointer; }
.hm-notice { padding: 18px 22px; border-left: 2px solid var(--hm-gold); background: var(--hm-ivory); margin-bottom: 32px; }
.hm-notice.is-error { border-left-color: #a33a2b; }

/* ---------- Pied de page ---------- */
.hm-footer { background: var(--hm-navy-deep); color: var(--hm-muted-on-navy); padding: 80px 0 36px; font-size: .95rem; }
.hm-footer a { color: #dfe5f0; text-decoration: none; }
.hm-footer a:hover { color: var(--hm-gold-light); }
.hm-footer__grid { display: grid; grid-template-columns: minmax(0, 3fr) repeat(4, minmax(0, 2fr)); gap: 32px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.hm-footer .hm-brand { color: #fff; }
.hm-footer .hm-brand__tag { color: var(--hm-muted-on-navy); }
.hm-footer .hm-footer__about { margin-top: 24px !important; max-width: 340px; line-height: 1.6; }
.hm-footer h4 { font-family: var(--hm-sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--hm-gold-light); margin: 0 0 18px; font-weight: 600; }
.hm-footer ul { list-style: none; margin: 0; padding: 0; }
.hm-footer li { margin: 0 0 11px; }
.hm-footer__legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; font-size: .84rem; }
.hm-footer__legal nav { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- Mouvements ----------
   Uniquement si le visiteur n'a pas demandé à réduire les animations.
   Seules la transparence et la position changent : aucun décalage de mise en page. */
@media (prefers-reduced-motion: no-preference) {
  /* La fleur : le germe se trace, les cercles éclosent depuis le centre, puis rotation très lente */
  .hm-fleur svg { animation: hmf-tourne 300s linear infinite; }
  .hm-fleur circle:not(.hm-fleur__germe):not(.hm-fleur__anneau) {
    opacity: 0; transform: translate(calc(var(--x) * -1), calc(var(--y) * -1));
    animation: hmf-eclot 1.7s cubic-bezier(.2, .7, .2, 1) forwards;
    animation-delay: calc(1.25s + var(--k) * .26s);
  }
  .hm-fleur .hm-fleur__germe { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hmf-trace 1.4s cubic-bezier(.6, 0, .3, 1) .15s forwards; }
  .hm-fleur .hm-fleur__anneau { opacity: 0; animation: hmf-apparait 2s ease 2.4s forwards; }
  .hm-fleur--page circle:not(.hm-fleur__germe):not(.hm-fleur__anneau) { animation-duration: 1.2s; animation-delay: calc(.5s + var(--k) * .12s); }
  .hm-fleur--page .hm-fleur__germe { animation-duration: .8s; }
  .hm-fleur--page .hm-fleur__anneau { animation-delay: 1.2s; }
  @keyframes hmf-trace { to { stroke-dashoffset: 0; } }
  @keyframes hmf-eclot { to { opacity: 1; transform: none; } }
  @keyframes hmf-apparait { to { opacity: 1; } }
  @keyframes hmf-tourne { to { transform: rotate(360deg); } }

  /* Le texte de l'en-tête reste affiché d'emblée ; seul le trait du surtitre se dessine */
  :is(.hm-hero, .hm-page-hero) .hm-kicker::before { transform-origin: left; animation: hm-trait .9s cubic-bezier(.2, .7, .2, 1) .3s both; }
  @keyframes hm-trait { from { transform: scaleX(0); } }

  /* Logo : un sixième de tour au survol */
  .hm-brand__mark svg { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
  .hm-brand:hover .hm-brand__mark svg, .hm-brand:focus-visible .hm-brand__mark svg { transform: rotate(60deg); }

  /* Apparition au défilement */
  .hm-js .hm-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--hm-i, 0) * 90ms); }
  .hm-js .hm-reveal .hm-kicker::before { transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2, .7, .2, 1) .25s; }
  .hm-js .hm-reveal.is-visible .hm-kicker::before { transform: none; }

  /* Chaîne des quatre maillons : un fil doré relie les étapes */
  .hm-chain { position: relative; }
  .hm-js .hm-chain::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 1px; background: linear-gradient(90deg, var(--hm-rule), var(--hm-gold)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.4, 0, .2, 1) .2s; }
  .hm-js .hm-chain.is-visible::before { transform: none; }

  /* Courbe de performance : la ligne se trace */
  .hm-js .hm-curve .hm-curve__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s cubic-bezier(.4, 0, .2, 1) .3s; }
  .hm-js .hm-curve.is-visible .hm-curve__line { stroke-dashoffset: 0; }
  .hm-js .hm-curve .hm-curve__dot, .hm-js .hm-curve .hm-curve__mark { opacity: 0; transition: opacity .6s ease 2s; }
  .hm-js .hm-curve.is-visible .hm-curve__dot, .hm-js .hm-curve.is-visible .hm-curve__mark { opacity: 1; }

  /* Tableau de bord : les repères se posent un à un */
  .hm-js .hm-dash .hm-dash__bar > * { opacity: 0; transition: opacity .6s ease; }
  .hm-js .hm-dash.is-visible .hm-dash__bar > i { opacity: 1; transition-delay: .3s; }
  .hm-js .hm-dash.is-visible .hm-dash__bar > b { opacity: 1; transition-delay: .9s; }
  .hm-js .hm-reveal.is-visible { opacity: 1; transform: none; }
  .hm-js .hm-chain__step { opacity: 0; transition: opacity .6s ease; }
  .hm-js .hm-chain.is-visible .hm-chain__step { opacity: 1; }
  .hm-js .hm-chain.is-visible .hm-chain__step:nth-child(2) { transition-delay: .25s; }
  .hm-js .hm-chain.is-visible .hm-chain__step:nth-child(3) { transition-delay: .5s; }
  .hm-js .hm-chain.is-visible .hm-chain__step:nth-child(4) { transition-delay: .75s; }
}

/* ---------- Barre de lecture et seuil du mandat (statiques) ---------- */
.hm-lecture { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--hm-gold); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.hm-phase { position: relative; }
.hm-phase__seuil { position: absolute; left: 0; top: -30px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--hm-gold-text); white-space: nowrap; }
.hm-phase__seuil::after { content: ""; position: absolute; left: 0; top: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--hm-gold); }
@media (max-width: 820px) { .hm-phase__seuil { position: static; display: block; margin-bottom: 8px; } .hm-phase__seuil::after { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* Les transitions ne sont posées que sur l'état visible : l'état de départ s'applique d'un coup, sans effet retour */
  /* Tableau de bord : le point glisse du premier relevé au dernier, en laissant un fil doré */
  .hm-js .hm-dash .hm-dash__bar::after { content: ""; position: absolute; top: 0; height: 2px; background: var(--hm-gold);
    left: min(var(--from, 0%), var(--to, 0%)); width: calc(max(var(--from, 0%), var(--to, 0%)) - min(var(--from, 0%), var(--to, 0%)));
    transform: scaleX(0); transform-origin: left; }
  .hm-js .hm-dash .hm-dash__bar.is-down::after { transform-origin: right; }
  .hm-js .hm-dash.is-visible .hm-dash__bar::after { transform: none; transition: transform 1.2s cubic-bezier(.4, 0, .2, 1) calc(1s + var(--r, 0) * 90ms); }
  .hm-js .hm-dash .hm-dash__bar > b[style*="--to"] { left: var(--from) !important; transition: none; }
  .hm-js .hm-dash.is-visible .hm-dash__bar > i { transition-delay: calc(.2s + var(--r, 0) * 90ms); }
  .hm-js .hm-dash.is-visible .hm-dash__bar > b[style*="--to"] { left: var(--to) !important; transition: opacity .4s ease calc(.6s + var(--r, 0) * 90ms), left 1.2s cubic-bezier(.4, 0, .2, 1) calc(1s + var(--r, 0) * 90ms); }
  .hm-js .hm-dash .hm-dash__trend { opacity: 0; }
  .hm-js .hm-dash.is-visible .hm-dash__trend { opacity: 1; transition: opacity .6s ease calc(2.1s + var(--r, 0) * 90ms); }

  /* Métabolisme : le flux entre dans la fleur, puis en ressort ; les pertes de valeur viennent en dernier */
  .hm-js .hm-metabolism.hm-flux .hm-metabolism__side { position: relative; }
  .hm-js .hm-metabolism.hm-flux .hm-metabolism__side::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--hm-gold); transform: scaleX(0); transform-origin: left; }
  .hm-js .hm-metabolism.hm-flux .hm-metabolism__side::after { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--hm-gold); opacity: 0; }
  .hm-js .hm-metabolism.hm-flux.is-visible .hm-metabolism__side::before { transform: none; transition: transform 1.1s cubic-bezier(.4, 0, .2, 1) .2s; }
  .hm-js .hm-metabolism.hm-flux.is-visible .hm-metabolism__side::after { animation: hm-flux 1.1s cubic-bezier(.4, 0, .2, 1) .2s forwards; }
  .hm-js .hm-metabolism.hm-flux.is-visible .hm-metabolism__side + .hm-metabolism__core + .hm-metabolism__side::before { transition-delay: 2s; }
  .hm-js .hm-metabolism.hm-flux.is-visible .hm-metabolism__side + .hm-metabolism__core + .hm-metabolism__side::after { animation-delay: 2s; }
  .hm-js .hm-metabolism.hm-flux .hm-metabolism__core { opacity: .35; transform: scale(.94); }
  .hm-js .hm-metabolism.hm-flux.is-visible .hm-metabolism__core { opacity: 1; transform: none; transition: opacity .9s ease 1.1s, transform 1.2s cubic-bezier(.2, .7, .2, 1) 1.1s; }
  .hm-js .hm-metabolism.hm-flux.is-visible .hm-metabolism__core img { animation: hmf-tourne 300s linear 1.1s infinite; }
  .hm-js .hm-metabolism.hm-flux .hm-loss { opacity: 0; transform: translateY(6px); }
  .hm-js .hm-metabolism.hm-flux.is-visible .hm-loss { opacity: 1; transform: none; transition: opacity .8s ease 3.2s, transform .8s ease 3.2s; }
  @keyframes hm-flux { 0% { opacity: 0; left: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; left: calc(100% - 7px); } }

  /* Méthode : le trait avance d'étape en étape et allume chaque repère */
  .hm-js .hm-steps.hm-trace .hm-step { border-top-color: var(--hm-rule); }
  .hm-js .hm-steps.hm-trace .hm-step::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--hm-navy); transform: scaleX(0); transform-origin: left; }
  .hm-js .hm-steps.hm-trace .hm-step::before { z-index: 1; }
  .hm-js .hm-steps.hm-trace.is-visible .hm-step::after { transform: none; transition: transform .55s linear calc(.3s + var(--s, 0) * .55s); }
  .hm-js .hm-steps.hm-trace.is-visible .hm-step::before { background-color: var(--hm-gold); border-color: var(--hm-gold); transition: background-color .4s ease, border-color .4s ease; transition-delay: calc(.3s + var(--s, 0) * .55s); }
  .hm-js .hm-phases.hm-trace .hm-phase { border-top-color: transparent; }
  .hm-js .hm-phases.hm-trace .hm-phase::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--hm-gold); transform: scaleX(0); transform-origin: left; }
  .hm-js .hm-phases.hm-trace.is-visible .hm-phase::before { transform: none; transition: transform .9s cubic-bezier(.4, 0, .2, 1) .2s; }
  .hm-js .hm-phases.hm-trace.is-visible .hm-phase + .hm-phase::before { transition-delay: 1.5s; }
  .hm-js .hm-phases.hm-trace .hm-phase__seuil { opacity: 0; }
  .hm-js .hm-phases.hm-trace.is-visible .hm-phase__seuil { opacity: 1; transition: opacity .6s ease 1.1s; }

  /* Barre de lecture : suit le défilement sans à-coups */
  .hm-lecture { transition: transform .12s linear; }
}

/* ---------- Adaptation ---------- */
@media (max-width: 1080px) {
  .hm-nav__list, .hm-header .hm-nav > .hm-button { display: none; }
  .hm-burger { display: block; }
  .hm-nav.is-open { position: fixed; inset: 84px 0 0 0; background: #fff; display: block; overflow-y: auto; padding: 16px var(--hm-gutter) 48px; }
  .admin-bar .hm-nav.is-open { top: 116px; }
  .hm-nav.is-open .hm-nav__list { display: block; }
  .hm-nav.is-open .hm-nav__list > li { border-bottom: 1px solid var(--hm-rule); }
  .hm-nav.is-open .hm-nav__list a, .hm-nav.is-open .hm-nav__toggle { padding: 20px 0; font-size: 1.1rem; width: 100%; justify-content: space-between; }
  .hm-nav.is-open .hm-sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; min-width: 0; padding: 0 0 12px; display: none; }
  .hm-nav.is-open .hm-sub.is-open { display: block; }
  .hm-nav.is-open .hm-sub a { padding: 12px 0 12px 16px; }
  .hm-nav.is-open > .hm-button { display: inline-block; margin-top: 32px; }
  .hm-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 0; }
  .hm-chain__step:nth-child(3) { padding-left: 0; border-left: 0; }
  .hm-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 0; }
  .hm-phases { grid-template-columns: 1fr; gap: 24px; }
  .hm-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  body.hm-site { font-size: 17px; }
  .hm-split, .hm-grid-2, .hm-grid-3, .hm-cta__inner, .hm-holds, .hm-quotes { grid-template-columns: 1fr; }
  .hm-split > :first-child { position: static; }
  .hm-situations { grid-template-columns: 1fr; }
  .hm-situation, .hm-situation:nth-child(even) { padding: 32px 0 36px; border-left: 0; }
  .hm-functions { grid-template-columns: 1fr 1fr; }
  .hm-metabolism { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hm-metabolism__side { width: 100%; }
  .hm-values { grid-template-columns: 1fr; }
  .hm-neq { padding: 12px 0; }
  .hm-plan, .hm-trust { grid-template-columns: 1fr; gap: 32px; }
  .hm-plan__step + .hm-plan__step, .hm-trust > div + div { padding-left: 0; border-left: 0; }
  .hm-trust > div { padding-right: 0; }
  .hm-mission { grid-template-columns: 1fr; gap: 8px; }
  .hm-mission__time { text-align: left; }
  .hm-dash { grid-template-columns: 1fr; }
  .hm-contexts { grid-template-columns: 1fr; }
  .hm-contexts dt { border-bottom: 0; padding-bottom: 0; }
  .hm-cta__side { text-align: left; }
  .hm-form { grid-template-columns: 1fr; }
  .hm-mech thead { display: none; }
  .hm-mech tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--hm-rule); }
  .hm-mech td { display: block; border: 0; padding: 4px 0; width: auto !important; }
  .hm-hero::after, .hm-page-hero::after { opacity: .18; }
}
@media (max-width: 560px) {
  .hm-chain, .hm-steps, .hm-functions, .hm-team, .hm-grid-4 { grid-template-columns: 1fr; }
  .hm-chain__step + .hm-chain__step { padding-left: 0; border-left: 0; padding-top: 32px; border-top: 1px solid var(--hm-rule); }
  .hm-footer__grid { grid-template-columns: 1fr; }
  .hm-brand__tag { display: none; }
  .admin-bar .hm-header { top: 0; }
}

/* ---------- Priorité sur l'extrait WPCode « Fix typographie globale » (Source Sans forcée partout) ---------- */
html body.hm-site.hm-site :is(h1, h2, h3, .hm-brand__name, .hm-chain__num, .hm-chain__because, .hm-quote p, .hm-function__code,
  .hm-metabolism__side p, .hm-metabolism__core span, .hm-holds dt, .hm-contexts dd, .hm-faq summary, .hm-person__mono,
  .hm-neq, .hm-serif) { font-family: var(--hm-serif) !important; }
html body.hm-site.hm-site .hm-numbered > li::before { font-family: var(--hm-serif) !important; }
html body.hm-site.hm-site :is(h1, h2, h3, .hm-quote p) * { font-family: inherit !important; }
html body.hm-site.hm-site :is(.hm-holds h3, .hm-sans, h3.hm-sans) { font-family: var(--hm-sans) !important; }
html body.hm-site.hm-site .hm-curve :is(.hm-curve__label, .hm-curve__label tspan) { font-family: var(--hm-serif) !important; }
html body.hm-site.hm-site .hm-person p.hm-person__devise { font-family: var(--hm-serif) !important; }
html body.hm-site.hm-site .hm-person__devise span { font-family: var(--hm-sans) !important; }
.hm-values + .hm-chain-note, .hm-mech + .hm-chain-note { border-top: 0; padding-top: 0; }
html body.hm-site :is(ul.hm-dash, ol.hm-numbered, ul.hm-nav__list, .hm-footer ul) { margin-left: 0 !important; padding-left: 0 !important; }

/* Boutons de sous-menu : neutraliser le fond doré du thème au survol, au focus et à l'ouverture */
html body.hm-site .hm-nav__toggle,
html body.hm-site .hm-nav__toggle:hover,
html body.hm-site .hm-nav__toggle:focus,
html body.hm-site .hm-nav__toggle:active,
html body.hm-site .hm-nav__toggle[aria-expanded="true"] { background: transparent !important; color: var(--hm-ink) !important; box-shadow: none !important; border-color: transparent !important; }
html body.hm-site .hm-nav__toggle:hover,
html body.hm-site .hm-nav__toggle[aria-expanded="true"] { color: var(--hm-navy) !important; text-decoration: underline; text-decoration-color: var(--hm-gold); text-underline-offset: 6px; }
html body.hm-site .hm-nav__toggle:focus-visible { outline: 2px solid var(--hm-gold); outline-offset: 4px; }

/* Portraits de l'équipe : photo ronde, liseré doré ; les initiales gardent le même format en attendant une photo */
.hm-person__photo { display: block; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 2px solid var(--hm-gold); padding: 3px; background: #fff; margin-bottom: 22px; }
.hm-person__mono { width: 112px; height: 112px; font-size: 1.6rem; border-width: 2px; }

/* Pied de page : la signature en tête du texte de présentation (06/10/2026) */
.hm-footer .hm-footer__baseline { display: block; color: #fff; font-weight: 600; margin-bottom: 12px; }

/* Pages légales : colonne de lecture (06/10/2026) */
.hm-legal { max-width: 760px; }
.hm-legal h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); line-height: 1.25; color: var(--hm-navy); margin: 2.4em 0 .7em; }
.hm-legal > h2:first-child, .hm-legal > :first-child h2:first-child { margin-top: 0; }
.hm-legal h3 { font-size: 1.15rem; color: var(--hm-navy); margin: 1.8em 0 .5em; }
.hm-legal p, .hm-legal li { color: var(--hm-ink); font-size: 1rem; line-height: 1.7; }
.hm-legal p { margin: 0 0 .9em; }
.hm-legal ul, .hm-legal ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.hm-legal li { margin-bottom: .35em; }
.hm-legal a { color: var(--hm-navy); text-decoration: underline; text-decoration-color: var(--hm-gold); text-underline-offset: 3px; }

/* Fleur de l'accueil : jamais sous le texte (06/10/2026).
   Ordinateur : colonne de texte de 700 px, fleur calée 60 px après elle, rognée à droite.
   Tablette et mobile : la fleur descend sous le texte, dans une bande réservée en bas de l'en-tête. */
@media (min-width: 1081px) {
  .hm-hero h1, .hm-hero .hm-lead, .hm-hero__audience { max-width: 700px; }
  .hm-fleur--accueil {
    width: 560px; height: 560px; top: 50%; margin-top: -280px; right: auto;
    left: calc(max(0px, (100% - var(--hm-wrap)) / 2) + var(--hm-gutter) + 760px);
  }
}
@media (max-width: 1080px) {
  .hm-hero { padding-bottom: 210px; }
  .hm-fleur--accueil { width: 340px; height: 340px; top: auto; margin-top: 0; left: auto; right: -110px; bottom: -170px; opacity: .16; }
}
