/* ==========================================================================
   JEPH MONEY SCHOOL — style.css
   Complète Tailwind (utilitaires) avec des effets premium sur mesure :
   ombres douces, halos lumineux, verre dépoli, dégradés, bouton "shine".
   ========================================================================== */

html { scroll-behavior: smooth; }
body { font-family: "Poppins", sans-serif; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Ombres premium ---------- */
.shadow-premium {
  box-shadow: 0 25px 50px -18px rgba(17, 17, 17, 0.18);
}
.hover\:shadow-glow-gold:hover {
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.4), 0 20px 45px -12px rgba(212, 175, 55, 0.55);
}
.hover\:shadow-glow-emerald:hover {
  box-shadow: 0 0 0 1px rgba(15, 123, 95, 0.35), 0 20px 45px -12px rgba(15, 123, 95, 0.4);
}

/* ---------- Dégradé signature (fond hero) ---------- */
.hero-gradient {
  background:
    radial-gradient(1100px 550px at 85% -10%, rgba(212,175,55,0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(15,123,95,0.14), transparent 60%),
    #FFFFFF;
}

/* ---------- Grille de marché en filigrane (élément signature) ---------- */
.market-grid {
  background-image:
    linear-gradient(rgba(17,17,17,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 70% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, black 0%, transparent 70%);
}

/* ---------- Cartes flottantes du hero ---------- */
.floating-card {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* ---------- Bouton à effet lumineux "shine" ---------- */
.btn-shine::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.btn-shine:hover::before { left: 130%; }

/* ---------- Ligne de courbe boursière animée (SVG) ---------- */
.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 2.6s ease-out forwards;
  animation-delay: 0.4s;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* ---------- Ticker de bougies (décor du hero) ---------- */
.candle {
  animation: candlePulse 3s ease-in-out infinite;
}
@keyframes candlePulse {
  0%, 100% { opacity: 0.55; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.08); }
}

/* ---------- Carte formation : légère élévation ---------- */
.formation-card { transition: transform 0.45s cubic-bezier(.22,.68,0,1), box-shadow 0.45s ease; }
.formation-card:hover { transform: translateY(-10px); }

/* ---------- Bouton WhatsApp flottant ---------- */
.whatsapp-float {
  animation: floatPulse 2.6s ease-in-out infinite;
}
@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- Scrollbar discrète ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #F7F5EF; }
::-webkit-scrollbar-thumb { background: #D4AF37; border-radius: 10px; }

::selection { background: #D4AF37; color: #111111; }
