/* ═══════════════════════════════════════════════════
   TGAclass — modals.css
   CSS des modaux, toasts et overlays.
   Chargé EN DERNIER dans le layout pour avoir
   la priorité sur tous les autres fichiers CSS.
═══════════════════════════════════════════════════ */

.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 14px;
  font-size: 14px; font-weight: 600;
  color: var(--text-dark);
  display: flex; align-items: center; gap: 10px;
  z-index: 99999;
  box-shadow: 0 8px 32px rgba(21,101,192,0.15);
  transform: translateY(20px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast svg { width: 20px; height: 20px; }

/* ══════════════════════════════════════════════
   ANIMATIONS ENTRÉE
   ══════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards;
}
@keyframes fadeUp { to{opacity:1;transform:translateY(0)} }

.fade-up:nth-child(1) { animation-delay: 0.05s; }
.fade-up:nth-child(2) { animation-delay: 0.12s; }
.fade-up:nth-child(3) { animation-delay: 0.19s; }
.fade-up:nth-child(4) { animation-delay: 0.26s; }
.fade-up:nth-child(5) { animation-delay: 0.33s; }
.fade-up:nth-child(6) { animation-delay: 0.40s; }

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  animation: scaleIn 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes scaleIn { to{opacity:1;transform:scale(1)} }

/* ══════════════════════════════════════════════
   GOLD SEPARATOR
   ══════════════════════════════════════════════ */
.gold-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 12px 0 20px;
  animation: lineGrow 0.8s ease forwards;
  transform-origin: left;
}
@keyframes lineGrow { from{transform:scaleX(0)} to{transform:scaleX(1)} }

/* ══════════════════════════════════════════════
   COUNTER NUMBERS
   ══════════════════════════════════════════════ */
.kpi-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--blue-deep);
  letter-spacing: -0.03em;
  line-height: 1;
}
.kpi-value.gold { color: var(--gold-deep); }
.kpi-label { font-size: 12px; color: var(--text-light); font-weight: 500; margin-top: 4px; }
.kpi-change {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700;
  padding: 3px 9px; border-radius: 100px; margin-top: 8px;
}
.kpi-up { background:rgba(16,185,129,0.1); color:#059669; }
.kpi-down { background:rgba(239,68,68,0.1); color:#DC2626; }

/* ══════════════════════════════════════════════
   MOBILE / RESPONSIVE
   ══════════════════════════════════════════════ */
/* ══ HAMBURGER ══ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(21,101,192,0.08);
  border: 1.5px solid rgba(21,101,192,0.15);
  cursor: pointer;
  transition: all 0.25s;
  margin-right: 8px;
  flex-shrink: 0;
  padding: 0;
  outline: none;
}
.hamburger:hover { background: rgba(21,101,192,0.15); transform: scale(1.06); }
.hamburger span {
  display: block; width: 18px; height: 2px;
  background: var(--blue-deep); border-radius: 2px;
  transition: all 0.38s cubic-bezier(0.68,-0.55,0.27,1.55);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══ SIDEBAR OVERLAY ══ */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(13,27,62,0.48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 150;
  cursor: pointer;
}
.sidebar-overlay.active {
  display: block;
  animation: overlayFadeIn 0.3s ease;
}
@keyframes overlayFadeIn { from{opacity:0} to{opacity:1} }

/* ══ ULTRA MODAL POPUP ══ */
.tga-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(13,27,62,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99900;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: bdFadeIn 0.28s ease;
}
@keyframes bdFadeIn { from{opacity:0} to{opacity:1} }

.tga-modal {
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 28px;
  max-width: 400px; width: 100%;
  position: relative; overflow: hidden;
  box-shadow:
    0 50px 100px rgba(13,27,62,0.25),
    0 0 0 1px rgba(21,101,192,0.06) inset;
  animation: modalSpring 0.48s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalSpring {
  from { transform: scale(0.78) translateY(30px); opacity: 0; }
  to   { transform: scale(1) translateY(0);       opacity: 1; }
}
.tga-modal-out {
  animation: modalLeave 0.22s ease forwards !important;
}
@keyframes modalLeave {
  to { transform: scale(0.9) translateY(12px); opacity: 0; }
}

/* gradient top bar */
.tga-modal-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--blue), #5B9BD5, var(--gold));
  background-size: 200% 100%;
  animation: barShimmer 3s ease infinite;
}
@keyframes barShimmer { 0%,100%{background-position:0%} 50%{background-position:100%} }

/* ambient glow corners */
.tga-modal::before {
  content:''; position:absolute; top:-60px; right:-60px;
  width:180px; height:180px;
  background:radial-gradient(circle, rgba(212,160,23,0.12), transparent 65%);
  pointer-events:none;
}
.tga-modal::after {
  content:''; position:absolute; bottom:-50px; left:-50px;
  width:160px; height:160px;
  background:radial-gradient(circle, rgba(21,101,192,0.10), transparent 65%);
  pointer-events:none;
}

.tga-modal-header { padding: 28px 28px 0; text-align: center; }

.tga-modal-icon-wrap {
  width: 80px; height: 80px;
  border-radius: 24px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: iconFloat 3.5s ease-in-out infinite;
}
.tga-modal-icon-wrap.mi-blue {
  background: linear-gradient(135deg, rgba(21,101,192,0.13), rgba(21,101,192,0.05));
  border: 1.5px solid rgba(21,101,192,0.18);
  box-shadow: 0 8px 32px rgba(21,101,192,0.12);
}
.tga-modal-icon-wrap.mi-gold {
  background: linear-gradient(135deg, rgba(212,160,23,0.16), rgba(245,200,66,0.07));
  border: 1.5px solid rgba(212,160,23,0.28);
  box-shadow: 0 8px 32px rgba(212,160,23,0.14);
}
.tga-modal-ring {
  position: absolute; inset: -9px;
  border-radius: 32px;
  border: 2px dashed rgba(21,101,192,0.16);
  animation: iconSpin 16s linear infinite;
}
.mi-gold .tga-modal-ring { border-color: rgba(212,160,23,0.2); }
.tga-modal-icon-wrap svg { width: 38px; height: 38px; }

.tga-modal-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 900;
  color: var(--blue-deep); letter-spacing: -0.025em;
  margin-bottom: 10px; line-height: 1.2;
}
.tga-modal-desc {
  font-size: 14px; color: var(--text-light);
  line-height: 1.8; max-width: 300px; margin: 0 auto;
}

.tga-modal-body { padding: 22px 28px; }

.tga-modal-eta-box {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(21,101,192,0.05), rgba(212,160,23,0.04));
  border: 1px solid rgba(21,101,192,0.1);
  border-radius: 16px;
  margin-bottom: 20px;
}
.tga-modal-eta-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(212,160,23,0.14), rgba(245,200,66,0.07));
  border: 1px solid rgba(212,160,23,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  animation: iconBounce 2.2s ease-in-out infinite;
}
.tga-modal-eta-icon svg { width: 18px; height: 18px; }
.tga-modal-eta-label { font-size: 13px; font-weight: 800; color: var(--blue-deep); }
.tga-modal-eta-sub { font-size: 12px; color: var(--text-light); margin-top: 2px; }

.tga-progress-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.tga-progress-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); }
.tga-progress-pct { font-family: var(--font-mono); font-size: 13px; font-weight: 800; color: var(--blue); }
.tga-progress-track { height: 6px; background: rgba(21,101,192,0.08); border-radius: 3px; overflow: hidden; }
.tga-progress-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), #5B9BD5, var(--gold));
  background-size: 200% 100%;
  animation: barShimmer 3s ease infinite;
  transition: width 1.1s cubic-bezier(0.4,0,0.2,1);
}

.tga-modal-footer { padding: 0 28px 28px; display: flex; gap: 10px; }

.tga-btn-cta {
  flex: 1; padding: 14px 18px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: white; font-family: var(--font-display);
  font-size: 14px; font-weight: 900;
  border: none; cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 22px rgba(21,101,192,0.3);
  display: flex; align-items: center; justify-content: center; gap: 7px;
  position: relative; overflow: hidden;
}
.tga-btn-cta::before {
  content: ''; position: absolute; top:0; left:-100%; width:100%; height:100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.22),transparent);
  transition: left 0.5s;
}
.tga-btn-cta:hover::before { left: 100%; }
.tga-btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(21,101,192,0.42); }
.tga-btn-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

.tga-btn-close {
  padding: 14px 18px;
  border-radius: 15px;
  background: rgba(21,101,192,0.05);
  color: var(--text-light); font-family: var(--font-body);
  font-size: 14px; font-weight: 700;
  border: 1.5px solid rgba(21,101,192,0.1); cursor: pointer;
  transition: all 0.25s; white-space: nowrap;
}
.tga-btn-close:hover { background: rgba(21,101,192,0.10); color: var(--blue); border-color: rgba(21,101,192,0.2); }

@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    top: 0;
    padding-top: 78px;
    box-shadow: 6px 0 48px rgba(13,27,62,0.14);
  }
  .sidebar.open { transform: translateX(0) !important; }
  .page-content { margin-left: 0 !important; padding: 20px 16px; }
  .main-courses { margin-left: 0 !important; padding: 20px 16px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  .navbar { padding: 0 12px; }
  .tga-modal { border-radius: 22px; }
}

/* ══════════════════════════════════════════════
   TRADING GOLD ACADEMY — SVG Icons System
   Animated inline SVG icons
   ══════════════════════════════════════════════ */

/* Icon stroke colors */
.icon-stroke-blue { stroke: #1565C0; }
.icon-stroke-gold { stroke: #D4A017; }
.icon-stroke-green { stroke: #059669; }
.icon-stroke-red { stroke: #DC2626; }
.icon-fill-blue { fill: #1565C0; }
.icon-fill-gold { fill: #D4A017; }

/* Animated icon effects */
.icon-spin { animation: iconSpin 6s linear infinite; }
.icon-pulse { animation: iconBeat 2s ease-in-out infinite; }
.icon-bounce { animation: iconBounce 2s ease-in-out infinite; }
.icon-wave { animation: iconWave 1.5s ease-in-out infinite; }
.icon-float { animation: iconFloat 3s ease-in-out infinite; }

@keyframes iconSpin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes iconBeat { 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }
@keyframes iconBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
@keyframes iconWave { 0%,100%{transform:rotate(-10deg)} 50%{transform:rotate(10deg)} }
@keyframes iconFloat { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-6px) scale(1.04)} }

/* Draw animation for path icons */
.icon-draw path, .icon-draw circle, .icon-draw polyline, .icon-draw line, .icon-draw rect {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawPath 1.2s ease forwards;
}
@keyframes drawPath { to { stroke-dashoffset: 0; } }

/* Icon sizes */
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }

/* Hover states on parent */
.icon-hover-group:hover .icon-float { animation-play-state: running; }
.icon-hover-group:hover svg { filter: drop-shadow(0 4px 8px rgba(21,101,192,0.3)); }

/* ══════════════════════════ BLOC 2 ══════════════════════════ */
/* ── NAV FIX — buttons always right-aligned ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 0;
}
.nav-cta {
  margin-left: auto !important;
  display: flex !important;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
/* Show login button on ALL screen sizes */
.btn-nav-login {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}
@media (max-width: 640px) {
  .navbar { padding: 0 14px; }
  .btn-nav-login {
    display: inline-flex !important;
    padding: 8px 12px;
    font-size: 12px;
    gap: 4px;
  }
  .btn-nav-login svg { display: none; }
  .btn-nav-start { padding: 8px 14px; font-size: 12px; }
  .btn-nav-start svg { display: none; }
}

/* ── HERO ANIMATED MESSAGES ── */
.hero-messages {
  position: relative;
  height: 90px;
  margin-bottom: 8px;
  overflow: visible;
}
.hero-msg {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.hero-msg.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-msg.exit {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Dots indicator */
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.5s ease both;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(21,101,192,0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  border: none;
}
.hero-dot.active {
  width: 24px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}
.hero-dot:hover { background: rgba(21,101,192,0.4); transform: scale(1.2); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}

/* Animated grid mesh */
.hero-mesh {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(21,101,192,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,101,192,0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 30%, transparent 90%);
  animation: meshDrift 20s ease-in-out infinite alternate;
}
@keyframes meshDrift { 0%{transform:translate(0,0)} 100%{transform:translate(10px,6px)} }

/* Diagonal accent line */
.hero-line {
  position: absolute;
  width: 2px; height: 200px;
  background: linear-gradient(180deg, transparent, rgba(212,160,23,0.4), transparent);
  animation: lineScan 6s ease-in-out infinite;
}
.hero-line:nth-child(1) { left: 15%; top: 20%; animation-delay: 0s; }
.hero-line:nth-child(2) { right: 20%; top: 30%; animation-delay: 2s; }
.hero-line:nth-child(3) { left: 70%; bottom: 20%; animation-delay: 4s; }
@keyframes lineScan { 0%,100%{opacity:0;transform:scaleY(0)} 50%{opacity:1;transform:scaleY(1)} }

.hero-inner {
  max-width: 960px;
  text-align: center;
  position: relative; z-index: 1;
}

/* Logo Hero */
.hero-logo-wrap {
  display: inline-block;
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease both;
}
.hero-logo-wrap img {
  height: 110px;
  filter: drop-shadow(0 8px 28px rgba(21,101,192,0.18));
  animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-10px) scale(1.02)} }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(212,160,23,0.12), rgba(245,200,66,0.06));
  border: 1px solid rgba(212,160,23,0.3);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #9A6F00;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(212,160,23,0.5);
}
@keyframes dotPulse {
  0%{box-shadow:0 0 0 0 rgba(212,160,23,0.5)}
  70%{box-shadow:0 0 0 8px rgba(212,160,23,0)}
  100%{box-shadow:0 0 0 0 rgba(212,160,23,0)}
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--blue-deep);
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero h1 .word-gold {
  color: var(--gold);
  position: relative;
  display: inline-block;
}
.hero h1 .word-gold::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  border-radius: 2px;
  background-size: 200% 100%;
  animation: goldShimmer 3s linear infinite;
}
@keyframes goldShimmer { 0%{background-position:0% 50%} 100%{background-position:200% 50%} }

.hero-desc {
  font-size: 18px; color: #2B4A8A;
  line-height: 1.7; max-width: 580px;
  margin: 0 auto 40px;
  font-weight: 400;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-cta {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.4s ease both;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-light); letter-spacing: 0.1em; text-transform: uppercase;
  animation: fadeIn 1s 1.5s both;
}
.scroll-arrow {
  width: 24px; height: 24px;
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ── STATS STRIP ── */
.stats-strip {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(21,101,192,0.1);
  border-bottom: 1px solid rgba(21,101,192,0.1);
  padding: 32px 24px;
}
.stats-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 16px;
  border-right: 1px solid rgba(21,101,192,0.08);
  animation: fadeUp 0.6s ease both;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 900;
  color: var(--blue-deep);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-num.gold { color: var(--gold-deep); }
.stat-label { font-size: 13px; color: var(--text-light); margin-top: 6px; font-weight: 500; }

/* ── FEATURES ── */
.features { padding: 90px 24px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-header { text-align: center; margin-bottom: 60px; }

.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
@media(max-width:900px){ .features-grid{grid-template-columns:1fr;} .stats-grid{grid-template-columns:repeat(2,1fr);} }

.feature-card {
  padding: 32px 28px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(21,101,192,0.08);
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(21,101,192,0.03), rgba(212,160,23,0.02));
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 24px 64px rgba(21,101,192,0.14); border-color: rgba(21,101,192,0.18); }
.feature-card:hover::before { opacity: 1; }

.feature-icon-wrap {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  position: relative; overflow: hidden;
}
.fi-blue {
  background: linear-gradient(135deg, rgba(21,101,192,0.12), rgba(21,101,192,0.05));
  border: 1px solid rgba(21,101,192,0.15);
}
.fi-gold {
  background: linear-gradient(135deg, rgba(212,160,23,0.15), rgba(245,200,66,0.07));
  border: 1px solid rgba(212,160,23,0.2);
}
.feature-icon-wrap svg { width: 28px; height: 28px; transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.feature-card:hover .feature-icon-wrap svg { transform: scale(1.25) rotate(-8deg); }

.feature-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--blue-deep); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.75; }

/* ── PRICING ── */
.pricing { padding: 90px 24px; background: rgba(248,251,255,0.5); }
.pricing-inner { max-width: 1000px; margin: 0 auto; }
.pricing-header { text-align: center; margin-bottom: 56px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media(max-width:860px){ .pricing-grid{grid-template-columns:1fr;max-width:400px;margin:0 auto;} }

.price-card {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(21,101,192,0.08);
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  position: relative; overflow: hidden;
}
.price-card:hover { transform: translateY(-8px); }
.price-card.featured {
  border-color: rgba(212,160,23,0.35);
  background: linear-gradient(160deg, rgba(255,248,220,0.6), rgba(255,255,255,0.9));
  box-shadow: 0 8px 40px rgba(212,160,23,0.2);
  transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.price-featured-tag {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  padding: 5px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  border-radius: 0 0 12px 12px;
  font-size: 11px; font-weight: 800;
  color: white; letter-spacing: 0.1em; text-transform: uppercase;
}
.price-plan-icon { font-size: 32px; margin-bottom: 12px; }
.price-plan-name { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--blue-deep); margin-bottom: 6px; }
.price-desc { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.price-amount {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 900;
  color: var(--blue-deep); line-height: 1;
}
.price-amount sup { font-size: 20px; vertical-align: super; }
.price-currency { font-size: 15px; color: var(--text-light); margin-bottom: 4px; }
.price-period { font-size: 13px; color: var(--text-light); margin-bottom: 28px; }
.price-list { list-style: none; text-align: left; margin-bottom: 28px; }
.price-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-mid);
  padding: 9px 0;
  border-bottom: 1px solid rgba(21,101,192,0.06);
}
.price-list li:last-child { border-bottom: none; }
.price-list li svg { width: 18px; height: 18px; flex-shrink: 0; }
.price-list li.off { color: var(--text-light); text-decoration: line-through; opacity: 0.5; }

/* ── CTA BANNER ── */
.cta-banner {
  padding: 90px 24px;
  text-align: center;
}
.cta-inner {
  max-width: 700px; margin: 0 auto;
  padding: 60px 40px;
  background: linear-gradient(145deg, rgba(21,101,192,0.07), rgba(212,160,23,0.05));
  border: 1px solid rgba(21,101,192,0.15);
  border-radius: 32px;
  backdrop-filter: blur(20px);
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,160,23,0.12), transparent 70%);
  animation: rotateSlow 12s linear infinite;
}
.cta-inner::after {
  content: '';
  position: absolute; bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(21,101,192,0.1), transparent 70%);
  animation: rotateSlow 18s linear infinite reverse;
}
@keyframes rotateSlow { from{transform:rotate(0)} to{transform:rotate(360deg)} }
.cta-inner h2 { font-family:var(--font-display); font-size:36px; font-weight:900; color:var(--blue-deep); margin-bottom:16px; }
.cta-inner p { font-size:16px; color:var(--text-mid); margin-bottom:32px; line-height:1.7; }
.cta-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; position:relative;z-index:1; }

/* ── FOOTER ── */
footer {
  background: rgba(13,27,62,0.97);
  backdrop-filter: blur(20px);
  color: rgba(255,255,255,0.7);
  padding: 56px 24px 28px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media(max-width:760px){ .footer-grid{grid-template-columns:1fr 1fr;} }
.footer-brand img { height: 48px; margin-bottom: 14px; filter: brightness(1.2); }
.footer-brand p { font-size: 13px; line-height: 1.7; opacity: 0.65; max-width: 240px; }
.footer-col h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: white; margin-bottom: 16px; }
.footer-col a {
  display: block; font-size: 13px; color: rgba(255,255,255,0.55);
  text-decoration: none; margin-bottom: 9px;
  transition: all 0.25s;
}
.footer-col a:hover { color: var(--gold); transform: translateX(4px); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; color: rgba(255,255,255,0.35);
  flex-wrap: wrap; gap: 12px;
}
.footer-gold { color: var(--gold); font-weight: 700; }

/* ── PWA Banner ── */
.pwa-banner {
  position: fixed; bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 8px 40px rgba(21,101,192,0.15);
  display: none; align-items: center; gap: 14px;
  max-width: 340px;
  z-index: 500;
  animation: slideUp 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes slideUp { from{transform:translateY(100px);opacity:0} to{transform:translateY(0);opacity:1} }
.pwa-banner img { height: 44px; border-radius: 10px; }
.pwa-info strong { display:block; font-size:13px; font-weight:700; color:var(--blue-deep); }
.pwa-info span { font-size:12px; color:var(--text-light); }
.btn-pwa {
  padding: 8px 16px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: white; font-size: 12px; font-weight: 700;
  border: none; cursor: pointer; flex-shrink: 0;
  font-family: var(--font-body);
}

/* ══════════════════════════ BLOC 3 ══════════════════════════ */
/* ══════════════════════════════════════════
   TOPBAR — Barre supérieure fine
   ══════════════════════════════════════════ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  height: 34px;
  background: var(--blue-deep);
  color: rgba(255,255,255,0.85);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  transition: all 0.2s;
  text-decoration: none;
}
.topbar-social:hover {
  background: rgba(255,255,255,0.18);
  color: white;
}
.topbar-center {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.75);
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.75);
}
.topbar-login {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 11px;
  text-decoration: none;
  transition: all 0.2s;
}
.topbar-login:hover {
  background: var(--gold-light);
}

/* Push main content down for both bars */
.navbar {
  top: 34px !important;
}
.hero { padding-top: calc(68px + 34px + 60px) !important; }

/* ══════════════════════════════════════════
   NAV DROPDOWNS
   ══════════════════════════════════════════ */
.nav-dropdown {
  position: relative;
  list-style: none;
}
.nav-dropdown-trigger {
  display: flex !important;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-trigger svg {
  transition: transform 0.25s;
}
.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  opacity: 0;
  pointer-events: none;
  background: white;
  border: 1px solid rgba(21,101,192,0.12);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(13,27,62,0.15);
  min-width: 240px;
  padding: 8px;
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 14px !important;
  border-radius: 10px;
  font-size: 13.5px !important;
  font-weight: 600;
  color: var(--text-mid) !important;
  text-decoration: none;
  transition: all 0.18s;
  white-space: nowrap;
}
.nav-dropdown-item:hover {
  background: rgba(21,101,192,0.06) !important;
  color: var(--blue) !important;
}
.nav-dropdown-item::after { display: none !important; }

/* ══════════════════════════════════════════
   HAMBURGER REDESIGN
   ══════════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(21,101,192,0.1), rgba(21,101,192,0.05));
  border: 1.5px solid rgba(21,101,192,0.2);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  outline: none;
  flex-shrink: 0;
  margin-right: 8px;
}
.hamburger:hover {
  background: linear-gradient(135deg, rgba(21,101,192,0.18), rgba(21,101,192,0.1));
  border-color: rgba(21,101,192,0.4);
  transform: scale(1.05);
}
.hamburger span {
  display: block;
  border-radius: 3px;
  background: var(--blue-deep);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}
.hamburger span:nth-child(1) { width: 22px; height: 2.5px; }
.hamburger span:nth-child(2) { width: 16px; height: 2.5px; margin-left: -3px; }
.hamburger span:nth-child(3) { width: 22px; height: 2.5px; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0) translateX(-10px); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ══════════════════════════════════════════
   SIDEBAR mobile menu update for topbar
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
  .topbar { position: fixed; }
  .topbar-center, .topbar-right .topbar-login { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-left { justify-content: center; }
  .navbar { top: 34px !important; }
  .sidebar { top: 34px !important; padding-top: calc(68px + 10px) !important; }
}
@media (max-width: 640px) {
  /* Topbar compact — réseaux sociaux toujours visibles */
  .topbar { height: 30px !important; display: flex !important; }
  .topbar-inner { padding: 0 16px; }
  .topbar-center { display: none !important; }
  .topbar-right { display: none !important; }
  .navbar { top: 30px !important; }
  .hero { padding-top: calc(68px + 30px + 60px) !important; }
  .sidebar { top: 0 !important; padding-top: calc(68px + 10px) !important; }
}

/* ══════════════════════════════════════════
   POURQUOI REJOINDRE — Section
   ══════════════════════════════════════════ */
.pourquoi-section {
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}
.pourquoi-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21,101,192,0.04) 0%, rgba(212,160,23,0.03) 100%);
  z-index: 0;
}
.pourquoi-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.pourquoi-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 36px;
}
.pourquoi-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pourquoi-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(21,101,192,0.1);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.pourquoi-item:hover {
  border-color: rgba(212,160,23,0.4);
  box-shadow: 0 6px 24px rgba(212,160,23,0.12);
  transform: translateX(4px);
}
.pourquoi-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  min-width: 38px;
  background: linear-gradient(135deg, rgba(212,160,23,0.12), rgba(212,160,23,0.05));
  border: 1.5px solid rgba(212,160,23,0.25);
  border-radius: 10px;
}
.pourquoi-icon svg { width: 18px; height: 18px; }
.pourquoi-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pourquoi-content strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-deep);
}
.pourquoi-content span {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* Image côté droit */
.pourquoi-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pourquoi-image-inner {
  position: relative;
  border-radius: 28px;
  overflow: visible;
  animation: floatImage 6s ease-in-out infinite;
}
@keyframes floatImage {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(0.5deg); }
  75% { transform: translateY(-6px) rotate(-0.3deg); }
}
.pourquoi-img {
  width: 100%;
  max-width: 480px;
  height: 580px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(21,101,192,0.2), 0 8px 32px rgba(212,160,23,0.15);
  display: block;
}
.pourquoi-img-shine {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
  border-radius: 28px 28px 0 0;
  pointer-events: none;
}
.pourquoi-badge {
  position: absolute;
  bottom: 28px;
  left: -28px;
  background: white;
  border: 2px solid rgba(212,160,23,0.3);
  border-radius: 18px;
  padding: 14px 20px;
  box-shadow: 0 12px 40px rgba(13,27,62,0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: badgePop 0.8s 0.5s cubic-bezier(0.34,1.56,0.64,1) both, badgeFloat 5s 1.5s ease-in-out infinite;
  z-index: 10;
}
@keyframes badgePop {
  from { transform: scale(0.5) translateX(-30px); opacity: 0; }
  to { transform: scale(1) translateX(0); opacity: 1; }
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.pourquoi-badge-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--gold-deep);
  line-height: 1;
}
.pourquoi-badge-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .pourquoi-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pourquoi-image-wrap { order: -1; }
  .pourquoi-img { height: 400px; max-width: 100%; }
  .pourquoi-badge { left: 12px; bottom: 16px; }
  .pourquoi-section { padding: 60px 20px; }
}

/* ══════════════════════════ BLOC 4 ══════════════════════════ */
/* ═══════════════════════════════════════════════════
   MOBILE NAV FIX
   ═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-desktop-only { display: none !important; }
}

/* ═══════════════════════════════════════════════════
   COURSES SECTION
   ═══════════════════════════════════════════════════ */
.courses-section {
  padding: 100px 32px;
  position: relative;
}
.courses-inner { max-width: 1280px; margin: 0 auto; }
.courses-header {
  text-align: center;
  margin-bottom: 60px;
}
.courses-subtitle {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 600px;
  margin: 16px auto 0;
  line-height: 1.7;
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 1200px) { .courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .courses-grid { grid-template-columns: 1fr; } .courses-section { padding: 60px 16px; } }

/* ══════════════════════════════════════════════════════════
   COURSE CARDS — Image plein fond, texte overlayé
   ══════════════════════════════════════════════════════════ */
.course-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34,1.2,0.64,1), box-shadow 0.35s ease;
  box-shadow: 0 8px 32px rgba(7,21,64,0.18);
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(7,21,64,0.32);
}
/* Gradient overlay pour lisibilité */
.course-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7,21,64,0.22) 0%,
    rgba(7,21,64,0.38) 35%,
    rgba(7,21,64,0.82) 70%,
    rgba(7,21,64,0.97) 100%
  );
  z-index: 1;
}
/* Contenu par dessus l'overlay */
.course-card-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
}
/* Header : badge + status en haut */
.course-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
  min-height: 100px;
}
/* Ribbon "Le plus populaire" */
.course-featured-ribbon {
  position: absolute;
  top: 18px; right: -30px;
  background: linear-gradient(135deg, #D4A017, #F5C842);
  color: #0D2257;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 40px;
  transform: rotate(35deg);
  box-shadow: 0 4px 12px rgba(212,160,23,0.5);
  letter-spacing: 0.04em;
  z-index: 10;
}

/* Badges et status sur fond photo */
.course-badge-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.course-level-badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.course-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px rgba(52,211,153,0.8);
  animation: pulseDot 2s ease-in-out infinite;
}
.dot-soon { background: #fbbf24; box-shadow: 0 0 6px rgba(251,191,36,0.8); }
@keyframes pulseDot { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:0.7} }
.available { color: rgba(255,255,255,0.85); }
.coming-soon { color: rgba(255,255,255,0.75); }

/* Icône de cours */
.course-icon-hero {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  backdrop-filter: blur(8px);
}
.course-icon-hero svg { width: 22px; height: 22px; }
.gold-icon { background: rgba(212,160,23,0.25); border-color: rgba(212,160,23,0.5); }
.red-icon { background: rgba(248,113,113,0.2); border-color: rgba(248,113,113,0.4); }
.purple-icon { background: rgba(167,139,250,0.2); border-color: rgba(167,139,250,0.4); }

/* Zone corps */
.course-card-body { padding: 0 0 14px 0; }
.course-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.course-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: #D4A017;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.course-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}
.course-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  backdrop-filter: blur(4px);
}
.gold-tag, .purple-tag { background: rgba(212,160,23,0.18); border-color: rgba(212,160,23,0.35); color: #FCD34D; }
.purple-tag { background: rgba(167,139,250,0.18); border-color: rgba(167,139,250,0.35); color: #C4B5FD; }

.course-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 8px;
  align-items: center;
}
.course-modules, .course-students {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}
.course-modules svg, .course-students svg { width: 13px; height: 13px; stroke: rgba(255,255,255,0.6) !important; }

.course-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
}
.stars { color: #FBBF24; font-size: 13px; letter-spacing: 1px; }
.gold-stars { color: #D4A017; }
.purple-stars { color: #C4B5FD; }
.stars-note { font-size: 13px; font-weight: 700; color: #fff; }
.gold-note { color: #FCD34D; }
.stars-count { font-size: 12px; color: rgba(255,255,255,0.6); }

/* Pied de carte */
.course-card-footer { padding: 14px 0 0; margin-top: auto; border-top: 1px solid rgba(255,255,255,0.12); }
.btn-course-primary, .btn-course-gold, .btn-course-soon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-course-primary {
  background: linear-gradient(135deg, #1565C0, #1E88E5);
  color: #fff;
  box-shadow: 0 4px 14px rgba(21,101,192,0.45);
}
.btn-course-primary:hover { box-shadow: 0 6px 20px rgba(21,101,192,0.65); transform: translateY(-1px); }
.btn-course-gold {
  background: linear-gradient(135deg, #D4A017, #F5C842);
  color: #0D2257;
  box-shadow: 0 4px 14px rgba(212,160,23,0.5);
}
.btn-course-gold:hover { box-shadow: 0 6px 20px rgba(212,160,23,0.7); transform: translateY(-1px); }
.btn-course-soon {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-course-soon:hover { background: rgba(255,255,255,0.2); }

.btn-course-primary svg, .btn-course-gold svg, .btn-course-soon svg { width: 16px; height: 16px; }

.course-card-glow { display: none; }
.course-card:hover .course-card-glow { opacity: 1; }
.glow-blue { background: linear-gradient(90deg, transparent, #1565C0, transparent); }
.glow-gold { background: linear-gradient(90deg, transparent, #D4A017, transparent); }
.glow-purple { background: linear-gradient(90deg, transparent, #7C3AED, transparent); }

/* ═══════════════════════════════════════════════════
   TÉMOIGNAGES SECTION
   ═══════════════════════════════════════════════════ */
.temoignages-section {
  padding: 100px 32px;
  background: linear-gradient(160deg, rgba(13,27,62,0.03) 0%, transparent 50%);
  position: relative;
}
.temoignages-inner { max-width: 1200px; margin: 0 auto; }
.temoignages-header { text-align: center; margin-bottom: 16px; }
.temoignages-subtitle {
  font-size: 20px;
  font-family: var(--font-display);
  color: var(--text-mid);
  margin-top: 6px;
  margin-bottom: 40px;
  text-align: center;
}
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 1024px) { .temoignages-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .temoignages-section { padding: 60px 16px; } }

.temoignage-card {
  background: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(21,101,192,0.1);
  border-radius: 24px;
  padding: 28px;
  position: relative;
  transition: all 0.3s;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.temoignage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(21,101,192,0.12);
  border-color: rgba(21,101,192,0.2);
}
.temoignage-card-featured {
  border-color: rgba(212,160,23,0.3);
  background: linear-gradient(160deg, rgba(255,248,220,0.6), rgba(255,255,255,0.95));
  box-shadow: 0 8px 32px rgba(212,160,23,0.1);
}
.temoignage-card-featured:hover {
  border-color: rgba(212,160,23,0.5);
  box-shadow: 0 20px 56px rgba(212,160,23,0.18);
}
.temoignage-quote-icon { position: absolute; top: 20px; right: 24px; opacity: 0.6; }
.temoignage-stars { font-size: 18px; color: #F59E0B; letter-spacing: 2px; }
.gold-stars-temo { color: #D4A017; }
.temoignage-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-mid);
  font-style: italic;
  flex: 1;
}
.temoignage-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(21,101,192,0.08);
}
.temoignage-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: white;
  flex-shrink: 0;
}
.avatar-1 { background: linear-gradient(135deg, #1565C0, #0D2257); }
.avatar-2 { background: linear-gradient(135deg, #D4A017, #9A6F00); }
.avatar-3 { background: linear-gradient(135deg, #059669, #065f46); }
.temoignage-info { flex: 1; }
.temoignage-info strong { display: block; font-size: 14px; color: var(--blue-deep); font-weight: 700; }
.temoignage-info span { font-size: 12px; color: var(--text-light); }
.temoignage-verified {
  display: flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 700; color: #1565C0;
}
.temoignage-result { margin-top: 4px; }
.result-badge {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(5,150,105,0.1);
  color: #059669;
  border: 1px solid rgba(5,150,105,0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}
.result-gold { background: rgba(212,160,23,0.1); color: #9A6F00; border-color: rgba(212,160,23,0.25); }

/* ═══════════════════════════════════════════════════
   PARTENAIRE SECTION
   ═══════════════════════════════════════════════════ */
.partner-section {
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
}
.partner-inner {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-navy) 100%);
  border-radius: 32px;
  padding: 64px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(13,27,62,0.3);
}
.partner-deco-left, .partner-deco-right {
  position: absolute;
  width: 200px; height: 200px;
  opacity: 0.4;
  pointer-events: none;
}
.partner-deco-left { top: -40px; left: -40px; }
.partner-deco-right { bottom: -40px; right: -40px; }
.partner-content { position: relative; z-index: 1; }
.partner-icon {
  width: 80px; height: 80px;
  border-radius: 24px;
  background: rgba(212,160,23,0.12);
  border: 2px solid rgba(212,160,23,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  animation: iconFloat 4s ease-in-out infinite;
}
.partner-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}
.partner-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 18px;
}
.partner-title span { color: var(--gold); }
.partner-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.partner-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto 32px;
  text-align: left;
}
.partner-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.partner-benefit svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #D4A017, #F5C842);
  color: #0D2257;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(212,160,23,0.4);
  cursor: pointer;
}
.btn-partner:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 48px rgba(212,160,23,0.5);
}
@media (max-width: 640px) {
  .partner-inner { padding: 40px 24px; border-radius: 24px; }
  .partner-title { font-size: 26px; }
  .partner-section { padding: 40px 16px; }
}

/* ═══════════════════════════════════════════════════
   RICH FOOTER
   ═══════════════════════════════════════════════════ */
.footer-rich {
  background: var(--blue-navy);
  position: relative;
}
.footer-top-bar { padding: 60px 32px 40px; }
.footer-top-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 48px;
}
@media (max-width: 1024px) { .footer-top-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-top-inner { grid-template-columns: 1fr; } .footer-top-bar { padding: 40px 20px; } }

.footer-logo-wrap { display: flex; align-items: center; margin-bottom: 14px; }
/* Logo image réel dans le footer */
.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(1.15) drop-shadow(0 2px 10px rgba(0,0,0,0.3));
}
/* Anciens styles désactivés */
.footer-logo-icon { display: none; }
.footer-logo-text { display: none; }
.footer-logo-text span { color: var(--gold); }
.footer-tagline { font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 20px; }
.footer-social-row { display: flex; gap: 8px; }
.footer-social-btn {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social-btn:hover { background: rgba(212,160,23,0.2); color: var(--gold); border-color: rgba(212,160,23,0.3); }

.footer-col-wrap { display: flex; flex-direction: column; gap: 32px; }
.footer-col-rich {}
.footer-col-title {
  font-size: 13px; font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-schedule { display: flex; flex-direction: column; gap: 10px; }
.footer-schedule-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px;
}
.schedule-day { color: rgba(255,255,255,0.75); min-width: 80px; }
.schedule-hours { font-weight: 700; }
.open-hours { color: #34D399; }
.closed-hours { color: rgba(255,255,255,0.35); }
.schedule-dot { width: 8px; height: 8px; border-radius: 50%; margin-left: auto; }
.open-dot { background: #34D399; box-shadow: 0 0 6px #34D399; animation: pulseDot 2s infinite; }
.closed-dot { background: rgba(255,255,255,0.25); }

.footer-domains { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-domains li::before { content: '›'; margin-right: 6px; color: var(--gold); font-weight: 700; }
.footer-domains a {
  font-size: 13px; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s;
}
.footer-domains a:hover { color: var(--gold); }

.footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--gold); }

.footer-recent { display: flex; flex-direction: column; gap: 12px; }
.footer-recent-item { display: flex; flex-direction: column; gap: 2px; }
.recent-date { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; }
.coming-date { color: #7C3AED; }
.footer-recent-item a { font-size: 13px; color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.footer-recent-item a:hover { color: white; }

.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 32px;
  background: rgba(0,0,0,0.2);
}
.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 12.5px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--gold); }
@media (max-width: 640px) {
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom-links { gap: 12px; }
  .footer-bottom-bar { padding: 20px; }
}

/* ══════════════════════════ BLOC 5 ══════════════════════════ */
/* ═══════════════════════════════════════════════════
   TOPBAR AUTH BUTTONS
   ═══════════════════════════════════════════════════ */
.topbar-sep { color: rgba(255,255,255,0.25); margin: 0 4px; }
.topbar-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.topbar-login {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.18);
}
.topbar-login:hover { background: rgba(255,255,255,0.2); color: white; }
.topbar-register {
  background: var(--gold);
  color: var(--blue-deep);
}
.topbar-register:hover { background: var(--gold-light); }

/* ═══════════════════════════════════════════════════
   MOBILE SIDEBAR — Complete redesign
   ═══════════════════════════════════════════════════ */
.mob-sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  background: white;
  z-index: 99999;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 8px 0 48px rgba(13,27,62,0.18);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mob-sidebar.open {
  transform: translateX(0) !important;
}
.mob-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(21,101,192,0.1);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-navy));
  flex-shrink: 0;
}
.mob-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}
.mob-sidebar-brand strong { color: var(--gold); }
.mob-sidebar-logo {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #1565C0, #D4A017);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; color: white;
}
.mob-sidebar-close {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.2s;
}
.mob-sidebar-close:hover { background: rgba(255,255,255,0.2); }

.mob-sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mob-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.mob-nav-item:hover, .mob-nav-item.active {
  background: rgba(21,101,192,0.07);
  color: var(--blue);
}
.mob-nav-item.active {
  background: rgba(21,101,192,0.1);
  color: var(--blue);
  font-weight: 700;
}
.mob-nav-item svg { flex-shrink: 0; }
.mob-chevron {
  margin-left: auto;
  transition: transform 0.3s;
}
.mob-nav-group.open > .mob-nav-group-trigger .mob-chevron {
  transform: rotate(180deg);
}
.mob-nav-submenu {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 0 44px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.28s ease, padding 0.3s ease;
}
.mob-nav-group.open .mob-nav-submenu {
  max-height: 400px;
  opacity: 1;
  padding: 4px 0 4px 44px;
}
.mob-nav-subitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: all 0.18s;
}
.mob-nav-subitem:hover { background: rgba(21,101,192,0.06); color: var(--blue); }
.mob-sub-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.mob-sidebar-auth {
  padding: 16px;
  border-top: 1px solid rgba(21,101,192,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.mob-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
}
.mob-auth-login {
  background: rgba(21,101,192,0.08);
  color: var(--blue);
  border: 1.5px solid rgba(21,101,192,0.2);
}
.mob-auth-login:hover { background: rgba(21,101,192,0.15); }
.mob-auth-register {
  background: linear-gradient(135deg, #1565C0, #0D2257);
  color: white;
  box-shadow: 0 4px 16px rgba(21,101,192,0.3);
}
.mob-auth-register:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(21,101,192,0.4); }

.mob-sidebar-info {
  padding: 14px 16px 20px;
  border-top: 1px solid rgba(21,101,192,0.06);
  background: rgba(21,101,192,0.02);
  flex-shrink: 0;
}
.mob-info-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.mob-sidebar-socials {
  display: flex;
  gap: 8px;
}
.mob-social-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(21,101,192,0.07);
  border: 1px solid rgba(21,101,192,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-mid);
  text-decoration: none;
  transition: all 0.2s;
}
.mob-social-btn:hover { background: rgba(21,101,192,0.14); color: var(--blue); }

/* ═══ sidebar-overlay covers whole screen on mobile ═══ */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(13,27,62,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  cursor: pointer;
}
.sidebar-overlay.active { display: block; animation: overlayFadeIn 0.3s ease; }
@keyframes overlayFadeIn { from{opacity:0} to{opacity:1} }

/* ═══ Hide topbar on very small screens, show center only on medium ═══ */
@media (max-width: 900px) {
  .topbar-center { display: none; }
  .topbar-right .topbar-auth-btn { display: none; }
  .topbar-inner { justify-content: center; }
}
@media (max-width: 640px) {
  /* On garde la topbar visible pour les réseaux sociaux, juste plus compacte */
  .topbar { height: 30px; }
  .topbar-inner { padding: 0 16px; justify-content: center; }
  .topbar-center { display: none; }
  .topbar-right { display: none; }
  .topbar-left { gap: 8px; }
  .topbar-social { width: 24px; height: 24px; }
  .navbar { top: 30px !important; }
  .hero { padding-top: calc(68px + 30px + 60px) !important; }
  .mob-sidebar { top: 0; }
}

/* ═══ Nav desktop only ═══ */
@media (max-width: 900px) {
  .nav-desktop-only { display: none !important; }
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
}

/* ══════════════════════════ BLOC 6 ══════════════════════════ */
.reveal.revealed { opacity: 1 !important; transform: translateY(0) !important; }

/* ══════════════════════════ BLOC 7 ══════════════════════════ */
@keyframes rippleAnim{to{transform:scale(1);opacity:0}}

/* ══════════════════════════ BLOC 8 ══════════════════════════ */
/* ── Backdrop ── */
.tga-page-backdrop {
  position: fixed; inset: 0;
  z-index: 99800;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: tgaBdIn 0.3s ease;
}
@keyframes tgaBdIn { from{opacity:0} to{opacity:1} }

.tga-page-backdrop::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(7,21,64,0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ── Modal Base ── */
.tga-page-modal {
  position: relative;
  width: 100%; max-width: 460px;
  border-radius: 32px;
  overflow: hidden;
  animation: tgaModalIn 0.5s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 60px 120px rgba(7,21,64,0.35), 0 0 0 1px rgba(255,255,255,0.12);
}
@keyframes tgaModalIn {
  from { transform: scale(0.75) translateY(40px); opacity: 0; }
  to   { transform: scale(1)    translateY(0);    opacity: 1; }
}
.tga-page-modal.tga-closing {
  animation: tgaModalOut 0.22s ease forwards;
}
@keyframes tgaModalOut {
  to { transform: scale(0.88) translateY(16px); opacity: 0; }
}

/* ══════════════════════════════════════
   MODAL TYPE: LOGIN  — thème bleu nuit 
   ══════════════════════════════════════ */
.tga-modal-login {
  background: linear-gradient(160deg, #0D2257 0%, #1565C0 60%, #1A3F8F 100%);
}
.tga-modal-login .tga-pm-hero {
  padding: 36px 36px 0;
  position: relative;
  text-align: center;
}
.tga-modal-login .tga-pm-icon-ring {
  width: 88px; height: 88px;
  margin: 0 auto 22px;
  border-radius: 28px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: iconFloat 3s ease-in-out infinite;
}
.tga-modal-login .tga-pm-icon-ring::after {
  content: '';
  position: absolute; inset: -10px;
  border-radius: 38px;
  border: 2px dashed rgba(255,255,255,0.15);
  animation: iconSpin 18s linear infinite;
}
.tga-modal-login .tga-pm-icon-ring svg { width: 42px; height: 42px; }
.tga-modal-login .tga-pm-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 900;
  color: #FFFFFF; letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.tga-modal-login .tga-pm-sub {
  font-size: 14px; color: rgba(255,255,255,0.7);
  line-height: 1.7; max-width: 300px; margin: 0 auto;
}
.tga-modal-login .tga-pm-body {
  padding: 24px 36px;
}
.tga-login-input-wrap {
  margin-bottom: 14px;
}
.tga-login-label {
  display: block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6); margin-bottom: 7px;
}
.tga-login-input {
  width: 100%; padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: white; font-size: 14px; font-weight: 500;
  outline: none;
  transition: all 0.25s;
  font-family: 'DM Sans', sans-serif;
}
.tga-login-input::placeholder { color: rgba(255,255,255,0.35); }
.tga-login-input:focus {
  background: rgba(255,255,255,0.14);
  border-color: rgba(212,160,23,0.6);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}
.tga-login-forgot {
  text-align: right; margin-bottom: 20px;
  font-size: 12px; color: rgba(255,255,255,0.5);
  cursor: pointer; transition: color 0.2s;
}
.tga-login-forgot:hover { color: rgba(212,160,23,0.9); }
.tga-modal-login .tga-pm-footer {
  padding: 0 36px 32px; display: flex; flex-direction: column; gap: 10px;
}
.tga-btn-login-main {
  width: 100%; padding: 15px;
  border-radius: 16px;
  background: linear-gradient(135deg, #D4A017, #F5C842, #B8860B);
  background-size: 200% 100%;
  color: #0D2257; font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 900;
  border: none; cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 28px rgba(212,160,23,0.5);
  position: relative; overflow: hidden;
  animation: shimmerBg 4s ease infinite;
}
@keyframes shimmerBg { 0%,100%{background-position:0%} 50%{background-position:100%} }
.tga-btn-login-main:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(212,160,23,0.6); }
.tga-btn-login-ghost {
  width: 100%; padding: 13px;
  border-radius: 16px;
  background: transparent;
  color: rgba(255,255,255,0.55); font-size: 14px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.12); cursor: pointer;
  transition: all 0.25s; font-family: 'DM Sans', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.tga-btn-login-ghost:hover { background: rgba(255,255,255,0.06); color: white; border-color: rgba(255,255,255,0.25); }
.tga-login-or {
  text-align: center; font-size: 12px; color: rgba(255,255,255,0.3);
  position: relative; margin: 4px 0;
}
.tga-login-or::before, .tga-login-or::after {
  content: ''; position: absolute; top: 50%; width: 40%; height: 1px;
  background: rgba(255,255,255,0.1);
}
.tga-login-or::before { left: 0; }
.tga-login-or::after { right: 0; }

/* Dots decoratifs */
.tga-modal-login .tga-pm-dots {
  position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(212,160,23,0.2), transparent 70%);
  pointer-events: none;
}

/* ══════════════════════════════════════
   MODAL TYPE: REGISTER FREE — thème blanc vert
   ══════════════════════════════════════ */
.tga-modal-free {
  background: #FFFFFF;
}
.tga-modal-free .tga-pm-top-bar {
  height: 6px;
  background: linear-gradient(90deg, #059669, #10B981, #34D399);
}
.tga-modal-free .tga-pm-hero {
  padding: 30px 32px 0; text-align: center;
}
.tga-modal-free .tga-pm-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(5,150,105,0.08);
  border: 1px solid rgba(5,150,105,0.2);
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: #059669;
  margin-bottom: 18px;
  animation: tgaBadgePop 0.5s 0.2s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes tgaBadgePop { from{transform:scale(0)} to{transform:scale(1)} }
.tga-modal-free .tga-pm-badge svg { width: 12px; height: 12px; }
.tga-modal-free .tga-pm-icon-wrap {
  width: 80px; height: 80px; border-radius: 24px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(5,150,105,0.1), rgba(5,150,105,0.04));
  border: 1.5px solid rgba(5,150,105,0.2);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: iconFloat 3s ease-in-out infinite;
  box-shadow: 0 8px 28px rgba(5,150,105,0.14);
}
.tga-modal-free .tga-pm-icon-wrap::after {
  content: ''; position: absolute; inset: -9px; border-radius: 33px;
  border: 2px dashed rgba(5,150,105,0.18);
  animation: iconSpin 14s linear infinite;
}
.tga-modal-free .tga-pm-icon-wrap svg { width: 40px; height: 40px; }
.tga-modal-free .tga-pm-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 900; color: #0D2257;
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.tga-modal-free .tga-pm-sub {
  font-size: 14px; color: #5B7FBA; line-height: 1.75;
  max-width: 290px; margin: 0 auto;
}
.tga-modal-free .tga-pm-body { padding: 20px 32px; }
.tga-free-perks {
  display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px;
}
.tga-free-perk {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(5,150,105,0.04);
  border: 1px solid rgba(5,150,105,0.1);
  font-size: 13px; font-weight: 600; color: #0D2257;
  animation: tgaFadeUp 0.5s ease both;
}
.tga-free-perk:nth-child(1){animation-delay:0.1s}
.tga-free-perk:nth-child(2){animation-delay:0.17s}
.tga-free-perk:nth-child(3){animation-delay:0.24s}
@keyframes tgaFadeUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.tga-free-perk-icon {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, rgba(5,150,105,0.12), rgba(5,150,105,0.06));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tga-free-perk-icon svg { width: 16px; height: 16px; }
.tga-modal-free .tga-pm-footer { padding: 0 32px 30px; display: flex; gap: 10px; }
.tga-btn-free-main {
  flex: 1; padding: 15px;
  border-radius: 16px;
  background: linear-gradient(135deg, #059669, #10B981);
  color: white; font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 900;
  border: none; cursor: pointer; transition: all 0.3s;
  box-shadow: 0 6px 22px rgba(5,150,105,0.35);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  position: relative; overflow: hidden;
}
.tga-btn-free-main::before { content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent); transition:left 0.5s; }
.tga-btn-free-main:hover::before { left:100%; }
.tga-btn-free-main:hover { transform:translateY(-2px); box-shadow:0 10px 30px rgba(5,150,105,0.45); }
.tga-btn-free-main svg { width: 17px; height: 17px; }
.tga-btn-dismiss { padding:15px 18px; border-radius:16px; background:rgba(21,101,192,0.05); color:#5B7FBA; font-size:13px; font-weight:700; border:1.5px solid rgba(21,101,192,0.1); cursor:pointer; transition:all 0.25s; font-family:'DM Sans',sans-serif; }
.tga-btn-dismiss:hover { background:rgba(21,101,192,0.09); color:#1565C0; }

/* ══════════════════════════════════════
   MODAL TYPE: REGISTER PREMIUM — thème or foncé
   ══════════════════════════════════════ */
.tga-modal-premium {
  background: linear-gradient(155deg, #1A1000 0%, #2D1E00 40%, #1A1000 100%);
}
.tga-modal-premium .tga-pm-hero {
  padding: 36px 36px 0; text-align: center; position: relative; overflow: hidden;
}
/* Particle FX premium */
.tga-modal-premium .tga-pm-particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.tga-pm-particle {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: rgba(212,160,23,0.5);
  animation: tgaParticleFloat linear infinite;
}
@keyframes tgaParticleFloat {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.7; }
  100% { transform: translateY(-120px) translateX(var(--px,10px)) scale(0); opacity: 0; }
}
.tga-modal-premium .tga-pm-crown {
  width: 100px; height: 100px; margin: 0 auto 22px;
  background: radial-gradient(circle at 40% 35%, rgba(255,224,100,0.25), rgba(212,160,23,0.05) 70%);
  border: 1.5px solid rgba(212,160,23,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: tgaCrownPulse 3s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(212,160,23,0.2), inset 0 0 20px rgba(212,160,23,0.05);
}
@keyframes tgaCrownPulse { 0%,100%{box-shadow:0 0 30px rgba(212,160,23,0.15)} 50%{box-shadow:0 0 60px rgba(212,160,23,0.3)} }
.tga-modal-premium .tga-pm-crown::after {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px dashed rgba(212,160,23,0.2);
  animation: iconSpin 20s linear infinite;
}
.tga-modal-premium .tga-pm-crown svg { width: 46px; height: 46px; }
.tga-modal-premium .tga-pm-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 900;
  background: linear-gradient(135deg, #FFE082, #D4A017, #F5C842);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em; margin-bottom: 6px;
}
.tga-modal-premium .tga-pm-price-tag {
  display: inline-flex; align-items: baseline; gap: 4px;
  margin-bottom: 10px;
}
.tga-pm-price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 38px; font-weight: 900;
  color: #F5C842; letter-spacing: -0.03em;
}
.tga-pm-price-unit { font-size: 14px; color: rgba(245,200,66,0.6); font-weight: 600; }
.tga-modal-premium .tga-pm-sub { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.tga-modal-premium .tga-pm-body { padding: 22px 36px; }
.tga-premium-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px;
}
.tga-premium-feat {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(212,160,23,0.07);
  border: 1px solid rgba(212,160,23,0.15);
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.8);
  display: flex; align-items: center; gap: 7px;
  animation: tgaFadeUp 0.4s ease both;
}
.tga-premium-feat:nth-child(1){animation-delay:0.08s}
.tga-premium-feat:nth-child(2){animation-delay:0.14s}
.tga-premium-feat:nth-child(3){animation-delay:0.2s}
.tga-premium-feat:nth-child(4){animation-delay:0.26s}
.tga-premium-feat:nth-child(5){animation-delay:0.32s}
.tga-premium-feat:nth-child(6){animation-delay:0.38s}
.tga-premium-feat svg { width: 14px; height: 14px; flex-shrink: 0; }
.tga-modal-premium .tga-pm-footer { padding: 0 36px 34px; display:flex; flex-direction:column; gap:10px; }
.tga-btn-premium-main {
  width:100%; padding:16px;
  border-radius:16px;
  background: linear-gradient(135deg, #F5C842, #D4A017, #B8860B);
  color: #1A1000; font-family:'Playfair Display',serif;
  font-size:16px; font-weight:900;
  border:none; cursor:pointer; transition:all 0.3s;
  box-shadow:0 8px 32px rgba(212,160,23,0.5);
  position:relative; overflow:hidden;
}
.tga-btn-premium-main::before { content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg,transparent,rgba(255,255,255,0.3),transparent); transition:left 0.6s; }
.tga-btn-premium-main:hover::before { left:100%; }
.tga-btn-premium-main:hover { transform:translateY(-2px); box-shadow:0 14px 40px rgba(212,160,23,0.65); }
.tga-pm-payment-logos {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 4px;
}
.tga-pm-payment-logos span {
  padding: 3px 9px; border-radius: 6px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  font-weight: 700; font-size: 10px; letter-spacing: 0.05em; color: rgba(255,255,255,0.5);
}

/* ══════════════════════════════════════
   MODAL TYPE: REGISTER ELITE — thème bleu royal sombre + effet holographique
   ══════════════════════════════════════ */
.tga-modal-elite {
  background: linear-gradient(145deg, #020D2A 0%, #071540 50%, #0D2257 100%);
  position: relative;
}
.tga-modal-elite .tga-elite-holo {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.tga-elite-holo::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg,
    rgba(21,101,192,0.04) 60deg,
    rgba(212,160,23,0.06) 120deg,
    transparent 180deg,
    rgba(5,150,105,0.04) 240deg,
    rgba(21,101,192,0.05) 300deg,
    transparent 360deg
  );
  animation: holoRotate 12s linear infinite;
}
@keyframes holoRotate { to { transform: rotate(360deg); } }
.tga-modal-elite .tga-pm-hero {
  padding: 36px 36px 0; text-align: center; position: relative;
}
.tga-elite-shield-wrap {
  width: 100px; height: 100px; margin: 0 auto 20px;
  position: relative;
  animation: iconFloat 3.5s ease-in-out infinite;
}
.tga-elite-shield-wrap::before {
  content: '';
  position: absolute; inset: -12px;
  background: conic-gradient(from 0deg, #1565C0, #D4A017, #059669, #1565C0);
  border-radius: 50%;
  animation: holoRotate 4s linear infinite;
  filter: blur(1px);
}
.tga-elite-shield-inner {
  position: relative; z-index: 1;
  width: 100%; height: 100%; border-radius: 50%;
  background: linear-gradient(145deg, #0D2257, #071540);
  border: 2px solid rgba(212,160,23,0.5);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(21,101,192,0.3), inset 0 0 20px rgba(21,101,192,0.1);
}
.tga-elite-shield-inner svg { width: 46px; height: 46px; }
.tga-modal-elite .tga-pm-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 900;
  color: white; letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.tga-elite-subtext {
  font-size: 13px; color: rgba(255,255,255,0.45);
  margin-bottom: 4px; line-height: 1.6;
}
.tga-elite-price-row {
  display: flex; align-items: baseline; justify-content: center; gap: 6px;
  margin: 14px 0 10px;
}
.tga-elite-price {
  font-family: 'Playfair Display', serif;
  font-size: 42px; font-weight: 900;
  background: linear-gradient(135deg, #BFDFFF, #1565C0, #D4A017);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tga-elite-price-label {
  font-size: 13px; color: rgba(255,255,255,0.4);
  font-weight: 600; line-height: 1.3;
}
.tga-modal-elite .tga-pm-body { padding: 20px 36px; }
.tga-elite-perks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.tga-elite-perk {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85);
  animation: tgaFadeUp 0.45s ease both;
}
.tga-elite-perk:nth-child(1){animation-delay:0.08s}
.tga-elite-perk:nth-child(2){animation-delay:0.15s}
.tga-elite-perk:nth-child(3){animation-delay:0.22s}
.tga-elite-perk:nth-child(4){animation-delay:0.29s}
.tga-elite-perk-icon {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(212,160,23,0.15), rgba(212,160,23,0.06));
  border: 1px solid rgba(212,160,23,0.25);
  display: flex; align-items: center; justify-content: center;
}
.tga-elite-perk-icon svg { width: 16px; height: 16px; }
.tga-modal-elite .tga-pm-footer { padding: 0 36px 34px; display: flex; flex-direction: column; gap: 10px; }
.tga-btn-elite-main {
  width: 100%; padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(21,101,192,0.3) 0%, rgba(21,101,192,0.15) 100%);
  border: 1.5px solid rgba(212,160,23,0.5);
  color: white; font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 900;
  cursor: pointer; transition: all 0.3s;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 32px rgba(21,101,192,0.3), 0 0 0 1px rgba(212,160,23,0.2) inset;
}
.tga-btn-elite-main::before {
  content: ''; position: absolute; top:0; left:-100%; width:100%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.12), transparent);
  transition: left 0.6s;
}
.tga-btn-elite-main:hover::before { left: 100%; }
.tga-btn-elite-main:hover {
  transform: translateY(-2px);
  border-color: rgba(212,160,23,0.8);
  box-shadow: 0 14px 40px rgba(21,101,192,0.5), 0 0 30px rgba(212,160,23,0.15);
}
.tga-elite-close-btn {
  width: 100%; padding: 13px;
  border-radius: 16px; background: transparent;
  color: rgba(255,255,255,0.3); font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.08); cursor: pointer;
  transition: all 0.25s; font-family: 'DM Sans', sans-serif;
}
.tga-elite-close-btn:hover { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); }

/* ── Close X button ── */
.tga-pm-close-x {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.25s; z-index: 10;
}
.tga-pm-close-x:hover { background: rgba(255,255,255,0.15); transform: scale(1.1) rotate(90deg); }
.tga-pm-close-x svg { width: 14px; height: 14px; }
.tga-modal-free .tga-pm-close-x { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.08); }
.tga-modal-free .tga-pm-close-x svg { stroke: #334155; }
.tga-modal-free .tga-pm-close-x:hover { background: rgba(0,0,0,0.1); }

@media (max-width: 480px) {
  .tga-page-modal { border-radius: 24px; }
  .tga-modal-login .tga-pm-hero,
  .tga-modal-free .tga-pm-hero,
  .tga-modal-premium .tga-pm-hero,
  .tga-modal-elite .tga-pm-hero { padding: 28px 22px 0; }
  .tga-modal-login .tga-pm-body,
  .tga-modal-free .tga-pm-body,
  .tga-modal-premium .tga-pm-body,
  .tga-modal-elite .tga-pm-body { padding: 18px 22px; }
  .tga-modal-login .tga-pm-footer,
  .tga-modal-free .tga-pm-footer,
  .tga-modal-premium .tga-pm-footer,
  .tga-modal-elite .tga-pm-footer { padding: 0 22px 26px; }
  .tga-premium-features { grid-template-columns: 1fr; }
}
/* ════════════════════════════════════════════════════════════════
   TGACLASS — AJOUTS ET CORRECTIONS
   ════════════════════════════════════════════════════════════════ */

/* ── Boutons auth convertis de <a> en <button> ── */
button.topbar-auth-btn, button.mob-auth-btn,
button.btn-nav-start, button.btn-gold {
  cursor: pointer; font-family: var(--font-body);
}
button.topbar-auth-btn { border: none; }
button.mob-auth-btn { width: 100%; }

/* ══ HERO SLIDESHOW ══════════════════════════════════════════════ */
.hero { isolation: isolate; }

.hero-slides {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg,
    rgba(7,21,64,0.58) 0%,
    rgba(13,34,87,0.38) 45%,
    rgba(7,21,64,0.62) 100%
  );
}
.hero .hero-mesh  { z-index: 2; pointer-events: none; }
.hero .hero-line  { z-index: 2; pointer-events: none; }
.hero .hero-inner { z-index: 3 !important; position: relative; }

/* Points indicateurs du slideshow */
.hero-slide-dots {
  position: absolute; bottom: 80px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 8px; z-index: 4;
}
.hero-slide-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.35); cursor: pointer; padding: 0;
  transition: all 0.3s;
}
.hero-slide-dot.active {
  background: #D4A017; transform: scale(1.4);
  box-shadow: 0 0 8px rgba(212,160,23,0.7);
}

/* Textes du hero lisibles sur fond photo */
.hero .hero-eyebrow {
  color: rgba(255,255,255,0.95) !important;
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.3) !important;
}
.hero h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.hero h1 .word-gold { color: #F5C842 !important; }
.hero .hero-desc {
  color: rgba(255,255,255,0.92) !important;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.hero-logo-wrap img { filter: brightness(1.1) drop-shadow(0 4px 20px rgba(0,0,0,0.4)) !important; }

/* ══ MODAL INSCRIPTION 2 COLONNES ═══════════════════════════════ */

/* Agrandir le backdrop pour accepter les grandes modales */
.tga-page-backdrop { padding: 16px; }

/* Override max-width uniquement pour le modal inscription */
.tga-page-modal.tga-modal-register {
  max-width: 860px !important;
  width: 100% !important;
  border-radius: 28px !important;
  background: #fff;
  overflow: hidden;
}

/* Wrap 2 colonnes */
.tga-reg-wrap {
  display: flex; min-height: 560px; position: relative;
}

/* Bouton fermer */
.tga-reg-close {
  position: absolute; top: 16px; right: 16px; z-index: 20;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.18); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.tga-reg-close:hover { background: rgba(255,255,255,0.35); transform: rotate(90deg); }

/* Colonne gauche */
.tga-reg-left {
  width: 42%; min-width: 260px;
  background: linear-gradient(160deg, #0D2257 0%, #1565C0 55%, #1A3F8F 100%);
  padding: 36px 28px; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.tga-reg-left::before {
  content:''; position:absolute; width:280px; height:280px; border-radius:50%;
  background:rgba(212,160,23,0.09); top:-80px; right:-80px; pointer-events:none;
}
.tga-reg-brand { display:flex; align-items:center; justify-content:flex-start; margin-bottom:28px; }
/* Logo image réel dans le modal d'inscription */
.tga-reg-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(1.15) drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
/* Anciens styles désactivés */
.tga-reg-logo { display:none; }
.tga-reg-logo-text { display:none; }
.tga-reg-logo-text strong { color:#D4A017; }
.tga-reg-badge-top {
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(5,150,105,0.18); border:1px solid rgba(5,150,105,0.4);
  color:#34d399; font-size:11px; font-weight:600;
  padding:5px 12px; border-radius:20px; margin-bottom:16px;
}
.tga-reg-headline {
  font-size:24px; font-weight:800; color:#fff; line-height:1.2; margin-bottom:10px;
}
.tga-reg-tagline { font-size:13px; color:rgba(255,255,255,0.6); line-height:1.6; margin-bottom:22px; }
.tga-reg-perks { display:flex; flex-direction:column; gap:10px; margin-bottom:24px; }
.tga-reg-perk { display:flex; align-items:center; gap:10px; font-size:13px; color:rgba(255,255,255,0.83); }
.tga-reg-perk-dot { width:6px; height:6px; border-radius:50%; background:#D4A017; flex-shrink:0; }
.tga-reg-trust { display:flex; align-items:center; gap:10px; font-size:12px; color:rgba(255,255,255,0.5); }
.tga-reg-avatars { display:flex; }
.tga-reg-av {
  width:28px; height:28px; border-radius:50%;
  border:2px solid rgba(255,255,255,0.3);
  display:flex; align-items:center; justify-content:center;
  font-size:9px; font-weight:700; color:#fff;
  margin-left:-6px;
}
.tga-reg-avatars .tga-reg-av:first-child { margin-left:0; }

/* Colonne droite */
.tga-reg-right {
  flex:1; padding:28px 28px 24px;
  display:flex; flex-direction:column;
  overflow-y:auto; max-height:600px;
}

/* Steps */
.tga-reg-steps { display:flex; align-items:center; margin-bottom:24px; }
.tga-reg-step {
  display:flex; align-items:center; gap:6px;
  font-size:12px; font-weight:600; color:#94a3b8; transition:color 0.3s;
}
.tga-reg-step.active { color:#1565C0; }
.tga-reg-step.done   { color:#059669; }
.tga-reg-step-num {
  width:26px; height:26px; border-radius:50%;
  background:#f1f5f9; border:2px solid #e2e8f0;
  display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:700; color:#94a3b8; transition:all 0.3s;
}
.tga-reg-step.active .tga-reg-step-num { background:#1565C0; border-color:#1565C0; color:#fff; }
.tga-reg-step.done   .tga-reg-step-num { background:#059669; border-color:#059669; color:#fff; }
.tga-reg-step-line { flex:1; height:2px; background:#e2e8f0; margin:0 8px; border-radius:2px; transition:background 0.3s; }

/* Panels */
.tga-reg-step-panel { display:none; }
.tga-reg-step-panel.active { display:flex; flex-direction:column; gap:14px; animation:regIn 0.3s ease; }
@keyframes regIn { from{opacity:0;transform:translateX(10px)} to{opacity:1;transform:translateX(0)} }
.tga-reg-step-title { font-size:16px; font-weight:700; color:#0f172a; margin-bottom:4px; }

/* Champs */
.tga-reg-field { display:flex; flex-direction:column; gap:5px; }
.tga-reg-label { font-size:12.5px; font-weight:600; color:#475569; }
.tga-reg-input-wrap {
  display:flex; align-items:center;
  background:#f8fafc; border:1.5px solid #e2e8f0;
  border-radius:11px; padding:0 14px; transition:all 0.2s;
}
.tga-reg-input-wrap:focus-within {
  border-color:#1565C0; background:#fff;
  box-shadow:0 0 0 4px rgba(21,101,192,0.08);
}
.tga-reg-input-wrap.error { border-color:#ef4444; }
.tga-reg-input {
  flex:1; height:44px; border:none; background:transparent;
  font-size:14px; color:#0f172a; outline:none;
}
.tga-reg-input::placeholder { color:#94a3b8; }
.tga-reg-select { cursor:pointer; }
.tga-reg-select-wrap::after {
  content:'▾'; position:absolute; right:14px; color:#94a3b8; pointer-events:none;
}
.tga-reg-select-wrap { position:relative; }

/* Barre force mdp */
.tga-reg-pwd-bar { height:4px; background:#f1f5f9; border-radius:4px; overflow:hidden; }
.tga-reg-pwd-fill { height:100%; width:0; border-radius:4px; transition:width 0.4s,background 0.4s; }
.tga-reg-pwd-hint { font-size:11.5px; color:#94a3b8; }

/* Niveaux */
.tga-reg-levels { display:flex; gap:8px; flex-wrap:wrap; }
.tga-reg-level-btn {
  padding:8px 14px; border-radius:10px;
  border:1.5px solid #e2e8f0; background:#f8fafc;
  font-size:12.5px; font-weight:600; color:#64748b; cursor:pointer; transition:all 0.2s;
}
.tga-reg-level-btn.active { border-color:#1565C0; background:rgba(21,101,192,0.08); color:#1565C0; }

/* CGU */
.tga-reg-cgu { display:flex; align-items:flex-start; gap:10px; font-size:12px; color:#64748b; line-height:1.5; }
.tga-reg-checkbox { width:16px; height:16px; margin-top:1px; accent-color:#1565C0; cursor:pointer; }
.tga-reg-cgu a { color:#1565C0; font-weight:600; text-decoration:none; }

/* Boutons */
.tga-reg-row { display:flex; gap:10px; align-items:center; margin-top:4px; }
.tga-reg-btn-next {
  flex:1; min-width:0; height:50px; border-radius:11px;
  background:linear-gradient(135deg,#1565C0,#0D2257);
  border:none; color:#fff; font-size:15px; font-weight:700;
  cursor:pointer; transition:all 0.2s;
  box-shadow:0 4px 14px rgba(21,101,192,0.3);
  font-family:inherit; display:inline-flex; align-items:center;
  justify-content:center; gap:7px;
}
/* Quand le bouton est seul dans son conteneur (étape 1) → pleine largeur */
.tga-reg-step-panel > .tga-reg-btn-next {
  width:100%;
}
.tga-reg-btn-next:hover { transform:translateY(-1px); box-shadow:0 6px 20px rgba(21,101,192,0.4); }
.tga-reg-btn-back {
  height:46px; padding:0 16px; border-radius:11px;
  border:1.5px solid #e2e8f0; background:#fff;
  font-size:13px; font-weight:600; color:#64748b; cursor:pointer; transition:all 0.2s;
}
.tga-reg-btn-back:hover { border-color:#1565C0; color:#1565C0; }
.tga-reg-btn-submit {
  flex:1; height:48px; border-radius:11px;
  background:linear-gradient(135deg,#D4A017,#8B6914);
  border:none; color:#fff; font-size:14px; font-weight:700;
  cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px;
  transition:all 0.2s; box-shadow:0 4px 14px rgba(212,160,23,0.35);
}
.tga-reg-btn-submit:hover { transform:translateY(-1px); box-shadow:0 6px 20px rgba(212,160,23,0.5); }

/* Écran succès */
.tga-reg-success { display:flex; flex-direction:column; align-items:center; text-align:center; padding:20px 0; gap:12px; }
.tga-reg-success-ring {
  width:80px; height:80px; border-radius:50%;
  background:rgba(5,150,105,0.1); border:3px solid rgba(5,150,105,0.3);
  display:flex; align-items:center; justify-content:center;
  animation:successPop 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes successPop { from{transform:scale(0);opacity:0} to{transform:scale(1);opacity:1} }
.tga-reg-success-title { font-size:20px; font-weight:800; color:#0f172a; }
.tga-reg-success-sub { font-size:13px; color:#64748b; line-height:1.6; max-width:280px; }
.tga-reg-success-perks { display:flex; flex-direction:column; gap:8px; width:100%; }
.tga-reg-success-perk {
  background:#f0fdf4; border:1px solid rgba(5,150,105,0.2);
  border-radius:10px; padding:10px 16px;
  font-size:13px; font-weight:600; color:#065f46;
}

/* Responsive modal */
@media (max-width: 860px) {
  .tga-page-modal.tga-modal-register { max-width: calc(100vw - 24px) !important; }
}
@media (max-width: 640px) {
  .tga-page-backdrop { padding: 0; align-items: flex-end; }
  .tga-page-modal.tga-modal-register {
    max-width: 100% !important; border-radius: 20px 20px 0 0 !important;
  }
  .tga-reg-wrap { flex-direction: column; min-height: unset; }
  .tga-reg-left { width: 100%; padding: 20px; min-width: unset; }
  .tga-reg-perks { display: none; }
  .tga-reg-right { padding: 20px; max-height: 65vh; }
  .tga-reg-levels { flex-direction: column; }
}

/* ══ AMÉLIORATIONS MODAL INSCRIPTION ══ */
/* Structure interne gauche */
.tga-reg-left-content {
  position: relative; z-index: 1;
  flex: 1; display: flex; flex-direction: column;
}
/* Décoration bas gauche */
.tga-reg-left::after {
  content: ''; position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.04); bottom: -60px; left: -60px; pointer-events: none;
}
/* Brand z-index */
.tga-reg-brand { position: relative; z-index: 1; }
/* Trust area en bas à gauche */
.tga-reg-trust {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
/* Titre avec font display */
.tga-reg-headline {
  font-family: 'Playfair Display', serif;
}
/* Scroll fluide côté droit */
.tga-reg-right { scroll-behavior: smooth; }
/* Erreur plus visible */
.tga-reg-input-wrap.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
/* Min-height du wrap */
.tga-reg-wrap { min-height: 580px; }
/* Max-height right scroll */
.tga-reg-right { max-height: 580px; }

/* ══════════════════════════════════════════════
   THÈME SOMBRE — Overrides index.css
   ══════════════════════════════════════════════ */

/* Course cards — NE PAS toucher background-image, seulement renforcer l'overlay */
[data-theme="dark"] .course-card::before {
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.30) 0%,
    rgba(0,0,0,0.50) 35%,
    rgba(0,0,0,0.88) 70%,
    rgba(0,0,0,0.97) 100%
  ) !important;
}
[data-theme="dark"] .course-card:hover {
  box-shadow: 0 24px 64px rgba(0,0,0,0.55) !important;
}

/* Feature cards (pas background-image) */
[data-theme="dark"] .feature-card {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.09) !important;
}
[data-theme="dark"] .feature-card:hover {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(212,160,23,0.25) !important;
}

/* Textes généraux */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] .section-title,
[data-theme="dark"] .hero-title {
  color: var(--text-primary) !important;
}

[data-theme="dark"] p,
[data-theme="dark"] .section-desc,
[data-theme="dark"] .hero-desc,
[data-theme="dark"] .card-desc,
[data-theme="dark"] .feature-desc,
[data-theme="dark"] .feature-text {
  color: var(--text-secondary) !important;
}

/* Feature card details */
[data-theme="dark"] .feature-title { color: var(--text-primary) !important; }
[data-theme="dark"] .feature-desc  { color: var(--text-secondary) !important; }

/* Section backgrounds */
[data-theme="dark"] .section-alt,
[data-theme="dark"] .section-light,
[data-theme="dark"] .bg-light,
[data-theme="dark"] .pourquoi-section,
[data-theme="dark"] .temoignages-section,
[data-theme="dark"] .features {
  background: rgba(255,255,255,0.015) !important;
}

/* Inputs */
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea,
[data-theme="dark"] .tga-login-input,
[data-theme="dark"] .tga-reg-input {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: var(--text-primary) !important;
}
[data-theme="dark"] input::placeholder,
[data-theme="dark"] .tga-login-input::placeholder,
[data-theme="dark"] .tga-reg-input::placeholder {
  color: rgba(168,191,232,0.4) !important;
}
[data-theme="dark"] input:focus,
[data-theme="dark"] .tga-login-input:focus,
[data-theme="dark"] .tga-reg-input:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(212,160,23,0.15) !important;
}

/* ── Stats strip & compteurs ── */
[data-theme="dark"] .stats-strip {
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(255,255,255,0.07) !important;
  border-top-color: rgba(255,255,255,0.07) !important;
  border-bottom-color: rgba(255,255,255,0.07) !important;
}
[data-theme="dark"] .stat-item {
  border-right-color: rgba(255,255,255,0.07) !important;
}
[data-theme="dark"] .stat-num {
  color: var(--text-primary) !important;
}
[data-theme="dark"] .stat-num.gold {
  color: var(--gold) !important;
}
[data-theme="dark"] .stat-label {
  color: var(--text-muted) !important;
}

/* ── Témoignages ── */
[data-theme="dark"] .temoignage-card {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.09) !important;
}
[data-theme="dark"] .temoignage-card:hover {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(212,160,23,0.20) !important;
  box-shadow: 0 20px 56px rgba(0,0,0,0.4) !important;
}
[data-theme="dark"] .temoignage-card-featured {
  background: linear-gradient(160deg, rgba(212,160,23,0.07), rgba(255,255,255,0.04)) !important;
  border-color: rgba(212,160,23,0.25) !important;
}
[data-theme="dark"] .temoignage-card-featured:hover {
  border-color: rgba(212,160,23,0.40) !important;
  box-shadow: 0 20px 56px rgba(212,160,23,0.15) !important;
}
[data-theme="dark"] .temoignage-text {
  color: var(--text-secondary) !important;
}
[data-theme="dark"] .temoignage-author {
  border-top-color: rgba(255,255,255,0.08) !important;
}
[data-theme="dark"] .temoignage-info strong {
  color: var(--text-primary) !important;
}
[data-theme="dark"] .temoignage-info span {
  color: var(--text-muted) !important;
}
[data-theme="dark"] .temoignage-verified {
  color: var(--gold-light) !important;
}
[data-theme="dark"] .result-badge {
  background: rgba(5,150,105,0.12) !important;
  border-color: rgba(5,150,105,0.25) !important;
  color: #34d399 !important;
}
[data-theme="dark"] .result-gold {
  background: rgba(212,160,23,0.12) !important;
  border-color: rgba(212,160,23,0.30) !important;
  color: var(--gold-light) !important;
}

/* Modals */
[data-theme="dark"] .tga-modal,
[data-theme="dark"] .tga-page-modal {
  background: #111827 !important;
  border-color: rgba(255,255,255,0.10) !important;
  color: var(--text-primary);
}
[data-theme="dark"] .tga-modal-backdrop,
[data-theme="dark"] .tga-page-backdrop {
  background: rgba(0,0,0,0.75) !important;
}

/* Footer */
[data-theme="dark"] footer,
[data-theme="dark"] .footer-bottom-bar {
  background: #060c18 !important;
  border-color: rgba(255,255,255,0.07) !important;
}
[data-theme="dark"] .footer-bottom-bar {
  border-top-color: rgba(255,255,255,0.07) !important;
}

/* Dropdown nav */
[data-theme="dark"] .nav-dropdown-menu {
  background: #111827 !important;
  border-color: rgba(255,255,255,0.10) !important;
}
[data-theme="dark"] .nav-dropdown-item { color: var(--text-secondary) !important; }
[data-theme="dark"] .nav-dropdown-item:hover {
  background: rgba(212,160,23,0.10) !important;
  color: var(--gold) !important;
}

/* Sidebar mobile overlay */
[data-theme="dark"] .sidebar-overlay {
  background: rgba(0,0,0,0.65) !important;
}

/* Hero overlay */
[data-theme="dark"] .hero-slide-overlay {
  background: linear-gradient(to bottom, rgba(11,15,26,0.55) 0%, rgba(11,15,26,0.75) 100%) !important;
}

/* Scroll hint */
[data-theme="dark"] .scroll-hint { color: rgba(168,191,232,0.6) !important; }

/* Orbes */
[data-theme="dark"] .orb-1 { background: rgba(21,101,192,0.12); }
[data-theme="dark"] .orb-2 { background: rgba(212,160,23,0.10); }
[data-theme="dark"] .orb-3 { background: rgba(100,181,246,0.07); }
[data-theme="dark"] .orb-4 { background: rgba(212,160,23,0.08); }

/* Boutons */
[data-theme="dark"] .btn-nav-login {
  border-color: rgba(212,160,23,0.25) !important;
  color: var(--gold-light) !important;
}
[data-theme="dark"] .btn-nav-login:hover {
  background: rgba(212,160,23,0.08) !important;
  border-color: var(--gold) !important;
}
[data-theme="dark"] .btn-outline {
  border-color: rgba(212,160,23,0.4) !important;
  color: var(--gold-light) !important;
}
[data-theme="dark"] .btn-outline:hover {
  background: rgba(212,160,23,0.10) !important;
}

/* Section eyebrow */
[data-theme="dark"] .section-eyebrow,
[data-theme="dark"] .eyebrow {
  color: var(--gold) !important;
}

/* Pourquoi section */
[data-theme="dark"] .avantage-item { color: var(--text-secondary) !important; }
[data-theme="dark"] .avantage-icon-wrap { background: rgba(255,255,255,0.04) !important; }

/* Login / Register */
[data-theme="dark"] .tga-login-label,
[data-theme="dark"] .tga-reg-label,
[data-theme="dark"] .tga-reg-step-title {
  color: var(--text-secondary) !important;
}
[data-theme="dark"] .tga-progress-track {
  background: rgba(255,255,255,0.08) !important;
}

/* CTA Banner */
[data-theme="dark"] .cta-banner {
  background: linear-gradient(135deg, #0D1B3E 0%, #071540 100%) !important;
}

/* Partner logos */
[data-theme="dark"] .partner-logo {
  filter: brightness(0.7) !important;
  opacity: 0.65 !important;
}
/* ══════════════════════════════════════════════
   DARK MODE — Formulaire d'inscription
   ══════════════════════════════════════════════ */

/* Modal wrapper */
[data-theme="dark"] .tga-page-modal.tga-modal-register {
  background: #0E1525 !important;
  box-shadow: 0 60px 120px rgba(0,0,0,0.7) !important;
}

/* Colonne droite (blanche en light) */
[data-theme="dark"] .tga-reg-right {
  background: #0E1525 !important;
}

/* Steps indicators */
[data-theme="dark"] .tga-reg-step {
  color: rgba(168,191,232,0.5) !important;
}
[data-theme="dark"] .tga-reg-step.active {
  color: #60A5FA !important;
}
[data-theme="dark"] .tga-reg-step.done {
  color: #34D399 !important;
}
[data-theme="dark"] .tga-reg-step-num {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: rgba(168,191,232,0.6) !important;
}
[data-theme="dark"] .tga-reg-step.active .tga-reg-step-num {
  background: #1565C0 !important;
  border-color: #1565C0 !important;
  color: #fff !important;
}
[data-theme="dark"] .tga-reg-step.done .tga-reg-step-num {
  background: #059669 !important;
  border-color: #059669 !important;
  color: #fff !important;
}
[data-theme="dark"] .tga-reg-step-line {
  background: rgba(255,255,255,0.10) !important;
}

/* Titres & textes formulaire */
[data-theme="dark"] .tga-reg-step-title {
  color: #E8F0FF !important;
}
[data-theme="dark"] .tga-reg-label {
  color: rgba(168,191,232,0.75) !important;
}

/* Champs de saisie */
[data-theme="dark"] .tga-reg-input-wrap {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.12) !important;
}
[data-theme="dark"] .tga-reg-input-wrap:focus-within {
  border-color: #D4A017 !important;
  background: rgba(255,255,255,0.08) !important;
  box-shadow: 0 0 0 4px rgba(212,160,23,0.12) !important;
}
[data-theme="dark"] .tga-reg-input {
  color: #E8F0FF !important;
  background: transparent !important;
}
[data-theme="dark"] .tga-reg-input::placeholder {
  color: rgba(168,191,232,0.35) !important;
}
[data-theme="dark"] .tga-reg-input-wrap .tga-reg-icon svg {
  stroke: rgba(168,191,232,0.4) !important;
}

/* Select */
[data-theme="dark"] .tga-reg-select {
  color: #E8F0FF !important;
  background: transparent !important;
}
[data-theme="dark"] .tga-reg-select option {
  background: #0E1525 !important;
  color: #E8F0FF !important;
}
[data-theme="dark"] .tga-reg-select-wrap::after {
  color: rgba(168,191,232,0.5) !important;
}

/* Barre force mot de passe */
[data-theme="dark"] .tga-reg-pwd-bar {
  background: rgba(255,255,255,0.08) !important;
}
[data-theme="dark"] .tga-reg-pwd-hint {
  color: rgba(168,191,232,0.5) !important;
}

/* Boutons niveau */
[data-theme="dark"] .tga-reg-level-btn {
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: rgba(168,191,232,0.7) !important;
}
[data-theme="dark"] .tga-reg-level-btn.active {
  background: rgba(21,101,192,0.15) !important;
  border-color: #1565C0 !important;
  color: #93C5FD !important;
}

/* CGU */
[data-theme="dark"] .tga-reg-cgu {
  color: rgba(168,191,232,0.6) !important;
}
[data-theme="dark"] .tga-reg-cgu a {
  color: #60A5FA !important;
}

/* Bouton retour */
[data-theme="dark"] .tga-reg-btn-back {
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: rgba(168,191,232,0.7) !important;
}
[data-theme="dark"] .tga-reg-btn-back:hover {
  border-color: var(--gold, #D4A017) !important;
  color: var(--gold, #D4A017) !important;
}

/* Succès inscription */
[data-theme="dark"] .tga-reg-success-title {
  color: #E8F0FF !important;
}
[data-theme="dark"] .tga-reg-success-sub {
  color: rgba(168,191,232,0.65) !important;
}
[data-theme="dark"] .tga-reg-success-perk {
  background: rgba(5,150,105,0.08) !important;
  border-color: rgba(5,150,105,0.2) !important;
  color: #6EE7B7 !important;
}

/* Formulaire libre (modal-free) en dark */
[data-theme="dark"] .tga-modal-free {
  background: #111827 !important;
}
[data-theme="dark"] .tga-modal-free .tga-pm-title {
  color: #E8F0FF !important;
}
[data-theme="dark"] .tga-modal-free .tga-pm-sub {
  color: rgba(168,191,232,0.7) !important;
}
[data-theme="dark"] .tga-free-perk {
  background: rgba(5,150,105,0.06) !important;
  border-color: rgba(5,150,105,0.15) !important;
  color: #E8F0FF !important;
}
[data-theme="dark"] .tga-btn-dismiss {
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: rgba(168,191,232,0.7) !important;
}

/* ══════════════════════════════════════════════
   DARK MODE — Modal login
   ══════════════════════════════════════════════ */
[data-theme="dark"] .tga-modal,
[data-theme="dark"] .tga-page-modal:not(.tga-modal-register):not(.tga-modal-login):not(.tga-modal-free):not(.tga-modal-premium) {
  background: #111827 !important;
  border-color: rgba(255,255,255,0.10) !important;
}
[data-theme="dark"] .tga-modal-title,
[data-theme="dark"] .tga-modal-desc {
  color: #E8F0FF !important;
}
[data-theme="dark"] .tga-modal-eta-label {
  color: #E8F0FF !important;
}
[data-theme="dark"] .tga-modal-eta-sub {
  color: rgba(168,191,232,0.6) !important;
}

/* Défense spécifique du logo du footer */
.footer-rich .footer-logo-wrap {
  display: flex;
  align-items: center;
  min-height: 48px;
}
.footer-rich .footer-logo-img {
  height: 48px;
  max-height: 48px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
