/* ==========================================================================
   ax-article.css — bibliothèque de composants d'article éditorial (Altitude)
   Tout est scopé sous .ax-article, préfixe .ax-. La marque passe par les
   variables ci-dessous ; chaque site les redéfinit (couleur, encre, polices),
   voir deriveBrand (server/v2/articles/brand.js). Catalogue : COMPOSANTS.md.
   Paliers : mobile < 760 px, intermédiaire 760-1099 px, trois colonnes ≥ 1100 px.
   ========================================================================== */

.ax-article {
  /* Marque : valeurs neutres par défaut, redéfinies par site (contraste ≥ 4.5:1 sur --ax-paper) */
  --ax-brand: #3d5a75;          /* traits, nœuds, puces, schémas */
  --ax-brand-ink: #3d5a75;      /* texte en couleur de marque (liens, libellés) */
  --ax-brand-strong: #2f4760;   /* fond plein (appel à l'action) */
  --ax-on-brand: #fff;
  --ax-ink: #0b1220;            /* titres */
  --ax-text: #262d3a;           /* corps */
  --ax-muted: #566070;          /* légendes, métadonnées */
  --ax-soft: #eef2f5;           /* fonds teintés */
  --ax-soft-line: #d6dee6;      /* filets sur fond teinté */
  --ax-line: #dfe3ea;           /* filets sur papier */
  --ax-paper: #fff;
  --ax-alert: #b4232c;          /* signes d'alerte uniquement */
  --ax-font-title: system-ui, sans-serif;
  --ax-font-body: system-ui, sans-serif;
  --ax-title-weight: 600;
  --ax-title-track: -0.02em;

  /* Grille */
  --ax-toc: 220px;
  --ax-col: 680px;
  --ax-side: 240px;
  --ax-gap: 56px;
  --ax-max: 1240px;
  --ax-frame: calc(var(--ax-toc) + var(--ax-col) + var(--ax-side) + 2 * var(--ax-gap) + 64px);
  --ax-radius: 16px;

  color: var(--ax-text);
  background: var(--ax-paper);
  font: 400 17.5px/1.68 var(--ax-font-body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.ax-article *, .ax-article *::before, .ax-article *::after { box-sizing: border-box; }
.ax-article img { display: block; max-width: 100%; height: auto; }
.ax-article :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ax-article :where(h1, h2, h3) {
  color: var(--ax-ink);
  font-family: var(--ax-font-title);
  font-weight: var(--ax-title-weight);
  letter-spacing: var(--ax-title-track);
  text-wrap: balance;
}
.ax-article a { color: var(--ax-brand-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--ax-brand-ink) 45%, transparent); }
.ax-article a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.ax-article :focus-visible { outline: 2px solid var(--ax-brand); outline-offset: 3px; border-radius: 3px; }
.ax-article strong { color: var(--ax-ink); font-weight: 650; }
.ax-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Ouverture ---------- */
.ax-crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 13.5px; color: var(--ax-muted); }
.ax-crumbs li:not(:last-child)::after { content: "/"; margin: 0 10px; opacity: .55; }
.ax-crumbs a { color: inherit; text-decoration: none; }
.ax-crumbs a:hover { color: var(--ax-brand-ink); text-decoration: underline; }
.ax-kicker { margin-top: 30px; font: 600 12.5px/1.2 var(--ax-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ax-brand-ink); }
.ax-title { margin-top: 14px; font-size: clamp(34px, 3.1vw + 12px, 56px); line-height: 1.05; }
.ax-lede { margin-top: 22px; font-size: clamp(19px, .5vw + 16px, 22px); line-height: 1.5; color: var(--ax-ink); max-width: 36em; }
.ax-byline { margin-top: 30px; display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.45; color: var(--ax-muted); }
.ax-byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.ax-byline b { color: var(--ax-ink); font-weight: 600; }
.ax-byline a { color: var(--ax-ink); text-decoration: none; font-weight: 600; }

.ax-hero { position: relative; }
.ax-hero--split { display: grid; grid-template-columns: 1fr; }
.ax-hero--split .ax-hero__text { padding: 28px 22px 36px; }
.ax-hero__media { margin: 0; }
.ax-hero__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.ax-hero__media figcaption, .ax-cap { font-size: 13.5px; line-height: 1.5; color: var(--ax-muted); }
.ax-hero__media figcaption { padding: 10px 22px 0; }
.ax-hero--project { padding: 28px 22px 0; max-width: var(--ax-frame); margin: 0 auto; }
.ax-hero--project .ax-title { max-width: 16em; }
.ax-hero--project .ax-hero__media { margin: 34px -22px 0; }
.ax-hero--project .ax-hero__media img { aspect-ratio: 4 / 3; }

@media (min-width: 900px) {
  .ax-hero--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 660px; background: var(--ax-hero-bg, var(--ax-soft)); }
  .ax-hero--split .ax-hero__text { align-self: center; padding: 56px 64px 64px max(32px, calc(50vw - var(--ax-frame) / 2 + 32px)); }
  .ax-hero--split .ax-hero__media { display: flex; flex-direction: column; background: var(--ax-paper); }
  .ax-hero--split .ax-hero__media img { flex: 1 1 0; min-height: 0; height: 0; aspect-ratio: auto; }
  .ax-hero--split .ax-hero__media figcaption { padding: 12px 32px 14px 20px; }
  .ax-hero--project { padding: 40px 32px 0; }
  .ax-hero--project .ax-hero__media { margin: 44px 0 0; }
  .ax-hero--project .ax-hero__media img { aspect-ratio: 1240 / 560; border-radius: 4px; }
  .ax-hero--project .ax-hero__media figcaption { padding: 12px 0 0; }
  .ax-hero--project .ax-lede { max-width: 40em; }
}

/* ---------- Gabarit trois colonnes ---------- */
.ax-layout { position: relative; max-width: var(--ax-frame); margin: 0 auto; padding: 0 22px 40px; }
.ax-content { max-width: var(--ax-col); margin: 0 auto; padding-top: 40px; }
.ax-content > * + *, .ax-section > * + * { margin-top: 1.15em; }
.ax-section { scroll-margin-top: 64px; padding-top: 64px; }
.ax-section:first-child { padding-top: 8px; }
.ax-section > h2 { font-size: clamp(27px, 1.4vw + 18px, 36px); line-height: 1.14; margin-bottom: .1em; scroll-margin-top: 70px; }
.ax-section h3 { font-size: 21.5px; line-height: 1.3; margin-top: 1.9em; scroll-margin-top: 70px; }
.ax-section h3 + p { margin-top: .55em; }
.ax-section > :where(ul, ol):not([class]) { padding-left: 0; list-style: none; }
.ax-section > :where(ul, ol):not([class]) > li { position: relative; padding-left: 26px; margin-top: .5em; }
.ax-section > ul:not([class]) > li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--ax-brand); }
.ax-section > ol:not([class]) { counter-reset: ax-ol; }
.ax-section > ol:not([class]) > li { counter-increment: ax-ol; }
.ax-section > ol:not([class]) > li::before { content: counter(ax-ol) "."; position: absolute; left: 0; color: var(--ax-brand-ink); font-weight: 650; font-variant-numeric: tabular-nums; }

@media (min-width: 1100px) {
  .ax-layout { display: grid; grid-template-columns: var(--ax-toc) minmax(0, var(--ax-col)) var(--ax-side); column-gap: var(--ax-gap); justify-content: center; padding: 0 32px 64px; }
  .ax-content { grid-column: 2; max-width: none; margin: 0; padding-top: 64px; }
  .ax-wide { margin-right: calc(-1 * (var(--ax-side) + var(--ax-gap))); clear: both; }
  .ax-note, .ax-figure--margin { float: right; clear: right; width: var(--ax-side); margin: .35em calc(-1 * (var(--ax-side) + var(--ax-gap))) 1em 0 !important; }
}

/* ---------- Sommaire collant (desktop) / tiroir (mobile) ---------- */
.ax-toc { font-size: 14.5px; line-height: 1.35; }
.ax-toc__label { font: 600 12px/1.2 var(--ax-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ax-ink); }
.ax-toc__time { margin-top: 6px; font-size: 13.5px; color: var(--ax-muted); }
.ax-progress { margin-top: 14px; height: 2px; background: var(--ax-line); overflow: hidden; border-radius: 2px; }
.ax-progress span { display: block; height: 100%; width: 100%; background: var(--ax-brand); transform-origin: 0 50%; transform: scaleX(var(--ax-p, 0)); }
.ax-toc__list { position: relative; list-style: none; margin: 22px 0 0; padding: 0; }
.ax-toc__list::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--ax-line); }
.ax-toc__marker { position: absolute; left: 0; top: 0; width: 2px; height: 0; background: var(--ax-brand); border-radius: 2px; transition: transform .35s cubic-bezier(.2,.7,.2,1), height .35s cubic-bezier(.2,.7,.2,1); }
.ax-toc__list li { margin: 0; }
.ax-toc__list a { display: block; padding: 7px 0 7px 16px; color: var(--ax-muted); text-decoration: none; transition: color .2s; }
.ax-toc__list a:hover { color: var(--ax-ink); }
.ax-toc__list a.is-active { color: var(--ax-ink); font-weight: 600; }
.ax-toc__list ol { list-style: none; padding: 0; margin: 0 0 4px; display: none; }
.ax-toc__list li.is-open > ol { display: block; }
.ax-toc__list ol a { padding: 5px 0 5px 28px; font-size: 13.5px; }
.ax-toc__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; padding-left: 16px; font-size: 14px; font-weight: 600; text-decoration: none !important; color: var(--ax-brand-ink) !important; }
.ax-toc__cta svg { transition: transform .2s; }
.ax-toc__cta:hover svg { transform: translateX(3px); }
.ax-toc__close { display: none; }

@media (min-width: 1100px) {
  .ax-toc { grid-column: 1; grid-row: 1 / span 20; align-self: start; position: sticky; top: 28px; padding-top: 68px; max-height: calc(100vh - 28px); overflow: auto; scrollbar-width: none; }
  .ax-mtoc { display: none; }
}

/* Barre mobile « Dans cet article · section ▾ » + tiroir */
@media (max-width: 1099px) {
  .ax-mtoc { position: sticky; top: 0; z-index: 30; margin: 0 -22px; background: color-mix(in srgb, var(--ax-paper) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 1px 0 var(--ax-line); }
  .ax-mtoc__btn { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%; max-width: var(--ax-col); margin: 0 auto; padding: 14px 22px; font: 500 14.5px/1.3 var(--ax-font-body); color: var(--ax-ink); cursor: pointer; }
  .ax-mtoc__btn:focus-visible { outline: 2px solid var(--ax-brand); outline-offset: -2px; }
  .ax-mtoc__label { flex: none; color: var(--ax-muted); font-weight: 400; }
  .ax-mtoc__current { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
  .ax-mtoc__chev { flex: none; transition: transform .25s; }
  .ax-mtoc .ax-progress { margin: 0; height: 2px; border-radius: 0; background: transparent; }
  .ax-toc { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; max-height: 78vh; overflow: auto; padding: 22px 24px calc(26px + env(safe-area-inset-bottom)); background: var(--ax-paper); border-radius: 20px 20px 0 0; box-shadow: 0 -8px 28px rgba(10, 16, 30, .12); transform: translateY(104%); visibility: hidden; transition: transform .32s cubic-bezier(.2,.7,.2,1), visibility 0s .32s; }
  .ax-toc__close { all: unset; display: grid; place-items: center; position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; color: var(--ax-ink); cursor: pointer; }
  .ax-toc__close:focus-visible { outline: 2px solid var(--ax-brand); }
  .ax-toc__list a { padding-top: 10px; padding-bottom: 10px; font-size: 16px; }
  .ax-toc__list ol a { font-size: 15px; padding-top: 7px; padding-bottom: 7px; }
  .ax-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(8, 12, 22, .42); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
  .ax-toc-open .ax-toc { transform: none; visibility: visible; transition: transform .32s cubic-bezier(.2,.7,.2,1); }
  .ax-toc-open .ax-scrim { opacity: 1; visibility: visible; transition: opacity .3s; }
  .ax-toc-open .ax-mtoc__chev { transform: rotate(180deg); }
}

/* ---------- Notes de marge ---------- */
.ax-note { font-size: 14px; line-height: 1.5; color: var(--ax-muted); padding-top: 10px; box-shadow: inset 0 1px 0 var(--ax-line); }
.ax-note b { display: block; color: var(--ax-ink); font-weight: 600; margin-bottom: 2px; }
.ax-note--figure strong { display: block; font: var(--ax-title-weight) 40px/1 var(--ax-font-title); letter-spacing: -0.03em; color: var(--ax-brand-ink); margin-bottom: 8px; }
@media (max-width: 1099px) { .ax-note--figure { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: baseline; } .ax-note--figure strong { font-size: 30px; margin: 0; } }

/* ---------- 1. L'essentiel ---------- */
.ax-key { background: var(--ax-soft); border-radius: var(--ax-radius); padding: 28px 24px 12px; }
.ax-key__title { font: var(--ax-title-weight) 22px/1.2 var(--ax-font-title); letter-spacing: var(--ax-title-track); color: var(--ax-ink); }
.ax-key__list { list-style: none; padding: 0; margin: 14px 0 0; counter-reset: ax-key; }
.ax-key__list li { counter-increment: ax-key; display: grid; grid-template-columns: 46px 1fr; gap: 10px; padding: 16px 0 18px; font-size: 17px; line-height: 1.55; }
.ax-key__list li + li { box-shadow: inset 0 1px 0 var(--ax-soft-line); }
.ax-key__list li::before { content: counter(ax-key); font: 300 40px/0.9 var(--ax-font-title); color: var(--ax-brand-ink); font-variant-numeric: lining-nums tabular-nums; }
@media (min-width: 760px) { .ax-key { padding: 34px 40px 16px; } .ax-key__list li { grid-template-columns: 60px 1fr; } .ax-key__list li::before { font-size: 46px; } }

/* ---------- 2. Chiffres clés ---------- */
.ax-stats { margin-block: 2.2em !important; }
.ax-stats__head { font-size: 14px; color: var(--ax-muted); padding-bottom: 14px; box-shadow: inset 0 -1px 0 var(--ax-ink); }
.ax-stats dl { display: grid; gap: 1px; background: var(--ax-line); grid-template-columns: 1fr; }
.ax-stats dl > div { background: var(--ax-paper); padding: 22px 0 20px; }
.ax-stats dt { font: var(--ax-title-weight) clamp(46px, 3vw + 20px, 64px)/1 var(--ax-font-title); letter-spacing: -0.03em; color: var(--ax-brand-ink); font-variant-numeric: lining-nums; }
.ax-stats dt small { font-size: .4em; letter-spacing: 0; margin-left: .22em; font-weight: 500; }
.ax-stats dd { margin-top: 10px; font-size: 15.5px; line-height: 1.45; color: var(--ax-ink); max-width: 18em; }
.ax-stats dd span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ax-muted); }
@media (min-width: 760px) { .ax-stats dl { grid-template-columns: repeat(var(--ax-stats-n, 3), 1fr); } .ax-stats dl > div { padding: 26px 28px 8px; } .ax-stats dl > div:first-child { padding-left: 0; } }

/* ---------- 3. Figures et schémas ---------- */
.ax-figure { margin-block: 2em !important; }
.ax-figure img, .ax-figure svg { width: 100%; height: auto; border-radius: 4px; }
.ax-figure svg { border-radius: 0; overflow: visible; }
.ax-figure figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ax-muted); max-width: 44em; }
.ax-figure figcaption b { color: var(--ax-ink); font-weight: 650; margin-right: 6px; }
.ax-figure--diagram { padding: 26px 0 0; box-shadow: inset 0 1px 0 var(--ax-ink); }
.ax-legend { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px 28px; font-size: 14.5px; line-height: 1.4; color: var(--ax-text); }
.ax-legend li { position: relative; padding-left: 34px; min-height: 22px; }
.ax-legend li::before { content: attr(data-n); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ax-brand); color: var(--ax-brand-ink); font: 600 11.5px/1 var(--ax-font-body); }
.ax-legend em { font-style: normal; color: var(--ax-muted); }
@media (min-width: 760px) { .ax-legend--mobile { display: none; } }
@media (min-width: 760px) { .ax-legend { grid-template-columns: 1fr 1fr; } }
.ax-figure--margin figcaption { margin-top: 8px; font-size: 13.5px; }
.ax-figure--margin img { border-radius: 4px; }
@media (max-width: 1099px) { .ax-figure--margin { max-width: 420px; } .ax-figure--margin img { aspect-ratio: 4 / 3; object-fit: cover; } }

/* ---------- 4. Encadré titré dans la bordure ---------- */
.ax-box { position: relative; margin-block: 2.6em 2em !important; padding: 34px 26px 24px; border: 1.5px solid var(--ax-box-line, color-mix(in srgb, var(--ax-ink) 22%, transparent)); border-radius: 6px; font-size: 16.5px; line-height: 1.6; }
.ax-box__title { position: absolute; top: 0; left: 0; right: 0; width: fit-content; margin: 0 auto; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; max-width: calc(100% - 40px); padding: 0 16px; background: var(--ax-paper); font: var(--ax-title-weight) 18.5px/1.2 var(--ax-font-title); letter-spacing: var(--ax-title-track); color: var(--ax-ink); white-space: nowrap; }
.ax-box__title img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.ax-box > * + * { margin-top: .8em; }
.ax-box > .ax-box__title + * { margin-top: 0; }
.ax-box__sign { font-size: 14px; color: var(--ax-muted); }
.ax-box ul { list-style: none; padding: 0; }
.ax-box ul li { position: relative; padding-left: 22px; margin-top: .45em; }
.ax-box ul li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: var(--ax-box-dot, var(--ax-brand)); }
.ax-box--alert { --ax-box-line: var(--ax-alert); --ax-box-dot: var(--ax-alert); }
.ax-box--alert .ax-box__title { color: var(--ax-alert); }
@media (min-width: 760px) { .ax-box { padding: 38px 36px 28px; } }
@media (max-width: 480px) { .ax-box__title { white-space: normal; text-align: center; font-size: 17px; } }

/* ---------- 5. Citation d'expert ---------- */
.ax-quote { margin-block: 2.6em !important; }
.ax-quote blockquote { position: relative; font: 500 clamp(24px, 1vw + 18px, 31px)/1.3 var(--ax-font-title); letter-spacing: -0.012em; color: var(--ax-ink); text-wrap: pretty; }
.ax-quote blockquote::before { content: "«"; display: block; font-size: 1.9em; font-weight: 300; line-height: .8; color: var(--ax-brand); margin-bottom: 6px; }
.ax-quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 15px; line-height: 1.4; color: var(--ax-muted); }
.ax-quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.ax-quote figcaption b { display: block; color: var(--ax-ink); font-weight: 600; }
@media (min-width: 1100px) { .ax-quote blockquote::before { position: absolute; left: -52px; top: 2px; margin: 0; } }

/* ---------- 6. Tableau designé ---------- */
.ax-table { margin-block: 2.2em !important; }
.ax-table__cap { font-size: 14px; color: var(--ax-muted); margin-bottom: 10px; }
.ax-table__cap b { color: var(--ax-ink); font-weight: 650; margin-right: 6px; }
.ax-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.ax-table thead th { text-align: left; vertical-align: bottom; padding: 0 16px 12px 0; font: 600 12px/1.3 var(--ax-font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--ax-ink); box-shadow: inset 0 -1.5px 0 var(--ax-ink); }
.ax-table tbody th, .ax-table tbody td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; box-shadow: inset 0 -1px 0 var(--ax-line); }
.ax-table tbody th { font-weight: 650; color: var(--ax-ink); width: 22%; }
.ax-pill { display: inline-block; padding: 2px 10px 3px; border-radius: 99px; background: var(--ax-soft); color: var(--ax-brand-ink); font-size: 13.5px; font-weight: 600; line-height: 1.45; white-space: nowrap; }
.ax-pill--strong { background: var(--ax-brand-strong); color: var(--ax-on-brand); }
.ax-pill--quiet { background: transparent; color: var(--ax-muted); box-shadow: inset 0 0 0 1px var(--ax-line); font-weight: 500; }
.ax-yes, .ax-no { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.ax-yes::before, .ax-no::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; background: no-repeat center / 12px; }
.ax-yes::before { background-color: var(--ax-brand-strong); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3l2.4 2.4 5.2-5.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ax-no::before { background-color: transparent; box-shadow: inset 0 0 0 1.5px var(--ax-muted); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' fill='none' stroke='%23667' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ax-table--vs tbody td { width: 50%; }
.ax-table--vs thead th:first-child, .ax-table--vs tbody td:first-child { padding-right: 28px; }
@media (max-width: 759px) {
  .ax-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ax-table table, .ax-table tbody, .ax-table tr, .ax-table th, .ax-table td { display: block; width: auto !important; }
  .ax-table tbody tr { padding: 16px 18px 6px; margin-bottom: 12px; border-radius: 12px; background: var(--ax-soft); }
  .ax-table tbody th { padding: 0 0 8px; box-shadow: none; font-size: 16.5px; }
  .ax-table tbody td { padding: 10px 0 12px; box-shadow: inset 0 1px 0 var(--ax-soft-line); }
  .ax-table tbody td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 3px; font: 600 11.5px/1.3 var(--ax-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ax-muted); }
  .ax-table--vs tbody td { padding-right: 0 !important; }
}

/* ---------- 7. Étapes : rail horizontal (desktop), vertical (mobile) ---------- */
.ax-steps { list-style: none; padding: 0; margin-block: 2.2em !important; display: grid; gap: 0; counter-reset: ax-step; }
.ax-steps > li { counter-increment: ax-step; position: relative; padding: 0 0 26px 54px; }
.ax-steps > li::before { content: counter(ax-step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--ax-paper); box-shadow: inset 0 0 0 1.5px var(--ax-brand); color: var(--ax-brand-ink); font: 600 15px/1 var(--ax-font-body); z-index: 1; }
.ax-steps > li::after { content: ""; position: absolute; left: 17.5px; top: 36px; bottom: 0; width: 1px; background: var(--ax-brand); opacity: .45; }
.ax-steps > li:last-child::after { display: none; }
.ax-steps > li:last-child::before { background: var(--ax-brand-strong); color: var(--ax-on-brand); box-shadow: none; }
.ax-steps__k { display: block; font: 600 11.5px/1.3 var(--ax-font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ax-muted); padding-top: 2px; }
.ax-steps h3, .ax-steps__t { margin-top: 4px !important; font: var(--ax-title-weight) 19px/1.25 var(--ax-font-title); letter-spacing: var(--ax-title-track); color: var(--ax-ink); }
.ax-steps p { margin-top: 6px; font-size: 15.5px; line-height: 1.5; }
@media (min-width: 760px) {
  .ax-steps { grid-template-columns: repeat(var(--ax-steps-n, 4), 1fr); gap: 28px; }
  .ax-steps > li { padding: 56px 0 0; }
  .ax-steps > li::after { left: 36px; right: -28px; top: 17.5px; bottom: auto; width: auto; height: 1px; }
}

/* Journal de chantier (étapes avec photos, vertical à toutes tailles) */
.ax-journal { list-style: none; padding: 0; margin-block: 2.2em !important; }
.ax-journal > li { position: relative; padding: 0 0 40px 34px; }
.ax-journal > li::before { content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--ax-paper); box-shadow: inset 0 0 0 2px var(--ax-brand); z-index: 1; }
.ax-journal > li::after { content: ""; position: absolute; left: 6px; top: 19px; bottom: 4px; width: 1px; background: var(--ax-line); }
.ax-journal > li:last-child::after { display: none; }
.ax-journal__day { display: block; font: 600 12px/1.3 var(--ax-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ax-brand-ink); }
.ax-journal h3 { margin-top: 4px !important; font-size: 22px; }
.ax-journal p { margin-top: 8px; }
.ax-journal figure { margin-top: 18px; }
.ax-journal figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.ax-journal figcaption { margin-top: 8px; font-size: 13.5px; color: var(--ax-muted); }
@media (min-width: 1100px) {
  .ax-journal.ax-wide > li { grid-template-columns: 128px minmax(0, 1fr); }
  .ax-journal.ax-wide .ax-journal__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 36px; align-content: start; }
  .ax-journal.ax-wide .ax-journal__body > :not(figure) { grid-column: 1; }
  .ax-journal.ax-wide .ax-journal__body > figure { grid-column: 2; grid-row: 1 / span 3; margin-top: 4px; }
  .ax-journal.ax-wide .ax-journal__body > figure img { aspect-ratio: 4 / 3 !important; }
}
@media (min-width: 760px) {
  .ax-journal > li { display: grid; grid-template-columns: 128px minmax(0, 1fr); column-gap: 28px; padding-left: 0; }
  .ax-journal > li::before { left: 134px; }
  .ax-journal > li::after { left: 140px; }
  .ax-journal__day { grid-row: 1 / span 4; text-align: right; padding-top: 6px; padding-right: 28px; }
  .ax-journal__body { padding-left: 34px; }
}

/* ---------- 8. Avant / après à glissière ---------- */
.ax-ba { --ax-pos: 50%; margin-block: 2em !important; }
.ax-ba__frame { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: var(--ax-ba-ratio, 4 / 3); user-select: none; touch-action: pan-y; background: var(--ax-ink); }
.ax-ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--ax-ba-focus, 50% 50%); }
.ax-ba__before { clip-path: inset(0 calc(100% - var(--ax-pos)) 0 0); }
.ax-ba__tag { position: absolute; top: 14px; z-index: 2; padding: 4px 11px 5px; border-radius: 99px; background: rgba(10, 12, 16, .72); color: #fff; font: 600 12.5px/1.2 var(--ax-font-body); letter-spacing: .04em; pointer-events: none; }
.ax-ba__tag--before { left: 14px; }
.ax-ba__tag--after { right: 14px; }
.ax-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--ax-pos); width: 2px; margin-left: -1px; background: #fff; z-index: 2; pointer-events: none; }
.ax-ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 22px; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.ax-ba input[type=range] { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ax-ba input[type=range]:focus-visible + .ax-ba__handle::after { outline: 3px solid var(--ax-brand); outline-offset: 2px; }
.ax-ba figcaption { margin-top: 12px; font-size: 14px; color: var(--ax-muted); }

/* ---------- 9. Fiche projet ---------- */
.ax-facts { margin-block: .5em 2.2em !important; }
.ax-facts__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; box-shadow: inset 0 -1.5px 0 var(--ax-ink); }
.ax-facts__title { font: var(--ax-title-weight) 20px/1.2 var(--ax-font-title); letter-spacing: var(--ax-title-track); color: var(--ax-ink); }
.ax-facts dl { display: grid; grid-template-columns: 1fr; column-gap: 40px; }
.ax-facts__item { display: grid; grid-template-columns: 26px 1fr; align-content: start; column-gap: 14px; padding: 15px 0; box-shadow: inset 0 -1px 0 var(--ax-line); }
.ax-facts__item svg { grid-row: span 2; width: 24px; height: 24px; margin-top: 1px; color: var(--ax-brand-ink); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ax-facts dt { font: 600 11.5px/1.3 var(--ax-font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ax-muted); }
.ax-facts dd { margin-top: 3px; font-size: 16px; line-height: 1.45; color: var(--ax-ink); }
.ax-facts__item--full { grid-column: 1 / -1; }
@media (min-width: 760px) { .ax-facts dl { grid-template-columns: 1fr 1fr; } }

/* Zone d'intervention (chantier) : carte ronde + texte et communes en pastilles */
.ax-zone { display: grid; gap: 24px; align-items: center; margin-block: 2em !important; }
.ax-zone > img { width: 100%; max-width: 320px; height: auto; border-radius: 50%; }
.ax-zone ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ax-zone li a { text-decoration: none; }
@media (min-width: 760px) { .ax-zone { grid-template-columns: 280px 1fr; gap: 40px; } }

/* ---------- 10. Galerie ---------- */
.ax-gallery { margin-block: 2.2em !important; }
.ax-gallery__main { width: 100%; aspect-ratio: var(--ax-gallery-ratio, 16 / 9); object-fit: cover; border-radius: 4px; }
.ax-gallery__thumbs { display: grid; grid-template-columns: repeat(var(--ax-thumbs, 4), minmax(0, 104px)); gap: 10px; margin-top: 12px; }
.ax-gallery__thumbs button { all: unset; cursor: pointer; border-radius: 3px; overflow: hidden; aspect-ratio: 4 / 3; opacity: .62; transition: opacity .2s; box-shadow: 0 0 0 0 var(--ax-brand); }
.ax-gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.ax-gallery__thumbs button:hover { opacity: .9; }
.ax-gallery__thumbs button[aria-pressed=true] { opacity: 1; box-shadow: 0 0 0 2px var(--ax-paper), 0 0 0 4px var(--ax-brand); }
.ax-gallery__thumbs button:focus-visible { outline: 2px solid var(--ax-brand); outline-offset: 2px; }
.ax-gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--ax-muted); min-height: 3em; }
.ax-gallery figcaption b { color: var(--ax-ink); font-weight: 600; }

/* ---------- 11. Auteur et relecture ---------- */
.ax-author { margin-top: 64px !important; padding: 30px 0; box-shadow: inset 0 1px 0 var(--ax-ink), inset 0 -1px 0 var(--ax-line); display: grid; grid-template-columns: 72px 1fr; gap: 6px 20px; }
.ax-author > img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; grid-row: span 2; }
.ax-author__k { font: 600 11.5px/1.3 var(--ax-font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ax-muted); }
.ax-author__name { margin-top: 4px; font: var(--ax-title-weight) 22px/1.2 var(--ax-font-title); letter-spacing: var(--ax-title-track); color: var(--ax-ink); }
.ax-author__role { margin-top: 2px; font-size: 15px; color: var(--ax-muted); }
.ax-author__bio { grid-column: 1 / -1; margin-top: 14px; font-size: 15.5px; line-height: 1.6; }
.ax-author__meta { grid-column: 1 / -1; display: grid; gap: 14px; margin-top: 18px; padding-top: 16px; box-shadow: inset 0 1px 0 var(--ax-line); font-size: 14px; line-height: 1.5; color: var(--ax-muted); }
.ax-author__meta b { display: block; color: var(--ax-ink); font-weight: 600; }
@media (min-width: 760px) { .ax-author { grid-template-columns: 96px 1fr; column-gap: 26px; } .ax-author > img { width: 96px; height: 96px; } .ax-author__bio, .ax-author__meta { grid-column: 2; } .ax-author__meta { grid-template-columns: 1fr 1fr; } }

/* ---------- 12. FAQ ---------- */
.ax-faq { margin-top: 1.4em !important; box-shadow: inset 0 1px 0 var(--ax-line); }
.ax-faq details { box-shadow: inset 0 -1px 0 var(--ax-line); }
.ax-faq summary { list-style: none; display: grid; grid-template-columns: 1fr 22px; gap: 20px; align-items: center; padding: 20px 0; cursor: pointer; font: var(--ax-title-weight) 19px/1.35 var(--ax-font-title); letter-spacing: var(--ax-title-track); color: var(--ax-ink); }
.ax-faq summary::-webkit-details-marker { display: none; }
.ax-faq summary::after { content: ""; width: 22px; height: 22px; background: var(--ax-brand); clip-path: polygon(46.6% 18%, 53.4% 18%, 53.4% 46.6%, 82% 46.6%, 82% 53.4%, 53.4% 53.4%, 53.4% 82%, 46.6% 82%, 46.6% 53.4%, 18% 53.4%, 18% 46.6%, 46.6% 46.6%); transition: transform .25s; }
.ax-faq details[open] summary::after { transform: rotate(45deg); }
.ax-faq summary:hover { color: var(--ax-brand-ink); }
.ax-faq details > p { padding: 0 42px 22px 0; margin-top: -4px; }

/* ---------- 13. Appel à l'action final ---------- */
.ax-cta { margin-block: 56px 0 !important; border-radius: 22px; background: var(--ax-brand-strong); color: var(--ax-on-brand); overflow: hidden; display: grid; }
.ax-cta__body { padding: 34px 26px 32px; }
.ax-cta__k { font: 600 12px/1.3 var(--ax-font-body); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.ax-cta__title { margin-top: 12px; font: var(--ax-title-weight) clamp(27px, 1.4vw + 18px, 36px)/1.12 var(--ax-font-title); letter-spacing: var(--ax-title-track); color: var(--ax-on-brand); text-wrap: balance; }
.ax-cta__text { margin-top: 14px; font-size: 17px; line-height: 1.55; opacity: .94; max-width: 32em; }
.ax-cta__actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ax-article .ax-cta__btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: var(--ax-btn-radius, 10px); background: var(--ax-on-brand); color: var(--ax-brand-strong); font-weight: 650; font-size: 16px; text-decoration: none; transition: transform .2s; }
.ax-article .ax-cta__btn:hover { transform: translateY(-1px); }
.ax-article .ax-cta__tel { display: inline-flex; align-items: center; gap: 10px; color: var(--ax-on-brand); font-weight: 600; font-size: 17px; text-decoration: none; }
.ax-article .ax-cta__tel:hover { text-decoration: underline; }
.ax-cta__note { margin-top: 18px; font-size: 13px; opacity: .85; }
.ax-cta__media { min-height: 220px; }
.ax-cta__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) { .ax-cta { grid-template-columns: 1.25fr 1fr; } .ax-cta__body { padding: 46px 44px 42px; } .ax-cta__media { min-height: 0; } }

/* ---------- 14. À lire aussi ----------
   Liste empilée sur mobile (vignette 4:3 + texte, filets fins entre les lignes),
   trois colonnes à partir de 760 px. Aucune carte bordée : le rythme vient des photos.
   Survol : le titre se souligne. */
.ax-related { max-width: var(--ax-frame); margin: 0 auto; padding: 48px 22px 64px; }
.ax-related__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding-top: 18px; box-shadow: inset 0 1.5px 0 var(--ax-ink); }
.ax-related__title { font: 600 12.5px/1.3 var(--ax-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ax-ink); }
.ax-article .ax-related__all { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ax-brand-ink); text-decoration: none; white-space: nowrap; }
.ax-article .ax-related__all:hover { text-decoration: underline; text-underline-offset: 4px; }
.ax-related__all svg { transition: transform .2s; }
.ax-related__all:hover svg { transform: translateX(3px); }
.ax-related__list { list-style: none; padding: 0; margin: 10px 0 0; }
.ax-related__item + .ax-related__item { box-shadow: inset 0 1px 0 var(--ax-line); }
.ax-article .ax-related__link { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 0; color: inherit; text-decoration: none; }
.ax-related__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.ax-related__cat { display: block; font: 600 11.5px/1.3 var(--ax-font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ax-brand-ink); }
.ax-related__h { display: block; margin-top: 5px; font: var(--ax-title-weight) 17px/1.3 var(--ax-font-title); letter-spacing: var(--ax-title-track); color: var(--ax-ink); text-wrap: balance; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: transparent; transition: text-decoration-color .2s; }
.ax-related__link:hover .ax-related__h { text-decoration-color: currentColor; }
.ax-related__time { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.3; color: var(--ax-muted); font-variant-numeric: tabular-nums; }
@media (min-width: 760px) {
  .ax-related { padding: 64px 32px 96px; }
  .ax-related__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 28px; }
  .ax-related__list:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-related__item + .ax-related__item { box-shadow: none; }
  .ax-article .ax-related__link { grid-template-columns: 1fr; gap: 18px; padding: 0; }
  .ax-related__h { margin-top: 6px; font-size: 20px; line-height: 1.28; }
  .ax-related__time { margin-top: 8px; }
}
@media (min-width: 1100px) { .ax-related__list { column-gap: 40px; } .ax-related__h { font-size: 22px; line-height: 1.25; } }

/* ---------- Sources ---------- */
.ax-sources { margin-top: 48px !important; font-size: 14px; line-height: 1.55; color: var(--ax-muted); }
.ax-sources h2 { font: 600 12px/1.3 var(--ax-font-body) !important; letter-spacing: .12em !important; text-transform: uppercase; color: var(--ax-ink); }
.ax-sources ol { margin-top: 10px; padding-left: 18px; }
.ax-sources li + li { margin-top: 4px; }

/* Schémas SVG : couleurs par currentColor (pas de balise style dans le corps).
   Trait d'encre par défaut ; .ax-svg__brand / .ax-svg__muted / .ax-svg__soft sur un groupe
   ou un tracé avec stroke="currentColor" ou fill="currentColor". */
.ax-svg { color: var(--ax-ink); font-family: var(--ax-font-body); }
.ax-svg__brand { color: var(--ax-brand); }
.ax-svg__muted { color: var(--ax-muted); }
.ax-svg__soft { color: var(--ax-soft); }
/* Repères et libellés : lisibles sur mobile, où le dessin est réduit à la largeur de l'écran (la légende HTML .ax-legend--mobile reprend les noms).
   .ax-svg__pin : groupe repère (cercle + numéro) ; .ax-svg__lead : trait de repère ; .ax-svg__zone : groupe d'intitulés de zone ; .ax-svg__label :
   libellé de l'élément ; .ax-svg__head : intitulé d'un schéma d'une paire ; .ax-svg__desk : libellé réservé au desktop, masqué quand la légende prend le relais. */
@media (max-width: 759px) {
  .ax-svg__pin circle { r: 32px; stroke-width: 3px; }
  .ax-svg__pin text { font-size: 30px; transform: translateY(6px); }
  .ax-svg__lead { stroke-width: 2px; }
  .ax-svg__zone text { font-size: 22px; letter-spacing: .06em; }
  .ax-svg__label { font-size: 22px; }
  .ax-svg__head { font-size: 18px; }
  .ax-svg__desk { display: none; }
}

/* Schémas sur mobile : pleine largeur (les noms passent dans la légende HTML, .ax-legend--mobile) */
.ax-figure__pair { display: grid; gap: 24px; }
@media (min-width: 760px) { .ax-figure__pair { grid-template-columns: 1fr 1fr; gap: 0; } .ax-figure__pair > svg + svg { box-shadow: inset 1px 0 0 var(--ax-line); } }
@media (max-width: 759px) {
  .ax-figure--diagram, .ax-figure--bleed { margin-left: -22px !important; margin-right: -22px !important; }
  .ax-figure--diagram > svg, .ax-figure--diagram > .ax-figure__pair { padding: 0 8px; }
  .ax-figure--diagram figcaption, .ax-figure--diagram .ax-legend { padding: 0 22px; }
  .ax-figure--bleed img { border-radius: 0; }
  .ax-figure--bleed figcaption { padding: 0 22px; }
}
/* ---------- Variantes du gabarit (lot L3) ----------
   Posées par le rendu quand le gabarit du site les demande (opts.gabarit) : ouverture « cadre », carte de mise en avant, bandeau du bas,
   mise en page sans sommaire. Aplats et contours complets seulement ; couleurs prises sur les couples garantis AA par deriveBrand
   (encre sur fond teinté, texte de marque sur fond teinté, texte sur fond plein de marque). */

/* Ouverture « cadre » : titre, chapô et auteur, puis l'image dans un cadre arrondi sur toute la colonne */
.ax-hero--cadre { padding: 28px 22px 0; max-width: var(--ax-frame); margin: 0 auto; }
.ax-hero--cadre .ax-title { max-width: 18em; }
.ax-hero--cadre .ax-hero__media { margin: 30px 0 0; }
.ax-hero--cadre .ax-hero__media img { aspect-ratio: 16 / 10; border-radius: var(--ax-radius); }
.ax-hero--cadre .ax-hero__media figcaption { padding: 10px 0 0; }
@media (min-width: 900px) {
  .ax-hero--cadre { padding: 40px 32px 0; }
  .ax-hero--cadre .ax-hero__media { margin-top: 40px; }
  .ax-hero--cadre .ax-hero__media img { aspect-ratio: 16 / 7.4; }
  .ax-hero--cadre .ax-lede { max-width: 40em; }
}

/* Sans sommaire : le corps reste centré, la marge des notes à sa droite */
@media (min-width: 1100px) {
  .ax-layout--solo { grid-template-columns: minmax(0, var(--ax-col)) var(--ax-side); }
  .ax-layout--solo .ax-content { grid-column: 1; }
}

/* Mise en avant : carte posée dans le corps, après la section choisie */
.ax-promo { margin-block: 48px 0 !important; padding: 26px 22px 22px; border-radius: var(--ax-radius); background: var(--ax-soft); color: var(--ax-ink); }
.ax-promo__k { font: 600 12px/1.3 var(--ax-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ax-brand-ink); }
.ax-promo__title { margin-top: 8px; font: var(--ax-title-weight) clamp(21px, .8vw + 17px, 26px)/1.2 var(--ax-font-title); letter-spacing: var(--ax-title-track); color: var(--ax-ink); text-wrap: balance; }
.ax-article .ax-promo__link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ax-ink); text-decoration: none; }
.ax-article .ax-promo__link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ax-promo__link svg { flex: none; transition: transform .2s; }
.ax-promo__link:hover svg { transform: translateX(3px); }
.ax-promo__text { margin-top: 6px; max-width: 36em; font-size: 16.5px; line-height: 1.55; color: var(--ax-ink); }
@media (min-width: 760px) { .ax-promo { padding: 32px 36px 28px; } }

/* Bandeau du bas : sobre, refermable, au-dessus de la zone sûre ; le contenu garde sa place (réserve en bas de page), le tiroir du sommaire passe devant */
.ax-dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)) 14px; background: var(--ax-brand-strong); color: var(--ax-on-brand); box-shadow: 0 -4px 18px rgba(10, 16, 30, .14); }
.ax-dock[hidden] { display: none; }
.ax-article:has(.ax-dock:not([hidden])) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.ax-article .ax-dock__btn { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: var(--ax-btn-radius, 10px); background: var(--ax-on-brand); color: var(--ax-brand-strong); font-weight: 650; font-size: 16px; line-height: 1.2; text-decoration: none; transition: transform .2s; }
.ax-article .ax-dock__btn:hover { transform: translateY(-1px); }
.ax-article .ax-dock__tel { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; color: var(--ax-on-brand); font-weight: 600; font-size: 16px; text-decoration: none; }
.ax-article .ax-dock__tel:hover { text-decoration: underline; }
.ax-dock__close { all: unset; box-sizing: border-box; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ax-on-brand); cursor: pointer; }
.ax-dock__close:hover { background: color-mix(in srgb, var(--ax-on-brand) 16%, transparent); }
.ax-article .ax-dock :focus-visible { outline: 2px solid var(--ax-on-brand); outline-offset: 2px; }
@media (max-width: 479px) { .ax-dock__tel-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (min-width: 760px) {
  .ax-dock { left: auto; right: 24px; bottom: 24px; max-width: calc(100vw - 48px); padding: 10px 10px 10px 14px; border-radius: 16px; }
  .ax-article .ax-dock__btn { flex: none; white-space: nowrap; }
  .ax-article:has(.ax-dock:not([hidden])) { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .ax-article *, .ax-article *::before, .ax-article *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 759px) { .ax-article { font-size: 17px; } }
