/* ═══════════════════════════════════════════════════════════════
   OWA — OVNI Women Academy App
   Brand Design System & All Screens
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts, served by the site itself (no visitor IP sent to Google) ── */
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/dm-mono-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/dm-mono-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/dm-mono-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/dm-mono-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/dm-sans-variable-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/dm-sans-variable-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-400-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-400-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ── Brand Tokens ─────────────────────────────────────────────── */
:root {
  /* Colors */
  --color-bg: #F2EBE3;
  --color-surface: #FBF7F2;
  --color-surface-white: #FFFFFF;
  --color-surface-muted: #EAE0D5;
  --color-primary: #A04B26;
  --color-primary-strong: #853C1D;
  --color-espresso: #63564B;
  --color-text: #1F1815;
  --color-text-muted: #675D55;
  --color-plum: #672B6D;
  --color-mauve: #A676AA;
  --color-blush: #FDEEE9;
  --color-success: #136E55;
  --color-warning: #955D1E;
  --color-danger: #B83040;
  --color-border: rgba(99, 86, 75, 0.15);
  --color-border-strong: rgba(99, 86, 75, 0.3);
  --color-overlay: rgba(43, 37, 32, 0.5);
  --color-star: #E8B84D;
  --color-locked: #736863;
  /* Accent as text: the terracotta dark enough for text on the light surfaces. */
  --color-accent-text: var(--color-primary-strong);
  /* Text set on a solid accent (buttons, filled chips). */
  --color-on-accent: #FFFFFF;
  /* The brand night: the day's card, the dark band, the footer, the app sky. */
  --color-night: #26152F;
  --color-night-raised: #341F41;
  --color-night-text: #F2EBE3;
  --color-night-muted: #BBAFC6;
  /* The saucer's light, for an action set on the night. */
  --color-peach: #F0976B;
  /* Jade (528 Hz carried up by octaves into visible light, a symbolic match): what is done. */
  --color-jade: #136E55;
  --color-jade-soft: #E2F1EA;
  /* The logo's violet. */
  --color-violet: #672B6D;
  --color-violet-soft: #F0E7F2;
  --color-violet-deep: #4E2153;
  /* The same accents as seen on the night. */
  --color-violet-light: #D4A6DB;
  --color-jade-light: #62BD9C;
  --color-jade-strong: #0E5542;
  /* The logo's orange: drawings and very large titles only (too light for text). */
  --color-orange: #C16232;
  /* Dark ink for text set on a light solid (warning, mauve, peach, gold). */
  --color-ink: #1F1815;
  /* Keyboard focus ring; redefined on the night surfaces. */
  --color-focus: #672B6D;
  --focus-ring: 0 0 0 3px rgba(103, 43, 109, 0.28);

  /* Typography */
  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  /* Radius */
  --radius-card: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --radius-sm: 6px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(43, 37, 32, 0.06);
  --shadow-md: 0 4px 12px rgba(43, 37, 32, 0.08);
  --shadow-lg: 0 12px 32px rgba(43, 37, 32, 0.12);
  --shadow-glow: 0 0 24px rgba(166, 118, 170, 0.4);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Layout */
  --tab-bar-height: 64px;
  --sidebar-width: 260px;
  --header-height: 56px;
  --max-content: 480px;
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Typographie (23/11/2026) : grands titres en Instrument Serif, sous-titres en DM Sans SemiBold,
   corps en DM Sans Regular 17–18 px, interlignage 1,6. L'italique reste pour les citations. */
h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }
h3, h4 { font-family: var(--font-body); font-weight: 600; line-height: 1.3; text-transform: none; letter-spacing: 0; }
h1 { font-size: clamp(2.25rem, 1.6rem + 2.2vw, 2.75rem); } h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); } h3 { font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); } h4 { font-size: 1.125rem; }
@media (min-width: 768px) { body { font-size: 1.125rem; } }
a { color: var(--color-accent-text); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
input, textarea, select { font-family: inherit; font-size: inherit; }

::selection { background: var(--color-blush); color: var(--color-primary-strong); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-border-strong); border-radius: 3px; }

/* ── Eyebrow / Label ───────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-text);
  font-weight: 500;
}
.eyebrow-muted { color: var(--color-text-muted); }
.eyebrow-espresso { color: var(--color-espresso); }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 200ms ease-out;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(160, 75, 38, 0.25);
}
.btn-primary:hover, .btn-primary:active {
  background: var(--color-primary-strong);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(160, 75, 38, 0.3);
}

.btn-secondary {
  background: var(--color-surface-white);
  color: var(--color-accent-text);
  border: 1.5px solid var(--color-border-strong);
}
.btn-secondary:hover { border-color: var(--color-primary); background: var(--color-blush); }

.btn-ghost { color: var(--color-text-muted); padding: 10px 16px; }
.btn-ghost:hover { color: var(--color-accent-text); }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; pointer-events: none; } /* lot T2 : 0,5 donnait 4,45:1 sur un bouton secondaire */

/* ── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--color-surface-white);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.card-muted {
  background: var(--color-surface-muted);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
}

/* Callout card (from PRD §6.2) */
.callout-card {
  background: var(--color-surface-muted);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
}
.callout-card .eyebrow { margin-bottom: var(--space-sm); }
.callout-card h3 { font-size: 1.5rem; margin-bottom: var(--space-md); color: var(--color-text); }

/* Pull quote (from PRD §6.2) */
.pull-quote {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-text-muted);
  text-align: center;
  font-style: italic;
  padding: var(--space-lg) var(--space-md);
  line-height: 1.4;
}

/* ── App Shell ─────────────────────────────────────────────────── */
#app {
  max-width: var(--max-content);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--color-bg);
  position: relative;
  box-shadow: var(--shadow-lg);
}

.app-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 235, 227, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.app-header .logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-plum);
  letter-spacing: 0.02em;
}
/* Inside the app (not on the public pages, which share this class, nor in the conversation bar), the main header is the
   brand night (--color-night, a little see-through) with a few fixed stars. */
#app > .app-header {
  background:
    radial-gradient(circle at 31% 30%, rgba(232, 184, 77, 0.85) 0 1px, transparent 1.6px),
    radial-gradient(circle at 46% 72%, rgba(242, 235, 227, 0.55) 0 1px, transparent 1.6px),
    radial-gradient(circle at 63% 26%, rgba(242, 235, 227, 0.45) 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 64%, rgba(232, 184, 77, 0.6) 0 1px, transparent 1.6px),
    rgba(38, 21, 47, 0.95);
  border-bottom-color: rgba(242, 235, 227, 0.08);
  color: var(--color-night-text);
  --color-focus: var(--color-night-text);
}
#app > .app-header .logo { color: var(--color-night-text); }
#app > .app-header .streak-badge { background: var(--color-night-raised); color: var(--color-star); border: 1px solid rgba(242, 235, 227, 0.12); }
#app > .app-header .header-admin-btn { background: var(--color-night-raised); border-color: rgba(242, 235, 227, 0.14); color: var(--color-night-text); }
#app > .app-header .header-admin-btn:hover { background: rgba(242, 235, 227, 0.16); }

.app-header .header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Tab bar (mobile bottom) — hidden by default, shown when logged in */
.tab-bar {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-content);
  height: var(--tab-bar-height);
  background: rgba(251, 247, 242, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border);
  display: none;
  align-items: center;
  justify-content: space-around;
  z-index: 200;
  padding-bottom: env(safe-area-inset-bottom);
}

.pc-nav-item, .tab-item { background: none; border: 0; font: inherit; color: inherit; text-align: left; width: auto; }
.pc-nav-item { width: 100%; }
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--color-text-muted);
  font-size: 0.625rem;
  font-weight: 500;
  padding: 8px;
  transition: color 200ms ease;
  flex: 1;
}
.tab-item.active { color: var(--color-accent-text); font-weight: 700; box-shadow: inset 0 2px 0 var(--color-primary); }
.tab-item svg { width: 22px; height: 22px; }
/* Tab icons (<symbol id="ico-…"> in index.html): outline at rest, filled when the tab is active.
   --ico-fill fills the body; --ico-cut redraws the inner lines in the colour behind the icon. */
.ico-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nav-ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; --ico-fill: none; --ico-cut: currentColor; transition: transform 0.2s ease; }
.tab-item.active .nav-ico { --ico-fill: currentColor; --ico-cut: var(--color-surface); transform: translateY(-1px); }
.pc-nav-item.active .nav-ico { --ico-fill: currentColor; --ico-cut: var(--color-blush); }
@media (prefers-reduced-motion: reduce) { .nav-ico { transition: none; } .tab-item.active .nav-ico { transform: none; } }
.tab-item .tab-badge {
  position: absolute;
  top: 4px;
  right: 50%;
  margin-right: -16px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.5625rem;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-family: var(--font-body);
}

/* Screen container */
.screen {
  padding: var(--space-md);
  padding-bottom: calc(var(--tab-bar-height) + var(--space-lg));
  display: none;
  animation: fadeIn 300ms ease-out;
}
.screen.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ── Splash / Login ───────────────────────────────────────────── */
.splash-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  padding: var(--space-xl);
  text-align: center;
}

.splash-logo-wrapper {
  width: 100px;
  height: 100px;
  margin-bottom: var(--space-md);
  position: relative;
}
.splash-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* The symbol alone (the saucer): the name is written next to it. */
.header-logo-img {
  height: 44px;
  width: auto;
  aspect-ratio: 60 / 44;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}
/* Le nom à côté du logo, dans le violet du logo (Uma, 01.12.2026). */
.site-header .landing-brand { color: #4F2154; }

.splash-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-plum);
  margin-bottom: var(--space-sm);
  position: relative;
}
.splash-logo::after {
  content: '';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  background: radial-gradient(circle, var(--color-mauve) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.5;
}

.splash-subtitle {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--space-2xl);
  max-width: 320px;
}

.login-card {
  width: 100%;
  max-width: 360px;
  background: var(--color-surface-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

.input-group { margin-bottom: var(--space-md); }
.input-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-espresso);
  margin-bottom: var(--space-sm);
}
.input-group input, .input-group textarea, .input-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.9375rem;
  transition: border-color 200ms ease;
}
.input-group input:focus, .input-group textarea:focus, .input-group select:focus {
  border-color: var(--color-primary);
  box-shadow: var(--focus-ring);
}

/* ── Onboarding ────────────────────────────────────────────────── */
.onboarding-step {
  text-align: center;
  padding: var(--space-lg) 0;
}
.onboarding-step .step-icon {
  width: 80px; height: 80px;
  margin: 0 auto var(--space-lg);
  background: var(--color-blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.onboarding-progress {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-lg);
}
.onboarding-progress .dot {
  flex: 1;
  height: 4px;
  background: var(--color-border-strong);
  border-radius: 2px;
  transition: background 300ms ease;
}
.onboarding-progress .dot.active { background: var(--color-primary); }
.onboarding-progress .dot.done { background: var(--color-success); }

/* Boarding pass */
.boarding-pass {
  background: linear-gradient(135deg, var(--color-plum) 0%, var(--color-violet-deep) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.boarding-pass::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(166, 118, 170, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.boarding-pass .bp-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.7;
  margin-bottom: var(--space-md);
}
.boarding-pass .bp-name {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}
.boarding-pass .bp-info {
  display: flex;
  justify-content: space-around;
  margin-top: var(--space-lg);
  font-size: 0.8125rem;
}
.boarding-pass .bp-info-item { text-align: center; }
.boarding-pass .bp-info-item .bp-info-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
}
.boarding-pass .bp-number {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  margin-top: var(--space-md);
  letter-spacing: 0.3em;
}

/* ── Journey Map (Classroom) ───────────────────────────────────── */
.journey-map {
  position: relative;
  padding: var(--space-lg) 0;
}
.journey-path {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
}
.journey-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  position: relative;
}
.journey-connector {
  position: absolute;
  left: 23px;
  top: 100%;
  width: 2px;
  height: var(--space-sm);
  background: var(--color-border-strong);
}
.journey-connector.active { background: var(--color-primary); }

.journey-node {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  flex-shrink: 0;
  position: relative;
  transition: all 300ms ease;
}
.journey-node.completed {
  background: var(--color-primary);
  color: #fff;
}
.journey-node.available {
  background: var(--color-surface-white);
  border: 2px solid var(--color-primary);
  color: var(--color-accent-text);
  box-shadow: var(--shadow-glow);
}
.journey-node.current {
  background: var(--color-primary);
  color: #fff;
  animation: pulse 2s ease-in-out 2;
}
.journey-node.locked {
  background: var(--color-surface-muted);
  color: var(--color-espresso);
}
.journey-node.live {
  background: var(--color-plum);
  color: #fff;
}
.journey-node.live.completed { background: var(--color-plum); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(160, 75, 38, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(160, 75, 38, 0); }
}

.journey-label {
  flex: 1;
  font-size: 0.875rem;
}
.journey-label .jl-title {
  font-weight: 500;
  color: var(--color-text);
}
.journey-label .jl-meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.journey-label.locked .jl-title { color: var(--color-text-muted); font-weight: 400; }
.journey-label.locked .jl-meta { color: var(--color-text-muted); }

/* Progress ring */
.progress-ring-container {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.progress-ring {
  position: relative;
  width: 80px; height: 80px;
  flex-shrink: 0;
}
.progress-ring svg { transform: rotate(-90deg); }
.progress-ring .progress-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-text);
}

/* Streak */
.streak-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--color-blush);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary-strong);
}

/* Today card */
.today-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-night);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: var(--color-night-text);
  margin-bottom: var(--space-lg);
  box-shadow: 0 6px 20px rgba(38, 21, 47, 0.22);
}
/* Two orbits and a few stars: decoration only, behind the text. */
.today-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 86% 22%, rgba(232, 184, 77, 0.9) 0 1.5px, transparent 2px),
    radial-gradient(circle at 72% 66%, rgba(242, 235, 227, 0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 94% 80%, rgba(242, 235, 227, 0.5) 0 1px, transparent 1.5px),
    radial-gradient(circle at 60% 15%, rgba(242, 235, 227, 0.45) 0 1px, transparent 1.5px),
    radial-gradient(ellipse 62% 150% at 104% 50%, transparent 0 59.4%, rgba(240, 151, 107, 0.4) 60% 60.7%, transparent 61.3%),
    radial-gradient(ellipse 44% 110% at 104% 50%, transparent 0 59.2%, rgba(212, 166, 219, 0.32) 60% 61%, transparent 61.8%);
}
.today-card .eyebrow { color: var(--color-night-muted); margin-bottom: var(--space-sm); }
.today-card h3, .today-title { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; margin-bottom: var(--space-sm); }
button.today-card { display: block; width: 100%; text-align: left; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
button.today-card:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(38, 21, 47, 0.3); }
.today-card .eyebrow, .today-card .day-num { display: block; }
.today-cta { display: inline-block; margin-top: var(--space-md); padding: 10px 20px; border-radius: var(--radius-pill); background: var(--color-peach); color: var(--color-night); font-weight: 600; font-size: 0.9375rem; }
.btn-secondary.is-on { background: var(--color-blush); border-color: var(--color-primary); }
.today-card .day-num { font-family: var(--font-mono); font-size: 0.875rem; color: var(--color-night-muted); }

/* ── Lesson Detail ─────────────────────────────────────────────── */
.lesson-header {
  margin-bottom: var(--space-lg);
}
.lesson-header .eyebrow { margin-bottom: var(--space-sm); }
.lesson-header h2 { font-size: 1.625rem; margin-bottom: var(--space-md); }

.lesson-block {
  background: var(--color-surface-white);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-border);
  transition: all 200ms ease;
}
.lesson-block.completed { border-color: var(--color-success); }
.lesson-block .block-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}
.lesson-block .block-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-espresso);
}
.lesson-block .block-checkbox {
  width: 24px; height: 24px;
  border: 2px solid var(--color-border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
  flex-shrink: 0;
}
.lesson-block .block-checkbox.checked {
  background: var(--color-success);
  border-color: var(--color-success);
}
.lesson-block .block-checkbox.checked::after {
  content: '✓';
  color: #fff;
  font-size: 0.75rem;
}

/* Video block */
.video-block {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--color-espresso);
  margin: var(--space-sm) 0;
  cursor: pointer;
}
.video-block::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  z-index: 2;
}
.video-block::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-40%, -50%);
  width: 0; height: 0;
  border-left: 16px solid var(--color-primary);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  z-index: 3;
}
.video-block.playing { cursor: default; }
.video-block.playing::before, .video-block.playing::after { display: none; }
.video-block iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-block .video-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.video-block:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }

/* Journal field */
.journal-field {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--color-border-strong);
  padding: var(--space-sm) 0;
  background: transparent;
  min-height: 80px;
  resize: vertical;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
}
.journal-field:focus { border-bottom-color: var(--color-primary); }
.journal-field::placeholder { color: var(--color-locked); font-style: italic; }
.journal-example {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--space-xs);
}

/* Challenge block */
.challenge-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}
.challenge-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 200ms ease;
  font-size: 0.875rem;
}
.challenge-option:hover { border-color: var(--color-primary); }
.challenge-option.selected {
  background: var(--color-blush);
  border-color: var(--color-primary);
  color: var(--color-primary-strong);
}

/* Checkpoint sliders */
.checkpoint-slider {
  margin: var(--space-md) 0;
}
.checkpoint-slider .cs-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}
.checkpoint-slider .cs-label span:first-child {
  font-weight: 500;
  font-size: 0.9375rem;
}
.checkpoint-slider .cs-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-accent-text);
}
.checkpoint-slider input[type=range] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--color-surface-muted);
  border-radius: 3px;
}
.checkpoint-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* "Je termine ma journée" button */
.finish-day-btn {
  width: 100%;
  padding: 18px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-muted);
  color: var(--color-espresso);
  font-size: 1rem;
  font-weight: 600;
  transition: all 300ms ease;
  margin-top: var(--space-lg);
}
.finish-day-btn.ready {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(160, 75, 38, 0.3);
  animation: pulse 2s ease-in-out 2;
}

/* ── Habit Tracker ─────────────────────────────────────────────── */
.habit-tracker {
  background: var(--color-surface-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.habit-tracker-header {
  background: var(--color-night);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.habit-row {
  display: flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border);
  gap: var(--space-xs);
}
.habit-row:nth-child(odd) { background: var(--color-surface); }
.habit-name {
  flex: 0 0 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
}
.habit-chips {
  display: flex;
  gap: var(--space-xs);
  flex: 1;
  justify-content: flex-end;
}
.habit-chip {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-text-muted);
  transition: all 200ms ease;
}
.habit-chip:hover { border-color: var(--color-primary); }
.habit-chip.active.A { background: var(--color-success); border-color: var(--color-success); color: #fff; }
.habit-chip.active.M { background: var(--color-warning); border-color: var(--color-warning); color: var(--color-on-accent); }
.habit-chip.active.R { background: var(--color-mauve); border-color: var(--color-mauve); color: var(--color-ink); }
.habit-chip.active.N { background: var(--color-locked); border-color: var(--color-locked); color: var(--color-on-accent); }

/* ── Comments ──────────────────────────────────────────────────── */
.comment-thread {
  margin-top: var(--space-lg);
}
.comment {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}
.comment-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-espresso);
  flex-shrink: 0;
}
.comment-body { flex: 1; }
.comment-author {
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.comment-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-blush);
  color: var(--color-primary-strong);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.comment-badge.ai { background: rgba(166, 118, 170, 0.2); color: var(--color-plum); }
.comment-text { font-size: 0.875rem; color: var(--color-text); margin-top: 2px; }
.comment-meta {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  display: flex;
  gap: var(--space-md);
}

.comment-input {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  align-items: flex-end;
}
.comment-input textarea {
  flex: 1;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-card);
  padding: var(--space-sm) var(--space-md);
  min-height: 44px;
  resize: none;
  background: var(--color-surface);
}
.comment-input textarea:focus { border-color: var(--color-primary); }
.private-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}
.toggle-switch {
  width: 36px; height: 20px;
  background: var(--color-locked);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: background 200ms ease;
  flex-shrink: 0;
}
.toggle-switch.active { background: var(--color-primary); }
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 200ms ease;
}
.toggle-switch.active::after { left: 18px; }

/* ── Community ─────────────────────────────────────────────────── */
.channel-tabs {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--space-md));
  padding: 0 var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--color-border);
  scrollbar-width: none;
}
.channel-tabs::-webkit-scrollbar { display: none; }
.channel-tab {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: all 200ms ease;
}
.channel-tab.active {
  background: var(--color-primary);
  color: #fff;
}

.post-card {
  background: var(--color-surface-white);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  border: 1px solid var(--color-border);
}
.post-card.pinned { border-color: var(--color-primary); border-width: 1.5px; }
.post-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.post-author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-espresso);
}
.post-author-name { font-weight: 600; font-size: 0.875rem; }
.post-badge-fondatrice {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-plum);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-left: var(--space-xs);
}
.post-title { font-size: 1rem; font-weight: 600; margin-bottom: var(--space-xs); }
.post-content { font-size: 0.875rem; color: var(--color-text); margin-bottom: var(--space-sm); }
.post-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.post-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.post-meta { flex-wrap: wrap; align-items: center; justify-content: space-between; }
.post-reactions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.post-reaction {
  font: inherit;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-border-strong);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  min-height: 32px;
}
.post-reaction.is-on { background: var(--color-plum); border-color: var(--color-plum); color: #fff; }
.post-reaction-n { font-weight: 600; margin-left: 2px; }
.post-links { display: flex; gap: var(--space-sm); }
.post-link {
  font: inherit;
  font-size: 0.75rem;
  background: none;
  border: 0;
  padding: 4px 0;
  color: var(--color-text-muted);
  text-decoration: underline;
  cursor: pointer;
}
.post-link-danger { color: var(--color-danger); }

/* ── Calendar ─────────────────────────────────────────────────── */
.calendar-month {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: var(--space-lg);
}
.calendar-day-header {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-xs) 0;
}
.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  position: relative;
}
.calendar-day.empty { visibility: hidden; }
.calendar-day.today {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}
.calendar-day.has-event::after {
  content: '';
  position: absolute;
  bottom: 3px;
  width: 4px; height: 4px;
  background: var(--color-plum);
  border-radius: 50%;
}
.calendar-day.has-event.live::after { background: var(--color-primary); }

.event-card {
  background: var(--color-surface-white);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-plum);
}
.event-card.live { border-left-color: var(--color-primary); }
.event-card.workshop { border-left-color: var(--color-warning); }
.event-card.in-person { border-left-color: var(--color-success); }

.event-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: var(--space-xs);
}
.event-title { font-size: 1rem; font-weight: 600; margin-bottom: var(--space-xs); }
.event-meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

/* ── Messages / AI Coach ───────────────────────────────────────── */
.message-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
}
.message-bubble {
  max-width: 80%;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  line-height: 1.5;
}
.message-bubble { white-space: pre-wrap; overflow-wrap: anywhere; }
.message-bubble.failed { opacity: 0.5; }
.message-bubble.received {
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  align-self: flex-start;
  border-bottom-left-radius: var(--space-xs);
}
.message-bubble.sent {
  background: var(--color-primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: var(--space-xs);
}
.message-bubble.ai {
  background: var(--color-blush);
  border: 1px solid rgba(166, 118, 170, 0.3);
  align-self: flex-start;
}
.message-bubble.ai .ai-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-plum);
  margin-bottom: 4px;
}

.chat-input-bar {
  position: fixed;
  bottom: var(--tab-bar-height);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-content);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  z-index: 150;
}
.chat-input-bar input {
  flex: 1;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  background: var(--color-surface-white);
}

.chat-thread-list {
  padding: var(--space-sm) 0;
}
.chat-thread-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background 200ms ease;
}
.chat-thread-item:hover { background: var(--color-surface-muted); }
.chat-thread-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.chat-thread-avatar.ai {
  background: var(--color-blush);
  color: var(--color-plum);
}
.chat-thread-avatar.uma {
  background: var(--color-plum);
  color: #fff;
}
.chat-thread-info { flex: 1; min-width: 0; }
.chat-thread-name { font-weight: 600; font-size: 0.875rem; }
.chat-thread-preview {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-thread-time {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

.office-hours {
  background: var(--color-surface-muted);
  border-radius: var(--radius-card);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8125rem;
  color: var(--color-espresso);
  margin-bottom: var(--space-md);
  text-align: center;
}

/* ── Profile / Moi ────────────────────────────────────────────── */
.profile-header {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}
.profile-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-plum) 100%);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.profile-name { font-size: 1.5rem; margin-bottom: var(--space-xs); }
.profile-rank {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-blush);
  color: var(--color-plum);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

/* Stardust counter */
.stardust-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.stardust-display .sd-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-plum);
}
.stardust-display .sd-icon { font-size: 1.5rem; }

/* Badges grid */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}
.badge-item {
  min-height: 112px;
  min-width: 0;
  overflow-wrap: anywhere;
  background: var(--color-surface-white);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all 200ms ease;
}
.badge-item.earned { border-color: var(--color-plum); }
.badge-item.locked { background: var(--color-surface); }
.badge-item.locked .badge-icon { filter: grayscale(1); opacity: 0.5; }
.badge-item .badge-icon { font-size: 1.75rem; }
.badge-item .badge-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.2;
}

/* Constellation */
.constellation-map {
  background: var(--color-night);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-md) 0;
  position: relative;
  overflow: hidden;
}
.constellation-map .cm-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: var(--space-md);
}
.constellation-stars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.constellation-star {
  width: 24px; height: 24px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background-color 300ms ease, box-shadow 300ms ease; /* 03.12.2026 : plus de « all » */
}
.constellation-star.lit {
  background: var(--color-star);
  box-shadow: 0 0 12px rgba(232, 184, 77, 0.6);
  animation: twinkle 2.5s ease-in-out 2;
}
@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ── Avis (Reviews) ────────────────────────────────────────────── */
.trustpilot-widget {
  background: var(--color-surface-white);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  text-align: center;
  margin-bottom: var(--space-md);
}
.trustpilot-stars { font-size: 1.5rem; color: #00B67A; letter-spacing: 2px; margin-bottom: var(--space-sm); }
.trustpilot-score { font-family: var(--font-display); font-size: 2rem; color: var(--color-text); }
.trustpilot-count { font-size: 0.8125rem; color: var(--color-text-muted); }

.contest-banner {
  background: linear-gradient(135deg, var(--color-plum) 0%, var(--color-violet-deep) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: #fff;
  margin: var(--space-md) 0;
  text-align: center;
}
.contest-banner h3 { font-size: 1.375rem; margin-bottom: var(--space-sm); }
.contest-entries {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  margin: var(--space-sm) 0;
}

/* ── Admin Console ────────────────────────────────────────────── */
.admin-shell {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--color-surface);
}
.admin-sidebar {
  width: 240px;
  background: var(--color-text);
  color: #fff;
  min-height: 100vh;
  position: fixed;
  left: 0; top: 0;
  padding: var(--space-lg) 0;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px var(--space-lg);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 200ms ease;
}
.admin-nav-item:hover { color: #fff; background: rgba(255,255,255,0.05); }
.admin-nav-item.active { color: #fff; background: rgba(255,255,255,0.1); border-left: 3px solid var(--color-primary); }

.admin-content {
  margin-left: 240px;
  padding: var(--space-xl);
}
.admin-card {
  background: var(--color-surface-white);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
}

/* Inbox */
.inbox-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background 200ms ease;
}
.inbox-item:hover { background: var(--color-surface-muted); }
.inbox-item.crisis { background: rgba(184, 48, 64, 0.08); border-left: 3px solid var(--color-danger); }
.inbox-item-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}
.inbox-item-info { flex: 1; min-width: 0; }
.inbox-item-name { font-weight: 600; font-size: 0.875rem; }
.inbox-item-preview {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.inbox-item-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.inbox-status {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}
.inbox-status.new { background: var(--color-blush); color: var(--color-primary-strong); }
.inbox-status.draft { background: rgba(166, 118, 170, 0.2); color: var(--color-plum); }
.inbox-status.answered { background: var(--color-jade-soft); color: var(--color-jade-strong); }
.inbox-status.crisis { background: var(--color-danger); color: #fff; }

.ai-draft-box {
  background: var(--color-blush);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  margin: var(--space-sm) 0;
}
.ai-draft-box .ad-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-plum);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-draft-confidence { font-weight: 600; }
.ai-draft-text { font-size: 0.875rem; color: var(--color-text); }
.ai-draft-sources {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
}
.ai-draft-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

/* Stats */
.stat-card {
  text-align: center;
  padding: var(--space-lg);
}
.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-accent-text);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* ── Celebration / Reward animation ───────────────────────────── */
.celebration-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 37, 32, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}
.celebration-overlay.show { display: flex; animation: fadeIn 300ms ease; }
.celebration-content {
  background: var(--color-surface-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  max-width: 360px;
  animation: fadeInScale 400ms ease-out;
}
.celebration-content .cel-icon { font-size: 4rem; margin-bottom: var(--space-md); }
.celebration-content h2 { font-size: 1.75rem; margin-bottom: var(--space-sm); }
.celebration-content p { color: var(--color-text-muted); margin-bottom: var(--space-lg); }

/* Confetti */
.confetti {
  position: fixed;
  width: 8px; height: 8px;
  pointer-events: none;
  z-index: 1000;
}

/* ── Misc ──────────────────────────────────────────────────────── */
.section-title {
  font-size: 1.75rem;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}
#app[data-mode="desktop"] .section-title { font-size: 2.125rem; }
.section-header h3 { font-size: 1.375rem; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}
.muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.divider { height: 1px; background: var(--color-border); margin: var(--space-md) 0; }
.hidden { display: none !important; }
#app.hidden .tab-bar { display: none !important; }
#app.hidden .pc-sidebar { display: none !important; }

/* Lock overlay */
.lock-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}
.lock-overlay .lock-icon { font-size: 3rem; margin-bottom: var(--space-md); opacity: 0.4; }
.lock-overlay .lock-text { color: var(--color-text-muted); font-size: 0.875rem; }

/* Disclaimer */
.disclaimer-box {
  background: var(--color-surface-muted);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  font-size: 0.75rem;
  color: var(--color-espresso);
  border-left: 3px solid var(--color-espresso);
  margin: var(--space-md) 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: calc(var(--tab-bar-height) + var(--space-lg));
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-text);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  z-index: 500;
  animation: fadeIn 300ms ease;
  width: max-content;
  max-width: calc(100vw - 32px);
  text-align: center;
  border-radius: 20px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
.modal-overlay.show { display: flex; animation: fadeIn 200ms ease; }
.modal-content {
  background: var(--color-surface-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 400px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  animation: fadeInScale 300ms ease-out;
}
.modal-content h2 { margin-bottom: var(--space-md); }

/* ── App Body Wrapper ─────────────────────────────────────────── */
.app-body {
  display: flex;
  min-height: calc(100vh - var(--header-height));
}

/* ── PC Sidebar (desktop mode) ────────────────────────────────── */
.pc-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  padding: var(--space-lg) var(--space-md);
  display: none;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
}
.pc-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all 200ms ease;
  cursor: pointer;
  position: relative;
}
.pc-nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.pc-nav-item:hover { background: var(--color-surface-muted); color: var(--color-text); }
.pc-nav-item.active { background: var(--color-blush); color: var(--color-accent-text); font-weight: 600; box-shadow: inset 3px 0 0 var(--color-primary); }
.pc-nav-item.active svg { stroke: currentColor; }
.pc-nav-spacer { flex: 1; }
.pc-nav-badge {
  position: absolute;
  right: 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ── Screens container ───────────────────────────────────────── */
.screens-container {
  flex: 1;
  min-width: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MODE: MOBILE (default)
   ═══════════════════════════════════════════════════════════════ */
#app[data-mode="mobile"] {
  max-width: var(--max-content);
  box-shadow: var(--shadow-lg);
}

#app[data-mode="mobile"] .pc-sidebar { display: none; }
/* Tab bar only shows when logged in AND in mobile mode */
body.logged-in #app[data-mode="mobile"] .tab-bar { display: flex; }
#app[data-mode="mobile"] .screens-container {
  max-width: var(--max-content);
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   MODE: DESKTOP (PC)
   ═══════════════════════════════════════════════════════════════ */
#app[data-mode="desktop"] {
  max-width: 100%;
  box-shadow: none;
}

/* PC sidebar only shows when logged in AND in desktop mode */
body.logged-in #app[data-mode="desktop"] .pc-sidebar { display: flex; }
#app[data-mode="desktop"] .tab-bar { display: none; }
#app[data-mode="desktop"] .screens-container {
  max-width: none;
  margin: 0;
  padding: var(--space-xl);
  padding-bottom: var(--space-2xl);
}

#app[data-mode="desktop"] .screen {
  max-width: 900px;
  margin: 0 auto;
}

/* Desktop-specific tweaks: grids wider */
#app[data-mode="desktop"] .badges-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* ── AI Chatbot Floating ──────────────────────────────────────── */
.chatbot-fab {
  position: fixed;
  bottom: calc(var(--tab-bar-height) + 16px);
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-plum) 100%);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 250;
  box-shadow: 0 4px 20px rgba(160, 75, 38, 0.3);
  transition: transform 200ms ease;
  border: none;
}
body.logged-in .chatbot-fab { display: flex; }
.chatbot-fab:hover { transform: scale(1.08); }
.chatbot-fab svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; }
.chatbot-fab-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--color-star);
  color: var(--color-text);
  font-size: 0.5625rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--color-bg);
}

.chatbot-panel {
  position: fixed;
  bottom: calc(var(--tab-bar-height) + 80px);
  right: 16px;
  width: calc(100% - 32px);
  max-width: 380px;
  max-height: 70vh;
  background: var(--color-surface-white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 251;
  border: 1px solid var(--color-border);
}
.chatbot-panel.open { display: flex; animation: fadeInScale 250ms ease-out; }

.chatbot-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-plum) 100%);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.chatbot-header-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.chatbot-header-info { flex: 1; }
.chatbot-header-name { font-weight: 600; font-size: 0.9375rem; }
h2.chatbot-header-name { margin: 0; line-height: 1.3; }
/* Ton assistant OWA (29.11) : un petit point discret quand il a un mot pour elle. Pas de son, pas
   d'ouverture automatique ; le texte du point est lu par les lecteurs d'écran. */
.chatbot-fab-mot {
  position: absolute;
  top: 2px; right: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--color-star);
  border: 2px solid var(--color-bg);
  overflow: hidden;
  color: transparent;
  font-size: 0;
}
.assistant-ouverture-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.assistant-memoire-liste { list-style: none; padding: 0; margin: 8px 0; }
.assistant-memoire-liste li { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--color-border, rgba(0,0,0,.08)); }
.chatbot-header-status { font-size: 0.6875rem; opacity: 0.8; display: flex; align-items: center; gap: 4px; }
.chatbot-header-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--color-jade-light); }
.chatbot-header-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Agent vocal (02.12.2026, éteint : Voix.ACTIF, voix.js) : le bouton « Parler à voix haute » de l'en-tête, appuyé
   pendant l'appel, et la carte d'accord ou d'appel dans la conversation. */
.chatbot-header-voix svg { width: 16px; height: 16px; fill: currentColor; }
.chatbot-header-voix[aria-pressed="true"] { background: #fff; color: var(--color-primary); }
.voix-carte { border: 1px solid var(--color-border, rgba(0,0,0,.12)); }
.voix-carte h3 { font-size: 0.9375rem; margin: 0 0 6px; }
.voix-carte ul { margin: 6px 0; padding-left: 18px; }
.voix-etat { font-weight: 600; margin: 6px 0; }
.voix-tours { max-height: 180px; overflow-y: auto; margin: 6px 0; }
.voix-tours p { margin: 4px 0; }
.voix-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.voix-actions .btn-secondary { min-height: 44px; }
/* Présence de l'agent vocal (03.12.2026) : un rond qui respire en écoute, pulse quand l'IA parle,
   et grandit avec la voix (--voix-niveau, 0 à 1, posé par voix.js). Décoratif : l'état en texte reste. */
.voix-presence {
  --voix-taille: 56px;
  position: relative; /* 04.12.2026 : porte le voile de lueur (::after) */
  width: var(--voix-taille); height: var(--voix-taille); margin: 10px auto 4px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0, var(--color-primary, #A04B26) 55%, var(--color-primary-strong, #853C1D) 100%);
  box-shadow: 0 0 0 calc(4px + var(--voix-niveau, 0) * 14px) rgba(160, 75, 38, .18);
  transform: scale(calc(1 + var(--voix-niveau, 0) * .18));
  transition: transform .12s ease-out, box-shadow .12s ease-out, opacity .3s;
}
.voix-presence[data-etat="connexion"] { opacity: .55; animation: voix-attente 1.2s ease-in-out infinite; }
/* 04.12.2026 : la lueur qui respire (écoute) ou pulse (l'IA parle) est un voile blanc posé sur le rond,
   dont on anime seulement l'opacité. Avant, on animait filter: brightness(), qui repeint à chaque image. */
.voix-presence::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #fff; opacity: 0; pointer-events: none; }
.voix-presence[data-etat="ecoute"]::after { animation: voix-souffle 3s ease-in-out infinite; }
.voix-presence[data-etat="reponse"]::after { animation: voix-parle 0.9s ease-in-out infinite; }
.voix-presence[data-etat="fin"] { opacity: .35; animation: none; box-shadow: none; transform: none; }
@keyframes voix-attente { 50% { opacity: .25; } }
@keyframes voix-souffle { 50% { opacity: .08; } }
@keyframes voix-parle { 50% { opacity: .18; } }
/* 03.12.2026 : « réduire les animations » fige aussi le halo (sinon il suit --voix-niveau, dix fois par seconde). */
@media (prefers-reduced-motion: reduce) { .voix-presence, .voix-presence[data-etat] { animation: none; transition: none; transform: none; box-shadow: 0 0 0 4px rgba(160, 75, 38, .18); } .voix-presence[data-etat="fin"] { box-shadow: none; } .voix-presence[data-etat]::after { animation: none; opacity: 0; } }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--color-surface);
  min-height: 200px;
}

.chatbot-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.chatbot-msg.ai {
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chatbot-msg.user {
  background: var(--color-primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chatbot-msg.ai .ai-sender {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-plum);
  margin-bottom: 4px;
}

.chatbot-typing {
  display: flex;
  gap: 4px;
  padding: 8px 14px;
  align-self: flex-start;
}
.chatbot-typing span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-text-muted);
  animation: typingBounce 1.4s ease-in-out infinite;
}
.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.chatbot-suggestions {
  padding: 8px 16px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-white);
}
.chatbot-suggestion {
  background: var(--color-blush);
  color: var(--color-primary-strong);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 200ms ease;
}
.chatbot-suggestion:hover { background: var(--color-primary); color: #fff; }

.chatbot-input-bar {
  padding: 12px 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 8px;
  background: var(--color-surface-white);
  flex-shrink: 0;
}
.chatbot-input-bar input {
  flex: 1;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  background: var(--color-surface);
  font-size: 0.875rem;
  color: var(--color-text);
}
.chatbot-input-bar input:focus { border-color: var(--color-primary); }
.chatbot-send-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 200ms ease;
}
.chatbot-send-btn:hover { background: var(--color-primary-strong); }
.chatbot-send-btn svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }

/* ── Dark Mode (P2) ───────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  /* Disabled by default — uncomment to enable night sky theme */
  /*
  :root {
    --color-bg: #1A1520;
    --color-surface: #252030;
    --color-surface-white: #2B2538;
    --color-surface-muted: #322B40;
    --color-text: #F2EBE3;
    --color-text-muted: #B8AFA8;
    --color-border: rgba(242, 235, 227, 0.1);
  }
  */
}

/* The assistant button would cover the send button of an open conversation */
body:has(#screen-messages.active) .chatbot-fab { display: none; }
body:has(#screen-admin.active) .chatbot-fab { display: none; }

/* ── Marketplace ──────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-md); margin-top: var(--space-md); }
.product-card { background: var(--color-surface-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.product-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--color-surface-muted); }
.product-image-empty { display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--color-mauve); }
.product-body { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-xs); flex: 1; }
.product-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; overflow-wrap: anywhere; }
.product-desc { font-size: 0.8125rem; color: var(--color-text-muted); white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); margin-top: auto; padding-top: var(--space-sm); }
.product-price { font-family: var(--font-mono); font-weight: 600; color: var(--color-accent-text); white-space: nowrap; }
.tab-item { min-width: 0; padding: 8px 2px; }

/* ── Public shop page & cart ──────────────────────────────────── */
.shop-header .logo { color: var(--color-plum); text-decoration: none; }
.shop-main { max-width: 1080px; margin: 0 auto; padding: var(--space-xl) var(--space-md) var(--space-2xl); }
.shop-page .toast { bottom: var(--space-lg); z-index: 600; }
.cart-line { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); }
.cart-qty { display: flex; align-items: center; gap: var(--space-sm); font-family: var(--font-mono); }
.cart-qty button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--color-border-strong); background: var(--color-surface-white); font-size: 1rem; color: var(--color-text); }
.cart-qty button:disabled { opacity: 0.4; }

/* Suivi des commandes */
.market-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.market-actions > * { flex: 1 1 160px; }
.order-card { padding: var(--space-md) 0; border-top: 1px solid var(--color-border); font-size: 0.875rem; }
.admin-card.order-card { padding: var(--space-lg); border-top: none; }
.order-card-head, .order-card-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.order-card-foot { margin-top: var(--space-sm); }
.order-state { display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--color-surface); border: 1px solid var(--color-border); font-size: 0.8125rem; font-weight: 600; }
.parcel-item { display: flex; justify-content: space-between; gap: var(--space-sm); padding: 4px 0; font-size: 0.875rem; overflow-wrap: anywhere; }
.parcel-item > span:last-child { white-space: nowrap; }
.parcel-contact { display: flex; flex-direction: column; gap: 2px; font-size: 0.875rem; margin-top: 4px; overflow-wrap: anywhere; }
.ship-form { margin-top: var(--space-sm); }
.partner-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-sm); margin: var(--space-sm) 0; }

/* Espace partenaire : en-tête chiffré, onglets, pages */
.partner-title { font-size: 1.375rem; margin: 8px 0 12px; overflow-wrap: anywhere; }
.partner-card-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 400; margin-bottom: 4px; }
.partner-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); margin-bottom: var(--space-md); }
.partner-stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; padding: 12px; background: var(--color-surface-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.partner-stat:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow-md); }
.partner-stat.is-alert { border-color: var(--color-primary); background: var(--color-blush); }
.partner-stat-label { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.partner-stat-value { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; color: var(--color-text); overflow-wrap: anywhere; }
.partner-stat-value small { font-family: var(--font-body); font-size: 0.75rem; color: var(--color-text-muted); }
.partner-stat.is-alert .partner-stat-value { color: var(--color-primary-strong); }
.partner-stat-note { font-size: 0.75rem; line-height: 1.3; color: var(--color-text-muted); }
.partner-steps { padding: var(--space-md); }
.partner-step { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 0; border-top: 1px solid var(--color-border); font-size: 0.875rem; color: var(--color-text); }
.partner-step:hover { color: var(--color-accent-text); }
.partner-step-mark { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--color-border-strong); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: #fff; }
.partner-step.is-done { color: var(--color-text-muted); }
.partner-step.is-done .partner-step-mark { background: var(--color-success); border-color: var(--color-success); }
.partner-step-go { margin-left: auto; color: var(--color-accent-text); }
.partner-tabs { position: sticky; top: var(--header-height); z-index: 5; background: var(--color-bg); padding-top: var(--space-sm); margin-bottom: var(--space-md); scroll-margin-top: var(--header-height); }
.partner-tabs .channel-tab { padding: 8px 12px; }
.partner-tab-count { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 2px; border-radius: var(--radius-pill); background: var(--color-primary); color: #fff; font-size: 0.6875rem; line-height: 18px; text-align: center; }
.channel-tab.active .partner-tab-count { background: #fff; color: var(--color-primary-strong); }
.partner-section-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); flex-wrap: wrap; margin-bottom: var(--space-md); min-height: 36px; }
.partner-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; align-items: center; margin-top: var(--space-sm); }
.partner-filter { display: inline-flex; padding: 3px; margin-bottom: var(--space-md); background: var(--color-surface-muted); border-radius: var(--radius-pill); }
.partner-filter button { padding: 7px 14px; border-radius: var(--radius-pill); font-size: 0.8125rem; font-weight: 500; color: var(--color-text-muted); }
.partner-filter button.active { background: var(--color-surface-white); color: var(--color-text); box-shadow: var(--shadow-sm); }
.partner-empty { text-align: center; padding: var(--space-xl) var(--space-lg); }
.partner-empty p { font-size: 0.875rem; margin-top: 4px; }
.partner-order { font-size: 0.875rem; }
.partner-order .eyebrow { margin-bottom: 4px; }
.partner-shipto { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-sm); margin: var(--space-md) 0; padding: 12px; background: var(--color-surface); border-radius: var(--radius-card); }
.partner-address { white-space: pre-line; font-size: 0.9375rem; line-height: 1.45; overflow-wrap: anywhere; }
.partner-share { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--color-border); font-weight: 600; }
.partner-shipped { margin-top: var(--space-md); overflow-wrap: anywhere; }
.partner-order .ship-form { margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--color-border); }
.partner-amount { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.1; margin: 2px 0 8px; }
.partner-payout { padding: 8px 0; border-top: 1px solid var(--color-border); }
.partner-payout:first-of-type { border-top: none; }
.partner-payout > span:last-child { font-family: var(--font-mono); }
.partner-warning { border-left-color: var(--color-warning); font-size: 0.8125rem; color: var(--color-text); }
.partner-offer-meta { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; font-size: 0.75rem; }
.partner-offer-hint { font-size: 0.8125rem; line-height: 1.4; color: var(--color-text-muted); }
.partner-offer-hint.is-warning { color: var(--color-primary-strong); }
.partner-details > summary { display: flex; flex-direction: column; cursor: pointer; }
.partner-details > summary .partner-card-title { margin: 0; }
.admin-myshop { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-md); flex-wrap: wrap; }
.admin-myshop .pfield { flex: 1 1 220px; margin-bottom: 0; }
.admin-card.admin-myshop { align-items: center; }
.admin-market-tabs { position: static; }
.admin-password { display: flex; align-items: flex-start; gap: var(--space-sm); }
.admin-password .pfield { flex: 1; }
.admin-password .btn { margin-top: 23px; }
.admin-credentials { font-family: var(--font-mono); font-size: 0.9375rem; line-height: 1.6; margin: var(--space-sm) 0; overflow-wrap: anywhere; user-select: all; }
.admin-row { cursor: default; align-items: center; flex-wrap: wrap; }
.admin-row:hover { background: none; }
.admin-row .inbox-item-info { flex: 1 1 180px; }
.admin-row .inbox-item-name, .admin-row .inbox-item-preview { white-space: normal; overflow-wrap: anywhere; }
.admin-row-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.admin-todo { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); width: 100%; text-align: left; padding: 12px 0; border-top: 1px solid var(--color-border); font-size: 0.9375rem; color: var(--color-text); }
.admin-todo:first-child { border-top: none; }
.admin-todo > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.admin-todo .muted { font-size: 0.8125rem; }
.admin-todo:hover strong { color: var(--color-accent-text); }
.admin-todo.is-alert strong { color: var(--color-danger); }
.admin-todo-go { color: var(--color-accent-text); }
.admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
@media (min-width: 640px) { .admin-stats { grid-template-columns: repeat(3, 1fr); } }
.partner-tab-count[hidden] { display: none; }
.admin-partner-row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--color-border); font-size: 0.875rem; }
.admin-partner-row:first-child { border-top: none; }
.pfield { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; min-width: 0; }
.pfield[hidden] { display: none; }
.pfield-label { font-size: 0.8125rem; font-weight: 500; color: var(--color-text); }
.pfield-hint { font-size: 0.75rem; line-height: 1.35; color: var(--color-text-muted); }
p.pfield-hint { margin-top: var(--space-sm); }
.pinput { width: 100%; min-width: 0; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--color-text); background: var(--color-surface); border: 1.5px solid var(--color-border-strong); border-radius: 8px; }
.pinput:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(160, 75, 38, 0.15); }
textarea.pinput { resize: vertical; min-height: 76px; }
.pfield-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 var(--space-sm); align-items: start; }
@media (max-width: 480px) {
  .partner-stat { padding: 10px 8px; }
  .partner-stat-value { font-size: 1.25rem; }
  .partner-stat-note { font-size: 0.6875rem; }
}

/* ── Legal pages ──────────────────────────────────────────────── */
.legal-page { max-width: 680px; margin: 0 auto; padding: 32px 16px 64px; }
.legal-page h1 { margin-bottom: 16px; }
.legal-page h2 { font-size: 1.375rem; margin: 32px 0 8px; }
.legal-page p { font-size: 0.9375rem; margin-bottom: 8px; }

/* ── Keyboard focus is always visible ─────────────────────────── */
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
a:not([class]):focus-visible, summary:focus-visible { border-radius: 4px; }
.btn:focus-visible, .tab-item:focus-visible, .pc-nav-item:focus-visible { outline-offset: 3px; }

/* ── Lesson text imported from Notion ─────────────────────────── */
.lesson-text { font-size: 0.9375rem; color: var(--color-text); line-height: 1.7; margin-bottom: 10px; overflow-wrap: anywhere; }
.lesson-list { margin: 0 0 10px 20px; font-size: 0.9375rem; line-height: 1.6; }
.lesson-list li { margin-bottom: 6px; overflow-wrap: anywhere; }
.lesson-list .lesson-list { margin-top: 6px; }
.lesson-block .video-block + .lesson-text { margin-top: 10px; }
.lesson-section { font-size: 1.25rem; margin: 24px 0 12px; color: var(--color-plum); }

/* ── Public landing page ──────────────────────────────────────── */
.shop-hero { padding: var(--space-lg) 0 var(--space-md); max-width: 640px; }
.shop-hero h1 { font-size: 2.25rem; margin: 4px 0 8px; }
.shop-nav { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }
.shop-nav a { padding: 8px 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--color-border-strong); background: var(--color-surface-white); font-size: 0.875rem; font-weight: 600; }
.shop-section { margin-top: var(--space-2xl); scroll-margin-top: 72px; }
.shop-section h2 { margin: 4px 0 8px; }
.article-body { max-width: 680px; }
.article-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 380px; object-fit: cover; border-radius: var(--radius-card); margin: 16px 0; }
.article-audio { width: 100%; margin: 16px 0; }
.dash-bars { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding-top: 8px; }
.dash-bar { flex: 1; min-width: 4px; background: var(--color-primary); border-radius: 3px 3px 0 0; }
.dash-bar.empty { background: var(--color-surface-muted); }
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.dash-table th { text-align: left; font-weight: 600; font-size: 0.75rem; color: var(--color-text-muted); padding: 6px 8px 6px 0; border-bottom: 1px solid var(--color-border); }
.dash-table td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--color-border); }
.dash-table th:not(:first-child), .dash-table td:not(:first-child) { text-align: right; white-space: nowrap; }

.programme summary { cursor: pointer; font-weight: 600; color: var(--color-primary-strong); }
.programme h3 { font-size: 1rem; margin: 16px 0 8px; }
.programme-list { list-style: none; padding: 0; margin: 0; columns: 2 280px; column-gap: 32px; }
.programme-list li { padding: 6px 0; border-bottom: 1px solid var(--color-border); font-size: 0.9375rem; break-inside: avoid; }
.programme-id { display: inline-block; min-width: 96px; font-family: 'DM Mono', monospace; font-size: 0.75rem; color: var(--color-text-muted); text-transform: uppercase; }

/* ── Public first page ────────────────────────────────────────── */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 1000; background: var(--color-surface-white); padding: 8px 12px; border-radius: var(--radius-sm); }
/* Espace membre : le lien ne sert qu'une fois connectée (avant, le contenu visé est caché). */
body:not(.logged-in) > .skip-link-app { display: none; }
/* Bouton « Discuter » des pages publiques : la bulle Chatwoot ne se charge qu'après ce clic (site.js). */
.chat-launch { position: fixed; right: 16px; bottom: 16px; z-index: 240; min-height: 44px; max-width: min(260px, calc(100vw - 32px)); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 16px; border-radius: var(--radius-lg); background: var(--color-plum); color: #fff; text-align: left; box-shadow: 0 4px 16px rgba(38, 21, 47, 0.25); }
.chat-launch:disabled { opacity: 0.8; cursor: progress; }
.chat-launch-label { font-weight: 600; font-size: 0.9375rem; }
.chat-launch-note { font-size: 0.6875rem; line-height: 1.3; opacity: 0.9; }
.landing [hidden], .landing-nav [hidden] { display: none !important; }
.landing-nav { display: flex; gap: var(--space-lg); font-size: 0.875rem; font-weight: 500; }
.landing-nav a { color: var(--color-text); }
.landing-nav a:hover { color: var(--color-accent-text); }
.landing-hero { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2xl); align-items: center; padding: var(--space-2xl) 0 var(--space-lg); }
.landing-hero h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1.1; margin: 8px 0 16px; max-width: 16em; }
.landing-lead { font-size: 1.125rem; color: var(--color-text-muted); max-width: 34em; }
.landing-cta { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.landing-figures { list-style: none; margin: 0; padding: var(--space-lg); display: grid; gap: var(--space-md); background: var(--color-surface-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); min-width: 200px; }
.landing-figures li { display: flex; align-items: baseline; gap: 12px; }
.landing-figures strong { font-family: var(--font-display); font-weight: 400; font-size: 2.5rem; line-height: 1; color: var(--color-accent-text); min-width: 1.6em; text-align: right; }
.landing-figures span { color: var(--color-text-muted); font-size: 0.9375rem; }
.landing-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--space-md); margin-top: var(--space-lg); }
.landing-benefits article { background: var(--color-surface-white); border-radius: var(--radius-card); padding: var(--space-lg); box-shadow: var(--shadow-sm); }
.landing-benefits h3 { font-size: 1.25rem; margin: 8px 0; }
.landing-benefits p { font-size: 0.9375rem; color: var(--color-text-muted); }
.landing-icon { font-size: 1.5rem; color: var(--color-plum); }
.offer-card { display: grid; grid-template-columns: 1fr minmax(220px, 300px); gap: var(--space-xl); align-items: center; background: var(--color-surface-white); border: 1.5px solid var(--color-primary); border-radius: var(--radius-lg); padding: var(--space-xl); box-shadow: var(--shadow-md); margin-top: var(--space-lg); }
.offer-image { grid-column: 1 / -1; width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--radius-card); }
.offer-body h3 { font-size: 1.75rem; margin-bottom: 8px; }
.offer-body p { color: var(--color-text-muted); }
.offer-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-size: 0.9375rem; }
.offer-list li::before { content: '✓'; color: var(--color-success); font-weight: 700; margin-right: 8px; }
.offer-buy { text-align: center; }
.offer-buy .muted { font-size: 0.8125rem; margin-top: 8px; }
.offer-price { font-family: var(--font-display); font-size: 2.5rem; color: var(--color-primary-strong); margin-bottom: 12px; }
.offer-price.offer-soon { font-size: 1.5rem; }
.landing-steps { list-style: none; padding: 0; margin: var(--space-lg) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--space-md); }
.landing-steps li { border-left: 3px solid var(--color-mauve); padding: 4px 0 4px 16px; display: grid; gap: 4px; }
.landing-steps span { font-size: 0.875rem; color: var(--color-text-muted); }
.landing-final { margin-top: var(--space-2xl); text-align: center; background: var(--color-blush); border-radius: var(--radius-lg); padding: var(--space-2xl) var(--space-lg); }
.landing-final p { max-width: 32em; margin: 8px auto 20px; color: var(--color-text-muted); }
.landing-footer { display: flex; flex-wrap: wrap; gap: var(--space-lg); justify-content: space-between; max-width: 1100px; margin: var(--space-2xl) auto 0; padding: var(--space-lg) var(--space-md) var(--space-2xl); border-top: 1px solid var(--color-border); font-size: 0.8125rem; color: var(--color-text-muted); }
.landing-footer nav { display: flex; flex-wrap: wrap; gap: var(--space-md); }
@media (max-width: 760px) {
  .landing-nav, .landing-brand { display: none; }
  .landing-hero { grid-template-columns: 1fr; gap: var(--space-lg); padding-top: var(--space-lg); }
  .landing-figures { grid-template-columns: repeat(3, 1fr); padding: var(--space-md); text-align: center; }
  .landing-figures li { flex-direction: column; align-items: center; gap: 4px; }
  .landing-figures strong { min-width: 0; text-align: center; font-size: 2rem; }
  .landing-figures span { font-size: 0.75rem; }
  .landing-cta .btn { flex: 1 1 100%; }
  .offer-card { grid-template-columns: 1fr; padding: var(--space-lg); gap: var(--space-lg); }
}

.landing-login { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-md); margin-top: var(--space-lg); }
.landing-login-card { display: block; background: var(--color-surface-white); border-radius: var(--radius-card); padding: var(--space-lg); box-shadow: var(--shadow-sm); color: var(--color-text); border: 1.5px solid transparent; }
.landing-login-card:hover, .landing-login-card:focus-visible { border-color: var(--color-primary); }
.landing-login-card h3 { font-size: 1.375rem; margin: 8px 0; }
.landing-login-card p { font-size: 0.9375rem; color: var(--color-text-muted); margin-bottom: 16px; }

.landing-visual { display: grid; gap: var(--space-md); justify-items: center; }
.landing-orbit svg { display: block; max-width: 100%; height: auto; }
.landing-photo { width: 320px; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block; }
.landing-visual .landing-figures { grid-template-columns: repeat(3, auto); gap: var(--space-lg); padding: var(--space-md) var(--space-lg); min-width: 0; }
.landing-visual .landing-figures li { flex-direction: column; align-items: center; gap: 2px; }
.landing-visual .landing-figures strong { min-width: 0; text-align: center; font-size: 2rem; }
.landing-visual .landing-figures span { font-size: 0.75rem; }
.landing-day { list-style: none; padding: 0; margin: var(--space-lg) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-md); counter-reset: day; }
.landing-day li { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--space-lg); }
.landing-day-when { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-plum); }
.landing-day h3 { font-size: 1.25rem; margin: 6px 0 8px; }
.landing-day p { font-size: 0.9375rem; color: var(--color-text-muted); }
.landing-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-md); margin-top: var(--space-lg); }
.landing-quotes figure { margin: 0; background: var(--color-surface-white); border-radius: var(--radius-card); padding: var(--space-lg); box-shadow: var(--shadow-sm); }
.landing-quotes blockquote { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; white-space: pre-line; }
.landing-quotes blockquote::before { content: '“'; color: var(--color-mauve); font-size: 2rem; line-height: 0; vertical-align: -0.3em; margin-right: 4px; }
.landing-quotes figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--color-text-muted); }
.landing-faq { max-width: 760px; margin-top: var(--space-lg); }
.landing-faq details { border-bottom: 1px solid var(--color-border-strong); }
.landing-faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
.landing-faq p { padding: 0 0 16px; color: var(--color-text-muted); max-width: 60ch; }
.waitlist { display: grid; gap: 8px; text-align: left; }
.waitlist label { font-size: 0.875rem; font-weight: 600; }
.waitlist input { border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 10px 14px; background: var(--color-surface); font: inherit; min-width: 0; }
.landing-sticky { display: none; }
@media (max-width: 760px) {
  .landing-orbit svg { width: 200px; }
  .landing-photo { width: 100%; aspect-ratio: 4 / 3; }
  .landing-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--color-surface-white); box-shadow: 0 -4px 16px rgba(43, 37, 32, 0.12); transform: translateY(110%); visibility: hidden; transition: transform 0.2s ease, visibility 0s 0.2s; }
  .landing-sticky.show { transform: none; visibility: visible; transition: transform 0.2s ease; }
  .landing-footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .landing-sticky { transition: none; } }

/* ── Gamification ─────────────────────────────────────────────── */
.rank-progress { height: 8px; border-radius: var(--radius-pill); background: var(--color-surface-muted); overflow: hidden; margin-bottom: 6px; }
.rank-progress > div { height: 100%; background: linear-gradient(90deg, var(--color-mauve), var(--color-primary)); border-radius: var(--radius-pill); transition: width 0.4s ease; }
.points-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--color-border); font-size: 0.875rem; }
.points-line:last-child { border-bottom: 0; }
.points-line span { display: block; font-size: 0.75rem; }
.points-value { font-family: var(--font-mono); font-weight: 500; color: var(--color-primary-strong); white-space: nowrap; }
.points-value.zero { color: var(--color-text-muted); }
.badge-how { font-size: 0.6875rem; color: var(--color-text-muted); margin-top: 2px; line-height: 1.3; }
.referral-link { display: flex; gap: 8px; margin-top: 12px; }
.referral-link input { flex: 1; min-width: 0; border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 8px 12px; background: var(--color-surface-white); font: inherit; font-size: 0.8125rem; }
@media (prefers-reduced-motion: reduce) { .rank-progress > div { transition: none; } }

.lesson-progress { position: sticky; top: var(--header-height, 56px); z-index: 5; background: var(--color-bg); padding: 8px 0; display: grid; gap: 4px; font-size: 0.75rem; color: var(--color-text-muted); }
.lesson-progress.full span { color: var(--color-success); font-weight: 600; }
.lesson-progress .rank-progress { margin: 0; }
.reward-chest { display: flex; gap: 12px; align-items: center; padding: var(--space-md); border: 1.5px dashed var(--color-mauve); border-radius: var(--radius-card); background: var(--color-surface); }
.reward-chest strong, .reward-chest .muted { display: block; font-size: 0.875rem; }
.reward-chest-icon { font-size: 1.75rem; filter: grayscale(0.4); }
.reward-chest.open { display: block; border-style: solid; animation: chest-open 0.6s ease; }
@keyframes chest-open { from { transform: scale(0.94); opacity: 0; } to { transform: none; opacity: 1; } }
/* Le coffre fermé est un lien vers la récompense (fiche de l'offre) ou vers la boutique. */
a.reward-chest-go { color: inherit; text-decoration: none; min-height: 44px; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease; }
a.reward-chest-go:hover { border-color: var(--color-primary); transform: translateY(-1px); }
a.reward-chest-go:focus-visible, .reward-chest-link:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
/* Le coffre fermé : la règle du jeu (finir la journée l'ouvre), puis le chemin de la boutique. */
.reward-chest-cta { display: block; margin-top: 4px; font-size: 0.875rem; font-weight: 600; color: var(--color-primary); }
.reward-chest-link { display: inline-block; margin-top: 8px; padding: 10px 0; font-size: 0.875rem; font-weight: 600; color: var(--color-primary); }
@media (prefers-reduced-motion: reduce) { a.reward-chest-go { transition: none; } a.reward-chest-go:hover { transform: none; } }
.flight-pass { display: grid; grid-template-columns: 1fr auto; background: var(--color-surface-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.flight-main { padding: var(--space-md) var(--space-lg); }
.flight-name { font-family: var(--font-display); font-size: 1.5rem; margin: 2px 0 10px; }
.flight-pass dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; margin: 0; }
.flight-pass dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.flight-pass dd { margin: 0; font-size: 0.875rem; font-weight: 600; }
.flight-side { display: grid; place-content: center; justify-items: center; gap: 4px; padding: var(--space-md); min-width: 96px; background: var(--color-plum); color: #fff; border-left: 2px dashed rgba(255, 255, 255, 0.5); font-size: 0.75rem; text-align: center; }
.flight-side span { font-size: 1.75rem; }
.cp-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.cp-row:last-child { border-bottom: 0; }
.cp-label strong { display: block; font-size: 0.875rem; }
.cp-label span { font-size: 0.75rem; color: var(--color-text-muted); }
.cp-label span.up { color: var(--color-success); font-weight: 600; }
.cp-bars { display: flex; gap: 10px; align-items: flex-end; height: 64px; }
.cp-bar { display: grid; grid-template-rows: 1fr auto auto; justify-items: center; height: 100%; width: 28px; font-size: 0.6875rem; }
.cp-bar div { align-self: end; width: 100%; background: var(--color-mauve); border-radius: 4px 4px 0 0; min-height: 4px; }
.cp-bar:last-child div { background: var(--color-primary); }
.cp-bar span { font-weight: 600; }
.cp-bar em { font-style: normal; color: var(--color-text-muted); }
@media (prefers-reduced-motion: reduce) { .reward-chest.open { animation: none; } }

.crew-card { background: var(--color-surface-white); border-radius: var(--radius-lg); padding: var(--space-md) var(--space-lg); box-shadow: var(--shadow-sm); margin: var(--space-md) 0; display: grid; gap: 8px; }
.crew-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.crew-head h3 { font-size: 1.25rem; }
.crew-percent { font-family: var(--font-display); font-size: 1.75rem; color: var(--color-accent-text); line-height: 1; }
.crew-card .rank-progress { margin: 0; height: 10px; }
.crew-members { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crew-members li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--color-surface); border: 1px solid var(--color-border); font-size: 0.8125rem; }
.crew-members li.me { border-color: var(--color-primary); font-weight: 600; }
.crew-members em { font-style: normal; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--color-text-muted); }
.crew-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-locked); }
.crew-members li.on .crew-dot { background: var(--color-success); }
.crew-stars { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 6px; }
.crew-stars li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.875rem; }
.crew-stars li.crew-stars-pick { display: grid; justify-content: stretch; padding: 10px 12px; border-radius: var(--radius-card); background: var(--color-surface); border: 1px solid var(--color-border); }
.crew-stars-words { display: flex; flex-wrap: wrap; gap: 6px; }
.crew-stars-got { padding: 10px 12px; border-radius: var(--radius-card); background: var(--color-surface); border: 1px solid var(--color-border); font-size: 0.875rem; }
.crew-stars-got p + p { margin-top: 4px; }
.stars-history { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 0.875rem; }
.letter-text { white-space: pre-wrap; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.5; margin-top: 8px; }

/* ── Videos and Reels ─────────────────────────────────────────── */
.landing-film { margin-top: var(--space-lg); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-lg); margin-top: var(--space-lg); }
.video-card.large { max-width: 880px; margin: 0 auto; }
.video-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-espresso); cursor: pointer; box-shadow: var(--shadow-md); }
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: rgba(43, 37, 32, 0.78); color: #fff; font-size: 1.5rem; display: grid; place-content: center; padding-left: 4px; transition: transform 0.15s ease, background 0.15s ease; }
.video-facade:hover .video-play, .video-facade:focus-visible .video-play { transform: scale(1.08); background: var(--color-primary); }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-lg); display: block; background: #000; }
.video-title { font-size: 1.125rem; margin-top: 10px; }
.video-card.large .video-title { font-size: 1.5rem; text-align: center; margin-top: 16px; }
.reel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-md); margin-top: var(--space-lg); }
.reel-card iframe { width: 100%; height: 620px; border: 0; border-radius: var(--radius-card); background: var(--color-surface-white); display: block; }
.reel-facade { position: relative; width: 100%; height: 620px; border: 0; border-radius: var(--radius-card); background: var(--color-espresso); color: #fff; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: var(--space-lg, 24px); text-align: left; font: inherit; }
.reel-facade-title { font-weight: 600; font-size: 1rem; }
.reel-facade-note { font-size: 0.8125rem; opacity: 0.8; }
.reel-facade:hover .video-play, .reel-facade:focus-visible .video-play { transform: scale(1.08); background: var(--color-primary); }
@media (prefers-reduced-motion: reduce) { .video-play { transition: none; } }

.landing-hero.has-film { grid-template-columns: minmax(260px, 360px) 1fr; align-items: start; gap: var(--space-xl); }
.landing-hero.has-film .landing-orbit { display: none; }
.landing-hero.has-film .landing-visual { grid-column: 1 / -1; justify-items: start; }
.landing-hero-film .video-title { font-size: 0.9375rem; margin-top: 8px; font-family: var(--font-body); font-weight: 600; }
.landing-hero-film .video-play { width: 52px; height: 52px; font-size: 1.125rem; }
@media (max-width: 760px) {
  .landing-hero.has-film { grid-template-columns: 1fr; }
  .landing-hero-film { max-width: 300px; }
}

/* ── First page, second pass ──────────────────────────────────── */
.landing-hero.has-film { grid-template-rows: auto auto; }
.landing-hero.has-film .landing-hero-film { grid-row: 1 / span 2; }
.landing-hero.has-film .landing-visual { grid-column: 2; justify-items: start; }
.landing-trust { list-style: none; padding: 0; margin: var(--space-md) 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.8125rem; color: var(--color-text-muted); }
.landing-trust li::before { content: '✓'; color: var(--color-success); font-weight: 700; margin-right: 6px; }
.landing-weeks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-md); margin-top: var(--space-lg); }
.landing-week { background: var(--color-surface-white); border-radius: var(--radius-card); padding: var(--space-lg); box-shadow: var(--shadow-sm); border-top: 3px solid var(--color-mauve); }
.landing-week:nth-child(2) { border-top-color: var(--color-primary); }
.landing-week:nth-child(3) { border-top-color: var(--color-plum); }
.landing-week-head span { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.landing-week-head h3 { font-size: 1.375rem; margin: 2px 0 12px; }
.landing-week ol { margin: 0; padding-left: 1.6em; display: grid; gap: 6px; font-size: 0.875rem; color: var(--color-text-muted); }
.landing-week li::marker { font-family: var(--font-mono); font-size: 0.75rem; color: var(--color-accent-text); }
.landing-follow { margin-top: var(--space-2xl); display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: space-between; align-items: center; padding: var(--space-lg); border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); }
.landing-follow strong, .landing-follow span { display: block; }
.landing-follow span { font-size: 0.875rem; color: var(--color-text-muted); }
.landing-follow-links { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) {
  .landing-hero.has-film .landing-hero-film { grid-row: auto; }
  .landing-hero.has-film .landing-visual { grid-column: 1; justify-items: stretch; }
}

/* ── First page: depth and motion (decoration only) ───────────── */
/* 03.12.2026 : la scène 3D (orbites, étoiles) est regroupée en fin de fichier, bloc « Scène 3D ».
   Retirés ici car annulés plus bas ou jamais branchés : film-float, cartes inclinées (--rx/--ry/--gx,
   .tilting), rise-in, orbit-drift. */
.landing-hero { position: relative; isolation: isolate; }
.motion-toggle { position: absolute; right: 0; bottom: 0; z-index: 2; border: 0; background: none; padding: 6px 0; font: inherit; font-size: 0.75rem; color: var(--color-text-muted); text-decoration: underline; cursor: pointer; }
.motion-toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 760px) { .motion-toggle { position: static; margin-top: 8px; } }
/* 03.12.2026 : le même bouton sous la promesse, près de la première animation. */
.home .hero-motion-toggle, .hero-motion-toggle { position: static; display: inline-flex; align-items: center; min-height: 24px; margin-top: 10px; justify-self: start; }
.hero-motion-toggle[hidden] { display: none; }
@media (pointer: coarse) { .motion-toggle { min-height: 44px; } }

@media (prefers-reduced-motion: no-preference) {
  /* Une lumière douce en haut de certaines cartes (03.12.2026 : position fixe ; le suivi du pointeur n'était pas branché). */
  .fx .landing-benefits article, .fx .landing-week, .fx .landing-login-card { background-image: radial-gradient(circle at 50% -40%, rgba(166, 118, 170, 0.22), transparent 55%); }
}

/* ═══ First page, third pass: clear hierarchy and rhythm ═══════════
   Bigger titles, generous spacing, full-width bands that alternate,
   and a different layout for each section instead of card rows. */
.home { --sec-gap: clamp(64px, 9vw, 112px); padding-top: 0; }
.home .shop-section { margin-top: var(--sec-gap); scroll-margin-top: 72px; }
.band { background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); padding-block: clamp(48px, 7vw, 88px); }
.band-hero { --band: var(--color-surface); }
.band-white { --band: var(--color-surface-white); }
.band-blush { --band: var(--color-blush); }
.band-dark { --band: var(--color-night); color: #fff; }

.sec-head { max-width: 640px; margin-bottom: clamp(24px, 4vw, 40px); }
.sec-head h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.1; margin: 6px 0 12px; }
.sec-head p { font-size: 1.0625rem; color: var(--color-text-muted); }
.sec-head .btn { margin-top: var(--space-lg); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-md) var(--space-lg); }
.sec-head.row .btn { margin-top: 0; }
.sec-head.row h2 { margin-bottom: 4px; }

/* Hero: film top-left, promise on the right, figures as one strip underneath */
.home .landing-hero, .home .landing-hero.has-film { display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; grid-template-rows: auto; gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 6vw, 72px) clamp(32px, 5vw, 56px); margin-top: 0; }
.home .landing-hero.has-film .landing-hero-film { grid-row: auto; }
.home .landing-hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); max-width: none; margin: 10px 0 18px; }
.home .landing-lead { font-size: 1.1875rem; max-width: 32em; }
.hero-media { position: relative; isolation: isolate; align-self: start; min-height: 200px; }
.home .landing-hero-film .video-facade { box-shadow: var(--shadow-lg); }
.home .landing-hero-film .video-title { font-size: 0.875rem; color: var(--color-text-muted); font-weight: 500; }
.hero-login { font-size: 0.8125rem; margin-top: 14px; }
.home .landing-figures { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; min-width: 0; padding: clamp(16px, 3vw, 28px) 0; text-align: center; }
.home .landing-figures li { display: grid; gap: 4px; justify-items: center; padding: 0 12px; }
.home .landing-figures li + li { border-left: 1px solid var(--color-border-strong); }
.home .landing-figures strong { font-size: clamp(2rem, 4.4vw, 3rem); min-width: 0; text-align: center; }
.home .landing-figures span { font-size: 0.875rem; }
.home .motion-toggle { position: static; grid-column: 1 / -1; justify-self: end; margin-top: -8px; }

/* What you get: text on the left, cards on the right */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split .sec-head { margin-bottom: 0; }
.split .landing-benefits { grid-template-columns: 1fr 1fr; margin-top: 0; }

/* A day: a line with four stops, not four boxes */
.home .landing-day { grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 0; counter-reset: stop; }
.home .landing-day li { background: none; border: 0; border-radius: 0; padding: 60px 18px 0; text-align: center; position: relative; counter-increment: stop; }
.home .landing-day li::before { content: counter(stop); position: absolute; top: 0; left: 50%; translate: -50% 0; width: 42px; height: 42px; border-radius: 50%; background: var(--color-primary); color: #fff; display: grid; place-content: center; font-family: var(--font-mono); font-weight: 500; z-index: 1; box-shadow: 0 0 0 6px var(--color-surface-white); }
.home .landing-day li::after { content: ''; position: absolute; top: 20px; left: 50%; width: 100%; height: 2px; background: var(--color-mauve); }
.home .landing-day li:last-child::after { display: none; }

.home .landing-weeks { margin-top: 0; }
.home .programme { margin-top: var(--space-lg); }

/* The offer: the one dark band of the page */
.band-dark .sec-head h2 { color: #fff; }
.band-dark .eyebrow { color: var(--color-violet-light); }
.band-dark .offer-card { color: var(--color-text); margin-top: 0; border-color: transparent; box-shadow: var(--shadow-lg); }
.band-dark > #shop-formations > .muted { color: rgba(255, 255, 255, 0.75); text-align: center; }
.band-dark .landing-steps { margin-top: clamp(24px, 4vw, 40px); }
.band-dark .landing-steps li { border-left-color: var(--color-mauve); }
.band-dark .landing-steps span { color: rgba(255, 255, 255, 0.78); }

/* Questions and sign-in side by side */
.duo { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.duo .sec-head { margin-bottom: var(--space-md); }
.duo .landing-faq { max-width: none; margin-top: 0; }
.duo .landing-login { grid-template-columns: 1fr; margin-top: 0; }
.duo .landing-login-card { background: var(--color-surface); }
.duo #connexion { scroll-margin-top: 96px; }

.home .landing-follow { margin-top: var(--sec-gap); margin-bottom: var(--sec-gap); }
.home .landing-final { margin-top: 0; border-radius: 0; background: var(--band); }
.home .landing-final h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
.home + .landing-footer { margin-top: 0; border-top: 0; }

@media (max-width: 860px) {
  .home .landing-hero, .home .landing-hero.has-film, .split, .duo { grid-template-columns: 1fr; }
  .hero-media { max-width: 340px; min-height: 0; }
  .home .landing-hero:not(.has-film) .hero-media { display: none; }
  .home .landing-figures { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .home .landing-figures li:nth-child(3) { border-left: 0; }
  .split .landing-benefits { grid-template-columns: 1fr; }
  .home .landing-day { grid-template-columns: 1fr; gap: 28px; }
  .home .landing-day li { padding: 0 0 0 62px; text-align: left; }
  .home .landing-day li::before { left: 0; translate: 0 0; }
  .home .landing-day li::after { top: 42px; left: 20px; width: 2px; height: calc(100% + 28px - 42px); }
  .sec-head.center { text-align: left; margin-inline: 0; }
}

/* ═══ Shop page ════════════════════════════════════════════════ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shop-trust { list-style: none; padding: 0; margin: var(--space-lg) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-sm); }
.shop-trust li { background: var(--color-surface-white); border-radius: var(--radius-card); padding: 12px 16px; border: 1px solid var(--color-border); }
.shop-trust strong, .shop-trust span { display: block; }
.shop-trust strong { font-size: 0.9375rem; }
.shop-trust span { font-size: 0.8125rem; color: var(--color-text-muted); }
.shop-toolbar { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; margin-bottom: var(--space-md); }
.shop-search { flex: 1 1 260px; }
.shop-search input, .shop-sort select { width: 100%; border: 1.5px solid var(--color-border-strong); border-radius: var(--radius-pill); padding: 10px 18px; background: var(--color-surface-white); font: inherit; min-width: 0; }
.shop-sort { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--color-text-muted); }
.shop-sort select { width: auto; }
.tab-count { font-family: var(--font-mono); font-size: 0.6875rem; opacity: 0.7; margin-left: 2px; }
.shop-count { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 12px; }
.shop-empty { grid-column: 1 / -1; text-align: center; padding: var(--space-2xl) var(--space-md); background: var(--color-surface); border-radius: var(--radius-card); display: grid; gap: 12px; justify-items: center; color: var(--color-text-muted); }
.shop-page .product-card { transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.shop-page .product-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-border-strong); }
.product-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.product-open .product-image { display: block; }
.product-open:focus-visible { outline: 3px solid var(--color-primary); outline-offset: -3px; }
.product-title a { color: inherit; }
.product-title a:hover { color: var(--color-accent-text); }
.shop-page .product-desc { -webkit-line-clamp: 2; }
.product-sheet { max-width: 760px; width: 100%; padding: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); position: relative; max-height: 92vh; }
.product-sheet-image { width: 100%; height: 100%; min-height: 280px; object-fit: cover; background: var(--color-surface-muted); }
.product-sheet-body { padding: var(--space-xl) var(--space-lg) var(--space-lg); display: grid; gap: 10px; align-content: start; overflow: auto; }
.product-sheet-body h2 { font-size: 1.75rem; line-height: 1.15; }
.product-sheet-desc { white-space: pre-wrap; color: var(--color-text-muted); font-size: 0.9375rem; }
.product-sheet-facts { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 4px; font-size: 0.8125rem; color: var(--color-text-muted); }
.product-sheet-facts li::before { content: '✓'; color: var(--color-success); font-weight: 700; margin-right: 8px; }
.product-sheet-buy { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.product-sheet-close { position: absolute; top: 8px; right: 8px; z-index: 1; background: var(--color-surface-white); border-radius: 50%; width: 36px; height: 36px; padding: 0; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--color-border-strong); border-radius: var(--radius-pill); overflow: hidden; }
.qty button { width: 38px; height: 38px; border: 0; background: none; font-size: 1.125rem; cursor: pointer; }
.qty button:hover { background: var(--color-surface-muted); }
.qty output { min-width: 28px; text-align: center; font-family: var(--font-mono); }
.cart-bar { display: none; }
@media (max-width: 760px) {
  .shop-page .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .shop-page .product-image { aspect-ratio: 1; }
  .shop-page .product-body { padding: 10px; }
  .shop-page .product-title { font-size: 1rem; }
  .shop-page .product-desc { display: none; }
  .shop-page .product-footer { flex-direction: column; align-items: stretch; gap: 6px; }
  .shop-page .product-footer .btn { width: 100%; justify-content: center; padding-inline: 8px; }
  .product-sheet { grid-template-columns: 1fr; overflow: auto; }
  .product-sheet-image { max-height: 240px; min-height: 0; }
  .cart-bar:not([hidden]) { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; border: 0; border-radius: var(--radius-pill); padding: 14px 18px; background: var(--color-espresso); color: #fff; font: inherit; font-weight: 600; font-size: 0.9375rem; box-shadow: var(--shadow-lg); cursor: pointer; }
}

/* ═══ First page, professional pass ═══════════════════════════════
   One star per screen, one grid, sober motion. The 3D scene lives
   only in the dark membership band, above its title: it can never
   sit over other content. */
.pro { --sec-gap: clamp(72px, 9vw, 120px); }

/* Sign-in menu in the header */
.login-menu { position: relative; }
.login-menu > summary { list-style: none; cursor: pointer; }
.login-menu > summary::-webkit-details-marker { display: none; }
.login-menu-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 120; width: 264px; background: var(--color-surface-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-lg); padding: 6px; display: grid; }
.login-menu-list a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; color: var(--color-text); }
.login-menu-list a:hover, .login-menu-list a:focus-visible { background: var(--color-surface); }
.login-menu-list span { font-size: 0.75rem; color: var(--color-text-muted); }

/* 1. Hero: the promise on the left, the film on the right, nothing else */
.pro .landing-hero, .pro .landing-hero.has-film { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 7vw, 96px); background: none; box-shadow: none; clip-path: none; }
.pro .landing-hero:not(.has-film) { grid-template-columns: minmax(0, 880px); }
.pro .landing-hero:not(.has-film) h1 { font-size: clamp(2.5rem, 6.4vw, 4.5rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 12em; }
.pro .landing-hero:not(.has-film) .hero-media { display: none; }
.pro .landing-hero h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -0.01em; margin: 12px 0 20px; }
.pro .landing-lead { font-size: 1.1875rem; line-height: 1.55; max-width: 30em; }
.pro .landing-cta { margin-top: var(--space-xl); }
.hero-note { margin-top: var(--space-md); font-size: 0.8125rem; color: var(--color-text-muted); }
.pro .hero-media { min-height: 0; align-self: center; isolation: auto; }
.pro .landing-hero-film .video-facade { border-radius: 20px; box-shadow: 0 24px 60px rgba(43, 37, 32, 0.18); }
.pro .landing-hero-film .video-frame { border-radius: 20px; }
.pro .landing-hero-film .video-play { width: 72px; height: 72px; font-size: 1.5rem; }
.pro .landing-hero-film .video-title { margin-top: 12px; font-size: 0.8125rem; font-weight: 500; color: var(--color-text-muted); text-align: center; }
.pro .landing-photo { width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; }

/* 2. Figures: one quiet strip */
.figures-band { padding-block: clamp(28px, 4vw, 44px); border-block: 1px solid var(--color-border); }
.pro .landing-figures { background: none; box-shadow: none; border-radius: 0; padding: 0; margin: 0; }
.pro .landing-figures strong { font-size: clamp(2rem, 4vw, 2.75rem); color: var(--color-text); }
.pro .landing-figures span { font-size: 0.8125rem; letter-spacing: 0.02em; }

/* 3. Programme */
.sub-head { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); text-align: center; margin: clamp(32px, 5vw, 56px) 0 var(--space-xl); display: flex; align-items: center; gap: 16px; }
.sub-head::before, .sub-head::after { content: ''; flex: 1; height: 1px; background: var(--color-border-strong); }
.pro .landing-day h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; margin: 6px 0 8px; }
.pro .landing-day li::before { box-shadow: 0 0 0 6px var(--color-bg); }
.pro .landing-day li::after { background: var(--color-border-strong); height: 1px; top: 21px; }
.pro .landing-week { box-shadow: none; border: 1px solid var(--color-border); border-top-width: 3px; }
.pro .landing-week-head h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; margin: 2px 0 12px; }
.pro .programme h4 { font-size: 1rem; margin: 16px 0 8px; }
.pro .programme { box-shadow: none; border: 1px solid var(--color-border); }

/* 4. Membership band: the 3D scene sits above the title, in its own space */
.pro .band-dark { position: relative; text-align: left; }
.pro .band-dark .offer-card { max-width: 920px; margin-inline: auto; border-radius: 20px; }
.pro .offer-list li { line-height: 1.45; }
.pro .band-dark .landing-steps { max-width: 920px; margin-inline: auto; }
.pro .band-dark .motion-toggle { position: static; display: block; margin: var(--space-xl) auto 0; color: rgba(255, 255, 255, 0.7); }

/* Cards: flat and consistent */
.pro .product-card, .pro .video-card { transform: none; }
.pro .landing-quotes figure { box-shadow: none; border: 1px solid var(--color-border); }

/* 6. Questions */
.pro #questions .landing-faq { max-width: 760px; margin: 0 auto; }
.faq-cta { text-align: center; margin-top: clamp(32px, 5vw, 48px); }

/* 7. Footer */
.site-footer { background: var(--color-night); color: rgba(255, 255, 255, 0.72); font-size: 0.875rem; }
.site-footer-inner { max-width: 1080px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) var(--space-md); display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: var(--space-xl) var(--space-lg); }
.site-footer strong { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; color: #fff; }
.site-footer p { margin-top: 10px; max-width: 30em; }
.site-footer-note { font-size: 0.75rem; opacity: 0.8; }
.site-footer h2 { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: 12px; }
.site-footer nav { display: grid; gap: 0; align-content: start; }
.site-footer a { color: rgba(255, 255, 255, 0.86); }
/* Public pages (lot T1): the links of the header and the footer are 44 px targets, mouse or finger. */
.site-header .landing-nav a, .site-header .logo, .site-header .login-menu > summary, .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; text-decoration: underline; }
.shop-main:not(.home) + .site-footer { margin-top: var(--space-2xl); }

/* Motion: quiet. Only the orbits turn; blocks fade up once.
   04.12.2026 : l'ancien fondu « view() » (Chrome seulement) est remplacé par les apparitions de
   landing-fx.js, qui marchent partout : voir le bloc « Effets lumière » en fin de fichier. */

@media (max-width: 860px) {
  .pro .landing-hero, .pro .landing-hero.has-film { grid-template-columns: 1fr; padding-block: var(--space-xl) var(--space-2xl); }
  .pro .hero-media { max-width: none; }
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
  .site-footer-brand { grid-column: 1 / -1; }
  .pro .landing-day li::after { width: 1px; height: calc(100% + 28px - 42px); top: 42px; left: 20px; }
  .login-menu-list { position: fixed; left: 12px; right: 12px; top: 60px; width: auto; }
}

/* First page: finishing touches */
.pro .video-card.large { max-width: none; margin: 0; }
.pro .landing-hero-film { max-width: none; }
.pro .hero-media { position: relative; }
.pro .hero-media::before { content: ''; position: absolute; inset: -12% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(166, 118, 170, 0.35), transparent 70%); pointer-events: none; }
.pro .landing-hero { isolation: isolate; }
.shop-header { transition: box-shadow 0.2s ease; }
.shop-header.scrolled { box-shadow: 0 6px 24px rgba(43, 37, 32, 0.08); }
@media (prefers-reduced-motion: reduce) { .shop-header { transition: none; } }

/* ═══ Shared site chrome and inner pages ════════════════════════ */
.site-header { gap: var(--space-md); }
.site-header .landing-nav a[aria-current="page"] { color: var(--color-accent-text); font-weight: 600; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1.5px solid var(--color-border-strong); border-radius: 10px; background: var(--color-surface-white); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--color-text); transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; left: 0; right: 0; top: var(--header-height, 56px); z-index: 110; max-height: calc(100dvh - var(--header-height, 56px)); overflow: auto; background: var(--color-surface-white); border-bottom: 1px solid var(--color-border); box-shadow: 0 24px 48px rgba(43, 37, 32, 0.16); padding: 8px 16px 20px; display: grid; }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { padding: 14px 4px; font-family: var(--font-display); font-size: 1.375rem; color: var(--color-text); border-bottom: 1px solid var(--color-border); }
.mobile-menu > a[aria-current="page"] { color: var(--color-accent-text); }
.mobile-menu-group { display: grid; gap: 2px; padding-top: 16px; }
.mobile-menu-group span { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 4px; }
.mobile-menu-group a { padding: 8px 4px; color: var(--color-text); font-weight: 500; }
@media (max-width: 860px) {
  .site-header .landing-nav, .site-header .login-menu { display: none; }
  .site-header .landing-brand { display: inline; font-size: 1rem; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 861px) { .mobile-menu { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { transition: none; } }

/* Inner pages: one title band, one content column */
.shop-main.page { padding-top: 0; padding-bottom: var(--space-2xl); }
.page-head { background: var(--color-surface-white); box-shadow: 0 0 0 100vmax var(--color-surface-white); clip-path: inset(0 -100vmax); padding-block: clamp(32px, 6vw, 64px); border-bottom: 1px solid var(--color-border); margin-bottom: clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.1; margin: 8px 0 12px; }
.page-head p { font-size: 1.0625rem; color: var(--color-text-muted); max-width: 40em; }
.page-narrow { max-width: 800px; }
.page-body { padding-top: clamp(24px, 4vw, 40px); }
.page .shop-trust { margin-top: 0; }

.legal-body { font-size: 1rem; line-height: 1.7; }
.legal-body h2 { font-size: 1.5rem; margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body p, .legal-body li { margin-bottom: 10px; color: var(--color-text); }
.legal-body ul { padding-left: 22px; }
.legal-body a { text-decoration: underline; }
/* Tableau des services extérieurs (confidentialite.html) : défile sur le côté sur un petit écran. */
.legal-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; margin-bottom: 12px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--color-border); }
.legal-table thead th { background: var(--color-surface-white); }

/* Blog */
#blog-content .channel-tabs { margin-bottom: var(--space-lg); }
#blog-content .product-card { transition: box-shadow 0.2s ease, border-color 0.2s ease; }
#blog-content .product-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-border-strong); }
.article-body { max-width: 720px; margin: 0 auto; padding-top: clamp(24px, 4vw, 48px); }
.article-body h1 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.1; }
.article-body > .muted { font-size: 1.125rem; margin-bottom: 8px; }
.article-body .lesson-text { font-size: 1.0625rem; line-height: 1.75; margin-bottom: 1.1em; }
.article-cover { border-radius: 20px; }

/* Sign-in screen */
.splash-back { position: absolute; top: 16px; left: 16px; font-size: 0.875rem; font-weight: 500; color: var(--color-text-muted); }
.splash-back:hover { color: var(--color-accent-text); }
/* Short pages: the footer stays at the bottom of the screen. */
body.shop-page { min-height: 100vh; display: flex; flex-direction: column; }
body.shop-page > main { flex: 1 0 auto; width: 100%; }

.login-notice { display: grid; gap: 8px; padding: 14px 16px; margin-bottom: 14px; border-radius: 12px; background: var(--color-blush); border-left: 3px solid var(--color-primary); font-size: 0.875rem; text-align: left; }
.login-notice[hidden] { display: none; }
.login-notice .btn { justify-self: start; }

/* ═══ Member space ═════════════════════════════════════════════ */
#app .app-header .logo { display: flex; align-items: center; gap: 8px; }
#app .app-brand { font-size: 1.0625rem; white-space: nowrap; }
@media (max-width: 420px) { #app .app-brand { font-size: 0.9375rem; } }

.dash-greet { margin-bottom: var(--space-md); }
.dash-greet .section-title { margin-bottom: 2px; }
.dash-greet p { font-size: 0.875rem; }
.dash-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: var(--space-lg); }
#app[data-mode="desktop"] .dash-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dash-tile { display: grid; gap: 6px; align-content: start; text-align: left; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-white); font: inherit; color: var(--color-text); cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease; min-width: 0; }
.dash-tile:hover, .dash-tile:focus-visible { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.dash-tile-label { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); }
.dash-tile strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.2; overflow-wrap: anywhere; }
.dash-tile-note { font-size: 0.75rem; color: var(--color-text-muted); line-height: 1.35; }
.dash-tile .rank-progress { display: block; margin: 0; height: 6px; }
.dash-tile .rank-progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--color-mauve), var(--color-primary)); border-radius: var(--radius-pill); }

.journey-phase { border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); margin-bottom: 10px; }
.journey-phase > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 600; font-size: 0.9375rem; }
.journey-phase > summary::-webkit-details-marker { display: none; }
.journey-phase > summary::before { content: '▸'; color: var(--color-text-muted); margin-right: 4px; transition: transform 0.2s ease; }
.journey-phase[open] > summary::before { transform: rotate(90deg); }
.journey-phase > summary > span:first-of-type { flex: 1; }
.journey-phase-count { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--color-text-muted); }
.journey-phase-count.done { color: var(--color-success); }
.journey-phase .journey-path { padding: 4px 16px 16px; }
@media (prefers-reduced-motion: reduce) { .journey-phase > summary::before, .dash-tile { transition: none; } }

#habit-tracker-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
#screen-profile { overflow-x: clip; }
.lesson-text { line-height: 1.7; max-width: 68ch; }
@media (max-width: 760px) {
  #screen-market .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  #screen-market .product-body { padding: 10px; }
  #screen-market .product-title { font-size: 1rem; }
  #screen-market .product-desc { display: none; }
  #screen-market .product-footer { flex-direction: column; align-items: stretch; gap: 6px; }
  #screen-market .product-footer .btn { width: 100%; justify-content: center; padding-inline: 8px; }
}
#classroom-home #presence-display { display: none !important; }

/* « Ton parcours en 3 mois » : dashboard (#classroom-parcours) and produits.html */
.parcours-3mois { margin: var(--space-md) 0; padding: 18px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); }
.parcours-3mois h3, .parcours-3mois h2 { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.2; margin: 0 0 12px; }
.parcours-public { margin-top: var(--space-xl); padding: 24px 20px; }
.parcours-public h2 { font-size: 1.875rem; margin-top: 6px; }
.parcours-public .btn { margin-top: 12px; }
.parcours-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.parcours-step { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 12px; padding: 12px; border-radius: 12px; background: var(--color-surface-white); border: 1px solid var(--color-border); }
.parcours-step.now { border-color: var(--color-primary); box-shadow: inset 3px 0 0 var(--color-primary); }
.parcours-step.done { border-color: var(--color-success); box-shadow: inset 3px 0 0 var(--color-success); }
.parcours-step.soon { background: transparent; border-style: dashed; border-color: var(--color-border-strong); }
.parcours-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; background: var(--color-violet-soft); color: var(--color-plum); }
.parcours-step.now .parcours-num { background: var(--color-primary); color: var(--color-on-accent); }
.parcours-step.done .parcours-num { background: var(--color-success); color: #fff; }
.parcours-body strong { display: block; font-size: 0.9375rem; line-height: 1.3; margin: 2px 0; }
.parcours-body p { margin: 0; font-size: 0.8125rem; color: var(--color-text-muted); }
.parcours-state { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.04em; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--color-surface-muted); color: var(--color-text); white-space: nowrap; }
.parcours-step.now .parcours-state { background: var(--color-blush); color: var(--color-primary-strong); }
.parcours-step.done .parcours-state { background: var(--color-jade-soft); color: var(--color-jade-strong); }
.parcours-note { margin: 12px 0 0; font-size: 0.8125rem; color: var(--color-text-muted); }
@media (max-width: 520px) {
  .parcours-step { grid-template-columns: auto 1fr; }
  .parcours-state { grid-column: 2; justify-self: start; }
}

/* Member shop tab (« Boutique ») : a night banner, collections with their count, lifted cards */
.market-hero { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 22px 20px; margin-bottom: var(--space-md); border-radius: var(--radius-card); background: radial-gradient(120% 140% at 100% 0%, var(--color-night-raised) 0%, var(--color-night) 60%); color: var(--color-night-text); }
.market-hero::after { content: '✦'; position: absolute; right: 18px; top: 8px; font-size: 4.5rem; line-height: 1; color: var(--color-star); opacity: 0.18; z-index: -1; }
.market-hero .eyebrow { color: var(--color-star); }
.market-hero h3 { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; margin: 6px 0; color: var(--color-night-text); max-width: 26ch; }
.market-hero p { font-size: 0.875rem; color: var(--color-night-muted); max-width: 46ch; margin: 0; }
.market-hero-figures { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.market-hero-figures li { padding: 8px 14px; border-radius: var(--radius-pill); background: rgba(242, 235, 227, 0.1); border: 1px solid rgba(242, 235, 227, 0.22); font-size: 0.8125rem; white-space: nowrap; }
.market-hero-figures strong { font-family: var(--font-mono); color: var(--color-night-text); margin-right: 4px; }
#screen-market .channel-tab { border: 1px solid var(--color-border); background: var(--color-surface-white); color: var(--color-text); }
#screen-market .channel-tab.active { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-on-accent); }
#screen-market .channel-tab:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.market-chip-count { font-family: var(--font-mono); font-size: 0.6875rem; opacity: 0.8; margin-left: 2px; }
.market-grid .product-card { position: relative; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.market-grid .product-card:hover, .market-grid .product-card:focus-within { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--color-border-strong); }
.market-grid .product-image { aspect-ratio: 1; }
.market-grid .product-image-empty { background: linear-gradient(135deg, var(--color-violet-soft), var(--color-blush)); color: var(--color-plum); }
.product-badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--color-plum); color: #fff; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.market-brands { margin-top: var(--space-md); font-size: 0.8125rem; color: var(--color-text-muted); line-height: 1.8; }
.market-brands .eyebrow { margin-right: 6px; }
.market-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 32px 16px; border: 1px dashed var(--color-border-strong); border-radius: var(--radius-card); background: var(--color-surface); }
.market-empty span { font-size: 2rem; color: var(--color-mauve); }
.market-empty p { margin: 0; color: var(--color-text-muted); }
.market-empty strong { color: var(--color-text); }
@media (prefers-reduced-motion: reduce) { .market-grid .product-card { transition: none; } .market-grid .product-card:hover, .market-grid .product-card:focus-within { transform: none; } }

/* Lesson as "my day": parts always shown, quieter once done */
.lesson-chips { list-style: none; padding: 0; margin: 12px 0 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.lesson-chips li { padding: 5px 12px; border-radius: var(--radius-pill); background: var(--color-surface-white); border: 1px solid var(--color-border); font-size: 0.8125rem; font-weight: 500; }
.day-part { border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); margin-top: 12px; }
.day-part-title { flex: 1; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.day-part-meta { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--color-text-muted); white-space: nowrap; }
.day-part.done { background: transparent; }
.day-part.done .day-part-meta { color: var(--color-success); }
.day-part.done .day-part-title { color: var(--color-text-muted); }
.day-part-body { padding: 0 12px 12px; }
/* Parts always shown (4.1): a plain heading, no unfolding. */
.day-part-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; }
.day-part-head .day-part-title { margin: 0; font-weight: 400; }
.lesson-block .block-title { font-size: 1.0625rem; margin-bottom: 8px; }
.lesson-block span.block-checkbox { cursor: default; }
.block-auto { font-size: 0.75rem; color: var(--color-text-muted); margin: 6px 0 0; }
.lesson-block.completed .block-auto { color: var(--color-success); font-weight: 600; }
.block-fallback:empty { display: none; }
.block-fallback { display: grid; gap: 6px; justify-items: start; margin-top: 6px; }
.block-done-btn { margin-top: 10px; }
.block-done-btn.is-on { color: var(--color-success); border-color: var(--color-success); }
/* End of J6 (4.6): the next real live */
.lesson-live-card { margin-top: 12px; padding: 14px 16px; border-radius: var(--radius-card); border: 1px solid var(--color-border); background: var(--color-violet-soft); display: grid; gap: 4px; justify-items: start; }
.lesson-live-card .eyebrow { color: var(--color-plum); }
.lesson-live-card p { margin: 0; font-size: 0.875rem; color: var(--color-text-muted); }
.lesson-live-card p::first-letter { text-transform: uppercase; }
/* Intention of the day: a tarot card to turn over (4.4) */
.tarot { perspective: 1200px; max-width: 340px; margin: 6px auto 4px; }
.tarot-inner { display: grid; transition: transform 0.6s cubic-bezier(.2, .7, .2, 1); transform-style: preserve-3d; }
.tarot.flipped .tarot-inner { transform: rotateY(180deg); }
.tarot-face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 16px; min-height: 200px; }
.tarot-front { display: grid; place-content: center; justify-items: center; gap: 8px; width: 100%; padding: 24px 16px; border: 1px solid rgba(232, 184, 77, 0.55); cursor: pointer; color: var(--color-night-text); font: inherit;
  background: radial-gradient(circle at 50% 38%, rgba(232, 184, 77, 0.28) 0 18%, transparent 19%), repeating-linear-gradient(45deg, rgba(242, 235, 227, 0.05) 0 8px, transparent 8px 16px), var(--color-night);
  box-shadow: inset 0 0 0 6px var(--color-night), inset 0 0 0 7px rgba(232, 184, 77, 0.45), var(--shadow-md); }
.tarot-front:hover { box-shadow: inset 0 0 0 6px var(--color-night), inset 0 0 0 7px var(--color-star), var(--shadow-md); }
.tarot-front:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.tarot-star { font-size: 2.5rem; line-height: 1; color: var(--color-star); }
.tarot-name { font-family: var(--font-display); font-size: 1.375rem; }
.tarot-hint { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--color-night-muted); }
.tarot-back { transform: rotateY(180deg); display: grid; align-content: center; justify-items: center; gap: 10px; padding: 22px 18px; text-align: center; background: var(--color-surface-white); border: 1px solid var(--color-star); box-shadow: inset 0 0 0 5px var(--color-surface-white), inset 0 0 0 6px rgba(232, 184, 77, 0.6), var(--shadow-md); }
.tarot-back .eyebrow { color: var(--color-plum); }
.tarot-text { font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.35; margin: 0; }
.tarot-text:focus:not(:focus-visible) { outline: none; }
.tarot-text:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.ritual-steps .tarot { margin: 8px 0; max-width: 300px; }
@media (prefers-reduced-motion: reduce) {
  .tarot-inner { transition: none; }
  .tarot.flipped .tarot-inner { transform: none; }
  .tarot-back { transform: none; }
  .tarot:not(.flipped) .tarot-back, .tarot.flipped .tarot-front { visibility: hidden; }
}
.day-part-body > .lesson-block:first-child { margin-top: 0; }
.video-duration { display: inline-block; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--color-text-muted); margin-bottom: 6px; }

/* The assistant button never sits on top of an action */
body .chatbot-fab { width: 46px; height: 46px; right: 12px; bottom: calc(var(--tab-bar-height) + 12px); opacity: 0.92; }
body .chatbot-fab svg { width: 22px; height: 22px; }
#app .screen { padding-bottom: calc(var(--tab-bar-height) + 84px); }
#app[data-mode="desktop"] .screen { padding-bottom: 96px; }

.day-part, #finish-btn { scroll-margin-top: calc(var(--header-height) + 56px); }
.profile-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: var(--space-md) 0 var(--space-lg); }
/* « Moi » (lot T1): every button and list a full 44 px target, on a computer too. */
#screen-profile .btn, #screen-profile select { min-height: 44px; }
#screen-profile label:has(> input[type="checkbox"]) { min-height: 44px; display: flex; align-items: center; gap: 8px; }
#screen-profile .pli { margin-top: var(--space-sm); }
.profile-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--space-md); margin: var(--space-sm) 0 0; font-size: 0.8125rem; }
.profile-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-text-muted); text-decoration: underline; }
.reminder-toggle { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; font-weight: 500; cursor: pointer; }
.reminder-toggle input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--color-primary); }
.reminder-hour { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 0.875rem; }
.reminder-hour select { border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 6px 10px; background: var(--color-surface-white); font: inherit; }

/* Public pages on phones: one-line brand, compact reassurance list, clearer sign-in help */
.site-header .landing-brand { white-space: nowrap; }
@media (max-width: 420px) {
  .site-header { gap: var(--space-sm); }
  .site-header .landing-brand { font-size: 0.9375rem; }
  .site-header #cart-button { padding: 8px 12px; }
}
@media (max-width: 600px) {
  .shop-trust { grid-template-columns: 1fr; gap: 0; background: var(--color-surface-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 4px 16px; }
  .shop-trust li { background: none; border: none; border-radius: 0; padding: 8px 0; border-top: 1px solid var(--color-border); }
  .shop-trust li:first-child { border-top: none; }
  .shop-trust strong, .shop-trust span { display: inline; }
  .shop-trust strong { font-size: 0.875rem; }
  .shop-trust strong::after { content: " · "; font-weight: 400; color: var(--color-text-muted); }
}
.login-help { list-style: none; padding: var(--space-md) 0 0; margin: var(--space-md) 0 0; border-top: 1px solid var(--color-border); display: grid; gap: 8px; font-size: 0.8125rem; line-height: 1.45; color: var(--color-text-muted); text-align: left; }
.login-help strong { color: var(--color-text); font-weight: 600; }
.input-group .login-show { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.8125rem; font-weight: 400; color: var(--color-text-muted); cursor: pointer; }
.login-show input { width: 16px; height: 16px; margin: 0; flex: none; accent-color: var(--color-primary); }
.input-group .login-forgot { display: inline-block; margin-top: 8px; font-size: 0.8125rem; }
.login-forgot:disabled { opacity: 0.5; cursor: default; text-decoration: none; }

/* ═══ Admin console: complements ═══════════════════════════════ */
.admin-blocker { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 12px 0; border: 0; border-top: 1px solid var(--color-border); background: none; font: inherit; text-align: left; color: var(--color-text); cursor: pointer; }
.admin-blocker:first-child { border-top: 0; }
.admin-blocker > span:first-child { width: 26px; height: 26px; border-radius: 50%; background: var(--color-danger); color: #fff; display: grid; place-content: center; font-weight: 700; font-size: 0.875rem; }
.admin-blocker strong, .admin-blocker small { display: block; }
.admin-blocker small { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 2px; }
.admin-blocker:hover strong, .admin-blocker:focus-visible strong { color: var(--color-accent-text); }
.admin-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.admin-tile { display: grid; gap: 2px; text-align: left; padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-white); font: inherit; color: var(--color-text); cursor: pointer; min-width: 0; }
.admin-tile:hover, .admin-tile:focus-visible { border-color: var(--color-primary); }
.admin-tile strong { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; color: var(--color-primary-strong); overflow-wrap: anywhere; }
.admin-tile span { font-size: 0.8125rem; font-weight: 600; }
.admin-tile small { font-size: 0.75rem; color: var(--color-text-muted); overflow-wrap: anywhere; }
.funnel-row { display: grid; grid-template-columns: minmax(120px, 190px) 1fr 2.5em; gap: 12px; align-items: center; padding: 6px 0; font-size: 0.875rem; }
.funnel-bar { height: 12px; border-radius: var(--radius-pill); background: var(--color-surface-muted); overflow: hidden; }
.funnel-bar > div { height: 100%; min-width: 2px; background: linear-gradient(90deg, var(--color-mauve), var(--color-primary)); border-radius: var(--radius-pill); }
.funnel-row strong { text-align: right; font-family: var(--font-mono); font-weight: 500; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.admin-search { flex: 1 1 220px; }
.admin-search input { width: 100%; border: 1.5px solid var(--color-border-strong); border-radius: var(--radius-pill); padding: 9px 16px; background: var(--color-surface-white); font: inherit; min-width: 0; }
.admin-filters { display: flex; gap: 4px; flex-wrap: wrap; flex-basis: 100%; }
.admin-row[hidden] { display: none !important; }
.admin-toc { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; position: sticky; top: var(--header-height); z-index: 4; background: var(--color-bg); }
.admin-toc .channel-tab { white-space: nowrap; }
#admin-content .admin-card { scroll-margin-top: calc(var(--header-height) + 56px); }
@media (max-width: 520px) { .funnel-row { grid-template-columns: 1fr 2.5em; } .funnel-row .funnel-bar { grid-column: 1 / -1; grid-row: 2; } }
/* Legal pages: update date, table of contents, printing */
.legal-updated { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: var(--space-md); }
.legal-body .legal-updated { color: var(--color-text-muted); }
.legal-toc { background: var(--color-surface-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--space-md) var(--space-lg); margin-bottom: var(--space-xl); }
.legal-toc ol { margin: var(--space-sm) 0 0; padding-left: 22px; columns: 2; column-gap: var(--space-xl); font-size: 0.9375rem; line-height: 1.5; }
.legal-toc li { margin-bottom: 6px; break-inside: avoid; color: var(--color-text-muted); }
.legal-body .legal-toc a { text-decoration: none; color: var(--color-text); }
.legal-body .legal-toc a:hover { color: var(--color-accent-text); text-decoration: underline; }
.legal-body .legal-toc + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h2 { scroll-margin-top: calc(var(--header-height) + 16px); }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }
@media print {
  .gift-gate, .gift-next, .gift-done { display: none !important; }
  .gift { box-shadow: none; border: 0; padding: 0; }
  .gift-steps input { print-color-adjust: exact; -webkit-print-color-adjust: exact; }

  .site-header, .mobile-menu, .site-footer, .legal-toc, .menu-toggle { display: none !important; }
  .page-head { box-shadow: none; clip-path: none; padding-block: 0 12px; }
  .legal-body { font-size: 11pt; line-height: 1.5; }
  .legal-body h2 { break-after: avoid; margin-top: 18pt; padding-top: 0; border-top: 0; }
  body { background: #fff; }
}

.inbox-item[hidden] { display: none !important; }
.reply-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; align-items: center; }
.reply-chip { display: inline-flex; align-items: stretch; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); background: var(--color-surface-white); overflow: hidden; max-width: 100%; }
.reply-chip button { border: 0; background: none; font: inherit; font-size: 0.8125rem; padding: 6px 12px; cursor: pointer; color: var(--color-text); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reply-chip button:hover, .reply-chip button:focus-visible { background: var(--color-blush); }
.reply-chip .reply-chip-drop { padding: 6px 10px; color: var(--color-text-muted); border-left: 1px solid var(--color-border); flex: none; }
.member-sheet-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.member-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 24px; }
.member-facts dt { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); }
.member-facts dd { margin: 2px 0 0; font-size: 0.9375rem; overflow-wrap: anywhere; }
.member-order { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--color-border); font-size: 0.875rem; }
.member-order:first-child { border-top: 0; }
.member-modules { display: flex; flex-wrap: wrap; gap: 6px; }
.member-modules span { font-family: var(--font-mono); font-size: 0.75rem; padding: 4px 8px; border-radius: 6px; background: var(--color-blush); color: var(--color-primary-strong); }
.admin-journal { max-height: 420px; overflow: auto; font-size: 0.8125rem; }
.admin-journal > div { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; padding: 7px 0; border-top: 1px solid var(--color-border); align-items: baseline; }
.admin-journal > div:first-child { border-top: 0; }
@media (max-width: 520px) { .admin-journal > div, .member-order { grid-template-columns: 1fr; gap: 2px; } }

.offer-care { text-align: center; font-size: 0.8125rem; opacity: 0.75; max-width: 46ch; margin: 14px auto 0; }

.mission-banner { display: inline-block; margin: 14px 0 0; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--color-surface-white); border: 1px solid var(--color-border-strong); font-size: 0.875rem; font-weight: 600; }
.mission-banner.closing { border-color: var(--color-primary); color: var(--color-primary-strong); }
.mission-banner[hidden] { display: none; }
.hero-gift { font-size: 0.875rem; margin-top: 6px; }
.offer-mission { font-size: 0.8125rem; font-weight: 600; margin-top: 8px; }
.countdown { margin: 14px 0; }
.countdown-label { font-size: 0.8125rem; font-weight: 600; margin: 0 0 8px; }
.countdown-units { display: flex; justify-content: center; gap: 8px; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; min-width: 3.25rem; padding: 8px 6px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-card); }
.countdown-unit strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown-unit span { font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.75; }
.gift-form { max-width: 460px; }
.gift h2 { font-size: 1.5rem; margin-bottom: 12px; }
.gift h3 { font-size: 1rem; margin: 18px 0 6px; }
.gift ol { padding-left: 1.25em; display: grid; gap: 4px; }
.gift .btn { margin-top: 18px; }
.gift[hidden], .gift-form[hidden] { display: none; }

.content-plan summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.content-plan h4 { font-size: 1rem; margin: 18px 0 2px; }
.content-rules { padding-left: 1.25em; font-size: 0.875rem; display: grid; gap: 4px; margin: 6px 0 4px; }
.content-week { list-style: none; padding: 0; margin: 0 0 6px; }
.content-week li { border-top: 1px solid var(--color-border); }
.content-week label { display: flex; gap: 10px; padding: 8px 0; font-size: 0.875rem; align-items: flex-start; cursor: pointer; }
.content-week input { margin-top: 3px; flex: none; }
.content-week input:checked + span { opacity: 0.55; text-decoration: line-through; }

.content-goal { font-size: 0.8125rem; font-weight: 600; margin-bottom: 6px; }
.content-hooks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.content-hooks li { font-size: 0.8125rem; padding: 5px 10px; border-radius: var(--radius-pill); background: var(--color-blush); }
.content-text { border-top: 1px solid var(--color-border); padding: 8px 0; }
.content-text summary { cursor: pointer; font-size: 0.875rem; font-weight: 600; }
.content-text pre { white-space: pre-wrap; font: inherit; font-size: 0.875rem; margin: 8px 0; padding: 10px 12px; background: var(--color-surface); border-radius: 8px; overflow-wrap: anywhere; }
/* Cart panel */
.cart-line { align-items: flex-start; padding: 12px 0; }
.cart-thumb { flex: none; width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--color-surface-muted); }
.cart-thumb-empty { display: flex; align-items: center; justify-content: center; color: var(--color-plum); font-size: 1.125rem; }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-title { font-weight: 600; font-size: 0.9375rem; line-height: 1.3; overflow-wrap: anywhere; }
.cart-line-controls { display: flex; align-items: center; gap: var(--space-md); margin-top: 8px; }
.cart-remove { font-size: 0.8125rem; color: var(--color-text-muted); text-decoration: underline; padding: 6px 0; }
.cart-remove:hover { color: var(--color-danger); }
.cart-line-total { font-family: var(--font-mono); font-weight: 600; font-size: 0.875rem; white-space: nowrap; padding-top: 2px; }
.cart-summary { margin: var(--space-md) 0; display: grid; gap: 6px; font-size: 0.875rem; }
.cart-summary > div { display: flex; justify-content: space-between; align-items: baseline; color: var(--color-text-muted); }
.cart-summary .cart-total { color: var(--color-text); font-weight: 600; font-size: 1rem; }
.cart-summary .cart-total span:last-child { font-family: var(--font-mono); font-size: 1.25rem; color: var(--color-accent-text); }
.cart-consent { display: flex; gap: 10px; align-items: flex-start; padding: 12px; margin-bottom: var(--space-md); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); font-size: 0.8125rem; line-height: 1.45; cursor: pointer; }
.cart-consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--color-primary); }
/* Paiement en une fois ou en 3 fois (adhésion seule, quand le serveur le propose). */
.cart-plan { margin: 0 0 var(--space-md); padding: 0; border: 0; }
.cart-plan legend { font-weight: 600; font-size: 0.875rem; margin-bottom: 8px; padding: 0; }
.cart-plan-choice { display: flex; gap: 10px; align-items: flex-start; padding: 12px; margin-bottom: 8px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); font-size: 0.8125rem; line-height: 1.45; cursor: pointer; }
.cart-plan-choice:has(input:checked) { border-color: var(--color-primary); }
.cart-plan-choice input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--color-primary); }
.cart-plan-choice input:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.cart-note { padding: 10px 12px; margin-bottom: var(--space-sm); background: var(--color-blush); border-radius: var(--radius-card); font-size: 0.875rem; }
.cart-empty { text-align: center; padding: var(--space-md) 0; }
.cart-empty p { color: var(--color-text-muted); margin-bottom: var(--space-md); }
.cart-empty-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; justify-content: center; }
#cart-overlay .modal-content { max-height: calc(100dvh - 32px); overflow-y: auto; }

.gift-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 40px); align-items: start; }
.gift-layout[hidden] { display: none; }
.gift-teaser h2 { font-size: 1.375rem; margin-bottom: 12px; }
.gift-inside { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.gift-inside li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--color-primary); }
.gift-inside span { font-size: 0.875rem; color: var(--color-text-muted); }
.gift-quote { font-family: var(--font-display, inherit); font-size: 1.0625rem; font-style: italic; }
.gift-layout .gift-form { max-width: none; margin: 0; }
.gift-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.gift-head h2 { margin: 0; }
.gift-progress { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.gift-steps { list-style: none; padding: 0; margin: 0; }
.gift-steps li { border-top: 1px solid var(--color-border); }
.gift-steps li:first-child { border-top: 0; }
.gift-steps label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; min-height: 44px; cursor: pointer; }
.gift-steps input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--color-primary); }
.gift-steps input:checked + span { color: var(--color-text-muted); text-decoration: line-through; }
.gift-done { display: grid; gap: 4px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--color-blush); }
.gift-done[hidden] { display: none; }
.gift-next { margin-top: 18px; }
.gift-next .btn-lg { margin-top: 0; }
.gift-mission { font-weight: 600; font-size: 0.9375rem; margin-bottom: 10px; text-align: center; }
.gift-tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.gift-tools .btn { margin-top: 0; }
@media (max-width: 720px) { .gift-layout { grid-template-columns: 1fr; } }

.cagnotte-card { display: grid; gap: 14px; margin: 0; }
.cagnotte-card > div:not(.gift-tools) { display: grid; gap: 10px; }
.cagnotte-card > div[hidden] { display: none; }
.cagnotte-card h2 { font-size: 1.375rem; margin: 0; }
.cagnotte-card .btn-lg, .cagnotte-card .gift-tools { margin-top: 0; }
.cagnotte-note { font-size: 0.8125rem; }

.gift-visual { margin-bottom: 14px; border-radius: 14px; overflow: hidden; }
.gift-visual[hidden], .gift-proof[hidden], .gift-word[hidden] { display: none; }
.gift-visual img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gift-visual .video-card { margin: 0; }
.gift-proof { font-weight: 600; font-size: 0.9375rem; margin-top: 10px; }
.gift-word { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--color-surface-white); border: 1px solid var(--color-border); }
.gift-word blockquote { margin: 0; font-size: 0.9375rem; }
.gift-word figcaption { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 6px; }

.unsub .admin-card { display: grid; gap: 12px; max-width: 560px; }
.unsub .admin-card[hidden] { display: none; }
.unsub-list { padding-left: 1.25em; display: grid; gap: 4px; margin: 0; }
.unsub-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.unsub-why { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.unsub-why legend { font-size: 0.875rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.unsub-undo { font-size: 0.9375rem; }
.link-button { border: 0; background: none; padding: 0; font: inherit; color: var(--color-primary-strong); text-decoration: underline; cursor: pointer; }
.unsub-follow { margin-top: 20px; font-size: 0.875rem; }

.unsub-choices { display: grid; gap: 8px; }
.unsub-choice { display: grid; gap: 2px; text-align: left; padding: 14px 16px; min-height: 44px; border: 1.5px solid var(--color-border-strong); border-radius: 12px; background: var(--color-surface-white); font: inherit; color: inherit; cursor: pointer; }
.unsub-choice:hover, .unsub-choice:focus-visible { border-color: var(--color-primary); background: var(--color-blush); }
.unsub-choice span { font-size: 0.875rem; color: var(--color-text-muted); }
.unsub-choice[hidden] { display: none; }

.campaign-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.campaign-label { display: block; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 4px; }
.campaign-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.campaign-preview { border: 1px solid var(--color-border-strong); border-radius: 12px; overflow: hidden; background: #f6f4f1; }
.campaign-preview-subject { padding: 10px 14px; font-weight: 600; font-size: 0.9375rem; background: var(--color-surface-white); border-bottom: 1px solid var(--color-border); overflow-wrap: anywhere; }
.campaign-preview-mail { padding: 14px; display: grid; gap: 10px; font-size: 0.875rem; color: #1f1a2e; }
.campaign-preview-body { background: #fff; border-radius: 10px; padding: 14px; line-height: 1.6; overflow-wrap: anywhere; min-height: 120px; }
.campaign-preview-body a { color: #B55B3E; }
.campaign-preview-mail small { color: #7a7485; font-size: 0.6875rem; }
.campaign-notes { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 4px; font-size: 0.8125rem; }
.campaign-notes li { padding: 6px 10px; border-radius: 8px; }
.campaign-notes .stop { background: var(--color-blush); color: var(--color-primary-strong); font-weight: 600; }
.campaign-notes .warn { background: var(--color-surface); }
.campaign-past { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.8125rem; padding: 6px 0; border-top: 1px solid var(--color-border); }
.campaign-partial { color: var(--color-primary-strong); font-weight: 600; }
@media (max-width: 860px) { .campaign-grid { grid-template-columns: 1fr; } }

.campaign-later { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--color-border); }
.campaign-later .campaign-label { margin: 0; }
.campaign-stats { flex-basis: 100%; font-size: 0.75rem; color: var(--color-text-muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.marketing-mission { border-left: 4px solid var(--color-border-strong); }
.marketing-mission.open { border-left-color: var(--color-primary); }
.marketing-mission.closed, .marketing-mission.always { border-left-color: var(--color-text-muted); }
.marketing-todo { margin: 10px 0 0; padding: 10px 12px 10px 28px; border-radius: 8px; background: var(--color-blush); color: var(--color-primary-strong); font-size: 0.875rem; font-weight: 600; display: grid; gap: 4px; }
.marketing-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.marketing-tile { background: var(--color-surface-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 14px 16px; display: grid; gap: 2px; min-width: 0; }
.marketing-tile strong { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; color: var(--color-primary-strong); }
.marketing-tile span { font-size: 0.8125rem; font-weight: 600; }
.marketing-tile small { font-size: 0.75rem; color: var(--color-text-muted); overflow-wrap: anywhere; }
.waitlist-rows { max-height: 280px; overflow: auto; font-size: 0.875rem; }
.waitlist-rows > div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 4px 0; border-top: 1px solid var(--color-border); }
.waitlist-rows > div[hidden] { display: none; }
.waitlist-rows span { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 560px) { .waitlist-rows > div { grid-template-columns: 1fr auto; } .waitlist-rows > div span:first-child { grid-column: 1 / -1; } }

.inbox-switch { margin-bottom: 12px; }
.mission-form { display: grid; gap: 12px; }
.mission-form[hidden] { display: none; }
.mission-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.mission-fields label { display: grid; gap: 4px; font-size: 0.8125rem; font-weight: 600; }
.mission-fields input { border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 10px 14px; background: var(--color-surface); font: inherit; font-weight: 400; min-width: 0; }

.mk-nav { margin-bottom: 12px; }
/* Lot T2 : 4 groupes (App.MARKETING_GROUPES) ; un groupe montre ses parties, cache les autres. */
#admin-content[data-mkview="overview"]:has(> .mk-nav) > [data-mk]:not([data-mk="overview"]),
#admin-content[data-mkview="publier"]:has(> .mk-nav) > [data-mk]:not([data-mk="planner"]):not([data-mk="ideas"]):not([data-mk="content"]),
#admin-content[data-mkview="inscrites"]:has(> .mk-nav) > [data-mk]:not([data-mk="list"]):not([data-mk="mail"]),
#admin-content[data-mkview="stats"]:has(> .mk-nav) > [data-mk]:not([data-mk="stats"]) { display: none; }
#admin-content[data-mkview="publier"]:has(> .mk-nav) > [data-mk] + [data-mk],
#admin-content[data-mkview="inscrites"]:has(> .mk-nav) > [data-mk] + [data-mk] { scroll-margin-top: 72px; }
.marketing-actions { list-style: none; padding: 0; margin: 0; display: grid; }
.marketing-actions li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--color-border); font-size: 0.9375rem; }
.marketing-actions li:first-child { border-top: 0; }
.marketing-actions .btn { flex: none; }
.marketing-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--color-border); }
.marketing-link > div { display: grid; gap: 2px; min-width: 0; }
.marketing-link span { font-size: 0.8125rem; }
.marketing-link code { font-size: 0.75rem; overflow-wrap: anywhere; color: var(--color-text-muted); }
@media (max-width: 560px) { .marketing-actions li { flex-direction: column; align-items: flex-start; } }

.marketing-channels { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.marketing-channels li { display: grid; grid-template-columns: minmax(110px, 180px) 1fr auto; gap: 12px; align-items: center; font-size: 0.875rem; }
.marketing-channel-bar { height: 10px; border-radius: 5px; background: var(--color-surface-muted); overflow: hidden; }
.marketing-channel-bar i { display: block; height: 100%; min-width: 4px; background: var(--color-primary); border-radius: 5px; }
.marketing-missions { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.marketing-missions th, .marketing-missions td { text-align: left; padding: 8px 12px 8px 0; border-top: 1px solid var(--color-border); white-space: nowrap; }
.marketing-missions thead th { border-top: 0; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 400; }
.marketing-missions tbody th { font-weight: 600; }

.landing-hero > * { min-width: 0; }
.landing-hero .video-card, .landing-hero .video-facade { min-width: 0; max-width: 100%; }
.landing-hero .video-title { overflow-wrap: anywhere; }
.fit-list { list-style: none; padding: 0; margin: 0 auto; max-width: 1040px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fit-list li { display: grid; gap: 8px; align-content: start; padding: 22px; background: var(--color-surface-white); border: 1px solid var(--color-border); border-top: 3px solid var(--color-primary); border-radius: var(--radius-card); }
.fit-list strong { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1.2; }
.fit-list span { font-size: 0.9375rem; color: var(--color-text-muted); }
.fit-not { max-width: 62ch; margin: 20px auto 0; text-align: center; font-size: 0.9375rem; color: var(--color-text-muted); }
.fit-not strong { color: var(--color-text); }
.about { max-width: 1040px; margin: 0 auto; padding: clamp(32px, 6vw, 64px) 0; display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.about:has(.about-photo[hidden]) { grid-template-columns: 1fr; max-width: 720px; }
.about-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.about-photo[hidden] { display: none; }
.about-text h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.1; margin: 6px 0 14px; }
.about-text p { margin-bottom: 12px; max-width: 60ch; }
.about-sign { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--color-primary-strong); }
#uma[hidden] { display: none; }
.gift-band { max-width: 1040px; margin: clamp(32px, 6vw, 64px) auto; padding: clamp(22px, 4vw, 36px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--color-blush); border-radius: 20px; }
.gift-band > div { flex: 1 1 320px; min-width: 0; }
.gift-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 4px 0 8px; }
.gift-band p { color: var(--color-text-muted); max-width: 56ch; }
@media (max-width: 720px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 280px; } .gift-band .btn { width: 100%; } }
/* The glow behind the hero film must not widen the page on phones. */
@media (max-width: 900px) { .pro .hero-media::before { inset: -8% 0; } }

.about-quotes { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.about-quotes li { padding-left: 14px; border-left: 3px solid var(--color-mauve, var(--color-primary)); font-size: 1rem; max-width: 60ch; }
.about-follow { font-size: 0.875rem; color: var(--color-text-muted); }
.fit-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.landing-figures strong { white-space: nowrap; }

.mission-card { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px; margin-bottom: 12px; border-radius: var(--radius-card); background: var(--color-surface-white); border: 1px solid var(--color-border); border-left: 4px solid var(--color-primary); }
.mission-card.before { border-left-color: var(--color-mauve, var(--color-primary)); }
.mission-card > div { display: grid; gap: 2px; min-width: 0; flex: 1 1 240px; }
.mission-card .mission-card-side { flex: 0 1 240px; }
.mission-card strong { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1.2; }
.mission-card span:not(.dash-tile-label) { font-size: 0.875rem; color: var(--color-text-muted); }

.task-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.task-head h3 { font-size: 1.25rem; }
.task-head span { font-size: 0.8125rem; }
.task-add { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.task-add input { border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 8px 12px; background: var(--color-surface); font: inherit; min-width: 0; }
.task-add #task-title { flex: 1 1 220px; }
/* Group titles (« Aujourd'hui », « Avant d'ouvrir les ventes ») in plain case, easy to read. */
.titre-groupe { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; line-height: 1.3; color: var(--color-text); text-transform: none; letter-spacing: 0; }
.task-group { margin: 14px 0 2px; }
.task-list { list-style: none; padding: 0; margin: 0; }
.task-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--color-border); }
.task-list label { display: flex; gap: 10px; align-items: flex-start; flex: 1; min-width: 0; cursor: pointer; font-size: 0.9375rem; }
.task-list label > span { overflow-wrap: anywhere; }
.task-list input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--color-primary); }
.task-dot { width: 18px; height: 18px; flex: none; }
.task-side { display: flex; gap: 6px; align-items: center; flex: none; font-size: 0.8125rem; }
.task-late { color: var(--color-primary-strong); font-style: normal; font-weight: 600; font-size: 0.8125rem; }
.task-empty { font-size: 0.875rem; padding: 6px 0; }
.planner-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.planner-head h3, .ideas h3 { font-size: 1.25rem; margin-bottom: 2px; }
.planner-head p, .ideas > p { font-size: 0.8125rem; }
.planner-nav { display: flex; gap: 4px; }
.planner-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.planner-day { display: grid; gap: 6px; align-content: start; padding: 8px; border-radius: 12px; background: var(--color-surface); border: 1px solid var(--color-border); min-width: 0; min-height: 120px; }
.planner-day.today { border-color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); }
.planner-day.past { opacity: 0.75; }
.planner-day header { display: flex; justify-content: space-between; gap: 6px; font-size: 0.75rem; }
.planner-day header span { text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); font-family: var(--font-mono); font-size: 0.625rem; }
.planner-post { display: grid; gap: 4px; text-align: left; padding: 8px; border-radius: 8px; border: 1px solid var(--color-border-strong); border-left: 3px solid var(--color-text-muted); background: var(--color-surface-white); font: inherit; color: inherit; cursor: pointer; min-width: 0; }
.planner-post.ready { border-left-color: var(--color-mauve, var(--color-primary)); }
.planner-post.published { border-left-color: var(--color-primary); }
.planner-post strong { font-size: 0.8125rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.planner-post span { font-size: 0.6875rem; }
.planner-post-top { display: flex; justify-content: space-between; gap: 6px; color: var(--color-text-muted); }
.planner-status { font-weight: 600; color: var(--color-text); }
.planner-add { border: 1px dashed var(--color-border-strong); border-radius: 8px; background: none; padding: 6px; font: inherit; font-size: 0.75rem; color: var(--color-text-muted); cursor: pointer; }
.planner-add:hover, .planner-add:focus-visible { border-color: var(--color-primary); color: var(--color-primary-strong); }
.planner-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; font-size: 0.8125rem; }
.planner-review { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--color-border); }
.planner-review h4 { font-size: 1rem; margin-bottom: 6px; }
.planner-review ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 0.875rem; }
.planner-review p { font-size: 0.875rem; }
.idea-add { display: grid; gap: 8px; margin: 12px 0; }
.idea-add textarea, .idea-add input { border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 8px 12px; background: var(--color-surface); font: inherit; min-width: 0; width: 100%; }
.idea-add-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.idea-list { list-style: none; padding: 0; margin: 0; }
.idea-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--color-border); }
.idea-list li > div { display: grid; gap: 2px; min-width: 0; }
.idea-list strong { font-weight: 600; font-size: 0.9375rem; overflow-wrap: anywhere; }
.idea-list span { font-size: 0.8125rem; }
.idea-actions { display: flex; gap: 4px; flex: none; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#modal-content .post-form label { display: block; font-size: 0.8125rem; font-weight: 600; }
#modal-content .post-form label input, #modal-content .post-form label select, #modal-content .post-form label textarea { font-weight: 400; margin-top: 4px; }
@media (max-width: 860px) {
  .planner-week { grid-template-columns: 1fr; }
  .planner-day { min-height: 0; grid-template-columns: 1fr; }
  .idea-add-row, .post-grid { grid-template-columns: 1fr; }
}

.crm-pipeline { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.crm-stage { display: grid; gap: 2px; padding: 10px 6px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-surface); font: inherit; color: inherit; cursor: pointer; min-width: 0; text-align: center; }
.crm-stage strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.crm-stage span { font-size: 0.6875rem; color: var(--color-text-muted); hyphens: auto; overflow-wrap: break-word; }
.crm-stage.active { border-color: var(--color-primary); background: var(--color-blush); }
.crm-segments { display: flex; flex-wrap: wrap; gap: 6px; }
/* Empty list: still readable (4.5:1), told apart by its dashed outline, not by fading. */
.crm-segment:disabled { opacity: 1; cursor: default; color: var(--color-text-muted); background: transparent; border: 1px dashed var(--color-border-strong); }
.crm-list { display: grid; }
.crm-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) auto; gap: 12px; align-items: center; padding: 10px 0; border: 0; border-top: 1px solid var(--color-border); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.crm-row:hover, .crm-row:focus-visible { background: var(--color-surface); }
.crm-who { display: grid; gap: 1px; min-width: 0; }
.crm-who strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-who span { font-size: 0.8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 0.8125rem; min-width: 0; }
.crm-last { font-size: 0.8125rem; white-space: nowrap; }
.crm-badge { font-size: 0.6875rem; font-weight: 600; padding: 3px 8px; border-radius: var(--radius-pill); background: var(--color-surface-muted); white-space: nowrap; }
.crm-badge.engaged { background: rgba(166, 118, 170, 0.25); }
.crm-badge.customer { background: var(--color-surface-muted); }
.crm-badge.member, .crm-badge.active { background: var(--color-blush); color: var(--color-primary-strong); }
.crm-badge.ambassador { background: var(--color-primary); color: #fff; }
.crm-tag { font-size: 0.6875rem; padding: 3px 8px; border-radius: var(--radius-pill); border: 1px solid var(--color-border-strong); white-space: nowrap; }
.crm-next { border-left: 4px solid var(--color-primary); font-size: 0.9375rem; }
.crm-form { display: grid; gap: 10px; }
.crm-form label { display: grid; gap: 4px; font-size: 0.8125rem; font-weight: 600; }
.crm-form label input, .crm-form label textarea { font-weight: 400; }
.crm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.crm-timeline { list-style: none; padding: 0; margin: 0; }
.crm-timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--color-border); font-size: 0.875rem; }
.crm-timeline li:first-child { border-top: 0; }
@media (max-width: 720px) {
  .crm-pipeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .crm-row { grid-template-columns: 1fr auto; }
  .crm-row .crm-meta { grid-column: 1 / -1; grid-row: 2; }
  .crm-form-row { grid-template-columns: 1fr; }
  .crm-timeline li { grid-template-columns: 1fr; gap: 2px; }
}

.crm-new { margin-bottom: 12px; }
.crm-new summary { list-style: none; display: inline-flex; cursor: pointer; }
.crm-new summary::-webkit-details-marker { display: none; }
.crm-new form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin-top: 10px; }
.crm-new input { border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 8px 12px; background: var(--color-surface); font: inherit; min-width: 0; }
.crm-row.closed { opacity: 0.6; }
.crm-log h4 { font-size: 1rem; margin-bottom: 8px; }
.crm-log-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; margin-bottom: 8px; }
.crm-log-next, .crm-closed { display: flex; gap: 8px; align-items: center; font-size: 0.8125rem; font-weight: 400 !important; }
.crm-log-kinds, .crm-scripts { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 720px) { .crm-log-row { grid-template-columns: 1fr; } }

.automation-line { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 0.875rem; margin-bottom: 8px; }
.automation-line code, .automation-key code { font-size: 0.75rem; overflow-wrap: anywhere; background: var(--color-surface); padding: 4px 8px; border-radius: 6px; }
.automation-key { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--color-blush); font-size: 0.875rem; }
.automation-key span { font-size: 0.8125rem; }
.automation-help summary { cursor: pointer; font-size: 0.875rem; font-weight: 600; }
.automation-help p { font-size: 0.8125rem; margin: 8px 0 4px; }
.automation-help pre { font-size: 0.75rem; background: var(--color-surface); padding: 10px 12px; border-radius: 8px; overflow-x: auto; }
#automation { min-width: 0; }
.automation-line code, .automation-key code, .automation-help code { word-break: break-all; min-width: 0; max-width: 100%; }
.automation-line code { flex: 1 1 200px; }
.automation-key > * { min-width: 0; }
.automation-help pre { max-width: 100%; white-space: pre-wrap; word-break: break-word; }
#automation .btn { white-space: normal; text-align: left; max-width: 100%; }

.automation-title { font-size: 1rem; margin: 20px 0 8px; padding-top: 14px; border-top: 1px solid var(--color-border); }
.automation-keys { list-style: none; padding: 0; margin: 0 0 8px; }
.automation-keys li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--color-border); font-size: 0.875rem; }
.automation-keys li > span { min-width: 0; overflow-wrap: anywhere; }
.automation-new { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.automation-new input { flex: 1 1 220px; min-width: 0; }
.automation-log { max-height: 260px; overflow: auto; font-size: 0.8125rem; }
.automation-log > div { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.6fr); gap: 10px; padding: 6px 0; border-top: 1px solid var(--color-border); overflow-wrap: anywhere; }
.automation-log > div.refused { color: var(--color-primary-strong); }
.automation-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px; font-size: 0.875rem; }
.automation-events label { display: flex; gap: 8px; align-items: center; }
@media (max-width: 560px) { .automation-log > div { grid-template-columns: 1fr; gap: 2px; } }

.automation-log details { margin-top: 4px; }
.automation-log summary { cursor: pointer; font-size: 0.75rem; }
.automation-log code { display: block; font-size: 0.6875rem; word-break: break-all; background: var(--color-surface); padding: 6px 8px; border-radius: 6px; margin-top: 4px; color: var(--color-text); }
.automation-out-status { font-size: 0.8125rem; margin-top: 8px; color: var(--color-text-muted); }
.automation-out-status.refused { color: var(--color-primary-strong); font-weight: 600; }
.automation-steps { font-size: 0.8125rem; padding-left: 20px; display: grid; gap: 6px; margin: 8px 0 12px; }
.automation-steps code { overflow-wrap: anywhere; }
.automation-steps pre { font-size: 0.75rem; background: var(--color-surface); padding: 10px 12px; border-radius: 8px; overflow-x: auto; margin-top: 6px; }
.automation-secret { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--color-border); }

.planner-post { padding: 0; cursor: default; }
.planner-post-open { display: grid; gap: 4px; text-align: left; padding: 8px; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; min-width: 0; width: 100%; }
.planner-post.late { border-left-color: var(--color-primary-strong); background: var(--color-blush); }
.planner-step { border: 0; border-top: 1px solid var(--color-border); background: none; font: inherit; font-size: 0.6875rem; font-weight: 600; padding: 6px 8px; color: var(--color-primary-strong); cursor: pointer; text-align: left; }
.planner-step:hover, .planner-step:focus-visible { background: var(--color-surface); }
.planner-pillar { justify-self: start; padding: 2px 6px; border-radius: var(--radius-pill); background: var(--color-surface-muted); font-size: 0.625rem !important; }
.planner-pillar.preuve { background: rgba(166, 118, 170, 0.3); }
.planner-pillar.annonce { background: var(--color-blush); }
.planner-strip { display: grid; grid-template-columns: repeat(28, minmax(6px, 14px)); gap: 3px; margin: 6px 0 4px; }
.planner-strip i, .planner-strip-note i { display: inline-block; height: 14px; border-radius: 3px; background: var(--color-surface-muted); }
.planner-strip-note i { width: 10px; height: 10px; vertical-align: -1px; margin-left: 6px; }
.planner-strip i.done, .planner-strip-note i.done { background: var(--color-primary); }
.planner-strip i.planned, .planner-strip-note i.planned { background: var(--color-mauve, #A676AA); }
.planner-strip i.missed, .planner-strip-note i.missed { background: none; box-shadow: inset 0 0 0 2px var(--color-primary-strong); }
.planner-strip i.empty-past, .planner-strip-note i.empty-past { background: none; box-shadow: inset 0 0 0 1px var(--color-border-strong); }
.planner-strip i.today { outline: 2px solid var(--color-text); outline-offset: 1px; }
.planner-strip-note { font-size: 0.75rem !important; margin-bottom: 4px; }
.planner-mix { font-size: 0.8125rem; margin-top: 12px; }
.planner-shoot { margin-top: 12px; border: 1px solid var(--color-border); border-radius: 12px; padding: 10px 12px; }
.planner-shoot summary { cursor: pointer; font-size: 0.875rem; font-weight: 600; }
.planner-shoot ul { list-style: none; padding: 0; margin: 8px 0 0; }
.planner-shoot li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--color-border); font-size: 0.875rem; }
.planner-shoot li span { min-width: 0; overflow-wrap: anywhere; }
.planner-shoot .btn { flex: none; }
.planner-averages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.planner-averages ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.planner-averages li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; font-size: 0.875rem; padding: 4px 0; border-top: 1px solid var(--color-border); }
.post-quick { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.planner-post-top { flex-wrap: wrap; }
.planner-post { overflow: hidden; }

.planner-post[draggable="true"] { cursor: grab; }
.planner-day.drop { border-color: var(--color-primary); background: var(--color-blush); }
.planner-averages li.thin { opacity: 0.55; }
.planner-verdict { font-size: 0.875rem; font-weight: 600; margin-top: 10px; }

/* ── Tasks and ideas by subject, and the watch ── */
.task-add select, .idea-add select, .watch-add select, .watch-add input { border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 8px 12px; background: var(--color-surface); font: inherit; min-width: 0; color: inherit; }
.task-check { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; white-space: nowrap; }
.task-check input { width: 16px; height: 16px; accent-color: var(--color-primary); }
/* Lot T2 : Ma journée, champs à 44 px. La case « chaque semaine » garde un carré de 20 px,
   dans une zone de 44 px qu'on touche facilement. */
.task-add input, .task-add select { min-height: 44px; }
.task-check input[type="checkbox"] { -webkit-appearance: none; appearance: none; width: 44px; height: 44px; margin: 0 -10px 0 -12px; padding: 0; border: 0; box-shadow: none; flex: none; cursor: pointer; border-radius: 8px;
  background: linear-gradient(var(--color-surface), var(--color-surface)) center / 16px 16px no-repeat, linear-gradient(#8A7D72, #8A7D72) center / 20px 20px no-repeat; }
.task-check input[type="checkbox"]:checked { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat, linear-gradient(var(--color-primary), var(--color-primary)) center / 20px 20px no-repeat; }
.task-check input[type="checkbox"]:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -6px; }
.admin-challenges .challenge-form input, .admin-challenges .challenge-form select, .admin-challenges .challenge-form textarea { min-height: 44px; border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 8px 12px; background: var(--color-surface); font: inherit; font-weight: 400; color: inherit; min-width: 0; }
.theme-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.theme-chip { display: inline-block; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--color-border-strong); font-size: 0.6875rem; font-weight: 600; font-style: normal; white-space: nowrap; vertical-align: 1px; color: var(--color-text-muted); }
.theme-preuve, .theme-annonce { background: var(--color-blush); color: var(--color-primary-strong); border-color: transparent; }
.theme-watch { border-style: dashed; }
.task-repeat { font-size: 0.75rem; color: var(--color-text-muted); white-space: nowrap; }
.task-ideas { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.875rem; margin: 8px 0 0; }
.task-done { margin-top: 12px; }
.task-done summary { cursor: pointer; font-size: 0.8125rem; color: var(--color-text-muted); padding: 6px 0; }
.task-done s { color: var(--color-text-muted); }
.idea-add-row-4 { grid-template-columns: auto 1fr 1fr auto; }
.watch { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.watch-list { list-style: none; padding: 0; margin: 10px 0; }
.watch-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--color-border); }
.watch-list li > div { display: grid; gap: 2px; min-width: 0; }
.watch-list strong { font-weight: 600; font-size: 0.9375rem; overflow-wrap: anywhere; }
.watch-list span { font-size: 0.8125rem; overflow-wrap: anywhere; }
.watch-add { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.watch-add #watch-value { flex: 1 1 220px; }
@media (max-width: 640px) {
  .idea-add-row-4 { grid-template-columns: 1fr; }
  .task-add select, .watch-add select { flex: 1 1 140px; }
  .task-list li { flex-wrap: wrap; }
  .task-side { margin-left: 28px; }
}

/* ── Marketing › Statistiques ── */
.stats-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.stats-head h3 { font-size: 1.25rem; }
.stats-head p { font-size: 0.875rem; }
.stats-networks { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 8px 0 12px; }
.stats-network { border: 1px solid var(--color-border); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; min-width: 0; color: var(--color-primary-strong); }
.stats-network span { font-size: 0.8125rem; font-weight: 600; color: var(--color-text); }
.stats-network strong { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; }
.stats-network small { font-size: 0.75rem; color: var(--color-text-muted); }
.stats-network.empty { border-style: dashed; }
.stats-spark { width: 100%; height: 32px; display: block; }
.stats-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.8125rem; }
.stats-add select, .stats-add input { border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 8px 12px; background: var(--color-surface); font: inherit; font-size: 0.9375rem; min-width: 0; color: inherit; }
.stats-add input { flex: 0 1 220px; }
.stats-add label:not(.sr-only) { font-weight: 600; font-size: 0.875rem; }
.stats-note { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.875rem; margin: 0 0 16px; }
.stats-heat { display: grid; gap: 4px; margin: 12px 0 6px; }
.stats-heat > div { display: grid; grid-template-columns: 84px repeat(7, minmax(0, 1fr)); gap: 4px; align-items: stretch; }
.stats-heat [role="columnheader"], .stats-heat [role="rowheader"] { font-size: 0.75rem; color: var(--color-text-muted); align-self: center; }
.stats-heat [role="columnheader"] { text-align: center; }
.stats-cell { display: grid; place-items: center; min-height: 46px; border-radius: 8px; font-size: 0.8125rem; font-weight: 600; line-height: 1.1; background: color-mix(in srgb, var(--color-primary) var(--heat, 0%), var(--color-surface)); color: var(--color-text); }
.stats-cell small { font-weight: 400; font-size: 0.6875rem; opacity: 0.75; }
.stats-cell.none { background: none; border: 1px dashed var(--color-border); color: var(--color-text-muted); font-weight: 400; }
.stats-legend { font-size: 0.8125rem; margin-top: 6px; }
.stats-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.stats-columns + .stats-legend { margin: -6px 0 16px; }
.stats-bars { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.stats-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; font-size: 0.8125rem; }
.stats-bars li > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats-bars strong { font-weight: 600; text-align: right; }
.stats-bar { grid-column: 1 / -1; grid-row: 2; height: 8px; border-radius: 999px; background: var(--color-border); overflow: hidden; }
.stats-bar i { display: block; height: 100%; border-radius: 999px; background: var(--color-primary); }
.stats-bars small { grid-column: 1 / -1; color: var(--color-text-muted); font-size: 0.75rem; }
.stats-top { padding: 0 0 0 20px; margin: 8px 0 0; }
.stats-top li { padding: 10px 0; border-top: 1px solid var(--color-border); }
.stats-top li > div, .stats-top li { gap: 12px; }
.stats-top li { display: list-item; }
.stats-top li > div { display: inline-grid; gap: 2px; width: calc(100% - 130px); vertical-align: top; min-width: 0; }
.stats-top strong { font-weight: 600; font-size: 0.9375rem; overflow-wrap: anywhere; }
.stats-top span { font-size: 0.8125rem; }
.stats-views { display: inline-grid; width: 120px; text-align: right; font-weight: 600; vertical-align: top; }
.stats-views small { font-weight: 400; color: var(--color-text-muted); font-size: 0.75rem; }
.stats-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
@media (max-width: 640px) {
  .stats-heat > div { grid-template-columns: 52px repeat(7, minmax(0, 1fr)); gap: 2px; }
  .stats-cell { font-size: 0.6875rem; min-height: 40px; }
  .stats-top li > div { width: 100%; }
  .stats-views { width: auto; text-align: left; }
}

.stats-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.stats-releve { display: grid; gap: 4px; justify-items: end; max-width: 280px; text-align: right; }
.stats-releve small { font-size: 0.75rem; }
.stats-net-table th[scope="row"] { font-weight: 600; white-space: nowrap; }
.stats-net-table td, .stats-best td { font-variant-numeric: tabular-nums; }
.stats-source { display: block; font-size: 0.6875rem; }
.stats-hand { font-weight: 400; font-size: 0.6875rem; color: var(--color-text-muted); border: 1px solid var(--color-border); border-radius: 999px; padding: 1px 6px; }
.stats-curve { margin: 10px 0 0; color: var(--color-primary-strong); }
.stats-curve svg { width: 100%; height: auto; max-height: 240px; display: block; }
.stats-curve text { fill: var(--color-text-muted); font-size: 12px; }
.stats-curve-grid { stroke: var(--color-border); stroke-width: 1; }
.stats-curve figcaption { color: var(--color-text-muted); }
.stats-hand-form input { flex: 0 1 110px; }
.stats-history { margin-top: 10px; }
.stats-history summary { cursor: pointer; font-size: 0.8125rem; color: var(--color-text-muted); padding: 4px 0; }
.stats-history ul { list-style: none; padding: 0; margin: 6px 0 0; max-width: 460px; }
.stats-history li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; font-size: 0.8125rem; padding: 4px 0; border-top: 1px solid var(--color-border); }
.stats-insights ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 0.9375rem; }
.stats-todo { list-style: none; padding: 0; margin: 10px 0 0; }
.stats-todo li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--color-border); }
.stats-todo li > div { display: grid; gap: 2px; min-width: 0; flex: 1 1 240px; }
.stats-todo strong { font-weight: 600; font-size: 0.9375rem; overflow-wrap: anywhere; }
.stats-todo span { font-size: 0.8125rem; }
.stats-todo form { display: flex; gap: 6px; align-items: center; }
.stats-todo input { width: 104px; border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 7px 10px; background: var(--color-surface); font: inherit; font-size: 0.875rem; color: inherit; min-width: 0; }
.stats-weeks { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin-top: 12px; }
.stats-weeks > div { display: grid; grid-template-rows: 18px 110px auto auto; align-items: end; text-align: center; min-width: 0; }
.stats-weeks strong { font-size: 0.6875rem; font-weight: 600; align-self: center; white-space: nowrap; overflow: hidden; }
.stats-weeks i { display: block; min-height: 2px; border-radius: 6px 6px 0 0; background: var(--color-primary); margin: 0 12%; }
.stats-weeks span, .stats-weeks small { font-size: 0.6875rem; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats-weeks span { border-top: 1px solid var(--color-border-strong); padding-top: 4px; }
@media (max-width: 640px) { .stats-todo input { width: 84px; } .stats-weeks small { display: none; } }

.stats-goal { height: 6px; border-radius: 999px; background: var(--color-border); overflow: hidden; margin-top: 6px; }
.stats-goal i { display: block; height: 100%; background: var(--color-primary); border-radius: 999px; }
.stats-goals label { display: grid; gap: 2px; font-size: 0.75rem; }
.stats-goals input { width: 120px; flex: none; }
.stats-import { border-top: 1px solid var(--color-border); margin: 14px 0; padding-top: 14px; display: grid; gap: 4px; }
.stats-import input[type="file"] { font: inherit; font-size: 0.875rem; max-width: 100%; }
.stats-import-table { overflow-x: auto; margin: 10px 0; }
.stats-import-table table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.stats-import-table th, .stats-import-table td { text-align: left; padding: 6px 8px; border-top: 1px solid var(--color-border); white-space: nowrap; }
.stats-import-table td:nth-child(2) { white-space: normal; min-width: 160px; }
.stats-import-warn { background: var(--color-blush); border-radius: 10px; padding: 10px 12px; font-size: 0.875rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stats-import-check { display: flex; gap: 8px; align-items: flex-start; font-size: 0.875rem; }
@media print {
  body.print-stats * { visibility: hidden !important; }
  body.print-stats #stats, body.print-stats #stats * { visibility: visible !important; }
  body.print-stats #stats { position: absolute; left: 0; top: 0; width: 100%; }
  body.print-stats #stats form, body.print-stats #stats button, body.print-stats #stats details, body.print-stats #stats .stats-import, body.print-stats #stats .stats-noprint { display: none !important; }
  body.print-stats #stats .admin-card { break-inside: avoid; box-shadow: none; }
}

/* ── Planner: month view ── */
.planner-nav { flex-wrap: wrap; justify-content: flex-end; }
.planner-month-title { font-family: var(--font-display); font-size: 1.125rem; text-transform: capitalize; margin: 4px 0 8px; }
.planner-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.planner-month-head { font-size: 0.6875rem; color: var(--color-text-muted); text-align: center; padding-bottom: 2px; }
.planner-month-day { display: grid; gap: 2px; align-content: start; min-height: 84px; padding: 6px; border-radius: 10px; border: 1px solid var(--color-border); background: var(--color-surface); font: inherit; color: inherit; text-align: left; cursor: pointer; min-width: 0; }
.planner-month-day.out { opacity: 0.45; }
.planner-month-day.today { border-color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); }
.planner-month-day strong { font-size: 0.75rem; font-weight: 600; }
.planner-month-day span { font-size: 0.6875rem; line-height: 1.25; padding: 1px 5px; border-radius: 5px; background: var(--color-surface-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.planner-month-day span.published { background: var(--color-blush); color: var(--color-primary-strong); }
.planner-month-day span.late { text-decoration: line-through; opacity: 0.7; }
.planner-month-day em { font-size: 0.6875rem; font-style: normal; color: var(--color-text-muted); }
@media (max-width: 640px) {
  .planner-month-day { min-height: 52px; padding: 4px; }
  .planner-month-day span { font-size: 0; width: 100%; height: 6px; padding: 0; border-radius: 999px; }
}
.planner-week[hidden] { display: none !important; }

/* ── CRM: the five contacts of the day ── */
.crm-today-list { list-style: none; padding: 0; margin: 0; }
.crm-today-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--color-border); }
.crm-today-list li > div { display: grid; gap: 2px; min-width: 0; flex: 1 1 200px; }
.crm-today-list strong { font-weight: 600; font-size: 0.9375rem; overflow-wrap: anywhere; }
.crm-today-list span.muted { font-size: 0.8125rem; }
.crm-today-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.crm-funnel { font-size: 0.8125rem; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--color-border); }

.crm-send { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--color-blush); font-size: 0.8125rem; }
.crm-send > span[data-k] { display: contents; }
.crm-bulk { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--color-border); font-size: 0.875rem; }
.crm-bulk textarea, .crm-bulk input { border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 8px 12px; background: var(--color-surface); font: inherit; width: 100%; min-width: 0; }
.crm-bulk button { justify-self: start; }
.crm-goal { width: 58px; border: 1.5px solid var(--color-border-strong); border-radius: 6px; padding: 2px 6px; background: var(--color-surface); font: inherit; font-size: 0.8125rem; color: inherit; }

/* ── Member space: daily reminder, events to the calendar ── */
.reminder-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--color-surface-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 14px 16px; margin-bottom: 12px; font-size: 0.875rem; }
.reminder-card > div:first-child { display: grid; gap: 2px; flex: 1 1 220px; min-width: 0; }
.reminder-card > div:first-child span { color: var(--color-text-muted); font-size: 0.8125rem; }
.reminder-card.set { background: none; border-style: dashed; color: var(--color-text-muted); font-size: 0.8125rem; padding: 10px 14px; }
.reminder-form { display: flex; gap: 8px; align-items: center; }
.reminder-form input { border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 7px 10px; background: var(--color-surface); font: inherit; color: inherit; }
.event-ics { margin-top: 8px; }
.lesson-long { font-size: 0.8125rem; color: var(--color-text-muted); background: var(--color-blush); border-radius: 10px; padding: 8px 12px; margin: 8px 0 0; }

/* Admin console on a phone: member lines stay readable, search fields keep their full hint. */
.admin-row .inbox-item-meta { flex-wrap: wrap; row-gap: 0; }
#app[data-mode="mobile"] .admin-search { flex-basis: 100%; }

/* ── Console admin : menu regroupé ──────────────────────────────
   Ordinateur : il prend la place de la barre latérale membre.
   Téléphone : la barre du bas s'efface, un bouton « ☰ section ▾ » ouvre le même menu en panneau. */
.app-body { position: relative; }
.admin-menu { display: none; flex-direction: column; gap: 2px; }
.admin-menu-back, .admin-menu-item {
  display: flex; align-items: center; gap: var(--space-sm); width: 100%;
  border: 0; background: none; font: inherit; text-align: left; cursor: pointer;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; color: var(--color-text-muted);
  transition: background-color 150ms ease, color 150ms ease;
}
.admin-menu-back:hover, .admin-menu-item:hover { background: var(--color-surface-muted); color: var(--color-text); }
.admin-menu-item.active { background: var(--color-blush); color: var(--color-accent-text); font-weight: 600; box-shadow: inset 3px 0 0 var(--color-primary); }
.admin-menu-back { color: var(--color-text); font-weight: 600; margin-bottom: var(--space-sm); }
.admin-menu-back:focus-visible, .admin-menu-item:focus-visible, .admin-menu-toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.admin-menu-group { display: flex; flex-direction: column; gap: 2px; }
.admin-menu-group + .admin-menu-group { margin-top: var(--space-sm); }
.admin-menu-title {
  margin: 0; padding: 8px 14px 4px;
  font-size: 0.8125rem; font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: 0.06em;
  color: var(--color-text-muted);
}
.admin-menu-sep { border: 0; border-top: 1px solid var(--color-border); margin: var(--space-sm) 14px; }
.admin-menu-item .partner-tab-count { margin-left: auto; }
.admin-menu-item.active .partner-tab-count { background: var(--color-primary); color: #fff; }

/* Ordinateur */
body.logged-in #app[data-mode="desktop"].admin-console .pc-sidebar { display: none; }
body.logged-in #app[data-mode="desktop"].admin-console .admin-menu {
  display: flex; width: 240px; flex-shrink: 0;
  background: var(--color-surface); border-right: 1px solid var(--color-border);
  padding: var(--space-lg) var(--space-md);
  position: sticky; top: var(--header-height); height: calc(100vh - var(--header-height)); overflow-y: auto;
}
.admin-menu-toggle { display: none; }

/* Téléphone */
body.logged-in #app[data-mode="mobile"].admin-console .tab-bar { display: none; }
#app[data-mode="mobile"].admin-console .screen { padding-bottom: var(--space-lg); }
#app[data-mode="mobile"] .admin-menu-toggle {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px;
  margin-bottom: var(--space-md); padding: 0 14px;
  background: var(--color-surface-white); border: 1px solid var(--color-border-strong); border-radius: var(--radius-card);
  font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--color-text); text-align: left; cursor: pointer;
}
.admin-menu-toggle-icon { color: var(--color-primary); font-size: 1.125rem; line-height: 1; }
.admin-menu-toggle-caret { margin-left: auto; color: var(--color-text-muted); transition: transform 150ms ease; }
#app[data-mode="mobile"] .admin-menu-toggle[aria-expanded="true"] { border-color: var(--color-primary); }
.admin-menu-toggle[aria-expanded="true"] .admin-menu-toggle-caret { transform: rotate(180deg); }
#app[data-mode="mobile"].admin-console .admin-menu.open {
  display: flex; position: absolute; z-index: 260;
  max-height: calc(100vh - 206px); overflow-y: auto; padding: var(--space-sm);
  background: var(--color-surface-white); border: 1px solid var(--color-border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  animation: admin-menu-in 140ms ease-out;
}
#app[data-mode="mobile"] .admin-menu-back, #app[data-mode="mobile"] .admin-menu-item { min-height: 44px; padding-block: 10px; }
#app[data-mode="mobile"] .admin-menu-back { margin-bottom: 2px; }
#app[data-mode="mobile"] .admin-menu-title { padding-top: 6px; }
#app[data-mode="mobile"] .admin-menu-group + .admin-menu-group { margin-top: 4px; }
#app[data-mode="mobile"] .admin-menu-sep { margin-block: 4px; }
@keyframes admin-menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  #app[data-mode="mobile"].admin-console .admin-menu.open { animation: none; }
  .admin-menu-toggle-caret { transition: none; }
}
#app[data-mode="desktop"] #header-admin { display: none; }
.header-admin-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--color-border); background: var(--color-surface-muted); color: var(--color-plum); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.header-admin-btn:hover { background: var(--color-blush); }
.header-admin-btn.hidden { display: none; }

/* Habit tracker: the 21 days no longer get cut off on a phone — the grid scrolls sideways,
   the habit name stays in view, and each day number sits above its own column. */
.habit-tracker { overflow-x: auto; }
.habit-tracker-header, .habit-row { display: flex; align-items: center; gap: var(--space-xs); min-width: max-content; }
.habit-row { background: var(--color-surface-white); }
.habit-tracker .habit-name { position: sticky; left: 0; z-index: 1; background: inherit; align-self: stretch; display: flex; align-items: center; }
.habit-tracker-header .habit-name { color: inherit; font-size: inherit; font-weight: inherit; }
.habit-chip, .habit-day { flex: none; }
.habit-day { width: 32px; text-align: center; font-size: 0.6875rem; letter-spacing: 0; }
.habit-tracker .habit-name { flex-basis: calc(100px + var(--space-md)); margin-left: calc(-1 * var(--space-md)); padding-left: var(--space-md); }
#app[data-mode="desktop"] .habit-chip, #app[data-mode="desktop"] .habit-day { width: 30px; }
#app[data-mode="desktop"] .habit-chip { height: 30px; }

/* Lessons on a phone: a long part title keeps its width, its duration sits underneath;
   the assistant button is smaller so it hides less of the text. */
#app[data-mode="mobile"] .day-part-head { flex-wrap: wrap; row-gap: 4px; }
#app[data-mode="mobile"] .day-part-title { flex-basis: 100%; }
#app[data-mode="mobile"] .day-part-meta { flex-basis: 100%; padding-left: 0; }
@media (max-width: 600px) { .chatbot-fab { width: 46px; height: 46px; right: 10px; } .chatbot-fab svg { width: 22px; height: 22px; } }
/* Sign-in page: the logo reads as a rounded tile instead of a pale square on the page. */
.splash-logo-img { border-radius: 22px; background: var(--color-surface); box-shadow: 0 2px 10px rgba(38, 21, 47, 0.08); }

/* ── Review of November 2026: type, sign-in, focus on the night, touch, motion ── */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }

/* Sign-in card: labels line up with their fields. */
.login-card { text-align: left; }
.splash-subtitle { text-wrap: balance; }

/* Small labels and notes on phones. */
.dash-tile-label { letter-spacing: 0.06em; }
.badge-item .badge-label { font-size: 0.75rem; }
@media (max-width: 420px) { .badges-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gift-form p.muted { font-size: 0.8125rem; line-height: 1.5; }

/* The focus ring stays visible on the dark surfaces. */
.band-dark, .site-footer, .quiz-band, .constellation-map, .chatbot-header, .contest-banner { --color-focus: var(--color-night-text); }
.band-dark .offer-card { --color-focus: var(--color-violet); }

/* A pressed button answers the finger. */
.btn:active { transform: translateY(0) scale(0.98); }

/* Touch screens: small controls get a full-size target. */
@media (pointer: coarse) {
  .btn-sm { min-height: 44px; }
  .menu-toggle, .qty button { min-width: 44px; min-height: 44px; }
}

/* "Reduce motion" is respected everywhere, including the loops. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* The range sliders of the check-ins keep a visible focus ring. */
.checkpoint-slider input[type=range]:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }

/* Phones: no stars behind the name in the header, no orbits behind the title of the day's card. */
@media (max-width: 600px) {
  #app > .app-header { background: rgba(38, 21, 47, 0.95); }
  .today-card::after {
    background:
      radial-gradient(circle at 86% 22%, rgba(232, 184, 77, 0.9) 0 1.5px, transparent 2px),
      radial-gradient(circle at 94% 80%, rgba(242, 235, 227, 0.5) 0 1px, transparent 1.5px);
  }
}

/* ═══ Pages publiques, quatrième passe : finition « studio » ═══════
   Lumière douce derrière la promesse, scène en orbite à côté du titre,
   boutons et cartes qui répondent au survol, FAQ plus lisible.
   Tout est décor : la page se lit pareil sans, et rien ne bouge pour
   qui a demandé moins d'animations. */

/* Header: lighter glass once the page scrolls (class set by site.js). */
.site-header { transition: box-shadow 0.3s ease, background-color 0.3s ease; }
.site-header.scrolled { background: rgba(251, 247, 242, 0.86); border-bottom-color: transparent; }
.site-header .landing-nav a { position: relative; }
.site-header .landing-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.site-header .landing-nav a:hover::after, .site-header .landing-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Reading progress, a thin thread under the header (scroll-driven, no script). */
.scroll-thread { display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .scroll-thread { display: block; position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 101; background: linear-gradient(90deg, var(--color-plum), var(--color-mauve), var(--color-peach)); transform-origin: left; transform: scaleX(0); animation: thread linear both; animation-timeline: scroll(root); pointer-events: none; }
    @keyframes thread { to { transform: scaleX(1); } }
  }
}

/* Hero: a warm light behind the promise, on the page itself so it reaches both edges. */
body.shop-page:has(main.pro) { background:
    radial-gradient(38% 520px at 74% 260px, rgba(166, 118, 170, 0.2), transparent 70%),
    radial-gradient(30% 420px at 92% 520px, rgba(240, 151, 107, 0.14), transparent 70%),
    radial-gradient(28% 380px at 6% 80px, rgba(253, 238, 233, 0.95), transparent 70%),
    var(--color-bg);
  background-repeat: no-repeat; }
.pro .landing-hero h1 em { font-style: italic; background: linear-gradient(100deg, var(--color-primary-strong) 10%, var(--color-plum) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; display: inline-block; }
@media (min-width: 980px) {
  .pro .landing-hero:not(.has-film) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.hero-note::before { content: ''; display: inline-block; vertical-align: 1px; margin-right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-jade); box-shadow: 0 0 0 4px rgba(19, 110, 85, 0.15); }

/* Buttons: depth and a light that crosses on hover. */
.shop-page .btn { transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.shop-page .btn-primary { position: relative; overflow: hidden; background: linear-gradient(135deg, #B25529, var(--color-primary-strong)); box-shadow: 0 6px 18px rgba(160, 75, 38, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.shop-page .btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s ease; pointer-events: none; }
@media (hover: hover) {
  .shop-page .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(160, 75, 38, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
  .shop-page .btn-primary:hover::after { transform: translateX(120%); }
  .shop-page .btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
}

/* Figures: the numbers carry the brand gradient. */
.pro .landing-figures strong { background: linear-gradient(160deg, var(--color-text) 30%, var(--color-plum)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* "C'est pour toi si…": cards lift a little under the pointer. */
.fit-list li { transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: var(--shadow-sm); }
@media (hover: hover) { .fit-list li:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(43, 37, 32, 0.1); } }

/* Quotes of Uma: lighter, more editorial. */
.about-quotes li { transition: border-color 0.3s ease, background-color 0.3s ease; }
@media (hover: hover) { .about-quotes li:hover { border-left-color: var(--color-primary); background: var(--color-surface); } }

/* Gift band: a gradient frame. */
.gift-band { position: relative; background: linear-gradient(var(--color-blush), var(--color-blush)) padding-box, linear-gradient(120deg, rgba(166, 118, 170, 0.55), rgba(240, 151, 107, 0.55)) border-box; border: 1.5px solid transparent; box-shadow: 0 18px 40px rgba(160, 75, 38, 0.08); }

/* The dark band: a sky. */
.pro .band-dark { background-image:
    radial-gradient(circle at 12% 18%, rgba(242, 235, 227, 0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 82% 12%, rgba(232, 184, 77, 0.8) 0 1.2px, transparent 2px),
    radial-gradient(circle at 68% 64%, rgba(242, 235, 227, 0.5) 0 1px, transparent 1.5px),
    radial-gradient(circle at 24% 78%, rgba(212, 166, 219, 0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 92% 88%, rgba(242, 235, 227, 0.5) 0 1px, transparent 1.5px),
    radial-gradient(60% 50% at 50% 0%, rgba(103, 43, 109, 0.45), transparent 70%); }

/* FAQ: a + that turns into −, a softer answer. */
.landing-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color 0.2s ease; }
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq summary::after { content: '+'; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-content: center; border: 1px solid var(--color-border-strong); font-weight: 400; font-size: 1.125rem; line-height: 1; color: var(--color-accent-text); transition: transform 0.3s ease, background-color 0.2s ease; }
.landing-faq details[open] summary::after { content: '−'; transform: rotate(180deg); background: var(--color-blush); }
.landing-faq summary:hover { color: var(--color-accent-text); }
.landing-faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .landing-faq details[open] p { animation: faq-open 0.35s ease both; }
  @keyframes faq-open { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }
}

/* Footer: links slide a little. */
.site-footer nav a { transition: color 0.2s ease, translate 0.2s ease; }
@media (hover: hover) { .site-footer nav a:hover { translate: 3px 0; } }

/* ═══ Boutique (produits.html) : finition « studio » ═══════════════ */
/* Header band: the same warm light as the first page. */
.shop-catalog .page-head { position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(28% 110% at 72% 0%, rgba(166, 118, 170, 0.16), transparent 70%),
    radial-gradient(22% 80% at 80% 100%, rgba(240, 151, 107, 0.1), transparent 70%),
    var(--color-surface-white); }
.shop-catalog .page-head h1 { letter-spacing: -0.01em; }

/* Promises: an icon in a soft disc, a little lift under the pointer. */
.shop-catalog .shop-trust li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 16px 18px; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.shop-catalog .shop-trust .trust-icon { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--color-violet-soft); color: var(--color-plum); }
@media (hover: hover) { .shop-catalog .shop-trust li:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } }

/* Search: a magnifier, a clear focus. */
.shop-search { position: relative; }
.shop-search::before { content: ''; position: absolute; left: 18px; top: 50%; width: 16px; height: 16px; translate: 0 -50%; pointer-events: none; opacity: 0.55;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F1815' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E"); }
.shop-search input { padding-left: 44px; }
.shop-search input, .shop-sort select { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.shop-search input:focus, .shop-sort select:focus { border-color: var(--color-plum); box-shadow: var(--focus-ring); }

/* Collections: pills that answer the pointer. */
.shop-catalog .channel-tab { border: 1px solid transparent; }
@media (hover: hover) { .shop-catalog .channel-tab:not(.active):hover { background: var(--color-surface-white); border-color: var(--color-border-strong); color: var(--color-text); } }
.shop-catalog .channel-tab.active { background: linear-gradient(135deg, #B25529, var(--color-primary-strong)); box-shadow: 0 4px 12px rgba(160, 75, 38, 0.25); }

/* Product cards: rounder, lifted on hover, the picture zooms gently. */
.shop-page .product-card { border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.shop-page .product-open { overflow: hidden; position: relative; }
.shop-page .product-image { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.shop-page .product-open .product-image-empty { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, var(--color-violet-soft), var(--color-surface-muted) 70%); font-size: 2.5rem; }
.shop-page .product-open::after { content: 'Voir la fiche'; position: absolute; left: 50%; bottom: 14px; translate: -50% 8px; opacity: 0; padding: 6px 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.92); color: var(--color-text); font-size: 0.75rem; font-weight: 600; box-shadow: var(--shadow-md); transition: opacity 0.25s ease, translate 0.25s ease; pointer-events: none; }
@media (hover: hover) {
  .shop-page .product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43, 37, 32, 0.12); }
  .shop-page .product-card:hover .product-image { transform: scale(1.05); }
  .shop-page .product-card:hover .product-open::after { opacity: 1; translate: -50% 0; }
}
.shop-page .product-open:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -3px; }
.shop-page .product-open:focus-visible::after { opacity: 1; translate: -50% 0; }
.shop-page .product-title a { color: inherit; text-decoration: none; }
.shop-page .product-title a:hover { color: var(--color-accent-text); }
/* Price on its own line when the card is narrow, so the button never squeezes it. */
.shop-page .product-footer { flex-wrap: wrap; row-gap: 10px; }
.shop-page .product-price { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--color-text); }
.shop-page .product-footer .btn { margin-left: auto; }

/* Products fade in as the grid is drawn. */
@media (prefers-reduced-motion: no-preference) {
  .fx .shop-catalog .product-card { animation: card-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .fx .shop-catalog .product-card:nth-child(2) { animation-delay: 0.05s; }
  .fx .shop-catalog .product-card:nth-child(3) { animation-delay: 0.1s; }
  .fx .shop-catalog .product-card:nth-child(4) { animation-delay: 0.15s; }
  .fx .shop-catalog .product-card:nth-child(n+5) { animation-delay: 0.2s; }
}
.shop-catalog .shop-empty { border: 1px dashed var(--color-border-strong); background: var(--color-surface-white); }

/* ═══ Blog (blog.html) : finition « studio » ═══════════════════════ */
.blog-page .page-head { position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(28% 110% at 72% 0%, rgba(166, 118, 170, 0.16), transparent 70%),
    radial-gradient(22% 80% at 80% 100%, rgba(240, 151, 107, 0.1), transparent 70%),
    var(--color-surface-white); }
.blog-page .channel-tab { border: 1px solid transparent; }
@media (hover: hover) { .blog-page .channel-tab:not(.active):hover { background: var(--color-surface-white); border-color: var(--color-border-strong); color: var(--color-text); } }
.blog-page .channel-tab.active { background: linear-gradient(135deg, #B25529, var(--color-primary-strong)); box-shadow: 0 4px 12px rgba(160, 75, 38, 0.25); color: #fff; }

/* Cards: a label on the picture, the picture zooms gently, the card lifts. */
.blog-card { text-decoration: none; }
.blog-card-media { position: relative; overflow: hidden; }
.blog-card-media .product-image { display: block; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.blog-card-media .product-image-empty { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, var(--color-violet-soft), var(--color-surface-muted) 70%); font-size: 2.5rem; }
.blog-card-kind { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.92); color: var(--color-plum); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.blog-card .product-title { font-size: 1.375rem; max-width: none; transition: color 0.2s ease; }
@media (hover: hover) {
  .blog-page .blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43, 37, 32, 0.12); }
  .blog-card:hover .product-image { transform: scale(1.05); }
  .blog-card:hover .product-title { color: var(--color-accent-text); }
}
.blog-card:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }

/* The latest piece leads, picture on the left (wide screens). */
@media (min-width: 860px) {
  .blog-grid.has-featured > .blog-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; }
  .blog-grid.has-featured > .blog-card:first-child .blog-card-media, .blog-grid.has-featured > .blog-card:first-child .product-image { height: 100%; min-height: 320px; aspect-ratio: auto; }
  .blog-grid.has-featured > .blog-card:first-child .product-body { padding: clamp(24px, 3vw, 40px); justify-content: center; gap: 12px; }
  .blog-grid.has-featured > .blog-card:first-child .product-title { font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.1; }
  .blog-grid.has-featured > .blog-card:first-child .product-desc { font-size: 1rem; -webkit-line-clamp: 4; }
}

/* Reading: a calmer measure, bigger text, a closing card that leads somewhere. */
.blog-page .article-body .lesson-text { font-size: 1.125rem; line-height: 1.8; max-width: 66ch; }
.blog-page .article-cover { box-shadow: 0 24px 60px rgba(43, 37, 32, 0.14); }
.article-next { margin-top: clamp(40px, 6vw, 64px); padding: clamp(24px, 4vw, 36px); border-radius: 20px; color: var(--color-night-text);
  background: radial-gradient(60% 80% at 100% 0%, rgba(166, 118, 170, 0.35), transparent 70%), var(--color-night); }
.article-next .eyebrow { color: var(--color-violet-light); }
.article-next h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin: 6px 0 10px; }
.article-next p { color: var(--color-night-muted); max-width: 52ch; }
.article-next-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.article-next .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.article-next .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.article-next a:focus-visible { outline: 3px solid var(--color-violet-light); outline-offset: 3px; }

/* ═══ Défi offert (cadeau.html) : finition « studio » ══════════════ */
.gift-page .page-head { position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(30% 110% at 78% 0%, rgba(166, 118, 170, 0.16), transparent 70%),
    radial-gradient(24% 80% at 88% 100%, rgba(240, 151, 107, 0.14), transparent 70%),
    var(--color-surface-white); }

/* What you get: a ticked list instead of bars. */
.gift-page .gift-inside li { border-left: 0; padding-left: 40px; position: relative; }
.gift-page .gift-inside li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-content: center; font-size: 0.8125rem; font-weight: 700; color: var(--color-plum); background: var(--color-violet-soft); }
.gift-page .gift-quote { padding-left: 40px; }

/* The form: a gift card with a ribbon of gradient. */
.gift-page .gift-form { position: relative; overflow: hidden; border-radius: 20px; padding: clamp(20px, 3vw, 28px); box-shadow: 0 24px 60px rgba(43, 37, 32, 0.12); border: 1px solid var(--color-border); }
.gift-page .gift-form::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--color-plum), var(--color-mauve), var(--color-peach)); }
.gift-form-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.gift-form-head strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.gift-badge { padding: 4px 10px; border-radius: var(--radius-pill); background: var(--color-blush); color: var(--color-accent-text); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; }
.gift-page .waitlist input { transition: border-color 0.2s ease, box-shadow 0.2s ease; background: var(--color-surface-white); }
.gift-page .waitlist input:focus { border-color: var(--color-plum); box-shadow: var(--focus-ring); }
.gift-assure { list-style: none; padding: 0; margin: 4px 0 2px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 0.8125rem; color: var(--color-text-muted); }
.gift-assure li::before { content: '✓ '; color: var(--color-jade); font-weight: 700; }

/* The sheet: chapters with a sign, rows that light up, a tick that pops. */
.gift-page .gift { border-radius: 20px; padding: clamp(20px, 3.5vw, 36px); box-shadow: 0 24px 60px rgba(43, 37, 32, 0.1); }
.gift-chapter { display: flex; align-items: center; gap: 10px; margin: 26px 0 8px !important; font-family: var(--font-mono); font-size: 0.75rem !important; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-text); }
.gift-chapter::before { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-content: center; font-size: 0.9375rem; letter-spacing: 0; }
.gift-chapter[data-when="soir"]::before { content: '☾'; background: var(--color-night); color: var(--color-star); }
.gift-chapter[data-when="matin"]::before { content: '☀'; background: #FCEBD9; color: var(--color-orange); }
.gift-chapter[data-when="defi"]::before { content: '❄'; background: #E3EEF7; color: #2F6690; }
.gift-page .gift-steps li { border-top: 0; }
.gift-page .gift-steps label { padding: 12px 14px; border-radius: 12px; transition: background-color 0.2s ease; }
@media (hover: hover) { .gift-page .gift-steps label:hover { background: var(--color-surface); } }
.gift-page .gift-steps input { width: 22px; height: 22px; }
.gift-page .gift-steps input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.gift-page .gift-steps input:checked + span { text-decoration-color: rgba(103, 43, 109, 0.5); }
.gift-page .gift-done { padding: 18px 20px; border-radius: 16px; color: #fff; background: radial-gradient(60% 90% at 100% 0%, rgba(240, 151, 107, 0.45), transparent 70%), linear-gradient(135deg, var(--color-plum), var(--color-night)); }
.gift-page .gift-done strong { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; }
.gift-page .gift-done span { color: var(--color-night-muted); }
@media (prefers-reduced-motion: no-preference) {
  .gift-page .gift-steps input:checked { animation: tick-pop 0.3s ease; }
  @keyframes tick-pop { 50% { transform: scale(1.25); } }
  .gift-page .gift-done:not([hidden]) { animation: done-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes done-in { from { opacity: 0; translate: 0 10px; scale: 0.98; } to { opacity: 1; translate: 0 0; scale: 1; } }
}
@media print { .gift-chapter::before { print-color-adjust: exact; -webkit-print-color-adjust: exact; } }

/* ═══ Cagnotte (cagnotte.html) : même finition que le défi offert ═══ */
.cagnotte-page .cagnotte-card { position: relative; overflow: hidden; border-radius: 20px; padding: clamp(20px, 3vw, 28px); box-shadow: 0 24px 60px rgba(43, 37, 32, 0.12); border: 1px solid var(--color-border); }
.cagnotte-page .cagnotte-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--color-plum), var(--color-mauve), var(--color-peach)); }
.cagnotte-page .cagnotte-card h2 { font-size: 1.625rem; }
.cagnotte-status { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--color-violet-soft); color: var(--color-plum); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; }
.cagnotte-status i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--color-mauve); }
.cagnotte-status.is-open { background: var(--color-jade-soft); color: var(--color-jade-strong); }
.cagnotte-status.is-open i { background: var(--color-jade); }
.cagnotte-page .cagnotte-note { padding-top: 12px; border-top: 1px solid var(--color-border); }
@media (prefers-reduced-motion: no-preference) {
  /* 03.12.2026 : le halo grandit en transform/opacity (plus de box-shadow animé, repeint à chaque image). */
  .cagnotte-status i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: 0; animation: status-pulse 2.4s ease-out infinite; }
  @keyframes status-pulse { 0% { opacity: 0.5; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(2.5); } }
}

/* Cagnotte par Stripe : choix du montant, accord d'affichage, total et mots des participantes. */
.cagnotte-form { display: grid; gap: 4px; }
.cagnotte-montants { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.cagnotte-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.cagnotte-choix .btn { margin-top: 0; flex: 1 1 70px; }
.cagnotte-choix .btn[aria-pressed="true"] { background: var(--color-plum); border-color: var(--color-plum); color: #fff; }
.cagnotte-accord { display: flex; gap: 10px; align-items: flex-start; font-size: 0.875rem; margin: 4px 0 12px; cursor: pointer; }
.cagnotte-accord input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.cagnotte-erreur { color: var(--color-danger, #a33); font-size: 0.875rem; margin: 0 0 8px; }
.cagnotte-merci { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--color-jade-soft); color: var(--color-jade-strong); font-size: 0.9375rem; }
.cagnotte-total { margin: 0; font-size: 0.9375rem; }
.cagnotte-mots { margin-top: 32px; }
.cagnotte-mots h2 { font-size: 1.375rem; margin-bottom: 12px; }
.cagnotte-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.cagnotte-liste li { padding: 14px 16px; border-radius: 14px; background: var(--color-surface-white, #fff); border: 1px solid var(--color-border); }
.cagnotte-liste p { margin: 6px 0 0; white-space: pre-line; overflow-wrap: anywhere; }

/* Boutique sans article publié : ce qui arrive, au lieu d'une liste vide. */
#boutique.is-soon .shop-toolbar, #boutique.is-soon .channel-tabs, #boutique.is-soon .shop-count { display: none; }
.shop-soon { grid-column: 1 / -1; text-align: center; padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 48px); border-radius: 20px; background: radial-gradient(50% 80% at 50% 0%, rgba(166, 118, 170, 0.14), transparent 70%), var(--color-surface-white); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.shop-soon h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin: 6px 0 10px; }
.shop-soon > p { color: var(--color-text-muted); max-width: 46ch; margin: 0 auto; }
.shop-soon-list { list-style: none; padding: 0; margin: clamp(20px, 3vw, 32px) auto 0; max-width: 860px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; text-align: left; }
.shop-soon-list li { display: grid; gap: 6px; padding: 18px; border-radius: 16px; background: var(--color-surface); border: 1px solid var(--color-border); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.shop-soon-list svg { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--color-violet-soft); color: var(--color-plum); }
.shop-soon-list strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.shop-soon-list span { font-size: 0.875rem; color: var(--color-text-muted); }
@media (hover: hover) { .shop-soon-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); } }
.shop-soon-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(20px, 3vw, 28px); }
.shop-soon-list li { overflow: hidden; }
.shop-soon-visual { display: block; max-width: none; width: calc(100% + 36px); margin: -18px -18px 6px; aspect-ratio: 4 / 3; object-fit: cover; height: auto; }
.shop-soon-list .shop-soon-visual + svg { margin-top: -38px; position: relative; box-shadow: 0 0 0 4px var(--color-surface); }
/* Bandeau d'une collection choisie : son visuel OWA et sa description. */
.shop-collection-banner { display: grid !important; grid-template-columns: 160px 1fr; gap: 18px; align-items: center; padding: 12px; border-radius: 16px; background: var(--color-surface-white); border: 1px solid var(--color-border); font-size: 0.9375rem !important; }
.shop-collection-banner img { width: 160px; height: 120px; object-fit: cover; border-radius: 12px; }
@media (max-width: 520px) { .shop-collection-banner { grid-template-columns: 96px 1fr; gap: 12px; } .shop-collection-banner img { width: 96px; height: 72px; } }

/* ═══ Suivi de commande (suivi.html) ═══════════════════════════════ */
.track-page #tracking { padding-top: clamp(24px, 4vw, 48px); }
.track-page #tracking > h1 { font-size: clamp(2rem, 4.4vw, 2.75rem); }
.track-steps { list-style: none; padding: 0; margin: 0 0 clamp(20px, 3vw, 28px); display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: none; }
.track-steps li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 0.8125rem; color: var(--color-text-muted); }
.track-steps li span { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-content: center; font-family: var(--font-mono); font-size: 0.8125rem; background: var(--color-surface-white); border: 1.5px solid var(--color-border-strong); color: var(--color-text-muted); }
.track-steps li + li::before { content: ''; position: absolute; top: 16px; right: 50%; width: 100%; height: 2px; background: var(--color-border-strong); }
.track-steps li.done { color: var(--color-text); font-weight: 600; }
.track-steps li.done span { background: linear-gradient(135deg, #B25529, var(--color-primary-strong)); border-color: transparent; color: #fff; }
.track-steps li.done + li.done::before { background: var(--color-primary); }
.track-steps li.current span { box-shadow: 0 0 0 5px rgba(160, 75, 38, 0.15); }
.track-steps.small { margin: 14px 0 4px; }
.track-steps.small li { font-size: 0.75rem; }
.track-steps.small li span { width: 26px; height: 26px; font-size: 0.6875rem; }
.track-steps.small li + li::before { top: 12px; }
.track-page .parcel-card { border-radius: 18px; padding: clamp(18px, 3vw, 26px); box-shadow: var(--shadow-sm); margin-top: 16px; }
@media (prefers-reduced-motion: no-preference) {
  /* 03.12.2026 : même halo en transform/opacity que la cagnotte. */
  .track-steps li.current span::after { content: ''; position: absolute; inset: -5px; z-index: -1; border-radius: 50%; background: rgba(160, 75, 38, 0.12); opacity: 0; animation: step-glow 2.4s ease-out infinite; }
  @keyframes step-glow { 0% { opacity: 1; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
}

/* ═══ Test de personnalité (test-personnalite.html) ════════════════ */
.perso-page .page-head { position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(30% 110% at 78% 0%, rgba(166, 118, 170, 0.18), transparent 70%), radial-gradient(24% 80% at 88% 100%, rgba(240, 151, 107, 0.14), transparent 70%), var(--color-surface-white); scroll-margin-top: 64px; }
.perso-intro { text-align: center; padding: clamp(24px, 5vw, 48px) clamp(16px, 4vw, 40px); border-radius: 20px; background: var(--color-surface-white); border: 1px solid var(--color-border); box-shadow: 0 24px 60px rgba(43, 37, 32, 0.1); }
.perso-intro > p { max-width: 46ch; margin: 0 auto 20px; color: var(--color-text-muted); }
.perso-facts { list-style: none; padding: 0; margin: 0 0 20px; display: flex; justify-content: center; gap: clamp(20px, 6vw, 56px); }
.perso-facts li { display: grid; }
.perso-facts strong { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; line-height: 1; color: var(--color-plum); }
.perso-facts span { font-size: 0.8125rem; color: var(--color-text-muted); }
.perso-note { font-size: 0.8125rem; margin-top: 12px !important; }
.perso-progress { height: 6px; border-radius: 999px; background: var(--color-surface-muted); overflow: hidden; }
.perso-progress div { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--color-plum), var(--color-mauve), var(--color-peach)); transition: width 0.4s ease; }
.perso-step { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin: 10px 0 8px; }
.perso-q { border: 0; margin: 0; padding: clamp(18px, 3vw, 28px) 8px; border-bottom: 1px solid var(--color-border); border-radius: 12px; transition: background-color 0.3s ease; }
/* Answered: a light tint, never faded (the text keeps its full contrast). */
.perso-q.answered { background: color-mix(in srgb, var(--color-jade) 6%, transparent); }
.perso-q legend { float: left; width: 100%; text-align: center; font-size: clamp(1rem, 2vw, 1.1875rem); font-weight: 500; margin-bottom: 16px; padding: 0 8px; }
.perso-scale { clear: both; display: flex; align-items: center; justify-content: center; gap: clamp(6px, 1.6vw, 14px); }
.perso-end { font-size: 0.8125rem; font-weight: 600; width: 92px; }
.perso-end:first-child { text-align: right; color: var(--color-plum); }
.perso-end:last-child { color: var(--color-jade); }
.perso-dot { position: relative; cursor: pointer; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--tone); transition: background-color 0.2s ease, transform 0.15s ease; }
.perso-dot input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.perso-dot.sn3, .perso-dot.sp3 { width: 52px; height: 52px; }
.perso-dot.sn2, .perso-dot.sp2 { width: 44px; height: 44px; }
.perso-dot.sn1, .perso-dot.sp1 { width: 38px; height: 38px; }
.perso-dot.sz0 { width: 32px; height: 32px; }
.perso-dot.sn3, .perso-dot.sn2, .perso-dot.sn1 { --tone: var(--color-plum); }
.perso-dot.sp3, .perso-dot.sp2, .perso-dot.sp1 { --tone: var(--color-jade); }
.perso-dot.sz0 { --tone: var(--color-text-muted); } /* outline >= 3:1 on white */
.perso-dot:has(input:checked) { background: var(--tone); }
.perso-dot:has(input:checked)::after { content: '✓'; color: #fff; font-size: 0.875rem; font-weight: 700; }
.perso-dot:has(input:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 3px; }
@media (hover: hover) { .perso-dot:hover { transform: scale(1.08); background: color-mix(in srgb, var(--tone) 18%, transparent); } .perso-dot:has(input:checked):hover { background: var(--tone); } }
.perso-error { color: var(--color-danger); font-weight: 600; text-align: center; margin-top: 16px; }
.perso-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
@media (max-width: 560px) {
  .perso-end { display: none; }
  .perso-scale { gap: 6px; }
  /* Every target at least 32px wide on a phone. */
  .perso-dot.sn3, .perso-dot.sp3 { width: 42px; height: 42px; }
  .perso-dot.sn2, .perso-dot.sp2 { width: 36px; height: 36px; }
  .perso-dot.sn1, .perso-dot.sp1 { width: 32px; height: 32px; }
  .perso-dot.sz0 { width: 32px; height: 32px; }
  .perso-q .perso-scale::before, .perso-q .perso-scale::after { content: none; }
}
/* Result */
.perso-result { container-type: inline-size; --fam: var(--color-plum); --fam-soft: var(--color-violet-soft); position: relative; padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: var(--color-surface-white); border: 1px solid var(--color-border); box-shadow: 0 24px 60px rgba(43, 37, 32, 0.12); overflow: hidden; }
.perso-result:focus:not(:focus-visible) { outline: none; }
.perso-result.fam-nf { --fam: #2F6690; --fam-soft: #E3EEF7; }
.perso-result.fam-sj { --fam: var(--color-jade); --fam-soft: var(--color-jade-soft); }
.perso-result.fam-sp { --fam: var(--color-orange); --fam-soft: #FCEBD9; --fam-text: #A04B26; }
.perso-result::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--fam); }
.perso-badge { width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; margin-bottom: 16px; background: radial-gradient(circle at 30% 25%, #fff, var(--fam-soft) 70%); box-shadow: 0 0 0 8px var(--fam-soft); }
.perso-badge span { font-family: var(--font-mono); font-weight: 500; font-size: 1.125rem; letter-spacing: 0.08em; color: var(--fam-text, var(--fam)); }
.perso-result .eyebrow { color: var(--fam-text, var(--fam)); }
.perso-result h2 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.05; margin: 6px 0 12px; }
.perso-code { font-family: var(--font-mono); font-size: 0.4em; color: var(--color-text-muted); vertical-align: middle; }
.perso-lead { font-size: 1.125rem; line-height: 1.6; max-width: 56ch; }
.perso-axes { display: grid; gap: 18px; margin: 28px 0; }
.perso-axis-head { display: flex; justify-content: space-between; gap: 12px; font-size: 0.875rem; margin-bottom: 6px; }
.perso-axis-head strong { color: var(--fam-text, var(--fam)); }
.perso-axis-bar { position: relative; height: 10px; border-radius: 999px; background: var(--color-surface-muted); }
.perso-axis-bar div { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--fam), color-mix(in srgb, var(--fam) 45%, #fff)); }
.perso-axis-bar i { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; translate: -50% -50%; background: #fff; border: 3px solid var(--fam); }
.perso-axis-ends { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--color-text-muted); margin-top: 4px; }
.perso-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.perso-cols > div { padding: 18px; border-radius: 16px; background: var(--color-surface); }
.perso-cols h3 { font-size: 1.125rem; margin: 0 0 8px; }
.perso-cols ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.perso-family { margin: 20px 0 0; color: var(--color-text-muted); font-style: italic; }
.perso-tip { margin-top: 20px; padding: 18px 20px; border-radius: 16px; background: var(--fam-soft); }
.perso-tip p { margin: 4px 0 0; }
.perso-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.perso-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.perso-disclaimer { font-size: 0.8125rem; text-align: center; max-width: 60ch; margin: 24px auto 0; }
@media (prefers-reduced-motion: no-preference) {
  .perso-result { animation: card-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .perso-q { animation: card-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
}
@keyframes card-in { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
/* The direction of the scale, always shown, on both pages and at every width (26/11/2026): the
   ends « Pas d'accord / D'accord » beside the dots are hidden on a phone and always in the member
   space (narrow column), so the legend above the statements is the one that never goes away. */
.perso-legend { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 600; margin: 0 0 4px; }
.perso-legend .n { color: var(--color-plum); } .perso-legend .z { color: var(--color-text-muted); } .perso-legend .p { color: var(--color-jade); }

/* Accueil : bloc du test de personnalité. */
.quiz-band { max-width: 1040px; margin: clamp(48px, 7vw, 88px) auto 0; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 6fr 5fr; gap: clamp(24px, 4vw, 48px); align-items: center; border-radius: 24px; color: var(--color-night-text);
  background: radial-gradient(60% 80% at 100% 0%, rgba(166, 118, 170, 0.4), transparent 70%), radial-gradient(50% 70% at 0% 100%, rgba(240, 151, 107, 0.22), transparent 70%), var(--color-night); box-shadow: 0 24px 60px rgba(38, 21, 47, 0.25); }
.quiz-band .eyebrow { color: var(--color-violet-light); }
.quiz-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.05; margin: 6px 0 12px; }
.quiz-band-text > p { color: var(--color-night-muted); max-width: 44ch; margin-bottom: 20px; }
.quiz-band-note { font-size: 0.8125rem; color: var(--color-night-muted); margin: 12px 0 0 !important; }
.quiz-band-families { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-band-families li { --c: var(--color-violet-light); display: grid; gap: 2px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); transition: transform 0.25s ease, background-color 0.25s ease; }
.quiz-band-families .nf { --c: #9CC3E6; } .quiz-band-families .sj { --c: var(--color-jade-light); } .quiz-band-families .sp { --c: var(--color-peach); }
.quiz-band-families span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-content: center; margin-bottom: 8px; color: var(--color-night); background: var(--c); font-size: 0.9375rem; }
.quiz-band-families strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: #fff; }
.quiz-band-families em { font-style: normal; font-size: 0.8125rem; color: var(--color-night-muted); }
@media (hover: hover) { .quiz-band-families li:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.1); } }
@media (max-width: 760px) { .quiz-band { grid-template-columns: 1fr; } .quiz-band .btn-lg { width: 100%; } }

/* ═══ Confidentialité : lecture plus claire ═══════════════════════ */
.privacy-page .page-head { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(30% 110% at 78% 0%, rgba(166, 118, 170, 0.14), transparent 70%), var(--color-surface-white); }
.privacy-brief { margin: 8px 0 var(--space-xl); padding: clamp(18px, 3vw, 26px); border-radius: 20px; background: var(--color-surface-white); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.privacy-brief ul { list-style: none; padding: 0 !important; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.privacy-brief li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; margin: 0 !important; padding: 14px; border-radius: 14px; background: var(--color-surface); }
.privacy-brief svg { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--color-violet-soft); color: var(--color-plum); }
.privacy-brief strong { font-size: 0.9375rem; }
.privacy-brief span { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.5; }
.privacy-page .legal-toc { border-radius: 16px; }
.privacy-page .legal-body { counter-reset: sec; }
.privacy-page .legal-body > h2 { counter-increment: sec; display: flex; align-items: baseline; gap: 12px; }
.privacy-page .legal-body > h2::before { content: counter(sec, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.8125rem; color: var(--color-accent-text); }
.privacy-page .legal-body ul li::marker { color: var(--color-mauve); }
@media (max-width: 600px) { .privacy-brief ul { grid-template-columns: 1fr; } }
.article-body .article-subhead { font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.2; margin: 1.6em 0 0.5em; }

/* Mentions légales : fiche de l'éditeur et hébergeurs en cartes. */
.legal-card { padding: 18px 20px; border-radius: 16px; background: var(--color-surface-white); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.legal-facts { display: grid; gap: 0; margin: 0; padding: 6px 20px; }
.legal-facts > div { display: grid; grid-template-columns: 220px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--color-border); }
.legal-facts > div:first-child { border-top: 0; }
.legal-facts dt { color: var(--color-text-muted); font-size: 0.875rem; }
.legal-facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.legal-hosts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.legal-hosts .legal-card { display: grid; gap: 4px; }
.legal-hosts strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.legal-hosts span { font-size: 0.875rem; color: var(--color-text-muted); }
@media (max-width: 600px) { .legal-facts > div { grid-template-columns: 1fr; gap: 2px; } .legal-hosts { grid-template-columns: 1fr; } }
.legal-next { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.legal-body .btn { text-decoration: none; }

/* ═══ Désinscription : des choix clairs, sans culpabiliser ═════════ */
.unsub-page .page-head { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(30% 110% at 78% 0%, rgba(166, 118, 170, 0.14), transparent 70%), var(--color-surface-white); }
.unsub-page .unsub .admin-card { max-width: 620px; border-radius: 20px; padding: clamp(20px, 3.5vw, 30px); box-shadow: 0 18px 44px rgba(43, 37, 32, 0.1); }
.unsub-page .unsub-choices { gap: 10px; }
.unsub-page .unsub-choice { grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }
.unsub-page .unsub-choice::before { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-content: center; font-size: 1.0625rem; background: var(--color-violet-soft); color: var(--color-plum); }
.unsub-page #unsub-missions::before { content: '✦'; }
.unsub-page #unsub-all::before { content: '✉'; }
.unsub-page #unsub-confirm::before { content: '✕'; background: #F8E3E5; color: var(--color-danger); }
.unsub-page #unsub-confirm:hover, .unsub-page #unsub-confirm:focus-visible { border-color: var(--color-danger); background: #FDF3F4; }
.unsub-page .unsub-choice:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
@media (hover: hover) { .unsub-page .unsub-choice:hover { transform: translateY(-2px); } }
.unsub-page .unsub-choice:disabled { opacity: 0.6; cursor: wait; transform: none; }
.unsub-page #unsub-done > p:first-child::before, .unsub-page #unsub-back > p:first-child::before { content: '✓'; display: inline-grid; place-content: center; vertical-align: middle; width: 34px; height: 34px; margin-right: 10px; border-radius: 50%; font-weight: 700; color: #fff; background: var(--color-jade); }
.unsub-page .unsub .admin-card[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.unsub-page #unsub-problem { border-left: 4px solid var(--color-warning); }
.unsub-page .unsub-why { padding: 14px; border-radius: 14px; background: var(--color-surface); }
.unsub-page .unsub-why .channel-tab { border: 1px solid var(--color-border-strong); background: var(--color-surface-white); }
.unsub-page .unsub-why .channel-tab.active { background: var(--color-plum); border-color: var(--color-plum); color: #fff; }
.unsub-page .unsub-follow { max-width: 620px; text-align: center; padding: 14px; border-radius: 14px; border: 1px dashed var(--color-border-strong); }

/* Test : illustration du profil, profil voisin, les 16 profils, reprise. */
.perso-visual { display: block; width: calc(100% + 2 * clamp(24px, 4vw, 44px)); max-width: none; height: auto; aspect-ratio: 4 / 3; max-height: 340px; object-fit: cover; margin: calc(-1 * clamp(24px, 4vw, 44px)) calc(-1 * clamp(24px, 4vw, 44px)) 24px; }
.perso-result::before { z-index: 1; }
.perso-near { margin: -8px 0 20px; padding: 12px 16px; border-radius: 12px; background: var(--color-surface); font-size: 0.9375rem; }
.perso-near a, .perso-more a { color: var(--fam-text, var(--fam)); font-weight: 600; }
.perso-more { margin: 18px 0 0; }
.perso-resume { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.perso-all { margin-top: clamp(32px, 5vw, 56px); }
.perso-all > h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.perso-all-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.perso-all-fam { --fam: var(--color-plum); padding: 16px; border-radius: 16px; background: var(--color-surface-white); border: 1px solid var(--color-border); border-top: 4px solid var(--fam); }
.perso-all-fam.fam-nf { --fam: #2F6690; } .perso-all-fam.fam-sj { --fam: var(--color-jade); } .perso-all-fam.fam-sp { --fam: var(--color-orange); --fam-text: #A04B26; }
.perso-all-fam h3 { font-size: 1.125rem; margin: 0 0 8px; color: var(--fam-text, var(--fam)); }
.perso-all-fam ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.perso-all-fam a { display: flex; gap: 10px; align-items: baseline; padding: 6px 8px; border-radius: 8px; color: var(--color-text); text-decoration: none; }
.perso-all-fam a span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--fam-text, var(--fam)); min-width: 3.2em; }
.perso-all-fam a:hover { background: var(--color-surface); }
.perso-all-fam a[aria-current] { background: color-mix(in srgb, var(--fam) 12%, transparent); font-weight: 600; }
@media (max-width: 560px) { .perso-all-grid { grid-template-columns: 1fr; } }

/* Test : sections détaillées du résultat. */
.perso-details, .perso-grow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.perso-more-item { padding: 0; border-radius: 16px; background: var(--color-surface); }
.perso-grow .perso-more-item:first-child { grid-column: 1 / -1; background: var(--fam-soft); }
.perso-more-item > summary { cursor: pointer; padding: 14px 18px; font-family: var(--font-display); font-size: 1.125rem; color: var(--fam-text, var(--fam)); border-radius: 16px; min-height: 44px; }
.perso-more-item > summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.perso-more-item > :not(summary) { margin: 0; padding: 0 18px; }
.perso-more-item > :last-child { padding-bottom: 18px; }
.perso-details p, .perso-grow p { line-height: 1.6; }
.perso-more-title { font-size: 1.25rem; margin: 24px 0 0; }
.perso-warning { margin: 0 0 8px; font-size: 0.875rem; color: var(--color-text-muted); max-width: 64ch; }
.perso-result-compact h2 { font-size: clamp(1.75rem, 6cqi, 2.25rem); }
.perso-jobs-title { margin-top: 12px !important; font-size: 0.8125rem; font-weight: 600; color: var(--color-text-muted); }
.perso-jobs { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.perso-jobs li { padding: 6px 12px; border-radius: 999px; background: var(--color-surface-white); border: 1px solid var(--color-border); font-size: 0.875rem; }
.perso-tip p + p { margin-top: 8px; }
.perso-matches { margin-top: 20px; }
.perso-matches h3 { font-size: 1.25rem; margin: 0 0 10px; }
.perso-matches ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.perso-matches a { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 14px; border: 1px solid var(--color-border); background: var(--color-surface-white); color: var(--color-text); text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease; }
.perso-matches img { grid-row: span 2; width: 64px; height: 48px; object-fit: cover; border-radius: 10px; }
.perso-match-text { grid-column: 2; font-size: 0.875rem; line-height: 1.5; color: var(--color-text-muted); }
.perso-match-name { font-weight: 600; }
.perso-match-name small { font-family: var(--font-mono); font-weight: 400; color: var(--color-text-muted); margin-left: 4px; }
@media (hover: hover) { .perso-matches a:hover { border-color: var(--fam); transform: translateY(-2px); } }
.perso-matches-note { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 8px; }
@container (max-width: 560px) {
  .perso-cols, .perso-details, .perso-grow { grid-template-columns: 1fr; }
  .perso-matches a { grid-template-columns: 56px 1fr; }
  .perso-matches img { width: 56px; height: 42px; }
}

/* Test : avant le résultat, réponses très proches et départage. */
.perso-check { padding: clamp(20px, 3.5vw, 32px); border-radius: 20px; background: var(--color-surface-white); border: 1px solid var(--color-border); box-shadow: 0 18px 44px rgba(43, 37, 32, 0.1); }
.perso-check:focus:not(:focus-visible) { outline: none; }
.perso-check h2 { font-size: clamp(1.375rem, 3vw, 1.75rem); margin: 0 0 8px; }
.perso-check > p { line-height: 1.6; max-width: 60ch; }
.perso-check-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.perso-tb-q { border: 0; margin: 16px 0 0; padding: 0; }
.perso-tb-q legend { font-weight: 600; margin-bottom: 8px; }
.perso-tb-option { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; margin-top: 6px; border-radius: 12px; border: 1px solid var(--color-border); cursor: pointer; }
.perso-tb-option input { width: 20px; height: 20px; margin: 0; accent-color: var(--color-plum); }
.perso-tb-option:has(input:checked) { border-color: var(--color-plum); background: color-mix(in srgb, var(--color-plum) 6%, transparent); }
.perso-tb-option:has(input:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* Test de personnalité : l'e-mail avant le résultat */
.perso-gate { margin: 0 auto; max-width: 520px; position: relative; overflow: hidden; border-radius: 20px; padding: clamp(20px, 3vw, 28px); box-shadow: 0 24px 60px rgba(43, 37, 32, 0.12); border: 1px solid var(--color-border); }
.perso-gate::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--color-plum), var(--color-mauve), var(--color-peach)); }
.perso-gate:focus:not(:focus-visible) { outline: none; }
.perso-gate-lead { margin: 0 0 6px; }
.perso-gate p.muted { font-size: 0.8125rem; line-height: 1.5; }
.perso-mailnote { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: rgba(110, 63, 108, 0.08); border-left: 3px solid var(--color-plum); font-size: 0.9375rem; }

/* Blog : podcasts (lecteur OWA, bandeau « À écouter », liste d'épisodes) */
.blog-card-play { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #B25529, var(--color-primary-strong)); box-shadow: 0 8px 20px rgba(43, 21, 48, 0.35); transition: transform 0.2s ease; }
.blog-card-play::after { content: ''; position: absolute; left: 19px; top: 15px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #fff; }
@media (hover: hover) { .blog-card:hover .blog-card-play { transform: scale(1.08); } }

.pod-player { --pod-progress: 0%; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin: 18px 0; padding: 16px 18px; border-radius: 18px; background: var(--color-surface-white, #fff); border: 1px solid var(--color-border); box-shadow: 0 12px 30px rgba(43, 37, 32, 0.08); }
.pod-player audio { display: none; }
.pod-play { position: relative; width: 56px; height: 56px; border: 0; border-radius: 50%; cursor: pointer; background: linear-gradient(135deg, #B25529, var(--color-primary-strong)); box-shadow: 0 8px 20px rgba(160, 75, 38, 0.3); transition: transform 0.15s ease; }
.pod-play:hover { transform: scale(1.05); }
.pod-play:focus-visible, .pod-tools button:focus-visible, .pod-seek:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.pod-icon { position: absolute; left: 22px; top: 18px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.pod-player.is-playing .pod-icon { left: 20px; top: 19px; width: 16px; height: 18px; border: 0; border-left: 5px solid #fff; border-right: 5px solid #fff; }
.pod-main { min-width: 0; }
.pod-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; margin-bottom: 6px; overflow-wrap: anywhere; }
/* The part not yet heard stays visible (#8F6A93: 4.5:1 on white, 3.5:1 on the list's beige). */
.pod-seek { width: 100%; height: 6px; margin: 4px 0; border-radius: 6px; appearance: none; -webkit-appearance: none; cursor: pointer; background: linear-gradient(90deg, var(--color-plum) var(--pod-progress), #8F6A93 var(--pod-progress)); }
.pod-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--color-plum); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); }
.pod-seek::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--color-plum); border: 3px solid #fff; }
.pod-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--color-text-muted, #6b6259); }
.pod-tools { display: flex; gap: 4px; }
.pod-tools button { border: 1px solid var(--color-border); background: transparent; border-radius: 999px; padding: 4px 9px; font: inherit; color: var(--color-text); cursor: pointer; }
.pod-tools button:hover { border-color: var(--color-plum); color: var(--color-plum); }
.pod-resume { margin: 6px 0 0; font-size: 0.8125rem; color: var(--color-plum); }

.pod-band { position: relative; overflow: hidden; margin: 0 0 var(--space-xl, 40px); padding: clamp(22px, 4vw, 40px); border-radius: 24px; color: #FDEEE9; background: radial-gradient(circle at 85% 10%, rgba(240, 151, 107, 0.35), transparent 45%), linear-gradient(135deg, #2B1530, #672B6D); box-shadow: 0 24px 60px rgba(43, 21, 48, 0.25); }
.pod-band::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; border: 2px solid rgba(166, 118, 170, 0.4); box-shadow: 0 0 0 40px rgba(166, 118, 170, 0.08), 0 0 0 80px rgba(166, 118, 170, 0.05); pointer-events: none; }
.pod-band .eyebrow { color: #F0976B; }
.pod-band h2 { margin: 4px 0 6px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.5rem); color: #fff; }
.pod-band-head p { margin: 0 0 18px; max-width: 560px; opacity: 0.85; }
.pod-band-main { position: relative; z-index: 1; display: grid; gap: 20px; }
@media (min-width: 860px) { .pod-band-main { grid-template-columns: 3fr 2fr; align-items: start; } }
.pod-band-new { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.pod-band .pod-player { color: var(--color-text); margin: 10px 0; }
.pod-band-excerpt { margin: 0 0 8px; opacity: 0.85; }
.pod-band-link { color: #F0976B; font-weight: 600; text-decoration: none; }
.pod-band-link:hover { text-decoration: underline; }
.pod-band-more { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pod-band-more a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); color: inherit; text-decoration: none; transition: background 0.2s ease; }
.pod-band-more a:hover { background: rgba(255, 255, 255, 0.16); }
.pod-band-more strong { display: block; color: #fff; font-weight: 600; }
.pod-band-more small { opacity: 0.75; }
.pod-mini { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; background: rgba(240, 151, 107, 0.9); }
.pod-mini::after { content: ''; position: absolute; left: 13px; top: 10px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.pod-band-all { position: relative; z-index: 1; margin-top: 18px; color: #FDEEE9; border-color: rgba(253, 238, 233, 0.4); }
.pod-band-all:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
/* On the dark band the plum focus ring would not show; inside the white player it does. */
.pod-band { --color-focus: var(--color-night-text); }
.pod-band .pod-player { --color-focus: var(--color-violet); }
.pod-item .pod-player { --color-focus: var(--color-violet); }

.pod-intro p { margin: 0 0 var(--space-lg, 24px); color: var(--color-text-muted, #6b6259); max-width: 620px; }
.pod-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pod-item { padding: clamp(18px, 3vw, 26px); border-radius: 20px; background: var(--color-surface-white, #fff); border: 1px solid var(--color-border); }
.pod-item-head { display: flex; gap: 16px; align-items: center; }
.pod-item-num { flex: none; font-family: var(--font-display); font-size: 2.25rem; line-height: 1; color: var(--color-mauve); }
.pod-item h2 { margin: 2px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.pod-item h2 a { color: inherit; text-decoration: none; }
.pod-item h2 a:hover { color: var(--color-accent-text); }
.pod-item-excerpt { margin: 10px 0 0; }
.pod-item .pod-player { margin-bottom: 0; box-shadow: none; background: var(--color-surface-muted, #F7F1EA); }
.pod-others { margin-top: var(--space-xl, 40px); }
.pod-others h2 { font-family: var(--font-display); font-weight: 400; }

@media (max-width: 480px) {
  .pod-player { gap: 12px; padding: 14px; }
  .pod-play { width: 46px; height: 46px; }
  .pod-icon { left: 18px; top: 14px; border-width: 9px 0 9px 14px; }
  .pod-player.is-playing .pod-icon { left: 15px; top: 14px; }
  .pod-row { flex-wrap: wrap; }
  .pod-tools { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pod-play, .blog-card-play { transition: none; } }
/* Windows contrast themes repaint every border: the play triangles would become squares. */
@media (forced-colors: active) {
  .pod-play { border: 2px solid ButtonText; }
  .pod-icon, .blog-card-play::after, .pod-mini::after { forced-color-adjust: none; border-color: transparent transparent transparent ButtonText; }
  .pod-player.is-playing .pod-icon { border-color: ButtonText; border-top: 0; border-bottom: 0; }
  .pod-seek { border: 1px solid CanvasText; }
  /* Relecture T2 : la case « chaque semaine » est dessinée par des dégradés, que ce mode efface.
     Elle reprend ici la case du système, toujours visible. */
  .task-check input[type="checkbox"], .task-check input[type="checkbox"]:checked { -webkit-appearance: auto; appearance: auto; width: 20px; height: 20px; min-height: 0; margin: 0; background: none; }
}

/* Accueil : les événements juste sous l'accueil */
.events-top .sec-lead { margin: 6px 0 0; color: var(--color-text-muted); }
.events-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.event-card.event-card-pro { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 18px; border: 1px solid var(--color-border); border-left: 1px solid var(--color-border); border-radius: 18px; background: var(--color-surface-white); box-shadow: 0 12px 30px rgba(43, 37, 32, 0.08); transition: transform 0.2s ease, box-shadow 0.2s ease; }
@media (hover: hover) { .event-card.event-card-pro:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(43, 37, 32, 0.12); } }
.event-when { display: grid; place-items: center; width: 64px; padding: 10px 0; border-radius: 14px; color: #fff; background: linear-gradient(160deg, var(--color-plum), #2B1530); text-align: center; line-height: 1; }
.event-when span { font-family: var(--font-display); font-size: 2rem; }
.event-when small { margin-top: 4px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.event-card-pro .event-title { margin: 6px 0 4px; font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1.15; }
.event-card-pro .event-meta { font-size: 0.875rem; }
.event-card-pro .event-meta:first-letter { text-transform: uppercase; }
.event-ics { margin-top: 8px; padding-left: 0; }
.next-event { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 8px 14px; border-radius: 999px; background: var(--color-surface-white); border: 1px solid var(--color-border); color: var(--color-text); text-decoration: none; font-size: 0.875rem; box-shadow: var(--shadow-sm); }
.next-event[hidden] { display: none; }
.next-event:hover { border-color: var(--color-plum); }
/* 03.12.2026 : le halo de la pastille grandit en transform/opacity (plus de box-shadow animé). */
.next-event-dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--color-primary); }
.next-event-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(193, 98, 50, 0.5); opacity: 0; animation: next-event-pulse 2s ease-out infinite; }
@keyframes next-event-pulse { 0% { opacity: 1; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(3); } }
@media (prefers-reduced-motion: reduce) { .next-event-dot { animation: none; } .next-event-dot::after { animation: none; } .event-card.event-card-pro { transition: none; } }
/* « Mettre les animations en pause » on the homepage stops this one too. */
.fx-paused .next-event-dot, .fx-paused .next-event-dot::after { animation-play-state: paused; }

/* Blog : commentaires des adhérentes, page d'une vidéo */
.comments { margin: var(--space-xl, 32px) 0; padding: clamp(18px, 3vw, 28px); border-radius: 20px; background: var(--color-surface-white); border: 1px solid var(--color-border); }
.comments h2 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 400; font-size: 1.625rem; }
.comments-count { color: var(--color-text-muted); font-size: 1.125rem; }
.comments ol { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.comment { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.comment-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; background: linear-gradient(135deg, var(--color-mauve), var(--color-plum)); }
.comment-main { min-width: 0; padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: var(--color-surface-muted); }
.comment-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: 0.875rem; }
.comment-head .muted { font-size: 0.8125rem; }
.comment-main p { margin: 4px 0 0; overflow-wrap: anywhere; }
.comment-delete { margin-left: auto; border: 0; background: none; padding: 0; color: var(--color-text-muted); font: inherit; font-size: 0.8125rem; text-decoration: underline; cursor: pointer; }
.comment-delete:hover { color: var(--color-danger, #B3261E); }
.comment-confirm { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.comment-confirm p { margin: 0; font-size: 0.875rem; }
.comment-confirm .btn { min-height: 44px; }
.comments-empty { margin: 0 0 16px; }
.comment-form { display: grid; gap: 8px; }
.comment-form label { font-weight: 600; }
.comment-form textarea { width: 100%; resize: vertical; min-height: 90px; padding: 12px; border-radius: 12px; border: 1px solid var(--color-border-strong, var(--color-border)); font: inherit; background: var(--color-surface-white); color: var(--color-text); }
.comment-form textarea:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 1px; }
.comment-form-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; font-size: 0.8125rem; }
.comment-form .comment-name { width: 100%; max-width: 320px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--color-border-strong, var(--color-border)); font: inherit; background: var(--color-surface-white); color: var(--color-text); }
.comment-form .comment-name:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 1px; }
.comment-optional { font-weight: 400; color: var(--color-text-muted); }
.comment-hint { margin: -2px 0 4px; font-size: 0.8125rem; }
.comment-form button[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.comment-team { padding: 1px 8px; border-radius: 999px; background: var(--color-plum); color: #fff; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; }
.comment-is-team .comment-main { background: var(--color-violet-soft); }
.comments h2:focus:not(:focus-visible) { outline: none; }
.comment-login { padding: 14px; border-radius: 14px; background: var(--color-violet-soft); }
.comment-login p { margin: 0 0 10px; }
.video-title a { color: inherit; text-decoration: none; }
.video-title a:hover { color: var(--color-accent-text); }
.video-comments-link { display: inline-block; margin-top: 4px; font-size: 0.8125rem; color: var(--color-accent-text); text-decoration: none; }
.video-comments-link:hover { text-decoration: underline; }
.video-page-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 18px 40px rgba(43, 37, 32, 0.15); }
.video-page-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-page-frame .video-facade { height: 100%; border-radius: 0; box-shadow: none; }
/* Under the homepage film the caption is centred: so is its comments link. */
.video-card.large .video-comments-link { display: table; margin-inline: auto; }

/* Supports PDF d'une leçon (lecons-pdf.js) */
.lesson-pdfs ul { list-style: none; padding: 0; margin: 12px 0 4px; display: flex; flex-direction: column; gap: 8px; }
.lesson-pdfs .lesson-pdf { width: 100%; justify-content: flex-start; text-align: left; white-space: normal; }
.lesson-pdfs .lesson-pdf[disabled] { opacity: 0.6; cursor: progress; }
.lesson-pdf-size { color: var(--color-text-muted); font-weight: 400; }
/* ═══ Musique et À propos (23/11/2026) ══════════════════════════ */
.music-album { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: var(--space-lg); padding-block: var(--space-lg); border-bottom: 1px solid var(--color-border); }
.music-album:last-child { border-bottom: 0; }
.music-cover img, .music-cover-empty { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-card); background: var(--color-surface-white); border: 1px solid var(--color-border); }
.music-cover-empty { display: grid; place-items: center; font-size: 3rem; color: var(--color-text-muted); }
.music-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; margin: 6px 0 10px; }
.music-desc { color: var(--color-text-muted); max-width: 40em; margin: 0 0 var(--space-md); }
.music-tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.music-track { display: grid; grid-template-columns: 2em minmax(0, 1fr) minmax(0, 300px); align-items: center; gap: var(--space-sm); padding: 6px 0; border-top: 1px solid var(--color-border); }
.music-track-n { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--color-text-muted); }
.music-track audio { width: 100%; height: 36px; }
@media (max-width: 640px) {
  .music-album { grid-template-columns: 1fr; }
  .music-cover { max-width: 240px; }
  .music-track { grid-template-columns: 2em minmax(0, 1fr); }
  .music-track audio { grid-column: 1 / -1; }
}
/* 05.12.2026 : le texte de la fondatrice (À propos), une colonne de lecture. */
.about-texte { max-width: 68ch; margin: clamp(28px, 5vw, 56px) auto 0; }
.about-texte p { line-height: 1.75; margin: 0 0 1.1em; }
.about-texte .about-accroche { font-family: var(--font-display); font-size: clamp(1.375rem, 2.6vw, 1.875rem); line-height: 1.3; margin-bottom: 0.5em; }
.about-texte .about-auteure { color: var(--color-text-muted); margin-bottom: 2em; }
.about-texte h2 { font-family: var(--font-display); font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.25; margin: 2.2em 0 0.7em; }
.about-texte .about-sign { margin-top: 2em; line-height: 1.6; }
/* Le menu principal tient sur une ligne : chaque entrée reste d'un seul tenant. */
.site-header .landing-nav a { white-space: nowrap; }
/* Entre la tablette et le grand écran, sept entrées et les boutons ne tiennent pas avec le nom
   en toutes lettres : le logo seul reste, et les entrées se rapprochent. */
@media (min-width: 861px) and (max-width: 1199px) {
  .site-header .landing-brand { display: none; }
  .site-header .landing-nav { gap: var(--space-md); }
}

/* Typographie (23/11/2026) : les sous-titres passent en DM Sans SemiBold, en casse normale.
   Instrument Serif reste aux grands titres, aux chiffres, aux prix et aux citations. */
.pro .landing-day h4, .pro .landing-week-head h4, .today-card h3, .today-title, .day-part-title,
.product-title, .partner-card-title, .pod-title, .event-card-pro .event-title, .planner-month-title,
.fit-list strong, .mission-card strong, .dash-tile strong, .shop-soon-list strong, .legal-hosts strong,
.music-title {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}
.planner-month-title { text-transform: none; }
.planner-month-title::first-letter { text-transform: uppercase; }

/* Page « Mes PDF » (23/11/2026) */
.pdf-lib-open { margin: 12px 0 4px; }
.pdf-lib-day { padding-block: 14px; border-bottom: 1px solid var(--color-border); }
.pdf-lib-day h3 { margin: 0 0 8px; }
.pdf-lib-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pdf-lib-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.pdf-lib-text { display: grid; gap: 2px; min-width: 0; flex: 1 1 240px; }
.pdf-lib-video { color: var(--color-text-muted); font-size: 0.9375rem; overflow-wrap: anywhere; }
.pdf-lib-locked { color: var(--color-text-muted); font-size: 0.9375rem; }

/* Témoignages en capture d'écran (23/11/2026) : la page « Témoignages » et l'accueil. */
.landing-quotes figure.quote-shot, .temoignages-wall figure.quote-shot { padding: 0; overflow: hidden; background: var(--color-surface-white); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); margin: 0; }
.quote-shot img { display: block; width: 100%; height: auto; }
.landing-quotes { align-items: start; }
.landing-quotes figure.quote-shot img { max-height: 640px; object-fit: cover; object-position: top; }
.temoignages-wall { columns: 3 280px; column-gap: var(--space-md); }
.temoignages-wall > figure { break-inside: avoid; margin: 0 0 var(--space-md); }

/* ═══ Live (23/11/2026) : bandeau, lecteur, chat, console ═════════ */
.live-banner { position: sticky; top: var(--header-height); z-index: 99; padding: var(--space-sm) var(--space-md); background: var(--color-night); }
.live-banner[hidden] { display: none; }
.live-banner-btn { display: block; width: 100%; padding: 10px var(--space-md); border: 0; border-radius: var(--radius-pill); background: var(--color-danger); color: var(--color-on-accent); font: inherit; font-size: 0.9375rem; cursor: pointer; text-align: center; }
.live-banner-btn:hover { filter: brightness(1.08); }
.live-banner-btn:focus-visible { outline: 3px solid var(--color-on-accent); outline-offset: 3px; }
.live-empty { text-align: center; padding: var(--space-lg) var(--space-md); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.live-empty-icon { font-size: 2rem; margin-bottom: var(--space-sm); }
.live-empty h3 { margin-bottom: var(--space-xs); }
.live-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); }
.live-badge { padding: 2px 10px; border-radius: var(--radius-pill); background: var(--color-danger); color: var(--color-on-accent); font-size: 0.75rem; font-weight: 600; }
.live-titre { flex: 1; min-width: 0; font-size: 1.25rem; margin: 0; }
.live-count { font-size: 0.8125rem; color: var(--color-text-muted); }
.live-layout { display: grid; gap: var(--space-md); }
#app[data-mode="desktop"] .live-layout { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); }
.live-stage { min-width: 0; }
.live-fete { margin: var(--space-xs) 0; padding: 10px 16px; border-radius: var(--radius-card); background: var(--color-surface-white); border: 1.5px solid var(--color-border-strong); font-weight: 600; text-align: center; }
.live-fete[hidden] { display: none; }
.live-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--color-night); border-radius: var(--radius-card); object-fit: contain; }
.live-video[hidden] { display: none; }
.live-preview { margin-bottom: var(--space-sm); }
.live-status { min-height: 1.25rem; margin-top: var(--space-xs); font-size: 0.8125rem; color: var(--color-text-muted); }
.live-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-sm); }
.live-actions [hidden] { display: none; }
.live-stop { background: var(--color-danger); color: var(--color-on-accent); border: 0; }
.live-admin-note { font-size: 0.8125rem; margin-top: var(--space-md); }
.live-replays { margin-top: var(--space-lg); }
.live-replays > h3 { font-size: 1.125rem; margin-bottom: var(--space-sm); }
.live-rec, .live-replay { padding: var(--space-sm) var(--space-md); margin-bottom: var(--space-sm); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.live-rec-head, .live-replay-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--space-sm); overflow-wrap: anywhere; }
.live-rec-head .muted, .live-replay-head .muted { font-size: 0.8125rem; }
.live-rec-alerte { margin: 0 0 var(--space-sm); padding: var(--space-sm) var(--space-md); border-radius: 8px; border: 1px solid currentColor; font-weight: 600; color: #b3261e; }
.live-rec-total, .live-rec-multi { margin: 0 0 var(--space-sm); font-size: 0.8125rem; }
.live-replay-head h4 { margin: 0; font-size: 1rem; }
.live-rec-file { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xs) var(--space-sm); padding-top: var(--space-xs); margin-top: var(--space-xs); border-top: 1px solid var(--color-border); font-size: 0.875rem; }
.live-rec-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.live-rec-pub { color: var(--color-plum); font-weight: 600; }
.live-rec-none, .live-rec-empty { font-size: 0.8125rem; margin: var(--space-xs) 0 0; }
/* Supprimer un live : bouton discret en bas du bloc, confirmation dans la page. */
.live-rec-suppr-ligne { justify-content: flex-end; margin-top: var(--space-xs); }
.live-rec-confirm { margin-top: var(--space-sm); padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-danger); border-radius: 8px; font-size: 0.875rem; overflow-wrap: anywhere; }
.live-rec-confirm p { margin: 0 0 var(--space-xs); }
.live-rec-confirm .live-rec-actions { margin-bottom: var(--space-xs); }
.live-rec-confirm .live-rec-etat:empty { display: none; }
.live-rec [hidden] { display: none; }
.live-replay .live-video { margin-top: var(--space-sm); }
.live-replay [hidden] { display: none; }
.live-chat { position: relative; display: flex; flex-direction: column; min-height: 320px; max-height: 70vh; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; }
.live-chat-list { flex: 1; overflow-y: auto; padding: var(--space-sm) var(--space-md); display: flex; flex-direction: column; gap: 6px; }
.live-chat-empty { font-size: 0.8125rem; margin: auto 0; text-align: center; }
.live-msg { font-size: 0.875rem; line-height: 1.4; overflow-wrap: anywhere; }
.live-msg-nom { font-weight: 600; color: var(--color-plum); }
.live-msg-masque { color: var(--color-text-muted); }
.live-msg-note { font-size: 0.75rem; }
.live-alertes { margin-bottom: 12px; }
.live-alerte { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 10px 12px; margin-bottom: 6px; border-radius: 10px; border: 1px solid var(--color-danger); background: var(--color-surface, transparent); }
/* Studio du live (console sur ordinateur) : barre, mains levées, invitées ; fenêtre flottante. */
.studio { margin-top: var(--space-sm); padding: var(--space-sm); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.studio [hidden] { display: none; }
.studio-barre { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-sm); }
.studio-son, .studio-mise { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8125rem; }
.studio-fete-choix { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); }
.studio-fete-choix[hidden] { display: none; }
.studio-fete-prenom { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8125rem; }
.studio-fete-prenom input { width: 9em; padding: 4px 8px; font: inherit; border: 1.5px solid var(--color-border-strong); border-radius: var(--radius-pill); }
.studio-mise select { font: inherit; padding: 4px 6px; border-radius: 8px; border: 1px solid var(--color-border); background: var(--color-surface-white); }
.studio-colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-sm); margin-top: var(--space-sm); }
.studio-col h4 { margin: 0 0 var(--space-xs); font-size: 0.9375rem; }
.studio-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.875rem; }
.studio-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; overflow-wrap: anywhere; }
.studio-direct { color: var(--color-danger); font-weight: 600; }
.studio-niveau { width: 70px; }
.studio-absent, .studio-simple { margin-top: var(--space-sm); font-size: 0.875rem; }
body.studio-pip { margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 8px; height: 100vh; box-sizing: border-box; }
body.studio-pip .live-chat { flex: 1; min-height: 0; max-height: none; }
.live-msg-afficher, .live-msg-inviter { margin-left: 6px; padding: 0 6px; border: 0; background: none; color: var(--color-plum); font: inherit; font-size: 0.75rem; font-weight: 600; text-decoration: underline; cursor: pointer; }
/* Adhérente : lever la main, invitation, sur scène. */
.live-scene { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-sm); margin-top: var(--space-sm); }
.live-scene [hidden] { display: none; }
.live-moi { width: 160px; aspect-ratio: 16 / 9; border-radius: 10px; background: var(--color-night); object-fit: cover; }
.live-invitation { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 12, 40, 0.6); }
.live-invitation[hidden] { display: none; }
.live-invitation-boite { max-width: 380px; width: 100%; padding: var(--space-md); background: var(--color-surface-white); border-radius: var(--radius-card); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); }
.live-invitation-boite h3 { margin: 0 0 var(--space-xs); }
.live-msg-mask, .live-msg-mute { margin-left: 6px; padding: 0 6px; border: 0; background: none; color: var(--color-text-muted); font: inherit; font-size: 0.75rem; text-decoration: underline; cursor: pointer; }
.live-chat-form { display: flex; gap: var(--space-xs); padding: var(--space-sm); border-top: 1px solid var(--color-border); background: var(--color-surface-white); }
.live-chat-form input { flex: 1; min-width: 0; padding: 8px 12px; font: inherit; font-size: 1rem; border: 1.5px solid var(--color-border-strong); border-radius: var(--radius-pill); background: var(--color-surface); }
.live-heart-btn { border: 0; background: none; font-size: 1.25rem; cursor: pointer; padding: 0 4px; }
.live-hearts { position: absolute; right: 0; bottom: 56px; width: 64px; height: 200px; pointer-events: none; overflow: hidden; }
.live-heart { position: absolute; bottom: 0; font-size: 1.25rem; animation: liveHeart 2.5s ease-out forwards; }
@keyframes liveHeart { from { transform: translateY(0) scale(0.8); opacity: 1; } to { transform: translateY(-190px) scale(1.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .live-heart { animation-duration: 0.01s; } }
.login-card a.btn { white-space: normal; text-align: center; }

/* Page « liens » de la bio : une colonne de gros boutons pour le téléphone */
.links-page { max-width: 480px; }
.links-head { text-align: center; }
.links-head img { display: block; margin: 0 auto 0.75rem; }
.links-list { display: grid; gap: 0.75rem; padding-bottom: 2rem; }
.links-list .btn { min-height: 3.25rem; text-align: center; justify-content: center; }

.article-share { margin: var(--space-lg, 24px) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.article-share [role="status"] { font-size: 0.875rem; }

/* ── Jeu du vaisseau (lot 1) : +✦ visibles, vaisseau, destination, « Je deviens… » ── */
#header-stardust { position: relative; }
.sd-gain-slot { position: absolute; right: 4px; top: -2px; pointer-events: none; }
.sd-gain { display: block; font-size: 0.75rem; font-weight: 700; color: var(--color-star); white-space: nowrap; }
.sd-gain-anim { animation: sd-gain-rise 1s ease-out forwards; }
@keyframes sd-gain-rise { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-18px); } }
.ship { display: block; flex: 0 0 auto; color: var(--color-plum); }
.ship-mini { width: 48px; height: 48px; }
.ship .ship-hull { fill: var(--color-surface-white); stroke: var(--color-plum); stroke-width: 3; }
.ship .ship-window { fill: var(--color-violet-soft); stroke: var(--color-plum); stroke-width: 3; }
.ship .ship-wing { fill: var(--color-mauve); }
.ship .ship-sail { fill: var(--color-peach); opacity: 0.85; }
.ship .ship-flame { fill: var(--color-star); }
.ship .ship-antenna { stroke: var(--color-plum); stroke-width: 3; fill: none; stroke-linecap: round; }
.ship .ship-antenna-tip, .ship .ship-light { fill: var(--color-star); }
.ship .ship-flag { fill: var(--color-primary); }
.ship-card { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px; }
.ship-card > div { flex: 1 1 200px; min-width: 0; }
.ship-steps { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.8125rem; color: var(--color-text-muted); }
.ship-steps li.on { color: var(--color-success); font-weight: 600; }
.dash-tile-ship { justify-self: end; margin-top: -28px; }
.destination-card, .deviens-card { margin-top: var(--space-md); padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-white); text-align: left; }
.destination-text { font-family: Georgia, 'Times New Roman', serif; font-size: 1.125rem; font-style: italic; margin: 6px 0 10px; overflow-wrap: anywhere; }
.deviens-field { width: 100%; min-height: 64px; margin: 8px 0; border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 10px 12px; background: var(--color-surface-white); font: inherit; resize: vertical; }
.deviens-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 8px; }
.deviens-pair p { font-style: italic; overflow-wrap: anywhere; }
.deviens-path { text-align: center; color: var(--color-plum); font-weight: 600; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .sd-gain-anim { animation: none; } }

/* Test de personnalité dans l'espace membre (jeu, lot 2) : la colonne de l'accueil est étroite. */
.perso-membre .perso-end { display: none; }
.perso-membre .perso-scale { gap: 6px; }
.perso-membre .perso-dot.sn3, .perso-membre .perso-dot.sp3 { width: 42px; height: 42px; }
.perso-membre .perso-dot.sn2, .perso-membre .perso-dot.sp2 { width: 36px; height: 36px; }
.perso-membre .perso-dot.sn1, .perso-membre .perso-dot.sp1 { width: 32px; height: 32px; }
.perso-membre .perso-dot.sz0 { width: 32px; height: 32px; }
.perso-membre .perso-q .perso-scale::before, .perso-membre .perso-q .perso-scale::after { content: none; }
.perso-membre .perso-nav { flex-wrap: wrap; gap: 8px; }
.perso-membre-hint { font-size: 0.8125rem; margin: 8px 0 0; }
.perso-result-membre { padding: 20px; box-shadow: none; }
.perso-boussole-note { margin: 8px 0 16px; }
.perso-modal .perso-result { padding: 0; border: 0; box-shadow: none; }
.boussole-card { margin-top: 12px; }
.boussole-card .destination-text .btn { margin-left: 6px; }
.membership-line { margin: 12px 0 0; font-size: 0.875rem; color: var(--color-text-muted); }
.perso-new-step .link-button { font-size: inherit; }

/* ── Jeu du vaisseau (lot 3) : le rituel du jour ── */
.ritual-card { margin-bottom: var(--space-md); padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-white); text-align: left; }
.ritual-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ritual-head h3 { margin: 0; font-size: 1rem; }
.ritual-note { margin: 6px 0 0; font-size: 0.8125rem; color: var(--color-text-muted); }
.ritual-steps { margin: 12px 0 0; padding-left: 1.25rem; display: grid; gap: 12px; }
.ritual-label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 6px; }
.ritual-moods { display: flex; gap: 6px; flex-wrap: wrap; }
.ritual-mood { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; padding: 6px 8px; border: 1.5px solid var(--color-border-strong); border-radius: 10px; background: var(--color-surface-white); font: inherit; font-size: 0.75rem; cursor: pointer; }
.ritual-mood span[aria-hidden="true"] { font-size: 1.25rem; }
.ritual-mood.on, .ritual-mood[aria-pressed="true"] { border-color: var(--color-primary); background: var(--color-blush); color: var(--color-primary-strong); }
.ritual-mood:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.ritual-habit { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; }
.ritual-steps .pinput { width: 100%; }
.ritual-gift { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--color-surface, #faf6f2); font-size: 0.875rem; color: var(--color-text-muted); }
.ritual-gift.open { color: inherit; border-left: 3px solid var(--color-primary); }
.ritual-gift.open p { margin: 4px 0 0; }
.ritual-help { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--color-blush); font-size: 0.875rem; }
.ritual-help p { margin: 0; }
.ritual-foot { margin: 8px 0 0; text-align: right; font-size: 0.8125rem; font-weight: 600; color: var(--color-primary-strong); }
.ritual-private { margin: 6px 0 0; font-size: 0.75rem; }
/* Conception copilote, lot 2 : « Pour toi aujourd'hui », météo du corps, rituel du soir (ritual.js). */
.accomp-card, .accomp-soir, .accomp-meteo { margin: 0 0 var(--space-md); padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-white); text-align: left; }
.accomp-meteo legend { padding: 0 4px; font-size: 0.875rem; font-weight: 600; }
.accomp-row { margin-top: 8px; }
.accomp-choices { display: flex; gap: 6px; flex-wrap: wrap; }
.accomp-choice { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; min-width: 44px; padding: 6px 12px; border: 1.5px solid var(--color-border-strong); border-radius: 10px; background: var(--color-surface-white); font: inherit; font-size: 0.875rem; cursor: pointer; }
.accomp-choice.on, .accomp-choice[aria-pressed="true"] { border-color: var(--color-primary); background: var(--color-blush); color: var(--color-primary-strong); }
.accomp-choice:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.accomp-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--color-border-strong); font-size: 0.75rem; font-weight: 600; }
.accomp-badge-fort { border-color: var(--color-success); color: var(--color-text); }
.accomp-badge-faible, .accomp-badge-theorie { color: var(--color-text-muted); }
.accomp-name { margin: 10px 0 4px; font-size: 0.9375rem; }
.accomp-why, .accomp-mini { margin: 4px 0; font-size: 0.875rem; }
.accomp-note-ex { margin: 6px 0; padding: 8px 10px; border-left: 3px solid var(--color-border-strong); font-size: 0.875rem; color: var(--color-text); }
.accomp-steps { margin: 8px 0 0; padding-left: 1.25rem; display: grid; gap: 4px; font-size: 0.875rem; }
.accomp-refs { margin-top: 10px; font-size: 0.8125rem; color: var(--color-text-muted); }
.accomp-refs summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
.accomp-refs ul { margin: 4px 0 0; padding-left: 1.25rem; }
.accomp-soutien, .accomp-pause { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--color-blush); font-size: 0.875rem; }
.accomp-soutien p, .accomp-pause p { margin: 0 0 6px; }
.accomp-pause ol { margin: 0 0 6px; padding-left: 1.25rem; }
.accomp-phrase, .accomp-note { margin: 8px 0 0; font-size: 0.75rem; }
.accomp-soir h3 { margin: 0 0 8px; font-size: 1rem; }
.accomp-soir .ritual-label { margin-top: 10px; }
/* Lot 3 : « Ton plan de demain » (plan-demain.js) */
.plan-card { margin: 0 0 var(--space-md); padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-white); text-align: left; }
.plan-card h3 { margin: 0 0 8px; font-size: 1rem; }
.plan-card .btn { min-height: 44px; }
.plan-card .pinput { width: 100%; margin-top: 6px; }
.plan-bloc { margin: 8px 0; padding: 10px 12px; border-radius: 10px; background: var(--color-blush); }
.plan-actions, .plan-liens { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 0; }
.plan-auto { margin-top: 12px; }
.plan-erreur { margin: 8px 0 0; font-size: 0.875rem; color: var(--color-primary-strong); }

/* ── Jeu du vaisseau (lot 8) : Orbite, après le jour 21 ── */
.orbit-card { margin-bottom: var(--space-md); padding: 16px; border: 1px solid var(--color-border); border-left: 3px solid var(--color-star); border-radius: var(--radius-card); background: var(--color-surface-white); text-align: left; }
.orbit-card .destination-text { font-size: 1rem; margin: 2px 0 8px; }
.orbit-card .ritual-steps p { margin: 0; }
/* Crew challenge of the week (defi.js): one gauge, the crew's own numbers only. */
.challenge-card { margin-bottom: var(--space-md); padding: 16px; border: 1px solid var(--color-border); border-left: 3px solid var(--color-star); border-radius: var(--radius-card); background: var(--color-surface-white); text-align: left; }
.challenge-card .challenge-name { font-size: 1rem; font-weight: 600; margin: 6px 0 4px; }
.challenge-card .rank-progress { margin: 8px 0 4px; }
.challenge-card .challenge-count, .challenge-card .challenge-together { font-size: 0.875rem; margin: 4px 0; }
.challenge-card .challenge-rule { font-size: 0.75rem; margin: 4px 0 0; }
.challenge-card .challenge-fete { margin-top: 8px; padding: 8px 12px; border-radius: var(--radius-card); background: var(--color-surface, #fff8e7); font-size: 0.875rem; }
.admin-challenges .challenge-form { display: grid; gap: 8px; max-width: 520px; }
.admin-challenges .challenge-form label { display: grid; gap: 4px; font-size: 0.875rem; }
.admin-challenges .challenge-list { list-style: none; padding: 0; margin: var(--space-sm) 0 0; }
.admin-challenges .challenge-list li { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; padding: 6px 0; border-top: 1px solid var(--color-border); font-size: 0.875rem; }
.ship .ship-deco { fill: var(--color-star); }

/* Offres de la boutique dans les leçons (lot D : 5.2, 5.3) : 1 à 3 cartes sous un bloc. */
/* Lecteur audio unique (lot H) : guides des leçons et cadeaux du rituel */
.owa-audio { margin: 12px 0 16px; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-card, 12px); background: var(--color-surface); }
.owa-audio[hidden] { display: none; }
.owa-audio-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.owa-audio-seek { flex: 1 1 160px; min-width: 0; accent-color: var(--color-primary); }
.owa-audio-time { font-size: 0.8125rem; font-variant-numeric: tabular-nums; color: var(--color-text-muted); min-width: 7.5em; }
.owa-audio-speed { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; }
.owa-audio-speed select { border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 4px 8px; background: var(--color-surface); font: inherit; color: inherit; }
.owa-audio-note { margin: 6px 0 0; font-size: 0.8125rem; }
.owa-audio-note:empty { display: none; }
.owa-audio button:focus-visible, .owa-audio-seek:focus-visible, .owa-audio-speed select:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.ritual-gift .owa-audio { margin: 10px 0 0; }
.lesson-podcast { margin: 12px 0 16px; padding: 12px 14px; border-left: 3px solid var(--color-primary); border-radius: 10px; background: var(--color-surface); }
.lesson-podcast p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.lesson-podcast p + p { margin-top: 8px; }
.lesson-shop { margin: 12px 0 16px; padding: 14px; border: 1px dashed var(--color-border-strong); border-radius: var(--radius-card); background: var(--color-surface); }
.lesson-shop-bio { border-style: solid; }
.lesson-shop-note { font-size: 0.8125rem; margin: 4px 0 10px; }
.lesson-shop-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 10px 0; }

/* Console : programmer sur les réseaux (Postiz) et réglages des clés. */
.social-nets { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.social-net { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.social-account { display: inline-flex; gap: 6px; align-items: center; }
.social-text { display: grid; gap: 4px; margin-bottom: 12px; }
.social-text textarea, .social-text input, .social-media input[type="file"], #social-date { width: 100%; max-width: 100%; border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 8px 12px; font: inherit; background: var(--color-surface); }
.social-preview { border: 1px solid var(--color-border); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.social-preview-text { white-space: pre-wrap; word-break: break-word; font: inherit; margin: 6px 0; }
.social-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.social-confirm { border: 1px solid var(--color-border-strong); border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
.social-confirm-inline { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.post-targets-scroll { overflow-x: auto; }
.post-targets-table { border-collapse: collapse; width: 100%; font-size: 0.8125rem; }
.post-targets-table th, .post-targets-table td { padding: 4px 8px; text-align: left; border-bottom: 1px solid var(--color-border); }
.reseaux-cles { list-style: none; padding: 0; display: grid; gap: 10px; }
.reseaux-pose { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.reseaux-pose input { flex: 1 1 200px; border: 1.5px solid var(--color-border-strong); border-radius: 8px; padding: 6px 10px; font: inherit; }

/* Console : publier les leçons depuis Notion (aperçu des différences). */
.notion-lecon { border-top: 1px solid var(--color-border); padding-top: 10px; margin-top: 10px; }
.notion-lecon ul { margin: 4px 0 8px 18px; }
.notion-lecon del { color: var(--color-text-muted, #777); }
.notion-plus li::marker { content: '+ '; }
.notion-moins li::marker { content: '− '; }
.notion-confirm { display: grid; gap: 8px; margin-top: 14px; padding: 12px; border: 1px solid var(--color-border-strong); border-radius: 8px; }

/* Compte partenaire sans adhésion : seulement l'espace partenaire (pas de navigation membre). */
#app.partner-mode .tab-bar, #app.partner-mode .pc-sidebar, #app.partner-mode #header-presence,
#app.partner-mode #header-stardust, #app.partner-mode #live-banner { display: none !important; }

/* ── Journée offerte (lot E, decouverte.js) : un compte sans adhésion n'a ni communauté, ni
   messagerie, ni ✦, ni rituel, ni équipage, ni défi ; l'intro et le jour 1 restent. ── */
#app.decouverte-mode [data-tab="community"], #app.decouverte-mode [data-tab="messages"],
#app.decouverte-mode #header-presence, #app.decouverte-mode #header-stardust, #app.decouverte-mode #live-banner,
#app.decouverte-mode #dash-ritual, #app.decouverte-mode #dash-challenge, #app.decouverte-mode .crew-slot,
#app.decouverte-mode .dash-tiles { display: none !important; }
.decouverte-box { margin-top: 16px; padding: 14px 16px; border: 1.5px dashed var(--color-border-strong); border-radius: 12px; }
.decouverte-box.decouverte-focus { border-style: solid; border-color: var(--color-primary, currentColor); }
.decouverte-phrase { margin: 0 0 4px; }
.canaux-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.members-only h2 { margin: 4px 0 8px; }

/* ── Mon agenda (agenda.js) : mobile d'abord ─────────────────── */
.agenda-switch { display: flex; gap: 4px; padding: 4px; margin-bottom: var(--space-md); background: var(--color-surface-muted); border-radius: 999px; }
.agenda-switch-btn, .agenda-view-btn { flex: 1; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--color-text-muted); background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.agenda-switch-btn.is-on, .agenda-view-btn.is-on { color: var(--color-text); background: var(--color-surface-white); box-shadow: 0 1px 3px rgba(31, 24, 21, 0.12); }
.agenda-switch-btn:focus-visible, .agenda-view-btn:focus-visible, .agenda-mois-jour:focus-visible, .agenda-jour-lien:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.agenda-bar { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.agenda-views { display: flex; gap: 4px; padding: 4px; background: var(--color-surface-muted); border-radius: 999px; }
.agenda-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.agenda-nav .btn { min-height: 44px; min-width: 44px; }
.agenda-periode { flex: 1; min-width: 0; margin: 0; font-size: 1rem; text-align: center; }
.agenda-periode:first-letter { text-transform: uppercase; }
.agenda-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.agenda-actions .btn { min-height: 44px; }
.agenda-note { font-size: 0.75rem; margin-bottom: var(--space-md); }
.agenda-jour { margin-bottom: var(--space-md); }
.agenda-jour-titre { margin: 0 0 6px; font-size: 0.875rem; }
.agenda-jour-lien { padding: 4px 0; font: inherit; font-weight: 600; color: var(--color-text); background: none; border: 0; cursor: pointer; text-align: left; }
.agenda-jour.is-today .agenda-jour-lien { color: var(--color-accent-text); }
.agenda-liste { list-style: none; margin: 0; padding: 0; }
.agenda-rien { font-size: 0.8125rem; margin: 0 0 4px; }
.agenda-item { display: flex; gap: 12px; padding: 12px; margin-bottom: 8px; background: var(--color-surface-white); border: 1px solid var(--color-border); border-left: 3px solid var(--color-border-strong); border-radius: var(--radius-card); }
.agenda-item.agenda-evenement { border-left-color: var(--color-plum); }
.agenda-item.agenda-rdv { border-left-color: var(--color-jade); }
.agenda-item.agenda-lecon, .agenda-item.agenda-rituel, .agenda-item.agenda-orbite { border-left-color: var(--color-star); background: var(--color-surface); }
.agenda-item.is-mine { border-left-width: 5px; box-shadow: 0 1px 4px rgba(31, 24, 21, 0.08); }
.agenda-item.agenda-evenement.is-mine { border-left-color: var(--color-primary); }
.agenda-item.is-done .agenda-item-titre { color: var(--color-text-muted); }
.agenda-item-heure { flex: 0 0 auto; min-width: 3.5rem; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--color-text-muted); padding-top: 2px; }
.agenda-item-corps { flex: 1; min-width: 0; }
.agenda-item-titre { font-weight: 600; overflow-wrap: anywhere; }
.agenda-item-meta { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 2px; }
.agenda-item-note { font-size: 0.8125rem; margin-top: 6px; white-space: pre-line; overflow-wrap: anywhere; }
.agenda-item-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.agenda-item-actions .btn { min-height: 40px; padding-left: 8px; padding-right: 8px; }
.agenda-mois { margin-bottom: var(--space-md); }
.agenda-mois-jour { width: 100%; min-height: 40px; font: inherit; font-size: 0.8125rem; background: none; border: 0; cursor: pointer; }
.agenda-mois-jour.is-selected:not(.today) { box-shadow: inset 0 0 0 2px var(--color-primary); }
.agenda-form { margin-bottom: var(--space-md); }
.agenda-form-titre { font-size: 1.125rem; margin: 0 0 12px; }
.agenda-fieldset { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.agenda-fieldset[hidden] { display: none; }
.agenda-cases { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.agenda-case { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 0.875rem; cursor: pointer; }
.agenda-case input { width: 20px; height: 20px; accent-color: var(--color-primary); }
.agenda-case-fort { font-weight: 600; margin-bottom: 8px; }
.agenda-erreur { color: var(--color-danger); font-size: 0.875rem; margin: 0 0 8px; }
.agenda-erreur:empty { display: none; }
.agenda-form-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.agenda-form-actions .btn { min-height: 44px; }
.agenda-danger { color: var(--color-danger); }
.agenda-confirmer { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.875rem; }
.agenda-vide p { margin: 0; }
@media (min-width: 720px) {
  .agenda-bar { flex-direction: row; align-items: center; justify-content: space-between; }
  .agenda-views { flex: 0 0 auto; }
  .agenda-nav { flex: 1; justify-content: flex-end; }
  .agenda-periode { text-align: right; padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) { .agenda-switch-btn, .agenda-view-btn, .agenda-item { transition: none; animation: none; } }

/* ── Retours du 26.11 : accueil public (bannière, jour 1 offert) ── */
.programme-banner { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; background: var(--color-violet-soft); color: var(--color-violet-deep); font-size: 0.875rem; font-weight: 600; line-height: 1.4; }
.gift-band p.gift-band-lead { color: var(--color-text); font-weight: 500; margin-bottom: 6px; }

/* À bord : protocoles, recettes et compléments, test de personnalité. Mobile d'abord : une colonne. */
.aboard-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); margin-top: var(--space-lg); }
@media (min-width: 760px) { .aboard-grid { grid-template-columns: repeat(3, 1fr); } }
.aboard-card { position: relative; min-width: 0; padding: 22px 20px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-white); }
.aboard-card h3 { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.2; margin: 8px 0 10px; }
.aboard-card p { margin: 0 0 10px; }
.aboard-card .aboard-more { font-size: 0.9375rem; color: var(--color-text-muted); }
.aboard-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-violet-soft); color: var(--color-violet); font-size: 1.25rem; }
.aboard-levels { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.aboard-levels li { padding: 4px 12px; border-radius: 999px; background: var(--color-blush); color: var(--color-primary-strong); font-weight: 600; font-size: 0.875rem; }
.aboard-secret { border-top: 1px dashed var(--color-border-strong); padding-top: 10px; }
.aboard-secret summary { cursor: pointer; font-weight: 600; color: var(--color-violet); min-height: 44px; display: flex; align-items: center; gap: 8px; }
/* Cadenas décoratif : texte alternatif vide, pour que le lecteur d'écran ne lise pas « cadenas fermé ». */
.aboard-secret summary::before { content: '🔒'; content: '🔒' / ''; }
.aboard-secret[open] summary::before { content: '🔓'; content: '🔓' / ''; }
.aboard-secret summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: 6px; }
.aboard-secret p { font-style: italic; color: var(--color-text-muted); }
.aboard-dims { margin: 0 0 10px; display: grid; gap: 6px; }
.aboard-dims div { display: flex; flex-wrap: wrap; gap: 0 6px; }
.aboard-dims dt { font-weight: 600; }
.aboard-dims dt::after { content: ' :'; }
.aboard-dims dd { margin: 0; color: var(--color-text-muted); }

/* Carrousel des témoignages : un rail qui défile (doigt, clavier, boutons). Mobile d'abord : un témoignage à la fois. */
.quote-carousel { position: relative; margin-top: var(--space-lg); }
.landing-quotes.quote-track { display: flex; grid-template-columns: none; gap: var(--space-md); margin-top: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: 4px 2px 8px; }
.quote-track::-webkit-scrollbar { display: none; }
.quote-track > figure { flex: 0 0 88%; scroll-snap-align: start; }
@media (min-width: 760px) { .quote-track > figure { flex-basis: calc((100% - var(--space-md)) / 2); } }
@media (min-width: 1100px) { .quote-track > figure { flex-basis: calc((100% - 2 * var(--space-md)) / 3); } }
.quote-track:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-card); }
.quote-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: 12px; }
.quote-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-border-strong); background: var(--color-surface-white); color: var(--color-text); font-size: 1.125rem; cursor: pointer; }
.quote-nav:hover { border-color: var(--color-violet); color: var(--color-violet); }
.quote-status { margin: 0; min-width: 9em; text-align: center; font-size: 0.875rem; color: var(--color-text-muted); }
.quote-pause { flex: 0 0 100%; min-height: 44px; padding: 0 14px; border: 0; background: none; font: inherit; font-size: 0.875rem; color: var(--color-text-muted); text-decoration: underline; cursor: pointer; }
.quote-nav:focus-visible, .quote-pause:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.quote-authentic { max-width: 60ch; margin: var(--space-md) auto 0; text-align: center; font-size: 0.875rem; color: var(--color-text-muted); }
.temoignages-page .quote-authentic { margin-bottom: var(--space-xl); }
@media (prefers-reduced-motion: no-preference) { .quote-track { scroll-behavior: smooth; } .quote-nav { transition: transform 0.15s ease, border-color 0.15s ease; } .quote-nav:active { transform: scale(0.92); } }

/* Touches « jeu vidéo », légères : rien ne bouge en boucle, rien ne cache le texte, seulement transform et opacity
   (pas de recalcul de mise en page). Tout est coupé si l'appareil demande moins d'animations. */
.home .aboard-card:focus-within { border-color: var(--color-violet); }
.aboard-secret summary::after { content: '✦'; color: var(--color-star); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .home .btn-primary:active, .home .btn-secondary:active { transform: translateY(1px) scale(0.98); }
  .home .aboard-card { transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
  .home .aboard-card:hover, .home .aboard-card:focus-within { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(103, 43, 109, 0.12); }
  .home .aboard-card:hover .aboard-icon, .home .aboard-card:focus-within .aboard-icon { animation: owa-gagne 0.5s ease-out 1; }
  .aboard-secret[open] summary::after { animation: owa-etincelle 0.9s ease-out 1 forwards; }
  .home .landing-figures li { transition: transform 0.2s ease; }
  .home .landing-figures li:hover { transform: translateY(-3px); }
  .home .aboard-levels li { transition: transform 0.15s ease; }
  .home .aboard-levels li:hover { transform: scale(1.06) rotate(-2deg); }
}
@keyframes owa-gagne { 0% { transform: scale(1); } 40% { transform: scale(1.18) rotate(-8deg); } 100% { transform: scale(1); } }
@keyframes owa-etincelle { 0% { opacity: 0; transform: translateY(4px) scale(0.6); } 50% { opacity: 1; transform: translateY(-6px) scale(1.2); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .aboard-secret[open] summary::after { opacity: 1; } }

/* ── Boutique (retours du 26.11) : « 100 % naturel » vérifié, galerie et variantes de la fiche ── */
.shop-natural-note { font-size: 0.875rem; color: var(--color-text-muted); margin-top: 6px; }
.product-natural { display: inline-block; align-self: flex-start; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--color-success); color: var(--color-success); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; }
.product-sheet-natural { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.8125rem; margin: 0; }
.product-sheet-subtitle { font-size: 0.9375rem; margin: 4px 0 0; }
.product-sheet-gallery { display: flex; flex-direction: column; min-width: 0; background: var(--color-surface-muted); }
.product-sheet-gallery .product-sheet-image { flex: 1 1 auto; }
.product-sheet-thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
.product-sheet-thumb { flex: 0 0 auto; width: 56px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 8px; background: var(--color-surface-white); cursor: pointer; overflow: hidden; }
.product-sheet-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-sheet-thumb[aria-pressed="true"] { border-color: var(--color-primary); }
.variant-group { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; }
.variant-group legend { font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; padding: 0; }
.variant-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-chip { position: relative; display: inline-flex; }
.variant-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.variant-chip span { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 14px; border: 1.5px solid var(--color-border-strong); border-radius: 999px; font-size: 0.875rem; cursor: pointer; background: var(--color-surface-white); }
.variant-chip input:checked + span { border-color: var(--color-primary); background: var(--color-blush); font-weight: 600; }
.variant-chip input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.variant-note { min-height: 1em; margin: 0; font-size: 0.8125rem; color: var(--color-primary-strong); }
.variant-note:empty { min-height: 0; }
.cart-line-variant { font-size: 0.8125rem; color: var(--color-text-muted); }
@media (max-width: 640px) {
  .product-sheet-gallery .product-sheet-image { max-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-sheet-thumbs { scroll-behavior: auto; }
}
.variant-editor { border: 1px solid var(--color-border); border-radius: 12px; padding: 12px; margin: 0 0 12px; min-width: 0; }
.variant-editor legend { padding: 0 4px; }
.variant-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; padding: 8px 0; border-bottom: 1px solid var(--color-border); }
.variant-row-field { display: grid; gap: 2px; font-size: 0.8125rem; min-width: 0; }
.variant-row-on { display: flex; gap: 6px; align-items: center; font-size: 0.8125rem; min-height: 44px; }
@media (min-width: 640px) { .variant-row { grid-template-columns: 1fr 1fr 110px auto auto; } }
/* ── Demande de compte partenaire (retours du 26.11, section 4) ── */
.login-pro .decouverte-only, .login-pro #login-gift { display: none !important; }
.login-partner-new .btn { margin-top: 8px; }
.partner-request { display: grid; gap: 4px; margin-top: 12px; }
.pinput[aria-invalid="true"] { border-color: var(--color-danger); }
.partner-request-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.875rem; margin: 8px 0; }
.partner-request-consent input { margin-top: 3px; width: 20px; height: 20px; flex: 0 0 auto; }
.partner-request-status { min-height: 1.2em; margin: 0; font-size: 0.875rem; color: var(--color-primary-strong); }
.partner-request-status:empty { min-height: 0; }
.partner-request-done { margin-top: 12px; }
.partner-request-done:focus { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.partner-request-row { padding: 12px 0; border-top: 1px solid var(--color-border); }
.partner-request-row h4 { font-size: 1rem; margin: 0 0 4px; }
.shop-brand-invite { margin-top: 24px; font-size: 0.9375rem; }

/* Questions-réponses avec Uma (qr-uma.js) : mobile d'abord, une colonne. */
.qr-tab-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--color-primary); color: #fff; font-size: 0.75rem; font-weight: 700; }
.qr-section { display: grid; gap: 12px; }
.qr-intro p { margin: 4px 0 0; font-size: 0.875rem; }
.qr-card { padding: var(--space-md); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); }
.qr-ask { border: 1.5px solid var(--color-primary); }
.qr-exchange { display: grid; gap: 8px; }
.qr-lesson { justify-self: start; font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--color-surface-white, #fff); border: 1px solid var(--color-border); }
.qr-q, .qr-a { margin: 0; font-size: 0.9375rem; line-height: 1.6; overflow-wrap: anywhere; }
.qr-q { font-weight: 600; }
.qr-label { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); }
.qr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.qr-actions .btn { min-height: 44px; }
.qr-note { margin: 8px 0 0; font-size: 0.8125rem; }
.qr-given summary { cursor: pointer; padding: 10px 0; font-weight: 600; font-size: 0.875rem; }
.qr-given .qr-card + .qr-card { margin-top: 8px; }
.qr-admin-row + .qr-admin-row { margin-top: 12px; }
.qr-admin-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-bottom: 8px; }
.qr-prepare { margin-top: 12px; }
.qr-form textarea { width: 100%; resize: vertical; }
.qr-section :focus-visible, .qr-admin :focus-visible, .qr-prepare :focus-visible, .qr-tab:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }

/* Musique : trois playlists par état d'esprit (retours du 26.11.2026). Une colonne sur téléphone,
   trois côte à côte sur grand écran ; les morceaux gardent la mise en page des albums. */
.music-lead { font-size: 1.125rem; }
.playlist-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); margin-block: var(--space-md) var(--space-lg); }
.playlist-card { padding: var(--space-md); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-white); border-top: 4px solid var(--color-primary); }
.playlist-title { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.15; margin: 0 0 6px; }
.playlist-phrase { color: var(--color-text-muted); margin: 0 0 var(--space-md); }
.playlist-play { margin-bottom: var(--space-sm); }
.playlist-card .music-track { grid-template-columns: 2em minmax(0, 1fr); }
.playlist-card .music-track audio { grid-column: 1 / -1; }
.playlist-soon { margin: 0; }
.music-albums-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); margin: var(--space-lg) 0 0; }
@media (min-width: 1000px) { .playlist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: no-preference) { .playlist-card { transition: box-shadow 0.2s ease; } .playlist-card:focus-within { box-shadow: 0 0 0 3px var(--color-border-strong); } }
/* Console : composer les playlists (admin-musique.js). */
.adm-playlist { border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--space-md); margin: 0 0 var(--space-md); }
.adm-playlist legend { padding: 0 6px; }
.adm-playlist-list { margin: 0 0 var(--space-md); padding-left: 1.4em; display: grid; gap: 6px; }
.adm-playlist-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; border-top: 1px solid var(--color-border); padding-top: 6px; }
.adm-playlist-tools { display: flex; gap: 4px; }
.adm-playlist-add { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-bottom: var(--space-sm); }
.adm-playlist-add .pfield { flex: 1 1 220px; margin: 0; }
/* Podcast « Uma Coaching Pro » lu sur Podbean (onglet Podcasts du blog, retours du 26.11.2026). */
.pod-podbean .pod-intro h2, .pod-blog-more > h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 4vw, 2.25rem); margin: var(--space-lg) 0 8px; }
.pod-item h3 { margin: 2px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.pod-item h3 a { color: inherit; text-decoration: none; }
.pod-item h3 a:hover, .pod-item h3 a:focus-visible { color: var(--color-accent-text); text-decoration: underline; }
.pod-item-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0 0; font-size: 0.9375rem; }

/* ── Boussole v2, lot 3 : la boussole dans l'en-tête du profil, et pour l'équipe ── */
.boussole-id, .boussole-card, .boussole-equipe { --fam: var(--color-plum); --fam-soft: var(--color-violet-soft); }
.boussole-id.fam-nf, .boussole-card.fam-nf, .boussole-equipe.fam-nf { --fam: #2F6690; --fam-soft: #E3EEF7; }
.boussole-id.fam-sj, .boussole-card.fam-sj, .boussole-equipe.fam-sj { --fam: var(--color-jade); --fam-soft: var(--color-jade-soft); }
/* Texts use --fam-text when the family colour is too light for small text (SP orange: 3,5:1 on the page ground); the bars and borders keep --fam. */
.boussole-id.fam-sp, .boussole-card.fam-sp, .boussole-equipe.fam-sp { --fam: var(--color-orange); --fam-soft: #FCEBD9; --fam-text: #A04B26; }
.profile-boussole { width: 100%; max-width: 520px; margin: 0 auto var(--space-sm); }
.profile-boussole:empty { display: none; }
.boussole-id { margin: 0 0 var(--space-sm); }
.boussole-name { margin: 0; font-weight: 600; color: var(--fam-text, var(--fam)); overflow-wrap: anywhere; }
.boussole-code { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; color: var(--color-text-muted); }
.boussole-date { margin: 2px 0 0; font-size: 0.75rem; color: var(--color-text-muted); }
.profile-boussole .boussole-card { margin-top: 0; border-top: 4px solid var(--fam); }
.boussole-lead { margin: 0 0 12px; }
.boussole-axes { display: grid; gap: 10px; margin: 0 0 12px; }
.boussole-axis-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 0.8125rem; }
.boussole-axis-head strong { color: var(--fam-text, var(--fam)); font-weight: 600; }
.boussole-axis-bar { height: 6px; margin-top: 4px; }
.boussole-axis-bar i { width: 12px; height: 12px; border-width: 2px; }
.boussole-tip { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--fam-soft); font-size: 0.875rem; }
.boussole-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.boussole-actions .btn[disabled] { opacity: 1; cursor: default; color: var(--color-text-muted); }
.boussole-history-link { margin: 4px 0; font-size: 0.875rem; }
.boussole-privacy, .boussole-rule { font-size: 0.75rem; margin: 8px 0 0; }
.boussole-erase { margin-top: 8px; font-size: 0.8125rem; }
.boussole-erase .erase-confirm p { margin: 0 0 8px; }
.boussole-changes { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--fam); font-size: 0.875rem; }
.boussole-changes p { margin: 0 0 4px; }
.boussole-changes ul, .boussole-history { margin: 0; padding-left: 1.2em; }
.boussole-history li { margin: 4px 0; }
.boussole-empty-title { margin: 0 0 4px; }
.boussole-test .perso-membre { margin-top: 8px; }
.profile-avatar.has-boussole { background: var(--color-surface-white); overflow: hidden; padding: 0; }
.profile-avatar.has-boussole img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.boussole-equipe { border-top: 4px solid var(--fam); }
.boussole-equipe dd { white-space: normal; }
.boussole-equipe-history summary { cursor: pointer; min-height: 32px; font-size: 0.875rem; }

/* ── Lot 0-1 : connexion, chargement, cibles tactiles ─────────── */
/* Le titre de la carte de connexion est un vrai h1, à la taille de l'eyebrow. */
.login-title { margin: 0 0 16px; }
.login-other { margin-top: var(--space-md); font-size: 0.8125rem; color: var(--color-text-muted); text-align: left; }
.login-other summary { cursor: pointer; font-weight: 600; color: var(--color-text); padding: 8px 0; }
.login-other .login-help { margin-top: 0; padding-top: var(--space-sm); border-top: 0; }

/* Écran de la console qui charge : des blocs gris à la place du texte. */
.skeleton-list { display: grid; gap: 12px; margin-top: var(--space-lg); }
.skeleton { height: 16px; border-radius: 8px; background: linear-gradient(90deg, var(--color-surface-muted) 0%, var(--color-border) 50%, var(--color-surface-muted) 100%); background-size: 200% 100%; animation: skeleton-wave 1.4s ease-in-out infinite; }
.skeleton-title { height: 28px; width: 45%; }
.skeleton-short { width: 60%; }
@keyframes skeleton-wave { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }
.load-fail { text-align: center; margin-top: var(--space-lg); display: grid; justify-items: center; gap: 12px; }

/* Cibles tactiles : 44 px minimum au pouce (téléphone, ou écran tactile). */
@media (max-width: 767px), (pointer: coarse) {
  .btn, .btn-sm, .channel-tab, .crm-segment, .discret, .chatbot-suggestion, .admin-menu-item { min-height: 44px; }
  .channel-tab, .crm-segment, .chatbot-suggestion { display: inline-flex; align-items: center; justify-content: center; }
  .link-button, .discret, footer a, .login-help a, .login-other summary, .splash-back { display: inline-flex; align-items: center; min-height: 44px; }
  label:has(> input[type="checkbox"]) { min-height: 44px; display: flex; align-items: center; gap: 8px; }
  input[type="checkbox"] { width: 24px; height: 24px; }
  .chatbot-header-close, .chatbot-send-btn { min-width: 44px; min-height: 44px; }
}
/* Fin des cibles tactiles */

/* ═══ Mon plan de sécurité et Mes accords (plan-securite.js, copilote lot 4) ═══ */
.header-safety-btn { min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-surface-muted); color: var(--color-plum); font: inherit; font-size: 0.8125rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
#app > .app-header .header-safety-btn { background: var(--color-night-raised); border-color: rgba(242, 235, 227, 0.14); color: var(--color-night-text); }
#app > .app-header .header-safety-btn:hover { background: rgba(242, 235, 227, 0.16); }
.secu-numeros { margin: 0 0 var(--space-md); padding: 16px; border: 1px solid var(--color-border); border-left: 4px solid var(--color-danger); border-radius: var(--radius-card); background: var(--color-surface-white); }
.secu-numeros h2 { margin: 0 0 8px; font-size: 1.125rem; }
.secu-pays h3 { margin: 12px 0 4px; font-size: 0.9375rem; }
.secu-pays ul, .secu-rubrique ul { margin: 0; padding: 0; list-style: none; }
.secu-num { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 4px 0; }
.secu-num-lien { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: inherit; }
.secu-num-lien strong { font-size: 1.125rem; color: var(--color-primary-strong); }
.secu-num-urgence .secu-num-lien strong { color: var(--color-danger); }
.secu-plan, .accords { margin: 0 0 var(--space-md); padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-white); text-align: left; }
.secu-rubrique h3 { margin: 12px 0 4px; font-size: 1rem; }
.secu-rubrique li { padding: 2px 0; }
.secu-champ { margin: 0 0 12px; }
.secu-champ label { font-weight: 600; }
.secu-champ textarea { width: 100%; box-sizing: border-box; font: inherit; }
.secu-actions, .secu-confirmer { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.secu-actions .btn, .secu-confirmer .btn { min-height: 44px; }
.secu-erreur { color: var(--color-danger); font-weight: 600; }
.accord { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.accord input[type="checkbox"] { width: 24px; height: 24px; margin-top: 2px; flex: none; }
.accord p { margin: 4px 0; }
.accords { border-width: 1px; }
.accords-specialistes { margin: 0 0 var(--space-md); }

/* ── Console admin : « Ma journée » et « Plus » (lot 9) ─────────
   Une seule entrée visible (« Ma journée ») ; le reste se déplie sous « Plus ».
   L'écran : alertes en haut, puis tâches à gauche, messages et contacts à droite. */
.admin-menu-more { display: block; }
.admin-menu-more:not([open]) > :not(summary) { display: none; }
.admin-menu-more > .admin-menu-item, .admin-menu-more > .admin-menu-group { margin-top: 2px; }
.admin-menu-more > summary { list-style: none; }
.admin-menu-more > summary::-webkit-details-marker { display: none; }
.admin-menu-more > summary::after { content: '▾'; margin-left: auto; transition: transform 150ms ease; }
.admin-menu-more[open] > summary::after { transform: rotate(180deg); }
.admin-menu-more[open] > summary { margin-bottom: 2px; }
.admin-menu-more > summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.journee-date { font-size: 0.875rem; margin: 0 0 var(--space-sm); }
.journee-alertes h3, .journee-contacts h3, .journee-messages h3 { font-size: 1.25rem; }
.journee-alertes h3 { margin-bottom: 4px; }
.journee-vide { font-size: 0.875rem; padding: var(--space-xs) 0; }
.journee-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--space-md); }
@media (min-width: 1000px) { .journee-grille { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.journee-col { min-width: 0; }
.journee-liste { list-style: none; padding: 0; margin: 0 0 6px; }
.journee-liste li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--color-border); }
.journee-liste li > div { display: grid; gap: 2px; min-width: 0; flex: 1 1 200px; }
.journee-liste strong { font-weight: 600; font-size: 0.9375rem; overflow-wrap: anywhere; }
.journee-liste span.muted { font-size: 0.8125rem; overflow-wrap: anywhere; }
.journee-liste li.is-alert strong { color: var(--color-danger); }
.journee-plus > summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
.journee-plus > summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.journee-plus[open] > summary { margin-bottom: var(--space-sm); }

/* ── Lot R1 : écran « Aujourd'hui » court, titres dépliables, barre « Plus », hors ligne ── */
.pli { margin: 0 0 var(--space-sm); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-white); text-align: left; }
.pli-titre { margin: 0; font-size: 1rem; }
h4.pli-titre { font-size: 0.9375rem; }
.pli-btn { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; width: 100%; min-height: 48px; padding: 10px 44px 10px 14px; position: relative; border: 0; border-radius: var(--radius-card); background: none; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.pli-btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
/* A shortcut that leads to a fold (« Moi » : Mon journal, Mes badges, Ma progression) scrolls it to the top:
   it lands below the sticky header, so that the title and its focus stay in sight. */
#screen-profile .pli-btn { scroll-margin-top: calc(var(--header-height) + 16px); }
.pli-nom { flex: 0 1 auto; }
.pli-note { font-size: 0.8125rem; font-weight: 400; color: var(--color-text-muted); }
.pli-fleche { position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 150ms ease; }
.pli-btn[aria-expanded="true"] .pli-fleche { transform: rotate(-135deg); margin-top: -2px; }
@media (prefers-reduced-motion: reduce) { .pli-fleche { transition: none; } }
.pli-corps { padding: 0 14px 14px; }
/* A card inside its fold: no second frame, no second title (the fold's button names it). */
.pli-corps > .accomp-meteo, .pli-corps > .accomp-soir { margin: 0; padding: 0; border: 0; }
.pli-corps > .accomp-meteo > legend, .pli-corps > .accomp-soir > h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pli-corps > .divider { display: none; }
.pli-corps .pdf-lib-open { margin-bottom: var(--space-md); min-height: 44px; }
.voyage-outils { justify-content: flex-end; margin-bottom: var(--space-sm); }
.voyage-outils .btn { min-height: 44px; }
/* Folds inside a card (ritual, « Pour toi »): lighter, the card is the frame. */
.ritual-card .pli, .accomp-card .pli { margin: 10px 0 0; border-style: dashed; background: none; }
.ritual-card .pli-btn, .accomp-card .pli-btn { min-height: 44px; padding-left: 12px; }
.ritual-card .pli-corps, .accomp-card .pli-corps { padding: 0 12px 12px; }
.ritual-court { padding: 12px 14px; }
.ritual-court .ritual-label { margin: 4px 0 4px; }
.ritual-court .ritual-steps { margin-top: 4px; }
.ritual-court .ritual-mood { min-width: 0; flex: 1 1 0; min-height: 48px; padding: 3px 2px; gap: 0; }
.ritual-court .ritual-moods { flex-wrap: nowrap; }
.ritual-court ~ #accomp-box .accomp-card, #plan-box .plan-card { margin-bottom: var(--space-sm); }
#dash-ritual .ritual-card { margin-bottom: var(--space-sm); }
#accomp-box .accomp-card { padding: 12px 14px; }
#accomp-box .accomp-name { margin-top: 6px; }
#plan-box .plan-card { padding: 10px 14px; }
#plan-box .plan-ferme { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; }
#plan-box .plan-ferme h3 { margin: 0; grid-column: 1; grid-row: 1; }
#plan-box .plan-ferme .accomp-mini { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 0.8125rem; }
#plan-box .plan-ferme .btn { grid-column: 2; grid-row: 1; }
/* « Ta leçon du jour »: one line of text and its button, not a whole screen. */
button.today-card.today-card-court { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: var(--space-sm); }
.today-card-court .today-texte { flex: 1; min-width: 0; }
.today-card-court .eyebrow { margin-bottom: 2px; }
.today-card-court .today-title { font-size: 1.0625rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.today-card-court .today-cta { margin: 0; flex: none; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; }
.dash-greet { margin-bottom: 6px; }
.dash-greet .section-title { line-height: 1.15; }
@media (max-width: 600px) { .dash-greet .section-title { font-size: 1.5rem; } }
#accomp-box .accomp-card .pli { margin-top: 8px; }
#accomp-box .accomp-phrase { margin-top: 6px; }
/* Phone bar: « Plus » opens a small panel above the bar. */
.tab-plus-menu { position: absolute; right: 8px; bottom: calc(100% + 8px); min-width: 220px; padding: 6px; display: grid; gap: 2px; background: var(--color-surface-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: 0 8px 24px rgba(38, 21, 47, 0.18); }
.tab-plus-menu[hidden] { display: none; }
.tab-item.tab-plus-item { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 48px; padding: 10px 12px; border-radius: 10px; font-size: 0.9375rem; color: var(--color-text); }
.tab-item.tab-plus-item.active { box-shadow: none; background: var(--color-blush); color: var(--color-primary-strong); }
.tab-item.tab-plus[aria-expanded="true"] { color: var(--color-accent-text); }
/* Sidebar (lot T1): « Plus » opens its list just below, set in a little; nothing covers the page. */
.pc-plus-menu { display: grid; gap: 2px; padding-left: 12px; }
.pc-plus-menu[hidden] { display: none; }
.pc-nav-item.pc-plus[aria-expanded="true"], .pc-nav-item.pc-plus-courant { color: var(--color-accent-text); }
/* Her data could not be read: one clear message, at the top of every member page. */
.member-net { padding: var(--space-md) var(--space-md) 0; }
#app[data-mode="desktop"] .member-net { max-width: 900px; margin: 0 auto; }
.member-net-box { margin: 0; padding: 14px 16px; border: 1px solid var(--color-border); border-left: 3px solid var(--color-primary); border-radius: var(--radius-card); background: var(--color-surface-white); text-align: left; justify-items: start; gap: 6px; }
.member-net-box p { margin: 0; }
.member-net-box .btn { min-height: 44px; }
#header-stardust[hidden] { display: none; }
/* « Plus » open: its panel passes over the questions button. */
.tab-bar:has(.tab-plus-menu:not([hidden])) { z-index: 300; }

/* ── Lot T2 : classes pour les style="" les plus répétés de la console (admin-*.js).
   !important garde la même priorité qu'un style="" : le rendu ne change pas. ── */
.u-fs-13 { font-size: 0.8125rem !important; }
.u-fs-14 { font-size: 0.875rem !important; }
.u-titre-carte { font-size: 1.125rem !important; margin-bottom: 4px !important; }
.u-mb-8 { margin-bottom: 8px !important; }

/* ── Page Astro (astro.html, 30.11.2026) : les couleurs du site d'astrologie (nuit, lavande, or),
   demandées par Uma pour cette partie seulement ; l'en-tête et le pied de page restent ceux d'OVNI. ── */
.astro-zone {
  --astro-nuit: #0e1230; --astro-nuit-profonde: #080a1f; --astro-ardoise: #171c45; --astro-bord: #2e3570;
  --astro-lavande: #b9a7ff; --astro-or: #e3b65b; --astro-or-clair: #f0d293; --astro-texte: #eef0ff; --astro-texte-doux: #a8acd0;
  background: radial-gradient(120% 80% at 50% 0%, var(--astro-ardoise) 0%, var(--astro-nuit) 55%, var(--astro-nuit-profonde) 100%);
  color: var(--astro-texte);
  border-radius: 1.25rem;
  padding: 2rem 1.25rem;
  margin-block: 1.5rem 2.5rem;
}
.astro-zone .eyebrow { color: var(--astro-or); }
.astro-zone h1 { color: var(--astro-texte); }
.astro-zone .landing-lead, .astro-zone .muted { color: var(--astro-texte-doux); }
.astro-zone .btn-primary { background: var(--astro-lavande); color: var(--astro-nuit-profonde); box-shadow: 0 2px 12px rgba(185, 167, 255, 0.3); }
.astro-zone .btn-primary:hover, .astro-zone .btn-primary:active { background: var(--astro-or-clair); box-shadow: 0 4px 16px rgba(227, 182, 91, 0.35); }
.astro-zone .btn-secondary { background: rgba(23, 28, 69, 0.7); color: var(--astro-texte); border-color: var(--astro-bord); }
.astro-zone .btn-secondary:hover { background: var(--astro-ardoise); border-color: var(--astro-lavande); color: var(--astro-lavande); }
.astro-zone a:focus-visible { outline: 2px solid var(--astro-or); outline-offset: 2px; }

/* ── « Mon énergie astro » sur l'accueil et « Mon astro » dans « Moi » (30.11.2026) : mêmes couleurs
   que la page Astro. ── */
.astro-energie {
  --astro-nuit: #0e1230; --astro-nuit-profonde: #080a1f; --astro-ardoise: #171c45; --astro-bord: #2e3570;
  --astro-lavande: #b9a7ff; --astro-or: #e3b65b; --astro-or-clair: #f0d293; --astro-texte: #eef0ff; --astro-texte-doux: #a8acd0;
  background: radial-gradient(120% 80% at 50% 0%, var(--astro-ardoise) 0%, var(--astro-nuit) 55%, var(--astro-nuit-profonde) 100%);
  color: var(--astro-texte);
  border-radius: 1rem;
  padding: 1rem 1.125rem;
  margin-block: 0.75rem;
}
.astro-energie .eyebrow { color: var(--astro-or); }
.astro-energie h3 { color: var(--astro-texte); margin: 4px 0; }
.astro-energie .muted { color: var(--astro-texte-doux); font-size: 0.875rem; }
.astro-energie .btn { min-height: 44px; }
.astro-energie .btn-primary { background: var(--astro-lavande); color: var(--astro-nuit-profonde); box-shadow: 0 2px 12px rgba(185, 167, 255, 0.3); }
.astro-energie .btn-primary:hover, .astro-energie .btn-primary:active { background: var(--astro-or-clair); }
.astro-energie .btn-secondary { background: rgba(23, 28, 69, 0.7); color: var(--astro-texte); border-color: var(--astro-bord); }
.astro-energie .btn-secondary:hover { background: var(--astro-ardoise); border-color: var(--astro-lavande); color: var(--astro-lavande); }
.astro-energie a:focus-visible { outline: 2px solid var(--astro-or); outline-offset: 2px; }
.astro-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm, 8px); margin-top: 10px; }
.astro-accord { display: flex; align-items: flex-start; gap: 8px; min-height: 44px; font-size: 0.875rem; margin-bottom: 8px; cursor: pointer; }
.astro-accord input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }
.astro-msg { font-size: 0.875rem; color: var(--color-text); min-height: 1.25em; margin: 4px 0; }

/* ── Test TDAH (test-tdah.html, 30.11.2026) : avertissement bien visible, questions à cocher
   (reprend .perso-check, .perso-tb-q et .perso-tb-option du test de personnalité), résultat et aide. ── */
.tdah-alerte { margin: 0 0 24px; padding: 16px 20px; border-radius: 16px; border: 2px solid var(--color-plum); background: color-mix(in srgb, var(--color-plum) 7%, var(--color-surface-white)); }
.tdah-alerte > p:first-child { font-size: 1.0625rem; margin: 0 0 8px; }
.tdah-alerte ul { margin: 0; padding-left: 20px; line-height: 1.6; }
.tdah-urgence-texte { margin: 12px 0 0; font-size: 0.9375rem; }
.tdah-consigne { line-height: 1.6; max-width: 64ch; margin: 0; }
.tdah-questions { list-style: none; margin: 8px 0 0; padding: 0; }
.tdah-q { margin-top: 20px; padding: 12px; border-radius: 14px; border: 1px solid transparent; scroll-margin-top: calc(var(--header-height) + 16px); }
.tdah-q legend { line-height: 1.5; }
.tdah-num { color: var(--color-plum); font-weight: 700; }
.tdah-q-manque { border-color: var(--color-danger); }
.tdah-options { display: grid; gap: 6px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.tdah-options .perso-tb-option { margin-top: 0; }
.tdah-erreur { margin-top: 16px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--color-danger); color: var(--color-text); background: color-mix(in srgb, var(--color-danger) 8%, transparent); }
.tdah-erreur p { margin: 0 0 4px; font-weight: 600; }
.tdah-erreur ul { margin: 0; padding-left: 20px; }
.tdah-erreur:focus:not(:focus-visible), .tdah-resultat:focus:not(:focus-visible) { outline: none; }
.tdah-resultat:empty { display: none; }
.tdah-resultat { margin-top: 24px; }
.tdah-carte { padding: 16px 20px; border-radius: 16px; border: 2px solid var(--color-plum); }
.tdah-carte h2, .tdah-aide h2 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); margin: 0 0 8px; }
.tdah-carte p { line-height: 1.6; max-width: 64ch; }
.tdah-score { font-size: 1.125rem; font-weight: 600; }
.tdah-avertissement { font-weight: 700; }
.tdah-aide { margin-top: 28px; }
.tdah-aide ul { padding-left: 20px; line-height: 1.6; }
.tdah-aide a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--color-plum); }
.tdah-urgence { margin: 16px 0; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--color-danger); background: color-mix(in srgb, var(--color-danger) 8%, transparent); }
.tdah-urgence p { margin: 0 0 4px; }
.tdah-pays { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tdah-pays h3 { margin: 8px 0 0; font-size: 1.0625rem; }
.tdah-sources { margin-top: 32px; font-size: 0.8125rem; line-height: 1.5; }

/* Stripe en mode test (01.12.2026) : bandeau visible en haut de la boutique et de la cagnotte. */
.mode-test {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 16px;
  background: #4F2154;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

#classroom-greet .dash-greet,
#classroom-detail .lesson-header {
  --orbite-largeur: clamp(58px, 13vw, 124px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: linear-gradient(115deg, var(--color-surface-white) 38%, var(--color-blush));
  padding: clamp(16px, 3vw, 30px);
  padding-inline-end: calc(var(--orbite-largeur) + 22px);
  overflow-wrap: anywhere;
}
#classroom-greet .dash-greet::after,
#classroom-detail .lesson-header::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0 6px 0 auto;
  width: var(--orbite-largeur);
  background: url("visuels/orbites-nacre.webp") center / contain no-repeat;
}
#classroom-detail .lesson-header::after { transform: rotate(-18deg) scale(.86); }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #classroom-home .today-card { transition: transform 180ms ease-out, box-shadow 180ms ease-out; }
  #classroom-home .today-card:is(:hover, :focus-visible) { transform: translateY(-2px); box-shadow: 0 8px 26px rgb(75 40 77 / .14); }
}
@media (forced-colors: active) {
  #classroom-greet .dash-greet, #classroom-detail .lesson-header { padding-inline-end: 1rem; }
  #classroom-greet .dash-greet::after, #classroom-detail .lesson-header::after { display: none; }
}

/* Lot « apprentissage » (01.12.2026, parcours.js ; éteint) : « Ta prochaine étape », la carte de révision, les pouces. */
.parcours-card, .parcours-revision { margin: 0 0 var(--space-md); padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-white); text-align: left; }
.parcours-nom { margin: 6px 0 4px; font-size: 0.9375rem; }
.parcours-why { margin: 4px 0 8px; font-size: 0.875rem; }
.parcours-prefs { margin-top: 10px; font-size: 0.875rem; }
.parcours-avis { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.parcours-avis .accomp-choice { min-height: 44px; }

/* ═══ Scène 3D « ciel en orbite » (03.12.2026) ═════════════════════
   Le seul bloc de la scène des pages publiques (boutique.html : en haut de
   page, et dans le bandeau « Devenir membre »). Décor seulement : la scène
   est aria-hidden et la page se lit pareil sans elle.
   - Une idée : un petit ciel (une sphère, trois planètes, deux couches
     d'étoiles à des profondeurs différentes), éclairé d'un seul côté
     (en haut à gauche, 34 % 30 %), sphère comme planètes.
   - On n'anime que rotate / translate / scale (compositeur), jamais la
     mise en page. Tout tourne seulement avec .fx (posée par landing-fx.js,
     jamais en « moins d'animations » ni sur un appareil lent) ; arrêt par
     le bouton (.fx-paused) et hors écran (.offscreen).
   - Sans mouvement, c'est une affiche : chaque planète a son angle de
     départ (--start), elles ne sont pas toutes alignées en haut. */
.orbit3d { --star-a: rgba(103, 43, 109, 0.5); --star-b: rgba(178, 120, 30, 0.6); position: absolute; z-index: -1; bottom: -12px; right: 0; width: 320px; aspect-ratio: 1; perspective: 900px; opacity: 0.9; pointer-events: none; overflow: visible; }
/* L'inclinaison vers le pointeur est posée et amortie par landing-fx.js (style.transform). */
.orbit3d-tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
/* Deux couches d'étoiles : la lointaine reste fixe, la proche est dans la scène, en retrait :
   quand la scène s'incline, elles glissent l'une sur l'autre (parallaxe, sans script de plus). */
.orbit3d::before, .orbit3d-tilt::before { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.orbit3d::before { inset: -6%; background:
  radial-gradient(circle at 12% 30%, var(--star-a) 0 1px, transparent 1.6px),
  radial-gradient(circle at 84% 14%, var(--star-a) 0 1px, transparent 1.6px),
  radial-gradient(circle at 90% 62%, var(--star-b) 0 1.2px, transparent 1.8px),
  radial-gradient(circle at 22% 84%, var(--star-a) 0 1px, transparent 1.6px),
  radial-gradient(circle at 58% 6%, var(--star-b) 0 1px, transparent 1.6px),
  radial-gradient(circle at 70% 92%, var(--star-a) 0 1px, transparent 1.6px); }
.orbit3d-tilt::before { inset: 0; transform: translateZ(-160px) scale(1.18); background:
  radial-gradient(circle at 28% 16%, var(--star-b) 0 1.6px, transparent 2.4px),
  radial-gradient(circle at 78% 30%, var(--star-a) 0 1.3px, transparent 2px),
  radial-gradient(circle at 8% 58%, var(--star-b) 0 1.4px, transparent 2.2px),
  radial-gradient(circle at 64% 80%, var(--star-b) 0 1.6px, transparent 2.4px),
  radial-gradient(circle at 40% 96%, var(--star-a) 0 1.3px, transparent 2px); }
/* Une ombre douce sous la sphère : elle pose la scène. */
.orbit3d-tilt::after { content: ''; position: absolute; left: 36%; right: 36%; top: 63%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(43, 37, 32, 0.2), transparent); }
.orbit-ring { position: absolute; inset: var(--inset, 0); transform-style: preserve-3d; transform: rotateZ(var(--lean, 0deg)) rotateX(68deg); }
/* L'arc du fond (le haut de l'anneau couché) est plus pâle que celui de devant. */
.orbit-ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--tone, var(--color-mauve)); border-top-color: color-mix(in srgb, var(--tone, var(--color-mauve)) 35%, transparent); }
.orbit-ring i { position: absolute; inset: 0; transform-style: preserve-3d; rotate: var(--start, 0deg); }
/* La planète est redressée face à l'écran : sa rotation propre annule exactement celle de son orbite
   (tour de l'orbite, couchage à 68°, penchant). On voit une boule, plus un trait. */
.orbit-ring i::after { content: ''; position: absolute; top: -6px; left: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%;
  background: var(--tone, var(--color-mauve));
  background: radial-gradient(circle at 34% 30%, #fff 0 12%, var(--tone, var(--color-mauve)) 50%, color-mix(in srgb, var(--tone, var(--color-mauve)) 55%, #1d1023) 100%);
  box-shadow: 0 0 10px color-mix(in srgb, var(--tone, var(--color-mauve)) 55%, transparent);
  rotate: calc(-1 * var(--start, 0deg));
  transform: rotateX(-68deg) rotateZ(calc(-1 * var(--lean, 0deg))); }
.orbit-ring.r1 { --inset: 4%; --lean: -18deg; --tone: var(--color-mauve); --start: 210deg; --speed: 16s; }
.orbit-ring.r2 { --inset: 18%; --lean: 24deg; --tone: var(--color-primary); --start: 60deg; --speed: 11s; --dir: reverse; }
.orbit-ring.r3 { --inset: 32%; --lean: -52deg; --tone: var(--color-star); --start: 300deg; --speed: 7s; }
.orbit-core { position: absolute; inset: 41%; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff 0%, var(--color-blush) 28%, var(--color-mauve) 72%, var(--color-plum) 100%); box-shadow: 0 0 22px rgba(166, 118, 170, 0.6); }
/* Haut de page : le logo OWA en 3D (04.12.2026, Uma : « le logo en 3D avec le faisceau de lumière à la place de la
   boule »). Rendu sous Blender (tools/blender/logo3d.py) en trois calques de la même caméra, empilés : le faisceau,
   rendu sur noir puis rendu transparent (alpha tiré de sa luminosité : « screen » ne marche pas dans la scène isolée),
   la soucoupe et les lettres, sur fond transparent. Le reflet ne se
   voit que sur les lettres (masqué par leur image) ; les étincelles montent dans la lumière. Sans .fx : une affiche. */
.logo3d { position: relative; aspect-ratio: 1; }
.logo3d img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.logo3d-faisceau { transform-origin: 50% 18%; }
.logo3d-soucoupe { transform-origin: 50% 16%; }
.logo3d-reflet { position: absolute; inset: 0; overflow: hidden; -webkit-mask: url("visuels/logo3d-lettres.webp") center / contain no-repeat; mask: url("visuels/logo3d-lettres.webp") center / contain no-repeat; }
.logo3d-reflet::before { content: ''; position: absolute; top: 58%; bottom: 14%; left: -40%; width: 28%; background: linear-gradient(100deg, transparent, rgb(255 238 248 / .6) 50%, transparent); translate: -120% 0; }
.logo3d-etincelles { position: absolute; left: 32%; right: 32%; top: 24%; bottom: 30%; }
.logo3d-etincelles i { position: absolute; bottom: 0; left: var(--x); width: 4px; height: 100%; opacity: 0; }
.logo3d-etincelles i::after { content: ''; position: absolute; bottom: 0; left: 0; width: 4px; height: 4px; border-radius: 50%; background: #FFF3FA; box-shadow: 0 0 6px 1px rgb(255 205 236 / .85); }
.logo3d-etincelles i:nth-child(1) { --x: 12%; --dx: -6px; --t: 6.5s; --d: 0s; }
.logo3d-etincelles i:nth-child(2) { --x: 30%; --dx: 4px; --t: 5.2s; --d: -2.1s; }
.logo3d-etincelles i:nth-child(3) { --x: 47%; --dx: -3px; --t: 7.4s; --d: -4.6s; }
.logo3d-etincelles i:nth-child(4) { --x: 61%; --dx: 6px; --t: 5.8s; --d: -1.2s; }
.logo3d-etincelles i:nth-child(5) { --x: 76%; --dx: -4px; --t: 6.9s; --d: -3.3s; }
.logo3d-etincelles i:nth-child(6) { --x: 90%; --dx: 5px; --t: 5.5s; --d: -5.4s; }

/* Bandeau sombre « Devenir membre » : la scène au-dessus du titre, étoiles claires, pas d'ombre. */
.pro .band-dark .orbit3d { --star-a: rgba(255, 255, 255, 0.7); --star-b: rgba(246, 200, 110, 0.8); position: static; display: block; width: clamp(150px, 20vw, 210px); margin: 0 auto var(--space-md); opacity: 1; }
.pro .band-dark .orbit3d-tilt::after { display: none; }
.pro .band-dark .orbit-ring.r1 { --tone: var(--color-violet-light); }
.pro .band-dark .orbit-ring.r2 { --tone: var(--color-peach); }

/* Haut de page, grand écran : à côté du titre sans film ; avec un film, le ciel se pose au-dessus du
   coin de la carte vidéo, en partie derrière elle (avant le 03.12.2026, il disparaissait). */
@media (min-width: 980px) {
  .pro .landing-hero:not(.has-film) .hero-orbit { position: relative; inset: auto; z-index: 0; width: min(100%, 420px); margin: 0 auto; }
  .pro .landing-hero.has-film .hero-orbit { position: absolute; z-index: -1; top: -2%; right: 0; bottom: auto; width: min(40%, 460px); opacity: 0.9; }
}
/* Au-delà de 1280 px, il déborde un peu à droite (il reste de la marge : pas de défilement de côté). */
@media (min-width: 1280px) {
  .pro .landing-hero.has-film .hero-orbit { right: -7%; }
  .hero-orbit .orbit-core { box-shadow: 0 0 60px rgba(166, 118, 170, 0.55), 0 0 0 10px rgba(255, 255, 255, 0.35); }
  /* Le halo : un dégradé large, sans flou (un flou coûte à chaque image de la rotation). */
  .hero-orbit::after { content: ''; position: absolute; inset: 6%; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(166, 118, 170, 0.22), rgba(166, 118, 170, 0.08) 45%, transparent 70%); }
}
/* Téléphone et tablette : une version réduite, plus pâle, en haut à droite derrière le titre,
   avec un anneau de moins (avant le 03.12.2026, elle était supprimée). */
@media (max-width: 979px) {
  .pro .landing-hero { overflow-x: clip; }
  .pro .landing-hero .hero-orbit { position: absolute; z-index: -1; top: 4px; right: -12px; bottom: auto; width: clamp(140px, 34vw, 200px); opacity: 0.5; }
  .hero-orbit .orbit-ring.r3 { display: none; }
  .hero-orbit .orbit3d-tilt::after { display: none; }
}

/* 04.12.2026 : sur le ciel de nuit du haut de la boutique, la planète est plus grande et plus lumineuse
   (étoiles claires, halo violet et pêche, pas d'ombre portée sur la nuit). */
.pro .landing-hero .hero-orbit { --star-a: rgba(255, 255, 255, 0.75); --star-b: rgba(246, 200, 110, 0.85); opacity: 1; }
.pro .landing-hero .orbit3d-tilt::after { display: none; }
@media (min-width: 980px) {
  .pro .landing-hero:not(.has-film) .hero-orbit { width: min(100%, 540px); }
  .pro .landing-hero.has-film .hero-orbit { top: -6%; width: min(48%, 560px); opacity: 1; }
  /* Le logo 3D se lit en entier : la carte vidéo descend en bas du haut de page, sous les lettres. */
  .pro .landing-hero.has-film .hero-media { align-self: end; }
}
@media (max-width: 979px) {
  /* Le logo 3D ne se lit pas derrière le titre (04.12.2026) : au téléphone, il passe en tête, centré, en entier. */
  .pro .landing-hero .hero-orbit { position: relative; order: -1; top: auto; right: auto; z-index: 0; width: clamp(200px, 62vw, 280px); margin: -8px auto -18px; opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .fx .orbit-ring i { animation: orbit-turn var(--speed, 16s) linear infinite var(--dir, normal); }
  .fx .orbit-ring i::after { animation: orbit-counter var(--speed, 16s) linear infinite var(--dir, normal); }
  /* La sphère respire lentement : le gros objet bouge moins vite que les petits. */
  .fx .orbit-core { animation: core-float 8s ease-in-out infinite alternate; }
  .fx-paused .orbit-ring i, .fx-paused .orbit-ring i::after, .fx-paused .orbit-core,
  .fx .orbit3d.offscreen .orbit-ring i, .fx .orbit3d.offscreen .orbit-ring i::after, .fx .orbit3d.offscreen .orbit-core { animation-play-state: paused; }
  @keyframes orbit-turn { from { rotate: var(--start, 0deg); } to { rotate: calc(var(--start, 0deg) + 360deg); } }
  @keyframes orbit-counter { from { rotate: calc(-1 * var(--start, 0deg)); } to { rotate: calc(-1 * var(--start, 0deg) - 360deg); } }
  @keyframes core-float { from { translate: 0 -5px; scale: 0.97; } to { translate: 0 5px; scale: 1.03; } }
  /* Le logo 3D : la soucoupe flotte et se balance, le faisceau respire, un reflet passe sur les lettres,
     des étincelles montent. Seulement translate, rotate, scale et opacity. */
  .fx .logo3d-soucoupe { animation: soucoupe-flotte 6s ease-in-out infinite alternate; }
  .fx .logo3d-faisceau { animation: faisceau-respire 4.5s ease-in-out infinite alternate; }
  .fx .logo3d-reflet::before { animation: reflet-passe 7s ease-in-out infinite; }
  .fx .logo3d-etincelles i { animation: etincelle-monte var(--t, 6s) linear infinite var(--d, 0s); }
  .fx-paused .logo3d-soucoupe, .fx-paused .logo3d-faisceau, .fx-paused .logo3d-reflet::before, .fx-paused .logo3d-etincelles i,
  .fx .orbit3d.offscreen .logo3d-soucoupe, .fx .orbit3d.offscreen .logo3d-faisceau, .fx .orbit3d.offscreen .logo3d-reflet::before, .fx .orbit3d.offscreen .logo3d-etincelles i { animation-play-state: paused; }
  @keyframes soucoupe-flotte { from { translate: 0 -1.4%; rotate: -1.5deg; } to { translate: 0 1.4%; rotate: 1.5deg; } }
  @keyframes faisceau-respire { from { opacity: 0.72; scale: 0.985; } to { opacity: 1; scale: 1.015; } }
  @keyframes reflet-passe { 0%, 35% { translate: -120% 0; } 75%, 100% { translate: 560% 0; } }
  @keyframes etincelle-monte { 0% { opacity: 0; translate: 0 0; } 20% { opacity: 0.95; } 100% { opacity: 0; translate: var(--dx, 0px) -88%; } }
}
/* 04.12.2026 : le voyage vers l'écran (bloc « Voyage » en fin de fichier) agrandit la planète pendant le défilement,
   et l'efface tant qu'un lien du haut a le focus au clavier. */
.voyage-on .hero-orbit { will-change: transform, opacity; }
.voyage-on .voyage-scene:has(.landing-hero-text :focus-visible) .hero-orbit { opacity: 0 !important; }
/* ═══ Fin de la scène 3D ═══ */

/* ═══ Effets « lumière » des pages publiques (04.12.2026) ═════════
   Boutique (première page), À propos, Témoignages : des lumières douces qui
   respirent sur les fonds sombres de la marque (la nuit, --color-night), des
   blocs qui apparaissent en fondu avec un léger glissement, des titres qui se
   révèlent, des cartes en verre dépoli au bord fin lumineux, un reflet qui
   suit la souris. Couleurs, polices et textes de la marque, rien d'autre.
   - Sans mouvement (« moins d'animations », appareil lent, pas de script),
     c'est une affiche : les lueurs sont là, immobiles ; tout le texte est
     visible. L'état « caché avant apparition » n'existe que sous .fx et
     .fx-reveal, deux classes posées par landing-fx.js.
   - On n'anime que transform, translate et opacity. Le flou du verre est
     posé une fois, jamais animé, et seulement sur des fonds immobiles :
     les bandeaux qui portent du verre (.quiz-band, .pro .band-dark) gardent
     des lueurs fixes, sinon le flou serait recalculé à chaque image (04.12.2026).
   - Pause : le bouton (.fx-paused) et hors écran (.offscreen, landing-fx.js). */

/* Les hôtes des lumières : leurs lueurs restent derrière le texte (z-index -2 dans leur propre pile). */
.pro .landing-hero, .quiz-band, .pro .band-dark, .about-page .page-head, .temoignages-page .page-head { position: relative; isolation: isolate; }
.quiz-band { overflow: hidden; }
.pro .landing-hero::before, .quiz-band::before, .pro .band-dark::before, .about-page .page-head::before, .temoignages-page .page-head::before,
.pro .landing-hero::after, .quiz-band::after, .pro .band-dark::after, .about-page .page-head::after, .temoignages-page .page-head::after {
  content: ''; position: absolute; z-index: -2; border-radius: 50%; pointer-events: none; }
/* Deux lueurs dans la boîte (jamais au-delà : pas de défilement de côté) : violet en haut à gauche, pêche en bas à droite. */
.pro .landing-hero::before, .quiz-band::before, .pro .band-dark::before, .about-page .page-head::before, .temoignages-page .page-head::before {
  top: 0; left: 2%; width: 56%; height: 100%; background: radial-gradient(closest-side, rgba(166, 118, 170, 0.42), transparent); }
.pro .landing-hero::after, .quiz-band::after, .pro .band-dark::after, .about-page .page-head::after, .temoignages-page .page-head::after {
  bottom: 0; right: 2%; width: 44%; height: 90%; background: radial-gradient(closest-side, rgba(240, 151, 107, 0.24), transparent); }
/* 04.12.2026 (Uma : « l'accueil n'a pas changé ») : le haut de la boutique passe à la nuit, plein écran.
   Le ciel (.hero-nuit, un décor posé dans la page) couvre toute la largeur, passe sous la barre de
   navigation et se fond dans la page en bas. Trois grandes lueurs : violet, pêche, rose. */
.pro .landing-hero { --color-text: var(--color-night-text); --color-text-muted: #D3C8DC; --color-accent-text: var(--color-peach); --color-focus: var(--color-night-text);
  min-height: calc(100svh - var(--header-height)); padding-bottom: clamp(150px, 15vw, 210px); color: var(--color-night-text); }
.pro .hero-nuit { position: absolute; z-index: -3; top: -320px; bottom: 0; left: 0; right: 0; pointer-events: none;
  /* La nuit en « border-image » débordante (outset) : elle couvre toute la largeur de l'écran sans
     créer de défilement de côté (ce débordement n'est que peint, comme une ombre). */
  border-image: linear-gradient(to bottom, #1B0F24 0, var(--color-night) 45%, #2E1A3A calc(100% - 150px), var(--color-bg) 100%) fill 0 / 0 / 0 100vmax; }
/* Un fin grain d'étoiles, fixe. */
.pro .hero-nuit::after { content: ''; position: absolute; inset: 0 0 150px; background:
    radial-gradient(circle at 8% 22%, rgba(242, 235, 227, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 17% 61%, rgba(212, 166, 219, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 29% 38%, rgba(242, 235, 227, 0.45) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 41% 14%, rgba(232, 184, 77, 0.75) 0 1.1px, transparent 1.8px),
    radial-gradient(circle at 52% 72%, rgba(242, 235, 227, 0.5) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 63% 31%, rgba(242, 235, 227, 0.6) 0 1px, transparent 1.6px),
    radial-gradient(circle at 74% 9%, rgba(212, 166, 219, 0.6) 0 0.9px, transparent 1.5px),
    radial-gradient(circle at 86% 47%, rgba(232, 184, 77, 0.7) 0 1px, transparent 1.7px),
    radial-gradient(circle at 94% 19%, rgba(242, 235, 227, 0.55) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 34% 84%, rgba(242, 235, 227, 0.4) 0 0.8px, transparent 1.4px); }
/* Le ciel déborde de la boîte sur les côtés (pleine largeur) : on ne le coupe pas. Remplace le
   « overflow-x: clip » du téléphone de la scène 3D ; la planète y reste dans la boîte (right: 0). */
.pro .landing-hero { overflow-x: visible; }
/* La lueur rose, au milieu de la nuit, derrière la planète. */
.pro .hero-nuit::before { content: ''; position: absolute; top: 18%; left: 38%; width: 52%; height: 70%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(226, 125, 165, 0.34), rgba(226, 125, 165, 0.1) 55%, transparent); }
/* Les deux autres, dans la boîte du haut (rien ne dépasse sur le côté : pas de défilement de côté). */
.pro .landing-hero::before { top: -12%; left: 0; width: 80%; height: 100%; background: radial-gradient(closest-side, rgba(166, 118, 170, 0.7), rgba(103, 43, 109, 0.3) 50%, transparent); }
.pro .landing-hero::after { top: auto; bottom: 4%; right: 0; width: 66%; height: 82%; background: radial-gradient(closest-side, rgba(240, 151, 107, 0.48), rgba(240, 151, 107, 0.14) 50%, transparent); }
.pro .landing-hero h1 { color: #FBF7F2; font-size: clamp(2.6rem, 5.2vw, 4.5rem); line-height: 1.02; letter-spacing: -0.02em; }
.pro .landing-hero h1 em { background: linear-gradient(100deg, #F6B08A 10%, var(--color-violet-light) 90%); -webkit-background-clip: text; background-clip: text; }
.pro .landing-hero .eyebrow { color: var(--color-violet-light); }
.pro .landing-hero .landing-lead { color: rgba(242, 235, 227, 0.86); }
.pro .landing-hero .programme-banner, .pro .landing-hero .mission-banner, .pro .landing-hero .next-event {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); color: var(--color-night-text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.pro .landing-hero .mission-banner.closing { border-color: var(--color-peach); color: var(--color-peach); }
.pro .landing-hero .hero-note, .pro .landing-hero .landing-hero-film .video-title { color: var(--color-night-muted); }
.pro .landing-hero .hero-note::before { background: var(--color-jade-light); box-shadow: 0 0 0 4px rgba(98, 189, 156, 0.2); }
.pro .landing-hero a:not(.btn):not(.next-event) { color: var(--color-peach); }
.pro .landing-hero .motion-toggle { color: rgba(255, 255, 255, 0.72); }
/* Les boutons : le principal plein et lumineux (la lumière de la soucoupe), les autres en verre. */
.shop-page .pro .landing-hero .btn-primary { background: linear-gradient(135deg, #F8BE98, var(--color-peach) 60%, #E5865A); color: var(--color-ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset, 0 10px 34px rgba(240, 151, 107, 0.42), 0 0 60px rgba(240, 151, 107, 0.22); }
.shop-page .pro .landing-hero .btn-secondary { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 24px rgba(0, 0, 0, 0.18); }
.shop-page .pro .landing-hero .btn-secondary:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.55); }
.pro .landing-hero-film .video-facade { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 80px rgba(8, 3, 12, 0.55), 0 0 90px rgba(166, 118, 170, 0.25); }

/* La barre de navigation de la boutique : verre sombre au-dessus de la nuit (le flou existe déjà, .app-header). */
body.shop-page:has(main.pro) { background: var(--color-bg); }
body.shop-page:has(main.pro) .site-header { background: rgba(27, 15, 36, 0.55); border-bottom-color: rgba(255, 255, 255, 0.08); --color-focus: var(--color-night-text); }
body.shop-page:has(main.pro) .site-header.scrolled { background: rgba(27, 15, 36, 0.84); box-shadow: 0 8px 30px rgba(8, 3, 12, 0.3); }
body.shop-page:has(main.pro) .site-header .landing-brand { color: var(--color-night-text); }
/* Le logo clair de la nuit (owa-mark-nuit.svg) ; un navigateur qui ignore « content » garde le logo d'origine. */
body.shop-page:has(main.pro) .site-header .header-logo-img { content: url(owa-mark-nuit.svg); }
body.shop-page:has(main.pro) .site-header .landing-nav a { color: rgba(242, 235, 227, 0.86); }
body.shop-page:has(main.pro) .site-header .landing-nav a:hover { color: #fff; }
body.shop-page:has(main.pro) .site-header .login-menu > summary { color: rgba(242, 235, 227, 0.86); }
body.shop-page:has(main.pro) .site-header #cart-button { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.24); }
body.shop-page:has(main.pro) .site-header .menu-toggle { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
body.shop-page:has(main.pro) .site-header .menu-toggle span, body.shop-page:has(main.pro) .site-header .menu-toggle span::before, body.shop-page:has(main.pro) .site-header .menu-toggle span::after { background: var(--color-night-text); }
body.shop-page:has(main.pro) .site-header .menu-toggle[aria-expanded="true"] span { background: transparent; }
/* Un avis affiché au-dessus du haut de page (paiement annulé, par exemple) reste lisible sur le ciel. */
.pro #shop-notice { position: relative; z-index: 1; }

/* « Devenir membre » : la même nuit, des lueurs plus franches (immobiles : des cartes en verre y sont posées).
   04.12.2026 : les lueurs restent dans la boîte sur les côtés (left: 0, right: 0) ; avec right: -8 %, le
   téléphone (390 px) défilait de 13 px sur le côté. */
.pro .band-dark::before { top: -10%; left: 0; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(166, 118, 170, 0.55), rgba(103, 43, 109, 0.2) 55%, transparent); }
.pro .band-dark::after { bottom: -6%; right: 0; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(240, 151, 107, 0.32), rgba(226, 125, 165, 0.12) 55%, transparent); }
/* La carte de l'offre passe en verre : ses textes passent en clair (couleurs de la nuit). */
.pro .band-dark .offer-card { --color-text: var(--color-night-text); --color-text-muted: #D3C8DC; --color-accent-text: var(--color-peach); --color-success: var(--color-jade-light);
  --color-border: rgba(255, 255, 255, 0.16); --color-border-strong: rgba(255, 255, 255, 0.3); --color-focus: var(--color-night-text); }
.pro .band-dark .offer-card .offer-price { color: var(--color-peach); }
.pro .band-dark .offer-card { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 30px 80px rgba(8, 3, 12, 0.45); }

/* À propos et Témoignages : le haut de page passe à la nuit de la marque, profond. */
.about-page .page-head, .temoignages-page .page-head { --ph: var(--color-night); --color-focus: var(--color-night-text); background: var(--ph); box-shadow: 0 0 0 100vmax var(--ph); border-bottom: 0; color: var(--color-night-text); }
.about-page .page-head h1, .temoignages-page .page-head h1 { color: #fff; }
.about-page .page-head .eyebrow, .temoignages-page .page-head .eyebrow { color: var(--color-violet-light); }
.temoignages-page .page-head p { color: var(--color-night-muted); }
.about-page .page-head .motion-toggle, .temoignages-page .page-head .motion-toggle { color: rgba(255, 255, 255, 0.72); }

/* Verre dépoli sur la nuit : fond à peine clair, bord fin lumineux, reflet du haut. */
.quiz-band-families li { position: relative; border-color: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.pro .band-dark .landing-steps li { position: relative; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.12); border-left: 3px solid var(--color-mauve); border-radius: 14px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .quiz-band-families li, .pro .band-dark .landing-steps li, .pro .band-dark .offer-card { -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); }
}
/* Le reflet : violet doux sur le clair, blanc sur la nuit. */
.temoignages-wall > figure { position: relative; }
.quiz-band-families li, .pro .band-dark .landing-steps li { --fx-shine: rgba(255, 255, 255, 0.14); }

@media (prefers-reduced-motion: no-preference) {
  /* Les lumières respirent, lentement, chacune à son rythme. Pas celles des bandeaux sombres
     (.quiz-band, .pro .band-dark) : des cartes en verre dépoli y sont posées (04.12.2026). */
  .fx .pro .landing-hero::before, .fx .about-page .page-head::before, .fx .temoignages-page .page-head::before { animation: fx-breathe 14s ease-in-out infinite alternate; }
  .fx .pro .landing-hero::after, .fx .about-page .page-head::after, .fx .temoignages-page .page-head::after { animation: fx-breathe 19s ease-in-out -7s infinite alternate-reverse; }
  .fx .pro .hero-nuit::before { animation: fx-breathe 23s ease-in-out -11s infinite alternate; }
  .fx-paused .pro .hero-nuit::before, .fx .pro .hero-nuit.offscreen::before { animation-play-state: paused; }
  .fx-paused .pro .landing-hero::before, .fx-paused .about-page .page-head::before, .fx-paused .temoignages-page .page-head::before,
  .fx-paused .pro .landing-hero::after, .fx-paused .about-page .page-head::after, .fx-paused .temoignages-page .page-head::after,
  .fx .pro .landing-hero.offscreen::before, .fx .about-page .page-head.offscreen::before, .fx .temoignages-page .page-head.offscreen::before,
  .fx .pro .landing-hero.offscreen::after, .fx .about-page .page-head.offscreen::after, .fx .temoignages-page .page-head.offscreen::after { animation-play-state: paused; }
  @keyframes fx-breathe { from { opacity: 0.55; transform: translate3d(-3%, 2%, 0) scale(0.94); } to { opacity: 1; transform: translate3d(3%, -2%, 0) scale(1.05); } }

  /* Apparition au défilement (une fois) ; les titres suivent un peu après, plus lentement. */
  /* 04.12.2026 : 32 px et 0,7 s, pour que l'arrivée se voie. */
  .fx .fx-reveal { opacity: 0; translate: 0 32px; transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--fx-delay, 0s), translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--fx-delay, 0s); }
  .fx .fx-reveal.fx-in { opacity: 1; translate: none; }
  .fx .fx-reveal h1, .fx .fx-reveal h2 { opacity: 0; translate: 0 0.4em; transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s, translate 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s; }
  .fx .fx-reveal.fx-in h1, .fx .fx-reveal.fx-in h2 { opacity: 1; translate: none; }
  /* 04.12.2026 : un bloc qui contient le focus clavier est visible tout de suite, sans fondu
     (sinon le contour du focus resterait invisible). landing-fx.js le marque aussi comme vu. */
  .fx .fx-reveal:focus-within, .fx .fx-reveal:focus-within h1, .fx .fx-reveal:focus-within h2 { opacity: 1; translate: none; transition: none; }

  /* Le reflet qui suit la souris : landing-fx.js le déplace (transform), il s'allume et s'éteint en fondu. */
  .fx .fx-shine { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
  .fx .fx-shine i { position: absolute; left: 0; top: 0; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; background: radial-gradient(closest-side, var(--fx-shine, rgba(166, 118, 170, 0.18)), transparent); opacity: 0; transition: opacity 0.4s ease; }
  .fx .fx-shine-on > .fx-shine i { opacity: 1; }

  /* En pause : tout de suite l'état final, plus de reflet. */
  .fx-paused .fx-reveal, .fx-paused .fx-reveal h1, .fx-paused .fx-reveal h2 { opacity: 1; translate: none; transition: none; }
  .fx-paused .fx-shine { display: none; }
}

@media print {
  .fx-reveal, .fx-reveal h1, .fx-reveal h2 { opacity: 1 !important; translate: none !important; }
  .fx-shine { display: none; }
  .about-page .page-head, .temoignages-page .page-head { background: none; color: inherit; }
  .pro .hero-nuit { display: none; }
  .pro .landing-hero, .pro .landing-hero h1 { color: #000; }
  .about-page .page-head h1, .temoignages-page .page-head h1, .temoignages-page .page-head p { color: inherit; }
}
/* ═══ Fin des effets lumière ═══ */

/* ═══ Connexion de nuit (04.12.2026) ═══════════════════════════════
   L'écran de connexion (#splash d'index.html, pas l'accueil des nouvelles
   ni l'espace membre) prend la nuit de la boutique : deux grandes lueurs,
   des étoiles fixes, le logo sur la nuit, une carte en verre.
   - index.html ne charge pas landing-fx.js : pas de .fx ni de bouton pause.
     Les lueurs respirent donc en CSS seul, sous « no-preference », très
     lentement (16 et 21 s), transform et opacity seulement.
   - Pas de flou d'arrière-plan sur la carte : les lueurs bougent dessous
     (il serait recalculé à chaque image). Un fond sombre à peine clair
     garde les textes lisibles (crème sur nuit, plus de 10:1 ; libellés
     secondaires #D3C8DC, plus de 8:1 ; liens pêche, plus de 6:1).
   - Le bouton « Entrer » garde sa couleur. */
#splash { --color-text: var(--color-night-text); --color-text-muted: #D3C8DC; --color-espresso: #E6DCEC; --color-accent-text: var(--color-peach);
  --color-border: rgba(255, 255, 255, 0.14); --color-border-strong: rgba(255, 255, 255, 0.3); --color-focus: var(--color-night-text);
  position: relative; isolation: isolate; overflow: hidden; color: var(--color-night-text);
  background:
    radial-gradient(circle at 9% 18%, rgba(242, 235, 227, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 21% 64%, rgba(212, 166, 219, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 36% 9%, rgba(232, 184, 77, 0.75) 0 1.1px, transparent 1.8px),
    radial-gradient(circle at 72% 14%, rgba(242, 235, 227, 0.55) 0 0.9px, transparent 1.5px),
    radial-gradient(circle at 84% 52%, rgba(232, 184, 77, 0.7) 0 1px, transparent 1.7px),
    radial-gradient(circle at 93% 82%, rgba(242, 235, 227, 0.5) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 12% 90%, rgba(242, 235, 227, 0.45) 0 0.8px, transparent 1.4px),
    linear-gradient(to bottom, #1B0F24, var(--color-night) 55%, #2E1A3A); }
#splash::before, #splash::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
#splash::before { top: -18%; left: -22%; width: 80vmax; height: 80vmax; max-width: 1100px; max-height: 1100px; background: radial-gradient(closest-side, rgba(166, 118, 170, 0.55), rgba(103, 43, 109, 0.2) 55%, transparent); }
#splash::after { bottom: -24%; right: -20%; width: 70vmax; height: 70vmax; max-width: 980px; max-height: 980px; background: radial-gradient(closest-side, rgba(240, 151, 107, 0.34), rgba(226, 125, 165, 0.14) 55%, transparent); }
#splash .splash-back { color: var(--color-night-muted); }
#splash .splash-back:hover { color: var(--color-peach); }
#splash .splash-logo-img { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 70px rgba(212, 166, 219, 0.45); }
#splash .splash-subtitle { color: var(--color-night-muted); }
#splash .login-card { background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)), rgba(27, 15, 36, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 90px rgba(8, 3, 12, 0.5); }
#splash .input-group input { background: #FBF7F2; color: var(--color-ink); border-color: rgba(255, 255, 255, 0.4); }
#splash .input-group input:focus { border-color: var(--color-peach); box-shadow: 0 0 0 3px rgba(240, 151, 107, 0.35); }
#splash .link-button { color: var(--color-peach); }
#splash .login-notice { color: var(--color-ink); }
#splash .login-notice .btn-secondary { color: var(--color-primary-strong); }
#splash .decouverte-box .btn-secondary { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
@media (prefers-reduced-motion: no-preference) {
  #splash::before { animation: splash-breathe 16s ease-in-out infinite alternate; }
  #splash::after { animation: splash-breathe 21s ease-in-out -8s infinite alternate-reverse; }
  @keyframes splash-breathe { from { opacity: 0.6; transform: translate3d(-3%, 2%, 0) scale(0.94); } to { opacity: 1; transform: translate3d(3%, -2%, 0) scale(1.05); } }
}
/* ═══ Fin de la connexion de nuit ═══ */

/* ═══ Voyage vers l'écran (04.12.2026) ═══════════════════════════════
   Uma : « ça ne ressemble pas à la première page de l'exemple, dans les effets du mouvement des cartes ».
   Le haut de la boutique (scène) reste en place pendant qu'on défile ; landing-fx.js (bloc « Voyage ») fait partir
   le texte, plonger la caméra dans la planète et grandir l'écran de l'espace membre, dont les cartes se posent une à
   une. Sans .voyage-on (pas de script, appareil lent, « moins de mouvement », pause) : rien n'est épinglé, l'écran
   est une image posée sous le haut de page. Pendant le défilement, seuls translate, scale et opacity changent. */
.voyage { position: relative; }
.voyage-scene { position: relative; }
.voyage-ecran { position: relative; z-index: 1; box-sizing: border-box; display: grid; grid-template-columns: 188px minmax(0, 1fr);
  width: min(1120px, 100%); margin: calc(-1 * clamp(32px, 4vw, 64px)) auto clamp(40px, 6vw, 80px); overflow: hidden;
  border-radius: 28px; border: 1px solid rgba(242, 235, 227, 0.14);
  background: linear-gradient(160deg, rgba(52, 31, 66, 0.96), rgba(27, 15, 36, 0.98) 60%);
  box-shadow: 0 50px 120px rgba(27, 15, 36, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 0 90px rgba(212, 166, 219, 0.18);
  color: var(--color-night-text); font-family: var(--font-body); font-size: 0.875rem; line-height: 1.35; text-align: left; user-select: none; }
.voyage-barre { display: flex; flex-direction: column; gap: 4px; padding: 22px 14px; border-right: 1px solid rgba(242, 235, 227, 0.08); background: rgba(27, 15, 36, 0.5); }
.voyage-marque { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; color: #FBF7F2; padding: 0 10px 14px; }
.voyage-lien { padding: 8px 10px; border-radius: 10px; color: #CFC3D9; }
.voyage-lien.voyage-actif { background: rgba(212, 166, 219, 0.16); color: #FBF7F2; }
.voyage-contenu { display: flex; flex-direction: column; gap: 16px; padding: 22px 24px 24px; min-width: 0; min-height: 0; }
.voyage-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.voyage-bonjour { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); color: #FBF7F2; }
.voyage-exemple { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(242, 235, 227, 0.22); font-size: 0.75rem; color: #D3C8DC; }
.voyage-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; flex: 1; min-height: 0; }
.voyage-carte { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)); border: 1px solid rgba(242, 235, 227, 0.1);
  box-shadow: 0 18px 40px rgba(10, 4, 16, 0.35); }
.voyage-carte-large { grid-column: span 2; }
.voyage-titre { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-violet-light); }
.voyage-grand { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.1; color: #FBF7F2; }
.voyage-ligne { color: #F2EBE3; }
.voyage-doux { color: #BFB2CB; font-size: 0.8125rem; }
.voyage-temps { display: flex; align-items: center; gap: 10px; color: #F2EBE3; }
.voyage-temps i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(242, 235, 227, 0.35); flex: none; }
.voyage-temps.voyage-fait i { background: var(--color-peach); border-color: var(--color-peach); box-shadow: 0 0 12px rgba(240, 151, 107, 0.6); }
.voyage-temps.voyage-encours i { border-color: var(--color-violet-light); box-shadow: 0 0 0 3px rgba(212, 166, 219, 0.2); }
.voyage-jauge { display: block; height: 6px; margin-top: 6px; border-radius: 999px; background: rgba(242, 235, 227, 0.1); overflow: hidden; }
.voyage-jauge b { display: block; width: 50%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--color-peach), var(--color-violet-light)); }
.voyage-points { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 4px; }
.voyage-points i { aspect-ratio: 1; border-radius: 50%; background: rgba(242, 235, 227, 0.12); }
.voyage-points i.on { background: var(--color-violet-light); }
.voyage-points i.ici { background: var(--color-peach); box-shadow: 0 0 10px rgba(240, 151, 107, 0.7); }
.voyage-humeurs { display: flex; gap: 8px; }
.voyage-humeurs i { width: 22px; height: 22px; border-radius: 50%; background: rgba(242, 235, 227, 0.12); }
.voyage-humeurs i.on { background: radial-gradient(circle at 35% 35%, #FBF7F2, var(--color-peach)); box-shadow: 0 0 12px rgba(240, 151, 107, 0.6); }
.voyage-avatars { display: flex; }
.voyage-avatars i { width: 32px; height: 32px; margin-right: -8px; border-radius: 50%; border: 2px solid #2A1836;
  background: linear-gradient(135deg, var(--color-violet-light), var(--color-plum)); }
.voyage-avatars i:nth-child(2) { background: linear-gradient(135deg, #F6B08A, #B05A7A); }
.voyage-avatars i:nth-child(3) { background: linear-gradient(135deg, #E8B84D, #A0603A); }
.voyage-avatars i:nth-child(4) { background: linear-gradient(135deg, #9FC5C0, #4B6E8A); }
.voyage-carte-live { background: linear-gradient(160deg, rgba(240, 151, 107, 0.22), rgba(103, 43, 109, 0.28)); }

/* Le mode voyage : la scène reste en place pendant --voyage-distance de défilement. Son haut peut être négatif :
   une scène plus haute que la fenêtre défile d'abord jusqu'à son bas. L'écran est posé au milieu de la partie
   visible ; le script le fait partir du cœur de la planète, tout petit. */
/* La place du voyage : un bloc après la scène (un élément « sticky » ne bouge que dans le contenu de son parent ;
   un padding n'en fait pas partie). */
.voyage.voyage-on::after { content: ''; display: block; height: var(--voyage-distance, 140vh); }
.voyage-on .voyage-scene { position: sticky; top: var(--voyage-haut-scene, 0px); }
.voyage-on .voyage-ecran { position: absolute; z-index: 2; left: 50%; top: var(--voyage-centre-y, 50vh); margin: 0;
  width: min(1120px, 92vw); height: min(700px, calc(100svh - var(--voyage-entete, 0px) - 48px));
  translate: -50% -50%; scale: 0.16; opacity: 0; pointer-events: none; }
.voyage-on .voyage-ecran, .voyage-on .landing-hero-film, .voyage-on .landing-hero-text, .voyage-on .voyage-carte { will-change: transform, opacity; }
.voyage-on .voyage-ecran .voyage-carte { opacity: 0.15; translate: 0 40px; }
/* Au clavier (focus visible, pas un clic), le texte du haut redevient visible dès qu'un de ses liens reçoit le focus. */
.voyage-on .landing-hero-text:has(:focus-visible) { opacity: 1 !important; translate: none !important; pointer-events: auto !important; }
/* … et rien ne le couvre : l'écran, le film et la planète s'effacent tant que le focus y reste. */
.voyage-on .voyage-scene:has(.landing-hero-text :focus-visible) :is(.voyage-ecran, .landing-hero-film) { opacity: 0 !important; }
/* (La planète, elle, a ses deux règles dans le bloc de la scène 3D, seul endroit qui la nomme.) */

/* Téléphone : l'écran devient un téléphone, une seule colonne, sans barre latérale. */
@media (max-width: 720px) {
  .voyage-ecran { grid-template-columns: minmax(0, 1fr); width: min(420px, 100%); border-radius: 34px; margin-top: -24px; }
  .voyage-barre { display: none; }
  .voyage-contenu { padding: 26px 16px 18px; gap: 12px; }
  .voyage-ecran::before { content: ''; position: absolute; top: 9px; left: 50%; width: 84px; height: 6px; margin-left: -42px; border-radius: 999px; background: rgba(242, 235, 227, 0.18); }
  .voyage-grille { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 10px; flex: none; }
  .voyage-carte-large { grid-column: auto; }
  .voyage-carte { padding: 14px 16px; }
  .voyage-on .voyage-ecran { width: min(420px, 92vw); height: min(780px, calc(100svh - var(--voyage-entete, 0px) - 28px)); }
}

@media print {
  .voyage-ecran { display: none; }
  .voyage.voyage-on::after { display: none; }
}
/* ═══ Fin du voyage ═══ */

/* ═══ Style net (04.12.2026) ════════════════════════════════════════
   Uma : « dans ce style » (shopify.com). La manière, pas la copie : grands titres fins et serrés,
   alignés à gauche ; boutons en pilule, plein et contour ; barre du haut transparente sur la nuit ; la page
   faite de panneaux pleine largeur aux coins du haut arrondis, chacun glissant sur le précédent.
   Seulement l'accueil (.home, boutique.html). Tests : tests/style-net.mjs. */

/* La police fine : les mêmes fichiers DM Sans (variable, 100 à 1000), sous un autre nom pour ne rien changer
   aux autres pages, qui déclarent DM Sans de 400 à 700. */
@font-face { font-family: 'OWA Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(fonts/dm-sans-variable-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'OWA Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(fonts/dm-sans-variable-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.shop-page .home { --panneau-rayon: 48px; --panneau-nuit: #160C1C; --panneau-gris: #F1F1F3; padding-bottom: 0; }

/* Les titres : une seule voix, fine et serrée. */
.shop-page .home .landing-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.shop-page .home .landing-hero h1 { font-family: 'OWA Sans', var(--font-body); font-weight: 300; font-size: clamp(2.75rem, 5.4vw, 4.75rem); line-height: 1.02; letter-spacing: -0.03em; max-width: none; }
.shop-page .home .landing-hero h1 em { display: block; font-style: normal; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; padding-right: 0; }
.shop-page .home .landing-lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.45; }
.shop-page .home .sec-head h2, .shop-page .home > section h2:not(:is(article, li, [class*="card"]) h2) { font-family: 'OWA Sans', var(--font-body); font-weight: 330; font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -0.02em; }
.shop-page .home .sec-head { max-width: 780px; }
.shop-page .home .landing-figures strong { font-family: 'OWA Sans', var(--font-body); font-weight: 300; letter-spacing: -0.03em; }
.shop-page .home > section h3 { font-family: 'OWA Sans', var(--font-body); font-weight: 500; letter-spacing: -0.01em; }
body.shop-page:has(main.home) { background: var(--color-night); }
/* Le ciel du haut ne fond plus vers le crème : la page entière est la nuit, les panneaux posés dessus. */
.shop-page .home .hero-nuit { border-image: linear-gradient(to bottom, #1B0F24 0, var(--color-night) 45%, var(--color-night) 100%) fill 0 / 0 / 0 100vmax; }
.shop-page .home .sec-head.center { margin-inline: 0; text-align: left; }
.shop-page .home .eyebrow { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--color-text-muted); }
.shop-page .home :is(.landing-hero, .quiz-band, .band-dark) .eyebrow { color: rgba(255, 255, 255, 0.72); }

/* Les boutons : des pilules, sans dégradé, sans reflet, sans ombre. */
.shop-page .home .btn, body.shop-page:has(main.home) .site-header .btn { border-radius: 999px; font-weight: 550; }
.shop-page .home .btn-lg { padding: 15px 28px; }
.shop-page .home .btn-primary { background: #000; color: #fff; border: 1.5px solid transparent; box-shadow: none; }
.shop-page .home .btn-primary::after { display: none; }
.shop-page .home .btn-secondary { background: transparent; color: inherit; border: 1.5px solid currentColor; box-shadow: none; }
.shop-page .home :is(.landing-hero, .quiz-band, .band-dark) .btn-primary { background: #fff; color: #000; box-shadow: none; }
.shop-page .home :is(.landing-hero, .quiz-band, .band-dark) .btn-secondary { background: transparent; color: #fff; border-color: #fff; box-shadow: none; }
@media (hover: hover) {
  .shop-page .home .btn-primary:hover, .shop-page .home .btn-secondary:hover { transform: none; box-shadow: none; }
  .shop-page .home .btn-primary:hover { background: #2A2A2A; }
  .shop-page .home .btn-secondary:hover { background: rgba(0, 0, 0, 0.06); }
  .shop-page .home :is(.landing-hero, .quiz-band, .band-dark) .btn-primary:hover { background: rgba(255, 255, 255, 0.86); }
  .shop-page .home :is(.landing-hero, .quiz-band, .band-dark) .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }
}

/* La barre du haut : posée sur la nuit sans fond ; quand on défile, un voile sombre la rend lisible. */
body.shop-page:has(main.home) .site-header { background: transparent; border-bottom-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.shop-page:has(main.home) .site-header.scrolled { background: rgba(10, 6, 14, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
body.shop-page:has(main.home) .site-header .btn-secondary { background: #fff; color: #000; border-color: #fff; }

/* Les panneaux : pleine largeur, coins du haut arrondis, chacun glisse de 48 px sur le précédent.
   La largeur du contenu reste celle de la page (1080 px) grâce au rembourrage de côté. */
.shop-page .home > section { position: relative; z-index: 1; margin-inline: calc(50% - 50vw); padding-inline: max(20px, calc(50vw - 50% + 16px)); border-radius: var(--panneau-rayon) var(--panneau-rayon) 0 0; margin-top: calc(-1 * var(--panneau-rayon)); padding-block: calc(clamp(64px, 8vw, 112px) + var(--panneau-rayon)) clamp(64px, 8vw, 112px); max-width: none; background: var(--panneau, #fff); scroll-margin-top: 24px; }
.shop-page .home > section.band { box-shadow: none; clip-path: none; }
.shop-page .home > section.figures-band { border-block: 0; padding-block: calc(clamp(40px, 5vw, 64px) + var(--panneau-rayon)) clamp(48px, 6vw, 80px); }
.shop-page .home > section.quiz-band, .shop-page .home > section.gift-band { border: 0; box-shadow: none; }
.shop-page .home > section.gift-band { padding-inline: max(20px, calc(50vw - 50% + 16px)); }
.shop-page .home > #evenements { --panneau: var(--panneau-gris); }
.shop-page .home > .figures-band { --panneau: #FFFFFF; }
.shop-page .home > .quiz-band { --panneau: var(--panneau-nuit); }
.shop-page .home > #pour-qui { --panneau: var(--panneau-gris); }
.shop-page .home > #uma { --panneau: #FFFFFF; }
.shop-page .home > #programme-section { --panneau: var(--panneau-gris); }
.shop-page .home > #a-bord { --panneau: #FFFFFF; }
.shop-page .home > .gift-band { --panneau: var(--color-blush); }
.shop-page .home > #formations { --panneau: var(--panneau-nuit); }
.shop-page .home > #boutique { --panneau: #FFFFFF; }
.shop-page .home > #videos { --panneau: var(--panneau-gris); }
.shop-page .home > #instagram { --panneau: #FFFFFF; }
.shop-page .home > #blog { --panneau: var(--panneau-gris); }
.shop-page .home > #questions { --panneau: #FFFFFF; }
/* Le pied de page : le dernier panneau, la nuit. */
body.shop-page:has(main.home) .site-footer { --panneau-rayon: 48px; position: relative; z-index: 2; margin-top: calc(-1 * var(--panneau-rayon)); border-radius: var(--panneau-rayon) var(--panneau-rayon) 0 0; padding-top: calc(var(--panneau-rayon) + 24px); }

@media (max-width: 720px) {
  .shop-page .home, body.shop-page:has(main.home) .site-footer { --panneau-rayon: 28px; }
  .shop-page .home .landing-hero { grid-template-columns: 1fr; }
}
@media print {
  .shop-page .home > section { border-radius: 0; margin-top: 0; background: none; padding-block: 24px; }
  body.shop-page:has(main.home) .site-footer { border-radius: 0; margin-top: 0; }
}
/* ── Finitions du style net (04.12.2026) ─────────────────────────────────────────
   Revue à cinq angles (typo, espace, couleur, composants, téléphone), relue et arbitrée.
   Un seul système sous les grands titres : cartes à 20 px avec un filet neutre, l'encre comme accent,
   des étiquettes en DM Sans et en casse normale, et un seul bord gauche. Seulement l'accueil (.home).
   Rien ici ne touche la scène 3D ni le voyage (positions, tailles, transformations). */
.shop-page .home { --carte-rayon: 20px; --filet: rgba(0, 0, 0, 0.1); --filet-fort: rgba(0, 0, 0, 0.28); }

/* 1. Les panneaux se touchent (la marge du bas de .gift-band laissait 16 px de nuit), avec autant de vide en haut qu'en bas. */
.shop-page .home > section { margin-bottom: 0; padding-block: calc(clamp(48px, 6vw, 80px) + var(--panneau-rayon)); }

/* 2. L'échelle des titres : le h2 descend à 56 px, le h1 (76 px) domine. */
.shop-page .home .sec-head h2, .shop-page .home > section h2:not(:is(article, li, [class*="card"]) h2) { font-size: clamp(2.125rem, 4vw, 3.5rem); line-height: 1.06; text-wrap: balance; }
.shop-page .home .landing-hero h1 { text-wrap: balance; }
@media (max-width: 420px) { .shop-page .home .landing-hero h1 { font-size: clamp(2.375rem, 10.8vw, 2.75rem); } }
.shop-page .home :is(.sec-head, .about-text, .gift-band) h2 { margin: 8px 0 20px; }
.shop-page .home .sec-head p { max-width: 60ch; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.55; }

/* 3. Les sous-titres de bloc : un petit titre à gauche, suivi d'un filet. Plus de capitales espacées. */
.shop-page .home .sub-head { font-family: 'OWA Sans', var(--font-body); font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; text-transform: none; color: var(--color-text); justify-content: flex-start; text-align: left; margin: clamp(48px, 6vw, 72px) 0 28px; }
.shop-page .home .sub-head::before { display: none; }
.shop-page .home .sub-head::after { background: var(--filet); }
.shop-page .home .parcours-3mois .sub-head { margin-top: 0; }

/* 4. Les étiquettes : la voix de l'eyebrow (DM Sans, casse normale). */
.shop-page .home :is(.landing-day-when, .landing-week-head span, .programme-id, .parcours-state, .blog-card-kind, .countdown-unit span) { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 500; }
.shop-page .home :is(.landing-day-when, .landing-week-head span, .programme-id) { font-size: 0.875rem; color: var(--color-text-muted); }
.shop-page .home .countdown-unit span { font-size: 0.75rem; }
.shop-page .home .landing-week li::marker { font-family: var(--font-body); font-size: 0.8125rem; color: var(--color-text-muted); font-variant-numeric: tabular-nums; }

/* 5. Une seule pastille : gris clair, encre, casse normale. Le contour vert « 100 % naturel » garde son sens. */
.shop-page .home :is(.aboard-levels li, .parcours-state, .blog-card-kind) { padding: 4px 12px; border-radius: 999px; font-size: 0.8125rem; line-height: 1.4; background: var(--panneau-gris); color: var(--color-text); border: 0; box-shadow: none; font-weight: 500; }
.shop-page .home .blog-card-kind { background: #fff; }
.shop-page .home .product-natural { padding: 4px 12px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; }

/* 6. Une seule famille de cartes claires : rayon 20 px, filet de 1 px, fond blanc, sans ombre ni barre de couleur. */
.shop-page .home :is(.fit-list li, .aboard-card, .landing-week, .product-card, .programme) { border: 1px solid var(--filet); border-radius: var(--carte-rayon); box-shadow: none; background: #fff; background-image: none; }
.shop-page .home .parcours-step { border-radius: 14px; box-shadow: none; background: #fff; border: 1px solid var(--filet); }
.shop-page .home .parcours-step.soon { border-style: solid; }
.shop-page .home .parcours-step.now { border-color: var(--color-text); }
.shop-page .home .product-image { background-color: #E9E8EC; }
@media (hover: hover) {
  .shop-page .home :is(.fit-list li, .aboard-card, .product-card):is(:hover, :focus-within) { transform: none; box-shadow: none; border-color: var(--filet-fort); }
  .shop-page .home .product-card:hover .product-image { transform: none; }
  .shop-page .home .blog-card:hover .product-title { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
}

/* 7. Les titres de cartes : OWA Sans 500, sans mot coupé au milieu (la page est en lang="fr"). */
.shop-page .home :is(.fit-list strong, .landing-day h4, .landing-week-head h4, .aboard-card h3, .landing-steps strong, .product-title, .parcours-body strong) { font-family: 'OWA Sans', var(--font-body); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.shop-page .home :is(.fit-list strong, .aboard-card h3, .landing-day h4, .landing-week-head h4) { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); }
.shop-page .home .parcours-body strong { font-size: 1.125rem; }
.shop-page .home .product-title { font-size: 1.1875rem; overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 720px) { .shop-page .home .product-title { font-size: 1.0625rem; } }

/* 8. L'encre remplace le terracotta dans les petits éléments. */
.shop-page .home .landing-day li::before { background: var(--color-text); color: #fff; font-family: 'OWA Sans', var(--font-body); font-weight: 500; box-shadow: 0 0 0 6px var(--panneau, #F1F1F3); }
.shop-page .home .parcours-num { font-family: 'OWA Sans', var(--font-body); font-weight: 500; background: var(--panneau-gris); color: var(--color-text); }
.shop-page .home .parcours-step.now .parcours-num { background: var(--color-text); color: #fff; }
.shop-page .home .parcours-step.now .parcours-state { background: var(--color-text); color: #fff; }
.shop-page .home .blog-card-play { background: var(--panneau-nuit); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5); }
.shop-page .home .about-follow a { color: var(--color-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* 9. Les chiffres dans la voix des titres : prix, compte à rebours, familles du test. */
.shop-page .home :is(.product-price, .countdown-unit strong) { font-family: 'OWA Sans', var(--font-body); letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; }
.shop-page .home .product-price { font-size: 1.25rem; font-weight: 500; color: var(--color-text); }
.shop-page .home .countdown-unit strong { font-weight: 300; }
.shop-page .home .band-dark .offer-card .offer-price { font-family: 'OWA Sans', var(--font-body); font-weight: 300; font-size: clamp(2.5rem, 4vw, 3.25rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; color: #fff; }
.shop-page .home .band-dark .offer-card .offer-price.offer-soon { font-size: 1.5rem; font-weight: 400; }
.shop-page .home .quiz-band-families strong { font-family: 'OWA Sans', var(--font-body); font-weight: 500; font-size: 1.125rem; letter-spacing: -0.01em; }

/* 10. Les cartes sur la nuit : le même rayon, plus de barre mauve. */
.shop-page .home .quiz-band-families li { border-radius: var(--carte-rayon); }
.shop-page .home .band-dark .landing-steps li { border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--carte-rayon); padding: 18px 20px; }
.shop-page .home .countdown-unit { border-radius: 14px; }

/* 11. Un seul bord gauche, celui des titres. */
.shop-page .home > #uma .about { padding-block: 0; margin: 0; max-width: none; }
.shop-page .home #uma .about-text { max-width: 780px; }
.shop-page .home #questions .landing-faq { max-width: 880px; margin-inline: 0; }
.shop-page .home .faq-cta { text-align: left; }
.shop-page .home .band-dark :is(.offer-card, .landing-steps) { max-width: none; margin-inline: 0; }
.shop-page .home .offer-care { text-align: left; max-width: 72ch; margin: 20px 0 0; font-size: 0.875rem; line-height: 1.55; opacity: 1; color: rgba(255, 255, 255, 0.76); }
.shop-page .home .fit-cta { justify-content: flex-start; margin-top: 32px; }
.shop-page .home .fit-not { text-align: left; max-width: 62ch; margin: 16px 0 0; }
.shop-page .home .sec-head.row { max-width: none; }
.shop-page .home .sec-head.row > div { flex: 1 1 520px; max-width: 780px; }
.shop-page .home > section.gift-band { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 32px; }
.shop-page .home > section.gift-band > div { flex: none; max-width: 780px; }
/* La journée type se lit de gauche à droite : pastille au bord gauche, filet jusqu'à la pastille suivante. */
@media (min-width: 861px) {
  .shop-page .home .landing-day li { text-align: left; padding: 64px 24px 0 0; }
  .shop-page .home .landing-day li::before { left: 0; translate: 0 0; }
  .shop-page .home .landing-day li::after { left: 21px; width: 100%; }
}
/* Les chiffres : alignés à gauche, un filet au-dessus au lieu des séparateurs verticaux. */
.shop-page .home .landing-figures { text-align: left; gap: 28px clamp(16px, 3vw, 40px); padding: 0; }
.shop-page .home .landing-figures li { justify-items: start; padding: 20px 0 0; border-top: 1px solid var(--filet); }
.shop-page .home .landing-figures li + li { border-left: 0; }
.shop-page .home .landing-figures strong { text-align: left; }
.shop-page .home .landing-figures span { font-size: 0.9375rem; letter-spacing: 0; line-height: 1.4; text-wrap: balance; }

/* 12. Le blog : 3 colonnes au bureau (plus de 4e colonne vide), 1 au téléphone. */
.shop-page .home #shop-articles { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 720px) { .shop-page .home #shop-articles { grid-template-columns: 1fr; } }

/* 13. Les paragraphes : longueur de ligne et taille confortables. */
.shop-page .home :is(.parcours-body p, .parcours-note) { font-size: 0.9375rem; line-height: 1.55; max-width: 72ch; }
.shop-page .home .landing-day p { line-height: 1.55; }

/* 14. La signature d'Uma : la chute de la section, dans la voix des titres. */
.shop-page .home .about-sign { font-family: 'OWA Sans', var(--font-body); font-style: normal; font-weight: 330; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; letter-spacing: -0.015em; color: var(--color-text); margin: 24px 0 10px; text-wrap: balance; }

/* 15. Les accordéons : FAQ et programme complet, une seule manière (signe + à l'encre, ouvert en noir). */
.shop-page .home .landing-faq details { border-bottom-color: var(--filet-fort); }
.shop-page .home #questions .landing-faq details:first-of-type { border-top: 1px solid var(--filet-fort); }
.shop-page .home .landing-faq summary { font-family: 'OWA Sans', var(--font-body); font-weight: 500; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.35; padding-block: 20px; }
.shop-page .home .landing-faq summary::after { color: var(--color-text); border-color: var(--filet-fort); width: 32px; height: 32px; }
.shop-page .home .landing-faq details[open] summary::after { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.shop-page .home .programme > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--color-text); font-weight: 500; }
.shop-page .home .programme > summary::-webkit-details-marker { display: none; }
.shop-page .home .programme > summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-content: center; border: 1px solid var(--filet-fort); font-weight: 400; line-height: 1; }
.shop-page .home .programme[open] > summary::after { content: '−'; background: var(--color-text); color: #fff; border-color: var(--color-text); }
@media (hover: hover) {
  .shop-page .home .landing-faq summary:hover, .shop-page .home .programme > summary:hover { color: var(--color-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
}

/* 16. Le haut de page : une action principale, le reste en texte. Les liens se voient sans la couleur. */
.shop-page .home .landing-cta .btn-secondary + .btn-secondary { border-color: transparent; padding-inline: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.shop-page .home .landing-hero .programme-banner, .shop-page .home .landing-hero .mission-banner { background: none; border: 0; box-shadow: none; padding: 0; font-size: 0.9375rem; font-weight: 500; color: rgba(255, 255, 255, 0.86); }
.shop-page .home .landing-hero .programme-banner { margin: 16px 0 12px; }
.shop-page .home .landing-hero .mission-banner { margin-top: 18px; }
.shop-page .home .landing-hero .mission-banner.closing { color: var(--color-peach); }
.shop-page .home .landing-hero .hero-gift { color: rgba(255, 255, 255, 0.72); }
.shop-page .home .landing-hero .hero-gift a:not(.btn) { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.shop-page .home .fit-cta .btn-ghost { border: 1.5px solid currentColor; color: var(--color-text); padding: 14px 24px; }
@media (hover: hover) { .shop-page .home .fit-cta .btn-ghost:hover { background: rgba(0, 0, 0, 0.06); color: var(--color-text); } }

/* 17. La barre du haut, une fois la page défilée : la nuit, pas un gris posé sur le blanc. */
body.shop-page:has(main.home) .site-header.scrolled { background: rgba(22, 12, 28, 0.94); }
/* 18. Les lueurs de la nuit (offre, test) restent dans leur panneau au lieu de baver sur le panneau d'avant. */
.shop-page .home > section:is(.band-dark, .quiz-band) { overflow: clip; }
/* 19. La barre « Devenir membre » du bas (téléphone) : la même pilule noire, sans dégradé ni reflet. */
body.shop-page:has(main.home) .landing-sticky .btn-primary { background: #000; color: #fff; border-radius: 999px; box-shadow: none; }
body.shop-page:has(main.home) .landing-sticky .btn-primary::after { display: none; }
/* 20. Seconde revue (04.12.2026) : les derniers écarts au système. */
/* Les citations d'Uma : plus de filet mauve, le texte seul, un peu plus grand. */
.shop-page .home .about-quotes li { border-left: 0; padding-left: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--color-text); }
@media (hover: hover) { .shop-page .home .about-quotes li:hover { background: none; } }
/* Le titre du haut, au téléphone : les espaces entre les mots se voient encore. */
@media (max-width: 720px) { .shop-page .home .landing-hero h1 { letter-spacing: -0.015em; } }
/* Le lien TDAH, au téléphone aussi, part du bord gauche comme le texte. */
.shop-page .home .landing-cta .btn-secondary + .btn-secondary { justify-content: flex-start; text-align: left; }
/* Le parcours en 3 mois : un cadre de moins (les étapes ont déjà le leur). */
.shop-page .home .parcours-3mois { border: 0; background: none; padding: 0; }
/* L'offre : les coches en blanc, dans la palette de la nuit. */
.shop-page .home .band-dark .offer-list li::before { color: #fff; }
/* Les questions : le même bord droit que les cartes. */
.shop-page .home #questions .landing-faq { max-width: none; }
/* ═══ Fin du style net ═══ */
