/* 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; }
.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; inset: 0; 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; }
