/* Écrans de l'app Content Pro : offre et retour de paiement (maquette 16, variante TTC seul), hub (coquille des
   maquettes 07 et 18), consentement OAuth et ajout de passkey (parcours d'arrivée, 13). Chargée en dernier, après
   famille.css, maison.css, couche-content-pro.css, commun.css et arrivee.css (et, pour le hub, après hitpoint.css,
   site.css et hub.css). Ne reprend que ce que les maquettes portaient en ligne, plus l'adaptation au produit réel :
   signe dessiné en ligne, bascule de thème, coquille sans barre de maquette. Aucune taille nouvelle : l'échelle est
   celle de la famille et des maquettes. */

/* ——— signe en ligne (app/src/brand.ts) : le dos en gris, la face à l'ardoise ——— */
:root { --signe-dos: #7f7f7f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --signe-dos: #828282; } }
:root[data-theme="dark"] { --signe-dos: #828282; }
svg.signe { display: block; width: 20px; height: 20px; flex: none; background: none; }
.signe .dos { fill: var(--signe-dos); }
.signe .face { fill: var(--accent); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 70; background: var(--bg); color: var(--text); padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); }
.skip:focus { left: 8px; }
::selection { background: var(--accent-fond); }

/* ——— en-tête : langue (liens entre les deux adresses) et thème ——— */
.tete-a { background: var(--bg); }
.tete-a .droite, .barre .droite { display: flex; align-items: center; gap: 10px; }
.langue a, .langue span { display: inline-flex; align-items: center; border-radius: var(--r-pill); padding: 0 10px; font-size: 12px; font-weight: var(--fw-strong); color: var(--text-2); text-decoration: none; }
.langue a:hover { color: var(--text); }
.langue [aria-current] { background: var(--text); color: var(--bg); }
.theme-switch { display: inline-flex; height: 30px; padding: 2px; gap: 2px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--bg); }
.theme-switch button { width: 28px; padding: 0; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer;
  transition: color var(--dur-ui) var(--ease-productive), background-color var(--dur-ui) var(--ease-productive); }
.theme-switch button:hover { color: var(--text); }
.theme-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.theme-switch svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ——— offre et retour (maquette 16) ——— */
.scene-o { max-width: 960px; margin: 0 auto; padding: 40px 16px 80px; display: grid; gap: 22px; }
.scene-o h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: var(--ls-h1); }
.scene-o h2 { font-size: 19px; letter-spacing: var(--ls-h3); }
.scene-o > section, .scene-o [data-offer] { display: grid; gap: 12px; }
.etroit { max-width: 640px; display: grid; gap: 18px; }
.scene-o h1 + .chapo-a { margin-top: 10px; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--line-2); border-radius: var(--r-notice); overflow: hidden; }
.tiers li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4px 18px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: var(--fs-ui); }
.tiers li:first-child { border-top: 0; }
.tiers li b { font-weight: var(--fw-strong); display: block; }
.tiers li .d { display: block; font-size: var(--fs-small); color: var(--text-2); }
.tiers li > span:last-child { color: var(--text-2); }
.taxes { font-size: var(--fs-small); color: var(--text); font-weight: var(--fw-strong); }
.liens-l { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: var(--fs-small); }
.scene-o .liens-l a { color: var(--text-2); }
/* retour, une étape à la fois : repère discret 1 · 2 · 3, puis l'étape seule */
.etapes-r { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-small); color: var(--text-3); }
.etapes-r li { display: inline-flex; align-items: center; gap: 6px; }
.etapes-r li + li::before { content: "·"; color: var(--text-3); margin-right: 8px; }
.etapes-r .n { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); display: inline-grid; place-items: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.etapes-r li[aria-current="step"] { color: var(--text); font-weight: var(--fw-strong); }
.etapes-r li[aria-current="step"] .n { border-color: var(--text); }
.etapes-r li.fait .n { background: var(--text); border-color: var(--text); color: var(--bg); }
.etapes-r[hidden] { display: none; }
/* téléphone : le repère tient sur une ligne, seul le nom de l'étape en cours reste écrit */
@media (max-width: 560px) { .etapes-r { flex-wrap: nowrap; } .etapes-r li:not([aria-current]) .l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.etape-r { display: grid; gap: 18px; }
.etape-r h1:focus { outline: none; }
.etape-r h1:focus-visible { outline: 2px solid var(--hit); outline-offset: 4px; }
.bouton.retour-arriere { padding: 0; height: auto; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
/* retour : personne, séance réservée */
.opt.personne > span:last-child { display: grid; gap: 2px; }
.opt.personne > span:last-child > span { font-size: var(--fs-small); color: var(--text-2); }
.personnes > .panneau { grid-column: 1 / -1; }
.dl-rdv { margin: 0 0 8px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; font-size: var(--fs-ui); }
.dl-rdv dt { color: var(--text-2); } .dl-rdv dd { margin: 0; overflow-wrap: anywhere; }
.q-rdv { font-size: 16px; font-weight: var(--fw-strong); }
@media (max-width: 640px) {
  .tiers li { grid-template-columns: minmax(0, 1fr); }
}
.lien-compte { display: grid; gap: 10px; padding: 18px; border: 1.5px solid var(--text); border-radius: var(--r-win); }
.lien-compte .bouton { min-height: 50px; height: auto; padding: 10px 22px; font-size: 15px; white-space: normal; text-align: center; line-height: 1.3; }
.lien-compte .actions:empty { display: none; }
.message { min-height: 1.5em; font-size: var(--fs-ui); color: var(--text); }
.message:empty { min-height: 0; }
.rdv { gap: 14px; }
.personnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.personnes:empty { display: none; }
.opt { border: 1.5px solid var(--line-2); border-radius: var(--r-notice); padding: 12px 14px; background: var(--bg); text-align: left; cursor: pointer; font: inherit; color: inherit; }
.opt:hover { border-color: var(--text); }
.opt b { font-weight: var(--fw-strong); font-size: var(--fs-ui); }
.opt.personne { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.initiale-r { width: 40px; height: 40px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.cf-turnstile { min-height: 65px; }
.pied-o { max-width: 960px; margin: 0 auto; padding: 16px 16px 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--fs-small); color: var(--text-3); }
.pied-o a { color: var(--text-2); }
.scene-o a:not(.bouton) { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--accent-bord); }
@media (max-width: 640px) {
  .personnes { grid-template-columns: minmax(0, 1fr); }
  .scene-o { padding-top: 28px; }
  .tete-a { gap: 10px; }
}
@media (max-width: 420px) { .tete-a .marque { font-size: 14px; } }

/* ——— offre : une colonne, quatre étapes, une décision chacune (refonte du 2026-11-25,
   docs/design/2026-11-25_page_offre_funnel.md). Le devis se construit ligne à ligne : chaque étape faite se replie en
   une ligne (ce qui est choisi, son montant), le total suit dans une barre collée au bas de l'étape en cours. Échelle :
   12, 13, 14, 15, 16, 19, 24, 32 et 44 px. ——— */
.scene-offre { max-width: 672px; gap: 36px; }
body:has(.scene-offre) .pied-o { max-width: 672px; }
.sr-o { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.scene-offre [data-price] { display: inline-block; }
.scene-offre .prix-attente { width: 4.2ch; height: .92em; overflow: hidden; white-space: nowrap; color: transparent; background: var(--beat); border-radius: 4px; vertical-align: -0.08em; }

/* ce que vous obtenez, puis le prix d'entrée */
.tete-o { display: grid; gap: 12px; }
.tete-o h1 { font-size: 32px; line-height: 1.06; }
.tete-o .chapo-a { margin-top: 0; }
.entree-o { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 14px; }
.entree-o .montant-o { font-size: 32px; line-height: 1; letter-spacing: -0.04em; font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; }
.entree-o .pour { font-size: 16px; }
@media (min-width: 720px) {
  .tete-o h1 { font-size: 44px; }
  .entree-o .montant-o { font-size: 44px; }
}

/* les étapes : un repère numéroté par étape (compteur : une étape retirée renumérote), relié au suivant par un rail */
.etapes-o { list-style: none; margin: 0; padding: 0; counter-reset: etape; display: grid; }
.etape-o { counter-increment: etape; position: relative; scroll-margin: 16px 0 96px; }
.etape-o::before { content: ""; position: absolute; left: 13px; top: 46px; bottom: -10px; width: 2px; border-radius: 1px; background: var(--line-2); }
.etape-o:last-child::before { display: none; }
.etape-o.faite::before { background: var(--text); }
.etape-tete { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 16px; row-gap: 2px; align-items: center; padding: 14px 0; }
.pastille { grid-row: 1; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--bg); color: var(--text-2);
  display: grid; place-items: center; font-size: 13px; font-weight: var(--fw-strong); font-variant-numeric: tabular-nums;
  transition: background-color var(--dur-ui) var(--ease-productive), border-color var(--dur-ui) var(--ease-productive); }
.pastille::before { content: counter(etape); }
.etape-o[aria-current] .pastille { background: var(--text); border-color: var(--text); color: var(--bg); }
.etape-o.faite .pastille { border-color: var(--text); }
.etape-o.faite .pastille::before { content: ""; width: 10px; height: 5px; border: solid var(--text); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.etape-o.a-venir .pastille { border-style: dashed; color: var(--text-3); }
.etape-tete h2 { grid-column: 2; grid-row: 1; font-size: 19px; line-height: 1.25; }
.etape-tete h2:focus { outline: none; }
.etape-tete h2:focus-visible { outline: 2px solid var(--hit); outline-offset: 4px; border-radius: 2px; }
.etape-o.faite h2, .etape-o.a-venir h2 { font-size: 16px; }
.etape-o.a-venir h2 { color: var(--text-3); font-weight: var(--fw-text); }
.etape-tete .montant { grid-column: 3; grid-row: 1; justify-self: end; text-align: right; font-size: 16px; font-weight: var(--fw-strong); white-space: nowrap; }
.etape-tete .resume { grid-column: 2; grid-row: 2; font-size: var(--fs-small); color: var(--text-2); }
.etape-tete .modifier { grid-column: 3; grid-row: 2; justify-self: end; height: auto; padding: 0; font-weight: var(--fw-text); font-size: var(--fs-small);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.etape-o.a-venir .resume, .etape-o:not(.faite) .montant { display: none; }

/* le contenu de l'étape ouverte, aligné sur son titre */
.etape-corps { display: grid; gap: 16px; padding: 2px 0 26px 44px; }
.etape-corps.vient { animation: ouvre-o var(--dur-max) var(--ease-expressive); }
@keyframes ouvre-o { from { opacity: 0; transform: translateY(6px); } }
.etape-corps > .sous { font-size: 15px; }
.compris-o { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.compris-o li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; }
.compris-o li::before { content: ""; width: 9px; height: 5px; margin-top: 8px; border: solid var(--text); border-width: 0 0 1.8px 1.8px; transform: rotate(-45deg); }
.ligne-prix-o { display: flex; align-items: baseline; gap: 8px; }
.ligne-prix-o .prix { font-size: 24px; font-weight: var(--fw-strong); letter-spacing: -0.02em; }
.ligne-prix-o .sous { font-size: 15px; }

/* à déplier : ce que vous payez à côté, ce qui est compris (un seul niveau) */
.pli-o { border-top: 1px solid var(--line); padding-top: 12px; }
.pli-o summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-ui); font-weight: var(--fw-strong); }
.pli-o summary::-webkit-details-marker { display: none; }
.pli-o summary::before { content: "+"; font-family: var(--mono); width: 1ch; color: var(--text-2); }
.pli-o[open] summary::before { content: "−"; }
.pli-o summary:focus-visible { outline: 2px solid var(--hit); outline-offset: 3px; border-radius: 2px; }
.pli-o[open] > :not(summary) { margin-top: 12px; }
.pli-o > p { font-size: var(--fs-ui); }
.pli-o .compris-o { font-size: var(--fs-ui); }

/* l'option : une case à cocher, décochée, avec son supplément ; sa phrase dessous, sur toute la largeur */
.option-o { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 6px 12px; align-items: start; padding: 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-win);
  background: var(--bg); cursor: pointer; transition: border-color var(--dur-ui) var(--ease-productive), background-color var(--dur-ui) var(--ease-productive); }
.option-o:hover { border-color: var(--bar); }
.option-o:has(input:checked) { border-color: var(--text); background: var(--accent-fond); }
.option-o:has(input:focus-visible) { outline: 2px solid var(--hit); outline-offset: 2px; }
.option-o input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--text); }
.option-o input:focus-visible { outline: none; }
.option-o b { grid-column: 2; grid-row: 1; font-size: 16px; font-weight: var(--fw-strong); line-height: 1.4; }
.option-o .supplement { grid-column: 3; grid-row: 1; font-size: 16px; font-weight: var(--fw-strong); line-height: 1.4; white-space: nowrap; }
.option-o .d { grid-column: 2 / -1; grid-row: 2; font-size: var(--fs-ui); color: var(--text-2); }

/* le rythme : deux choix, chacun avec son vrai montant */
.rythme-o { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choix-o { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line-2);
  border-radius: var(--r-notice); background: var(--bg); cursor: pointer; transition: border-color var(--dur-ui) var(--ease-productive), background-color var(--dur-ui) var(--ease-productive); }
.choix-o:hover { border-color: var(--bar); }
.choix-o:has(input:checked) { border-color: var(--text); background: var(--accent-fond); }
.choix-o:has(input:focus-visible) { outline: 2px solid var(--hit); outline-offset: 2px; }
.choix-o input { width: 18px; height: 18px; margin: 0; accent-color: var(--text); }
.choix-o input:focus-visible { outline: none; }
.choix-o .t { font-size: 15px; font-weight: var(--fw-strong); }
.choix-o .m { grid-column: 2; font-size: var(--fs-ui); color: var(--text-2); }
.ecart-o { font-size: var(--fs-ui); }

/* le récapitulatif : aujourd'hui, puis ensuite ; la devise, la mention, le paiement, la réassurance */
.recap-o { margin: 0; display: grid; border: 1.5px solid var(--text); border-radius: var(--r-win); overflow: hidden; }
.recap-o > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 14px 18px; }
.recap-o > div + div { border-top: 1px solid var(--line); }
.recap-o dt { font-size: 15px; }
.recap-o dd { margin: 0; font-size: 19px; font-weight: var(--fw-strong); white-space: nowrap; }
.recap-o .aujourdhui { row-gap: 2px; }
.recap-o .aujourdhui dt { font-size: 16px; font-weight: var(--fw-strong); }
.recap-o .aujourdhui dd:not(.d) { font-size: 32px; letter-spacing: -0.03em; line-height: 1; }
.recap-o dd.d { grid-column: 1 / -1; font-size: var(--fs-small); font-weight: var(--fw-text); color: var(--text-2); white-space: normal; }
.devise-o { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: var(--fs-ui); }
.devise-o label { color: var(--text-2); }
.devise-o select { height: 32px; padding: 0 30px 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill); font-size: var(--fs-ui); cursor: pointer;
  appearance: none; -webkit-appearance: none; background: var(--bg) linear-gradient(45deg, transparent 50%, var(--text-2) 50%) no-repeat right 15px center / 5px 5px,
  linear-gradient(-45deg, transparent 50%, var(--text-2) 50%) no-repeat right 10px center / 5px 5px; }
.devise-o select:hover { border-color: var(--text); }
.devise-o .sous { flex-basis: 100%; font-size: var(--fs-small); }
.etape-corps .actions .bouton.grand { min-width: 280px; }
.rassure-o { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-small); color: var(--text-2); }
.rassure-o li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.rassure-o svg { width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: var(--text-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* la barre : le total d'aujourd'hui et d'ensuite, et l'action de l'étape ; collée au bas de l'écran quand l'étape le dépasse */
.barre-o { position: sticky; bottom: 12px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; margin: -4px 0 22px 44px;
  padding: 12px 12px 12px 18px; border: 1px solid var(--line-2); border-radius: var(--r-win); background: var(--bg); box-shadow: var(--ombre); }
@supports (backdrop-filter: blur(1px)) { .barre-o { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); } }
.total-o { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; min-width: 0; }
.total-o .lib { font-size: var(--fs-small); color: var(--text-2); }
.total-o [data-price] { font-size: 19px; font-weight: var(--fw-strong); letter-spacing: -0.02em; }
.total-o .ensuite { flex-basis: 100%; font-size: var(--fs-small); color: var(--text-2); }
.barre-o .bouton { flex: none; max-width: 62%; min-height: 44px; height: auto; padding: 8px 20px; white-space: normal; text-align: center; line-height: 1.25; }
.tic { animation: tic-o var(--dur-max) var(--ease-expressive); }
@keyframes tic-o { from { opacity: .25; transform: translateY(4px); } }
@media (max-width: 359px) { .rythme-o { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .scene-offre { gap: 28px; padding-bottom: 40px; }
  .etape-corps .actions, .etape-corps .actions .bouton.grand { width: 100%; min-width: 0; }
  .barre-o { bottom: 0; margin: 0 -16px 18px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 0; box-shadow: none; }
}

/* ——— parcours v2 (docs/design/2026-11-25_parcours_v2.md) : comptes à côté datés, coût en tout et sa promesse,
   « Et après ? », compte créé sur la page de retour, ce qu'il faut le jour de la séance ——— */
.tiers li .prix-cote { display: grid; gap: 2px; justify-items: end; text-align: right; }
.tiers li .prix-cote .m { color: var(--text); font-weight: var(--fw-strong); font-size: var(--fs-ui); font-variant-numeric: tabular-nums; }
.tiers li .prix-cote .m.inconnu { font-weight: var(--fw-text); }
.tiers li .prix-cote .d { text-align: right; }
.tiers li a { color: var(--text-2); text-underline-offset: 3px; text-decoration-color: var(--line-2); }
@media (max-width: 640px) { .tiers li .prix-cote, .tiers li .prix-cote .d { justify-items: start; text-align: left; } }
/* La barre collante ne recouvre jamais ce qu'on atteint (lien des comptes à côté, champ au clavier) : une marge basse de
   défilement égale à sa hauteur, marge comprise (relecture de desktop-10, mesurée à 1280 × 800 et 390 × 800). */
html:has(.barre-o:not([hidden])) { scroll-padding-bottom: 116px; }
.tout-o { display: grid; gap: 10px; }
.promesse-o { font-size: 16px; line-height: 1.5; color: var(--text); }
.total-tout-o { font-size: 16px; font-weight: var(--fw-strong); padding: 12px 16px; border-radius: var(--r-notice); background: var(--accent-fond); border: 1px solid var(--line-2); }
.total-tout-o[hidden], .tout-o .pli-o[hidden] { display: none; }
.pli-o .sous-pli { margin-top: 12px; }
.besoin-o { font-size: var(--fs-ui); color: var(--text-2); }
/* Option site vitrine (D77) : encadré en pointillés, sans case (elle se choisit à la séance) ; son prix en évidence. */
.site-o { display: grid; gap: 4px; margin-top: 20px; padding: 14px 16px; border: 1.5px dashed var(--line-2); border-radius: var(--r-win); }
.site-o h3 { margin: 0 0 2px; font-size: 16px; font-weight: var(--fw-strong); line-height: 1.4; color: var(--text); }
.site-o p { margin: 0; }
.site-o [data-site-price] { font-size: 16px; font-weight: var(--fw-strong); line-height: 1.4; }
.site-o [data-site-price][hidden] { display: none; }
.apres-o .suite-o { margin: 0; padding-left: 22px; display: grid; gap: 8px; font-size: var(--fs-ui); }
.apres-o .suite-o li::marker { font-variant-numeric: tabular-nums; color: var(--text-2); }
.compte-r { display: grid; gap: 8px; }
.compte-r[hidden] { display: none; }
.compte-r label { font-size: var(--fs-ui); font-weight: var(--fw-strong); }
.compte-r .champ { height: 48px; font-size: 16px; border-radius: 12px; border-width: 1.5px; }
.compte-r .bouton { margin-top: 4px; justify-self: start; min-height: 50px; height: auto; padding: 10px 22px; font-size: 15px; }
@media (max-width: 560px) { .compte-r .bouton { justify-self: stretch; } }
.partage-r[hidden] { display: none; }
.partage-r .lien-r { width: 100%; font-family: var(--mono); font-size: var(--fs-small); }
.fait-r { font-size: var(--fs-ui); font-weight: var(--fw-strong); display: flex; align-items: center; gap: 8px; }
.fait-r::before { content: ""; width: 9px; height: 5px; border: solid var(--text); border-width: 0 0 1.8px 1.8px; transform: translateY(-2px) rotate(-45deg); }
.fait-r[hidden] { display: none; }
.pret-r { display: grid; gap: 12px; }
.pret-r[hidden] { display: none; }
.pret-r h2 { font-size: 16px; }
.retour-o [data-return-closed] { font-size: var(--fs-small); }
.secondaire-r { font-size: var(--fs-ui); }
.secondaire-r[hidden] { display: none; }
.secondaire-r a { color: var(--text-2); text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* ——— consentement OAuth et ajout de passkey : une colonne étroite sous l'en-tête d'arrivée ——— */
.carte-a { max-width: 560px; margin: 0 auto; padding: 40px 16px 80px; display: grid; gap: 16px; }
.carte-a h1 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.1; }
.carte-a > p, .carte-a li, .carte-a label { color: var(--text-2); }
.carte-a fieldset { border: 1px solid var(--line-2); border-radius: var(--r-notice); padding: 12px 16px; margin: 0; min-width: 0; }
.carte-a legend { padding: 0 6px; color: var(--text); font-weight: var(--fw-strong); font-size: var(--fs-ui); }
.carte-a label { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; }
.carte-a input[type="radio"], .carte-a input[type="checkbox"] { accent-color: var(--text); }
.carte-a .actions { margin-top: 4px; }
.carte-a .actions:has(> [hidden]:only-child) { display: none; } /* bouton retiré (ajout de passkey réussi ou lien expiré) */
.carte-a .mono { font-family: var(--mono); font-size: var(--fs-small); color: var(--text); overflow-wrap: anywhere; }
.carte-a .note { font-size: var(--fs-small); color: var(--text-3); }
.carte-a .note a { color: var(--text-2); }
.agent { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--r-notice); background: var(--bg-2); padding: 14px 16px; }
.agent .mark { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--text); color: var(--bg); display: grid; place-items: center; font-weight: 600; }
.agent .mark.unknown { background: transparent; border: 1.5px dashed var(--bar); color: var(--text-2); }
.agent strong { display: block; color: var(--text); font-weight: var(--fw-strong); }
.agent small { color: var(--text-2); font-size: var(--fs-small); }
.carte-a form { display: grid; gap: 12px; }
.carte-a .titre-choix { color: var(--text); font-weight: var(--fw-strong); font-size: var(--fs-ui); margin-top: 4px; }
.carte-a label.choice { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; padding: 14px 16px; }
.carte-a label.choice input { margin: 4px 0 0; }
.choice { border: 1.5px solid var(--line-2); border-radius: var(--r-notice); padding: 12px 16px; margin: 0; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--text); box-shadow: var(--ombre); }
.choice strong { color: var(--text); font-weight: var(--fw-strong); }
.status { border: 1px solid var(--line-2); border-left: 3px solid var(--text); border-radius: var(--r-notice); padding: 12px 16px; color: var(--text-2); font-size: var(--fs-ui); }
.status strong { color: var(--text); font-weight: var(--fw-strong); }
.status p { margin: 4px 0 0; }
.warn { border: 1px solid var(--line-2); border-left: 3px solid var(--niveau); border-radius: var(--r-notice); padding: 12px 16px; color: var(--text); }

/* ——— hub : coquille des maquettes (latéral, barre, navigation du bas) sans barre de maquette ——— */
.app { min-height: 100vh; }
.lateral { top: 0; height: 100vh; }
.lateral .pied a { color: var(--text-3); }
.app:has(> #head[hidden]) { grid-template-columns: minmax(0, 1fr); background: var(--bg); }
.app:has(> #head[hidden]) .barre, .app:has(> #head[hidden]) .nav-bas { display: none; }
.barre .marque { display: none; padding: 0; white-space: nowrap; }
.marque { white-space: nowrap; }
@media (max-width: 560px) { .barre .compte { display: none; } }
.barre .compte { color: var(--text-2); }
.nav a .soon { margin-left: auto; font-size: 12px; color: var(--text-3); }
.zone > main { flex: 1; }
.frag-bar.sticky { top: 0; }
.hub-side { top: 16px; }
@media (max-width: 960px) {
  .barre .marque { display: inline-flex; }
  .frag-bar.sticky { top: var(--head); }
  .hub-side { top: calc(var(--head) + 16px); }
}
/* boutons et cadres du hub, à la forme de la maquette (.bouton, .panneau) */
.btn { height: var(--h-btn); padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--bg); color: var(--text);
  font-weight: var(--fw-strong); font-size: var(--fs-ui); justify-content: center; }
.btn:hover { background: var(--bg); border-color: var(--text); }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.primary:hover { background: var(--text); border-color: var(--text); opacity: .88; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.frag { border-color: var(--line-2); border-radius: var(--r-notice); background: var(--bg); box-shadow: none; }
.frag-bar { background: var(--bg-2); color: var(--text-2); font-family: var(--sans); }
.frag-bar .path { font-family: var(--sans); font-size: var(--fs-small); }
.frag-bar .dots { display: none; }
/* tête de page du hub à l'échelle de la maquette (.page-tete) : titre de 26 à 34 px, texte d'appui dessous */
.hub-head { padding-block: 28px 8px; align-items: start; }
.hub-head h1 { grid-column: 1 / -1; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; letter-spacing: var(--ls-h1); font-weight: var(--fw-strong); }
.hub-head .lede { grid-column: 1 / -1; max-width: 64ch; font-size: var(--fs-ui); line-height: 1.55; }
.hub-body.band { border-top: 0; padding-top: 16px; }
/* contenu posé à même un cadre (pas-à-pas des agents) : la marge intérieure des panneaux de la maquette */
.frag > p:not([class]) { padding: 16px 24px 0; color: var(--text-2); }
.frag > .seg { margin: 12px 24px 0; }
.frag > .client-steps { padding: 0 24px; }
/* encarts secondaires repliés (Achats, Invitations, Ce qui s'est passé) : le titre se déplie, au clavier aussi */
.frag-pli > summary { cursor: pointer; list-style: none; }
.frag-pli > summary::-webkit-details-marker { display: none; }
.frag-pli > summary .path::before { content: "+"; display: inline-block; width: 1.5ch; font-family: var(--mono); color: var(--text-3); }
.frag-pli[open] > summary .path::before { content: "−"; }
.frag-pli:not([open]) > summary { border-bottom: 0; }
.frag-pli > summary:focus-visible { outline: 2px solid var(--hit); outline-offset: -2px; }
.frag > .autre-assistant { margin: 4px 24px 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.autre-assistant summary { cursor: pointer; font-size: var(--fs-ui); font-weight: var(--fw-strong); color: var(--text); }
.autre-assistant .seg { margin-top: 12px; }
.band::before, .band::after { display: none; }
/* connexion du hub : même colonne que le consentement et l'ajout de passkey */
.carte-a.signin { padding-block: 40px 80px; }
.carte-a.signin h1 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.1; font-weight: var(--fw-strong); letter-spacing: var(--ls-h1); }
.carte-a.signin .lede { font-size: 16px; max-width: 60ch; }
.carte-a.signin .actions { display: grid; gap: 10px; margin-top: 8px; }
.carte-a.signin .actions .btn { height: 44px; font-size: 15px; }
.carte-a.signin details { margin-top: 16px; }
