:root {
  --primary: #1E2A44;
  --secondary: #0F1629;
  --accent: #FFD200;
  --accent-hover: #FF8C00;
  --light: #fffefa;
  --electric-glow: 0 0 20px rgba(255, 210, 0, 0.4);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Abel', Arial, sans-serif;
  background: var(--light);
  color: #2d2d2d;
  line-height: 1.8;
  font-size: 18px;
  overflow-x: hidden;
}
.separator-line {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 4px;                  /* ÉPAISSEUR  */
  background: #f8dc5f;          /* COULEUR  */
}
.menu-btn {
    position: fixed;
    top: 25px;
    right: 20px;
    z-index: 1002;
    background: var(--primary);
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
}
.menu-btn .navbar-toggler-icon {
    position: relative;
    width: 24px;
    height: 2px;
    background: #fff;
    display: block;
}
.menu-btn .navbar-toggler-icon::before,
.menu-btn .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: #fff;
}
.menu-btn .navbar-toggler-icon::before {
    top: -8px;
}
.menu-btn .navbar-toggler-icon::after {
    top: 8px;
}
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 0.6);
    display: none;
    z-index: 1001;
}
.menu-overlay.active {
    display: block;
    background: radial-gradient(circle at top right, rgb(33 24 59 / 0.9), rgb(0 0 0 / 0.7));
}
.custom-navbar {
    background: url(/img/banniere.webp) center/cover no-repeat;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    padding-top: 80px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1002;
    box-shadow: -4px 0 15px rgb(0 0 0 / 0.5);
}
.custom-navbar.show {
    transform: translateX(0);
}
.custom-navbar .nav-link {
    color: #fff;
    font-size: 1.2rem;
    margin: 20px 0;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}
.custom-navbar .nav-link:hover {
    background: var(--accent);
    color: var(--primary);
}

/* ===========================================
   HEADER HERO 
=========================================== */
.electric-header {
    position: relative;
    min-height: 28vh;                
    max-height: 420px;               
    height: 32vh;                    
    background: linear-gradient(135deg, rgba(15, 22, 41, 0.95), rgba(30, 42, 68, 0.92)),
                url('/img/ville-lille.webp') center/cover no-repeat fixed;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;        
    overflow: hidden;
}
.header-content-lower {
    margin-top: 10rem;        
}

.electric-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,210,0,0.06) 50%, transparent 70%);
  animation: electricPulse 10s infinite alternate;
}

@keyframes electricPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}
.visuel-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 1.5rem !important;
  text-shadow: 0 0 30px rgba(255,210,0,0.2);
}
.visuel-title strong {
  font-size: 3.6rem;
}
@media (max-width: 768px) {
  .visuel-title { font-size: 2.6rem; }
  .visuel-title strong { font-size: 2.9rem; }
}
.electric-header h1 {
  font-size: 3.6rem;
  font-weight: 900;
  text-shadow: 0 0 25px rgba(255,210,0,0.4), 0 4px 15px rgba(0,0,0,0.8);
  margin-bottom: 1rem;
}

.electric-header .lead {
  font-size: 1.35rem;
  max-width: 750px;
  margin: 0 auto 2rem;
}

.hero-divider {
  width: 120px;
  height: 6px;
  background: var(--accent);
  margin: 2.5rem auto;
  border-radius: 3px;
  box-shadow: var(--electric-glow);
}

.logo-custom {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  z-index: 10;
  
  transition: var(--transition);
}

.logo-custom:hover {
  transform: translateX(-50%) scale(1.1);
  
}

/* Boutons premium */
.electric-btn {
  padding: 16px 40px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  font-size: 1.15rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-warning {
  background: var(--accent);
  color: #000;
  box-shadow: 0 10px 30px rgba(255,210,0,0.4);
}

.btn-warning::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.6s;
}

.btn-warning:hover::before { left: 100%; }
.btn-warning:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(255,210,0,0.6);
}

.btn-outline-light {
  border: 3px solid white;
  backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-6px);
}

.logo-custom {
  max-width: 200px;
}
/* ===========================================
   BREADCRUMB ÉLECTRIQUE
=========================================== */
.breadcrumb-electric {
  background: linear-gradient(90deg, #1E2A44, #0F1629);
  border-bottom: 4px solid var(--accent);
  padding: 1.2rem 0;
}

.breadcrumb-electric .breadcrumb {
  background: transparent;
  margin: 0;
  font-size: 1.1rem;
}

.breadcrumb-item a {
  color: #ccc !important;
  font-weight: 600;
  transition: 0.3s;
}

.breadcrumb-item a:hover {
  color: var(--accent) !important;
}

.breadcrumb-item.active {
  color: var(--accent) !important;
  font-weight: bold;
}
/* Electrician Card Styles */
.electric-card {
  border: 2px solid var(--electric-blue);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.electric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}





/* ========================================= */
/* FORMULAIRE CONTACT  */
/* ========================================= */
.form-control {
  background-color: rgba(255,255,255,0.12) !important;
  border: 2px solid transparent !important;
  border-radius: 12px !important;
  color: #fff !important;
  padding: 0.85rem 1.2rem !important;
  font-size: 1.1rem !important;
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
}

.form-control::placeholder {
  color: rgba(255,255,255,0.6) !important;
  font-weight: 500;
}

.form-control:focus {
  background-color: rgba(255,255,255,0.22) !important;
  border-color: #FFD200 !important;
  box-shadow: 0 0 0 4px rgba(255,210,0,0.25), 0 10px 30px rgba(0,0,0,0.3) !important;
  color: #fff !important;
  transform: translateY(-2px);
  outline: none;
}

.btn-warning {
  color: #FFD200;
  border: none !important;
  color: #000 !important;
  font-weight: 800 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px !important;
  padding: 1rem 1.5rem !important;
  box-shadow: 0 10px 30px rgba(255,210,0,0.4) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-warning::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.7s;
}

.btn-warning:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255,210,0,0.6) !important;
}

.btn-warning:hover::before {
  left: 100%;
}


.form-floating > label {
  color: rgba(255,255,255,0.7) !important;
}


@media (max-width: 768px) {
  .form-control,
  .btn-warning {
    font-size: 1rem !important;
  }
  .btn-warning {
    padding: 1rem !important;
  }
}

/* ========================================= */
/* PARTIE GAUCHE CONTACT  */
/* ========================================= */


.fs-1 a[href^="tel:"] {
  color: #FFD200 !important;
  text-shadow: 0 0 30px rgba(255,210,0,0.6);
  transition: all 0.4s ease;
  position: relative;
  display: inline-block;
}

.fs-1 a[href^="tel:"]:hover {
  transform: scale(1.05);
  text-shadow: 0 0 50px rgba(255,210,0,0.9);
  animation: phonePulse 1.5s infinite;
}

@keyframes phonePulse {
  0%, 100% { transform: scale(1.05); }
  50% { transform: scale(1.08); }
}



.btn-call-now {
  color: #FFD200;
  color: #000;
  font-weight: 900;
  font-size: 1.4rem;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 15px 35px rgba(255,210,0,0.5);
  transition: all 0.4s ease;
  display: inline-block;
  margin-top: 2rem;
}

.btn-call-now:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 50px rgba(255,210,0,0.7);
  color: #000;
}


.display-5 {
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.display-5 .text-warning {
  position: relative;
}

.display-5 .text-warning::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 6px;
  background: #FFD200;
  border-radius: 3px;
  box-shadow: 0 0 20px #FFD200;
}
.form-alb {
  background: rgba(255,255,255,0.08) !important;
  border: 2px solid rgba(255,255,255,0.15) !important;
  border-radius: 14px !important;
  color: #fff !important;
  padding: 0.9rem 1.2rem !important;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}
.form-alb::placeholder { color: rgba(255,255,255,0.6); font-weight: 500; }
.form-alb:focus {
  border-color: #FFD200 !important;
  background: rgba(255,255,255,0.18) !important;
  box-shadow: 0 0 0 4px rgba(255,210,0,0.25) !important;
  transform: translateY(-3px);
  color: #fff;
}
.btn-warning { transition: all 0.4s ease; }
.btn-warning:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 40px rgba(255,210,0,0.5); }
.fa-beat { animation: fa-beat 1.8s ease infinite; }
/* Footer */
.electric-footer {
  background: linear-gradient(135deg, #0F1629, #1E2A44);
  padding: 40px 0;
}

.electric-footer a {
  color: #FFD200;
  text-decoration: none;
  transition: color 0.3s ease;
}

.electric-footer a:hover {
  color: #FF8C00;
}

.social-icons a {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
}

.electric-footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left:  calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    width: 100vw !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}




/* Cookie banner */
.electric-cookie-banner {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 460px;
  width: calc(100% - 50px);
  background: linear-gradient(135deg, #1E2A44, #0F1629);
  color: white;
  padding: 1.8rem;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border: 3px solid var(--accent);
  z-index: 9999;
  text-align: center;
}

.electric-cookie-banner button {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 800;
  margin-top: 12px;
  box-shadow: 0 10px 25px rgba(255,210,0,0.4);
}

.electric-cookie-banner button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255,210,0,0.6);
}

@media (max-width: 768px) {
  .zone-hero {
    padding: 100px 0 60px;
  }
  .zone-hero h1 {
    font-size: 2rem;
  }
  .logo-custom {
    width: 160px;
    height: 160px;
  }
}

/* ===========================================
   RESPONSIVE
=========================================== */
@media (max-width: 992px) {
  .electric-header h1, .main-title-electric { font-size: 3.4rem; }
  .electric-footer .col-md-3 {
        padding-left: 30px !important;
    }

}

@media (max-width: 768px) {
  .electric-header { min-height: 40vh; padding: 100px 15px 60px; }
  .electric-header h1, .main-title-electric { font-size: 2.8rem; }
  .main-title-electric .text-warning { font-size: 1.8rem; }
  .electric-footer .col-md-3 {
        padding-left: 20px !important;
    }
}

@media (max-width: 576px) {
  .electric-header h1, .main-title-electric { font-size: 2.4rem; }
  .electric-header .lead { font-size: 1.15rem; }
  .electric-btn { padding: 14px 28px; font-size: 1rem; }
  .tel-link { font-size: 1.5rem !important; }
  .electric-footer .col-md-3 {
        padding-left: 20px !important;
    }
  
}


@media (max-width: 576px) {
    .electric-header {
        min-height: 62vh !important;     
        height: auto !important;
        padding: 160px 20px 60px !important;   
    }

    .header-content-lower {
        margin-top: 4rem !important;     
    }

    .logo-custom {
        width: 150px !important;  
        height: 150px !important;      
    }

    .zone-card span { font-size: 0.85rem !important; }   
    .zone-card i   { font-size: 1.4rem !important; }     
    .zone-card     { height: 80px !important; }

    .badge-urgent {
        padding: 6px 16px !important;     
        font-size: 0.80rem !important;   
        top: 15px !important;            
        right: 15px !important;          
    }
    .badge-urgent i {                   
        font-size: 1rem !important;
    }
}
@media (max-width: 992px) {
  .d-block d-lg-none .card {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* FIX TASSAGE SUR PETITS ÉCRANS EN HAUTEUR (laptops, etc.) */
@media (max-height: 800px) {
  .electric-header {
    min-height: 50vh !important; 
    height: auto !important;
    padding: 90px 20px 60px !important; 
  }

  .header-content-lower {
    margin-top: 6rem !important; 
  }

 
}

@media (max-height: 1050px) {
  .electric-header {
    min-height: 30vh !important; 
    height: auto !important;
    padding: 90px 20px 60px !important; 
  }

  .header-content-lower {
    margin-top: 8rem !important; 
  }

 
  
}

  @media (max-width: 430px) {
  .electric-cookie-banner button {
    padding: 10px 22px;
    font-size: 0.9rem;
    min-width: 130px;
  }
}