/* ============================================================
   CRAZY PHONE — DESIGN SYSTEM
   Luminous Cyber-Pop Neon Theme (Light Glass + Neon Vert Signature)
   Palette: #39FF14 (Signature Neon), #00F0FF (Electric Cyan), #9D4EDD (Violet Pop), #0F172A (Deep Slate Text)
   Backgrounds: #F6FAF7 (Glacier Soft), Pure White Frosted Glass Cards
   Fonts: Anton (display), Outfit (body)
   ============================================================ */

/* ── 1. ROOT VARIABLES ── */
:root {
  --neon-green: #29cc10;
  --neon-green-bright: #39FF14;
  --neon-green-rgb: 41, 204, 16;
  --neon-cyan: #00D8F6;
  --neon-cyan-rgb: 0, 216, 246;
  --neon-violet: #8B5CF6;
  --neon-orange: #FF6B00;
  --neon-glow: 0 0 16px rgba(41, 204, 16, 0.35);
  --neon-glow-strong: 0 0 32px rgba(41, 204, 16, 0.55);
  --neon-glow-cyan: 0 0 20px rgba(0, 216, 246, 0.4);
  --bg-dark: #0a0a0a;
  --bg-surface: #121212;
  --bg-card: rgba(20, 22, 21, 0.82);
  --glass-bg: rgba(18, 18, 18, 0.85);
  --glass-border: rgba(57, 255, 20, 0.22);
  --glass-blur: 16px;
  --white: #f1f5f9;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --light-green: #22c55e;
  --font-display: 'Anton', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glass: 0 10px 30px -5px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(57, 255, 20, 0.15);
  --transition-fast: 0.2s ease;
  --transition-med: 0.4s ease;
  --transition-slow: 0.6s ease;
  --max-width: 1200px;
  --sidebar-width: 260px;
}

/* ── 2. RESET & BASE ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  background-image: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)), url('/assets/images/red-brick-wall.png');
  background-size: 560px;
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--neon-green); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: #1ea009; }

img { max-width: 100%; height: auto; display: block; }

/* ── 3. GLASS CARD (Liquid Glass) ── */
.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  transition: all var(--transition-med);
  overflow: hidden;
}

/* Liquid glass sheen — reflet au survol sans boucle CPU infinie */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 30%,
    rgba(57, 255, 20, 0.04) 35%,
    rgba(57, 255, 20, 0.08) 40%,
    rgba(57, 255, 20, 0.04) 45%,
    transparent 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translateX(-100%) rotate(25deg);
  transition: opacity 0.3s ease;
}

/* Subtle inner glass highlight — effet de volume */
.glass-card::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, transparent 100%);
  border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 50% 50%;
  pointer-events: none;
  z-index: 1;
}

.glass-card:hover {
  border-color: var(--neon-green);
  box-shadow: 0 14px 35px -5px rgba(41, 204, 16, 0.2), 0 0 0 1px var(--neon-green);
  transform: translateY(-4px);
}

.glass-card:hover::before {
  opacity: 1;
  animation: glassSheen 1.2s ease-in-out;
}

/* ── 4. NEON BUTTONS ── */
.btn-neon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #ffffff;
  color: #15803d;
  border: 2px solid var(--neon-green);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(41, 204, 16, 0.15);
}

/* Liquid glass sheen on buttons */
.btn-neon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(57,255,20,0.25), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-neon:hover::before {
  left: 100%;
}

.btn-neon:hover {
  background: var(--neon-green-bright);
  color: #052e16;
  box-shadow: var(--neon-glow-strong);
  transform: translateY(-2px);
}

.btn-neon-filled {
  background: linear-gradient(135deg, #32d716 0%, #20b30a 100%);
  color: #ffffff;
  border: 2px solid #29cc10;
  box-shadow: 0 6px 20px rgba(41, 204, 16, 0.35);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-neon-filled:hover {
  background: linear-gradient(135deg, #39FF14 0%, #29cc10 100%);
  color: #052e16;
  text-shadow: none;
  box-shadow: var(--neon-glow-strong);
  transform: translateY(-2px);
}

.btn-neon:active { transform: translateY(0) scale(0.98); }

.btn-neon-lg { padding: 16px 36px; font-size: 1.1rem; border-radius: var(--radius-md); }

/* ── 5. HERO SECTION ── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(57, 255, 20, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(0, 216, 246, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 90%, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  z-index: 0;
}

/* Liquid glass blob backdrop — morphing multicolore fluide et optimisé GPU */
.hero-blob {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  overflow: hidden;
}

.hero-blob::before {
  content: '';
  position: absolute;
  width: 50vmax;
  height: 50vmax;
  top: 45%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle at 30% 40%, rgba(57,255,20,0.14) 0%, rgba(0,216,246,0.08) 40%, transparent 70%);
  filter: blur(40px);
  will-change: transform;
}

.hero-blob::after {
  content: '';
  position: absolute;
  width: 40vmax;
  height: 40vmax;
  top: 55%;
  left: 45%;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle at 70% 60%, rgba(139,92,246,0.10) 0%, rgba(57,255,20,0.06) 50%, transparent 70%);
  filter: blur(45px);
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 4.8rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #0F172A;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #1ea009 0%, #00B4D8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  filter: drop-shadow(0 4px 12px rgba(41, 204, 16, 0.25));
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 35px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── 6. NAVIGATION BAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(41, 204, 16, 0.2);
  transition: all var(--transition-med);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(41, 204, 16, 0.2);
}

.navbar-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: #0F172A;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand .neon-dot {
  width: 12px;
  height: 12px;
  background: #39FF14;
  border-radius: 50%;
  box-shadow: 0 0 14px #39FF14, 0 0 2px #29cc10;
  animation: pulseGlow 2s ease-in-out infinite;
}

.navbar-links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}

.navbar-links a {
  padding: 8px 16px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: #15803d;
  background: rgba(41, 204, 16, 0.1);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #39FF14, #00D8F6);
  border-radius: 2px;
  transition: var(--transition-med);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 60%;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0F172A;
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Hamburger animation */
.navbar-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── 7. FOOTER ── */
.glass-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(240, 248, 243, 0.95) 100%);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-top: 1px solid rgba(41, 204, 16, 0.25);
  padding: 70px 24px 35px;
  margin-top: 90px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #166534;
}

.footer-col p, .footer-col li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  list-style: none;
}

.footer-col li::before {
  content: '›';
  color: #29cc10;
  font-weight: 700;
  margin-right: 8px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 45px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(41, 204, 16, 0.15);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── 8. FORM STYLES ── */
.form-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(41, 204, 16, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08);
  padding: 36px;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  color: var(--text-primary);
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 0 3px rgba(41, 204, 16, 0.2);
}

.form-group input::placeholder {
  color: #94A3B8;
}

/* ── 9. PRICING STEPPER ── */
.stepper {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  counter-reset: step;
}

.stepper-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition-med);
}

.stepper-step:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.stepper-step:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.stepper-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #E2E8F0;
  z-index: 2;
}

.stepper-step.active {
  color: #15803d;
  border-color: var(--neon-green);
  background: rgba(41, 204, 16, 0.1);
  font-weight: 700;
}

.stepper-step.active::after {
  border-left-color: var(--neon-green);
}

.stepper-step.completed {
  color: var(--light-green);
  border-color: var(--light-green);
}

/* ── 10. KEYFRAME ANIMATIONS ── */
@keyframes glow {
  0%, 100% { text-shadow: 0 0 8px rgba(var(--neon-green-rgb), 0.4); }
  50% { text-shadow: 0 0 25px rgba(var(--neon-green-rgb), 0.8), 0 0 50px rgba(var(--neon-green-rgb), 0.3); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(var(--neon-green-rgb), 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 25px rgba(var(--neon-green-rgb), 0.8); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes particle {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes countUp {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes neonPulse {
  0%, 100% { border-color: var(--neon-green); box-shadow: var(--neon-glow); }
  50% { border-color: var(--light-green); box-shadow: 0 0 30px var(--light-green); }
}

/* ── LIQUID GLASS ANIMATIONS ── */

/* Liquid morphing blob — ondulation organique */
@keyframes liquidMorph {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 40% 60% 70% 30% / 40% 60% 30% 70%; }
  50% { border-radius: 30% 70% 50% 50% / 60% 40% 60% 40%; }
  75% { border-radius: 70% 30% 40% 60% / 30% 70% 40% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Sheen / reflection qui glisse sur le glass */
@keyframes glassSheen {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(200%) rotate(25deg); }
}

/* Liquide qui ondule (vagues) */
@keyframes liquidWave {
  0% { transform: translateX(-50%) translateY(0) scaleY(1); }
  25% { transform: translateX(-40%) translateY(-5px) scaleY(1.05); }
  50% { transform: translateX(-30%) translateY(0) scaleY(0.95); }
  75% { transform: translateX(-40%) translateY(3px) scaleY(1.02); }
  100% { transform: translateX(-50%) translateY(0) scaleY(1); }
}

/* Bubble pop subtil */
@keyframes bubbleRise {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  100% { transform: translateY(-30px) scale(1); opacity: 0; }
}

/* Liquid glass shimmer horizontal */
@keyframes liquidShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-glow { animation: glow 3s ease-in-out infinite; }
.animate-pulse { animation: pulseGlow 2s ease-in-out infinite; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-liquid { animation: liquidMorph 8s ease-in-out infinite; }
.animate-sheen { animation: glassSheen 4s ease-in-out infinite; }
.animate-wave { animation: liquidWave 6s ease-in-out infinite; }
.animate-shimmer { background-size: 200% 100%; animation: liquidShimmer 3s linear infinite; }

/* ── 11. ADMIN SIDEBAR ── */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: var(--sidebar-width);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border-right: 1px solid var(--glass-border);
  padding: 24px 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  overflow-y: auto;
}

.admin-sidebar-brand {
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.admin-nav { list-style: none; padding: 0 12px; }

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
  font-size: 0.9rem;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  color: var(--neon-green);
  background: rgba(var(--neon-green-rgb), 0.1);
}

.admin-nav-item.logout {
  margin-top: 20px;
  color: #ff4d4d;
}

.admin-main {
  margin-left: var(--sidebar-width);
  flex: 1;
  padding: 24px 32px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.admin-header h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── 12. KPI CARDS (Admin Dashboard) ── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.kpi-card {
  padding: 24px;
  text-align: center;
}

.kpi-card .kpi-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--neon-green);
  text-shadow: var(--neon-glow);
}

.kpi-card .kpi-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── 13. BADGES & STATUS ── */
.badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-new { background: rgba(var(--neon-green-rgb), 0.15); color: var(--neon-green); }
.badge-contact { background: rgba(0, 150, 255, 0.15); color: #0096ff; }
.badge-qualified { background: rgba(156, 241, 188, 0.15); color: var(--light-green); }
.badge-lost { background: rgba(255, 77, 77, 0.15); color: #ff4d4d; }

/* ── 14. RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar { width: 200px; }
  .admin-main { margin-left: 200px; }
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(41, 204, 16, 0.2);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1);
    gap: 10px;
  }

  .navbar-links.open { display: flex; }
  .navbar-toggle { display: flex; }

  .hero { min-height: 70vh; padding: 100px 20px 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .stepper { flex-direction: column; }

  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 12px 0;
  }

  .admin-main { margin-left: 0; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-neon-lg { width: 100%; justify-content: center; }
}

/* ── 15. LOADING SPINNER ── */
.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--neon-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.spinner-lg { width: 64px; height: 64px; border-width: 4px; }

/* ── 16. MISCELLANEOUS ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

.cta-fixed {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.glass-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41, 204, 16, 0.4), transparent);
  margin: 40px 0;
}

.text-neon { color: #16a34a; font-weight: 700; text-shadow: 0 0 12px rgba(57, 255, 20, 0.3); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.gap-16 { gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ============================================================
   LUMINOUS CYBER-POP ENHANCEMENTS (Tarifs, Shop, Cards)
   ============================================================ */

/* Stepper tarifs light modern */
.save-stepper { margin-bottom: 50px; }
.step-circle {
  background: #ffffff !important;
  border: 2px solid #E2E8F0 !important;
  color: #64748B !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05) !important;
}
.step-node.active .step-circle {
  border-color: #29cc10 !important;
  color: #15803d !important;
  background: #f0fdf4 !important;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.35) !important;
}
.step-node.active .step-label { color: #0F172A !important; font-weight: 800 !important; }
.step-node.done .step-circle {
  background: linear-gradient(135deg, #32d716 0%, #20b30a 100%) !important;
  border-color: #29cc10 !important;
  color: #ffffff !important;
}
.step-line { background: #E2E8F0 !important; }
.step-line.active { background: linear-gradient(90deg, #29cc10, #00D8F6) !important; }

/* Search box light translucent */
.save-search-box {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1.5px solid rgba(41, 204, 16, 0.3) !important;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08) !important;
}
.save-search-box input {
  color: #0F172A !important;
}
.save-search-box input::placeholder { color: #94A3B8 !important; }
.save-search-box:focus-within {
  border-color: #29cc10 !important;
  box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.2), 0 10px 30px rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
}
.search-dropdown {
  background: #ffffff !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12) !important;
}
.search-item {
  border-bottom: 1px solid #F1F5F9 !important;
  color: #334155 !important;
}
.search-item:hover { background: #F8FAFC !important; color: #0F172A !important; }
.search-item strong { color: #0F172A !important; }

/* Tarifs & Model Grid Cards */
.tarifs-hero-v3 .save-grid .glass-card {
  background: #ffffff !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04) !important;
}
.tarifs-hero-v3 .save-grid .glass-card:hover {
  border-color: #29cc10 !important;
  box-shadow: 0 12px 30px -5px rgba(41, 204, 16, 0.2), 0 0 0 1px #29cc10 !important;
}
.tarifs-hero-v3 .save-grid .glass-card h3 {
  color: #0F172A !important;
}
.brand-logo {
  filter: grayscale(1) opacity(0.7) !important;
}
.tarifs-hero-v3 .save-grid .glass-card:hover .brand-logo {
  filter: none !important;
  opacity: 1 !important;
}
.brand-icon-fallback { color: #64748B !important; }

/* Shop page light tweaks */
.shop-sidebar {
  background: #ffffff !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04) !important;
}
.cat-link {
  color: #475569 !important;
  border-radius: 8px;
  padding: 8px 12px;
  transition: 0.2s ease;
}
.cat-link:hover, .cat-link.active {
  color: #15803d !important;
  background: rgba(41, 204, 16, 0.1) !important;
  font-weight: 700;
}
.product-card {
  background: #ffffff !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04) !important;
}
.product-card:hover {
  border-color: #29cc10 !important;
  box-shadow: 0 12px 30px -5px rgba(41, 204, 16, 0.2) !important;
}

/* =========================================================================
   DARK NEON (cohérence front + back office) — appended override block
   Force un thème noir profond + vert néon unique sur toutes les pages.
   ========================================================================= */
.navbar { background: rgba(10,10,10,0.78) !important; border-bottom-color: rgba(57,255,20,0.25) !important; }
.navbar.scrolled { background: rgba(10,10,10,0.95) !important; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.7) !important; }
.navbar-brand { color: #f1f5f9 !important; }
.navbar-links a { color: #cbd5e1 !important; }
.navbar-links a:hover, .navbar-links a.active { color: #39FF14 !important; background: rgba(57,255,20,0.10) !important; }
.navbar-links a::after { background: linear-gradient(90deg, #39FF14, #00D8F6) !important; }
.navbar-toggle span { background: #39FF14 !important; }
@media (max-width: 768px) {
  .navbar-links { background: rgba(10,10,10,0.95) !important; border-bottom-color: rgba(57,255,20,0.2) !important; box-shadow: 0 15px 30px rgba(0,0,0,0.6) !important; }
}

.glass-footer { background: linear-gradient(180deg, rgba(13,13,13,0.92), rgba(8,8,8,0.98)) !important; border-top-color: rgba(57,255,20,0.25) !important; }
.footer-col h4 { color: #f1f5f9 !important; }
.footer-col p, .footer-col li { color: #cbd5e1 !important; }
.footer-bottom { color: #94a3b8 !important; border-top-color: rgba(57,255,20,0.15) !important; }

.form-glass { background: rgba(18,18,18,0.9) !important; border-color: rgba(57,255,20,0.22) !important; }
.form-group input, .form-group select, .form-group textarea { background: #141414 !important; border-color: #2a2a2a !important; color: #f1f5f9 !important; }

.btn-neon { background: #121212 !important; color: #39FF14 !important; border-color: #39FF14 !important; }
.btn-neon:hover { background: #39FF14 !important; color: #052e16 !important; }

.hero-title { color: #f1f5f9 !important; }
.hero-title .highlight { background: linear-gradient(135deg, #39FF14 0%, #00D8F6 100%) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; color: transparent !important; }

.stepper-step { background: #141414 !important; border-color: #2a2a2a !important; color: #cbd5e1 !important; }
.stepper-step.active { color: #39FF14 !important; border-color: #39FF14 !important; background: rgba(57,255,20,0.10) !important; }
.step-circle { background: #141414 !important; border-color: #2f2f2f !important; color: #94a3b8 !important; }
.step-node.active .step-circle { border-color: #29cc10 !important; color: #39FF14 !important; background: rgba(57,255,20,0.12) !important; }
.step-node.active .step-label { color: #f1f5f9 !important; }
.step-line { background: #2f2f2f !important; }

.save-search-box { background: rgba(18,18,18,0.92) !important; border-color: rgba(57,255,20,0.3) !important; }
.save-search-box input { color: #f1f5f9 !important; }
.search-dropdown { background: #121212 !important; border-color: #2a2a2a !important; box-shadow: 0 20px 40px rgba(0,0,0,0.7) !important; }
.search-item { border-bottom-color: #222 !important; color: #cbd5e1 !important; }
.search-item:hover { background: #1a1a1a !important; color: #f1f5f9 !important; }
.search-item strong { color: #39FF14 !important; }
.save-search-box:focus-within {
  background: rgba(18,18,18,0.95) !important;
  border-color: #39FF14 !important;
  box-shadow: 0 0 22px rgba(57,255,20,0.18) !important;
}

.tarifs-hero-v3 .save-grid .glass-card,
.shop-sidebar, .product-card { background: #161616 !important; border-color: #2a2a2a !important; }
.tarifs-hero-v3 .save-grid .glass-card h3 { color: #f1f5f9 !important; }
.brand-icon-fallback { color: #94a3b8 !important; }
.cat-link { color: #cbd5e1 !important; }
.cat-link:hover, .cat-link.active { color: #39FF14 !important; background: rgba(57,255,20,0.10) !important; }

.text-neon { color: #39FF14 !important; text-shadow: 0 0 12px rgba(57,255,20,0.35) !important; }
.section-title { color: #f1f5f9 !important; }
.glass-card::after { background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%) !important; }
.product-card h3, .product-card .product-title {
  color: #f1f5f9 !important;
}
.product-card .product-price {
  color: #39FF14 !important;
  font-weight: 800 !important;
}

/* =========================================================================
   CORRECTIF LISIBILITÉ — cadres blancs (thème clair inline) + texte sombre
   Les cartes .glass-card forcées en blanc via style inline réutilisaient
   var(--text-muted)/--text-secondary du thème sombre (gris/blanc clair)
   → illisibles sur fond blanc. On redéfinit ces variables dans la portée
   de chaque cadre blanc pour rendre le texte sombre et lisible.
   ========================================================================= */
.glass-card[style*="#fff"],
.glass-card[style*="#ffffff"],
.glass-card[style*="255, 255, 255"],
.product-card,
.shop-sidebar,
.save-search-box,
.search-dropdown,
.step-circle {
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --white: #0F172A;
}

/* Fond sombre néon pour les cartes boutiques/tarifs (cohérence du thème sombre) */
.product-card[style*="#ffffff"],
.product-card[style*="#fff"],
.shop-sidebar[style*="#ffffff"],
.shop-sidebar[style*="#fff"],
.save-search-box[style*="#ffffff"],
.save-search-box[style*="#fff"],
.search-dropdown[style*="#ffffff"],
.search-dropdown[style*="#fff"] {
  background: #161616 !important;
  border-color: #2a2a2a !important;
  color: #f1f5f9 !important;
}
.product-card[style*="#ffffff"] h3,
.product-card[style*="#ffffff"] .product-title,
.product-card[style*="#fff"] h3,
.product-card[style*="#fff"] .product-title {
  color: #f1f5f9 !important;
}
.product-card[style*="#ffffff"] .product-price,
.product-card[style*="#fff"] .product-price {
  color: #39FF14 !important;
}