@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #1a2744;
  --navy-light: #243460;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --cream: #f8f5f0;
  --white: #ffffff;
  --gray-100: #f4f2ee;
  --gray-200: #e8e4dc;
  --gray-400: #a09880;
  --gray-600: #6b6456;
  --gray-800: #3d3830;
  --success: #2d6a4f;
  --success-bg: #d8f3dc;
  --danger: #a01a1a;
  --danger-bg: #fde8e8;
  --warning: #92620a;
  --warning-bg: #fef3cd;
  --info-bg: #e8edf8;
  --info: #1a2744;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(26,39,68,0.10);
  --shadow-lg: 0 8px 40px rgba(26,39,68,0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--gray-800);
  min-height: 100vh;
  font-size: 22px;
  line-height: 1.6;
}

/* LAYOUT */
.app { display: flex; min-height: 100vh; }

/* SIDEBAR */
.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-brand {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-name span { color: var(--gold); }

.brand-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  color: var(--navy);
  flex-shrink: 0;
}

.user-name { font-size: 13px; font-weight: 500; color: var(--white); }
.user-role { font-size: 11px; color: rgba(255,255,255,0.4); }

.sidebar-nav { padding: 16px 12px; flex: 1; }

.nav-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  padding: 8px 12px 6px;
  font-weight: 600;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 400;
  transition: all 0.15s;
  margin-bottom: 2px;
  text-decoration: none;
}

.nav-item:hover {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.9);
}

.nav-item.active {
  background: rgba(201,168,76,0.15);
  color: var(--gold-light);
  font-weight: 500;
}

.nav-item svg { flex-shrink: 0; opacity: 0.7; }
.nav-item.active svg { opacity: 1; }

.nav-progress {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}

.nav-progress-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.nav-progress-label span { color: var(--gold); font-weight: 600; }

.nav-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.nav-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  width: 17%;
  transition: width 0.5s ease;
}

/* MAIN */
.main {
  margin-left: 260px;
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-breadcrumb {
  font-size: 13px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-breadcrumb strong { color: var(--gray-800); font-weight: 500; }

.topbar-actions { display: flex; align-items: center; gap: 12px; }

.badge-plan {
  background: var(--info-bg);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.content { padding: 32px; flex: 1; }

/* VIEWS */
.view { display: none; }
.view.active { display: block; }

/* PAGE HEADERS */
.page-header { margin-bottom: 28px; }
.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.page-subtitle { font-size: 14px; color: var(--gray-600); }

/* METRIC CARDS */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.metric-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.2s;
}

.metric-card:hover { box-shadow: var(--shadow); }

.metric-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}

.metric-icon.navy { background: var(--info-bg); }
.metric-icon.gold { background: var(--warning-bg); }
.metric-icon.green { background: var(--success-bg); }
.metric-icon.red { background: var(--danger-bg); }

.metric-value {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.metric-label { font-size: 12px; color: var(--gray-600); }
.metric-sub { font-size: 11px; color: var(--gray-400); margin-top: 4px; }

.progress-bar-wrap {
  height: 5px;
  background: var(--gray-200);
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  transition: width 0.6s ease;
}

.progress-bar.gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* CARDS */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover { box-shadow: var(--shadow); }

.card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* MODULES GRID */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--gray-200);
  transition: background 0.2s;
}

.module-card.done::before { background: var(--success); }
.module-card.active::before { background: var(--gold); }
.module-card.locked { opacity: 0.5; cursor: not-allowed; }

.module-card:hover:not(.locked) {
  box-shadow: var(--shadow);
  border-color: var(--gray-400);
}

.module-card.active:hover { border-color: var(--gold); }

.module-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.module-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.module-num.done { background: var(--success-bg); color: var(--success); }
.module-num.active { background: var(--warning-bg); color: var(--warning); }
.module-num.pending { background: var(--gray-100); color: var(--gray-400); }

.module-title { font-size: 14px; font-weight: 600; color: var(--navy); flex: 1; line-height: 1.3; }

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-done { background: var(--success-bg); color: var(--success); }
.badge-active { background: var(--warning-bg); color: var(--warning); }
.badge-locked { background: var(--gray-100); color: var(--gray-400); }
.badge-navy { background: var(--info-bg); color: var(--navy); }

.module-desc { font-size: 12px; color: var(--gray-600); line-height: 1.5; margin-bottom: 10px; }
.module-meta { font-size: 11px; color: var(--gray-400); display: flex; gap: 12px; }

/* COURSE LAYOUT */
.course-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
}

.content-block {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 28px;
}

.content-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.content-heading {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.content-body {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.info-box {
  background: var(--info-bg);
  border-left: 3px solid var(--navy);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 13px;
  color: var(--navy);
  line-height: 1.6;
}

.warning-box {
  background: var(--warning-bg);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 13px;
  color: var(--warning);
  line-height: 1.6;
}

.success-box {
  background: var(--success-bg);
  border-left: 3px solid var(--success);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 13px;
  color: var(--success);
  line-height: 1.6;
}

.sanctions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 16px 0;
}

.sanctions-table th {
  background: var(--navy);
  color: var(--white);
  padding: 10px 12px;
  text-align: left;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sanctions-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-800);
  vertical-align: top;
}

.sanctions-table tr:nth-child(even) td { background: var(--gray-100); }

.course-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 80px;
}

.chapters-list { display: flex; flex-direction: column; gap: 4px; }

.chapter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 12px;
  color: var(--gray-600);
  transition: all 0.15s;
  border: 1px solid transparent;
}

.chapter-item:hover { background: var(--gray-100); color: var(--navy); }

.chapter-item.active {
  background: var(--info-bg);
  color: var(--navy);
  font-weight: 500;
  border-color: var(--gray-200);
}

.chapter-item.done { color: var(--success); }

.chapter-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-done { background: var(--success); }
.dot-active { background: var(--gold); }
.dot-pending { background: var(--gray-200); border: 1.5px solid var(--gray-400); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover { background: var(--navy-light); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 600;
}

.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  color: var(--gray-600);
  border-color: var(--gray-200);
}

.btn-outline:hover { background: var(--gray-100); color: var(--navy); }

.btn-group { display: flex; gap: 10px; margin-top: 20px; }

/* QUIZ */
.quiz-wrapper { max-width: 680px; }

.quiz-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.quiz-progress-label { font-size: 13px; color: var(--gray-600); }
.quiz-score { font-size: 13px; font-weight: 600; color: var(--navy); }

.question-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 24px;
  margin-bottom: 16px;
}

.question-num {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 10px;
}

.question-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 18px;
  line-height: 1.5;
}

.options-list { display: flex; flex-direction: column; gap: 8px; }

.option-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 13px;
  color: var(--gray-800);
}

.option-item:hover {
  border-color: var(--navy);
  background: var(--info-bg);
  color: var(--navy);
}

.option-item.selected {
  border-color: var(--navy);
  background: var(--info-bg);
  color: var(--navy);
}

.option-item.correct {
  border-color: var(--success);
  background: var(--success-bg);
  color: var(--success);
}

.option-item.wrong {
  border-color: var(--danger);
  background: var(--danger-bg);
  color: var(--danger);
}

.option-letter {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

.feedback-box {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.6;
  display: none;
}

.feedback-ok { background: var(--success-bg); color: var(--success); }
.feedback-ko { background: var(--danger-bg); color: var(--danger); }

/* QUIZ CASES PRATIQUES */
.case-quiz-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 20px;
  margin-bottom: 12px;
}

.case-scenario {
  font-size: 14px;
  color: var(--gray-800);
  line-height: 1.6;
  margin-bottom: 14px;
  padding: 12px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  font-style: italic;
}

.case-options { display: flex; gap: 8px; flex-wrap: wrap; }

.case-option {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  transition: all 0.15s;
}

.case-option:hover { border-color: var(--navy); color: var(--navy); background: var(--info-bg); }
.case-option.correct-answer { border-color: var(--success); background: var(--success-bg); color: var(--success); }
.case-option.wrong-answer { border-color: var(--danger); background: var(--danger-bg); color: var(--danger); }

.case-feedback {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.6;
  display: none;
}

/* IA SECTION */
.ai-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.ai-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ai-avatar {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
}

.ai-title { font-size: 15px; font-weight: 600; color: var(--navy); }
.ai-subtitle { font-size: 12px; color: var(--gray-400); }

.ai-input-row { display: flex; gap: 10px; margin-bottom: 12px; }

.ai-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-800);
  background: var(--gray-100);
  transition: border-color 0.15s;
}

.ai-input:focus { outline: none; border-color: var(--navy); background: var(--white); }

.ai-loading {
  display: none;
  font-size: 12px;
  color: var(--gray-400);
  padding: 8px 0;
  font-style: italic;
}

.ai-result { font-size: 13px; color: var(--gray-600); line-height: 1.7; min-height: 20px; }

/* PROGRESSION */
.progress-section { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.leaderboard-list { display: flex; flex-direction: column; gap: 8px; }

.lb-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: border-color 0.15s;
}

.lb-row.current { border-color: var(--navy); background: var(--info-bg); }
.lb-row.top { border-color: var(--gold); background: var(--warning-bg); }

.lb-rank { font-size: 14px; font-weight: 700; color: var(--gray-400); width: 20px; }
.lb-rank.gold-rank { color: var(--gold); }

.lb-name { font-size: 13px; color: var(--navy); flex: 1; font-weight: 400; }
.lb-name em { font-size: 11px; color: var(--navy); font-style: normal; font-weight: 600; }

.lb-bar-wrap { width: 90px; background: var(--gray-200); border-radius: 3px; height: 5px; }
.lb-bar { height: 5px; border-radius: 3px; background: var(--success); }
.lb-bar.gold-bar { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

.lb-score { font-size: 13px; font-weight: 600; color: var(--success); min-width: 36px; text-align: right; }

/* CERTIFICATION */
.cert-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cert-box::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
}

.cert-box::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
}

.cert-icon { font-size: 36px; margin-bottom: 12px; opacity: 0.4; }
.cert-title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.cert-sub { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.cert-locked { font-size: 11px; color: rgba(255,255,255,0.35); }

/* HISTORY */
.history-list { display: flex; flex-direction: column; gap: 8px; }

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.history-label { font-size: 13px; color: var(--gray-600); }
.history-score { font-size: 13px; font-weight: 600; color: var(--success); }

/* RESUME CARD */
.resume-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.resume-card:hover { opacity: 0.92; }

.resume-info {}
.resume-eyebrow { font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.resume-title { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--white); font-weight: 600; margin-bottom: 4px; }
.resume-sub { font-size: 12px; color: rgba(255,255,255,0.5); }

.resume-btn {
  background: var(--gold);
  color: var(--navy);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

/* DASHBOARD GRID */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

/* TIMELINE */
.timeline { display: flex; flex-direction: column; gap: 0; }

.timeline-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: var(--gray-200);
}

.timeline-item:last-child::before { display: none; }

.timeline-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.timeline-dot.done { background: var(--success-bg); color: var(--success); }
.timeline-dot.current { background: var(--warning-bg); color: var(--warning); border: 2px solid var(--gold); }
.timeline-dot.pending { background: var(--gray-100); color: var(--gray-400); }

.timeline-content {}
.timeline-title { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.timeline-sub { font-size: 12px; color: var(--gray-400); }

/* LEGAL NOTE */
.legal-note {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.legal-note svg { flex-shrink: 0; margin-top: 1px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-260px); }
  .main { margin-left: 0; }
  .metrics-grid { grid-template-columns: repeat(2,1fr); }
  .modules-grid { grid-template-columns: 1fr; }
  .course-layout { grid-template-columns: 1fr; }
  .progress-section { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }

/* ===== LANDING PAGE ===== */
.landing-page {
  background: #f8f5f0;
  min-height: 100vh;
  font-family: 'DM Sans', sans-serif;
}
.lp-container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

.lp-header {
  background: #1a2744;
  padding: 14px 0;
  position: sticky; top: 0; z-index: 100;
}
.lp-header-inner { display: flex; align-items: center; justify-content: space-between; }
.lp-brand { display: flex; align-items: center; gap: 12px; }
.lp-brand-logo { height: 40px; width: auto; }
.lp-brand-text {}
.lp-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; color: #fff; line-height: 1.1;
}
.lp-brand-name span { color: #c9a84c; }
.lp-brand-tag { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; }
.lp-header-actions { display: flex; align-items: center; gap: 14px; }
.lp-legal-badge {
  font-size: 11px; color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 12px; border-radius: 20px;
}
.lp-btn-stagiaire {
  background: #fff; color: #1a2744;
  border: none; padding: 9px 20px;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: background 0.15s;
}
.lp-btn-stagiaire:hover { background: #f4f2ee; }

/* HERO */
.lp-hero { padding: 70px 40px 60px; max-width: 1100px; margin: 0 auto; }
.lp-hero-eyebrow {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.12em; color: #c9a84c;
  font-weight: 600; margin-bottom: 16px;
}
.lp-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 44px; font-weight: 700;
  color: #1a2744; line-height: 1.15; margin-bottom: 18px;
}
.lp-hero-title span { color: #c9a84c; }
.lp-hero-sub {
  font-size: 16px; color: #6b6456;
  line-height: 1.75; margin-bottom: 32px; max-width: 540px;
}
.lp-hero-btn {
  background: #1a2744; color: #fff;
  border: none; padding: 13px 28px;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: background 0.15s; display: inline-block;
}
.lp-hero-btn:hover { background: #243460; }
.lp-hero-stats { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.lp-stat-value { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; color: #1a2744; }
.lp-stat-label { font-size: 12px; color: #a09880; margin-top: 2px; }
.lp-stat-sep { width: 1px; height: 36px; background: #e8e4dc; }

/* CATALOGUE */
.lp-catalogue { padding: 70px 0; background: #f8f5f0; }
.lp-section-header { text-align: center; margin-bottom: 44px; }
.lp-section-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: #c9a84c; font-weight: 600; margin-bottom: 10px; }
.lp-section-title { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 600; color: #1a2744; margin-bottom: 10px; }
.lp-section-sub { font-size: 14px; color: #6b6456; max-width: 480px; margin: 0 auto; line-height: 1.6; }

.lp-catalogue-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }

.lp-formation-card {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 12px; padding: 24px;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s;
}
.lp-formation-card.available { border-color: #c9a84c; }
.lp-formation-card.available:hover { box-shadow: 0 8px 32px rgba(201,168,76,0.15); }
.lp-formation-card.coming { opacity: 0.65; }
.lp-formation-card.placeholder {
  border: 2px dashed #e8e4dc;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  min-height: 180px;
}
.lp-fc-placeholder-inner { text-align: center; }
.lp-fc-plus { font-size: 36px; color: #e8e4dc; font-weight: 300; margin-bottom: 8px; }
.lp-fc-placeholder-text { font-size: 13px; color: #a09880; line-height: 1.5; }

.lp-fc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lp-fc-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: #e8edf8; color: #1a2744;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
}
.lp-fc-icon.muted { background: #f4f2ee; color: #a09880; }
.lp-fc-badge {
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.lp-fc-badge.available { background: #fef3cd; color: #92620a; }
.lp-fc-badge.coming { background: #f4f2ee; color: #a09880; }

.lp-fc-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; color: #1a2744; margin-bottom: 8px; line-height: 1.3; }
.lp-fc-desc { font-size: 13px; color: #6b6456; line-height: 1.6; margin-bottom: 14px; flex: 1; }
.lp-fc-meta { display: flex; gap: 14px; font-size: 12px; color: #a09880; margin-bottom: 18px; flex-wrap: wrap; }
.lp-fc-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 16px; border-top: 1px solid #e8e4dc; }
.lp-fc-price { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; color: #c9a84c; }
.lp-fc-price-muted { font-size: 13px; color: #a09880; }
.lp-btn-acceder {
  background: #1a2744; color: #fff;
  border: none; padding: 9px 20px;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: background 0.15s;
}
.lp-btn-acceder:hover { background: #243460; }
.lp-btn-programme {
  background: transparent; color: #1a2744;
  border: 1.5px solid #1a2744;
  padding: 8px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer; text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.lp-btn-programme:hover { background: #1a2744; color: #fff; }
.lp-btn-soon {
  background: transparent; color: #a09880;
  border: 1px solid #e8e4dc;
  padding: 8px 16px; border-radius: 8px;
  font-size: 12px; font-family: 'DM Sans', sans-serif;
  cursor: not-allowed;
}

/* FOOTER */
.lp-footer { background: #1a2744; padding: 28px 0; }
.lp-footer-inner { display: flex; align-items: center; justify-content: space-between; }
.lp-footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

/* JS toggling */
#platform { display: none; }


/* VIDEO PLACEHOLDER */
.video-placeholder {
  background: var(--navy);
  border-radius: var(--radius);
  margin-bottom: 24px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(201,168,76,0.4);
  cursor: pointer;
  transition: border-color 0.2s;
}
.video-placeholder:hover { border-color: var(--gold); }
.video-placeholder-inner { text-align: center; }
.video-icon { font-size: 36px; color: var(--gold); margin-bottom: 8px; opacity: 0.7; }
.video-label { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8); margin-bottom: 4px; }
.video-sub { font-size: 12px; color: rgba(255,255,255,0.35); }

