
:root {
  --font-display: 'Garamond Premier', 'garamond-premier-pro-display', 'EB Garamond', Garamond, 'Times New Roman', serif;
  --font-serif-txt: 'Garamond Premier Texte', 'garamond-premier-pro', 'EB Garamond', Garamond, serif;
  --font-sans: 'Europa', 'Archivo', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  --paper:    #fdfcfa;
  --paper-2:  #f6f4f0;
  --carte:    #ffffff;
  --ink:      #16150f;
  --encre-2:  rgba(22, 21, 15, .8);
  --encre-3:  rgba(22, 21, 15, .66);
  --filet:    rgba(22, 21, 15, .12);
  --filet-doux: rgba(22, 21, 15, .07);

  --rouge:        #A5443B;   
  --rouge-survol: #C98A82;   
  --rouge-logo:   #E1251B;   
  --vert:         #2E8B57;   
  --vert-texte:   #1F6E46;   
  --vert-fond:    #EAF4EE;

  --ombre: 0 1px 1px rgba(22, 21, 15, .04), 0 14px 36px -14px rgba(22, 21, 15, .2);
  --r-carte: 22px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-revele: 1s;
  --t-commande: .3s;

  --max: 1180px;
  --gouttiere: clamp(16px, 5vw, 64px);
  --hdr: 64px;
}
:root[data-teinte="b"] { --rouge: #B5655D; --rouge-survol: #D9A6A0; }   

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: calc(var(--hdr) + 20px); -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body {
  font-family: var(--font-sans); font-size: 17px; line-height: 1.55;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
main:focus, .bloc:focus { outline: none; }

.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.visuellement-cache > table { white-space: normal; }   
.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.evitement:focus { top: 12px; }

.titre {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.3rem, 4.4vw, 3.8rem); line-height: 1.04; letter-spacing: -.012em;
  text-wrap: balance;
}
.titre--bloc { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.bijou { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.chapo { font-size: clamp(1.0625rem, 1.3vw, 1.18rem); line-height: 1.6; color: var(--encre-2); max-width: 44ch; }
.surtitre { font-size: 1rem; color: var(--encre-2); }
.legende { font-size: .9375rem; color: var(--encre-3); }
.etiquette {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 13px 6px 11px; border: 1px solid var(--filet); border-radius: 999px;
  background: rgba(255, 255, 255, .72); font-size: .9375rem; color: var(--encre-2);
}
.pastille { width: 7px; height: 7px; border-radius: 50%; background: var(--rouge); }
.insecable { white-space: nowrap; }

.pilule {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 11px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; border: 1px solid transparent;
  font-size: 1rem; line-height: 1.2; white-space: nowrap;
  box-shadow: inset 0 4px 4px rgba(255, 255, 255, .18), inset 0 -1px 0 rgba(0, 0, 0, .3), 0 1px 2px rgba(22, 21, 15, .2);
  transition: background-color var(--t-commande) var(--ease), border-color var(--t-commande) var(--ease), transform .16s var(--ease), opacity var(--t-commande) var(--ease);
}
.pilule:active { transform: scale(.97); }
.pilule--filet { background: rgba(255, 255, 255, .6); color: var(--ink); border-color: rgba(22, 21, 15, .2); box-shadow: none; }
.pilule--petite { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.pilule--grande { min-height: 54px; padding: 14px 28px; font-size: 1.0625rem; }
.pilule[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
@media (hover: hover) {
  .pilule:not([disabled]):hover { background: #2c2a22; }
  .pilule--filet:not([disabled]):hover { background: #fff; border-color: var(--ink); }
}
.lien {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 1rem; color: var(--encre-2);
  text-decoration: underline; text-decoration-color: var(--filet); text-underline-offset: 4px;
  transition: color var(--t-commande) var(--ease), text-decoration-color var(--t-commande) var(--ease);
}
@media (hover: hover) { .lien:hover { color: var(--ink); text-decoration-color: currentColor; } }

.carte {
  background: var(--carte); border: 1px solid var(--filet-doux); border-radius: var(--r-carte);
  box-shadow: var(--ombre);
}
.carte__titre { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 14px; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.15; }
.carte__resume { font-family: var(--font-sans); font-size: .9375rem; color: var(--encre-3); }
.champ { display: flex; flex-direction: column; gap: 8px; border: 0; min-width: 0; }
.champ > label, .champ > legend { font-size: 1.0625rem; font-weight: 700; padding: 0; margin-bottom: 2px; }
.champ legend { float: left; width: 100%; margin-bottom: 10px; }
.champ legend + * { clear: both; }
.aide, .aide-inline { font-size: .9375rem; color: var(--encre-3); font-weight: 400; }
input[type="email"], input[type="text"], select, textarea {
  width: 100%; min-height: 50px; padding: 11px 16px;
  border: 1px solid rgba(22, 21, 15, .2); border-radius: 14px; background: var(--paper);
  font-size: 1.0625rem; 
  transition: border-color var(--t-commande) var(--ease), background-color var(--t-commande) var(--ease);
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; border-radius: 999px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316150f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); background: #fff; }
input[aria-invalid="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.erreur { min-height: 1.2em; font-size: .9375rem; color: var(--ink); font-weight: 700; }
.erreur:empty { min-height: 0; }

.coche { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--vert); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.coche path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.rond { width: 56px; height: 56px; flex: none; overflow: visible; }
.rond__fond { fill: #fff; stroke: rgba(22, 21, 15, .3); stroke-width: 1.5; transition: fill .35s var(--ease), stroke .35s var(--ease); }
.rond__guide { fill: none; stroke: rgba(22, 21, 15, .16); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s var(--ease); }
.rond__trait { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .55s var(--ease) .08s; }
[aria-pressed="true"] > .rond .rond__fond, .rond--plein .rond__fond { fill: var(--vert); stroke: var(--vert); }
[aria-pressed="true"] > .rond .rond__guide, .rond--plein .rond__guide { opacity: 0; }
[aria-pressed="true"] > .rond .rond__trait, .rond--plein .rond__trait { stroke-dashoffset: 0; }

.porte {
  min-height: calc(100svh - var(--hdr));
  display: grid; place-items: center; padding: clamp(32px, 7vw, 96px) var(--gouttiere);
  background: radial-gradient(120% 80% at 50% 0%, #fff 0, var(--paper) 60%, var(--paper-2) 100%);
}
.porte__carte { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 22px; }
.porte__form { display: flex; flex-direction: column; gap: 18px; margin-top: 6px; }
.porte__entrer { width: 100%; }
.porte__pied { text-align: center; }
.porte__info { padding: 12px 16px; border-radius: 14px; background: var(--paper-2); font-size: .9375rem; color: var(--encre-2); text-align: center; }

.tableau { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 5vw, 72px) var(--gouttiere) 48px; }
.bloc { margin-top: clamp(72px, 9vw, 120px); }
.bloc__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.bloc__titres { display: flex; flex-direction: column; gap: 10px; }

.bonjour { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.bonjour__texte { display: flex; flex-direction: column; gap: 16px; }
.niveau { padding: 26px 28px 24px; display: flex; flex-direction: column; gap: 20px; }
.niveau__haut { display: flex; align-items: center; gap: 22px; }
.niveau__num { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 70px; padding-right: 22px; border-right: 1px solid var(--filet); }
.niveau__mot { font-size: .9375rem; color: var(--encre-3); }
.niveau__chiffre { font-family: var(--font-display); font-size: 3.6rem; line-height: .95; font-variant-numeric: lining-nums; }
.niveau__nom { font-family: var(--font-display); font-size: 1.8rem; line-height: 1.1; margin-bottom: 4px; }
.niveau__reste { font-size: 1rem; color: var(--encre-2); }
.jauge { position: relative; height: 8px; border-radius: 999px; background: var(--filet-doux); overflow: hidden; }
.jauge__plein {
  position: absolute; inset: 0; border-radius: inherit; background: var(--rouge);
  transform-origin: left center; transform: scaleX(var(--part, 0));
  transition: transform 1.1s var(--ease);
}
.niveau__chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.niveau__case { position: relative; display: flex; flex-direction: column-reverse; }
.niveau__case dt { font-size: .9375rem; color: var(--encre-3); }
.niveau__case dd { font-family: var(--font-display); font-size: 2.3rem; line-height: 1.05; font-variant-numeric: lining-nums tabular-nums; }

.flotte {
  position: absolute; z-index: 5; pointer-events: none; white-space: nowrap;
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--vert-texte);
  font-variant-numeric: lining-nums;
}

.reussites { margin-top: clamp(40px, 5vw, 64px); }
.reussites__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.reussites__titre { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 2.6vw, 2.2rem); line-height: 1.1; }
.reussites__liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.reussite {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 20px 20px 18px; border-radius: 20px; background: #fff;
  border: 1px solid var(--filet-doux); box-shadow: var(--ombre);
}
.reussite::after {   
  content: ''; position: absolute; top: 20px; right: 20px; width: 10px; height: 10px; border-radius: 50%; background: var(--vert);
}
.reussite__chiffre { font-family: var(--font-display); font-size: clamp(2.6rem, 4vw, 3.3rem); line-height: 1; letter-spacing: -.01em; font-variant-numeric: lining-nums; padding-right: 18px; }
.reussite__chiffre small { font-size: .55em; letter-spacing: 0; }
.reussite--gain .reussite__chiffre { color: var(--vert-texte); }
.reussite__quoi { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.reussite__quand { font-size: .9375rem; color: var(--encre-3); }
.reussite.est-nouvelle { animation: nouvelle 1.4s var(--ease) .5s both; }
@keyframes nouvelle {
  0% { box-shadow: var(--ombre), 0 0 0 0 rgba(46, 139, 87, .45); transform: translateY(10px); opacity: 0; }
  40% { box-shadow: var(--ombre), 0 0 0 6px rgba(46, 139, 87, .18); transform: none; opacity: 1; }
  100% { box-shadow: var(--ombre), 0 0 0 0 rgba(46, 139, 87, 0); }
}
.reussites__vide {
  grid-column: 1 / -1; padding: 20px 22px; border-radius: 20px; border: 1px dashed rgba(22, 21, 15, .2);
  font-size: 1rem; color: var(--encre-2); background: rgba(255, 255, 255, .6);
}

.annonce {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 70;
  max-width: calc(100% - 32px);
  padding: 12px 22px 12px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 1rem;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 18px 40px -16px rgba(22, 21, 15, .5);
  transform: translate(-50%, 160%); opacity: 0; pointer-events: none;
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.annonce.est-visible { transform: translate(-50%, 0); opacity: 1; }
.annonce__coche { width: 26px; height: 26px; flex: none; }
.annonce__coche circle { fill: var(--vert); }
.annonce__coche path { fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.annonce.est-visible .annonce__coche path { animation: dessin .6s var(--ease) .3s forwards; }
.annonce--neutre { padding-left: 22px; }
.annonce--neutre .annonce__coche { display: none; }

.seance__intro { font-size: 1.0625rem; color: var(--encre-2); max-width: 60ch; }
.seance__intro:empty { display: none; }
.seance__aide { font-size: .9375rem; color: var(--encre-3); }

.onglets-cadre { display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; }
.onglets {
  position: relative; display: flex; flex: 0 1 auto; min-width: 0; padding: 5px; gap: 5px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--filet-doux);
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
}
.onglets::-webkit-scrollbar { display: none; }
.onglets__fleche {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--filet-doux); color: var(--ink);
  transition: opacity var(--t-commande) var(--ease), background-color var(--t-commande) var(--ease);
}
.onglets__fleche[hidden] { display: none; }
.onglets__fleche svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.onglets__fleche:disabled { opacity: .3; cursor: default; }
@media (hover: hover) { .onglets__fleche:not(:disabled):hover { background: var(--paper-2); } }
.onglet {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px 20px; border-radius: 999px;
  white-space: nowrap;
  font-size: 1rem; color: var(--encre-2);
  transition: background-color var(--t-commande) var(--ease), color var(--t-commande) var(--ease), box-shadow var(--t-commande) var(--ease);
}
.onglet[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(22, 21, 15, .12); }
.onglet__fait { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--vert-fond); }
.onglet__fait .coche { width: 14px; height: 14px; }
.onglet__fait.se-trace .coche path { stroke-dashoffset: 1; animation: dessin .7s var(--ease) .6s forwards; }
@media (hover: hover) { .onglet:not([aria-pressed="true"]):hover { color: var(--ink); background: rgba(255, 255, 255, .6); } }

.suivi {
  position: sticky; top: calc(var(--hdr) + 10px); z-index: 20;
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 32px; padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--filet-doux);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(22, 21, 15, .35);
}
.suivi__compte { display: flex; align-items: baseline; white-space: nowrap; font-size: 1rem; color: var(--encre-2); }
.suivi__mot { margin-left: .35em; }
.suivi__compte b { display: inline-block; font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.suivi__sur { font-family: var(--font-display); font-size: 1.5rem; color: var(--encre-2); font-variant-numeric: lining-nums; }
.suivi__barre { position: relative; flex: 1; min-width: 40px; height: 8px; border-radius: 999px; background: var(--filet-doux); overflow: hidden; }
.suivi__plein { position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform-origin: left; transform: scaleX(var(--part, 0)); transition: transform .7s var(--ease), background-color .5s var(--ease); }
.suivi.est-complet .suivi__plein { background: var(--vert); }
.suivi.est-complet .suivi__compte b { color: var(--vert-texte); }
.suivi__fin { flex: none; }

#seance-corps .exo, #seance-corps .exo :is(a, button) { scroll-margin-top: 72px; }

.groupe + .groupe { margin-top: 44px; }
.groupe__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--filet); }
.groupe__nom { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
.groupe__nb { font-size: .9375rem; color: var(--encre-3); white-space: nowrap; }
.exos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 430px), 1fr)); gap: 16px; }

.exo {
  display: flex; flex-direction: column; gap: 16px;
  padding: 20px 20px 20px 22px; border-radius: var(--r-carte);
  background: #fff; border: 1px solid var(--filet-doux); box-shadow: var(--ombre);
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.exo.est-fait { border-color: rgba(46, 139, 87, .5); background: #fbfdfb; }
.exo__haut { display: flex; align-items: flex-start; gap: 14px; }
.exo__nom { flex: 1; min-width: 0; padding-top: 2px; }
.exo__titre { font-family: var(--font-display); font-weight: 400; font-size: 1.65rem; line-height: 1.12; text-wrap: balance; }
.exo__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 6px; font-size: .9375rem; color: var(--encre-3); }
.exo__ouvrir {
  display: inline; padding: 0; margin: 0; text-align: left; font: inherit; line-height: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(22, 21, 15, .22); text-underline-offset: 5px;
  transition: text-decoration-color var(--t-commande) var(--ease);
}
.exo__voir {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 12px 4px 9px; margin-left: -2px;
  border: 1px solid var(--filet); border-radius: 999px; background: var(--paper); color: var(--encre-2); font-size: .9375rem;
  transition: border-color var(--t-commande) var(--ease), color var(--t-commande) var(--ease);
}
.exo__icone { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
  .exo__ouvrir:hover { text-decoration-color: var(--ink); }
  .exo__voir:hover { border-color: var(--ink); color: var(--ink); }
}

.exo__case { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; margin: -4px -4px 0 0; padding: 4px; border-radius: 18px; }
.exo__case-mot { font-size: .9375rem; color: var(--encre-2); transition: color var(--t-commande) var(--ease); }
.exo__case[aria-pressed="true"] .exo__case-mot { color: var(--vert-texte); font-weight: 700; }
@media (hover: hover) { .exo__case:not([aria-pressed="true"]):hover .rond__fond { stroke: var(--ink); } }

.exo__geste {
  position: relative; flex: none; width: 80px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--filet-doux);
}
.exo__geste video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.exo__geste.est-pret video { opacity: 1; }
.exo__geste-zoom { position: absolute; right: 5px; bottom: 5px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(22, 21, 15, .62); color: #fff; }
.exo__geste-zoom svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.exo__chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px 20px; padding-top: 14px; border-top: 1px solid var(--filet); }
.exo__chiffre { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.exo__chiffre dd { order: -1; }   
.exo__chiffre dt { font-size: 1rem; color: var(--encre-2); }
.exo__chiffre dd {
  font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 3rem); line-height: 1; letter-spacing: -.01em;
  font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.exo__chiffre dd small { font-size: .62em; letter-spacing: 0; }
.exo__chiffre dd .exo__suite { display: block; margin-top: 4px; font-family: var(--font-sans); font-size: 1rem; letter-spacing: 0; color: var(--encre-2); white-space: normal; }
.exo__mots { display: inline-block; font-size: 1.6rem; line-height: 1.15; white-space: normal; }
.exo.est-fait .exo__chiffre dd { color: var(--encre-2); }

.exo__repos {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px;
  padding: 12px 16px; border-radius: 14px; background: var(--paper-2);
  font-size: 1.0625rem;
}
.exo__repos > span:first-of-type { display: inline-flex; align-items: baseline; gap: 6px; }
.exo__repos svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; align-self: center; }
.exo__repos b { font-size: 1.25rem; font-variant-numeric: lining-nums tabular-nums; }
.exo__intensite { margin-left: auto; font-size: 1rem; color: var(--encre-2); }
.exo__repos > .exo__intensite:first-child { margin-left: 0; }
.exo__note { font-size: 1rem; line-height: 1.55; color: var(--encre-2); }
.exo__note b { color: var(--ink); }

.seance__faite {
  display: flex; gap: 16px; align-items: center; padding: 16px 22px; margin-bottom: 24px;
  border-radius: 18px; background: var(--vert-fond); font-size: 1.0625rem;
}
.seance__faite .rond { width: 40px; height: 40px; }
.seance__faite .rond__trait { animation: dessin .7s var(--ease) .2s both; stroke-dashoffset: 1; }

.retour__grille { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.retour__form { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 28px; }
.echelle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.echelle__bornes { display: flex; justify-content: space-between; margin-top: 2px; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.echelle label, .choix label { position: relative; }
.echelle input, .choix input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.echelle span, .choix span {
  display: grid; place-items: center; min-height: 50px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(22, 21, 15, .2); background: var(--paper); font-size: 1rem;
  transition: background-color var(--t-commande) var(--ease), color var(--t-commande) var(--ease), border-color var(--t-commande) var(--ease);
}
.echelle span { font-family: var(--font-display); font-size: 1.5rem; padding: 6px; }
.echelle input:checked + span, .choix input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.echelle input:focus-visible + span, .choix input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) { .echelle label:hover span, .choix label:hover span { border-color: var(--ink); } }

.charges { border-top: 1px solid var(--filet); }
.charge { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 18px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.charge__nom { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.charge__prevu { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 14px; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.15; font-variant-numeric: lining-nums tabular-nums; }
.charge__prevu small { font-size: .6em; }
.charge__vol { font-family: var(--font-sans); font-size: 1rem; color: var(--encre-3); }
.charge__choix { display: flex; gap: 8px; }
.bascule {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(22, 21, 15, .22); background: var(--paper); font-size: 1rem; white-space: nowrap;
  transition: background-color var(--t-commande) var(--ease), color var(--t-commande) var(--ease), border-color var(--t-commande) var(--ease), transform .16s var(--ease);
}
.bascule:active { transform: scale(.97); }
.bascule .coche { width: 0; opacity: 0; margin-right: -8px; transition: width .3s var(--ease), opacity .3s var(--ease), margin .3s var(--ease); }
.bascule .coche path { stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--ease) .1s; }
.bascule--ok[aria-pressed="true"] { background: var(--vert-fond); border-color: var(--vert); color: var(--vert-texte); font-weight: 700; }
.bascule--ok[aria-pressed="true"] .coche { width: 18px; opacity: 1; margin-right: 0; }
.bascule--ok[aria-pressed="true"] .coche path { stroke-dashoffset: 0; }
.bascule--non[aria-pressed="true"] { background: var(--paper-2); border-color: var(--ink); color: var(--ink); font-weight: 700; }
@media (hover: hover) { .bascule[aria-pressed="false"]:hover { border-color: var(--ink); } }

.retour__valider { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--filet); padding-top: 22px; }
.retour__gain { position: relative; font-size: 1rem; color: var(--encre-2); }
.retour__gain strong { display: inline-block; min-width: 2ch; font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--ink); margin-right: 4px; font-variant-numeric: lining-nums tabular-nums; vertical-align: -4px; }
.bareme { padding: 6px 0; display: flex; flex-direction: column; gap: 16px; }
.bareme__titre { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.15; }
.bareme ul { border-top: 1px solid var(--filet); }
.bareme li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--filet); font-size: 1rem; }
.bareme li span { flex: 1; }
.bareme li small { display: block; font-size: .875rem; color: var(--encre-3); }
.bareme__semaine { padding: 14px 16px; border-radius: 14px; background: var(--paper-2); font-size: 1rem; color: var(--encre-2); }
.bareme__semaine:empty { display: none; }
.bareme__semaine b { color: var(--ink); }
.retour__cochees { color: var(--encre-3); }
.bareme li b { font-weight: 400; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; transition: color var(--t-commande) var(--ease); }
.bareme li .coche { opacity: .22; stroke: var(--ink); transition: opacity .3s var(--ease), stroke .3s var(--ease); }
.bareme li .coche path { stroke-dashoffset: 0; }
.bareme li.est-acquis .coche { opacity: 1; stroke: var(--vert); }
.bareme li.est-acquis .coche path { animation: dessin .5s var(--ease) both; stroke-dashoffset: 1; }
.bareme li.est-acquis b { color: var(--vert-texte); font-weight: 700; }

.progression__grille {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start;
  grid-template-areas: "courbe gains" "regul gains";
}
.courbe { grid-area: courbe; } .gains { grid-area: gains; } .regularite { grid-area: regul; }
.courbe, .gains, .regularite { padding: clamp(20px, 2.6vw, 30px); }
.regularite { display: flex; flex-direction: column; }
.regularite__sur { margin-top: 22px; }
.courbe__titre { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 14px; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.15; }
.courbe__resume { font-family: var(--font-sans); font-size: 1rem; color: var(--encre-3); }
.courbe__resume.est-gain { font-family: var(--font-display); font-size: 1.6rem; color: var(--vert-texte); }
.courbe__source { margin-top: 10px; }
.courbe__zone svg { width: 100%; height: auto; overflow: visible; }
.c-grille { stroke: var(--filet-doux); stroke-width: 1; }
.c-axe { font-family: var(--font-sans); font-size: 13px; fill: rgba(22, 21, 15, .66); font-variant-numeric: lining-nums tabular-nums; }
.c-ligne { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-aire { fill: url(#c-degrade); }
.c-point { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.c-point--dernier { fill: var(--rouge); stroke: #fff; stroke-width: 2; }
.c-point--cible { fill: #fff; stroke: rgba(22, 21, 15, .45); stroke-width: 1.5; stroke-dasharray: 2.5 2.5; }
.c-cible { stroke: rgba(22, 21, 15, .35); stroke-width: 1.5; stroke-dasharray: 3 4; fill: none; }
.c-valeur { font-family: var(--font-sans); font-size: 14px; fill: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.c-valeur--douce { fill: rgba(22, 21, 15, .66); }
.c-survol { fill: var(--rouge-survol); fill-opacity: 0; transition: fill-opacity var(--t-commande) var(--ease); }
@media (hover: hover) { .c-survol:hover { fill-opacity: .35; } }
.c-dessin { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dessin 1.1s var(--ease) forwards; }
@keyframes dessin { to { stroke-dashoffset: 0; } }

.dossiers { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 7px 10px 7px 14px; border-radius: 999px;
  border: 1px solid rgba(22, 21, 15, .2); background: var(--paper); font-size: 1rem; line-height: 1.2; color: var(--encre-2);
  transition: background-color var(--t-commande) var(--ease), color var(--t-commande) var(--ease), border-color var(--t-commande) var(--ease), transform .16s var(--ease);
}
.puce:active { transform: scale(.97); }
.puce[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.puce__nb { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--paper-2); color: var(--encre-2); font-size: .875rem; font-variant-numeric: lining-nums tabular-nums; }
.puce[aria-pressed="true"] .puce__nb { background: rgba(255, 255, 255, .2); color: #fff; }
.puces--sous { gap: 6px; padding-left: 12px; border-left: 2px solid var(--filet); }
.puces--sous .puce { min-height: 42px; background: #fff; font-size: .9375rem; }
.puces--sous .puce[aria-pressed="true"] { background: var(--paper-2); color: var(--ink); border-color: var(--ink); font-weight: 700; }
.puces--sous .puce[aria-pressed="true"] .puce__nb { background: #fff; color: var(--ink); }
@media (hover: hover) { .puce[aria-pressed="false"]:hover { border-color: var(--ink); color: var(--ink); } }
.courbe__dossier { font-size: .9375rem; color: var(--encre-3); margin-bottom: 4px; }
.courbe__dossier:empty { display: none; }

.gains__liste { border-top: 1px solid var(--filet); margin-bottom: 14px; }
.gains__liste li { border-bottom: 1px solid var(--filet); }
.gain {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px;
  padding: 12px 10px; margin: 0 -10px; width: calc(100% + 20px); border-radius: 12px; text-align: left;
  transition: background-color var(--t-commande) var(--ease);
}
.gain[aria-pressed="true"] { background: var(--paper-2); }
@media (hover: hover) { .gain:hover { background: var(--paper-2); } }
.gain__nom { font-size: 1rem; line-height: 1.35; }
.gain[aria-pressed="true"] .gain__nom { font-weight: 700; }
.gain__val { font-size: .9375rem; color: var(--encre-3); font-variant-numeric: lining-nums tabular-nums; grid-column: 1; }
.gain__plus { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--vert-texte); white-space: nowrap; font-variant-numeric: lining-nums; }
.gain__plus--vide { min-width: 0; }

.regularite__semaines { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 10px; margin: 6px 0 14px; }
.regularite__semaines li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.regularite__points { display: flex; gap: 4px; }
.regularite__points span, .cle { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid rgba(22, 21, 15, .22); display: inline-block; transition: background-color .5s var(--ease), border-color .5s var(--ease); }
.regularite__points span.est-fait, .cle--fait { background: var(--vert); border-color: var(--vert); }
.regularite__points span.est-suivi, .cle--suivi { background: var(--vert-fond); border-color: var(--vert); }
.regularite__cle-suivi { display: inline-flex; align-items: center; gap: 8px; }
.regularite__cle-suivi[hidden] { display: none !important; }
.regularite__semaines li.est-courante .regularite__num { color: var(--ink); font-weight: 700; }
.regularite__semaines li.est-courante .regularite__points span:not(.est-fait) { border-color: var(--ink); }
.regularite__num { display: inline-flex; align-items: center; gap: 3px; font-size: .9375rem; color: var(--encre-3); font-variant-numeric: lining-nums tabular-nums; }
.regularite__semaines li.est-tenue .regularite__num { color: var(--vert-texte); font-weight: 700; }
.regularite__pause { width: 14px; height: 2px !important; border: 0 !important; border-radius: 1px; background: rgba(22, 21, 15, .3); margin: 6px 0; }
.statut { display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; border-radius: 50%; font-size: .6875rem; font-weight: 700; line-height: 1; }
.statut svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.statut--tenue { background: var(--vert); color: #fff; }
.statut--joker { background: var(--paper-2); color: var(--ink); border: 1px solid var(--ink); font-family: var(--font-sans); }
.regularite__cle-statut { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; }
.dernieres b.dernieres__non { color: var(--encre-3); font-weight: 400; }
.regularite__cle { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.regularite__cle .cle + * { margin-right: 10px; }
.cle { vertical-align: middle; }
.regularite__sur { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 8px; }
.dernieres { border-top: 1px solid var(--filet); }
.dernieres li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--filet); font-size: 1rem; }
.dernieres b { font-weight: 700; color: var(--vert-texte); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.dernieres .dernieres__vide { color: var(--encre-3); }

.paliers { padding: clamp(24px, 3vw, 36px); position: relative; display: flex; flex-direction: column; gap: 22px; }
.paliers__tete { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; }
.paliers__compte { display: flex; align-items: baseline; gap: 10px; font-size: 1.0625rem; color: var(--encre-2); }
.paliers__compte b { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 6vw, 4.2rem); line-height: .9; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.paliers__reste { font-size: 1.0625rem; color: var(--encre-2); }
.paliers__piste { position: relative; height: 8px; border-radius: 999px; background: var(--filet-doux); }
.paliers__plein { position: absolute; inset: 0; border-radius: inherit; background: var(--rouge); transform-origin: left; transform: scaleX(var(--part, 0)); transition: transform 1.1s var(--ease); }
.paliers__repere { position: absolute; top: 50%; left: calc(var(--pos) * 100%); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; border: 2px solid rgba(22, 21, 15, .3); }
.paliers__repere:last-child { margin-left: -16px; }
.paliers__repere.est-atteint { background: var(--rouge); border-color: #fff; box-shadow: 0 0 0 1px var(--rouge); }
.paliers__liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.palier { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px; border: 1px solid var(--filet); background: var(--paper); transition: border-color .6s var(--ease), background-color .6s var(--ease); }
.palier.est-prochain { background: #fff; border-color: rgba(22, 21, 15, .3); }
.palier__haut { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.palier__seuil { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; font-variant-numeric: lining-nums; }
.palier__seuil small { font-family: var(--font-sans); font-size: .9375rem; color: var(--encre-3); }
.palier__icone { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--filet); }
.palier__icone svg { width: 16px; height: 16px; fill: none; stroke: var(--encre-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.palier__duree { font-size: 1rem; font-weight: 700; }
.palier__texte { font-size: 1rem; color: var(--encre-2); }
.palier__barre { position: relative; height: 5px; border-radius: 999px; background: var(--filet-doux); overflow: hidden; }
.palier__barre span { position: absolute; inset: 0; border-radius: inherit; background: var(--rouge); transform-origin: left; transform: scaleX(var(--part, 0)); transition: transform 1.1s var(--ease); }
.palier.est-ouvert { background: #fff; border-color: var(--ink); }
.palier.est-ouvert .palier__icone { background: var(--rouge); border-color: var(--rouge); }
.palier.est-ouvert .palier__icone svg { stroke: #fff; }
.paliers__etat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.paliers__etat p { padding: 14px 16px; border-radius: 14px; background: var(--paper-2); font-size: 1rem; color: var(--encre-2); }
.paliers__etat b { color: var(--ink); }
.regles { border-top: 1px solid var(--filet); padding-top: 4px; }
.regles summary {
  display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.3rem;
}
.regles summary::-webkit-details-marker { display: none; }
.regles summary::after { content: ''; width: 9px; height: 9px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--t-commande) var(--ease); }
.regles[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.regles__liste { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 8px; }
.regles__liste li { position: relative; padding-left: 20px; font-size: 1rem; color: var(--encre-2); max-width: 70ch; }
.regles__liste li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--rouge); }
.regles__liste b { color: var(--ink); }

.pied { margin-top: clamp(72px, 9vw, 120px); padding-top: 24px; border-top: 1px solid var(--filet); display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.pied .legende { max-width: 62ch; }
.pied__actions { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.est-local .pied .legende { color: var(--encre-2); }

.js .tableau.entre > * { animation: monte var(--t-revele) var(--ease) both; }
.js .tableau.entre > *:nth-child(2) { animation-delay: .06s; }
.js .tableau.entre > *:nth-child(3) { animation-delay: .12s; }
.js .tableau.entre > *:nth-child(n+4) { animation-delay: .18s; }
.js .tableau.entre > .annonce { animation: none; }
@keyframes monte { from { opacity: 0; transform: translateY(18px); } }

html.fiche-ouverte { overflow: hidden; }      
.fiche {
  position: fixed; inset: 12px 12px 12px auto; margin: 0; padding: 0; border: 0;
  width: min(480px, calc(100vw - 24px)); height: auto; max-width: none; max-height: calc(100dvh - 24px);
  display: none; flex-direction: column; overflow: hidden;
  background: var(--paper); color: var(--ink); border-radius: 24px;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease);
}
.fiche[open] { display: flex; animation: fiche-glisse .55s var(--ease) backwards; }
.fiche::backdrop { background: rgba(22, 21, 15, .42); }
.fiche[open]::backdrop { animation: apparait .4s var(--ease) both; }
.fiche.se-ferme { animation: fiche-sort .28s var(--ease) forwards; }
.fiche.se-ferme::backdrop { animation: disparait .28s var(--ease) forwards; }
@keyframes fiche-glisse { from { opacity: .4; transform: translateX(calc(100% + 24px)); } }
@keyframes fiche-sort { to { opacity: 0; transform: translateX(40px); } }
@keyframes fiche-monte { from { transform: translateY(100%); } }
@keyframes fiche-descend { to { transform: translateY(100%); } }
@keyframes disparait { to { opacity: 0; } }

.fiche__tete { flex: none; position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 22px 18px 16px 24px; border-bottom: 1px solid var(--filet); background: var(--paper); }
.fiche__poignee { display: none; }
.fiche__titres { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fiche__code { font-size: .9375rem; color: var(--encre-3); font-variant-numeric: lining-nums; }
.fiche__titre { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 1.9rem); line-height: 1.12; text-wrap: balance; }
.fiche__muscle { font-size: 1rem; color: var(--encre-2); }
.fiche__fermer { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--filet); background: #fff; transition: border-color var(--t-commande) var(--ease); }
.fiche__fermer svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (hover: hover) { .fiche__fermer:hover { border-color: var(--ink); } }

.fiche__corps { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 22px; }
.fiche__geste { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fiche__geste video {
  display: block; height: min(54dvh, 520px); aspect-ratio: 4 / 5; width: auto; max-width: 100%;
  object-fit: cover; border-radius: 18px; background: var(--paper-2);
}
.fiche__bloc { display: flex; flex-direction: column; gap: 6px; }
.fiche__sur { font-size: .9375rem; font-weight: 700; color: var(--encre-2); }
.fiche__texte { font-family: var(--font-serif-txt); font-size: 1.1875rem; line-height: 1.5; }
.fiche__seance { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.fiche__seance div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--filet-doux); }
.fiche__seance dt { font-size: .9375rem; color: var(--encre-3); }
.fiche__seance dd { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.fiche__pied { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 16px; border-top: 1px solid var(--filet); }
.fiche__lien { min-height: 44px; }
.fiche__question { font-size: .9375rem; color: var(--encre-3); }
.fiche--classique #fiche-seance-bloc { order: -1; }
.fiche--classique .fiche__pied { order: 1; }
@media (min-width: 761px) { .fiche--classique { bottom: auto; } }   

.pilule--whatsapp {
  background: #25D366; color: #111; border-color: transparent;
  box-shadow: inset 0 3px 3px rgba(255, 255, 255, .25), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 1px 2px rgba(22, 21, 15, .2);
}
.pilule--whatsapp .icone { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pilule--whatsapp .icone .plein { fill: currentColor; stroke: none; }
@media (hover: hover) { .pilule--whatsapp:not([disabled]):hover { background: #1fbe5a; } }

.confirmer {
  margin: auto; padding: 26px 26px 22px; border: 0; border-radius: 24px; width: min(460px, calc(100% - 32px));
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5);
}
.confirmer::backdrop { background: rgba(22, 21, 15, .42); }
.confirmer[open] { animation: monte .45s var(--ease) both; }
.confirmer__titre { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.15; margin-bottom: 10px; }
.confirmer__texte { font-size: 1rem; color: var(--encre-2); margin-bottom: 20px; }
.confirmer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.confirmer__actions .pilule { white-space: normal; text-align: center; }
.accord__case { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px; font-size: 1rem; color: var(--ink); cursor: pointer; }
.accord__case input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--ink); }
.accord .pilule[disabled] { opacity: .45; cursor: not-allowed; }
.espace-charge .porte { visibility: hidden; }
.pilule--whatsapp { background: #25D366; color: #0b2e17; border-color: #25D366; align-self: flex-start; }

.cap {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink);
  display: none; place-items: center; cursor: pointer;
}
.cap[open] { display: grid; }
.cap::backdrop { background: var(--paper); }
.cap__scene { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 24px; max-width: 34rem; }
.cap__trait { width: clamp(90px, 14vw, 140px); height: auto; margin-bottom: 4px; overflow: visible; }
.cap__trait path { fill: none; stroke: var(--rouge-logo); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.cap__sur { font-size: 1.0625rem; color: var(--encre-2); }
.cap__chiffre { overflow: hidden; padding: 0 .1em; }
.cap__chiffre span { display: block; font-family: var(--font-display); font-size: clamp(7rem, 22vw, 13rem); line-height: .95; font-variant-numeric: lining-nums; }
.cap__titre { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.1; }
.cap__texte { color: var(--encre-2); max-width: 34ch; font-size: 1.0625rem; }
.cap__continuer { margin-top: 18px; cursor: pointer; }
.cap--recompense .cap__titre { font-style: normal; }

.cap[open] { animation: cap-entre .5s var(--ease) both; }
.cap[open] .cap__trait path { animation: dessin 1s var(--ease) .25s forwards; }
.cap[open] .cap__sur { animation: apparait .8s var(--ease) .7s both; }
.cap[open] .cap__chiffre span { animation: revele 1.1s var(--ease) .85s both; }
.cap[open] .cap__titre { animation: monte .9s var(--ease) 1.35s both; }
.cap[open] .cap__texte { animation: monte .9s var(--ease) 1.5s both; }
.cap[open] .cap__continuer { animation: apparait .8s var(--ease) 1.9s both; }
.cap.se-ferme { animation: cap-sort .45s var(--ease) both; }
@keyframes cap-entre { from { opacity: 0; } }
@keyframes cap-sort { to { opacity: 0; } }
@keyframes apparait { from { opacity: 0; } }
@keyframes revele { from { transform: translateY(100%); } }

@media (max-width: 980px) {
  .bonjour, .retour__grille, .progression__grille { grid-template-columns: 1fr; }
  .progression__grille { grid-template-areas: "courbe" "gains" "regul"; }
}
@media (max-width: 760px) {
  .fiche { inset: auto 0 0 0; width: 100%; max-height: 92dvh; border-radius: 24px 24px 0 0; }
  .fiche[open] { animation-name: fiche-monte; }
  .fiche.se-ferme { animation-name: fiche-descend; }
  .fiche__tete { padding: 26px 14px 14px 18px; touch-action: none; cursor: grab; -webkit-user-select: none; user-select: none; }
  .fiche__poignee { display: block; position: absolute; top: 9px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 999px; background: rgba(22, 21, 15, .22); }
  .fiche__corps { padding: 16px 18px calc(22px + env(safe-area-inset-bottom)); gap: 20px; }
  .fiche__geste video { height: min(48dvh, calc((100vw - 36px) * 1.25)); }
  .fiche__texte { font-size: 1.125rem; }
  .paliers__liste { grid-template-columns: 1fr; }
  html { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom)); }   
  .annonce { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .reussites__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .reussite { padding: 16px 16px 14px; }
  .reussite::after { top: 16px; right: 16px; }
  .reussite__chiffre { font-size: 2.4rem; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .bloc__tete { align-items: flex-start; }
  .onglets-cadre { width: 100%; }
  .onglets { flex: 1 1 auto; }
  .onglet { flex: 1 0 auto; padding: 8px 14px; }
  .onglets__fleche { width: 36px; height: 36px; }
  .suivi { gap: 10px; padding: 8px 8px 14px 18px; justify-content: space-between; }
  .suivi__compte b { font-size: 1.75rem; }
  .suivi__barre { position: absolute; left: 18px; right: 18px; bottom: 7px; height: 4px; min-width: 0; flex: none; }
  .exo { padding: 16px 16px 18px; gap: 14px; }
  .exo__haut { gap: 12px; }
  .exo__geste { width: 68px; }
  .exo__titre { font-size: 1.45rem; }
  .exo__case { min-width: 58px; }
  .exo__chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
  .exo__chiffre dd { font-size: 2.5rem; }
  .exo__intensite { margin-left: 0; }
  .charge { grid-template-columns: 1fr; }
  .charge__choix .bascule { flex: 1; }
  .paliers__liste { grid-template-columns: 1fr; }
  .paliers__etat { grid-template-columns: 1fr; }
  .regularite__semaines { grid-template-columns: repeat(4, 1fr); }
  .retour__valider .pilule { width: 100%; }
  .niveau { padding: 22px 20px; }
  .niveau__chiffre { font-size: 3.2rem; }
  .annonce { width: calc(100% - 32px); justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .cap__trait path, .c-dessin, .rond__trait, .coche path, .annonce__coche path { animation: none !important; }
  [aria-pressed="true"] > .rond .rond__trait, .rond--plein .rond__trait, .annonce.est-visible .annonce__coche path,
  .onglet__fait .coche path, .onglet__fait.se-trace .coche path, .bareme li.est-acquis .coche path, .bascule--ok[aria-pressed="true"] .coche path,
  .cap[open] .cap__trait path { stroke-dashoffset: 0; }
  .reussite.est-nouvelle { animation: none; }
  .fiche[open], .fiche.se-ferme { animation: none !important; }
  .cap[open] { animation: cap-entre .3s linear both !important; }
  .exo__geste video { opacity: 1; }
}

.bonjour__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }
.bonjour__actions[hidden] { display: none; }
.pilule .icone { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.exo__filmer { margin-top: 12px; }

.carnet[hidden] { display: none; }
.carnet__grille { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.carnet__videos, .carnet__repas { padding: clamp(20px, 2.6vw, 30px); }
.carnet .carte__titre { align-items: center; }
.carnet__tri button, .carnet .pilule { font-family: var(--font-sans); }
@media (max-width: 900px) { .carnet__grille { grid-template-columns: minmax(0, 1fr); } }
.carnet__tri { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(22, 21, 15, .06); }
.carnet__tri button {
  min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent;
  font-family: var(--font-sans); font-size: .875rem; color: var(--encre-2); cursor: pointer;
  transition: background-color var(--t-commande) var(--ease), color var(--t-commande) var(--ease);
}
.carnet__tri button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.carnet__groupe + .carnet__groupe { margin-top: 22px; }
.carnet__exo { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: 1rem; }
.carnet__exo span { flex: none; color: var(--encre-3); font-size: .875rem; }
.carnet__tuiles, .carnet__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.carnet__vide { grid-column: 1 / -1; color: var(--encre-3); font-size: .9375rem; }
.carnet__aide { margin-top: 16px; }
.tuile {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 14px;
  overflow: hidden; background: rgba(22, 21, 15, .07); cursor: pointer;
}
.carnet__photos .tuile { aspect-ratio: 1; }
.tuile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tuile__icone { position: absolute; inset: 0; display: grid; place-items: center; color: var(--encre-3); }
.tuile__icone .exo__icone { width: 28px; height: 28px; }
.tuile__lecture { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(253, 252, 250, .9); }
.tuile__lecture::after {
  content: ''; position: absolute; top: 50%; left: 55%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--ink);
}
.tuile__legende {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 6px;
  padding: 20px 8px 7px; font-size: .75rem; line-height: 1.2; color: #fff; text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, .62));
}
.tuile__legende b { font-weight: 600; }
.tuile__meilleure { position: absolute; top: 7px; left: 7px; padding: 3px 8px; border-radius: 999px; background: var(--vert); color: #fff; font-size: .6875rem; }
@media (hover: hover) { .tuile:hover img { filter: brightness(1.06); } }

.envoi, .lecteur { max-height: calc(100dvh - 32px); overflow: auto; }
.lecteur { width: min(560px, calc(100% - 32px)); }
.envoi__apercu, .lecteur__media { display: grid; place-items: center; margin: 4px 0 16px; border-radius: 14px; overflow: hidden; background: #111; }
.envoi__apercu img, .envoi__apercu video { display: block; max-width: 100%; max-height: 42vh; }
.lecteur__media video, .lecteur__media img { display: block; max-width: 100%; max-height: 62vh; }
.envoi__champ { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: .9375rem; color: var(--encre-2); }
.envoi__champ[hidden] { display: none; }
.envoi__saisie { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.envoi__champ input, .envoi__champ textarea {
  padding: 10px 12px; border: 1px solid rgba(22, 21, 15, .25); border-radius: 12px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink);
}
.envoi__champ input { width: 7em; }
.envoi__champ textarea { resize: vertical; }
.envoi__facultatif { color: var(--encre-3); }
.envoi__progres { display: grid; gap: 8px; margin-bottom: 16px; }
.envoi__progres[hidden] { display: none; }
.envoi__barre { height: 6px; border-radius: 999px; background: rgba(22, 21, 15, .1); overflow: hidden; }
.envoi__barre span { display: block; height: 100%; background: var(--vert); transform: scaleX(0); transform-origin: left; transition: transform .3s linear; }
.envoi__etat { font-size: .9375rem; color: var(--encre-2); }
.envoi__erreur { margin-bottom: 16px; font-size: .9375rem; color: var(--rouge); }
.envoi__erreur[hidden] { display: none; }
.lecteur__sur { margin: -4px 0 14px; font-size: .9375rem; color: var(--encre-3); }
.envoi .pilule[disabled] { opacity: .45; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .envoi__barre span, .carnet__tri button { transition: none; } }

.apercu {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  margin: 0 0 clamp(28px, 4vw, 44px); padding: 14px 16px 14px 20px; border-radius: 16px;
  background: var(--ink); color: var(--paper);
}
.apercu__texte { margin: 0; font-size: .9375rem; line-height: 1.45; max-width: 70ch; }
.apercu__texte span { opacity: .78; }
.apercu__retour {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(253, 252, 250, .35); color: var(--paper); text-decoration: none; font-size: .9375rem; white-space: nowrap;
  transition: background-color var(--t-commande) var(--ease);
}
.apercu__retour svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .apercu__retour:hover { background: rgba(253, 252, 250, .12); } }
