/* ============================================================
   LOGICAMP — LIGHT THEME OVERRIDE v1.0 (2026-09-08)
   Eclaircit le theme neon sombre. Charge APRES neon.css.
   Garde les accents cyan/violet, assombris pour fond clair.
   ============================================================ */
:root {
  --neon-cyn: #0090b3;
  --neon-purp: #7c3aed;
  --neon-pink: #d61a6e;
  --bg-dark: #f2f5fa;
  --lc-bg: #f2f5fa;
  --lc-surface: #ffffff;
  --lc-text: #1e293b;
  --lc-muted: #64748b;
  --lc-border: #e2e8f0;
}

/* --- Base --- */
html[data-bs-theme="light"] body,
body {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
  background-image: radial-gradient(circle at 50% 0%, #e0f2fe 0%, transparent 55%), linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
  color: var(--lc-text) !important;
}
body::before, body::after { display: none !important; }

h1, h2, h3, h4, h5, h6 { color: #0f172a !important; }
p { color: #475569 !important; }
a { color: #0284c7 !important; }
a:hover { color: #7c3aed !important; text-shadow: none !important; }

.neon-text-cyan, .neon-text-cyan span {
  color: #0891b2 !important;
  text-shadow: none !important;
}
.neon-text-purp {
  color: #7c3aed !important;
  text-shadow: none !important;
}

/* --- Navbar claire --- */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 2px solid #e0f2fe !important;
  box-shadow: 0 2px 12px rgba(2, 132, 199, 0.10) !important;
}
.navbar .navbar-brand { color: #0891b2 !important; text-shadow: none !important; }
.nav-link { color: #334155 !important; }
.nav-link:hover { color: #0284c7 !important; text-shadow: none !important; }

/* --- Dropdowns clairs --- */
.dropdown-menu {
  background: #ffffff !important;
  border: 1px solid var(--lc-border) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
}
.dropdown-item { color: #475569 !important; }
.dropdown-item:hover {
  background: #f1f5f9 !important;
  color: #0284c7 !important;
  padding-left: 1.5rem !important;
}

/* --- Cartes / sections (remplace bg-black / bg-dark) --- */
.card, .neon-card, .registration-form,
.info-box, .video-card, .gallery-card,
.stat-card, .panel {
  background: #ffffff !important;
  border: 1px solid var(--lc-border) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07) !important;
  backdrop-filter: none !important;
  color: var(--lc-text) !important;
}
.card:hover, .panel:hover {
  transform: translateY(-4px);
  border-color: #7dd3fc !important;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.15) !important;
  background: #ffffff !important;
}
.registration-form { border-top: 4px solid #06b6d4 !important; }
.form-title { color: #7c3aed !important; text-shadow: none !important; }

/* --- Overrides utilitaires Bootstrap sombres --- */
.bg-black, .bg-dark {
  background-color: #ffffff !important;
  color: var(--lc-text) !important;
}
.bg-black.bg-opacity-50, .bg-dark.bg-opacity-25,
.bg-opacity-25, .bg-opacity-50 {
  background-color: #f8fafc !important;
}
.text-light, .text-white { color: #1e293b !important; }
.text-muted { color: #64748b !important; }
.text-info { color: #0284c7 !important; }
.border-secondary { border-color: #e2e8f0 !important; }
.opacity-75 { opacity: 1 !important; }

/* --- Formulaires lisibles sur fond clair --- */
.form-control {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
.form-control::placeholder { color: #94a3b8 !important; }
.form-control:focus {
  border-color: #06b6d4 !important;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15) !important;
  background: #ffffff !important;
}
.input-group-text { background: #e2e8f0 !important; color: #334155 !important; }
code.text-info {
  background: #f1f5f9 !important;
  color: #0284c7 !important;
}

/* --- Boutons : garder le punch, texte lisible --- */
.btn-register {
  background: linear-gradient(45deg, #06b6d4, #7c3aed) !important;
  color: #fff !important;
  border-radius: 12px;
}
.btn-register:hover { box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4) !important; transform: translateY(-1px); }
.btn-outline-info { color: #0284c7 !important; border-color: #0284c7 !important; }
.btn-outline-info:hover { background: #0284c7 !important; color: #fff !important; }

/* --- Bannieres / stats --- */
.stats-banner {
  background: #ffffff !important;
  border-top: 1px solid #e0f2fe !important;
  border-bottom: 1px solid #e0f2fe !important;
}
.stats-banner .fw-bold.h4 { color: #0284c7 !important; }
.urgent-banner {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #b91c1c !important;
  box-shadow: none !important;
}
.urgent-banner a { color: #b91c1c !important; }

/* --- Footer clair --- */
footer, footer.main-footer {
  background: #0f172a !important; /* footer sombre conservé pour contraste, mais adouci */
  border-top: 3px solid #06b6d4 !important;
  color: #cbd5e1 !important;
}
footer h5 { color: #fff !important; }
footer p, footer li, footer a { color: #cbd5e1 !important; }

/* --- Images : enlever le voile sombre --- */
.card-img-top { opacity: 1 !important; }

/* --- Avatar selection --- */
.avatar-choice { border: 1px solid #e2e8f0 !important; background: #f8fafc !important; color: #334155 !important; }
.avatar-choice input[type="radio"]:checked + img,
.avatar-choice:has(input:checked) { border-color: #06b6d4 !important; box-shadow: 0 0 10px rgba(6,182,212,.35) !important; }

/* --- Neutralise neonhub-enhancements.css (fond #03030a) --- */
:root {
  --clr-bg-deep: #f2f5fa !important;
  --clr-bg-mid: #ffffff !important;
  --clr-bg-surface: #ffffff !important;
  --clr-text-primary: #1e293b !important;
  --clr-text-muted: #64748b !important;
  --clr-text-dim: #94a3b8 !important;
  --glass-bg: #ffffff !important;
  --glass-bg-hover: #f8fafc !important;
  --glass-border: #e2e8f0 !important;
  --grad-bg: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
  --grad-card: none !important;
  --glass-shadow: 0 4px 16px rgba(15,23,42,.07) !important;
  --glass-shadow-glow: 0 12px 28px rgba(2,132,199,.15) !important;
}
