/* ==========================================================================
   Strāte.fit — écrans de l'application (maquettes téléphone)
   Repris tel quel de l'ancienne feuille style.css (DA VOLT), isolé ici pour
   être réutilisé par le carrousel de la nouvelle page. Les variables sont
   limitées à .hero-mockup pour ne pas entrer en conflit avec strate.css.
   ========================================================================== */

.hero-mockup {
    --bg: #0e1214;
    --bg-2: #0d1011;
    --surface: #13171a;
    --surface-2: #1c2226;
    --surface-3: #232a2f;
    --border: rgba(255, 255, 255, 0.06);
    --border-2: rgba(255, 255, 255, 0.10);
    --border-3: rgba(255, 255, 255, 0.16);
    --text: #f4f6f3;
    --muted: rgba(244, 246, 243, 0.85);
    --faint: rgba(244, 246, 243, 0.65);
    --accent: #36E2E8;
    --accent-2: #6aedf2;
    --accent-dim: rgba(54, 226, 232, 0.14);
    --accent-glow: rgba(54, 226, 232, 0.32);
    --warn: #ffd34a;
    --danger: #ff5547;
    --ok: #7ed957;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --r-xs: 8px;
    --r-sm: 12px;
    --r-md: 16px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-pill: 999px;
    --t-fast: 0.15s cubic-bezier(.4, 0, .2, 1);
    --t-base: 0.25s cubic-bezier(.4, 0, .2, 1);
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.5;
    text-align: left;
}

.hero-mockup *,
.hero-mockup *::before,
.hero-mockup *::after { box-sizing: border-box; margin: 0; }

.hero-mockup button { font: inherit; color: inherit; border: 0; cursor: default; }
/* Boutons pleins bleus : texte foncé (la remise à zéro ci-dessus le rendait blanc) */
/* … et même typo que le titre de séance (« Upper Push ») */
.hero-mockup .mk-cta,
.hero-mockup .mk-ex-validate { color: #0a0d0a; font-family: var(--font-display); font-weight: 700; }
.hero-mockup h3 { font-weight: inherit; }

/* App header */
.mk-app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 22px 8px;
    position: relative;
    z-index: 1;
}

.mk-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--faint);
    line-height: 1;
}

.mk-eyebrow-accent { color: var(--accent); }
.mk-eyebrow-dark { color: rgba(10, 13, 10, 0.55); }

.mk-greeting {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-top: 6px;
}

.mk-greeting span { color: var(--accent); }

.mk-applogo {
    height: 18px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.mk-eyebrow-muted { color: var(--muted); }
.mk-eyebrow-muted em { color: var(--accent); font-style: normal; }

.mk-today-tags {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mk-vsep {
    width: 1px;
    height: 10px;
    background: var(--border-2);
}

/* Today card */
.mk-today {
    position: relative;
    margin: 14px 18px 0;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--border-2);
    z-index: 1;
}

.mk-graph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.18;
    pointer-events: none;
}

.mk-today-inner {
    position: relative;
    padding: 18px 20px;
}

.mk-today-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.mk-today-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
}

.mk-today-sub {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

.mk-cta {
    width: 100%;
    height: 46px;
    margin-top: 22px;
    border-radius: 12px;
    border: none;
    cursor: default;
    background: var(--accent);
    color: #0a0d0a;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0 24px var(--accent-dim);
}

/* Stats row */
.mk-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin: 14px 18px 0;
    position: relative;
    z-index: 1;
}

.mk-stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
}

.mk-stat-val {
    display: flex;
    align-items: baseline;
    gap: 1px;
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.mk-stat-val span {
    font-size: 12px;
    color: var(--faint);
    font-weight: 600;
}

.mk-stat .mk-eyebrow { font-size: 9px; }

/* Block header */
.mk-block-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 22px 22px 10px;
    position: relative;
    z-index: 1;
}

.mk-block-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-top: 4px;
}

.mk-block-count {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: -0.03em;
    font-weight: 600;
}

/* Day timeline */
.mk-week-label {
    padding: 20px 22px 8px;
    color: var(--faint);
    position: relative;
    z-index: 1;
}

.mk-week {
    display: flex;
    gap: 6px;
    padding: 0 18px;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.mk-day {
    flex: 1;
    border-radius: 10px;
    padding: 8px 4px 6px;
    text-align: center;
    background: transparent;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mk-day .mk-eyebrow { font-size: 9px; color: var(--faint); }

.mk-day-icon {
    color: var(--faint);
    display: block;
}

.mk-day-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--faint);
}

.mk-day-done { background: var(--surface); }
.mk-day-done .mk-day-icon { color: var(--accent); }

.mk-day-missed .mk-day-icon { color: var(--muted); }

.mk-day-today {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 16px var(--accent-dim);
}

.mk-day-today .mk-eyebrow { color: rgba(10, 13, 10, 0.65); }
.mk-day-today .mk-day-dot { background: #0a0d0a; }

/* Exercises list */
.mk-exos {
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.mk-exo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.mk-exo-num {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 9px;
    background: var(--surface-2);
    color: var(--faint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.mk-exo-done .mk-exo-num {
    background: var(--accent);
    color: #0a0d0a;
    font-weight: 900;
}

.mk-exo-info {
    flex: 1;
    min-width: 0;
}

.mk-exo-name {
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mk-exo-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.mk-exo-spec {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text);
    flex-shrink: 0;
}

.mk-exo-dot {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--faint);
    flex-shrink: 0;
}

.mk-exo-muscles {
    font-size: 10.5px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* Bottom nav */
.mk-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 74px;
    /* Fond opaque sans flou d'arrière-plan : le flou coûtait cher à animer
       (un par écran, recalculé à chaque image du carrousel) */
    background: #0a0d0a;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 32px;
    z-index: 3;
}

.mk-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--faint);
}

.mk-nav-active { color: var(--accent); }

.mk-nav-icon {
    display: block;
    color: inherit;
}

.mk-nav-item .mk-eyebrow {
    font-size: 9px;
    color: inherit;
}

/* ==========================================================================
   Mockup DÉTAIL SÉANCE
   ========================================================================== */

.mk-topbar {
    padding: 6px 18px 8px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.mk-topbar .mk-eyebrow {
    text-align: center;
    color: var(--faint);
}

.mk-back {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    color: var(--text);
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.mk-detail-title {
    padding: 6px 22px 16px;
    position: relative;
    z-index: 1;
}

.mk-detail-title .mk-eyebrow { margin-bottom: 6px; }

.mk-detail-h1 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text);
}

.mk-detail-meta {
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px;
}

.mk-stat-hero {
    margin: 0 18px;
    padding: 18px 20px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mk-stat-hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-dim), transparent 70%);
    pointer-events: none;
}

.mk-stat-hero-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
}

.mk-stat-hero-pct {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mk-stat-hero-val {
    font-family: var(--font-display);
    font-size: 52px;
    line-height: 0.9;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mk-stat-hero-val span {
    font-size: 22px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-weight: 600;
    margin-left: 1px;
}

.mk-stat-hero-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 16px;
    border-left: 1px solid var(--border);
}

.mk-stat-mini-val {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.mk-stat-mini-val span {
    font-size: 11px;
    color: var(--faint);
}

.mk-stat-hero-mini .mk-eyebrow { font-size: 9px; margin-top: 2px; }

.mk-stat-segs {
    position: relative;
    margin-top: 16px;
    display: flex;
    gap: 4px;
}

.mk-stat-segs span {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--accent);
}

.mk-detail-ctas {
    display: flex;
    gap: 8px;
    padding: 14px 18px 0;
    position: relative;
    z-index: 1;
}

.mk-detail-cta {
    flex: 1;
    height: 50px;
    margin-top: 0;
    border-radius: 14px;
}

.mk-detail-share {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.mk-detail-sect {
    padding: 22px 22px 10px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    position: relative;
    z-index: 1;
}

.mk-detail-sect-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-top: 4px;
}

.mk-detail-sect-count {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.mk-detail-exos {
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.mk-detail-exo {
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mk-detail-exo-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mk-detail-exo-n {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--surface-2);
    color: var(--faint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.mk-detail-exo-done {
    background: var(--accent);
    color: #0a0d0a;
    font-weight: 900;
}

.mk-detail-exo-name {
    flex: 1;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
}

.mk-detail-exo-pct {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.03em;
}

.mk-detail-exo-spec {
    padding-left: 40px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text);
    letter-spacing: -0.03em;
    align-items: center;
}

.mk-detail-exo-spec .mk-spec-soft { color: var(--muted); }

.mk-dotsep { color: var(--faint); font-size: 11px; }

.mk-detail-exo-bar {
    height: 3px;
    background: var(--surface-2);
    border-radius: 2px;
    margin-left: 40px;
    overflow: hidden;
}

.mk-detail-exo-bar > div {
    width: 100%;
    height: 100%;
    background: var(--accent);
}

.mk-detail-exo-chips {
    display: flex;
    gap: 5px;
    padding-left: 40px;
    flex-wrap: wrap;
}

.mk-detail-exo-chips span {
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   Mockup EXERCICE EN COURS
   ========================================================================== */

.mk-topbar-ex {
    grid-template-columns: auto 1fr auto;
    padding: 6px 18px 4px;
}

.mk-topbar-ex .mk-back {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 16px;
}

.mk-ex-step {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.mk-ex-progress {
    display: flex;
    gap: 4px;
    margin: 4px 18px 0;
    position: relative;
    z-index: 1;
}

.mk-ex-progress span {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: var(--surface-2);
}

.mk-ex-progress .is-on { background: var(--accent); }

.mk-ex-title-block {
    padding: 22px 22px 18px;
    position: relative;
    z-index: 1;
}

.mk-ex-title-block .mk-eyebrow { margin-bottom: 8px; }

.mk-ex-h1 {
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text);
    font-weight: 700;
}

.mk-ex-chips {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.mk-ex-chips span {
    padding: 4px 10px;
    border-radius: var(--r-pill);
    font-size: 11px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--muted);
}

.mk-ex-specs {
    margin: 0 18px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.mk-ex-specs-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mk-ex-specs-2 {
    display: flex;
    gap: 28px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    justify-content: space-evenly;
}

.mk-ex-spec {
    text-align: center;
}

.mk-ex-specs-3 .mk-ex-spec:not(:first-child) {
    border-left: 1px solid var(--border);
    padding-left: 10px;
}

.mk-ex-spec-val {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.mk-ex-spec .mk-eyebrow { font-size: 9px; margin-top: 4px; }

.mk-ex-note {
    margin: 16px 18px 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 12px;
    z-index: 1;
}

.mk-ex-note::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 211, 74, 0.10), transparent 70%);
    pointer-events: none;
}

.mk-ex-note-badge {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1.5px solid var(--warn);
    color: var(--warn);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.mk-ex-note-body {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.mk-ex-note-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.mk-eyebrow-warn { color: var(--warn); font-size: 9px; }

.mk-ex-note-author {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--faint);
    letter-spacing: -0.03em;
}

.mk-ex-note-text {
    font-size: 12.5px;
    color: var(--text);
    line-height: 1.45;
    font-style: italic;
}

.mk-quote {
    color: var(--warn);
    font-style: normal;
    font-size: 16px;
}

.mk-quote:first-child { margin-right: 4px; }
.mk-quote:last-child { margin-left: 2px; }

.mk-ex-series-head {
    padding: 18px 22px 8px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    position: relative;
    z-index: 1;
}

.mk-ex-series-count {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.mk-ex-series-count em {
    font-style: normal;
    color: var(--faint);
}

.mk-ex-series {
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.mk-ex-serie {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 14px;
}

.mk-ex-serie-active {
    background: var(--bg);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-dim);
}

.mk-ex-serie-num {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--accent);
    color: #0a0d0a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
}

.mk-ex-serie-num-active {
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
}

.mk-ex-serie-info { flex: 1; min-width: 0; }

.mk-ex-serie-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.mk-ex-serie-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.mk-ex-serie-row .mk-eyebrow { font-size: 9px; }

.mk-ex-serie-meta {
    display: flex;
    gap: 12px;
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: -0.03em;
}

.mk-ex-serie-meta em {
    font-style: normal;
    color: var(--text);
}

.mk-ex-actionbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 18px 16px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    z-index: 3;
}

.mk-ex-validate {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    background: var(--accent);
    color: #0a0d0a;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 0 32px var(--accent-dim);
    cursor: default;
}

.mk-ex-validate-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(10, 13, 10, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

