@charset "UTF-8";
/*
=========================================================
======= Discovery Front Style — META (Objectif Métamorphose × Alternatif Bien-Être)
=========================================================
DA : encre graphite sur blanc, sections pastel arrondies, boutons pilule.
Base structurelle reprise du style REL (mêmes sélecteurs de modules Discovery).
Anciens noms de variables REL conservés en alias.
=========================================================
*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Dancing+Script:wght@600&display=swap");
/* ====== Tokens ====== */
:root {
  --ink: #222326;
  --ink-deep: #1f2025;
  --ink-soft: #55575b;
  --muted: #6b6d71;
  --subtle: #a9abb2;
  --on-ink: #ebf0f8;
  --surface: #FFFFFF;
  --surface-soft: #f6f8fb;
  --surface-tint: #ebf0f8;
  --line: #e3e7ee;
  --line-strong: #dfe3ea;
  --line-input: #c9ced8;
  --accent: #F4C38E;
  --sky: #d2e5ff;
  --cream: #fff9ee;
  --blush: #fbe0ea;
  --success: #2e8b3e;
  --success-deep: #1f5f2a;
  --success-bg: #dff3e2;
  --success-bg-soft: #e6f4e8;
  --danger: #c9372c;
  --danger-bg: #fde3e0;
  --warning-bg: #fff1c2;
  --grad-sky: linear-gradient(180deg, #d2e5ff, #fff9ee);
  --grad-dawn: linear-gradient(135deg, #d2e5ff, #fbe0ea);
  --grad-blush: linear-gradient(160deg, #fbecf2 0%, #fdf3e8 100%);
  --grad-mist: linear-gradient(160deg, #e7eefb 0%, #f3edf7 100%);
  --grad-peach: linear-gradient(135deg, #d2e5ff, #fff3e6);
  --state-shutdown: #8DB6D3;
  --state-flight: #F3D27A;
  --state-fight: #F0AE9F;
  --state-safe: #9FCC98;
  --week-1: #F0AE9F;
  --week-2: #F4C38E;
  --week-3: #F3D27A;
  --week-4: #EAD873;
  --week-5: #D3D97A;
  --week-6: #B8D488;
  --week-7: #9FCC98;
  --week-8: #8CC5AA;
  --week-9: #86BFC0;
  --week-10: #8DB6D3;
  --week-11: #9AA9DC;
  --week-12: #E9A3C2;
  --font-color: var(--ink);
  --font-muted: var(--ink-soft);
  --font-white: #FFFFFF;
  --body-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --title-font: var(--body-font);
  --script-font: "Dancing Script", cursive;
  --radius-xs: 10px;
  --radius-s: 14px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  --shadow-xs: 0 2px 10px rgba(31, 32, 37, .12);
  --shadow-s: 0 8px 32px -8px rgba(31, 32, 37, .10);
  --shadow-m: 0 16px 48px -16px rgba(31, 32, 37, .12);
  --shadow-l: 0 18px 48px -12px rgba(31, 32, 37, .22);
  --section-y: clamp(56px, 7vw, 88px);
  --band-inset: 12px;
  --card-gap: .75rem;
  /* Alias REL */
  --seal: var(--ink);
  --seal-dark: var(--ink-deep);
  --slate: var(--ink-soft);
  --paper: var(--surface-soft);
  --paper-deep: var(--line);
  --rule: var(--line);
  --surface-alt: var(--surface-soft);
  --empty-bg: var(--surface-soft);
  --empty-rule: var(--line-input);
  --primary-color: var(--ink);
  --secondary-color: var(--surface-tint);
  --tertiary-color: var(--ink-soft);
  --light-grey: var(--surface-soft);
  --footer-menu-background: var(--surface);
  --footer-info-background: var(--surface);
}

/* ====== Global ====== */
html {
  font-size: 18px;
  scroll-behavior: smooth;
}

html,
body {
  font-family: var(--body-font);
  color: var(--font-color);
  background: var(--surface);
  margin: 0;
  padding: 0;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--sky);
  color: var(--ink);
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink-soft);
}

strong,
b {
  font-weight: 600;
  color: var(--ink);
}

ul,
ol {
  padding-left: 1.3rem;
}

li {
  margin-bottom: 0.35rem;
}

li::marker {
  color: var(--subtle);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  opacity: 1;
  margin: 2rem 0;
}

img {
  max-width: 100%;
}

summary::-webkit-details-marker {
  display: none;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}
/* ====== Typographie ====== */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--title-font);
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.02;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.65rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.display-title {
  font-size: clamp(2.45rem, 6vw, 4rem);
  line-height: 1;
}

.lead-text {
  font-size: clamp(0.95rem, 1.9vw, 1.1rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 60ch;
}

.lead-text strong,
.lead-text b {
  color: var(--ink);
}

.text-soft {
  color: var(--ink-soft);
}

.text-muted-soft {
  color: var(--muted);
}

.small-print {
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted);
}

.brand-script {
  font-family: var(--script-font);
  font-weight: 600;
  font-size: 1.14em;
  letter-spacing: 0;
  line-height: 1;
}

.measure {
  max-width: 68ch;
}

blockquote {
  margin: 1.5rem 0;
  padding: 0;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--ink);
}

blockquote p:last-child {
  margin-bottom: 0;
}

a,
button,
.cta,
.step-img img,
.author-img img,
.cat-img img {
  transition: all 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.cta:focus-visible,
.question-title:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* ====== Spinner ====== */
.discovery-loader-spinner {
  border: 3px solid var(--line) !important;
  border-top: 3px solid var(--ink) !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

.spinner-border {
  color: var(--ink-soft);
}

/* ====== Boutons ====== */
.cta,
.cta-button,
.btn-order-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 50px;
  margin: 0;
  padding: 0.65rem 1.35rem;
  background: var(--ink-deep);
  color: var(--on-ink);
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  border: 1px solid var(--ink-deep);
  border-radius: var(--radius-pill);
  box-shadow: none;
  cursor: pointer;
}

.cta:hover,
.cta-button:hover,
.btn-order-page-button:hover {
  background: #3a3c42;
  border-color: #3a3c42;
  color: #FFFFFF;
  text-decoration: none;
}

.cta:active,
.cta-button:active {
  transform: translateY(1px);
}

.cta .bi,
.cta-button .bi {
  font-size: 1.05em;
  line-height: 1;
}

.cta.btn,
.btn.cta,
.cta-button.btn,
.btn-order-page-button.btn {
  --bs-btn-color: var(--on-ink);
  --bs-btn-bg: var(--ink-deep);
  --bs-btn-border-color: var(--ink-deep);
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: #3a3c42;
  --bs-btn-hover-border-color: #3a3c42;
  --bs-btn-active-color: #FFFFFF;
  --bs-btn-active-bg: var(--ink);
  --bs-btn-active-border-color: var(--ink);
  --bs-btn-padding-y: .65rem;
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-font-size: .9rem;
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: var(--radius-pill);
}

.cta-lg {
  min-height: 56px;
  padding: 0.8rem 1.75rem;
  font-size: 0.95rem;
}

.cta-sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.cta-block {
  display: flex;
  width: 100%;
}

.cta-light {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-input);
}

.cta-light:hover {
  background: var(--surface-soft);
  border-color: var(--ink);
  color: var(--ink);
}

.cta-light.btn {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: var(--surface);
  --bs-btn-border-color: var(--line-input);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--surface-soft);
  --bs-btn-hover-border-color: var(--ink);
}

.cta-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}

.cta-ghost:hover {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border-color: transparent;
}

.on-ink .cta,
.cta-inverse {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--surface);
}

.on-ink .cta:hover,
.cta-inverse:hover {
  background: var(--surface-tint);
  border-color: var(--surface-tint);
  color: var(--ink);
}

.cta.is-disabled,
.cta[aria-disabled=true],
.cta:disabled {
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line-input);
  cursor: not-allowed;
  pointer-events: none;
}

.text-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: var(--ink-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

/* ====== Badges, chips, pastilles ====== */
.eyebrow {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
  background: var(--surface);
  color: var(--muted);
  border-radius: var(--radius-pill);
}

.tag-dark {
  background: var(--ink);
  color: #FFFFFF;
}

.tag-success {
  background: var(--success-bg-soft);
  color: var(--success-deep);
}

.tag-accent {
  background: var(--accent);
  color: var(--ink);
}

.tag-outline {
  background: transparent;
  color: var(--ink-soft);
  box-shadow: inset 0 0 0 1px var(--line-input);
}

.info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 600;
  border-radius: var(--radius-s);
}

.info-chip .bi {
  font-size: 0.95rem;
  color: var(--ink);
}

.icon-dot {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
}

.icon-dot-dark {
  background: var(--ink-deep);
  color: var(--on-ink);
}

.icon-dot-soft {
  background: var(--surface-tint);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(201, 55, 44, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(201, 55, 44, 0);
  }
}
.state-chip {
  display: block;
  padding: 0.85rem;
  background: var(--surface);
  border-top: 5px solid var(--line);
  border-radius: var(--radius-m);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink);
}

.state-shutdown {
  border-top-color: var(--state-shutdown);
}

.state-flight {
  border-top-color: var(--state-flight);
}

.state-fight {
  border-top-color: var(--state-fight);
}

.state-safe {
  border-top-color: var(--state-safe);
}

/* ====== Encarts ====== */
.note-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-m);
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.note-box strong,
.note-box b {
  color: var(--ink);
}

.advantage-box {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  background: var(--success-bg);
  border-radius: var(--radius-m);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.advantage-box .icon-dot {
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
  color: var(--success);
}

.advantage-box p:last-child,
.note-box p:last-child {
  margin-bottom: 0;
}

.warning-box {
  padding: 0.8rem 1rem;
  background: var(--warning-bg);
  border-radius: var(--radius-m);
  font-size: 0.8rem;
  color: var(--ink);
}

.social-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.social-proof strong,
.social-proof b {
  color: var(--ink);
}

.avatar-stack {
  display: inline-flex;
  flex: none;
}

.avatar-stack > span,
.avatar-stack > img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  margin-left: -8px;
  object-fit: cover;
  background: var(--week-12);
}

.avatar-stack > :first-child {
  margin-left: 0;
}

.avatar-stack > :nth-child(2) {
  background: var(--week-2);
}

.avatar-stack > :nth-child(3) {
  background: var(--week-6);
}

.avatar-stack > :nth-child(4) {
  background: var(--week-10);
}

.avatar-stack > :nth-child(5) {
  background: var(--week-11);
}

.avatar-initial {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ====== Sections ====== */
.section {
  padding: var(--section-y) 0;
}

.section-tight {
  padding: clamp(40px, 5vw, 64px) 0;
}

.section-band {
  margin: 0 var(--band-inset);
  padding: clamp(48px, 6vw, 80px) 0;
  border-radius: var(--radius-xl);
  background: var(--surface-soft);
  overflow: hidden;
}

.section-band + .section-band {
  margin-top: var(--band-inset);
}

.band-sky {
  background: var(--grad-sky);
}

.band-dawn {
  background: var(--grad-dawn);
}

.band-blush {
  background: var(--grad-blush);
}

.band-mist {
  background: var(--grad-mist);
}

.band-peach {
  background: var(--grad-peach);
}

.band-tint {
  background: var(--surface-tint);
}

.band-ink {
  background: var(--ink-deep);
  color: var(--on-ink);
}

.band-ink h1,
.band-ink h2,
.band-ink h3,
.band-ink strong {
  color: #FFFFFF;
}

.band-ink .lead-text,
.band-ink .text-soft {
  color: var(--subtle);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0;
  max-width: 24ch;
}

.section-head .lead-text {
  margin: 0;
}

.section-head.is-centered {
  align-items: center;
  text-align: center;
}

/* ====== Cartes ====== */
.panel {
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: clamp(1.25rem, 3vw, 1.8rem);
  box-shadow: var(--shadow-m);
}

.panel-flat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
}

.panel-soft {
  background: var(--surface-tint);
  border-radius: var(--radius-l);
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tile-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
  padding: 0.45rem 0.45rem 1.2rem;
  background: var(--surface-tint);
  color: var(--ink);
  border-radius: var(--radius-l);
  text-decoration: none;
}

a.tile-card:hover {
  color: var(--ink);
  box-shadow: var(--shadow-s);
  transform: translateY(-2px);
}

.tile-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16/9;
  border-radius: var(--radius-m);
  background: var(--grad-dawn);
  overflow: hidden;
  font-size: 2rem;
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0 0.55rem;
}

.tile-body h3 {
  margin: 0;
  font-size: 1.2rem;
}

.tile-body p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.tile-body .text-link {
  margin-top: auto;
  padding-top: 0.25rem;
  font-size: 0.83rem;
}

/* ====== Vignettes vidéo / contenus datés ====== */
.media-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.45rem 0.45rem 1rem;
  background: var(--surface-tint);
  border-radius: var(--radius-m);
  color: var(--ink);
}

a.media-card:hover {
  color: var(--ink);
  box-shadow: var(--shadow-s);
}

.media-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-s);
  background: var(--grad-dawn);
  overflow: hidden;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-play {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.2rem;
  box-shadow: var(--shadow-xs);
}

.media-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  pointer-events: none;
}

.media-lock .tag {
  background: var(--surface);
  color: var(--ink);
}

.media-meta {
  padding: 0 0.4rem;
  font-size: 0.7rem;
  color: var(--muted);
}

.media-title {
  margin: 0;
  padding: 0 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.is-locked .media-thumb img {
  filter: blur(8px) saturate(0.8);
  transform: scale(1.08);
}

.is-locked .media-play {
  display: none;
}

.is-locked .media-title {
  color: var(--ink-soft);
}

.media-lock {
  display: none;
}

.is-locked .media-lock {
  display: flex;
}

.schedule-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
  border-top: 1px solid rgba(31, 32, 37, 0.08);
}

.schedule-row {
  display: grid;
  grid-template-columns: 80px 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(31, 32, 37, 0.08);
}

.schedule-date {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink);
}

.schedule-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
}

.schedule-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.schedule-kicker {
  font-size: 0.72rem;
  color: var(--muted);
}

.schedule-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.schedule-row.is-locked .schedule-title {
  color: var(--ink-soft);
}

.schedule-row.is-locked .schedule-icon {
  color: var(--muted);
}

a.schedule-row:hover .schedule-icon {
  background: var(--ink-deep);
  color: var(--on-ink);
}

/* ====== Encart programme ====== */
.program-promo {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--ink-deep);
  border-radius: var(--radius-xl);
  color: var(--on-ink);
}

.program-promo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.program-promo h2 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}

.program-promo p {
  margin: 0;
  color: var(--subtle);
}

.program-promo .eyebrow-pill {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
}

.program-promo .program-promo-list li {
  color: var(--on-ink);
}

.program-promo .program-promo-list li::before {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
}

@media screen and (max-width: 767px) {
  .program-promo {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* ====== Illustration carnet ====== */
.sheet-mock {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1rem 1.2rem;
  background: var(--surface);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-m);
  transform: rotate(-3deg);
}

.sheet-mock-bar {
  display: block;
  width: 62%;
  height: 7px;
  margin-bottom: 0.35rem;
  border-radius: 2px;
  background: var(--ink);
}

.sheet-mock-label {
  margin: 0.2rem 0 0;
  font-size: 0.55rem;
  color: var(--ink-soft);
}

.sheet-mock-field {
  display: block;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.sheet-mock-line {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--surface-tint);
}

@media screen and (max-width: 767px) {
  .sheet-mock {
    width: 180px;
  }
}
/* ====== Compte à rebours ====== */
.countdown {
  display: flex;
  gap: 0.6rem;
  font-variant-numeric: tabular-nums;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  padding: 0.7rem 0.5rem;
  background: var(--surface);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}

.countdown-unit b,
.countdown-unit [data-cd] {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.countdown-unit small {
  margin-top: 0.35rem;
  font-size: 0.67rem;
  color: var(--muted);
}

.band-ink .countdown-unit {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.band-ink .countdown-unit b,
.band-ink .countdown-unit [data-cd] {
  color: #FFFFFF;
}

/* ====== Formulaires ====== */
.form-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  background: var(--surface);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
}

.form-card h2,
.form-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
}

.form-card label,
.field-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
}

.form-card input[type=text],
.form-card input[type=email],
.form-card input[type=tel],
.form-card input[type=number],
.form-card select,
.form-card textarea,
.field-input {
  display: block;
  width: 100%;
  padding: 0.78rem 0.9rem;
  font-family: var(--body-font);
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-card textarea,
textarea.field-input {
  min-height: 110px;
  resize: vertical;
}

.form-card input::placeholder,
.form-card textarea::placeholder,
.field-input::placeholder {
  color: var(--subtle);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus,
.field-input:focus {
  background: var(--surface);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(34, 35, 38, 0.08);
}

.form-card button[type=submit],
.form-card input[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 0.2rem;
  padding: 0.65rem 1.35rem;
  background: var(--ink-deep);
  color: var(--on-ink);
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 600;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.form-card button[type=submit]:hover,
.form-card input[type=submit]:hover {
  background: #3a3c42;
  color: #FFFFFF;
}

.form-card .small-print {
  margin: 0;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.signup-form .cta {
  margin-top: 0.2rem;
}

.signup-form.is-sending .cta {
  opacity: 0.6;
  pointer-events: none;
}

.form-card .field-input.is-invalid,
.field-input.is-invalid {
  border-color: var(--danger);
  background: var(--surface);
}

.field-error {
  display: none;
  margin: -0.45rem 0 0;
  font-size: 0.72rem;
  color: var(--danger);
}

.field-error.show {
  display: block;
}

.inline-form {
  display: flex;
  gap: 0.5rem;
}

.inline-form .field-input {
  flex: 1 1 auto;
}

.inline-form .cta {
  flex: none;
}

.choice-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.choice-scale span,
.choice-scale label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-input);
  border-radius: 50%;
  font-size: 0.7rem;
  color: var(--ink-soft);
}

/* ====== Topbar événement (compte à rebours) ====== */
.topbar {
  background: var(--ink-deep);
  color: var(--on-ink);
  font-size: 0.78rem;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1.1rem;
  padding: 0.55rem 0;
}

.topbar-event {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.8rem;
}

.topbar-eyebrow {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.topbar-title {
  font-weight: 600;
  color: #FFFFFF;
}

.topbar-meta {
  color: var(--subtle);
}

.topbar-countdown {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--subtle);
}

.topbar-countdown .cd-units {
  display: inline-flex;
  gap: 0.45rem;
  font-variant-numeric: tabular-nums;
}

.topbar-countdown .cd-units b,
.topbar-countdown [data-cd] {
  font-weight: 600;
  color: #FFFFFF;
}

.topbar a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar a:hover {
  color: var(--accent);
}

/* ====== Header ====== */
.header-wrap,
.header-wrap.white {
  background: var(--surface) !important;
  border-bottom: 1px solid var(--line);
}

.header {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 0;
}

.header .branding {
  display: block;
  flex: 0 0 auto;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  text-decoration: none;
}

.brand-lockup:hover {
  color: var(--muted);
  text-decoration: none;
}

.brand-lockup img {
  display: block;
  height: auto;
}

.brand-lockup .brand-main {
  width: 150px;
}

.brand-lockup .brand-partner {
  width: 170px;
}

.brand-lockup .brand-x {
  font-size: 0.83rem;
  line-height: 1;
}

.header .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  min-width: 0;
}

.header .menu .main-menu {
  flex: 0 0 auto;
}

.header .search-block {
  flex: 0 1 auto;
  min-width: 0;
}

.header .menu ul {
  --nav-gap: .95rem;
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.header .menu ul li {
  display: block;
  margin: 0;
  padding: 0;
}

.header .menu ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0;
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}

.header .menu ul li a:hover {
  color: var(--ink);
  text-decoration: none;
}

.header .menu ul li a .bi {
  color: inherit;
  font-size: 0.9rem;
}

.header .menu ul li.is-active > a,
.header .menu ul li > a[aria-current=page],
.home .header .menu ul li.prepare > a,
.ressources-gratuites .header .menu ul li.gifts > a,
.forum .header .menu ul li.forum > a,
.conference .header .menu ul li.conference > a,
.mes-videos .header .menu ul li.formations > a,
.formation .header .menu ul li.formations > a,
.mes-cadeaux .header .menu ul li.gifts > a,
.mes-preferences .header .menu ul li.preferences > a {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--ink);
}

.bcb-visible.menu-logged-out {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  min-width: 0;
}

.header .menu ul li.menu-cta {
  margin-left: 0.1rem;
}

.header .menu ul li.menu-cta a,
.header .menu ul li.menu-cta a.cta {
  min-height: 44px;
  padding: 0.45rem 1.1rem;
  background: var(--ink-deep);
  color: var(--on-ink);
  border-radius: var(--radius-pill);
  font-size: 0.83rem;
  font-weight: 600;
  box-shadow: none;
}

.header .menu ul li.menu-cta a:hover {
  background: #3a3c42;
  color: #FFFFFF;
}

.header .menu ul li.menu-cta a .bi {
  font-size: 1rem;
}

.header .menu-toggle {
  display: none;
}

body.modal-open .header {
  z-index: auto;
}

/* ====== Login ====== */
.discoverylogin-modal {
  z-index: 999999999999;
}

.discoverylogin-modal .modal-content {
  border: 0;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
}

.discoverylogin-modal h3 {
  color: var(--ink);
}

.discoverylogin-modal h3 span {
  color: var(--ink-soft);
}

.discoverylogin-modal .btn,
.discoverylogin-modal button[type=submit] {
  border-radius: var(--radius-pill);
}

.header .menu ul li.account {
  margin-left: calc(10px - var(--nav-gap));
}

.header .menu ul li backendlogin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header .menu ul li backendlogin:hover {
  background: var(--surface-soft);
  border-color: var(--ink);
}

.header .menu ul li backendlogin:after {
  content: none;
}

.discovery-login-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 50px;
  margin: 0;
  padding: 0.65rem 1.35rem;
  background: var(--ink-deep);
  color: var(--on-ink);
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.discovery-login-cta::after {
  content: "Se connecter";
}

.discovery-login-cta .bi {
  color: inherit;
  font-size: 1.05rem;
  line-height: 1;
}

.discovery-login-cta [data-discoverylogin-trigger]::after {
  content: "";
  position: absolute;
  inset: 0;
}

.discovery-login-cta:hover {
  background: #3a3c42;
  color: #FFFFFF;
}

/* ====== Header connecté : favoris + recherche ====== */
.header .menu ul li.menu-icon {
  margin-left: calc(10px - var(--nav-gap));
}

.header .menu ul li.menu-icon > a {
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
}

.header .menu ul li.menu-icon > a .bi {
  font-size: 1rem;
}

.header .menu ul li.menu-icon > a:hover {
  background: var(--surface-soft);
  border-color: var(--ink);
  color: var(--ink);
}

.favoris .header .menu ul li.favoris > a {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: var(--on-ink);
  box-shadow: none;
}

.header .menu-logged-out .search-block {
  margin-left: 10px;
}

.header .search-block .galileo-front,
.header .search-block .search-button-container {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.header .search-block .search-button-container .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}

.header .search-block .search-button-container .btn:hover {
  background: var(--surface-soft);
  border-color: var(--ink);
  color: var(--ink);
}

/* ====== Fil d'Ariane ====== */
.breadcrumb {
  font-size: 0.75rem;
  margin-bottom: 0;
  --bs-breadcrumb-divider-color: var(--subtle);
}

.breadcrumb a {
  color: var(--ink-soft);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb-item.active {
  color: var(--muted);
}

/* ====== Bandeaux génériques Discovery ====== */
.info-band,
.author-display {
  margin: 0 var(--band-inset) 2.5rem;
  padding: clamp(40px, 5vw, 64px) 0;
  background: var(--grad-sky);
  border: 0;
  border-radius: var(--radius-xl);
}

.info-band h1,
.author-display h1 {
  margin-bottom: 0.5rem;
}

.cat-info .fst-italic,
.author-long-name,
.step-long-name {
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  color: var(--ink-soft);
}

.author-display .author-img,
.author-intro .author-img {
  display: block;
  width: 260px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  aspect-ratio: 1/1;
  box-shadow: 0 0 0 6px var(--surface), var(--shadow-m);
}

.author-display .author-img img,
.author-intro .author-img img,
.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-l);
}

.join-cta,
.upgrade-cta {
  margin: 3rem auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--ink-deep);
  color: var(--on-ink);
  border-radius: var(--radius-xl);
  text-align: center;
}

.join-cta p,
.upgrade-cta p {
  margin-bottom: 0.35rem;
  color: var(--subtle);
}

.join-cta p:first-child,
.upgrade-cta p:first-child {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.join-cta .cta,
.upgrade-cta .cta {
  margin-top: 1.25rem;
  background: var(--surface);
  color: var(--ink);
  border-color: var(--surface);
}

.join-cta .cta:hover,
.upgrade-cta .cta:hover {
  background: var(--surface-tint);
  color: var(--ink);
}

.join-cta .cta.btn,
.upgrade-cta .cta.btn {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: var(--surface);
  --bs-btn-border-color: var(--surface);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--surface-tint);
  --bs-btn-hover-border-color: var(--surface-tint);
}

/* ====== Grilles & listes Discovery ====== */
.sub-categories {
  margin: 3rem auto;
  padding: 2.5rem 0 0 0;
  border-top: 1px solid var(--line);
}

.sub-categories .row,
.steps-grid .row,
.authors-grid .row,
.children-grid .row,
.row:has(> .category-item) {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin-left: calc(-1 * var(--card-gap));
  margin-right: calc(-1 * var(--card-gap));
}

.sub-categories .row > *,
.steps-grid .row > *,
.authors-grid .row > * {
  padding-left: 0;
  padding-right: 0;
}

.steps-grid .row.justify-content-center,
.children-grid .row,
.row:has(> .category-item) {
  justify-content: start !important;
}

.children-grid .row,
.row:has(> .category-item) {
  align-items: stretch !important;
}

.category-item,
.sub-categories .cat-item,
.steps-grid .step-item,
.authors-grid .author-item {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  margin-bottom: 1.5rem;
  padding: 0.45rem calc(var(--card-gap) + 0.45rem) 1.2rem;
  background: none;
  border: 0;
}

.category-item::before,
.sub-categories .cat-item::before,
.steps-grid .step-item::before,
.authors-grid .author-item::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: var(--card-gap);
  right: var(--card-gap);
  background: var(--surface-tint);
  border-radius: var(--radius-l);
  transition: box-shadow 0.2s ease;
}

.category-item:hover::before,
.sub-categories .cat-item:hover::before,
.steps-grid .step-item:hover::before,
.authors-grid .author-item:hover::before {
  box-shadow: var(--shadow-s);
}

.category-item .category-img,
.cat-item .cat-img,
.steps-grid .step-img,
.authors-grid .author-img {
  display: block;
  margin: 0 0 1rem 0;
  border: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--grad-dawn);
}

.category-item .category-img a {
  display: block;
  height: 100%;
}

.authors-grid .author-img {
  aspect-ratio: 1/1;
  max-width: 180px;
  margin: 1rem auto;
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--surface);
}

.steps-list .step-img,
.authors-list .author-img {
  overflow: hidden;
  border-radius: var(--radius-s);
}

.category-item .category-img img,
.cat-item .cat-img img,
.steps-grid .step-img img,
.steps-list .step-img img,
.authors-grid .author-img img,
.authors-list .author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-item .category-img:hover img,
.cat-item .cat-img:hover img,
.steps-grid .step-img:hover img,
.steps-list .step-img:hover img,
.authors-grid .author-img:hover img,
.authors-list .author-img:hover img {
  transform: scale(1.04);
}

.category-item > *:not(.category-img),
.cat-item > *:not(.cat-img),
.steps-grid .step-item > *:not(.step-img),
.authors-grid .author-item > *:not(.author-img) {
  padding-left: 0.55rem;
  padding-right: 0.55rem;
}

.category-item .category-listing-description,
.step-item .step-listing-description {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.steps-grid .step-img,
.steps-list .step-img {
  position: relative;
}

.steps-grid .step-img::before,
.steps-list .step-img::before {
  content: "\f4f4";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding-left: 2px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
  box-shadow: var(--shadow-xs);
  transition: background 0.2s ease, color 0.2s ease;
  pointer-events: none;
  z-index: 2;
}

.steps-grid .step-img:hover::before,
.steps-list .step-img:hover::before {
  background: var(--ink-deep);
  color: var(--on-ink);
}

.steps-grid .step-img::after,
.steps-list .step-img::after {
  content: none;
}

.mes-cadeaux .step-img::before,
[class*=gift] .step-img::before {
  display: none;
  content: none;
}

.category-item .category-title h3,
.cat-item .cat-title h3,
.steps-grid .step-title h3,
.authors-grid .author-title h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.steps-list .step-title h3,
.authors-list .author-title h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.category-item .category-long-name p,
.cat-item .cat-title + div,
.cat-item p {
  font-size: 0.83rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.category-item .category-link,
.step-item .step-link {
  margin-top: auto;
}

.category-item .category-link .cta,
.cat-item .cta,
.steps-grid .step-item .cta,
.authors-grid .author-item .cta {
  margin-top: auto;
  align-self: flex-start;
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.steps-list .step-item,
.authors-list .author-item {
  padding: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  margin-bottom: 0.8rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.steps-list .step-item:hover,
.authors-list .author-item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-s);
}

.steps-list .step-item .cta,
.authors-list .author-item .cta {
  width: 100%;
}

.mes-cadeaux .steps-list .step-item .cta,
[class*=gift] .steps-list .step-item .cta {
  width: auto;
}

.steps-grid .step-item .step-cats,
.steps-list .step-item .step-cats {
  display: none;
}

.step-item audio {
  width: 100%;
  margin-top: 0.75rem;
}

.steps-list .step-item:last-child,
.authors-list .author-item:last-child {
  margin-bottom: 0;
}

/* ====== Page vidéo / audio ====== */
.step-intro .step-title h1 {
  margin-bottom: 0.5rem;
}

.step-description {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 68ch;
}

.step-video {
  padding: 1.5rem 0 0 0;
}

.step-video iframe,
.step-video video,
.step-video .vidyard-player-container {
  width: 100%;
  display: block;
  border: 0;
  border-radius: var(--radius-l);
  background: var(--ink-deep);
  overflow: hidden;
  box-shadow: var(--shadow-m);
}

.step-video > .d-flex {
  margin-top: 1rem;
  align-items: center;
  justify-content: flex-start !important;
  gap: 0.5rem;
}

.step-video > .d-flex button,
.step-video > .d-flex a,
.step-video > .d-flex .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.4rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-input);
  border-radius: var(--radius-pill);
  font-family: var(--body-font);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.step-video > .d-flex button:hover,
.step-video > .d-flex a:hover,
.step-video > .d-flex .btn:hover {
  background: var(--surface-soft);
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.step-video > .d-flex .active,
.step-video > .d-flex button.active,
.step-video > .d-flex a.active {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: var(--on-ink);
}

.category-steps {
  margin: 2rem 0;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
}

.lesson-aside-head {
  padding: 0.9rem 1.15rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.lesson-aside-head p,
.lesson-aside-head h2,
.lesson-aside-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.lesson-playlist {
  max-height: 30rem;
  padding: 0.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-input) transparent;
}

.lesson-playlist .step-item {
  margin-bottom: 0.25rem;
  padding: 0.5rem;
  background: transparent;
  border: 0;
  border-radius: var(--radius-s);
  box-shadow: none;
}

.lesson-playlist .step-item:hover {
  background: var(--surface);
  border: 0;
  box-shadow: var(--shadow-xs);
}

.lesson-playlist .step-item .row > *:first-child {
  flex: 0 0 140px;
  width: 140px;
  max-width: 140px;
}

.lesson-playlist .step-item .row > *:last-child {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
}

.lesson-playlist .step-img {
  border-radius: var(--radius-xs);
  aspect-ratio: 16/9;
}

.lesson-playlist .step-img::before {
  left: 6px;
  bottom: 6px;
  width: 28px;
  height: 28px;
  font-size: 0.8rem;
}

.lesson-playlist .step-title h3 {
  font-size: 0.9rem;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.lesson-playlist .step-item p {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}

.lesson-playlist .step-item .cta {
  width: auto;
  min-height: 34px;
  padding: 0.3rem 0.85rem;
  font-size: 0.72rem;
}

.lesson-playlist .step-item.active,
.lesson-playlist .step-item.current {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.step-files {
  padding: 1.25rem 0;
  margin: 1.5rem auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step-files .file-pdf,
.step-files .file-audio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

.step-files .file-pdf:hover,
.step-files .file-audio:hover {
  background: var(--surface);
  border-color: var(--line-strong);
}

.step-files .file-pdf {
  margin-bottom: 0.6rem;
}

.step-files .file-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  vertical-align: middle;
}

.step-files .file-text {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.8rem;
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.step-files .file-player {
  line-height: 0;
}

.step-files audio {
  height: 40px;
}

.step-text {
  padding-top: 2rem;
  font-size: 1rem;
}

.step-text h2,
.step-text h3 {
  margin-top: 2rem;
}

/* ====== Commentaires (module Comments) ====== */
:is(.step-comments, [data-backend-component]:has(textarea)) {
  display: block;
  margin: 2.5rem 0 0 0;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}

:is(.step-comments, [data-backend-component]:has(textarea)) p:has(+ textarea),
:is(.step-comments, [data-backend-component]:has(textarea)) label:has(+ textarea),
:is(.step-comments, [data-backend-component]:has(textarea)) > p:first-child,
:is(.step-comments, [data-backend-component]:has(textarea)) > label:first-child {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

:is(.step-comments, [data-backend-component]) textarea {
  display: block;
  width: 100%;
  min-height: 110px;
  padding: 0.78rem 0.9rem;
  font-family: var(--body-font);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  resize: vertical;
}

:is(.step-comments, [data-backend-component]) textarea::placeholder {
  color: var(--subtle);
}

:is(.step-comments, [data-backend-component]) textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(34, 35, 38, 0.08);
}

:is(.step-comments, [data-backend-component]:has(textarea)) input[type=checkbox] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0 0.5rem 0 0;
  accent-color: var(--ink);
  vertical-align: -3px;
  cursor: pointer;
}

:is(.step-comments, [data-backend-component]:has(textarea)) input[type=checkbox] + label,
:is(.step-comments, [data-backend-component]:has(textarea)) label:has(input[type=checkbox]) {
  font-size: 0.8rem;
  color: var(--ink-soft);
  cursor: pointer;
}

:is(.step-comments, [data-backend-component]:has(textarea)) button,
:is(.step-comments, [data-backend-component]:has(textarea)) input[type=submit],
:is(.step-comments, [data-backend-component]:has(textarea)) .btn {
  margin-top: 0.9rem;
  min-height: 46px;
  padding: 0.55rem 1.3rem;
  background: var(--ink-deep);
  color: var(--on-ink);
  font-family: var(--body-font);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.2;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  --bs-btn-color: var(--on-ink);
  --bs-btn-bg: var(--ink-deep);
  --bs-btn-border-color: var(--ink-deep);
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: #3a3c42;
  --bs-btn-hover-border-color: #3a3c42;
}

:is(.step-comments, [data-backend-component]:has(textarea)) button:hover,
:is(.step-comments, [data-backend-component]:has(textarea)) input[type=submit]:hover,
:is(.step-comments, [data-backend-component]:has(textarea)) .btn:hover {
  background: #3a3c42;
  color: #FFFFFF;
}

:is(.step-comments, [data-backend-component]:has(textarea)) button:disabled,
:is(.step-comments, [data-backend-component]:has(textarea)) .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

:is(.step-comments, [data-backend-component]:has(textarea)) ul {
  list-style: none;
  margin: 0 0 1.25rem 0;
  padding: 0;
}

:is(.step-comments, [data-backend-component]:has(textarea)) ul > li,
:is(.step-comments, [data-backend-component]:has(textarea)) li.step-comments__item {
  position: relative;
  margin: 0 0 0.6rem 0;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-m);
}

:is(.step-comments, [data-backend-component]:has(textarea)) ul > li:last-child,
:is(.step-comments, [data-backend-component]:has(textarea)) li.step-comments__item:last-child {
  margin-bottom: 0;
}

:is(.step-comments, [data-backend-component]:has(textarea)) ul > li p:last-child,
:is(.step-comments, [data-backend-component]:has(textarea)) li.step-comments__item p:last-child {
  margin-bottom: 0;
}

:is(.step-comments, [data-backend-component]:has(textarea)) ul > li small,
:is(.step-comments, [data-backend-component]:has(textarea)) ul > li time {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

/* ====== Template catégorie (masterclasse) ====== */
body {
  --wk: #cdd8ec;
}

body.cat-masterclasse-1,
.mc-w1 {
  --wk: var(--week-1);
}

body.cat-masterclasse-2,
.mc-w2 {
  --wk: var(--week-2);
}

body.cat-masterclasse-3,
.mc-w3 {
  --wk: var(--week-3);
}

body.cat-masterclasse-4,
.mc-w4 {
  --wk: var(--week-4);
}

body.cat-masterclasse-5,
.mc-w5 {
  --wk: var(--week-5);
}

body.cat-masterclasse-6,
.mc-w6 {
  --wk: var(--week-6);
}

body.cat-masterclasse-7,
.mc-w7 {
  --wk: var(--week-7);
}

body.cat-masterclasse-8,
.mc-w8 {
  --wk: var(--week-8);
}

body.cat-masterclasse-9,
.mc-w9 {
  --wk: var(--week-9);
}

body.cat-masterclasse-10,
.mc-w10 {
  --wk: var(--week-10);
}

body.cat-masterclasse-11,
.mc-w11 {
  --wk: var(--week-11);
}

body.cat-masterclasse-12,
.mc-w12 {
  --wk: var(--week-12);
}

.mc-page .mc-hero-band {
  margin-top: var(--band-inset);
  background: linear-gradient(160deg, color-mix(in srgb, var(--wk) 55%, #fff) 0%, color-mix(in srgb, var(--wk) 12%, #fff) 100%);
}

.mc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.mc-crumbs a {
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mc-crumbs a:hover {
  color: var(--ink);
}

.mc-crumbs-sep {
  font-size: 0.6rem;
  color: var(--subtle);
}

.mc-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.mc-portrait {
  width: 160px;
  height: 160px;
  border: 5px solid var(--surface);
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-tint);
  box-shadow: var(--shadow-m);
}

.mc-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-info .category-name {
  display: inline-flex;
  margin: 0 0 0.7rem;
  padding: 0.3rem 0.75rem;
  background: var(--surface);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink);
}

.mc-info .category-long-name {
  margin: 0 0 0.7rem;
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

.mc-info .category-long-name p,
.mc-info .category-long-description p:last-child {
  margin: 0;
}

.mc-info .category-long-description {
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.mc-info .category-long-description * {
  background: transparent !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.mc-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  min-width: 220px;
}

.mc-count {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
}

.mc-count p {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.mc-count .bi {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  color: var(--ink);
}

.mc-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 1.5rem;
  margin-top: clamp(40px, 5vw, 64px);
}

.mc-body h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.mc-page .steps-list {
  counter-reset: mc-step;
}

.mc-page .steps-list .step-item {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--radius-m);
  box-shadow: none;
  counter-increment: mc-step;
}

.mc-page .steps-list .step-item + .step-item {
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.mc-page .steps-list .step-item:hover {
  background: var(--surface-soft);
  border-radius: var(--radius-m);
  box-shadow: none;
}

.mc-page .steps-list .step-item:hover + .step-item {
  border-top-color: transparent;
}

.mc-page .steps-list .step-item .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0.85rem 1rem;
  --bs-gutter-x: 0;
}

.mc-page .steps-list .step-item .row > * {
  width: auto;
  max-width: none;
  padding: 0;
}

.mc-page .steps-list .step-item .row > :nth-child(1) {
  flex: none;
}

.mc-page .steps-list .step-item .row > :nth-child(2) {
  flex: 1 1 auto;
  min-width: 0;
}

.mc-page .steps-list .step-item .row > :nth-child(3) {
  flex: none;
}

.mc-page .steps-list .step-img {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--wk) 35%, #fff);
  aspect-ratio: auto;
  overflow: hidden;
}

.mc-page .steps-list .step-img a,
.mc-page .steps-list .step-img .step-progress {
  display: none;
}

.mc-page .steps-list .step-img::before {
  content: counter(mc-step);
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  box-shadow: none;
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.mc-page .steps-list .step-item:hover .step-img::before {
  background: none;
  color: var(--ink);
}

.mc-page .steps-list .step-title h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.mc-page .steps-list .step-long-name p {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.mc-page .steps-list .step-long-name p:empty {
  display: none;
}

.mc-page .steps-list .step-link .cta {
  width: auto;
  min-height: 38px;
  padding: 0.4rem 0.95rem;
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-input);
  font-size: 0.78rem;
}

.mc-page .steps-list .step-link .cta::after {
  content: "";
  position: absolute;
  inset: 0;
}

.mc-page .steps-list .step-item:hover .step-link .cta {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: var(--on-ink);
}

.mc-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.mc-pager .is-hidden {
  visibility: hidden;
}

.mc-aside {
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mc-note {
  padding: 1.3rem;
  background: var(--surface-soft);
  border-radius: var(--radius-l);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.mc-note h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.mc-note p {
  margin: 0;
}

.mc-note .text-link {
  display: inline-block;
  margin-top: 0.7rem;
}

@media screen and (max-width: 991px) {
  .mc-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .mc-side {
    grid-column: 1/-1;
  }
  .mc-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .mc-aside {
    position: static;
  }
}
@media screen and (max-width: 575px) {
  .mc-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .mc-portrait {
    width: 112px;
    height: 112px;
  }
  .mc-page .steps-list .step-item .row {
    gap: 0.8rem;
    padding: 0.8rem 0.5rem;
  }
  .mc-page .steps-list .step-link .cta {
    padding: 0;
    width: 38px;
    font-size: 0;
  }
  .mc-page .steps-list .step-link .cta::before {
    content: "\f285";
    font-family: "bootstrap-icons";
    font-size: 0.9rem;
  }
}
/* ====== Template étape (séance) ====== */
.st-page {
  padding-top: clamp(28px, 4vw, 48px);
}

.st-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
}

.st-nav {
  position: sticky;
  top: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
}

.st-nav-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: color-mix(in srgb, var(--wk) 35%, #fff);
  color: var(--ink);
  list-style: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.st-nav-head::-webkit-details-marker {
  display: none;
}

.st-nav-chev {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  color: var(--ink);
  transition: transform 0.2s ease, background 0.2s ease;
}

.st-nav-head:hover .st-nav-chev {
  background: var(--surface);
}

.st-steps-menu[open] .st-nav-chev {
  transform: rotate(180deg);
}

.st-nav-head:hover {
  background: color-mix(in srgb, var(--wk) 50%, #fff);
}

.st-steps-menu:not([open]) > .st-nav-head {
  border-bottom: 0;
}

.st-nav-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
}

.st-nav-num p,
.st-nav-txt p {
  margin: 0;
}

.st-nav-txt small {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.st-nav-txt strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.25;
}

.st-nav-list {
  max-height: 62vh;
  padding: 0.35rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-input) transparent;
}

.st-nav-list .no-content-available {
  padding: 1rem !important;
  border: 0;
}

.st-nav .steps-list .step-item {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

.st-nav .steps-list .step-item:hover {
  background: var(--surface-soft);
  border-top-color: transparent;
  box-shadow: none;
}

.st-nav .steps-list .step-item .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  padding: 0.55rem 0.7rem;
  --bs-gutter-x: 0;
}

.st-nav .steps-list .step-item .row > * {
  width: auto;
  max-width: none;
  padding: 0;
}

.st-nav .steps-list .step-item .row > :nth-child(1) {
  flex: none;
}

.st-nav .steps-list .step-item .row > :nth-child(2) {
  flex: 1 1 auto;
  min-width: 0;
}

.st-nav .steps-list .step-img {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--wk) 35%, #fff);
  aspect-ratio: auto;
}

.st-nav .steps-list .step-img a,
.st-nav .steps-list .step-img .step-progress {
  display: none;
}

.st-nav .steps-list .step-img::before {
  content: "\f309";
  position: static;
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  box-shadow: none;
  font-family: "bootstrap-icons" !important;
  font-size: 0.8rem;
  line-height: 1;
  color: var(--ink);
}

.mc-page:not(.st-page) .steps-list .step-item:is(:has(.cat-audio), :has(.cat-fiche), :has(.cat-video)) .step-img::before {
  font-family: "bootstrap-icons" !important;
  font-size: 1.05rem;
  line-height: 1;
}

.st-nav .steps-list .step-item:has(.cat-audio) .step-img::before,
.mc-page .steps-list .step-item:has(.cat-audio) .step-img::before,
.favoris-page .steps-list .step-item:has(.cat-audio) .step-img::before {
  content: "\f413" !important;
}

.st-nav .steps-list .step-item:has(.cat-fiche) .step-img::before,
.mc-page .steps-list .step-item:has(.cat-fiche) .step-img::before,
.favoris-page .steps-list .step-item:has(.cat-fiche) .step-img::before {
  content: "\f38b" !important;
}

.st-nav .steps-list .step-item:has(.cat-video) .step-img::before,
.mc-page .steps-list .step-item:has(.cat-video) .step-img::before,
.favoris-page .steps-list .step-item:has(.cat-video) .step-img::before {
  content: "\f4f4" !important;
  padding-left: 1px;
}

.st-nav .steps-list .step-item:hover .step-img::before {
  background: none;
  color: var(--ink);
}

.st-nav .steps-list .step-title h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}

.st-nav .steps-list .step-item:hover .step-title h3 {
  color: var(--ink);
}

.st-nav .steps-list .step-long-name {
  display: none;
}

.st-nav .steps-list .step-item .row > :nth-child(3) {
  position: static;
  width: 0;
}

.st-nav .steps-list .step-link .cta {
  position: static;
  display: block;
  width: 0;
  height: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0;
}

.st-nav .steps-list .step-link .cta::after {
  content: "";
  position: absolute;
  inset: 0;
}

.st-nav-list.is-ordered > :not(.st-own) {
  display: none !important;
}

.st-nav .steps-list .step-item.is-current,
.st-nav .steps-list .step-item.is-current:hover {
  background: var(--ink-deep);
  border-top-color: transparent;
  border-radius: 12px;
  cursor: default;
}

.st-nav .steps-list .step-item.is-current + .step-item {
  border-top-color: transparent;
}

.st-nav .steps-list .step-item.is-current .step-title h3 {
  font-weight: 600;
  color: var(--on-ink);
}

.st-nav .steps-list .step-item.is-current .step-img {
  background: var(--wk);
}

.st-mc-menu {
  border-top: 1px solid var(--line);
}

.st-mc-menu > summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

.st-mc-menu > summary::after {
  content: "\f282";
  margin-left: auto;
  font-family: "bootstrap-icons";
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.st-mc-menu[open] > summary::after {
  transform: rotate(180deg);
}

.st-mc-menu > summary:hover {
  background: var(--surface-soft);
}

.st-mc-list {
  max-height: 50vh;
  padding: 0 0.35rem 0.35rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-input) transparent;
}

.st-mc-link {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  color: var(--ink-soft);
  text-decoration: none;
}

.st-mc-link:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.st-mc-link p {
  margin: 0;
}

.st-mc-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-tint);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
}

.st-mc-title {
  padding-top: 0.2rem;
  font-size: 0.8rem;
  line-height: 1.35;
}

.st-mc-1 .st-mc-num {
  background: color-mix(in srgb, var(--week-1) 55%, #fff);
}

.st-mc-2 .st-mc-num {
  background: color-mix(in srgb, var(--week-2) 55%, #fff);
}

.st-mc-3 .st-mc-num {
  background: color-mix(in srgb, var(--week-3) 55%, #fff);
}

.st-mc-4 .st-mc-num {
  background: color-mix(in srgb, var(--week-4) 55%, #fff);
}

.st-mc-5 .st-mc-num {
  background: color-mix(in srgb, var(--week-5) 55%, #fff);
}

.st-mc-6 .st-mc-num {
  background: color-mix(in srgb, var(--week-6) 55%, #fff);
}

.st-mc-7 .st-mc-num {
  background: color-mix(in srgb, var(--week-7) 55%, #fff);
}

.st-mc-8 .st-mc-num {
  background: color-mix(in srgb, var(--week-8) 55%, #fff);
}

.st-mc-9 .st-mc-num {
  background: color-mix(in srgb, var(--week-9) 55%, #fff);
}

.st-mc-10 .st-mc-num {
  background: color-mix(in srgb, var(--week-10) 55%, #fff);
}

.st-mc-11 .st-mc-num {
  background: color-mix(in srgb, var(--week-11) 55%, #fff);
}

.st-mc-12 .st-mc-num {
  background: color-mix(in srgb, var(--week-12) 55%, #fff);
}

body.cat-bienvenue .st-mc-bienvenue,
body.cat-masterclasse-1 .st-mc-1,
body.cat-masterclasse-2 .st-mc-2,
body.cat-masterclasse-3 .st-mc-3,
body.cat-masterclasse-4 .st-mc-4,
body.cat-masterclasse-5 .st-mc-5,
body.cat-masterclasse-6 .st-mc-6,
body.cat-masterclasse-7 .st-mc-7,
body.cat-masterclasse-8 .st-mc-8,
body.cat-masterclasse-9 .st-mc-9,
body.cat-masterclasse-10 .st-mc-10,
body.cat-masterclasse-11 .st-mc-11,
body.cat-masterclasse-12 .st-mc-12 {
  background: var(--ink-deep);
  color: var(--on-ink);
}

.st-main {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-width: 0;
}

.st-main > * {
  margin: 0;
}

.st-main > :empty,
.st-main > .st-empty {
  display: none !important;
}

.st-main .step-name {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.st-main .step-long-name {
  margin-top: -0.6rem;
  font-size: 1rem;
  color: var(--ink-soft);
}

.st-main .step-long-name p,
.st-main .step-description p:last-child,
.st-main .step-lower-description p:last-child {
  margin-bottom: 0;
}

.st-main .step-video {
  padding: 0;
}

.st-main .step-description,
.st-main .step-lower-description {
  max-width: 68ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.st-main .step-description *,
.st-main .step-lower-description * {
  background: transparent !important;
  font-family: inherit !important;
}

.st-audio .file-audio {
  display: block;
  margin-bottom: 0.8rem;
}

.st-audio .file-audio:last-child {
  margin-bottom: 0;
}

.st-audio .file-audio[data-player] > div:not(.st-player) {
  display: none;
}

.st-audio .file-audio:not([data-player]) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

.st-player {
  --p: 0%;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.4rem;
  padding: 1.4rem 1.6rem;
  background: var(--ink-deep);
  color: var(--on-ink);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.st-player::before {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -60%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--wk) 60%, transparent), transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}

.st-play {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--wk);
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.st-play:hover {
  transform: scale(1.04);
}

.st-play:active {
  transform: scale(0.97);
}

.st-play .bi-play-fill {
  margin-left: 4px;
}

.st-player-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.st-player-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.st-player-title strong {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.st-player-title small {
  font-size: 0.78rem;
  color: var(--subtle);
  white-space: nowrap;
}

.st-track {
  position: relative;
  height: 22px;
  cursor: pointer;
  touch-action: none;
}

.st-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.st-track-fill {
  position: absolute;
  left: 0;
  top: 9px;
  width: var(--p);
  height: 4px;
  border-radius: 4px;
  background: var(--wk);
}

.st-track-knob {
  position: absolute;
  top: 4px;
  left: var(--p);
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
}

.st-track:hover .st-track-knob,
.st-track.is-drag .st-track-knob {
  transform: scale(1.25);
}

.st-track:focus-visible {
  outline: 2px solid var(--wk);
  outline-offset: 4px;
  border-radius: 4px;
}

.st-player-ctrls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--subtle);
  font-variant-numeric: tabular-nums;
}

.st-time {
  margin-right: auto;
}

.st-player-ctrls button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.6rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--on-ink);
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.st-player-ctrls button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.st-files .file-pdf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
  padding: 1rem 1.1rem;
  background: color-mix(in srgb, var(--wk) 35%, #fff);
  border: 1px solid color-mix(in srgb, var(--wk) 55%, #fff);
  border-radius: var(--radius-l);
}

.st-files .file-pdf:last-child {
  margin-bottom: 0;
}

.st-files .file-pdf > div:first-child {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.st-files .file-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 56px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.4rem;
}

.st-files .file-text span {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.st-files .file-download .cta {
  min-height: 40px;
  padding: 0.45rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-input);
  font-size: 0.8rem;
}

.st-files .file-download .cta:hover {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: var(--on-ink);
}

.st-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.st-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 1.1rem 0 0.4rem;
  background: var(--surface);
  border: 1px solid var(--line-input);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.st-pill:hover {
  background: var(--surface-soft);
  border-color: var(--ink);
}

.st-pill > [data-backend-component] {
  order: 1;
}

.st-pill .st-pill-label {
  order: 2;
}

.st-pill .st-pill-label p {
  margin: 0;
}

.st-pill .pref-toggle {
  position: static;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface-tint);
  color: var(--ink);
  font-size: 0.95rem;
  cursor: pointer;
}

.st-pill .pref-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
}

.st-pill:has(.pref-toggle--active) {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: var(--on-ink);
}

.st-pill:has(.pref-toggle--active) .pref-toggle {
  background: rgba(255, 255, 255, 0.14);
  color: var(--wk);
}

.st-pill:not(:has(.pref-toggle)) {
  display: none;
}

.st-comments-title h2 {
  margin: 1rem 0 1rem;
  font-size: 1.3rem;
}

.st-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 0.4rem !important;
}

.st-pager a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.st-pager a:hover {
  background: var(--surface-soft);
  border-color: var(--ink);
  color: var(--ink);
}

.st-pager small {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
}

.st-pager strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.st-pager .st-pager-next {
  grid-column: 2;
  text-align: right;
}

.st-pager .st-pager-next small {
  justify-content: flex-end;
}

.st-main [data-backend-component]:has(textarea) {
  margin-top: 0;
}

@media screen and (max-width: 991px) {
  .st-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .st-nav {
    position: static;
    order: 2;
  }
  .st-nav-list {
    max-height: none;
  }
}
@media screen and (max-width: 575px) {
  .st-player {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    padding: 1.2rem;
  }
  .st-player-body {
    width: 100%;
  }
  .st-files .file-pdf {
    flex-direction: column;
    align-items: flex-start;
  }
  .st-pager {
    grid-template-columns: minmax(0, 1fr);
  }
  .st-pager > span:empty {
    display: none;
  }
  .st-pager .st-pager-next {
    grid-column: auto;
    text-align: left;
  }
  .st-pager .st-pager-next small {
    justify-content: flex-start;
  }
}
.st-nav .steps-list .step-item,
.mc-page .steps-list .step-item,
.favoris-page .steps-list .step-item {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* ====== Accordéons / FAQ ====== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-group-title {
  margin: 1.5rem 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.faq-item > summary {
  position: relative;
  display: block;
  padding: 0.95rem 3.4rem 0.95rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

.faq-item > summary::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: linear-gradient(var(--ink), var(--ink)) center/11px 1.75px no-repeat, linear-gradient(var(--ink), var(--ink)) center/1.75px 11px no-repeat, var(--surface-soft);
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.faq-item > summary:hover::after {
  background: linear-gradient(var(--ink), var(--ink)) center/11px 1.75px no-repeat, linear-gradient(var(--ink), var(--ink)) center/1.75px 11px no-repeat, var(--surface-tint);
}

.faq-item[open] > summary::after {
  transform: rotate(45deg);
  background: linear-gradient(#FFFFFF, #FFFFFF) center/11px 1.75px no-repeat, linear-gradient(#FFFFFF, #FFFFFF) center/1.75px 11px no-repeat, var(--ink-deep);
}

.faq-body {
  padding: 0 1.1rem 1.1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.faq-body p:last-child,
.faq-body ul:last-child {
  margin-bottom: 0;
}

.faq-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  margin-bottom: 0.55rem;
}

.faq-block .question-title {
  display: block;
  position: relative;
  padding: 0.95rem 3.4rem 0.95rem 1.1rem;
  background: var(--surface);
  border: 0;
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq-block .question-title:hover {
  background: var(--surface-soft);
}

.faq-block .question-title .title-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.8rem;
  transform: translateY(-50%);
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.faq-block.active .question-title .title-arrow {
  transform: translateY(-50%) rotate(180deg);
  background: var(--ink-deep);
  color: var(--on-ink);
}

.faq-block .answer {
  display: none;
  padding: 0 1.1rem 1.1rem;
  border: 0;
  background: var(--surface);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.faq-block .answer p:last-child {
  margin-bottom: 0;
}

.faq-block.block-1 .answer {
  display: block;
}

/* ====== Listes à coches ====== */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  margin-bottom: 0.6rem;
  padding-left: 1.7rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "\f26e";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  font-size: 0.8rem;
  line-height: 1;
}

.check-list.is-cross li::before {
  content: "\f62a";
  background: var(--danger-bg);
  color: var(--danger);
}

.check-list li strong,
.check-list li b {
  color: var(--ink);
}

/* ====== États vides ====== */
.no-content-available {
  padding: 2.5rem !important;
  background: var(--surface-soft);
  border: 1px dashed var(--line-input);
  border-radius: var(--radius-l);
  text-align: center;
}

.no-content-available p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
}

:is(.step-comments, [data-backend-component]:has(textarea)) .no-content-available {
  background: var(--surface);
}

.is-empty-hidden {
  display: none !important;
}

.is-hidden-until-date {
  display: none !important;
}

html:not(.is-after-conf) .after-conf,
html.is-after-conf .before-conf,
[data-countdown-end].is-ended .cd-before,
[data-countdown-end]:not(.is-ended) .cd-after,
[data-unlock-at]:not(.is-locked) .when-locked,
[data-unlock-at].is-locked .when-open,
[data-unlock-at].is-locked .when-new,
[data-unlock-at]:not(.is-new) .when-new,
[data-unlock-at].is-new .when-open,
[data-unlock-at].is-locked .when-unlocked {
  display: none !important;
}

a.is-locked,
.is-locked a {
  cursor: default;
}

/* ====== Footer ====== */
.footer {
  margin-top: var(--section-y);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-menu {
  padding: 1.6rem 0 0;
  background: var(--surface);
  border: 0;
}

.footer-menu .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.footer-brand .brand-main {
  width: 66px;
  height: auto;
}

.footer-brand .brand-partner {
  width: 170px;
}

.footer-menu-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1.2rem;
}

.footer-menu-wrap a {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
}

.footer-menu-wrap a:hover {
  color: var(--ink-soft);
  text-decoration: underline !important;
}

.footer-info {
  padding: 1.1rem 0 2rem;
  background: var(--surface);
  color: var(--ink-soft);
  text-align: left;
}

.footer-info .copyright {
  margin-bottom: 0.8rem;
  font-size: 0.75rem;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
}

.footer-info .disclaimer {
  max-width: 92ch;
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.55;
  color: var(--muted);
  opacity: 1;
}

.footer-info .disclaimer p {
  margin-bottom: 0;
}

.footer-info a {
  color: var(--ink-soft);
  text-decoration: underline;
}

.footer-info a:hover {
  color: var(--ink);
}

/* ====== Fiche imprimable ====== */
.print-sheet {
  max-width: 820px;
  margin: 2rem auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--surface);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
}

.print-line {
  display: block;
  min-height: 1.6rem;
  border-bottom: 1px solid var(--line-input);
}

.print-only {
  display: none;
}

@media print {
  @page {
    margin: 12mm;
  }
  html {
    font-size: 14px;
  }
  body {
    background: #FFFFFF;
  }
  .topbar,
  .header-wrap,
  .footer,
  .no-print {
    display: none !important;
  }
  .print-only {
    display: block;
  }
  .print-sheet {
    max-width: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }
  .section-band {
    margin: 0;
    border-radius: 0;
  }
  a {
    text-decoration: none;
  }
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
/* ====== Responsive ====== */
@media screen and (min-width: 1200px) {
  .topbar .container,
  .header-wrap .container {
    max-width: 1440px;
    padding-left: clamp(20px, 3vw, 40px);
    padding-right: clamp(20px, 3vw, 40px);
  }
}
@media screen and (min-width: 1200px) and (max-width: 1480px) {
  .header {
    gap: 1rem;
  }
  .header .menu ul li:not(.menu-cta):not(.menu-icon) a .bi {
    display: none;
  }
  .header .brand-lockup .brand-main {
    width: 132px;
  }
  .header .brand-lockup .brand-partner {
    width: 150px;
  }
  .header .menu ul {
    --nav-gap: 1rem;
  }
}
@media screen and (min-width: 1200px) and (max-width: 1360px) {
  .header {
    gap: 0.9rem;
  }
  .header .brand-lockup {
    gap: 10px;
  }
  .header .brand-lockup .brand-main {
    width: 116px;
  }
  .header .brand-lockup .brand-partner {
    width: 130px;
  }
  .header .menu ul {
    --nav-gap: .8rem;
  }
}
@media screen and (min-width: 1200px) and (max-width: 1320px) {
  .header .brand-lockup .brand-main {
    width: 104px;
  }
  .header .brand-lockup .brand-partner {
    width: 118px;
  }
  .header .menu ul {
    --nav-gap: .75rem;
  }
  .header .menu ul li:not(.menu-cta):not(.menu-icon) a .bi {
    display: none;
  }
}
@media screen and (min-width: 1200px) and (max-width: 1260px) {
  .header .menu ul {
    --nav-gap: .6rem;
  }
  .header .menu ul li.menu-cta a,
  .header .menu ul li.menu-cta a.cta {
    padding: 0.45rem 0.9rem;
  }
}
@media screen and (max-width: 1199px) {
  .header {
    z-index: 9999;
    padding: 0.7rem 0;
  }
  .header .branding {
    z-index: 999;
  }
  .header .brand-lockup .brand-main {
    width: 130px;
  }
  .header .brand-lockup .brand-partner {
    width: 150px;
  }
  .header .menu {
    padding-right: 3rem;
  }
  .header .menu-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 999;
  }
  .header .menu-toggle .hamburger {
    display: inline-block;
    position: relative;
    width: 28px;
    height: 18px;
    vertical-align: middle;
  }
  .header .menu-toggle .hamburger span,
  .header .menu-toggle .hamburger span:after,
  .header .menu-toggle .hamburger span:before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: var(--ink);
    transition: all 0.2s ease;
  }
  .header .menu-toggle .hamburger span:before {
    position: absolute;
    margin-top: 8px;
  }
  .header .menu-toggle .hamburger span:after {
    position: absolute;
    margin-top: 16px;
  }
  .header .menu-toggle.active span,
  .header .menu-toggle.active .hamburger span:before,
  .header .menu-toggle.active .hamburger span:after {
    background-color: transparent;
  }
  .header .menu-toggle.active span:before {
    background-color: var(--ink) !important;
    margin-top: 8px;
    transform: rotate(45deg);
  }
  .header .menu-toggle.active span:after {
    background-color: var(--ink) !important;
    margin-top: 8px !important;
    transform: rotate(-45deg);
  }
  .header .main-menu {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding-top: 6.5rem;
    background: var(--surface);
    transition: right 0.4s ease-in-out;
    z-index: -1;
  }
  .header .main-menu.active {
    right: 0;
  }
  .header .menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 1rem 1.25rem 0;
    border-top: 1px solid var(--line);
  }
  .header .menu ul li {
    padding: 0 !important;
    text-align: left;
    border-bottom: 1px solid var(--line);
  }
  .header .menu ul li a {
    width: 100%;
    padding: 1rem 0.25rem;
    font-size: 1rem;
    box-shadow: none !important;
  }
  .header .menu ul li.is-active > a,
  .header .menu ul li > a[aria-current=page] {
    font-weight: 600;
  }
  .header .menu ul li.menu-cta {
    margin: 1.25rem 0 0;
    border-bottom: 0;
  }
  .header .menu ul li.menu-cta a,
  .header .menu ul li.menu-cta a.cta {
    justify-content: center;
    min-height: 52px;
    font-size: 0.95rem;
  }
  .header .menu ul li.account {
    margin-left: 0;
  }
  .header .menu ul li backendlogin {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 1rem 0.25rem;
    justify-content: flex-start;
    gap: 0.5rem;
    border: 0;
    border-radius: 0;
    font-size: 1rem;
  }
  .header .menu ul li backendlogin:hover {
    background: transparent;
  }
  .header .menu ul li backendlogin:after {
    content: "Se connecter";
    font-size: 1rem;
    font-weight: 500;
  }
  .bcb-visible.menu-logged-out {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .header .menu ul li.menu-icon {
    margin-left: 0;
  }
  .header .menu ul li.menu-icon > a {
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
    height: auto;
    padding: 1rem 0.25rem;
    border: 0;
    border-radius: 0;
  }
  .header .menu ul li.menu-icon > a:hover {
    background: transparent;
  }
  .header .menu ul li.favoris > a::after {
    content: "Mes modules enregistrés";
    font-size: 1rem;
    font-weight: 500;
  }
  .favoris .header .menu ul li.favoris > a {
    background: transparent;
    color: var(--ink);
    font-weight: 600;
  }
  .header .menu-logged-out .search-block {
    margin: 0 1.25rem;
    border-bottom: 1px solid var(--line);
  }
  .header .menu-logged-out .search-block .search-button-container .btn {
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
    height: auto;
    padding: 1rem 0.25rem;
    border: 0;
    border-radius: 0;
    color: var(--ink-soft);
    font-size: 1rem;
  }
  .header .menu-logged-out .search-block .search-button-container .btn:hover {
    background: transparent;
    color: var(--ink);
  }
  .header .menu-logged-out .search-block .search-button-container .btn::after {
    content: "Rechercher un contenu";
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 500;
  }
  body.modal-open .header .main-menu {
    z-index: 1060;
  }
  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 767px) {
  html {
    font-size: 16px;
  }
  :root {
    --band-inset: 8px;
    --section-y: 48px;
  }
  .section-band {
    border-radius: var(--radius-l);
  }
  .topbar-meta {
    display: none;
  }
  .topbar-inner {
    justify-content: center;
    text-align: center;
  }
  .topbar-countdown .cd-label {
    display: none;
  }
  .tile-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .schedule-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.25rem 0.8rem;
  }
  .schedule-date {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.75rem;
    color: var(--muted);
  }
  .schedule-icon {
    grid-column: 1;
    grid-row: 1/span 3;
  }
  .schedule-text {
    grid-column: 2;
  }
  .schedule-row .tag {
    grid-column: 2;
    justify-self: start;
  }
  .countdown-unit {
    min-width: 0;
    flex: 1 1 0;
  }
  .inline-form {
    flex-direction: column;
  }
  .cta-row > .cta {
    flex: 1 1 100%;
  }
  .info-band,
  .author-display {
    text-align: center;
  }
  .author-display .author-img,
  .author-intro .author-img {
    width: 200px;
    margin-bottom: 1.5rem;
  }
  .join-cta .cta,
  .upgrade-cta .cta {
    width: 100%;
  }
  .footer-menu .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .brand-lockup {
    gap: 10px;
  }
  .header .brand-lockup .brand-main {
    width: 96px;
  }
  .header .brand-lockup .brand-partner {
    width: 112px;
  }
  .footer-brand .brand-main {
    width: 56px;
  }
  .footer-brand .brand-partner {
    width: 140px;
  }
  .footer-menu-wrap {
    justify-content: flex-start;
  }
  .step-description,
  .footer-info .disclaimer {
    max-width: none;
  }
  .step-files .file-pdf,
  .step-files .file-audio {
    flex-direction: column;
    align-items: flex-start;
  }
  .step-files .file-player,
  .step-files audio {
    width: 100%;
  }
  .modal-dialog {
    min-width: auto !important;
  }
}
/* ====== Mouvement réduit ====== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  a.tile-card:hover,
  .cta:active,
  .category-item .category-img:hover img,
  .cat-item .cat-img:hover img,
  .steps-grid .step-img:hover img,
  .steps-list .step-img:hover img {
    transform: none;
  }
}