/*
Theme Name: Astra Child Jevis
Template: astra
Version: 1.0.0
*/

/*
 * ═══════════════════════════════════════════════════════════════
 *   THÈME FORMATION — WordPress + Tutor LMS Pro + Zoom
 *   Direction : Plateforme d'apprentissage premium / Mode sombre
 *   Polices   : Syne (display) + Outfit (corps) + JetBrains Mono
 *   v1.0
 * ═══════════════════════════════════════════════════════════════
 */

/* ─────────────────────────────────────────
   IMPORT POLICES
   ───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Outfit:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─────────────────────────────────────────
   TOKENS GLOBAUX
   ───────────────────────────────────────── */
:root {
  /* Polices */
  --font-display : 'Syne', system-ui, sans-serif;
  --font-body    : 'Outfit', system-ui, sans-serif;
  --font-mono    : 'JetBrains Mono', 'Courier New', monospace;

  /* Palette principale (mode sombre) */
  --bg-base     : #0b0f1a;
  --bg-surface  : #111827;
  --bg-raised   : #1a2234;
  --bg-elevated : #212d43;
  --bg-overlay  : rgba(11, 15, 26, .92);

  /* Bordures */
  --border      : rgba(255, 255, 255, .07);
  --border-mid  : rgba(255, 255, 255, .12);
  --border-hi   : rgba(255, 255, 255, .20);

  /* Texte */
  --text-primary  : #f0f4ff;
  --text-secondary: rgba(240, 244, 255, .60);
  --text-tertiary : rgba(240, 244, 255, .35);
  --text-inverse  : #0b0f1a;

  /* Couleur signature : Jade */
  --jade         : #10b981;
  --jade-dark    : #059669;
  --jade-light   : #34d399;
  --jade-dim     : rgba(16, 185, 129, .12);
  --jade-glow    : rgba(16, 185, 129, .25);

  /* Zoom */
  --zoom         : #2d8cff;
  --zoom-dark    : #1a6cd4;
  --zoom-dim     : rgba(45, 140, 255, .12);

  /* Statuts */
  --success      : #10b981;
  --warning      : #f59e0b;
  --danger       : #ef4444;
  --info         : #3b82f6;

  /* Sémantique formation */
  --lesson-free   : #10b981;
  --lesson-locked : rgba(240, 244, 255, .25);
  --quiz-accent   : #8b5cf6;
  --assign-accent : #f59e0b;
  --video-accent  : #ef4444;

  /* Typographie */
  --text-xs  : 0.75rem;
  --text-sm  : 0.875rem;
  --text-base: 1rem;
  --text-lg  : 1.125rem;
  --text-xl  : 1.375rem;
  --text-2xl : 1.75rem;
  --text-3xl : 2.25rem;
  --text-4xl : 3rem;
  --text-5xl : 4rem;

  /* Espacement */
  --sp-1 : 0.25rem;
  --sp-2 : 0.5rem;
  --sp-3 : 0.75rem;
  --sp-4 : 1rem;
  --sp-5 : 1.25rem;
  --sp-6 : 1.5rem;
  --sp-8 : 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Rayons */
  --r-xs  : 4px;
  --r-sm  : 6px;
  --r-md  : 10px;
  --r-lg  : 16px;
  --r-xl  : 20px;
  --r-2xl : 28px;
  --r-pill: 9999px;

  /* Ombres */
  --sh-sm : 0 1px 4px rgba(0,0,0,.4);
  --sh-md : 0 4px 20px rgba(0,0,0,.5);
  --sh-lg : 0 12px 48px rgba(0,0,0,.6);
  --sh-jade: 0 8px 32px rgba(16, 185, 129, .20);
  --sh-zoom: 0 8px 32px rgba(45, 140, 255, .25);

  /* Transitions */
  --ease-out   : cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast   : 150ms;
  --dur-base   : 260ms;
  --dur-slow   : 400ms;
}

/* ─────────────────────────────────────────
   RESET + BASE
   ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin    : 0;
  padding   : 0;
}

html {
  font-size     : 16px;
  scroll-behavior: smooth;
  color-scheme  : dark;
}

body {
  font-family             : var(--font-body);
  font-size               : var(--text-base);
  font-weight             : 400;
  line-height             : 1.7;
  color                   : var(--text-primary);
  background              : var(--bg-base);
  -webkit-font-smoothing  : antialiased;
  -moz-osx-font-smoothing : grayscale;
  min-height              : 100vh;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* Scrollbar personnalisée */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--border-hi); }

/* ─────────────────────────────────────────
   TYPOGRAPHIE
   ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family  : var(--font-display);
  font-weight  : 700;
  line-height  : 1.15;
  color        : var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); font-weight: 800; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 600; }
h6 { font-size: var(--text-base); font-family: var(--font-body); font-weight: 600; }

p { margin-bottom: var(--sp-4); color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size  : var(--text-xl);
  font-weight: 300;
  color      : var(--text-secondary);
  line-height: 1.65;
}

.eyebrow {
  font-family   : var(--font-mono);
  font-size     : var(--text-xs);
  font-weight   : 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color         : var(--jade);
}

.display-title {
  font-family : var(--font-display);
  font-size   : clamp(2.5rem, 7vw, 5rem);
  font-weight : 800;
  line-height : 1.0;
  letter-spacing: -0.03em;
}

/* Gradient texte */
.text-gradient {
  background             : linear-gradient(135deg, var(--jade-light) 0%, var(--jade) 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip        : text;
}

code, kbd, pre {
  font-family: var(--font-mono);
  font-size  : .9em;
}

code {
  background   : var(--bg-elevated);
  color        : var(--jade-light);
  padding      : 2px 7px;
  border-radius: var(--r-xs);
  border       : 1px solid var(--border);
}

/* ─────────────────────────────────────────
   MISE EN PAGE
   ───────────────────────────────────────── */
.container {
  width  : min(100%, 1200px);
  margin : 0 auto;
  padding: 0 var(--sp-6);
}

.container--narrow {
  width  : min(100%, 760px);
  margin : 0 auto;
  padding: 0 var(--sp-6);
}

.container--wide {
  width  : min(100%, 1440px);
  margin : 0 auto;
  padding: 0 var(--sp-6);
}

.section         { padding: var(--sp-20) 0; }
.section--sm     { padding: var(--sp-12) 0; }
.section--lg     { padding: var(--sp-24) 0; }

/* Séparateur décoratif */
.divider {
  height    : 1px;
  background: var(--border);
  border    : none;
  margin    : var(--sp-8) 0;
}

/* ─────────────────────────────────────────
   EN-TÊTE DE SITE
   ───────────────────────────────────────── */
.site-header {
  position        : sticky;
  top             : 0;
  z-index         : 200;
  background      : var(--bg-overlay);
  backdrop-filter : blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom   : 1px solid var(--border);
  transition      : border-color var(--dur-base);
}

.site-header__inner {
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  height         : 68px;
  gap            : var(--sp-6);
}

.site-logo {
  font-family   : var(--font-display);
  font-size     : var(--text-xl);
  font-weight   : 800;
  color         : var(--text-primary);
  letter-spacing: -0.03em;
  flex-shrink   : 0;
  display       : flex;
  align-items   : center;
  gap           : 10px;
}

.site-logo__icon {
  width           : 32px;
  height          : 32px;
  background      : var(--jade);
  border-radius   : var(--r-sm);
  display         : flex;
  align-items     : center;
  justify-content : center;
  font-size       : 16px;
  color           : var(--text-inverse);
}

/* Nav */
.site-nav {
  display    : flex;
  align-items: center;
  gap        : var(--sp-1);
  flex       : 1;
  justify-content: center;
}

.site-nav a {
  font-size    : var(--text-sm);
  font-weight  : 500;
  color        : var(--text-secondary);
  padding      : var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  transition   : color var(--dur-fast), background var(--dur-fast);
}

.site-nav a:hover, .site-nav a.current-menu-item {
  color     : var(--text-primary);
  background: var(--bg-raised);
}

.site-nav a.current-menu-item { color: var(--jade); }

.header-actions {
  display    : flex;
  align-items: center;
  gap        : var(--sp-3);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   BOUTONS
   ───────────────────────────────────────── */
.btn {
  display        : inline-flex;
  align-items    : center;
  justify-content: center;
  gap            : var(--sp-2);
  padding        : 10px 20px;
  border-radius  : var(--r-md);
  font-family    : var(--font-body);
  font-size      : var(--text-sm);
  font-weight    : 500;
  line-height    : 1;
  border         : 1px solid transparent;
  transition     : background var(--dur-fast), color var(--dur-fast),
                   border-color var(--dur-fast), transform var(--dur-fast),
                   box-shadow var(--dur-fast);
  white-space    : nowrap;
  cursor         : pointer;
  text-decoration: none;
  letter-spacing : 0.005em;
}

.btn:active { transform: scale(0.97); }

/* Jade (primaire) */
.btn--primary {
  background  : var(--jade);
  color       : var(--text-inverse);
  border-color: var(--jade);
}
.btn--primary:hover {
  background  : var(--jade-light);
  border-color: var(--jade-light);
  box-shadow  : var(--sh-jade);
  color       : var(--text-inverse);
}

/* Secondaire */
.btn--secondary {
  background  : var(--bg-raised);
  color       : var(--text-primary);
  border-color: var(--border-mid);
}
.btn--secondary:hover {
  background  : var(--bg-elevated);
  border-color: var(--border-hi);
  color       : var(--text-primary);
}

/* Ghost */
.btn--ghost {
  background  : transparent;
  color       : var(--text-secondary);
  border-color: transparent;
}
.btn--ghost:hover {
  background: var(--bg-raised);
  color     : var(--text-primary);
}

/* Contour */
.btn--outline {
  background  : transparent;
  color       : var(--jade);
  border-color: var(--jade);
}
.btn--outline:hover {
  background: var(--jade-dim);
  color     : var(--jade-light);
}

/* Zoom */
.btn--zoom {
  background  : var(--zoom);
  color       : #fff;
  border-color: var(--zoom);
}
.btn--zoom:hover {
  background  : var(--zoom-dark);
  border-color: var(--zoom-dark);
  box-shadow  : var(--sh-zoom);
  color       : #fff;
}

/* Danger */
.btn--danger {
  background  : rgba(239,68,68,.15);
  color       : #ef4444;
  border-color: rgba(239,68,68,.3);
}
.btn--danger:hover {
  background  : rgba(239,68,68,.25);
  border-color: #ef4444;
}

/* Tailles */
.btn--xs  { padding: 5px 12px; font-size: var(--text-xs); border-radius: var(--r-sm); }
.btn--sm  { padding: 7px 16px; font-size: var(--text-xs); }
.btn--lg  { padding: 14px 28px; font-size: var(--text-base); border-radius: var(--r-lg); }
.btn--xl  { padding: 17px 36px; font-size: var(--text-lg); border-radius: var(--r-lg); }
.btn--full{ width: 100%; }

/* Bouton icône */
.btn--icon {
  padding: 8px;
  width  : 36px;
  height : 36px;
}

/* ─────────────────────────────────────────
   BADGES
   ───────────────────────────────────────── */
.badge {
  display      : inline-flex;
  align-items  : center;
  gap          : 5px;
  padding      : 3px 9px;
  border-radius: var(--r-pill);
  font-family  : var(--font-mono);
  font-size    : 11px;
  font-weight  : 500;
  letter-spacing: 0.04em;
  line-height  : 1.5;
  white-space  : nowrap;
  border       : 1px solid transparent;
}

.badge--default { background: var(--bg-elevated); color: var(--text-secondary); border-color: var(--border); }
.badge--jade    { background: var(--jade-dim);    color: var(--jade-light);      border-color: rgba(16,185,129,.25); }
.badge--zoom    { background: var(--zoom-dim);    color: var(--zoom);            border-color: rgba(45,140,255,.25); }
.badge--success { background: rgba(16,185,129,.1); color: var(--jade-light);    border-color: rgba(16,185,129,.2); }
.badge--warning { background: rgba(245,158,11,.1); color: #fbbf24;              border-color: rgba(245,158,11,.25); }
.badge--danger  { background: rgba(239,68,68,.1);  color: #fca5a5;              border-color: rgba(239,68,68,.2); }
.badge--quiz    { background: rgba(139,92,246,.12); color: #a78bfa;             border-color: rgba(139,92,246,.25); }
.badge--assign  { background: rgba(245,158,11,.12); color: #fbbf24;             border-color: rgba(245,158,11,.25); }
.badge--video   { background: rgba(239,68,68,.12);  color: #fca5a5;             border-color: rgba(239,68,68,.25); }
.badge--free    { background: var(--jade);          color: var(--text-inverse);  }
.badge--new     { background: var(--zoom);          color: #fff; }
.badge--pro     {
  background  : linear-gradient(135deg, #f59e0b, #ef4444);
  color       : #fff;
  border-color: transparent;
}

/* Niveau */
.badge--level-debutant    { background: rgba(16,185,129,.1);  color: var(--jade-light); border-color: rgba(16,185,129,.2); }
.badge--level-intermediaire{ background: rgba(245,158,11,.1); color: #fbbf24;            border-color: rgba(245,158,11,.2); }
.badge--level-avance       { background: rgba(239,68,68,.1);  color: #fca5a5;            border-color: rgba(239,68,68,.2); }

/* ─────────────────────────────────────────
   CARTE DE COURS
   ───────────────────────────────────────── */
.course-card {
  background    : var(--bg-surface);
  border-radius : var(--r-xl);
  border        : 1px solid var(--border);
  overflow      : hidden;
  display       : flex;
  flex-direction: column;
  transition    : border-color var(--dur-base) var(--ease-out),
                  transform    var(--dur-base) var(--ease-out),
                  box-shadow   var(--dur-base) var(--ease-out);
  position      : relative;
}

.course-card:hover {
  border-color: var(--border-mid);
  transform   : translateY(-4px);
  box-shadow  : var(--sh-lg);
}

/* Barre de progression en haut de carte */
.course-card__progress-bar {
  height    : 3px;
  background: var(--bg-elevated);
  position  : relative;
  overflow  : hidden;
}

.course-card__progress-fill {
  position  : absolute;
  left      : 0;
  top       : 0;
  height    : 100%;
  background: linear-gradient(90deg, var(--jade), var(--jade-light));
  transition: width var(--dur-slow) var(--ease-out);
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
}

/* Miniature */
.course-card__thumb {
  position     : relative;
  aspect-ratio : 16 / 9;
  overflow     : hidden;
  background   : var(--bg-raised);
  flex-shrink  : 0;
}

.course-card__thumb img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.course-card:hover .course-card__thumb img { transform: scale(1.05); }

.course-card__thumb-overlay {
  position  : absolute;
  inset     : 0;
  background: linear-gradient(to top, rgba(11,15,26,.7) 0%, transparent 50%);
}

/* Bouton play sur la miniature */
.course-card__play {
  position      : absolute;
  top           : 50%;
  left          : 50%;
  transform     : translate(-50%, -50%) scale(0.85);
  width         : 52px;
  height        : 52px;
  border-radius : 50%;
  background    : rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border        : 1px solid rgba(255,255,255,.25);
  display       : flex;
  align-items   : center;
  justify-content: center;
  opacity       : 0;
  transition    : opacity var(--dur-base), transform var(--dur-base) var(--ease-spring);
}

.course-card__play svg { width: 20px; color: #fff; margin-left: 3px; }

.course-card:hover .course-card__play {
  opacity  : 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Badges superposés */
.course-card__badges {
  position: absolute;
  top     : var(--sp-3);
  left    : var(--sp-3);
  display : flex;
  gap     : 6px;
  z-index : 2;
}

.course-card__duration {
  position    : absolute;
  bottom      : var(--sp-3);
  right       : var(--sp-3);
  font-family : var(--font-mono);
  font-size   : var(--text-xs);
  color       : rgba(255,255,255,.85);
  background  : rgba(11,15,26,.6);
  backdrop-filter: blur(4px);
  padding     : 3px 8px;
  border-radius: var(--r-xs);
  z-index     : 2;
}

/* Corps */
.course-card__body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap   : var(--sp-3);
  flex  : 1;
}

.course-card__category {
  font-family   : var(--font-mono);
  font-size     : var(--text-xs);
  font-weight   : 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color         : var(--jade);
}

.course-card__title {
  font-family: var(--font-display);
  font-size  : var(--text-xl);
  font-weight: 700;
  color      : var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition : color var(--dur-fast);
}

.course-card:hover .course-card__title { color: var(--jade-light); }

.course-card__excerpt {
  font-size  : var(--text-sm);
  color      : var(--text-secondary);
  line-height: 1.65;
  display    : -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow   : hidden;
}

/* Formateur */
.course-card__instructor {
  display    : flex;
  align-items: center;
  gap        : 10px;
  margin-top : auto;
  padding-top: var(--sp-4);
  border-top : 1px solid var(--border);
}

.course-card__avatar {
  width        : 30px;
  height       : 30px;
  border-radius: 50%;
  background   : var(--bg-elevated);
  overflow     : hidden;
  flex-shrink  : 0;
  border       : 1px solid var(--border);
}

.course-card__avatar img { width: 100%; height: 100%; object-fit: cover; }

.course-card__instructor-name {
  font-size  : var(--text-xs);
  font-weight: 500;
  color      : var(--text-secondary);
}

.course-card__rating {
  margin-left: auto;
  display    : flex;
  align-items: center;
  gap        : 4px;
  font-family: var(--font-mono);
  font-size  : var(--text-xs);
  color      : #fbbf24;
}

/* Méta */
.course-card__meta {
  display  : flex;
  flex-wrap: wrap;
  gap      : var(--sp-4);
}

.course-meta-item {
  display    : flex;
  align-items: center;
  gap        : 5px;
  font-family: var(--font-mono);
  font-size  : var(--text-xs);
  color      : var(--text-tertiary);
}

.course-meta-item svg { width: 13px; flex-shrink: 0; }

/* Pied de carte */
.course-card__footer {
  padding    : var(--sp-4) var(--sp-6);
  border-top : 1px solid var(--border);
  display    : flex;
  align-items: center;
  justify-content: space-between;
  gap        : var(--sp-3);
  background : var(--bg-raised);
}

.course-card__price {
  font-family: var(--font-display);
  font-size  : var(--text-2xl);
  font-weight: 700;
  color      : var(--text-primary);
  letter-spacing: -0.02em;
}

.course-card__price--free { color: var(--jade); }

.course-card__price small {
  font-family: var(--font-body);
  font-size  : var(--text-xs);
  font-weight: 400;
  color      : var(--text-tertiary);
  text-decoration: line-through;
  margin-left: 4px;
}

/* ─────────────────────────────────────────
   CARTE COURS — VARIANTE HORIZONTALE
   ───────────────────────────────────────── */
.course-card--horizontal {
  flex-direction: row;
}

.course-card--horizontal .course-card__thumb {
  width       : 260px;
  flex-shrink : 0;
  aspect-ratio: unset;
}

.course-card--horizontal .course-card__body {
  padding: var(--sp-6);
}

/* ─────────────────────────────────────────
   CARTE COURS — VARIANTE COMPACTE
   ───────────────────────────────────────── */
.course-card--compact {
  flex-direction: row;
  border-radius : var(--r-lg);
  padding       : var(--sp-4) var(--sp-5);
  gap           : var(--sp-4);
  align-items   : center;
}

.course-card--compact .course-card__thumb {
  width        : 76px;
  height       : 56px;
  border-radius: var(--r-md);
  flex-shrink  : 0;
  aspect-ratio : unset;
}

.course-card--compact .course-card__body {
  padding: 0;
  gap    : 4px;
}

.course-card--compact .course-card__title { font-size: var(--text-base); }

/* ─────────────────────────────────────────
   GRILLE DE COURS
   ───────────────────────────────────────── */
.courses-grid {
  display              : grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap                  : var(--sp-6);
}

.courses-grid--3col { grid-template-columns: repeat(3, 1fr); }
.courses-grid--2col { grid-template-columns: repeat(2, 1fr); }

.courses-list {
  display       : flex;
  flex-direction: column;
  gap           : var(--sp-4);
}

/* ─────────────────────────────────────────
   HÉROS FORMATION
   ───────────────────────────────────────── */
.formation-hero {
  position   : relative;
  overflow   : hidden;
  padding    : var(--sp-24) 0;
  background : var(--bg-base);
}

/* Grille décorative en arrière-plan */
.formation-hero::before {
  content      : '';
  position     : absolute;
  inset        : 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image   : radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
  pointer-events: none;
}

/* Halo jade */
.formation-hero::after {
  content       : '';
  position      : absolute;
  top           : -20%;
  left          : 50%;
  transform     : translateX(-50%);
  width         : 800px;
  height        : 400px;
  border-radius : 50%;
  background    : radial-gradient(ellipse, rgba(16,185,129,.12) 0%, transparent 70%);
  pointer-events: none;
}

.formation-hero__content {
  position  : relative;
  z-index   : 1;
  text-align: center;
  max-width : 760px;
  margin    : 0 auto;
}

.formation-hero__eyebrow {
  margin-bottom : var(--sp-4);
  display       : inline-flex;
  align-items   : center;
  gap           : var(--sp-3);
  background    : var(--bg-surface);
  border        : 1px solid var(--border-mid);
  padding       : 6px 14px;
  border-radius : var(--r-pill);
}

.formation-hero__title {
  font-size    : clamp(2.5rem, 6vw, 4.5rem);
  font-weight  : 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
  line-height  : 1.05;
}

.formation-hero__subtitle {
  font-size    : var(--text-xl);
  font-weight  : 300;
  color        : var(--text-secondary);
  max-width    : 560px;
  margin       : 0 auto var(--sp-10);
  line-height  : 1.65;
}

.formation-hero__actions {
  display        : flex;
  justify-content: center;
  flex-wrap      : wrap;
  gap            : var(--sp-3);
  margin-bottom  : var(--sp-12);
}

.formation-hero__trust {
  display        : flex;
  justify-content: center;
  align-items    : center;
  gap            : var(--sp-6);
  font-family    : var(--font-mono);
  font-size      : var(--text-xs);
  color          : var(--text-tertiary);
}

.formation-hero__trust-item {
  display    : flex;
  align-items: center;
  gap        : 6px;
}

.formation-hero__trust-item svg { width: 14px; color: var(--jade); }

/* ─────────────────────────────────────────
   PAGE DE COURS SINGULIÈRE
   ───────────────────────────────────────── */
.course-single {
  display              : grid;
  grid-template-columns: 1fr 380px;
  gap                  : var(--sp-10);
  align-items          : start;
  padding-top          : var(--sp-10);
}

/* Sidebar d'achat */
.course-purchase-box {
  background   : var(--bg-surface);
  border-radius: var(--r-2xl);
  border       : 1px solid var(--border);
  overflow     : hidden;
  position     : sticky;
  top          : calc(68px + var(--sp-6));
  box-shadow   : var(--sh-md);
}

.course-purchase-box__preview {
  position    : relative;
  aspect-ratio: 16 / 9;
  background  : var(--bg-raised);
  overflow    : hidden;
}

.course-purchase-box__preview img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
  opacity   : .7;
}

.course-purchase-box__play-btn {
  position      : absolute;
  inset         : 0;
  display       : flex;
  align-items   : center;
  justify-content: center;
  cursor        : pointer;
}

.course-purchase-box__play-btn span {
  width        : 64px;
  height       : 64px;
  border-radius: 50%;
  background   : var(--jade);
  display      : flex;
  align-items  : center;
  justify-content: center;
  box-shadow   : var(--sh-jade);
  transition   : transform var(--dur-base) var(--ease-spring);
}

.course-purchase-box__play-btn:hover span { transform: scale(1.1); }
.course-purchase-box__play-btn svg { width: 24px; color: var(--text-inverse); margin-left: 3px; }

.course-purchase-box__body {
  padding: var(--sp-6);
}

.course-purchase-box__price {
  display    : flex;
  align-items: baseline;
  gap        : var(--sp-3);
  margin-bottom: var(--sp-6);
}

.price-current {
  font-family  : var(--font-display);
  font-size    : var(--text-4xl);
  font-weight  : 800;
  color        : var(--text-primary);
  letter-spacing: -0.03em;
  line-height  : 1;
}

.price-original {
  font-size      : var(--text-lg);
  color          : var(--text-tertiary);
  text-decoration: line-through;
}

.price-discount {
  font-family: var(--font-mono);
  font-size  : var(--text-xs);
  color      : var(--jade);
  background : var(--jade-dim);
  padding    : 3px 8px;
  border-radius: var(--r-pill);
}

.course-purchase-box .btn { width: 100%; }
.course-purchase-box .btn + .btn { margin-top: var(--sp-3); }

.course-purchase-includes {
  margin   : var(--sp-6) 0 0;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}

.course-purchase-includes h6 {
  font-family   : var(--font-mono);
  font-size     : var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color         : var(--text-tertiary);
  margin-bottom : var(--sp-4);
}

.course-includes-list {
  display       : flex;
  flex-direction: column;
  gap           : var(--sp-3);
}

.course-include-item {
  display    : flex;
  align-items: center;
  gap        : var(--sp-3);
  font-size  : var(--text-sm);
  color      : var(--text-secondary);
}

.course-include-item svg { width: 16px; color: var(--jade); flex-shrink: 0; }

/* Garantie */
.course-guarantee {
  text-align: center;
  font-size : var(--text-xs);
  color     : var(--text-tertiary);
  margin-top: var(--sp-5);
  display   : flex;
  align-items: center;
  justify-content: center;
  gap       : 6px;
}

.course-guarantee svg { width: 14px; }

/* ─────────────────────────────────────────
   CURRICULUM / PLAN DU COURS
   ───────────────────────────────────────── */
.curriculum {
  background   : var(--bg-surface);
  border-radius: var(--r-xl);
  border       : 1px solid var(--border);
  overflow     : hidden;
}

.curriculum__header {
  padding       : var(--sp-6);
  border-bottom : 1px solid var(--border);
  display       : flex;
  align-items   : center;
  justify-content: space-between;
}

.curriculum__header h3 {
  font-size: var(--text-xl);
}

.curriculum__stats {
  font-family: var(--font-mono);
  font-size  : var(--text-xs);
  color      : var(--text-tertiary);
  display    : flex;
  gap        : var(--sp-4);
}

/* Section du curriculum */
.curriculum-section {
  border-bottom: 1px solid var(--border);
}

.curriculum-section:last-child { border-bottom: none; }

.curriculum-section__header {
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  padding        : var(--sp-5) var(--sp-6);
  cursor         : pointer;
  transition     : background var(--dur-fast);
  gap            : var(--sp-4);
  user-select    : none;
}

.curriculum-section__header:hover { background: var(--bg-raised); }

.curriculum-section__title {
  font-family  : var(--font-display);
  font-size    : var(--text-base);
  font-weight  : 700;
  color        : var(--text-primary);
  flex         : 1;
}

.curriculum-section__meta {
  font-family: var(--font-mono);
  font-size  : var(--text-xs);
  color      : var(--text-tertiary);
  white-space: nowrap;
}

.curriculum-section__toggle {
  width     : 20px;
  height    : 20px;
  flex-shrink: 0;
  color     : var(--text-tertiary);
  transition: transform var(--dur-base) var(--ease-out);
}

.curriculum-section.is-open .curriculum-section__toggle {
  transform: rotate(180deg);
}

/* Leçons dans une section */
.curriculum-lessons {
  border-top: 1px solid var(--border);
  overflow   : hidden;
}

.curriculum-lesson {
  display    : flex;
  align-items: center;
  gap        : var(--sp-4);
  padding    : var(--sp-4) var(--sp-6);
  border-bottom: 1px solid var(--border);
  transition : background var(--dur-fast);
  position   : relative;
}

.curriculum-lesson:last-child { border-bottom: none; }

.curriculum-lesson:hover { background: var(--bg-raised); }

.curriculum-lesson.is-completed::before {
  content   : '';
  position  : absolute;
  left      : 0;
  top       : 0;
  bottom    : 0;
  width     : 2px;
  background: var(--jade);
}

.curriculum-lesson.is-active {
  background: rgba(16, 185, 129, .05);
}

.curriculum-lesson.is-active::before {
  content   : '';
  position  : absolute;
  left      : 0;
  top       : 0;
  bottom    : 0;
  width     : 3px;
  background: var(--jade);
}

.lesson-icon {
  width       : 32px;
  height      : 32px;
  border-radius: var(--r-sm);
  display     : flex;
  align-items : center;
  justify-content: center;
  flex-shrink : 0;
  border      : 1px solid var(--border);
}

.lesson-icon--video   { background: rgba(239,68,68,.1);    border-color: rgba(239,68,68,.2); }
.lesson-icon--quiz    { background: rgba(139,92,246,.1);   border-color: rgba(139,92,246,.2); }
.lesson-icon--assign  { background: rgba(245,158,11,.1);   border-color: rgba(245,158,11,.2); }
.lesson-icon--text    { background: rgba(59,130,246,.1);   border-color: rgba(59,130,246,.2); }
.lesson-icon--zoom    { background: var(--zoom-dim);       border-color: rgba(45,140,255,.2); }

.lesson-icon svg { width: 15px; }
.lesson-icon--video   svg { color: #ef4444; }
.lesson-icon--quiz    svg { color: #8b5cf6; }
.lesson-icon--assign  svg { color: #f59e0b; }
.lesson-icon--text    svg { color: #60a5fa; }
.lesson-icon--zoom    svg { color: var(--zoom); }

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

.lesson-info__title {
  font-size  : var(--text-sm);
  font-weight: 500;
  color      : var(--text-primary);
  white-space: nowrap;
  overflow   : hidden;
  text-overflow: ellipsis;
}

.is-completed .lesson-info__title { color: var(--text-secondary); }

.lesson-info__meta {
  font-family: var(--font-mono);
  font-size  : var(--text-xs);
  color      : var(--text-tertiary);
  margin-top : 2px;
}

.lesson-check {
  width        : 18px;
  height       : 18px;
  border-radius: 50%;
  border       : 1.5px solid var(--border-mid);
  flex-shrink  : 0;
  display      : flex;
  align-items  : center;
  justify-content: center;
  transition   : border-color var(--dur-fast), background var(--dur-fast);
}

.is-completed .lesson-check {
  background  : var(--jade);
  border-color: var(--jade);
}

.is-completed .lesson-check svg { width: 10px; color: var(--text-inverse); }

.lesson-lock {
  width    : 14px;
  color    : var(--text-tertiary);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   LECTEUR VIDÉO (ZONE)
   ───────────────────────────────────────── */
.video-player-zone {
  background   : #000;
  border-radius: var(--r-xl);
  overflow     : hidden;
  position     : relative;
  aspect-ratio : 16 / 9;
  box-shadow   : var(--sh-lg);
}

.video-player-zone iframe,
.video-player-zone video {
  width    : 100%;
  height   : 100%;
  border   : none;
  display  : block;
}

/* Overlay avant lecture */
.video-overlay {
  position      : absolute;
  inset         : 0;
  background    : rgba(11,15,26,.6);
  display       : flex;
  align-items   : center;
  justify-content: center;
  flex-direction : column;
  gap            : var(--sp-4);
  cursor         : pointer;
  transition     : background var(--dur-base);
}

.video-overlay:hover { background: rgba(11,15,26,.4); }

.video-overlay__play {
  width        : 80px;
  height       : 80px;
  border-radius: 50%;
  background   : var(--jade);
  display      : flex;
  align-items  : center;
  justify-content: center;
  box-shadow   : var(--sh-jade);
  transition   : transform var(--dur-base) var(--ease-spring);
}

.video-overlay:hover .video-overlay__play { transform: scale(1.08); }

.video-overlay__play svg { width: 28px; color: var(--text-inverse); margin-left: 4px; }

.video-overlay__title {
  font-family: var(--font-display);
  font-size  : var(--text-lg);
  font-weight: 700;
  color      : var(--text-primary);
  text-align : center;
  padding    : 0 var(--sp-6);
}

/* ─────────────────────────────────────────
   TABLEAU DE BORD APPRENANT
   ───────────────────────────────────────── */
.learner-dashboard {
  display              : grid;
  grid-template-columns: 260px 1fr;
  gap                  : 0;
  min-height           : calc(100vh - 68px);
}

/* Sidebar du dashboard */
.dashboard-sidebar {
  background   : var(--bg-surface);
  border-right : 1px solid var(--border);
  padding      : var(--sp-6) 0;
  position     : sticky;
  top          : 68px;
  height       : calc(100vh - 68px);
  overflow-y   : auto;
  flex-shrink  : 0;
}

.dashboard-sidebar__user {
  padding      : 0 var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-4);
  display      : flex;
  align-items  : center;
  gap          : var(--sp-3);
}

.dashboard-sidebar__avatar {
  width        : 42px;
  height       : 42px;
  border-radius: 50%;
  overflow     : hidden;
  background   : var(--bg-elevated);
  flex-shrink  : 0;
  border       : 2px solid var(--jade);
  box-shadow   : 0 0 0 3px var(--jade-dim);
}

.dashboard-sidebar__avatar img { width: 100%; height: 100%; object-fit: cover; }

.dashboard-sidebar__name {
  font-weight: 600;
  font-size  : var(--text-sm);
  color      : var(--text-primary);
}

.dashboard-sidebar__role {
  font-family: var(--font-mono);
  font-size  : var(--text-xs);
  color      : var(--jade);
}

/* Liens de navigation du dashboard */
.dashboard-nav__label {
  font-family   : var(--font-mono);
  font-size     : 10px;
  font-weight   : 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color         : var(--text-tertiary);
  padding       : 0 var(--sp-5);
  margin-bottom : var(--sp-2);
  margin-top    : var(--sp-4);
}

.dashboard-nav__link {
  display    : flex;
  align-items: center;
  gap        : var(--sp-3);
  padding    : 9px var(--sp-5);
  font-size  : var(--text-sm);
  font-weight: 400;
  color      : var(--text-secondary);
  transition : background var(--dur-fast), color var(--dur-fast);
  border-right: 2px solid transparent;
  position   : relative;
}

.dashboard-nav__link:hover {
  background: var(--bg-raised);
  color     : var(--text-primary);
}

.dashboard-nav__link.is-active {
  background  : rgba(16,185,129,.06);
  color       : var(--jade-light);
  border-right-color: var(--jade);
}

.dashboard-nav__link svg { width: 18px; flex-shrink: 0; }

.dashboard-nav__badge {
  margin-left  : auto;
  font-family  : var(--font-mono);
  font-size    : 10px;
  font-weight  : 500;
  background   : var(--jade-dim);
  color        : var(--jade-light);
  padding      : 1px 6px;
  border-radius: var(--r-pill);
}

/* Contenu principal du dashboard */
.dashboard-main {
  padding    : var(--sp-8);
  overflow-x : hidden;
}

/* ─────────────────────────────────────────
   STATISTIQUES DU DASHBOARD
   ───────────────────────────────────────── */
.dashboard-stats {
  display              : grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap                  : var(--sp-4);
  margin-bottom        : var(--sp-8);
}

.stat-card {
  background   : var(--bg-surface);
  border-radius: var(--r-lg);
  border       : 1px solid var(--border);
  padding      : var(--sp-5) var(--sp-6);
  display      : flex;
  flex-direction: column;
  gap          : var(--sp-3);
  transition   : border-color var(--dur-base);
}

.stat-card:hover { border-color: var(--border-mid); }

.stat-card__label {
  font-family   : var(--font-mono);
  font-size     : var(--text-xs);
  font-weight   : 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color         : var(--text-tertiary);
}

.stat-card__value {
  font-family  : var(--font-display);
  font-size    : var(--text-3xl);
  font-weight  : 800;
  color        : var(--text-primary);
  letter-spacing: -0.03em;
  line-height  : 1;
}

.stat-card__value--jade { color: var(--jade); }
.stat-card__value--zoom { color: var(--zoom); }

.stat-card__change {
  font-family: var(--font-mono);
  font-size  : var(--text-xs);
  color      : var(--jade);
  display    : flex;
  align-items: center;
  gap        : 4px;
}

.stat-card__change--down { color: var(--danger); }
.stat-card__change svg   { width: 12px; }

/* ─────────────────────────────────────────
   BARRE DE PROGRESSION
   ───────────────────────────────────────── */
.progress-bar {
  height    : 6px;
  background: var(--bg-elevated);
  border-radius: var(--r-pill);
  overflow  : hidden;
}

.progress-bar__fill {
  height       : 100%;
  background   : linear-gradient(90deg, var(--jade), var(--jade-light));
  border-radius: var(--r-pill);
  transition   : width var(--dur-slow) var(--ease-out);
  position     : relative;
}

.progress-bar__fill::after {
  content      : '';
  position     : absolute;
  top          : 0;
  right        : 0;
  bottom       : 0;
  width        : 20px;
  background   : linear-gradient(90deg, transparent, rgba(255,255,255,.3));
  border-radius: var(--r-pill);
}

.progress-bar--sm    { height: 3px; }
.progress-bar--md    { height: 8px; }
.progress-bar--lg    { height: 12px; }
.progress-bar--zoom  .progress-bar__fill { background: linear-gradient(90deg, var(--zoom), #60a5fa); }
.progress-bar--warn  .progress-bar__fill { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.progress-label {
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  margin-bottom  : var(--sp-2);
  font-family    : var(--font-mono);
  font-size      : var(--text-xs);
  color          : var(--text-secondary);
}

.progress-label span { color: var(--jade); font-weight: 500; }

/* ─────────────────────────────────────────
   QUIZ / ÉVALUATION
   ───────────────────────────────────────── */
.quiz-container {
  background   : var(--bg-surface);
  border-radius: var(--r-2xl);
  border       : 1px solid var(--border);
  overflow     : hidden;
  max-width    : 760px;
  margin       : 0 auto;
}

.quiz-header {
  background  : var(--bg-raised);
  padding     : var(--sp-6);
  border-bottom: 1px solid var(--border);
  display     : flex;
  align-items : center;
  justify-content: space-between;
}

.quiz-header__title {
  font-size: var(--text-xl);
}

.quiz-timer {
  font-family: var(--font-mono);
  font-size  : var(--text-xl);
  font-weight: 500;
  color      : var(--text-primary);
  background : var(--bg-elevated);
  padding    : var(--sp-2) var(--sp-4);
  border-radius: var(--r-md);
  border     : 1px solid var(--border);
}

.quiz-timer.is-warning { color: #f59e0b; border-color: rgba(245,158,11,.3); }
.quiz-timer.is-danger  { color: var(--danger); border-color: rgba(239,68,68,.3); animation: blink-danger 1s ease-in-out infinite; }

@keyframes blink-danger {
  0%, 100% { opacity: 1; }
  50%       { opacity: .5; }
}

.quiz-progress-strip {
  padding  : 0 var(--sp-6);
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.quiz-question {
  padding: var(--sp-8) var(--sp-8);
}

.question-num {
  font-family   : var(--font-mono);
  font-size     : var(--text-xs);
  color         : var(--text-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom : var(--sp-3);
}

.question-text {
  font-family: var(--font-display);
  font-size  : var(--text-xl);
  font-weight: 700;
  color      : var(--text-primary);
  margin-bottom: var(--sp-8);
  line-height : 1.4;
}

/* Options du quiz */
.quiz-options {
  display       : flex;
  flex-direction: column;
  gap           : var(--sp-3);
}

.quiz-option {
  display    : flex;
  align-items: center;
  gap        : var(--sp-4);
  padding    : var(--sp-4) var(--sp-5);
  background : var(--bg-raised);
  border     : 1.5px solid var(--border);
  border-radius: var(--r-lg);
  cursor     : pointer;
  transition : border-color var(--dur-fast), background var(--dur-fast);
  user-select: none;
}

.quiz-option:hover {
  border-color: var(--border-hi);
  background  : var(--bg-elevated);
}

.quiz-option.is-selected {
  border-color: var(--jade);
  background  : var(--jade-dim);
}

.quiz-option.is-correct   { border-color: var(--jade);   background: rgba(16,185,129,.1); }
.quiz-option.is-incorrect { border-color: var(--danger);  background: rgba(239,68,68,.1); }

.quiz-option__letter {
  width        : 30px;
  height       : 30px;
  border-radius: var(--r-sm);
  background   : var(--bg-elevated);
  border       : 1px solid var(--border);
  display      : flex;
  align-items  : center;
  justify-content: center;
  font-family  : var(--font-mono);
  font-size    : var(--text-xs);
  font-weight  : 500;
  color        : var(--text-secondary);
  flex-shrink  : 0;
  transition   : background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.is-selected .quiz-option__letter {
  background  : var(--jade);
  color       : var(--text-inverse);
  border-color: var(--jade);
}

.is-correct .quiz-option__letter   { background: var(--jade);   color: var(--text-inverse); border-color: var(--jade); }
.is-incorrect .quiz-option__letter { background: var(--danger);  color: #fff;                border-color: var(--danger); }

.quiz-option__text {
  font-size  : var(--text-base);
  color      : var(--text-secondary);
  flex       : 1;
}

.is-selected .quiz-option__text { color: var(--text-primary); }

/* Navigation du quiz */
.quiz-nav {
  display        : flex;
  justify-content: space-between;
  align-items    : center;
  padding        : var(--sp-6) var(--sp-8);
  border-top     : 1px solid var(--border);
  background     : var(--bg-raised);
}

/* Résultats du quiz */
.quiz-result {
  text-align: center;
  padding   : var(--sp-12);
}

.quiz-result__score {
  font-family  : var(--font-display);
  font-size    : clamp(4rem, 10vw, 7rem);
  font-weight  : 800;
  letter-spacing: -0.04em;
  line-height  : 1;
  margin-bottom: var(--sp-4);
}

.quiz-result__score--pass { color: var(--jade); }
.quiz-result__score--fail { color: var(--danger); }

/* ─────────────────────────────────────────
   CERTIFICAT
   ───────────────────────────────────────── */
.certificate-preview {
  background      : var(--bg-surface);
  border-radius   : var(--r-2xl);
  border          : 1px solid var(--border-mid);
  padding         : var(--sp-12) var(--sp-10);
  text-align      : center;
  position        : relative;
  overflow        : hidden;
  max-width       : 720px;
  margin          : 0 auto;
  box-shadow      : var(--sh-lg);
}

/* Coin décoratif */
.certificate-preview::before,
.certificate-preview::after {
  content  : '';
  position : absolute;
  width    : 160px;
  height   : 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--jade-dim), transparent);
}

.certificate-preview::before { top: -40px;  left: -40px; }
.certificate-preview::after  { bottom: -40px; right: -40px; }

.certificate-preview__border {
  position     : absolute;
  inset        : var(--sp-4);
  border       : 1px solid var(--border-mid);
  border-radius: var(--r-xl);
  pointer-events: none;
}

.certificate-preview__logo {
  width        : 60px;
  height       : 60px;
  border-radius: var(--r-lg);
  background   : var(--jade);
  display      : flex;
  align-items  : center;
  justify-content: center;
  margin       : 0 auto var(--sp-6);
  font-size    : 28px;
}

.certificate-preview__subtitle {
  font-family   : var(--font-mono);
  font-size     : var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color         : var(--text-tertiary);
  margin-bottom : var(--sp-4);
}

.certificate-preview__recipient {
  font-family  : var(--font-display);
  font-size    : clamp(2rem, 5vw, 3.5rem);
  font-weight  : 800;
  color        : var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}

.certificate-preview__course {
  font-size    : var(--text-lg);
  color        : var(--text-secondary);
  max-width    : 480px;
  margin       : 0 auto var(--sp-8);
  line-height  : 1.5;
}

.certificate-preview__date {
  font-family: var(--font-mono);
  font-size  : var(--text-xs);
  color      : var(--text-tertiary);
  margin-top : var(--sp-8);
}

/* ─────────────────────────────────────────
   PROFIL FORMATEUR
   ───────────────────────────────────────── */
.instructor-card {
  background   : var(--bg-surface);
  border-radius: var(--r-xl);
  border       : 1px solid var(--border);
  padding      : var(--sp-6);
  display      : flex;
  gap          : var(--sp-6);
  transition   : border-color var(--dur-base);
}

.instructor-card:hover { border-color: var(--border-mid); }

.instructor-card__avatar {
  width        : 80px;
  height       : 80px;
  border-radius: var(--r-lg);
  overflow     : hidden;
  flex-shrink  : 0;
  background   : var(--bg-elevated);
  border       : 1px solid var(--border);
}

.instructor-card__avatar img { width: 100%; height: 100%; object-fit: cover; }

.instructor-card__name {
  font-family: var(--font-display);
  font-size  : var(--text-xl);
  font-weight: 700;
  margin-bottom: 4px;
}

.instructor-card__title {
  font-family: var(--font-mono);
  font-size  : var(--text-xs);
  color      : var(--jade);
  margin-bottom: var(--sp-3);
}

.instructor-card__bio {
  font-size  : var(--text-sm);
  color      : var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}

.instructor-stats {
  display  : flex;
  flex-wrap: wrap;
  gap      : var(--sp-6);
}

.instructor-stat {
  text-align: center;
}

.instructor-stat__num {
  font-family  : var(--font-display);
  font-size    : var(--text-xl);
  font-weight  : 700;
  color        : var(--text-primary);
  display      : block;
  letter-spacing: -0.02em;
}

.instructor-stat__label {
  font-family: var(--font-mono);
  font-size  : var(--text-xs);
  color      : var(--text-tertiary);
}

/* ─────────────────────────────────────────
   BLOC ZOOM (session live)
   ───────────────────────────────────────── */
.zoom-live-banner {
  background   : var(--bg-surface);
  border-radius: var(--r-xl);
  border       : 1px solid var(--border);
  padding      : var(--sp-6);
  display      : flex;
  align-items  : center;
  gap          : var(--sp-6);
  position     : relative;
  overflow     : hidden;
}

/* Fil lumineux Zoom en arrière-plan */
.zoom-live-banner::before {
  content   : '';
  position  : absolute;
  top       : 0;
  left      : 0;
  right     : 0;
  height    : 2px;
  background: linear-gradient(90deg, transparent 0%, var(--zoom) 40%, var(--zoom) 60%, transparent 100%);
}

.zoom-live-banner__logo {
  width        : 52px;
  height       : 52px;
  border-radius: var(--r-md);
  background   : var(--zoom-dim);
  border       : 1px solid rgba(45,140,255,.25);
  display      : flex;
  align-items  : center;
  justify-content: center;
  flex-shrink  : 0;
}

.zoom-live-banner__logo svg { width: 26px; color: var(--zoom); }

.zoom-live-banner__info { flex: 1; }

.zoom-live-banner__title {
  font-family: var(--font-display);
  font-size  : var(--text-lg);
  font-weight: 700;
  margin-bottom: 4px;
}

.zoom-live-banner__date {
  font-family: var(--font-mono);
  font-size  : var(--text-xs);
  color      : var(--text-secondary);
}

/* Countdown */
.zoom-countdown {
  display    : flex;
  gap        : var(--sp-3);
  flex-shrink: 0;
}

.zoom-countdown__unit { text-align: center; }

.zoom-countdown__num {
  display          : block;
  font-family      : var(--font-mono);
  font-size        : var(--text-2xl);
  font-weight      : 500;
  color            : var(--text-primary);
  background       : var(--bg-raised);
  border           : 1px solid var(--border);
  border-radius    : var(--r-sm);
  padding          : 4px 10px;
  font-variant-numeric: tabular-nums;
  min-width        : 52px;
  line-height      : 1.5;
}

.zoom-countdown__label {
  display       : block;
  font-family   : var(--font-mono);
  font-size     : 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color         : var(--text-tertiary);
  margin-top    : 4px;
}

/* Bouton rejoindre Zoom pulsé */
.zoom-join-pill {
  display      : inline-flex;
  align-items  : center;
  gap          : var(--sp-2);
  background   : var(--zoom);
  color        : #fff;
  padding      : 10px 20px;
  border-radius: var(--r-pill);
  font-size    : var(--text-sm);
  font-weight  : 500;
  box-shadow   : var(--sh-zoom);
  transition   : background var(--dur-fast), transform var(--dur-fast);
  white-space  : nowrap;
  flex-shrink  : 0;
  animation    : zoomPulse 2.4s ease-in-out infinite;
}

@keyframes zoomPulse {
  0%, 100% { box-shadow: var(--sh-zoom); }
  50%       { box-shadow: 0 8px 40px rgba(45,140,255,.45); }
}

.zoom-join-pill:hover {
  background: var(--zoom-dark);
  transform : scale(1.03);
  color     : #fff;
}

.zoom-live-dot {
  width        : 8px;
  height       : 8px;
  border-radius: 50%;
  background   : #ef4444;
  animation    : livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

/* Grille de sessions Zoom */
.zoom-sessions-grid {
  display              : grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap                  : var(--sp-4);
}

.zoom-session-card {
  background   : var(--bg-surface);
  border-radius: var(--r-lg);
  border       : 1px solid var(--border);
  padding      : var(--sp-5);
  display      : flex;
  flex-direction: column;
  gap          : var(--sp-3);
  transition   : border-color var(--dur-base), transform var(--dur-base);
}

.zoom-session-card:hover {
  border-color: rgba(45,140,255,.3);
  transform   : translateY(-2px);
}

.zoom-session-card__date {
  font-family: var(--font-mono);
  font-size  : var(--text-xs);
  color      : var(--zoom);
}

.zoom-session-card__title {
  font-family: var(--font-display);
  font-size  : var(--text-base);
  font-weight: 700;
  color      : var(--text-primary);
  line-height: 1.3;
}

.zoom-session-card__host {
  display    : flex;
  align-items: center;
  gap        : 8px;
  font-size  : var(--text-xs);
  color      : var(--text-tertiary);
}

/* ─────────────────────────────────────────
   TUTOR LMS — SURCHARGES NATIVES
   ───────────────────────────────────────── */

/* Grille de cours Tutor */
.tutor-course-list .tutor-course-grid {
  display              : grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap                  : var(--sp-6) !important;
}

/* Carte Tutor */
.tutor-course-list .tutor-card,
.tutor-card {
  background   : var(--bg-surface) !important;
  border-radius: var(--r-xl) !important;
  border       : 1px solid var(--border) !important;
  overflow     : hidden !important;
  transition   : border-color var(--dur-base) var(--ease-out),
                 transform var(--dur-base) var(--ease-out),
                 box-shadow var(--dur-base) var(--ease-out) !important;
  box-shadow   : none !important;
}

.tutor-card:hover {
  border-color: var(--border-mid) !important;
  transform   : translateY(-4px) !important;
  box-shadow  : var(--sh-lg) !important;
}

.tutor-card .tutor-card-thumbnail img {
  transition: transform var(--dur-slow) var(--ease-out) !important;
}

.tutor-card:hover .tutor-card-thumbnail img {
  transform: scale(1.05) !important;
}

/* Titres dans Tutor */
.tutor-card .tutor-card-header .tutor-card-name,
.tutor-card h4.tutor-card-name {
  font-family  : var(--font-display) !important;
  font-size    : var(--text-lg) !important;
  font-weight  : 700 !important;
  color        : var(--text-primary) !important;
  letter-spacing: -0.01em !important;
  line-height  : 1.3 !important;
}

/* Prix dans Tutor */
.tutor-card .tutor-card-price,
.tutor-price-box {
  font-family  : var(--font-display) !important;
  font-size    : var(--text-xl) !important;
  font-weight  : 700 !important;
  color        : var(--text-primary) !important;
  letter-spacing: -0.02em !important;
}

.tutor-card .tutor-card-price .tutor-price-amount { color: var(--jade) !important; }

/* Auteur dans Tutor */
.tutor-card .tutor-card-author a { color: var(--text-secondary) !important; }
.tutor-card .tutor-card-author a:hover { color: var(--jade) !important; }

/* Étoiles */
.tutor-ratings-count, .tutor-card-rating {
  color: #fbbf24 !important;
}

/* Bouton Inscription Tutor */
.tutor-btn,
a.tutor-btn {
  display         : inline-flex !important;
  align-items     : center !important;
  justify-content : center !important;
  padding         : 10px 20px !important;
  border-radius   : var(--r-md) !important;
  font-family     : var(--font-body) !important;
  font-size       : var(--text-sm) !important;
  font-weight     : 500 !important;
  transition      : background var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast) !important;
  border          : 1px solid transparent !important;
  text-decoration : none !important;
}

.tutor-btn-primary,
a.tutor-btn-primary {
  background  : var(--jade) !important;
  color       : var(--text-inverse) !important;
  border-color: var(--jade) !important;
}

.tutor-btn-primary:hover,
a.tutor-btn-primary:hover {
  background  : var(--jade-light) !important;
  box-shadow  : var(--sh-jade) !important;
  color       : var(--text-inverse) !important;
}

.tutor-btn-secondary,
a.tutor-btn-secondary {
  background  : var(--bg-raised) !important;
  color       : var(--text-primary) !important;
  border-color: var(--border-mid) !important;
}

/* Curriculum / Table des matières Tutor */
.tutor-course-topics-wrapper { background: transparent !important; }

.tutor-course-topic {
  background   : var(--bg-surface) !important;
  border-radius: var(--r-lg) !important;
  border       : 1px solid var(--border) !important;
  margin-bottom: var(--sp-3) !important;
  overflow     : hidden !important;
}

.tutor-course-topic h5,
.tutor-course-topic .tutor-segment-header h5 {
  font-family: var(--font-display) !important;
  font-size  : var(--text-base) !important;
  font-weight: 700 !important;
  color      : var(--text-primary) !important;
  padding    : var(--sp-5) var(--sp-6) !important;
}

.tutor-course-topic-content ul li {
  border-top: 1px solid var(--border) !important;
  padding   : var(--sp-3) var(--sp-6) !important;
}

.tutor-course-topic-content ul li a { color: var(--text-secondary) !important; }
.tutor-course-topic-content ul li a:hover { color: var(--jade) !important; }
.tutor-course-topic-content ul li.is-complete a { color: var(--jade) !important; }

/* Dashboard Tutor */
.tutor-dashboard-nav a {
  color     : var(--text-secondary) !important;
  transition: color var(--dur-fast), background var(--dur-fast) !important;
  border-radius: var(--r-sm) !important;
}

.tutor-dashboard-nav a:hover,
.tutor-dashboard-nav a.tutor-is-active {
  color     : var(--jade) !important;
  background: var(--jade-dim) !important;
}

/* Quiz Tutor */
.tutor-quiz-attempts-num,
.tutor-quiz-action-btn {
  border-radius: var(--r-md) !important;
}

/* Tabs Tutor */
.tutor-tabs .tutor-tab-item a {
  font-family: var(--font-body) !important;
  font-size  : var(--text-sm) !important;
  color      : var(--text-secondary) !important;
  border-color: transparent !important;
}

.tutor-tabs .tutor-tab-item.tutor-is-active a,
.tutor-tabs .tutor-tab-item a:hover {
  color       : var(--jade) !important;
  border-color: var(--jade) !important;
}

/* ─────────────────────────────────────────
   FILTRES ET RECHERCHE
   ───────────────────────────────────────── */
.courses-filter-bar {
  display    : flex;
  align-items: center;
  flex-wrap  : wrap;
  gap        : var(--sp-3);
  margin-bottom: var(--sp-8);
  padding    : var(--sp-4) var(--sp-5);
  background : var(--bg-surface);
  border-radius: var(--r-lg);
  border     : 1px solid var(--border);
}

.filter-label {
  font-family   : var(--font-mono);
  font-size     : var(--text-xs);
  font-weight   : 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color         : var(--text-tertiary);
  flex-shrink   : 0;
}

.filter-group {
  display : flex;
  gap     : 6px;
  flex-wrap: wrap;
  flex    : 1;
}

.filter-chip {
  padding      : 5px 14px;
  border-radius: var(--r-pill);
  border       : 1px solid var(--border);
  background   : var(--bg-raised);
  font-family  : var(--font-mono);
  font-size    : var(--text-xs);
  color        : var(--text-secondary);
  cursor       : pointer;
  transition   : background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
  white-space  : nowrap;
}

.filter-chip:hover {
  background  : var(--bg-elevated);
  color       : var(--text-primary);
  border-color: var(--border-mid);
}

.filter-chip.is-active {
  background  : var(--jade-dim);
  color       : var(--jade-light);
  border-color: rgba(16,185,129,.3);
}

.courses-search {
  display    : flex;
  align-items: center;
  gap        : var(--sp-2);
  background : var(--bg-raised);
  border     : 1px solid var(--border);
  border-radius: var(--r-pill);
  padding    : 7px 14px;
  min-width  : 220px;
  transition : border-color var(--dur-fast);
}

.courses-search:focus-within {
  border-color: var(--jade);
  box-shadow  : 0 0 0 3px var(--jade-dim);
}

.courses-search svg   { width: 14px; color: var(--text-tertiary); flex-shrink: 0; }
.courses-search input {
  border    : none;
  background: transparent;
  outline   : none;
  font-size : var(--text-sm);
  color     : var(--text-primary);
  width     : 100%;
}

.courses-search input::placeholder { color: var(--text-tertiary); }

/* ─────────────────────────────────────────
   FORMULAIRES
   ───────────────────────────────────────── */
.form-group { margin-bottom: var(--sp-5); }

.form-group label {
  display      : block;
  font-family  : var(--font-mono);
  font-size    : var(--text-xs);
  font-weight  : 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color        : var(--text-secondary);
  margin-bottom: var(--sp-2);
}

.form-group label .req { color: var(--jade); }

.form-control {
  display      : block;
  width        : 100%;
  padding      : 11px 14px;
  border       : 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size    : var(--text-base);
  font-weight  : 400;
  color        : var(--text-primary);
  background   : var(--bg-raised);
  outline      : none;
  transition   : border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
  font-family  : var(--font-body);
}

.form-control::placeholder { color: var(--text-tertiary); }

.form-control:focus {
  border-color: var(--jade);
  box-shadow  : 0 0 0 4px var(--jade-dim);
  background  : var(--bg-elevated);
}

.form-control.is-error {
  border-color: var(--danger);
  box-shadow  : 0 0 0 4px rgba(239,68,68,.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap    : var(--sp-4);
}

.form-error {
  font-family: var(--font-mono);
  font-size  : var(--text-xs);
  color      : var(--danger);
  margin-top : var(--sp-2);
  display    : flex;
  align-items: center;
  gap        : 5px;
}

/* Checkbox / radio custom */
.form-check {
  display    : flex;
  align-items: flex-start;
  gap        : var(--sp-3);
  cursor     : pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width        : 18px;
  height       : 18px;
  border       : 1.5px solid var(--border-mid);
  border-radius: var(--r-xs);
  background   : var(--bg-raised);
  appearance   : none;
  cursor       : pointer;
  flex-shrink  : 0;
  margin-top   : 2px;
  transition   : border-color var(--dur-fast), background var(--dur-fast);
}

.form-check input[type="radio"] { border-radius: 50%; }

.form-check input[type="checkbox"]:checked,
.form-check input[type="radio"]:checked {
  background  : var(--jade);
  border-color: var(--jade);
}

.form-check label {
  font-size  : var(--text-sm);
  color      : var(--text-secondary);
  cursor     : pointer;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 400;
  margin-bottom: 0;
}

/* ─────────────────────────────────────────
   NOTIFICATIONS / ALERTES
   ───────────────────────────────────────── */
.alert {
  padding      : var(--sp-4) var(--sp-5);
  border-radius: var(--r-lg);
  font-size    : var(--text-sm);
  display      : flex;
  align-items  : flex-start;
  gap          : var(--sp-3);
  border       : 1px solid;
}

.alert--success { background: rgba(16,185,129,.08); color: var(--jade-light);  border-color: rgba(16,185,129,.2); }
.alert--warning { background: rgba(245,158,11,.08); color: #fbbf24;            border-color: rgba(245,158,11,.2); }
.alert--danger  { background: rgba(239,68,68,.08);  color: #fca5a5;            border-color: rgba(239,68,68,.2); }
.alert--info    { background: rgba(59,130,246,.08); color: #93c5fd;            border-color: rgba(59,130,246,.2); }
.alert--zoom    { background: var(--zoom-dim);      color: var(--zoom);        border-color: rgba(45,140,255,.2); }

.alert svg { width: 18px; flex-shrink: 0; margin-top: 1px; }

/* ─────────────────────────────────────────
   MODAL
   ───────────────────────────────────────── */
.modal-backdrop {
  position        : fixed;
  inset           : 0;
  background      : rgba(11,15,26,.85);
  backdrop-filter : blur(8px);
  z-index         : 500;
  display         : flex;
  align-items     : center;
  justify-content : center;
  padding         : var(--sp-6);
  animation       : fadeIn var(--dur-base) var(--ease-out);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal {
  background   : var(--bg-surface);
  border-radius: var(--r-2xl);
  border       : 1px solid var(--border-mid);
  width        : min(100%, 560px);
  max-height   : 90vh;
  overflow-y   : auto;
  box-shadow   : var(--sh-lg);
  animation    : slideUp var(--dur-base) var(--ease-out);
}

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

.modal__header {
  padding     : var(--sp-6);
  border-bottom: 1px solid var(--border);
  display     : flex;
  align-items : center;
  justify-content: space-between;
}

.modal__header h3 { font-size: var(--text-xl); }

.modal__close {
  width       : 32px;
  height      : 32px;
  border-radius: var(--r-sm);
  background  : var(--bg-raised);
  border      : 1px solid var(--border);
  display     : flex;
  align-items : center;
  justify-content: center;
  cursor      : pointer;
  color       : var(--text-secondary);
  transition  : background var(--dur-fast), color var(--dur-fast);
}

.modal__close:hover { background: var(--bg-elevated); color: var(--text-primary); }
.modal__close svg   { width: 16px; }
.modal__body        { padding: var(--sp-6); }
.modal__footer      { padding: var(--sp-5) var(--sp-6); border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: var(--sp-3); }

/* ─────────────────────────────────────────
   TABLEAU (classement, résultats)
   ───────────────────────────────────────── */
.data-table {
  width          : 100%;
  border-collapse: collapse;
  font-size      : var(--text-sm);
}

.data-table th {
  font-family   : var(--font-mono);
  font-size     : var(--text-xs);
  font-weight   : 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color         : var(--text-tertiary);
  padding       : var(--sp-3) var(--sp-5);
  text-align    : left;
  border-bottom : 1px solid var(--border);
  background    : var(--bg-raised);
}

.data-table td {
  padding    : var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border);
  color      : var(--text-secondary);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: var(--bg-raised); }

.data-table th:first-child { border-radius: var(--r-sm) 0 0 0; }
.data-table th:last-child  { border-radius: 0 var(--r-sm) 0 0; text-align: right; }
.data-table td:last-child  { text-align: right; }

/* ─────────────────────────────────────────
   SKELETON / CHARGEMENT
   ───────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.skeleton {
  background     : linear-gradient(90deg, var(--bg-raised) 25%, var(--bg-elevated) 50%, var(--bg-raised) 75%);
  background-size: 600px 100%;
  animation      : shimmer 1.4s infinite linear;
  border-radius  : var(--r-sm);
}

/* ─────────────────────────────────────────
   PIED DE PAGE
   ───────────────────────────────────────── */
.site-footer {
  background  : var(--bg-surface);
  border-top  : 1px solid var(--border);
  padding     : var(--sp-16) 0 var(--sp-8);
  margin-top  : var(--sp-24);
}

.site-footer__grid {
  display              : grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap                  : var(--sp-10);
  margin-bottom        : var(--sp-10);
  padding-bottom       : var(--sp-10);
  border-bottom        : 1px solid var(--border);
}

.footer-brand__logo {
  font-family  : var(--font-display);
  font-size    : var(--text-xl);
  font-weight  : 800;
  color        : var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-4);
  display      : flex;
  align-items  : center;
  gap          : 10px;
}

.footer-brand__logo span { color: var(--jade); }

.footer-brand__desc {
  font-size  : var(--text-sm);
  color      : var(--text-tertiary);
  line-height: 1.7;
  max-width  : 280px;
  margin-bottom: var(--sp-5);
}

.footer-col__title {
  font-family   : var(--font-mono);
  font-size     : var(--text-xs);
  font-weight   : 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color         : var(--text-secondary);
  margin-bottom : var(--sp-4);
}

.footer-col__links {
  display       : flex;
  flex-direction: column;
  gap           : var(--sp-3);
}

.footer-col__links a {
  font-size : var(--text-sm);
  color     : var(--text-tertiary);
  transition: color var(--dur-fast);
}

.footer-col__links a:hover { color: var(--jade); }

.footer-bottom {
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  flex-wrap      : wrap;
  gap            : var(--sp-4);
  font-family    : var(--font-mono);
  font-size      : var(--text-xs);
  color          : var(--text-tertiary);
}

.footer-social {
  display    : flex;
  align-items: center;
  gap        : var(--sp-3);
}

.footer-social a {
  width        : 34px;
  height       : 34px;
  border-radius: var(--r-sm);
  background   : var(--bg-raised);
  border       : 1px solid var(--border);
  display      : flex;
  align-items  : center;
  justify-content: center;
  color        : var(--text-secondary);
  transition   : background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.footer-social a:hover {
  background  : var(--jade-dim);
  color       : var(--jade-light);
  border-color: rgba(16,185,129,.3);
}

.footer-social a svg { width: 16px; }

/* ─────────────────────────────────────────
   ANIMATIONS D'ENTRÉE
   ───────────────────────────────────────── */
[data-animate] {
  opacity  : 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

[data-animate].is-visible {
  opacity  : 1;
  transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 60ms; }
[data-animate-delay="2"] { transition-delay: 120ms; }
[data-animate-delay="3"] { transition-delay: 180ms; }
[data-animate-delay="4"] { transition-delay: 240ms; }
[data-animate-delay="5"] { transition-delay: 300ms; }

/* ─────────────────────────────────────────
   UTILITAIRES
   ───────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-jade    { color: var(--jade); }
.text-muted   { color: var(--text-tertiary); }
.text-mono    { font-family: var(--font-mono); }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }

/* ─────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .course-single         { grid-template-columns: 1fr; }
  .learner-dashboard     { grid-template-columns: 1fr; }
  .dashboard-sidebar     { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .course-purchase-box   { position: static; max-width: 520px; margin: 0 auto; }
  .site-footer__grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-2xl); }

  .container, .container--narrow, .container--wide {
    padding: 0 var(--sp-4);
  }
  .section    { padding: var(--sp-12) 0; }
  .section--lg{ padding: var(--sp-16) 0; }

  .courses-grid, .tutor-course-list .tutor-course-grid {
    grid-template-columns: 1fr !important;
  }
  .courses-grid--2col { grid-template-columns: 1fr; }

  .course-card--horizontal {
    flex-direction: column;
  }
  .course-card--horizontal .course-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .zoom-live-banner {
    flex-direction: column;
    text-align    : center;
  }
  .zoom-countdown { justify-content: center; }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap                  : var(--sp-6);
  }

  .site-header__inner { height: 60px; }
  .form-row           { grid-template-columns: 1fr; }
  .quiz-question      { padding: var(--sp-6); }
  .quiz-nav           { padding: var(--sp-4) var(--sp-6); }
  .courses-filter-bar { flex-direction: column; align-items: stretch; }
  .courses-search     { max-width: 100%; }
  .instructor-card    { flex-direction: column; }
}

@media (max-width: 480px) {
  h1 { font-size: var(--text-3xl); }
  .display-title   { font-size: 2rem; }
  .certificate-preview { padding: var(--sp-8) var(--sp-5); }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .zoom-sessions-grid { grid-template-columns: 1fr; }
  .curriculum-section__header { padding: var(--sp-4); }
  .curriculum-lesson { padding: var(--sp-3) var(--sp-4); }
}

/* ─────────────────────────────────────────
   ACCESSIBILITÉ
   ───────────────────────────────────────── */
:focus-visible {
  outline       : 2px solid var(--jade);
  outline-offset: 3px;
  border-radius : 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration      : 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration     : 0.01ms !important;
  }
  [data-animate] { opacity: 1; transform: none; }
}

/* ─────────────────────────────────────────
   IMPRESSION
   ───────────────────────────────────────── */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer,
  .courses-filter-bar, .zoom-live-banner,
  .dashboard-sidebar, .btn, .modal-backdrop { display: none !important; }
  .course-card, .quiz-container { break-inside: avoid; }
  :root {
    --text-primary  : #000;
    --text-secondary: #333;
    --bg-surface    : #fff;
    --border        : #ddd;
  }
}


/*
 * ═══════════════════════════════════════════════════════════════
 *   THÈME ÉVÉNEMENTS — WordPress + WP Event Manager + Zoom
 *   Direction : Magazine éditorial / sombre / typographie forte
 *   v1.0
 * ═══════════════════════════════════════════════════════════════
 */

/* ─────────────────────────────────────────
   IMPORT POLICES
   ───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

/* ─────────────────────────────────────────
   TOKENS GLOBAUX
   ───────────────────────────────────────── */
:root {
  --font-display : 'Playfair Display', Georgia, serif;
  --font-body    : 'DM Sans', system-ui, sans-serif;
  --font-mono    : 'DM Mono', monospace;

  /* Palette */
  --ink          : #0d0d0d;
  --ink-2        : #1a1a1a;
  --ink-3        : #2c2c2c;
  --surface      : #f7f4ef;
  --surface-2    : #edeae3;
  --surface-3    : #e2ddd4;
  --white        : #ffffff;

  --accent       : #c8502a;   /* Rouille — couleur signature */
  --accent-dark  : #9e3b1c;
  --accent-light : #f0d9cf;
  --zoom-blue    : #2d8cff;
  --zoom-blue-dk : #1a6cd4;

  --success      : #2d6a4f;
  --warning      : #b5621e;
  --info         : #1e4d8c;
  --danger       : #8c1e1e;

  /* Typographie */
  --text-xs  : 0.75rem;
  --text-sm  : 0.875rem;
  --text-base: 1rem;
  --text-lg  : 1.125rem;
  --text-xl  : 1.375rem;
  --text-2xl : 1.75rem;
  --text-3xl : 2.25rem;
  --text-4xl : 3rem;
  --text-5xl : 4rem;

  /* Espacement */
  --space-1 : 0.25rem;
  --space-2 : 0.5rem;
  --space-3 : 0.75rem;
  --space-4 : 1rem;
  --space-6 : 1.5rem;
  --space-8 : 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Rayons */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Ombres */
  --shadow-sm : 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md : 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg : 0 12px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl : 0 24px 64px rgba(0,0,0,.18);

  /* Transitions */
  --ease-out   : cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast   : 180ms;
  --dur-base   : 280ms;
  --dur-slow   : 420ms;
}

/* ─────────────────────────────────────────
   RESET + BASE
   ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family    : var(--font-body);
  font-size      : var(--text-base);
  font-weight    : 300;
  line-height    : 1.75;
  color          : var(--ink);
  background     : var(--surface);
  -webkit-font-smoothing : antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ─────────────────────────────────────────
   TYPOGRAPHIE
   ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family : var(--font-display);
  font-weight : 700;
  line-height : 1.15;
  color       : var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 500; }
h6 { font-size: var(--text-base); font-family: var(--font-body); font-weight: 500; }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size  : var(--text-xl);
  font-weight: 300;
  color      : var(--ink-3);
  line-height: 1.6;
}

.eyebrow {
  font-family   : var(--font-body);
  font-size     : var(--text-xs);
  font-weight   : 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color         : var(--accent);
}

.display-title {
  font-size  : clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  font-style : italic;
}

/* ─────────────────────────────────────────
   MISE EN PAGE
   ───────────────────────────────────────── */
.container {
  width    : min(100%, 1200px);
  margin   : 0 auto;
  padding  : 0 var(--space-6);
}

.container--narrow {
  width    : min(100%, 720px);
  margin   : 0 auto;
  padding  : 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
}

.section--sm { padding: var(--space-12) 0; }
.section--lg { padding: calc(var(--space-24) * 1.5) 0; }

/* Grille d'événements */
.events-grid {
  display              : grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap                  : var(--space-6);
}

.events-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.events-grid--featured {
  grid-template-columns: 2fr 1fr;
  grid-template-rows   : auto auto;
}

.events-grid--featured .event-card:first-child {
  grid-row: span 2;
}

/* ─────────────────────────────────────────
   EN-TÊTE DE SITE
   ───────────────────────────────────────── */
.site-header {
  position        : sticky;
  top             : 0;
  z-index         : 100;
  background      : rgba(247, 244, 239, 0.92);
  backdrop-filter : blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom   : 1px solid var(--surface-3);
  transition      : box-shadow var(--dur-base) var(--ease-out);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  height         : 72px;
  gap            : var(--space-8);
}

.site-logo {
  font-family   : var(--font-display);
  font-size     : var(--text-xl);
  font-weight   : 900;
  font-style    : italic;
  color         : var(--ink);
  flex-shrink   : 0;
  letter-spacing: -0.02em;
}

.site-logo span { color: var(--accent); }

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.site-nav a {
  font-size     : var(--text-sm);
  font-weight   : 400;
  color         : var(--ink-3);
  padding       : var(--space-2) var(--space-3);
  border-radius : var(--radius-sm);
  transition    : color var(--dur-fast), background var(--dur-fast);
  position      : relative;
}

.site-nav a::after {
  content   : '';
  position  : absolute;
  bottom    : 4px;
  left      : 50%;
  transform : translateX(-50%) scaleX(0);
  width     : calc(100% - var(--space-6));
  height    : 1.5px;
  background: var(--accent);
  transition: transform var(--dur-base) var(--ease-out);
  transform-origin: center;
}

.site-nav a:hover, .site-nav a.current-menu-item {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a.current-menu-item::after {
  transform: translateX(-50%) scaleX(1);
}

.header-actions {
  display    : flex;
  align-items: center;
  gap        : var(--space-3);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   BOUTONS
   ───────────────────────────────────────── */
.btn {
  display        : inline-flex;
  align-items    : center;
  justify-content: center;
  gap            : var(--space-2);
  padding        : 11px 22px;
  border-radius  : var(--radius-sm);
  font-family    : var(--font-body);
  font-size      : var(--text-sm);
  font-weight    : 500;
  letter-spacing : 0.01em;
  line-height    : 1;
  border         : 1.5px solid transparent;
  transition     : background var(--dur-fast), color var(--dur-fast),
                   border-color var(--dur-fast), transform var(--dur-fast),
                   box-shadow var(--dur-fast);
  white-space    : nowrap;
  cursor         : pointer;
  text-decoration: none;
}

.btn:active { transform: scale(0.98); }

/* Primaire */
.btn--primary {
  background   : var(--accent);
  color        : var(--white);
  border-color : var(--accent);
}
.btn--primary:hover {
  background  : var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow  : 0 4px 14px rgba(200, 80, 42, .35);
  color       : var(--white);
}

/* Secondaire */
.btn--secondary {
  background  : transparent;
  color       : var(--ink);
  border-color: var(--ink-3);
}
.btn--secondary:hover {
  background  : var(--ink);
  color       : var(--white);
  border-color: var(--ink);
}

/* Fantôme */
.btn--ghost {
  background  : transparent;
  color       : var(--ink-3);
  border-color: transparent;
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}
.btn--ghost:hover {
  background: var(--surface-2);
  color     : var(--ink);
}

/* Zoom */
.btn--zoom {
  background  : var(--zoom-blue);
  color       : var(--white);
  border-color: var(--zoom-blue);
  gap         : 8px;
}
.btn--zoom:hover {
  background  : var(--zoom-blue-dk);
  border-color: var(--zoom-blue-dk);
  color       : var(--white);
  box-shadow  : 0 4px 14px rgba(45, 140, 255, .35);
}
.btn--zoom svg,
.btn--zoom img { width: 18px; height: 18px; }

/* Tailles */
.btn--sm {
  padding      : 7px 14px;
  font-size    : var(--text-xs);
  border-radius: var(--radius-sm);
}
.btn--lg {
  padding      : 15px 32px;
  font-size    : var(--text-base);
  border-radius: var(--radius-md);
}
.btn--xl {
  padding      : 18px 40px;
  font-size    : var(--text-lg);
  border-radius: var(--radius-md);
}

/* ─────────────────────────────────────────
   BADGE / ÉTIQUETTE
   ───────────────────────────────────────── */
.badge {
  display      : inline-flex;
  align-items  : center;
  gap          : 5px;
  padding      : 3px 10px;
  border-radius: var(--radius-pill);
  font-size    : var(--text-xs);
  font-weight  : 500;
  letter-spacing: 0.04em;
  line-height  : 1.5;
  white-space  : nowrap;
  border       : 1px solid transparent;
}

.badge--default  { background: var(--surface-2);     color: var(--ink-3);     border-color: var(--surface-3); }
.badge--accent   { background: var(--accent-light);  color: var(--accent-dark); border-color: rgba(200,80,42,.2); }
.badge--zoom     { background: #dbeafe;              color: var(--zoom-blue-dk); border-color: rgba(45,140,255,.25); }
.badge--success  { background: #dcfce7;              color: var(--success);   border-color: rgba(45,106,79,.2); }
.badge--warning  { background: #fef9c3;              color: var(--warning);   border-color: rgba(181,98,30,.2); }
.badge--danger   { background: #fee2e2;              color: var(--danger);    border-color: rgba(140,30,30,.2); }
.badge--free     { background: var(--ink);           color: var(--white);     border-color: var(--ink); }
.badge--new      { background: var(--accent);        color: var(--white);     border-color: var(--accent); }

/* Barre de catégorie colorée */
.badge--cat {
  position   : relative;
  padding-left: 18px;
}
.badge--cat::before {
  content      : '';
  position     : absolute;
  left         : 8px;
  width        : 6px;
  height       : 6px;
  border-radius: 50%;
  background   : currentColor;
}

/* ─────────────────────────────────────────
   CARTE ÉVÉNEMENT
   ───────────────────────────────────────── */
.event-card {
  background    : var(--white);
  border-radius : var(--radius-lg);
  border        : 1px solid var(--surface-3);
  overflow      : hidden;
  display       : flex;
  flex-direction: column;
  transition    : box-shadow var(--dur-base) var(--ease-out),
                  transform  var(--dur-base) var(--ease-out),
                  border-color var(--dur-base);
  position      : relative;
}

.event-card:hover {
  box-shadow  : var(--shadow-lg);
  transform   : translateY(-3px);
  border-color: transparent;
}

/* Image */
.event-card__media {
  position  : relative;
  overflow  : hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  flex-shrink: 0;
}

.event-card__media img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.event-card:hover .event-card__media img {
  transform: scale(1.04);
}

.event-card__media-overlay {
  position  : absolute;
  inset     : 0;
  background: linear-gradient(to top, rgba(13,13,13,.6) 0%, transparent 60%);
  pointer-events: none;
}

/* Badges superposés sur l'image */
.event-card__badges {
  position: absolute;
  top     : var(--space-3);
  left    : var(--space-3);
  display : flex;
  flex-wrap: wrap;
  gap     : 6px;
  z-index : 2;
}

/* Date flottante */
.event-card__date-pin {
  position      : absolute;
  bottom        : var(--space-3);
  right         : var(--space-3);
  background    : var(--white);
  border-radius : var(--radius-md);
  padding       : 6px 10px;
  text-align    : center;
  min-width     : 50px;
  box-shadow    : var(--shadow-md);
  z-index       : 2;
}

.event-card__date-pin .day {
  display    : block;
  font-family: var(--font-display);
  font-size  : var(--text-2xl);
  font-weight: 700;
  line-height: 1;
  color      : var(--accent);
}

.event-card__date-pin .month {
  display       : block;
  font-size     : var(--text-xs);
  font-weight   : 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color         : var(--ink-3);
}

/* Corps de la carte */
.event-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-3);
}

.event-card__category {
  font-size     : var(--text-xs);
  font-weight   : 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color         : var(--accent);
}

.event-card__title {
  font-family: var(--font-display);
  font-size  : var(--text-xl);
  font-weight: 700;
  line-height: 1.2;
  color      : var(--ink);
  transition : color var(--dur-fast);
}

.event-card:hover .event-card__title { color: var(--accent); }

.event-card__excerpt {
  font-size  : var(--text-sm);
  color      : var(--ink-3);
  line-height: 1.65;
  display    : -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow   : hidden;
}

/* Méta infos */
.event-card__meta {
  display  : flex;
  flex-wrap: wrap;
  gap      : var(--space-3);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--surface-2);
}

.event-meta-item {
  display    : flex;
  align-items: center;
  gap        : 6px;
  font-size  : var(--text-xs);
  color      : var(--ink-3);
}

.event-meta-item svg,
.event-meta-item .meta-icon {
  width     : 15px;
  height    : 15px;
  flex-shrink: 0;
  opacity   : .6;
}

/* Pied de carte */
.event-card__footer {
  padding    : var(--space-4) var(--space-6);
  border-top : 1px solid var(--surface-2);
  display    : flex;
  align-items: center;
  justify-content: space-between;
  gap        : var(--space-3);
  background : var(--surface);
}

.event-card__price {
  font-family: var(--font-display);
  font-size  : var(--text-xl);
  font-weight: 700;
  color      : var(--ink);
}

.event-card__price small {
  font-family: var(--font-body);
  font-size  : var(--text-xs);
  font-weight: 300;
  color      : var(--ink-3);
  margin-left: 2px;
}

/* Indicateur Zoom sur la carte */
.event-card__zoom-tag {
  display    : flex;
  align-items: center;
  gap        : 5px;
  font-size  : var(--text-xs);
  font-weight: 500;
  color      : var(--zoom-blue);
  padding    : 4px 10px;
  background : rgba(45, 140, 255, .08);
  border-radius: var(--radius-pill);
  border     : 1px solid rgba(45, 140, 255, .2);
}

/* ─────────────────────────────────────────
   CARTE ÉVÉNEMENT — VARIANTE HORIZONTALE
   ───────────────────────────────────────── */
.event-card--horizontal {
  flex-direction: row;
  max-height    : 200px;
}

.event-card--horizontal .event-card__media {
  width        : 240px;
  flex-shrink  : 0;
  aspect-ratio : unset;
}

.event-card--horizontal .event-card__body {
  padding: var(--space-5) var(--space-6);
}

/* ─────────────────────────────────────────
   CARTE ÉVÉNEMENT — VARIANTE COMPACTE (liste)
   ───────────────────────────────────────── */
.event-card--compact {
  flex-direction: row;
  align-items   : center;
  border-radius : var(--radius-md);
  padding       : var(--space-4) var(--space-5);
  gap           : var(--space-4);
}

.event-card--compact .event-card__media {
  width        : 72px;
  height       : 72px;
  border-radius: var(--radius-md);
  flex-shrink  : 0;
  aspect-ratio : 1;
}

.event-card--compact .event-card__body {
  padding: 0;
  gap    : 4px;
}

.event-card--compact .event-card__title {
  font-size: var(--text-base);
}

/* Bloc de date calendrier (compact) */
.event-date-block {
  width         : 52px;
  flex-shrink   : 0;
  text-align    : center;
  border-radius : var(--radius-md);
  overflow      : hidden;
  border        : 1px solid var(--surface-3);
}

.event-date-block__month {
  background    : var(--accent);
  color         : var(--white);
  font-size     : 10px;
  font-weight   : 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding       : 3px 0;
  line-height   : 1;
}

.event-date-block__day {
  background    : var(--white);
  font-family   : var(--font-display);
  font-size     : var(--text-2xl);
  font-weight   : 700;
  color         : var(--ink);
  line-height   : 1.1;
  padding       : 4px 0;
}

/* ─────────────────────────────────────────
   HÉROS ÉVÉNEMENT
   ───────────────────────────────────────── */
.event-hero {
  position      : relative;
  min-height    : clamp(480px, 65vh, 720px);
  display       : flex;
  align-items   : flex-end;
  overflow      : hidden;
  background    : var(--ink-2);
}

.event-hero__bg {
  position  : absolute;
  inset     : 0;
  object-fit: cover;
  width     : 100%;
  height    : 100%;
  opacity   : .55;
  transition: opacity 0.6s;
}

.event-hero::after {
  content   : '';
  position  : absolute;
  inset     : 0;
  background: linear-gradient(
    135deg,
    rgba(13,13,13,.85) 0%,
    rgba(13,13,13,.40) 50%,
    rgba(13,13,13,.20) 100%
  );
}

.event-hero__content {
  position: relative;
  z-index : 1;
  color   : var(--white);
  padding : var(--space-16) 0 var(--space-12);
  width   : 100%;
}

.event-hero__eyebrow {
  font-size     : var(--text-xs);
  font-weight   : 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color         : var(--accent);
  margin-bottom : var(--space-4);
  display       : flex;
  align-items   : center;
  gap           : var(--space-3);
}

.event-hero__eyebrow::before {
  content   : '';
  display   : block;
  width     : 32px;
  height    : 1.5px;
  background: var(--accent);
}

.event-hero__title {
  font-size  : clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  font-style : italic;
  line-height: 1.05;
  color      : var(--white);
  margin-bottom: var(--space-6);
  max-width  : 760px;
}

.event-hero__meta {
  display  : flex;
  flex-wrap: wrap;
  gap      : var(--space-6);
  margin-bottom: var(--space-8);
}

.event-hero__meta-item {
  display    : flex;
  align-items: center;
  gap        : var(--space-2);
  font-size  : var(--text-sm);
  color      : rgba(255,255,255,.8);
}

.event-hero__meta-item svg { width: 16px; opacity: .7; }

.event-hero__actions {
  display  : flex;
  flex-wrap: wrap;
  gap      : var(--space-3);
}

/* ─────────────────────────────────────────
   PAGE ÉVÉNEMENT SINGULIER
   ───────────────────────────────────────── */
.event-single {
  display              : grid;
  grid-template-columns: 1fr 360px;
  gap                  : var(--space-12);
  align-items          : start;
  padding-top          : var(--space-12);
}

.event-single__content h2 {
  font-size    : var(--text-2xl);
  margin-bottom: var(--space-4);
}

.event-single__content p {
  font-size  : var(--text-base);
  color      : var(--ink-3);
  line-height: 1.85;
}

/* Sidebar d'inscription */
.event-register-box {
  background   : var(--white);
  border-radius: var(--radius-xl);
  border       : 1px solid var(--surface-3);
  padding      : var(--space-8);
  position     : sticky;
  top          : calc(72px + var(--space-6));
  box-shadow   : var(--shadow-md);
}

.event-register-box__price {
  font-family  : var(--font-display);
  font-size    : var(--text-4xl);
  font-weight  : 900;
  color        : var(--ink);
  margin-bottom: var(--space-2);
  line-height  : 1;
}

.event-register-box__price sup {
  font-size  : var(--text-xl);
  font-weight: 400;
  vertical-align: super;
  margin-right: 2px;
}

.event-register-box__price small {
  font-family: var(--font-body);
  font-size  : var(--text-sm);
  font-weight: 300;
  color      : var(--ink-3);
}

.event-register-box__slots {
  font-size     : var(--text-sm);
  color         : var(--warning);
  font-weight   : 500;
  margin-bottom : var(--space-6);
  display       : flex;
  align-items   : center;
  gap           : 6px;
}

.event-register-box__slots::before {
  content     : '';
  display     : inline-block;
  width       : 8px;
  height      : 8px;
  border-radius: 50%;
  background  : var(--warning);
  animation   : pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.75); }
}

.event-register-box .btn { width: 100%; }
.event-register-box .btn + .btn { margin-top: var(--space-3); }

/* Infos liste dans la sidebar */
.event-info-list {
  margin   : var(--space-6) 0 0;
  border-top: 1px solid var(--surface-2);
  padding-top: var(--space-6);
  display  : flex;
  flex-direction: column;
  gap      : var(--space-4);
}

.event-info-list__item {
  display    : flex;
  align-items: flex-start;
  gap        : var(--space-3);
  font-size  : var(--text-sm);
}

.event-info-list__icon {
  width      : 20px;
  height     : 20px;
  flex-shrink: 0;
  color      : var(--accent);
  margin-top : 1px;
}

.event-info-list__label {
  font-weight  : 500;
  color        : var(--ink);
  display      : block;
  margin-bottom: 1px;
  font-size    : var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.event-info-list__value {
  color: var(--ink-3);
}

/* ─────────────────────────────────────────
   SECTION INTERVENANTS / SPEAKERS
   ───────────────────────────────────────── */
.speakers-grid {
  display              : grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap                  : var(--space-6);
}

.speaker-card {
  text-align    : center;
  transition    : transform var(--dur-base) var(--ease-out);
}

.speaker-card:hover { transform: translateY(-4px); }

.speaker-card__avatar {
  width        : 100px;
  height       : 100px;
  border-radius: 50%;
  overflow     : hidden;
  margin       : 0 auto var(--space-4);
  border       : 3px solid var(--surface-3);
  transition   : border-color var(--dur-base);
  background   : var(--surface-2);
}

.speaker-card:hover .speaker-card__avatar {
  border-color: var(--accent);
}

.speaker-card__avatar img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
}

.speaker-card__name {
  font-family  : var(--font-display);
  font-size    : var(--text-base);
  font-weight  : 700;
  color        : var(--ink);
  margin-bottom: 4px;
}

.speaker-card__role {
  font-size: var(--text-xs);
  color    : var(--ink-3);
}

/* ─────────────────────────────────────────
   PROGRAMME / AGENDA
   ───────────────────────────────────────── */
.agenda {
  position: relative;
}

.agenda::before {
  content   : '';
  position  : absolute;
  left      : 88px;
  top       : 0;
  bottom    : 0;
  width     : 1px;
  background: var(--surface-3);
}

.agenda-item {
  display    : flex;
  gap        : var(--space-8);
  align-items: flex-start;
  padding    : var(--space-6) 0;
  position   : relative;
}

.agenda-item__time {
  width    : 72px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color    : var(--ink-3);
  text-align: right;
  padding-top: 3px;
}

.agenda-item__dot {
  width        : 12px;
  height       : 12px;
  border-radius: 50%;
  background   : var(--white);
  border       : 2px solid var(--accent);
  flex-shrink  : 0;
  margin-top   : 5px;
  position     : relative;
  z-index      : 1;
  transition   : background var(--dur-fast);
}

.agenda-item:hover .agenda-item__dot {
  background: var(--accent);
}

.agenda-item__body {
  flex: 1;
}

.agenda-item__title {
  font-family  : var(--font-display);
  font-size    : var(--text-lg);
  font-weight  : 700;
  color        : var(--ink);
  margin-bottom: var(--space-2);
}

.agenda-item__desc {
  font-size  : var(--text-sm);
  color      : var(--ink-3);
  line-height: 1.65;
}

.agenda-item--break .agenda-item__dot {
  border-color: var(--surface-3);
  background  : var(--surface-2);
}

.agenda-item--break .agenda-item__title {
  font-family: var(--font-body);
  font-size  : var(--text-sm);
  font-weight: 400;
  color      : var(--ink-3);
  font-style : italic;
}

.agenda-item--featured .agenda-item__title {
  color: var(--accent);
}

/* ─────────────────────────────────────────
   BLOC ZOOM (intégration)
   ───────────────────────────────────────── */
.zoom-join-banner {
  background   : var(--ink);
  border-radius: var(--radius-xl);
  padding      : var(--space-10, 2.5rem) var(--space-12);
  display      : flex;
  align-items  : center;
  gap          : var(--space-8);
  overflow     : hidden;
  position     : relative;
}

.zoom-join-banner::before {
  content   : '';
  position  : absolute;
  top       : -40px;
  right     : -40px;
  width     : 240px;
  height    : 240px;
  border-radius: 50%;
  background: rgba(45, 140, 255, .08);
}

.zoom-join-banner__logo {
  flex-shrink  : 0;
  width        : 56px;
  height       : 56px;
  background   : var(--zoom-blue);
  border-radius: var(--radius-lg);
  display      : flex;
  align-items  : center;
  justify-content: center;
}

.zoom-join-banner__logo svg { width: 32px; height: 32px; }

.zoom-join-banner__text { flex: 1; }

.zoom-join-banner__text h3 {
  font-family  : var(--font-display);
  font-size    : var(--text-xl);
  font-weight  : 700;
  color        : var(--white);
  margin-bottom: 4px;
}

.zoom-join-banner__text p {
  font-size    : var(--text-sm);
  color        : rgba(255,255,255,.55);
  margin-bottom: 0;
}

/* Countdown Zoom */
.zoom-countdown {
  display: flex;
  gap    : var(--space-4);
  flex-shrink: 0;
}

.zoom-countdown__unit {
  text-align: center;
  min-width : 52px;
}

.zoom-countdown__num {
  display     : block;
  font-family : var(--font-display);
  font-size   : var(--text-3xl);
  font-weight : 700;
  color       : var(--white);
  line-height : 1;
  font-variant-numeric: tabular-nums;
}

.zoom-countdown__label {
  display       : block;
  font-size     : 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color         : rgba(255,255,255,.4);
  margin-top    : 4px;
}

/* Lien de rejoindre Zoom flottant (pendant l'événement en direct) */
.zoom-live-pill {
  display      : flex;
  align-items  : center;
  gap          : var(--space-2);
  background   : var(--zoom-blue);
  color        : var(--white);
  padding      : 8px 18px;
  border-radius: var(--radius-pill);
  font-size    : var(--text-sm);
  font-weight  : 500;
  box-shadow   : 0 4px 20px rgba(45,140,255,.45);
  transition   : box-shadow var(--dur-fast), transform var(--dur-fast);
  animation    : zoomPulse 2.4s ease-in-out infinite;
}

@keyframes zoomPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(45,140,255,.45); }
  50%       { box-shadow: 0 4px 32px rgba(45,140,255,.70); }
}

.zoom-live-pill:hover {
  transform : scale(1.03);
  box-shadow: 0 6px 28px rgba(45,140,255,.60);
  color     : var(--white);
}

.zoom-live-pill__dot {
  width        : 8px;
  height       : 8px;
  border-radius: 50%;
  background   : var(--white);
  animation    : pulse 1.5s ease-in-out infinite;
}

/* ─────────────────────────────────────────
   FILTRES / RECHERCHE
   ───────────────────────────────────────── */
.events-filter-bar {
  display    : flex;
  align-items: center;
  flex-wrap  : wrap;
  gap        : var(--space-3);
  margin-bottom: var(--space-8);
  padding    : var(--space-5) var(--space-6);
  background : var(--white);
  border-radius: var(--radius-lg);
  border     : 1px solid var(--surface-3);
  box-shadow : var(--shadow-sm);
}

.filter-label {
  font-size     : var(--text-xs);
  font-weight   : 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color         : var(--ink-3);
  flex-shrink   : 0;
}

.filter-group {
  display: flex;
  gap    : 6px;
  flex-wrap: wrap;
  flex   : 1;
}

.filter-chip {
  padding      : 6px 14px;
  border-radius: var(--radius-pill);
  border       : 1px solid var(--surface-3);
  background   : var(--surface);
  font-size    : var(--text-xs);
  font-weight  : 500;
  color        : var(--ink-3);
  cursor       : pointer;
  transition   : background var(--dur-fast), color var(--dur-fast),
                 border-color var(--dur-fast);
  white-space  : nowrap;
}

.filter-chip:hover {
  background  : var(--surface-2);
  color       : var(--ink);
  border-color: var(--surface-3);
}

.filter-chip.is-active {
  background  : var(--ink);
  color       : var(--white);
  border-color: var(--ink);
}

.filter-chip.is-active:hover {
  background  : var(--ink-2);
  border-color: var(--ink-2);
}

.events-search {
  display      : flex;
  align-items  : center;
  gap          : var(--space-2);
  background   : var(--surface);
  border       : 1px solid var(--surface-3);
  border-radius: var(--radius-pill);
  padding      : 8px 16px;
  flex         : 1;
  min-width    : 200px;
  max-width    : 300px;
  transition   : border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.events-search:focus-within {
  border-color: var(--ink-3);
  box-shadow  : 0 0 0 3px rgba(13,13,13,.06);
}

.events-search input {
  border      : none;
  background  : transparent;
  outline     : none;
  font-size   : var(--text-sm);
  color       : var(--ink);
  width       : 100%;
}

.events-search input::placeholder { color: var(--ink-3); opacity: .6; }

/* ─────────────────────────────────────────
   WP EVENT MANAGER — SURCHARGES NATIVES
   ───────────────────────────────────────── */

/* Liste principale */
ul.event_listings {
  list-style : none;
  padding    : 0;
  margin     : 0;
  display    : grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap        : var(--space-6);
}

ul.event_listings li.event_listing {
  background   : var(--white);
  border-radius: var(--radius-lg);
  border       : 1px solid var(--surface-3);
  overflow     : hidden;
  transition   : box-shadow var(--dur-base) var(--ease-out),
                 transform  var(--dur-base) var(--ease-out);
}

ul.event_listings li.event_listing:hover {
  box-shadow: var(--shadow-lg);
  transform : translateY(-3px);
}

ul.event_listings li.event_listing > a {
  display       : block;
  padding       : var(--space-6);
  text-decoration: none;
}

ul.event_listings .event_meta {
  display    : flex;
  flex-wrap  : wrap;
  gap        : var(--space-3);
  margin-top : var(--space-3);
}

ul.event_listings .event_meta li {
  font-size: var(--text-xs);
  color    : var(--ink-3);
  display  : flex;
  align-items: center;
  gap      : 5px;
}

ul.event_listings .event_title {
  font-family: var(--font-display);
  font-size  : var(--text-xl);
  font-weight: 700;
  color      : var(--ink);
  margin-bottom: var(--space-2);
}

/* Formulaire de recherche natif */
.event_search_form {
  display    : flex;
  gap        : var(--space-3);
  flex-wrap  : wrap;
  background : var(--white);
  padding    : var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  border     : 1px solid var(--surface-3);
  margin-bottom: var(--space-8);
  box-shadow : var(--shadow-sm);
}

.event_search_form input[type="text"],
.event_search_form select {
  flex         : 1;
  min-width    : 180px;
  padding      : 10px 14px;
  border       : 1.5px solid var(--surface-3);
  border-radius: var(--radius-sm);
  font-size    : var(--text-sm);
  color        : var(--ink);
  background   : var(--surface);
  outline      : none;
  transition   : border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.event_search_form input[type="text"]:focus,
.event_search_form select:focus {
  border-color: var(--ink-3);
  box-shadow  : 0 0 0 3px rgba(13,13,13,.06);
}

.event_search_form input[type="submit"],
.event_search_form button[type="submit"] {
  padding      : 10px 24px;
  background   : var(--accent);
  color        : var(--white);
  border       : none;
  border-radius: var(--radius-sm);
  font-size    : var(--text-sm);
  font-weight  : 500;
  cursor       : pointer;
  transition   : background var(--dur-fast);
  flex-shrink  : 0;
}

.event_search_form input[type="submit"]:hover,
.event_search_form button[type="submit"]:hover {
  background: var(--accent-dark);
}

/* Pagination native */
.event_manager_pagination {
  display        : flex;
  justify-content: center;
  align-items    : center;
  gap            : 6px;
  margin-top     : var(--space-12);
}

.event_manager_pagination a,
.event_manager_pagination span {
  width        : 40px;
  height       : 40px;
  display      : flex;
  align-items  : center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size    : var(--text-sm);
  font-weight  : 500;
  border       : 1px solid var(--surface-3);
  color        : var(--ink-3);
  background   : var(--white);
  transition   : background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.event_manager_pagination a:hover {
  background  : var(--ink);
  color       : var(--white);
  border-color: var(--ink);
}

.event_manager_pagination span.current {
  background  : var(--accent);
  color       : var(--white);
  border-color: var(--accent);
}

/* ─────────────────────────────────────────
   FORMULAIRE D'INSCRIPTION
   ───────────────────────────────────────── */
.register-form {
  background   : var(--white);
  border-radius: var(--radius-xl);
  padding      : var(--space-10, 2.5rem) var(--space-8);
  border       : 1px solid var(--surface-3);
  box-shadow   : var(--shadow-md);
}

.register-form__title {
  font-family  : var(--font-display);
  font-size    : var(--text-2xl);
  font-weight  : 900;
  margin-bottom: var(--space-2);
}

.register-form__subtitle {
  font-size    : var(--text-sm);
  color        : var(--ink-3);
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display      : block;
  font-size    : var(--text-sm);
  font-weight  : 500;
  color        : var(--ink);
  margin-bottom: var(--space-2);
}

.form-group label .required {
  color      : var(--accent);
  margin-left: 3px;
}

.form-control {
  display      : block;
  width        : 100%;
  padding      : 11px 14px;
  border       : 1.5px solid var(--surface-3);
  border-radius: var(--radius-sm);
  font-size    : var(--text-base);
  color        : var(--ink);
  background   : var(--surface);
  outline      : none;
  transition   : border-color var(--dur-fast), box-shadow var(--dur-fast);
  font-family  : var(--font-body);
}

.form-control::placeholder { color: var(--ink-3); opacity: .5; }

.form-control:focus {
  border-color: var(--ink-3);
  box-shadow  : 0 0 0 4px rgba(13,13,13,.06);
  background  : var(--white);
}

.form-control.is-error {
  border-color: var(--danger);
  box-shadow  : 0 0 0 4px rgba(140,30,30,.06);
}

.form-error-msg {
  font-size  : var(--text-xs);
  color      : var(--danger);
  margin-top : 6px;
  display    : flex;
  align-items: center;
  gap        : 5px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap    : var(--space-4);
}

.form-actions {
  display      : flex;
  flex-direction: column;
  gap          : var(--space-3);
  margin-top   : var(--space-6);
}

.form-actions .btn { width: 100%; }

.form-divider {
  display    : flex;
  align-items: center;
  gap        : var(--space-4);
  color      : var(--ink-3);
  font-size  : var(--text-xs);
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex   : 1;
  height : 1px;
  background: var(--surface-3);
}

/* ─────────────────────────────────────────
   SECTION CTA / PROMO
   ───────────────────────────────────────── */
.cta-section {
  background   : var(--ink);
  border-radius: var(--radius-xl);
  padding      : var(--space-16) var(--space-12);
  text-align   : center;
  position     : relative;
  overflow     : hidden;
}

.cta-section::before {
  content   : '';
  position  : absolute;
  top       : -80px;
  left      : 50%;
  transform : translateX(-50%);
  width     : 600px;
  height    : 600px;
  border-radius: 50%;
  background: rgba(200, 80, 42, .06);
  pointer-events: none;
}

.cta-section__eyebrow {
  color        : var(--accent);
  margin-bottom: var(--space-4);
  display      : block;
}

.cta-section__title {
  font-size    : clamp(2rem, 5vw, 3.5rem);
  font-weight  : 900;
  font-style   : italic;
  color        : var(--white);
  margin-bottom: var(--space-4);
}

.cta-section__text {
  font-size    : var(--text-lg);
  color        : rgba(255,255,255,.55);
  max-width    : 540px;
  margin       : 0 auto var(--space-8);
  margin-bottom: var(--space-8);
}

.cta-section__actions {
  display        : flex;
  justify-content: center;
  flex-wrap      : wrap;
  gap            : var(--space-3);
}

/* ─────────────────────────────────────────
   STATISTIQUES / CHIFFRES
   ───────────────────────────────────────── */
.stats-strip {
  display              : grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap                  : 1px;
  background           : var(--surface-3);
  border               : 1px solid var(--surface-3);
  border-radius        : var(--radius-lg);
  overflow             : hidden;
}

.stats-strip__item {
  background : var(--white);
  padding    : var(--space-8) var(--space-6);
  text-align : center;
  transition : background var(--dur-fast);
}

.stats-strip__item:hover { background: var(--surface); }

.stats-strip__num {
  font-family: var(--font-display);
  font-size  : var(--text-4xl);
  font-weight: 900;
  color      : var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}

.stats-strip__num span { color: var(--accent); }

.stats-strip__label {
  font-size     : var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color         : var(--ink-3);
}

/* ─────────────────────────────────────────
   NEWSLETTER / ALERTE
   ───────────────────────────────────────── */
.newsletter-inline {
  display      : flex;
  gap          : var(--space-3);
  align-items  : stretch;
  max-width    : 480px;
}

.newsletter-inline input[type="email"] {
  flex         : 1;
  padding      : 12px 16px;
  border       : 1.5px solid var(--surface-3);
  border-radius: var(--radius-sm);
  font-size    : var(--text-sm);
  color        : var(--ink);
  background   : var(--white);
  outline      : none;
  transition   : border-color var(--dur-fast);
}

.newsletter-inline input[type="email"]:focus {
  border-color: var(--ink-3);
}

/* ─────────────────────────────────────────
   PIED DE PAGE
   ───────────────────────────────────────── */
.site-footer {
  background   : var(--ink);
  color        : rgba(255,255,255,.6);
  padding      : var(--space-16) 0 var(--space-8);
  margin-top   : var(--space-24);
}

.site-footer__grid {
  display              : grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap                  : var(--space-12);
  margin-bottom        : var(--space-12);
  padding-bottom       : var(--space-12);
  border-bottom        : 1px solid rgba(255,255,255,.08);
}

.footer-brand__logo {
  font-family   : var(--font-display);
  font-size     : var(--text-xl);
  font-weight   : 900;
  font-style    : italic;
  color         : var(--white);
  margin-bottom : var(--space-4);
  display       : block;
}

.footer-brand__logo span { color: var(--accent); }

.footer-brand__text {
  font-size  : var(--text-sm);
  line-height: 1.7;
}

.footer-col__title {
  font-family   : var(--font-body);
  font-size     : var(--text-xs);
  font-weight   : 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color         : var(--white);
  margin-bottom : var(--space-4);
}

.footer-col__links {
  display       : flex;
  flex-direction: column;
  gap           : var(--space-3);
}

.footer-col__links a {
  font-size : var(--text-sm);
  color     : rgba(255,255,255,.5);
  transition: color var(--dur-fast);
}

.footer-col__links a:hover { color: var(--white); }

.footer-bottom {
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  flex-wrap      : wrap;
  gap            : var(--space-4);
  font-size      : var(--text-xs);
}

/* ─────────────────────────────────────────
   NOTIFICATIONS / ALERTES
   ───────────────────────────────────────── */
.alert {
  padding      : var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size    : var(--text-sm);
  display      : flex;
  gap          : var(--space-3);
  align-items  : flex-start;
  border-left  : 3px solid;
}

.alert--success { background: #f0fdf4; color: var(--success); border-color: var(--success); }
.alert--warning { background: #fffbeb; color: var(--warning); border-color: var(--warning); }
.alert--danger  { background: #fef2f2; color: var(--danger);  border-color: var(--danger);  }
.alert--info    { background: #eff6ff; color: var(--info);    border-color: var(--info);    }
.alert--zoom    { background: #eff6ff; color: var(--zoom-blue-dk); border-color: var(--zoom-blue); }

/* ─────────────────────────────────────────
   SKELETON / CHARGEMENT
   ───────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.skeleton {
  background     : linear-gradient(90deg, var(--surface-2) 25%, var(--surface) 50%, var(--surface-2) 75%);
  background-size: 600px 100%;
  animation      : shimmer 1.4s infinite linear;
  border-radius  : var(--radius-sm);
}

.skeleton-card {
  background   : var(--white);
  border-radius: var(--radius-lg);
  border       : 1px solid var(--surface-3);
  overflow     : hidden;
}

/* ─────────────────────────────────────────
   UTILITAIRES
   ───────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-center  { text-align: center; }
.text-right   { text-align: right; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }

.divider {
  height    : 1px;
  background: var(--surface-3);
  border    : none;
  margin    : var(--space-8) 0;
}

/* ─────────────────────────────────────────
   ANIMATIONS D'ENTRÉE (Intersection Observer)
   ───────────────────────────────────────── */
[data-animate] {
  opacity  : 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

[data-animate].is-visible {
  opacity  : 1;
  transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 80ms; }
[data-animate-delay="2"] { transition-delay: 160ms; }
[data-animate-delay="3"] { transition-delay: 240ms; }
[data-animate-delay="4"] { transition-delay: 320ms; }

/* ─────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .event-single {
    grid-template-columns: 1fr;
  }
  .event-register-box {
    position: static;
    max-width: 480px;
    margin   : 0 auto;
  }
  .events-grid--featured {
    grid-template-columns: 1fr;
  }
  .events-grid--featured .event-card:first-child {
    grid-row: auto;
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-2xl); }

  .container, .container--narrow {
    padding: 0 var(--space-4);
  }
  .section      { padding: var(--space-12) 0; }
  .section--lg  { padding: var(--space-16) 0; }

  .events-grid,
  ul.event_listings {
    grid-template-columns: 1fr;
  }
  .events-grid--2col {
    grid-template-columns: 1fr;
  }
  .event-card--horizontal {
    flex-direction: column;
    max-height    : none;
  }
  .event-card--horizontal .event-card__media {
    width       : 100%;
    aspect-ratio: 16 / 9;
  }
  .zoom-join-banner {
    flex-direction: column;
    text-align    : center;
    padding       : var(--space-8);
  }
  .zoom-countdown {
    justify-content: center;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap                  : var(--space-8);
  }
  .site-header__inner { height: 60px; }
  .form-row { grid-template-columns: 1fr; }
  .agenda::before { left: 76px; }
  .cta-section { padding: var(--space-12) var(--space-6); }
  .events-filter-bar { flex-direction: column; align-items: stretch; }
  .events-search { max-width: 100%; }
}

@media (max-width: 480px) {
  h1 { font-size: var(--text-3xl); }
  .display-title { font-size: 2rem; }
  .zoom-join-banner { border-radius: var(--radius-lg); }
  .register-form { padding: var(--space-6); }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip__num { font-size: var(--text-3xl); }
}

/* ─────────────────────────────────────────
   ACCESSIBILITÉ
   ───────────────────────────────────────── */
:focus-visible {
  outline       : 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius : 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration      : 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration     : 0.01ms !important;
  }
  [data-animate] {
    opacity  : 1;
    transform: none;
  }
}

/* ─────────────────────────────────────────
   IMPRESSION
   ───────────────────────────────────────── */
@media print {
  .site-header,
  .site-footer,
  .events-filter-bar,
  .zoom-join-banner,
  .btn,
  .newsletter-inline { display: none !important; }

  body { font-size: 12pt; }
  .event-card { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
  a::after { content: " (" attr(href) ")"; font-size: 10pt; color: #666; }
}




