/* ============================================
   Praetor Orientalis — Main Stylesheet
   Old-style warm, elegant UI
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --navy:        #12284a;
  --navy-light:  #1e3a5f;
  --navy-dark:   #0b1a33;
  --gold:        #c8a84e;
  --gold-light:  #d4b96a;
  --gold-dark:   #b08f3a;
  --white:       #ffffff;
  --off-white:   #f8f5f0;
  --cream:       #f5f2ed;
  --warm-bg:     #f0ede7;
  --gray-100:    #f1f3f5;
  --gray-200:    #e9ecef;
  --gray-300:    #dee2e6;
  --gray-400:    #ced4da;
  --gray-500:    #adb5bd;
  --gray-600:    #868e96;
  --gray-700:    #495057;
  --gray-800:    #343a40;
  --text:        #2c3e50;
  --text-muted:  #6c757d;
  --success:     #28a745;
  --warning:     #ffc107;
  --error:       #dc3545;
  --info:        #17a2b8;

  /* Typography */
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-nav:      'Jost', -apple-system, sans-serif;
  --font-arabic:   'Amiri', serif;
  --font-elegant:  'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --spacing-xs:   0.25rem;
  --spacing-sm:   0.5rem;
  --spacing-md:   1rem;
  --spacing-lg:   1.5rem;
  --spacing-xl:   2rem;
  --spacing-2xl:  3rem;
  --spacing-3xl:  4rem;

  /* Radius */
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    12px;
  --radius-xl:    16px;
  --radius-full:  9999px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 30px rgba(0,0,0,0.10);
  --shadow-xl:    0 12px 40px rgba(0,0,0,0.12);

  /* Layout */
  --container-max: 1200px;
  --container-sm:  720px;
  --nav-height:    72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: linear-gradient(135deg, rgba(248,245,240,0.95), rgba(240,237,231,0.9));
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--navy); line-height: 1.3; }

/* ---------- Container ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--spacing-lg); }
.container-sm { max-width: var(--container-sm); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--gold); }
.text-warning { color: var(--warning); }
.text-mono { font-family: 'Courier New', monospace; font-size: 0.85em; }

/* ---------- Sections ---------- */
.section { padding: var(--spacing-3xl) 0; }
.section-alt {
  background: linear-gradient(135deg, rgba(248,245,240,0.6), rgba(232,230,225,0.4));
}
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-md);
  font-size: 2.5rem;
  position: relative;
  padding-bottom: var(--spacing-md);
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

/* ---------- Page Hero ---------- */
.page-hero {
  background: linear-gradient(135deg, rgba(248,245,240,0.98) 0%, rgba(232,230,225,0.9) 100%);
  color: var(--navy);
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-lg) var(--spacing-2xl);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(18,40,74,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.page-hero .page-title {
  color: var(--navy);
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
  position: relative;
}
.page-hero .page-subtitle {
  color: var(--text-muted);
  margin-top: var(--spacing-sm);
  font-size: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
}
.page-hero .page-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: var(--spacing-md) auto;
  position: relative;
}
.page-title { font-size: 2rem; margin-bottom: var(--spacing-md); }

/* ============================================
   NAVBAR — 3-column grid layout with webinaire
   ============================================ */
.navbar {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(18,40,74,0.08);
  box-shadow: 0 1px 0 rgba(201,168,76,0.15), 0 4px 24px rgba(0,0,0,0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  font-family: var(--font-nav);
}

.navbar .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar .container > .logo { justify-self: start; }
.navbar .container > .nav-menu { justify-self: center; }
.navbar .container > .nav-user { justify-self: end; }
.navbar .container > .menu-toggle { justify-self: end; }

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity 0.25s;
  flex-shrink: 0;
}

.logo:hover { opacity: 0.85; }

.logo-image {
  height: 54px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover .logo-image { transform: scale(1.04); }

.text-logo {
  height: 38px;
  width: auto;
}

/* ── Nav menu ── */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 36px);
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--navy);
  background: rgba(201,168,76,0.10);
}

.nav-link.active {
  color: var(--navy);
  font-weight: 500;
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* ── Lien Webinaire stylisé ── */
.nav-link--webinaire {
  background: rgba(201,168,76,0.07);
  border: 1.5px solid rgba(201,168,76,0.28);
  border-radius: var(--radius-full);
  padding: 6px 18px 6px 14px;
  margin-right: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 500;
  transition: all 0.25s ease;
}

.nav-link--webinaire::after { display: none; }

.nav-link--webinaire:hover {
  background: rgba(201,168,76,0.14);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201,168,76,0.25);
}

.nav-link--webinaire.active {
  background: rgba(201,168,76,0.10);
  border-color: var(--gold);
  color: var(--navy);
}

.webinaire-icon { color: var(--gold); font-size: 0.85rem; }
.webinaire-text { font-size: 0.9rem; }

.webinaire-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ── Nav user ── */
.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Séparateur ── */
.nav-separator {
  width: 1px;
  height: 22px;
  background: rgba(18,40,74,0.08);
  margin: 0 4px;
  flex-shrink: 0;
}

/* ── Bouton Connexion ── */
.btn-connexion {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  color: var(--navy);
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(18,40,74,0.08);
  font-family: var(--font-nav);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.22s ease;
  white-space: nowrap;
  background: transparent;
}

.btn-connexion-icon {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.22s;
}

.btn-connexion:hover {
  border-color: rgba(201,168,76,0.5);
  background: rgba(201,168,76,0.10);
  color: var(--navy);
}

.btn-connexion:hover .btn-connexion-icon { color: var(--gold); }

.btn-connexion.active {
  border-color: var(--gold);
  background: rgba(201,168,76,0.10);
}

/* ── User menu ── */
.user-menu { position: relative; }

.user-button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 6px;
  background: transparent;
  border: 1px solid rgba(18,40,74,0.08);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--navy);
  font-family: var(--font-nav);
  font-size: 0.88rem;
  font-weight: 500;
}

.user-button:hover {
  border-color: rgba(201,168,76,0.5);
  background: rgba(201,168,76,0.10);
}

.user-avatar {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3d6e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.user-name {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chevron-icon {
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.user-menu:focus-within .chevron-icon { transform: rotate(180deg); }

.user-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: white;
  border: 1px solid rgba(18,40,74,0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.04);
  min-width: 190px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 100;
}

.user-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.88rem;
  font-family: var(--font-nav);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.dropdown-item i { color: var(--gold); width: 16px; text-align: center; }
.dropdown-item:hover { background: rgba(201,168,76,0.10); }

.dropdown-item--danger { color: #c0392b; }
.dropdown-item--danger i { color: #c0392b; }
.dropdown-item--danger:hover { background: rgba(192,57,43,0.06); }

.dropdown-divider {
  height: 1px;
  background: rgba(18,40,74,0.08);
  margin: 6px 0;
}

/* ── CTA Button ── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 16px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3660 100%);
  color: var(--gold-light) !important;
  text-decoration: none;
  border-radius: 8px;
  font-family: var(--font-nav);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.03em;
  transition: all 0.25s;
  border: 1px solid rgba(201,168,76,0.2);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(18,40,74,0.15);
}

.btn-cta:hover {
  background: linear-gradient(135deg, #1a3660 0%, #22487a 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(18,40,74,0.28);
  border-color: rgba(201,168,76,0.35);
  color: var(--gold-light) !important;
}

.cta-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.btn-cta:hover .cta-arrow { transform: translateX(3px); }
.btn-cta .cta-text { margin-bottom: 0; color: inherit; }

/* ── Hamburger ── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(18,40,74,0.08);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.menu-toggle:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.10);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── Mobile menu ── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 340px;
  height: 100vh;
  background: white;
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  z-index: 1002;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-nav);
}

.mobile-menu.active { right: 0; }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(18,40,74,0.08);
}

.mobile-logo { display: flex; align-items: center; }

.mobile-menu-close {
  background: none;
  border: 1px solid rgba(18,40,74,0.08);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 10px;
  transition: all 0.2s;
}

.mobile-menu-close:hover {
  border-color: rgba(201,168,76,0.4);
  color: var(--navy);
}

.mobile-menu-links { padding: 16px 16px 32px; }

.mobile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.mobile-link span { flex: 1; }

.mobile-link:hover,
.mobile-link.active {
  background: rgba(201,168,76,0.10);
  color: var(--navy);
}

.mobile-link.active { font-weight: 500; }
.mobile-link i { color: var(--gold); width: 18px; text-align: center; }

/* ── Lien webinaire mobile stylisé ── */
.mobile-webinaire-section {
  margin: 8px 0 4px;
}

.mobile-link--webinaire {
  background: rgba(201,168,76,0.07);
  border: 1.5px solid rgba(201,168,76,0.28);
  border-radius: var(--radius-full);
  padding: 12px 18px;
  color: var(--navy);
  font-weight: 500;
}

.mobile-link--webinaire:hover,
.mobile-link--webinaire.active {
  background: rgba(201,168,76,0.14);
  border-color: var(--gold);
}

.mobile-webinaire-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-left: auto;
}

.mobile-link--danger { color: #c0392b; }
.mobile-link--danger i { color: #c0392b; }
.mobile-link--danger:hover { background: rgba(192,57,43,0.06); }

.mobile-divider {
  height: 1px;
  background: rgba(18,40,74,0.08);
  margin: 12px 0;
}

.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: var(--navy);
  color: var(--gold-light) !important;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.93rem;
  font-weight: 500;
  margin-top: 8px;
  transition: background 0.2s;
}

.mobile-cta:hover { background: #1a3660; color: var(--gold-light) !important; }

.mobile-cta-price {
  background: rgba(201,168,76,0.2);
  color: var(--gold-light);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(201,168,76,0.3);
}

/* ── Mobile Overlay ── */
.mobile-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(12,24,48,0.45);
  backdrop-filter: blur(2px);
  z-index: 1001;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* ── Scroll shadow ── */
.navbar.scrolled {
  box-shadow: 0 1px 0 rgba(201,168,76,0.2), 0 8px 32px rgba(0,0,0,0.09);
}

/* Offset main content for fixed navbar */
.main-content {
  padding-top: var(--nav-height);
}

/* ============================================
   HERO — Full-width gradient with two-column
   ============================================ */
.hero {
  background: linear-gradient(135deg, rgba(248,245,240,0.98) 0%, rgba(232,230,225,0.9) 100%);
  color: var(--navy);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(18,40,74,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--spacing-3xl) var(--spacing-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  min-height: 520px;
  position: relative;
}
.hero-content { max-width: 560px; }
.hero-title {
  font-size: 3.2rem;
  margin-bottom: var(--spacing-lg);
  color: var(--navy);
  line-height: 1.15;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-book {
  width: 280px;
  height: 380px;
  background: linear-gradient(145deg, rgba(200,168,78,0.15), rgba(200,168,78,0.05));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(200,168,78,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  backdrop-filter: blur(10px);
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-book::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 12px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}
.hero-book-icon {
  font-size: 3.5rem;
  color: var(--gold);
}
.hero-book-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  text-align: center;
  padding: 0 var(--spacing-lg);
}
.hero-book-sub {
  font-family: var(--font-elegant);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 1px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1;
  font-family: var(--font-body);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark);
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(200,168,78,0.25);
  font-weight: 600;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200,168,78,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(200,168,78,0.25);
}
.btn-outline-white {
  background: var(--white);
  color: var(--navy);
  border-color: rgba(18,40,74,0.3);
}
.btn-outline-white:hover {
  background: var(--navy-light);
  color: var(--white);
  border-color: var(--navy-light);
}
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-xs { padding: 4px 10px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================
   CARDS — with gold left accent
   ============================================ */
.feature-card,
.pillar-card,
.resource-card,
.contact-info-card,
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.feature-card::before,
.pillar-card::before,
.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
  opacity: 1;
  transition: opacity 0.3s;
}
.feature-card:hover,
.pillar-card:hover,
.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}
.feature-card:hover::before,
.pillar-card:hover::before,
.resource-card:hover::before {
  opacity: 1;
}
.feature-icon,
.pillar-icon,
.resource-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin: 0 auto var(--spacing-lg);
  display: block;
  text-align: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
}
.feature-card h3,
.pillar-card h3,
.resource-card h3,
.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}
.feature-card p,
.pillar-card p,
.resource-card p,
.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.resource-count {
  display: inline-block;
  margin-top: var(--spacing-sm);
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 500;
}

/* Grids */
.features-grid,
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}
.step-card {
  border: 1px solid var(--gray-200);
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto var(--spacing-md);
  box-shadow: 0 4px 15px rgba(18,40,74,0.2);
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-card {
  background: linear-gradient(135deg, var(--off-white) 0%, var(--warm-bg) 100%);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
  margin-top: var(--spacing-2xl) * 2;
  margin-top: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-card .quote-mark {
  font-size: 8rem;
  color: rgba(200,168,78,0.2);
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.testimonial-text {
  font-style: italic;
  color: var(--navy-dark);
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
  text-align: center;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ============================================
   ABOUT AUTHOR
   ============================================ */
.about-author {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}
.author-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--spacing-xl));
}
.author-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  margin: 0 auto 2rem;
  border: 4px solid var(--gold);
}
.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-photo::after {
  display: none;
}
.author-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
}
.author-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  background: rgba(200,168,78,0.1);
  color: var(--gold-dark);
}
.author-content h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-md);
}
.author-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}
.author-bio {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
  font-size: 0.95rem;
}
.author-bio p {
  margin-bottom: var(--spacing-md);
}
.author-quote {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  position: relative;
}
.author-quote p {
  font-style: italic;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.6;
}
.author-quote cite {
  display: block;
  margin-top: var(--spacing-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: normal;
  text-align: right;
}

/* ============================================
   TIMELINE — programme page
   ============================================ */
.timeline {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 23px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-light), var(--gray-300));
}
.timeline-item {
  display: flex;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  position: relative;
}
.timeline-marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(18,40,74,0.25);
  border: 3px solid var(--white);
}
.timeline-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg) var(--spacing-xl);
  flex: 1;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}
.timeline-content:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--gold);
}
.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.timeline-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   PROGRAMME — Section subtitle
   ============================================ */
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Programme intro */
.programme-intro {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  padding: 0;
}

/* 4-column pillars grid */
.pillars-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

/* ============================================
   MODULE CARDS — Premium clean design
   ============================================ */
.modules-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  max-width: 880px;
  margin: 0 auto;
}

.module-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
  border: 1px solid rgba(0,0,0,0.06);
}
.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(18,40,74,0.1);
}

.module-card-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}
.module-card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
}

.module-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
  min-width: 44px;
  transition: opacity 0.3s ease;
}
.module-card:hover .module-number {
  opacity: 0.6;
}

.module-header-text {
  flex: 1;
}
.module-header-text h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
  color: var(--navy);
}
.module-objective {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

.module-phase {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.phase-fondamentale {
  background: rgba(18,40,74,0.06);
  color: var(--navy);
}
.phase-expression {
  background: rgba(200,168,78,0.1);
  color: var(--gold-dark);
}
.phase-specialisation {
  background: rgba(40,167,69,0.08);
  color: #1b7a35;
}

.module-bullets {
  padding: var(--spacing-md) var(--spacing-xl) var(--spacing-lg);
  padding-left: calc(var(--spacing-xl) + 44px + var(--spacing-lg));
}
.module-bullets li {
  position: relative;
  padding: 5px 0 5px 22px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
  list-style: none;
}
.module-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}

/* ============================================
   METHOD TIPS — Clean premium
   ============================================ */
.method-tips {
  max-width: 680px;
  margin: 0 auto var(--spacing-2xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}
.method-tip {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.method-tip:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.method-tip-number {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.method-tip p {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding-top: 4px;
}

/* Arabic quote block */
.arabic-quote-block {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: var(--spacing-2xl) var(--spacing-xl);
  position: relative;
}
.arabic-quote-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.arabic-text {
  font-family: var(--font-arabic);
  font-size: 2rem;
  color: var(--navy);
  direction: rtl;
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}
.arabic-translation {
  font-family: var(--font-elegant);
  font-size: 1.1rem;
  color: var(--gold-dark);
  font-style: italic;
  margin-bottom: var(--spacing-sm);
}
.arabic-closing {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Price guarantee */
.price-guarantee {
  font-size: 0.88rem;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}
.price-guarantee i {
  color: var(--gold);
}

/* Footer description */
.footer-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: var(--spacing-sm);
  line-height: 1.6;
}
.footer-info-item {
  color: var(--gray-400);
  font-size: 0.88rem;
}

/* ============================================
   PRICE CARD — Premium clean
   ============================================ */
.price-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl) var(--spacing-2xl) var(--spacing-xl);
  max-width: 500px;
  margin: var(--spacing-xl) auto 0;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.price-amount {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  font-family: var(--font-heading);
}
.price-currency {
  font-size: 1.4rem;
  vertical-align: super;
  font-weight: 400;
}
.price-detail {
  color: var(--text-muted);
  margin-top: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  font-size: 0.88rem;
  letter-spacing: 0.3px;
}
.price-features {
  text-align: left;
  margin-bottom: var(--spacing-xl);
}
.price-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  border-bottom: 1px solid var(--gray-100);
}
.price-features li:last-child { border-bottom: none; }
.price-features li i {
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(18,40,74,0.05) 0%, rgba(200,168,78,0.05) 100%);
  color: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(18,40,74,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.cta-section h2 {
  color: var(--navy);
  margin-bottom: var(--spacing-sm);
  position: relative;
  font-size: 2.2rem;
}
.cta-text {
  color: var(--text-muted);
  margin-bottom: var(--spacing-xl);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  font-size: 1rem;
}

/* ============================================
   FORMS — Auth
   ============================================ */
.auth-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-height) - 200px);
  padding: var(--spacing-xl);
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.auth-card-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: var(--spacing-xl) var(--spacing-2xl);
  text-align: center;
  position: relative;
}
.auth-card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.auth-card-header .auth-title {
  color: var(--white);
  margin-bottom: var(--spacing-xs);
}
.auth-card-header .auth-subtitle {
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
  font-size: 0.9rem;
}
.auth-card-header .auth-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
}
.auth-card-body {
  padding: var(--spacing-xl) var(--spacing-2xl) var(--spacing-2xl);
}
.auth-title {
  text-align: center;
  margin-bottom: var(--spacing-xs);
}
.auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: var(--spacing-xl);
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}
.auth-footer {
  text-align: center;
  margin-top: var(--spacing-lg);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Form group with icon */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-group label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,168,78,0.12);
}
.input-icon-wrapper {
  position: relative;
}
.input-icon-wrapper input {
  padding-left: 40px;
  width: 100%;
}
.input-icon-wrapper .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: 0.9rem;
  pointer-events: none;
  transition: color 0.2s;
}
.input-icon-wrapper input:focus + .input-icon,
.input-icon-wrapper input:focus ~ .input-icon {
  color: var(--gold);
}
.form-hint { font-size: 0.8rem; color: var(--text-muted); }
.form-row { display: flex; gap: var(--spacing-md); }
.form-row-between { justify-content: space-between; align-items: center; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.9rem;
  cursor: pointer;
}
.link-small { font-size: 0.85rem; }
.form-status { margin-top: var(--spacing-sm); font-size: 0.9rem; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }

/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
}
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  grid-column: 1 / -1;
}
.contact-info-card {
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
}
.contact-info-card i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,168,78,0.1), rgba(200,168,78,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0 auto var(--spacing-sm);
}
.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
}
.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}
.contact-form {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  grid-column: 1 / -1;
}

/* Contact CTA Card */
.contact-cta-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  text-align: center;
  color: var(--white);
  margin-top: var(--spacing-2xl);
  position: relative;
  overflow: hidden;
}
.contact-cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(200,168,78,0.06) 1px, transparent 1px);
  background-size: 25px 25px;
  pointer-events: none;
}
.contact-cta-card h3 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
  position: relative;
}
.contact-cta-card p {
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--spacing-lg);
  position: relative;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
}
.alert i { margin-top: 2px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }

/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}
.badge-primary { background: var(--navy); color: var(--white); }
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-error   { background: #f8d7da; color: #721c24; }
.badge-default { background: var(--gray-200); color: var(--gray-700); }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}
.status-success { background: #d4edda; color: #155724; }
.status-pending { background: #fff3cd; color: #856404; }
.status-error   { background: #f8d7da; color: #721c24; }

/* ============================================
   TABLES
   ============================================ */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.table th,
.table td {
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.table th {
  font-weight: 600;
  color: var(--gray-700);
  background: var(--off-white);
}
.table tr:hover { background: var(--gray-100); }

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}
.dashboard-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  border: none;
  transition: box-shadow 0.2s;
}
.dashboard-card:hover {
  box-shadow: var(--shadow-md);
}
.dashboard-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--navy);
}
.dashboard-card h3 i { color: var(--gold); }
.profile-card { text-align: center; }
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
  color: var(--white);
  font-size: 2rem;
}
.dashboard-actions {
  margin-top: var(--spacing-xl);
  text-align: center;
}

/* ============================================
   COURSES
   ============================================ */
.courses-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}
.course-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid transparent;
}
.course-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  color: var(--text);
  border-left-color: var(--gold);
}
.course-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(200,168,78,0.1), rgba(200,168,78,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
}
.course-card-body { flex: 1; }
.course-card-body h3 { font-size: 1.1rem; margin-bottom: 4px; }
.course-card-body p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.course-file-count { font-size: 0.8rem; color: var(--gray-600); }
.course-card-arrow { color: var(--gray-400); font-size: 1.1rem; }

/* ============================================
   FILES
   ============================================ */
.files-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}
.file-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.file-card:hover { box-shadow: var(--shadow-md); }
.file-card.file-blocking { border-left: 3px solid var(--warning); }
.file-icon {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}
.file-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}
.file-name { font-size: 0.9rem; font-weight: 500; }
.download-btn { margin-left: auto; }

/* Download module */
.download-module { margin-bottom: var(--spacing-2xl); }
.module-title { font-size: 1.3rem; margin-bottom: var(--spacing-xs); }
.module-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: var(--spacing-md); }
.download-history { margin-top: var(--spacing-2xl); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  font-size: 0.9rem;
}
.breadcrumb-sep { color: var(--gray-400); font-size: 0.7rem; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  text-align: center;
  padding: var(--spacing-3xl);
  color: var(--text-muted);
}
.empty-state i {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  display: block;
  color: var(--gray-400);
}

/* ============================================
   ERROR PAGES
   ============================================ */
.error-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-height) - 200px);
  text-align: center;
  padding: var(--spacing-xl);
}
.error-code { font-size: 6rem; color: var(--gold); font-weight: 700; }
.error-content h2 { margin-bottom: var(--spacing-md); }
.error-content p { color: var(--text-muted); margin-bottom: var(--spacing-xl); }
.error-stack {
  text-align: left;
  background: var(--gray-100);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  overflow-x: auto;
  max-width: 600px;
  margin: var(--spacing-md) auto;
}

/* ============================================
   LEGAL
   ============================================ */
.legal-section .legal-content { line-height: 1.8; }
.legal-content h2 {
  font-size: 1.2rem;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-sm);
}
.legal-content p { margin-bottom: var(--spacing-md); }
.legal-content ul {
  padding-left: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}
.legal-content ul li { list-style: disc; padding: 2px 0; }

/* ============================================
   SCROLL REVEAL — Simple, reliable
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   FOOTER — Navy gradient, gold accents
   ============================================ */
.footer {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--gray-400);
  padding: var(--spacing-3xl) 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}
.footer-brand { margin-bottom: var(--spacing-sm); }
.footer-brand .logo-text { font-size: 1.3rem; }
.footer-brand .logo-accent { font-size: 1.1rem; }
.footer-tagline { font-size: 0.9rem; color: var(--gray-500); }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-nav);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-sm);
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.footer-col ul li { margin-bottom: var(--spacing-sm); }
.footer-col ul li a {
  color: var(--gray-400);
  font-size: 0.88rem;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}
.footer-social { display: flex; gap: var(--spacing-md); }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 1rem;
  transition: all 0.25s;
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--spacing-lg) 0;
  text-align: center;
  font-size: 0.83rem;
  color: var(--gray-500);
}
.footer-bottom .heart { color: var(--gold); }

/* ============================================
   INLINE FORM / PAGINATION
   ============================================ */
.inline-form { display: inline-block; }
.actions-cell { display: flex; gap: 4px; }
.refund-actions { display: flex; gap: 4px; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: var(--spacing-xl);
}
.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  color: var(--text);
  font-size: 0.85rem;
  transition: all 0.15s;
}
.pagination-link:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.pagination-link.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  font-weight: 600;
}

/* ============================================
   HERO — Cover image & text logo
   ============================================ */
.hero-text-logo {
  height: 120px;
  width: auto;
  max-width: 600px;
  object-fit: contain;
  display: block;
  margin-bottom: var(--spacing-lg);
}
.cover-container {
  position: relative;
  max-width: 500px;
  margin-left: auto;
  padding-top: 30px;
  padding-right: 30px;
}
.cover-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 8px solid var(--white);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}
.cover-image:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}
.cover-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: linear-gradient(135deg, #c41e3a, #a0162c);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transform: rotate(5deg);
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
  text-align: center;
  line-height: 1.3;
}
@keyframes float {
  0%, 100% { transform: rotate(5deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-10px); }
}

/* ============================================
   AUTHOR — Photo card, location tags, immersion
   ============================================ */
.author-photo-card {
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}
.author-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-photo-card .author-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  color: var(--gold);
  font-size: 4rem;
}
.author-photo-card .author-photo-placeholder span {
  font-family: var(--font-nav);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.author-photo-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.author-location-tags {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}
.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--off-white);
  color: var(--navy);
  border: 1px solid rgba(18,40,74,0.12);
}
.location-tag i {
  color: var(--gold);
}

.author-immersion {
  margin-top: var(--spacing-xl);
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.author-immersion h3 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
}
.immersion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}
.immersion-item {
  text-align: center;
}
.immersion-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(18,40,74,0.12);
  transition: transform 0.3s ease;
}
.immersion-item img:hover {
  transform: scale(1.05);
}
.immersion-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

/* ============================================
   PHASES TIMELINE — Programme page
   ============================================ */
.phases-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 60px;
}
.phases-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 29px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-light), var(--gray-300));
}
.phase-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
}
.phase-number {
  position: absolute;
  left: -60px;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-heading);
  z-index: 1;
  box-shadow: 0 4px 15px rgba(18,40,74,0.25);
  border: 3px solid var(--white);
}
.phase-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg) var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}
.phase-content:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--gold);
}
.phase-content h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--navy);
}
.phase-objective {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--spacing-md);
}
.phase-list {
  margin-bottom: var(--spacing-md);
}
.phase-list li {
  position: relative;
  padding: 4px 0 4px 20px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
  list-style: none;
}
.phase-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}
.phase-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(18,40,74,0.06);
  color: var(--navy);
}
.phase-tag.tag-expression {
  background: rgba(200,168,78,0.1);
  color: var(--gold-dark);
}
.phase-tag.tag-specialisation {
  background: rgba(40,167,69,0.08);
  color: #1b7a35;
}

/* ============================================
   DELIVERY GRID — Ressources page
   ============================================ */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}
.delivery-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
}
.delivery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.delivery-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,168,78,0.1), rgba(200,168,78,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: 1.4rem;
  color: var(--gold);
}
.delivery-text h3 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
}
.delivery-text p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ============================================
   FOOTER ADDITIONS — Bottom inner, credits, linkedin
   ============================================ */
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}
.footer-credits {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  font-size: 0.83rem;
  color: var(--gray-500);
}
.made-with {
  color: var(--gray-500);
  font-size: 0.83rem;
}
.made-with .heart { color: var(--gold); }
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(200,168,78,0.1);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(200,168,78,0.2);
  transition: all 0.25s;
}
.linkedin-btn:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ============================================
   DOWNLOADS — Page header, module cards, refund indicator
   ============================================ */

/* Page header */
.dl-page-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--gray-200);
}
.dl-page-header .page-title {
  font-size: 2.4rem;
  margin-bottom: var(--spacing-sm);
}
.dl-page-header > p {
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
  font-size: 0.95rem;
}

/* Refund indicator */
.dl-refund-indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(220, 53, 69, 0.07);
  border-left: 4px solid var(--error);
  font-size: 0.9rem;
  color: var(--text);
  max-width: 420px;
  width: 100%;
  text-align: left;
}
.dl-refund-indicator.eligible {
  background: rgba(40, 167, 69, 0.07);
  border-left-color: var(--success);
}
.dl-refund-indicator > i {
  font-size: 1.4rem;
  color: var(--error);
  flex-shrink: 0;
}
.dl-refund-indicator.eligible > i { color: var(--success); }
.dl-refund-title { font-weight: 600; margin-bottom: 2px; color: var(--error); }
.dl-refund-indicator.eligible .dl-refund-title { color: var(--success); }
.dl-refund-sub { font-size: 0.82rem; color: var(--text-muted); }

/* Section heading above grid */
.dl-section-heading {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.dl-section-heading i { color: var(--gold); font-size: 1.1rem; }

/* Module cards grid */
.dl-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
  align-items: start;
}

/* Individual module card */
.dl-module-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.dl-module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.dl-module-card.blocking::before {
  background: linear-gradient(90deg, #6b5b95, #9b8bb5);
}
.dl-module-card.safe::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.dl-module-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Card header with icon */
.dl-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-md);
}
.dl-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.dl-module-card.blocking .dl-card-icon {
  background: linear-gradient(135deg, #6b5b95, #8a7aaa);
  color: white;
}
.dl-card-title {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.3;
}
.dl-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Files section within card */
.dl-files-section {
  padding: var(--spacing-sm) var(--spacing-xl) var(--spacing-md);
  flex: 1;
}
.dl-files-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-xs);
  border-bottom: 1px solid var(--gray-200);
}
.dl-files-label i { color: var(--gold); }
.dl-files-label + .dl-files-label { margin-top: var(--spacing-md); }

/* Audio collapsible toggle */
button.dl-audio-toggle {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  justify-content: space-between;
  padding: 0;
  border-radius: 4px;
  transition: background 0.15s;
}
button.dl-audio-toggle:hover { background: rgba(200,168,76,0.07); }
.dl-audio-chevron {
  color: var(--gray-400) !important;
  font-size: 0.75rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
button.dl-audio-toggle[aria-expanded="true"] .dl-audio-chevron {
  transform: rotate(180deg);
}
.audio-files-collapsed {
  display: none;
}
.audio-files-collapsed.open {
  display: flex;
}

/* Responsive */
@media (max-width: 900px) {
  .dl-modules-grid { grid-template-columns: 1fr; }
}

/* ============================================
   DOWNLOADS — Instructions, refund policy, modal
   ============================================ */
.instructions-section {
  background: rgba(200,168,78,0.04);
  border: 1px solid rgba(200,168,78,0.12);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}
.instructions-section h2 {
  font-size: 1.15rem;
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.instructions-section h2 i { color: var(--gold); }
.instructions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}
.instruction-card {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.instruction-card i {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.instruction-card p {
  font-size: 0.85rem;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}

.refund-policy-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}
.refund-policy-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.refund-policy-card h3 i { color: var(--gold); }
.refund-policy-card p {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}
.refund-policy-card ul {
  padding-left: var(--spacing-xl);
}
.refund-policy-card ul li {
  list-style: disc;
  padding: 4px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.refund-policy-card ul li a { color: var(--gold-dark); font-weight: 500; }

/* Custom modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.active {
  display: flex;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  max-width: 440px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}
.modal-header i {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  display: block;
}
.modal-header h3 {
  font-size: 1.3rem;
}
.modal-body {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}
.modal-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}
.modal-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
}
.modal-buttons .btn { flex: 1; justify-content: center; }

/* ============================================
   PASSWORD STRENGTH — Register page
   ============================================ */
.password-strength {
  margin-top: var(--spacing-sm);
}
.strength-bar {
  width: 100%;
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
}
.strength-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
  background: var(--gray-400);
}
.strength-fill.weak { background: var(--error); }
.strength-fill.medium { background: var(--warning); }
.strength-fill.strong { background: var(--success); }
.strength-checklist {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.strength-checklist li {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  transition: color 0.2s;
}
.strength-checklist li i {
  font-size: 0.7rem;
  width: 14px;
  text-align: center;
}
.strength-checklist li i.fa-times { color: var(--gray-400); }
.strength-checklist li i.fa-check { color: var(--success); }
.strength-checklist li.valid {
  color: var(--success);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding: var(--spacing-2xl) var(--spacing-lg);
  }
  .hero-visual { order: -1; }
  .hero-content { max-width: 600px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-text-logo { height: 70px; margin-left: auto; margin-right: auto; }
  .cover-image { width: 220px; }
  .about-author {
    grid-template-columns: 1fr;
  }
  .author-sidebar {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .author-photo {
    width: 180px;
    height: 180px;
  }
  .author-photo-card { max-width: 280px; margin: 0 auto; }
  .author-location-tags { align-items: center; }
  .author-content h2::after { left: 50%; transform: translateX(-50%); }
  .immersion-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr 1fr; }
  .pillars-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .module-card-header { flex-wrap: wrap; }
  .module-phase { margin-left: auto; }
  .module-bullets { padding-left: var(--spacing-xl); }
  .method-tips { grid-template-columns: 1fr; }
  .phases-timeline { padding-left: 55px; }
  .delivery-grid { grid-template-columns: repeat(2, 1fr); }
  .instructions-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; gap: var(--spacing-sm); }
}

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-user .nav-link--webinaire { display: none; }
  .btn-connexion { display: none; }
  .nav-separator { display: none; }
  .menu-toggle { display: flex; }
  .navbar .container {
    grid-template-columns: 1fr auto auto;
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .text-logo { display: none; }
  .cta-text { display: none; }
  .btn-cta { padding: 9px 14px; }
  .cta-arrow { margin: 0; }
  .hero-title { font-size: 2.2rem; }
  .hero-inner { padding: var(--spacing-xl) var(--spacing-lg); }
  .hero-text-logo { height: 50px; }
  .cover-image { width: 180px; }
  .cover-badge { font-size: 0.75rem; padding: 6px 14px; }
  .features-grid,
  .pillars-grid,
  .resources-grid,
  .steps-grid { grid-template-columns: 1fr; }
  .pillars-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .file-card { flex-wrap: wrap; }
  .download-btn { margin-left: 0; width: 100%; justify-content: center; }
  .section-title { font-size: 1.8rem; }
  .page-hero .page-title { font-size: 2.5rem; }
  .page-hero .page-subtitle { font-size: 1rem; }
  .contact-info { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .module-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
  }
  .module-number { font-size: 1.6rem; }
  .module-phase { margin-left: 0; }
  .module-bullets {
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
  }
  .arabic-text { font-size: 1.5rem; }
  .method-tip { padding: var(--spacing-md); }
  .method-tips { grid-template-columns: 1fr; }
  .phases-timeline { padding-left: 50px; }
  .phase-number { width: 40px; height: 40px; font-size: 0.85rem; left: -50px; }
  .phase-content { padding: var(--spacing-md) var(--spacing-lg); }
  .delivery-grid { grid-template-columns: 1fr; }
  .immersion-grid { grid-template-columns: repeat(2, 1fr); }
  .instructions-grid { grid-template-columns: 1fr; }
  .modal-box { padding: var(--spacing-xl); }
  .modal-buttons { flex-direction: column; }
  .author-photo { width: 150px; height: 150px; }
  .author-photo-card { max-width: 240px; }
}

@media (max-width: 480px) {
  .page-hero .page-title { font-size: 2rem; }
  .hero-inner { padding: var(--spacing-lg) var(--spacing-md); }
  .hero-title { font-size: 1.7rem; }
  .hero-text-logo { height: 35px; }
  .cover-image { width: 150px; }
  .auth-card { border-radius: var(--radius-lg); }
  .auth-card-body { padding: var(--spacing-lg); }
  .auth-card-header { padding: var(--spacing-lg); }
  .footer-grid { grid-template-columns: 1fr; }
  .price-card { padding: var(--spacing-lg); }
  .price-amount { font-size: 2.5rem; }
  .phases-timeline { padding-left: 44px; }
  .phase-number { width: 36px; height: 36px; font-size: 0.8rem; left: -44px; }
  .immersion-grid { grid-template-columns: 1fr; }
  .footer-credits { flex-direction: column; gap: var(--spacing-xs); }
  .logo-image { height: 44px; }
}

/* ============================================
   WEBINAIRE SUCCESS PAGE
   ============================================ */
.ws-hero {
  background: linear-gradient(135deg, #0c1d38 0%, #1a3660 100%);
  padding: 1.8rem 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.ws-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.ws-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  gap: 1rem;
}

.ws-hero-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ws-check-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ws-check-ring {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2.5px solid #c9a84c;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: ws-ring-appear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.ws-check-ring::before,
.ws-check-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.22);
  animation: ws-ring-pulse 2.5s ease-in-out infinite;
}

.ws-check-ring::before { inset: -5px; }
.ws-check-ring::after {
  inset: -10px;
  animation-delay: 0.3s;
  border-color: rgba(201, 168, 76, 0.12);
}

.ws-check-icon {
  color: #e2c87a;
  font-size: 1.4rem;
  animation: ws-check-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

.ws-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.12);
  color: #e2c87a;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 30px;
  border: 1px solid rgba(201, 168, 76, 0.45);
}

.ws-hero-right {
  text-align: right;
}

.ws-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: #f5f0e8;
  margin: 0 0 0.2rem;
}

.ws-title span { color: #e2c87a; }

.ws-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  margin: 0;
}

.ws-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.ws-section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 0.8rem;
  text-align: center;
}

.ws-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  color: #12284a;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.ws-video-section { margin-bottom: 3rem; animation: ws-fade-up 0.5s ease 0.3s both; }

.ws-video-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(18, 40, 74, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.ws-video-container video {
  width: 100%;
  display: block;
}

.ws-recap-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 28px rgba(18, 40, 74, 0.08);
  border: 1px solid rgba(18, 40, 74, 0.07);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  animation: ws-fade-up 0.5s ease 0.4s both;
}

.ws-recap-item { display: flex; align-items: center; gap: 1rem; }

.ws-recap-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #12284a 0%, #1e3d6e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a84c;
  font-size: 1.2rem;
}

.ws-recap-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4a5568;
  margin-bottom: 0.2rem;
}

.ws-recap-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #12284a;
}

.ws-recap-value strong { color: #c9a84c; }

.ws-recap-divider {
  width: 1px;
  height: 48px;
  background: rgba(18, 40, 74, 0.1);
}

.ws-whatsapp-section { margin-bottom: 2.5rem; animation: ws-fade-up 0.5s ease 0.55s both; }

.ws-whatsapp-card {
  background: linear-gradient(135deg, #1f2e4a 0%, #1e3d5e 100%);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: 0 15px 30px rgba(18, 40, 74, 0.15);
}

.ws-whatsapp-content { display: flex; align-items: center; gap: 1.5rem; flex: 1; min-width: 250px; }

.ws-whatsapp-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(37, 211, 102, 0.3);
  color: #25D366;
  font-size: 2.2rem;
}

.ws-whatsapp-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.3rem;
}

.ws-whatsapp-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.ws-whatsapp-count {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.5rem;
}

.ws-whatsapp-count i { margin-right: 0.3rem; }

.ws-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.ws-whatsapp-btn:hover {
  background: #20b859;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.ws-steps-section { margin-bottom: 2.5rem; animation: ws-fade-up 0.5s ease 0.5s both; }

.ws-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.ws-step-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 4px 20px rgba(18, 40, 74, 0.07);
  border: 1px solid rgba(18, 40, 74, 0.06);
  position: relative;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.ws-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c9a84c, #e2c87a);
}

.ws-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(18, 40, 74, 0.12);
}

.ws-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #12284a, #1e3d6e);
  color: #e2c87a;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 auto 1rem;
}

.ws-step-title {
  font-weight: 600;
  color: #12284a;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.ws-step-desc {
  font-size: 0.87rem;
  color: #4a5568;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.ws-calendar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.ws-calendar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.7rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.ws-google { background: rgba(66, 133, 244, 0.1); color: #4285f4; border-color: rgba(66, 133, 244, 0.2); }
.ws-google:hover { background: #4285f4; color: #fff; border-color: #4285f4; }
.ws-apple { background: rgba(0, 0, 0, 0.08); color: #555; border-color: rgba(0, 0, 0, 0.12); }
.ws-apple:hover { background: #555; color: #fff; border-color: #555; }
.ws-outlook { background: rgba(0, 114, 198, 0.1); color: #0072c6; border-color: rgba(0, 114, 198, 0.2); }
.ws-outlook:hover { background: #0072c6; color: #fff; border-color: #0072c6; }

.ws-personal-card {
  background: linear-gradient(160deg, #12284a 0%, #1a3660 100%);
  border-radius: 20px;
  padding: 2.5rem;
  color: #fff;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  animation: ws-fade-up 0.5s ease 0.6s both;
}

.ws-personal-card::before {
  content: '\201C';
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  color: rgba(201, 168, 76, 0.15);
  line-height: 1;
}

.ws-personal-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.ws-personal-card strong { color: #e2c87a; }
.ws-arabic { color: #e2c87a; }

.ws-signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.ws-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a84c, #dbb957);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c1d38;
  font-size: 1.2rem;
}

.ws-name { font-weight: 600; color: #fff; font-size: 1rem; }
.ws-role { font-size: 0.85rem; color: rgba(255, 255, 255, 0.58); }

.ws-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: ws-fade-up 0.5s ease 0.7s both;
}

.ws-btn-home,
.ws-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}

.ws-btn-home {
  background: linear-gradient(135deg, #c9a84c 0%, #dbb957 100%);
  color: #0c1d38;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ws-btn-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.ws-btn-outline {
  background: transparent;
  color: #12284a;
  font-weight: 600;
  border: 1.5px solid rgba(18, 40, 74, 0.2);
}

.ws-btn-outline:hover {
  border-color: #c9a84c;
  background: rgba(201, 168, 76, 0.12);
}

@media (max-width: 800px) {
  .ws-hero-container { flex-direction: column; text-align: center; }
  .ws-hero-right { text-align: center; }
  .ws-whatsapp-card { flex-direction: column; text-align: center; padding: 1.8rem; }
  .ws-whatsapp-content { flex-direction: column; text-align: center; }
  .ws-whatsapp-btn { width: 100%; justify-content: center; }
}

@media (max-width: 700px) {
  .ws-steps-grid { grid-template-columns: 1fr; }
  .ws-recap-card { flex-direction: column; align-items: flex-start; }
  .ws-recap-divider { display: none; }
  .ws-body { padding: 2.5rem 1rem 4rem; }
  .ws-personal-card { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .ws-cta-row { flex-direction: column; align-items: center; }
  .ws-btn-home,
  .ws-btn-outline { width: 100%; justify-content: center; }
  .ws-calendar-links { flex-direction: column; align-items: center; width: 100%; }
  .ws-calendar-link { width: 100%; justify-content: center; }
}

@keyframes ws-ring-appear {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes ws-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0; }
}

@keyframes ws-check-pop {
  from { transform: scale(0) rotate(-20deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes ws-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
