/* Appli « mon programme sport » (04/10/2026). Mobile d'abord, jetons de style.css. */

.sp-app { max-width: 720px; margin-inline: auto; padding: 8px 16px 64px; }

/* ---------- Questionnaire ---------- */
.sp-q { padding-top: 8px; }
.sp-q h2 { font-size: clamp(22px, 5.6vw, 30px); margin: 10px 0 8px; outline: none; }
.sp-q__prog { height: 6px; border-radius: 99px; background: var(--green-tint); overflow: hidden; }
.sp-q__prog span { display: block; width: 100%; height: 100%; background: var(--green); border-radius: inherit; transform-origin: 0 50%; transition: transform .4s var(--ease); }
[dir="rtl"] .sp-q__prog span { transform-origin: 100% 50%; }
.sp-q__num { margin: 8px 0 0; font-size: 13px; color: var(--ink-soft); }
.sp-q__note { margin: 0 0 14px; color: var(--ink-soft); font-size: 15px; }
.sp-q__groupe { font-size: 15px; margin: 18px 0 8px; color: var(--green-dark); }
.sp-q__err { color: #b3261e; font-weight: 700; margin: 8px 0; }
.sp-q__retour { margin-top: 18px; background: none; border: 0; color: var(--ink-soft); font: inherit; font-size: 15px; min-height: 44px; padding: 0 4px; cursor: pointer; }
.sp-q__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 14px; }

.sp-choix-grille { display: grid; gap: 10px; margin-top: 12px; }
.sp-choix-grille--2 { grid-template-columns: 1fr 1fr; }
.sp-choix-grille--4 { grid-template-columns: repeat(4, 1fr); }
.sp-choix-grille--5 { grid-template-columns: repeat(5, 1fr); }
.sp-choix {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 58px; padding: 12px 14px; text-align: start;
  background: var(--surface); color: var(--ink); font: inherit;
  border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
}
.sp-choix:active { transform: scale(.98); }
.sp-choix:hover { border-color: var(--green); }
.sp-choix.is-actif { border-color: var(--green); background: var(--green-tint); }
.sp-choix__t { font-weight: 700; font-size: 16px; line-height: 1.3; }
.sp-choix__s { font-size: 13.5px; color: var(--ink-soft); }
.sp-choix-grille--4 .sp-choix, .sp-choix-grille--5 .sp-choix { align-items: center; text-align: center; padding: 10px 4px; }
.sp-choix-grille--4 .sp-choix__t, .sp-choix-grille--5 .sp-choix__t { font-size: 22px; }

.sp-champs { display: grid; gap: 10px; margin: 6px 0 14px; }
.sp-champ { display: grid; gap: 4px; font-weight: 700; font-size: 15px; }
.sp-champ input { font: inherit; font-size: 18px; min-height: 52px; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; }
.sp-champ input:focus { outline: none; border-color: var(--green); }

/* ---------- En-tete et onglets ---------- */
.sp-tete { padding: 6px 0 10px; }
.sp-tete__sur { margin: 0; color: var(--green-dark); font-weight: 700; font-size: 14px; }
.sp-tete h1 { font-size: clamp(26px, 7vw, 36px); margin: 2px 0; }
.sp-tete h1 small { font-size: .55em; color: var(--ink-faint); }
.sp-badge { display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--amber-tint); color: var(--amber-dark); font-size: 12.5px; font-weight: 700; }

.sp-onglets { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px; margin: 0 -6px 14px; background: var(--bg); border-bottom: 1px solid var(--line); }
.sp-onglet { min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-soft); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.sp-onglet.is-actif { background: var(--green); color: #fff; }

.sp-carte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-card); margin-bottom: 16px; }
.sp-carte h2 { font-size: 21px; margin-bottom: 6px; }
.sp-h2 { font-size: 19px; margin: 22px 0 10px; }

.sp-alerte { background: var(--amber-tint); border: 2px solid var(--amber); border-radius: var(--radius-lg); padding: 16px; margin: 6px 0 14px; }
.sp-alerte p { margin: 0 0 8px; font-weight: 700; line-height: 1.55; }

/* ---------- Seance ---------- */
.sp-seance__tete p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.sp-seance__tete h2 { font-size: clamp(22px, 6vw, 28px); margin: 4px 0; }
.sp-seance__min { font-weight: 700; color: var(--green-dark) !important; }
.sp-bloc { margin-top: 20px; }
.sp-bloc h3 { font-size: 18px; margin-bottom: 6px; }
.sp-bloc__info { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: var(--green-tint); color: var(--green-dark); font-weight: 700; font-size: 14px; }

.sp-exos { display: grid; gap: 12px; }
.sp-exo { display: grid; grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.sp-exo__corps { padding: 12px 14px 14px; }
.sp-exo h4 { font-size: 18px; margin: 0 0 4px; }
.sp-dose { margin: 0 0 6px; font-weight: 800; color: var(--green-dark); font-size: 16px; }
.sp-consigne { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* Deux photos qui alternent : le mouvement sans video */
.sp-anim { position: relative; aspect-ratio: 3 / 2; background: var(--bg-soft); overflow: hidden; }
.sp-anim img, .sp-anim video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-anim--video { background: #fff; }
.sp-anim__b { animation: sp-alterne 2.4s steps(1, end) infinite; }
@keyframes sp-alterne { 0% { opacity: 0; } 50% { opacity: 1; } }
.sp-anim--vide { display: flex; align-items: center; justify-content: center; background: var(--green-tint); }
.sp-anim--vide span { font-size: 40px; font-weight: 800; color: var(--green); }
.sp-anim--petit { width: 64px; height: 44px; aspect-ratio: auto; border-radius: 8px; flex: none; }
.sp-anim--petit.sp-anim--vide span { font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .sp-anim__b { animation: none; opacity: 0; } }

.sp-liste, .sp-etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sp-liste li, .sp-etapes li { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sp-liste__nom { flex: 1; font-weight: 700; font-size: 15px; }
.sp-liste__dose { color: var(--green-dark); font-weight: 800; font-size: 14px; white-space: nowrap; }
.sp-etapes li { font-size: 15.5px; line-height: 1.5; font-weight: 600; }

.sp-sets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sp-set { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--green); background: var(--surface); color: var(--green-dark); font: inherit; font-weight: 800; cursor: pointer; }
.sp-set.is-fait { background: var(--green); color: #fff; }

.sp-go { margin-top: 12px; min-height: 52px; font-size: 16px; }
.sp-fini { margin-top: 24px; min-height: 60px; background: var(--amber); color: #fff; border: 0; font-size: 17px; }
.sp-fini.is-fait { background: var(--green); }

.sp-autres { margin-top: 26px; }
.sp-autres p { margin: 0 0 8px; color: var(--ink-soft); font-size: 14px; }
.sp-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-puce { min-height: 44px; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.sp-puce.is-actif { border-color: var(--green); background: var(--green-tint); color: var(--green-dark); }

.sp-repos { text-align: center; }
.sp-pas strong { display: block; font-size: 38px; color: var(--green); line-height: 1.1; margin-top: 8px; }
.sp-proch { margin-top: 14px; font-size: 15px; }

/* ---------- Semaine, programme, poids ---------- */
.sp-semaine { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sp-semaine li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.sp-semaine li.is-repos { cursor: default; background: var(--bg-soft); color: var(--ink-soft); }
.sp-semaine li.is-auj { border: 2px solid var(--green); }
.sp-semaine__j { grid-column: 1 / -1; font-size: 13px; color: var(--ink-soft); }
.sp-semaine strong { font-size: 16px; }
.sp-semaine li > span:last-child:not(.sp-semaine__j) { color: var(--green-dark); font-weight: 700; font-size: 14px; }

.sp-resume dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.sp-resume dt { font-size: 13px; color: var(--ink-soft); }
.sp-resume dd { margin: 0; font-weight: 800; font-size: 16px; }
.sp-resume .btn + .btn { margin-top: 10px; }
.sp-apercu { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; }
.sp-apercu li { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sp-apercu li span:last-child { display: block; color: var(--ink-soft); font-size: 14px; margin-top: 2px; }
.sp-conseils { padding-inline-start: 20px; margin: 0; display: grid; gap: 8px; line-height: 1.6; }
.sp-historique { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sp-historique li { display: flex; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.sp-ok { color: var(--green-dark); font-weight: 800; margin: 10px 0 0; }

/* ---------- Minuteur ---------- */
body.sp-sans-defil { overflow: hidden; }
.sp-minuteur { position: fixed; inset: 0; z-index: 1000; background: rgba(27, 29, 23, .92); display: flex; align-items: center; justify-content: center; padding: 16px; }
.sp-minuteur__boite { width: min(520px, 100%); background: var(--surface); border-radius: var(--radius-lg); padding: 16px; text-align: center; max-height: 100%; overflow: auto; }
.sp-minuteur__boite .sp-anim { border-radius: var(--radius); }
.sp-minuteur__titre { margin: 0 0 10px; font-size: 13px; color: var(--ink-soft); font-weight: 700; }
.sp-minuteur__label { font-size: 22px; font-weight: 800; margin: 12px 0 4px; }
.sp-minuteur__suite { margin: 0; color: var(--ink-soft); font-size: 15px; }
.sp-minuteur__temps { font-size: 76px; font-weight: 800; line-height: 1; margin: 10px 0 14px; color: var(--green); font-variant-numeric: tabular-nums; }
.sp-minuteur--repos .sp-minuteur__temps, .sp-minuteur--pret .sp-minuteur__temps { color: var(--amber); }
.sp-minuteur__btns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.sp-minuteur__btns .btn { min-height: 48px; padding: 8px; }

/* ---------- Page bloquee ---------- */
.sp-bloque { text-align: center; display: grid; gap: 18px; }
/* Le bloc ferme disparait une fois l'appli ouverte (display:grid ecrasait [hidden]) */
.sp-bloque[hidden], .sp-app [hidden] { display: none !important; }
.sp-bloque__attente { font-size: 28px; margin: 40px 0; }
.sp-bloque .code-acces-card h1.code-acces-titre { font-size: 22px; line-height: 1.45; }
.sp-bloque .access-code-block { margin: 0; }
.sp-bloque__aide p { margin: 0 0 12px; }
.sp-bloque__aide .btn { width: 100%; justify-content: center; }
.sp-bloque__perdu { margin-top: 14px !important; font-size: 15px; }
.sp-bloque__perdu a { color: var(--green-dark, #155b3d); font-weight: 700; }

/* ---------- PDF (pages A4 794 x 1123 px, construites hors ecran) ---------- */
.sp-pdf { position: fixed; top: 0; left: -10000px; width: 794px; background: #fff; color: #1b1d17; }
.sp-page { width: 794px; min-height: 1118px; box-sizing: border-box; padding: 56px 60px; background: #fff; position: relative; font-size: 15px; line-height: 1.55; }
/* html2canvas mange les espaces de Noto Kufi : dans le PDF, les titres arabes passent en Tajawal */
.sp-page h1, .sp-page h2, .sp-page h3, .sp-page h4 { letter-spacing: 0; }
.sp-pdf[lang="ar"] .sp-page h1, .sp-pdf[lang="ar"] .sp-page h2, .sp-pdf[lang="ar"] .sp-page h3, .sp-pdf[lang="ar"] .sp-page h4 { font-family: var(--font-body-ar); font-weight: 700; }
.sp-page--couv { text-align: center; background: linear-gradient(180deg, #e8f3ec 0, #fff 55%); }
.sp-page__logo { width: 76px; height: 76px; margin-top: 40px; }
.sp-page__marque { font-weight: 800; color: #155b3d; margin: 6px 0 40px; font-size: 18px; }
.sp-page--couv h1 { font-size: 34px; line-height: 1.3; }
.sp-page--couv h1 span { color: #1f7a54; font-size: 46px; }
.sp-page__fiche { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 40px 0; }
.sp-page__fiche div { border: 2px solid #e8f3ec; border-radius: 14px; padding: 14px 10px; }
.sp-page__fiche dt { font-size: 13px; color: rgba(27,29,23,.6); }
.sp-page__fiche dd { margin: 4px 0 0; font-weight: 800; font-size: 16px; }
.sp-page__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 30px; }
.sp-page__photos img { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; }
.sp-page__alerte { background: #fbeade; border: 2px solid #e0792c; border-radius: 14px; padding: 12px 16px; font-weight: 700; text-align: start; }
.sp-page__alerte p { margin: 4px 0; }
.sp-page__lecture { text-align: start; margin-top: 30px; }
.sp-page__lecture h2 { font-size: 20px; color: #155b3d; }
.sp-page__h { font-size: 24px; color: #155b3d; margin: 0 0 14px; }
.sp-page__cycle { margin: 0; font-weight: 800; color: #b95f1f; font-size: 13px; }
.sp-page h3 { font-size: 17px; margin: 14px 0 8px; }
.sp-page__ligne { margin: 4px 0 10px; font-size: 13.5px; }
.sp-page__exos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sp-page__exo { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: start; border: 1px solid rgba(27,29,23,.12); border-radius: 12px; padding: 8px; break-inside: avoid; page-break-inside: avoid; }
.sp-page__exo img, .sp-page__vide { width: 110px; height: 74px; object-fit: cover; border-radius: 8px; background: #e8f3ec; }
.sp-page__exo h4 { font-size: 14.5px; margin: 0 0 2px; }
.sp-page__exo p { margin: 0; font-size: 12px; line-height: 1.45; color: rgba(27,29,23,.75); }
.sp-page__doses { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; margin-top: 6px !important; color: #155b3d !important; font-weight: 700; font-size: 11.5px !important; }
.sp-tab { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sp-tab th, .sp-tab td { border: 1px solid rgba(27,29,23,.15); padding: 8px; text-align: center; vertical-align: middle; }
.sp-tab th { background: #e8f3ec; white-space: nowrap; }
.sp-tab tr.is-leger td, .sp-tab tr.is-leger th { background: #fbeade; }
.sp-tab--doses td { text-align: start; }
.sp-case { font-size: 20px; }
.sp-page__conseils { padding-inline-start: 20px; display: grid; gap: 6px; font-size: 13.5px; }
.sp-page--fin { display: flex; flex-direction: column; justify-content: center; text-align: center; background: linear-gradient(180deg, #fff 0, #e8f3ec 100%); }

@media print {
  body.sp-imprime > *:not(.sp-pdf) { display: none !important; }
  body.sp-imprime .sp-pdf { position: static; left: 0; }
  .sp-page { break-after: page; }
}

@media (min-width: 760px) {
  .sp-exo { grid-template-columns: 260px 1fr; }
  .sp-exo .sp-anim { aspect-ratio: auto; min-height: 175px; }
}

/* ---------- Page de vente /sport/ (05/10/2026) ---------- */
.spv-sexe { display: flex; align-items: center; gap: 8px; margin: 14px 0 6px; font-weight: 700; }
.spv-sexe__btn { min-height: 44px; min-width: 84px; padding: 8px 18px; border-radius: 99px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.spv-sexe__btn.is-actif { border-color: var(--green); background: var(--green); color: #fff; }
.spv-tel { margin: 0; justify-self: center; width: min(300px, 78vw); border-radius: 34px; overflow: hidden; border: 8px solid var(--ink); box-shadow: var(--shadow-soft); background: var(--ink); }
.spv-tel img { display: block; width: 100%; height: auto; }
.spv-etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.spv-etapes li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.spv-etapes b { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 18px; }
.spv-etapes p { margin: 0; font-size: 16.5px; font-weight: 600; line-height: 1.6; }
.spv-liste { margin-top: 22px; }
.spv-sports { display: grid; gap: 10px; }
.spv-groupe { padding: 14px 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.spv-groupe h3 { font-size: 17px; margin: 0 0 4px; }
.spv-groupe p { margin: 0; color: var(--ink-soft); line-height: 1.7; font-size: 15px; }
.spv-note { margin-top: 12px; color: var(--ink-soft); }
.spv-conseil { margin: 0 0 6px; font-weight: 800; color: var(--amber-dark); }
.spv-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.spv-faq summary { cursor: pointer; font-weight: 800; font-size: 16px; min-height: 32px; }
.spv-faq p { margin: 8px 0 0; color: var(--ink-soft); line-height: 1.7; }
.spv-avert { font-size: 13.5px; color: var(--ink-faint); padding-bottom: 24px; }
@media (min-width: 760px) { .spv-sports { grid-template-columns: 1fr 1fr; } .spv-etapes { grid-template-columns: repeat(3, 1fr); } .spv-etapes li { flex-direction: column; text-align: center; } }

/* ==========================================================================
   Appli v2 (06/10/2026) : sombre et energique (QCM de Mohamed).
   Les composants existants lisent les jetons de style.css : on les redefinit
   ici pour l'appli seulement (la page de vente et le PDF restent clairs).
   ========================================================================== */
body.sp-page-appli { background: #0c1411; }
body.sp-page-appli main { background: #0c1411; }
.sp-app {
  --bg: #0c1411; --bg-soft: #131d19; --surface: #15211c;
  --ink: #f1eee5; --ink-soft: rgba(241, 238, 229, .74); --ink-faint: rgba(241, 238, 229, .52);
  --line: rgba(241, 238, 229, .13);
  --green: #2fb874; --green-dark: #86e3b1; --green-tint: rgba(47, 184, 116, .16);
  --amber: #f39237; --amber-dark: #ffbb7a; --amber-tint: rgba(243, 146, 55, .16);
  --shadow-card: none;
  color: var(--ink); background: var(--bg);
  min-height: 70vh;
}
.sp-app .btn-primary { background: var(--amber); color: #1d1206; box-shadow: 0 12px 26px -14px rgba(243, 146, 55, .8); }
.sp-app .btn-primary:hover { background: #ffa552; }
.sp-app .btn-outline { color: var(--ink); border-color: var(--line); }
.sp-app .btn-outline:hover { background: var(--ink); color: #0c1411; }
.sp-app .sp-onglets { background: var(--bg); border-bottom-color: var(--line); grid-template-columns: repeat(3, 1fr); }
.sp-app .sp-onglet.is-actif { background: var(--amber); color: #1d1206; }
.sp-app .sp-choix.is-actif { border-color: var(--amber); background: var(--amber-tint); }
.sp-app .sp-choix:hover { border-color: var(--amber); }
.sp-app .sp-q__prog { background: rgba(241, 238, 229, .1); }
.sp-app .sp-q__prog span { background: var(--amber); }
.sp-app .sp-q__groupe { color: var(--amber-dark); }
.sp-app .sp-champ input { background: var(--bg-soft); }
.sp-app .sp-champ input:focus { border-color: var(--amber); }
.sp-app .sp-alerte { background: var(--amber-tint); border-color: var(--amber); }
.sp-app .sp-badge { background: var(--amber-tint); color: var(--amber-dark); }
.sp-app .sp-dose, .sp-app .sp-liste__dose, .sp-app .sp-seance__min { color: var(--amber-dark) !important; }
.sp-app .sp-bloc__info { background: rgba(241, 238, 229, .06); color: var(--ink-soft); }
.sp-app .sp-set { background: transparent; border-color: var(--amber); color: var(--amber-dark); }
.sp-app .sp-set.is-fait { background: var(--amber); color: #1d1206; }
.sp-app .sp-anim--vide { background: rgba(241, 238, 229, .06); }
.sp-app .sp-anim--vide span { color: var(--amber); }
.sp-app .sp-fini { background: var(--green); color: #06180f; }
.sp-app .sp-fini.is-fait { background: rgba(47, 184, 116, .2); color: var(--green-dark); }
.sp-app .sp-ok { color: var(--green-dark); }
.sp-q__niveau { margin: 4px 0 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--amber-tint); color: var(--ink); font-size: 16px; }
.sp-q__niveau strong { color: var(--amber-dark); font-size: 19px; }

/* Accueil : un gros bouton « Ma seance » */
.sp-acc { padding: 6px 0 14px; }
.sp-acc__salut { margin: 0; font-size: 15px; color: var(--ink-soft); font-weight: 700; }
.sp-acc__sem { margin: 2px 0 12px; font-family: var(--font-head-ar); font-weight: 800; font-size: clamp(26px, 7vw, 34px); line-height: 1.2; }
html[lang="fr"] .sp-acc__sem { font-family: var(--font-head-fr); }
.sp-jauge { height: 10px; border-radius: 99px; background: rgba(241, 238, 229, .1); overflow: hidden; }
.sp-jauge span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--amber)); border-radius: inherit; transform-origin: 0 50%; transition: transform .6s var(--ease); }
[dir="rtl"] .sp-jauge span { transform-origin: 100% 50%; background: linear-gradient(270deg, var(--green), var(--amber)); }
.sp-acc__compte { margin: 8px 0 0; font-size: 14px; color: var(--ink-soft); font-weight: 700; }
.sp-gros {
  display: grid; gap: 6px; width: 100%; margin: 8px 0 10px; padding: 22px 20px 20px;
  border: 0; border-radius: 26px; cursor: pointer; text-align: start; font: inherit;
  background: linear-gradient(135deg, #f39237 0%, #ffb35c 100%); color: #1d1206;
  box-shadow: 0 22px 40px -22px rgba(243, 146, 55, .9);
  transition: transform .15s var(--ease);
}
.sp-gros:active { transform: scale(.98); }
.sp-gros__titre { font-weight: 700; font-size: 15px; opacity: .85; }
.sp-gros__go { font-family: var(--font-head-ar); font-weight: 800; font-size: clamp(26px, 7.4vw, 34px); line-height: 1.15; }
html[lang="fr"] .sp-gros__go { font-family: var(--font-head-fr); }
.sp-gros__min { font-weight: 800; font-size: 15px; }
.sp-acc__calme { margin: 0 0 12px; font-size: 14px; color: var(--ink-soft); text-align: center; }
.sp-acc__plus { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.sp-plus {
  min-height: 56px; padding: 10px 12px; border-radius: 16px; cursor: pointer; font: inherit; font-weight: 700; font-size: 14.5px; line-height: 1.35;
  background: var(--surface); color: var(--ink); border: 1.5px solid var(--line);
}
.sp-plus:hover, .sp-plus:focus-visible { border-color: var(--amber); }
.sp-med-proch { display: flex; flex-direction: column; gap: 2px; }
.sp-med-proch__sur { margin: 0; font-size: 13px; color: var(--ink-soft); font-weight: 700; }
.sp-med-proch__nom { margin: 0; font-size: 18px; font-weight: 800; }
.sp-med-proch__reste { font-size: 13px; color: var(--amber-dark); font-weight: 700; }
.sp-resto h3 { font-size: 18px; margin: 0 0 6px; }
.sp-resto p { color: var(--ink-soft); margin: 0 0 12px; }
.sp-retour { background: none; border: 0; color: var(--ink-soft); font: inherit; font-weight: 700; font-size: 15px; min-height: 44px; padding: 0; cursor: pointer; }
.sp-note { margin: 6px 0 12px; padding: 10px 12px; border-radius: 12px; background: rgba(241, 238, 229, .06); color: var(--ink-soft); font-size: 14.5px; }
.sp-guide { margin: 6px 0 4px; }
.sp-etapes li > div { display: grid; gap: 8px; flex: 1; }
.sp-test { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--amber-dark); }
.sp-test input { width: 110px; min-height: 44px; padding: 6px 10px; border-radius: 10px; border: 2px solid var(--amber); background: transparent; color: inherit; font: inherit; font-size: 18px; }
.sp-avis { margin-top: 14px; text-align: center; }
.sp-avis p { font-weight: 800; margin: 0 0 10px; }
.sp-avis__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sp-apercu__seances { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.sp-mini { min-height: 36px; padding: 4px 10px; border-radius: 99px; border: 1.5px solid var(--line); background: transparent; color: var(--ink-soft); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.sp-mini.is-fait { border-color: var(--green); color: var(--green-dark); }
.sp-tests { width: 100%; border-collapse: collapse; margin-bottom: 8px; font-size: 14.5px; }
.sp-tests th, .sp-tests td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: center; }
.sp-tests tbody th { text-align: start; font-weight: 700; }
.sp-tests thead th { color: var(--ink-soft); font-size: 13px; }
.sp-tests td.is-mieux { color: var(--green-dark); font-weight: 800; }
.sp-medailles { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sp-medailles li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; border: 1.5px dashed var(--line); color: var(--ink-faint); font-weight: 700; font-size: 14px; }
.sp-medailles li.is-ok { border-style: solid; border-color: var(--amber); color: var(--ink); background: var(--amber-tint); }

/* Minuteur et seance guidee : plein ecran sombre, minuteur geant */
.sp-minuteur { background: #0a110e; padding: 0; align-items: stretch; }
.sp-minuteur__boite {
  width: 100%; max-width: 560px; margin: 0 auto; min-height: 100%; max-height: none; border-radius: 0;
  background: #0a110e; color: #f1eee5; padding: max(14px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 6px; text-align: center; overflow: auto;
}
.sp-minuteur__haut { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sp-minuteur__titre { margin: 0; font-size: 13px; color: rgba(241, 238, 229, .65); font-weight: 700; text-align: start; }
.sp-minuteur__x { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1.5px solid rgba(241, 238, 229, .2); background: transparent; color: #f1eee5; font-size: 18px; cursor: pointer; }
.sp-minuteur__barre { height: 5px; border-radius: 99px; background: rgba(241, 238, 229, .1); overflow: hidden; margin-bottom: 6px; }
.sp-minuteur__barre span { display: block; height: 100%; background: #f39237; transform-origin: 0 50%; }
[dir="rtl"] .sp-minuteur__barre span { transform-origin: 100% 50%; }
.sp-minuteur__boite .sp-anim { border-radius: 18px; background: #131d19; }
.sp-minuteur__label { font-size: clamp(22px, 6.5vw, 30px); font-weight: 800; margin: 8px 0 0; line-height: 1.25; }
.sp-minuteur__serie { margin: 0; font-size: 18px; font-weight: 800; color: #ffbb7a; }
.sp-minuteur__suite { margin: 0; color: rgba(241, 238, 229, .7); font-size: 15px; }
.sp-minuteur__texte { margin: 8px 0; font-size: 19px; font-weight: 700; line-height: 1.55; }
.sp-minuteur__consigne { margin: 0; color: rgba(241, 238, 229, .7); font-size: 14.5px; line-height: 1.55; }
.sp-minuteur__temps { font-size: clamp(88px, 30vw, 150px); font-weight: 800; line-height: 1; margin: 6px 0; color: #f39237; font-variant-numeric: tabular-nums; font-family: var(--font-body-fr); }
.sp-minuteur--repos .sp-minuteur__temps, .sp-minuteur--pret .sp-minuteur__temps { color: #2fb874; }
.sp-minuteur--fin .sp-minuteur__temps { color: #2fb874; }
.sp-minuteur--fin { justify-content: center; }
.sp-minuteur__fait {
  margin: 10px 0 4px; min-height: 72px; border: 0; border-radius: 22px; cursor: pointer; font: inherit; font-weight: 800; font-size: 22px;
  background: linear-gradient(135deg, #f39237, #ffb35c); color: #1d1206;
}
.sp-minuteur__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 12px; }
.sp-minuteur__btns > :only-child { grid-column: 1 / -1; }
.sp-minuteur__btn { min-height: 52px; border-radius: 16px; border: 1.5px solid rgba(241, 238, 229, .2); background: transparent; color: #f1eee5; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.sp-test--grand { justify-content: center; color: #ffbb7a; font-size: 16px; }
.sp-test--grand input { width: 140px; min-height: 56px; font-size: 24px; text-align: center; }
@media (prefers-reduced-motion: reduce) { .sp-jauge span { transition: none; } }

/* ==========================================================================
   Page de vente /sport/ v2 (06/10/2026) : le style du site (blanc, vert, ambre).
   Vacances d'abord (scenes de vie par profil), puis le voyage (le programme).
   ========================================================================== */
.spx { overflow-x: clip; }
.spx-hero { padding: 22px 0 30px; background: radial-gradient(120% 70% at 50% 0%, var(--green-tint) 0%, #fff 62%); }
.spx-sur { margin: 0 0 6px; font-weight: 800; font-size: 14px; color: var(--green); }
.spx-hero h1 { font-size: clamp(34px, 9.4vw, 60px); line-height: 1.15; margin: 0 0 12px; }
.spx-lede { margin: 0 0 14px; font-size: clamp(17px, 4.6vw, 21px); line-height: 1.6; color: var(--ink-soft); max-width: 36ch; }
.spx-qui { margin: 18px 0 10px; font-family: var(--font-head-ar); font-weight: 800; font-size: clamp(20px, 5.4vw, 26px); }
html[lang="fr"] .spx-qui { font-family: var(--font-head-fr); }
.spx-tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spx-tuile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  min-height: 158px; padding: 14px 12px; border: 0; border-radius: 20px; cursor: pointer; overflow: hidden;
  font: inherit; text-align: start; color: #fff;
  background: linear-gradient(to top, rgba(9, 22, 15, .92) 0%, rgba(9, 22, 15, .55) 48%, rgba(9, 22, 15, .05) 100%), var(--img) center / cover no-repeat, #1b2a22;
  box-shadow: 0 14px 28px -20px rgba(27, 29, 23, .7);
  outline: 3px solid transparent; outline-offset: 2px;
  transition: transform .2s var(--ease), outline-color .2s var(--ease);
}
.spx-tuile:active { transform: scale(.98); }
.spx-tuile:focus-visible { outline-color: var(--green); }
.spx-tuile.is-actif { outline-color: var(--amber); }
.spx-tuile.is-actif::after {
  content: "✓"; position: absolute; top: 10px; inset-inline-end: 10px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--amber); color: #fff; font-weight: 800; font-size: 15px;
}
.spx-tuile__nom { font-weight: 800; font-size: 16px; line-height: 1.3; }
.spx-tuile__vie { font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.spx-cta { width: 100%; margin-top: 18px; font-size: 18px; }
.spx-signe { margin: 10px 0 0; text-align: center; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.spx-signe::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-inline-end: 8px; vertical-align: middle; }

/* Les profils : la scene de vie, la vraie capture, les faits */
.spx-profils { padding: 34px 0; background: var(--bg-soft); }
.spx-profil {
  display: grid; gap: 18px; grid-template-areas: "scene" "tel" "suite";
}
.spx-profil + .spx-profil { margin-top: 44px; }
.spx-js .spx-profil + .spx-profil { margin-top: 0; }
.spx-profil[hidden] { display: none; }
.spx-scene {
  grid-area: scene; margin: 0; font-size: clamp(25px, 6.8vw, 40px); line-height: 1.35;
  padding-inline-start: 16px; border-inline-start: 6px solid var(--amber);
}
.spx-tel { grid-area: tel; margin: 0; justify-self: center; width: min(300px, 76vw); border-radius: 36px; overflow: hidden; border: 8px solid #10140f; background: #10140f; box-shadow: 0 30px 50px -30px rgba(27, 29, 23, .6); }
.spx-tel img { display: block; width: 100%; height: auto; aspect-ratio: 540 / 1169; }
.spx-profil__suite { grid-area: suite; display: grid; gap: 16px; }
.spx-faits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.spx-faits li, .spx-liste li {
  position: relative; padding: 12px 14px; padding-inline-start: 46px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  font-size: 16px; line-height: 1.6; font-weight: 600;
}
.spx-faits li::before, .spx-liste li::before {
  content: ""; position: absolute; top: 14px; inset-inline-start: 14px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.spx-profil__suite .btn { width: 100%; font-size: 18px; }

/* Le voyage : sur son corps, en chiffres */
.spx-voyage { padding: 40px 0; background: var(--green-dark); color: #fff; }
.spx-voyage h2 { color: #fff; font-size: clamp(26px, 6.6vw, 40px); margin: 0 0 16px; }
.spx-mesures { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.spx-mesures li { padding: 8px 14px; border-radius: 99px; border: 1.5px solid rgba(255, 255, 255, .35); font-weight: 700; font-size: 15px; }
.spx-chiffres { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.spx-chiffres li { display: grid; gap: 2px; padding: 14px 8px; border-radius: 18px; background: rgba(255, 255, 255, .08); text-align: center; }
.spx-chiffres b { font-family: var(--font-head-fr); font-size: clamp(40px, 12vw, 68px); line-height: 1; color: #ffc489; }
.spx-chiffres span { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .86); }
.spx-voyage .spv-etapes li { background: rgba(255, 255, 255, .96); color: var(--ink); border: 0; }

/* Ce qu'elle recoit : la page du PDF dans un cadre papier */
.spx-recois .appli-tel.spx-papier { padding: 0; background: #fff; border-radius: 10px; box-shadow: 0 24px 40px -26px rgba(27, 29, 23, .6), 0 0 0 1px var(--line); }
.spx-recois .appli-tel.spx-papier img { aspect-ratio: 540 / 760; border-radius: 10px; }

.spx-sur-mesure h2 { margin-bottom: 16px; }
.spx-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.spx-liste b { font-weight: 800; }
.spx-liste span { color: var(--ink-soft); font-weight: 500; }
#sports .spx-cta { margin-top: 20px; }
.spx-fin { padding: 44px 0 34px; text-align: center; background: radial-gradient(120% 80% at 50% 100%, var(--green-tint) 0%, #fff 70%); }
.spx-fin h2 { font-size: clamp(28px, 7.4vw, 44px); margin: 0 0 6px; }
.spx-fin .spx-cta { max-width: 520px; }

@media (min-width: 900px) {
  .spx-hero { padding: 54px 0 56px; }
  .spx-hero h1 { font-size: 50px; }
  .spx-hero .container { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: start; }
  .spx-hero .container > * { grid-column: 1; }
  .spx-hero .spx-tuiles { grid-column: 2; grid-row: 1 / span 8; grid-template-columns: 1fr 1fr; gap: 14px; }
  .spx-tuile { min-height: 230px; padding: 18px 16px; }
  .spx-tuile__nom { font-size: 19px; }
  .spx-tuile__vie { font-size: 15px; }
  .spx-cta { width: auto; min-width: 320px; }
  .spx-signe { text-align: start; }
  .spx-profils { padding: 64px 0; }
  .spx-profil { grid-template-columns: 340px 1fr; grid-template-areas: "tel scene" "tel suite"; column-gap: 60px; align-items: start; }
  .spx-tel { width: 340px; grid-row: 1 / span 2; }
  .spx-scene { align-self: end; }
  .spx-profil__suite .btn { width: auto; justify-self: start; min-width: 320px; }
  .spx-voyage { padding: 70px 0; }
  .spx-liste { grid-template-columns: 1fr 1fr; }
  #sports .spx-cta, .spx-fin .spx-cta { width: auto; }
}
@media (prefers-reduced-motion: reduce) { .spx-tuile { transition: none; } }

/* Le programme en detail sous chaque profil (06/10/2026, scripts/sport/vente-detail.js) */
.spx-profils { scroll-margin-top: 64px; }
.spx-detail {
  display: grid; gap: 16px; padding: 20px 16px; border-radius: 22px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 24px 40px -32px rgba(27, 29, 23, .45);
}
.spx-detail__titre { margin: 0; font-size: clamp(22px, 5.6vw, 28px); line-height: 1.3; }
.spx-fiche { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.spx-fiche li { display: grid; gap: 2px; align-content: center; padding: 12px 8px; border-radius: 16px; background: var(--green-dark); color: #fff; text-align: center; }
.spx-fiche b { font-family: var(--font-head-fr); font-size: 30px; line-height: 1.1; color: #ffc489; }
.spx-fiche span { font-size: 13.5px; font-weight: 700; line-height: 1.4; color: rgba(255, 255, 255, .9); }
.spx-fiche__note { margin: -6px 0 0; text-align: center; font-size: 14px; color: var(--ink-soft); }

.spx-plan { list-style: none; margin: 0; padding: 0; }
.spx-plan li { position: relative; padding: 0 0 16px; padding-inline-start: 28px; }
.spx-plan li::before {
  content: ""; position: absolute; top: 6px; inset-inline-start: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 4px var(--amber-tint);
}
.spx-plan li::after { content: ""; position: absolute; top: 24px; bottom: 2px; inset-inline-start: 6px; width: 2px; background: var(--line); }
.spx-plan li:last-child { padding-bottom: 0; }
.spx-plan li:last-child::after { content: none; }
.spx-plan__sem {
  display: inline-block; margin-bottom: 4px; padding: 2px 10px; border-radius: 99px;
  background: var(--green-tint); color: var(--green-dark); font-weight: 800; font-size: 14px;
}
.spx-plan p { margin: 0; font-size: 15.5px; line-height: 1.7; font-weight: 600; }

.spx-seance { padding: 16px 14px; border-radius: 18px; background: #10140f; color: #fff; overflow: hidden; }
.spx-seance__titre { margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.spx-seance__titre b { color: #fff; }
.spx-exos {
  list-style: none; margin: 0 -14px; padding: 0 14px 4px; display: grid; grid-auto-flow: column; grid-auto-columns: 46%;
  gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.spx-exos::-webkit-scrollbar { display: none; }
.spx-exo { display: grid; gap: 4px; align-content: start; scroll-snap-align: start; }
.spx-exo__media { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #1d221c; }
.spx-exo__media video, .spx-exo__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spx-exo__nom { font-weight: 700; font-size: 14px; line-height: 1.45; }
.spx-exo__dose { font-weight: 800; font-size: 14px; color: #ffc489; }
.spx-seance__deroule { margin: 12px 0 0; font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, .72); }
.spx-seance__deroule b { color: #fff; }

@media (min-width: 900px) {
  .spx-detail { padding: 26px; }
  .spx-fiche { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .spx-fiche__note { text-align: start; }
  .spx-plan { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; }
  .spx-plan li::after { content: none; }
  .spx-plan li { padding-bottom: 14px; }
  .spx-seance { padding: 20px; }
  .spx-exos { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
}
/* Telephone : l'explication avant la capture de l'appli, le bouton tout en bas */
@media (max-width: 899px) {
  .spx-profil { grid-template-areas: none; }
  .spx-profil .spx-scene, .spx-profil .spx-tel { grid-area: auto; }
  .spx-profil__suite { display: contents; }
  .spx-profil .spx-scene { order: 1; }
  .spx-profil .spx-faits { order: 2; }
  .spx-profil .spx-detail { order: 3; }
  .spx-profil .spx-tel { order: 4; }
  .spx-profil__suite > .btn { order: 5; }
}

/* ==========================================================================
   Le contraste, l'echelle et les 42 programmes (06/10/2026, Mohamed :
   « faut impressionner : la femme a la maison, le MMA, les forces speciales »).
   Tout est visible au repos ; l'animation ne fait qu'accompagner, et
   disparait si le telephone demande moins de mouvement.
   ========================================================================== */
.spx-contraste {
  list-style: none; margin: 4px 0 10px; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end;
}
.spx-c {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  aspect-ratio: 3 / 4; padding: 10px 9px; border-radius: 18px; overflow: hidden; color: #fff;
  background: linear-gradient(to top, rgba(9, 22, 15, .94) 0%, rgba(9, 22, 15, .35) 55%, rgba(9, 22, 15, 0) 100%), var(--img) center / cover no-repeat, #1b2a22;
  box-shadow: 0 16px 30px -22px rgba(27, 29, 23, .8);
  animation: spx-monte .7s var(--ease) both;
}
/* Une marche plus haute a chaque profil : la progression se voit */
.spx-c:nth-child(1) { aspect-ratio: 3 / 3.6; }
.spx-c:nth-child(2) { aspect-ratio: 3 / 4.2; animation-delay: .12s; }
.spx-c:nth-child(3) { aspect-ratio: 3 / 4.9; animation-delay: .24s; }
.spx-c b { font-weight: 800; font-size: clamp(14px, 3.9vw, 19px); line-height: 1.25; }
.spx-c span { font-size: clamp(11.5px, 3.1vw, 14px); line-height: 1.35; color: rgba(255, 255, 255, .86); }
.spx-c--fort { box-shadow: 0 0 0 3px var(--amber), 0 18px 34px -20px rgba(224, 121, 44, .8); }
.spx-c--fort::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 210, 160, .28) 50%, transparent 65%);
  transform: translateX(-120%); animation: spx-reflet 1.4s .9s var(--ease) 1 both;
}
.spx-contraste__ligne {
  margin: 0 0 6px; display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 2px;
  font-weight: 700; font-size: 15px; color: var(--ink-soft);
}
.spx-contraste__ligne span { white-space: nowrap; }
.spx-contraste__ligne b { font-family: var(--font-head-fr); font-size: 1.35em; color: var(--green-dark); }
@keyframes spx-monte { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes spx-reflet { to { transform: translateX(120%); } }

/* L'echelle des 5 niveaux, sur le fond vert fonce du « voyage » */
.spx-echelle__titre { margin: 4px 0 14px; color: #fff; font-size: clamp(20px, 5.4vw, 28px); line-height: 1.35; }
.spx-echelle { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.spx-echelle li {
  position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 16px; color: #fff;
  background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, calc(.04 + var(--n) * .035)));
  border: 1px solid rgba(255, 255, 255, calc(.06 + var(--n) * .05));
  margin-inline-start: calc((5 - var(--n)) * 0px);
}
html[dir="rtl"] .spx-echelle li { background: linear-gradient(270deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, calc(.04 + var(--n) * .035))); }
.spx-echelle__n {
  grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--font-head-fr); font-weight: 800; font-size: 22px;
  background: rgba(255, 255, 255, .12); color: #ffc489;
}
.spx-echelle li:last-child { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber) inset; }
.spx-echelle li:last-child .spx-echelle__n { background: var(--amber); color: #fff; }
.spx-echelle b { font-size: 17px; font-weight: 800; }
.spx-echelle li > span:last-child { font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.spx-echelle__note { margin: 12px 0 22px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.spx-echelle.spx-attend li { transition: transform .5s var(--ease), opacity .5s var(--ease); }
.spx-echelle.spx-attend:not(.is-vu) li { transform: translateY(8px); opacity: .55; }
.spx-echelle.is-vu li:nth-child(2) { transition-delay: .08s; }
.spx-echelle.is-vu li:nth-child(3) { transition-delay: .16s; }
.spx-echelle.is-vu li:nth-child(4) { transition-delay: .24s; }
.spx-echelle.is-vu li:nth-child(5) { transition-delay: .32s; }

/* Les 42 programmes en cartes */
.spv-total { margin: -6px 0 14px; font-weight: 700; color: var(--ink-soft); }
.spv-total b { font-family: var(--font-head-fr); font-size: 1.6em; color: var(--green-dark); }
.spv-groupe { position: relative; display: grid; grid-template-columns: 46px 1fr; column-gap: 12px; align-items: start; }
.spv-groupe__ico { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--green-tint); font-size: 24px; line-height: 1; }
.spv-groupe h3 { display: flex; align-items: center; gap: 8px; }
.spv-groupe h3 small { font-family: var(--font-head-fr); font-size: 13px; font-weight: 800; padding: 1px 8px; border-radius: 99px; background: var(--green); color: #fff; }
.spv-groupe--fort { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber) inset; }
.spv-groupe--fort .spv-groupe__ico { background: var(--amber-tint); }
.spv-groupe--fort h3 small { background: var(--amber); }

@media (min-width: 900px) {
  .spx-contraste { gap: 12px; max-width: 520px; }
  .spx-c { padding: 14px 12px; border-radius: 22px; }
  .spx-echelle { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; }
  .spx-echelle li { grid-template-columns: 1fr; row-gap: 6px; padding: 16px 14px; min-height: calc(110px + var(--n) * 22px); align-content: end; }
  .spx-echelle__n { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .spx-c, .spx-c--fort::before { animation: none; }
  .spx-c--fort::before { content: none; }
  .spx-echelle.spx-attend li, .spx-echelle.spx-attend:not(.is-vu) li { transition: none; transform: none; opacity: 1; }
}

/* ==========================================================================
   Questionnaire en cartes photo + ouverture (13/10/2026) : la variete du
   programme (42 sports, 6 objectifs) et celui qui l'a concu se voient.
   ========================================================================== */
.sp-cartes { grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 560px) { .sp-cartes { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.sp-carte-photo {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 4 / 5; border-radius: 18px; border: 2px solid var(--line);
  background: radial-gradient(120% 75% at 50% 0%, rgba(243, 146, 55, .2), transparent 62%), linear-gradient(165deg, #1c2d25, #09100d);
}
.sp-choix.sp-carte-photo { padding: 0; min-height: 0; justify-content: flex-end; gap: 0; }
.sp-carte-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sp-carte-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5, 9, 7, .95) 0%, rgba(5, 9, 7, .62) 34%, rgba(5, 9, 7, 0) 66%); }
.sp-carte-photo__txt { display: flex; flex-direction: column; gap: 3px; padding: 12px 12px 13px; text-align: start; }
.sp-carte-photo .sp-choix__t { color: #fff; font-size: 16px; line-height: 1.25; text-wrap: balance; }
.sp-carte-photo .sp-choix__s { color: rgba(255, 255, 255, .8); font-size: 13px; line-height: 1.4; }
.sp-app .sp-choix.sp-carte-photo:hover { border-color: var(--amber); }
.sp-carte-photo:hover img { transform: scale(1.05); }
.sp-app .sp-choix.sp-carte-photo.is-actif { border-color: var(--amber); box-shadow: 0 0 0 2px var(--amber), 0 18px 34px -18px rgba(243, 146, 55, .7); }
.sp-carte-photo.is-actif::before {
  content: "\2713"; position: absolute; top: 10px; inset-inline-end: 10px; z-index: 1;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--amber); color: #1d1206; font-weight: 800; font-size: 16px;
}
.sp-choix.sp-carte-photo:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.sp-app .sp-q__groupe { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 28px 0 10px; color: var(--ink); }
.sp-q__compte { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 99px; background: var(--amber-tint); color: var(--amber-dark); font-size: 13px; font-weight: 800; }

.sp-vit { padding-top: 18px; }
.sp-vit__sur { margin: 0 0 6px; color: var(--amber); font-weight: 800; font-size: 14px; }
.sp-vit__h { margin: 0 0 18px; color: #fff; font-size: clamp(30px, 8.4vw, 46px); line-height: 1.18; text-wrap: balance; }
.sp-vit__chiffres { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sp-vit__chiffres li { display: flex; flex-direction: column; align-items: center; padding: 12px 4px 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.sp-vit__chiffres b { color: var(--amber); font-family: var(--font-head-ar); font-size: clamp(26px, 7.4vw, 38px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.sp-vit__chiffres span { margin-top: 4px; color: var(--ink-soft); font-size: 13px; }
.sp-vit__mur { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sp-vit__mur .sp-carte-photo { border-width: 1px; border-radius: 14px; }
.sp-vit__mur .sp-carte-photo__txt { padding: 8px 8px 9px; }
.sp-vit__mur .sp-choix__t { font-size: 13px; font-weight: 700; }
.sp-vit__auteur { margin: 0 0 22px; padding: 18px 18px 16px; border-radius: 18px; border: 1px solid rgba(243, 146, 55, .3); background: linear-gradient(165deg, rgba(243, 146, 55, .13), rgba(243, 146, 55, .02) 70%); }
.sp-vit__qui { margin: 0; color: var(--amber-dark); font-size: 14px; font-weight: 700; }
.sp-vit__nom { margin: 2px 0 16px; color: #fff; font-family: var(--font-head-ar); font-size: 19px; font-weight: 800; line-height: 1.35; }
.sp-vit__parcours { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sp-vit__parcours li { position: relative; padding-inline-start: 24px; }
.sp-vit__parcours li::before { content: ""; position: absolute; top: 7px; inset-inline-start: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(243, 146, 55, .18); }
.sp-vit__parcours li:not(:last-child)::after { content: ""; position: absolute; top: 21px; bottom: -12px; inset-inline-start: 6px; width: 2px; background: rgba(243, 146, 55, .3); }
.sp-vit__parcours b { display: block; color: var(--amber); font-size: 16px; }
.sp-vit__parcours span { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.sp-vit__lecon { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.65; }
.sp-vit__go { font-size: 19px; }
.sp-vit__note { margin: 10px 0 0; text-align: center; color: var(--ink-faint); font-size: 14px; }
html[lang="fr"] .sp-vit__nom, html[lang="fr"] .sp-vit__chiffres b { font-family: var(--font-head-fr); }
@media (min-width: 560px) { .sp-vit__mur { grid-template-columns: repeat(6, 1fr); } }
@media (prefers-reduced-motion: reduce) { .sp-carte-photo img { transition: none; } .sp-carte-photo:hover img { transform: none; } }

/* Page de vente : les photos de chaque famille de sports (13/10/2026),
   femme ou homme selon le choix en haut de page (html[data-sexe]). */
.spv-groupe.spv-groupe--photos { display: block; padding: 10px 10px 14px; }
.spv-groupe__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 12px; }
.spv-groupe__photos--2 { grid-template-columns: repeat(2, 1fr); }
.spv-ph { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: #15211c; }
.spv-ph--h { display: none; }
html[data-sexe="h"] .spv-ph--h { display: block; }
html[data-sexe="h"] .spv-ph--f { display: none; }
.spv-groupe.spv-groupe--photos h3, .spv-groupe.spv-groupe--photos p { padding-inline: 6px; }
.spv-groupe__photos--2 .spv-ph { aspect-ratio: 6 / 5; object-position: 50% 35%; }
