/* Le portail — direction artistique.
 *
 * Les jetons de couleur et le parti typographique viennent de la scène du
 * parcours (`site/vitrine/styles.css`), pour que la porte d'entrée et la
 * démonstration soient visiblement le même produit. Ils sont RECOPIÉS ici
 * plutôt qu'importés, et c'est assumé : la scène est un bloc autonome, dont
 * tout le style est préfixé par `#fondaxiom-solutions`. Lui faire dépendre du
 * portail — ou l'inverse — casserait le cloisonnement qui permet de la
 * régénérer sans toucher aux pages.
 *
 * S'ils divergent un jour, c'est ici qu'on aligne, jamais dans la scène.
 *
 * Aucune police distante : la page de connexion doit s'afficher pendant que le
 * moteur dort, sans dépendre de quoi que ce soit d'extérieur. Arial et Courier
 * suffisent — c'est avec elles que la scène a été dessinée.
 */

:root {
  --fond: #0b151b;
  --fond-2: #102027;
  --carte: #0d1a20;
  --ink: #f3f0e7;
  --muted: #a6b7b9;
  --mint: #8bd9c8;
  --copper: #ddb087;
  --line: #344a50;
  --danger: #e2887c;

  --mono: 'Courier New', ui-monospace, Menlo, monospace;
  --sans: Arial, Helvetica, sans-serif;

  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--ink);
  font: 14px/1.7 var(--sans);
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--mint); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── La barre ────────────────────────────────────────────────────────────── */

.barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 30px;
  position: relative;
  z-index: 20;
}

.marque {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
}
.marque img {
  width: 34px; height: 34px;
  object-fit: contain;
  background: var(--ink);
  border-radius: 5px;
  padding: 3px;
}
.marque .nom {
  display: block;
  font-size: 19px;
  letter-spacing: -0.4px;
  color: var(--ink);
}
/* « AI » dans le ton de l'application — `#E07A5F`, repris de `.brand-name-ai`
 * dans `ui/frontend/src/style.css`. La marque doit être la MÊME des deux côtés
 * du lien : c'est le seul moment où l'utilisateur passe du site au logiciel. */
.marque .nom b { color: #e07a5f; font-weight: 800; margin-left: 2px; }
.marque .societe {
  display: block;
  font: 11px/1.4 var(--sans);
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Sur la page de garde — et sur elle seule — le logo et le nom sont écrits
 * deux fois à soixante pixels d'écart : une fois dans la barre, une fois en
 * grand dans le titre. Et le lien de la barre y mène vers la page où l'on est
 * déjà. Répéter une marque ne la renforce pas ; cela signale qu'on n'a pas
 * regardé la page.
 *
 * J'avais d'abord écrit un retour au défilement — la marque réapparaissant
 * une fois le titre sorti de l'écran. Inutile : la barre n'est pas collante,
 * elle quitte l'écran avec le reste. Le code aurait révélé quelque chose que
 * personne n'aurait vu. */
.barre[data-marque-doublon] .marque { display: none; }
/* `space-between` n'a plus qu'un enfant : sans cette ligne, la navigation
 * saute à gauche. */
.barre[data-marque-doublon] { justify-content: flex-end; }

.barre-liens { display: flex; align-items: center; gap: 18px; }
/* `:not(.bouton-lien)` n'est pas un raffinement : sans lui, `.barre-liens a`
 * (une classe + un élément) l'emportait sur `.bouton-lien` (une classe) et
 * repeignait le bouton en gris SUR le fond turquoise — illisible, et seulement
 * là où le bouton est un lien. Sur la page de garde c'est un <button>, donc le
 * sélecteur ne mordait pas : le défaut ne se voyait que sur le parcours et les
 * mentions. Deux balises pour la même chose, un seul style corrigé. */
.barre-liens a:not(.bouton-lien) { font-size: 12.5px; color: var(--muted); text-decoration: none; }
.barre-liens a:not(.bouton-lien):hover { color: var(--ink); }

.bouton-lien, .barre > button {
  font: 12.5px var(--sans);
  color: #112b2c;
  background: var(--mint);
  border: 0;
  border-radius: 4px;
  padding: 10px 16px;
  min-height: 40px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.bouton-lien:hover, .barre > button:hover { background: #a3e6d7; }
/* Deux boutons dans la barre du parcours. Un seul peut être plein : deux
 * pastilles turquoise côte à côte, et plus rien ne dit laquelle est l'action
 * principale. « Se connecter » garde le plein ; la démonstration se contente
 * d'un contour. */
.bouton-second {
  background: transparent;
  color: var(--ink);
  border: 1px solid #527072;
}
.bouton-second:hover { background: #16323a; border-color: var(--mint); color: var(--ink); }

/* ── Mise en page ────────────────────────────────────────────────────────── */

.enveloppe { max-width: 1120px; margin: 0 auto; padding: 0 30px; }

.surtitre {
  font: 11px/1.5 var(--mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 22px;
}

h1 {
  font: 400 clamp(38px, 6.4vw, 68px)/1.02 var(--sans);
  letter-spacing: -2.4px;
  margin: 0;
  text-wrap: balance;
}
h1 em { font-style: normal; color: var(--mint); }

h2 {
  font: 400 clamp(24px, 3.2vw, 34px)/1.12 var(--sans);
  letter-spacing: -1.2px;
  margin: 0 0 16px;
}

p.chapeau {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 52ch;
  margin: 24px 0 0;
}

.sous { font-size: 12px; line-height: 1.7; color: var(--muted); }

/* Un SIREN coupé en deux sur une mention légale se lit deux fois. */
.insecable { white-space: nowrap; }

/* La date de version, sous le chapeau des mentions : présente sans peser. */
.chapeau .version {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .8;
}

/* ── L'accueil ───────────────────────────────────────────────────────────── */

.accueil {
  position: relative;
  padding: clamp(48px, 9vh, 104px) 0 clamp(40px, 7vh, 72px);
  background:
    radial-gradient(ellipse 70% 60% at 76% 42%, #24353a 0, transparent 68%);
}

/* La trame technique de fond — présente, jamais bavarde. Purement décorative,
 * donc retirée du flux d'accessibilité et du survol. */
.trame {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: 0.16;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 78%);
  animation: derive 46s linear infinite;
}
@keyframes derive {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 76px 76px, 76px 76px; }
}

/* ── La marque, en tête de l'accueil ─────────────────────────────────────── */

.titre-marque { display: block; margin: 0; }
.tm-marque {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 24px);
  font: 400 clamp(40px, 7.4vw, 82px)/1 var(--sans);
  letter-spacing: -2.6px;
  color: var(--ink);
}
.tm-marque img {
  width: clamp(52px, 7vw, 76px);
  height: auto;
  border-radius: 9px;
  flex: none;
}
/* « AI » dans le ton de l'application (`.brand-name-ai`, #E07A5F) : la marque
 * doit être la même des deux côtés du lien. */
.tm-marque b { color: #e07a5f; font-weight: 800; margin-left: .06em; }

.tm-promesse {
  display: block;
  margin: clamp(12px, 1.8vh, 20px) 0 0;
  font: 400 clamp(17px, 2.4vw, 25px)/1.35 var(--sans);
  letter-spacing: -0.5px;
  color: var(--mint);
  max-width: 24ch;
}

/* L'arrivée : le logo et le nom se posent, la promesse suit, puis le reste.
 * Trois temps, pas douze — une entrée qui dure se regarde au lieu de se lire.
 * Tout est neutralisé plus bas sous `prefers-reduced-motion`. */
@keyframes se-poser {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.titre-marque .tm-marque,
.titre-marque .tm-promesse,
.accueil .chapeau,
.actions-accueil,
.accueil .temps { animation: se-poser .7s cubic-bezier(.22,.68,.23,1) both; }
.titre-marque .tm-marque  { animation-delay: .05s; }
.titre-marque .tm-promesse { animation-delay: .28s; }
.accueil .chapeau          { animation-delay: .44s; }
.actions-accueil           { animation-delay: .56s; }
.accueil .temps            { animation-delay: .68s; }

.actions-accueil {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 34px;
}
.actions-accueil .entree { margin-top: 0; }
.actions-accueil .lien-normes { min-height: 0; }

.entree {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border: 1px solid #527072;
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13.5px;
  background: #102027cc;
  transition: border-color .25s, background .25s, transform .25s;
}
.entree:hover { border-color: var(--mint); background: #16323a; transform: translateX(3px); }
.entree .fleche { color: var(--mint); font-size: 17px; line-height: 1; transition: transform .25s; }
.entree:hover .fleche { transform: translateX(4px); }
.entree small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
/* Ce qu'on ouvre est une mise en scène. Le dire SUR le bouton, pas seulement
 * une fois la page ouverte : c'est ici qu'on décide de cliquer. */
.entree-reserve { color: var(--copper) !important; font-family: var(--mono); letter-spacing: .3px; }

/* Les quatre temps du produit, sous l'accroche. */
.temps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 0;
  margin: clamp(48px, 8vh, 84px) 0 0;
  border-top: 1px solid var(--line);
}
/* Le filet a besoin d'air DES DEUX CÔTÉS. Avec la seule marge à droite, les
 * colonnes se collaient au trait suivant et la grille se lisait comme un
 * tableau serré. */
.temps > div { padding: 26px 34px; border-left: 1px solid var(--line); }
.temps > div:first-child { padding-left: 0; border-left: 0; }
.temps dt {
  font: 11px/1.5 var(--mono);
  letter-spacing: 1px;
  color: var(--mint);
  margin-bottom: 8px;
}
.temps dd { margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.temps dd b { display: block; color: var(--ink); font-weight: 400; font-size: 14px; margin-bottom: 4px; }

/* ── Le panneau de connexion ─────────────────────────────────────────────── */

.panneau {
  position: absolute;
  top: 64px; right: 30px;
  width: 330px;
  max-width: calc(100vw - 40px);
  background: var(--carte);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  z-index: 30;
  box-shadow: 0 24px 60px #0007;
}
.panneau label {
  display: block;
  font: 11px/1.5 var(--mono);
  letter-spacing: 0.8px;
  color: var(--muted);
  margin: 0 0 6px;
}
.panneau input {
  width: 100%;
  background: #081116;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: 14px var(--sans);
  padding: 11px 12px;
  margin-bottom: 16px;
  min-height: 44px;
}
.panneau input:focus { border-color: var(--mint); }
.panneau button[type=submit] {
  width: 100%;
  background: var(--mint);
  color: #112b2c;
  border: 0;
  border-radius: 4px;
  font: 13px var(--sans);
  padding: 13px;
  min-height: 46px;
  cursor: pointer;
}
.panneau button[type=submit]:hover { background: #a3e6d7; }
.panneau button[type=submit]:disabled { opacity: .45; cursor: default; }

.acceptation {
  font: 11px/1.6 var(--sans);
  color: var(--muted);
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.acceptation strong { color: var(--ink); font-weight: 400; }

.erreur {
  font-size: 12px;
  line-height: 1.6;
  color: var(--danger);
  margin: 14px 0 0;
}

/* L'attente pendant le réveil. */
.etat { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.pastille { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.pastille.travaille { background: var(--mint); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.barre-progression {
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin: 14px 0 10px;
}
.barre-progression i { display: block; height: 100%; width: 0; background: var(--mint); transition: width .9s linear; }

/* ── Blocs de contenu ────────────────────────────────────────────────────── */

.avertissement {
  border-left: 2px solid var(--copper);
  background: linear-gradient(90deg, #1a1f1d 0, transparent 70%);
  padding: 22px 26px;
  margin: clamp(40px, 6vh, 64px) 0;
  border-radius: 0 6px 6px 0;
}
.avertissement h2 { font-size: 17px; letter-spacing: -0.4px; color: var(--copper); margin-bottom: 14px; }
.avertissement p { margin: 0 0 12px; max-width: 74ch; }
.avertissement ul { margin: 0 0 12px; padding-left: 18px; }
.avertissement li { margin-bottom: 9px; max-width: 74ch; }
.avertissement strong { color: var(--ink); }

/* Le titre collait à la barre : un texte long a besoin qu'on le laisse
 * commencer. */
.limites { max-width: 78ch; padding-block: clamp(26px, 5vh, 52px) 0; }
.limites h2 { margin-top: 42px; }
.limites h3 { font: 400 15px var(--sans); color: var(--mint); margin: 32px 0 10px; }
/* Les blocs à compléter doivent se voir depuis l'autre bout de la page : ils
 * partent en ligne le jour de la bascule si personne ne les remplit. */
.limites strong:first-child { color: var(--copper); }
.limites ul { padding-left: 18px; }
.limites li { margin-bottom: 10px; }

.pied {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: 1120px;
  margin: clamp(40px, 6vh, 72px) auto 0;
  padding: 18px 30px 40px;
  border-top: 1px solid var(--line);
  font: 11px/1.7 var(--mono);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
}
.pied a { color: var(--muted); text-decoration: none; }
.pied a:hover { color: var(--mint); }

/* ── La page du parcours ─────────────────────────────────────────────────── */

.scene-vitrine { margin: 0 auto; max-width: 1440px; }

.apres-scene {
  max-width: 76ch;
  margin: 0 0 14px;
  padding-left: 16px;
  border-left: 2px solid var(--copper);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}
.apres-scene strong { color: var(--ink); font-weight: 400; }
/* Seul le DERNIER paragraphe perd sa marge basse. Avec `+`, le deuxième la
 * perdait aussi, et les deux derniers se touchaient. */
.apres-scene + .apres-scene { border-left-color: var(--line); }
.apres-scene:last-of-type { margin-bottom: 0; }
.page-vitrine main > .enveloppe { padding-block: clamp(26px, 4vh, 44px) 0; }

/* ── Petits écrans ───────────────────────────────────────────────────────── */

/* ── Demander une démonstration ──────────────────────────────────────────── */

.appel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: clamp(30px, 5vh, 52px) 0 0;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(115deg, #13262c 0, #0d1a20 60%);
}
.appel h2 { font-size: 20px; letter-spacing: -0.6px; margin: 0 0 6px; }
.appel p { margin: 0; font-size: 13px; color: var(--muted); max-width: 52ch; }
.appel button {
  font: 13px var(--sans);
  color: #112b2c;
  background: var(--mint);
  border: 0;
  border-radius: 4px;
  padding: 14px 20px;
  min-height: 46px;
  cursor: pointer;
  white-space: nowrap;
}
.appel button:hover { background: #a3e6d7; }

.rv-fenetre {
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--carte);
  color: var(--ink);
  overflow: auto;
}
.rv-fenetre::backdrop { background: #04090bd4; }
.rv-fenetre form, .rv-merci { padding: 24px 26px 26px; }
.rv-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.rv-fenetre h2 { font-size: 21px; letter-spacing: -0.8px; margin: 0 0 4px; }
.rv-fermer {
  background: transparent; border: 0; color: var(--muted);
  font-size: 24px; line-height: 1; cursor: pointer; padding: 2px 6px;
}
.rv-fermer:hover { color: var(--ink); }
.rv-intro { font-size: 12.5px; color: var(--muted); margin: 0 0 20px; max-width: 58ch; }

/* `:not(.rv-option)` — deuxième fois que ce piège se referme dans ce fichier.
 * `.rv-fenetre label` (une classe + un élément) l'emporte sur `.rv-option`
 * (une classe) : les deux choix de support héritaient de la casse et de la
 * fonte des étiquettes, et s'affichaient en petites capitales monospacées.
 * La règle décrit les étiquettes de champ, et doit le dire dans son sélecteur. */
.rv-fenetre label:not(.rv-option), .rv-fenetre legend {
  display: block;
  font: 11px/1.5 var(--mono);
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
  padding: 0;
}
/* « obligatoire » écrit en toutes lettres plutôt qu'un astérisque : personne
 * n'a jamais cherché la légende d'un astérisque. */
.rv-fenetre i {
  font-style: normal;
  color: var(--copper);
  font-size: 9.5px;
  letter-spacing: 0.4px;
  margin-left: 6px;
}
.rv-fenetre input:not([type=radio]), .rv-fenetre textarea, .rv-fenetre select {
  width: 100%;
  background: #081116;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: 14px var(--sans);
  padding: 10px 12px;
  min-height: 44px;
  margin-bottom: 14px;
}
.rv-fenetre textarea { min-height: 0; resize: vertical; line-height: 1.6; }
.rv-fenetre input:focus, .rv-fenetre textarea:focus, .rv-fenetre select:focus { border-color: var(--mint); outline: none; }
.rv-fenetre [aria-invalid] { border-color: var(--danger); }
.rv-fenetre small { display: block; font-size: 11px; color: var(--muted); margin: -8px 0 14px; }

.rv-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.rv-champ { min-width: 0; }
/* Ces deux-là prennent toute la largeur : une adresse et un intitulé de
 * société sont plus longs qu'une demi-colonne. */
.rv-champ:has(#rv-courriel), .rv-champ:has(#rv-societe) { grid-column: 1 / -1; }

.rv-bloc {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 16px 16px 6px;
  margin: 6px 0 18px;
}
.rv-bloc[aria-invalid], .rv-calendrier[aria-invalid] { border-color: var(--danger); }
.rv-aide { font-size: 11.5px; color: var(--muted); margin: -2px 0 12px; }

/* ── Le support de la démonstration ──────────────────────────────────────── */

.rv-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.rv-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 10px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
  transition: border-color .18s, background .18s;
}
.rv-option:hover { border-color: #527072; }
.rv-option input { width: auto; min-height: 0; margin: 2px 0 0; accent-color: var(--mint); flex: none; }
.rv-option strong { display: block; font-size: 13px; font-weight: 400; color: var(--ink); }
.rv-option small { display: block; margin: 4px 0 0; font-size: 11px; line-height: 1.55; color: var(--muted); }
.rv-option:has(input:checked) { border-color: var(--mint); background: #12292c; }
.rv-suite {
  margin: 2px 0 12px;
  padding-left: 13px;
  border-left: 2px solid var(--mint);
  font: 12px/1.7 var(--sans);
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

/* ── Le calendrier ───────────────────────────────────────────────────────── */

.rv-calendrier { border: 1px solid var(--line); border-radius: 4px; padding: 12px; margin-bottom: 16px; }
.rv-cal-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rv-cal-tete strong {
  font: 13px var(--sans);
  color: var(--ink);
  text-transform: capitalize;
  letter-spacing: -0.2px;
}
.rv-cal-fleche {
  background: transparent; border: 1px solid var(--line); border-radius: 4px;
  color: var(--muted); font-size: 14px; line-height: 1;
  width: 32px; height: 32px; min-height: 0; padding: 0; cursor: pointer;
}
.rv-cal-fleche:hover:not(:disabled) { border-color: var(--mint); color: var(--mint); }
.rv-cal-fleche:disabled { opacity: .3; cursor: default; }

.rv-cal-semaine, .rv-cal-jours { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.rv-cal-semaine span {
  text-align: center;
  font: 10px var(--mono);
  color: var(--muted);
  padding-bottom: 4px;
}
.rv-jour {
  aspect-ratio: 1;
  min-height: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #081116;
  color: var(--ink);
  font: 12.5px var(--sans);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.rv-jour:hover:not(:disabled) { border-color: #527072; }
.rv-jour:disabled { background: transparent; color: #3c4d54; cursor: default; }
.rv-jour[aria-pressed="true"] { background: var(--mint); color: #112b2c; border-color: var(--mint); }
.rv-vide { aspect-ratio: 1; }

.rv-choisis { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; min-height: 30px; align-items: center; }
.rv-choisi {
  display: inline-flex; align-items: center; gap: 7px;
  background: #12292c; border: 1px solid #2f5b56; border-radius: 3px;
  color: var(--ink); font: 11.5px var(--sans);
  padding: 6px 9px; min-height: 0; cursor: pointer;
}
.rv-choisi:hover { border-color: var(--danger); color: var(--danger); }
.rv-choisi span[aria-hidden] { color: var(--muted); font-size: 13px; line-height: 1; }
.rv-choisi:hover span[aria-hidden] { color: var(--danger); }
.rv-aucun { font: 11.5px var(--sans); color: var(--muted); }
/* Lu par les lecteurs d'écran, invisible à l'œil : le « × » seul ne dit pas
 * ce qu'il fait. */
.rv-lu { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.rv-erreur { font-size: 12.5px; line-height: 1.6; color: var(--danger); margin: 0 0 14px; }
.rv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.rv-envoyer {
  font: 13px var(--sans); color: #112b2c; background: var(--mint);
  border: 0; border-radius: 4px; padding: 13px 20px; min-height: 46px; cursor: pointer;
}
.rv-envoyer:hover { background: #a3e6d7; }
.rv-envoyer:disabled { opacity: .5; cursor: default; }
.rv-actions small { margin: 0; max-width: 42ch; line-height: 1.6; }
.rv-actions small a { color: var(--mint); }
.rv-merci h2 { color: var(--mint); }
.rv-merci p { font-size: 13.5px; color: var(--muted); margin: 0 0 20px; max-width: 46ch; }

/* ── Le référentiel normatif ─────────────────────────────────────────────── */

.nm-fenetre {
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--carte);
  color: var(--ink);
  overflow: auto;
}
.nm-fenetre::backdrop { background: #04090bd4; }
.nm-tete {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 1;
  background: var(--carte);
}
.nm-tete h2 { font-size: 21px; letter-spacing: -0.8px; margin: 0 0 6px; }
.nm-tete p { margin: 0; font-size: 12.5px; color: var(--muted); max-width: 62ch; }
.nm-fermer {
  background: transparent; border: 0; color: var(--muted);
  font-size: 24px; line-height: 1; cursor: pointer; padding: 2px 6px; flex: none;
}
.nm-fermer:hover { color: var(--ink); }

.nm-corps {
  padding: 22px 26px 4px;
  columns: 2;
  column-gap: 34px;
}
.nm-famille { break-inside: avoid; margin: 0 0 24px; }
.nm-famille h3 {
  font: 11px/1.5 var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}
.nm-famille dl { margin: 0; }
.nm-famille dl > div { margin-bottom: 13px; }
.nm-famille dt {
  font: 13px var(--sans);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.nm-famille dt span {
  display: inline-block;
  margin-left: 8px;
  font: 10px var(--mono);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--copper);
}
.nm-famille dd { margin: 3px 0 0; font-size: 12px; line-height: 1.65; color: var(--muted); }

.nm-pied {
  margin: 0;
  padding: 16px 26px 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

/* Sous les quatre temps, au centre : la question « sur quoi vous appuyez-vous »
 * vient juste après « il dimensionne », pas au moment de découvrir le produit.
 * La phrase porte le bouton ; un bouton seul dans une rangée d'actions ne
 * disait pas ce qu'il y avait derrière. */
.bandeau-normes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: clamp(34px, 5vh, 54px) auto 0;
  padding: clamp(24px, 4vh, 36px) 24px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.bandeau-normes p {
  margin: 0;
  max-width: 58ch;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}
.bandeau-normes strong { color: var(--ink); font-weight: 400; }

/* L'appel discret qui ouvre la fenêtre. */
.lien-normes {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font: 12px var(--sans);
  padding: 10px 14px;
  min-height: 42px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lien-normes::before { content: "§"; color: var(--mint); font-size: 14px; }
.lien-normes:hover { border-color: var(--mint); color: var(--ink); }

/* La même mention, dans la scène, à l'étape où l'on construit les pieux.
 * Discrète : on est au milieu d'un schéma, pas dans un argumentaire. */
#fondaxiom-solutions .fa-norme {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font: 11px/1.65 Arial, sans-serif;
  color: var(--muted);
}
#fondaxiom-solutions .fa-norme-lien {
  display: inline;
  min-height: 0;
  padding: 0 0 1px;
  margin-left: 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #4a3c2b;
  color: var(--copper);
  font: 11px Arial, sans-serif;
  cursor: pointer;
}
#fondaxiom-solutions .fa-norme-lien:hover { color: var(--ink); border-bottom-color: var(--copper); }

/* ── Sur un téléphone, ce n'est pas la même page en plus étroit ─────────────
 *
 * Trois choses ne se transposent pas en réduisant :
 *   · l'interlettrage serré du grand titre. À 38 px il resserre déjà les mots ;
 *     à −2,4 px il les colle. Il se relâche à mesure que le titre rétrécit.
 *   · la grille des quatre temps. Empilée, une suite de filets horizontaux se
 *     lit comme un tableau. En colonne, chaque temps devient un bloc avec son
 *     numéro en tête — la même information, une lecture verticale.
 *   · la lueur de fond, calée à 76 % de la largeur pour un écran large : sur
 *     375 px elle sort du cadre et ne laisse qu'un coin plus clair.
 */
@media (max-width: 760px) {
  .barre { padding: 15px 20px; }
  .barre-liens { gap: 12px; }
  .enveloppe { padding: 0 20px; }

  .accueil {
    padding-block: 34px 44px;
    background: radial-gradient(ellipse 120% 52% at 50% 18%, #22333a 0, transparent 70%);
  }
  h1 { letter-spacing: -1.1px; line-height: 1.06; }
  p.chapeau { font-size: 14.5px; margin-top: 20px; }
  .surtitre { margin-bottom: 18px; font-size: 10.5px; }

  .actions-accueil { margin-top: 26px; gap: 10px; }
  .tm-marque { letter-spacing: -1.4px; }
  .entree {
    display: flex;
    width: 100%;
    padding: 17px 18px;
    align-items: flex-start;
  }
  .entree .fleche { margin-top: 1px; }
  .entree:hover { transform: none; }

  .temps {
    grid-template-columns: 1fr;
    margin-top: 40px;
    border-top: 0;
  }
  .temps > div {
    padding: 0 0 0 16px;
    margin-bottom: 26px;
    border-left: 2px solid var(--line);
  }
  .temps > div:first-child { padding-left: 16px; border-left: 2px solid var(--line); }
  .temps > div:last-child { margin-bottom: 0; }
  .temps dt { margin-bottom: 6px; }
  .temps dd b { font-size: 15px; margin-bottom: 5px; }
  .temps dd { font-size: 13px; }

  .panneau {
    position: static;
    width: auto;
    margin: 18px 20px 0;
    box-shadow: none;
  }

  .avertissement { padding: 20px; margin-block: 40px; }
  .appel { flex-direction: column; align-items: stretch; padding: 20px; }
  .bandeau-normes { padding-inline: 0; }
  .bandeau-normes .lien-normes { width: 100%; justify-content: center; }
  .appel button { width: 100%; }
  .rv-fenetre { width: 100vw; max-width: none; max-height: 100vh; border-radius: 0; border: 0; }
  .rv-fenetre form, .rv-merci { padding: 20px; }
  .rv-grille { grid-template-columns: 1fr; }
  .rv-choix { grid-template-columns: 1fr; gap: 0; }
  .rv-calendrier { padding: 10px; }
  .rv-jour { font-size: 13px; }
  .nm-fenetre { width: 100vw; max-width: none; max-height: 100vh; border-radius: 0; border: 0; }
  .nm-corps { columns: 1; padding-inline: 20px; }
  .nm-tete, .nm-pied { padding-inline: 20px; }
  .apres-scene { font-size: 12.5px; }
  .pied {
    padding: 18px 20px 34px;
    flex-direction: column;
    gap: 8px;
    line-height: 1.9;
  }
}

/* Sous 560 px, la barre ne tient plus : la marque, deux liens et un bouton
 * débordent, et c'est le bouton — la seule action — qui sortait de l'écran.
 * Les liens de navigation s'effacent ; ils restent dans le pied de page, qui
 * les porte sur toutes les pages. */
/* Sous 560 px, la barre ne tient plus. Les liens de navigation s'effacent —
 * ils restent dans le pied de page et dans les mentions. Les BOUTONS, eux, ne
 * s'effacent pas : sur la page du parcours ils sont les deux seules actions
 * possibles, et rien ne vit sous la scène pour les rattraper. La barre passe
 * donc à la ligne quand ils ne tiennent plus — ce que `flex-wrap` fait tout
 * seul, au moment où c'est nécessaire et pas avant. */
@media (max-width: 560px) {
  .barre { flex-wrap: wrap; row-gap: 10px; }
  .barre-liens { margin-left: auto; }
  .barre-liens a:not(.bouton-lien) { display: none; }
  .marque .nom { font-size: 17px; }
  .bouton-lien, .barre > button { padding: 9px 13px; font-size: 12px; }
}

/* Une préférence système, pas une option : tout ce qui bouge s'arrête, et la
 * page reste entière. La barre de progression du réveil garde sa largeur —
 * c'est une information, pas une décoration. */
@media (prefers-reduced-motion: reduce) {
  .trame { animation: none; }
  /* `both` laisserait les éléments à leur état de DÉPART — invisibles. Il faut
   * donc annuler l'animation ET rétablir l'état final, pas seulement la couper. */
  .titre-marque .tm-marque,
  .titre-marque .tm-promesse,
  .accueil .chapeau,
  .actions-accueil,
  .accueil .temps { animation: none; opacity: 1; transform: none; }
  .pastille.travaille { animation: none; }
  .entree, .entree .fleche { transition: none; }
  .barre-progression i { transition: none; }
}

/* ── La page d'accueil prend la largeur de l'écran ──────────────────────────
 *
 * À 1120 px, le contenu laissait un grand vide à gauche et en haut sur un
 * écran large. La page d'accueil s'ouvre à 1440 px, remonte, et sa coupe
 * passe à droite, à hauteur du texte. Les autres pages gardent leur colonne. */
.page-accueil .enveloppe { max-width: 1440px; padding: 0 clamp(30px, 4vw, 64px); }
.page-accueil .accueil { padding-top: clamp(14px, 3vh, 36px); }
.page-accueil .pied {
  max-width: none;
  margin-inline: max(clamp(30px, 4vw, 64px), calc((100% - 1312px) / 2));
}
.page-accueil .trame { opacity: .2; mask-image: radial-gradient(ellipse 90% 80% at 55% 40%, #000 30%, transparent 85%); }

/* ── La coupe animée ──────────────────────────────────────────────────────
 *
 * Un appui après l'autre (A01, A02, A03 du dossier de démonstration) : le
 * pieu descend jusqu'aux marnes, la fiche affiche ses efforts et ses
 * vérifications, puis le pieu est rangé sur l'étagère des pieux calculés.
 * La chronologie vit dans coupe.js ; ici, seulement les états et leurs
 * transitions. Masquée sous 1320 px : elle mordrait sur l'entrée du parcours. */
.accueil .enveloppe { position: relative; }
.coupe-cadre {
  position: absolute;
  top: clamp(120px, 15vh, 160px);
  right: clamp(0px, 1vw, 16px);
  width: min(720px, 47%);
  margin: 0;
  pointer-events: none;
  animation: se-poser 1s cubic-bezier(.22,.68,.23,1) .5s both;
}
.coupe { display: block; width: 100%; height: auto; overflow: visible; }
.coupe-cadre figcaption {
  margin-top: 4px;
  font: 10px/1.4 var(--mono);
  letter-spacing: .5px;
  color: #6f8487;
  text-align: right;
}
@media (max-width: 1319px) { .coupe-cadre { display: none; } }

.coupe text { font: 11px var(--mono); fill: var(--muted); letter-spacing: .2px; }
.coupe .coupe-nom { fill: #b9c6c3; opacity: .7; }

.coupe-couche path { animation: coupe-onde 36s linear infinite; }
.coupe-couche.c0 path { animation: none; }
.coupe-couche.c2 path { animation-duration: 48s; animation-direction: reverse; }
.coupe-couche.c3 path { animation-duration: 58s; }
.coupe-couche.c4 path { animation-duration: 70s; animation-direction: reverse; }
@keyframes coupe-onde { from { transform: translateX(0); } to { transform: translateX(-120px); } }

.coupe-nappe line { stroke: #6fb3d6; stroke-width: 1; stroke-dasharray: 5 4; animation: coupe-nappe 3s linear infinite; }
.coupe-nappe path { fill: #6fb3d6; }
.coupe .coupe-nappe text { fill: #6fb3d6; font-size: 9.5px; }
@keyframes coupe-nappe { to { stroke-dashoffset: -18; } }

.coupe-ouvrage rect { fill: #24363b; stroke: #4d6669; stroke-width: 1; }
.coupe-ouvrage .coupe-tn { stroke: #c9b79a; stroke-width: 1.2; }
.coupe-charge line { stroke: var(--copper); stroke-width: 1.6; }
.coupe-charge path { fill: var(--copper); }
.coupe .coupe-charge text { fill: var(--copper); }
.coupe-charge { animation: coupe-appui 2.8s ease-in-out infinite; }
@keyframes coupe-appui { 0%,100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* Le pieu en cours */
.pi-fut { fill: #aeb8b4; fill-opacity: .9; }
.pi-acier { stroke: #2e5149; stroke-width: 1; fill: none; }
.coupe-pieu { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); }
.coupe-pieu.descend { transform: scaleY(1); transition: transform 1.5s cubic-bezier(.45,.05,.3,1), opacity .5s; }
.coupe.range .coupe-pieu { opacity: 0; }

.coupe-pointe { fill: var(--mint); opacity: 0; }
.coupe-pointe.vu { animation: coupe-pointe 1.2s ease-out both; }
@keyframes coupe-pointe { 0% { opacity: 1; r: 3; } 60% { opacity: .25; r: 10; } 100% { opacity: 0; r: 3; } }
.coupe-cote line { stroke: var(--mint); stroke-width: 1; }

/* La fiche : chaque ligne entre à son tour */
.coupe-cote, .fi-titre, .fi-geo, .fi-effort, .fi-verif {
  opacity: 0;
  transition: opacity .35s ease;
}
.coupe-cote.vu, .fi-titre.vu, .fi-geo.vu, .fi-effort.vu, .fi-verif.vu { opacity: 1; }
.coupe .fi-titre { font: 13px var(--sans); fill: var(--ink); }
.coupe .fi-geo { fill: var(--muted); }
.coupe .fi-effort { fill: #c3cfcc; }
.coupe .fi-verif { fill: var(--mint); }
.coupe .fi-valeur { fill: var(--ink); }

/* L'étagère des pieux calculés */
.et-separe { stroke: var(--line); stroke-dasharray: 3 4; }
.coupe .et-titre { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; fill: var(--copper); }
.coupe .et-etat { font-size: 10.5px; fill: var(--mint); }
.et-planche { stroke: #4d6669; stroke-width: 1.5; }
.et-pieu { transition: opacity .5s, transform .6s cubic-bezier(.22,.68,.23,1); }
.et-pieu .pi-fut { fill: #aeb8b4; fill-opacity: .9; stroke: #0b151b; stroke-width: 1; transition: fill .5s; }
/* Les variantes précédentes restent visibles, en retrait derrière la dernière. */
.et-pieu[data-rang="1"] { opacity: .55; }
.et-pieu[data-rang="2"] { opacity: .3; }
/* Au bout des trois passes : la variante retenue de chaque appui s'allume. */
[data-c="rangee"] { transition: opacity .6s; }
[data-c="rangee"].choix .et-pieu { opacity: .22; }
[data-c="rangee"].choix .et-pieu.retenue { opacity: 1; }
[data-c="rangee"].choix .et-pieu.retenue .pi-fut { fill: var(--mint); }
[data-c="rangee"].part { opacity: 0; }
.coupe .et-id { fill: var(--ink); font-size: 10.5px; }
.coupe .et-geo { font-size: 9.5px; }

@media (prefers-reduced-motion: reduce) {
  .coupe-cadre, .coupe-couche path, .coupe-nappe line, .coupe-charge { animation: none; opacity: 1; transform: none; }
  .coupe-pieu.descend, .coupe-cote, .fi-titre, .fi-geo, .fi-effort, .fi-verif { transition: none; }
}

/* ── Finitions de l'accueil ─────────────────────────────────────────────── */

/* Les quatre temps répondent au survol : une carte qui ne bouge pas se lit
 * comme un paragraphe, pas comme une étape. */
.temps > div { transition: background .25s; }
.temps dt, .temps dd b { transition: color .25s; }
@media (hover: hover) and (min-width: 761px) {
  .temps > div:hover { background: linear-gradient(180deg, #13262c88, transparent); }
  .temps > div:hover dd b { color: var(--mint); }
}

/* L'avertissement reste entier (il est verrouillé par test_portier.py), mais
 * il ne pèse plus comme un bloc d'alerte au milieu de la page : un encadré
 * fin, un corps plus petit, et moins de vide autour. */
.accueil ~ .enveloppe .avertissement {
  margin: clamp(28px, 4vh, 44px) 0 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--copper);
  background: #0e1b20;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.accueil ~ .enveloppe .avertissement h2 { font-size: 15px; margin-bottom: 10px; }
.accueil ~ .enveloppe .avertissement li { margin-bottom: 6px; }

/* Le bas de page s'aligne sur le texte, pas sur ses marges. */
.pied { max-width: 1060px; margin-inline: auto; padding-inline: 0; }
@media (max-width: 1120px) { .pied { margin-inline: 30px; } }
@media (max-width: 760px)  { .pied { margin-inline: 20px; padding-inline: 0; } }

.appel button { transition: background .2s, transform .2s; }
.appel button:hover { transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
  .appel button:hover { transform: none; }
}

/* ── Avant / après ───────────────────────────────────────────────────────── */

.flux {
  display: grid;
  grid-template-columns: 1fr minmax(120px, 200px) 1fr;
  align-items: center;
  gap: 0 8px;
  margin-top: clamp(36px, 6vh, 64px);
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(115deg, #0f1e24 0, #0b151b 70%);
}
.flux-titre {
  margin: 0 0 12px;
  font: 11px/1.5 var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--copper);
}
.flux-col:last-child .flux-titre { color: var(--mint); }
.flux-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flux-liste a { display: flex; align-items: center; gap: 12px; }
.flux-liste li { display: flex; align-items: center; gap: 12px; }
.flux-liste a {
  flex: 1;
  margin: -6px -10px;
  padding: 6px 10px;
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
  transition: background .2s;
}
.flux-liste a:hover { background: #16323a; }
.flux-liste a:hover b { color: var(--mint); }
.flux-liste b { display: block; font-weight: 400; font-size: 14px; color: var(--ink); transition: color .2s; }
.flux-liste small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.flux-doc {
  flex: none;
  width: 44px; height: 30px;
  display: grid !important; place-items: center;
  font: 10px var(--mono);
  letter-spacing: .5px;
  color: var(--copper);
  border: 1px solid #4a3c2b;
  border-radius: 3px;
  background: #15140f;
}
.flux-doc.sortie { color: var(--mint); border-color: #2f5550; background: #0f2226; }
.flux-telecharger { margin-left: auto; color: var(--mint); font-size: 15px; opacity: .55; transition: opacity .2s, transform .2s; }
.flux-liste a:hover .flux-telecharger { opacity: 1; transform: translateY(2px); }
.flux-reserve { margin: 14px 0 0; font: 10.5px/1.5 var(--mono); color: #c39d76; letter-spacing: .3px; }

/* Le moteur : trois entrées convergent, deux sorties repartent. Les tirets
 * coulent de gauche à droite — le sens de lecture, et celui du travail. */
.flux-moteur { position: relative; height: 180px; }
.flux-traits { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flux-traits path {
  fill: none;
  stroke: var(--copper);
  stroke-opacity: .55;
  stroke-width: 1.2;
  stroke-dasharray: 4 6;
  vector-effect: non-scaling-stroke;
  animation: flux-coule 1.6s linear infinite;
}
.flux-traits path.sortie { stroke: var(--mint); stroke-opacity: .7; }
@keyframes flux-coule { to { stroke-dashoffset: -20; } }
.flux-noyau {
  position: absolute; left: 50%; top: 50%;
  width: 58px; height: 58px;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border-radius: 12px;
  background: #f3f0e7;
  box-shadow: 0 0 0 1px #8bd9c855, 0 0 0 0 #8bd9c844;
  animation: flux-pouls 2.8s ease-out infinite;
}
.flux-noyau img { width: 40px; height: 40px; }
@keyframes flux-pouls {
  0%   { box-shadow: 0 0 0 1px #8bd9c855, 0 0 0 0 #8bd9c855; }
  70%  { box-shadow: 0 0 0 1px #8bd9c855, 0 0 0 16px #8bd9c800; }
  100% { box-shadow: 0 0 0 1px #8bd9c855, 0 0 0 0 #8bd9c800; }
}

@media (max-width: 760px) {
  .flux { grid-template-columns: 1fr; padding: 20px; gap: 0; }
  .flux-moteur { height: 90px; }
  .flux-traits { display: none; }
  .flux-moteur::before {
    content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
    border-left: 1px dashed #8bd9c877;
  }
  .flux-noyau { width: 48px; height: 48px; }
  .flux-noyau img { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .flux-traits path, .flux-noyau { animation: none; }
}

/* ── Les pages s'enchaînent ──────────────────────────────────────────────────
 *
 * Accueil → parcours → mentions. La barre du haut ne bouge pas (elle porte son
 * propre nom de transition) ; le reste de la page glisse vers le haut en
 * s'effaçant, et la suivante monte à sa place. Nativement dans les
 * navigateurs récents (`@view-transition`) ; ailleurs, transition.js ajoute
 * `page-sortie` avant de suivre le lien, et la page d'arrivée joue
 * `page-entree`. */
@view-transition { navigation: auto; }
.barre { view-transition-name: barre; }
::view-transition-old(root) { animation: page-sortie .32s cubic-bezier(.4,0,1,1) both; }
::view-transition-new(root) { animation: page-entree .55s cubic-bezier(.22,.68,.23,1) .06s both; }
::view-transition-group(barre) { animation-duration: .4s; }
@keyframes page-sortie { to { opacity: 0; transform: translateY(-18px) scale(.99); } }
@keyframes page-entree { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@supports not (view-transition-name: none) {
  main { animation: page-entree .55s cubic-bezier(.22,.68,.23,1) both; }
}
html.page-sortie main { opacity: 0; transform: translateY(-18px); transition: opacity .25s ease, transform .25s ease; }

/* ── Les fenêtres s'ouvrent, elles n'apparaissent pas ────────────────────────
 *
 * « Demander une démonstration » et le référentiel normatif : la fenêtre monte
 * en se dépliant depuis le centre, le fond s'assombrit et se floute, et son
 * contenu arrive ligne après ligne. À la fermeture, le mouvement inverse
 * (`allow-discrete` : la fenêtre reste affichée le temps de s'effacer). */
.rv-fenetre, .nm-fenetre {
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .28s ease, transform .4s cubic-bezier(.22,.68,.23,1),
              overlay .4s allow-discrete, display .4s allow-discrete;
}
.rv-fenetre[open], .nm-fenetre[open] { opacity: 1; transform: none; }
@starting-style {
  .rv-fenetre[open], .nm-fenetre[open] { opacity: 0; transform: translateY(18px) scale(.96); }
}
.rv-fenetre::backdrop, .nm-fenetre::backdrop {
  opacity: 0;
  backdrop-filter: blur(0);
  transition: opacity .3s ease, backdrop-filter .3s ease, overlay .4s allow-discrete, display .4s allow-discrete;
}
.rv-fenetre[open]::backdrop, .nm-fenetre[open]::backdrop { opacity: 1; backdrop-filter: blur(3px); }
@starting-style {
  .rv-fenetre[open]::backdrop, .nm-fenetre[open]::backdrop { opacity: 0; backdrop-filter: blur(0); }
}
@keyframes monte { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rv-fenetre[open] form > *, .nm-fenetre[open] .nm-corps > * { animation: monte .45s cubic-bezier(.22,.68,.23,1) both; }
.rv-fenetre[open] form > :nth-child(2), .nm-fenetre[open] .nm-corps > :nth-child(2) { animation-delay: .05s; }
.rv-fenetre[open] form > :nth-child(3), .nm-fenetre[open] .nm-corps > :nth-child(3) { animation-delay: .1s; }
.rv-fenetre[open] form > :nth-child(4), .nm-fenetre[open] .nm-corps > :nth-child(4) { animation-delay: .15s; }
.rv-fenetre[open] form > :nth-child(5), .nm-fenetre[open] .nm-corps > :nth-child(5) { animation-delay: .2s; }
.rv-fenetre[open] form > :nth-child(n+6), .nm-fenetre[open] .nm-corps > :nth-child(n+6) { animation-delay: .25s; }

/* ── Ce qui se déplie glisse ─────────────────────────────────────────────────
 *
 * Le panneau « Illustration », les détails (« Plusieurs pièces… ») et les
 * panneaux propres à chaque étape du parcours (lecture IA, combinaisons,
 * pieux…) : une animation CSS rejoue chaque fois qu'un élément passe de masqué
 * à affiché, sans script. */
.panneau-illustration:not([hidden]),
#fondaxiom-solutions .fa-context > :not([hidden]):not(details),
details[open] > :not(summary) {
  animation: monte .45s cubic-bezier(.22,.68,.23,1) both;
}
details > summary { transition: color .2s; }
details > summary:hover { color: var(--mint); }

/* ── Les boutons répondent ───────────────────────────────────────────────── */
.bouton-lien, .appel button, .lien-normes, .entree, .rv-fenetre button,
#fondaxiom-solutions button, .ruban-illustration {
  transition: background .2s, border-color .2s, color .2s, transform .15s ease, box-shadow .2s;
}
.bouton-lien:hover, .lien-normes:hover { transform: translateY(-1px); box-shadow: 0 6px 18px #00000040; }
.bouton-lien:active, .appel button:active, .lien-normes:active, .entree:active,
.rv-fenetre button:active, #fondaxiom-solutions .fa-chapters button:active,
/* `scale`, pas `transform` : la flèche est centrée par translateY(-50%). Un
 * transform ici la faisait sauter de 24 px à l'appui — le relâché tombait
 * hors du bouton et le clic était perdu. */
#fondaxiom-solutions .fa-arrow:active { scale: .96; }
.ruban-illustration:active { transform: scale(.96); }
#fondaxiom-solutions .fa-arrow:hover { box-shadow: 0 0 0 6px #8bd9c814; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(barre) { animation: none; }
  main { animation: none !important; }
  html.page-sortie main { transition: none; }
  .rv-fenetre, .nm-fenetre, .rv-fenetre::backdrop, .nm-fenetre::backdrop { transition: none; transform: none; }
  .rv-fenetre[open] form > *, .nm-fenetre[open] .nm-corps > *,
  .panneau-illustration:not([hidden]), #fondaxiom-solutions .fa-context > :not([hidden]):not(details),
  details[open] > :not(summary) { animation: none; }
  .bouton-lien:hover, .lien-normes:hover { transform: none; }
}

/* ── La barre, la même partout ───────────────────────────────────────────────
 *
 * Toutes les pages portent les mêmes entrées : le parcours, les limites
 * d'emploi, la démonstration, la connexion. La page où l'on est s'allume
 * (`aria-current`). Sur téléphone, « Démo » et « Se connecter » restent, les
 * liens passent dans le menu ☰ (barre.js). */
.libelle-court { display: none; }
.barre-liens a[aria-current="page"] { color: var(--mint); }
.barre-menu, .barre-panneau { display: none; }
@media (max-width: 760px) {
  .libelle-long { display: none; }
  .libelle-court { display: inline; }
  .barre { padding: 12px 16px; flex-wrap: nowrap; }
  .barre .societe { display: none; }
  .barre .marque img { width: 28px; height: 28px; }
  .barre-liens { gap: 8px; margin-left: auto; }
  .barre-liens a:not(.bouton-lien) { display: none; }
  .barre-menu {
    display: grid; align-content: center; gap: 4px;
    width: 40px; height: 38px; padding: 0 10px;
    border: 1px solid var(--line); border-radius: 4px;
    background: transparent; cursor: pointer;
    transition: border-color .2s, transform .15s;
  }
  .barre-menu i { display: block; height: 1.5px; background: var(--ink); border-radius: 1px; transition: transform .25s, opacity .2s; }
  .barre-menu[aria-expanded="true"] { border-color: var(--mint); }
  .barre-menu[aria-expanded="true"] i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .barre-menu[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .barre-menu[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .barre-menu:active { transform: scale(.94); }
  .barre-panneau:not([hidden]) {
    display: flex; flex-direction: column;
    position: absolute; top: calc(100% + 6px); right: 12px; z-index: 60;
    min-width: 230px; padding: 6px;
    border: 1px solid var(--line); border-radius: 10px;
    background: #0d1a20f5;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px #0008;
    animation: monte .3s cubic-bezier(.22,.68,.23,1) both;
  }
  .barre-panneau a, .barre-panneau button {
    display: block; padding: 13px 14px; border-radius: 6px;
    font: 14px var(--sans); color: var(--ink); text-align: left; text-decoration: none;
    background: transparent; border: 0; cursor: pointer;
  }
  .barre-panneau a[aria-current="page"] { color: var(--mint); }
}
/* Sous 430 px, la marque se réduit à son logo : le nom ne laisse plus la
 * place aux deux boutons et au menu sur une même ligne. */
@media (max-width: 430px) {
  .barre .marque .nom { display: none; }
  .bouton-lien, .barre > button { padding: 9px 12px; font-size: 12px; }
  .barre-panneau a:active, .barre-panneau button:active { background: #16323a; }
}

/* ── Lot L1 : pour qui, et la réassurance ────────────────────────────────────
 *
 * Deux publics à égalité, côte à côte sous l'accroche. La bande reste dans la
 * colonne du texte (640 px) : à droite, la coupe animée garde sa place. */
.publics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 640px;
  margin-top: 26px;
  animation: se-poser .7s cubic-bezier(.22,.68,.23,1) .62s both;
}
.publics > div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0e1b20cc;
  transition: border-color .25s, transform .25s;
}
.publics > div:hover { border-color: #4d6669; transform: translateY(-2px); }
.publics p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.publics .publics-qui { font: 10.5px/1.5 var(--mono); letter-spacing: 1px; text-transform: uppercase; color: var(--copper); margin-bottom: 4px; }
.publics .publics-quoi { font-size: 14.5px; color: var(--ink); margin-bottom: 4px; }

.reassurance {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--mint);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 80ch;
}

.accessible {
  max-width: 640px;
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
  animation: se-poser .7s cubic-bezier(.22,.68,.23,1) .7s both;
}
.accessible strong { color: var(--ink); font-weight: 400; }

@media (max-width: 760px) {
  .publics { grid-template-columns: 1fr; margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .publics, .accessible { animation: none; }
  .publics > div:hover { transform: none; }
}

/* ── Le mini-chat de l'étape 02 (minichat.js) ────────────────────────────────
 *
 * Une demande, une proposition, « Appliquer », le projet se met à jour, un
 * avertissement — puis une pastille. Les états se suivent par `data-etat`
 * (demande → pense → carte → vise → clic → applique → alerte → fini). */
#fondaxiom-solutions .mc { position: absolute; top: 22px; right: 74px; z-index: 30; width: 300px; pointer-events: none;
      opacity: 0; transform: translateY(-8px); transition: opacity .45s ease, transform .45s cubic-bezier(.22,.68,.23,1); }
#fondaxiom-solutions .mc.mc-visible { opacity: 1; transform: none; }
#fondaxiom-solutions .mc.mc-visible .mc-fenetre, #fondaxiom-solutions .mc.mc-visible .mc-pastille { pointer-events: auto; }
#fondaxiom-solutions .mc-fenetre {
  position: relative; overflow: hidden;
  border: 1px solid #2f4a4f; border-radius: 14px;
  background: linear-gradient(180deg, #102127f2, #0b171cf5);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px #0009, inset 0 1px 0 #ffffff0d;
  transform-origin: 90% 0;
  transition: opacity .45s ease, transform .5s cubic-bezier(.22,.68,.23,1), max-height .5s ease;
  max-height: none;
}
#fondaxiom-solutions .mc-tete { display: flex; align-items: center; gap: 8px; padding: 10px 12px 9px 14px; border-bottom: 1px solid #1f3439;
           font: 12px var(--sans); color: var(--ink); }
#fondaxiom-solutions .mc-tete em { font: 9px var(--mono); font-style: normal; letter-spacing: .8px; text-transform: uppercase; color: #c39d76;
              border: 1px solid #4a3c2b; border-radius: 3px; padding: 2px 5px; margin-left: 2px; }
#fondaxiom-solutions .mc-point { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 #8bd9c866; animation: mc-pouls 2s infinite; }
@keyframes mc-pouls { 70% { box-shadow: 0 0 0 7px #8bd9c800; } 100% { box-shadow: 0 0 0 0 #8bd9c800; } }
#fondaxiom-solutions .mc-fermer { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 17px; line-height: 1; cursor: pointer; padding: 0 2px; min-height: 0; }
#fondaxiom-solutions .mc-fil { display: flex; flex-direction: column; gap: 9px; padding: 12px; }

#fondaxiom-solutions .mc-bulle { margin: 0; font: 12.5px/1.5 var(--sans); max-width: 92%; }
#fondaxiom-solutions .mc-moi { align-self: flex-end; padding: 9px 12px; border-radius: 12px 12px 3px 12px; background: #1f3d44; color: var(--ink); }
#fondaxiom-solutions .mc-moi span::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--mint);
                      animation: mc-caret .8s steps(1) infinite; }
#fondaxiom-solutions .mc[data-etat]:not([data-etat="demande"]) .mc-moi span::after { display: none; }
@keyframes mc-caret { 50% { opacity: 0; } }
#fondaxiom-solutions .mc-pense { display: none; align-self: flex-start; gap: 4px; padding: 10px 12px; border-radius: 12px 12px 12px 3px; background: #15282e; }
#fondaxiom-solutions .mc-pense i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); animation: mc-saut 1s infinite; }
#fondaxiom-solutions .mc-pense i:nth-child(2) { animation-delay: .15s; } .mc-pense i:nth-child(3) { animation-delay: .3s; }
@keyframes mc-saut { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { transform: none; opacity: .4; } }
#fondaxiom-solutions .mc[data-etat="pense"] .mc-pense { display: inline-flex; }

/* La carte de proposition */
#fondaxiom-solutions .mc-carte { display: none; border: 1px solid #2f5550; border-radius: 10px; background: #0f2226; overflow: hidden; }
#fondaxiom-solutions .mc[data-etat="carte"] .mc-carte, #fondaxiom-solutions .mc[data-etat="vise"] .mc-carte, #fondaxiom-solutions .mc[data-etat="clic"] .mc-carte,
#fondaxiom-solutions .mc[data-etat="applique"] .mc-carte, #fondaxiom-solutions .mc[data-etat="alerte"] .mc-carte, #fondaxiom-solutions .mc[data-etat="fini"] .mc-carte {
  display: block; animation: mc-carte .55s cubic-bezier(.22,.68,.23,1) both; }
@keyframes mc-carte { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
#fondaxiom-solutions .mc-carte-tete { display: flex; justify-content: space-between; padding: 8px 11px; background: #13302f;
                 font: 10px var(--mono); letter-spacing: .6px; text-transform: uppercase; color: var(--mint); }
#fondaxiom-solutions .mc-carte-tete span:last-child { color: var(--muted); text-transform: none; letter-spacing: 0; }
#fondaxiom-solutions .mc-carte ul { list-style: none; margin: 0; padding: 8px 11px 4px; display: grid; gap: 7px; }
#fondaxiom-solutions .mc-carte li { display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 9px; font: 12px/1.35 var(--sans); color: #c3cfcc; }
#fondaxiom-solutions .mc-carte li strong { color: var(--ink); font-weight: 400; }
#fondaxiom-solutions .mc-ico { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: #1c3a3a; color: var(--mint);
          font: 600 12px var(--mono); }
#fondaxiom-solutions .mc-ico-attention { background: #3a2c1c; color: #e0b98d; }
#fondaxiom-solutions .mc[data-etat="carte"] .mc-carte li { animation: mc-ligne .45s ease both; }
#fondaxiom-solutions .mc[data-etat="carte"] .mc-carte li:nth-child(2) { animation-delay: .15s; }
#fondaxiom-solutions .mc[data-etat="carte"] .mc-carte li:nth-child(3) { animation-delay: .3s; }
@keyframes mc-ligne { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
#fondaxiom-solutions .mc-actions { display: flex; gap: 7px; padding: 9px 11px 4px; }
#fondaxiom-solutions .mc-actions button { flex: 1; min-height: 32px; padding: 6px 8px; border-radius: 6px; font: 11.5px var(--sans); white-space: nowrap; cursor: default; }
#fondaxiom-solutions .mc-actions .mc-voir { flex: 1.25; }
#fondaxiom-solutions .mc-voir { background: transparent; border: 1px solid #355a5c; color: var(--muted); }
#fondaxiom-solutions .mc-appliquer { position: relative; overflow: hidden; border: 0; background: var(--mint); color: #112b2c; transition: background .3s, transform .15s; }
#fondaxiom-solutions .mc[data-etat="clic"] .mc-appliquer { transform: scale(.94); background: #a3e6d7; }
#fondaxiom-solutions .mc[data-etat="clic"] .mc-appliquer::after { content: ""; position: absolute; left: 55%; top: 45%; width: 8px; height: 8px; border-radius: 50%;
  background: #ffffffaa; transform: translate(-50%, -50%); animation: mc-onde .6s ease-out forwards; }
@keyframes mc-onde { to { width: 180px; height: 180px; opacity: 0; } }
#fondaxiom-solutions .mc[data-etat="applique"] .mc-appliquer, #fondaxiom-solutions .mc[data-etat="alerte"] .mc-appliquer, #fondaxiom-solutions .mc[data-etat="fini"] .mc-appliquer { background: #2f8f7c; color: #eafff9; }
#fondaxiom-solutions .mc[data-etat="applique"] .mc-appliquer span, #fondaxiom-solutions .mc[data-etat="alerte"] .mc-appliquer span, #fondaxiom-solutions .mc[data-etat="fini"] .mc-appliquer span { font-size: 0; }
#fondaxiom-solutions .mc[data-etat="applique"] .mc-appliquer span::after, #fondaxiom-solutions .mc[data-etat="alerte"] .mc-appliquer span::after, #fondaxiom-solutions .mc[data-etat="fini"] .mc-appliquer span::after {
  content: "✓ Appliqué"; font-size: 12px; }
#fondaxiom-solutions .mc[data-etat="applique"] .mc-voir, #fondaxiom-solutions .mc[data-etat="alerte"] .mc-voir { opacity: .35; }
#fondaxiom-solutions .mc-note { margin: 0; padding: 5px 11px 9px; font: 10.5px/1.4 var(--sans); color: #7d9195; }

/* L'avertissement */
#fondaxiom-solutions .mc-alerte { display: none; margin: 0; padding: 9px 11px; border-radius: 8px; border: 1px solid #5a4630; background: #2a2116;
             font: 11.5px/1.45 var(--sans); color: #e9c9a3; }
#fondaxiom-solutions .mc-alerte b { margin-right: 7px; color: #e0b98d; font-weight: 400; }
#fondaxiom-solutions .mc[data-etat="alerte"] .mc-alerte, #fondaxiom-solutions .mc[data-etat="fini"] .mc-alerte { display: block; animation: mc-carte .5s cubic-bezier(.22,.68,.23,1) both; }

/* Le curseur (ordinateur seulement) */
#fondaxiom-solutions .mc-curseur { position: absolute; left: 0; top: 0; width: 20px; height: 20px; fill: #f3f0e7; stroke: #0b151b; stroke-width: 1.4;
              filter: drop-shadow(0 3px 5px #0008); opacity: 0;
              transform: translate(calc(var(--x, 240px) + 60px), calc(var(--y, 380px) + 70px));
              transition: transform 1s cubic-bezier(.45,.05,.25,1), opacity .3s; pointer-events: none; }
#fondaxiom-solutions .mc[data-etat="vise"] .mc-curseur, #fondaxiom-solutions .mc[data-etat="clic"] .mc-curseur { opacity: 1; transform: translate(var(--x), var(--y)); }
#fondaxiom-solutions .mc[data-etat="clic"] .mc-curseur { transform: translate(var(--x), var(--y)) scale(.85); transition-duration: .15s; }
#fondaxiom-solutions .mc[data-etat="applique"] .mc-curseur, #fondaxiom-solutions .mc[data-etat="alerte"] .mc-curseur { opacity: 0; transform: translate(var(--x), var(--y)); }

/* Repli : la fenêtre se range, la pastille reste */
#fondaxiom-solutions .mc-pastille { display: none; margin-left: auto; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; cursor: pointer;
               border: 1px solid #2f5550; background: #0f2226ee; color: var(--ink); font: 12px var(--sans); box-shadow: 0 10px 30px #0007; min-height: 0; }
#fondaxiom-solutions .mc-ok { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #2f8f7c; color: #fff; font-size: 11px; }
#fondaxiom-solutions .mc-rejouer { color: var(--mint); font-size: 11px; padding-left: 6px; border-left: 1px solid #2f5550; }
#fondaxiom-solutions .mc[data-etat="fini"] { display: flex; flex-direction: column; align-items: flex-end; }
#fondaxiom-solutions .mc[data-etat="fini"] .mc-fenetre { display: none; }
#fondaxiom-solutions .mc[data-etat="fini"] .mc-pastille { display: inline-flex; animation: mc-carte .5s cubic-bezier(.22,.68,.23,1) both; }
#fondaxiom-solutions .mc[data-etat=""] .mc-fenetre, #fondaxiom-solutions .mc:not([data-etat]) .mc-fenetre { display: none; }

/* Dans la scène : l'encart « Efforts » porte le groupe créé */
#fondaxiom-solutions .mc-badge { display: inline-block; margin-top: 6px; padding: 3px 7px; border-radius: 4px; border: 1px solid #5a4630; background: #2a2116;
            font: 10px var(--mono); color: #e9c9a3; animation: mc-carte .5s cubic-bezier(.22,.68,.23,1) both; }

@media (max-width: 760px) {
  #fondaxiom-solutions .mc { top: 10px; left: 10px; right: 10px; width: auto; }
  #fondaxiom-solutions .mc-curseur { display: none; }
  #fondaxiom-solutions .mc-fil { padding: 10px; gap: 8px; }
  #fondaxiom-solutions .mc-bulle { font-size: 12px; }
  #fondaxiom-solutions .mc-note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #fondaxiom-solutions .mc, #fondaxiom-solutions .mc *, #fondaxiom-solutions .mc-badge { animation: none !important; transition: none !important; }
}

/* ── Les réglages de l'étape 04 (reglages.js) ───────────────────────────────
 * Comme dans le logiciel : un défaut normatif, des « Auto » qu'on peut forcer,
 * des presets. Préfixé par la scène : ses règles de boutons l'emporteraient. */
#fondaxiom-solutions .rg { margin-top: 4px; padding: 11px 12px; border: 1px solid #2a4146; border-radius: 10px; background: #0d1a1fcc; }
#fondaxiom-solutions .rg-tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  font: 10.5px var(--mono); letter-spacing: .8px; text-transform: uppercase; color: var(--copper); }
#fondaxiom-solutions .rg-presets { display: flex; gap: 2px; padding: 2px; border-radius: 7px; background: #13252a; }
#fondaxiom-solutions .rg-presets button,
#fondaxiom-solutions .rg-seg button,
#fondaxiom-solutions .rg-diam button,
#fondaxiom-solutions .rg-forcer,
#fondaxiom-solutions .rg-tip {
  min-height: 0; cursor: pointer; font-family: var(--sans); transition: background .25s, color .25s, border-color .25s, transform .15s; }
#fondaxiom-solutions .rg-presets button { padding: 5px 8px; border-radius: 5px; font-size: 11px; color: var(--muted); text-transform: none; letter-spacing: 0; }
#fondaxiom-solutions .rg-presets button[aria-pressed="true"] { background: #234247; color: var(--ink); box-shadow: 0 1px 0 #ffffff12 inset; }
#fondaxiom-solutions .rg-preset-note { margin: 7px 0 2px; font: 11.5px/1.4 var(--sans); color: var(--mint); }
#fondaxiom-solutions .rg-flash { animation: rg-flash .6s ease; }
@keyframes rg-flash { from { opacity: 0; transform: translateX(-4px); } to { opacity: 1; transform: none; } }

#fondaxiom-solutions .rg-champ { padding-top: 9px; margin-top: 9px; border-top: 1px solid #1d3136; }
#fondaxiom-solutions .rg-groupe { margin-top: 9px; border-top: 1px solid #1d3136; }
#fondaxiom-solutions .rg-groupe summary { display: flex; align-items: center; gap: 8px; padding: 9px 0 0; min-height: 0; cursor: pointer; list-style: none; font: 12.5px var(--sans); color: var(--ink); }
#fondaxiom-solutions .rg-groupe summary::-webkit-details-marker { display: none; }
#fondaxiom-solutions .rg-groupe summary::after { content: "▸"; margin-left: auto; color: var(--mint); transition: transform .25s; }
#fondaxiom-solutions .rg-groupe[open] summary::after { transform: rotate(90deg); }
#fondaxiom-solutions .rg-groupe summary span { font: 9.5px var(--mono); padding: 2px 6px; border-radius: 3px; color: #8bd9c8; background: #8bd9c814; border: 1px solid #8bd9c840; }
#fondaxiom-solutions .rg-groupe .rg-champ { padding-top: 7px; margin-top: 7px; }
#fondaxiom-solutions .rg-groupe .rg-libelle { font-size: 11.5px; color: #c3cfcc; }
#fondaxiom-solutions .rg-libelle { display: flex; align-items: center; gap: 6px; font: 12.5px var(--sans); color: var(--ink); }
#fondaxiom-solutions .rg-tip { width: 17px; height: 17px; padding: 0; border-radius: 50%; border: 1px solid #4d6669; color: var(--muted); font-size: 10px; display: grid; place-items: center; }
#fondaxiom-solutions .rg-tip[aria-expanded="true"] { border-color: var(--mint); color: var(--mint); }
#fondaxiom-solutions .rg-defaut { margin-left: auto; font: 9.5px var(--mono); padding: 2px 6px; border-radius: 3px; color: #8bd9c8; background: #8bd9c814; border: 1px solid #8bd9c840; }
#fondaxiom-solutions .rg-bulle { margin: 7px 0 0; padding: 8px 10px; border-radius: 6px; background: #f3f0e7; color: #233b42; font: 11.5px/1.45 var(--sans);
  animation: monte .3s cubic-bezier(.22,.68,.23,1) both; }

#fondaxiom-solutions .rg-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: 8px; padding: 3px; border-radius: 8px; background: #13252a; }
#fondaxiom-solutions .rg-seg button { padding: 6px 2px; border-radius: 6px; font-size: 11.5px; color: var(--muted); line-height: 1.2; }
#fondaxiom-solutions .rg-seg button small { display: block; font-size: 9.5px; color: #6f8487; margin-top: 2px; }
#fondaxiom-solutions .rg-seg button[aria-pressed="true"] { background: #8bd9c8; color: #112b2c; }
#fondaxiom-solutions .rg-seg button[aria-pressed="true"] small { color: #2c5650; }
#fondaxiom-solutions .rg[data-mode="plancher"] .rg-seg button[aria-pressed="true"],
#fondaxiom-solutions .rg[data-mode="garanti"] .rg-seg button[aria-pressed="true"] { background: #e0b98d; color: #2b1d0e; }
#fondaxiom-solutions .rg[data-mode="plancher"] .rg-seg button[aria-pressed="true"] small,
#fondaxiom-solutions .rg[data-mode="garanti"] .rg-seg button[aria-pressed="true"] small { color: #5a4630; }
#fondaxiom-solutions .rg-seg button:active, #fondaxiom-solutions .rg-presets button:active, #fondaxiom-solutions .rg-forcer:active { transform: scale(.95); }

#fondaxiom-solutions .rg-schema-ligne { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
#fondaxiom-solutions .rg-schema { flex: 1; max-width: 190px; height: auto; border-radius: 6px; overflow: hidden; }
.rg-sol-haut { fill: #1a2a2c; } .rg-sol-ancrage { fill: #2c4a43; } .rg-toit { stroke: #88a298; stroke-dasharray: 4 3; }
.rg-t { font: 9px var(--mono); fill: #88a298; }
.rg-pieu rect { fill: #aeb8b4; }
.rg-cote line { stroke: var(--mint); stroke-width: 1.2; }
.rg-e { font: 600 11px var(--mono); fill: var(--mint); }
#fondaxiom-solutions .rg-diam { display: grid; gap: 4px; }
#fondaxiom-solutions .rg-diam button { padding: 5px 8px; border-radius: 5px; border: 1px solid #2f4a4f; font-size: 11px; color: var(--muted); }
#fondaxiom-solutions .rg-diam button[aria-pressed="true"] { border-color: var(--mint); color: var(--ink); }
#fondaxiom-solutions .rg-engage, #fondaxiom-solutions .rg-hors { margin: 8px 0 0; padding: 7px 9px; border-radius: 6px; border: 1px solid #5a4630; background: #2a2116;
  font: 11px/1.45 var(--sans); color: #e9c9a3; animation: monte .35s cubic-bezier(.22,.68,.23,1) both; }
#fondaxiom-solutions .rg-engage b { font-weight: 600; color: #e0b98d; }

#fondaxiom-solutions .rg-ligne { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
#fondaxiom-solutions .rg-badge { flex: none; font: 9.5px var(--mono); padding: 2px 6px; border-radius: 3px; color: #8bd9c8; background: #8bd9c814; border: 1px solid #8bd9c840; }
#fondaxiom-solutions .rg-force .rg-badge { color: #e0b98d; background: #e0b98d14; border-color: #e0b98d55; }
#fondaxiom-solutions .rg-desc { flex: 1; font: 11.5px/1.35 var(--sans); color: var(--muted); }
#fondaxiom-solutions .rg-force .rg-desc { color: var(--ink); font-family: var(--mono); }
#fondaxiom-solutions .rg-forcer { flex: none; padding: 4px 9px; border-radius: 5px; border: 1px solid #355a5c; font-size: 11px; color: var(--mint); }
#fondaxiom-solutions .rg-aussi { margin-top: 10px; font: 11.5px/1.5 var(--sans); color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .rg-pieu rect, .rg-cote line, .rg-e, #fondaxiom-solutions .rg-bulle, #fondaxiom-solutions .rg-engage, #fondaxiom-solutions .rg-hors, #fondaxiom-solutions .rg-flash { transition: none; animation: none; }
}
#fondaxiom-solutions .mc-lanceur { position: absolute; right: 74px; top: 22px; z-index: 30; display: inline-flex; align-items: center; gap: 8px;
  min-height: 0; padding: 9px 14px; border-radius: 999px; border: 1px solid #2f5550; background: #0f2226ee; color: var(--ink);
  font: 12px var(--sans); cursor: pointer; box-shadow: 0 10px 30px #0007; animation: mc-carte .45s cubic-bezier(.22,.68,.23,1) both;
  transition: transform .2s, border-color .2s; }
#fondaxiom-solutions .mc-lanceur:hover { transform: translateY(-2px); border-color: var(--mint); }
#fondaxiom-solutions .mc-lanceur[hidden] { display: none; }
@media (max-width: 760px) { #fondaxiom-solutions .mc-lanceur { right: 10px; top: 10px; } }

/* ── Les pièces du projet, étape 01 (pieces.js) ─────────────────────────── */
#fondaxiom-solutions .pj { margin-top: 12px; padding: 10px 12px; border: 1px solid #2a4146; border-radius: 10px; background: #0d1a1fcc; max-width: 360px; }
#fondaxiom-solutions .pj-titre { margin: 0 0 8px; font: 10.5px var(--mono); letter-spacing: .8px; text-transform: uppercase; color: var(--copper); }
#fondaxiom-solutions .pj-ligne { display: flex; align-items: center; gap: 10px; padding: 3px 0; }
#fondaxiom-solutions .pj-lib { width: 52px; flex: none; font: 10.5px var(--mono); color: #7d9195; }
#fondaxiom-solutions .pj-choix { display: flex; flex-wrap: wrap; gap: 3px; padding: 2px; border-radius: 7px; background: #13252a; }
#fondaxiom-solutions .pj-choix button { white-space: nowrap; }
#fondaxiom-solutions .pj-choix button { min-height: 0; padding: 5px 9px; border-radius: 5px; font: 11.5px var(--sans); color: var(--muted); cursor: pointer;
  transition: background .25s, color .25s, transform .15s; }
#fondaxiom-solutions .pj-choix button[aria-pressed="true"] { background: #8bd9c8; color: #112b2c; }
#fondaxiom-solutions .pj-choix button:disabled { cursor: default; opacity: 1; }
#fondaxiom-solutions .pj-choix button:active:not(:disabled) { transform: scale(.95); }
#fondaxiom-solutions .pj-fichiers { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
#fondaxiom-solutions .pj-fichiers li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 4px; border-radius: 5px;
  background: #13252a; border: 1px solid #22393e; animation: monte .35s cubic-bezier(.22,.68,.23,1) both; }
#fondaxiom-solutions .pj-fichiers b { font: 9px var(--mono); padding: 2px 4px; border-radius: 3px; background: #dfe6ef; color: #1f3a5c; }
#fondaxiom-solutions .pj-fichiers span { font: 11px/1.2 var(--sans); color: var(--ink); white-space: nowrap; }
#fondaxiom-solutions .pj-regle { margin: 7px 0 0; font: 10.5px/1.4 var(--sans); color: #7d9195; }
#fondaxiom-solutions .pj-regle em { font-style: normal; color: var(--ink); }
/* La scène suit : le plan s'éclaire ou s'efface, la fiche d'efforts bascule. */
#fondaxiom-solutions[data-phase="0"] svg[data-world] { transition: opacity .5s, filter .5s; }
#fondaxiom-solutions[data-phase="0"][data-plan="oui"] svg[data-world] { filter: drop-shadow(0 0 18px #8bd9c833) brightness(1.15); }
#fondaxiom-solutions[data-phase="0"][data-plan="non"] svg[data-world] { opacity: .25; }
#fondaxiom-solutions .fa-bascule { animation: fa-bascule .5s cubic-bezier(.22,.68,.23,1); }
@keyframes fa-bascule { 0% { transform: rotateY(0) rotate(-3deg); } 50% { transform: rotateY(90deg) rotate(-3deg); } 100% { transform: rotateY(0) rotate(-3deg); } }
@media (max-width: 760px) { #fondaxiom-solutions .pj { max-width: none; } }
@media (prefers-reduced-motion: reduce) { #fondaxiom-solutions .fa-bascule, #fondaxiom-solutions .pj-fichiers li { animation: none; } }

/* ── Les pièces ouvertes (documents.js) : une visionneuse de vrais documents ──
 * Fond gris, pages blanches au format d'un rapport, barre « Aller à » collée en
 * haut. Plus d'onglets dans le document : on lit, on saute aux chapitres. */
#fondaxiom-solutions[data-inspect] .fa-inspector { background: #4a5355; color: #111; padding: 0 22px 26px; max-height: calc(100vh - 150px); min-height: 0; overflow-y: auto; overscroll-behavior: contain; font-family: 'Times New Roman', Times, serif; }
#fondaxiom-solutions[data-inspect] .fa-inspector-head { position: sticky; top: 0; z-index: 3; justify-content: flex-end; padding: 12px 0 0; margin: 0 -22px; padding-inline: 22px; background: #4a5355; }
#fondaxiom-solutions[data-inspect] .fa-inspector-head > div { display: none; }
#fondaxiom-solutions[data-inspect] .fa-inspector .fa-close { background: #f3f0e7; border-color: #f3f0e7; color: #233b42; font: 12px var(--sans); }
#fondaxiom-solutions[data-inspect] .fa-support-tabs,
#fondaxiom-solutions[data-inspect] .fa-detail-tabs,
#fondaxiom-solutions[data-inspect] .fa-soil-tabs { display: none !important; }
#fondaxiom-solutions .doc h1, #fondaxiom-solutions .doc h2, #fondaxiom-solutions .doc h3 { letter-spacing: 0; }
#fondaxiom-solutions .doc { font: 13px/1.55 'Times New Roman', Times, serif; color: #151515; }
#fondaxiom-solutions .doc .dn { position: sticky; top: 50px; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0 -22px 14px; padding: 8px 22px 10px; background: #4a5355; border-bottom: 1px solid #ffffff1a; }
#fondaxiom-solutions .doc .dn span { font: 10px var(--mono); letter-spacing: .8px; text-transform: uppercase; color: #c9d3d1; margin-right: 6px; }
#fondaxiom-solutions .doc .dn button { min-height: 0; padding: 5px 10px; border-radius: 999px; border: 1px solid #ffffff33; background: #ffffff12; color: #f3f0e7; font: 11.5px var(--sans); cursor: pointer; transition: background .2s, border-color .2s; }
#fondaxiom-solutions .doc .dn button:hover { background: #8bd9c833; border-color: #8bd9c8; }
#fondaxiom-solutions .doc .dp { position: relative; max-width: 780px; margin: 0 auto 18px; padding: 46px 56px 70px; background: #fff; box-shadow: 0 10px 30px #0006; min-height: 600px; scroll-margin-top: 110px; }
#fondaxiom-solutions .doc .dp [id] { scroll-margin-top: 110px; }
#fondaxiom-solutions .doc .dp::before { content: ""; position: absolute; left: 0; bottom: 70px; width: 34px; height: 100px; background: linear-gradient(#c6d6ee 0 33%, #94b2dd 33% 66%, #5f86c4 66%); }
#fondaxiom-solutions .doc .dp-pied { position: absolute; left: 56px; right: 56px; bottom: 22px; display: flex; border: 1px solid #222; font: 11px 'Times New Roman', Times, serif; }
#fondaxiom-solutions .doc .dp-pied span { padding: 5px 8px; border-left: 1px solid #222; }
#fondaxiom-solutions .doc .dp-pied span:first-child { border-left: 0; }
#fondaxiom-solutions .doc .dp-pied span:nth-child(2) { flex: 1; text-align: center; }
#fondaxiom-solutions .doc p, #fondaxiom-solutions .doc li { margin: 6px 0; }
#fondaxiom-solutions .doc ul { padding-left: 22px; }
#fondaxiom-solutions .doc .g2-t1 { font: 700 16px/1.3 Arial, sans-serif; color: #4a6ea9; text-transform: uppercase; margin: 22px 0 10px; }
#fondaxiom-solutions .doc .g2-t2 { font: italic 700 14px/1.3 Arial, sans-serif; color: #4a6ea9; border-bottom: 1px solid #222; padding-bottom: 3px; margin: 18px 0 8px; }
#fondaxiom-solutions .doc .g2-italique { font-style: italic; }
#fondaxiom-solutions .doc .g2-bandeau { border: 1px solid #222; background: #9fbbe6; text-align: center; font: 700 20px/1.3 'Times New Roman', Times, serif; padding: 10px; margin-bottom: 16px; }
#fondaxiom-solutions .doc .g2-couv { text-align: center; padding-top: 10px; }
#fondaxiom-solutions .doc .g2-logo { display: flex; align-items: center; gap: 12px; justify-content: flex-start; }
#fondaxiom-solutions .doc .g2-logo svg { width: 54px; height: 54px; fill: none; stroke: #3d4f8f; stroke-width: 5; }
#fondaxiom-solutions .doc .g2-logo b { font: 700 20px Arial, sans-serif; color: #2b3a73; letter-spacing: .5px; }
#fondaxiom-solutions .doc .g2-couv h1 { font: 700 21px/1.6 'Times New Roman', Times, serif; color: #2b3a73; margin: 34px 0 4px; }
#fondaxiom-solutions .doc .g2-lieu { color: #2b3a73; }
#fondaxiom-solutions .doc .g2-couv h2 { font: 700 20px/1.6 'Times New Roman', Times, serif; color: #2b3a73; margin: 28px 0 12px; }
#fondaxiom-solutions .doc .g2-ref { font: 700 20px 'Times New Roman', Times, serif; color: #2b3a73; text-align: right; margin-top: 40px; }
#fondaxiom-solutions .doc .g2-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0; }
#fondaxiom-solutions .doc .g2-photo svg { width: 100%; border-radius: 8px; box-shadow: 0 3px 8px #0003; display: block; }
.ill-ciel { fill: #cfe0ee; } .ill-sol { fill: #9a8a6c; } .ill-acier { fill: #6b7176; } .ill-machine { fill: #e2a33a; } .ill-roue { fill: #333; }
.ill-bras { stroke: #e2a33a; stroke-width: 4; fill: none; } .ill-bati { fill: #d8d2c4; stroke: #8b8577; } .ill-toit { fill: #9b4d3d; }
.ill-carotte1 { fill: #b49a74; } .ill-carotte2 { fill: #c5b28c; } .ill-carotte3 { fill: #8c9c8c; }
#fondaxiom-solutions .doc .g2-sommaire { list-style: none; padding: 0; margin: 0; }
#fondaxiom-solutions .doc .g2-sommaire li { display: flex; align-items: baseline; gap: 6px; margin: 4px 0; }
#fondaxiom-solutions .doc .g2-sommaire i { flex: 1; border-bottom: 1px dotted #555; }
#fondaxiom-solutions .doc .g2-figure { margin: 12px 0; text-align: center; }
#fondaxiom-solutions .doc .g2-figure svg { width: 100%; height: auto; border: 1px solid #ccc; }
#fondaxiom-solutions .doc .g2-figure p { font: italic 11.5px Arial, sans-serif; color: #4a6ea9; }
.pl-fond { fill: #f2f1ec; } .pl-ilot { fill: #e2ded2; stroke: #c9c3b3; } .pl-voie { stroke: #fff; stroke-width: 14; fill: none; }
.pl-parcelle { fill: #f3c9a3; stroke: #c0392b; stroke-width: 2; } .pl-t { font: 11px Arial, sans-serif; fill: #333; } .pl-fort { font-weight: 700; }
.pl-nord { stroke: #333; stroke-width: 1.5; fill: none; } .pl-bati { fill: #e8e4d8; stroke: #333; stroke-width: 1.5; } .pl-joint { stroke: #c0392b; stroke-dasharray: 5 4; }
.pl-sondage circle { stroke: #fff; stroke-width: 1.5; } .pl-sondage text { font: 700 11px Arial, sans-serif; fill: #222; }
.pl-sp circle, circle.pl-sp { fill: #c0392b; } .pl-sd circle, circle.pl-sd { fill: #2b3a73; } .pl-p circle, circle.pl-p { fill: #e2a33a; }
.pl-leg text { font: 10px Arial, sans-serif; fill: #333; }
.pl-trace { fill: #f6f5f0; stroke: #2b3a73; stroke-width: 1.2; }
.pl-pieu rect { fill: none; stroke: #b03aa8; stroke-width: 1.5; } .pl-pieu text { font: 10px Arial, sans-serif; fill: #222; }
.cp-t { font: 700 11px Arial, sans-serif; fill: #222; } .cp-n { font: 10px Arial, sans-serif; fill: #333; } .cp-g { stroke: #e2e2e2; }
.cp-c { stroke: #555; stroke-width: .6; } .cp-l { font: 10.5px Arial, sans-serif; fill: #222; }
.cp-pl { fill: #4a6ea9; opacity: .75; } .cp-em { fill: #c0392b; opacity: .65; } .cp-eau { stroke: #2a7ab8; stroke-width: 1.5; stroke-dasharray: 5 3; } .cp-eau-t { font: 10px Arial, sans-serif; fill: #2a7ab8; }
#fondaxiom-solutions .doc .dt { width: 100%; border-collapse: collapse; margin: 10px 0; font: 12.5px 'Times New Roman', Times, serif; font-variant-numeric: tabular-nums; }
#fondaxiom-solutions .doc .dt th { background: #dce6f2; border: 1px solid #222; padding: 4px 6px; font-weight: 400; text-align: left; }
#fondaxiom-solutions .doc .dt td { border: 1px solid #222; padding: 4px 6px; }
#fondaxiom-solutions .doc .dt-centre th, #fondaxiom-solutions .doc .dt-centre td { text-align: center; }
#fondaxiom-solutions .doc .dt-cles td:first-child { background: #dce6f2; width: 42%; }
#fondaxiom-solutions .doc .dt-affaire td { font-size: 12px; }
#fondaxiom-solutions .doc .dt-ddc { font: 11.5px Arial, sans-serif; }
#fondaxiom-solutions .doc .dt-ddc th { text-align: center; background: #dce6f2; font-weight: 700; padding: 2px 4px; }
#fondaxiom-solutions .doc .dt-ddc tbody th { background: #dce6f2; text-align: right; }
#fondaxiom-solutions .doc .dt-ddc td { text-align: right; padding: 1px 5px; }
#fondaxiom-solutions .doc .dt-groupe { font: 700 15px Arial, sans-serif !important; background: #fff !important; }
#fondaxiom-solutions .doc .dt-combi { font-size: 10px; }
#fondaxiom-solutions .doc .dt-combi th, #fondaxiom-solutions .doc .dt-combi td { white-space: nowrap; padding: 2px 3px; }
#fondaxiom-solutions .doc .dp-large { max-width: none; padding-inline: 34px; }
#fondaxiom-solutions .doc .dt-combi .dt-groupe { font-size: 10.5px !important; }
#fondaxiom-solutions .doc .dt-vide { text-align: center !important; color: #888; font-style: italic; }
#fondaxiom-solutions .doc .dd-entete { display: flex; align-items: center; justify-content: space-between; text-align: center; font: 11px/1.4 Arial, sans-serif; margin-bottom: 18px; }
#fondaxiom-solutions .doc .dd-logo { display: grid; place-items: center; width: 44px; height: 44px; border: 3px solid #d6304a; border-radius: 10px; color: #d6304a; font: 700 15px Arial, sans-serif; font-style: normal; }
#fondaxiom-solutions .doc .ct-logo { display: grid; place-items: center; width: 40px; height: 48px; background: #1f4fbf; color: #fff; font: 700 18px Arial, sans-serif; font-style: normal; border: 3px solid #1f4fbf; outline: 2px solid #fff; outline-offset: -8px; }
#fondaxiom-solutions .doc .dd-t1 { font: 700 21px Arial, sans-serif; color: #1e4d6b; text-decoration: underline; margin: 6px 0 14px; }
#fondaxiom-solutions .doc .dd-t2 { font: 17px 'Times New Roman', Times, serif; color: #1e4d6b; text-decoration: underline; margin: 16px 0 4px; }
#fondaxiom-solutions .doc .dd-leg { font: italic 11px Arial, sans-serif; color: #1e4d6b; text-align: center; margin: 0 0 4px; }
#fondaxiom-solutions .doc .ct { display: grid; grid-template-columns: 30% 70%; grid-template-rows: auto auto auto auto auto; border: 1px solid #222; font: 12px Arial, sans-serif; }
#fondaxiom-solutions .doc .ct > div { border: 1px solid #222; padding: 10px; }
#fondaxiom-solutions .doc .ct-projet { grid-column: 2; text-align: center; }
#fondaxiom-solutions .doc .ct-projet b { display: block; font-size: 17px; }
#fondaxiom-solutions .doc .ct-projet small { display: block; margin: 4px 0 12px; }
#fondaxiom-solutions .doc .ct-gauche { grid-column: 1; grid-row: 1 / 6; text-align: center; font-size: 10.5px; }
#fondaxiom-solutions .doc .ct-gauche p { margin: 0 0 40px; }
#fondaxiom-solutions .doc .ct-indices { grid-column: 2; padding-top: 120px !important; }
#fondaxiom-solutions .doc .ct-indices .dt { font: 11px Arial, sans-serif; }
#fondaxiom-solutions .doc .ct-emetteur, #fondaxiom-solutions .doc .ct-titre { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#fondaxiom-solutions .doc .ct-emetteur span, #fondaxiom-solutions .doc .ct-titre span { align-self: flex-start; font-size: 10px; }
#fondaxiom-solutions .doc .ct-titre b { flex: 1; text-align: center; font-size: 19px; }
#fondaxiom-solutions .doc .ct-codes { grid-column: 1 / 3; display: grid; grid-template-columns: repeat(7, 1fr); padding: 0 !important; }
#fondaxiom-solutions .doc .ct-codes div { border-right: 1px solid #222; text-align: center; }
#fondaxiom-solutions .doc .ct-codes span { display: block; font-size: 10px; padding: 4px; border-bottom: 1px solid #222; }
#fondaxiom-solutions .doc .ct-codes b { display: block; font: 400 20px Arial, sans-serif; padding: 6px; }
@media (max-width: 760px) {
  #fondaxiom-solutions[data-inspect] .fa-inspector { padding: 0 8px 14px; max-height: none; }
  #fondaxiom-solutions .doc .dn { margin-inline: -8px; padding-inline: 8px; top: 46px; }
  #fondaxiom-solutions .doc .dp { padding: 22px 16px 60px; }
  #fondaxiom-solutions .doc .dp-pied { left: 16px; right: 16px; font-size: 9px; }
  #fondaxiom-solutions .doc .dt-ddc, #fondaxiom-solutions .doc .dt-combi { display: block; overflow-x: auto; }
}

/* ── Les pieux cliquables de l'étape 04 (pieux.js) ───────────────────────── */
#fondaxiom-solutions .fa-pieu-cible { fill: #8bd9c800; stroke: #8bd9c800; stroke-width: 2; cursor: pointer; transition: fill .25s, stroke .25s; }
#fondaxiom-solutions .fa-pieu-cible:hover { fill: #8bd9c814; stroke: #8bd9c866; }
#fondaxiom-solutions[data-pieu="0"] .fa-pieu-cible[data-pieu="0"],
#fondaxiom-solutions[data-pieu="1"] .fa-pieu-cible[data-pieu="1"],
#fondaxiom-solutions[data-pieu="2"] .fa-pieu-cible[data-pieu="2"] { fill: #8bd9c81f; stroke: #8bd9c8; }
#fondaxiom-solutions .pf-invite { display: none; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 8; margin: 0;
  align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid #2f5550; background: #0f2226dd; color: var(--ink);
  font: 12px var(--sans); pointer-events: none; }
#fondaxiom-solutions[data-phase="3"]:not([data-moving="true"]):not([data-pieu]):not([data-couche]):not([data-inspect]) .pf-invite { display: inline-flex; animation: monte .5s ease both; }
#fondaxiom-solutions .pf { position: absolute; z-index: 28; width: 300px; padding: 12px 14px 10px; border-radius: 12px; border: 1px solid #2f4a4f;
  background: linear-gradient(180deg, #102127f5, #0b171cf8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px #0009; color: var(--ink); font: 12px/1.4 var(--sans); }
#fondaxiom-solutions .pf-entre { animation: mc-carte .45s cubic-bezier(.22,.68,.23,1) both; }
#fondaxiom-solutions .pf-tete { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 8px; border-bottom: 1px solid #1f3439; }
#fondaxiom-solutions .pf-tete span { display: block; font: 10px var(--mono); letter-spacing: .8px; text-transform: uppercase; color: var(--copper); }
#fondaxiom-solutions .pf-tete b { font: 400 16px var(--sans); }
#fondaxiom-solutions .pf-fermer { min-height: 0; padding: 0 4px; background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; }
#fondaxiom-solutions .pf-bloc { padding: 7px 0; border-bottom: 1px solid #1a2e33; }
#fondaxiom-solutions .pf-bloc h4 { margin: 0 0 4px; font: 9.5px var(--mono); letter-spacing: .8px; text-transform: uppercase; color: #7d9195; font-weight: 400; }
#fondaxiom-solutions .pf-bloc dl { margin: 0; display: grid; gap: 2px; }
#fondaxiom-solutions .pf-bloc dl div { display: flex; justify-content: space-between; gap: 8px; }
#fondaxiom-solutions .pf-bloc dt { color: var(--muted); }
#fondaxiom-solutions .pf-bloc dd { margin: 0; font-variant-numeric: tabular-nums; }
#fondaxiom-solutions .pf-j { margin: 5px 0; }
#fondaxiom-solutions .pf-j-tete { display: flex; justify-content: space-between; color: var(--muted); }
#fondaxiom-solutions .pf-j-tete b { color: var(--ink); font-weight: 400; }
#fondaxiom-solutions .pf-j i { display: block; height: 4px; margin-top: 3px; border-radius: 2px; background: #1f3439; overflow: hidden; }
#fondaxiom-solutions .pf-j s { display: block; height: 100%; width: calc(var(--part) * 100%); background: var(--mint); border-radius: 2px; animation: pf-jauge .9s cubic-bezier(.22,.68,.23,1) both; }
@keyframes pf-jauge { from { width: 0; } }
#fondaxiom-solutions .pf-note { margin: 7px 0 0; font-size: 10.5px; color: #7d9195; }
@media (max-width: 760px) { #fondaxiom-solutions .pf { left: 10px !important; right: 10px; width: auto; top: 10px !important; } }
@media (prefers-reduced-motion: reduce) { #fondaxiom-solutions .pf-entre, #fondaxiom-solutions .pf-j s, #fondaxiom-solutions .pf-invite { animation: none; } }

/* Les réglages : un exemple qu'on va chercher, en onglets comme le logiciel. */
#fondaxiom-solutions .rg-boite { margin-top: 4px; border: 1px solid #2a4146; border-radius: 10px; background: #0d1a1fcc; }
#fondaxiom-solutions .rg-boite > summary { display: flex; flex-direction: column; gap: 2px; padding: 10px 34px 10px 12px; position: relative; cursor: pointer; list-style: none; min-height: 0; }
#fondaxiom-solutions .rg-boite > summary::-webkit-details-marker { display: none; }
#fondaxiom-solutions .rg-boite > summary::after { content: "Ouvrir ▸"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 11px var(--sans); color: var(--mint); transition: opacity .2s; }
#fondaxiom-solutions .rg-boite[open] > summary::after { content: "Réduire ▾"; }
#fondaxiom-solutions .rg-boite-titre { font: 13px var(--sans); color: var(--ink); }
#fondaxiom-solutions .rg-boite-sous { font: 10px var(--mono); letter-spacing: .5px; color: #7d9195; }
#fondaxiom-solutions .rg-boite:not([open]):hover { border-color: #4d6669; }
#fondaxiom-solutions .rg-boite .rg { margin: 0; border: 0; border-top: 1px solid #1d3136; border-radius: 0 0 10px 10px; background: transparent; }
#fondaxiom-solutions .rg-onglets { display: flex; gap: 0; margin-top: 10px; border-bottom: 1px solid #2a4146; }
#fondaxiom-solutions .rg-onglets button { min-height: 0; padding: 7px 12px; margin-bottom: -1px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font: 12px var(--sans); cursor: pointer; transition: color .2s, border-color .2s; }
#fondaxiom-solutions .rg-onglets button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--mint); }
#fondaxiom-solutions .rg [data-panneau]:not([hidden]) { animation: monte .35s cubic-bezier(.22,.68,.23,1) both; }
#fondaxiom-solutions .rg [data-panneau] > .rg-champ:first-child { border-top: 0; margin-top: 4px; }
#fondaxiom-solutions .rg-seg[data-acier] button[aria-pressed="true"] { background: #8bd9c8; color: #112b2c; }

/* ── Couches cliquables, états visibles (étapes 03 et 04) ───────────────── */
#fondaxiom-solutions .fa-couche-cible polygon { fill: #ffffff00; stroke: #ffffff00; stroke-width: 1.5; cursor: pointer; transition: fill .25s, stroke .25s; }
#fondaxiom-solutions .fa-couche-cible:hover polygon { fill: #8bd9c812; stroke: #8bd9c855; }
#fondaxiom-solutions[data-couche="0"] [data-couche="0"] polygon, #fondaxiom-solutions[data-couche="1"] [data-couche="1"] polygon,
#fondaxiom-solutions[data-couche="2"] [data-couche="2"] polygon, #fondaxiom-solutions[data-couche="3"] [data-couche="3"] polygon,
#fondaxiom-solutions[data-couche="4"] [data-couche="4"] polygon { fill: #8bd9c81c; stroke: #8bd9c8; }
#fondaxiom-solutions .fa-couche-hachure { fill: url(#fa-hachures); pointer-events: none; }
#fondaxiom-solutions .fa-couche-ancrage { fill: #e07a5f14; stroke: #e07a5f; stroke-width: 1.4; stroke-opacity: .8; stroke-linejoin: round; pointer-events: none; animation: fa-ancrage 2.6s ease-in-out infinite; }
@keyframes fa-ancrage { 50% { stroke-opacity: .45; } }
#fondaxiom-solutions .fa-couche-tag { pointer-events: none; }
#fondaxiom-solutions .fa-couche-tag text { font: italic 10px Arial, sans-serif; letter-spacing: .3px; fill: #e8c9a4; opacity: .85; }
#fondaxiom-solutions .fa-tag-ancrage text { fill: #f2a68f; }
#fondaxiom-solutions .pf-etat { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; padding: 5px 0; }
#fondaxiom-solutions .pf-etat i { width: 26px; height: 14px; border-radius: 7px; background: #2a3c41; position: relative; }
#fondaxiom-solutions .pf-etat i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #7d9195; transition: left .25s; }
#fondaxiom-solutions .pf-oui i { background: #2f8f7c; }
#fondaxiom-solutions .pf-oui i::after { left: 14px; background: #eafff9; }
#fondaxiom-solutions .pf-etat span { color: var(--ink); }
#fondaxiom-solutions .pf-etat small { display: block; font-size: 10.5px; color: #7d9195; }
#fondaxiom-solutions .pf-etat b { font-weight: 400; color: var(--muted); }
#fondaxiom-solutions .pf-oui b { color: var(--mint); }
#fondaxiom-solutions .pf-role { margin: 8px 0 0; padding: 7px 9px; border-radius: 6px; background: #13252a; font-size: 11.5px; color: var(--ink); }
#fondaxiom-solutions[data-phase="2"]:not([data-moving="true"]):not([data-couche]):not([data-inspect]) .pf-invite { display: inline-flex; }
@media (prefers-reduced-motion: reduce) { #fondaxiom-solutions .fa-couche-ancrage { animation: none; } }
#fondaxiom-solutions .pf { max-height: calc(100% - 20px); overflow-y: auto; overscroll-behavior: contain; }
#fondaxiom-solutions .fa-fn { display: none; pointer-events: none; }
#fondaxiom-solutions[data-fn~="0"] .fa-fn[data-fn="0"], #fondaxiom-solutions[data-fn~="1"] .fa-fn[data-fn="1"],
#fondaxiom-solutions[data-fn~="2"] .fa-fn[data-fn="2"], #fondaxiom-solutions[data-fn~="3"] .fa-fn[data-fn="3"],
#fondaxiom-solutions[data-fn~="4"] .fa-fn[data-fn="4"] { display: inline; }
#fondaxiom-solutions .fa-fn path { stroke: #ffb38a; stroke-width: 1.8; fill: none; animation: fa-fn 1.4s ease-in-out infinite; }
#fondaxiom-solutions .fa-fn text { font: 10.5px Arial, sans-serif; fill: #ffb38a; }
@keyframes fa-fn { 0% { transform: translateY(-3px); opacity: .3; } 60% { opacity: 1; } 100% { transform: translateY(4px); opacity: .2; } }
#fondaxiom-solutions .pf-bascule { position: relative; cursor: pointer; border-radius: 6px; margin: 0 -6px; padding: 5px 6px; transition: background .2s; }
#fondaxiom-solutions .pf-bascule:hover, #fondaxiom-solutions .pf-bascule:focus-visible { background: #13252a; outline: none; }
#fondaxiom-solutions .pf-aide { display: none; grid-column: 1 / -1; margin: 6px 0 0; padding: 7px 9px; border-radius: 6px; border: 1px solid #5a4630;
  background: #2a2116; color: #f0d6b8; font-size: 11px; line-height: 1.45; animation: monte .25s ease both; }
#fondaxiom-solutions .pf-aide strong { color: #ffd2c3; font-weight: 600; }
#fondaxiom-solutions .pf-bascule:hover .pf-aide, #fondaxiom-solutions .pf-bascule:focus-visible .pf-aide, #fondaxiom-solutions .pf-bascule.pf-oui .pf-aide { display: block; }
@media (prefers-reduced-motion: reduce) { #fondaxiom-solutions .fa-fn path { animation: none; } }

/* ── Les livrables de l'étape 06 (livrables.js) : la note et le classeur ────
 * La note reprend la mise en page des notes du logiciel : bandeaux marine,
 * titres soulignés, tableaux à en-têtes bleu pâle, encadrés de formules avec
 * leur source. Le classeur est une fenêtre de tableur, onglets en bas. */
#fondaxiom-solutions .doc .dp.nd { font: 12px/1.55 Arial, Helvetica, sans-serif; color: #222; padding: 42px 46px 64px; }
#fondaxiom-solutions .doc .dp.nd::before { display: none; }
#fondaxiom-solutions .doc .nd-bandeau { background: #1f3864; color: #fff; font: 700 17px/1.3 Arial, sans-serif; letter-spacing: .3px; padding: 20px 18px; margin: 0 0 14px; }
#fondaxiom-solutions .doc #nd-couv .nd-bandeau { font-size: 21px; padding: 34px 18px; }
#fondaxiom-solutions .doc .nd-projet { font: 700 13px Arial, sans-serif; color: #1f3864; }
#fondaxiom-solutions .doc .nd-titre { font: 700 12.5px Arial, sans-serif; color: #1f3864; border-bottom: 1px solid #8ea9db; padding-bottom: 3px; margin: 16px 0 8px; }
#fondaxiom-solutions .doc .nd-t { font: 10.5px/1.35 Arial, sans-serif; }
#fondaxiom-solutions .doc .nd-t th { background: #dce6f2; border: 1px solid #b4c6e7; color: #1f3864; font-weight: 700; text-align: center; padding: 4px 5px; }
#fondaxiom-solutions .doc .nd-t td { border: 1px solid #d6dce5; padding: 3px 5px; text-align: left; }
#fondaxiom-solutions .doc .nd-t tbody tr:nth-child(even) td { background: #f5f7fb; }
#fondaxiom-solutions .doc .nd-mono td { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10px; }
#fondaxiom-solutions .doc .nd-chiffres td { text-align: right; white-space: nowrap; }
#fondaxiom-solutions .doc .nd-chiffres td:first-child { text-align: left; }
#fondaxiom-solutions .doc .nd-serre th { font-size: 9.5px; padding: 3px; }
#fondaxiom-solutions .doc .nd-serre td { font-size: 9.5px; padding: 2px 3px; }
#fondaxiom-solutions .doc .nd-verdicts td:last-child { text-align: right; }
#fondaxiom-solutions .doc .nd-kv { width: 100%; border-collapse: collapse; margin: 8px 0; font: 11.5px Arial, sans-serif; }
#fondaxiom-solutions .doc .nd-kv th { width: 44%; text-align: left; font-weight: 400; color: #555; padding: 5px 8px; border-bottom: 1px solid #e3e8f0; background: #f7f9fc; }
#fondaxiom-solutions .doc .nd-kv td { text-align: left; padding: 5px 8px; border-bottom: 1px solid #e3e8f0; color: #1f3864; }
#fondaxiom-solutions .doc .nd-f { margin: 10px 0; padding: 8px 12px; background: #f3f6fb; border-left: 3px solid #2e5496; }
#fondaxiom-solutions .doc .nd-f b { display: block; font: 700 11px/1.45 ui-monospace, Menlo, Consolas, monospace; color: #1f3864; }
#fondaxiom-solutions .doc .nd-f p { margin: 4px 0; font-size: 11px; }
#fondaxiom-solutions .doc .nd-f small { font-style: italic; color: #6b7a90; font-size: 10px; }
#fondaxiom-solutions .doc .nd-alerte { margin: 8px 0 10px; padding: 8px 12px; background: #fdecea; border-left: 3px solid #c0392b; color: #7b241c; font-size: 11px; }
#fondaxiom-solutions .doc .nd-suite, #fondaxiom-solutions .doc .nd-reserve { font-style: italic; color: #6b7a90; font-size: 10.5px; }
#fondaxiom-solutions .doc .nd-sommaire { font-size: 12px; }
#fondaxiom-solutions .doc .nd-pied { position: absolute; left: 46px; right: 46px; bottom: 22px; display: flex; justify-content: space-between; font: 10px Arial, sans-serif; color: #555; }
#fondaxiom-solutions .doc .nd-pied b { color: #1f3864; }
#fondaxiom-solutions .doc .nd-saut { max-width: 780px; margin: -6px auto 12px; text-align: center; font: 11px var(--sans); color: #c9d3d1; letter-spacing: .3px; }
#fondaxiom-solutions .doc .nd-saut::before, #fondaxiom-solutions .doc .nd-saut::after { content: "· · ·"; margin: 0 10px; opacity: .6; }

#fondaxiom-solutions .doc-xl { padding-top: 6px; }
#fondaxiom-solutions .xl { max-width: 1100px; margin: 0 auto; background: #fff; box-shadow: 0 10px 30px #0006; border-radius: 6px; overflow: hidden; font: 11px/1.3 Calibri, Carlito, Arial, sans-serif; color: #222; }
#fondaxiom-solutions .xl-barre { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #217346; color: #fff; }
#fondaxiom-solutions .xl-barre b { font: 600 12.5px var(--sans); }
#fondaxiom-solutions .xl-barre em { margin-left: auto; font: 11px var(--sans); opacity: .85; }
#fondaxiom-solutions .xl-logo { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 3px; background: #fff; color: #217346; font: 700 12px Arial, sans-serif; }
#fondaxiom-solutions .xl-formule { display: flex; align-items: center; border-bottom: 1px solid #d4d4d4; background: #fff; font: 11.5px Calibri, Arial, sans-serif; }
#fondaxiom-solutions .xl-formule span { padding: 5px 10px; }
#fondaxiom-solutions .xl-ref { width: 64px; border-right: 1px solid #d4d4d4; color: #444; }
#fondaxiom-solutions .xl-fx { font-style: italic; color: #777; border-right: 1px solid #d4d4d4; }
#fondaxiom-solutions .xl-val { color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#fondaxiom-solutions .xl-zone { max-height: min(62vh, 640px); overflow: auto; background: #fff; }
#fondaxiom-solutions .doc .xl-g { border-collapse: collapse; width: max-content; min-width: 100%; table-layout: auto; font-variant-numeric: tabular-nums; }
#fondaxiom-solutions .doc .xl-g thead th { position: sticky; top: 0; z-index: 1; background: #f3f3f3; color: #666; font-weight: 400; border: 1px solid #d4d4d4; padding: 2px 6px; min-width: 64px; }
#fondaxiom-solutions .doc .xl-g tbody th { position: sticky; left: 0; background: #f3f3f3; color: #666; font-weight: 400; border: 1px solid #d4d4d4; padding: 1px 6px; text-align: right; min-width: 30px; }
#fondaxiom-solutions .doc .xl-g .xl-coin { left: 0; z-index: 2; min-width: 30px; }
#fondaxiom-solutions .doc .xl-g td { text-align: left; border: 1px solid #e3e3e3; padding: 2px 6px; height: 19px; white-space: nowrap; }
#fondaxiom-solutions .doc .xl-g td.xl-n { text-align: right; }
#fondaxiom-solutions .doc .xl-g td.xl-titre { font: 700 15px Calibri, Arial, sans-serif; color: #1f3864; }
#fondaxiom-solutions .doc .xl-g td.xl-sous { font-style: italic; color: #666; }
#fondaxiom-solutions .doc .xl-g td.xl-hg { background: #1f3864; color: #fff; font-weight: 700; text-align: center; letter-spacing: .3px; }
#fondaxiom-solutions .doc .xl-g td.xl-h { background: #d9e1f2; color: #1f3864; font-weight: 700; text-align: center; white-space: normal; }
#fondaxiom-solutions .doc .xl-g td.xl-ok { background: #e2efda; color: #375623; font-weight: 700; text-align: center; }
#fondaxiom-solutions .doc .xl-g td.xl-tot { background: #fff2cc; font-weight: 700; }
#fondaxiom-solutions .xl-onglets { display: flex; gap: 1px; overflow-x: auto; padding: 0 8px; background: #f3f3f3; border-top: 1px solid #d4d4d4; scrollbar-width: thin; }
#fondaxiom-solutions .xl-onglets button { flex: none; min-height: 0; padding: 6px 12px 5px; border: 0; border-bottom: 3px solid var(--onglet); border-radius: 0; background: transparent; color: #333; font: 11.5px Calibri, Arial, sans-serif; cursor: pointer; }
#fondaxiom-solutions .xl-onglets button:hover:not(:disabled) { background: #e6e6e6; }
#fondaxiom-solutions .xl-onglets button[aria-selected="true"] { background: #fff; color: #217346; font-weight: 700; box-shadow: inset 0 3px 0 #217346; }
#fondaxiom-solutions .xl-onglets button:disabled { color: #a3a3a3; cursor: default; border-bottom-color: color-mix(in srgb, var(--onglet) 35%, transparent); }
#fondaxiom-solutions .xl-note { margin: 0; padding: 7px 12px; background: #fafafa; border-top: 1px solid #e3e3e3; color: #777; font: italic 10.5px var(--sans); }
#fondaxiom-solutions .fa-exports button { font: inherit; cursor: pointer; }
@media (max-width: 760px) {
  #fondaxiom-solutions .doc .dp.nd { padding: 22px 14px 56px; }
  #fondaxiom-solutions .doc .nd-pied { left: 14px; right: 14px; }
  #fondaxiom-solutions .doc .nd-t { display: block; overflow-x: auto; }
  #fondaxiom-solutions .xl-zone { max-height: 60vh; }
}

/* Pendant un changement d'étape, les animations décoratives en boucle se
 * figent : tout le rendu va à la scène. */
#fondaxiom-solutions[data-moving="true"] *, #fondaxiom-solutions[data-moving="true"] *::before, #fondaxiom-solutions[data-moving="true"] *::after { animation-play-state: paused !important; }

/* Formules masquées dans l'aperçu de la note : l'intitulé et la description
 * de ce que la note contient restent ; la formule devient une barre floue. */
#fondaxiom-solutions .doc .nd-masque { background: repeating-linear-gradient(-45deg, #f3f6fb 0 8px, #eaeff7 8px 16px); }
#fondaxiom-solutions .doc .nd-contient { list-style: none; margin: 6px 0 8px; padding: 0; }
#fondaxiom-solutions .doc .nd-contient li { display: grid; grid-template-columns: minmax(150px, 34%) 1fr; column-gap: 12px; align-items: center; margin: 0; padding: 6px 0; border-top: 1px solid #d6dfee; }
#fondaxiom-solutions .doc .nd-contient li:first-child { border-top: 0; }
#fondaxiom-solutions .doc .nd-contient span:first-child { font: 700 11px Arial, sans-serif; color: #1f3864; }
#fondaxiom-solutions .doc .nd-contient em { grid-column: 2; font-size: 10.5px; color: #4a5d7e; }
#fondaxiom-solutions .doc .nd-cache { display: grid; gap: 4px; filter: blur(2.5px); user-select: none; }
#fondaxiom-solutions .doc .nd-cache i { display: block; height: 6px; border-radius: 4px; background: #9fb3d4; }
#fondaxiom-solutions .doc .nd-cache i:nth-child(2) { width: 64%; opacity: .6; }
#fondaxiom-solutions .doc .nd-masque small { display: block; font-style: normal; color: #4a5d7e; }
@media (max-width: 760px) { #fondaxiom-solutions .doc .nd-contient li { grid-template-columns: 1fr; } #fondaxiom-solutions .doc .nd-contient em { grid-column: 1; } }
#fondaxiom-solutions .doc .nd-serre, #fondaxiom-solutions .doc .dp-large .nd-chiffres { display: block; overflow-x: auto; }

/* « Passer l'animation » : visible seulement pendant un changement d'étape. */
#fondaxiom-solutions .fa-passer { position: absolute; z-index: 21; right: 22px; bottom: 18px; display: none; align-items: center; gap: 6px; min-height: 0; padding: 7px 13px; border: 1px solid #527072; border-radius: 999px; background: #102027e6; color: var(--mint); font: 12px var(--sans); cursor: pointer; }
#fondaxiom-solutions .fa-passer:hover { background: #183b3b; }
#fondaxiom-solutions[data-moving="true"]:not([data-inspect]) .fa-passer { display: inline-flex; }

/* Le recto de la note (étape 06) : le récapitulatif du logiciel — béton et
 * acier mis en avant, tableau par diamètre, synthèse par groupe. */
#fondaxiom-solutions div.fa-report-wrap[data-report-wrap] { max-width: 520px; height: 586px; }
#fondaxiom-solutions .fa-report-face .fa-metrics-4 { grid-template-columns: repeat(4, 1fr); gap: 7px 8px; }
#fondaxiom-solutions .fa-report-face .fa-metrics-4 strong { font-size: 15px; }
#fondaxiom-solutions .fa-report-face .fa-metrics-4 .fa-cle { grid-column: span 2; padding: 6px 8px; border-radius: 5px; background: #dfe9e1; }
#fondaxiom-solutions .fa-report-face .fa-metrics-4 .fa-cle strong { font-size: 21px; color: #1f4a3f; }
#fondaxiom-solutions .fa-report-face .fa-recap { table-layout: auto; font-size: 10.5px; }
#fondaxiom-solutions .fa-report-face .fa-recap th { font-weight: 600; color: #436b5b; background: #e3e9e2; padding: 3px 4px; text-align: right; white-space: nowrap; }
#fondaxiom-solutions .fa-report-face .fa-recap td { padding: 3px 4px; text-align: right; }
#fondaxiom-solutions .fa-report-face .fa-recap th:first-child, #fondaxiom-solutions .fa-report-face .fa-recap td:first-child { text-align: left; }
#fondaxiom-solutions .fa-report-face .fa-recap .fa-fort { font-weight: 700; color: #1f4a3f; }
#fondaxiom-solutions .fa-report-face .fa-recap .fa-total td { font-weight: 700; border-top: 1.5px solid #436b5b; border-bottom: 0; }
