/* ============================================================
   SIMPLICITY — FORZA HORIZON 6  |  v10
   Style: violet cinématique / dark racing
   Réf: Site_Finale.png
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700;900&family=Orbitron:wght@400;600;700;900&display=swap');

/* ── Variables ───────────────────────────────────────────── */
:root {
  --sp-purple:   #a855f7;
  --sp-violet:   #7c3aed;
  --sp-magenta:  #d946ef;
  --sp-light:    #c084fc;
  --sp-dark:     #09000f;
  --sp-dark2:    #0e0018;
  --sp-text:     rgba(225, 195, 255, 0.90);
  --sp-muted:    rgba(196, 132, 252, 0.60);
  --sp-border:   rgba(168, 85, 247, 0.18);
}

/* ── Reset base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  background-color: var(--sp-dark) !important;
  background-image:
    linear-gradient(rgba(168,85,247,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.035) 1px, transparent 1px) !important;
  background-size: 52px 52px !important;
  font-family: 'Rajdhani', sans-serif !important;
  color: var(--sp-text) !important;
  letter-spacing: 0.2px;
}

/* Glows ambiants */
body::before {
  content: '';
  position: fixed;
  top: -15%; left: -8%;
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -15%; right: -8%;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(217,70,239,0.08) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}

/* ── Shimmer animation (sections hors hero) ─────────────── */
@keyframes sp-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── Titres (sections hors hero uniquement) ─────────────── */
/* On cible les titres dans les sections qui ne sont PAS le hero */
section:not(.sp-hero) h1,
section:not(.sp-hero) h2,
div:not(.sp-hero__inner) > h2,
div:not(.sp-hero__inner) > h3,
.component:not(.sp-hero) h2,
.component:not(.sp-hero) h3 {
  font-family: 'Orbitron', 'Rajdhani', sans-serif !important;
  background: linear-gradient(90deg, #a855f7, #c084fc, #d946ef, #c084fc, #a855f7) !important;
  background-size: 250% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow: none !important;
  animation: sp-shimmer 5s linear infinite !important;
  letter-spacing: 1.5px;
}

h4, h5, h6 {
  color: #c084fc !important;
  font-family: 'Rajdhani', sans-serif !important;
}

/* textes courants */
p, li, small, label, td, th {
  color: var(--sp-text) !important;
}
.text-muted { color: var(--sp-muted) !important; }

a, a:visited { color: #c084fc !important; transition: color 0.2s; }
a:hover { color: #d946ef !important; text-decoration: none !important; }

/* ── Announcement bar ──────────────────────────────────── */
.announcement-bar, [class*="announcement"] {
  background: linear-gradient(90deg,
    #3b0764, #6d28d9, #7c3aed, #6d28d9, #3b0764) !important;
  background-size: 300% !important;
  animation: sp-shimmer 7s linear infinite !important;
  color: #fff !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px !important;
  border-bottom: 1px solid rgba(168,85,247,0.3) !important;
}

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  background: rgba(9, 0, 15, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(168,85,247,0.18) !important;
  box-shadow: 0 2px 24px rgba(80,0,120,0.18) !important;
}
.navbar-brand {
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 900 !important;
  font-size: 1.45rem !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  letter-spacing: 2px !important;
  text-shadow: 0 0 16px rgba(168,85,247,0.55) !important;
  background: none !important;
  animation: none !important;
}
.navbar-brand img {
  filter: drop-shadow(0 0 8px rgba(168,85,247,0.7)) !important;
}
.nav-link, .navbar .nav-link {
  color: rgba(196,132,252,0.82) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  transition: color 0.2s !important;
}
.nav-link:hover, .navbar .nav-link:hover {
  color: #d946ef !important;
}

/* ── Boutons globaux ────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #9333ea) !important;
  border: 1px solid rgba(196,132,252,0.28) !important;
  color: #fff !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-radius: 8px !important;
  transition: all 0.22s !important;
  box-shadow: 0 0 14px rgba(124,58,237,0.28) !important;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #6d28d9, #7c3aed) !important;
  box-shadow: 0 0 26px rgba(168,85,247,0.48), 0 4px 14px rgba(0,0,0,0.3) !important;
  transform: translateY(-1px) !important;
}
.btn-outline-primary {
  background: transparent !important;
  border: 1px solid rgba(168,85,247,0.42) !important;
  color: #c084fc !important;
  border-radius: 8px !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  transition: all 0.22s !important;
}
.btn-outline-primary:hover {
  background: rgba(124,58,237,0.12) !important;
  border-color: #a855f7 !important;
  box-shadow: 0 0 16px rgba(168,85,247,0.28) !important;
}
.btn-outline-secondary {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: #e2d5ff !important;
  border-radius: 8px !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 700 !important;
  transition: all 0.22s !important;
}
.btn-outline-secondary:hover {
  background: rgba(88,101,242,0.14) !important;
  border-color: rgba(88,101,242,0.4) !important;
  color: #fff !important;
}

/* ── Cards ──────────────────────────────────────────────── */
.card, [class*="product-card"] {
  background: rgba(14, 0, 24, 0.88) !important;
  border: 1px solid var(--sp-border) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(8px) !important;
  transition: all 0.26s !important;
  position: relative;
  overflow: hidden;
}
/* Coins déco */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 13px; height: 13px;
  border-top: 2px solid #a855f7;
  border-left: 2px solid #a855f7;
  pointer-events: none; z-index: 2;
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 13px; height: 13px;
  border-bottom: 2px solid #d946ef;
  border-right: 2px solid #d946ef;
  pointer-events: none; z-index: 2;
}
.card:hover, [class*="product-card"]:hover {
  border-color: rgba(168,85,247,0.52) !important;
  box-shadow: 0 0 24px rgba(168,85,247,0.16), 0 6px 28px rgba(0,0,0,0.42) !important;
  transform: translateY(-4px) !important;
}

/* ── Prix ───────────────────────────────────────────────── */
.price, [class*="price"], [class*="amount"] {
  background: linear-gradient(90deg, #d946ef, #a855f7, #c084fc) !important;
  background-size: 200% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  animation: sp-shimmer 4s linear infinite !important;
  font-family: 'Orbitron', sans-serif !important;
  font-weight: 700 !important;
}

/* ── Features ───────────────────────────────────────────── */
[class*="feature"] i, [class*="feature"] .icon {
  color: #a855f7 !important;
  filter: drop-shadow(0 0 6px rgba(168,85,247,0.5));
}

/* ── FAQ ────────────────────────────────────────────────── */
.accordion-button {
  background: rgba(14,0,24,0.92) !important;
  color: #c084fc !important;
  border: 1px solid rgba(168,85,247,0.18) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 600 !important;
}
.accordion-button:not(.collapsed) {
  background: rgba(124,58,237,0.16) !important;
  color: #d946ef !important;
  box-shadow: 0 0 12px rgba(168,85,247,0.15) !important;
}
.accordion-body {
  background: rgba(9,0,15,0.6) !important;
  color: var(--sp-text) !important;
  border: 1px solid rgba(168,85,247,0.1) !important;
}

/* ── Reviews ────────────────────────────────────────────── */
[class*="feedback"], [class*="review"] {
  background: rgba(14,0,24,0.9) !important;
  border: 1px solid var(--sp-border) !important;
  border-radius: 10px !important;
}
.fa-star, [class*="star"] { color: #d946ef !important; }

/* ── Inputs ─────────────────────────────────────────────── */
input, textarea, select, .form-control {
  background: rgba(14,0,24,0.82) !important;
  border: 1px solid rgba(168,85,247,0.26) !important;
  color: #e2c4ff !important;
  border-radius: 8px !important;
}
input:focus, textarea:focus, select:focus, .form-control:focus {
  border-color: #a855f7 !important;
  box-shadow: 0 0 0 3px rgba(168,85,247,0.16) !important;
  outline: none !important;
}
input::placeholder, textarea::placeholder {
  color: rgba(168,85,247,0.42) !important;
}

/* ── Dropdown ───────────────────────────────────────────── */
.dropdown-menu {
  background: rgba(9,0,15,0.97) !important;
  border: 1px solid rgba(168,85,247,0.26) !important;
  box-shadow: 0 10px 30px rgba(80,0,120,0.22) !important;
  border-radius: 10px !important;
}
.dropdown-item { color: #c084fc !important; }
.dropdown-item:hover {
  background: rgba(124,58,237,0.14) !important;
  color: #d946ef !important;
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background: rgba(9,0,15,0.98) !important;
  border-top: 1px solid rgba(168,85,247,0.18) !important;
  color: var(--sp-muted) !important;
}
footer a { color: rgba(196,132,252,0.65) !important; }
footer a:hover { color: #d946ef !important; }

/* ── Badges ─────────────────────────────────────────────── */
.badge {
  background: rgba(124,58,237,0.2) !important;
  border: 1px solid rgba(168,85,247,0.35) !important;
  color: #c084fc !important;
  font-family: 'Rajdhani', sans-serif !important;
}

/* ── Scroll-to-top ──────────────────────────────────────── */
[class*="scroll-to-top"] button, #scroll-to-top {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  border: 1px solid #c084fc !important;
  box-shadow: 0 0 16px rgba(168,85,247,0.45) !important;
  border-radius: 8px !important;
}

/* ── Séparateurs ────────────────────────────────────────── */
hr, [class*="divider"] {
  border-color: rgba(168,85,247,0.16) !important;
}

/* ── Sections alternées ─────────────────────────────────── */
.bg-secondary {
  background: rgba(14,0,24,0.6) !important;
}

/* ── Icônes FA ──────────────────────────────────────────── */
.fa, .fas, .fab, .far { color: #a855f7; }

/* ── Spinner ────────────────────────────────────────────── */
.spinner-border { color: #a855f7 !important; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar-brand { font-size: 1.2rem !important; }
}
