/* =============================================================================
   ui.css — ACX Fonteray · bibliothèque de composants des maquettes
   -----------------------------------------------------------------------------
   Aucun composant ne connaît de couleur : tout passe par les tokens. Changer
   tokens.css change le site entier, thème clair compris.
   Ordre : reset · typographie · mise en page · logo · en-tête · boutons ·
           cartes · listes · formulaires · tableaux · pied de page · barre de
           revue.
   ============================================================================= */

/* ── 1. Reset minimal ───────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--acx-bg);
  color: var(--acx-text);
  font-family: var(--acx-font);
  font-size: var(--acx-t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* `hidden` doit gagner contre les composants qui posent un `display` : sans ce
   `!important`, une carte marquée hidden reste visible (la règle de l'agent
   utilisateur perd contre n'importe quelle classe). */
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }

:where(a) { color: var(--acx-brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(a):hover { color: var(--acx-brand-hover); }

:focus-visible {
  outline: 2px solid var(--acx-brand);
  outline-offset: 2px;
  border-radius: var(--acx-r-1);
}

::selection { background: var(--acx-brand); color: var(--acx-on-brand); }

.acx-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── 2. Typographie ─────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--acx-font-display);
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

.acx-h1 { font-size: var(--acx-t-3xl); letter-spacing: -.032em; }
.acx-h2 { font-size: var(--acx-t-2xl); letter-spacing: -.026em; }
.acx-h3 { font-size: var(--acx-t-xl); }
.acx-h4 { font-size: var(--acx-t-lg); letter-spacing: -.014em; }

.acx-lede {
  font-size: var(--acx-t-md);
  line-height: 1.62;
  color: var(--acx-muted);
  margin: 0;
  max-width: 62ch;
  text-wrap: pretty;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.acx-muted { color: var(--acx-muted); }
.acx-faint { color: var(--acx-faint); }
.acx-sm { font-size: var(--acx-t-sm); }
.acx-xs { font-size: var(--acx-t-xs); }
.acx-measure { max-width: 68ch; }

/* Le micro-libellé monospace est la signature typographique de la marque :
   il rappelle l'atelier sans jamais le dire. Toujours accompagné d'un filet. */
.acx-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--acx-s-3);
  font-family: var(--acx-font-mono);
  font-size: var(--acx-t-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--acx-faint);
  margin: 0;
}
.acx-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--acx-brand);
  flex: none;
}
.acx-kicker--plain::before { display: none; }

.acx-num {
  font-family: var(--acx-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

/* ── 3. Mise en page ────────────────────────────────────────────────────── */

.acx-shell {
  width: 100%;
  max-width: var(--acx-shell);
  margin-inline: auto;
  padding-inline: var(--acx-s-5);
}
.acx-shell--narrow { max-width: var(--acx-shell-narrow); }

.acx-section { padding-block: var(--acx-s-9); }
.acx-section--tight { padding-block: var(--acx-s-7); }
.acx-section--line { border-top: 1px solid var(--acx-border); }

.acx-head-block { display: grid; gap: var(--acx-s-4); margin-bottom: var(--acx-s-7); }
.acx-head-block--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  align-items: end;
  gap: var(--acx-s-6);
}

.acx-grid { display: grid; gap: var(--acx-s-5); }
.acx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.acx-grid--sidebar { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: var(--acx-s-7); }
/* La colonne latérale ne s'étire pas à la hauteur du contenu principal : une
   carte « En bref » de six lignes ne doit pas mesurer 600 px de haut. */
.acx-grid--sidebar > aside { align-self: start; }
.acx-grid--aside { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--acx-s-7); }

/* `align-content: start` : sans lui, une colonne courte placée à côté d'une
   colonne longue voit ses lignes s'écarter pour remplir la hauteur — le titre
   se retrouve au milieu du vide. */
/* minmax(0, 1fr) : sans elle, la colonne implicite (auto) prend la largeur naturelle du contenu, et un tableau
   large élargissait toute la pile au-delà de l'écran (Tarifs : +414 px à 768 px, +802 px à 380 px, 22.11.2026). */
.acx-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--acx-s-4); align-content: start; }
.acx-stack--sm { gap: var(--acx-s-2); }
.acx-stack--lg { gap: var(--acx-s-6); }

.acx-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--acx-s-3); }
.acx-row--lg { gap: var(--acx-s-5); }

.acx-rule { border: 0; border-top: 1px solid var(--acx-border); margin: 0; }
.acx-rule--brand { border-top: 2px solid var(--acx-brand); width: 56px; }

/* Bandeau sombre constant : reste sombre en thème clair (comme un document). */
.acx-band {
  background: var(--acx-band);
  color: var(--acx-on-band);
}
.acx-band .acx-muted, .acx-band .acx-lede { color: var(--acx-band-muted); }
.acx-band .acx-faint { color: var(--acx-band-muted); }

/* ── 4. Logo ────────────────────────────────────────────────────────────── */

/* `flex: none` est essentiel : sans lui, le logo est un élément flexible que la
   barre d'en-tête peut comprimer de quelques pixels quand la navigation est
   large — et c'est l'angle vif du X, tout à droite du tracé, qui se fait
   raboter en premier. La boîte du verrouillage garde en plus 9 unités de marge
   à droite (≈ 2,6 px à 34 px de haut) pour absorber les arrondis du navigateur. */
.acx-logo { display: block; height: 34px; width: auto; flex: none; max-width: none; }
a.acx-brandlink { flex: none; }
.acx-logo--lg { height: 76px; }
.acx-logo--mark { height: 34px; }

/* Les symboles du sprite lisent ces deux variables : on peut donc forcer un
   logo monochrome n'importe où sans dupliquer le tracé. */
.acx-logo--mono { --acx-logo-ink: currentColor; --acx-logo-accent: currentColor; }
.acx-logo--brand { --acx-logo-ink: var(--acx-brand-deep); --acx-logo-accent: var(--acx-brand-deep); }

a.acx-brandlink { display: inline-flex; align-items: center; gap: var(--acx-s-3); text-decoration: none; }
a.acx-brandlink:hover .acx-logo { opacity: .82; }

/* ── 5. En-tête ─────────────────────────────────────────────────────────── */

.acx-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--acx-bg) 88%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--acx-border);
}
.acx-header__in {
  display: flex;
  align-items: center;
  gap: var(--acx-s-5);
  min-height: 72px;
}
.acx-nav { display: flex; gap: var(--acx-s-5); margin-left: auto; flex-wrap: wrap; }
.acx-nav a {
  color: var(--acx-muted);
  text-decoration: none;
  font-size: var(--acx-t-sm);
  letter-spacing: .01em;
  padding-block: var(--acx-s-2);
  border-bottom: 1px solid transparent;
}
.acx-nav a:hover { color: var(--acx-text); }
.acx-nav a[aria-current="page"] { color: var(--acx-text); border-bottom-color: var(--acx-brand); }
.acx-header__end { display: flex; align-items: center; gap: var(--acx-s-3); }

/* ── 6. Boutons ─────────────────────────────────────────────────────────── */

.acx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--acx-s-2);
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--acx-r-2);
  background: var(--acx-brand);
  color: var(--acx-on-brand);
  font-size: var(--acx-t-sm);
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s var(--acx-ease), border-color .18s var(--acx-ease),
              color .18s var(--acx-ease), transform .18s var(--acx-ease);
}
.acx-btn:hover { background: var(--acx-brand-hover); color: var(--acx-on-brand); transform: translateY(-1px); }
.acx-btn:active { transform: none; }

.acx-btn--line {
  background: transparent;
  color: var(--acx-text);
  border-color: var(--acx-border-strong);
}
.acx-btn--line:hover { background: var(--acx-surface-2); color: var(--acx-text); border-color: var(--acx-text); }

.acx-btn--ghost { background: transparent; color: var(--acx-muted); }
.acx-btn--ghost:hover { background: var(--acx-surface-2); color: var(--acx-text); }

.acx-btn--sm { padding: 8px 14px; font-size: var(--acx-t-xs); }
.acx-btn--lg { padding: 15px 26px; font-size: var(--acx-t-base); }
.acx-btn--block { width: 100%; }

/* Lien fléché — l'appel discret, celui des cartes et des fins de section. */
.acx-arrow {
  display: inline-flex;
  align-items: baseline;
  gap: var(--acx-s-2);
  font-size: var(--acx-t-sm);
  font-weight: 600;
  text-decoration: none;
  color: var(--acx-brand);
}
.acx-arrow::after { content: "→"; transition: transform .18s var(--acx-ease); }
.acx-arrow:hover::after { transform: translateX(4px); }

/* ── 7. Cartes ──────────────────────────────────────────────────────────── */

.acx-card {
  display: flex;
  flex-direction: column;
  gap: var(--acx-s-3);
  padding: var(--acx-s-5);
  background: var(--acx-surface);
  border: 1px solid var(--acx-border);
  border-radius: var(--acx-r-2);
}
.acx-card--flat { background: transparent; }
.acx-card--pad { padding: var(--acx-s-6); }
/* Réponse d'un formulaire : envoyé, ou pas parti. */
.acx-card--ok { border-color: var(--acx-ok); }
.acx-card--ok > .acx-h4 { color: var(--acx-ok); }
.acx-card--err { border-color: var(--acx-err); }
.acx-card--err > .acx-h4 { color: var(--acx-err); }
/* Champ piège d'un formulaire : hors de l'écran, hors de la tabulation, ignoré des lecteurs d'écran (aria-hidden).
   Pas `display:none` : certains robots sautent les champs ainsi masqués. */
.acx-piege { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

a.acx-card, .acx-card--link {
  text-decoration: none;
  color: inherit;
  transition: border-color .18s var(--acx-ease), background .18s var(--acx-ease), transform .18s var(--acx-ease);
}
a.acx-card:hover, .acx-card--link:hover {
  border-color: var(--acx-border-strong);
  background: var(--acx-surface-2);
  transform: translateY(-2px);
}

.acx-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--acx-s-3); }
.acx-card__title { font-size: var(--acx-t-md); font-weight: 600; letter-spacing: -.012em; }

/* Numéro d'étape / de service : gros, monospace, discret. */
.acx-index {
  font-family: var(--acx-font-mono);
  font-size: var(--acx-t-xs);
  letter-spacing: .12em;
  color: var(--acx-brand);
}

.acx-stat { display: grid; gap: var(--acx-s-1); }
.acx-stat__value {
  font-family: var(--acx-font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.acx-stat__label { font-size: var(--acx-t-sm); color: var(--acx-muted); }

.acx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--acx-border);
  border-radius: var(--acx-r-pill);
  font-family: var(--acx-font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--acx-muted);
  background: var(--acx-surface);
}
.acx-chip--brand { color: var(--acx-brand); border-color: var(--acx-brand); background: var(--acx-brand-faint); }
.acx-chip--ok { color: var(--acx-ok); border-color: color-mix(in srgb, var(--acx-ok) 40%, transparent); }

/* ── 8. Listes ──────────────────────────────────────────────────────────── */

.acx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--acx-s-3); }
.acx-list li { position: relative; padding-left: 26px; }
.acx-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 12px; height: 1px;
  background: var(--acx-brand);
}
.acx-list--check li::before {
  content: "✓";
  font-family: var(--acx-font-mono);
  font-size: 13px;
  line-height: 1;
  top: .28em;
  width: auto; height: auto;
  background: none;
  color: var(--acx-ok);
}
.acx-list--no li::before {
  content: "×";
  font-family: var(--acx-font-mono);
  font-size: 15px;
  line-height: 1;
  top: .18em;
  width: auto; height: auto;
  background: none;
  color: var(--acx-err);
}

/* Étapes numérotées reliées par un filet vertical. */
.acx-steps { display: grid; gap: 0; counter-reset: acx-step; }
.acx-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: var(--acx-s-5);
  padding-block: var(--acx-s-5);
  border-top: 1px solid var(--acx-border);
}
.acx-step:last-child { border-bottom: 1px solid var(--acx-border); }
.acx-step__no {
  counter-increment: acx-step;
  font-family: var(--acx-font-mono);
  font-size: var(--acx-t-sm);
  color: var(--acx-brand);
  letter-spacing: .1em;
}
.acx-step__no::before { content: "0" counter(acx-step); }

/* Repères de temps du parcours / de l'historique. */
.acx-timeline { display: grid; gap: 0; }
.acx-timeline__item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: var(--acx-s-5);
  padding-block: var(--acx-s-4);
  border-top: 1px solid var(--acx-border);
}
.acx-timeline__when { font-family: var(--acx-font-mono); font-size: var(--acx-t-sm); color: var(--acx-faint); }

.acx-quote {
  margin: 0;
  padding-left: var(--acx-s-5);
  border-left: 2px solid var(--acx-brand);
  font-family: var(--acx-font-display);
  font-size: var(--acx-t-lg);
  line-height: 1.44;
  letter-spacing: -.014em;
}
.acx-quote figcaption { margin-top: var(--acx-s-3); font-family: var(--acx-font); font-size: var(--acx-t-sm); color: var(--acx-muted); letter-spacing: 0; }

/* ── 9. Formulaires ─────────────────────────────────────────────────────── */

.acx-field { display: grid; gap: 6px; }
.acx-label { font-size: var(--acx-t-sm); font-weight: 600; }
.acx-hint { font-size: var(--acx-t-xs); color: var(--acx-faint); }

.acx-input, .acx-select, .acx-textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--acx-surface);
  border: 1px solid var(--acx-border-strong);
  border-radius: var(--acx-r-2);
  color: var(--acx-text);
  font-size: var(--acx-t-sm);
}
.acx-input::placeholder, .acx-textarea::placeholder { color: var(--acx-faint); }
.acx-input:focus, .acx-select:focus, .acx-textarea:focus {
  outline: 2px solid var(--acx-brand);
  outline-offset: 1px;
  border-color: var(--acx-brand);
}
.acx-textarea { min-height: 148px; resize: vertical; line-height: 1.55; }

.acx-check { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--acx-s-3); align-items: start; }
.acx-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--acx-brand); }
.acx-check span { font-size: var(--acx-t-sm); color: var(--acx-muted); }

/* ── 10. Tableaux ───────────────────────────────────────────────────────── */

.acx-tablewrap { overflow-x: auto; border: 1px solid var(--acx-border); border-radius: var(--acx-r-2); }
.acx-table { width: 100%; border-collapse: collapse; font-size: var(--acx-t-sm); min-width: 480px; }
.acx-table th, .acx-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--acx-border); vertical-align: top; }
.acx-table thead th {
  font-family: var(--acx-font-mono);
  font-size: var(--acx-t-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--acx-faint);
  font-weight: 500;
  background: var(--acx-surface);
}
.acx-table tbody tr:last-child td { border-bottom: 0; }
.acx-table tbody tr:hover { background: var(--acx-surface); }

/* ── 11. Motif de crête ─────────────────────────────────────────────────── */
/* La ligne de crête du logo, réutilisée en filigrane de héros et en séparateur.
   Purement décorative : aria-hidden dans le HTML. */

.acx-ridge { display: block; width: 100%; height: auto; color: var(--acx-border); }
.acx-ridge--divider { height: 40px; }

.acx-watermark {
  position: absolute;
  inset: auto -6% -18% auto;
  width: min(520px, 58%);
  color: var(--acx-border);
  opacity: .45;
  pointer-events: none;
}

.acx-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 124px) clamp(48px, 7vw, 92px);
}
/* Le bloc de héros porte AUSSI .acx-shell : lui donner une largeur maximale le
   recentrerait dans la page au lieu de l'aligner sur le logo de l'en-tête. La
   mesure de lecture se règle donc sur les enfants, jamais sur le conteneur. */
.acx-hero__in { position: relative; z-index: 1; display: grid; gap: var(--acx-s-5); justify-items: start; }
.acx-hero__in > h1 { max-width: 24ch; }
.acx-hero__in > .acx-lede { max-width: 58ch; }

/* ── 12. Pied de page ───────────────────────────────────────────────────── */

.acx-footer { background: var(--acx-bg-deep); border-top: 1px solid var(--acx-border); padding-block: var(--acx-s-8) var(--acx-s-6); }
.acx-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--acx-s-6); }
.acx-footer h4 {
  font-family: var(--acx-font-mono);
  font-size: var(--acx-t-xs);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acx-faint);
  margin-bottom: var(--acx-s-3);
}
.acx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--acx-s-2); }
.acx-footer a { color: var(--acx-muted); text-decoration: none; font-size: var(--acx-t-sm); }
.acx-footer a:hover { color: var(--acx-text); text-decoration: underline; }
.acx-footer__bottom {
  margin-top: var(--acx-s-7);
  padding-top: var(--acx-s-4);
  border-top: 1px solid var(--acx-border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--acx-s-4);
  justify-content: space-between;
  font-size: var(--acx-t-xs);
  color: var(--acx-faint);
}

/* ── 13. Barre de revue (maquettes uniquement — pas dans le site final) ─── */

.acx-mockbar {
  display: flex;
  align-items: center;
  gap: var(--acx-s-3);
  flex-wrap: wrap;
  padding: 8px var(--acx-s-5);
  background: var(--acx-band);
  color: var(--acx-on-band);
  border-bottom: 1px solid var(--acx-border);
  font-family: var(--acx-font-mono);
  font-size: var(--acx-t-xs);
}
.acx-mockbar a { color: var(--acx-band-muted); text-decoration: none; }
.acx-mockbar a:hover { color: var(--acx-on-band); }
.acx-mockbar__id {
  padding: 2px 7px;
  border: 1px solid var(--acx-brand);
  color: var(--acx-brand);
  border-radius: var(--acx-r-1);
}
.acx-mockbar__title { color: var(--acx-band-muted); }
.acx-mockbar__spacer { margin-left: auto; }
.acx-toggle { display: inline-flex; border: 1px solid var(--acx-border-strong); border-radius: var(--acx-r-2); overflow: hidden; }
.acx-toggle button {
  background: transparent;
  border: 0;
  color: var(--acx-band-muted);
  padding: 4px 10px;
  font-family: var(--acx-font-mono);
  font-size: var(--acx-t-xs);
  cursor: pointer;
}
.acx-toggle button + button { border-left: 1px solid var(--acx-border-strong); }
.acx-toggle button[aria-pressed="true"] { background: var(--acx-brand); color: var(--acx-on-brand); }

/* Sélecteur de langue — même bloc segmenté que la bascule de thème, mais fait
   de LIENS et non de boutons : chaque langue est une URL distincte, elle doit
   pouvoir s'ouvrir dans un onglet, se copier, s'indexer. Un bouton en
   JavaScript casserait les trois.

   Posé par build.py dans l'en-tête et dans le pied de page ; absent des
   maquettes, où /en/ et /de/ n'existent pas. */
.acx-lang { display: inline-flex; border: 1px solid var(--acx-border-strong); border-radius: var(--acx-r-2); overflow: hidden; }
.acx-lang a {
  display: block;
  padding: 4px 9px;
  color: var(--acx-muted);
  text-decoration: none;
  font-family: var(--acx-font-mono);
  font-size: var(--acx-t-xs);
  letter-spacing: .06em;
  line-height: 1.4;
}
.acx-lang a + a { border-left: 1px solid var(--acx-border-strong); }
.acx-lang a:hover { color: var(--acx-text); background: var(--acx-surface); }
/* `aria-current="true"` et non `page` : les trois liens désignent la même page,
   dans une autre langue. C'est la langue qui est courante, pas la page. */
.acx-lang a[aria-current="true"] { background: var(--acx-brand); color: var(--acx-on-brand); }
.acx-lang a[aria-current="true"]:hover { color: var(--acx-on-brand); }

/* Encart « à valider » : signale un contenu de maquette, jamais un contenu
   arrêté. Visible en revue, supprimé à l'intégration. */
.acx-todo {
  border: 1px dashed var(--acx-warn);
  border-radius: var(--acx-r-2);
  padding: var(--acx-s-4);
  font-size: var(--acx-t-sm);
  color: var(--acx-muted);
  background: color-mix(in srgb, var(--acx-warn) 8%, transparent);
}
.acx-todo strong { color: var(--acx-warn); font-family: var(--acx-font-mono); font-size: var(--acx-t-xs); letter-spacing: .1em; text-transform: uppercase; }

/* ── 14. Nuanciers (page kit de marque) ─────────────────────────────────── */

.acx-swatch { border: 1px solid var(--acx-border); border-radius: var(--acx-r-2); overflow: hidden; }
.acx-swatch__chip { height: 88px; }
.acx-swatch__meta { padding: var(--acx-s-3) var(--acx-s-4); display: grid; gap: 2px; background: var(--acx-surface); }
.acx-swatch__hex { font-family: var(--acx-font-mono); font-size: var(--acx-t-sm); }
.acx-swatch__use { font-size: var(--acx-t-xs); color: var(--acx-faint); }

.acx-logobox {
  display: grid;
  place-items: center;
  min-height: 168px;
  padding: var(--acx-s-6);
  border: 1px solid var(--acx-border);
  border-radius: var(--acx-r-2);
}

/* ── 15. Adaptatif ──────────────────────────────────────────────────────── */

@media (max-width: 1040px) {
  .acx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .acx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acx-grid--sidebar, .acx-grid--aside { grid-template-columns: minmax(0, 1fr); gap: var(--acx-s-6); }
  .acx-head-block--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .acx-header__in { min-height: 64px; flex-wrap: wrap; padding-block: var(--acx-s-3); }
  .acx-nav { order: 3; width: 100%; margin-left: 0; gap: var(--acx-s-4); overflow-x: auto; }
  .acx-header__end { margin-left: auto; }
}

@media (max-width: 680px) {
  .acx-grid--2, .acx-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .acx-section { padding-block: var(--acx-s-7); }
  .acx-step, .acx-timeline__item { grid-template-columns: minmax(0, 1fr); gap: var(--acx-s-2); }
  .acx-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .acx-logo { height: 28px; }
}

@media (max-width: 460px) {
  /* Le logo, le sélecteur de langue et l'appel à l'action se disputent une
     barre de 380 px. On resserre le sélecteur plutôt que de le cacher : une
     langue qu'on ne trouve pas sur téléphone n'existe pas. */
  .acx-lang a { padding: 4px 6px; letter-spacing: 0; }
  .acx-header__end { gap: var(--acx-s-2); }
}

/* ── 16. SynACX ─────────────────────────────────────────────────────────── */
/* Pages produit de SynACX, sous Réalisations : héros au mot-symbole, circuit,
   captures, sommaire, barème et proposition chiffrée. Repris de la maquette du
   05.11.2026 ; aucune couleur ici, tout passe par les jetons (--syn-*, --doc-*). */

.syn-kicker::before { background: var(--syn-cyan); }
.syn-word { display: block; height: 20px; width: auto; max-width: none; flex: none; color: var(--acx-logo-ink); }
.acx-nav a, .syn-subnav__nav a { color: var(--acx-muted); text-decoration: none; font-size: var(--acx-t-sm); letter-spacing: .01em; padding-block: 8px; border-bottom: 1px solid transparent; white-space: nowrap; }
.acx-nav a:hover, .syn-subnav__nav a:hover { color: var(--acx-text); }
.acx-nav a[aria-current="page"], .syn-subnav__nav a[aria-current="page"] { color: var(--acx-text); border-bottom-color: var(--acx-brand); }
.syn-subnav {  background: color-mix(in srgb, var(--acx-bg) 90%, transparent); -webkit-backdrop-filter: saturate(150%) blur(12px); backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid var(--acx-border); }
.syn-subnav__in { display: flex; align-items: center; gap: 28px; min-height: 56px; }
.syn-subnav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.syn-subnav__nav { display: flex; gap: 22px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.syn-subnav__cta { margin-left: auto; flex: none; }
.acx-chip--cyan { color: var(--syn-cyan-text); border-color: color-mix(in srgb, var(--syn-cyan) 55%, transparent); background: var(--syn-cyan-faint); }
.acx-chip--warn { color: var(--acx-warn); border-color: color-mix(in srgb, var(--acx-warn) 50%, transparent); background: transparent; }
.syn-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-block: clamp(48px, 8vw, 104px) clamp(48px, 6vw, 80px); }
.syn-hero__text { display: grid; gap: 24px; justify-items: start; }
.syn-hero__text h1 { max-width: 18ch; }
.syn-app { background: var(--acx-surface); border: 1px solid var(--acx-border); border-radius: var(--acx-r-2); box-shadow: var(--acx-shadow-2); overflow: hidden; min-width: 0; }
.syn-app__bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--acx-surface-2); border-bottom: 1px solid var(--acx-border); }
.syn-app__bar .syn-word { height: 13px; }
.syn-app__path { font-family: var(--acx-font-mono); font-size: 11.5px; color: var(--acx-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.syn-app__bar .acx-chip { margin-left: auto; flex: none; }
.syn-app__body { padding: 20px 20px 8px; }
.syn-app__title { font-family: var(--acx-font-display); font-size: var(--acx-t-md); font-weight: 600; letter-spacing: -.012em; }
.syn-circuit { list-style: none; margin: 14px 0 0; padding: 0; position: relative; }
.syn-circuit::before { content: ""; position: absolute; left: 6px; top: 20px; bottom: 20px; width: 2px; background: var(--syn-cyan); }
.syn-circuit li { position: relative; display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 0 11px 30px; border-top: 1px solid var(--acx-border); }
.syn-circuit li:first-child { border-top: 0; }
.syn-circuit li::before { content: ""; position: absolute; left: 1px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--syn-cyan); box-shadow: 0 0 0 3px var(--acx-surface); }
.syn-circuit li.is-live::before { background: var(--acx-surface); border: 2px solid var(--syn-cyan); animation: syn-pulse 2.4s var(--acx-ease) infinite; }
.syn-circuit__k { font-family: var(--acx-font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--acx-muted); }
.syn-circuit__v { font-size: var(--acx-t-sm); min-width: 0; }
.syn-circuit li.is-live .syn-circuit__v { color: var(--syn-cyan-text); }
.syn-app__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 12px 20px; border-top: 1px solid var(--acx-border); background: var(--acx-bg); font-size: var(--acx-t-sm); color: var(--acx-muted); }
@keyframes syn-pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--acx-surface), 0 0 0 3px color-mix(in srgb, var(--syn-cyan) 0%, transparent); } 50% { box-shadow: 0 0 0 3px var(--acx-surface), 0 0 0 8px color-mix(in srgb, var(--syn-cyan) 22%, transparent); } }
.syn-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.syn-flow::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: var(--syn-cyan); }
.syn-flow li { position: relative; padding-top: 34px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.syn-flow li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--syn-cyan); box-shadow: 0 0 0 5px var(--acx-bg); }
.syn-flow__no { font-family: var(--acx-font-mono); font-size: var(--acx-t-xs); letter-spacing: .14em; color: var(--syn-cyan-text); }
.syn-flow h3 { font-size: var(--acx-t-lg); }
.syn-flow p { font-size: var(--acx-t-sm); color: var(--acx-muted); }
.syn-rows { display: grid; }
.syn-rows > div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 8px 32px; padding-block: 18px; border-top: 1px solid var(--acx-border); align-items: baseline; }
.syn-rows > div:last-child { border-bottom: 1px solid var(--acx-border); }
.syn-rows h3 { font-size: var(--acx-t-md); letter-spacing: -.012em; }
.syn-rows p { color: var(--acx-muted); max-width: 64ch; }
.syn-rows--names > div > span:first-child { font-family: var(--acx-font-mono); font-size: var(--acx-t-sm); color: var(--acx-text); }
.syn-teaser { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-block: 72px; }
.syn-teaser .acx-stack { max-width: 60ch; }
.syn-final { display: grid; gap: 20px; justify-items: center; text-align: center; max-width: 720px; margin-inline: auto; }
/* Documents à télécharger (#documentation) : la carte pousse le bouton et les langues en bas, pour qu'ils s'alignent d'une carte à l'autre. */
.syn-docs__item { display: flex; flex-direction: column; gap: 12px; }
.syn-docs__meta { margin-top: auto; }
.syn-docs__langs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--acx-t-sm); }
.syn-docs__langs li + li::before { content: "·"; padding-inline: 10px; color: var(--acx-faint); }
.syn-docs__langs a { color: var(--acx-muted); }
.syn-docs__langs a:hover { color: var(--acx-text); }
.syn-docs__langs a[aria-current] { color: var(--acx-text); font-weight: 600; text-decoration: none; }
.syn-feat-layout { display: grid; grid-template-columns: minmax(0, 13.5rem) minmax(0, 1fr); gap: 56px; align-items: start; }
.syn-toc { position: sticky; top: 96px; display: grid; gap: 2px; }
.syn-toc p { margin-bottom: 8px; }
.syn-toc a { display: block; padding: 5px 0 5px 12px; border-left: 1px solid var(--acx-border); color: var(--acx-muted); text-decoration: none; font-size: var(--acx-t-sm); }
.syn-toc a:hover { color: var(--acx-text); border-left-color: var(--acx-brand); }
.syn-feat { display: grid; gap: 20px; padding-block: 44px; border-top: 1px solid var(--acx-border); scroll-margin-top: 96px; min-width: 0; }
.syn-feat:first-child { border-top: 0; padding-top: 0; }
.syn-feat__head { display: grid; gap: 10px; max-width: 64ch; }
.syn-feat__head .acx-row { gap: 10px 14px; }
.syn-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin: 0; }
.syn-dl > div { padding-block: 14px; border-top: 1px solid var(--acx-border); min-width: 0; }
.syn-dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.syn-dl dt { font-weight: 600; margin-bottom: 4px; }
.syn-dl dd { margin: 0; color: var(--acx-muted); font-size: var(--acx-t-sm); }
.syn-term { border: 1px solid var(--acx-border); border-radius: var(--acx-r-2); background: var(--acx-bg-deep); overflow: hidden; }
.syn-term__cap { padding: 14px 16px; font-size: var(--acx-t-sm); color: var(--acx-muted); border-bottom: 1px solid var(--acx-border); background: var(--acx-surface); }
.syn-term pre { margin: 0; padding: 14px 16px; overflow-x: auto; font-family: var(--acx-font-mono); font-size: 12.5px; line-height: 1.7; color: var(--acx-text); }
.syn-term pre .p { color: var(--syn-cyan-text); }
.syn-term pre .c { color: var(--acx-faint); }
.syn-xp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.syn-xp > div { padding: 14px 16px; border: 1px solid var(--acx-border); border-radius: var(--acx-r-2); background: var(--acx-surface); font-size: var(--acx-t-sm); color: var(--acx-muted); }
.syn-xp strong { display: block; color: var(--acx-text); font-family: var(--acx-font-mono); font-size: var(--acx-t-xs); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.syn-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.syn-price__v { font-family: var(--acx-font-display); font-size: clamp(34px, 4.6vw, 48px); font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.syn-price__u { color: var(--acx-muted); font-size: var(--acx-t-sm); }
.syn-tiers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.syn-tiers h4 { font-family: var(--acx-font-mono); font-size: var(--acx-t-xs); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--acx-faint); margin-bottom: 6px; }
.syn-tiers table { width: 100%; border-collapse: collapse; font-size: var(--acx-t-sm); font-variant-numeric: tabular-nums; }
.syn-tiers th, .syn-tiers td { padding: 8px 0; border-top: 1px solid var(--acx-border); text-align: left; font-weight: 400; }
.syn-tiers th { color: var(--acx-muted); white-space: nowrap; padding-right: 8px; }
.syn-tiers td { text-align: right; white-space: nowrap; }
.syn-tiers td + td { color: var(--acx-faint); padding-left: 10px; }
.syn-note { font-size: var(--acx-t-sm); color: var(--acx-muted); }
.syn-card-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--acx-border); font-size: var(--acx-t-sm); color: var(--acx-faint); }
.syn-sim { display: grid; grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); gap: 36px; align-items: start; }
.syn-sim__controls { min-width: 0; display: grid; gap: 22px; padding: 24px; background: var(--acx-surface); border: 1px solid var(--acx-border); border-radius: var(--acx-r-2); }
.syn-sim__label { font-size: var(--acx-t-sm); font-weight: 600; }
.syn-hint { font-size: var(--acx-t-xs); color: var(--acx-faint); }
.syn-presets { display: grid; gap: 8px; }
.syn-preset { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; text-align: left; padding: 10px 12px; background: transparent; border: 1px solid var(--acx-border-strong); border-radius: var(--acx-r-2); cursor: pointer; }
.syn-preset:hover { border-color: var(--acx-text); }
.syn-preset[aria-pressed="true"] { border-color: var(--acx-brand); background: var(--acx-brand-faint); }
.syn-preset b { font-size: var(--acx-t-sm); }
.syn-preset span { font-size: var(--acx-t-xs); color: var(--acx-muted); }
.syn-preset em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-family: var(--acx-font-mono); font-size: var(--acx-t-xs); color: var(--acx-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.syn-field { display: grid; gap: 6px; }
.syn-field__row { display: grid; grid-template-columns: minmax(0, 1fr) 5.5rem; gap: 12px; align-items: center; }
.syn-field input[type="range"] { width: 100%; accent-color: var(--acx-brand); min-width: 0; }
.syn-num { width: 100%; padding: 8px 10px; background: var(--acx-bg); border: 1px solid var(--acx-border-strong); border-radius: var(--acx-r-2); color: var(--acx-text); font-family: var(--acx-font-mono); font-size: var(--acx-t-sm); font-variant-numeric: tabular-nums; }
.syn-num:focus { outline: 2px solid var(--acx-brand); outline-offset: 1px; border-color: var(--acx-brand); }
.syn-seg { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.syn-seg legend { padding: 0; margin-bottom: 8px; }
.syn-seg label, .syn-check { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: var(--acx-t-sm); cursor: pointer; }
.syn-seg input, .syn-check input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--acx-brand); }
.syn-opts { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--acx-border); }
.syn-opt { display: grid; grid-template-columns: minmax(0, 1fr) 4.5rem; gap: 12px; align-items: center; font-size: var(--acx-t-sm); color: var(--acx-muted); }
.syn-opt small { display: block; color: var(--acx-faint); font-size: var(--acx-t-xs); }

/* Modules de la licence (simulateur) — une case, un libellé, une aide, un prix. Le prix est à droite,
   aligné sur la colonne des nombres des options : les deux groupes se lisent comme un seul tableau. */
.syn-mods { border: 0; padding: 18px 0 0; margin: 0; display: grid; gap: 10px; min-width: 0; border-top: 1px solid var(--acx-border); }
.syn-mods legend { padding: 0; }
.syn-mods__socle { font-size: var(--acx-t-xs); color: var(--acx-muted); margin: 0; }
.syn-mods__socle b { color: var(--acx-text); }
.syn-opt--mod { grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: start; cursor: pointer; }
.syn-opt--mod input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--acx-brand); }
.syn-opt--mod > span { color: var(--acx-text); }
.syn-opt__prix { font-family: var(--acx-font-mono); font-size: var(--acx-t-xs); font-style: normal; color: var(--acx-muted); white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: 2px; }
.syn-doc { background: var(--doc-bg); color: var(--doc-text); border: 1px solid var(--acx-border); border-radius: var(--acx-r-2); box-shadow: var(--acx-shadow-2); padding: clamp(20px, 3vw, 36px); font-size: var(--acx-t-sm); display: grid; gap: 20px; min-width: 0; }
.syn-doc__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--doc-text); }
.syn-doc__logo { height: 30px; --acx-logo-ink: var(--doc-logo-ink); --acx-logo-accent: var(--doc-logo-accent); }
.syn-doc__meta { display: grid; gap: 2px; text-align: right; font-family: var(--acx-font-mono); font-size: var(--acx-t-xs); color: var(--doc-muted); font-variant-numeric: tabular-nums; }
.syn-doc__meta strong { font-family: var(--acx-font-display); font-size: var(--acx-t-md); color: var(--doc-text); letter-spacing: -.01em; margin-bottom: 4px; }
.syn-doc__obj { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 12px; }
.syn-doc__obj span { font-family: var(--acx-font-mono); font-size: var(--acx-t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--doc-muted); padding-top: 2px; }
.syn-doc__wrap { overflow-x: auto; }
.syn-doc table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 30rem; }
.syn-doc th, .syn-doc td { padding: 8px 10px; border-bottom: 1px solid var(--doc-rule); text-align: left; vertical-align: top; }
.syn-doc thead th { font-family: var(--acx-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--doc-muted); font-weight: 500; border-bottom: 1px solid var(--doc-text); }
.syn-doc .n { text-align: right; white-space: nowrap; }
.syn-doc tr.grp td { background: var(--doc-band); font-weight: 600; font-size: var(--acx-t-xs); letter-spacing: .04em; }
.syn-doc tr.sub td { font-weight: 600; border-bottom-color: var(--doc-text); }
.syn-doc tr.neg td { color: var(--doc-brand); }
.syn-doc td small { display: block; color: var(--doc-muted); font-size: 11.5px; }
.syn-doc__totals { display: grid; gap: 0; margin: 0 0 0 auto; width: min(100%, 26rem); font-variant-numeric: tabular-nums; }
.syn-doc__totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--doc-rule); }
.syn-doc__totals dt { color: var(--doc-muted); }
.syn-doc__totals dd { margin: 0; white-space: nowrap; }
.syn-doc__totals .big dt, .syn-doc__totals .big dd { color: var(--doc-text); font-weight: 700; font-size: var(--acx-t-base); }
.syn-doc__totals .big { border-bottom: 2px solid var(--doc-text); }
.syn-doc__totals .run dt, .syn-doc__totals .run dd { color: var(--doc-brand); font-weight: 600; }
.syn-doc__terms { font-size: var(--acx-t-xs); color: var(--doc-muted); line-height: 1.55; padding-top: 14px; border-top: 1px solid var(--doc-rule); }
.syn-doc__min { font-size: var(--acx-t-xs); color: var(--doc-brand); }
.syn-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.syn-copy [role="status"] { font-size: var(--acx-t-sm); color: var(--acx-muted); }
.syn-fallback { width: 100%; min-height: 220px; margin-top: 12px; padding: 12px; font-family: var(--acx-font-mono); font-size: 12px; background: var(--acx-surface); color: var(--acx-text); border: 1px solid var(--acx-border-strong); border-radius: var(--acx-r-2); }
.syn-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.syn-faq > div { padding-block: 18px; border-top: 1px solid var(--acx-border); min-width: 0; }
.syn-faq > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.syn-faq dt { font-weight: 600; margin-bottom: 6px; }
.syn-faq dd { margin: 0; color: var(--acx-muted); font-size: var(--acx-t-sm); max-width: 62ch; }
.acx-brief { display: grid; gap: 12px; margin: 0; }
.acx-brief dt { font-size: var(--acx-t-xs); color: var(--acx-faint); }
.acx-brief dd { margin: 0; font-size: var(--acx-t-sm); }
.syn-ref { background: linear-gradient(180deg, var(--syn-cyan-faint), transparent 340px); }
.syn-logo-title { margin: 0; }
/* Logos des réalisations (demande de JF, 11.11.2026) : à la hauteur du mot-symbole de SynACX (46 px). Les couleurs
   sont celles des marques, pour chaque thème ; PokeBoy, clair et pensé pour un fond sombre, garde le fond de son
   application quel que soit le thème. */
:root { --ref-upgreg-up: #F1F5FB; --ref-upgreg-greg: #F1F5FB; --ref-kailo-signe: #7FB6C2; --ref-kailo-lac: #C4A86A; }
:root[data-resolved="light"] { --ref-upgreg-up: #2A2622; --ref-upgreg-greg: #2C66D9; --ref-kailo-signe: #2A5B69; --ref-kailo-lac: #8A7549; }
.ref-logo-title { margin: 0; }
.ref-logo { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; }
.ref-logo__signe { display: block; height: 46px; width: 46px; flex: none; }
.ref-logo__mot--upgreg { font-size: 32px; font-weight: 700; letter-spacing: -.01em; line-height: 1; color: var(--ref-upgreg-up); }
.ref-logo__mot--upgreg b { font-weight: 700; color: var(--ref-upgreg-greg); }
.ref-logo--kailo { color: var(--ref-kailo-signe); }
.ref-logo--kailo .ref-kailo-lac { stroke: var(--ref-kailo-lac); }
.ref-logo__mot--kailo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.ref-logo__mot--kailo b { font-size: 27px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--acx-text); }
.ref-logo__mot--kailo span { margin-top: 6px; padding-left: .16em; font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--acx-muted); }
.ref-logo--pokeboy { padding: 8px 16px; border-radius: var(--acx-r-2); background: #03061C; }
.ref-logo--pokeboy img { display: block; height: 64px; width: auto; max-width: 100%; }
/* Mets des Gants : son gant et ses violets (src/metsdesgants/static/), sur le même fond dans les deux thèmes. */
.ref-logo--mdg { padding: 10px 18px 10px 12px; border-radius: var(--acx-r-2); background: linear-gradient(135deg, #2A1240, #4B1D6B); }
.ref-logo__mot--mdg { font: 700 28px/1 ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: -.01em; color: #FBF3FF; white-space: nowrap; }
.syn-lockup { display: block; width: auto; max-width: 100%; height: 46px; color: var(--acx-logo-ink); flex: none; }
.syn-lockup--hero { height: clamp(38px, 5.4vw, 62px); }
.syn-lockup--sub { height: 21px; max-width: none; }
.syn-subnav__crumb { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.syn-shot { margin: 0; border: 1px solid var(--acx-border); border-radius: var(--acx-r-2); overflow: hidden; background: var(--acx-surface); box-shadow: var(--acx-shadow-2); min-width: 0; }
.syn-shot__bar { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: var(--acx-surface-2); border-bottom: 1px solid var(--acx-border); font-family: var(--acx-font-mono); font-size: 11.5px; color: var(--acx-faint); min-width: 0; }
.syn-shot__bar .syn-word { height: 12px; }
.syn-shot__bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.syn-shot img { display: block; width: 100%; height: auto; max-width: 100%; }
.syn-shot figcaption { padding: 12px 16px; font-size: var(--acx-t-sm); color: var(--acx-muted); border-top: 1px solid var(--acx-border); }
.syn-shot figcaption strong { color: var(--acx-text); font-weight: 600; margin-right: 6px; }
.syn-feat .syn-shot { margin-top: 4px; }
/* Vidéo de présentation : une image servie par le site et un bouton ; l'iframe de YouTube (youtube-nocookie.com) n'est
   posée qu'au clic, par synacx.js. Sans script, le lien ouvre la vidéo sur YouTube. */
.syn-video { margin: 0; max-width: 880px; border: 1px solid var(--acx-border); border-radius: var(--acx-r-2); overflow: hidden; background: var(--acx-surface); box-shadow: var(--acx-shadow-2); min-width: 0; }
.syn-video__lien, .syn-video__cadre { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.syn-video__lien img { display: block; width: 100%; height: 100%; object-fit: cover; }
.syn-video__jouer { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--acx-brand); box-shadow: var(--acx-shadow-2); transition: transform .15s ease, background-color .15s ease; }
.syn-video__jouer svg { width: 34px; height: 34px; margin-left: 4px; fill: var(--acx-on-brand); }
.syn-video__lien:hover .syn-video__jouer, .syn-video__lien:focus-visible .syn-video__jouer { transform: scale(1.06); background: var(--acx-brand-hover); }
.syn-video figcaption { padding: 12px 16px; font-size: var(--acx-t-sm); color: var(--acx-muted); border-top: 1px solid var(--acx-border); }
.syn-video figcaption strong { color: var(--acx-text); font-weight: 600; margin-right: 6px; }
@media (prefers-reduced-motion: reduce) { .syn-video__jouer { transition: none; } }
.syn-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.syn-tabs button { padding: 7px 14px; border: 1px solid var(--acx-border-strong); border-radius: var(--acx-r-pill); background: transparent; color: var(--acx-muted); font-size: var(--acx-t-sm); cursor: pointer; }
.syn-tabs button:hover { color: var(--acx-text); border-color: var(--acx-text); }
.syn-tabs button[aria-selected="true"] { background: var(--acx-text); border-color: var(--acx-text); color: var(--acx-bg); }
@media (max-width: 1040px) {
  .syn-sim { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .syn-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .syn-flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .syn-flow::before { left: 6px; right: auto; top: 6px; bottom: 40px; width: 2px; height: auto; }
  .syn-flow li { padding: 0 0 32px 38px; }
  .syn-feat-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .syn-toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .syn-toc p { width: 100%; margin-bottom: 0; }
  .syn-toc a { border: 1px solid var(--acx-border); border-radius: var(--acx-r-pill); padding: 4px 12px; font-size: var(--acx-t-xs); }
  .syn-teaser { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 680px) {
  .acx-grid--2, .acx-dl, .syn-dl, .syn-faq, .syn-tiers, .syn-xp { grid-template-columns: minmax(0, 1fr); }
  .syn-rows > div { grid-template-columns: minmax(0, 1fr); }
  .syn-subnav__cta { display: none; }
  .syn-subnav__in { gap: 18px; }
  .syn-subnav__back { display: none; }
}
@media (max-width: 460px) {
  .syn-circuit li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

.syn-subnav__back { margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.syn-subnav__back a { color: var(--acx-muted); text-decoration: none; font-size: var(--acx-t-sm); }
.syn-subnav__back a:hover { color: var(--acx-text); }
.syn-subnav__back::after { content: "/"; color: var(--acx-faint); }
.acx-head { display: grid; gap: var(--acx-s-4); margin-bottom: var(--acx-s-7); max-width: 60ch; }
.syn-dl code, .acx-table code, .acx-todo code { font-family: var(--acx-font-mono); font-size: .9em; padding: 1px 5px; border: 1px solid var(--acx-border); border-radius: var(--acx-r-1); background: var(--acx-surface); }
.acx-kicker.syn-kicker::before { background: var(--syn-cyan); }
@media (max-width: 680px) {
  .syn-hero h1, .syn-feat h2 { overflow-wrap: break-word; }
  /* Les mots composés allemands ne tiennent pas sur 360 px sans césure. */
  html[lang="de"] .syn-hero h1, html[lang="de"] .syn-feat h2, html[lang="de"] .acx-h1 { hyphens: auto; }
  /* La barre SynACX passe à la ligne plutôt que de cacher « Tarifs » hors de l'écran. */
  .syn-subnav__in { flex-wrap: wrap; padding-block: 10px; row-gap: 6px; }
  .syn-subnav__nav { flex-wrap: wrap; overflow: visible; gap: 4px 18px; }
}
.syn-options { min-width: 420px; }
.syn-options th { white-space: normal; }
.syn-options td:nth-child(2) { text-align: right; white-space: nowrap; color: var(--acx-text); }
.syn-options td:nth-child(3) { white-space: nowrap; }
.syn-lockup--card { height: 30px; }
.acx-card .syn-logo-title { margin: 0; }
/* Une pastille en tête de carte garde sa largeur : la carte est une colonne flexible qui l'étirerait. */
.acx-card > .acx-chip { align-self: flex-start; }

/* ── Versions publiées de SynACX (/synacx/releases/) ──────────────────────────
   Pages fabriquées par build.py (releases.py) depuis le manifeste signé, en anglais seulement. Les sommes SHA-256
   et les commits se coupent n'importe où : 64 caractères en chasse fixe débordent d'un écran de téléphone. */
.rel-crumb { margin: 0; color: var(--acx-muted); }
.rel-crumb a { color: inherit; }
.rel-hash { font-family: var(--acx-font-mono); font-size: .85em; overflow-wrap: anywhere; }
.rel-notes { display: grid; gap: var(--acx-s-4); min-width: 0; overflow-wrap: anywhere; }
.rel-notes p { margin: 0; }
.rel-notes ul { margin: 0; padding-left: 1.25em; display: grid; gap: var(--acx-s-2); }
.rel-list, .rel-files { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--acx-border); }
.rel-list > li, .rel-files > li { display: grid; gap: var(--acx-s-2); padding-block: var(--acx-s-4); border-bottom: 1px solid var(--acx-border); min-width: 0; }
.rel-list p, .rel-files p { margin: 0; }
.rel-list__head, .rel-file__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--acx-s-2) var(--acx-s-3); }
.rel-list__head .acx-h4 { margin: 0; }
.acx-chip.rel-chip--err { color: var(--acx-err); border-color: color-mix(in srgb, var(--acx-err) 50%, transparent); background: transparent; }
/* Les commandes passent à la ligne plutôt que de défiler : on les lit sur un téléphone, on les copie sur un poste. */
.rel-term pre { white-space: pre-wrap; overflow-wrap: anywhere; }
