/* Adirem — Décision & analyse
   Feuille de style unique, sans dépendance. Propriétés logiques (inline/block) pour
   permettre l'affichage de droite à gauche (dir="rtl") sans réécriture. */

@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("../fonts/plex-sans-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("../fonts/plex-sans-ext-400.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("../fonts/plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("../fonts/plex-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("../fonts/plex-sans-ext-600.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20C0; }
@font-face { font-family: "Plex"; font-weight: 700; font-display: swap; src: url("../fonts/plex-sans-700.woff2") format("woff2"); }
@font-face { font-family: "PlexMono"; font-weight: 400; font-display: swap; src: url("../fonts/plex-mono-400.woff2") format("woff2"); }

:root {
  --encre: #0f1419;
  --encre-2: #36424d;
  --discret: #536471;
  --trait: #eff3f4;
  --trait-fort: #cfd9de;
  --fond: #f7f9f9;
  --surface: #ffffff;
  --surface-2: #f7f9f9;
  --marine: #1d9bf0;
  --marine-fonce: #1a8cd8;
  --marine-clair: #e8f5fd;
  --barre: #ffffff;
  --barre-texte: #0f1419;
  --succes: #00976b;
  --succes-clair: #e5f7f1;
  --avert: #b26b00;
  --avert-clair: #fff5e0;
  --danger: #e0245e;
  --danger-clair: #fdeef3;
  --info: #1d9bf0;
  --info-clair: #e8f5fd;
  --rayon: 16px;
  --ombre: none;
  --police: "Plex", -apple-system, "Segoe UI", system-ui, "Noto Sans", Arial, sans-serif;
  --mono: "PlexMono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 14px; }
body { margin: 0; font-family: var(--police); color: var(--encre); background: var(--fond); line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--marine); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.25; font-weight: 600; }
h1 { font-size: 1.55rem; letter-spacing: -.01em; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 .75rem; }
code, .mono { font-family: var(--mono); font-size: .92em; }
[x-cloak] { display: none !important; }
.nombre, td.nombre, th.nombre { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.centre { text-align: center; }
.discret { color: var(--discret); }
.petit { font-size: .88rem; }
.fort { font-weight: 600; }
.nowrap { white-space: nowrap; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- Structure ---- */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.barre-laterale { background: var(--barre); color: var(--barre-texte); border-inline-end: 1px solid var(--trait); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.marque { padding: 1.25rem 1.25rem .9rem; }
.marque-nom { color: var(--encre); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; display: flex; align-items: center; gap: .55rem; }
.marque-nom svg { flex: none; }
.marque-sous { font-size: .82rem; color: var(--discret); margin-top: .1rem; }
.marque-org { margin-top: .7rem; font-size: .8rem; color: var(--discret); line-height: 1.3; }
.nav { padding: .75rem .6rem 1.5rem; flex: 1; }
.nav-titre { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--discret); margin: 1rem .65rem .35rem; }
.nav a { display: flex; align-items: center; gap: .7rem; padding: .5rem .8rem; border-radius: 9999px; color: var(--barre-texte); font-size: .97rem; }
.nav a:hover { background: var(--marine-clair); color: var(--encre); text-decoration: none; }
.nav a.actif { background: var(--marine-clair); color: var(--marine-fonce); font-weight: 700; }
.nav svg { width: 17px; height: 17px; flex: none; opacity: .85; }
.pied-nav { padding: .8rem 1.25rem; font-size: .75rem; color: var(--discret); border-block-start: 1px solid var(--trait); }

.principal { min-width: 0; display: flex; flex-direction: column; }
.barre-haut { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.75rem; background: var(--surface); border-block-end: 1px solid var(--trait); position: sticky; top: 0; z-index: 20; }
.fil { font-size: .9rem; color: var(--discret); display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.fil a { color: var(--discret); }
.utilisateur { display: flex; align-items: center; gap: .75rem; font-size: .9rem; }
.utilisateur .role { font-size: .72rem; padding: .1rem .5rem; border-radius: 99px; background: var(--marine-clair); color: var(--marine-fonce); font-weight: 600; }
.contenu { padding: 1.5rem 1.75rem 3rem; max-width: 1480px; width: 100%; }
.entete-page { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.entete-page .sous-titre { color: var(--discret); margin: .15rem 0 0; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }

/* ---- Bandeaux ---- */
.bandeau { padding: .6rem 1.75rem; font-size: .92rem; display: flex; gap: .6rem; align-items: center; }
.bandeau-licence { background: var(--avert-clair); color: #6b3e05; border-block-end: 1px solid #f1d4a5; }
.bandeau-licence strong { color: #5a3303; }

.alerte { border-radius: var(--rayon); padding: .75rem 1rem; margin-bottom: 1rem; border: 1px solid; display: flex; gap: .65rem; align-items: flex-start; }
.alerte p:last-child { margin: 0; }
.alerte-info { background: var(--info-clair); border-color: #bfe3fb; color: #0b4f7d; }
.alerte-succes { background: var(--succes-clair); border-color: #b3e6d5; color: #00593f; }
.alerte-avert { background: var(--avert-clair); border-color: #f1d4a5; color: #6b3e05; }
.alerte-erreur { background: var(--danger-clair); border-color: #f7c1d2; color: #8c1239; }

/* ---- Cartes ---- */
.carte { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre); }
.carte + .carte { margin-top: 1rem; }
.grille > .carte + .carte, .guide > .carte + .carte { margin-top: 0; }
.carte-entete { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1.1rem; border-block-end: 1px solid var(--trait); flex-wrap: wrap; }
.carte-entete h2, .carte-entete h3 { margin: 0; }
.carte-corps { padding: 1rem 1.1rem; }
.carte-corps.flush { padding: 0; }
.grille { display: grid; gap: 1rem; }
.grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grille-kpi { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 1rem; }
.espace { margin-top: 1rem; }

.kpi { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: .95rem 1.05rem; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: .2rem; }
.kpi-libelle { font-size: .82rem; color: var(--discret); font-weight: 500; }
.kpi-valeur { font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.kpi-detail { font-size: .82rem; color: var(--discret); }
.kpi.alerte-kpi { border-inline-start: 3px solid var(--danger); }
.kpi.avert-kpi { border-inline-start: 3px solid var(--avert); }
.kpi.ok-kpi { border-inline-start: 3px solid var(--succes); }

/* ---- Tableaux ---- */
.table-conteneur { overflow-x: auto; }
table.tableau { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tableau th { text-align: start; font-weight: 600; color: var(--encre-2); background: var(--surface-2); border-block-end: 1px solid var(--trait-fort); padding: .55rem .7rem; font-size: .84rem; white-space: nowrap; position: sticky; top: 0; }
.tableau td { padding: .5rem .7rem; border-block-end: 1px solid var(--trait); vertical-align: top; }
.tableau tbody tr:hover { background: var(--surface-2); }
.tableau tr.section td { background: var(--marine-clair); font-weight: 600; color: var(--marine-fonce); }
.tableau tr.sous-section td { background: var(--surface-2); font-weight: 600; font-size: .88rem; }
.tableau tfoot td { font-weight: 600; background: var(--surface-2); border-block-start: 1px solid var(--trait-fort); }
.tableau .saisie { display: block; font-size: .8rem; color: var(--discret); margin-top: .1rem; }
.tableau.compact td, .tableau.compact th { padding: .35rem .55rem; }
.vide { padding: 2rem; text-align: center; color: var(--discret); }

/* ---- Badges ---- */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .5rem; border-radius: 99px; font-size: .76rem; font-weight: 600; white-space: nowrap; background: var(--marine-clair); color: var(--marine); }
.badge-gris { background: var(--trait); color: var(--discret); }
.badge-succes { background: var(--succes-clair); color: var(--succes); }
.badge-avert { background: var(--avert-clair); color: var(--avert); }
.badge-danger { background: var(--danger-clair); color: var(--danger); }
.badge-info { background: var(--info-clair); color: var(--info); }

/* ---- Barres de progression ---- */
.jauge { display: flex; align-items: center; gap: .5rem; min-width: 120px; }
.jauge-piste { flex: 1; height: 7px; border-radius: 99px; background: var(--trait); overflow: hidden; }
.jauge-valeur { height: 100%; border-radius: 99px; background: var(--succes); }
.jauge-valeur.moyen { background: #ffad1f; }
.jauge-valeur.faible { background: var(--danger); }
.jauge-texte { font-size: .82rem; font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: end; }

/* ---- Boutons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-radius: 9999px; padding: .45rem 1rem; font: inherit; font-size: .93rem; font-weight: 600; border: 1px solid var(--trait-fort); background: var(--surface); color: var(--encre); cursor: pointer; line-height: 1.3; white-space: nowrap; text-decoration: none !important; }
.btn:hover { background: var(--surface-2); border-color: var(--trait-fort); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #8ecdf7; outline-offset: 1px; }
.btn-primaire { background: var(--marine); border-color: var(--marine); color: #fff; font-weight: 700; }
.btn-primaire:hover { background: var(--marine-fonce); border-color: var(--marine-fonce); }
.btn-succes { background: var(--succes); border-color: var(--succes); color: #fff; }
.btn-succes:hover { background: #007f5a; }
.btn-danger { color: var(--danger); border-color: #f5b8cb; }
.btn-danger:hover { background: var(--danger-clair); }
.btn-lien { border-color: transparent; background: transparent; color: var(--marine); padding-inline: .4rem; }
.btn-petit { padding: .25rem .55rem; font-size: .84rem; }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }

/* ---- Formulaires ---- */
form { margin: 0; }
.champ { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .85rem; }
.champ label, .etiquette { font-size: .86rem; font-weight: 500; color: var(--encre-2); }
.champ .aide { font-size: .8rem; color: var(--discret); }
input[type=text], input[type=password], input[type=number], input[type=date], input[type=search], input[type=email], input[type=file], select, textarea {
  font: inherit; font-size: .95rem; color: var(--encre); background: #fff; border: 1px solid var(--trait-fort); border-radius: 8px; padding: .45rem .65rem; width: 100%; min-width: 0; }
input[type=number] { text-align: end; }
textarea { min-height: 90px; resize: vertical; }
textarea.code { font-family: var(--mono); font-size: .85rem; min-height: 420px; line-height: 1.5; tab-size: 2; }
input:disabled, select:disabled { background: var(--surface-2); color: var(--discret); }
.grille-form { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.case { display: flex; align-items: center; gap: .45rem; font-size: .93rem; }
.filtres { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; padding: .8rem 1rem; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); margin-bottom: 1rem; }
.filtres .champ { margin: 0; min-width: 150px; }
.filtres .champ.large { min-width: 240px; }
.erreur-champ { color: var(--danger); font-size: .82rem; }

/* ---- Onglets ---- */
.onglets { display: flex; gap: .25rem; border-block-end: 1px solid var(--trait); margin-bottom: 1rem; overflow-x: auto; }
.onglets button, .onglets a { background: none; border: 0; border-block-end: 2px solid transparent; padding: .6rem .9rem; font: inherit; color: var(--discret); cursor: pointer; white-space: nowrap; }
.onglets button.actif, .onglets a.actif { color: var(--marine); border-color: var(--marine); font-weight: 600; }
.onglets .compteur { font-size: .75rem; background: var(--trait); border-radius: 99px; padding: 0 .4rem; margin-inline-start: .3rem; }

/* ---- Frise du circuit ---- */
.frise { list-style: none; margin: 0; padding: 0; }
.frise li { position: relative; padding: 0 0 1rem 1.6rem; }
.frise li::before { content: ""; position: absolute; inset-inline-start: 5px; top: 6px; bottom: -6px; width: 2px; background: var(--trait); }
.frise li:last-child::before { display: none; }
.frise li::after { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--marine); }
.frise li.terminale::after { background: var(--succes); border-color: var(--succes); }
.frise .quand { font-size: .82rem; color: var(--discret); }
.frise .delai { font-size: .75rem; background: var(--trait); border-radius: 99px; padding: 0 .45rem; margin-inline-start: .35rem; }

/* ---- Éditeur de lignes ---- */
.editeur td { padding: .3rem .35rem; }
.editeur input, .editeur select { padding: .32rem .45rem; font-size: .9rem; }
.autocomplete { position: relative; }
.suggestions { position: absolute; inset-inline: 0; top: 100%; z-index: 30; background: #fff; border: 1px solid var(--trait-fort); border-radius: 6px; box-shadow: 0 8px 24px rgba(16, 24, 40, .14); max-height: 300px; overflow-y: auto; margin-top: 2px; min-width: 380px; }
.suggestions button { display: block; width: 100%; text-align: start; border: 0; background: none; padding: .45rem .65rem; font: inherit; cursor: pointer; border-block-end: 1px solid #f0f2f5; }
.suggestions button.actif, .suggestions button:hover { background: var(--marine-clair); }
.suggestions .code { font-family: var(--mono); font-size: .78rem; color: var(--discret); }
.suggestions .libelle-proche { font-size: .78rem; color: var(--discret); }

/* ---- Import : rapprochement ---- */
.ligne-import.resolue td:first-child { border-inline-start: 3px solid var(--succes); }
.ligne-import.a-valider td:first-child { border-inline-start: 3px solid var(--avert); }
.ligne-import.ignoree { opacity: .55; }
.ligne-import.ignoree td:first-child { border-inline-start: 3px solid #b9c2cc; }
.confiance { font-size: .78rem; font-variant-numeric: tabular-nums; }
.choix-article { display: flex; flex-direction: column; gap: .3rem; min-width: 280px; }
.choix-article label { display: flex; gap: .4rem; align-items: flex-start; font-size: .88rem; cursor: pointer; }

/* ---- Graphiques ---- */
.graphique { position: relative; height: 290px; }
.graphique.haut { height: 360px; }
.legende-explication { font-size: .84rem; color: var(--discret); }
details.explication { background: var(--surface-2); border: 1px solid var(--trait); border-radius: var(--rayon); padding: .6rem .9rem; margin-bottom: 1rem; font-size: .9rem; }
details.explication summary { cursor: pointer; font-weight: 500; color: var(--encre-2); }
details.explication ul { margin: .5rem 0 .2rem; padding-inline-start: 1.2rem; }

/* ---- Pagination ---- */
.pagination { display: flex; gap: .3rem; align-items: center; justify-content: flex-end; padding: .7rem 1rem; font-size: .9rem; color: var(--discret); }

/* ---- Dialogues ---- */
dialog { border: 0; border-radius: 10px; padding: 0; box-shadow: 0 24px 64px rgba(16, 24, 40, .28); width: min(760px, 94vw); }
dialog::backdrop { background: rgba(15, 25, 40, .45); }
.dialogue-entete { padding: 1rem 1.2rem; border-block-end: 1px solid var(--trait); display: flex; justify-content: space-between; align-items: center; }
.dialogue-corps { padding: 1rem 1.2rem; max-height: 65vh; overflow-y: auto; }
.dialogue-pied { padding: .8rem 1.2rem; border-block-start: 1px solid var(--trait); display: flex; justify-content: flex-end; gap: .5rem; background: var(--surface-2); }

/* ---- Connexion ---- */
.page-connexion { min-height: 100vh; display: grid; place-items: center; background: var(--fond); padding: 1rem; }
.boite-connexion { width: min(400px, 100%); background: #fff; border-radius: 16px; border: 1px solid var(--trait); padding: 2.2rem 2rem; }
.boite-connexion .marque-nom { color: var(--marine); justify-content: center; font-size: 1.6rem; }
.boite-connexion .marque-sous { text-align: center; color: var(--discret); margin-bottom: 1.5rem; }

.indicateur-htmx { display: none; }
.htmx-request .indicateur-htmx, .htmx-request.indicateur-htmx { display: inline-block; }
.chargement { width: 14px; height: 14px; border: 2px solid var(--trait-fort); border-top-color: var(--marine); border-radius: 50%; animation: tourne .7s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .barre-laterale { position: static; height: auto; }
  .nav { display: flex; flex-wrap: wrap; gap: .2rem; padding-bottom: .6rem; }
  .nav-titre { display: none; }
  .grille-2, .grille-3, .grille-4 { grid-template-columns: 1fr; }
  .contenu { padding: 1rem; }
}

/* ---- Vue imprimable des documents ---- */
.impression { background: #fff; color: #191919; font-size: 10pt; max-width: 210mm; margin: 0 auto; padding: 12mm; }
.impression.paysage { max-width: 297mm; }
.impression .imp-entete { display: grid; grid-template-columns: 1fr auto; gap: 0 1rem; }
.impression .imp-entete .premiere { font-weight: 700; font-size: 11.5pt; color: #162b48; }
.impression .imp-titre { text-align: center; font-weight: 700; font-size: 14pt; color: #162b48; margin: 1.2rem 0 .3rem; padding-bottom: .2rem; border-bottom: 1.5px solid #162b48; }
.impression .imp-titre.gauche { text-align: start; font-size: 20pt; border: 0; }
.impression .imp-rappel { text-align: center; color: #5a6470; font-size: 9pt; }
.impression .imp-ligne { display: flex; justify-content: space-between; font-size: 10pt; margin: .5rem 0; }
.impression .imp-encadre { border: 2px solid #162b48; background: #eef3f8; font-weight: 700; text-align: center; padding: .4rem; margin: .6rem 0; color: #162b48; }
.impression table { width: 100%; border-collapse: collapse; font-size: 8.5pt; margin-top: .6rem; }
.impression th { background: #1f3a5f; color: #fff; border: 1px solid #1f3a5f; padding: 4px; white-space: pre-line; }
.impression td { border: 1px solid #96a0ac; padding: 3px 4px; vertical-align: top; }
.impression tr.section1 td { background: #d6e1ed; font-weight: 700; color: #162b48; }
.impression tr.section2 td { background: #eef3f8; font-weight: 600; }
.impression .imp-objet { text-align: justify; margin-top: .6rem; }
.impression .imp-mentions p { font-size: 8.5pt; text-align: justify; margin: .35rem 0; }
.impression .imp-signatures { display: flex; justify-content: flex-end; gap: 2rem; margin-top: 1.5rem; }
.impression .imp-signatures.plusieurs { justify-content: space-around; }
.impression .imp-signature { text-align: center; font-weight: 700; min-width: 40%; }
.impression .imp-signature .nom { font-weight: 400; margin-top: 3rem; }
.barre-impression { display: flex; gap: .5rem; justify-content: center; padding: .8rem; background: var(--fond); border-bottom: 1px solid var(--trait); }
@media print {
  @page { size: A4; margin: 10mm; }
  .barre-impression { display: none; }
  .impression { padding: 0; max-width: none; }
  .impression thead { display: table-header-group; }
  .impression tr { page-break-inside: avoid; }
}

/* ---- Paramètres : liste de liens ---- */
.ligne-lien { display: flex; align-items: center; gap: .8rem; padding: .8rem 1.1rem; color: inherit; text-decoration: none; border-block-end: 1px solid var(--trait); }
.ligne-lien:last-child { border-block-end: 0; }
.ligne-lien:hover { background: var(--fond); }
.ligne-lien > span:first-of-type { flex: 1; display: flex; flex-direction: column; }
.ligne-lien svg { color: var(--marine); flex-shrink: 0; }

/* ---- Guide « Bien démarrer » ---- */
.guide { list-style: none; margin: 0; padding: 0; counter-reset: etape; display: grid; gap: 1rem; }
.guide > li { counter-increment: etape; position: relative; margin: 0; }
.guide > li .carte-corps { padding-inline-start: 4.2rem; }
.guide > li::before { content: counter(etape); position: absolute; inset-inline-start: 1.1rem; top: 1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--marine); color: #fff; display: grid; place-items: center; font-weight: 700; }
.guide h2 { margin: .15rem 0 .35rem; font-size: 1.05rem; }
.guide p { margin: 0 0 .7rem; color: var(--discret); max-width: 72ch; line-height: 1.6; }
.definitions { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.2rem; margin: 0; }
.definitions dt { font-weight: 700; }
.definitions dd { margin: 0; color: var(--discret); }
@media (max-width: 640px) { .definitions { grid-template-columns: 1fr; } .definitions dd { margin-bottom: .5rem; } }

/* ---- Fiche : prochaine étape ---- */
.prochaine-etape { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: .9rem 1.1rem; margin-bottom: 1rem; border: 1px solid #bfe3fb; background: var(--info-clair); border-radius: var(--rayon); }
.prochaine-etape .libelle { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--marine); }
.prochaine-etape .texte { font-weight: 600; }
.prochaine-etape.terminee { background: var(--succes-clair); border-color: #b3e6d5; }
.prochaine-etape.terminee .libelle { color: var(--succes); }
