/* ==========================================================================
   Vitalité — hub de programmes (PWA)
   ========================================================================== */
:root {
  --bg: #0d0b09; --bg2: #14110d; --card: #17140f; --card2: #1d1913;
  --line: rgba(214, 178, 104, .2); --line2: rgba(255, 255, 255, .07);
  --gold: #d9b263; --gold-2: #f0d48d; --gold-3: #a8823a;
  --green: #74b578; --green-d: #4f8f55; --text: #f3ece2; --muted: #b8ab9a; --dim: #7f7466;
  --danger: #ff8a80; --r: 18px;
  --serif: Lora, Georgia, "Times New Roman", serif;
  --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); font-size: 15px; background: var(--bg); -webkit-font-smoothing: antialiased; min-height: 100dvh; overscroll-behavior-y: none; }
body.locked { overflow: hidden; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
a { color: var(--gold-2); }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
em { font-style: italic; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
@keyframes slideIn { from { opacity: .3; transform: translateX(36px); } }
@keyframes pulse { 50% { transform: scale(1.06); opacity: .75; } }

.splash { position: fixed; inset: 0; display: grid; place-items: center; z-index: 99; background: var(--bg); }
.splash img { width: 96px; height: 96px; border-radius: 22px; animation: pulse 1.4s ease-in-out infinite; }
.brand, .brand-sm { font-family: Cinzel, serif; background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--r); }
.serif { font-family: var(--serif); }
.eyebrow { margin: 0 0 6px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.muted { color: var(--muted); }

/* ---------- LOGIN ---------- */
.login { min-height: 100dvh; max-width: 460px; margin: 0 auto; padding: calc(56px + var(--st)) 20px calc(28px + var(--sb)); display: flex; flex-direction: column; align-items: center; text-align: center; background: radial-gradient(100% 50% at 50% 0%, #2a1a10, transparent); }
.login-logo { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 18px 50px rgba(181, 23, 44, .3), 0 0 0 1px var(--line); }
.brand { font-size: 42px; margin: 22px 0 4px; }
.login-sub { margin: 0; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.login-tag { margin: 8px 0 30px; color: var(--muted); font-size: 14px; }
.login-card { width: 100%; padding: 28px 24px; text-align: left; }
.label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.input-wrap { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 52px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); color: var(--muted); }
.input-wrap:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 178, 99, .18); }
.input-wrap input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 16px; }
.error { color: var(--danger); font-size: 13.5px; margin: 12px 0 0; line-height: 1.45; }
.login-help { margin: 20px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.support-link { text-decoration: none; }
.footer { color: var(--dim); font-size: 12.5px; text-align: center; margin: 26px 0 0; line-height: 1.55; }

/* ---------- BOUTONS ---------- */
.btn-gold, .btn-green, .btn-ghost, .btn-light, .btn-red { min-height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 15px; padding: 0 18px; text-decoration: none; transition: transform .12s, opacity .2s; width: 100%; text-align: center; }
.btn-gold { color: #2a1806; background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); box-shadow: 0 10px 26px rgba(217, 178, 99, .16), inset 0 1px 0 rgba(255, 255, 255, .45); margin-top: 18px; }
.btn-green { color: #10220f; background: linear-gradient(180deg, #86c389, #66a96b); box-shadow: 0 10px 26px rgba(116, 181, 120, .2); }
.btn-ghost { border: 1px solid var(--line); color: var(--gold-2); background: rgba(255, 255, 255, .03); }
.btn-light { background: #f4ede2; color: #1d1913; }
.btn-red { color: #fff; background: linear-gradient(180deg, #c64a5a, #a3293b); box-shadow: 0 10px 24px rgba(163, 41, 59, .3); letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.btn-gold:active, .btn-green:active, .btn-ghost:active, .btn-light:active, .btn-red:active { transform: scale(.98); }
button[disabled] { opacity: .45; pointer-events: none; }
.inline-btns { display: flex; gap: 10px; }
.inline-btns > * { flex: 1; min-height: 44px; font-size: 13.5px; }
.sq-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); background: rgba(255, 255, 255, .03); }
.sq-btn svg { width: 18px; height: 18px; }

/* ---------- SHELL HUB ---------- */
#app { max-width: 560px; margin: 0 auto; padding-bottom: calc(92px + var(--sb)); }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: calc(10px + var(--st)) 16px 10px; background: rgba(13, 11, 9, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line2); }
.topbar-brand { display: flex; align-items: center; gap: 10px; }
.topbar-brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-sm { font-size: 20px; font-weight: 700; }
.tab-view { padding: 16px 16px 8px; animation: fade .25s ease; }
.bottom-nav { position: fixed; z-index: 25; left: 50%; transform: translateX(-50%); bottom: calc(10px + var(--sb)); width: calc(100% - 24px); max-width: 536px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 7px; background: rgba(20, 17, 13, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line2); border-radius: 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.bn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; border-radius: 15px; color: var(--dim); font-size: 11px; font-weight: 600; }
.bn svg { width: 21px; height: 21px; }
.bn.on { color: var(--gold-2); background: rgba(217, 178, 99, .12); }
.wa { position: fixed; z-index: 60; left: 16px; bottom: calc(92px + var(--sb)); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
.wa svg { width: 27px; height: 27px; }

/* Vidéo épinglée */
.video-card { position: relative; width: 100%; aspect-ratio: 16 / 7.4; border-radius: var(--r); overflow: hidden; border: 1px solid var(--gold-3); display: block; text-align: left; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); background: #000; }
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 6, 5, .94) 0%, rgba(8, 6, 5, .6) 55%, rgba(8, 6, 5, .15)); }
.video-card .play { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #2a1806; background: radial-gradient(circle at 35% 30%, var(--gold-2), var(--gold) 50%, #9a6a22); box-shadow: 0 0 0 8px rgba(217, 178, 99, .14); animation: ring 2.2s ease-in-out infinite; }
.video-card .play svg { width: 24px; height: 24px; fill: currentColor; stroke: none; margin-left: 3px; }
@keyframes ring { 50% { box-shadow: 0 0 0 14px rgba(217, 178, 99, .04); } }
.video-card .txt { position: absolute; left: 16px; right: 92px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 5px; }
.video-card small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.video-card strong { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.video-card em { font-style: normal; font-size: 12px; color: var(--muted); }
.video-card .seen { position: absolute; top: 10px; right: 10px; font-size: 10.5px; padding: 4px 8px; border-radius: 99px; background: rgba(116, 181, 120, .18); color: #bfe6c1; border: 1px solid rgba(116, 181, 120, .4); }

.club { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; }
.club .ic { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.club .ic img { width: 100%; height: 100%; }
.club b { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.club span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hello { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 0 0 4px; line-height: 1.2; }
.hello + p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.featured { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: #000; }
.featured > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.featured::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 6, .1), rgba(10, 8, 6, .55) 45%, rgba(10, 8, 6, .97)); }
.featured > * { position: relative; z-index: 1; }
.dot-label { display: flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.dot-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.featured h2 { font-family: var(--serif); font-size: 32px; line-height: 1.08; margin: 10px 0 8px; }
.featured .tags { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.featured p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.5; color: #e6ddd0; }

.sec-title { margin: 30px 0 4px; }
.sec-title h2 { font-family: var(--serif); font-size: 23px; margin: 0; font-weight: 600; }
.prog-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line2); }
.prog-row:last-child { border-bottom: 0; }
.prog-row .thumb { width: 74px; height: 74px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); flex: none; background: #000; }
.prog-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.prog-row .info { flex: 1; min-width: 0; }
.prog-row .tag { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.prog-row .tag.gold { color: var(--gold); }
.prog-row b { display: block; font-size: 16px; margin: 3px 0 4px; }
.prog-row .st { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--dim); }
.prog-row .st.last { color: var(--gold); }
.prog-row .st.done { color: var(--green); }
.mini-bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); margin-top: 8px; overflow: hidden; }
.mini-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); border-radius: inherit; }
.arrow-c { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); flex: none; }
.arrow-c svg { width: 14px; height: 14px; }

.consult { padding: 18px; margin-top: 22px; }
.consult h3 { margin: 6px 0 2px; font-size: 15px; }
.consult .date { font-family: var(--serif); font-size: 26px; color: var(--gold); font-weight: 700; margin: 0 0 14px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown div { border: 1px solid var(--line2); border-radius: 12px; padding: 12px 0 9px; text-align: center; background: rgba(0, 0, 0, .25); }
.countdown b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.consult p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 14px 0 0; }

.install-banner { display: flex; align-items: center; gap: 12px; padding: 12px; margin-top: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(181, 23, 44, .18), rgba(217, 178, 99, .1)); border: 1px solid var(--line); }
.install-banner img { width: 38px; height: 38px; border-radius: 10px; }
.install-banner div { flex: 1; display: flex; flex-direction: column; font-size: 12.5px; color: var(--muted); }
.install-banner strong { color: var(--text); font-size: 14px; }
.btn-mini { border-radius: 9px; padding: 9px 13px; font-weight: 700; font-size: 13px; color: #2a1806; background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.x { color: var(--dim); font-size: 24px; line-height: 1; padding: 4px 8px; }

/* Grille programmes */
.prog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.prog-card { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1 / 1.2; text-align: left; background: #000; }
.prog-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prog-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8, 6, 5, .96)); }
.prog-card .t { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; }
.prog-card .tag { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--gold); }
.prog-card b { display: block; font-family: var(--serif); font-size: 17px; line-height: 1.2; margin: 3px 0 4px; }
.prog-card small { font-size: 11.5px; color: var(--muted); display: block; line-height: 1.35; }
.prog-card .pct { position: absolute; z-index: 1; top: 10px; right: 10px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; background: rgba(10, 8, 6, .7); border: 1px solid var(--line); color: var(--gold-2); }
.big-title { font-family: var(--serif); font-size: 30px; margin: 4px 0 4px; font-weight: 600; }

/* Profil */
.profile-card { padding: 26px 20px; text-align: center; }
.avatar { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; font: 700 28px Cinzel, serif; color: #2a1806; background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); }
.profile-card p { margin: 4px 0 0; color: var(--muted); word-break: break-all; }
.profile-card .name { color: var(--text); font-weight: 700; font-size: 18px; }
.row-btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 15px 16px; margin-top: 10px; text-decoration: none; color: var(--text); font-size: 15px; }
.row-btn span { flex: 1; }
.row-btn em { font-style: normal; color: var(--gold-2); word-break: break-all; }
.row-btn b { color: var(--dim); font-size: 20px; font-weight: 400; }
.row-btn svg { color: var(--gold); }
.row-btn.danger, .row-btn.danger svg { color: var(--danger); }
.pp-list { padding: 6px 16px; margin-top: 12px; }
.pp-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 11px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.pp-row:last-child { border: 0; }
.pp-row span { color: var(--gold-2); font-weight: 600; font-size: 13px; }
.pp-row .mini-bar { grid-column: 1 / -1; margin: 0; }

/* ==========================================================================
   ÉCRANS DE PROGRAMME (pile)
   ========================================================================== */
.screen { position: fixed; inset: 0; z-index: 40; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--bg); animation: slideIn .26s ease; }
.screen .wrap { max-width: 560px; margin: 0 auto; padding: 16px 16px calc(40px + var(--sb)); }
.pbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 10px; padding: calc(10px + var(--st)) 14px 10px; background: rgba(13, 11, 9, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line2); }
.pbar .back { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); }
.pbar .back svg { width: 16px; height: 16px; }
.pbar img { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line); }
.pbar .ttl { flex: 1; min-width: 0; font-family: var(--serif); font-weight: 700; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbar .ttl span { color: var(--gold); }
.pbar .count { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pbar .count::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.pbar .count.on::before { background: var(--green); }

.panel { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line2); border-radius: 16px; padding: 16px; margin-top: 14px; }
.panel.gold { border-color: var(--line); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; border: 1px solid var(--line); color: var(--gold-2); }
.chip.solid { background: var(--gold); color: #2a1806; border-color: var(--gold); }
.chip.green { border-color: rgba(116, 181, 120, .5); color: #a9dcab; }
.h-serif { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.stats3 > div { border: 1px solid var(--line2); border-radius: 14px; padding: 12px 8px; text-align: center; background: var(--card); }
.stats3 span { display: block; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 700; margin-bottom: 6px; }
.stats3 b { font-size: 16px; }
.acc { margin-top: 14px; border: 1px solid var(--line2); border-radius: 16px; background: var(--card); overflow: hidden; }
.acc > button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 16px; }
.acc > button h3 { font-family: var(--serif); font-size: 17px; margin: 0; font-weight: 600; }
.acc > button svg { color: var(--gold); transition: transform .2s; width: 18px; }
.acc.open > button svg { transform: rotate(180deg); }
.acc .acc-body { display: none; padding: 0 16px 16px; }
.acc.open .acc-body { display: block; animation: fade .2s; }
.num-list { display: grid; gap: 8px; }
.num-list div { display: flex; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line2); }
.num-list i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-size: 11.5px; font-weight: 700; background: rgba(217, 178, 99, .15); color: var(--gold-2); flex: none; }
.num-list b { display: block; font-size: 14px; margin-bottom: 2px; }
.num-list span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transition: width .5s; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; margin: 24px 0 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.label-row b { color: var(--gold); letter-spacing: 0; text-transform: none; font-size: 13px; }
.phase-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.phase-pills div { border: 1px solid var(--line2); border-radius: 12px; padding: 9px 6px; text-align: center; font-size: 12px; font-weight: 600; }
.phase-pills small { display: block; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 700; margin-bottom: 2px; }
.phase-pills .on { border-color: var(--gold); background: rgba(217, 178, 99, .1); color: var(--gold-2); }
.parcours-title { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px; font-family: var(--serif); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.parcours-title::before { content: ''; width: 18px; height: 1px; background: var(--gold); }
.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.day-tile { position: relative; aspect-ratio: 1 / 1.05; border-radius: 14px; border: 1px solid var(--line2); background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6px; }
.day-tile small { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.day-tile b { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin: 2px 0; }
.day-tile span { font-size: 10.5px; color: var(--muted); }
.day-tile.today { border: 1.5px solid var(--gold); box-shadow: 0 0 24px rgba(217, 178, 99, .12); }
.day-tile.today::after { content: "Aujourd'hui"; position: absolute; bottom: -8px; font-size: 8.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: var(--gold); color: #2a1806; }
.day-tile.done { border-color: rgba(116, 181, 120, .45); background: linear-gradient(180deg, rgba(116, 181, 120, .1), var(--card)); }
.day-tile.done b { color: var(--green); }
.day-tile.done::before { content: '✓'; position: absolute; top: 7px; right: 9px; color: var(--green); font-size: 12px; font-weight: 700; }
.day-tile.locked { opacity: .45; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-grid div { border: 1px solid var(--line2); border-radius: 12px; padding: 12px; background: rgba(255, 255, 255, .02); }
.shop-grid b { display: block; font-family: var(--serif); color: var(--gold-2); margin-bottom: 4px; font-size: 14px; }
.shop-grid span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.safety { font-size: 13px; color: var(--muted); line-height: 1.6; }
.safety b { color: var(--text); }
.note { font-size: 12px; color: var(--dim); text-align: center; line-height: 1.55; margin: 22px 8px 0; }

/* Intro masculin */
.intro-center { text-align: center; padding-top: 10px; }
.intro-center h1 { font-family: var(--serif); font-size: 31px; line-height: 1.18; margin: 8px 0 12px; }
.intro-center h1 em { color: var(--gold); }
.intro-center p { color: var(--muted); line-height: 1.55; font-size: 14.5px; margin: 0; }
.intro-center .stats3 b { font-family: var(--serif); color: var(--gold-2); font-size: 22px; }
.intro-center .stats3 span { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 11.5px; margin: 4px 0 0; }
.intro-center .fine { font-size: 12.5px; margin-top: 16px; }

/* Jour masculin */
.day-hero-img { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-top: 16px; aspect-ratio: 16 / 9.5; background: #000; }
.day-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.day-hero-img span { position: absolute; left: 14px; bottom: 12px; font-family: var(--serif); font-weight: 600; color: var(--gold-2); text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.block-h { display: flex; align-items: center; gap: 10px; margin: 26px 0 10px; }
.block-h .ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(217, 178, 99, .12); color: var(--gold); display: grid; place-items: center; }
.block-h .ic svg { width: 16px; height: 16px; }
.block-h h3 { flex: 1; font-family: var(--serif); font-size: 17px; margin: 0; font-weight: 600; }
.drink h4 { font-family: var(--serif); color: var(--gold-2); font-size: 16px; margin: 0 0 10px; }
.dots { list-style: none; margin: 0; padding: 0; }
.dots li { position: relative; padding: 4px 0 4px 16px; font-size: 14px; }
.dots li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 5px; height: 5px; border-radius: 1px; background: var(--gold); }
.drink p { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line2); color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.drink p b { color: var(--text); }
.check-list { display: grid; gap: 8px; }
.check-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); font-size: 14px; transition: background .2s, border-color .2s; }
.check-item .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--dim); display: grid; place-items: center; flex: none; }
.check-item .box svg { width: 13px; height: 13px; stroke-width: 3; opacity: 0; }
.check-item.on { border-color: rgba(116, 181, 120, .45); background: rgba(116, 181, 120, .07); }
.check-item.on .box { background: var(--green); border-color: var(--green); color: #10220f; }
.check-item.on .box svg { opacity: 1; }
.check-item.on span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .3); }
.tip-box p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; }
.tip-box p b { color: var(--gold-2); }
.exec { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.ring { position: relative; width: 52px; height: 52px; flex: none; }
.ring svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring .bgc { stroke: rgba(255, 255, 255, .1); }
.ring .fgc { stroke: var(--green); stroke-linecap: round; transition: stroke-dashoffset .5s; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; }
.exec h4 { margin: 0; font-size: 14px; }
.exec small { color: var(--muted); font-size: 12.5px; }
.day-nav { display: flex; gap: 10px; margin-top: 12px; }
.day-nav > * { flex: 1; min-height: 44px; font-size: 13.5px; }

/* ===================== SECRET (bordeaux) ===================== */
.screen.secret { background: radial-gradient(120% 50% at 50% 0%, #3a1220, #170b0f 55%, #120a0c); --line: rgba(232, 120, 150, .2); }
.story { position: fixed; inset: 0; z-index: 2; display: grid; place-items: center; padding: 20px; background: radial-gradient(90% 60% at 50% 45%, #3a1020, #120a0c 70%); }
.story-card { width: 100%; max-width: 380px; padding: 34px 26px 26px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); text-align: center; animation: fade .35s; }
.story-card .big { font-family: var(--serif); font-size: 52px; font-weight: 700; color: #d6a77a; line-height: 1; margin: 0 0 16px; }
.story-card p { font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.35; margin: 0 0 24px; }
.story-bars { display: flex; gap: 6px; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, .06); }
.story-bars i { flex: 1; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.story-bars i b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #e2557a, #f2c46b); }
.story-skip { position: absolute; bottom: calc(26px + var(--sb)); left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .55); font-size: 13px; }
.sec-hero { border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(180deg, rgba(120, 30, 55, .35), rgba(30, 12, 18, .6)); }
.sec-hero > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sec-hero .in { padding: 20px 18px; }
.pink-chip { display: inline-block; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(232, 120, 150, .45); color: #f2a7bc; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgba(232, 85, 122, .1); }
.sec-hero h1 { font-family: Inter, sans-serif; font-weight: 800; font-size: 32px; line-height: 1.08; letter-spacing: -.02em; margin: 14px 0 12px; }
.sec-hero h1 em { font-family: Fraunces, Georgia, serif; font-style: italic; color: #f3a6bd; font-weight: 600; }
.sec-hero p { color: #d7c2c8; line-height: 1.55; font-size: 14px; margin: 0 0 16px; }
.kv { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); margin-top: 8px; }
.kv b { font-size: 19px; font-weight: 800; }
.kv span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #c9b0b7; font-weight: 700; }
.warn-card { margin-top: 16px; padding: 18px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); }
.warn-card .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #e2725f; color: #fff; font-weight: 800; margin-bottom: 10px; }
.warn-card h4 { margin: 0 0 6px; font-size: 15px; }
.warn-card p { margin: 0; font-size: 13px; line-height: 1.55; color: #d7c2c8; }
.part { margin: 40px 0 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #e2557a; font-weight: 800; }
.part-h { font-family: Inter, sans-serif; font-weight: 800; font-size: 27px; letter-spacing: -.02em; margin: 0 0 8px; line-height: 1.12; }
.part-p { color: #cdb7be; font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.ing-card { display: flex; gap: 12px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .04); margin-top: 10px; }
.ing-card img { width: 92px; object-fit: cover; flex: none; }
.ing-card div { padding: 12px 12px 12px 0; }
.ing-card b { display: block; font-size: 15px; }
.qty { display: inline-block; margin: 6px 0; padding: 2px 9px; border-radius: 99px; background: #f2c94c; color: #2b1d00; font-size: 11.5px; font-weight: 800; }
.ing-card p { margin: 0; font-size: 12.5px; color: #cdb7be; line-height: 1.5; }
.img-card { position: relative; border-radius: 20px; overflow: hidden; margin-top: 30px; border: 1px solid rgba(255, 255, 255, .1); }
.img-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.img-card div { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px; background: linear-gradient(180deg, transparent, rgba(10, 5, 7, .92)); }
.img-card h3 { font-family: Inter, sans-serif; font-weight: 800; font-size: 22px; margin: 0 0 4px; }
.img-card p { margin: 0; font-size: 13px; color: #e1d0d5; }
.steps-box { margin-top: 14px; padding: 18px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .04); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.pills span { font-size: 11.5px; padding: 6px 10px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .14); color: #e6d6da; }
.nstep { display: flex; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .15); margin-top: 8px; }
.nstep i { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(180deg, #b83357, #7c1c37); color: #fff; font-style: normal; font-weight: 800; font-size: 12px; display: grid; place-items: center; flex: none; }
.nstep b { display: block; font-size: 14px; margin-bottom: 3px; }
.nstep span { font-size: 12.5px; color: #cdb7be; line-height: 1.5; }
.cream { margin-top: 30px; border-radius: 22px; overflow: hidden; background: #f4ede6; color: #2a1c1f; }
.cream > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cream .in { padding: 20px 18px 22px; }
.cream .part { margin-top: 0; color: #b8284f; }
.cream .part-h { color: #1e1316; }
.cream .part-p { color: #5a4a4e; }
.cream-row { padding: 12px 14px; border-radius: 12px; background: #fff; margin-top: 8px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
.cream-row b { display: block; font-size: 13.5px; }
.cream-row span { color: #9b1e44; font-weight: 700; font-size: 13px; }
.cream-note { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #f0d7d5; color: #6a3a41; font-size: 12.5px; line-height: 1.5; }
.rit { padding: 20px 18px 26px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); margin-top: 12px; }
.rit small { color: #f2c94c; font-size: 11px; letter-spacing: .16em; font-weight: 800; }
.rit h4 { font-family: Inter, sans-serif; font-weight: 800; font-size: 18px; margin: 12px 0 8px; }
.rit p { margin: 0; color: #cdb7be; font-size: 13.5px; line-height: 1.55; }
.rit p b { color: #fff; }
.faq { margin-top: 10px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.faq > button { width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 15px; font-weight: 700; font-size: 14px; line-height: 1.35; }
.faq > button i { width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(242, 201, 76, .5); color: #f2c94c; display: grid; place-items: center; font-style: normal; flex: none; }
.faq .a { display: none; padding: 0 15px 15px; color: #cdb7be; font-size: 13.5px; line-height: 1.6; }
.faq.open .a { display: block; }
.faq.open > button { color: #f2c94c; }
.dose-card { margin-top: 16px; padding: 18px; border-radius: 20px; border: 1px solid rgba(242, 201, 76, .3); background: linear-gradient(160deg, rgba(242, 201, 76, .1), rgba(226, 85, 122, .08)); }
.dose-top { display: flex; align-items: center; gap: 16px; }
.dose-num { font-size: 40px; font-weight: 800; line-height: 1; color: #f2c94c; font-variant-numeric: tabular-nums; }
.dose-top p { margin: 2px 0 0; color: #e1d0d5; font-size: 13px; }
.dose-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 16px 0 4px; }
.dose-week div { text-align: center; font-size: 10px; color: #b9a1a8; text-transform: uppercase; }
.dose-week i { display: block; width: 100%; aspect-ratio: 1; border-radius: 9px; margin-bottom: 4px; border: 1px solid rgba(255, 255, 255, .12); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.dose-week i.on { background: linear-gradient(180deg, #e2557a, #a3293b); border-color: transparent; color: #fff; }
.dose-week i.today { border-color: #f2c94c; }
.screen.secret .btn-gold { background: linear-gradient(135deg, #f6d675, #f2c94c 50%, #c99a23); }
.screen.secret .btn-gold.done { background: rgba(116, 181, 120, .18); color: #bfe6c1; box-shadow: inset 0 0 0 1px rgba(116, 181, 120, .45); }

/* ===================== PASTÈQUE (clair) ===================== */
.screen.light { background: #e9e2d6; color: #1c1a17; --pr: #b8324a; --pg: #1f3a2a; --pline: rgba(0, 0, 0, .08); }
.screen.light .pbar { background: rgba(28, 26, 23, .96); color: #f3ece2; }
.pas-head { margin: 0 -16px; padding: 16px 16px 30px; background: radial-gradient(90% 70% at 85% 35%, rgba(184, 50, 74, .35), transparent 60%), #171512; color: #f3ece2; border-radius: 0 0 26px 26px; position: relative; overflow: hidden; }
.pas-head .row1 { display: flex; align-items: center; gap: 10px; }
.pas-head .row1 img { width: 34px; height: 34px; border-radius: 9px; }
.pas-head .row1 small { display: block; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: #c9bfae; font-weight: 700; }
.pas-head .row1 b { font-family: var(--serif); font-size: 17px; }
.wk-chip { display: inline-block; margin-top: 20px; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .25); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #efe6d6; }
.pas-head .hi { margin: 16px 0 2px; font-size: 14px; color: #e5dccd; }
.pas-head h1 { font-family: var(--serif); font-size: 38px; line-height: 1.04; margin: 0 0 12px; max-width: 72%; font-weight: 700; position: relative; z-index: 1; }
.pas-head p { margin: 0; font-size: 13px; color: #cfc5b5; line-height: 1.5; max-width: 80%; position: relative; z-index: 1; }
.melon-art { position: absolute; right: -24px; top: 70px; width: 170px; height: 170px; opacity: .95; }
.melon-art svg { width: 100%; height: 100%; }
.l-card { background: #fffdf8; border-radius: 18px; padding: 16px; margin-top: 12px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 10px 30px rgba(60, 40, 20, .06); }
.l-card.mission { margin-top: -18px; position: relative; z-index: 2; border: 1px solid rgba(184, 50, 74, .15); }
.l-eyebrow { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--pr); }
.l-card h2, .l-h { font-family: var(--serif); font-weight: 700; margin: 4px 0 4px; font-size: 22px; color: #16130f; }
.l-card p { margin: 0; color: #6a6257; font-size: 13.5px; line-height: 1.5; }
.l-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.l-stats div { background: #fffdf8; border-radius: 14px; padding: 12px 6px; text-align: center; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
.l-stats span { display: block; font-size: 10.5px; color: #6a6257; margin-bottom: 4px; }
.l-stats b { font-size: 15px; }
.screen.light .num-list div { background: #f4efe6; border-color: transparent; }
.screen.light .num-list i { background: var(--pg); color: #fff; border-radius: 50%; }
.screen.light .num-list span { color: #6a6257; }
.screen.light .acc { background: #fffdf8; border-color: transparent; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
.screen.light .acc > button h3 { color: #16130f; }
.screen.light .acc > button svg { color: #6a6257; }
.l-pct { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 8px; }
.l-pct h2 { margin: 0; font-family: var(--serif); font-size: 24px; }
.l-pct b { font-size: 18px; }
.screen.light .bar { background: rgba(0, 0, 0, .08); }
.screen.light .bar i { background: linear-gradient(90deg, #c64a5a, #e07a52); }
.wk-title { margin: 20px 0 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: #6a6257; }
.pday-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.pday { aspect-ratio: 1; border-radius: 12px; background: #fffdf8; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 17px; color: #16130f; position: relative; box-shadow: 0 1px 0 rgba(0, 0, 0, .05); }
.pday.done { background: var(--pg); color: #fff; }
.pday.today { box-shadow: 0 0 0 2px var(--pr); color: var(--pr); }
.pday.locked { opacity: .4; }
.pas-day-hero { margin: 0 -16px; padding: 18px 16px 22px; background: radial-gradient(70% 60% at 100% 100%, rgba(184, 50, 74, .45), transparent 60%), #171512; color: #f3ece2; position: relative; overflow: hidden; }
.pas-day-hero .num { position: absolute; right: 16px; top: 8px; font-family: var(--serif); font-size: 54px; font-weight: 700; color: rgba(255, 255, 255, .07); }
.pas-day-hero h1 { font-family: var(--serif); font-size: 36px; line-height: 1.05; margin: 14px 0 10px; font-weight: 700; max-width: 80%; }
.pas-day-hero p { margin: 0; color: #cfc5b5; font-size: 13.5px; line-height: 1.5; max-width: 82%; }
.focus { margin-top: 16px; padding: 10px 12px; border-left: 3px solid #e3b65a; background: rgba(255, 255, 255, .06); max-width: 76%; }
.focus small { display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #e3b65a; font-weight: 800; }
.focus b { font-size: 13.5px; }
.pas-day-hero .melon-art { top: auto; bottom: -30px; right: -30px; width: 140px; height: 140px; }
.formula { display: flex; gap: 14px; align-items: center; width: 100%; padding: 12px; border-radius: 16px; background: #fffdf8; margin-top: 10px; border: 1.5px solid transparent; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); position: relative; }
.formula.on { border-color: var(--pr); }
.formula .ico { width: 58px; height: 58px; border-radius: 14px; background: #1c1a17; display: grid; place-items: center; flex: none; }
.formula .ico svg { width: 40px; height: 40px; }
.formula .t { flex: 1; min-width: 0; }
.formula b { display: block; font-family: var(--serif); font-size: 17px; color: #16130f; }
.formula small { color: #6a6257; font-size: 12.5px; }
.rec { display: inline-block; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--pr); background: rgba(184, 50, 74, .1); padding: 3px 8px; border-radius: 99px; margin-bottom: 4px; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #c9c0b2; flex: none; align-self: flex-start; display: grid; place-items: center; }
.formula.on .radio { border-color: var(--pr); }
.formula.on .radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--pr); }
.f-detail { margin-top: 12px; border-radius: 18px; padding: 18px; background: linear-gradient(180deg, #24332a, #1a2620); color: #eef0ea; animation: fade .25s; }
.f-detail .hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.f-detail .hd small { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #c9d4c7; font-weight: 800; }
.f-detail .hd h3 { font-family: var(--serif); font-size: 22px; margin: 2px 0 0; }
.f-detail .size { font-size: 10.5px; padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, .1); white-space: nowrap; }
.f-detail h5 { margin: 14px 0 6px; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #e3b65a; }
.f-detail ul, .f-detail ol { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.65; }
.f-detail p { margin: 0; font-size: 13px; line-height: 1.55; color: #dfe4dc; }
.f-detail section { padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.f-detail section:last-child { border: 0; padding-bottom: 0; }
.act { border-radius: 16px; background: #fffdf8; margin-top: 10px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); overflow: hidden; }
.act .hd { display: flex; align-items: center; gap: 12px; padding: 14px; width: 100%; }
.cbx { width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid #cfc6b8; display: grid; place-items: center; flex: none; color: #fff; }
.cbx svg { width: 15px; height: 15px; stroke-width: 3; opacity: 0; }
.act.on .cbx { background: var(--pg); border-color: var(--pg); }
.act.on .cbx svg { opacity: 1; }
.act .hd .t { flex: 1; min-width: 0; }
.act .hd small { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--pr); }
.act .hd b { display: block; font-size: 14.5px; color: #16130f; margin-top: 2px; }
.act .chev { color: #8a8174; transition: transform .2s; }
.act.open .chev { transform: rotate(180deg); }
.act .bd { padding: 0 14px 14px 54px; font-size: 13px; color: #4f483f; line-height: 1.55; }
.act:not(.open) .bd { max-height: 26px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.act .why { margin: 10px 0; padding: 10px 12px; border-radius: 10px; background: #f1ebe0; }
.act .why small { display: block; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: #16130f; margin-bottom: 2px; }
.act .rep { font-weight: 600; color: #16130f; }
.scale { background: #fffdf8; border-radius: 14px; padding: 12px; margin-top: 8px; }
.scale .top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: #16130f; margin-bottom: 8px; }
.scale .top small { font-weight: 400; color: #8a8174; font-size: 11px; }
.scale .opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.scale .opts button { height: 38px; border-radius: 9px; border: 1px solid #d8d0c3; background: #f4efe6; font-weight: 700; color: #16130f; }
.scale .opts button.on { background: var(--pg); border-color: var(--pg); color: #fff; }
.repere { margin-top: 14px; padding: 12px 14px; border-left: 3px solid #e3b65a; background: #fbf3e2; border-radius: 0 12px 12px 0; font-size: 13px; line-height: 1.55; color: #4f483f; }
.repere small { display: block; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: #a37820; margin-bottom: 2px; }
.validate { margin-top: 14px; background: #fffdf8; border-radius: 18px; padding: 16px; }
.validate .row { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.validate .ring .fgc { stroke: var(--pr); }
.validate .ring .bgc { stroke: #ebe4d8; }
.validate .ring b { color: #16130f; }
.validate h4 { margin: 2px 0; font-family: var(--serif); font-size: 17px; color: #16130f; }
.validate small { color: #6a6257; font-size: 12px; }
.btn-dark { width: 100%; min-height: 48px; border-radius: 12px; background: #24332a; color: #fff; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; }
.screen.light .note { color: #6a6257; }
.screen.light .day-nav .btn-ghost { color: #16130f; border-color: rgba(0, 0, 0, .12); background: #fffdf8; }

/* ===================== GLUCOMAX ===================== */
.g-head { text-align: center; padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.g-head .chip { font-size: 9.5px; }
.g-head h1 { font-family: var(--serif); font-size: 34px; color: var(--gold-2); margin: 14px 0 8px; line-height: 1.1; }
.g-head p { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; line-height: 1.5; }
.g-author { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.g-author i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: rgba(217, 178, 99, .15); color: var(--gold); font-size: 10px; font-weight: 700; }
.g-mod { display: block; width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: var(--card); margin-top: 14px; text-align: left; }
.g-mod .img { position: relative; height: 104px; background: #000; }
.g-mod .img img { width: 100%; height: 100%; object-fit: cover; }
.g-mod .img .n { position: absolute; right: 12px; top: 6px; font-family: var(--serif); font-size: 30px; color: rgba(255, 255, 255, .12); font-weight: 700; }
.g-mod .img .ok { position: absolute; left: 12px; top: 10px; font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 99px; background: rgba(116, 181, 120, .25); color: #c9ecca; border: 1px solid rgba(116, 181, 120, .5); }
.g-mod .in { padding: 14px 16px 6px; }
.g-mod h3 { font-family: var(--serif); font-size: 19px; margin: 3px 0 4px; }
.g-mod p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.45; }
.g-mod .ft { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px 12px; margin-top: 10px; border-top: 1px solid var(--line2); font-size: 11.5px; color: var(--dim); }
.g-mod.done { border-color: rgba(116, 181, 120, .35); }
.back-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line2); font-size: 12.5px; color: var(--muted); }
.art-head { padding: 18px 0 18px; border-bottom: 1px solid var(--line2); margin-bottom: 18px; }
.art-head h1 { font-family: var(--serif); font-size: 26px; line-height: 1.22; margin: 0 0 8px; }
.art-head p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.article { font-size: 15px; line-height: 1.7; color: #d8cfc2; }
.article p { margin: 0 0 14px; }
.article b { color: var(--text); }
.article h3 { font-family: var(--serif); font-size: 20px; color: var(--text); margin: 26px 0 10px; }
.callout { margin: 16px 0; padding: 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.6; }
.callout.gold { background: rgba(217, 178, 99, .08); border: 1px solid rgba(217, 178, 99, .3); border-left: 3px solid var(--gold); }
.callout.green { background: rgba(116, 181, 120, .08); border: 1px solid rgba(116, 181, 120, .3); }
.callout.red { background: rgba(255, 120, 110, .07); border: 1px solid rgba(255, 120, 110, .3); }
.checks { list-style: none; padding: 0; margin: 0 0 14px; }
.checks li { position: relative; padding: 6px 0 6px 30px; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: var(--green); border: 1px solid rgba(116, 181, 120, .5); }
.fine { font-size: 12px !important; color: var(--dim) !important; padding: 14px; border-radius: 12px; border: 1px solid var(--line2); line-height: 1.55; }
.recipe-box { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); }
.recipe-box .hd { padding: 16px; border-bottom: 1px solid var(--line2); }
.recipe-box .hd h3 { font-family: var(--serif); font-size: 19px; margin: 0 0 4px; }
.recipe-box .hd small { color: var(--dim); font-size: 12px; }
.recipe-box .bd { padding: 16px; }
.recipe-box h6 { margin: 0 0 10px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.ing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.ing-grid div { display: flex; gap: 8px; padding: 10px; border-radius: 10px; border: 1px solid var(--line2); }
.ing-grid i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 10px; color: var(--gold); flex: none; }
.ing-grid b { display: block; font-size: 13px; }
.ing-grid small { color: var(--muted); font-size: 11.5px; }
.gsteps { display: grid; gap: 12px; }
.gsteps div { display: flex; gap: 12px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.gsteps div b { color: var(--text); }
.gsteps i { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #2a1806; font-style: normal; font-weight: 800; font-size: 12px; display: grid; place-items: center; flex: none; }
.plan-day { display: flex; gap: 14px; width: 100%; padding: 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card); margin-top: 8px; text-align: left; }
.plan-day .d { width: 44px; text-align: center; flex: none; }
.plan-day .d b { display: block; font-family: var(--serif); font-size: 26px; color: var(--gold); line-height: 1; }
.plan-day .d small { font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.plan-day h4 { margin: 0 0 4px; font-size: 14px; }
.plan-day p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.plan-day.on { border-color: rgba(116, 181, 120, .5); background: rgba(116, 181, 120, .06); }
.plan-day.on .d b { color: var(--green); }
.plan-day .box { margin-left: auto; align-self: center; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--dim); display: grid; place-items: center; flex: none; }
.plan-day.on .box { background: var(--green); border-color: var(--green); color: #10220f; }
.plan-day .box svg { width: 13px; height: 13px; stroke-width: 3; opacity: 0; }
.plan-day.on .box svg { opacity: 1; }
.habit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.habit-grid div { padding: 16px 12px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card); text-align: center; }
.habit-grid i { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 10px; background: rgba(217, 178, 99, .1); font-style: normal; font-size: 20px; }
.habit-grid b { display: block; font-size: 13.5px; margin-bottom: 6px; }
.habit-grid small { color: var(--muted); font-size: 12px; line-height: 1.45; display: block; }
.breath { text-align: center; padding: 22px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); margin: 18px 0; }
.bcircle { width: 150px; height: 150px; margin: 6px auto 10px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(217, 178, 99, .35); position: relative; }
.bcircle i { width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 178, 99, .55), rgba(217, 178, 99, .12) 70%); box-shadow: 0 0 40px rgba(217, 178, 99, .25); transition: transform 4s ease-in-out; }
.bcircle span { position: absolute; font-family: var(--serif); font-size: 30px; color: var(--gold-2); font-weight: 700; }
.bphase { color: var(--gold); font-weight: 700; font-size: 15px; min-height: 22px; }
.bmeta { color: var(--muted); font-size: 12.5px; margin: 4px 0 16px; }
.bsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 16px; }
.bsteps div { border: 1px solid var(--line2); border-radius: 10px; padding: 10px 0; transition: .3s; }
.bsteps div.on { border-color: var(--gold); background: rgba(217, 178, 99, .1); }
.bsteps b { display: block; font-family: var(--serif); font-size: 22px; color: var(--gold-2); }
.bsteps small { font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); display: block; }
.mod-foot { display: grid; gap: 10px; margin-top: 26px; }

/* ===================== ACCÉLÉRATEUR ===================== */
.acc-cover { width: 120px; margin: 10px auto 14px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(217, 178, 99, .15); }
.acc-title { text-align: center; font-family: var(--serif); font-size: 25px; margin: 0 0 6px; line-height: 1.25; }
.acc-title em { color: var(--gold); }
.acc-mod { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card); margin-top: 10px; text-align: left; }
.acc-mod .ic { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 19px; flex: none; background: rgba(217, 178, 99, .06); }
.acc-mod .t { flex: 1; min-width: 0; }
.acc-mod small { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--gold); }
.acc-mod b { display: block; font-size: 15px; margin: 2px 0; }
.acc-mod span { font-size: 12.5px; color: var(--muted); }
.acc-mod .ok { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--green); color: var(--green); display: grid; place-items: center; flex: none; }
.acc-mod .ok svg { width: 13px; height: 13px; stroke-width: 3; }
.acc-mod.done { border-color: rgba(116, 181, 120, .35); }
.acc-mod.next { border-color: var(--line); }
.mod-hero { text-align: center; padding: 10px 0 4px; }
.mod-hero .ic { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line); background: rgba(217, 178, 99, .1); display: grid; place-items: center; font-size: 26px; margin: 0 auto 10px; }
.mod-hero h1 { font-family: var(--serif); font-size: 28px; margin: 4px 0 2px; line-height: 1.15; }
.mod-hero h1 em { display: block; color: var(--gold); }
.mod-hero p { color: var(--muted); font-size: 13.5px; margin: 6px 0 0; }
.ins { padding: 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card); margin-top: 14px; }
.ins h4 { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line2); font-size: 14.5px; }
.ins p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.ins p b { color: var(--text); }
.seq { display: flex; gap: 12px; padding: 10px 0; }
.seq i { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-style: normal; font-size: 11.5px; flex: none; }
.seq b { display: block; font-size: 14px; margin-bottom: 3px; }
.seq span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.dose3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.dose3 div { text-align: center; padding: 12px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.dose3 b { display: block; font-size: 14px; }
.dose3 span { display: block; color: var(--gold); font-weight: 700; font-size: 13px; margin: 4px 0 2px; }
.dose3 small { color: var(--dim); font-size: 11px; }
.combo { display: flex; gap: 12px; padding: 10px 0; }
.combo i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; flex: none; border: 1px solid; }
.combo i.x { color: #e9a24a; border-color: rgba(233, 162, 74, .5); }
.combo i.v { color: var(--green); border-color: rgba(116, 181, 120, .5); }
.combo b { display: block; font-size: 14px; }
.combo span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.hab { display: flex; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card); margin-top: 8px; }
.hab i { font-style: normal; font-size: 20px; flex: none; }
.hab b { display: block; font-size: 14px; margin-bottom: 3px; }
.hab p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.hab small { display: block; margin-top: 6px; color: var(--gold); font-size: 11px; font-weight: 600; }
.alert-red { margin-top: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 120, 110, .3); border-left: 3px solid #e2574c; background: rgba(226, 87, 76, .07); font-size: 13px; line-height: 1.55; color: #e7cfc9; }
.alert-red b { color: #fff; }

/* ===================== BICARBONATE ===================== */
.today-card { position: relative; overflow: hidden; margin-top: 4px; padding: 20px 18px; min-height: 290px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 20px; border: 1px solid var(--line); }
.today-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.today-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 8, 7, .1), rgba(11, 8, 7, .7) 50%, rgba(11, 8, 7, .97)); z-index: 0; }
.today-card > *:not(img) { position: relative; z-index: 1; }
.today-card h2 { font-family: var(--serif); font-size: 34px; margin: 2px 0 6px; line-height: 1.08; }
.today-card .ben { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; }
.pct-row { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--muted); }
.pct-row b { color: var(--gold); }
.rec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rec-card { position: relative; aspect-ratio: 1 / 1.05; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); text-align: left; background: #000; }
.rec-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rec-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 6, 5, .95)); pointer-events: none; }
.rec-card .t { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; pointer-events: none; }
.rec-card b { display: block; font-family: var(--serif); font-size: 17px; }
.rec-card small { color: var(--gold); font-size: 12px; }
.rec-card.current { border-color: var(--green); }
.star { position: absolute; z-index: 2; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(11, 8, 7, .6); border: 1px solid var(--line); color: var(--gold); }
.star svg { width: 17px; height: 17px; }
.star.on svg { fill: var(--gold); }
.b-hero { position: relative; margin: -16px -16px 0; height: 300px; background: #000 center / cover no-repeat; }
.b-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 8, 7, .2), transparent 30%, rgba(11, 8, 7, .6) 65%, var(--bg)); }
.b-hero .t { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 6px; }
.b-hero h1 { font-family: var(--serif); font-size: 38px; margin: 10px 0 2px; line-height: 1.05; }
.b-hero p { margin: 0; color: var(--gold); }
.ing-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px dashed rgba(217, 178, 99, .2); font-size: 14px; }
.ing-row:first-of-type { border-top: 0; }
.ing-row b { color: var(--gold); white-space: nowrap; }
.step-dots { display: flex; gap: 6px; }
.step-dots i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--dim); display: grid; place-items: center; font-style: normal; font-size: 12px; color: var(--muted); }
.step-dots i.on { background: var(--gold); border-color: var(--gold); color: #2a1806; font-weight: 700; }
.step-dots i.past { border-color: var(--gold-3); color: var(--gold); }
.step-card img { width: 100%; aspect-ratio: 2 / 1.05; object-fit: cover; border-radius: 14px; }
.step-card p { font-family: var(--serif); font-size: 21px; line-height: 1.35; margin: 16px 2px 4px; }

/* ===================== MODALES ===================== */
.video-modal { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .94); display: grid; place-items: center; padding: calc(16px + var(--st)) 12px calc(16px + var(--sb)); animation: fade .2s; }
.video-box { width: 100%; max-width: 900px; }
.video-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-family: var(--serif); font-size: 17px; color: var(--gold-2); }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .mask-top { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 58px; }
.video-frame .mask-corner { position: absolute; z-index: 3; right: 0; top: 0; width: 76px; height: 64px; background: #000; }
.sheet { position: fixed; inset: 0; z-index: 85; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .65); animation: fade .2s; }
.sheet-panel { position: relative; width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto; padding: 26px 22px calc(26px + var(--sb)); border-radius: 24px 24px 0 0; background: #17130e; border: 1px solid var(--line); text-align: center; }
.sheet-panel .x { position: absolute; right: 10px; top: 8px; }
.sheet-panel h3 { font-family: var(--serif); font-size: 23px; margin: 10px 0 8px; color: var(--gold-2); }
.sheet-panel p { color: var(--muted); line-height: 1.5; margin: 0 0 6px; }
.sheet-icon { width: 60px; height: 60px; border-radius: 16px; margin: 0 auto; }
.celebrate { font-size: 50px; line-height: 1; }
.steps { text-align: left; color: var(--muted); line-height: 1.6; margin-top: 12px; }
.steps p { margin: 0 0 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.steps b { color: var(--text); }
.toast { position: fixed; left: 50%; bottom: calc(100px + var(--sb)); transform: translateX(-50%); z-index: 95; padding: 12px 18px; border-radius: 12px; background: #262017; border: 1px solid var(--line); font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); max-width: 90vw; text-align: center; color: var(--text); }

@media (min-width: 600px) {
  .prog-grid { grid-template-columns: repeat(3, 1fr); }
  .featured { min-height: 340px; }
}
@media print {
  .pbar, .bottom-nav, .wa, .toast, .day-nav, .btn-dark { display: none !important; }
  .screen { position: static; overflow: visible; }
  #app { display: none; }
}

/* ajustes finos */
.inline-btns > * { white-space: nowrap; font-size: 13px; padding: 0 10px; gap: 6px; }
.scale .opts button, .btn-dark, .pday, .day-tile, .bsteps div, .countdown div { text-align: center; }
.formula .ico svg { width: 52px; height: 52px; transform: translateY(6px); }
body.locked .toast { bottom: calc(24px + var(--sb)); }
