/* Site Theme: alarme-securite-maison.be — "Secure tech dark" */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --theme-bg: #0A0A0A;
  --theme-bg-alt: #111111;
  --theme-bg-elevated: #1A1A1A;
  --theme-text: #D1D5DB;
  --theme-text-light: #9CA3AF;
  --theme-heading: #FFFFFF;
  --theme-accent: #7C3AED;
  --theme-accent-hover: #6D28D9;
  --theme-accent-light: rgba(124, 58, 237, 0.15);
  --theme-accent-glow: rgba(124, 58, 237, 0.4);
  --theme-card-bg: #141414;
  --theme-card-border: #1F2937;
  --theme-font-heading: 'Rajdhani', -apple-system, sans-serif;
  --theme-font-body: 'Inter', -apple-system, sans-serif;
  --theme-radius: 0.5rem;
  --theme-radius-lg: 0.75rem;
  --theme-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  --theme-shadow-hover: 0 8px 32px rgba(59, 130, 246, 0.15);
  --theme-transition: 0.25s ease;
}

body {
  font-family: var(--theme-font-body);
  background-color: var(--theme-bg);
  color: var(--theme-text);
  font-weight: 400;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--theme-font-heading);
  color: var(--theme-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Hero — dark tech with grid pattern */
.hero-section {
  background: var(--theme-bg);
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem;
  color: #fff;
}

/* Tech grid background */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(59, 130, 246, 0.08) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Neon glow pulse on shield */
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 10px var(--theme-accent-light), 0 0 20px var(--theme-accent-light); }
  50% { box-shadow: 0 0 20px var(--theme-accent-glow), 0 0 40px var(--theme-accent-light), 0 0 60px rgba(59, 130, 246, 0.05); }
}

.hero-section h1 {
  color: #FFFFFF;
  font-size: 3rem;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* Blue glow line under hero */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--theme-accent), transparent);
  box-shadow: 0 0 12px var(--theme-accent-glow);
}

/* Cards — dark tech */
.card,
.bg-white.rounded-lg,
[class*="shadow"] {
  background: var(--theme-card-bg) !important;
  border: 1px solid var(--theme-card-border);
  border-radius: var(--theme-radius-lg);
  box-shadow: var(--theme-shadow);
  transition: all var(--theme-transition);
  color: var(--theme-text);
}

.card:hover,
.bg-white.rounded-lg:hover {
  box-shadow: var(--theme-shadow-hover);
  border-color: var(--theme-accent);
  transform: translateY(-2px);
}

/* Neon border glow on card hover */
.card:hover {
  box-shadow:
    var(--theme-shadow-hover),
    inset 0 0 20px rgba(59, 130, 246, 0.03);
}

/* Sections */
section:nth-child(even) {
  background-color: var(--theme-bg-alt);
}

section:nth-child(odd) {
  background-color: var(--theme-bg);
}

/* Buttons — electric blue */
.btn-primary,
button[type="submit"],
.cta-button {
  background-color: var(--theme-accent) !important;
  color: #fff !important;
  border: none;
  border-radius: var(--theme-radius);
  font-family: var(--theme-font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  transition: all var(--theme-transition);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover,
button[type="submit"]:hover,
.cta-button:hover {
  background-color: var(--theme-accent-hover) !important;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
}

/* Shield icon glow */
.icon-shield, .fa-shield, [class*="shield"] {
  animation: neonPulse 3s ease-in-out infinite;
  border-radius: 50%;
}

/* Stat numbers */
.stat-number,
.text-3xl.font-bold,
.text-4xl.font-bold {
  color: var(--theme-accent);
  font-family: var(--theme-font-heading);
  text-shadow: 0 0 10px var(--theme-accent-light);
}

/* Links */
a:not(.btn-primary):not([class*="bg-"]) {
  color: var(--theme-accent);
  transition: all var(--theme-transition);
}

a:not(.btn-primary):not([class*="bg-"]):hover {
  color: #93C5FD;
  text-shadow: 0 0 6px var(--theme-accent-light);
}

/* Form inputs */
input, select, textarea {
  background: var(--theme-bg-elevated);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--theme-radius);
  color: var(--theme-text);
  transition: all var(--theme-transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 2px var(--theme-accent-light), 0 0 12px rgba(59, 130, 246, 0.1);
  outline: none;
}

input::placeholder, textarea::placeholder {
  color: var(--theme-text-light);
}

/* Footer */
footer {
  background-color: #050505 !important;
  border-top: 1px solid var(--theme-card-border);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-section { padding: 3.5rem 1rem; }
  .hero-section h1 { font-size: 2rem; text-shadow: none; }
  .card:hover { transform: none; }
}

@media (min-width: 1024px) {
  .hero-section { padding: 6rem 2rem; }
  .hero-section h1 { font-size: 3.5rem; }
}


/* === Nav & Template Color Harmonization === */
nav a[href="#devis-form"] {
  background-color: var(--theme-accent) !important;
  color: #fff !important;
  border-color: var(--theme-accent) !important;
}
nav a[href="#devis-form"]:hover {
  background-color: var(--theme-accent-hover) !important;
  border-color: var(--theme-accent-hover) !important;
}

