/* panacheo · pages intérieures — tarifs, paiement, accès offert, dépôt, gestion de l'abonnement, page introuvable, organisations,
   salaires, guides, indice, recherche, sources, textes légaux. Chaque famille a ses pièces ; les formulaires partagent les mêmes. */
@layer pages {
  /* ── Pièces communes ─────────────────────────────────────────────────── */
  .coches {
    display: grid;
    gap: 0.7rem;
  }
  .coches li {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
  }
  .coches li::before {
    content: "";
    width: 0.8rem;
    height: 0.45rem;
    margin: 0.42rem 0 0 0.3rem;
    border-left: 2px solid var(--vert);
    border-bottom: 2px solid var(--vert);
    transform: rotate(-45deg);
  }
  .avis {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.15rem;
    border-radius: var(--r-2);
    background: var(--sable);
    font-size: var(--c-petit);
  }
  .avis--erreur {
    background: var(--alerte-champ);
    color: var(--alerte-fort);
  }
  .avis--oui {
    background: var(--vert-champ);
    color: var(--vert-fort);
    font-weight: 500;
  }
  .formulaire,
  .formulaire__corps {
    display: grid;
    gap: var(--e-5);
  }
  .formulaire {
    position: relative;
    z-index: 1;
    padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem);
    border-radius: var(--r-4);
    box-shadow: var(--ombre-2);
  }
  .formulaire .champ > legend {
    margin-bottom: 0.45rem;
  }
  .formulaire__tete {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--e-3) var(--e-4);
    padding-bottom: var(--e-4);
    border-bottom: 1px solid var(--filet);
  }
  .formulaire__tete p {
    display: grid;
  }
  .formulaire__titre {
    font-size: 1.625rem;
    line-height: 1.1;
    letter-spacing: -0.035em;
  }
  .champ__saisie--code {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .champ__saisie--code::placeholder {
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
  }
  .chiffres-cles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: var(--e-4);
  }
  .chiffres-cles .carte {
    gap: 0.3rem;
  }
  .chiffres-cles__n {
    font-size: clamp(3rem, 2.4rem + 2.4vw, 4.5rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.055em;
    color: var(--vert-fort);
  }

  /* ── Mise en page à deux volets : le texte, et la carte où l'on agit ─── */
  .focus {
    display: grid;
    gap: clamp(4.5rem, 8vw, 6rem);
    padding-block: clamp(1.5rem, 4vw, 4rem) clamp(3rem, 6vw, 6rem);
  }
  .focus__texte {
    display: grid;
    gap: var(--e-4);
    align-content: start;
    justify-items: start;
  }
  .focus__texte h1 {
    font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem);
  }
  .focus__cote {
    position: relative;
    min-width: 0;
  }
  /* Quand la page sert d'abord à agir (un code à entrer) : le titre, la carte, puis le reste. */
  .focus--action {
    grid-template-areas: "texte" "cote" "suite";
  }
  .focus--action .focus__texte {
    grid-area: texte;
  }
  .focus--action .focus__cote {
    grid-area: cote;
  }
  .focus__suite {
    grid-area: suite;
    display: grid;
    gap: var(--e-4);
    align-content: start;
    justify-items: start;
    margin-top: calc(var(--e-6) - clamp(4.5rem, 8vw, 6rem));
  }
  .focus__suite .faits {
    justify-self: stretch;
  }
  .focus__galet {
    --galet: 5rem;
    position: absolute;
    right: 1.75rem;
    bottom: calc(100% - 0.35rem);
    z-index: 0;
  }
  @media (min-width: 62rem) {
    .focus {
      grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
      gap: clamp(3rem, 6vw, 6rem);
      align-items: start;
      padding-top: clamp(5rem, 8vw, 8rem);
    }
    .focus__galet {
      --galet: 8rem;
      right: 2.5rem;
    }
    .focus--action {
      grid-template-areas: "texte cote" "suite cote";
      grid-template-rows: auto 1fr;
      row-gap: var(--e-5);
    }
    .focus__suite {
      margin-top: 0;
    }
  }
  /* ── Mise en page centrée : un message, une action ───────────────────── */
  .centre {
    display: grid;
    gap: var(--e-4);
    justify-items: center;
    max-width: calc(40rem + 2 * var(--marge));
    padding-block: clamp(2.5rem, 6vw, 6rem) clamp(3rem, 6vw, 6rem);
    text-align: center;
  }
  .centre--large {
    max-width: calc(56rem + 2 * var(--marge));
  }
  .centre h1 {
    font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.5rem);
  }
  .centre .rang {
    justify-content: center;
  }
  .centre__galet {
    --galet: 7.5rem;
    margin-bottom: var(--e-3);
  }
  .adresse {
    overflow-wrap: anywhere;
  }
  .chemins {
    display: grid;
    gap: var(--e-4);
  }
  .chemins .carte {
    gap: 0.4rem;
  }
  .centre > .carte,
  .centre > .etapes,
  .centre > .chemins,
  .centre > .avis {
    justify-self: stretch;
    text-align: left;
  }
  @media (min-width: 40rem) {
    .chemins {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .existe {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: var(--e-4);
    margin-top: var(--e-6);
  }
  .existe ul {
    display: grid;
  }
  .existe a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    text-decoration: none;
    border-top: 1px solid var(--filet);
  }
  .existe a:hover {
    text-decoration: underline;
  }

  /* ── Tarifs ──────────────────────────────────────────────────────────── */
  .formules {
    display: grid;
    gap: var(--e-4);
  }
  .formule {
    display: grid;
    gap: var(--e-3);
    align-content: start;
    padding: clamp(1.5rem, 1rem + 2.4vw, 2.75rem);
    border: 1.5px solid transparent;
    border-radius: var(--r-4);
    background: var(--blanc);
    box-shadow: var(--ombre-1);
  }
  .formule--conseillee {
    border-color: var(--encre);
    box-shadow: var(--ombre-2);
  }
  .formule__nom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--e-2) var(--e-4);
  }
  .formule__prix {
    font-size: clamp(3.25rem, 2.2rem + 4.4vw, 6rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.06em;
  }
  .formule__par {
    font-weight: 500;
  }
  .formule .bouton {
    margin-top: var(--e-3);
  }
  .formules__note {
    margin-top: var(--e-4);
    max-width: 60em;
  }
  @media (min-width: 48rem) {
    .formules {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--e-5);
      align-items: stretch;
    }
  }
  .bascule:has(input[value="0"]:checked) [data-panneau]:not([data-panneau="0"]),
  .bascule:has(input[value="1"]:checked) [data-panneau]:not([data-panneau="1"]),
  .bascule:has(input[value="2"]:checked) [data-panneau]:not([data-panneau="2"]),
  .bascule:has(input[value="3"]:checked) [data-panneau]:not([data-panneau="3"]),
  .bascule:has(input[value="4"]:checked) [data-panneau]:not([data-panneau="4"]) {
    display: none;
  }
  .choix--deux {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .choix--deux span {
    justify-content: center;
    width: 100%;
  }
  .echeancier ol,
  .jalons {
    display: grid;
  }
  .echeancier li,
  .jalons li {
    position: relative;
    display: grid;
    gap: 0.15rem;
    padding: 0 0 1.35rem 1.9rem;
  }
  .echeancier li::before,
  .jalons li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--blanc);
    box-shadow: 0 0 0 2px var(--vert);
  }
  .echeancier li::after,
  .jalons li::after {
    content: "";
    position: absolute;
    left: calc(0.375rem - 1px);
    top: 1.3rem;
    bottom: -0.05rem;
    width: 2px;
    background: var(--filet-fort);
  }
  .echeancier li:last-child::after,
  .jalons li:last-child::after {
    display: none;
  }
  .jalons li:last-child {
    padding-bottom: 0;
  }
  .jalons li:last-child::before,
  .echeancier li:last-child::before {
    background: var(--vert);
  }
  .echeancier time,
  .jalons__quand {
    font-size: var(--c-micro);
    font-weight: 600;
    color: var(--texte-2);
  }
  .jalons__quand::first-letter {
    text-transform: uppercase;
  }
  .echeancier li span,
  .jalons__quoi {
    font-size: 1.1875rem;
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  .focus__texte .faits,
  .focus__texte .jalons,
  .focus__texte .avis {
    justify-self: stretch;
  }
  .jalons__quoi {
    font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
    letter-spacing: -0.035em;
  }
  .echeancier__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--e-4);
    padding-top: var(--e-4);
    border-top: 1px solid var(--filet);
    color: var(--texte-2);
  }
  .echeancier__total strong {
    font-size: 1.75rem;
    letter-spacing: -0.045em;
    color: var(--texte);
  }
  .inclus {
    display: grid;
    gap: var(--e-6);
    align-items: start;
  }
  .inclus__texte {
    display: grid;
    gap: var(--e-4);
  }
  .inclus__texte .coches {
    color: var(--texte-2);
  }
  .inclus__apercu {
    display: grid;
    gap: var(--e-3);
  }
  .inclus__apercu img {
    width: 100%;
    border-radius: var(--r-3);
    box-shadow: var(--ombre-2);
  }
  @media (min-width: 62rem) {
    .inclus {
      grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
      gap: clamp(3rem, 6vw, 6rem);
    }
  }

  /* ── Listes de fiches (guides, salaires, résultats de recherche) ──────── */
  .fiches {
    display: grid;
    gap: 0.5rem;
  }
  .fiche {
    position: relative;
    display: grid;
    gap: 0.25rem;
    padding: 1.1rem 4rem 1.1rem 1.4rem;
    border-radius: var(--r-2);
    background: var(--surface);
    box-shadow: var(--ombre-1);
    text-decoration: none;
  }
  .fiche--attente {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px var(--filet);
    color: var(--texte-2);
  }
  .fiche__titre {
    font-size: 1.1875rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  .fiche__meta {
    font-size: var(--c-petit);
    color: var(--texte-2);
  }
  .fiche__fleche {
    position: absolute;
    right: 1.1rem;
    top: 50%;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-top: -1.125rem;
    border-radius: 50%;
    background: var(--papier);
    transition:
      background-color var(--d-etat) var(--sortie),
      color var(--d-etat) var(--sortie);
  }
  a.fiche:hover .fiche__fleche {
    background: var(--encre);
    color: var(--papier);
  }
  .metier {
    display: grid;
    gap: var(--e-3);
  }
  .metier :where(h3) a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }
  .metier + .metier {
    margin-top: var(--e-5);
  }
  .vide {
    display: grid;
    gap: var(--e-3);
    justify-items: center;
    padding: clamp(2rem, 5vw, 3.5rem) var(--e-5);
    border-radius: var(--r-3);
    background: var(--surface);
    box-shadow: var(--ombre-1);
    text-align: center;
  }
  .vide .note {
    max-width: 32em;
  }
  .vide__galet {
    --galet: 6rem;
  }
  .recherche {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 40rem;
    padding: 0.4rem;
    border-radius: var(--r-rond);
    background: var(--blanc);
    box-shadow: var(--ombre-2);
  }
  .recherche .champ__saisie {
    flex: 1;
    min-width: 0;
    min-height: 3.25rem;
    border-color: transparent;
    border-radius: var(--r-rond);
    background: transparent;
    font-size: 1.0625rem;
  }
  .recherche .champ__saisie:hover {
    border-color: transparent;
  }
  .recherche .bouton {
    min-height: 3.25rem;
  }

  /* ── Articles : sommaire à côté, texte à la bonne mesure ─────────────── */
  .signature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--c-petit);
  }
  .signature > span:not(.avatar) {
    display: grid;
  }
  .article {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--e-6);
    padding-block: clamp(1.5rem, 4vw, 3.5rem);
  }
  .sommaire {
    display: grid;
    gap: var(--e-3);
    align-content: start;
    padding: var(--e-5);
    border-radius: var(--r-3);
    background: var(--surface);
    box-shadow: var(--ombre-1);
    font-size: var(--c-petit);
  }
  .sommaire ol {
    display: grid;
    counter-reset: titre;
  }
  .sommaire a {
    display: grid;
    grid-template-columns: 1.75rem minmax(0, 1fr);
    min-height: 2.75rem;
    align-items: center;
    padding-block: 0.3rem;
    color: var(--texte-2);
    text-decoration: none;
    counter-increment: titre;
  }
  .sommaire a::before {
    content: counter(titre);
    font-size: var(--c-micro);
    font-weight: 600;
    color: var(--texte-3);
    font-variant-numeric: tabular-nums;
  }
  .sommaire a:hover {
    color: var(--texte);
  }
  @media (min-width: 62rem) {
    .article:has(.sommaire) {
      grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
      gap: clamp(3rem, 6vw, 6rem);
      align-items: start;
    }
    .sommaire {
      position: sticky;
      top: calc(var(--entete) + 1.5rem);
      max-height: calc(100dvh - var(--entete) - 3rem);
      overflow-y: auto;
    }
  }
  .prose {
    min-width: 0;
    max-width: 44rem;
    overflow-wrap: break-word;
    font-size: 1.125rem;
    line-height: 1.65;
  }
  .prose > * + * {
    margin-top: 1.15em;
  }
  .prose h2 {
    margin-top: 2.2em;
    font-size: clamp(1.625rem, 1.35rem + 1.1vw, 2.25rem);
    line-height: 1.1;
    scroll-margin-top: calc(var(--entete) + 1.5rem);
  }
  .prose h2:first-child {
    margin-top: 0;
  }
  .prose h3 {
    margin-top: 1.8em;
    font-size: 1.3125rem;
    scroll-margin-top: calc(var(--entete) + 1.5rem);
  }
  .prose ul,
  .prose ol {
    display: grid;
    gap: 0.5em;
    padding-left: 1.3em;
  }
  .prose li::marker {
    color: var(--vert);
    font-weight: 600;
  }
  .prose a {
    color: var(--vert-fort);
    font-weight: 500;
  }
  .prose blockquote {
    padding: 1rem 1.25rem;
    border-radius: var(--r-2);
    background: var(--vert-champ);
    font-weight: 500;
  }
  .prose table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: var(--c-petit);
    font-variant-numeric: tabular-nums;
  }
  .prose th,
  .prose td {
    padding: 0.7rem 1rem 0.7rem 0;
    border-bottom: 1px solid var(--filet);
    text-align: left;
    vertical-align: top;
  }
  .prose pre {
    padding: 1rem 1.25rem;
    border-radius: var(--r-2);
    background: var(--encre);
    color: var(--papier);
    font-size: 0.9375rem;
    overflow-x: auto;
  }
  .prose hr {
    margin-block: 2em;
  }
  .citation-carte {
    font-size: 1.0625rem;
    font-weight: 500;
  }
  .telecharger {
    display: grid;
    gap: var(--e-3);
  }
  .telecharger li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--e-3) var(--e-4);
  }
  .colonnes {
    display: grid;
    gap: var(--e-5);
  }
  @media (min-width: 48rem) {
    .colonnes {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .colonnes--3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .grand-chiffre {
    font-size: clamp(2.25rem, 1.8rem + 1.8vw, 3.25rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.055em;
  }

  /* ── Organisations ───────────────────────────────────────────────────── */
  .tete-page__photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--r-4);
  }
  .programmes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr));
    gap: var(--e-4);
    margin-block: clamp(1.5rem, 3vw, 2.75rem) var(--e-4);
  }
  .programme {
    position: relative;
    display: grid;
    gap: 0.35rem;
    align-content: start;
    height: 100%;
    padding: clamp(1.35rem, 2.4vw, 1.9rem);
    padding-bottom: 4.5rem;
    border-radius: var(--r-3);
    background: var(--blanc);
    box-shadow: var(--ombre-1);
    text-decoration: none;
  }
  .programme__qui {
    font-size: var(--c-micro);
    font-weight: 600;
    color: var(--vert-fort);
  }
  .programme__nom {
    font-size: 1.5rem;
  }
  .programme__prix {
    margin-top: var(--e-3);
    font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.055em;
  }
  .programme .outil__fleche {
    position: absolute;
    left: clamp(1.35rem, 2.4vw, 1.9rem);
    bottom: 1.35rem;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--papier);
  }
  .programme:hover .outil__fleche {
    background: var(--encre);
    color: var(--papier);
    transform: rotate(-45deg);
  }
  .voir {
    display: grid;
    gap: var(--e-4);
  }
  @media (min-width: 48rem) {
    .voir {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .croix {
    display: grid;
    gap: 0.7rem;
  }
  .croix li {
    position: relative;
    padding-left: 2.25rem;
  }
  .croix li::before,
  .croix li::after {
    content: "";
    position: absolute;
    left: 0.3rem;
    top: 0.72rem;
    width: 0.9rem;
    height: 2px;
    border-radius: 1px;
    background: var(--alerte);
    transform: rotate(45deg);
  }
  .croix li::after {
    transform: rotate(-45deg);
  }
  .temoignage {
    display: grid;
    gap: var(--e-3);
    max-width: 52rem;
  }
  .temoignage blockquote {
    font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2.125rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-wrap: balance;
  }
  .regle {
    display: grid;
    gap: var(--e-3);
    max-width: var(--mesure);
  }
  .encart {
    display: grid;
    gap: var(--e-3);
  }
  .encart__carte {
    display: grid;
    gap: 0.5rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 2px dashed var(--filet-fort);
    border-radius: var(--r-3);
    background: var(--blanc);
  }
  .encart__titre {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
  }
  .encart__code {
    margin-top: var(--e-3);
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
  }
  .encart__etapes {
    display: grid;
    gap: 0.3rem;
    margin-block: var(--e-3);
    padding-left: 1.3rem;
  }
  .prix-carte {
    gap: 0.5rem;
    width: min(100%, 24rem);
    box-shadow: var(--ombre-2);
  }
  .prix-carte__prix {
    font-size: clamp(3rem, 2.2rem + 3.4vw, 5rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.06em;
  }
  .demande__duo {
    display: grid;
    gap: var(--e-5);
  }
  @media (min-width: 40rem) {
    .demande__duo {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--e-4);
      align-items: start;
    }
  }
  /* Choix à plusieurs lignes : chaque option prend sa ligne, avec une précision. */
  .choix--pile {
    display: grid;
    gap: 0.4rem;
    padding: 0;
    border-radius: 0;
    background: none;
  }
  .choix.choix--pile span {
    justify-content: space-between;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.5rem 1.1rem;
    border-radius: var(--r-2);
    box-shadow: inset 0 0 0 1.5px var(--filet-fort);
    color: var(--texte);
  }
  .choix--pile small {
    text-align: right;
  }
  .choix--libre {
    padding: 0;
    gap: 0.4rem;
    background: none;
  }
  .choix.choix--libre span {
    box-shadow: inset 0 0 0 1.5px var(--filet-fort);
    color: var(--texte);
  }
  .choix--pile input:checked + span {
    background: var(--vert-champ);
    box-shadow: inset 0 0 0 2px var(--vert-fort);
  }
  .choix--libre input:checked + span {
    background: var(--encre);
    color: var(--papier);
    box-shadow: none;
  }
  .devis {
    display: grid;
    gap: var(--e-5);
    align-items: start;
  }
  .devis .champ__saisie {
    font-size: 1.25rem;
    font-weight: 600;
  }
  .devis__resultat {
    display: grid;
    gap: var(--e-3);
  }
  .devis__resultat .faits {
    border-top: 0;
  }
  .devis__resultat .faits > div:first-child {
    padding-top: 0;
  }
  .devis__resultat .faits dd {
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--texte);
    font-variant-numeric: tabular-nums;
  }
  .devis > .tableau-cadre {
    grid-column: 1 / -1;
  }
  @media (min-width: 48rem) {
    .devis {
      grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
      gap: var(--e-5) var(--e-6);
    }
    .devis > .champ {
      grid-column: 1;
    }
    .devis__resultat {
      grid-column: 2;
      grid-row: 1 / span 3;
    }
  }

  /* ── Accès offert : le code est valide ───────────────────────────────── */
  .acces-ok {
    display: grid;
    gap: var(--e-4);
    justify-items: start;
  }
  .acces-ok > .bouton,
  .acces-ok > .coches {
    justify-self: stretch;
  }
  .acces-ok__qui {
    display: flex;
    align-items: center;
    gap: var(--e-4);
  }
  .acces-ok__qui img {
    border-radius: var(--r-1);
  }
  .acces-ok__titre {
    font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.04em;
  }
}

@layer mouvement {
  @keyframes saute-centre {
    from {
      opacity: 0;
      transform: translateY(40%) scale(0.85);
    }
    60% {
      transform: translateY(-5%) scale(1.03);
    }
  }
  /* Entrée sèche : 260 ms, montée de 0,5 rem, 60 ms entre frères. */
  .focus__texte > *,
  .centre > :not(.galet),
  .focus .formulaire {
    --montee: var(--montee-fine);
    animation: montee var(--d-etat) var(--sortie) both;
  }
  .focus__texte > :nth-child(n + 3),
  .centre > :nth-child(n + 4),
  .focus .formulaire {
    animation-delay: calc(var(--pas) * 2);
  }
  .focus__galet,
  .centre__galet {
    animation: saute-centre 700ms var(--ressort) 240ms both;
  }
  @supports (animation-timeline: view()) {
    .formule,
    .chiffres-cles > li,
    .chemins > li {
      animation: montee linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}
