/* Anko — feuille de style commune (back-office, authentification, application client) */

/* Roboto auto-hébergée (aucun appel à un service tiers) */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap;
  src: local("Roboto"), local("Roboto-Regular"), url("../fonts/Roboto-Regular.ttf") format("truetype"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap;
  src: local("Roboto Medium"), local("Roboto-Medium"), url("../fonts/Roboto-Medium.ttf") format("truetype"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap;
  src: local("Roboto Bold"), local("Roboto-Bold"), url("../fonts/Roboto-Bold.ttf") format("truetype"); }

:root {
  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --gris-0: #FFFFFF;
  --gris-25: #FCFCFD;
  --gris-50: #F5F7FA;
  --gris-100: #EDF0F4;
  --gris-200: #E1E5EB;
  --gris-300: #CBD2DB;
  --gris-400: #98A2B0;
  --gris-500: #667181;
  --gris-700: #364152;
  --gris-900: #121926;
  --rouge: #C92A2A;
  --rouge-doux: #FFF0F0;
  --vert: #2B8A3E;
  --vert-doux: #EBFBEE;
  --ambre: #B35C00;
  --ambre-doux: #FFF4E6;
  --bleu: #1C64C8;
  --bleu-doux: #E7F0FD;
  --violet: #6741D9;
  --violet-doux: #F1ECFF;
  --rose: #C2255C;
  --rose-doux: #FFEEF4;
  --rayon: 8px;
  --rayon-l: 14px;
  --ombre-1: 0 1px 2px rgba(18, 25, 38, .06);
  --ombre-2: 0 2px 4px rgba(18, 25, 38, .06), 0 10px 24px rgba(18, 25, 38, .08);
  --fond: var(--gris-50);
  --texte: var(--gris-900);
  --texte-2: var(--gris-500);
  --bord: var(--gris-200);
  --surface: var(--gris-0);
  --degrade: linear-gradient(125deg, var(--brand-deep) 0%, var(--brand) 52%, var(--accent) 135%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5;
  color: var(--texte); background: var(--fond);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; letter-spacing: -.005em; }
h1 { font-size: 1.625rem; font-weight: 700; }
h2 { font-size: 1.125rem; font-weight: 500; }
h3 { font-size: 1rem; font-weight: 500; }
p { margin: 0 0 .75rem; }
strong { font-weight: 500; }
small, .petit { font-size: .8125rem; }
.muet { color: var(--texte-2); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8125rem; }
.cache { display: none !important; }
hr { border: 0; border-top: 1px solid var(--bord); margin: 1.25rem 0; }

/* ------------------------------------------------------------ Boutons
   Style logiciel professionnel : fond neutre bordé, ou couleur de marque
   pour l'action principale, graisse moyenne (jamais de gras). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 36px; padding: 0 14px; border-radius: var(--rayon);
  font: 500 .875rem/1 var(--font); letter-spacing: .01em;
  color: var(--gris-700); background: var(--gris-0);
  border: 1px solid var(--gris-300); box-shadow: var(--ombre-1);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .12s, border-color .12s, box-shadow .12s, color .12s;
}
.btn:hover { background: var(--gris-50); border-color: var(--gris-400); text-decoration: none; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--brand-ring); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-principal {
  color: var(--brand-contrast); background: var(--brand); border-color: var(--brand);
  box-shadow: 0 1px 2px rgba(18, 25, 38, .14), inset 0 1px 0 rgba(255, 255, 255, .10);
}
.btn-principal:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--brand-contrast); }
.btn-accent { color: var(--accent-contrast); background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { filter: brightness(.94); background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
.btn-clair { color: #fff; background: rgba(18, 25, 38, .22); border-color: rgba(255, 255, 255, .45); box-shadow: none; backdrop-filter: blur(6px); }
.btn-clair:hover { background: rgba(18, 25, 38, .34); border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-blanc { color: var(--brand-deep); background: #fff; border-color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.btn-blanc:hover { background: #F3F5F8; border-color: #F3F5F8; color: var(--brand-deep); }
.btn-discret { background: transparent; border-color: transparent; box-shadow: none; color: var(--gris-700); }
.btn-discret:hover { background: var(--gris-100); border-color: transparent; }
.btn-danger { color: var(--rouge); }
.btn-danger:hover { background: var(--rouge-doux); border-color: #F5BDBD; }
.btn-l { height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn-s { height: 30px; padding: 0 10px; font-size: .8125rem; }
.btn-bloc { width: 100%; }
.groupe-btn { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

/* ------------------------------------------------------------ Formulaires */
.champ { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
.champ label, .etiquette { font-size: .8125rem; font-weight: 500; color: var(--gris-700); }
.champ .aide, .aide { font-size: .8125rem; color: var(--texte-2); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date],
input[type=search], input[type=number], select, textarea {
  width: 100%; height: 40px; padding: 0 12px; border-radius: var(--rayon);
  border: 1px solid var(--gris-300); background: var(--gris-0); color: var(--texte);
  font: 400 .9375rem var(--font); box-shadow: var(--ombre-1);
  transition: border-color .12s, box-shadow .12s;
}
textarea { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
input:disabled { background: var(--gris-50); color: var(--texte-2); }
input[type=file] { font: 400 .875rem var(--font); color: var(--texte-2); max-width: 100%; }
input[type=file]::file-selector-button {
  height: 34px; padding: 0 12px; margin-right: 12px; border-radius: var(--rayon);
  font: 500 .8125rem var(--font); color: var(--gris-700); background: var(--gris-0);
  border: 1px solid var(--gris-300); box-shadow: var(--ombre-1); cursor: pointer;
}
input[type=file]::file-selector-button:hover { background: var(--gris-50); }
input[type=color] { width: 100%; max-width: 160px; height: 40px; padding: 3px; border: 1px solid var(--gris-300); border-radius: var(--rayon); background: var(--gris-0); cursor: pointer; }
.ligne-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 1rem; }
.prefixe { display: flex; align-items: stretch; }
.prefixe input { border-radius: var(--rayon) 0 0 var(--rayon); }
.prefixe span { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--gris-300); border-left: 0; border-radius: 0 var(--rayon) var(--rayon) 0; background: var(--gris-50); color: var(--texte-2); font-size: .875rem; white-space: nowrap; }
.case { display: flex; gap: .5rem; align-items: flex-start; font-size: .875rem; color: var(--gris-700); }
.case input { margin-top: 3px; accent-color: var(--brand); }

/* ------------------------------------------------------------ Messages */
.flash { display: flex; gap: .625rem; align-items: flex-start; padding: 12px 14px; border-radius: var(--rayon); border: 1px solid; font-size: .875rem; margin-bottom: 1rem; }
.flash-ok { background: var(--vert-doux); border-color: #B2E4BD; color: #1E6B30; }
.flash-erreur { background: var(--rouge-doux); border-color: #F6C2C2; color: #932020; }
.flash-info { background: var(--bleu-doux); border-color: #C3D8F7; color: #164F9E; }
.flash-alerte { background: var(--ambre-doux); border-color: #FBD5A5; color: #874500; }

/* ------------------------------------------------------------ Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: .75rem; font-weight: 500; background: var(--gris-100); color: var(--gris-700); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.badge-ok { background: var(--vert-doux); color: var(--vert); }
.badge-alerte { background: var(--ambre-doux); color: var(--ambre); }
.badge-erreur { background: var(--rouge-doux); color: var(--rouge); }
.badge-info { background: var(--bleu-doux); color: var(--bleu); }
.badge-violet { background: var(--violet-doux); color: var(--violet); }

/* ------------------------------------------------------------ Cartes, tableaux */
.carte { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon-l); box-shadow: var(--ombre-1); }
.carte-corps { padding: 20px; }
.carte-tete { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 16px 20px; border-bottom: 1px solid var(--bord); }
.carte-tete h2 { margin: 0; font-size: 1rem; }
.pile > * + * { margin-top: 1rem; }
.grille-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grille-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.stat { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; overflow: hidden; }
.stat .puce { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.stat .puce svg { width: 22px; height: 22px; }
.stat .valeur { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.stat .libelle { font-size: .8125rem; color: var(--texte-2); margin-top: 2px; }
.stat::after { content: ""; position: absolute; right: -22px; top: -22px; width: 84px; height: 84px; border-radius: 50%; background: var(--teinte, var(--brand-soft)); opacity: .55; }
.teinte-1 { --teinte: var(--brand-soft); } .teinte-1 .puce { background: var(--brand-soft); color: var(--brand); }
.teinte-2 { --teinte: var(--accent-soft); } .teinte-2 .puce { background: var(--accent-soft); color: var(--brand-deep); }
.teinte-3 { --teinte: var(--violet-doux); } .teinte-3 .puce { background: var(--violet-doux); color: var(--violet); }
.teinte-4 { --teinte: var(--vert-doux); } .teinte-4 .puce { background: var(--vert-doux); color: var(--vert); }
.tableau-wrap { overflow-x: auto; }
table.tableau { width: 100%; border-collapse: collapse; font-size: .875rem; }
.tableau th { text-align: left; font-weight: 500; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--texte-2); padding: 10px 20px; background: var(--gris-25); border-bottom: 1px solid var(--bord); white-space: nowrap; }
.tableau td { padding: 12px 20px; border-bottom: 1px solid var(--gris-100); vertical-align: middle; }
.tableau tr:last-child td { border-bottom: 0; }
.tableau tr.cliquable { cursor: pointer; }
.tableau tr.cliquable:hover td { background: var(--brand-soft); }
.personne { display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 500; background: var(--brand-soft); color: var(--brand); flex: none; }
.avatar-l { width: 48px; height: 48px; font-size: 1rem; }
.vide { padding: 40px 20px; text-align: center; color: var(--texte-2); }
.vide h3 { color: var(--texte); }
.vide-illu { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: var(--degrade); color: #fff; box-shadow: var(--ombre-2); }
.vide-illu svg { width: 34px; height: 34px; }
dl.infos { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; margin: 0; font-size: .875rem; }
dl.infos dt { color: var(--texte-2); }
dl.infos dd { margin: 0; word-break: break-word; }
.copie { display: flex; gap: .5rem; }
.copie input { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8125rem; background: var(--gris-50); }

/* ------------------------------------------------------------ Bandeau dynamique (dégradé + illustration) */
.bandeau {
  position: relative; overflow: hidden; border-radius: var(--rayon-l);
  padding: 32px 30px 34px; color: #fff; background: var(--degrade);
  box-shadow: var(--ombre-2); isolation: isolate;
}
.bandeau::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/scene-sport.svg") right -30px center / auto 175% no-repeat;
  opacity: .9;
}
.bandeau .bandeau-ligne > div:first-child { text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.bandeau::after {
  content: ""; position: absolute; z-index: -2; right: -10%; top: -60%; width: 60%; height: 220%;
  background: radial-gradient(closest-side, var(--accent-glow), transparent);
  opacity: .55;
}
.bandeau.avec-photo { background: linear-gradient(100deg, var(--brand-deep) 0%, rgba(0,0,0,.35) 70%), var(--couverture) center / cover no-repeat, var(--degrade); }
.bandeau.avec-photo::before, .bandeau.avec-photo::after { display: none; }
.bandeau .sur { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; margin-bottom: 4px; }
.bandeau h1 { color: #fff; margin: 0; font-size: 1.875rem; }
.bandeau p { margin: 6px 0 0; opacity: .9; max-width: 560px; }
.bandeau .groupe-btn { margin-top: 18px; }
.bandeau-ligne { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ------------------------------------------------------------ Back-office */
.bo { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.bo-nav {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 16px 12px;
  color: rgba(255, 255, 255, .86);
  background: url("../img/motif-sport.svg") 0 0 / 180px 180px repeat, linear-gradient(180deg, var(--brand-dark) 0%, var(--brand-deep) 100%);
}
.bo-marque { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.bo-marque img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.bo-marque .nom { font-weight: 500; font-size: 1rem; line-height: 1.2; color: #fff; }
.bo-marque .sous { font-size: .75rem; color: rgba(255, 255, 255, .62); }
.bo-liens { display: flex; flex-direction: column; gap: 2px; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.bo-lien { position: relative; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; border-radius: var(--rayon); color: rgba(255, 255, 255, .80); font-size: .875rem; font-weight: 500; }
.bo-lien svg { width: 18px; height: 18px; color: rgba(255, 255, 255, .6); flex: none; }
.bo-lien:hover { background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.bo-lien.actif { background: rgba(255, 255, 255, .14); color: #fff; }
.bo-lien.actif::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); }
.bo-lien.actif svg { color: var(--accent); }
.bo-section { font-size: .6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .45); padding: 16px 12px 6px; }
.bo-pied { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; display: flex; align-items: center; gap: 10px; }
.bo-pied .avatar { background: var(--accent); color: var(--accent-contrast); }
.bo-pied .qui { flex: 1; min-width: 0; font-size: .8125rem; color: #fff; }
.bo-pied .qui a { color: #fff; }
.bo-pied .qui div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bo-pied .qui .muet { color: rgba(255, 255, 255, .6); }
.bo-pied .btn-discret { color: rgba(255, 255, 255, .75); }
.bo-pied .btn-discret:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.bo-main { min-width: 0; display: flex; flex-direction: column; }
.bo-entete { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 26px 32px 0; }
.bo-entete .fil { font-size: .8125rem; color: var(--texte-2); margin-bottom: 4px; }
.bo-entete h1 { margin: 0; }
.bo-contenu { padding: 22px 32px 32px; max-width: 1200px; width: 100%; flex: 1; }
.bo-mobile { display: none; }
.bo-voile { display: none; }

/* Pied de page « Application développée par COLOMBO » : bande aux couleurs COLOMBO */
:root { --colombo-nuit: #0E2A47; --colombo-or: #B8925A; --colombo-creme: #F8F3EA; }
.pied-colombo { font-size: .75rem; color: #5B6577; display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; align-items: center; }
.pied-colombo a { color: #5B6577; }
.signature-colombo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.signature-colombo span { letter-spacing: .02em; }
.signature-colombo img { height: 34px; width: auto; display: block; }
.signature-colombo:hover img { opacity: .85; }
.bo-pied-page {
  padding: 14px 32px; background: var(--colombo-creme);
  border-top: 2px solid var(--colombo-or);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.bo-pied-page .pied-colombo { max-width: 1136px; }
.auth-pied .pied-colombo, .app-pied .pied-colombo { justify-content: center; }
.auth-pied .pied-colombo, .app-pied .pied-colombo, .vitrine-pied .pied-colombo {
  padding: 12px 16px; border-radius: var(--rayon); background: var(--colombo-creme); border: 1px solid #EADFCB;
}

@media (max-width: 900px) {
  .bo { grid-template-columns: 1fr; }
  .bo-nav { position: fixed; z-index: 40; left: 0; top: 0; width: 276px; transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--ombre-2); }
  .bo.menu-ouvert .bo-nav { transform: none; }
  .bo-voile { display: none; position: fixed; inset: 0; background: rgba(18, 25, 38, .4); z-index: 30; }
  .bo.menu-ouvert .bo-voile { display: block; }
  .bo-mobile { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 20; height: 56px; padding: 0 12px; color: #fff; background: linear-gradient(90deg, var(--brand-dark), var(--brand)); }
  .bo-mobile .btn-discret { color: #fff; }
  .bo-mobile img { width: 28px; height: 28px; border-radius: 7px; background: #fff; }
  .bo-entete { padding: 20px 16px 0; }
  .bo-contenu { padding: 16px 16px 28px; }
  .bo-pied-page { padding: 14px 16px 20px; }
  .bandeau { padding: 22px 20px 24px; }
  .bandeau::before { opacity: .45; background-size: auto 100%; }
  .bandeau h1 { font-size: 1.5rem; }
  .grille-2 { grid-template-columns: 1fr; }
  dl.infos { grid-template-columns: 1fr; gap: 2px; }
  dl.infos dd { margin-bottom: 8px; }
  .tableau th, .tableau td { padding-left: 14px; padding-right: 14px; }
  .masque-mobile { display: none; }
}

/* ------------------------------------------------------------ Authentification (écran partagé) */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); background: var(--surface); }
.auth-visuel {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  padding: 40px 48px; color: #fff; background: var(--degrade); isolation: isolate;
}
.auth-visuel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/scene-sport.svg") 100% 42% / 175% auto no-repeat, url("../img/motif-sport.svg") 0 0 / 180px 180px repeat; opacity: .95; }
.auth-visuel::after { content: ""; position: absolute; z-index: -2; right: -25%; bottom: -30%; width: 90%; height: 90%; background: radial-gradient(closest-side, var(--accent-glow), transparent); opacity: .6; }
.auth-visuel.avec-photo { background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55)), var(--couverture) center / cover no-repeat; }
.auth-visuel.avec-photo::before, .auth-visuel.avec-photo::after { display: none; }
.auth-visuel .marque { display: flex; align-items: center; gap: 12px; font-size: 1.125rem; font-weight: 500; }
.auth-visuel .marque img { width: 44px; height: 44px; border-radius: 12px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); object-fit: cover; }
.auth-visuel .accroche { max-width: 460px; }
.auth-visuel .accroche h2 { font-size: 2.25rem; font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 10px; color: #fff; }
.auth-visuel .accroche p { font-size: 1.0625rem; opacity: .9; margin: 0; }
.auth-form { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 24px; background: var(--fond); }
.auth-boite { width: 100%; max-width: 400px; }
.auth-logo { display: none; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 20px; text-align: center; }
.auth-logo img { width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--ombre-2); background: #fff; object-fit: cover; }
.auth-logo .nom { font-size: 1.25rem; font-weight: 500; }
.auth .carte-corps { padding: 28px; }
.auth-pied { margin-top: 20px; text-align: center; font-size: .8125rem; color: var(--texte-2); }
.auth-pied a { color: var(--texte-2); }
.auth-pied .pied-colombo { justify-content: center; margin-top: 14px; }

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .auth-visuel { min-height: 210px; padding: 24px 20px; }
  .auth-visuel::before { background-position: right center; background-size: auto 115%; opacity: .6; }
  .auth-visuel .accroche h2 { font-size: 1.5rem; }
  .auth-visuel .accroche p { font-size: .9375rem; }
  .auth-form { justify-content: flex-start; padding: 0 16px 32px; }
  .auth-boite { margin-top: -28px; }
}

/* ------------------------------------------------------------ Application client (PWA) */
.app { min-height: 100vh; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; background: var(--fond); }
.app-tete { position: sticky; top: 0; z-index: 10; padding: calc(env(safe-area-inset-top) + 14px) 16px 14px; background: linear-gradient(90deg, var(--brand-dark), var(--brand)); color: #fff; display: flex; align-items: center; gap: 12px; }
.app-tete img { width: 36px; height: 36px; border-radius: 10px; background: #fff; object-fit: cover; }
.app-tete .nom { font-weight: 500; font-size: 1.0625rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-contenu { flex: 1; padding: 16px 16px calc(env(safe-area-inset-bottom) + 84px); }
.app-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 560px; z-index: 10; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--bord); padding-bottom: env(safe-area-inset-bottom); }
.app-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 10px; font-size: .6875rem; font-weight: 500; color: var(--gris-500); }
.app-nav a svg { width: 22px; height: 22px; }
.app-nav a.actif { color: var(--brand); }
.app-nav a:hover { text-decoration: none; }
.bienvenue { position: relative; overflow: hidden; min-height: 150px; padding: 22px 20px; border-radius: var(--rayon-l); background: var(--degrade); color: #fff; box-shadow: var(--ombre-2); isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; }
.bienvenue::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/scene-sport.svg") right -70px center / auto 135% no-repeat; opacity: .75; }
.bienvenue::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--brand-deep) 0%, transparent 62%); opacity: .75; }
.bienvenue.avec-photo::after { display: none; }
.bienvenue.avec-photo { min-height: 190px; background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.6)), var(--couverture) center / cover no-repeat; }
.bienvenue.avec-photo::before { display: none; }
.bienvenue .sur { font-size: .8125rem; opacity: .9; }
.bienvenue h1 { font-size: 1.625rem; margin: 2px 0 0; color: #fff; }
.tuile { display: flex; gap: 14px; align-items: flex-start; padding: 16px; }
.tuile .icone { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.tuile .icone.accent { background: var(--accent-soft); color: var(--brand-deep); }
.tuile .icone svg { width: 20px; height: 20px; }
.tuile h3 { margin: 0 0 2px; }
.installer { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--rayon-l); border: 1px dashed var(--brand); background: var(--brand-soft); font-size: .875rem; }
.installer .texte { flex: 1; }
.installer .icone { display: flex; flex: none; }
.installer .icone svg { width: 22px; height: 22px; }
.app-pied { text-align: center; padding: 8px 0 4px; }
.app-pied .pied-colombo { justify-content: center; }

/* ------------------------------------------------------------ Aperçu téléphone (personnalisation) */
.apercu { display: flex; justify-content: center; }
.telephone { width: 260px; height: 520px; border-radius: 36px; background: #111; padding: 10px; box-shadow: var(--ombre-2); }
.telephone .ecran { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: var(--gris-50); display: flex; flex-direction: column; }
.telephone .barre { height: 64px; display: flex; align-items: flex-end; gap: 8px; padding: 0 14px 10px; color: #fff; font-weight: 500; font-size: .875rem; }
.telephone .barre img { width: 26px; height: 26px; border-radius: 7px; background: #fff; object-fit: cover; }
.telephone .bloc { position: relative; margin: 12px; padding: 14px; min-height: 92px; border-radius: 12px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background-size: cover; background-position: center; overflow: hidden; }
.telephone .bloc small { opacity: .85; }
.telephone .ligne { margin: 0 12px 8px; height: 46px; border-radius: 10px; background: #fff; border: 1px solid var(--bord); }
.telephone .bouton { margin: 6px 12px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 500; }
.icone-apercu { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .75rem; color: var(--texte-2); }
.icone-apercu img { width: 60px; height: 60px; border-radius: 14px; box-shadow: var(--ombre-2); }
.vignette-couverture { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--rayon); background: var(--degrade); background-size: cover; background-position: center; border: 1px solid var(--bord); margin-bottom: 8px; }

/* ------------------------------------------------------------ Plateforme (page d'accueil) */
.vitrine-hero { position: relative; overflow: hidden; color: #fff; background: var(--degrade); isolation: isolate; }
.vitrine-hero::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; left: 52%; z-index: -1; background: url("../img/scene-sport.svg") right bottom / auto 100% no-repeat; }
.vitrine-hero::after { content: ""; position: absolute; z-index: -2; right: -10%; top: -20%; width: 60%; height: 140%; background: radial-gradient(closest-side, var(--accent-glow), transparent); }
.vitrine { max-width: 1040px; margin: 0 auto; padding: 32px 20px; }
.vitrine-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 72px; }
.vitrine-tete .logo { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1.25rem; color: #fff; }
.vitrine-tete .logo img { width: 38px; height: 38px; border-radius: 10px; background: #fff; }
.vitrine-hero h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); letter-spacing: -.03em; font-weight: 700; max-width: 640px; color: #fff; line-height: 1.08; }
.vitrine-hero .chapo { font-size: 1.125rem; max-width: 560px; margin-bottom: 28px; opacity: .92; }
.vitrine-hero .vitrine { padding-bottom: 88px; }
.atouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: -48px; }
.atouts .carte { box-shadow: var(--ombre-2); }
.atouts .tuile { padding: 20px; }
.vitrine-pied { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--bord); }

/* ------------------------------------------------------------ Mode administrateur */
.mode-admin { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 8px 16px; font-size: .8125rem; color: #fff; background: repeating-linear-gradient(135deg, #7A2E00 0 14px, #8A3500 14px 28px); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.mode-admin strong { font-weight: 500; letter-spacing: .02em; }
.mode-admin form { margin: 0; }
.mode-admin ~ .bo .bo-nav { top: 46px; height: calc(100vh - 46px); }
.mode-admin ~ .app .app-tete { top: 46px; }
.badge-test { background: var(--ambre-doux); color: var(--ambre); }
.carte-test { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border: 1px dashed var(--accent); background: linear-gradient(90deg, var(--accent-soft), transparent 70%); }
.carte-test .texte { flex: 1; min-width: 220px; }
.carte-test h2 { margin: 0 0 2px; font-size: 1rem; }

/* ------------------------------------------------------------ Entraînement (coach) */
.ico svg { width: 15px; height: 15px; vertical-align: -3px; }
.defaut-invisible { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.seance-edit { position: relative; scroll-margin-top: 70px; }
.titre-seance { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.titre-seance input { height: 36px; font-weight: 500; font-size: 1rem; border-color: transparent; box-shadow: none; background: transparent; max-width: 360px; }
.titre-seance input:hover { border-color: var(--gris-300); background: #fff; }
.pastille-seance { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--degrade); color: #fff; font-weight: 500; font-size: .875rem; }
.tableau-seance td { padding-top: 8px; padding-bottom: 8px; }
.tableau-seance .nom-exo { font-weight: 500; }
input.mini { height: 34px; width: 64px; padding: 0 8px; font-size: .875rem; }
input.mini.large { width: 96px; }
input.mini.tres-large { width: 100%; min-width: 150px; }
.avec-unite { display: flex; align-items: center; gap: 6px; }
.avec-unite span { font-size: .75rem; color: var(--texte-2); }
.ajout-exo { border-top: 1px solid var(--bord); background: var(--gris-25); border-radius: 0 0 var(--rayon-l) var(--rayon-l); }
.ajout-seance { border-style: dashed; color: var(--brand); background: var(--brand-soft); }
.video-cadre { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--rayon); overflow: hidden; background: #000; }
.video-cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
details > summary::-webkit-details-marker { display: none; }
.fil-activite { list-style: none; margin: 0; padding: 0; }
.fil-activite li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 20px; border-bottom: 1px solid var(--gris-100); }
.fil-activite li:last-child { border-bottom: 0; }
.fil-activite li.nouveau { background: var(--accent-soft); }
.ressenti { display: inline-flex; gap: 2px; color: var(--accent); }
.ressenti svg { width: 14px; height: 14px; }
.histo-exos { font-size: .8125rem; color: var(--texte-2); margin-top: 4px; }

/* ------------------------------------------------------------ Entraînement (client) */
.avatar svg { width: 16px; height: 16px; }
.sur-titre { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--texte-2); font-weight: 500; }
.prochaine { overflow: hidden; border-color: var(--brand-ring); }
.prochaine-stats { display: flex; align-items: center; gap: 18px; padding: 12px 20px; background: var(--brand-soft); border-top: 1px solid var(--bord); font-size: .8125rem; }
.prochaine-stats div { display: flex; align-items: baseline; gap: 5px; color: var(--texte-2); }
.prochaine-stats strong { font-size: 1.125rem; color: var(--texte); }
.prochaine-stats a { margin-left: auto; font-weight: 500; }
.seance-liste.est-prochaine { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.liste-exos { margin: 0; padding: 8px 20px 12px 40px; font-size: .875rem; }
.liste-exos li { padding: 5px 0; }
.liste-exos li span:first-child { display: block; font-weight: 500; }
.liste-exos li span.muet { font-size: .8125rem; }
.lecteur-tete { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.lecteur-titre { flex: 1; min-width: 0; line-height: 1.25; }
.lecteur-titre strong { font-weight: 500; }
.barre-progression { height: 6px; border-radius: 6px; background: var(--gris-200); overflow: hidden; margin-bottom: 14px; }
.barre-progression span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .3s; }
.exo-courant .exo-nom { font-size: 1.375rem; font-weight: 700; margin: 4px 0 4px; }
.objectif-exo { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .8125rem; font-weight: 500; }
.series { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.serie { display: grid; grid-template-columns: 30px 1fr 84px 84px auto auto; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--bord); border-radius: var(--rayon); background: #fff; }
.serie.actuelle { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.serie.faite { background: var(--vert-doux); border-color: #B2E4BD; }
.serie .num { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gris-100); font-weight: 500; font-size: .8125rem; }
.serie.faite .num { background: var(--vert); color: #fff; }
.serie .saisie { display: flex; align-items: center; gap: 4px; }
.serie .saisie input { height: 36px; padding: 0 8px; font-size: .9375rem; text-align: center; }
.serie .saisie span { font-size: .6875rem; color: var(--texte-2); }
.serie .valider { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gris-300); background: #fff; color: var(--gris-400); font-size: 1.125rem; cursor: pointer; }
.serie.actuelle .valider { border-color: var(--brand); color: var(--brand); }
.serie.faite .valider { border-color: var(--vert); background: var(--vert); color: #fff; }
.lecteur-nav { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 14px; }
.repos { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 15, 25, .72); backdrop-filter: blur(6px); }
.repos-boite { width: 100%; max-width: 340px; padding: 26px 22px; border-radius: 22px; text-align: center; color: #fff; background: var(--degrade); box-shadow: var(--ombre-2); }
.repos-boite .sur-titre { color: rgba(255, 255, 255, .85); }
.cercle-repos { position: relative; width: 190px; height: 190px; margin: 14px auto 8px; }
.cercle-repos svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cercle-repos circle { fill: none; stroke-width: 9; }
.cercle-repos .fond { stroke: rgba(255, 255, 255, .22); }
.cercle-repos .avance { stroke: #fff; stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.cercle-repos span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bravo { width: 64px; height: 64px; margin: 4px auto 10px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: var(--degrade); color: #fff; }
.bravo svg { width: 32px; height: 32px; }
.choix-ressenti { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.choix-ressenti .btn { height: auto; padding: 8px 2px; flex-direction: column; gap: 2px; white-space: normal; }
.choix-ressenti .chiffre { font-size: 1.125rem; font-weight: 700; }
.choix-ressenti .lib { font-size: .625rem; line-height: 1.15; }
@media (max-width: 420px) {
  .serie { grid-template-columns: 26px 1fr 64px 64px auto; }
  .serie .cible { display: none; }
  .serie .saisie span { display: none; }
}
.choix-ressenti .btn[aria-checked="true"] { transition: none; color: var(--brand-contrast); background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }

/* ------------------------------------------------------------ Suivi */
.carte-tete h2 svg { width: 18px; height: 18px; vertical-align: -3px; color: var(--brand); margin-right: 4px; }
.onglets-suivi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.onglets-suivi a { text-align: center; padding: 8px 4px; border-radius: 999px; background: #fff; border: 1px solid var(--bord); font-size: .8125rem; font-weight: 500; color: var(--gris-700); }
.onglets-suivi a:hover { text-decoration: none; border-color: var(--brand); color: var(--brand); }
section[id] { scroll-margin-top: 80px; }
.critere { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.critere > span { font-size: .875rem; font-weight: 500; }
.notes-1-5 { display: flex; gap: 6px; }
.notes-1-5 label { position: relative; }
.notes-1-5 input { position: absolute; opacity: 0; inset: 0; }
.notes-1-5 span { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--gris-300); background: #fff; font-weight: 500; cursor: pointer; }
.notes-1-5 input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--brand-contrast); }
.notes-1-5 input:focus-visible + span { box-shadow: 0 0 0 3px var(--brand-ring); }
.reponse-coach { padding: 12px 14px; border-radius: var(--rayon); background: var(--accent-soft); border-left: 3px solid var(--accent); margin-bottom: 1rem; }
.grille-mesures { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.mesure-bloc { padding: 10px 12px; border: 1px solid var(--bord); border-radius: var(--rayon); background: var(--gris-25); }
.mesure-valeur { font-size: 1.375rem; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mesure-valeur small { font-size: .8125rem; font-weight: 400; color: var(--texte-2); }
svg.courbe { display: block; width: 100%; height: 56px; margin-top: 6px; overflow: visible; }
svg.courbe .trait { fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linejoin: round; }
svg.courbe .aire { fill: var(--brand-soft); stroke: none; }
svg.courbe .point { fill: #fff; stroke: var(--brand); stroke-width: 2; }
.mini-courbe { width: 110px; flex: none; }
.mini-courbe svg.courbe { height: 34px; margin: 0; }
.liste-tests { list-style: none; margin: 0; padding: 0; }
.liste-tests li { display: flex; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--gris-100); }
.liste-tests .nom-test { font-weight: 500; }
.liste-simple { list-style: none; margin: .75rem 0 0; padding: 0; font-size: .875rem; }
.liste-simple li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--gris-100); }
.avant-apres { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.avant-apres figure { margin: 0; }
.avant-apres img, .vignette img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--rayon); background: var(--gris-100); display: block; }
.avant-apres figcaption { font-size: .75rem; color: var(--texte-2); margin-top: 4px; text-align: center; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.vignette { position: relative; }
.vignette span { display: block; font-size: .6875rem; color: var(--texte-2); margin-top: 3px; text-align: center; }
.vignette form { position: absolute; top: 4px; right: 4px; }
.vignette .btn-s { height: 26px; padding: 0 6px; }
.jauges { display: grid; gap: 6px; margin: 8px 0 10px; }
.jauge { display: grid; grid-template-columns: 96px 1fr 34px; align-items: center; gap: 8px; font-size: .8125rem; }
.barre-jauge { height: 8px; border-radius: 8px; background: var(--gris-100); overflow: hidden; }
.barre-jauge i { display: block; height: 100%; border-radius: 8px; background: var(--brand); }
.barre-jauge i.niveau-1, .barre-jauge i.niveau-2 { background: var(--ambre); }
summary svg { width: 14px; height: 14px; vertical-align: -2px; }

/* ================================================================ Nutrition (1.7.0) */
.macros { white-space: nowrap; }
.macros b { font-weight: 500; color: var(--texte); }
.total-jour { background: var(--degrade); color: #fff; border: 0; }
.total-jour .sur-titre { color: rgba(255,255,255,.8); }
.total-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.total-chiffres strong { display: block; font-size: 1.5rem; font-weight: 500; line-height: 1.2; }
.total-chiffres span { font-size: .8125rem; opacity: .85; }
@media (max-width: 640px) { .total-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jauge-nutri { margin-bottom: 10px; }
.jauge-tete { display: flex; justify-content: space-between; font-size: .875rem; margin-bottom: 4px; }
.jauge-tete b { font-weight: 500; }
.barre-jauge { height: 8px; border-radius: 99px; background: var(--gris-100, #eef1f4); overflow: hidden; }
.barre-jauge i { display: block; height: 100%; border-radius: 99px; background: var(--brand); transition: width .4s ease; }
.barre-jauge i.depasse { background: var(--accent); }
.ligne-plan { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: .5rem; }
.semaine-nutri { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.jour-nutri { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px; border-radius: 10px; color: inherit; text-decoration: none; }
.jour-nutri:hover, .jour-nutri.actif { background: var(--brand-soft); }
.barre-v { width: 14px; height: 70px; border-radius: 99px; background: var(--gris-100, #eef1f4); display: flex; align-items: flex-end; overflow: hidden; }
.barre-v i { display: block; width: 100%; background: var(--brand); border-radius: 99px; }
.ligne-moment td { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--texte-2); background: var(--gris-50, #f7f8fa); padding-top: 6px; padding-bottom: 6px; }
/* Client */
.nav-jour { display: flex; align-items: center; justify-content: space-between; }
.nav-jour strong { font-weight: 500; }
.fleche-suivante svg { transform: rotate(180deg); }
.anneau-kcal { position: relative; width: 150px; height: 150px; margin: 0 auto 1rem; }
.anneau-kcal svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anneau-kcal circle { fill: none; stroke-width: 10; }
.anneau-kcal .fond { stroke: var(--gris-100, #eef1f4); }
.anneau-kcal .valeur { stroke: var(--brand); stroke-linecap: round; transition: stroke-dasharray .5s ease; }
.anneau-kcal .valeur.depasse { stroke: var(--accent); }
.anneau-texte { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.anneau-texte strong { font-size: 1.75rem; font-weight: 500; line-height: 1.1; }
.anneau-texte span { font-size: .8125rem; color: var(--texte-2); }
.eau-ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.verres { display: flex; flex-wrap: wrap; gap: 5px; }
.verre { width: 16px; height: 22px; border: 2px solid var(--brand-ring, var(--brand)); border-top-width: 1px; border-radius: 2px 2px 5px 5px; }
.verre.plein { background: linear-gradient(to top, var(--brand) 75%, transparent 75%); border-color: var(--brand); }
.repas-plan { border-top: 1px solid var(--bord); padding: 0 16px; }
.repas-plan summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; cursor: pointer; list-style: none; }
.repas-plan summary::-webkit-details-marker { display: none; }
.repas-plan summary svg { width: 18px; height: 18px; transition: transform .2s; }
.repas-plan[open] summary svg { transform: rotate(180deg); }
.repas-plan form { padding-bottom: 12px; }
.liste-aliments { list-style: none; margin: 0 0 .5rem; padding: 0; }
.liste-aliments li { display: flex; justify-content: space-between; padding: 4px 0; font-size: .9375rem; }
.moment-tete { padding: 8px 16px 4px; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--texte-2); }
.entree-journal { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 16px; border-bottom: 1px solid var(--bord); }
.ajout-journal { display: grid; gap: 10px; }
.ajout-journal .ligne-champs { margin: 0; }
.ajout-journal .avec-unite input { width: 100%; }
.tuile-lien { color: inherit; text-decoration: none; }
.tuile-lien:hover { border-color: var(--brand-ring, var(--brand)); }
.ico-inline svg { width: 16px; height: 16px; vertical-align: -3px; }

/* ================================================================ 1.8.0 : messagerie */
.pastille-nb { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: var(--accent-contrast, #fff); font-size: .6875rem; font-weight: 500; line-height: 1; margin-left: auto; }
.bo-lien .pastille-nb { margin-left: auto; }
.messagerie { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; height: calc(100vh - 170px); min-height: 480px; }
.conv-liste { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.conv-recherche { padding: 10px 14px; border-bottom: 1px solid var(--bord); }
.conv-notif .notif-carte { border: 0; border-bottom: 1px solid var(--bord); border-radius: 0; box-shadow: none; }
.conv-items { overflow-y: auto; flex: 1; }
.conv { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--bord); color: inherit; text-decoration: none; }
.conv:hover { background: var(--gris-50); }
.conv.actif { background: var(--brand-soft); }
.conv-corps { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.conv-ligne { display: flex; align-items: center; gap: 8px; min-width: 0; }
.conv-ligne strong { font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-date { font-size: .75rem; color: var(--texte-2); flex: none; }
.conv-apercu { flex: 1; min-width: 0; font-size: .8125rem; color: var(--texte-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv.non-lu .conv-apercu { color: var(--texte); font-weight: 500; }
.conv-fil { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.conv-tete { gap: 10px; }
.conv-tete .personne { flex: 1; min-width: 0; }
.retour-liste { display: none; }
.fil-msg { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.fil-defile { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 6px; background: var(--gris-50); }
.fil-jour { align-self: center; font-size: .75rem; color: var(--texte-2); background: var(--surface, #fff); border: 1px solid var(--bord); padding: 2px 10px; border-radius: 99px; margin: 8px 0; }
.bulle { max-width: 78%; padding: 8px 12px; border-radius: 16px; font-size: .9375rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(16, 24, 40, .05); }
.bulle.autre { align-self: flex-start; background: #fff; border: 1px solid var(--bord); border-bottom-left-radius: 4px; }
.bulle.mienne { align-self: flex-end; background: var(--brand); color: var(--brand-contrast, #fff); border-bottom-right-radius: 4px; }
.bulle-texte { white-space: pre-wrap; overflow-wrap: anywhere; }
.bulle-heure { font-size: .6875rem; opacity: .7; text-align: right; margin-top: 2px; }
.fil-saisie { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--bord); background: #fff; }
.fil-saisie textarea { flex: 1; resize: none; min-height: 42px; max-height: 140px; border-radius: 21px; padding: 10px 14px; line-height: 1.35; }
.btn-rond { width: 42px; height: 42px; padding: 0; border-radius: 50%; justify-content: center; flex: none; }
.btn-rond svg { margin: 0; }
.fil-vide { margin: auto; text-align: center; color: var(--texte-2); max-width: 300px; padding: 24px; }
.fil-vide svg { width: 36px; height: 36px; opacity: .5; }
.fil-vide.grand { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; max-width: none; }
.choix-clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; max-height: 320px; overflow-y: auto; padding: 8px; border: 1px solid var(--bord); border-radius: var(--rayon); }
.choix-client { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; font-size: .9375rem; cursor: pointer; }
.choix-client:hover { background: var(--gris-50); }
/* Notifications */
.notif-corps { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.icone-notif { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.icone-notif svg { width: 20px; height: 20px; }
/* Client : en-tête et écran de messagerie */
.tete-action { position: relative; color: #fff; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; }
.tete-action svg { width: 22px; height: 22px; }
.tete-action.actif, .tete-action:hover { background: rgba(255, 255, 255, .16); }
.tete-action .pastille-nb { position: absolute; top: 2px; right: 0; margin: 0; }

/* ================================================================ 1.8.0 : application mobile du coach */
.bo-onglets { display: none; }
.bo-mobile-nom { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.bo-mobile-action .avatar { width: 32px; height: 32px; font-size: .75rem; background: rgba(255, 255, 255, .2); color: #fff; }
.bo-main > .installer { display: none; }
@media (max-width: 900px) {
  .bo-main > .installer { display: flex; margin: 12px 16px 0; }
  .bo-main > .installer.cache { display: none; }
  .bo-coach .bo-mobile [data-ouvrir-menu] { display: none; }
  .bo-coach .bo-mobile { padding-top: env(safe-area-inset-top); height: calc(56px + env(safe-area-inset-top)); }
  .bo-coach .bo-main { padding-bottom: calc(env(safe-area-inset-bottom) + 64px); }
  .bo-onglets { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--bord); padding-bottom: env(safe-area-inset-bottom); }
  .bo-onglets a, .bo-onglets button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 10px; font: inherit; font-size: .6875rem; font-weight: 500; color: var(--gris-500); background: none; border: 0; cursor: pointer; text-decoration: none; }
  .bo-onglets svg { width: 22px; height: 22px; }
  .bo-onglets .actif { color: var(--brand); }
  .bo-onglets .pastille-nb { position: absolute; top: 4px; left: calc(50% + 6px); margin: 0; }
  /* Messagerie : une colonne à la fois */
  .messagerie { grid-template-columns: 1fr; height: calc(100dvh - 56px - 64px - 32px - env(safe-area-inset-bottom)); min-height: 380px; }
  .messagerie.avec-fil .conv-liste { display: none; }
  .messagerie:not(.avec-fil) .conv-fil { display: none; }
  .retour-liste { display: inline-flex; }
  .bulle { max-width: 86%; }
}
[hidden] { display: none !important; }
.notif-corps > div:nth-child(2) { flex: 1 1 180px; }
.conv-notif .notif-corps { padding: 12px 14px; }
/* Client : la page défile, la zone de saisie reste collée au-dessus des onglets */
.conv-fil-client { overflow: visible; }
.conv-fil-client .fil-defile { overflow: visible; min-height: 50vh; border-radius: 0; }
.conv-fil-client .fil-saisie { position: sticky; bottom: calc(env(safe-area-inset-bottom) + 64px); z-index: 5; border-radius: 0 0 var(--rayon) var(--rayon); }
@media (max-width: 900px) {
  .bo-main:has(.messagerie) .bo-pied-page { display: none; }
  .bo-main:has(.messagerie) .bo-contenu { padding-bottom: 8px; }
}
.conv:hover, .conv:hover * { text-decoration: none; }

/* ================================================================ 1.9.0 : vitrine publique */
.vitrine-body { background: #fff; }
.vitrine-largeur { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.vitrine-apercu { background: var(--accent); color: var(--accent-contrast); text-align: center; padding: 8px 16px; font-size: .875rem; }
.vitrine-apercu a { color: inherit; text-decoration: underline; }
.vitrine-barre { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--bord); }
.vitrine-marque { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--texte); text-decoration: none; min-width: 0; }
.vitrine-marque img { width: 32px; height: 32px; border-radius: 9px; }
.btn-clair { background: #fff; color: var(--texte); border: 1px solid var(--bord); }
.btn-accent { background: var(--accent); color: var(--accent-contrast); border: 1px solid transparent; }
.btn-accent:hover { filter: brightness(.95); color: var(--accent-contrast); }
.vitrine-hero { position: relative; color: #fff; padding: 72px 0 80px; background: var(--degrade); overflow: hidden; isolation: isolate; }
.vitrine-hero::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; left: 52%; z-index: -1; background: url("../img/scene-sport.svg") 0 50% / auto 120% no-repeat; opacity: .5; }
.vitrine-hero.avec-photo { background: linear-gradient(90deg, rgba(10, 16, 28, .82), rgba(10, 16, 28, .35)), var(--couverture) center / cover no-repeat; }
.vitrine-hero.avec-photo::before { display: none; }
.vitrine-hero-contenu { max-width: 1120px; }
.vitrine-logo { width: 76px; height: 76px; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); margin-bottom: 18px; }
.vitrine-hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 10px; color: #fff; max-width: 760px; }
.vitrine-accroche { font-size: clamp(1.0625rem, 2.2vw, 1.375rem); opacity: .95; max-width: 640px; margin: 0 0 10px; }
.vitrine-lieu { display: flex; align-items: center; gap: 6px; opacity: .85; margin: 0 0 24px; }
.vitrine-lieu svg { width: 18px; height: 18px; }
.vitrine-cta { gap: 10px; }
.vitrine-sections { padding-top: 16px; padding-bottom: 32px; }
.vitrine-section { padding: 48px 0; border-bottom: 1px solid var(--bord); }
.vitrine-section:last-child { border-bottom: 0; }
.vitrine-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.01em; margin: 4px 0 16px; }
.vitrine-grille, .vitrine-appli, .vitrine-contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.vitrine-texte { white-space: pre-line; font-size: 1.0625rem; line-height: 1.65; color: var(--gris-700, #3a4556); }
.puces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.puce { padding: 6px 12px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-deep); font-size: .875rem; font-weight: 500; }
.liste-coches { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.liste-coches li { display: flex; gap: 10px; align-items: flex-start; }
.liste-coches svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 1px; }
.vitrine-sap { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: var(--rayon); background: var(--accent-soft); margin: 0 0 20px; }
.vitrine-sap svg { width: 20px; height: 20px; flex: none; color: var(--brand-deep); }
.vitrine-offres { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.offre { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.offre h3 { margin: 0; font-size: 1.125rem; font-weight: 500; }
.offre-prix { font-size: 1.75rem; font-weight: 700; color: var(--brand-deep); }
.offre-prix span { font-size: .9375rem; font-weight: 400; color: var(--texte-2); }
.offre-texte { color: var(--texte-2); white-space: pre-line; margin: 0 0 8px; flex: 1; }
.vitrine-telephone { display: flex; justify-content: center; }
.tel-ecran { width: 250px; border-radius: 34px; padding: 14px; background: #111827; box-shadow: 0 24px 48px rgba(16, 24, 40, .22); }
.tel-tete { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; font-size: .875rem; padding: 12px; border-radius: 20px 20px 10px 10px; background: linear-gradient(90deg, var(--brand-dark), var(--brand)); }
.tel-tete img { width: 22px; height: 22px; border-radius: 6px; background: #fff; }
.tel-carte { background: #fff; border-radius: 12px; padding: 10px 12px; margin-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.tel-carte span { font-size: .6875rem; color: var(--texte-2); text-transform: uppercase; letter-spacing: .04em; }
.tel-carte strong { font-size: .875rem; font-weight: 500; }
.tel-carte i { display: block; height: 26px; border-radius: 8px; background: var(--brand); margin-top: 6px; }
.tel-carte b { display: block; height: 6px; border-radius: 99px; background: var(--brand); margin-top: 6px; }
.vitrine-avis { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.avis { margin: 0; padding: 20px; }
.etoiles { color: #F5A524; letter-spacing: 2px; }
.etoiles span { color: var(--gris-300, #ccd2db); }
.avis blockquote { margin: 8px 0 12px; font-size: 1rem; line-height: 1.55; white-space: pre-line; }
.avis figcaption { font-weight: 500; color: var(--texte-2); }
.vitrine-coordonnees { display: grid; gap: 10px; margin-top: 12px; }
.vitrine-coordonnees a { display: flex; align-items: center; gap: 10px; color: var(--texte); text-decoration: none; font-weight: 500; }
.vitrine-coordonnees svg { width: 20px; height: 20px; color: var(--brand); }
.vitrine-cta-carte h3 { margin: 0 0 6px; font-size: 1.25rem; }
.vitrine-pied { padding: 24px 0 32px; background: var(--gris-50); border-top: 1px solid var(--bord); }
.vitrine-pied-liens { text-align: center; font-size: .8125rem; color: var(--texte-2); margin-bottom: 12px; }
.vitrine-pied-liens a { color: var(--texte-2); }
.vitrine-pied .pied-colombo { justify-content: center; padding: 12px 16px; border-radius: var(--rayon); background: var(--colombo-creme); border: 1px solid #EADFCB; }
.vitrine-formulaire { max-width: 680px; padding-top: 28px; padding-bottom: 48px; }
.vitrine-formulaire h1 { font-size: 1.75rem; margin: 12px 0 6px; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.merci { text-align: center; padding: 40px 24px; }
.merci-icone { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.merci-icone svg { width: 28px; height: 28px; }
@media (max-width: 860px) {
  .vitrine-hero { padding: 44px 0 52px; }
  .vitrine-grille, .vitrine-appli, .vitrine-contact { grid-template-columns: 1fr; gap: 24px; }
  .vitrine-section { padding: 36px 0; }
  .vitrine-telephone { display: none; }
}
@media (max-width: 420px) { .masque-tres-petit { display: none; } }
/* Coach : édition de la page et demandes */
.lien-vitrine { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.conseils-vitrine ul { margin: 6px 0 0; padding-left: 1.1rem; }
.presta-ligne { border-bottom: 1px solid var(--bord); }
.avis-ligne { display: flex; gap: 10px; align-items: flex-start; border-bottom: 1px solid var(--bord); }
.case { display: flex; gap: 8px; align-items: flex-start; font-size: .9375rem; margin: 6px 0; cursor: pointer; }
.case input { margin-top: 3px; }

/* ================================================================ 1.9.0 : factures */
.grille-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat-facture { display: block; padding: 16px 18px; color: inherit; text-decoration: none; }
.stat-facture .stat-valeur { white-space: nowrap; }
.stat-valeur { font-size: 1.375rem; font-weight: 500; }
.stat-libelle { font-size: .8125rem; color: var(--texte-2); }
.texte-alerte { color: #B54708; }
.texte-danger { color: #B42318; }
.totaux-facture { display: grid; gap: 4px; border-top: 1px solid var(--bord); }
.totaux-facture > div { display: flex; justify-content: space-between; gap: 12px; }
.totaux-facture .total { font-size: 1.125rem; font-weight: 500; }
.choix-mode { display: grid; gap: 10px; }
.choix-carte { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--bord); border-radius: var(--rayon); cursor: pointer; }
.choix-carte:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.choix-carte > span { display: flex; flex-direction: column; gap: 2px; }
.choix-carte input { margin-top: 4px; }
.facture-publique { max-width: 640px; padding-top: 24px; padding-bottom: 40px; display: grid; gap: 16px; }
.facture-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.facture-tete h1 { font-size: 2.25rem; margin: 4px 0; }
.sap-info { display: flex; gap: 10px; background: var(--accent-soft); }
.sap-info svg { width: 20px; height: 20px; flex: none; }
.titre-paiement { font-size: 1.25rem; margin: 8px 0 0; }
.option-paiement { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.virement-grille { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: center; }
.qr-sepa { background: #fff; padding: 8px; border: 1px solid var(--bord); border-radius: 12px; line-height: 0; }
.qr-sepa svg { width: 100%; height: auto; }
@media (max-width: 900px) { .grille-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .virement-grille { grid-template-columns: 1fr; } .qr-sepa { max-width: 200px; margin: 0 auto; } }

/* ================================================================ 2.0 : agenda */
.agenda-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.agenda-nav strong { font-weight: 500; font-size: 1.0625rem; margin-left: 6px; }
.agenda-semaine { overflow: hidden; }
.agenda-entete { display: grid; grid-template-columns: 56px repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--bord); }
.agenda-jour-tete { display: flex; flex-direction: column; align-items: center; padding: 8px 0; color: var(--texte-2); text-decoration: none; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.agenda-jour-tete strong { font-size: 1.25rem; color: var(--texte); font-weight: 500; letter-spacing: 0; }
.agenda-jour-tete.aujourdhui strong { background: var(--brand); color: var(--brand-contrast); border-radius: 99px; min-width: 34px; text-align: center; }
.agenda-jour-tete:hover { background: var(--gris-50); }
.agenda-grille { position: relative; display: grid; grid-template-columns: 56px repeat(7, minmax(0, 1fr)); overflow-y: auto; max-height: calc(100vh - 260px); min-height: 360px; }
.agenda-heures { position: relative; }
.agenda-heures span { position: absolute; right: 8px; transform: translateY(-50%); font-size: .6875rem; color: var(--texte-2); }
.agenda-heures span:first-child { transform: none; }
.agenda-colonne { position: relative; border-left: 1px solid var(--bord); }
.agenda-colonne.aujourdhui { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.agenda-case { position: absolute; left: 0; right: 0; height: var(--h); border-top: 1px solid var(--gris-100); }
.agenda-case:hover { background: var(--brand-soft); }
.agenda-rdv { position: absolute; z-index: 2; border-radius: 8px; padding: 3px 6px; overflow: hidden; background: var(--brand); color: var(--brand-contrast); font-size: .75rem; line-height: 1.25; text-decoration: none; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(16, 24, 40, .15); }
.agenda-rdv:hover { filter: brightness(1.08); color: var(--brand-contrast); }
.agenda-rdv.creneau { background: var(--accent-soft); color: var(--texte); border: 1px dashed var(--accent); }
.agenda-rdv.passe { opacity: .55; }
.rdv-heure { font-weight: 500; }
.rdv-titre { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rdv-places { font-size: .6875rem; opacity: .85; }
.legende.creneau { display: inline-block; width: 14px; height: 10px; border: 1px dashed var(--accent); background: var(--accent-soft); border-radius: 3px; vertical-align: -1px; }
.agenda-liste { display: none; }
.agenda-liste-jour { margin-bottom: 14px; }
.agenda-liste-tete { display: flex; justify-content: space-between; align-items: center; font-weight: 500; margin-bottom: 6px; }
.agenda-liste-jour.aujourdhui .agenda-liste-tete span { color: var(--brand); }
.agenda-liste-rdv { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px; color: inherit; text-decoration: none; border-left: 4px solid var(--brand); }
.agenda-liste-rdv.creneau { border-left: 4px dashed var(--accent); }
.agenda-liste-rdv.passe { opacity: .6; }
.agenda-liste-vide { padding: 4px 2px 6px; }
.rdv-horaire { display: flex; flex-direction: column; align-items: center; min-width: 48px; }
.rdv-horaire strong { font-weight: 500; }
.rdv-horaire span { font-size: .6875rem; color: var(--texte-2); }
.rdv-ligne-titre { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rdv-jour { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; border-bottom: 1px solid var(--bord); }
.rdv-jour:hover { background: var(--gris-50); }
@media (max-width: 900px) {
  .agenda-semaine { display: none; }
  .agenda-liste { display: block; }
}
.choix-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .choix-3 { grid-template-columns: 1fr; } }
.participant { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid var(--bord); }
.segments { display: inline-flex; border: 1px solid var(--bord); border-radius: 10px; overflow: hidden; flex-wrap: wrap; }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment span { display: block; padding: 6px 10px; font-size: .8125rem; cursor: pointer; border-right: 1px solid var(--bord); color: var(--texte-2); }
.segment:last-child span { border-right: 0; }
.segment input:checked + span { background: var(--brand); color: var(--brand-contrast); }
.seg-absent input:checked + span, .seg-annule_tard input:checked + span { background: #B54708; color: #fff; }
.seg-annule input:checked + span { background: var(--gris-500); color: #fff; }
.segment input:disabled + span { cursor: not-allowed; opacity: .6; }
.formule-ligne { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--bord); }
.formule-ligne.terminee { opacity: .6; }
.rdv-mini { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; color: inherit; text-decoration: none; font-size: .875rem; }
.rdv-mini:hover span:first-child { color: var(--brand); }
.rdv-client { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--bord); }
.rdv-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 46px; height: 50px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); flex: none; }
.rdv-date span { font-size: .6875rem; text-transform: uppercase; }
.rdv-date strong { font-size: 1.125rem; font-weight: 500; line-height: 1; }
.a-facturer-client summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; border-bottom: 1px solid var(--bord); }
.a-facturer-client summary::-webkit-details-marker { display: none; }
.a-facturer-client summary .case { flex: 1; }
.a-facturer-ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--bord); }
.ligne-total td { font-weight: 500; }
.agenda-rdv.court { flex-direction: row; flex-wrap: wrap; gap: 0 6px; align-items: baseline; }

/* ================================================================ 2.1 : messagerie enrichie */
.bulle { position: relative; }
.bulle.avec-piece { padding: 4px; }
.bulle.avec-piece .bulle-texte, .bulle.avec-piece .bulle-heure { padding: 4px 8px 0; }
.bulle img, .bulle video { display: block; max-width: 100%; max-height: 320px; border-radius: 12px; background: #000; }
.bulle-image img { cursor: zoom-in; }
.bulle audio { display: block; width: 240px; max-width: 100%; height: 40px; }
.bulle-reaction { position: absolute; bottom: -10px; left: -6px; background: #fff; border: 1px solid var(--bord); border-radius: 99px; font-size: .8125rem; padding: 0 5px; line-height: 1.5; }
.bulle-reagir { position: absolute; bottom: -10px; right: -8px; min-width: 24px; height: 22px; padding: 0 5px; border-radius: 99px; border: 1px solid var(--bord); background: #fff; color: var(--texte-2); font-size: .8125rem; cursor: pointer; line-height: 1; }
.bulle-reagir.active { color: inherit; }
.bulle.autre:has(.bulle-reagir), .bulle.mienne:has(.bulle-reaction) { margin-bottom: 8px; }
.palette-reactions { position: absolute; z-index: 30; display: flex; gap: 2px; padding: 4px 6px; background: #fff; border: 1px solid var(--bord); border-radius: 99px; box-shadow: var(--ombre-2); }
.palette-reactions button { border: 0; background: none; font-size: 1.375rem; padding: 2px 4px; cursor: pointer; border-radius: 8px; }
.palette-reactions button:hover { background: var(--gris-50); }
.fil-msg { position: relative; }
.saisie-zone { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.saisie-zone textarea { width: 100%; }
.piece-choisie { display: flex; align-items: center; gap: 6px; font-size: .8125rem; background: var(--brand-soft); border-radius: 10px; padding: 4px 8px; }
.piece-choisie span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.piece-choisie button { border: 0; background: none; cursor: pointer; color: var(--texte-2); }
.fil-saisie label.btn-rond { cursor: pointer; }
.enregistrement { display: flex; align-items: center; gap: 8px; padding: 12px; border-top: 1px solid var(--bord); background: #fff; font-size: .875rem; flex-wrap: wrap; }
.point-rouge { width: 10px; height: 10px; border-radius: 50%; background: #D92D20; animation: clignote 1s infinite; }
@keyframes clignote { 50% { opacity: .2; } }
.envoi-progression { padding: 4px 14px 8px; background: #fff; }

/* ================================================================ 2.1 : habitudes et badges */
.habitude { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--bord); }
.habitude:last-child { border-bottom: 0; }
.habitude.hors-jour { opacity: .6; }
.habitude-icone { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.habitude-icone svg { width: 20px; height: 20px; }
.habitude-icone.petite { width: 32px; height: 32px; border-radius: 9px; }
.habitude-icone.petite svg { width: 16px; height: 16px; }
.habitude.faite .habitude-icone { background: var(--brand); color: var(--brand-contrast); }
.habitude-corps { flex: 1; min-width: 0; }
.habitude-nom { font-weight: 500; }
.habitude.faite .habitude-nom { color: var(--brand-deep); }
.habitude-case { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gris-300, #ccd2db); background: #fff; color: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; transition: all .15s; }
.habitude-case svg { width: 20px; height: 20px; }
.habitude.faite .habitude-case { background: var(--brand); border-color: var(--brand); color: var(--brand-contrast); transform: scale(1.05); }
.habitude-nombre { display: flex; align-items: center; gap: 6px; flex: none; }
.habitude-nombre input { width: 72px; height: 36px; text-align: right; }
.habitude-nombre span { font-size: .75rem; color: var(--texte-2); white-space: nowrap; }
.habitude-semaine { display: flex; gap: 3px; margin: 4px 0 2px; }
.habitude-semaine i { width: 14px; height: 6px; border-radius: 3px; background: var(--gris-100, #eef1f4); }
.habitude-semaine i.ok { background: var(--brand); }
.habitude-semaine i.repos { background: transparent; border: 1px dashed var(--gris-300, #ccd2db); }
.habitude-coach { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--bord); padding-top: 10px; padding-bottom: 10px; }
.grille-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 14px 8px; }
.badge-tuile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .75rem; color: var(--texte-2); }
.badge-rond { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gris-100, #eef1f4); color: var(--gris-300, #b4bcc8); }
.badge-rond svg { width: 24px; height: 24px; }
.badge-tuile.acquis { color: var(--texte); font-weight: 500; }
.badge-tuile.acquis .badge-rond { background: linear-gradient(135deg, var(--accent), var(--brand)); color: #fff; box-shadow: 0 4px 12px var(--accent-glow); }
.toast-badge { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 84px); transform: translateX(-50%); z-index: 60; background: var(--texte); color: #fff; padding: 10px 16px; border-radius: 99px; font-size: .875rem; box-shadow: var(--ombre-2); }
.jours-choix { display: flex; gap: 4px; margin: 4px 0 10px; }
.jours-choix input { position: absolute; opacity: 0; }
.jours-choix span { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; border: 1px solid var(--bord); font-size: .8125rem; cursor: pointer; }
.jours-choix input:checked + span { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
.puce-bouton { border: 1px solid transparent; cursor: pointer; font: inherit; font-size: .8125rem; }
.puce-bouton:hover { border-color: var(--brand); }
.puces.petites .puce { font-size: .75rem; padding: 3px 9px; }
.puce-connexion, .puce-seances { background: #FEF0C7; color: #93370D; }
.puce-carnet { background: var(--accent-soft); color: var(--brand-deep); }
.puce-invitation, .puce-questionnaire { background: var(--gris-100, #eef1f4); color: var(--texte); }
.puce-habitudes { background: #FEE4E2; color: #912018; }
.relance { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--bord); }
.ligne-lien { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; border-bottom: 1px solid var(--bord); cursor: pointer; }
.ligne-lien:hover { background: var(--gris-50); }
.ligne-lien > svg { width: 16px; height: 16px; transform: rotate(180deg); color: var(--texte-2); }
.reactions { display: flex; gap: 2px; margin-top: 6px; }
.reaction { border: 1px solid transparent; background: none; border-radius: 99px; padding: 1px 6px; font-size: .9375rem; cursor: pointer; opacity: .45; filter: grayscale(.6); transition: all .15s; }
.reaction:hover, .reaction.choisie { opacity: 1; filter: none; }
.reaction.choisie { border-color: var(--brand-ring, var(--brand)); background: var(--brand-soft); }
.reaction-recue { color: var(--brand-deep); font-weight: 500; }
.tuile-accent { border-color: var(--accent); background: var(--accent-soft); }

/* ================================================================ 2.1 : questionnaires */
.question-edit .pastille-seance { width: 26px; height: 26px; font-size: .8125rem; }
.question .question-libelle { display: block; font-weight: 500; margin-bottom: 8px; }
.choix-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.choix-pastille input { position: absolute; opacity: 0; }
.choix-pastille span { display: inline-block; padding: 8px 14px; border: 1px solid var(--bord); border-radius: 99px; cursor: pointer; font-size: .9375rem; }
.choix-pastille input:checked + span { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
.choix-pastille input:focus-visible + span { outline: 2px solid var(--brand-ring); }
.notes-1-10 { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.notes-1-10 input { position: absolute; opacity: 0; }
.notes-1-10 span { display: flex; align-items: center; justify-content: center; height: 38px; border: 1px solid var(--bord); border-radius: 10px; cursor: pointer; font-weight: 500; }
.notes-1-10 input:checked + span { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
.comparaison td:first-child { width: 36%; }
.comparaison tr.change td:not(:first-child) { background: var(--accent-soft); }
.habitude.num { flex-wrap: wrap; }
.habitude.num .habitude-nombre { width: 100%; padding-left: 52px; }
.habitude.num .habitude-nombre input { flex: 1; max-width: 140px; }

/* ================================================================ 2.2 : communauté */
.fil-communaute { display: grid; gap: 14px; max-width: 680px; }
.fil-communaute.vue-coach { margin: 0; }
.onglets-comm { gap: 6px; }
.composer textarea { border: 0; box-shadow: none; padding: 0; resize: vertical; min-height: 52px; font-size: 1rem; }
.composer textarea:focus { box-shadow: none; }
.composer-pied { border-top: 1px solid var(--bord); padding-top: 10px; margin-top: 8px; align-items: center; }
.publication.epinglee { border-color: var(--accent); }
.pub-tete { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.avatar-coach { background: var(--brand); color: var(--brand-contrast); }
.pub-texte { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.5; margin-bottom: 10px; }
.pub-image { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }
.pub-reactions { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.pub-reactions .reaction { opacity: .7; filter: none; border: 1px solid var(--bord); padding: 2px 8px; }
.pub-reactions .reaction span { font-size: .75rem; margin-left: 3px; color: var(--texte-2); }
.pub-reactions .reaction.choisie { opacity: 1; }
.commentaires { background: var(--gris-50); border-top: 1px solid var(--bord); padding: 10px 16px; display: grid; gap: 8px; border-radius: 0 0 var(--rayon) var(--rayon); }
.commentaire { display: flex; gap: 8px; align-items: flex-start; }
.petit-avatar { width: 28px; height: 28px; font-size: .625rem; flex: none; }
.commentaire-bulle { background: #fff; border: 1px solid var(--bord); border-radius: 12px; padding: 6px 10px; font-size: .9375rem; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.commentaire-bulle strong { font-weight: 500; }
.commenter { display: flex; gap: 6px; }
.commenter input { flex: 1; height: 38px; border-radius: 19px; }
.sondage { display: grid; gap: 6px; margin: 4px 0 8px; }
.sondage-option { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; overflow: hidden; border: 1px solid var(--bord); border-radius: 10px; background: #fff; padding: 10px 12px; cursor: pointer; font: inherit; text-align: left; }
.sondage-option.choisie { border-color: var(--brand); }
.sondage-barre { position: absolute; inset: 0 auto 0 0; background: var(--brand-soft); transition: width .3s; }
.sondage-libelle, .sondage-pc { position: relative; }
.sondage-pc { font-weight: 500; font-size: .875rem; }
.defi-entete h1 { font-size: 1.375rem; margin: 4px 0; }
.defi-moi { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 12px; background: var(--brand-soft); border-radius: 12px; }
.defi-rang { font-size: 1.75rem; font-weight: 700; color: var(--brand-deep); }
.classement-ligne { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--bord); }
.classement-ligne.moi { background: var(--brand-soft); }
.classement-rang { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; background: var(--gris-100, #eef1f4); flex: none; }
.rang-1 { background: #F5C451; color: #5B3B00; }
.rang-2 { background: #D5DAE1; color: #2C3440; }
.rang-3 { background: #E3A877; color: #4A2408; }
.titre-collection { font-size: 1.125rem; margin: 8px 0; }
.rangee-contenus { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 70%); gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.contenu-carte { scroll-snap-align: start; padding: 0; overflow: hidden; color: inherit; text-decoration: none; }
.contenu-carte .contenu-titre, .contenu-carte .petit { padding: 0 12px; }
.contenu-carte .contenu-titre { font-weight: 500; margin-top: 8px; }
.contenu-carte .petit { padding-bottom: 12px; }
.contenu-visuel { position: relative; aspect-ratio: 16 / 9; background: var(--degrade) center / cover; display: flex; align-items: center; justify-content: center; color: #fff; }
.contenu-visuel svg { width: 34px; height: 34px; opacity: .9; }
.contenu-duree, .contenu-vu { position: absolute; bottom: 6px; font-size: .6875rem; background: rgba(0, 0, 0, .65); color: #fff; padding: 2px 6px; border-radius: 6px; }
.contenu-duree { right: 6px; }
.contenu-vu { left: 6px; }
.video-contenu { width: 100%; border-radius: 12px; background: #000; max-height: 70vh; }
.video-cadre { position: relative; aspect-ratio: 16 / 9; }
.video-cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.article-texte { white-space: pre-line; line-height: 1.65; font-size: 1rem; }
@media (min-width: 700px) { .rangee-contenus { grid-auto-columns: minmax(220px, 31%); } }
.contenu-carte, .contenu-carte:hover, .contenu-carte * { text-decoration: none; }

/* ---------------------------------------------------------------- 2.3 Formats de séance, cycles */
input.mini.lettre { width: 42px; text-align: center; text-transform: uppercase; padding: 0 4px; }
.tableau-seance tr.ligne-superset td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
.format-seance { border-bottom: 1px solid var(--bord); padding-top: .75rem; padding-bottom: .75rem; }
.format-seance .champ { margin-bottom: 0; }
.format-seance [hidden] { display: none !important; }
.jours-choix { display: flex; gap: 4px; }
.jours-choix label { margin: 0; cursor: pointer; }
.jours-choix input { position: absolute; opacity: 0; pointer-events: none; }
.jours-choix span { display: inline-flex; width: 32px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--bord); border-radius: 6px; font-size: .8125rem; font-weight: 500; color: var(--texte-2); background: var(--surface); }
.jours-choix input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--brand-contrast); }
.jours-choix input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
form.format-chrono .tableau-seance th:nth-child(1), form.format-chrono .tableau-seance td:nth-child(1) { display: none; }

.semaine-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.sc-jour { border: 1px solid var(--bord); border-radius: 8px; padding: 6px 4px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; background: var(--surface); }
.sc-lettre { font-size: .6875rem; color: var(--texte-2); text-transform: uppercase; letter-spacing: .04em; }
.sc-num { font-weight: 500; font-size: .9375rem; }
.sc-etat { height: 16px; font-size: .8125rem; line-height: 16px; color: var(--brand); }
.sc-nom { font-size: .6875rem; color: var(--texte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sc-auj { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.sc-fait { background: color-mix(in srgb, var(--brand) 9%, var(--surface)); }
.sc-fait .sc-etat { font-weight: 700; }
.sc-manque .sc-etat { color: var(--ambre); }

.badge-format { display: inline-block; font-size: .6875rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand); vertical-align: middle; }
.lettre-ss { display: inline-flex; width: 20px; height: 20px; border-radius: 4px; align-items: center; justify-content: center; font-size: .6875rem; font-weight: 700; background: var(--brand); color: var(--brand-contrast); margin-right: 6px; vertical-align: 1px; }
.tableau-max td { vertical-align: middle; }
.tableau-max input.mini { width: 84px; }
.chrono .carte-corps { text-align: center; }
.chrono .sur-titre { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; align-items: center; text-transform: none; letter-spacing: 0; }
.chrono-phase { margin-top: 14px; font-size: .8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.chrono-temps { font-size: 4.25rem; font-weight: 300; line-height: 1.05; font-variant-numeric: tabular-nums; margin: 4px 0 8px; }
.chrono-exo strong { font-size: 1.25rem; font-weight: 500; }
.chrono-actions { justify-content: center; margin: 16px 0 6px; }
.chrono-liste { list-style: none; counter-reset: c; text-align: left; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--bord); }
.chrono-liste li { counter-increment: c; display: flex; gap: 10px; align-items: baseline; padding: 9px 4px; border-bottom: 1px solid var(--bord); }
.chrono-liste li::before { content: counter(c); width: 22px; flex: none; font-size: .75rem; color: var(--texte-2); text-align: center; }
.chrono-liste li .nom { flex: 1; }
.chrono-liste li.courant { background: var(--brand-soft, var(--fond)); border-radius: 6px; }
.chrono-liste li.courant .nom { font-weight: 500; }
.chrono.chrono-repos .chrono-temps, .chrono.chrono-repos .chrono-phase { color: var(--vert); }
.format-ligne { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: flex-end; }
.format-ligne select { width: 210px; }
.format-ligne .jours-ou { margin-left: auto; }
@media (max-width: 600px) { .sc-nom { display: none; } .semaine-cal { gap: 4px; } }
.sc-nom { display: none !important; }

/* ---------------------------------------------------------------- 2.4 Nutrition : code-barres, recettes, courses */
.scanner { margin-bottom: .75rem; }
.scanner-zone { margin-top: .5rem; }
.scanner-video { position: relative; border-radius: var(--rayon); overflow: hidden; background: #0b0f17; }
.scanner-video video { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.scanner-video video.cache + .scanner-cadre { display: none; }
.scanner-cadre { position: absolute; left: 12%; right: 12%; top: 30%; bottom: 30%; border: 2px solid rgba(255, 255, 255, .9); border-radius: 8px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .35); }
.scanner-ok { color: var(--vert) !important; }
.raccourcis-nutri { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.raccourcis-nutri .tuile { margin: 0; }
.raccourcis-nutri h3 { font-size: .9375rem; }

.grille-recettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.recette-carte { display: block; color: inherit; text-decoration: none; overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.recette-carte:hover { border-color: var(--gris-300); box-shadow: var(--ombre-1, 0 2px 8px rgba(0,0,0,.06)); }
.recette-carte h3 { font-size: 1rem; font-weight: 500; margin: 4px 0; }
.recette-visuel { aspect-ratio: 16 / 9; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.recette-visuel svg { width: 40px; height: 40px; opacity: .7; }
.recette-visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recette-ligne { display: flex; align-items: stretch; }
.recette-ligne .recette-visuel { width: 96px; flex: none; aspect-ratio: auto; min-height: 84px; }
.recette-ligne .recette-texte { padding: 12px 14px; min-width: 0; display: flex; flex-direction: column; gap: 2px; justify-content: center; }
.recette-photo { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: var(--rayon); margin-bottom: .75rem; }
.recette-photo.grande { max-height: 260px; margin: 0; }
.macros-recette { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.macros-recette div { background: var(--fond); border-radius: var(--rayon); padding: 10px 4px; display: flex; flex-direction: column; }
.macros-recette strong { font-size: 1.125rem; font-weight: 500; }
.macros-recette span { font-size: .75rem; color: var(--texte-2); }
.compteur-portions { display: flex; align-items: center; gap: 8px; }
.compteur-portions .btn { width: 32px; padding: 0; justify-content: center; }
.etapes-recette { margin: 0; padding: 4px 20px 16px 40px; display: flex; flex-direction: column; gap: 10px; line-height: 1.5; }
.etapes-recette li::marker { color: var(--brand); font-weight: 500; }

.courses-rayon + .courses-rayon { margin-top: 10px; }
.courses-item { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--bord); cursor: pointer; margin: 0; font-weight: 400; }
.courses-item input { width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.courses-item .nom { flex: 1; min-width: 0; }
.courses-item .qte { font-variant-numeric: tabular-nums; color: var(--texte-2); white-space: nowrap; }
.courses-item.achete .nom, .courses-item.achete .qte { text-decoration: line-through; opacity: .5; }
.defile-x { overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.defile-x .btn { flex: none; }
@media print {
  .bo-menu, .bo-barre, .bo-onglets, .actions-page, .fil, .aide, .bandeau-admin, form.carte-tete .groupe-btn, .pied-colombo { display: none !important; }
  .courses-item input { display: none; }
}
