/* Base Colors for Electrician Theme */
: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;
}
.title-underline {
  width: 120px;
  height: 6px;
  background: #FFC107;           
  margin: 0 auto;
  border-radius: 3px;
  box-shadow: 0 4px 15px rgba(255,193,7,0.4);
}
.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 – COMPACT & CENTRÉ
=========================================== */
.electric-header {
    position: relative;
    min-height: 28vh;                
    max-height: 420px;               
    height: 38vh;                    
    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);
}

@keyframes float {
  0%,100% { transform: translateY(-30px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(15deg); }
}

.urgent-call-box {
  background: linear-gradient(135deg, #1E2A44, #0F1629);
  color: white;
  border-left: 8px solid var(--accent);
  transition: transform 0.3s ease;
}



.urgent-call-box {
    background: linear-gradient(135deg, #1E2A44, #0F1629);
    color: white;
    border-left: 8px solid var(--accent);
    transition: var(--transition);
    animation: floatImage 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.urgent-call-box:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 20px 40px rgba(255,210,0,0.3);
}

.tel-link {
  color: var(--accent) !important;
  text-shadow: 0 0 15px rgba(255,210,0,0.6);
  font-size: 1.8rem !important;
}

.image-floating {
  position: relative;
  display: inline-block;
  animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.shadow-electric {
  box-shadow: 0 25px 50px rgba(0,0,0,0.18) !important;
  transition: 0.4s;
  border-radius: 16px;
}

.shadow-electric:hover {
  transform: translateY(-15px);
  box-shadow: 0 40px 80px rgba(255,210,0,0.3) !important;
}

.badge-urgent {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--accent);
  color: #000;
  padding: 2px 10px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(255,210,0,0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}



/* Main Content */
.section-title {
  font-weight: 700;
  text-transform: uppercase;
  color: #2d2d2d;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 30px;
}


.electric-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.electric-bg-shapes .shape { position: absolute; width: 600px; height: 600px; background: #FFC107; border-radius: 50%; opacity: 0.08; filter: blur(100px); animation: float 25s float infinite ease-in-out; }
.shape-1 { top: -20%; left: -15%; animation-duration: 22s; }
.shape-2 { bottom: -10%; right: -10%; animation-duration: 28s; animation-direction: reverse; }
.shape-3 { top: 40%; right: 5%; animation-duration: 20s; }

.hover-lift { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.hover-lift:hover { transform: translateY(-12px); box-shadow: 0 25px 50px rgba(0,0,0,0.2) !important; }

.separator-line {
  width: 100vw; position: relative; left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  height: 4px; background: #FFC107;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
  #blogFull { flex-wrap: wrap; }

/* 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: 576px) {
  #contact .display-4 { font-size: 2.4rem; }
  #contact .btn-lg { min-width: 100% !important; font-size: 1.1rem; padding: 1rem !important; }
  .accordion-button { font-size: 1.05rem; padding: 1.2rem 1.5rem; }
}
/* ===========================================
   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: 1rem !important; }
  .electric-footer .col-md-3 {
        padding-left: 20px !important;
    }
  .title-badge { font-size: 1rem !important;  }
}


@media (max-width: 768px) {
    .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-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;
  }
}
}

 @media (min-width: 640px) and (max-width: 768px) {


.logo-custom {
        width: 180px !important;  
        height: 180px !important;      
    }


}