/* ==========================================================================
   COACH AD v4 — style « Épure »
   Mêmes couleurs et même contenu que la v3. Contours fins au lieu de tuiles
   pleines, titres en minuscules, barre d’onglets fixe avec libellés.
   Se charge après theme-v2.css et ne change que l’apparence.
   ========================================================================== */
:root { --r-md: 12px; --r-lg: 14px; }
.topbar h1, .h2, .sheet-head h2, .dialog h3, .greeting, .client-head h2, .sign-call h2, .fold-t, .chal-t, .goal-t, .streak .sn, .weeknav .lbl, .prog .t1, .next .day, .bdg-fh { font-family: 'Montserrat', system-ui, sans-serif !important; text-transform: none !important; letter-spacing: -.015em !important; font-weight: 700 !important; }
.topbar h1 { font-size: 30px !important; line-height: 1.05 !important; }
.h2 { font-size: 18px !important; }
.fold-t, .chal-t, .goal-t { font-size: 17px !important; }
.sign-call h2 { font-size: 21px !important; }
.next .day { font-size: 20px !important; }
.stat .lbl, .goal-lbl, .gc-top .lbl, .rec-hero .lbl, .next .top, .chal-top .lbl, .topbar .sub, .hm-lbl { font-family: 'Montserrat', system-ui, sans-serif !important; font-size: 11px !important; font-weight: 600 !important; letter-spacing: .08em !important; }
.stat, .fold, .goal, .goalca, .refer, .tip, .access, .prog, .alert, .rec-chart, .kv-tile, .chal, .streak, .hm-chal, .hm-prog, .hm-tile, .pf-head, .pf-list, .rec-fold, .cli-goal, .sched, .bill-due .duerow, .meal-calc, .wk-mini > div, .empty, main.view .list > .row, main.view .list > .row:first-child, main.view section > .row, main.view section > .list-flat > .row, .wk-sheet .list > .row { background: transparent !important; border: 1px solid #262626 !important; border-radius: 14px !important; box-shadow: none !important; }
main.view .list { gap: 0 !important; border-top: 1px solid #262626; }
main.view .list > .row, main.view .list > .row:first-child { border: 0 !important; border-bottom: 1px solid #262626 !important; border-radius: 0 !important; padding: 14px 2px !important; }
.fold.today, .tip.gold, .alert, .cli-goal.won { border-color: rgba(201,168,76,.55) !important; }
.next, .hm-next, .bill-hero, .sign-call { border-radius: 14px !important; box-shadow: none !important; }
.btn, .btn-gold, .btn-dark, .btn-small { border-radius: 10px !important; font-family: 'Montserrat', system-ui, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; font-weight: 700 !important; }
.btn:not(.btn-gold):not(.btn-dark) { background: transparent; }
.text-btn, .h2 .link { font-family: 'Montserrat', system-ui, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 600 !important; }
.seg { border-bottom: 1px solid #262626 !important; gap: 0 !important; }
.seg button, .cli-tabs button, .bill-tabs button { background: transparent !important; border-radius: 0 !important; color: #8b8b8b !important; font-family: 'Montserrat', system-ui, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 600 !important; box-shadow: none !important; border-bottom: 2px solid transparent !important; }
.seg button[aria-pressed="true"], .cli-tabs button[aria-selected="true"], .cli-tabs button.on, .bill-tabs button[aria-selected="true"], .bill-tabs button.on { color: #fff !important; border-bottom-color: var(--gold) !important; }
.cli-tabs, .bill-tabs { background: var(--bg) !important; border-radius: 0 !important; padding: 0 !important; border: 0 !important; border-bottom: 1px solid #262626 !important; }
.dateblock { border: 0 !important; border-right: 1px solid #333 !important; border-radius: 0 !important; }
.daystrip button { background: transparent !important; border: 1px solid #262626 !important; border-radius: 10px !important; }
.daystrip button.today { background: var(--gold) !important; border-color: var(--gold) !important; }
.avatar { background: transparent !important; border: 1px solid #3a3a3a !important; color: var(--gold) !important; }
.icon-btn { background: transparent !important; border: 1px solid #333 !important; }
.tabbar { left: 0 !important; right: 0 !important; bottom: 0 !important; max-width: none !important; border-radius: 0 !important; border: 0 !important; border-top: 1px solid #262626 !important; background: rgba(11,11,11,.96) !important; box-shadow: none !important; padding: 0 0 var(--safe-bottom) !important; }
.tabbar .inner { max-width: 560px; margin: 0 auto; height: 62px !important; }
.tabbar button { flex: 1 1 0 !important; flex-direction: column !important; gap: 3px !important; height: 56px !important; padding: 0 !important; border-radius: 0 !important; background: transparent !important; color: #777 !important; font-family: 'Montserrat', system-ui, sans-serif !important; font-size: 10px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; position: relative; }
.tabbar button > span:last-child { display: inline !important; }
.tabbar button[aria-current="page"] { color: var(--gold) !important; background: transparent !important; }
.tabbar button[aria-current="page"]::before { content: ""; position: absolute; top: -1px; left: 30%; right: 30%; height: 2px; background: var(--gold); }
.app { padding-bottom: calc(62px + var(--safe-bottom) + 30px) !important; }
.fab { border-radius: 12px !important; font-family: 'Montserrat', system-ui, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; bottom: calc(62px + var(--safe-bottom) + 18px) !important; box-shadow: 0 8px 22px rgba(0,0,0,.5) !important; }
.sheet { border-radius: 16px 16px 0 0 !important; }
.dialog { border-radius: 16px !important; border: 1px solid #2a2a2a !important; }
.box { border-radius: 8px !important; }

/* ---------- Titres et libellés des autres écrans ---------- */
.gate h1, .done-burst h2, .fold.fold-day .fold-t, .daygroup h3, .wk-nav b, .wk-recs h2, .wk-h3, .pf-head h2, .hm-t, .hm-day, .rec-fold > summary, .offer-sec .t, .sig-recap .d, .bill-hero .bh-val span {
  font-family: 'Montserrat', system-ui, sans-serif !important; text-transform: none !important; letter-spacing: -.015em !important; font-weight: 700 !important;
}
.gate h1 { font-size: 30px !important; line-height: 1.1 !important; }
.hm-day { font-size: 20px !important; }
.hm-t, .wk-h3, .daygroup h3, .rec-fold > summary { font-size: 16px !important; }
.wk-recs h2, .pf-head h2 { font-size: 20px !important; }
.wk-nav b { font-size: 17px !important; }
.sig-recap .d { font-size: 19px !important; }
.wk-mini .lbl, .wk-grp, .hm-lbl, .bill-hero .lbl, .bill-hero .bh-goal, .chal-top .left, .daystrip .w, .offer-tag, .sched-r .sm, .bk-k {
  font-family: 'Montserrat', system-ui, sans-serif !important; font-size: 10.5px !important; font-weight: 600 !important; letter-spacing: .08em !important;
}
.hm-pill { font-family: 'Montserrat', system-ui, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; font-weight: 700 !important; }
/* ---------- Ajustements de tailles ---------- */
.prog .t1 { font-size: 16px !important; }
.weeknav .lbl { font-size: 15px !important; white-space: nowrap; }
.fold.fold-day .fold-t { font-size: 14.5px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.streak .sn { font-size: 20px !important; }
.chal-top .lbl, .chal-top .left { white-space: nowrap; letter-spacing: .05em !important; font-size: 10.5px !important; }
.chal-top .lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.avatar.off { color: var(--muted) !important; }
/* Listes encadrées (onglet Profil) : marge intérieure autour du contenu */
main.view .pf-list { border-top: 1px solid #262626 !important; }
main.view .pf-list > .row, main.view .pf-list > .row:first-child { padding: 13px 16px !important; }
main.view .pf-list > .row:last-child { border-bottom: 0 !important; }
/* Tuiles « Mon sport » : libellés plus compacts pour tenir dans leur bulle (« Entraînements ») */
.wk-mini > div { padding-left: 10px !important; padding-right: 10px !important; min-width: 0; }
.wk-mini .lbl { font-size: 9.5px !important; letter-spacing: .03em !important; white-space: nowrap; }
/* Icônes dans les ronds (Prospects, Réglages…) : un peu plus petites pour rester dans le cercle */
.avatar svg { width: 22px !important; height: 22px !important; }
