@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-vf.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-italic-vf.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('../fonts/source-sans-3-vf.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('../fonts/source-sans-3-italic-vf.woff2') format('woff2'); font-weight: 200 900; font-style: italic; font-display: swap; }
:root {
  --surface: #ffffff;
  --surface-soft: #f6f1eb;
  --surface-muted: #f1e9e0;
  --surface-raised: #ffffff;
  --surface-brand: #055c59;
  --surface-deep: #013d3b;
  --line: #e6dcd0;
  --line-strong: #6a918d;
  --ink: #1a2c2b;
  --ink-muted: #536665;
  --ink-subtle: #5c6f6e;
  --on-brand: #ffffff;
  --on-brand-muted: #bad7d4;
  --on-accent: #ffffff;
  --brand-900: #013d3b;
  --brand-700: #055c59;
  --brand-500: #579192;
  --brand-300: #9ac5c1;
  --brand-100: #e3f0ee;
  --brand-050: #f2f7f9;
  --gold-500: #dcc663;
  --gold-700: #7f640f;
  --gold-100: #f7f0d3;
  --on-gold: #1a2c2b;
  --link: var(--brand-700);
  --focus: var(--brand-700);
  --danger: #b3261e;
  --success: var(--brand-700);
  --star: #fd790e;
  --scrim: #013d3b8c;
  --shadow-sm: 0 1px 2px #013d3b0f, 0 2px 6px #013d3b0f;
  --shadow-md: 0 8px 24px -8px #013d3b2e, 0 2px 6px #013d3b0f;
  --shadow-lg: 0 24px 48px -16px #013d3b40;
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #055c59;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --container: 1160px;
  --measure: 68ch;
  --control-h: 48px;
  --control-h-sm: 40px;
  --header-h: 76px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --surface: #082625;
  --surface-soft: #0d3230;
  --surface-muted: #123b39;
  --surface-raised: #123b39;
  --surface-brand: #164744;
  --surface-deep: #051b1a;
  --line: #264c4a;
  --line-strong: #678a87;
  --ink: #eef3f5;
  --ink-muted: #a7bcba;
  --ink-subtle: #91a7a5;
  --on-brand: #eef3f5;
  --on-brand-muted: #a7bcba;
  --on-accent: #082625;
  --brand-900: #c8dfdc;
  --brand-700: #9ac5c1;
  --brand-500: #6bb3ae;
  --brand-300: #579192;
  --brand-100: #164744;
  --brand-050: #0d3230;
  --gold-500: #e3cf73;
  --gold-700: #e3cf73;
  --gold-100: #3a3418;
  --on-gold: #082625;
  --link: var(--brand-700);
  --focus: var(--brand-700);
  --danger: #f08a7e;
  --success: var(--brand-700);
  --star: #ffa04d;
  --scrim: #051b1ab3;
  --shadow-sm: 0 1px 2px #00000066;
  --shadow-md: 0 8px 24px -8px #000000b3;
  --shadow-lg: 0 24px 48px -16px #000000e6;
  --focus-ring: 0 0 0 2px #082625, 0 0 0 4px #9ac5c1;
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --surface: #082625;
  --surface-soft: #0d3230;
  --surface-muted: #123b39;
  --surface-raised: #123b39;
  --surface-brand: #164744;
  --surface-deep: #051b1a;
  --line: #264c4a;
  --line-strong: #678a87;
  --ink: #eef3f5;
  --ink-muted: #a7bcba;
  --ink-subtle: #91a7a5;
  --on-brand: #eef3f5;
  --on-brand-muted: #a7bcba;
  --on-accent: #082625;
  --brand-900: #c8dfdc;
  --brand-700: #9ac5c1;
  --brand-500: #6bb3ae;
  --brand-300: #579192;
  --brand-100: #164744;
  --brand-050: #0d3230;
  --gold-500: #e3cf73;
  --gold-700: #e3cf73;
  --gold-100: #3a3418;
  --on-gold: #082625;
  --link: var(--brand-700);
  --focus: var(--brand-700);
  --danger: #f08a7e;
  --success: var(--brand-700);
  --star: #ffa04d;
  --scrim: #051b1ab3;
  --shadow-sm: 0 1px 2px #00000066;
  --shadow-md: 0 8px 24px -8px #000000b3;
  --shadow-lg: 0 24px 48px -16px #000000e6;
  --focus-ring: 0 0 0 2px #082625, 0 0 0 4px #9ac5c1;
  color-scheme: dark;
}
/* Hypnoprax — composants (préfixe hx-). Toutes les couleurs, tailles et rayons viennent de tokens.css. */

/* ---------- Base ---------- */
.hx, .hx-root { font-family: var(--font-sans); color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
:where(.hx *, .hx *::before, .hx *::after) { box-sizing: border-box; }
:where(.hx h1, .hx h2, .hx h3, .hx h4, .hx p, .hx ul, .hx ol, .hx figure, .hx blockquote) { margin: 0; }
:where(.hx ul, .hx ol) { padding: 0; list-style: none; }
:where(.hx a) { color: var(--link); }
:where(.hx img, .hx svg) { display: block; max-width: 100%; }
:where(.hx sup) { line-height: 0; font-size: .7em; }
:where(.hx button) { font: inherit; color: inherit; }
.hx :focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }

/* Type helpers (miroir des styles de tokens.json) */
.hx-display { font-family: var(--font-display); font-size: 56px; line-height: 60px; font-weight: 500; letter-spacing: -0.015em; font-variation-settings: "opsz" 72; }
.hx-h1 { font-family: var(--font-display); font-size: 44px; line-height: 50px; font-weight: 500; letter-spacing: -0.01em; font-variation-settings: "opsz" 48; }
.hx-h2 { font-family: var(--font-display); font-size: 34px; line-height: 40px; font-weight: 500; letter-spacing: -0.005em; font-variation-settings: "opsz" 36; }
.hx-h3 { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 500; font-variation-settings: "opsz" 24; }
.hx-quote-text { font-family: var(--font-display); font-size: 26px; line-height: 36px; font-weight: 400; font-style: italic; font-variation-settings: "opsz" 24; }
.hx-lede { font-size: 20px; line-height: 30px; font-weight: 400; color: var(--ink-muted); }
.hx-body { font-size: 17px; line-height: 28px; }
.hx-body-sm { font-size: 15px; line-height: 22px; }
.hx-label { font-size: 18px; line-height: 26px; font-weight: 600; }
.hx-eyebrow sup { text-transform: none; }
.hx-eyebrow { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-700); }
.hx-caption { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-subtle); }
.hx-measure { max-width: var(--measure); }
.hx-muted { color: var(--ink-muted); }
.hx-on-dark { color: var(--on-brand); }
.hx-on-dark .hx-eyebrow { color: var(--gold-500); }
.hx-on-dark .hx-lede, .hx-on-dark .hx-muted { color: var(--on-brand-muted); }
@media (max-width: 767px) {
  .hx-display { font-size: 38px; line-height: 42px; }
  .hx-h1 { font-size: 34px; line-height: 40px; }
  .hx-h2 { font-size: 28px; line-height: 34px; }
  .hx-lede { font-size: 18px; line-height: 28px; }
}

/* ---------- Icônes ---------- */
.hx-icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.hx-icon--sm { width: 20px; height: 20px; }
.hx-icon--lg { width: 32px; height: 32px; }
.hx-icon-plate { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; }
.hx-icon-plate--round { border-radius: var(--radius-full); }

/* ---------- Boutons ---------- */
.hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--control-h); padding: 0 var(--space-6); border-radius: var(--radius-md); border: 1.5px solid transparent; font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.hx-btn--primary { background: var(--brand-700); color: var(--on-accent); border-color: var(--brand-700); }
.hx-btn--primary:hover { background: var(--brand-900); border-color: var(--brand-900); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.hx-btn--secondary { background: transparent; color: var(--brand-700); border-color: var(--line-strong); }
.hx-btn--secondary:hover { background: var(--brand-100); border-color: var(--brand-700); }
.hx-btn--soft { background: var(--brand-100); color: var(--brand-700); }
.hx-btn--soft:hover { background: var(--surface-raised); box-shadow: inset 0 0 0 1.5px var(--brand-700); }
.hx-btn--ghost { background: transparent; color: var(--brand-700); padding: 0 var(--space-3); }
.hx-btn--ghost:hover { background: var(--brand-100); text-decoration: underline; text-underline-offset: 3px; }
.hx-btn--accent { background: var(--gold-500); color: var(--on-gold); border-color: var(--gold-500); }
.hx-btn--accent:hover { background: var(--gold-100); border-color: var(--gold-100); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.hx-btn--inverse { background: var(--on-brand); color: var(--surface-brand); border-color: var(--on-brand); }
.hx-btn--inverse:hover { background: var(--on-brand-muted); border-color: var(--on-brand-muted); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.hx-btn--outline-inverse { background: transparent; color: var(--on-brand); border-color: var(--brand-300); }
.hx-btn--outline-inverse:hover { background: rgba(255,255,255,.14); border-color: var(--on-brand); }
.hx-btn--sm { min-height: var(--control-h-sm); padding: 0 var(--space-4); font-size: 15px; }
.hx-btn--lg { min-height: 56px; padding: 0 var(--space-8); font-size: 17px; }
.hx-btn:active { transform: translateY(1px); box-shadow: none; }
@media (hover: none) { .hx-btn:hover { transform: none; box-shadow: none; } }
.hx-btn[aria-disabled="true"], .hx-btn:disabled { opacity: .5; pointer-events: none; }
.hx-btn .hx-icon { width: 20px; height: 20px; }
.hx-link { color: var(--link); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: var(--space-1); }
.hx-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Layout ---------- */
.hx-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.hx-section { padding: var(--space-20) 0; }
.hx-section--soft { background: var(--surface-soft); }
.hx-section--brand { background: var(--surface-brand); color: var(--on-brand); }
.hx-section--deep { background: var(--surface-deep); color: var(--on-brand); }
.hx-grid { display: grid; gap: var(--space-6); }
.hx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hx-stack { display: flex; flex-direction: column; gap: var(--space-4); }
.hx-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
@media (max-width: 1023px) { .hx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .hx-container { padding: 0 var(--space-4); } .hx-section { padding: var(--space-12) 0; } .hx-grid--2, .hx-grid--3, .hx-grid--4 { grid-template-columns: 1fr; } .hx-grid { gap: var(--space-5); } }

/* ---------- Section heading ---------- */
.hx-section-head { display: flex; flex-direction: column; gap: var(--space-3); max-width: 720px; margin-bottom: var(--space-10); }
.hx-section-head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.hx-section-head .hx-h2 { color: var(--brand-700); }
.hx-on-dark .hx-section-head .hx-h2, .hx-section--brand .hx-h2, .hx-section--deep .hx-h2 { color: var(--on-brand); }
.hx-underline { width: 48px; height: 3px; border-radius: 2px; background: var(--gold-500); }

/* ---------- Header ---------- */
.hx-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.hx-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: var(--header-h); }
.hx-header__logo img { height: 44px; width: auto; }
.hx-nav { display: flex; align-items: center; gap: var(--space-1); }
.hx-nav__item { position: relative; }
.hx-nav__link { display: inline-flex; align-items: center; gap: var(--space-1); padding: 10px var(--space-3); border-radius: var(--radius-sm); font-size: 15px; line-height: 20px; font-weight: 500; color: var(--ink); text-decoration: none; background: transparent; border: 0; cursor: pointer; }
.hx-nav__link:hover, .hx-nav__link[aria-expanded="true"] { background: var(--brand-050); color: var(--brand-700); }
.hx-nav__link[aria-current="page"] { color: var(--brand-700); box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 0; }
.hx-nav__link .hx-icon { width: 16px; height: 16px; }
.hx-nav__menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; padding: var(--space-2); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); display: none; }
.hx-nav__item[data-open="true"] .hx-nav__menu, .hx-nav__item:focus-within .hx-nav__menu { display: block; }
.hx-nav__menu a { display: block; padding: 10px var(--space-3); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: 15px; line-height: 20px; }
.hx-nav__menu a:hover { background: var(--brand-050); color: var(--brand-700); }
.hx-header__cta { display: flex; align-items: center; gap: var(--space-3); }
.hx-theme-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-full); border: 1px solid var(--line); background: var(--surface-raised); color: var(--brand-700); cursor: pointer; transition: background-color .15s, border-color .15s; }
.hx-theme-toggle:hover { background: var(--brand-100); border-color: var(--brand-700); }
.hx-theme-toggle .hx-icon { width: 20px; height: 20px; }
.hx-theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .hx-theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .hx-theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hx-theme-toggle .icon-sun { display: block; } :root:not([data-theme="light"]) .hx-theme-toggle .icon-moon { display: none; } }
.hx-burger { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); color: var(--brand-700); place-items: center; cursor: pointer; }
.hx-drawer { display: none; padding: var(--space-4) 0 var(--space-6); border-top: 1px solid var(--line); }
.hx-drawer a, .hx-drawer summary { display: block; padding: 12px var(--space-2); font-size: 17px; line-height: 24px; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); cursor: pointer; }
.hx-drawer details a { padding-left: var(--space-6); color: var(--ink-muted); }
.hx-drawer summary::marker { color: var(--brand-500); }
.hx-header[data-open="true"] .hx-drawer { display: block; }
@media (max-width: 1023px) { .hx-nav, .hx-header__cta .hx-btn--secondary { display: none; } .hx-burger { display: grid; } }
@media (max-width: 599px) { .hx-header__cta .hx-btn--primary { display: none; } .hx-header__logo img { height: 36px; } }

/* ---------- Footer ---------- */
.hx-footer { background: var(--surface-brand); color: var(--on-brand); }
.hx-footer__main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-8); padding-top: var(--space-16); padding-bottom: var(--space-12); }
.hx-footer__brand img { height: 40px; width: auto; margin-bottom: var(--space-4); }
.hx-footer__brand p { color: var(--on-brand-muted); font-size: 15px; line-height: 22px; max-width: 36ch; }
.hx-footer h4 { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-500); margin-bottom: var(--space-4); }
.hx-footer ul { display: flex; flex-direction: column; gap: var(--space-2); }
.hx-footer a { color: var(--on-brand); text-decoration: none; font-size: 15px; line-height: 22px; }
.hx-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hx-footer__contact li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 15px; line-height: 22px; }
.hx-footer__contact .hx-icon { width: 20px; height: 20px; color: var(--brand-300); margin-top: 1px; }
.hx-footer__bottom { background: var(--surface-deep); }
.hx-footer__bottom .hx-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-4); padding-bottom: var(--space-4); font-size: 13px; line-height: 18px; color: var(--on-brand-muted); }
.hx-footer__bottom a { font-size: 13px; line-height: 18px; color: var(--on-brand-muted); margin-left: var(--space-4); }
@media (max-width: 1023px) { .hx-footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .hx-footer__main { grid-template-columns: 1fr; gap: var(--space-8); padding-top: var(--space-12); padding-bottom: var(--space-12); } .hx-footer__bottom a { margin-left: 0; margin-right: var(--space-4); } }

/* ---------- Hero ---------- */
.hx-hero { position: relative; overflow: hidden; background: var(--surface-brand); color: var(--on-brand); border-radius: 0; }
.hx-hero--panel { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.hx-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--space-12); align-items: center; padding-top: var(--space-16); padding-bottom: var(--space-16); }
.hx-hero__text { display: flex; flex-direction: column; gap: var(--space-5); max-width: 620px; }
.hx-hero__text .hx-eyebrow { color: var(--gold-500); }
.hx-hero__text .hx-lede { color: var(--on-brand-muted); }
.hx-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.hx-hero__arcs { position: absolute; right: -8%; top: -30%; width: 62%; opacity: .55; pointer-events: none; }
.hx-hero__arcs path { fill: none; stroke: var(--brand-300); stroke-width: 10; stroke-linecap: round; }
.hx-hero__figure { position: relative; z-index: 1; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface-deep); aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.hx-hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.hx-hero--photo::before { content: ""; position: absolute; inset: 0; background: var(--scrim); z-index: 1; }
.hx-hero--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx-hero--light { background: var(--surface-soft); color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
.hx-hero--light .hx-hero__text .hx-eyebrow { color: var(--gold-700); }
.hx-hero--light .hx-display { color: var(--brand-700); }
.hx-hero--light .hx-hero__text .hx-lede { color: var(--ink-muted); }
.hx-hero--light .hx-hero__arcs { opacity: .45; }
.hx-hero--light .hx-hero__arcs path { stroke: var(--brand-300); }
.hx-hero--light .hx-hero__arcs path:nth-child(2) { stroke: var(--gold-500); }
.hx-hero--light .hx-hero__figure { background: var(--brand-100); box-shadow: var(--shadow-md); }
@media (max-width: 1023px) { .hx-hero__inner { grid-template-columns: 1fr; padding-top: var(--space-12); padding-bottom: var(--space-12); } .hx-hero__figure { max-width: 420px; aspect-ratio: 4 / 3; } }

/* ---------- Rating badge ---------- */
.hx-rating { display: inline-flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-4) var(--space-2) var(--space-3); border-radius: var(--radius-full); background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-md); text-decoration: none; }
.hx-rating__score { font-family: var(--font-display); font-size: 22px; line-height: 24px; font-weight: 500; color: var(--brand-700); }
.hx-stars { display: inline-flex; gap: 2px; color: var(--star); }
.hx-stars .hx-icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.hx-stars--muted { color: var(--brand-300); }
.hx-rating__meta { display: flex; flex-direction: column; font-size: 13px; line-height: 16px; color: var(--ink-muted); }
.hx-rating__meta b { color: var(--ink); font-weight: 600; font-size: 14px; }

/* ---------- Citation ---------- */
.hx-quote { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: var(--space-4); padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface-soft); }
.hx-quote--plain { background: transparent; padding: 0; }
.hx-quote__mark { color: var(--gold-500); }
.hx-quote__mark .hx-icon { width: 44px; height: 44px; fill: currentColor; stroke: none; }
.hx-quote__body { display: flex; flex-direction: column; gap: var(--space-3); }
.hx-quote__body .hx-quote-text { color: var(--brand-700); }
.hx-quote__author { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--ink-muted); }
.hx-quote__author::before { content: "— "; }
.hx-on-dark .hx-quote__body .hx-quote-text { color: var(--on-brand); }
.hx-on-dark .hx-quote__author { color: var(--on-brand-muted); }
@media (max-width: 767px) { .hx-quote { grid-template-columns: 1fr; padding: var(--space-6); } .hx-quote__mark .hx-icon { width: 32px; height: 32px; } }

/* ---------- Cards ---------- */
.hx-card { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); border-radius: var(--radius-md); background: var(--surface-raised); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s, border-color .15s; }
.hx-card .hx-h3 { color: var(--brand-700); }
.hx-card p { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.hx-card--feature { padding: var(--space-8); border-radius: var(--radius-lg); }
.hx-card--soft { background: var(--surface-soft); border-color: transparent; }
.hx-card--gold { border-color: var(--gold-500); }
.hx-card--gold::before { content: ""; width: 40px; height: 3px; border-radius: 2px; background: var(--gold-500); }
.hx-card--brand { background: var(--surface-brand); color: var(--on-brand); border-color: transparent; }
.hx-card--brand .hx-h3, .hx-card--brand p { color: var(--on-brand); }
.hx-card--brand p { color: var(--on-brand-muted); }
a.hx-card:hover, .hx-card--link:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--brand-300); }
.hx-card__sub { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ink); }
.hx-card__foot { margin-top: auto; padding-top: var(--space-2); }
.hx-card--need { position: relative; padding-left: var(--space-8); }
.hx-card--need::before { content: ""; position: absolute; left: 0; top: var(--space-6); bottom: var(--space-6); width: 3px; border-radius: 2px; background: var(--gold-500); left: var(--space-4); }

/* ---------- Tuile de méthode ---------- */
.hx-tile { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); padding: var(--space-6) var(--space-4); border-radius: var(--radius-md); background: var(--surface-muted); text-align: center; text-decoration: none; color: var(--ink); transition: background-color .15s; }
.hx-tile:hover { background: var(--brand-100); }
.hx-tile .hx-icon-plate { background: var(--surface-raised); }
.hx-tile__label { font-size: 15px; line-height: 20px; font-weight: 600; }
.hx-tile__hint { font-size: 13px; line-height: 18px; color: var(--ink-muted); }

/* ---------- Avis ---------- */
.hx-review { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); border-radius: var(--radius-md); background: var(--surface-raised); border: 1px solid var(--line); }
.hx-review__head { display: flex; align-items: center; gap: var(--space-3); }
.hx-avatar { width: 44px; height: 44px; border-radius: var(--radius-full); background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-weight: 600; font-size: 15px; flex: none; overflow: hidden; }
.hx-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hx-review__who { display: flex; flex-direction: column; }
.hx-review__name { font-size: 16px; line-height: 22px; font-weight: 600; }
.hx-review__meta { font-size: 13px; line-height: 18px; color: var(--ink-subtle); }
.hx-review__text { font-size: 15px; line-height: 23px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.hx-review__text--full { display: block; }
.hx-review__source { display: flex; align-items: center; gap: var(--space-1); font-size: 13px; line-height: 18px; color: var(--ink-subtle); margin-top: auto; }

/* ---------- Bandeau d’appel ---------- */
.hx-cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--space-8); align-items: center; padding: var(--space-12) var(--space-12); border-radius: var(--radius-lg); background: var(--surface-brand); color: var(--on-brand); position: relative; overflow: hidden; }
.hx-cta__text { display: flex; flex-direction: column; gap: var(--space-3); position: relative; }
.hx-cta__text .hx-h2 { color: var(--on-brand); }
.hx-cta__text p { color: var(--on-brand-muted); font-size: 17px; line-height: 28px; max-width: 56ch; }
.hx-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); position: relative; }
.hx-cta__arcs { position: absolute; right: -60px; bottom: -120px; width: 360px; opacity: .35; }
.hx-cta__arcs path { fill: none; stroke: var(--brand-300); stroke-width: 10; stroke-linecap: round; }
@media (max-width: 1023px) { .hx-cta { grid-template-columns: 1fr; padding: var(--space-8); } }

/* ---------- Tarifs ---------- */
.hx-price { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-4) var(--space-6); align-items: start; padding: var(--space-5) 0; border-top: 1px solid var(--line); }
.hx-price:last-child { border-bottom: 1px solid var(--line); }
.hx-price__name { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 500; color: var(--brand-700); }
.hx-price__desc { font-size: 15px; line-height: 22px; color: var(--ink-muted); margin-top: var(--space-1); }
.hx-price__amount { font-family: var(--font-display); font-size: 30px; line-height: 32px; font-weight: 500; color: var(--gold-700); text-align: right; white-space: nowrap; }
.hx-price__amount--text { font-size: 22px; line-height: 32px; }
.hx-price__amount small { display: block; font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-subtle); margin-top: 2px; }
.hx-price--featured { background: var(--gold-100); border-radius: var(--radius-md); padding: var(--space-5); border-top-color: transparent; margin: 0 calc(-1 * var(--space-5)); }
.hx-price--featured + .hx-price { border-top-color: transparent; }
.hx-price__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }

/* ---------- Puces / chips ---------- */
.hx-chip { display: inline-flex; align-items: center; gap: var(--space-1); padding: 3px var(--space-3); border-radius: var(--radius-full); background: var(--brand-100); color: var(--brand-700); font-size: 13px; line-height: 18px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hx-chip--gold { background: var(--gold-100); color: var(--gold-700); }
.hx-chip--outline { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-muted); }
.hx-chip--dark { background: rgba(255,255,255,.12); color: var(--on-brand); }
a.hx-chip:hover { background: var(--brand-700); color: var(--on-accent); }

/* ---------- FAQ ---------- */
.hx-faq { border-top: 1px solid var(--line); }
.hx-faq__item { border-bottom: 1px solid var(--line); }
.hx-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 500; color: var(--brand-700); }
.hx-faq__item summary::-webkit-details-marker { display: none; }
.hx-faq__item summary .hx-icon { color: var(--brand-500); transition: transform .2s; }
.hx-faq__item[open] summary .hx-icon { transform: rotate(180deg); }
.hx-faq__body { padding: 0 0 var(--space-6); font-size: 17px; line-height: 28px; color: var(--ink); max-width: var(--measure); }
.hx-faq__body p + p { margin-top: var(--space-3); }

/* ---------- Étapes ---------- */
.hx-steps { display: grid; gap: var(--space-6); counter-reset: step; }
.hx-step { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-4); }
.hx-step__num { width: 56px; height: 56px; border-radius: var(--radius-full); background: var(--brand-700); color: var(--on-accent); display: grid; place-items: center; font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.hx-step__body { display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-2); }
.hx-step__body .hx-h3 { color: var(--brand-700); }
.hx-step__body p { color: var(--ink-muted); font-size: 16px; line-height: 26px; max-width: var(--measure); }

/* ---------- Liste à icônes ---------- */
.hx-list { display: flex; flex-direction: column; gap: var(--space-3); }
.hx-list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 17px; line-height: 28px; }
.hx-list .hx-icon { color: var(--brand-500); margin-top: 2px; }
.hx-list--check .hx-icon { color: var(--brand-700); }
.hx-list b { font-weight: 600; }

/* ---------- Contact ---------- */
.hx-contact { display: flex; flex-direction: column; gap: var(--space-4); }
.hx-contact li { display: flex; gap: var(--space-3); align-items: center; font-size: 17px; line-height: 26px; }
.hx-contact a { color: var(--ink); text-decoration: none; font-weight: 500; }
.hx-contact a:hover { color: var(--brand-700); }
.hx-form { display: grid; gap: var(--space-4); }
.hx-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.hx-field { display: flex; flex-direction: column; gap: var(--space-2); }
.hx-field label { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); }
.hx-field label small { font-weight: 400; color: var(--ink-subtle); }
.hx-input { width: 100%; min-height: var(--control-h); padding: 0 var(--space-4); border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); font: inherit; font-size: 16px; line-height: 24px; }
.hx-input::placeholder { color: var(--ink-subtle); }
.hx-input:hover { border-color: var(--brand-700); }
.hx-input:focus-visible { border-color: var(--brand-700); box-shadow: var(--focus-ring); outline: none; }
textarea.hx-input { min-height: 140px; padding: var(--space-3) var(--space-4); resize: vertical; }
.hx-field--error .hx-input { border-color: var(--danger); }
.hx-field__hint { font-size: 13px; line-height: 18px; color: var(--ink-subtle); }
.hx-field__error { font-size: 14px; line-height: 18px; color: var(--danger); font-weight: 500; display: flex; gap: var(--space-1); align-items: center; }
.hx-form__note { font-size: 13px; line-height: 18px; color: var(--ink-subtle); }
@media (max-width: 767px) { .hx-form__row { grid-template-columns: 1fr; } }

/* ---------- Article card ---------- */
.hx-post { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-raised); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.hx-post:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hx-post__media { aspect-ratio: 16 / 9; background: var(--brand-100); position: relative; overflow: hidden; }
.hx-post__media img { width: 100%; height: 100%; object-fit: cover; }
.hx-post__media--arcs { display: grid; place-items: center; color: var(--brand-500); }
.hx-post__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); }
.hx-post__title { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 500; color: var(--brand-700); }
.hx-post__excerpt { font-size: 15px; line-height: 22px; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hx-post__meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); font-size: 13px; line-height: 18px; color: var(--ink-subtle); margin-top: auto; padding-top: var(--space-2); }
.hx-post--row { flex-direction: row; }
.hx-post--row .hx-post__media { width: 40%; aspect-ratio: auto; }
@media (max-width: 767px) { .hx-post--row { flex-direction: column; } .hx-post--row .hx-post__media { width: 100%; aspect-ratio: 16 / 9; } }

/* ---------- Prose (articles, pages légales) ---------- */
.hx-prose { font-size: 17px; line-height: 28px; color: var(--ink); max-width: var(--measure); }
.hx-prose > * + * { margin-top: var(--space-5); }
.hx-prose h2 { font-family: var(--font-display); font-size: 30px; line-height: 36px; font-weight: 500; color: var(--brand-700); margin-top: var(--space-12); }
.hx-prose h3 { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 500; color: var(--brand-700); margin-top: var(--space-8); }
.hx-prose h2 + *, .hx-prose h3 + * { margin-top: var(--space-3); }
.hx-prose ul, .hx-prose ol { padding-left: 1.4em; }
.hx-prose ul { list-style: disc; }
.hx-prose ol { list-style: decimal; }
.hx-prose li + li { margin-top: var(--space-2); }
.hx-prose li::marker { color: var(--brand-500); }
.hx-prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hx-prose strong { font-weight: 600; }
.hx-prose figure { margin-top: var(--space-8); margin-bottom: var(--space-8); }
.hx-prose figure img { border-radius: var(--radius-lg); width: 100%; }
.hx-prose figcaption { font-size: 13px; line-height: 18px; color: var(--ink-subtle); margin-top: var(--space-2); }
.hx-prose blockquote { margin: var(--space-8) 0; padding-left: var(--space-5); border-left: 3px solid var(--gold-500); font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 32px; color: var(--brand-700); }
.hx-prose--legal { font-size: 15px; line-height: 24px; }
.hx-prose--legal h2 { font-size: 22px; line-height: 28px; margin-top: var(--space-8); }

/* ---------- Encadré ---------- */
.hx-callout { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); padding: var(--space-5) var(--space-6); border-radius: var(--radius-md); background: var(--gold-100); color: var(--ink); font-size: 15px; line-height: 23px; }
.hx-callout .hx-icon { color: var(--gold-700); }
.hx-callout b { display: block; font-weight: 600; margin-bottom: 2px; }
.hx-callout--brand { background: var(--brand-100); }
.hx-callout--brand .hx-icon { color: var(--brand-700); }
.hx-callout--danger { background: var(--surface-soft); border: 1px solid var(--danger); }
.hx-callout--danger .hx-icon { color: var(--danger); }

/* ---------- Page head (pages intérieures) ---------- */
.hx-page-head { padding: var(--space-16) 0 var(--space-12); background: var(--surface-soft); border-bottom: 1px solid var(--line); }
.hx-page-head .hx-h1 { color: var(--brand-700); max-width: 18ch; }
.hx-page-head .hx-lede { max-width: var(--measure); margin-top: var(--space-4); }
.hx-page-head .hx-eyebrow { margin-bottom: var(--space-3); }
.hx-crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: 13px; line-height: 18px; color: var(--ink-subtle); margin-bottom: var(--space-5); }
.hx-crumbs a { color: var(--ink-muted); text-decoration: none; }
.hx-crumbs a:hover { color: var(--brand-700); }
.hx-crumbs li + li::before { content: "›"; margin-right: var(--space-2); color: var(--brand-300); }

/* ---- site ---- */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 28px; -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hx * { transition: none !important; } }
.hx-header { top: env(safe-area-inset-top, 0px); }
.hx-header__logo img { display: block; }
.hx-header__logo .logo-dark { display: none; }
:root[data-theme="dark"] .hx-header__logo .logo-light { display: none; }
:root[data-theme="dark"] .hx-header__logo .logo-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hx-header__logo .logo-light { display: none; } :root:not([data-theme="light"]) .hx-header__logo .logo-dark { display: block; } }
.hx-h1, .hx-h2, .hx-display, .hx-h3 { text-wrap: balance; }
.section-alt { background: var(--surface-soft); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); align-items: center; }
.split--narrow { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
@media (max-width: 1023px) { .split, .split--narrow { grid-template-columns: 1fr; gap: var(--space-8); } }
.portrait { position: relative; aspect-ratio: 4 / 5; max-width: 420px; border-radius: var(--radius-xl); background: var(--surface-brand); overflow: hidden; box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.portrait img { width: 46%; opacity: .9; }
.portrait--light { background: var(--brand-100); box-shadow: var(--shadow-md); }
.portrait--light img { opacity: 1; }
.portrait--light .portrait__note { color: var(--ink-muted); background: var(--surface-raised); }
.portrait__note { position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); font-size: 13px; line-height: 18px; color: var(--on-brand-muted); background: rgba(1,61,59,.6); padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); }
.home-hero { padding-top: var(--space-6); }
@media (max-width: 767px) { .home-hero { padding-top: var(--space-4); } }
.stat { display: flex; flex-direction: column; gap: var(--space-1); }
.stat b { font-family: var(--font-display); font-size: 40px; line-height: 44px; font-weight: 500; color: var(--brand-700); }
.stat span { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.jump { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.article-head { padding: var(--space-16) 0 var(--space-10); background: var(--surface-soft); border-bottom: 1px solid var(--line); }
.article-head .hx-h1 { color: var(--brand-700); max-width: 24ch; margin-top: var(--space-4); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; margin-top: var(--space-5); font-size: 14px; line-height: 20px; color: var(--ink-subtle); }
.article-meta .hx-avatar { width: 36px; height: 36px; font-size: 13px; }
.article-figure { aspect-ratio: 16 / 7; border-radius: var(--radius-lg); background: var(--surface-brand); display: grid; place-items: center; color: var(--brand-300); overflow: hidden; position: relative; }
.article-figure .hx-icon { width: 64px; height: 64px; }
.article-figure svg.arcs { position: absolute; right: -10%; bottom: -40%; width: 60%; opacity: .5; }
.article-figure svg.arcs path { fill: none; stroke: var(--brand-300); stroke-width: 10; stroke-linecap: round; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: var(--space-16); align-items: start; }
.toc { position: sticky; top: 100px; padding: var(--space-5); border-radius: var(--radius-md); background: var(--surface-soft); font-size: 15px; line-height: 22px; }
.toc b { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); margin-bottom: var(--space-3); }
.toc ol { display: flex; flex-direction: column; gap: var(--space-2); list-style: none; padding: 0; margin: 0; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--brand-700); }
@media (max-width: 1023px) { .article-layout { grid-template-columns: 1fr; } .toc { position: static; } }
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.mode { display: flex; gap: var(--space-4); align-items: flex-start; }
.mode .hx-icon-plate { flex: none; }
.mode h3 { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ink); }
.mode p { color: var(--ink-muted); font-size: 15px; line-height: 22px; margin-top: var(--space-1); }
.table-wrap { overflow-x: auto; }
.hx-form__success { display: none; }
.hx-form[data-sent="true"] .hx-form__success { display: grid; }
.hx-form[data-sent="true"] .hx-form__fields { display: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--surface-raised); color: var(--brand-700); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
