/* ---------------------------------------------------------------------------
   Site de pilotage — feuille unique.
   Bleu nuit, ocre, crème. Une famille, deux graisses. Filets de 0,5 px,
   angles peu arrondis, aucun dégradé, aucune ombre portée.
   Le compteur du jour est le seul élément dont la taille est spectaculaire.
   --------------------------------------------------------------------------- */

:root {
    --fond:       #f4f2ee;
    --surface:    #ffffff;
    --texte:      #16233b;
    --texte-doux: #5c6779;
    --accent:     #a8521f;
    --trait:      rgba(22, 35, 59, .17);
    --trait-fort: rgba(22, 35, 59, .34);
    --filet:      1px;
    --rayon:      2px;
    --large:      44rem;
}

/* Le filet de 0,5 px n'a de sens que là où l'écran sait le rendre. */
@media (min-resolution: 1.5dppx) {
    :root { --filet: .5px; }
}

@media (prefers-color-scheme: dark) {
    :root {
        --fond:       #11161f;
        --surface:    #161d28;
        --texte:      #e9e7e2;
        --texte-doux: #99a2b1;
        --accent:     #cf7a41;
        --trait:      rgba(233, 231, 226, .17);
        --trait-fort: rgba(233, 231, 226, .34);
    }
}

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

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

body {
    margin: 0;
    background: var(--fond);
    color: var(--texte);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

.enveloppe {
    max-width: var(--large);
    margin: 0 auto;
    padding: 1.5rem 1rem calc(3rem + env(safe-area-inset-bottom));
}

/* --- En-tête : la date, la semaine, le compteur ---------------------------- */

.entete {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.1rem;
    border-bottom: var(--filet) solid var(--trait);
}

.entete-jour { min-width: 0; }

.date {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -.01em;
}

.semaine {
    margin: .15rem 0 0;
    font-size: .82rem;
    color: var(--texte-doux);
    font-variant-numeric: tabular-nums;
}

.compteur {
    text-align: right;
    flex: none;
}

.compteur-nombre {
    display: block;
    font-size: clamp(3.25rem, 15vw, 5.25rem);
    line-height: .85;
    font-weight: 600;
    letter-spacing: -.035em;
    /* Chiffres tabulaires : sinon le nombre saute d'un pixel chaque jour. */
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

.compteur-libelle {
    display: block;
    margin-top: .35rem;
    font-size: .88rem;
    color: var(--texte-doux);
}

.compteur-taux {
    display: block;
    font-size: .76rem;
    color: var(--texte-doux);
    font-variant-numeric: tabular-nums;
}

/* Tant qu'aucune journée n'est close, il n'y a pas de taux — et pas de ligne
   vide non plus. */
.compteur-taux:empty { display: none; }

/* --- Barre de chrono ------------------------------------------------------ */
/* Elle colle en haut de l'écran tant qu'un chrono tourne. Un chrono qu'on ne
   voit pas est un chrono qu'on oublie — et le serveur le coupe à douze heures,
   mais ce n'est pas une raison pour le laisser filer. */

.chrono-barre {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: .8rem;
    margin: -1.5rem -1rem 1.2rem;
    padding: .7rem 1rem;
    background: var(--texte);
    color: var(--surface);
}

.chrono-temps {
    flex: none;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

.chrono-bloc { flex: 1 1 auto; min-width: 0; }

.chrono-titre {
    display: block;
    font-size: .88rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chrono-depuis {
    display: block;
    font-size: .74rem;
    opacity: .7;
    font-variant-numeric: tabular-nums;
}

.chrono-barre .bouton {
    flex: none;
    color: var(--texte);
    background: var(--surface);
}

/* --- Navigation ----------------------------------------------------------- */

.navigation {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.4rem;
    font-size: .82rem;
}

.navigation a {
    color: var(--texte-doux);
    text-decoration: none;
    padding: .2rem 0;
    border-bottom: 2px solid transparent;
}

.navigation a[aria-current="page"] {
    color: var(--texte);
    font-weight: 600;
    border-bottom-color: var(--texte);
}

/* --- Blocs ---------------------------------------------------------------- */

.bloc {
    margin-top: 1.15rem;
    background: var(--surface);
    border: var(--filet) solid var(--trait);
    border-radius: var(--rayon);
}

.bloc > h2,
.titre-bloc {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
    margin: 0;
    padding: .8rem 1rem;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--texte-doux);
    border-bottom: var(--filet) solid var(--trait);
}

.titre-bloc-fin {
    font-weight: 400;
    letter-spacing: .04em;
    text-transform: none;
    font-variant-numeric: tabular-nums;
}

.titre-bloc-sous {
    flex-basis: 100%;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    font-size: .78rem;
}

/* --- Domaines ------------------------------------------------------------- */

.domaine { margin-top: 2.4rem; }
.domaine:first-of-type { margin-top: 0; }

.titre-domaine {
    margin: 0;
    padding-left: .75rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -.01em;
    border-left: 3px solid var(--couleur-domaine, var(--texte));
}

.liste { margin: 0; padding: 0; list-style: none; }

.ligne {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 0 1rem;
    min-height: 52px;
    border-bottom: var(--filet) solid var(--trait);
}

.liste > .ligne:last-child { border-bottom: 0; }

/* La cible fait toute la largeur de la ligne, et au moins 44 px de haut.
   Les deux structures de ligne — simple et dépliable — partagent la règle :
   sans elle, le label reste en ligne et la case à cocher, qui est un span,
   n'a plus de largeur du tout. */
.ligne > label,
.ligne-corps > label {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-width: 0;
    min-height: 44px;
    padding: .45rem 0;
    cursor: pointer;
}

.ligne input[type="checkbox"] {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0;
    margin: 0;
}

.case {
    flex: none;
    position: relative;
    width: 22px;
    height: 22px;
    border: var(--filet) solid var(--trait-fort);
    border-radius: var(--rayon);
    background: transparent;
}

input[type="checkbox"]:checked + .case {
    background: var(--texte);
    border-color: var(--texte);
}

input[type="checkbox"]:checked + .case::after {
    content: "";
    position: absolute;
    left: 7px; top: 3px;
    width: 6px; height: 12px;
    border: solid var(--surface);
    border-width: 0 2px 2px 0;
    transform: rotate(43deg);
}

input[type="checkbox"]:focus-visible + .case {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.intitule { min-width: 0; }

/* Un intitulé posé directement dans la ligne — sans passer par un label —
   occupe la place laissée libre, pour que l'appoint de droite (compteur,
   sélecteur) tombe toujours au même endroit d'une ligne à l'autre.
   La seconde forme vaut pour les lignes dépliables, dont le contenu passe par
   un conteneur intermédiaire. */
.ligne > .intitule,
.ligne > label { flex: 1 1 auto; }

/* Dans une ligne dépliable, la base est volontairement courte : un conteneur
   qui passe à la ligne répartit ses éléments d'après leur largeur naturelle
   AVANT de les rétrécir. Une base à « auto » enverrait le sélecteur à la ligne
   dès qu'un titre est long. Ici c'est le titre qui se replie, pas la rangée. */
.ligne-corps > .intitule,
.ligne-corps > label { flex: 1 1 10rem; min-width: 0; }

/* Pas de marge automatique ici : une marge auto absorbe l'espace libre AVANT
   que l'intitulé puisse grandir, et le titre se replie sur trois lignes au
   milieu d'une ligne à moitié vide. C'est l'intitulé qui pousse, pas la marge. */
.ligne-corps > .ligne-fin { margin-left: 0; }

.intitule-titre {
    display: block;
    overflow-wrap: anywhere;
}

.intitule-detail {
    display: block;
    font-size: .78rem;
    color: var(--texte-doux);
    overflow-wrap: anywhere;
}

.ligne-fin {
    flex: none;
    margin-left: auto;
    text-align: right;
    font-size: .82rem;
    color: var(--texte-doux);
    font-variant-numeric: tabular-nums;
}

.ligne-fin b { font-weight: 600; color: var(--texte); }

/* Verrouillée : visible, grisée, non cochable, exclue du total. */
.ligne.verrouillee { color: var(--texte-doux); }
.ligne.verrouillee > label { cursor: default; }
.ligne.verrouillee .case { border-style: dashed; opacity: .6; }

.pastille {
    flex: none;
    width: 9px;
    height: 9px;
    border-radius: 1px;
}

/* --- Ligne dépliable : chrono, notes, temps cumulé ------------------------ */
/* Les boutons vivent hors du <label> : la ligne entière reste cochable d'un
   pouce sans qu'un outil se déclenche par accident. */

.ligne-pliable { display: block; padding: 0; }

.ligne-pliable > .ligne-corps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .8rem;
    row-gap: .1rem;
    padding: .5rem 1rem;
    min-height: 52px;
}

/* La barre d'outils prend toute la largeur : elle passe donc sous l'intitulé
   et les sélecteurs, au lieu de leur disputer la place. */
.outils {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    gap: .9rem;
    font-size: .78rem;
    color: var(--texte-doux);
}

.temps {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lien-outil {
    min-height: 44px;
    padding: 0 .1rem;
    text-decoration: none;
    border-bottom: var(--filet) solid var(--trait-fort);
    white-space: nowrap;
}

.lien-outil.lien-actif {
    color: var(--accent);
    font-weight: 600;
    border-bottom-color: var(--accent);
}

.lien-renommer {
    margin-left: .5rem;
    font-size: .72rem;
    font-weight: 400;
}

/* --- Fil de notes --------------------------------------------------------- */

.fil {
    padding: .3rem 1rem 1rem;
    background: var(--fond);
    border-top: var(--filet) solid var(--trait);
}

.fil-saisie {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    padding-top: .7rem;
}

.fil-saisie textarea {
    flex: 1 1 auto;
    min-width: 0;
    padding: .5rem .6rem;
    font: inherit;
    font-size: .9rem;
    line-height: 1.4;
    color: inherit;
    background: var(--surface);
    border: var(--filet) solid var(--trait-fort);
    border-radius: var(--rayon);
    resize: vertical;
}

.fil-saisie .bouton { flex: none; }

.fil-notes {
    margin: .8rem 0 0;
    padding: 0;
    list-style: none;
}

.fil-note {
    padding: .55rem 0;
    border-top: var(--filet) solid var(--trait);
}

.fil-note:first-child { border-top: 0; }

.fil-texte {
    margin: 0;
    font-size: .9rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.fil-date {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .8rem;
    margin: .2rem 0 0;
    font-size: .74rem;
    color: var(--texte-doux);
    font-variant-numeric: tabular-nums;
}

/* --- Idées ---------------------------------------------------------------- */

.forme-titre { flex: 1 1 14rem; min-width: 0; }

select.statut-domaine {
    max-width: 7rem;
    font-size: .78rem;
    min-height: 36px;
}

.semaines { font-variant-numeric: tabular-nums; }

/* Les écartées restent lisibles, mais ne réclament plus l'attention. */
.bloc-efface { opacity: .62; }

.bloc-vide { padding: 1.1rem 1rem; }

/* --- Objectifs ------------------------------------------------------------ */

.numero {
    flex: none;
    align-self: flex-start;
    margin-top: .15rem;
    min-width: 2.1rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--texte-doux);
    font-variant-numeric: tabular-nums;
}

.ligne-objectif { align-items: flex-start; padding-top: .6rem; padding-bottom: .6rem; }
.ligne-objectif > .intitule { flex: 1 1 auto; }

.etiquette {
    display: inline-block;
    margin-right: .5rem;
    padding: .05rem .35rem;
    font-size: .68rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: var(--filet) solid var(--trait-fort);
    border-radius: var(--rayon);
}

.etiquette[data-tag="verrou"] { color: var(--accent); border-color: var(--accent); }

.dependance { margin-right: .5rem; }

/* Le sélecteur de statut : cible confortable, aucun ornement. */
select.statut {
    flex: none;
    align-self: center;
    min-height: 44px;
    max-width: 8.5rem;
    padding: .35rem .5rem;
    font: inherit;
    font-size: .85rem;
    color: inherit;
    background: transparent;
    border: var(--filet) solid var(--trait-fort);
    border-radius: var(--rayon);
}

select.statut:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* --- Grille des trente jours ---------------------------------------------- */

.ligne-habitude { display: block; padding-top: .65rem; padding-bottom: .75rem; }

.habitude-tete {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .8rem;
}

.grille-points {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: .6rem;
}

.point {
    width: 10px;
    height: 10px;
    border-radius: 1px;
    border: var(--filet) solid transparent;
    background: transparent;
}

/* Tenue : plein, à la couleur de l'habitude (posée en ligne).
   Non tenue : un contour, rien de plus — ni rouge, ni croix.
   Non saisie : à peine visible. Avant le début : une place vide. */
.point[data-etat="tenue"]      { background: var(--texte); border-color: var(--texte); }
.point[data-etat="manquee"]    { border-color: var(--trait-fort); }
.point[data-etat="non_saisie"] { background: var(--trait); }
.point[data-etat="avant"]      { background: transparent; border-color: transparent; }

.legende {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin: .6rem 0 0;
    font-size: .74rem;
    color: var(--texte-doux);
}

.legende-mot { margin-right: .8rem; }
.point-legende { flex: none; }

/* --- Avis (une matière sous son seuil) ------------------------------------ */
/* En ocre, comme une échéance. Jamais en rouge : ce n'est pas une sanction,
   c'est un fait à connaître. */

.avis {
    margin-top: 1.15rem;
    padding: .9rem 1rem;
    background: var(--surface);
    border: var(--filet) solid var(--accent);
    border-left: 3px solid var(--accent);
    border-radius: var(--rayon);
}

.avis-titre { margin: 0 0 .4rem; font-weight: 600; color: var(--accent); }
.avis-ligne { margin: .15rem 0; font-size: .9rem; font-variant-numeric: tabular-nums; }
.avis-note  { margin: .5rem 0 0; font-size: .78rem; color: var(--texte-doux); }

/* --- Moyenne simulée ------------------------------------------------------ */

.chiffre-bloc { padding: .9rem 1rem; }

.chiffre-cle {
    display: block;
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.chiffre-detail {
    display: block;
    margin-top: .3rem;
    font-size: .78rem;
    color: var(--texte-doux);
    font-variant-numeric: tabular-nums;
}

.chiffre-vide { margin: 0; font-size: .88rem; color: var(--texte-doux); }

/* --- Tableau des épreuves ------------------------------------------------- */

.tableau-hote { overflow-x: auto; }

.tableau {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}

.tableau th {
    padding: .55rem 1rem;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--texte-doux);
    text-align: left;
    border-bottom: var(--filet) solid var(--trait);
    white-space: nowrap;
}

.tableau td {
    padding: .6rem 1rem;
    border-bottom: var(--filet) solid var(--trait);
    vertical-align: top;
}

.tableau tbody tr:last-child td { border-bottom: 0; }

.tableau th:not(:first-child),
.tableau td.nombre {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.colonne-epreuve .numero { display: inline-block; }
.colonne-epreuve .intitule-titre { display: inline; }

.tableau tr.sous-seuil td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.tableau tr.sous-seuil td b { color: var(--accent); }

/* --- Formulaire de saisie ------------------------------------------------- */

.forme {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .9rem 1rem;
}

/* Sélecteur de la même famille que ceux des listes, mais qui doit montrer
   l'intitulé entier : il lui faut plus de place que les 8,5 rem par défaut. */
select.forme-epreuve { flex: 1 1 14rem; max-width: none; }

.forme input {
    min-height: 44px;
    padding: .35rem .6rem;
    font: inherit;
    font-size: .9rem;
    color: inherit;
    background: transparent;
    border: var(--filet) solid var(--trait-fort);
    border-radius: var(--rayon);
}

.forme input[type="number"] { width: 6.5rem; }

.bouton-petit { min-height: 44px; padding: 0 1rem; font-size: .88rem; }

.ligne-verrou .intitule-titre { color: var(--accent); }

/* --- Carnet --------------------------------------------------------------- */
/* Quatre champs, écrits en dur dans le HTML. Il n'y a pas de bouton
   « ajouter » parce qu'il n'y a rien à ajouter. */

.carnet {
    display: grid;
    gap: .5rem;
    padding: .9rem 1rem;
}

.carnet input {
    width: 100%;
    min-height: 44px;
    padding: .55rem .7rem;
    font: inherit;
    color: inherit;
    background: transparent;
    border: var(--filet) solid var(--trait);
    border-radius: var(--rayon);
}

.carnet input::placeholder { color: var(--texte-doux); opacity: .6; }

.carnet input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -1px;
    border-color: transparent;
}

/* --- Pied ----------------------------------------------------------------- */

.pied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.etat {
    margin: 0;
    min-height: 1.3em;
    font-size: .8rem;
    color: var(--texte-doux);
    font-variant-numeric: tabular-nums;
}

/* Pas de rouge : un échec d'enregistrement se dit en ocre, comme une échéance. */
.etat.echec { color: var(--accent); }

.bouton {
    min-height: 48px;
    padding: 0 1.4rem;
    font: inherit;
    font-weight: 600;
    color: var(--surface);
    background: var(--texte);
    border: 0;
    border-radius: var(--rayon);
    cursor: pointer;
}

.bouton:disabled { opacity: .45; cursor: default; }

.lien {
    padding: 0;
    font: inherit;
    font-size: .8rem;
    color: var(--texte-doux);
    background: none;
    border: 0;
    text-decoration: underline;
    text-underline-offset: .2em;
    cursor: pointer;
}

.close-bandeau {
    margin: 0;
    font-size: .8rem;
    color: var(--texte-doux);
    font-variant-numeric: tabular-nums;
}

[hidden] { display: none !important; }

/* Journée close : la saisie est figée. Rien ne clignote, rien ne s'efface. */
body.journee-close .case { opacity: .55; }
body.journee-close .carnet input { color: var(--texte-doux); }

.sortie {
    display: block;
    margin-top: 2.5rem;
    font-size: .76rem;
    color: var(--texte-doux);
    text-decoration: none;
}

/* --- Seuil (login) -------------------------------------------------------- */

.page-seuil { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; }

.seuil {
    width: min(20rem, calc(100vw - 2rem));
    text-align: center;
}

.seuil-mot {
    margin: 0 0 1.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.seuil-forme { display: grid; gap: .6rem; }

.seuil-etiquette {
    font-size: .78rem;
    color: var(--texte-doux);
    text-align: left;
}

.seuil-forme input {
    width: 100%;
    min-height: 48px;
    padding: .55rem .7rem;
    font: inherit;
    color: inherit;
    background: var(--surface);
    border: var(--filet) solid var(--trait-fort);
    border-radius: var(--rayon);
}

.seuil-forme button {
    min-height: 48px;
    font: inherit;
    font-weight: 600;
    color: var(--surface);
    background: var(--texte);
    border: 0;
    border-radius: var(--rayon);
    cursor: pointer;
}

.seuil-forme button:disabled { opacity: .45; cursor: default; }

.seuil-message {
    margin: 1rem 0 0;
    font-size: .8rem;
    color: var(--accent);
}

/* --- Bascule à 720 px ----------------------------------------------------- */

@media (max-width: 720px) {
    .entete {
        display: block;
    }
    .compteur {
        text-align: left;
        margin-top: .85rem;
    }
    .compteur-libelle, .compteur-taux { display: inline; }
    .compteur-taux::before { content: " · "; }
    .pied { flex-direction: column-reverse; align-items: stretch; }
    .pied .bouton { width: 100%; }
    .pied .etat { text-align: center; }

    /* Le tableau des épreuves se replie en cartes. Pas de défilement latéral. */
    .tableau, .tableau tbody, .tableau tr, .tableau td { display: block; width: 100%; }
    .tableau thead { display: none; }
    .tableau tr {
        padding: .7rem 1rem;
        border-bottom: var(--filet) solid var(--trait);
    }
    .tableau tbody tr:last-child { border-bottom: 0; }
    .tableau td { padding: 0; border-bottom: 0; }
    .tableau td.nombre {
        display: inline-block;
        width: auto;
        margin: .45rem 1.2rem 0 0;
        text-align: left;
    }
    .tableau td.nombre::before {
        content: attr(data-libelle) " ";
        font-size: .7rem;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--texte-doux);
    }
    .tableau td.nombre .intitule-detail { display: inline; margin-left: .3rem; }
    .tableau tr.sous-seuil { box-shadow: inset 3px 0 0 var(--accent); }
    .tableau tr.sous-seuil td:first-child { box-shadow: none; }

    /* Les sélecteurs de liste se resserrent ; celui de la saisie VTC prend
       toute la largeur, il doit rester lisible. */
    select.statut:not(.forme-epreuve):not(.forme-domaine) { max-width: 7.5rem; }
    select.forme-domaine { flex: 1 1 auto; max-width: none; }
    select.forme-epreuve { flex-basis: 100%; }
    .forme-titre { flex-basis: 100%; }

    /* La ligne dépliable passe en deux temps : l'intitulé, puis les outils et
       le sélecteur sous lui. Rien ne se comprime jusqu'à devenir illisible. */
    .ligne-pliable > .ligne-corps {
        flex-wrap: wrap;
        padding: .55rem 1rem;
        row-gap: .35rem;
    }
    .ligne-pliable > .ligne-corps > label,
    .ligne-pliable > .ligne-corps > .intitule { flex: 1 1 100%; }
    .ligne-pliable > .ligne-corps > .numero { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
