/* ═══════════════════════════════════════════════════════════════
   TGAclasse — index.css
   Tous les styles de la page d'accueil (extrait de index.html)
═══════════════════════════════════════════════════════════════ */


/* ══════════════════════════ BLOC 1 ══════════════════════════ */
/* ══════════════════════════════════════════════
   TRADING GOLD ACADEMY — Global Stylesheet
   Thème: Blanc/Bleu Royal + Or/Gold Premium
   ══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=DM+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  /* ── Palette Principale ── */
  --gold-light:    #F5C842;
  --gold:          #D4A017;
  --gold-deep:     #B8860B;
  --gold-shine:    #FFE082;

  --blue-sky:      #E8F4FD;
  --blue-light:    #BFDFFF;
  --blue:          #1565C0;
  --blue-mid:      #1A3F8F;
  --blue-deep:     #0D2257;
  --blue-navy:     #071540;

  --white:         #FFFFFF;
  --off-white:     #F8FBFF;
  --glass:         rgba(255,255,255,0.72);
  --glass-border:  rgba(255,255,255,0.5);

  --text-dark:     #0D1B3E;
  --text-mid:      #2B4A8A;
  --text-light:    #5B7FBA;
  --text-gold:     #9A6F00;

  --shadow-blue:   0 8px 40px rgba(21,101,192,0.18);
  --shadow-gold:   0 8px 40px rgba(212,160,23,0.25);
  --shadow-card:   0 4px 24px rgba(13,27,62,0.10);

  /* ── Typography ── */
  --font-display:  'Playfair Display', serif;
  --font-body:     'DM Sans', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ══════════════════════════════════════════════
   ANIMATED BACKGROUND — Dégradé Bleu Animé
   ══════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(21,101,192,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(100,181,246,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 50% 80%, rgba(21,101,192,0.08) 0%, transparent 60%),
    linear-gradient(160deg, #FFFFFF 0%, #EEF6FF 35%, #F5FAFF 55%, #E8F4FD 80%, #F0F8FF 100%);
  animation: bgShift 12s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 35% at 75% 15%, rgba(212,160,23,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 15% 70%, rgba(21,101,192,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 45% 25% at 90% 80%, rgba(100,181,246,0.09) 0%, transparent 50%);
  animation: bgShift2 16s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0%   { opacity: 1; transform: scale(1) translate(0,0); }
  33%  { opacity: 0.9; transform: scale(1.03) translate(-1%,1%); }
  66%  { opacity: 1; transform: scale(0.98) translate(1%,-0.5%); }
  100% { opacity: 0.95; transform: scale(1.02) translate(-0.5%,0.5%); }
}
@keyframes bgShift2 {
  0%   { transform: translate(0,0) rotate(0deg); opacity: 0.8; }
  50%  { transform: translate(2%,-1%) rotate(1deg); opacity: 1; }
  100% { transform: translate(-1%,2%) rotate(-0.5deg); opacity: 0.85; }
}

/* Orbs flottants */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  animation: floatOrb linear infinite;
}
.orb-1 { width:500px; height:500px; background:rgba(21,101,192,0.07); top:-100px; left:-150px; animation-duration:20s; }
.orb-2 { width:350px; height:350px; background:rgba(212,160,23,0.08); top:30%; right:-80px; animation-duration:25s; animation-delay:-8s; }
.orb-3 { width:400px; height:400px; background:rgba(100,181,246,0.09); bottom:-80px; left:30%; animation-duration:18s; animation-delay:-5s; }
.orb-4 { width:250px; height:250px; background:rgba(212,160,23,0.06); bottom:20%; right:20%; animation-duration:22s; animation-delay:-12s; }

@keyframes floatOrb {
  0%   { transform: translate(0,0) scale(1); }
  25%  { transform: translate(30px,-20px) scale(1.05); }
  50%  { transform: translate(-20px,30px) scale(0.97); }
  75%  { transform: translate(15px,15px) scale(1.03); }
  100% { transform: translate(0,0) scale(1); }
}

/* ══════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(21,101,192,0.12);
  box-shadow: 0 2px 20px rgba(21,101,192,0.08);
  animation: navSlide 0.6s ease forwards;
}
@keyframes navSlide { from{transform:translateY(-100%);opacity:0} to{transform:translateY(0);opacity:1} }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img { height: 44px; width: auto; object-fit: contain; }
.nav-brand {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.1;
}
.nav-brand span { color: var(--gold); display:block; font-size:11px; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; font-family:var(--font-body); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--blue); background: rgba(21,101,192,0.06); }
.nav-links a:hover::after, .nav-links a.active::after { width: 60%; }
.nav-links a.active { color: var(--blue); background: rgba(21,101,192,0.07); }

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn-nav-login {
  padding: 9px 20px;
  border-radius: 10px;
  border: 1.5px solid rgba(21,101,192,0.25);
  background: transparent;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-body);
  text-decoration: none;
}
.btn-nav-login:hover { background: rgba(21,101,192,0.07); border-color: var(--blue); }

.btn-nav-start {
  padding: 9px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: white;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
  text-decoration: none;
  box-shadow: 0 3px 16px rgba(212,160,23,0.35);
  position: relative;
  overflow: hidden;
}
.btn-nav-start::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-nav-start:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(212,160,23,0.45); }
.btn-nav-start:hover::before { opacity: 1; }

/* ══════════════════════════════════════════════
   BOUTONS GLOBAUX
   ══════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 28px rgba(21,101,192,0.3);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(255,255,255,0.15),transparent); opacity:0; transition:opacity 0.3s; }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 10px 36px rgba(21,101,192,0.4); }
.btn-primary:hover::after { opacity:1; }

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep));
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 28px rgba(212,160,23,0.35);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-gold::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.5s; }
.btn-gold:hover::before { left:100%; }
.btn-gold:hover { transform:translateY(-2px); box-shadow:0 10px 40px rgba(212,160,23,0.5); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  border-radius: 14px;
  background: transparent;
  color: var(--blue);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid rgba(21,101,192,0.3);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.btn-outline:hover { background:rgba(21,101,192,0.06); border-color:var(--blue); }

/* ══════════════════════════════════════════════
   CARDS GLASSMORPHISM
   ══════════════════════════════════════════════ */
.card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(21,101,192,0.14);
  border-color: rgba(21,101,192,0.2);
}

.card-gold {
  background: linear-gradient(145deg, rgba(255,248,220,0.85), rgba(255,255,255,0.75));
  border: 1px solid rgba(212,160,23,0.25);
}
.card-gold:hover { box-shadow: 0 20px 60px rgba(212,160,23,0.18); border-color:rgba(212,160,23,0.4); }

/* ══════════════════════════════════════════════
   ICÔNES SVG ANIMÉES (inline icons)
   ══════════════════════════════════════════════ */
.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.icon-blue { background: linear-gradient(135deg, rgba(21,101,192,0.12), rgba(21,101,192,0.06)); }
.icon-gold { background: linear-gradient(135deg, rgba(212,160,23,0.15), rgba(245,200,66,0.08)); }
.icon-wrapper svg { width:26px; height:26px; transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.card:hover .icon-wrapper svg { transform: scale(1.2) rotate(-5deg); }

/* Pulse ring sur icon */
.icon-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(21,101,192,0.15);
  animation: iconPulse 3s ease-in-out infinite;
}
.icon-gold::after { box-shadow: inset 0 0 0 1px rgba(212,160,23,0.2); }
@keyframes iconPulse { 0%,100%{opacity:0.5;transform:scale(1)} 50%{opacity:1;transform:scale(1.04)} }

/* ══════════════════════════════════════════════
   PROGRESS BAR
   ══════════════════════════════════════════════ */
.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(21,101,192,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  animation: progressAnimate 1.2s ease forwards;
  transform-origin: left;
}
@keyframes progressAnimate { from{transform:scaleX(0)} to{transform:scaleX(1)} }

/* ══════════════════════════════════════════════
   BADGE / CHIP
   ══════════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-blue { background:rgba(21,101,192,0.1); color:var(--blue); border:1px solid rgba(21,101,192,0.2); }
.badge-gold { background:rgba(212,160,23,0.12); color:var(--gold-deep); border:1px solid rgba(212,160,23,0.25); }
.badge-green { background:rgba(16,185,129,0.1); color:#059669; border:1px solid rgba(16,185,129,0.2); }
.badge-free { background:linear-gradient(135deg,rgba(16,185,129,0.1),rgba(16,185,129,0.05)); color:#059669; border:1px solid rgba(16,185,129,0.25); }

/* ══════════════════════════════════════════════
   SECTION LABEL
   ══════════════════════════════════════════════ */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  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.25);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.section-eyebrow svg { width:14px; height:14px; animation: spinSlow 8s linear infinite; }
@keyframes spinSlow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-title .highlight {
  position: relative;
  color: var(--blue);
}
.section-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  animation: underlineGrow 0.8s 0.3s ease both;
  transform-origin: left;
}
@keyframes underlineGrow { from{transform:scaleX(0)} to{transform:scaleX(1)} }
.section-title .gold { color: var(--gold); }

/* ══════════════════════════════════════════════
   SIDEBAR APP (pages internes)
   ══════════════════════════════════════════════ */
.app-wrapper {
  display: flex;
  min-height: 100vh;
  padding-top: 68px;
}

.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(21,101,192,0.1);
  position: fixed;
  top: 68px; bottom: 0; left: 0;
  overflow-y: auto;
  padding: 20px 12px;
  display: flex; flex-direction: column;
  animation: sideSlide 0.5s ease forwards;
  z-index: 100;
}
@keyframes sideSlide { from{transform:translateX(-100%)} to{transform:translateX(0)} }

.sidebar-logo-mini {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 10px 20px;
  border-bottom: 1px solid rgba(21,101,192,0.1);
  margin-bottom: 16px;
}
.sidebar-logo-mini img { height: 36px; }
.sidebar-brand-mini {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.1;
}
.sidebar-brand-mini span { color: var(--gold); font-size:10px; display:block; font-family:var(--font-body); text-transform:uppercase; letter-spacing:0.1em; }

.nav-group-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 12px 12px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s;
  text-decoration: none;
  position: relative;
  margin-bottom: 2px;
}
.nav-item:hover { background: rgba(21,101,192,0.07); color: var(--blue); }
.nav-item.active {
  background: linear-gradient(135deg, rgba(21,101,192,0.12), rgba(21,101,192,0.06));
  color: var(--blue);
  font-weight: 700;
  border: 1px solid rgba(21,101,192,0.15);
}
.nav-item .nav-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.nav-item .nav-icon svg { width: 18px; height: 18px; }
.nav-item:hover .nav-icon, .nav-item.active .nav-icon { transform: scale(1.12); }
.nav-item.active .nav-icon { background: linear-gradient(135deg, rgba(21,101,192,0.2), rgba(21,101,192,0.1)); }

.nav-item .nav-badge {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: white;
  font-size: 11px;
  font-weight: 700;
  animation: badgePop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes badgePop { from{transform:scale(0)} to{transform:scale(1)} }

.sidebar-user {
  margin-top: auto;
  padding: 14px 12px;
  border-top: 1px solid rgba(21,101,192,0.1);
  display: flex; align-items: center; gap: 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
}
.sidebar-user:hover { background: rgba(21,101,192,0.05); }
.user-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  border: 2px solid rgba(212,160,23,0.4);
  animation: avatarGlow 3s ease-in-out infinite alternate;
}
@keyframes avatarGlow { 0%{box-shadow:0 0 0 0 rgba(212,160,23,0)} 100%{box-shadow:0 0 0 4px rgba(212,160,23,0.15)} }
.user-name { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.user-plan { font-size: 11px; color: var(--gold-deep); font-weight: 600; }

/* Main content offset */
.page-content {
  margin-left: 260px;
  padding: 28px 32px;
  flex: 1;
  min-height: calc(100vh - 68px);
}

/* ══════════════════════════════════════════════
   TABLE
   ══════════════════════════════════════════════ */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left; padding: 12px 16px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 1px solid rgba(21,101,192,0.1);
}
.data-table td {
  padding: 14px 16px;
  font-size: 13px;
  border-bottom: 1px solid rgba(21,101,192,0.06);
  transition: background 0.2s;
}
.data-table tr:hover td { background: rgba(21,101,192,0.03); }

/* ══════════════════════════════════════════════
   TOAST NOTIFICATION
   ══════════════════════════════════════════════ */
.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: 9999;
  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-left: auto;
  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: 9900;
  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;
  min-height: 80px;
  margin-bottom: 8px;
  overflow: hidden;
}
.hero-msg {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.hero-msg.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.hero-msg.exit {
  opacity: 0;
  transform: translateY(-18px);
  position: absolute;
}

/* 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-left: auto;
}
.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 { display: none; }
  .navbar { top: 0 !important; }
  .hero { padding-top: calc(68px + 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-card {
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(21,101,192,0.1);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: all 0.35s cubic-bezier(0.34,1.2,0.64,1);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(21,101,192,0.15), 0 8px 24px rgba(13,27,62,0.1);
  border-color: rgba(21,101,192,0.25);
}
.course-card-featured {
  border-color: rgba(212,160,23,0.35);
  background: linear-gradient(160deg, rgba(255,248,220,0.8) 0%, rgba(255,255,255,0.95) 60%);
  box-shadow: 0 8px 32px rgba(212,160,23,0.12);
}
.course-card-featured:hover {
  border-color: rgba(212,160,23,0.6);
  box-shadow: 0 24px 64px rgba(212,160,23,0.2), 0 8px 24px rgba(13,27,62,0.1);
}
.course-featured-ribbon {
  position: absolute;
  top: 16px; right: -28px;
  background: linear-gradient(135deg, #D4A017, #F5C842);
  color: #0D2257;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 36px;
  transform: rotate(35deg);
  box-shadow: 0 4px 12px rgba(212,160,23,0.4);
  letter-spacing: 0.04em;
  z-index: 10;
}
.course-card-top {
  padding: 20px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.course-badge-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.course-level-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-beginner { background: rgba(5,150,105,0.1); color: #059669; border: 1px solid rgba(5,150,105,0.2); }
.badge-advanced { background: rgba(212,160,23,0.15); color: #9A6F00; border: 1px solid rgba(212,160,23,0.3); }
.badge-expert { background: rgba(220,38,38,0.1); color: #DC2626; border: 1px solid rgba(220,38,38,0.2); }
.badge-crypto { background: rgba(124,58,237,0.1); color: #7C3AED; border: 1px solid rgba(124,58,237,0.2); }

.course-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #059669;
  animation: pulseDot 2s ease-in-out infinite;
}
.dot-soon { background: #F59E0B; }
@keyframes pulseDot { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:0.7} }
.available { color: #059669; }
.coming-soon { color: #F59E0B; }

.course-icon-hero {
  width: 52px; height: 52px;
  border-radius: 16px;
  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.15);
  display: flex; align-items: center; justify-content: center;
  color: #1565C0;
}
.course-icon-hero svg { width: 24px; height: 24px; }
.gold-icon { background: linear-gradient(135deg, rgba(212,160,23,0.15), rgba(212,160,23,0.05)); border-color: rgba(212,160,23,0.25); color: #D4A017; }
.red-icon { background: linear-gradient(135deg, rgba(220,38,38,0.1), rgba(220,38,38,0.04)); border-color: rgba(220,38,38,0.18); color: #DC2626; }
.purple-icon { background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(124,58,237,0.04)); border-color: rgba(124,58,237,0.18); color: #7C3AED; }

.course-card-body { padding: 16px 20px; flex: 1; }
.course-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 2px;
  line-height: 1.2;
}
.course-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.course-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 12px;
}
.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.course-tag {
  background: rgba(21,101,192,0.07);
  color: var(--blue-mid);
  border: 1px solid rgba(21,101,192,0.12);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
}
.gold-tag { background: rgba(212,160,23,0.1); color: #9A6F00; border-color: rgba(212,160,23,0.2); }
.purple-tag { background: rgba(124,58,237,0.08); color: #7C3AED; border-color: rgba(124,58,237,0.15); }

.course-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  align-items: center;
}
.course-modules, .course-students {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--text-mid);
}
.course-modules svg, .course-students svg { width: 14px; height: 14px; }

.course-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.stars { color: #F59E0B; font-size: 14px; letter-spacing: 1px; }
.gold-stars { color: #D4A017; }
.purple-stars { color: #7C3AED; }
.stars-note { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.gold-note { color: var(--gold-deep); }
.stars-count { font-size: 12px; color: var(--text-light); }

.course-card-footer {
  padding: 0 20px 20px;
}
.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: var(--blue); color: white; }
.btn-course-primary:hover { background: var(--blue-mid); transform: scale(1.02); }
.btn-course-primary svg, .btn-course-gold svg, .btn-course-soon svg { width: 16px; height: 16px; }
.btn-course-gold {
  background: linear-gradient(135deg, #D4A017, #F5C842);
  color: #0D2257;
  box-shadow: 0 4px 16px rgba(212,160,23,0.3);
}
.btn-course-gold:hover { box-shadow: 0 8px 24px rgba(212,160,23,0.5); transform: scale(1.02); }
.btn-course-soon {
  background: rgba(124,58,237,0.1);
  color: #7C3AED;
  border: 1.5px solid rgba(124,58,237,0.25);
}
.btn-course-soon:hover { background: rgba(124,58,237,0.18); }

.course-card-glow {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  opacity: 0; transition: opacity 0.3s;
}
.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; gap: 10px; margin-bottom: 14px; }
.footer-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #1565C0, #D4A017);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 900; font-size: 11px;
  font-family: var(--font-display);
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 900; color: white;
}
.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: 9999;
  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-trigger.open .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 ease, opacity 0.3s ease, padding 0.3s ease;
}
.mob-nav-group.open .mob-nav-submenu {
  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) {
  .topbar { display: none; }
  .navbar { top: 0 !important; }
  .hero { padding-top: calc(68px + 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: 9800;
  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; }
}