/* PMSH — Guides santé (3.4.0) : page guides.html. Mêmes jetons que site.css ; une seule couleur d'accent (bleu marine),
   vert seulement pour le trait des surtitres et les succès, rouge seulement pour les erreurs. Animations douces (240 ms à
   l'ouverture, 190 ms à la fermeture), toutes coupées par « réduire les animations ». */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

.page-guides {
  --gs-doux: cubic-bezier(.22, 1, .36, 1);
  --gs-sortie: cubic-bezier(.4, 0, 1, 1);
  --gs-voile: rgba(6, 47, 87, .42);
  --gs-rouge-pale: #fdf1ef;
  --gs-ombre-douce: 0 1px 2px rgba(6, 47, 87, .04), 0 6px 18px rgba(6, 47, 87, .05);
  --gs-ombre-survol: 0 2px 4px rgba(6, 47, 87, .05), 0 14px 30px rgba(6, 47, 87, .11);
}
.page-guides.gs-modal-ouvert { overflow: hidden; }
.gs-page { padding-top: var(--topbar-h); }
.gs-section { padding-block: clamp(44px, 6vw, 88px) clamp(56px, 7vw, 104px); }

/* ---------- en-tête de section ---------- */
.gs-tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 40px; margin-bottom: clamp(28px, 4vw, 44px); }
.gs-h1 { margin: 0; color: var(--pmsh-marine); font-size: clamp(2.1rem, 3.6vw, 3.4rem); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.gs-h1 em { color: var(--pmsh-bleu); font-style: normal; font-weight: 400; }
.gs-sous { margin: 16px 0 0; color: var(--pmsh-gris-2); font-size: 1.05rem; line-height: 1.5; max-width: 44ch; }
.gs-filtres { position: relative; display: flex; gap: 2px; padding: 4px; border: 1px solid var(--pmsh-bord); border-radius: 999px; background: var(--pmsh-pale-1); }
.gs-filtres__pouce { position: absolute; top: 4px; left: 0; height: calc(100% - 8px); border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(10, 40, 66, .08), 0 0 0 1px var(--pmsh-bord); transition: transform .38s var(--gs-doux), width .38s var(--gs-doux); pointer-events: none; }
.gs-filtres button { position: relative; z-index: 1; border: 0; background: none; height: 36px; padding: 0 15px; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--pmsh-gris-1); white-space: nowrap; transition: color .25s ease; }
.gs-filtres button:hover { color: var(--pmsh-marine); }
.gs-filtres button[aria-pressed="true"] { color: var(--pmsh-marine); }
.gs-filtres button:focus-visible { outline: 2px solid var(--pmsh-bleu); outline-offset: 2px; }
@media (max-width: 860px) {
  .gs-tete { grid-template-columns: minmax(0, 1fr); }
  .gs-filtres { justify-self: start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .gs-filtres::-webkit-scrollbar { display: none; }
  /* barre plus large que l'écran : le bord droit s'efface en fondu tant qu'il reste des filtres à voir */
  .gs-filtres.deborde { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
}

/* ---------- grille de cartes ---------- */
.gs-grille { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
@media (max-width: 980px) { .gs-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .gs-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.gs-carte { display: flex; flex-direction: column; gap: 14px; padding: 14px 14px 16px; border: 1px solid var(--pmsh-bord); border-radius: 18px; background: #fff; color: inherit; text-align: left; font: inherit;
  box-shadow: var(--gs-ombre-douce); transition: transform .3s var(--gs-doux), box-shadow .3s var(--gs-doux), border-color .3s; -webkit-tap-highlight-color: transparent; }
.gs-carte:hover { transform: translateY(-3px); box-shadow: var(--gs-ombre-survol); border-color: var(--pmsh-pale-3); }
.gs-carte:active { transform: translateY(-1px) scale(.985); transition-duration: .12s; }
.gs-carte:focus-visible { outline: 2px solid var(--pmsh-bleu); outline-offset: 3px; }
.gs-socle { padding: 18px 18% 0; background: var(--pmsh-pale-1); border-radius: 12px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.gs-socle .gs-couv { width: 100%; border-radius: 3px 3px 0 0; box-shadow: 0 18px 28px -14px rgba(6, 47, 87, .45); transition: transform .4s var(--gs-doux); }
.gs-carte:hover .gs-couv { transform: translateY(-4px); }
.gs-infos { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 0 4px; }
.gs-rayon { font-size: 12px; color: var(--pmsh-gris-2); }
.gs-nom { font-size: 15.5px; font-weight: 500; line-height: 1.3; color: var(--pmsh-marine); }
.gs-bas { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--pmsh-gris-2); }
.gs-prix { color: var(--pmsh-marine); font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 700px) {
  .gs-carte { padding: 10px 10px 12px; border-radius: 16px; }
  .gs-socle { padding: 14px 14% 0; }
  .gs-nom { font-size: 14px; }
  .gs-bas { flex-direction: column; gap: 2px; }
}
/* attente du catalogue : cartes vides qui respirent doucement */
.gs-carte--attente { pointer-events: none; }
.gs-carte--attente .gs-socle { aspect-ratio: 1 / 1.18; }
.gs-ligne { display: block; height: 12px; margin: 0 4px; border-radius: 6px; background: var(--pmsh-pale-2); }
.gs-ligne--courte { width: 55%; }
.gs-carte--attente > * { animation: gs-respire 1.4s ease-in-out infinite alternate; }
@keyframes gs-respire { from { opacity: .55; } to { opacity: 1; } }
.gs-pages { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.gs-pages[hidden] { display: none; }
.gs-page-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--pmsh-bord); border-radius: 50%; background: #fff; color: var(--pmsh-marine); cursor: pointer;
  transition: transform .25s var(--gs-doux), border-color .25s, box-shadow .25s var(--gs-doux), opacity .25s; -webkit-tap-highlight-color: transparent; }
.gs-page-btn:hover:not(:disabled) { border-color: var(--pmsh-pale-3); box-shadow: var(--gs-ombre-douce); transform: translateY(-1px); }
.gs-page-btn:active:not(:disabled) { transform: scale(.94); transition-duration: .12s; }
.gs-page-btn:focus-visible { outline: 2px solid var(--pmsh-bleu); outline-offset: 3px; }
.gs-page-btn:disabled { opacity: .35; cursor: default; }
.gs-page-num { min-width: 52px; text-align: center; font-size: 13.5px; color: var(--pmsh-gris-2); font-variant-numeric: tabular-nums; }
.gs-vide { margin: 8px 0 0; padding: 26px; border: 1px solid var(--pmsh-bord); border-radius: 18px; background: var(--pmsh-pale-1); color: var(--pmsh-gris-1); text-align: center; }

.gs-garanties { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--pmsh-bord); border-radius: 18px; background: var(--pmsh-pale-1); }
.gs-garanties div { display: flex; align-items: center; gap: 12px; padding: 18px 22px; font-size: 14px; color: var(--pmsh-gris-1); }
.gs-garanties div + div { border-left: 1px solid var(--pmsh-bord); }
.gs-garanties .ico { width: 20px; height: 20px; color: var(--pmsh-bleu); }
@media (max-width: 760px) { .gs-garanties { grid-template-columns: minmax(0, 1fr); } .gs-garanties div + div { border-left: 0; border-top: 1px solid var(--pmsh-bord); } }

/* ---------- couverture (image du back-office, sinon couverture provisoire générée) ---------- */
.gs-couv { position: relative; display: block; aspect-ratio: 2 / 3; container-type: inline-size; overflow: hidden; color: #fff; background: var(--fond, var(--pmsh-marine)); }
.gs-couv::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .28) 0, rgba(255, 255, 255, .12) 2.4%, rgba(0, 0, 0, .06) 4.5%, transparent 8%); }
.gs-couv > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gs-couv .anneaux { position: absolute; right: -28cqw; bottom: -22cqw; width: 92cqw; height: 92cqw; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 13cqw rgba(255, 255, 255, .035), 0 0 0 26cqw rgba(255, 255, 255, .025); }
.gs-couv .int { position: absolute; inset: 0; padding: 9cqw 9cqw 9cqw 11cqw; display: flex; flex-direction: column; }
.gs-couv .haut { display: flex; justify-content: space-between; font-size: 4.6cqw; letter-spacing: .16em; opacity: .78; }
.gs-couv .pict { margin-top: 16cqw; width: 22cqw; height: 22cqw; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; }
.gs-couv .pict svg { width: 11cqw; height: 11cqw; stroke-width: 1.4; }
.gs-couv .bas-c { margin-top: auto; display: grid; gap: 4cqw; }
.gs-couv .trait { width: 12cqw; height: 2px; background: var(--pmsh-vert); }
.gs-couv .t { font-size: 9.6cqw; font-weight: 500; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.gs-couv .a { font-size: 4.6cqw; opacity: .75; letter-spacing: .02em; }
.gs-couv.clair { color: var(--pmsh-marine); }
.gs-couv.clair::before { background: linear-gradient(90deg, rgba(6, 47, 87, .16) 0, rgba(255, 255, 255, .6) 2.4%, rgba(6, 47, 87, .04) 4.5%, transparent 8%); }
.gs-couv.clair .anneaux { border-color: rgba(6, 47, 87, .1); box-shadow: 0 0 0 13cqw rgba(6, 47, 87, .025), 0 0 0 26cqw rgba(6, 47, 87, .018); }
.gs-couv.clair .pict { border-color: rgba(6, 47, 87, .25); color: var(--pmsh-bleu); }
.gs-couv.clair .haut, .gs-couv.clair .a { color: var(--pmsh-gris-1); opacity: 1; }

/* ---------- fenêtre d'achat ---------- */
.gs-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); }
.gs-modal[hidden] { display: none; }
.gs-modal__fond { position: absolute; inset: 0; background: var(--gs-voile); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gs-modal__panneau { position: relative; width: min(640px, 100%); max-height: min(860px, calc(100dvh - 48px)); display: flex; flex-direction: column; background: #fff; border-radius: 24px;
  box-shadow: 0 30px 80px rgba(6, 47, 87, .28); overflow: hidden; outline: none; }
.gs-modal__tete { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 24px 34px 18px; border-bottom: 1px solid var(--pmsh-bord); }
.gs-modal__titres { min-width: 0; }
.gs-modal__sur { margin: 0 0 6px; font-size: .69rem; font-weight: 500; letter-spacing: .14em; color: var(--pmsh-gris-2); text-transform: uppercase; min-height: 1.1em; }
.gs-modal__titre { margin: 0; color: var(--pmsh-marine); font-size: clamp(1.45rem, 3.2vw, 2rem); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.gs-fermer { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--pmsh-bord); border-radius: 12px; background: var(--pmsh-pale-1); color: var(--pmsh-marine); transition: background .2s, transform .15s var(--gs-doux); }
.gs-fermer:hover { background: var(--pmsh-pale-2); }
.gs-fermer:active { transform: scale(.94); }
.gs-fermer:focus-visible, .gs-b:focus-visible { outline: 2px solid var(--pmsh-bleu); outline-offset: 2px; }

/* fil d'étapes : le trait se remplit, la pastille passe au bleu, le numéro devient une coche */
.gs-etapes { display: flex; gap: 0; margin: 16px 0 0; padding: 0; list-style: none; grid-column: 1 / -1; }
.gs-etapes li { position: relative; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--pmsh-gris-2); min-width: 0; transition: color .3s ease; }
.gs-etapes li:not(:last-child) { flex: 1 1 auto; }
.gs-etapes li:last-child { flex: none; }
.gs-etapes .pt { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--pmsh-bord); display: grid; place-items: center; font-size: 11.5px; font-variant-numeric: tabular-nums; background: #fff;
  transition: background-color .35s var(--gs-doux), border-color .35s var(--gs-doux), color .35s, box-shadow .35s var(--gs-doux); }
.gs-etapes .pt > * { grid-area: 1 / 1; transition: opacity .25s ease, transform .35s var(--gs-doux); }
.gs-etapes .pt svg { width: 12px; height: 12px; stroke-width: 2.2; opacity: 0; transform: scale(.4); }
.gs-etapes .nom { white-space: nowrap; transition: opacity .3s ease; }
.gs-etapes .fil { flex: 1 1 auto; min-width: 12px; height: 1px; margin: 0 10px 0 2px; background: var(--pmsh-bord); overflow: hidden; }
.gs-etapes .fil i { display: block; height: 100%; background: var(--pmsh-bleu); transform: scaleX(0); transform-origin: left center; transition: transform .45s var(--gs-doux); }
.gs-etapes li.fait { color: var(--pmsh-gris-1); }
.gs-etapes li.fait .pt { background: var(--pmsh-bleu); border-color: var(--pmsh-bleu); color: #fff; }
.gs-etapes li.fait .pt .n { opacity: 0; transform: scale(.4); }
.gs-etapes li.fait .pt svg { opacity: 1; transform: none; }
.gs-etapes li.fait .fil i { transform: scaleX(1); }
.gs-etapes li.encours { color: var(--pmsh-marine); }
.gs-etapes li.encours .pt { border-color: var(--pmsh-bleu); color: var(--pmsh-bleu); box-shadow: 0 0 0 3px var(--pmsh-pale-2); }
@media (max-width: 560px) {
  .gs-etapes .nom { position: absolute; opacity: 0; pointer-events: none; }
  .gs-etapes li.encours .nom { position: static; opacity: 1; }
}

.gs-modal__corps { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(0, 69, 128, .34) transparent; }
.gs-vue { padding: 24px 34px 28px; }
.gs-vue--sortante { position: absolute; top: 0; left: 0; right: 0; pointer-events: none; }
.gs-modal__pied { position: relative; flex: none; border-top: 1px solid var(--pmsh-bord); background: #fff; }
.gs-modal__pied.vide { border-top-color: transparent; }
.gs-pied { display: flex; gap: 10px; padding: 16px 34px calc(18px + env(safe-area-inset-bottom, 0px)); }
.gs-pied:empty { display: none; }
.gs-pied--sortant { position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }

.gs-b { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 49px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-weight: 500; letter-spacing: -.01em; text-decoration: none;
  transition: background-color .2s, border-color .2s, box-shadow .2s, transform .15s var(--gs-doux); -webkit-tap-highlight-color: transparent; }
.gs-b:active { transform: scale(.98); }
.gs-b .ico { width: 18px; height: 18px; }
.gs-b--p { flex: 1; background: var(--pmsh-bleu); border-color: var(--pmsh-bleu); color: #fff; box-shadow: 0 14px 32px rgba(0, 69, 128, .16); }
.gs-b--p:hover { background: var(--pmsh-marine); border-color: var(--pmsh-marine); }
.gs-b--p[disabled] { background: #86a6c2; border-color: #86a6c2; box-shadow: none; cursor: not-allowed; transform: none; }
.gs-b--s { background: #fff; color: var(--pmsh-bleu); border-color: var(--pmsh-bord); }
.gs-b--s:hover { background: var(--pmsh-pale-2); border-color: var(--pmsh-bleu); }
.gs-b .gs-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: gs-tour .8s linear infinite; }
.gs-lien { border: 0; background: none; padding: 6px 2px; color: var(--pmsh-bleu); font: inherit; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 640px) {
  .gs-modal { padding: 0; place-items: end stretch; }
  .gs-modal__panneau { width: 100%; max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px)); border-radius: 22px 22px 0 0; }
  .gs-modal__tete { padding: 20px 20px 16px; }
  .gs-vue { padding: 20px; }
  .gs-pied { padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- contenu des étapes ---------- */
.gs-fiche { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 26px; align-items: start; }
.gs-fiche .gs-couv { border-radius: 3px; box-shadow: 0 18px 30px -14px rgba(6, 47, 87, .5); }
.gs-fiche p { margin: 0; }
.gs-desc { color: var(--pmsh-gris-1); font-size: 15px; line-height: 1.55; }
.gs-puces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.gs-puces span { padding: 6px 11px; border: 1px solid var(--pmsh-bord); border-radius: 999px; font-size: 12.5px; color: var(--pmsh-gris-1); }
.gs-bloc-titre { margin: 26px 0 10px; font-size: 13px; font-weight: 500; color: var(--pmsh-marine); }
.gs-sommaire { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pmsh-bord); }
.gs-sommaire li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--pmsh-bord); font-size: 14.5px; color: var(--pmsh-gris-1); }
.gs-sommaire li span:first-child, .gs-sommaire li span:last-child { color: var(--pmsh-gris-2); font-variant-numeric: tabular-nums; }
.gs-auteur { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--pmsh-bord); border-radius: 14px; background: var(--pmsh-pale-1); }
.gs-auteur .ini { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--pmsh-bord); display: grid; place-items: center; font-size: 13px; color: var(--pmsh-bleu); }
.gs-auteur div { display: grid; font-size: 13px; color: var(--pmsh-gris-2); }
.gs-nw { white-space: nowrap; }
.gs-auteur strong { font-weight: 500; font-size: 14px; color: var(--pmsh-marine); }
@media (max-width: 640px) { .gs-fiche { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; } }

.gs-recap { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--pmsh-bord); border-radius: 14px; margin-bottom: 20px; }
.gs-recap .gs-couv { width: 40px; flex: none; border-radius: 2px; }
.gs-recap .gs-couv .int, .gs-recap .gs-couv .anneaux { display: none; }
.gs-recap > div { flex: 1; min-width: 0; display: grid; }
.gs-recap strong { font-weight: 500; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.gs-recap small { font-size: 12.5px; color: var(--pmsh-gris-2); }
.gs-recap .montant { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 15px; }

.gs-form { display: grid; gap: 16px; }
.gs-champ { display: grid; gap: 6px; }
.gs-champ label { font-size: 13.5px; font-weight: 500; color: var(--pmsh-marine); }
.gs-champ .aide { font-size: 12.5px; color: var(--pmsh-gris-2); margin-top: -3px; }
.gs-champ input[type="text"], .gs-champ input[type="email"], .gs-champ input[type="tel"] { height: 48px; width: 100%; border: 1px solid var(--pmsh-bord); border-radius: 10px; background: var(--pmsh-pale-1); color: var(--pmsh-marine); padding: 0 14px; font: inherit; font-size: 16px; outline: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s; }
.gs-champ input::placeholder { color: #9aa8b6; }
.gs-champ input:focus { border-color: var(--pmsh-bleu); background: #fff; box-shadow: 0 0 0 3px var(--pmsh-pale-2); }
.gs-champ.err input { border-color: var(--pmsh-rouge); background: var(--gs-rouge-pale); }
.gs-msg { font-size: 12.5px; color: var(--pmsh-rouge); }
.gs-msg:empty { display: none; }
.gs-tel { position: relative; }
.gs-tel .ind { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--pmsh-gris-2); font-variant-numeric: tabular-nums; pointer-events: none; }
.gs-tel input { padding-left: 62px !important; font-variant-numeric: tabular-nums; }
.gs-tel .op { position: absolute; right: 12px; top: 50%; translate: 0 -50%; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--pmsh-bord); color: var(--pmsh-gris-1); transition: opacity .25s ease; }
.gs-tel .op:empty { opacity: 0; }
.gs-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--pmsh-pale-1); font-size: 13px; line-height: 1.45; color: var(--pmsh-gris-1); }
.gs-note .ico { width: 18px; height: 18px; color: var(--pmsh-bleu); margin-top: 1px; }
.gs-repli { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .32s var(--gs-doux), opacity .25s ease; }
.gs-repli > * { overflow: hidden; min-height: 0; }
.gs-repli.ouvert { grid-template-rows: 1fr; opacity: 1; }

.gs-moyens { display: grid; gap: 10px; }
.gs-moyen { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 15px 16px; border: 1px solid var(--pmsh-bord); border-radius: 14px; cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .15s var(--gs-doux); }
.gs-moyen:active { transform: scale(.99); }
.gs-moyen input { position: absolute; opacity: 0; pointer-events: none; }
.gs-moyen .r { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--pmsh-gris-2); transition: border .25s var(--gs-doux); }
.gs-moyen strong { display: block; font-weight: 500; font-size: 15px; }
.gs-moyen small { display: block; font-size: 12.5px; color: var(--pmsh-gris-2); }
.gs-moyen > .ico { width: 22px; height: 22px; color: var(--pmsh-gris-2); }
.gs-moyen:has(input:checked) { border-color: var(--pmsh-bleu); background: var(--pmsh-pale-1); }
.gs-moyen:has(input:checked) .r { border: 6px solid var(--pmsh-bleu); }
.gs-moyen:has(input:focus-visible) { outline: 2px solid var(--pmsh-bleu); outline-offset: 2px; }
.gs-moyens.err .gs-moyen { border-color: var(--pmsh-rouge); }
.gs-total { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid var(--pmsh-bord); border-radius: 14px; font-size: 14px; color: var(--pmsh-gris-1); }
.gs-total div { display: flex; justify-content: space-between; gap: 10px; }
.gs-total div span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.gs-total .tot { border-top: 1px solid var(--pmsh-bord); padding-top: 9px; margin-top: 3px; color: var(--pmsh-marine); font-size: 15.5px; }
.gs-case { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--pmsh-gris-1); cursor: pointer; transition: color .2s; }
.gs-case input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--pmsh-bleu); flex: none; }
.gs-case.err { color: var(--pmsh-rouge); }
.gs-conditions { font-size: 13px; color: var(--pmsh-gris-1); }
.gs-conditions summary { cursor: pointer; color: var(--pmsh-bleu); width: max-content; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.gs-conditions summary::-webkit-details-marker { display: none; }
.gs-conditions p { margin: 8px 0 0; line-height: 1.5; }

.gs-attente { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 6px 0 4px; }
.gs-cercle { position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--pmsh-pale-2); display: grid; place-items: center; color: var(--pmsh-bleu); margin-bottom: 12px; }
.gs-cercle .ico { width: 30px; height: 30px; }
.gs-cercle.tourne::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--pmsh-bleu); animation: gs-tour 1s linear infinite; }
@keyframes gs-tour { to { transform: rotate(360deg); } }
.gs-cercle.ok { background: #f1f8e4; color: #4f7a00; }
.gs-cercle.ok .ico path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: gs-trace .5s .15s var(--gs-doux) forwards; }
@keyframes gs-trace { to { stroke-dashoffset: 0; } }
.gs-cercle.ko { background: var(--gs-rouge-pale); color: var(--pmsh-rouge); }
.gs-cercle.ok, .gs-cercle.ko { animation: gs-pop .45s var(--gs-doux); }
@keyframes gs-pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.gs-grand-montant { font-size: 30px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--pmsh-marine); }
.gs-attente p { margin: 0; color: var(--pmsh-gris-1); max-width: 40ch; line-height: 1.5; }
.gs-suivi { margin: 22px 0 0; padding: 0; list-style: none; display: grid; border: 1px solid var(--pmsh-bord); border-radius: 14px; overflow: hidden; }
.gs-suivi li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; font-size: 14px; color: var(--pmsh-gris-2); transition: color .3s; }
.gs-suivi li + li { border-top: 1px solid var(--pmsh-bord); }
.gs-suivi .e { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1px solid var(--pmsh-bord); display: grid; place-items: center; transition: background-color .3s var(--gs-doux), border-color .3s; }
.gs-suivi .e .ico { width: 12px; height: 12px; stroke-width: 2.2; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s var(--gs-doux); }
.gs-suivi li.fait { color: var(--pmsh-gris-1); }
.gs-suivi li.fait .e { background: var(--pmsh-bleu); border-color: var(--pmsh-bleu); color: #fff; }
.gs-suivi li.fait .e .ico { opacity: 1; transform: none; }
.gs-suivi li.encours { color: var(--pmsh-marine); }
.gs-suivi li.encours .e { border: 2px solid var(--pmsh-pale-3); border-top-color: var(--pmsh-bleu); animation: gs-tour 1s linear infinite; }
.gs-suivi li .h { margin-left: auto; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--pmsh-gris-2); }
.gs-chrono { margin: 14px 0 0; font-size: 12.5px; color: var(--pmsh-gris-2); text-align: center; font-variant-numeric: tabular-nums; }
.gs-recu { margin: 22px 0 0; border: 1px solid var(--pmsh-bord); border-radius: 14px; overflow: hidden; }
.gs-recu div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 16px; font-size: 14px; }
.gs-recu div + div { border-top: 1px solid var(--pmsh-bord); }
.gs-recu dt { color: var(--pmsh-gris-2); }
.gs-recu dd { margin: 0; text-align: right; color: var(--pmsh-marine); font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.gs-erreur { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--gs-rouge-pale); color: var(--pmsh-rouge); font-size: 13.5px; line-height: 1.45; }
.gs-centre { text-align: center; }

.gs-toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 120; max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 12px; background: var(--pmsh-marine); color: #fff; font-size: 14px;
  opacity: 0; translate: -50% 20px; pointer-events: none; transition: opacity .25s, translate .3s var(--gs-doux); }
.gs-toast.vu { opacity: 1; translate: -50% 0; }

@media (prefers-reduced-motion: reduce) {
  .page-guides *, .page-guides *::before, .page-guides *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
