/* FretZen Connect : charte transcrite de la maquette. Aucun style en ligne, aucune ressource externe.
   Aucune valeur de couleur n'est écrite ailleurs que dans ce bloc :root : chaque couleur y porte le nom de son rôle. */

/* Polices de la charte, livrées avec l'application (licence SIL Open Font License 1.1, textes à côté des fichiers) :
   Outfit pour les titres et les grands chiffres (une seule graisse : 600), Inter pour tout le reste (police variable). */
@font-face { font-family: "Outfit"; src: url("/static/polices/Outfit-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/polices/InterVariable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --encre: #0E2A38;
  --encre-2: #1F3D4D;
  --orange: #E4570B;
  --orange-fonce: #C94A06;
  /* Une couleur, un sens : l'orange désigne l'action principale (bouton) et le repère « où suis-je » (trait du menu) ;
     le bleu désigne les liens de texte, toujours soulignés. Rapports de contraste du bleu, recalculés (WCAG) :
     --lien #0E5A7E : 7,55:1 sur blanc, 6,88:1 sur le fond de page #F2F5F4, 6,61:1 sur le bandeau d'information #E3F2FD.
     --lien-survol #0A4560 : 10,33:1 sur blanc, 9,42:1 sur le fond de page, 9,04:1 sur le bandeau d'information. */
  --lien: #0E5A7E;
  --lien-survol: #0A4560;
  --brume: #F2F5F4;
  --ligne: #DCE3E2;
  --ligne-claire: #EEF2F1;
  --bord-carte: #C5D0CE;       /* bord des cartes : 1,44:1 sur le fond de page (1,19:1 avec --ligne) */
  --ardoise: #5B6B73;
  --bord-champ: #7C8B91;
  --blanc: #FFFFFF;
  --orange-survol: #B24104;    /* bouton principal au survol : blanc dessus 5,75:1 (au repos #C94A06 : 4,70:1) */
  --menu-texte: #C9D6DA;       /* texte des liens du menu, sur le fond encre */
  --menu-texte-doux: #B9C7CB;  /* texte secondaire du menu */
  --menu-bord: #5E7C8A;        /* contour des boutons du menu */
  --menu-separateur: #27495A;  /* filet du menu ; fond d'un bouton du menu désactivé (blanc dessus 9,6:1) */

  /* Couleurs d'état : succès, avertissement, erreur, information (+ violet et gris des pastilles). Elles ne changent pas. */
  --info-fond: #E3F2FD;
  --info-bord: #B6D9F5;
  --info-texte: #0D47A1;
  --succes-fond: #E8F5E9;
  --succes-bord: #B7DDBA;
  --succes-texte: #1B5E20;
  --avertissement-fond: #FFF7ED;
  --avertissement-bord: #F1D3AE;
  --avertissement-texte: #7A3A06;     /* texte d'un bandeau d'avertissement */
  --avertissement-pastille: #B45309;  /* texte d'une pastille ambre */
  --erreur-fond: #FEF2F2;
  --erreur-bord: #F3C2C2;
  --erreur: #B91C1C;                  /* texte d'erreur, bord d'un champ en erreur, bouton danger */
  --erreur-fonce: #991B1B;            /* texte d'un bandeau d'erreur, bouton danger au survol */
  --violet-fond: #EDE7F6;
  --violet-texte: #4A148C;

  --largeur-lecture: 65ch;     /* un paragraphe ne dépasse pas environ 75 caractères par ligne (Inter : 65ch ≈ 75 signes) */
  --police-titre: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --police-texte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Échelle typographique : six tailles seulement, relatives (le réglage de taille de texte du navigateur s'applique). */
  --taille-legende: 0.8125rem;      /* légendes, en-têtes de tableau, pastilles */
  --taille-secondaire: 0.875rem;    /* texte secondaire, libellés */
  --taille-texte: 1rem;             /* texte courant et champs de saisie (16 px au moins : pas de zoom sur iPhone) */
  --taille-section: 1.25rem;        /* titres de section, titre d'une offre */
  --taille-page: 1.875rem;          /* titre de page */
  --taille-grand: 2.5rem;           /* grand prix, valeur d'une tuile */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--brume); color: var(--encre); font-family: var(--police-texte);
  font-size: var(--taille-texte); line-height: 1.5; overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--police-titre); font-weight: 600; margin: 0; }
h1 { font-size: var(--taille-page); }
h2 { font-size: var(--taille-section); }
h3 { font-size: var(--taille-texte); }
code, pre { font-size: var(--taille-secondaire); }
p { margin: 0 0 12px; max-width: var(--largeur-lecture); }
.suivi-public__logo { max-width: none; }   /* bandeau du logo : une boîte, pas un paragraphe de lecture */
a { color: var(--lien); text-decoration: underline; text-underline-offset: 0.15em; }
a:hover { color: var(--lien-survol); }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }   /* l'attribut hidden l'emporte sur tout display (menu replié, lignes de colis, aperçu) */
:focus-visible { outline: 3px solid var(--encre); outline-offset: 2px; }

/* ---- lien d'évitement : hors écran au repos, visible quand il reçoit le focus (encre sur blanc : plus de 15:1) ---- */
.lien-evitement { position: absolute; left: -10000px; top: 8px; z-index: 100; padding: 12px 16px; border-radius: 10px;
  background: var(--blanc); color: var(--encre); border: 2px solid var(--encre); font-weight: 600; }
.lien-evitement:focus { left: 8px; }
.contenu:focus { outline: none; }   /* cible du lien d'évitement : pas un contrôle, pas d'anneau */

/* ---- structure ---- */
.app { display: flex; min-height: 100vh; }
.menu { flex: 0 0 232px; background: var(--encre); padding: 28px 16px; display: flex; flex-direction: column; gap: 24px; }
.menu :focus-visible { outline-color: var(--blanc); }
.menu__tete { display: flex; flex-direction: column; gap: 24px; }
.menu__corps { display: flex; flex-direction: column; gap: 24px; flex: 1 1 auto; }
.menu__logo { margin-left: 8px; display: inline-block; line-height: 0; }
.menu__logo img { display: block; width: 129px; height: 30px; }
.menu__liens { display: flex; flex-direction: column; gap: 8px; }
.menu__lien { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px;
  color: var(--menu-texte); font-weight: 500; text-decoration: none; }
.menu__lien:hover { background: var(--encre-2); color: var(--blanc); }
.menu__lien[aria-current="page"] { background: var(--encre-2); color: var(--blanc); font-weight: 600; }
/* Repère « où suis-je » : trait orange de 3 px au bord du menu, à gauche du lien actif (4,03:1 sur le fond du menu). */
.menu__lien[aria-current="page"]::before { content: ""; position: absolute; left: -16px; top: 6px; bottom: 6px;
  width: 3px; border-radius: 2px; background: var(--orange); }
.menu__action[aria-current="page"] { border-color: var(--blanc); }
.menu__bouton { display: none; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid var(--menu-bord); background: transparent; color: var(--blanc); font: inherit;
  font-weight: 600; cursor: pointer; }
.menu__bouton:hover { background: var(--encre-2); }
.menu__pied { margin-top: auto; padding: 16px 12px 0; border-top: 1px solid var(--menu-separateur); display: flex;
  flex-direction: column; gap: 2px; }
.menu__entreprise { color: var(--blanc); font-weight: 600; font-size: var(--taille-secondaire); }
.menu__utilisateur { color: var(--menu-texte-doux); font-size: var(--taille-legende); }
.menu__pied form { margin: 10px 0 0; }
.menu__deconnexion { min-height: 44px; width: 100%; padding: 0 12px; border-radius: 999px; background: transparent;
  color: var(--blanc); border: 1.5px solid var(--menu-bord); font: inherit; font-weight: 600; cursor: pointer; }
.menu__deconnexion:hover { background: var(--encre-2); }
.contenu { flex: 1 1 0; min-width: 0; padding: 32px 28px 48px; display: flex; flex-direction: column; gap: 24px; }
.app--seul .contenu { align-items: center; justify-content: center; }

/* Ordinateur : le menu reste visible quand la page défile ; il défile seul s'il est plus haut que l'écran. */
@media (min-width: 761px) {
  .menu { position: sticky; top: 0; align-self: flex-start; height: 100vh; height: 100dvh; overflow-y: auto; }
}

@media (max-width: 760px) {
  .app { flex-direction: column; }
  .menu { flex: none; padding: 16px; gap: 16px; }
  .menu__liens { flex-direction: row; flex-wrap: wrap; }
  .menu__lien { flex: 1 1 150px; }
  .menu__pied { margin-top: 0; }
  .contenu { padding: 20px 16px 40px; }
  /* Amélioration progressive : app.js ajoute .menu--repliable. Sans lui, le menu complet reste affiché. */
  .menu--repliable .menu__tete { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
  .menu--repliable .menu__bouton { display: inline-flex; margin-left: auto; }
  .menu--repliable .menu__corps { gap: 16px; }
}

/* ---- en-têtes de page ---- */
.entete-page { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.titre-page { font-size: var(--taille-page); line-height: 1.15; letter-spacing: -0.015em; }
.titre-section { font-size: var(--taille-section); margin-bottom: 12px; }
.sous-titre { margin: 4px 0 0; color: var(--ardoise); }
.texte-secondaire { color: var(--ardoise); font-size: var(--taille-secondaire); }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; }
.fil-ariane { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--taille-secondaire); color: var(--ardoise);
  list-style: none; margin: 0; padding: 0; }
.fil-ariane li + li::before { content: "/"; margin-right: 6px; }

/* ---- le « fil de route » : signature du produit, un trajet (point, ligne, point) entre l'origine et la destination ----
   Ni lien ni bouton : un tracé décoratif (aria-hidden) ; le texte lisible reste « Ville (pays) vers Ville (pays) ».
   Point de départ : contour d'encre ; ligne : couleur de bordure des champs ; point d'arrivée : plein, orange foncé.
   Sur téléphone, quand les deux noms sont longs (classe --long, décidée par le gabarit), le tracé passe à la verticale :
   origine, puis destination, la ligne entre les deux. Aucun mouvement. */
.fil-route { display: inline-flex; align-items: center; gap: 0 10px; max-width: 100%; }
.fil-route__lieu { min-width: 0; }
.fil-route__trace { position: relative; flex: 0 0 3.5rem; width: 3.5rem; height: 12px;
  background: linear-gradient(var(--bord-champ), var(--bord-champ)) 12px 50% / calc(100% - 24px) 2px no-repeat; }
.fil-route__trace::before, .fil-route__trace::after { content: ""; position: absolute; top: 0; width: 12px; height: 12px;
  box-sizing: border-box; border-radius: 50%; }
.fil-route__trace::before { left: 0; border: 2px solid var(--encre); }
.fil-route__trace::after { right: 0; background: var(--orange-fonce); }
@media (max-width: 760px) {
  .fil-route--long { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 0.75rem 10px; align-items: start; }
  .fil-route--long .fil-route__lieu:first-child { grid-column: 2; grid-row: 1; }
  .fil-route--long .fil-route__lieu:last-child { grid-column: 2; grid-row: 2; }
  .fil-route--long .fil-route__trace { grid-column: 1; grid-row: 1 / 3; align-self: stretch; width: 12px; height: auto;
    background: linear-gradient(var(--bord-champ), var(--bord-champ)) 50% 1.125rem / 2px calc(100% - 2.25rem) no-repeat; }
  .fil-route--long .fil-route__trace::before { top: 0.375rem; }
  .fil-route--long .fil-route__trace::after { top: auto; bottom: 0.375rem; right: auto; left: 0; }
  .fil-route--long + .sep { display: none; }   /* le « · » qui suivait le tracé n'a plus de raison d'être : la suite passe à la ligne */
}

/* ---- boutons ---- */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 600; text-decoration: none;
  cursor: pointer; text-align: center; }
.bouton--principal { background: var(--orange-fonce); color: var(--blanc); }
.bouton--principal:hover { background: var(--orange-survol); color: var(--blanc); }
.bouton--secondaire { background: transparent; border-color: var(--encre); color: var(--encre); }
.bouton--secondaire:hover { background: var(--ligne-claire); color: var(--encre); }
.bouton--danger { background: var(--erreur); color: var(--blanc); }
.bouton--danger:hover { background: var(--erreur-fonce); color: var(--blanc); }
.bouton--petit { padding: 0 16px; font-size: var(--taille-secondaire); }
/* États désactivés : couleurs pleines, jamais de transparence ; le texte reste lisible (4,5:1 au moins).
   principal et danger : blanc #FFFFFF sur #5B6B73 = 5,5:1 ; secondaire : #5B6B73 sur #EEF2F1 = 4,9:1 ;
   déconnexion : blanc #FFFFFF sur #27495A = 9,6:1. */
.bouton:disabled, .bouton[disabled] { cursor: not-allowed; }
.bouton--principal:disabled, .bouton--principal[disabled], .bouton--danger:disabled, .bouton--danger[disabled] {
  background: var(--ardoise); border-color: var(--ardoise); color: var(--blanc); }
.bouton--secondaire:disabled, .bouton--secondaire[disabled] { background: var(--ligne-claire); border-color: var(--ardoise);
  color: var(--ardoise); }
.menu__deconnexion:disabled { background: var(--menu-separateur); border-color: var(--menu-separateur); color: var(--blanc); cursor: not-allowed; }
.barre-outils { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---- cartes et tuiles (bord renforcé, sans ombre) ---- */
.carte { background: var(--blanc); border: 1px solid var(--bord-carte); border-radius: 14px; padding: 20px;
  display: flex; flex-direction: column; }
.carte--centree { max-width: 560px; }
.tuiles { display: flex; flex-wrap: wrap; gap: 16px; }
.tuile { flex: 1 1 180px; background: var(--blanc); border: 1px solid var(--bord-carte); border-radius: 14px;
  padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.tuile__valeur { font-family: var(--police-titre); font-weight: 600; font-size: var(--taille-grand); line-height: 1; }
.tuile__libelle { font-size: var(--taille-legende); font-weight: 500; color: var(--ardoise); }
.deux-colonnes { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.deux-colonnes > :first-child { flex: 2 1 520px; min-width: 0; }
.deux-colonnes > :last-child { flex: 1 1 300px; min-width: 0; }

/* ---- tableaux ---- */
.tableau-defilant { overflow-x: auto; max-width: 100%; }
.tableau { width: 100%; border-collapse: collapse; font-size: var(--taille-secondaire); }
.tableau th { text-align: left; padding: 10px; font-size: var(--taille-legende); font-weight: 500; color: var(--ardoise);
  border-bottom: 1px solid var(--ligne); }
.tableau td { padding: 12px 10px; border-bottom: 1px solid var(--ligne-claire); vertical-align: middle; }
.tableau tr:last-child td { border-bottom: 0; }
.tableau .droite { text-align: right; }
/* Une cellule tient sur une ligne (référence, date, prix, actions) ; seules les cellules de texte long se replient. */
.tableau td { white-space: nowrap; }
.tableau th { overflow-wrap: normal; word-break: normal; }   /* un en-tête se replie entre deux mots, jamais au milieu */
.tableau td.texte-long { white-space: normal; min-width: 96px; overflow-wrap: normal; word-break: normal; }
/* Liens d'action (Expédier à nouveau, Suivre, Télécharger…) : zone de clic de 44 px de haut, agrandie par du remplissage. */
.tableau td a:not(.bouton), .liste-documents a:not(.bouton), .alerte-ligne a:not(.bouton) { display: inline-flex;
  align-items: center; min-height: 44px; padding: 0 8px; }
/* Ordinateur : la zone de clic de 44 px n'est plus portée par la hauteur du lien (elle agrandissait la ligne) mais par un
   pseudo-élément positionné, qui déborde sur le remplissage de la cellule sans rien pousser : une ligne dont le contenu
   tient sur une ligne reste sous 56 px de haut. */
@media (min-width: 761px) {
  .tableau td a:not(.bouton) { display: inline; min-height: 0; padding: 0; margin: 0; position: relative; }
  .tableau td a:not(.bouton)::after { content: ""; position: absolute; top: -12px; bottom: -12px; left: -4px; right: -4px; }
}
.liens-actions { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
/* Champs dans un tableau : même style que les autres champs (44 px, bord, rayon, police héritée, 16 px). */
.tableau input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .tableau select {
  width: 100%; min-width: 7rem; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--bord-champ);
  border-radius: 10px; background: var(--blanc); color: var(--encre); font-family: inherit;
  font-size: var(--taille-texte); }

/* Téléphone : chaque ligne devient une fiche empilée. L'en-tête est masqué visuellement (il reste lu par les
   lecteurs d'écran) et chaque cellule affiche son intitulé, repris de son attribut data-label. */
@media (max-width: 760px) {
  .tableau, .tableau tbody, .tableau tfoot, .tableau tr, .tableau td, .tableau tfoot th { display: block; width: 100%; }
  .tableau thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tableau tr { padding: 10px 0; border-bottom: 1px solid var(--ligne); }
  .tableau tbody tr:last-child, .tableau tfoot tr:last-child { border-bottom: 0; }
  /* Fiche compacte : la colonne de gauche est réservée à l'intitulé (placé en position absolue dans un retrait de la
     cellule), la valeur reste dans sa colonne, quelle que soit sa forme : texte qui passe à la ligne, lien, plusieurs
     pastilles. Rien ne retombe sous l'intitulé. */
  .tableau td, .tableau td.texte-long { position: relative; display: block; padding: 3px 0 3px calc(9.25rem + 12px);
    border-bottom: 0; white-space: normal; min-width: 0; overflow-wrap: anywhere; text-align: left; }
  .tableau td::before { content: attr(data-label); position: absolute; left: 0; top: 3px; width: 9.25rem;
    font-size: var(--taille-legende); font-weight: 500; line-height: 1.5; color: var(--ardoise); overflow-wrap: normal; }
  .tableau td[data-label=""] { padding-left: 0; }
  .tableau td[data-label=""]::before { content: none; }
  .tableau .droite { text-align: left; }
  .tableau tfoot th { padding: 6px 0; }
  .tableau td a:not(.bouton) { margin: 0 0 0 -8px; }   /* le remplissage de 8 px du lien reste hors de la colonne de valeur */
  .tableau input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .tableau select { min-width: 0; }
}

/* ---- pastilles ---- */
.pastille { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: var(--taille-legende); font-weight: 600;
  white-space: nowrap; border: 1px solid transparent; }
.pastille--bleu { background: var(--info-fond); color: var(--info-texte); }
.pastille--violet { background: var(--violet-fond); color: var(--violet-texte); }
.pastille--vert { background: var(--succes-fond); color: var(--succes-texte); }
.pastille--ambre { background: var(--avertissement-fond); color: var(--avertissement-pastille); }
.pastille--rouge { background: var(--erreur-fond); color: var(--erreur); }
.pastille--gris { background: var(--brume); color: var(--ardoise); border-color: var(--ligne); }

/* ---- formulaires ---- */
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label { font-size: var(--taille-secondaire); font-weight: 500; }
.champ input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .champ select, .champ textarea {
  width: 100%; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--bord-champ); border-radius: 10px;
  background: var(--blanc); color: var(--encre); font-family: inherit; font-size: var(--taille-texte); }
.champ textarea { padding: 10px 12px; min-height: 96px; resize: vertical; }
.champ--erreur input, .champ--erreur select, .champ--erreur textarea, .champ input[aria-invalid="true"],
.champ select[aria-invalid="true"], .champ textarea[aria-invalid="true"] { border-color: var(--erreur); }
.champ__erreur { color: var(--erreur); font-size: var(--taille-secondaire); font-weight: 500; }
/* Champs désactivés : couleurs pleines (texte #5B6B73 sur #EEF2F1 = 4,9:1), jamais de transparence. */
input:disabled, select:disabled, textarea:disabled { background: var(--ligne-claire); color: var(--ardoise);
  -webkit-text-fill-color: var(--ardoise); opacity: 1; cursor: not-allowed; }
.formulaire-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.formulaire-colonne { display: flex; flex-direction: column; gap: 16px; }

/* Cases à cocher et boutons radio : un seul style, 22 × 22 px dans une zone cliquable de 44 px de haut. */
.case, .groupe label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; }
.groupe label { display: inline-flex; }
.case input[type="checkbox"], .case input[type="radio"], .groupe input[type="checkbox"], .groupe input[type="radio"],
.champ .case input { flex: none; width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; accent-color: var(--encre); }
.groupe { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.groupe legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.groupe--colonne { flex-direction: column; flex-wrap: nowrap; gap: 8px; }
.champ-court { width: auto; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--bord-champ); border-radius: 10px;
  font-family: inherit; font-size: var(--taille-texte); }

/* ---- bandeaux ---- */
.bandeau { margin: 0; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--bord-carte); background: var(--blanc);
  max-width: calc(var(--largeur-lecture) + 38px); }   /* largeur de lecture + remplissage et bords : le texte reste sous ~75 signes */
.bandeau--avertissement { background: var(--avertissement-fond); border-color: var(--avertissement-bord); color: var(--avertissement-texte); }
.bandeau--info { background: var(--info-fond); border-color: var(--info-bord); color: var(--info-texte); }
.bandeau--succes { background: var(--succes-fond); border-color: var(--succes-bord); color: var(--succes-texte); }
.bandeau--erreur { background: var(--erreur-fond); border-color: var(--erreur-bord); color: var(--erreur-fonce); }
.bandeau--demo { padding: 8px 14px; font-size: var(--taille-secondaire); border-radius: 10px; }
/* Bandeau avec un bouton d'annulation (suppression, abandon, retrait) : le message à gauche, le bouton à droite. */
.bandeau--action { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.bandeau--action form { margin: 0; }

/* ---- pagination, étapes ---- */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: var(--taille-secondaire); color: var(--ardoise); }
.etapes { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; counter-reset: etape; }
.etapes li { display: flex; align-items: center; gap: 8px; color: var(--ardoise); font-weight: 500; counter-increment: etape; }
.etapes li::before { content: counter(etape); display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--bord-champ); font-size: var(--taille-secondaire); }
.etapes li[aria-current="step"] { color: var(--encre); font-weight: 600; }
.etapes li[aria-current="step"]::before { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
/* Étape franchie : une coche (le texte « étape terminée » est lu par les lecteurs d'écran). */
.etapes li.etape--faite::before { content: "\2713"; background: var(--ligne-claire); border-color: var(--encre);
  color: var(--encre); font-weight: 700; }

/* ---- page de connexion ---- */
.connexion { width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 16px; }
.connexion__entete { background: var(--encre); border-radius: 14px; padding: 20px 24px; line-height: 0; }
.connexion .carte { gap: 4px; }
.connexion .formulaire-colonne { margin-top: 12px; }

/* Inscription en ligne : champ piège contre les robots (sorti de l'écran, jamais display:none pour rester tentant) */
.champ-piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.champ__aide { color: var(--ardoise); font-size: var(--taille-secondaire); }
