/* Yamoo Drive — Réservation « Champagne » (@layer vues)
   Tunnel de réservation (#resa : cinq étapes, récapitulatif latéral dès 1024 px, pass de confirmation), questionnaire
   « Aide-moi à choisir » (#quiz), bon (#bon), Ma réservation (#maLocation) et feuilles de service (#service).
   Couleurs : jetons de tokens.css uniquement. Mobile d'abord ; ruptures 380 / 480 / 640 / 768 / 1024.
   Mobile : #resa occupe tout l'écran ; quand le clavier s'ouvre, client.js pose .est-clavier et --vv-h / --vv-haut
   (zone visible, visualViewport) : la feuille s'y loge et le pied d'action reste collé au-dessus du clavier.
   Ma réservation et #service : règles préfixées par #maLocation / #service, plus spécifiques que les anciennes règles
   de pages.css (chargée après celle-ci), devenues inutiles.
   Classes d'état posées par client.js : .est-fait, .est-actuel (étapes, quiz), .est-courante / .est-suivante / .est-loin /
   .est-cachee / .est-lue (pile des règles), .en-lecture / .est-prete (bouton qui se remplit), .est-bon / .est-faux
   (question), .est-ok / .est-erreur (messages et dépôts), .est-urgent (blocage), .insiste (raison), .est-clavier (#resa). */
@layer vues {

  /* ============================== Feuilles : gabarit commun ============================== */
  :is(#resa, #quiz, #bon) .feuille-titre { flex: 1; min-width: 0; display: grid; gap: 2px; }
  :is(#resa, #quiz, #bon) .feuille-surtitre {
    display: block; margin: 0;
    color: var(--gris); font-size: var(--t-micro); font-weight: 600; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase;
  }
  :is(#quiz, #bon) .feuille-titre h3 { font-size: 1.5rem; line-height: 1.12; }
  #quiz.feuille { height: 92dvh; }
  @media (min-width: 768px) {
    #quiz.feuille { height: min(86dvh, 780px); }
  }
  #resa .feuille-corps, #quiz .feuille-corps { overflow-x: hidden; scroll-padding-block: 24px; }
  #resa .feuille-corps h2:focus, #quiz .feuille-corps h2:focus { outline: none; }

  /* Bouton retour masqué sans décaler le titre (1re question du quiz) */
  #quizRetour.est-masque { visibility: hidden; }

  /* Mobile : pendant le tunnel ou le quiz, les messages passent en haut pour ne jamais couvrir le pied (Continuer, Payer). */
  @media (max-width: 767px) {
    html:has(:is(#resa, #quiz, #bon).ouvert) .toasts { top: calc(10px + env(safe-area-inset-top)); bottom: auto; }
  }

  /* ============================== #resa : géométrie ==============================
     Mobile : plein écran. 768 → 1023 : fenêtre centrée de 760 px. ≥ 1024 : 1080 px, corps à gauche, récapitulatif à droite. */
  #resa .feuille-tete { gap: 12px; padding: calc(10px + env(safe-area-inset-top)) 16px 8px; }
  #resa .feuille-titre { justify-items: center; text-align: center; }
  #resa .feuille-surtitre { max-width: 100%; overflow-wrap: anywhere; }
  #resa .feuille-titre h3 {
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-family: var(--texte); font-size: 1rem; font-weight: 600; line-height: 1.35; letter-spacing: -.005em;
  }
  #resa .feuille-tete .icon-btn { background: transparent; box-shadow: inset 0 0 0 1px var(--trait-2); }
  #resa .feuille-corps { padding-top: 22px; padding-bottom: 32px; }
  #resa .resa-cote { display: none; }
  /* Boutons pleine largeur : le libellé passe à la ligne plutôt que d'être rogné (texte agrandi) */
  #resa .btn-bloc { white-space: normal; text-wrap: balance; }
  @media (max-width: 767px) {
    #resa.feuille { inset: 0; height: 100dvh; max-height: none; border-radius: 0; box-shadow: none; }
    #resa .poignee { display: none; }
    /* Clavier ouvert : la feuille épouse la zone visible ; le pied reste au-dessus du clavier, plus compact. */
    #resa.feuille.est-clavier { inset: var(--vv-haut, 0px) 0 auto 0; height: var(--vv-h, 100dvh); }
    #resa.est-clavier .resa-etapes, #resa.est-clavier .resa-raison { display: none; }
    #resa.est-clavier .resa-pied { padding-block: 10px; }
    #resa.est-clavier .resa-total small { display: none; }
  }
  @media (min-width: 768px) {
    #resa.feuille { height: min(88dvh, 860px); }
    #resa .feuille-tete { padding: 18px 24px 10px; }
    #resa .feuille-corps { padding: 28px 40px 40px; }
    #resa .feuille-pied { padding: 16px 40px 20px; }
  }
  @media (min-width: 1024px) {
    #resa.feuille {
      width: min(1080px, 100vw - 64px); height: min(90dvh, 900px);
      display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto auto minmax(0, 1fr) auto;
    }
    #resa > .feuille-tete { grid-column: 1 / -1; grid-row: 1; border-bottom: 1px solid var(--trait); }
    #resa > .resa-etapes { grid-column: 1; grid-row: 2; }
    #resa > .feuille-corps { grid-column: 1; grid-row: 3; }
    #resa > .feuille-pied { grid-column: 1; grid-row: 4; }
    #resa > .resa-cote { grid-column: 2; grid-row: 2 / -1; display: block; min-height: 0; overflow: auto; overscroll-behavior: contain; }
    /* Confirmation : le pass remplace le récapitulatif, une seule colonne */
    #resa.feuille:has(> #resaCorps[data-etape="confirmee"]) { grid-template-columns: minmax(0, 1fr); }
    #resa:has(> #resaCorps[data-etape="confirmee"]) > .resa-cote { display: none; }
    #resa > .resa-etapes { border-bottom: 0; }
  }

  /* ============================== Progression : cinq traits fins et leurs noms ============================== */
  .resa-etapes {
    container-type: inline-size;
    flex: none; display: flex; gap: 6px;
    margin: 0; padding: 4px 20px 0; list-style: none;
    border-bottom: 1px solid var(--trait);
  }
  .resa-etapes li { flex: 1 1 0; min-width: max-content; display: flex; }
  .resa-etape {
    position: relative; display: flex; align-items: flex-start;
    width: 100%; min-width: 44px; min-height: 44px; padding: 12px 0 10px;
    border: 0; border-radius: 0; background: none; color: var(--gris-2);
    font: inherit; font-size: var(--t-micro); font-weight: 500; line-height: 1.3; letter-spacing: .01em; white-space: nowrap; text-align: left;
  }
  .resa-etape::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px;
    background: var(--trait-2); transition: background-color var(--d-3) var(--ease);
  }
  .est-fait .resa-etape { color: var(--gris); }
  .est-fait .resa-etape::before { background: var(--encre); }
  .est-actuel .resa-etape { color: var(--encre); font-weight: 600; }
  .est-actuel .resa-etape::before { background: var(--or); }
  .resa-etape-num { display: none; }
  /* 7.2 : hors français, un nom d'étape plus long (allemand…) se resserre puis s'abrège à l'œil (…) au lieu de déborder ;
     le surtitre « Étape n/5 · Nom » et le libellé des boutons gardent le nom entier. Le français ne change pas. */
  .resa-etape-nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  :root:not(:lang(fr)) .resa-etapes li { min-width: 0; }
  button.resa-etape { cursor: pointer; }
  @media (hover: hover) {
    button.resa-etape:hover { color: var(--encre); text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 4px; }
  }
  /* Texte agrandi (ou place trop étroite) : les traits suffisent, le surtitre nomme l'étape. La requête de conteneur
     compte en em (taille du texte) : les noms disparaissent dès qu'ils ne tiennent plus sur une ligne. */
  @container (max-width: 17.5em) {
    .resa-etapes li { min-width: 0; }
    .resa-etape-nom { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  }
  @media (max-width: 359px) {
    .resa-etapes { gap: 4px; padding-inline: 16px; }
  }
  @media (min-width: 768px) {
    .resa-etapes { gap: 10px; padding-inline: 40px; }
    .resa-etape { font-size: var(--t-petit); }
  }

  /* ============================== Corps des étapes ============================== */
  .resa-pas { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .resa-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .resa-intro h2 { font-size: clamp(1.875rem, 1.55rem + 1.1vw, 2.5rem); line-height: 1.04; }
  .resa-intro p { max-width: 58ch; color: var(--gris); font-size: .9375rem; line-height: 1.55; }

  .resa-note { display: flex; align-items: flex-start; gap: 10px; color: var(--gris); font-size: var(--t-petit); line-height: 1.55; }
  .resa-note svg.i { width: 18px; height: 18px; margin-top: 1px; color: var(--or-texte); }
  .resa-note b { color: var(--encre); font-weight: 600; }
  .resa-note-centre { justify-content: center; text-align: center; }

  .resa-groupe { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
  .resa-groupe > legend {
    float: left; width: 100%; margin-bottom: 4px; padding: 0;
    font-family: var(--texte); font-size: var(--t-4); font-weight: 600; letter-spacing: -.01em; line-height: 1.3;
  }
  .resa-facultatif { color: var(--gris); font-size: var(--t-micro); font-weight: 500; letter-spacing: .04em; }

  /* Champs : libellé, champ encadré (.champ de la fondation), message en ligne */
  .resa-champs { display: grid; gap: 18px; }
  .resa-champ > label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
  .resa-champ :is(input, select, textarea) { background-color: var(--blanc); }
  .resa-msg { color: var(--gris); font-size: .8125rem; font-weight: 500; line-height: 1.45; }
  .resa-msg:empty { display: none; }
  .resa-msg.est-erreur { color: var(--laterite); font-weight: 600; }
  .resa-msg.est-ok { color: var(--palme); font-weight: 600; }
  .resa-champ :is(input, textarea, select)[aria-invalid="true"] { border-color: var(--laterite); }
  .resa-champ textarea { min-height: 88px; }
  .resa-champ { align-content: start; }
  @media (min-width: 640px) {
    .resa-champs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .resa-champs .plein { grid-column: 1 / -1; }
  }
  /* Deux colonnes : libellés, champs et messages alignés d'une colonne à l'autre (sous-grille) */
  @supports (grid-template-rows: subgrid) {
    @media (min-width: 640px) {
      .resa-champs > .resa-champ:not(.plein) { grid-row: span 3; grid-template-rows: subgrid; row-gap: 6px; }
      .resa-champs > .resa-champ:not(.plein) > label { align-self: end; }
    }
  }
  #resa .option { gap: 16px; padding-block: 16px; }
  #resa .option b { font-weight: 600; }

  /* 7.4 : juste avant l'engagement, les conditions lues s'appliquent, sinon pénalités (montants des réglages) */
  .resa-penalites { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--s-4); padding: 12px 14px; border-radius: var(--r-m); background: var(--laterite-pale); color: var(--encre); font-size: .9375rem; line-height: 1.5; }
  .resa-penalites b { color: var(--laterite); font-weight: 600; }
  .resa-penalites svg.i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--laterite); }

  /* Case à cocher d'engagement (≥ 44 px de haut) */
  .resa-engagement { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; font-size: .9375rem; line-height: 1.5; cursor: pointer; }
  .resa-engagement input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--encre); cursor: pointer; }
  .resa-engagement a { text-decoration-color: var(--or); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

  /* Vignettes sans photo : sable, voiture grise (jamais de motif) */
  #resa span:is(.resa-vignette, .resa-recap-photo, .resa-cote-photo) { display: grid; place-items: center; background: var(--sable); background-image: none; color: var(--gris); }
  #resa span.resa-vignette svg.i { width: 24px; height: 24px; }

  /* ============================== Étape 1 : dates ============================== */
  .resa-vehicule {
    display: flex; align-items: center; gap: 14px;
    padding: 12px; border-radius: var(--r-carte);
    background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait);
  }
  .resa-vignette { flex: none; width: 76px; height: 57px; border-radius: var(--r-s); object-fit: cover; background: var(--sable); }
  .resa-vehicule-txt { flex: 1; min-width: 0; display: grid; gap: 1px; line-height: 1.35; }
  .resa-vehicule-txt b { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
  .resa-vehicule-txt span { color: var(--gris); font-size: .8125rem; }
  .resa-vehicule-txt span:last-child { color: var(--encre); font-weight: 500; font-variant-numeric: tabular-nums; }
  .resa-changer { flex: none; min-height: 44px; padding: 0 16px; gap: 6px; font-size: .875rem; }
  .resa-changer[aria-expanded="true"] { background: var(--encre); color: var(--blanc); box-shadow: none; }
  @media (max-width: 479px) {
    .resa-vehicule { gap: 12px; padding: 10px; }
    .resa-vehicule .resa-vignette { width: 64px; height: 48px; }
    .resa-vehicule-txt span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .resa-changer { padding: 0 14px; }
  }
  @media (max-width: 379px) {
    .resa-vehicule { flex-wrap: wrap; }
    .resa-changer { flex: 1 1 100%; }
  }

  .resa-flotte { display: grid; gap: var(--s-3); margin-top: calc(var(--s-4) * -1); }
  .resa-flotte-titre { color: var(--gris); font-size: var(--t-petit); font-weight: 500; }
  .resa-flotte-liste, .resa-alt-liste { display: grid; gap: var(--s-2); }
  @media (min-width: 640px) {
    .resa-flotte-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  .resa-v {
    display: flex; align-items: center; gap: var(--s-3);
    width: 100%; min-height: 68px; padding: 8px 14px 8px 8px;
    border: 0; border-radius: var(--r-m);
    background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 1px var(--trait-2);
    text-align: left;
    transition: box-shadow var(--d-2) var(--ease), background-color var(--d-2) var(--ease), transform var(--d-1) var(--ease);
  }
  .resa-v:active { transform: scale(.98); }
  .resa-v .resa-vignette { width: 60px; height: 45px; }
  .resa-v-txt { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
  .resa-v-txt b { font-size: .9375rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .resa-v-txt small { color: var(--gris); font-size: .8125rem; }
  .resa-v-droite { flex: none; display: grid; justify-items: end; gap: 4px; }
  .resa-v-prix { font-size: .875rem; font-weight: 600; white-space: nowrap; }
  .resa-v[aria-pressed="true"] { background: var(--ivoire); box-shadow: inset 0 0 0 1.5px var(--encre); }
  @media (hover: hover) {
    .resa-v:hover { box-shadow: inset 0 0 0 1.5px var(--encre); }
  }

  /* Calendrier du tunnel (gabarit de calendrier() ; cases ≥ 44 px dès 320 px) */
  .resa-cal { padding: 16px; border-radius: var(--r-carte); background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); }
  .resa-cal .cal-tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
  .resa-cal .cal-tete b { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.1; letter-spacing: var(--serre); }
  .resa-cal .cal-tete b::first-letter { text-transform: uppercase; }
  .resa-cal .cal-tete .icon-btn { background: transparent; box-shadow: inset 0 0 0 1px var(--trait-2); }
  .resa-cal .cal-tete .icon-btn:disabled { opacity: .3; }
  .resa-cal .mois { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px 0; }
  .resa-cal .jsem { display: grid; place-items: center; height: 30px; color: var(--gris); font-size: var(--t-micro); font-weight: 500; }
  .resa-cal .mois button {
    position: relative; display: grid; place-items: center;
    height: 44px; min-width: 0; padding: 0;
    border: 0; border-radius: var(--r-pill); background: none;
    color: var(--encre); font-size: .9375rem; font-weight: 500; font-variant-numeric: tabular-nums;
    transition: background-color var(--d-2) var(--ease), color var(--d-2) var(--ease);
  }
  .resa-cal .mois button.passe { color: var(--gris-2); font-weight: 400; cursor: default; }
  .resa-cal .mois button.pris {
    color: var(--gris); font-weight: 400; cursor: not-allowed;
    text-decoration: line-through; text-decoration-color: var(--laterite); text-decoration-thickness: 1.5px;
  }
  .resa-cal .mois button.dans { background: var(--or-pale); border-radius: 0; }
  .resa-cal .mois button.debut, .resa-cal .mois button.fin { z-index: 1; background: var(--encre); color: var(--blanc); font-weight: 600; }
  .resa-cal .mois button.debut:not(.fin) { border-radius: var(--r-pill) 0 0 var(--r-pill); }
  .resa-cal .mois button.fin:not(.debut) { border-radius: 0 var(--r-pill) var(--r-pill) 0; }
  .resa-cal .mois button:focus-visible { z-index: 2; outline-offset: -2px; }
  @media (hover: hover) {
    .resa-cal .mois button:not([aria-disabled]):not(.debut):not(.fin):hover { background: var(--sable); }
  }
  .resa-cal .legende-cal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--trait); color: var(--gris); font-size: var(--t-micro); font-weight: 500; }
  .resa-cal .legende-cal span { display: inline-flex; align-items: center; gap: 6px; }
  .resa-cal .legende-cal i { width: 12px; height: 12px; border-radius: 50%; }
  .resa-cal .l-libre { background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait-2); }
  .resa-cal .l-pris { background: var(--laterite-pale); box-shadow: inset 0 0 0 1px var(--laterite); }
  .resa-cal .l-toi { background: var(--encre); }
  .resa-cal .legende-cal .muted { margin-left: auto; }
  .resa-cal .cal-aide { margin-bottom: 8px; color: var(--gris); font-size: var(--t-petit); line-height: 1.45; }
  /* aujourd'hui : point doré sous le chiffre */
  .resa-cal .mois button.auj::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--or); }
  .resa-cal .mois button.auj:is(.debut, .fin)::after { background: var(--or-clair); }
  @media (max-width: 399px) {
    .resa-cal { margin-inline: -12px; padding: 14px 6px; }
    .resa-cal .cal-tete, .resa-cal .legende-cal, .resa-cal .cal-aide { margin-inline: 8px; }
  }
  /* 320 px : le calendrier occupe toute la largeur de la feuille pour garder 7 cases de 44 px */
  @media (max-width: 359px) {
    .resa-cal { margin-inline: -20px; padding-inline: 0; border-radius: 0; box-shadow: inset 0 1px 0 var(--trait), inset 0 -1px 0 var(--trait); }
    .resa-cal .cal-tete, .resa-cal .legende-cal, .resa-cal .cal-aide { margin-inline: 16px; }
  }

  .resa-periode {
    display: flex; align-items: center; gap: 12px;
    margin-top: calc(var(--s-4) * -1); padding: 12px 16px; border-radius: var(--r-pill);
    background: var(--or-pale); color: var(--encre); font-size: .9375rem; line-height: 1.4;
  }
  .resa-periode svg.i { color: var(--or-texte); }
  .resa-periode b { font-weight: 600; }
  .resa-periode em { font-style: normal; font-weight: 600; color: var(--or-texte); }

  .resa-heures { display: grid; gap: var(--s-5); }
  @media (min-width: 640px) {
    .resa-heures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
  }
  .resa-heure { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
  .resa-heure legend { float: left; width: 100%; margin-bottom: 2px; padding: 0; font-size: .9375rem; font-weight: 600; }
  .resa-puces { display: flex; flex-wrap: wrap; gap: 8px; }
  .resa-puces .chip { min-height: 44px; padding: 0 18px; background: var(--blanc); font-size: .9375rem; font-variant-numeric: tabular-nums; }
  .resa-puces .chip[aria-pressed="true"] { background: var(--encre); }
  .resa-heure-libre { display: flex; align-items: center; gap: 12px; color: var(--gris); font-size: var(--t-petit); font-weight: 500; }
  .resa-heure-libre input {
    min-height: 44px; padding: 0 14px;
    border: 1px solid var(--trait-2); border-radius: var(--r-champ);
    background: var(--blanc); color: var(--encre); font-size: 1rem; font-variant-numeric: tabular-nums;
    transition: border-color var(--d-2) var(--ease), box-shadow var(--d-2) var(--ease);
  }
  .resa-heure-libre input:focus { outline: 0; border-color: var(--encre); box-shadow: var(--anneau-champ); }
  .resa-heure-libre input[aria-invalid="true"] { border-color: var(--laterite); }

  /* ============================== Étape 2 : trajet ============================== */
  .resa-zones { display: grid; gap: var(--s-5); }
  @media (min-width: 768px) {
    .resa-zones { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
    .resa-zones .resa-carte { position: sticky; top: 0; }
  }
  .resa-carte { overflow: hidden; border-radius: var(--r-carte); background: var(--sable); box-shadow: inset 0 0 0 1px var(--trait); }
  .resa-carte svg { display: block; width: 100%; height: auto; }
  .cz-terre { fill: var(--sable); }
  .cz-mer { fill: var(--sable-2); }
  .cz-anneau { fill: var(--or); fill-opacity: 0; stroke: var(--encre); stroke-opacity: .32; stroke-width: 1.2; stroke-dasharray: 4 6; transition: fill-opacity var(--d-3) var(--ease); }
  .cz-anneau.on { fill-opacity: .12; }
  .cz-centre { fill: var(--or); fill-opacity: .2; stroke: var(--or-texte); stroke-width: 1.5; transition: fill-opacity var(--d-3) var(--ease); }
  .cz-centre.on { fill-opacity: .42; }
  .cz-point { fill: var(--encre); stroke: var(--blanc); stroke-width: 2; }
  .cz-noms text { font-family: var(--texte); font-size: 16px; font-weight: 500; fill: var(--encre); paint-order: stroke; stroke: var(--sable); stroke-width: 3px; stroke-linejoin: round; }

  .resa-option {
    position: relative; display: flex; align-items: center; gap: 14px;
    min-height: 68px; padding: 14px 16px;
    border-radius: var(--r-m); background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait-2);
    cursor: pointer;
    transition: box-shadow var(--d-2) var(--ease), background-color var(--d-2) var(--ease);
  }
  .resa-option input {
    appearance: none; -webkit-appearance: none;
    flex: none; display: grid; place-items: center;
    width: 22px; height: 22px; margin: 0;
    border: 1.5px solid var(--trait-2); border-radius: 50%; background: var(--blanc);
    cursor: pointer; transition: border-color var(--d-2), background-color var(--d-2);
  }
  .resa-option input::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--or); transform: scale(0); transition: transform var(--d-2) var(--ease); }
  .resa-option input:checked { border-color: var(--encre); background: var(--encre); }
  .resa-option input:checked::before { transform: scale(1); }
  .resa-option input:focus-visible { outline: 2px solid var(--or-texte); outline-offset: 3px; }
  .resa-option:has(input:checked) { background: var(--ivoire); box-shadow: inset 0 0 0 1.5px var(--encre); }
  .resa-option-txt { flex: 1; min-width: 0; display: grid; gap: 2px; line-height: 1.4; overflow-wrap: break-word; }
  .resa-groupe > .resa-option, .resa-groupe > .champ { min-width: 0; } /* 7.2 : un mot long (allemand…) ne fait pas déborder la grille */
  .resa-option-txt b { font-size: .9375rem; font-weight: 600; }
  .resa-option-txt small { color: var(--gris); font-size: var(--t-petit); }
  .resa-option-prix { flex: none; display: grid; justify-items: end; color: var(--encre); font-size: .875rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .resa-option-prix small { color: var(--gris); font-size: .75rem; font-weight: 500; }
  @media (hover: hover) {
    .resa-option:not(:has(input:checked)):hover { box-shadow: inset 0 0 0 1px var(--encre); }
  }
  .resa-options { gap: 0; }

  /* ============================== Étape 3 : règles ============================== */
  .resa-lecture { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .resa-lecture-suivi { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--gris); font-size: var(--t-petit); font-weight: 500; }
  .resa-points { display: flex; gap: 6px; }
  .resa-points i { width: 24px; height: 2px; border-radius: 2px; background: var(--trait-2); transition: background-color var(--d-3) var(--ease); }
  .resa-points i.est-fait { background: var(--encre); }

  .resa-pile { display: grid; padding-bottom: 24px; }
  .resa-regle {
    grid-area: 1 / 1;
    display: grid; gap: 12px; align-content: start;
    padding: clamp(22px, 4vw, 32px); border-radius: var(--r-carte);
    background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait), var(--ombre-2);
    transform-origin: 50% 100%;
    transition: transform var(--d-4) var(--ease), opacity var(--d-3) var(--ease);
  }
  .resa-regle.est-courante { z-index: 4; }
  .resa-regle.est-suivante { z-index: 3; transform: translateY(12px) scale(.96); opacity: .7; }
  .resa-regle.est-loin { z-index: 2; transform: translateY(22px) scale(.92); opacity: .35; }
  .resa-regle.est-cachee { z-index: 1; transform: translateY(22px) scale(.92); opacity: 0; }
  .resa-regle.est-lue { z-index: 5; transform: translateX(-24px); opacity: 0; pointer-events: none; }
  .resa-regle-tete { display: flex; align-items: center; gap: 12px; color: var(--gris); font-size: var(--t-micro); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  .resa-regle-icone { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--or-pale); color: var(--or-texte); }
  .resa-regle-icone svg.i { width: 22px; height: 22px; }
  .resa-regle h3 { margin-top: 4px; font-family: var(--serif); font-size: clamp(1.625rem, 1.4rem + .8vw, 2rem); font-weight: 400; line-height: 1.08; letter-spacing: var(--serre); }
  .resa-regle p { font-size: 1rem; line-height: 1.6; }
  .resa-regle .resa-regle-detail { padding: 12px 14px; border-radius: var(--r-s); background: var(--creme); color: var(--gris); font-size: var(--t-petit); line-height: 1.55; }
  /* Pendant la seconde de lecture : encre et texte blanc (19:1), la progression portée par le seul filet or du bas ;
     puis bascule nette vers l'or (aucune transition de couleur : pas d'aplat brun intermédiaire). */
  .resa-compris { margin-top: 8px; transition: transform var(--d-1) var(--ease); }
  .resa-compris:disabled { background: var(--encre); color: var(--blanc); opacity: 1; box-shadow: none; cursor: progress; }
  .resa-remplir { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--or); transform: scaleX(0); transform-origin: left; }
  .resa-regle.en-lecture .resa-remplir { transform: scaleX(1); transition: transform 1s linear; }
  .resa-regle.est-prete .resa-compris { background: var(--or); color: var(--encre); }
  .resa-regle.est-prete .resa-remplir { opacity: 0; }
  @media (hover: hover) {
    .resa-regle.est-prete .resa-compris:hover { background: var(--or-survol); }
  }

  #apresLecture { display: grid; gap: var(--s-5); }
  #apresLecture:empty { display: none; }
  /* 7.2 : textes plus longs hors français (mots composés allemands…) : la grille et le questionnaire se resserrent sans déborder */
  #apresLecture > *, .resa-qcm { min-width: 0; }
  .resa-qcm button > span, .resa-lues-tete b, .resa-engagement span { min-width: 0; overflow-wrap: break-word; }
  .resa-lues { padding: 18px 20px; border-radius: var(--r-carte); background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); }
  .resa-lues-tete { display: flex; align-items: center; gap: 12px; }
  .resa-lues-tete b { flex: 1; color: var(--encre); font-size: 1rem; font-weight: 600; }
  .resa-lues-tete .lien-aide { justify-content: center; min-width: 44px; color: var(--encre); font-size: var(--t-petit); }
  .resa-sceau-s { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--palme); color: var(--blanc); }
  .resa-sceau-s svg.i { width: 16px; height: 16px; stroke-width: 2.4; }
  .resa-lues-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin-top: 12px; }
  .resa-lues-liste li { display: flex; align-items: center; gap: 8px; color: var(--encre); font-size: .8438rem; line-height: 1.35; }
  .resa-lues-liste svg.i { width: 16px; height: 16px; color: var(--or-texte); }
  .resa-relire { display: grid; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--trait); }
  .resa-relire b { font-size: .9375rem; font-weight: 600; }
  .resa-relire p { margin-top: 2px; color: var(--gris); font-size: var(--t-petit); line-height: 1.55; }
  @media (max-width: 379px) {
    .resa-lues-liste { grid-template-columns: 1fr; }
  }

  .resa-qcm {
    display: grid; gap: 8px; margin: 0; padding: 18px;
    border: 0; border-radius: var(--r-carte);
    background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait);
  }
  .resa-qcm legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; font-family: var(--texte); font-size: var(--t-4); font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
  .resa-qcm button {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    min-height: 52px; padding: 10px 46px 10px 18px;
    border: 0; border-radius: var(--r-m);
    background: var(--ivoire); color: var(--encre); box-shadow: inset 0 0 0 1px var(--trait-2);
    font-size: .9375rem; font-weight: 500; line-height: 1.4; text-align: left;
    transition: background-color var(--d-2) var(--ease), box-shadow var(--d-2) var(--ease), color var(--d-2);
  }
  .resa-qcm button.est-bon { background: var(--palme-pale); color: var(--palme); box-shadow: inset 0 0 0 1.5px var(--palme); font-weight: 600; }
  .resa-qcm button.est-bon::after {
    content: ""; position: absolute; right: 20px; top: 50%;
    width: 7px; height: 13px; margin-top: -9px;
    border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
  }
  .resa-qcm button.est-faux { background: var(--laterite-pale); color: var(--laterite); box-shadow: inset 0 0 0 1.5px var(--laterite); animation: resa-secoue 420ms var(--ease); }
  @media (hover: hover) {
    .resa-qcm button:not(.est-bon):not(.est-faux):hover { box-shadow: inset 0 0 0 1px var(--encre); }
  }
  .resa-qcm-msg { color: var(--palme); font-size: var(--t-petit); font-weight: 600; }
  .resa-qcm-msg:empty { display: none; }
  .resa-qcm-msg.est-erreur { color: var(--laterite); }
  @keyframes resa-secoue { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

  /* ============================== Étape 4 : coordonnées ============================== */
  .resa-otp { display: grid; gap: 8px; }
  .resa-otp-ligne { display: flex; flex-wrap: wrap; gap: 8px; }
  .resa-otp-ligne .btn { flex: 0 1 auto; min-width: 0; white-space: normal; } /* 7.2 : libellé plus long dans une autre langue */
  .resa-otp-ligne .champ { flex: 1 1 170px; }
  .resa-otp #cCode { font-variant-numeric: tabular-nums; }
  .resa-otp #cCode:not(:placeholder-shown) { letter-spacing: .28em; }
  .resa-verifie { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-pill); background: var(--palme-pale); color: var(--palme); font-size: .9375rem; font-weight: 600; line-height: 1.4; }
  .resa-verifie svg.i { stroke-width: 2.2; }
  .resa-promo { display: flex; gap: 8px; }
  .resa-promo input { flex: 1; text-transform: uppercase; letter-spacing: .06em; }
  .resa-promo input::placeholder { text-transform: none; letter-spacing: 0; }
  .resa-promo .btn { flex: none; }

  .resa-docs-aide { color: var(--gris); font-size: var(--t-petit); }
  .resa-depots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .resa-depot {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; justify-items: center; align-content: center; gap: 8px;
    min-height: 120px; padding: 16px 10px;
    border: 1px dashed var(--trait-2); border-radius: var(--r-m);
    background: var(--blanc); text-align: center; cursor: pointer;
    transition: border-color var(--d-2) var(--ease), background-color var(--d-2) var(--ease);
  }
  .resa-fichier { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
  .resa-depot:has(.resa-fichier:focus-visible) { outline: 2px solid var(--or-texte); outline-offset: 3px; }
  .resa-depot-icone { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sable); color: var(--encre); }
  .resa-depot-txt { display: grid; line-height: 1.35; }
  .resa-depot-txt b { font-size: .875rem; font-weight: 600; }
  .resa-depot-txt small { color: var(--gris); font-size: .75rem; }
  .resa-depot-apercu { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .14; }
  .resa-depot.est-ok { border-style: solid; border-color: var(--palme); background: var(--palme-pale); }
  .resa-depot.est-ok .resa-depot-icone { background: var(--palme); color: var(--blanc); }
  .resa-depot.est-ok .resa-depot-txt small { color: var(--palme); font-weight: 600; }
  @media (hover: hover) {
    .resa-depot:not(.est-ok):hover { border-color: var(--encre); background: var(--ivoire); }
  }
  .resa-docs:focus { outline: none; }
  .resa-memo { padding-top: 4px; border-bottom: 0; }
  .resa-demo { justify-self: start; min-height: 44px; color: var(--gris); font-size: var(--t-petit); }

  /* ============================== Étape 5 : paiement ============================== */
  /* Blocage de 15 minutes : bandeau clair, compte à rebours sobre ; latérite dans les deux dernières minutes. */
  .resa-bloque {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px;
    padding: 10px 12px 10px 18px; border-radius: var(--r-pill);
    background: var(--or-pale); color: var(--encre);
    transition: background-color var(--d-3) var(--ease), color var(--d-3) var(--ease);
  }
  .resa-bloque > span { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: var(--t-petit); font-weight: 500; }
  .resa-bloque > span:first-child { flex: 1 1 160px; }
  .resa-bloque svg.i { color: var(--or-texte); }
  .resa-bloque b { min-width: 3.4em; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; text-align: right; color: var(--encre); }
  .resa-bloque.est-urgent { background: var(--laterite-pale); color: var(--laterite); }
  .resa-bloque.est-urgent :is(b, svg.i) { color: var(--laterite); }
  .resa-bloque-droite { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
  .resa-encore {
    min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-pill);
    background: transparent; color: currentColor; box-shadow: inset 0 0 0 1px currentColor;
    font-size: var(--t-petit); font-weight: 600; white-space: nowrap;
  }

  .resa-alternatives { display: grid; gap: 14px; padding: 18px; border-radius: var(--r-carte); background: var(--laterite-pale); box-shadow: inset 0 0 0 1px var(--laterite); }
  .resa-alternatives:focus { outline: none; }
  .resa-alt-tete { display: flex; align-items: flex-start; gap: 12px; }
  .resa-alt-tete > svg.i { width: 24px; height: 24px; color: var(--laterite); }
  .resa-alt-tete h3 { color: var(--laterite); font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
  .resa-alt-tete p { margin-top: 4px; font-size: var(--t-petit); line-height: 1.55; }
  .resa-alternatives .lien-aide { justify-self: start; align-items: flex-start; padding-block: 10px; color: var(--encre); text-align: left; }

  .resa-recap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px; border-radius: var(--r-carte); background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); }
  .resa-recap-v { display: flex; align-items: center; gap: 14px; }
  .resa-recap-v > div { display: grid; min-width: 0; line-height: 1.35; }
  .resa-recap-v b { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }
  .resa-recap-v small { color: var(--gris); font-size: .8125rem; }
  .resa-recap-photo { flex: none; width: 84px; height: 63px; border-radius: var(--r-s); object-fit: cover; }
  .resa-recap-dl { display: grid; margin: 0; border-top: 1px solid var(--trait); }
  .resa-recap-ligne {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px;
    min-height: 54px; padding: 8px 0; border-bottom: 1px solid var(--trait);
  }
  .resa-recap-ligne dt { grid-column: 1; color: var(--gris); font-size: .8125rem; }
  /* Le bouton « Modifier » est dans le <dd> (liste de définitions valide) : display: contents garde la grille. */
  .resa-recap-ligne dd { display: contents; margin: 0; }
  .resa-recap-ligne dd > span { grid-column: 1; font-size: .9375rem; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
  .resa-modifier {
    grid-column: 2; grid-row: 1 / span 2;
    min-height: 44px; padding: 0 4px;
    border: 0; background: none; color: var(--encre);
    font-size: var(--t-petit); font-weight: 600;
    text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 1.5px; text-underline-offset: 4px;
  }
  @media (min-width: 480px) {
    .resa-recap-ligne { grid-template-columns: 108px minmax(0, 1fr) auto; }
    .resa-recap-ligne dd > span { grid-column: 2; grid-row: 1; }
    .resa-modifier { grid-column: 3; grid-row: 1; }
  }
  .resa-lignes { display: grid; gap: 2px; }
  .resa-ligne { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; padding: 5px 0; font-size: .9375rem; line-height: 1.45; }
  .resa-ligne > .num { margin-left: auto; }
  .resa-ligne > span:first-child { color: var(--gris); }
  .resa-ligne .num { font-weight: 500; white-space: nowrap; }
  .resa-ligne.est-remise .num { color: var(--palme); font-weight: 600; }
  .resa-ligne.est-total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--encre); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
  .resa-ligne.est-total > span:first-child { color: var(--encre); }
  .resa-ligne.est-total .num { font-weight: 600; }
  .resa-ligne.est-caution { font-size: var(--t-petit); }
  .resa-ligne.est-euros { font-size: var(--t-petit); }
  .resa-ligne.est-euros .num { color: var(--gris); }
  /* Ordinateur : les lignes de prix sont dans le récapitulatif latéral (même calcul) */
  @media (min-width: 1024px) {
    #resa .resa-recap :is(.resa-lignes, .resa-recap-v) { display: none; }
    #resa .resa-recap { padding-block: 6px; }
    #resa .resa-recap-dl { border-top: 0; }
    #resa .resa-recap-ligne:last-child { border-bottom: 0; }
  }

  .resa-montant { background: var(--sable); }
  .resa-montant button { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 64px; }
  .resa-montant b { font-size: .875rem; font-weight: 600; }
  .resa-montant .num { font-size: .9375rem; font-weight: 600; }

  .resa-moyens { display: grid; gap: 8px; }
  .resa-moyen {
    position: relative; display: flex; align-items: center; gap: 14px;
    min-height: 58px; padding: 8px 16px;
    border: 0; border-radius: var(--r-m);
    background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 1px var(--trait-2);
    font-size: .9375rem; font-weight: 600; text-align: left;
    transition: box-shadow var(--d-2) var(--ease), background-color var(--d-2) var(--ease);
  }
  .resa-moyen[aria-pressed="true"] { background: var(--ivoire); box-shadow: inset 0 0 0 1.5px var(--encre); }
  .resa-moyen[aria-pressed="true"]::after { content: ""; position: absolute; top: 12px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--or); }
  @media (hover: hover) {
    .resa-moyen:not([aria-pressed="true"]):hover { box-shadow: inset 0 0 0 1px var(--encre); }
  }
  @media (min-width: 480px) {
    .resa-moyens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .resa-moyen { flex-direction: column; justify-content: center; gap: 10px; min-height: 100px; text-align: center; }
  }
  .resa-pastille { flex: none; display: grid; place-items: center; width: 46px; height: 30px; border-radius: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
  .resa-pastille.est-momo { background: var(--or-clair); color: var(--encre); }
  .resa-pastille.est-om { background: var(--plaque); color: var(--encre); }
  .resa-pastille.est-carte { background: var(--encre); color: var(--blanc); }
  #numMM { margin-top: 8px; }
  .resa-ou { display: flex; align-items: center; gap: 12px; color: var(--gris); font-size: var(--t-petit); }
  .resa-ou::before, .resa-ou::after { content: ""; flex: 1; height: 1px; background: var(--trait); }

  /* ============================== Pied : total, bouton, raison ============================== */
  .resa-pied { display: grid; gap: 8px; background: var(--ivoire); }
  .resa-pied-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
  .resa-total { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; line-height: 1.15; }
  .resa-total small { overflow: hidden; color: var(--gris); font-size: var(--t-micro); font-weight: 500; letter-spacing: .02em; white-space: nowrap; text-overflow: ellipsis; }
  .resa-total b { font-family: var(--texte); font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
  /* 7.2 : sous un total en euros ou en dollars, le montant payé en FCFA et la mention du taux (contrat G), sur deux lignes au plus */
  .resa-total .resa-total-fcfa { white-space: normal; text-overflow: clip; letter-spacing: 0; line-height: 1.3; }
  #resaSuite { flex: 0 0 auto; min-width: 156px; min-height: 52px; padding: 0 26px; margin-left: auto; }
  #resaSuite[aria-disabled="true"] { cursor: help; }
  .resa-raison { display: flex; align-items: flex-start; gap: 8px; color: var(--gris); font-size: .8125rem; font-weight: 500; line-height: 1.45; }
  .resa-raison svg.i { width: 16px; height: 16px; margin-top: 1px; color: var(--or-texte); }
  .resa-raison.insiste { color: var(--laterite); font-weight: 600; animation: resa-secoue 420ms var(--ease); }
  .resa-raison.insiste svg.i { color: var(--laterite); }
  @media (max-width: 479px) {
    .resa-pied-plus { display: none; } /* « Total pour 2 jours » sans points de suspension */
    #resaSuite { min-width: 140px; padding: 0 22px; }
  }
  @media (max-width: 379px) {
    .resa-total b { font-size: 1.1875rem; }
    #resaSuite { min-width: 0; padding: 0 20px; }
  }

  /* ============================== Récapitulatif latéral (≥ 1024 px) ============================== */
  .resa-cote { background: var(--creme); border-left: 1px solid var(--trait); }
  .resa-cote:focus-visible { outline-offset: -3px; }
  .resa-cote-carte { display: grid; gap: 16px; padding: 24px 28px 28px; }
  .resa-cote-photo { width: 100%; aspect-ratio: 3 / 2; max-height: max(132px, 22dvh); border-radius: var(--r-m); object-fit: cover; background: var(--sable); }
  span.resa-cote-photo svg.i { width: 40px; height: 40px; stroke-width: 1.4; }
  .resa-cote-titre { color: var(--gris); font-size: var(--t-micro); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  .resa-cote-nom { display: grid; gap: 2px; margin-top: -8px; line-height: 1.3; }
  .resa-cote-nom b { font-family: var(--serif); font-size: 1.625rem; font-weight: 400; line-height: 1.08; letter-spacing: var(--serre); }
  .resa-cote-nom span { color: var(--gris); font-size: var(--t-petit); }
  .resa-cote-dl { display: grid; margin: 0; border-top: 1px solid var(--trait); }
  .resa-cote-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--trait); font-size: var(--t-petit); line-height: 1.4; }
  .resa-cote-dl dt { color: var(--gris); }
  .resa-cote-dl dd { margin: 0; font-weight: 500; text-align: right; }
  .resa-cote-lignes { display: grid; gap: 4px; }
  .resa-cote-lignes > div { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-petit); line-height: 1.45; }
  .resa-cote-lignes > div > span:first-child { color: var(--gris); }
  .resa-cote-lignes .num { white-space: nowrap; }
  .resa-cote-lignes .est-remise .num { color: var(--palme); font-weight: 600; }
  .resa-cote-lignes .est-total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--encre); font-size: 1.125rem; font-weight: 600; }
  .resa-cote-lignes .est-total > span:first-child { color: var(--encre); }
  .resa-cote-note { display: flex; align-items: flex-start; gap: 10px; color: var(--gris); font-size: .8125rem; line-height: 1.5; }
  .resa-cote-note svg.i { width: 18px; height: 18px; color: var(--or-texte); }

  /* ============================== Attente du paiement ============================== */
  .resa-attente { display: grid; justify-items: center; gap: 14px; padding: 64px 8px; text-align: center; }
  .resa-attente h2 { max-width: 16ch; font-size: clamp(1.875rem, 1.55rem + 1.1vw, 2.5rem); }
  .resa-attente p { max-width: 36ch; color: var(--gris); }
  .resa-anneau { position: relative; display: grid; place-items: center; width: 104px; height: 104px; margin-bottom: 10px; border-radius: 50%; background: var(--or-pale); color: var(--encre); }
  .resa-anneau svg.i { width: 36px; height: 36px; stroke-width: 1.6; }
  .resa-anneau::before {
    content: ""; position: absolute; inset: -6px; border-radius: 50%;
    background: conic-gradient(from 0deg, var(--or) 0 26%, transparent 26%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), var(--encre) calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), var(--encre) calc(100% - 2px));
    animation: resa-tourne 1.2s linear infinite;
  }
  @keyframes resa-tourne { to { transform: rotate(1turn); } }

  /* ============================== Confirmation et pass ============================== */
  .resa-confirmee { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); padding-block: 4px; }
  .resa-confirmee-tete { display: grid; justify-items: center; gap: 12px; text-align: center; }
  .resa-confirmee-tete h2 { font-size: clamp(2.25rem, 1.7rem + 2vw, 3.25rem); line-height: 1.02; }
  .resa-confirmee-tete p { max-width: 44ch; color: var(--gris); font-size: .9375rem; line-height: 1.6; }
  .resa-sceau { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--or); color: var(--encre); animation: resa-monte var(--d-4) var(--ease) backwards; }
  .resa-sceau svg.i { width: 24px; height: 24px; stroke-width: 2.2; }
  .est-sobre .resa-sceau { background: var(--encre); color: var(--or-clair); }
  @keyframes resa-monte { from { opacity: 0; transform: translateY(var(--monte)); } }

  .pass {
    position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
    width: min(100%, 420px); margin-inline: auto;
    border-radius: var(--r-xl);
    background: var(--encre); color: var(--blanc);
    box-shadow: var(--ombre-3), inset 0 0 0 1px var(--trait-nuit);
    animation: resa-monte var(--d-4) var(--ease) 120ms backwards;
  }
  .pass-haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
  .pass-marque { display: inline-flex; align-items: center; gap: 10px; }
  .pass-marque svg { width: 24px; height: 24px; overflow: visible; }
  .pass-y { fill: var(--blanc); }
  .pass-courbe { fill: none; stroke: var(--or); stroke-width: 3; stroke-linecap: round; }
  .pass-marque b { display: grid; font-family: var(--texte); font-size: .875rem; font-weight: 600; line-height: 1; letter-spacing: .2em; }
  .pass-marque b span { margin-top: 4px; color: var(--or-clair); font-size: .75rem; font-weight: 500; letter-spacing: .5em; }
  .pass-statut { padding: 6px 12px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--filet-or); color: var(--or-clair); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .pass-statut.est-attente { color: var(--blanc-90); box-shadow: inset 0 0 0 1px var(--blanc-20); }

  .pass-visuel { position: relative; aspect-ratio: 16 / 10; margin-inline: 12px; overflow: hidden; border-radius: var(--r-m); background: var(--encre-2); }
  .pass-visuel img { width: 100%; height: 100%; object-fit: cover; }
  .pass-visuel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--verre-nuit) 0%, transparent 60%); }
  /* Sans photo : l'icône remonte dans le tiers haut et laisse le bas du visuel au surtitre et au titre (320 px compris) */
  .pass-silhouette { display: grid; place-items: start center; width: 100%; height: 100%; padding-top: 12%; background: var(--encre-2); color: var(--or-clair); }
  .pass-silhouette svg.i { width: clamp(40px, 14vw, 64px); height: auto; aspect-ratio: 1; stroke-width: 1.2; opacity: .85; }
  .pass-titre { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; display: grid; gap: 2px; line-height: 1.1; }
  .pass-titre small { color: var(--or-clair); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
  .pass-titre b { margin-top: 2px; font-family: var(--serif); font-size: clamp(1.875rem, 1.5rem + 1.4vw, 2.375rem); font-weight: 400; letter-spacing: var(--serre); line-height: 1; }
  .pass-titre span { color: var(--blanc-70); font-size: .875rem; }

  .pass-trajet { display: grid; grid-template-columns: auto minmax(36px, 1fr) auto; align-items: center; gap: 12px; padding: 20px 20px 8px; }
  .pass-trajet > div { display: grid; gap: 2px; line-height: 1.2; }
  .pass-trajet small, .pass-faits dt, .pass-talon small { color: var(--blanc-70); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
  .pass-trajet b { margin-top: 2px; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
  .pass-trajet span { color: var(--or-clair); font-size: .875rem; font-weight: 500; }
  .pass-fin { text-align: right; }
  /* Pass très étroit ou texte agrandi : départ et retour l'un sous l'autre */
  @container (max-width: 14em) {
    .pass-trajet { grid-template-columns: minmax(0, 1fr); }
    .pass-route { display: none; }
    .pass-fin { text-align: left; }
    .pass-faits { grid-template-columns: minmax(0, 1fr); }
    .pass-faits dd { white-space: normal; }
  }
  .pass-route { display: flex; align-items: center; gap: 6px; color: var(--or); }
  .pass-route i { flex: 1; height: 0; border-top: 1px dashed var(--filet-or); }
  .pass-route svg.i { width: 20px; height: 20px; }

  .pass-faits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin: 0; padding: 14px 20px 20px; }
  .pass-faits dd { margin: 4px 0 0; font-size: .9375rem; font-weight: 600; white-space: nowrap; }
  /* 4 colonnes à la largeur de leur contenu : le montant payé reste sur une ligne */
  @container (min-width: 400px) {
    .pass-faits { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  }

  .pass-talon { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 20px; border-top: 1px dashed var(--trait-nuit); background: var(--blanc-08); }
  /* encoches du ticket, de la couleur de la feuille */
  .pass-talon::before, .pass-talon::after { content: ""; position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--ivoire); }
  .pass-talon::before { left: -12px; }
  .pass-talon::after { right: -12px; }
  .pass-ref { display: block; margin-top: 4px; color: var(--or-clair); font-size: 1.75rem; font-weight: 600; line-height: 1; letter-spacing: .02em; }
  .pass-talon .plaque { font-size: 1.0625rem; padding: 5px 10px 5px 6px; }

  .pass-actions { display: grid; gap: 10px; width: min(100%, 420px); margin-inline: auto; }
  .pass-note { color: var(--gris); font-size: var(--t-petit); line-height: 1.5; text-align: center; }
  .pass-actions-grille { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
  .pass-actions-grille .btn { flex: 1 1 auto; min-height: 44px; padding: 0 14px; gap: 8px; font-size: .9375rem; }
  .pass-actions-grille .btn svg.i { width: 18px; height: 18px; }
  .pass-actions-grille .btn[aria-expanded="true"] { background: var(--encre); color: var(--blanc); box-shadow: none; }
  .pass-actions > .btn-nuit svg.i { color: var(--or-clair); }

  /* Ordinateur : le pass à gauche, le titre et les gestes à droite */
  @media (min-width: 1024px) {
    .resa-confirmee {
      grid-template-columns: minmax(0, 420px) minmax(0, 1fr); grid-template-areas: "pass tete" "pass actions";
      column-gap: clamp(32px, 4vw, 56px); row-gap: var(--s-5); align-content: center; min-height: 100%; padding-block: 8px;
    }
    .resa-confirmee-tete { grid-area: tete; align-self: end; justify-items: start; text-align: left; }
    .resa-confirmee .pass { grid-area: pass; align-self: center; }
    .resa-confirmee .pass-actions { grid-area: actions; align-self: start; width: min(100%, 440px); margin-inline: 0; }
    .resa-confirmee .pass-note { text-align: left; }
  }

  /* ============================== Questionnaire « Aide-moi à choisir » ============================== */
  .quiz-pas { flex: none; display: flex; gap: 6px; margin: 0; padding: 0 20px 14px; list-style: none; }
  .quiz-pas li { flex: 1; height: 2px; border-radius: 2px; background: var(--trait-2); transition: background-color var(--d-3) var(--ease); }
  .quiz-pas li.est-fait { background: var(--encre); }
  .quiz-pas li.est-actuel { background: var(--or); }
  @media (min-width: 768px) {
    .quiz-pas { padding-inline: 28px; }
  }
  .quiz-question { display: grid; gap: 12px; padding-top: 8px; }
  .quiz-num { color: var(--gris); font-size: var(--t-micro); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  .quiz-question h2 { font-size: clamp(1.875rem, 1.55rem + 1.1vw, 2.5rem); }
  .quiz-choix { display: grid; gap: 10px; margin-top: 8px; }
  .quiz-choix button {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 60px; padding: 12px 20px;
    border: 0; border-radius: var(--r-m);
    background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 1px var(--trait-2);
    font-size: 1rem; font-weight: 500; line-height: 1.35; text-align: left;
    transition: transform var(--d-1) var(--ease), box-shadow var(--d-2) var(--ease), background-color var(--d-2) var(--ease), color var(--d-2);
  }
  .quiz-choix button svg.i { color: var(--or-texte); transition: transform var(--d-2) var(--ease); }
  .quiz-choix button[aria-pressed="true"] { background: var(--encre); color: var(--blanc); box-shadow: none; }
  .quiz-choix button[aria-pressed="true"] svg.i { color: var(--or-clair); }
  .quiz-choix button:active { transform: scale(.98); }
  @media (hover: hover) {
    .quiz-choix button:not([aria-pressed="true"]):hover { box-shadow: inset 0 0 0 1px var(--encre); }
    .quiz-choix button:hover svg.i { transform: translateX(3px); }
  }

  .quiz-resultats { display: grid; gap: var(--s-5); padding-top: 8px; }
  .quiz-dates { display: flex; align-items: flex-start; gap: 10px; }
  .quiz-dates svg.i { margin-top: 2px; color: var(--or-texte); }
  .quiz-cortege { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border-radius: var(--r-carte); background: var(--encre); color: var(--blanc); }
  .quiz-cortege > svg.i { width: 28px; height: 28px; color: var(--or-clair); }
  .quiz-cortege b { font-size: 1.0625rem; font-weight: 600; }
  .quiz-cortege p { margin: 2px 0 12px; color: var(--blanc-70); font-size: var(--t-petit); }
  .quiz-conseils { display: grid; gap: 14px; }
  .quiz-conseil {
    display: grid; overflow: hidden;
    border-radius: var(--r-carte); background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait);
  }
  .quiz-conseil.est-premier { box-shadow: inset 0 0 0 1.5px var(--or); }
  .quiz-conseil-photo { position: relative; aspect-ratio: 16 / 10; background: var(--sable); }
  .quiz-conseil-photo img { width: 100%; height: 100%; object-fit: cover; }
  .quiz-silhouette { display: grid; place-items: center; align-content: center; gap: 6px; width: 100%; height: 100%; background: var(--sable); background-image: none; color: var(--gris); }
  .quiz-silhouette svg.i { width: 48px; height: 48px; stroke-width: 1.3; }
  .quiz-silhouette small { color: var(--gris); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
  .quiz-badge { position: absolute; top: 10px; left: 10px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--or); color: var(--encre); font-size: .75rem; font-weight: 600; }
  .quiz-conseil-corps { display: grid; gap: 8px; align-content: start; padding: 18px; }
  .quiz-conseil-corps h3 { font-size: var(--t-3); }
  .quiz-conseil-sous { margin-top: -4px; color: var(--gris); font-size: var(--t-petit); }
  .quiz-conseil-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
  .quiz-conseil-prix b { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; }
  .quiz-conseil-prix span { color: var(--gris); font-size: var(--t-petit); }
  .quiz-conseil .tag { justify-self: start; }
  .quiz-raisons { display: flex; flex-wrap: wrap; gap: 6px 14px; }
  .quiz-raisons li { display: inline-flex; align-items: center; gap: 6px; color: var(--encre); font-size: .8125rem; }
  .quiz-raisons svg.i { width: 16px; height: 16px; color: var(--palme); stroke-width: 2.2; }
  .quiz-conseil-actions { display: flex; gap: 8px; margin-top: 4px; }
  .quiz-conseil-actions .btn { flex: 1; min-height: 44px; padding: 0 16px; }
  .quiz-recommencer { justify-self: center; }
  @media (min-width: 560px) {
    .quiz-conseil { grid-template-columns: 210px minmax(0, 1fr); }
    .quiz-conseil-photo { aspect-ratio: auto; min-height: 100%; }
  }

  /* ============================== Bon de réservation (écran et impression) ============================== */
  .bon { display: grid; gap: 16px; padding: 4px 0; color: var(--encre); }
  .bon-tete { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--encre); }
  .bon-marque { display: grid; gap: 4px; }
  .bon-marque b { color: var(--encre); font-family: var(--texte); font-size: 1.125rem; font-weight: 600; letter-spacing: .2em; }
  .bon-marque span { color: var(--gris); font-size: .8125rem; }
  .bon-ref { display: grid; justify-items: end; text-align: right; }
  .bon-ref span { color: var(--or-texte); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .bon-ref b { font-family: var(--serif); font-size: 2rem; font-weight: 400; letter-spacing: var(--serre); line-height: 1.1; }
  .bon-ref small { color: var(--gris); font-size: .75rem; }
  .bon-statut { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .bon-devis { color: var(--gris); font-size: .8125rem; }
  .bon-grille, .bon-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bon-grille > div, .bon-dates > div { display: grid; gap: 2px; align-content: start; padding: 14px 16px; border-radius: var(--r-m); background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); }
  :is(.bon-grille, .bon-dates, .bon-trajet) small { color: var(--gris); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .bon-grille b, .bon-dates b { font-size: .9375rem; font-weight: 600; }
  .bon-grille span, .bon-dates span { color: var(--gris); font-size: .875rem; }
  .bon-trajet { display: grid; gap: 2px; font-size: .875rem; }
  .bon-lignes { display: grid; }
  .bon-ligne { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--trait); font-size: .9375rem; }
  .bon-ligne .num { white-space: nowrap; }
  .bon-ligne.est-remise .num { color: var(--palme); }
  .bon-ligne.est-total { margin-top: 4px; border-top: 1px solid var(--encre); border-bottom: 0; font-size: 1.125rem; font-weight: 600; }
  .bon-ligne.est-reste { font-weight: 600; border-bottom: 0; }
  .bon-mention { color: var(--gris); font-size: .8125rem; line-height: 1.55; }
  @media (max-width: 479px) {
    .bon-grille, .bon-dates { grid-template-columns: 1fr; }
    .bon-ref { justify-items: start; text-align: left; }
  }
  @media print {
    .bon { gap: 12px; }
    .bon-grille > div, .bon-dates > div { background: none; }
  }

  /* ============================== Parcours client (piste k1) ==============================
     B2 coordonnées résumées, B5 adresse de livraison, B18 équivalent en euros, B19 réserver pour un proche,
     B10 « Envoyer à… » avec « Pour qui ? » sur le pass. */
  .resa-resume { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-carte); background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); }
  .resa-resume p { min-width: 0; display: grid; gap: 2px; line-height: 1.4; }
  .resa-resume p b { font-size: .9688rem; font-weight: 600; overflow-wrap: break-word; }
  .resa-resume p span { color: var(--gris); font-size: var(--t-petit); }
  .resa-resume p .num { white-space: nowrap; }
  .resa-resume-email { overflow-wrap: anywhere; } /* seule l'adresse e-mail (sans espace) peut se couper n'importe où */
  .resa-resume .btn { min-height: 44px; }
  /* Mobile : le texte prend toute la largeur, « Modifier » passe dessous (noms et e-mails longs) */
  @media (max-width: 479px) {
    .resa-resume { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
    .resa-resume .btn { grid-column: 2; justify-self: start; }
  }
  .resa-resume-icone { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sable); color: var(--encre); }
  .resa-adresse { margin-top: 4px; }
  .resa-proche { border-bottom: 0; }
  .resa-proche-champs { padding: 16px; border-radius: var(--r-carte); background: var(--sable); }
  .resa-proche-champs .resa-note { margin: 0; }
  .pass-pour-qui { display: grid; gap: 14px; padding: 18px; border-radius: var(--r-carte); background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); }
  .pass-pour-qui-titre { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: var(--serre); line-height: 1.1; }
  .pass-pour-qui-champs { display: grid; gap: 12px; }
  @media (min-width: 480px) { .pass-pour-qui-champs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .pass-pour-qui .pass-note { margin: 0; }

  /* =====================================================================================================================
     Ma réservation (#maLocation, contenu construit par client.js) : en-tête serif, cartes claires, actions en pilules.
     Préfixe #maLocation : l'emporte sur les anciennes règles .loc-* / .vue-loc de pages.css.
     ===================================================================================================================== */
  #maLocation.loc { padding-block: clamp(40px, 6vw, 96px) clamp(64px, 8vw, 128px); }
  #maLocation .loc-entete { display: grid; max-width: 760px; }
  #maLocation .loc-entete .section-eyebrow { margin-bottom: 14px; }
  #maLocation .loc-entete h1 { max-width: 14ch; font-size: var(--t-1); }
  #maLocation .loc-entete .pg-chapeau { max-width: 58ch; margin-top: 16px; color: var(--gris); font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 1.6; }

  /* Plusieurs réservations : rail de cartes à l'aimant */
  #maLocation .loc-rail {
    display: flex; gap: 12px;
    margin: 32px calc(-1 * var(--gouttiere)) 0; padding: 4px var(--gouttiere) 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gouttiere); scrollbar-width: none;
  }
  #maLocation .loc-puce {
    flex: 0 0 auto; scroll-snap-align: start;
    display: grid; justify-items: start; gap: 4px; min-width: 228px; padding: 16px 20px;
    border: 0; border-radius: var(--r-carte); background: var(--ivoire); color: var(--encre); text-align: left;
    box-shadow: inset 0 0 0 1px var(--trait);
    transition: background-color var(--d-2) var(--ease), box-shadow var(--d-2) var(--ease), transform var(--d-1) var(--ease);
  }
  #maLocation .loc-puce:active { transform: scale(.98); }
  #maLocation .loc-puce-ref { color: var(--or-texte); font-size: .75rem; font-weight: 600; letter-spacing: .12em; }
  #maLocation .loc-puce b { font-family: var(--texte); font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }
  #maLocation .loc-puce-dates { color: var(--gris); font-size: .8125rem; }
  #maLocation .loc-puce .tag { margin-top: 6px; }
  #maLocation .loc-puce[aria-pressed="true"] { background: var(--encre); color: var(--blanc); box-shadow: none; }
  #maLocation .loc-puce[aria-pressed="true"] .loc-puce-ref { color: var(--or-clair); }
  #maLocation .loc-puce[aria-pressed="true"] .loc-puce-dates { color: var(--blanc-70); }
  @media (hover: hover) {
    #maLocation .loc-puce:not([aria-pressed="true"]):hover { box-shadow: inset 0 0 0 1px var(--encre); }
  }

  /* Réservation : carte claire, texte et photo (≤ 560 px CSS) */
  #maLocation .loc-detail { margin-top: 32px; scroll-margin-top: calc(var(--h-entete-solide) + 16px); }
  #maLocation .loc-hero {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; border-radius: var(--r-carte);
    background: var(--ivoire); color: var(--encre); box-shadow: inset 0 0 0 1px var(--trait);
  }
  #maLocation .loc-hero::after { content: none; }
  #maLocation .loc-hero-texte { order: 2; display: grid; align-content: center; justify-items: start; gap: 12px; padding: 24px 22px 28px; }
  #maLocation .loc-hero-lib { display: inline-flex; align-items: center; gap: 12px; color: var(--gris); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
  #maLocation .loc-hero-lib::before { content: ""; width: 20px; height: 1px; background: var(--or); }
  #maLocation .loc-ref { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  #maLocation .loc-ref .plaque { font-size: clamp(22px, 1rem + 1.6vw, 28px); }
  #maLocation .loc-ref .icon-btn { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1px var(--trait-2); }
  #maLocation .loc-hero h2 { margin-top: 8px; color: var(--encre); font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1.02; }
  #maLocation .loc-hero h2 span { color: var(--gris); font-style: italic; font-weight: 400; }
  #maLocation .loc-hero-dates { color: var(--gris); font-size: .9688rem; line-height: 1.55; }
  #maLocation .loc-hero-tags { display: flex; flex-wrap: wrap; gap: 6px; max-width: 100%; margin-top: 6px; }
  #maLocation .loc-hero-tags .tag { max-width: 100%; white-space: normal; }
  #maLocation .loc-hero-texte > * { max-width: 100%; }
  #maLocation .loc-hero-photo { order: 1; position: relative; aspect-ratio: 4 / 3; min-height: 0; margin: 8px 8px 0; overflow: hidden; border-radius: calc(var(--r-carte) - 6px); background: var(--sable); }
  #maLocation .loc-hero-photo::before { content: none; }
  #maLocation .loc-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  #maLocation .loc-hero-silhouette { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; background: var(--sable); background-image: none; color: var(--gris); }
  #maLocation .loc-hero-silhouette svg.i { width: 52px; height: 52px; stroke-width: 1.3; }
  #maLocation .loc-hero-silhouette small { color: var(--gris); font-size: .8125rem; }
  @media (min-width: 768px) {
    #maLocation .loc-hero { grid-template-columns: minmax(0, 1fr) minmax(0, min(46%, 560px)); }
    #maLocation .loc-hero-texte { order: 0; padding: clamp(28px, 4vw, 56px); }
    #maLocation .loc-hero-photo { order: 0; aspect-ratio: auto; min-height: 320px; margin: 10px; }
  }

  /* Avancement : quatre traits fins et leurs noms */
  #maLocation .progression { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
  #maLocation .progression li { position: relative; display: block; padding-top: 14px; color: var(--gris-2); font-size: .8125rem; font-weight: 500; line-height: 1.35; text-align: left; }
  #maLocation .progression li span { display: none; }
  #maLocation .progression li::before, #maLocation .progression li:first-child::before { content: ""; display: block; position: absolute; top: 0; left: 0; right: 0; width: auto; height: 2px; border-radius: 2px; background: var(--trait-2); }
  #maLocation .progression li.fait { color: var(--gris); }
  #maLocation .progression li.fait::before { background: var(--encre); }
  #maLocation .progression li.actuel { color: var(--encre); font-weight: 600; }
  #maLocation .progression li.actuel::before { background: var(--or); }
  #maLocation .loc-annulee { margin-top: 24px; padding: 14px 18px; border-radius: var(--r-m); background: var(--laterite-pale); color: var(--laterite); font-weight: 600; }

  /* Actions : pilules (2 colonnes égales sur petit mobile) */
  #maLocation .loc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
  #maLocation .loc-action, #maLocation .loc-actions a.loc-action {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 0; min-height: 44px; padding: 0 18px;
    border: 0; border-radius: var(--r-pill); background: var(--ivoire); color: var(--encre);
    box-shadow: inset 0 0 0 1px var(--trait-2);
    font-size: .9375rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
    transition: background-color var(--d-2) var(--ease), box-shadow var(--d-2) var(--ease), color var(--d-2), transform var(--d-1) var(--ease);
  }
  #maLocation .loc-action svg.i { width: 18px; height: 18px; color: var(--encre); }
  #maLocation .loc-action.danger, #maLocation .loc-action.danger svg.i { color: var(--laterite); }
  #maLocation .loc-actions a.loc-action svg.i { color: var(--palme); }
  #maLocation .loc-action:active { transform: scale(.98); }
  @media (hover: hover) {
    #maLocation .loc-action:hover { transform: none; box-shadow: inset 0 0 0 1px var(--encre); }
    #maLocation .loc-action.danger:hover { background: var(--laterite-pale); box-shadow: inset 0 0 0 1px var(--laterite); }
  }
  @media (max-width: 479px) {
    #maLocation .loc-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #maLocation .loc-action, #maLocation .loc-actions a.loc-action { gap: 6px; padding: 6px 8px; font-size: .875rem; white-space: normal; text-wrap: balance; }
  }

  /* Grille : suivi et règles à gauche, compte, paiement, documents et pièces à droite */
  #maLocation .loc-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
  #maLocation .loc-col { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 16px; min-width: 0; }
  @media (min-width: 1024px) { #maLocation .loc-grille { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; } #maLocation .loc-col { gap: 24px; } }
  #maLocation .boite { border-radius: var(--r-carte); background: var(--ivoire); box-shadow: inset 0 0 0 1px var(--trait); }
  #maLocation .loc-grille .boite > h3 { margin-bottom: 10px; font-size: var(--t-3); font-weight: 500; }

  #maLocation .carte-live { padding: 0; overflow: hidden; }
  #maLocation .carte-live .etat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--trait); }
  #maLocation .carte-live-zone { flex-basis: 100%; color: var(--gris); font-size: .8125rem; }
  #maLocation .carte-live .etat .tag { max-width: 100%; white-space: normal; } /* 7.2 : états plus longs hors français */
  /* Tablette : la carte et son état côte à côte (la carte ne prend pas tout l'écran) */
  @media (min-width: 600px) and (max-width: 1023px) {
    #maLocation .carte-live { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
    #maLocation .carte-live .etat { align-content: center; padding: 20px; border-top: 0; border-left: 1px solid var(--trait); }
  }
  /* Carte du trajet (SVG, viewBox de 600) : tailles de texte en unités SVG, ramenées vers 16–19 px à l'écran dès 600 px */
  #maLocation .carte-live-svg { display: block; width: 100%; height: auto; }
  #maLocation .cl-terre { fill: var(--sable); }
  #maLocation .cl-eau { fill: var(--sable-2); }
  #maLocation .cl-eau-txt { fill: var(--gris); font-family: var(--serif); font-size: 26px; font-style: italic; opacity: 1; }
  #maLocation .cl-rues path { fill: none; stroke: var(--ivoire); stroke-width: 9; stroke-linecap: round; }
  #maLocation .cl-zone { fill: var(--or); fill-opacity: .06; stroke: var(--encre); stroke-opacity: .3; stroke-width: 1.5; stroke-dasharray: 6 8; }
  #maLocation .cl-trajet { fill: none; stroke: var(--encre); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
  #maLocation .cl-txt text { fill: var(--encre); font-family: var(--texte); font-size: 26px; font-weight: 500; }
  @media (min-width: 600px) {
    #maLocation .cl-txt text { font-size: 16px; }
    #maLocation .cl-eau-txt { font-size: 18px; }
  }
  #maLocation .cl-point { fill: var(--ivoire); stroke: var(--encre); stroke-width: 2.5; }
  #maLocation .cl-arrivee { fill: var(--or); }
  #maLocation .cl-halo { fill: var(--plaque); opacity: .22; }
  #maLocation .cl-voiture { fill: var(--plaque); stroke: var(--ivoire); stroke-width: 3; }

  #maLocation .loc-notif { padding: 8px 20px; }
  #maLocation .loc-demo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--gris); font-size: .8125rem; }
  #maLocation .loc-demo .btn-s { min-height: 44px; }
  #maLocation .regles-liste { display: grid; }
  #maLocation .regle { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--trait); }
  #maLocation .regle:last-child { border-bottom: 0; }
  #maLocation .regle > svg.i { width: 20px; height: 20px; margin-top: 2px; color: var(--or-texte); }
  #maLocation .regle b { display: block; font-weight: 600; line-height: 1.4; }
  #maLocation .regle span { display: block; margin-top: 2px; color: var(--gris); font-size: .9063rem; line-height: 1.55; }

  #maLocation :is(.loc-compte, .loc-paiement) small { display: block; color: var(--gris); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  #maLocation .loc-compte .compte { margin-top: 8px; color: var(--encre); font-family: var(--serif); font-size: clamp(2.75rem, 2rem + 2.6vw, 3.75rem); font-weight: 400; letter-spacing: var(--serre); line-height: 1; }
  #maLocation .loc-compte .compte.compte-echu { font-size: clamp(1.875rem, 1.5rem + 1.4vw, 2.5rem); }
  #maLocation .loc-compte p { margin-top: 10px; color: var(--gris); font-size: .9063rem; line-height: 1.55; }
  #maLocation .loc-paiement .grille-2 { gap: 16px; }
  #maLocation .loc-paiement b.num { display: block; margin-top: 4px; font-family: var(--texte); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
  #maLocation .loc-paiement b.paye { color: var(--palme); }
  #maLocation #solde { margin-top: 18px; }
  #maLocation .loc-pieces .piece { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--trait); }
  #maLocation .loc-pieces .piece:last-of-type { border-bottom: 0; }
  #maLocation .piece-nom { flex: 1; min-width: 8em; font-size: .9375rem; font-weight: 500; }
  #maLocation .loc-pieces label.btn { position: relative; min-height: 44px; cursor: pointer; }
  #maLocation .loc-pieces label.btn:focus-within { outline: 2px solid var(--or-texte); outline-offset: 3px; }
  #maLocation .loc-documents .piece .btn { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
  #maLocation .loc-petit { margin-top: 12px; color: var(--gris); font-size: .8125rem; line-height: 1.5; }
  #maLocation .loc-km-tete { display: flex; justify-content: space-between; gap: 12px; }
  #maLocation .loc-km-tete b { font-weight: 600; }
  #maLocation .loc-km-tete .num { color: var(--gris); }
  #maLocation .jauge { height: 4px; margin-top: 12px; overflow: hidden; border-radius: 2px; background: var(--sable-2); }
  #maLocation .jauge i { display: block; height: 100%; border-radius: 2px; background: var(--or); }

  /* État des lieux de retour : contrôles et 8 photos */
  #maLocation .checklist label { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: .9375rem; }
  #maLocation .checklist input[type="checkbox"] { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--encre); }
  #maLocation .checklist-edl { display: grid; gap: 2px; margin-top: 14px; }
  #maLocation .checklist-edl b { font-weight: 600; }
  #maLocation .checklist-edl span { color: var(--gris); font-size: .875rem; }
  #maLocation .photos-edl { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-top: 12px; }
  #maLocation .photos-edl label {
    position: relative; overflow: hidden;
    display: grid; place-content: center; justify-items: center; gap: 4px;
    aspect-ratio: 1; padding: 4px; border-radius: var(--r-s); background: var(--blanc); color: var(--gris);
    font-size: .75rem; line-height: 1.2; text-align: center; cursor: pointer;
    box-shadow: inset 0 0 0 1px var(--trait-2);
  }
  #maLocation .photos-edl label svg.i { width: 18px; height: 18px; }
  #maLocation .photos-edl label:focus-within { outline: 2px solid var(--or-texte); outline-offset: 2px; }
  #maLocation .photos-edl input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
  #maLocation .photos-edl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  #maLocation .photos-edl label.est-ok { color: var(--blanc); }
  #maLocation .photos-edl label.est-ok::after { content: ""; position: absolute; inset: auto 0 0; height: 50%; background: linear-gradient(transparent, var(--voile-nuit)); }
  #maLocation .photos-edl label.est-ok > span { position: relative; z-index: 1; align-self: end; margin-top: auto; font-weight: 600; }
  #maLocation .photos-edl label.est-ok > svg.i { display: none; }
  #maLocation #rendre { margin-top: 16px; }
  #maLocation .checklist.est-fait h3 { color: var(--palme); }
  #maLocation .loc-oublier { justify-self: start; color: var(--gris); font-size: .875rem; }

  /* Garder le véhicule un jour de plus (B11) */
  #maLocation .loc-garder { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; padding: 16px 20px; border-radius: var(--r-carte); background: var(--or-pale); box-shadow: none; }
  #maLocation .loc-garder > div { flex: 1 1 16em; min-width: 0; }
  #maLocation .loc-garder b { display: block; font-size: .9688rem; font-weight: 600; line-height: 1.4; }
  #maLocation .loc-garder small { display: block; margin-top: 2px; color: var(--gris); font-size: .8438rem; }
  #maLocation .loc-garder .btn-s { min-height: 44px; }
  #maLocation .loc-garder-icone { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ivoire); color: var(--or-texte); box-shadow: none; }
  #maLocation p.loc-garder.est-pris { gap: 10px; background: var(--laterite-pale); color: var(--laterite); font-size: .9063rem; font-weight: 600; }
  #maLocation p.loc-garder.est-pris svg.i { flex: none; width: 20px; height: 20px; }

  /* Avis après la location (B21) */
  #maLocation .loc-avis { display: grid; gap: 14px; }
  #maLocation .loc-avis.est-fait p { color: var(--gris); font-size: .9375rem; }
  #maLocation .loc-avis .btn { justify-self: start; min-height: 44px; }
  #maLocation .avis-notes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
  #maLocation .avis-notes legend { margin-bottom: 8px; padding: 0; color: var(--encre); font-size: .875rem; font-weight: 600; }
  #maLocation .avis-note { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blanc); color: var(--encre); font-family: var(--texte); font-size: 1.0625rem; font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1px var(--trait-2); transition: background-color var(--d-1) var(--ease), color var(--d-1) var(--ease); }
  #maLocation .avis-note input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
  #maLocation .avis-note:has(input:checked) { background: var(--encre); color: var(--blanc); box-shadow: none; }
  #maLocation .avis-note:has(input:focus-visible) { outline: 2px solid var(--or-texte); outline-offset: 3px; }
  #maLocation .loc-avis .resa-msg.est-erreur { color: var(--laterite); font-weight: 600; }
  #maLocation .loc-avis .resa-msg:empty { display: none; }

  /* Mes devis, mes demandes : cartes claires */
  #maLocation .loc-section { margin-top: clamp(56px, 7vw, 96px); }
  #maLocation .loc-section-tete h2 { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem); }
  #maLocation .loc-section-tete p { max-width: 60ch; margin-top: 8px; color: var(--gris); }
  #maLocation .loc-cartes { display: grid; gap: 16px; margin-top: 24px; }
  @media (min-width: 768px) { #maLocation .loc-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 1280px) { #maLocation .loc-cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
  #maLocation .loc-carte { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: var(--r-carte); background: var(--ivoire); box-shadow: inset 0 0 0 1px var(--trait); }
  #maLocation .loc-carte-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
  #maLocation .loc-carte-tete .tag, #maLocation .loc-puce .tag { max-width: 100%; white-space: normal; } /* 7.2 : statuts plus longs hors français */
  #maLocation .loc-carte-ref { color: var(--or-texte); font-size: .75rem; font-weight: 600; letter-spacing: .1em; overflow-wrap: anywhere; }
  #maLocation .loc-carte.sobre .loc-carte-ref { color: var(--gris); }
  #maLocation .loc-carte h3 { margin-top: 4px; font-size: var(--t-3); font-weight: 500; }
  #maLocation .loc-carte-infos { color: var(--gris); font-size: .875rem; line-height: 1.5; }
  #maLocation .loc-carte-prix { margin-top: 2px; font-family: var(--texte); font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; }
  #maLocation .loc-carte-note { color: var(--gris); font-size: .8438rem; line-height: 1.5; }
  #maLocation .loc-carte-alerte { display: flex; gap: 8px; padding: 10px 12px; border-radius: var(--r-s); background: var(--laterite-pale); color: var(--laterite); font-size: .8438rem; line-height: 1.45; }
  #maLocation .loc-carte-alerte svg.i { flex: none; width: 18px; height: 18px; }
  #maLocation .loc-carte-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  #maLocation :is(.loc-carte-actions .btn-s, .loc-retrouver .btn) { min-height: 44px; }

  /* Retrouver une réservation : bloc sable */
  #maLocation .loc-retrouver { margin-top: clamp(56px, 7vw, 96px); padding: clamp(22px, 4vw, 40px); border-radius: var(--r-carte); background: var(--sable); box-shadow: none; }
  #maLocation .loc-retrouver-tete { display: flex; align-items: flex-start; gap: 16px; }
  #maLocation .loc-retrouver-icone { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ivoire); color: var(--encre); box-shadow: none; }
  #maLocation .loc-retrouver h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); }
  #maLocation .loc-retrouver-tete p { margin-top: 6px; color: var(--gris); font-size: .9375rem; line-height: 1.55; }
  #maLocation .loc-retrouver-champs { display: grid; gap: 14px; margin-top: 22px; }
  @media (min-width: 768px) { #maLocation .loc-retrouver-champs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; } }
  #maLocation .loc-retrouver-champs .btn { min-height: 48px; }
  #maLocation .loc-retrouver-msg { margin-top: 12px; color: var(--palme); font-size: .875rem; font-weight: 600; }
  #maLocation .loc-retrouver-msg.erreur { color: var(--laterite); }
  #maLocation .loc-retrouver-msg:empty { display: none; }
  #maLocation .loc-retrouver-demo { margin-top: 12px; color: var(--gris); font-size: .8125rem; }

  /* Aucune réservation : illustration claire (ciel or pâle, route encre) */
  #maLocation .loc-vide {
    display: grid; align-items: center; gap: clamp(24px, 4vw, 56px);
    margin-top: 32px; padding: clamp(22px, 4vw, 48px);
    border-radius: var(--r-carte); background: var(--ivoire); box-shadow: inset 0 0 0 1px var(--trait);
  }
  @media (min-width: 768px) { #maLocation .loc-vide { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
  #maLocation .loc-vide-illu { display: block; width: 100%; max-width: 440px; height: auto; justify-self: center; border-radius: var(--r-carte); box-shadow: none; }
  #maLocation .lv-ciel-1 { stop-color: var(--or-pale); }
  #maLocation .lv-ciel-2 { stop-color: var(--sable); }
  #maLocation .lv-soleil-1 { stop-color: var(--or-clair); }
  #maLocation .lv-soleil-2 { stop-color: var(--or); }
  #maLocation .lv-etoiles circle { fill: transparent; }
  #maLocation .lv-sol { fill: var(--sable-2); }
  #maLocation .lv-route { fill: var(--encre-3); }
  #maLocation .lv-ligne { fill: none; stroke: var(--or-clair); stroke-width: 2.5; stroke-dasharray: 8 9; }
  #maLocation .lv-voiture rect { fill: var(--encre); stroke: var(--blanc-20); stroke-width: 1.5; }
  #maLocation .lv-feu { fill: var(--plaque); }
  #maLocation .loc-vide-texte h2 { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem); }
  #maLocation .loc-vide-texte p { max-width: 52ch; margin-top: 12px; color: var(--gris); }
  #maLocation .loc-vide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

  /* =====================================================================================================================
     Feuilles de service (#service : devis, facture, rappel, annulation, prolongation, modification, signalement ;
     contenu construit par services.js). Estimation claire, pilule or pour envoyer, urgence en latérite.
     ===================================================================================================================== */
  #service .feuille-corps { padding-top: 8px; }
  #service .feuille-tete h3 { flex: 1; min-width: 0; }
  #service #serviceForm { display: grid; gap: 16px; }
  #service #serviceForm > p:first-child { color: var(--gris); font-size: .9375rem; line-height: 1.55; }
  #service #serviceForm .grille-2 { gap: 12px; }
  #service #serviceForm .option { padding: 12px 0; }
  /* Options : interrupteur 52 × 32 (sable-2, encre une fois choisi) */
  #service #serviceForm .option input[type="checkbox"] {
    -webkit-appearance: none; appearance: none;
    position: relative; flex: none; width: 52px; height: 32px; margin: 0;
    border-radius: var(--r-pill); background: var(--trait-2); cursor: pointer;
    transition: background-color var(--d-2) var(--ease);
  }
  #service #serviceForm .option input[type="checkbox"]::before {
    content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
    background: var(--blanc); box-shadow: var(--ombre-pouce-s);
    transition: transform var(--d-2) var(--ease);
  }
  #service #serviceForm .option input[type="checkbox"]:checked { background: var(--encre); }
  #service #serviceForm .option input[type="checkbox"]:checked::before { transform: translateX(20px); }
  #service #serviceForm .option input[type="checkbox"]:focus-visible { outline: 2px solid var(--or-texte); outline-offset: 3px; }
  #service #serviceForm .service-summary { position: relative; isolation: isolate; overflow: hidden; }
  #service .service-summary { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-carte); background: var(--or-pale); color: var(--encre); font-size: .9063rem; }
  #service .service-summary:empty { display: none; }
  #service .service-summary strong { display: block; margin-block: 2px; font-family: var(--texte); font-size: clamp(1.625rem, 1.4rem + .9vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--encre); }
  #service .service-summary small { color: var(--gris); font-size: .8125rem; line-height: 1.5; }
  #service .service-summary span { color: var(--encre); font-weight: 600; }
  #service .service-error { margin: 0; color: var(--laterite); font-size: .875rem; font-weight: 600; }
  #service .service-error:empty { display: none; }
  #service .service-prototype { color: var(--gris); font-size: .7813rem; line-height: 1.5; text-align: center; }
  #service p.service-urgence { position: relative; padding: 14px 16px 14px 52px; border-radius: var(--r-m); background: var(--laterite-pale); box-shadow: none; color: var(--encre); font-size: .9063rem; font-weight: 500; line-height: 1.55; }
  #service p.service-urgence::before { content: "!"; position: absolute; top: 13px; left: 16px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--laterite); color: var(--blanc); font-weight: 700; font-size: .875rem; line-height: 1; }
  #service p.service-urgence a { display: inline-block; padding-block: 11px; margin-block: -11px; color: var(--laterite); font-weight: 600; white-space: nowrap; text-underline-offset: 3px; }
  /* Bouton d'envoi : pilule or ; annulation en encre, signalement en latérite (sens explicite) */
  #service #serviceForm [type="submit"] { min-height: 52px; background: var(--or); color: var(--encre); box-shadow: none; }
  #service #serviceForm[data-type="annulation"] [type="submit"] { background: var(--encre); color: var(--blanc); }
  #service #serviceForm[data-type="signalement"] [type="submit"] { background: var(--laterite); color: var(--blanc); }
  @media (hover: hover) {
    #service #serviceForm [type="submit"]:hover { background: var(--or-survol); box-shadow: none; }
    #service #serviceForm[data-type="annulation"] [type="submit"]:hover { background: var(--encre-3); }
    #service #serviceForm[data-type="signalement"] [type="submit"]:hover { background: var(--laterite); box-shadow: var(--ombre-2); }
  }
  /* Demande enregistrée : sceau, titre serif, référence, gestes */
  #service .service-result { display: grid; justify-items: start; gap: 16px; animation: resa-monte var(--d-4) var(--ease) both; }
  #service .service-sceau { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--or); color: var(--encre); }
  #service .service-sceau svg.i { width: 22px; height: 22px; stroke-width: 2.2; }
  #service .service-result h3 { font-family: var(--serif); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.5rem); font-weight: 400; letter-spacing: var(--serre); line-height: 1.05; overflow-wrap: anywhere; }
  #service .service-ref { color: var(--gris); font-size: .875rem; }
  #service .service-ref b { color: var(--encre); font-weight: 600; letter-spacing: .02em; }
  #service .service-result > p { color: var(--gris); }
  #service .service-result > p strong { color: var(--encre); }
  #service .service-result .service-summary { justify-self: stretch; }
  #service .service-actions { display: flex; flex-wrap: wrap; gap: 10px; }
  #service .service-result .service-prototype { text-align: left; }
  #service .service-result :is([data-service-reserver], .service-wa) { justify-self: stretch; }
  #service a.btn.service-wa svg.i { color: var(--palme); }
  #service a.btn.btn-or.service-wa svg.i { color: var(--encre); }
  /* 7.2 : hors français, un libellé de bouton plus long passe à la ligne au lieu d'être coupé (feuille de service, bon) ;
     le français, déjà ajusté, ne change pas. */
  :root:not(:lang(fr)) :is(#service .btn, #imprimerBon, .pass-actions .btn, .loc-carte-actions .btn) { white-space: normal; padding-block: 8px; }
}
