:root {
  --bg: #FAF6F0; --card: #FFF; --ink: #2B2523; --ink-soft: #6E625C;
  --accent: #B06A5C; --accent-deep: #94544A; --accent-soft: #F3E2DC;
  --gold: #C9A227; --ok: #4C7A5C; --radius: 16px; --shadow: 0 2px 14px rgba(43,37,35,.07);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: 'Jost', system-ui, sans-serif; font-size: 17px; line-height: 1.5; padding-bottom: 76px; min-height: 100dvh; }
.appbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 8px; position: sticky; top: 0; background: var(--bg); z-index: 5; }
.brand { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 24px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.streak { font-weight: 600; color: var(--accent-deep); font-size: 15px; }
main { max-width: 480px; margin: 0 auto; padding: 8px 20px 24px; }
h1 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600; line-height: 1.2; margin-bottom: 4px; }
h2 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; margin: 22px 0 8px; }
.muted { color: var(--ink-soft); }
.kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 8px; }

.card { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-top: 12px; }
.today-hero { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); color: #fff; border-radius: 20px; padding: 22px; margin-top: 12px; box-shadow: 0 8px 24px rgba(176,106,92,.3); }
.today-hero .kicker { color: rgba(255,255,255,.85); }
.today-hero h1 { color: #fff; }
.today-hero .meta { opacity: .9; margin-top: 6px; font-size: 15px; }
.cta { display: block; width: 100%; margin-top: 16px; padding: 15px; background: var(--accent); color: #fff; border: none; border-radius: 999px; font-size: 16px; font-weight: 600; font-family: inherit; cursor: pointer; text-align: center; }
.today-hero .cta { background: #fff; color: var(--accent-deep); }
.cta.ghost { background: none; border: 1.5px solid #EAE0D8; color: var(--ink); }

.list-item { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #EFE7DF; }
.list-item:last-child { border-bottom: none; }
.badge-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.list-item .body { flex: 1; }
.list-item .body b { display: block; font-size: 15.5px; }
.list-item .body span { font-size: 13px; color: var(--ink-soft); }
.zone-tag { font-size: 11px; background: var(--accent-soft); color: var(--accent-deep); padding: 2px 8px; border-radius: 999px; text-transform: capitalize; }

.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin-top: 10px; }
.day { aspect-ratio: 1; border-radius: 10px; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 13px; font-weight: 600; cursor: pointer; border: 1.5px solid transparent; }
.day.done { background: var(--ok); color: #fff; }
.day.today { border-color: var(--accent); color: var(--accent-deep); }
.day.locked { opacity: .4; }
.week-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 16px 0 4px; }

/* séance player */
.player { text-align: center; }
.timer { font-family: 'Cormorant Garamond', serif; font-size: 64px; color: var(--accent-deep); margin: 8px 0; }
.exo-illus { width: 190px; height: 190px; margin: 6px auto 14px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; font-size: 54px; overflow: hidden; }
.exo-illus img { width: 100%; height: 100%; object-fit: cover; }
.steps { text-align: left; margin: 14px 0; }
.steps li { margin: 8px 0 8px 18px; }
.progress-dots { display: flex; gap: 6px; justify-content: center; margin: 12px 0; }
.progress-dots i { width: 8px; height: 8px; border-radius: 50%; background: #E0D4CB; }
.progress-dots i.active { background: var(--accent); }
.progress-dots i.done { background: var(--ok); }

.tabbar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid #EFE7DF; display: flex; max-width: 480px; margin: 0 auto; }
body.locked .tabbar, body.locked .streak { display: none; }
.tabbar button { flex: 1; padding: 12px 4px 16px; background: none; border: none; font-family: inherit; font-size: 12px; color: var(--ink-soft); cursor: pointer; }
.tabbar button.active { color: var(--accent-deep); font-weight: 600; }
.fade-in { animation: f .25s ease; } @keyframes f { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; } }
