:root {
    --primary: #1b263b;
    --secondary: #0d3b66;
    --accent: #ffce00;
    --light: #e9f4ff;
    --neutral: #fff8e1;
    --body: #f5f5f5;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-size: 20.5px;
    background: var(--body);
    color: #333;
    line-height: 1.6;
}
h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    font-weight: 700;
}
a {
    text-decoration: none;
    color: inherit;
}

.logo-custom {
    height: 1%;
    top: 13px;
    
    z-index: 10;
}

.title-underline {
  transition: all 0.4s ease;
}
.section-title:hover .title-underline {
  transform: scaleX(1.2);
  box-shadow: 0 0 25px rgba(248, 220, 95, 0.7);
}
.title-outlined {
    color: var(--neutral);
    font-family: "Abel", sans-serif !important;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 6px rgb(255 206 0 / 0.2), 0 0 12px rgb(255 206 0 / 0.1);
    animation: glowText 1.5s ease-in-out infinite;
}
.separator-line {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 4px;                  
  background: #f8dc5f;          
}
@keyframes glowText {
    0%,
    100% {
        text-shadow: 0 0 1px rgb(255 204 0 / 0.774), 0 0 12px rgb(255 206 0 / 0.1);
    }
    50% {
        text-shadow: 0 0 10px rgb(255 204 0 / 0.829), 0 0 20px rgb(255 206 0 / 0.2);
    }
}
header.hero {
    background: var(--primary) url(/img/header.webp) center/cover no-repeat;
    padding: 110px 0;
    text-align: center;
    color: #e0dfd9;
    position: relative;
}
header.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F1629, #1E2A44);
  opacity: 0.85; 
}
.hero-content {
    position: relative;
    z-index: 1;
    margin-top: -90px;
}
.hero h1 {
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.8rem;
    max-width: 700px;
    margin: 20px auto;
    
}
.btn-custom {
  background-color: #FFD200 !important;
  color: #000 !important;
  font-weight: 800 !important;
  font-size: 1.4rem !important;
  padding: 18px 50px !important;
  border-radius: 50px !important;
  box-shadow: 0 10px 30px rgba(255,210,0,0.5) !important;
  transition: all 0.4s ease !important;
  text-transform: none !important;
  letter-spacing: 0.05em;
}

.btn-custom:hover {
  background-color: #FF8C00 !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 40px rgba(255,140,0,0.6) !important;
  color: #000 !important;
}

.btn-custom:focus {
  box-shadow: 0 0 0 0.25rem rgba(255,210,0,0.5) !important;
}


.menu-btn {
    position: fixed !important;
    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;
}


body.menu-open {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
}
.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;
}
.custom-navbar.show {
  transform: translateX(0);
}
.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.avif) center/cover no-repeat;
    position: fixed !important;
    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);
}
section {
    padding: 60px 0;
    text-align: center;
}
section + section {
    border-top: 2.5px solid #fff;
}
section.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 20px rgb(255 206 0 / 0.2);
    z-index: 1;
    animation: pulse-electric 1.5s infinite ease-in-out;
}
@keyframes pulse-electric {
    0%,
    100% {
        box-shadow: 0 0 0 12px rgb(255 206 0 / 0.2), 0 0 10px rgb(255 206 0 / 0.6);
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 0 0 0 18px rgb(255 206 0 / 0.4), 0 0 20px rgb(255 206 0 / 0.9);
        opacity: 0.85;
        transform: translate(-50%, -50%) scale(1.05);
    }
}
section.about {
    position: relative;
    background: var(--body);
    padding: 80px 0;
    text-align: center;
}
.about-content {
    position: relative;
    z-index: 2;
    padding-top: 50px;
}
.about-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
}
.about-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.about-text {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}
.about-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}
.about-images img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.1);
    height: 200px;
    object-fit: cover;
}
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    padding: 0 20px;
}
.about-card {
    background: var(--neutral);
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgb(0 0 0 / 0.1);
}
.about-icon {
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}


.intervention-step {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgb(0 0 0 / 0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.intervention-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgb(0 0 0 / 0.1);
}
.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background: var(--accent);
    color: var(--primary);
    width: 40px;
    height: 40px;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgb(255 206 0 / 0.2);
}
.step-icon {
    background: var(--accent);
    color: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
}
.electric-glow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 12px rgb(255 206 0 / 0.2);
    animation: pulse-electric 1.5s infinite ease-in-out;
    z-index: 1;
}
.electric-glow {
    position: relative;
    z-index: 0;
}
section.services {
    background: linear-gradient(135deg, #0F1629, #1E2A44);
}
.services-title {
    margin-top: 80px;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--neutral);
    position: relative;
}
.services-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.services-intro {
    color: var(--neutral);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 800px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.service-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: #fff8e1;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.4);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgb(0 0 0 / 0.15);
}
.service-card .service-icon {
    position: relative;
    
    color: var(--primary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    z-index: 1;
}
.service-card h3,
.service-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
}

.intervention-title {
    margin-top: 80px;
}
.domaines-intervention .domaine-card {
    background: #fffaeb;
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 12px;
    color: #000;
    padding: 20px;
    height: 80%;
    width: 90%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(2px);
    margin-top: 50px;
}
.text-custom {
    color: #000;
    font-size: 0.85rem;
}
.domaines-intervention .domaine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.2);
}
.separator-glow {
    position: relative;
    height: 80px;
    background: #fff0;
}
.separator-glow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 12px rgb(255 206 0 / 0.2);
    animation: pulse-electric 1.5s infinite ease-in-out;
    z-index: 1;
}
.avis-title {
    margin-top: -5%;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    display: inline-block; 
    
   
}

.avis-title::after {
    content: "";
    position: absolute;
    bottom: -12px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 80px; 
    height: 5px; 
    background: var(--accent); 
    border-radius: 4px; 
}
.avis-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.avis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgb(0 0 0 / 0.1);
}
.btn-google-review-small {
  background: linear-gradient(135deg, #0F1629, #1E2A44);
  border: 2px solid transparent;
  font-size: 1rem;
  min-height: 48px; 
  transition: all 0.3s ease;
}

.btn-google-review-small:hover {
  background: linear-gradient(135deg, #1E2A44, #0F1629);
  border: 2px solid #FFD200;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 210, 0, 0.2);
  color: white !important;
}

.transition-all {
  transition: all 0.3s ease;
}
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg,#0d6efd,#0abcf9);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* ===========================================
   SECTION BLOG 
=========================================== */
.blog-card {
  transition: all 0.5s var(--transition);
}
.blog-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 30px 70px rgba(255,210,0,0.25) !important;
}
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transform: scaleX(0);
  transition: transform 0.6s ease;
  z-index: 2;
}
.blog-card:hover::before {
  transform: scaleX(1);
}

/* Carte "Voir tout le blog" */
.blog-all {
  background: linear-gradient(135deg, var(--accent), #ffb300) !important;
}
.blog-all:hover {
  transform: translateY(-15px) !important;
  box-shadow: 0 30px 60px rgba(255,210,0,0.4) !important;
}
/* ===========================================
   FAQ & AVIS 
=========================================== */



.accordion-button {
  background: white;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 1.5rem 2rem;
  font-size: 1.2rem;
}
.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(255,210,0,0.1), rgba(255,210,0,0.05));
  color: var(--primary);
  box-shadow: 0 15px 40px rgba(255,210,0,0.2);
}
.accordion-button:focus {
  box-shadow: none;
  border: none;
}
.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(14%) sepia(92%) saturate(7475%) hue-rotate(359deg) brightness(103%) contrast(118%);
}

.faq-title {
    margin-top: -5%;
    margin-bottom: 60px;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
}
.faq-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* 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);
}

@media (max-width: 576px) {
    .logo-custom {
        height: 8.5%;
        top: 10px;
        
    }

    .about-img {

      width: 93%;           
    height: auto;

    }

    .logo-header {

    width: 155px !important;  
    height: auto !important;   
    max-width: 80% !important; 
    margin-bottom: 1rem !important;
    }

    .title-outlined {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
        max-width: 500px;
        margin: 20px auto;
        
    }
    header.hero {
        padding: 110px 0;
    }

    .btn {

      padding: 25px 25px !important;        
    font-size: 18px !important;          
    line-height: 1.2;         

    }
}

@media (max-width: 768px) {
  .intervention-step {
    padding: 1.5rem 1rem !important; 
    margin: 0 0.5rem; 
  }
.d-flex.justify-content-center {
    margin-bottom: 200px !important;
  }
  .step-number {
    left: 10px !important; 
    top: 10px !important;
    width: 40px !important;   
    height: 40px !important;
    font-size: 1.2rem !important; 
    line-height: 40px !important;
  }

  .intervention-step h4 {
    font-size: 1rem !important; 
  }

  .intervention-step p {
    font-size: 0.9rem !important; 
  }
  .domaines-intervention {
    justify-content: center !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .domaines-intervention .col-md-3 {
    flex: 0 0 99% !important; 
    max-width: 90% !important;
    margin: 1rem auto !important; 
  }
  
  .domaines-intervention .domaine-card {
    margin: 0 auto !important;
    min-height: 150px !important; 
    margin-bottom: 1.5rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  
  .logo-hero {
    height: 120px !important;
    width: auto !important;
    max-width: 100% !important;
    margin-top: -20px !important;
  }

   .about .col-md-6.text-center img {
  margin-top: 35px !important;
}

 
  .about .row.text-start.g-4 {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
  }

  .about .row.text-start.g-4 > .col-md-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    display: flex !important;
    align-items: stretch !important;
  }

  .about-feature {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    padding: 2rem 1.5rem !important;
    background: #f8f9fa;
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center !important;
  }

  
  .intervention-process .row.g-4 {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
  }

  .intervention-process .row.g-4 > .col-md-4 {
    display: flex !important;
    align-items: stretch !important;
  }

 

  
  
  .intervention-step,
  .about-feature {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background-size: cover !important;
    background-position: center !important;
  }

   
  
  .intervention-step,
  .about-feature {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .btn {

      padding: 20px 65px !important;        
    font-size: 18px !important;          
    line-height: 1.2;         
    
    
    }
    
    

}

@media (min-width: 990px) and (max-width: 1200px) {

  .about .col-md-6.text-center img {
  margin-top: 35px !important;
}
.about .row.align-items-start {
    align-items: flex-start !important; }


  .service-card h3 {
    margin-top: -30px !important;          
    margin-bottom: 10px !important;       
  }

  .service-card p {
    margin-top: -15px !important;         
    margin-bottom: 0 !important;           
  }

  
  .service-card {
    justify-content: flex-start !important; 
    padding-top: 2.5rem !important;    
    padding: 50px;
  }

@media (max-width: 430px) {
  .electric-cookie-banner button {
    padding: 10px 22px;
    font-size: 0.9rem;
    min-width: 130px;
  }
}

}