/* ================================
   🌍 BASE GLOBALE
==================================*/
section {
  padding: 80px 0;
}

:root {
  --font-size: 16px;
}

/* Import des polices */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700&display=swap');

/* Typographie globale */
html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  font-weight: 400;
  color: #1C1C1C;
  line-height: 1.6;
  background-color: #fff;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #000;
  margin: 0;
}

p {
  margin-bottom: 1em;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ================================
   🟡 BOUTONS
==================================*/

.btn-yellow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFD600;
  color: #000;
  border-radius: 10px;
  padding: 0.7rem 1.3rem;
  font: 600 0.95rem/1 'Inter', sans-serif;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .25);
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn-yellow:hover {
  background: #ffcc00;
  transform: translateY(-2px);
}

/* ================================
   🔴 BANDE D’URGENCE ROUGE
==================================*/

.topbar {
  background-color: #E63946;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
}

.topbar p {
  margin: 0;
}

.topbar .phone {
  background: #fff;
  color: #E63946;
  font-weight: 600;
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
  transition: 0.3s;
}

.topbar .phone:hover {
  background: #FFD600;
  color: #000;
}

/* ================================
   ⚡ HEADER PRINCIPAL
==================================*/

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.logo span {
  font-size: 1rem;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.navbar a {
  text-decoration: none;
  color: #1C1C1C;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #E63946;
}

.btn-devis {
  background-color: #FFD600;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s ease;
}

.btn-devis svg {
  width: 18px;
  height: 18px;
}

.btn-devis:hover {
  background-color: #E63946;
  color: #fff;
}
/* ================================
   📱 HEADER MOBILE
==================================*/

/* On masque les boutons mobile par défaut */
.mobile-actions {
  display: none;
}

/* ✅ Sur mobile */
@media (max-width: 768px) {

  /* Bande rouge disparait */
  .topbar {
    display: none;
  }

  /* Navigation disparaît */
  .navbar {
    display: none;
  }

  /* Bouton devis du header disparaît */
  .btn-devis {
    display: none;
  }

  /* On affiche les deux boutons urgents */
  .mobile-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0.7rem 0;
  }

  .btn-urgence-mobile,
  .btn-devis-mobile {
    display: inline-block;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
  }

  .btn-urgence-mobile {
    background-color: #E63946;
    color: #fff;
  }

  .btn-urgence-mobile:hover {
    background-color: #ff4d5e;
  }

  .btn-devis-mobile {
    background-color: #FFD600;
    color: #000;
  }

  .btn-devis-mobile:hover {
    background-color: #ffcc00;
  }
}


/* ================================
   🌇 SECTION HERO
==================================*/

.hero {
  position: relative;
  background-image: url("images/hero-electricien.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;

}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .30));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  padding: 2rem;
  margin-left: 4rem;
  padding-top: 3rem;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.15;
  margin: 0.4rem 0 0.6rem;
  color: #fff;
}

.hero h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  color: #FFD600;
  margin: 0 0 1.1rem;
  line-height: 1.2;
}

.hero p,
.hero-location,
.feature-text p {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFD600;
  border: 1px solid #FFD600;
  background: rgba(255, 214, 0, .12);
  backdrop-filter: blur(4px);
  border-radius: 40px;
  padding: 0.5rem 1rem;
  font: 600 0.9rem/1 'Inter', sans-serif;
  transition: transform 0.2s ease, background 0.2s ease;
}
.badge:hover {
  transform: scale(1.05);
  background: rgba(255, 214, 0, .22);
}

/* ================================
   🧊 CARTES GARANTIES
==================================*/

.features {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
              0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon.green {
  background-color: rgba(74, 222, 128, 0.2);
  color: rgb(74, 222, 128);
}

.feature-icon.blue {
  background-color: rgba(96, 165, 250, 0.2);
  color: rgb(96, 165, 250);
}

.feature-icon.yellow {
  background-color: rgba(250, 204, 21, 0.2);
  color: rgb(250, 204, 21);
}

.feature-text h3 {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25rem;
  margin: 0;
}

.feature-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 0;
}

/* ================================
   🟢 CTA (BOUTON + NOTE)
==================================*/

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.note-pill {
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #cfcfcf;
  font: 0.9rem/1 'Inter', sans-serif;
}

/* ================================
   📱 RESPONSIVE DESIGN
==================================*/

/* TABLETTE ≤992px */
@media (max-width: 992px) {
  .hero-content {
    margin-left: 2rem;
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-yellow {
    justify-content: center;
  }
}

/* MOBILE ≤640px */
@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.8rem;
    text-align: center;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 1rem;
  }

  .navbar ul {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content {
    margin-left: 0;
    text-align: center;
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.4rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .feature {
    flex-direction: row;
    justify-content: flex-start;
  }

  .cta-row {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-yellow {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .note-pill {
    text-align: center;
    width: 100%;
  }
}
/* ================================
   🧰 SECTION À PROPOS
==================================*/

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #000;
}

.about-text p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.stats div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stats strong {
  font-size: 1.8rem;
  font-weight: 700;
  color: #E63946;
  line-height: 1.2;
}

.stats span {
  font-size: 0.95rem;
  color: #444;
  font-weight: 500;
}

/* ---- IMAGE ---- */
.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  height: 360px; /* tu peux ajuster ici */
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* rogne proprement sans déformer */
  object-position: center; /* centre le cadrage */
  display: block;
}
/* ---- BADGE SUR L'IMAGE ---- */
.badge-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.badge-overlay i {
  color: #16A34A; /* vert */
  width: 18px;
  height: 18px;
}

/* ================================
   📱 RESPONSIVE
==================================*/

@media (max-width: 992px) {
  .about {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4rem 2rem;
  }

  .stats {
    justify-content: center;
  }

  .stats div {
    align-items: center;
  }

  .about-image {
    order: -1;
    max-width: 90%;
    margin: 0 auto 2rem;
  }

  .badge-overlay {
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .about {
    padding: 3rem 1.5rem;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .stats strong {
    font-size: 1.5rem;
  }

  .badge-overlay {
    font-size: 0.8rem;
  }
}
/* ================================
   ⚡ SÉPARATEUR SIMPLE ENTRE SECTIONS
==================================*/

.section-divider-simple {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.divider-container {
  max-width: 1100px; /* Aligné sur la section .about */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Ligne jaune dorée */
.divider-line-simple {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 214, 0, 0.6) 50%, /* jaune ElectriPro */
    transparent 100%
  );
  border-radius: 2px;
}

/* Mode sombre (optionnel si tu fais une section dark plus tard) */
@media (prefers-color-scheme: dark) {
  .divider-line-simple {
    background: linear-gradient(
      to right,
      transparent 0%,
      rgba(255, 214, 0, 0.8) 50%,
      transparent 100%
    );
  }
}

/* Responsive */
@media (max-width: 640px) {
  .section-divider-simple {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}


/* ===== Séparateur de section (fix centré) ===== */



.section-divider { padding: 2.5rem 0; }

.divider-container {
  max-width: 1200px;   /* aligne avec .about */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.divider-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Lignes : dégradés opposés pour briller au centre */
.divider-line {
  height: 1px;
  flex: 1 1 0;
}
.divider-line.left {
  background: linear-gradient(to right,
    transparent 0%, rgba(255,214,0,0.6) 100%);
}
.divider-line.right {
  background: linear-gradient(to left,
    transparent 0%, rgba(255,214,0,0.6) 100%);
}

/* Icône centrale */
.divider-icon-circle {
  width: 2.2rem;
  height: 2.2rem;
  background-color: rgba(255,214,0,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 6px rgba(0,0,0,0.08);
}
.divider-icon { width: 1rem; height: 1rem; color: #E63946; }

/* Responsive */
@media (max-width: 640px) {
  .section-divider { padding: 1.8rem 0; }
  .divider-content { gap: 0.8rem; }
  .divider-icon-circle { width: 1.9rem; height: 1.9rem; }
  .divider-icon { width: 0.9rem; height: 0.9rem; }
}
/* ================================
   ⚙️ SECTION SERVICES — 2x2
==================================*/

.services {
  background-color: #f7f7f7; /* gris clair non blanc */
  padding: 3.5rem 1.2rem;
  text-align: center;
}

.services h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.5rem;
}

.services .subtitle {
  color: #555;
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* ---- Grille 2x2 ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ✅ 2 colonnes */
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  justify-items: center;
}

/* ---- Carte ---- */
.service-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  max-width: 500px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

/* ---- Image ---- */
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ---- Icône ---- */
.service-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #FFD600;
  color: #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-icon i {
  width: 20px;
  height: 20px;
}

/* ---- Contenu ---- */
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  margin: 1rem 1rem 0.5rem;
}

.service-card p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 1rem 1.5rem;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr; /* ✅ Une seule colonne sur mobile */
  }

  .service-card img {
    height: 200px;
  }
}
/* ================================
   ⚡ SECTION RAISONS — COMPACTE
==================================*/

.reasons {
  background-color: #fff;
  padding: 3.5rem 1.2rem; /* ✅ moins de padding global */
  text-align: center;
}

.reasons h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem; /* plus compact */
  font-weight: 700;
  color: #000;
  margin-bottom: 0.4rem;
}

.reasons .subtitle {
  color: #555;
  font-size: 0.95rem;
  max-width: 650px;
  margin: 0 auto 2.2rem;
  line-height: 1.5;
}

/* ---- Grille ---- */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cartes par ligne */
  gap: 1.5rem; /* ✅ espacement réduit */
  justify-items: center;
  align-items: start;
  max-width: 1150px;
  margin: 0 auto;
}

/* ---- Carte ---- */
.reason-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 340px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 2px solid transparent;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid #FFD600;
}

/* ---- Image ---- */
.reason-image {
  position: relative;
  height: 130px; /* ✅ beaucoup plus bas */
  overflow: hidden;
}

.reason-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.reason-card:hover .reason-image img {
  transform: scale(1.05);
}

/* ---- Icône jaune ---- */
.reason-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: #FFD600;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reason-icon i {
  width: 16px;
  height: 16px;
}

/* ---- Contenu ---- */
.reason-content {
  padding: 1rem 1rem 1.4rem; /* ✅ contenu plus serré */
  text-align: left;
}

.reason-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.3rem;
}

.reason-content p {
  color: #444;
  font-size: 0.9rem;
  line-height: 1.4;
}
.reason-link {
  display: inline-block;
  margin-top: 0.6rem;
  color: #E63946;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.reason-link:hover {
  color: #FFD600;
  text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  .reason-image {
    height: 120px;
  }
}
.slogan {
  color: #facc15;
  font-weight: 600;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

/* ================================
   ⚡ SECTION Certification
==================================*/
.certifications-section {
  background: #f9fafb;
  padding: 100px 0;
  text-align: center;
}

.certifications-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.certifications-section .section-subtitle {
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

/* Grille principale */
.certif-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

/* Carte ultra-compacte */
.certif-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  padding: 16px 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: auto;
}

.certif-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.06);
}

/* Icône plus petite et alignée */
.certif-icon {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

/* Texte compact */
.certif-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #111827;
}

.certif-card p {
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.4;
}

/* Encadré explicatif légèrement réduit aussi */
.certif-info-box {
  background: linear-gradient(to right, #fefce8, #fef9c3);
  border: 1px solid #fde047;
  border-radius: 8px;
  padding: 18px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.certif-info-box h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.certif-info-box p {
  font-size: 0.85rem;
  line-height: 1.5;
}
/* ================================
   💡 SECTION RÉALISATIONS
==================================*/
.realisations {
  background: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}

.realisations h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: #000;
  margin-bottom: 0.5rem;
}

.realisations .subtitle {
  color: #555;
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.realisation-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
  height: 200px;
}

.realisation-img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  display: block;
  margin: 5% auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.5);
}

.close {
  position: absolute;
  top: 25px;
  right: 40px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #FFD600;
}

/* Responsive */
@media (max-width: 640px) {
  .realisation-img {
    height: 160px;
  }
}


/* ================================
   🗺️ SECTION ZONE D’INTERVENTION
==================================*/

.zone {
  background: #f9fafb;
  padding: 4rem 1.5rem;
  text-align: center;
}

.zone h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 0.4rem;
}

.zone .subtitle {
  color: #555;
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ---- Grille principale ---- */
.zone-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.8rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  align-items: start;
}

.zone-map iframe {
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* ---- Bloc liste ---- */
.zone-list {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  text-align: left;
}

.zone-list h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.zone-list .zone-desc {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}

.communes {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2; /* deux colonnes */
  column-gap: 1.2rem;
}

.communes li {
  background: none;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: #333;
  position: relative;
}

.communes li::before {
  content: "●";
  color: #FFD600;
  margin-right: 6px;
}

/* ---- Bloc CTA ---- */
.zone-cta {
  background: #fffbea;
  border: 1px solid #fde047;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.zone-cta p {
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFD600;
  color: #000;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-phone:hover {
  background: #E63946;
  color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .zone-grid {
    grid-template-columns: 1fr;
  }

  .communes {
    columns: 2;
  }
}

@media (max-width: 640px) {
  .communes {
    columns: 1;
  }
}


/* ================================
   ⭐ SECTION AVIS CLIENTS
==================================*/

.avis {
  background: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}

.avis h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 0.4rem;
}

.avis .subtitle {
  color: #555;
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ---- Grille ---- */
.avis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
}

/* ---- Carte ---- */
.avis-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  padding: 1.5rem;
  text-align: left;
  max-width: 320px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.avis-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

/* ---- Étoiles ---- */
.stars {
  color: #FFD600;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

/* ---- Texte ---- */
.avis-text {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ---- Nom et lieu ---- */
.avis-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
  margin: 0;
}

.avis-lieu {
  font-size: 0.85rem;
  color: #666;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .avis {
    padding: 3rem 1rem;
  }
  .avis-card {
    text-align: center;
  }
}

/* ================================
   ⚙️ SECTION PROCESS — 6 ÉTAPES
==================================*/

.process {
  background: #f9fafb;
  padding: 4rem 1.5rem;
  text-align: center;
}

.process h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 0.4rem;
}

.process .subtitle {
  color: #555;
  font-size: 1rem;
  margin: 0 auto 3rem;
  max-width: 600px;
}

/* ---- Grille ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1150px;
  margin: 0 auto;
  align-items: start;
  justify-items: center;
}

/* ---- Carte ---- */
.process-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 200px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.08);
}

/* ---- Numéro ---- */
.step-number {
  position: absolute;
  top: -12px;
  left: 12px;
  background: #FFD600;
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ---- Icône ---- */
.step-icon {
  background: #FFD600;
  color: #000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.step-icon i {
  width: 22px;
  height: 22px;
}

/* ---- Titre + texte ---- */
.process-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.4rem;
}

.process-card p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
  margin: 0;
}

/* ---- Flèche entre les étapes ---- */
.process-card::after {
  content: "➜";
  position: absolute;
  right: -18px;
  top: 45%;
  transform: translateY(-50%);
  color: #FFD600;
  font-size: 1.2rem;
}

.process-card:last-child::after {
  content: "";
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .process-card::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .process {
    padding: 3rem 1rem;
  }
}


/* ================================
   📞 SECTION CONTACT
==================================*/

.contact {
  background: radial-gradient(circle at 20% 20%, #0a2463 0%, #06102e 100%);
  color: #fff;
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
}


/* ================================
   ✨ Correction lisibilité Contact
==================================*/

.contact-card {
  color: #f5f6fa; /* texte clair global */
}

.contact-card h3 {
  color: #ffffff; /* titres bien lisibles */
}

.contact-card p {
  color: #d8defa; /* sous-texte légèrement adouci */
}

.small-text {
  color: #bfc8eb; /* texte secondaire (adresse, déplacement...) */
}

/* Boutons plus visibles */
.btn-contact {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: #FFD600;
  color: #000;
}


.contact h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.contact .subtitle {
  color: #cfd3e2;
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 2.8rem;
  line-height: 1.6;
}

/* ---- Grille principale ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
}

/* ---- Carte ---- */
.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.8rem 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

/* ---- Icône ---- */
.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
}

.contact-icon i {
  width: 24px;
  height: 24px;
}

/* ---- Couleurs selon type ---- */
.contact-card.green .contact-icon { background: #1DBF73; }
.contact-card.blue .contact-icon { background: #3B82F6; }
.contact-card.violet .contact-icon { background: #7C3AED; }
.contact-card.red .contact-icon { background: #E63946; }
.contact-card.yellow .contact-icon { background: #FFD600; color: #000; }
.contact-card.gray .contact-icon { background: #9CA3AF; }

/* ---- Textes ---- */
.contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: #dbe0f3;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.small-text {
  display: block;
  font-size: 0.8rem;
  color: #aeb7d6;
}

/* ---- Boutons ---- */
.btn-contact {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.3s;
}

.btn-contact:hover {
  background: #FFD600;
  color: #000;
}

/* ---- Horaires ---- */
.contact-hours {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5rem 1.2rem;
  text-align: center;
  color: #fff;
}

.contact-hours h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.hours-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 0.8rem;
}

.urgence {
  color: #FFD600;
  font-size: 0.9rem;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .contact {
    padding: 3.5rem 1rem;
  }

  .hours-grid {
    flex-direction: column;
    gap: 0.6rem;
  }
}

#color-contact {
  color: white;
}


/* ================================
   ⚡ FOOTER
==================================*/
.footer {
  background-color: #1C1C1C;
  color: #fff;
  padding: 3rem 1rem;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h3,
.footer-col h4 {
  color: #FFD600;
  margin-bottom: 0.8rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #FFD600;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.2rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #bbb;
}

.footer-bottom a {
  color: #FFD600;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #E63946;
}


/* ================================
   🧭 NAVIGATION FLOTTANTE
==================================*/
.floating-nav {
  position: fixed;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  background: #f9fafb;
  border-radius: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  padding: 0.5rem 0.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.floating-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.floating-nav a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #374151;
  transition: all 0.3s ease;
}

.floating-nav a:hover {
  background: #FFD600;
  color: #000;
  transform: scale(1.1);
}

.floating-nav a.active {
  background: #FFD600;
  color: #000;
}

.floating-nav a.phone-link {
  background: #E63946;
  color: #fff;
}

.floating-nav a.phone-link:hover {
  background: #ff4d5e;
}

/* ================================
   📱 VERSION MOBILE (barre du bas)
==================================*/
@media (max-width: 768px) {
  .floating-nav {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    transform: none;
    border-radius: 0;
    flex-direction: row;
    justify-content: space-around;
    padding: 0.5rem 0.3rem;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  }

  .floating-nav ul {
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
  }

  .floating-nav a {
    width: 45px;
    height: 45px;
  }
}
