/* ============================================================
   BSF Electric — theme universel landings tech (EXPRESS/VOLT/WATT)
   Dark + jaune BSF + cyan électrique + circuits SVG animés
   ============================================================ */

:root {
  --bsf-bg:           #0A0A0F;
  --bsf-bg-elev:      #11111B;
  --bsf-bg-card:      rgba(255,255,255,0.03);
  --bsf-bg-card-hov:  rgba(255,255,255,0.06);
  --bsf-border:       rgba(255,255,255,0.08);
  --bsf-border-hov:   rgba(255,213,0,0.4);
  --bsf-text:         #F5F5F7;
  --bsf-text-dim:     #9CA0AB;
  --bsf-text-muted:   #6B7079;
  --bsf-yellow:       #FFD500;
  --bsf-yellow-soft:  rgba(255,213,0,0.15);
  --bsf-cyan:         #00E5FF;
  --bsf-cyan-soft:    rgba(0,229,255,0.15);
  --bsf-red:          #FF3B6F;
  --bsf-green:        #2FE6A8;
  --bsf-glow-y:       0 0 32px rgba(255,213,0,0.45);
  --bsf-glow-c:       0 0 28px rgba(0,229,255,0.40);
  --bsf-radius:       18px;
  --bsf-radius-sm:    10px;
  --bsf-ease:         cubic-bezier(0.16,1,0.3,1);
}

/* Force le dark sur les landings, override tokens.css si nécessaire */
html, body.bsf-landing {
  background: var(--bsf-bg) !important;
  color: var(--bsf-text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.bsf-landing {
  margin: 0;
  overflow-x: hidden;
  position: relative;
}

body.bsf-landing * { box-sizing: border-box; }

/* Background électrifié : radial gradient + circuits SVG en fixed */
body.bsf-landing::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255,213,0,0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(0,229,255,0.06), transparent 60%),
    var(--bsf-bg);
}

body.bsf-landing::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' preserveAspectRatio='xMidYMid slice'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23FFD500' stop-opacity='0.2'/><stop offset='1' stop-color='%2300E5FF' stop-opacity='0.15'/></linearGradient></defs><g fill='none' stroke='url(%23g)' stroke-width='1.2'><path d='M0 200 L200 200 L240 240 L500 240 L540 280 L900 280 L940 320 L1200 320'/><path d='M0 480 L300 480 L340 440 L600 440 L640 480 L1000 480 L1040 440 L1200 440'/><path d='M150 0 L150 100 L190 140 L190 380'/><path d='M850 0 L850 80 L890 120 L890 360'/><path d='M450 800 L450 700 L490 660 L490 480'/><path d='M1050 800 L1050 720 L1090 680 L1090 520'/></g><g fill='%23FFD500' opacity='0.5'><circle cx='240' cy='240' r='3'/><circle cx='540' cy='280' r='3'/><circle cx='940' cy='320' r='3'/><circle cx='340' cy='440' r='3'/><circle cx='640' cy='480' r='3'/><circle cx='190' cy='140' r='3'/><circle cx='890' cy='120' r='3'/><circle cx='490' cy='660' r='3'/><circle cx='1090' cy='680' r='3'/></g></svg>");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  animation: electricFlicker 8s ease-in-out infinite;
}

@keyframes electricFlicker {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.55; }
  53%      { opacity: 0.30; }
  56%      { opacity: 0.50; }
}

/* Reset des conteneurs CMS */
.bsf-landing main, .bsf-landing .container, .bsf-landing > div {
  position: relative;
  z-index: 1;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */

.el-section {
  position: relative;
  z-index: 1;
  padding: 96px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.el-section.tight   { padding: 64px 24px; }
.el-section.full    { max-width: none; padding-left: 0; padding-right: 0; }

@media (max-width: 760px) {
  .el-section { padding: 64px 20px; }
}

/* ============================================================
   HERO ELECTRIC
   ============================================================ */

.el-hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 24px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1280px;
  margin: 0 auto;
}

.el-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bsf-yellow-soft);
  border: 1px solid var(--bsf-border-hov);
  color: var(--bsf-yellow);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  padding: 8px 14px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.el-hero-title {
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--bsf-text);
}

.el-hero-title .accent {
  color: var(--bsf-yellow);
  text-shadow: var(--bsf-glow-y);
  -webkit-text-stroke: 0;
}

.el-hero-title .outline {
  -webkit-text-stroke: 1.5px var(--bsf-cyan);
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: var(--bsf-glow-c);
}

.el-hero-sub {
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--bsf-text-dim);
  max-width: 720px;
  line-height: 1.5;
  margin: 0 0 40px;
  font-weight: 400;
}

.el-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 40px;
}

.el-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bsf-bg-card);
  border: 1px solid var(--bsf-border);
  color: var(--bsf-text-dim);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  transition: all .25s var(--bsf-ease);
}

.el-chip:hover { color: var(--bsf-text); border-color: var(--bsf-border-hov); }

.el-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.el-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .3s var(--bsf-ease);
  position: relative;
  letter-spacing: 0.2px;
}

.el-btn-primary {
  background: var(--bsf-yellow);
  color: #1A1A1F;
  box-shadow: var(--bsf-glow-y);
}
.el-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(255,213,0,0.6), 0 0 0 1px rgba(255,213,0,0.8);
}

.el-btn-ghost {
  background: transparent;
  color: var(--bsf-text);
  border-color: var(--bsf-border);
}
.el-btn-ghost:hover {
  color: var(--bsf-cyan);
  border-color: var(--bsf-cyan);
  box-shadow: var(--bsf-glow-c);
}

.el-btn-cyan {
  background: var(--bsf-cyan);
  color: #001417;
  box-shadow: var(--bsf-glow-c);
}
.el-btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(0,229,255,0.55), 0 0 0 1px rgba(0,229,255,0.7);
}

.el-btn-arrow { transition: transform .3s var(--bsf-ease); }
.el-btn:hover .el-btn-arrow { transform: translateX(4px); }

/* ============================================================
   PROOF BAND (KPIs)
   ============================================================ */

.el-proof {
  border-top: 1px solid var(--bsf-border);
  border-bottom: 1px solid var(--bsf-border);
  background: linear-gradient(180deg, rgba(0,0,0,0.2), transparent);
}

.el-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding: 56px 24px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.el-proof-item .num {
  display: block;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  color: var(--bsf-yellow);
  line-height: 1;
  letter-spacing: -0.02em;
}

.el-proof-item .lbl {
  display: block;
  font-size: 13px;
  color: var(--bsf-text-dim);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 10px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.el-eyebrow {
  font-size: 12px;
  color: var(--bsf-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin: 0 0 16px;
}

.el-h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--bsf-text);
}

.el-h2 .accent { color: var(--bsf-yellow); }

.el-lead {
  font-size: 18px;
  color: var(--bsf-text-dim);
  max-width: 680px;
  line-height: 1.55;
  margin: 0 0 56px;
}

/* ============================================================
   UNIVERSES GRID (cards glass)
   ============================================================ */

.el-grid { display: grid; gap: 20px; }

.el-grid-3 { grid-template-columns: repeat(3, 1fr); }
.el-grid-4 { grid-template-columns: repeat(4, 1fr); }
.el-grid-6 { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 980px) {
  .el-grid-6 { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 760px) {
  .el-grid-3, .el-grid-4, .el-grid-6 { grid-template-columns: 1fr; }
}

.el-card {
  position: relative;
  background: var(--bsf-bg-card);
  border: 1px solid var(--bsf-border);
  border-radius: var(--bsf-radius);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  transition: all .35s var(--bsf-ease);
  overflow: hidden;
  color: var(--bsf-text);
  text-decoration: none;
  display: block;
}

.el-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--bsf-radius);
  background: linear-gradient(140deg, rgba(255,213,0,0.0), rgba(0,229,255,0.0));
  opacity: 0;
  transition: opacity .35s var(--bsf-ease);
  pointer-events: none;
}

.el-card:hover {
  transform: translateY(-4px);
  border-color: var(--bsf-border-hov);
  background: var(--bsf-bg-card-hov);
  box-shadow: 0 20px 60px -20px rgba(0,229,255,0.25);
}

.el-card:hover::before {
  opacity: 1;
  background: linear-gradient(140deg, rgba(255,213,0,0.06), rgba(0,229,255,0.04));
}

.el-card-icon {
  font-size: 36px;
  line-height: 1;
  display: inline-block;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(255,213,0,0.4));
}

.el-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--bsf-text);
  letter-spacing: -0.01em;
}

.el-card p {
  font-size: 15px;
  color: var(--bsf-text-dim);
  margin: 0;
  line-height: 1.55;
}

.el-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--bsf-cyan);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* compact universe card pour grille à 6 */
.el-card-compact { padding: 24px 20px; }
.el-card-compact .el-card-icon { font-size: 28px; }
.el-card-compact h3 { font-size: 17px; margin-bottom: 6px; }
.el-card-compact p { font-size: 13px; }

/* ============================================================
   PROCESS STEPS (timeline)
   ============================================================ */

.el-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  position: relative;
}

.el-step {
  position: relative;
  padding: 28px 24px;
  background: var(--bsf-bg-card);
  border: 1px solid var(--bsf-border);
  border-radius: var(--bsf-radius);
  backdrop-filter: blur(10px);
}

.el-step-num {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  background: var(--bsf-yellow);
  color: #1A1A1F;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 14px;
  box-shadow: var(--bsf-glow-y);
}

.el-step h4 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--bsf-text);
}

.el-step p {
  font-size: 14px;
  color: var(--bsf-text-dim);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   CALCULATEUR / FORM
   ============================================================ */

.el-form-card {
  background: var(--bsf-bg-card);
  border: 1px solid var(--bsf-border);
  border-radius: var(--bsf-radius);
  padding: 36px 32px;
  backdrop-filter: blur(14px);
  max-width: 720px;
}

.el-form-card label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bsf-text-dim);
  margin: 0 0 8px;
  font-weight: 700;
}

.el-form-card input, .el-form-card select, .el-form-card textarea {
  width: 100%;
  background: var(--bsf-bg-elev);
  border: 1px solid var(--bsf-border);
  border-radius: var(--bsf-radius-sm);
  color: var(--bsf-text);
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  transition: all .25s var(--bsf-ease);
  margin-bottom: 18px;
}

.el-form-card input:focus, .el-form-card select:focus, .el-form-card textarea:focus {
  outline: none;
  border-color: var(--bsf-cyan);
  box-shadow: 0 0 0 3px var(--bsf-cyan-soft);
}

.el-form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .el-form-card .row { grid-template-columns: 1fr; } }

/* ============================================================
   CTA FINAL banner
   ============================================================ */

.el-cta-banner {
  position: relative;
  padding: 80px 32px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,213,0,0.08), rgba(0,229,255,0.05));
  border: 1px solid var(--bsf-border-hov);
  text-align: center;
  overflow: hidden;
  margin: 0 24px;
  max-width: 1232px;
}

.el-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,213,0,0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,229,255,0.12), transparent 50%);
  pointer-events: none;
}

.el-cta-banner > * { position: relative; }

.el-cta-banner h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  color: var(--bsf-text);
}

.el-cta-banner p {
  font-size: 17px;
  color: var(--bsf-text-dim);
  max-width: 580px;
  margin: 0 auto 32px;
}

.el-cta-banner .el-cta-row { justify-content: center; }

/* ============================================================
   DIFFERENTIATORS (large blocks)
   ============================================================ */

.el-diff-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.el-diff {
  background: var(--bsf-bg-card);
  border: 1px solid var(--bsf-border);
  border-radius: var(--bsf-radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all .35s var(--bsf-ease);
}

.el-diff:hover { border-color: var(--bsf-border-hov); transform: translateY(-3px); }

.el-diff::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--bsf-yellow), var(--bsf-cyan));
}

.el-diff h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 16px 0 12px;
  color: var(--bsf-text);
}

.el-diff p {
  font-size: 15px;
  color: var(--bsf-text-dim);
  line-height: 1.6;
  margin: 0;
}

.el-diff-num {
  font-size: 13px;
  color: var(--bsf-yellow);
  font-weight: 800;
  letter-spacing: 2px;
}

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */

.el-test {
  background: var(--bsf-bg-card);
  border: 1px solid var(--bsf-border);
  border-radius: var(--bsf-radius);
  padding: 32px;
  backdrop-filter: blur(10px);
}

.el-test-quote {
  font-size: 18px;
  color: var(--bsf-text);
  line-height: 1.55;
  margin: 0 0 24px;
  font-weight: 500;
}

.el-test-author { display: flex; align-items: center; gap: 14px; }

.el-test-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bsf-yellow), var(--bsf-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #1A1A1F;
}

.el-test-name { font-weight: 700; color: var(--bsf-text); font-size: 14px; }
.el-test-role { font-size: 12px; color: var(--bsf-text-dim); margin-top: 2px; }

/* ============================================================
   RESULT / KPI READOUT (calculateur)
   ============================================================ */

.el-readout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  background: rgba(0,229,255,0.04);
  border: 1px solid var(--bsf-cyan-soft);
  border-radius: var(--bsf-radius);
  padding: 28px;
}

.el-readout .ko {
  text-align: center;
  padding: 12px 8px;
  border-right: 1px solid var(--bsf-border);
}

.el-readout .ko:last-child { border-right: none; }

.el-readout .num {
  font-size: 32px;
  font-weight: 900;
  color: var(--bsf-cyan);
  line-height: 1;
  text-shadow: var(--bsf-glow-c);
  letter-spacing: -0.02em;
}

.el-readout .lbl {
  display: block;
  font-size: 11px;
  color: var(--bsf-text-dim);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .el-readout .ko { border-right: none; border-bottom: 1px solid var(--bsf-border); }
  .el-readout .ko:last-child { border-bottom: none; }
}

/* ============================================================
   UNIFIED TOPBAR override pour dark
   ============================================================ */

body.bsf-landing .bsf-utopbar,
body.bsf-landing #bsf-utopbar {
  background: rgba(10,10,15,0.92) !important;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--bsf-border) !important;
}

body.bsf-landing .bsf-utopbar a,
body.bsf-landing #bsf-utopbar a { color: var(--bsf-text) !important; }

/* ============================================================
   ANIMATIONS
   ============================================================ */

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

.el-fade { animation: fadeUp .8s var(--bsf-ease) both; }
.el-fade-1 { animation-delay: .1s; }
.el-fade-2 { animation-delay: .2s; }
.el-fade-3 { animation-delay: .3s; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: var(--bsf-glow-y); }
  50%      { box-shadow: 0 0 48px rgba(255,213,0,0.7); }
}

.el-pulse { animation: pulseGlow 3s ease-in-out infinite; }

/* ============================================================
   FOOTER MINIMAL
   ============================================================ */

.el-footer {
  border-top: 1px solid var(--bsf-border);
  padding: 48px 24px 32px;
  text-align: center;
  color: var(--bsf-text-muted);
  font-size: 13px;
  margin-top: 80px;
}

.el-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.el-footer-links a {
  color: var(--bsf-text-dim);
  text-decoration: none;
  font-size: 13px;
}

.el-footer-links a:hover { color: var(--bsf-yellow); }

/* ============================================================
   UTILITAIRES
   ============================================================ */

.el-mt-l  { margin-top: 56px; }
.el-mb-l  { margin-bottom: 56px; }
.el-center { text-align: center; }
.el-center .el-lead { margin-left: auto; margin-right: auto; }

.el-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bsf-border), transparent);
  margin: 80px 0;
  border: none;
}
