* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

  /* Police principale pour le corps */
body {
  font-family: 'Roboto', sans-serif;
 line-height: 1.6;
}

/* Police pour tous les titres */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;

}
/* nav bar debut */
.navbar {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7) !important;
  color: white;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  position: fixed;
}
main {
  padding-top: 100px;
}
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 15px 30px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .logo img {
      height: 60px;
    }
    .nav-links {
      list-style: none;
      display: flex;
      gap: 20px;
    }
  .nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: rgb(21, 182, 21); /* couleur active */
  font-weight: bold;
}
/* Parent du dropdown */
.dropdown-parent {
  position: relative; /* essentiel pour positionner le dropdown */
  z-index: 1000;     /* assure que le menu reste au-dessus des sections */
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;         /* juste en dessous du lien parent */
  left: 0;
  background-color: rgba(0, 0, 0, 0.95);
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 180px;
  display: none;
  flex-direction: column;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Liens dans le dropdown */
.dropdown li a {
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  display: block;
  font-size: 15px;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Hover sur les liens */
.dropdown li a:hover {
  background-color: rgb(21, 182, 21);
  color: white;
}

/* Affichage au survol du parent */
.dropdown-parent:hover .dropdown {
  display: flex;
}

.cta-nav {
  background: rgb(213, 7, 7);
  padding: 10px 20px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  
}
/* nav bar fin */


/* whatsapp debut */
   
  .whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  border-radius: 50%;
  padding: 12px;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.whatsapp-icon {
  width: 60px;
  height: 60px;
}
/* whatsapp fin */
/* === SLIDER / CAROUSEL === */
.slider {
  position: relative;
  overflow: hidden;
  height: 100vh; /* prend toute la hauteur de l'écran */
  width: 100%;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
  width: 100%;
}

.carousel-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* image toujours couverte et centrée */
  display: block;
}

/* Caption (texte sur l’image) */
.slide-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
}

.slide-caption h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.slide-caption p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

/* Bouton d’action (CTA) */
.cta {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgb(21, 182, 21);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  z-index: 2;
}

/* Boutons de navigation */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  z-index: 2;
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }




.servicese {
      padding: 80px 20px;
      background-color: #f5f7fa;
      text-align: center;
    }
    .servicese h2 {
      font-size: 36px;
      margin-bottom: 40px;
      color: #003049;
    }
    .servicee-list {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 30px;
    }
    .servicee {
      background-color: #ffffff;
      padding: 30px 20px;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
      max-width: 300px;
      flex: 1 1 280px;
      transition: transform 0.3s ease;
    }
    .servicee:hover {
      transform: translateY(-5px);
    }
    .servicee h3 {
      font-size: 22px;
      color: #0077b6;
      margin-bottom: 10px;
    }
    .servicee p {
      font-size: 16px;
      color: #333;
    }
    .servicee {
  opacity: 0;
  transform: scale(0.3);
  transition: transform 0.6s cubic-bezier(0.22, 1.61, 0.36, 1), opacity 0.5s ease-out;
  will-change: transform, opacity;
}
.servicee.visible {
  opacity: 1;
  transform: scale(1);
}
/* page acceuil fin */


/* page apropos debut */







    .ctaé{
      display: inline-block;
      background: rgb(21, 182, 21);
      color: #fff;
      padding: 12px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s ease;
      margin-top: 10px;
      margin-left: 570px;

    }
   
    






.containere {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
  background:white;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(1,1,1,1.1);
}
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-in-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}




h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #001f3f;
  text-align: center;
}



.pas{
  font-size: 20px;
}






    
    


 





























/* Page réalisations */
.page-realisations {
  padding-top: 80px;
  max-width: 1200px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-realisations h1,
.page-realisations h2 {
  text-align: center;
  color: #001f3f;
  margin-bottom: 40px;
}

/* BEFORE/AFTER GALLERY */

.before-after-containeri {
  margin-bottom: 50px;
}

.before-after {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
  cursor: ew-resize;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.before-after img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  transition: none;
  border-radius: 10px;
}

.before-img {
  z-index: 1;
}

.after-img {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slidere-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: rgb(21, 182, 21);
  z-index: 3;
  cursor: ew-resize;
  transition: background 0.3s ease;
}










/* ======= PAGE CONTACT ======= */
.page-contact {
  padding-top: 80px;
}

.contact-hero {
 background: url('contact.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.contact-containero {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.contact-form,
.contact-info {
  flex: 1 1 450px;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-form h2,
.contact-info h2 {
  margin-bottom: 20px;
  color: #001f3f;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  background: rgb(21, 182, 21);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}



.contact-info p {
  margin-bottom: 12px;
  font-size: 15px;
}

.contact-info a {
  color: rgb(21, 182, 21);
  text-decoration: underline;
}

.map {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}









.hidden {
  display: none;
}



/* =========================
   RESPONSIVE GLOBAL FIX
   ========================= */

@media (max-width: 1024px) {

  .container {
    padding: 15px 20px;
  }

  .slide-caption h1 {
    font-size: 28px;
  }

  .slide-caption p {
    font-size: 16px;
  }
}

/* =========================
   MOBILE NAVBAR
   ========================= */

@media (max-width: 768px) {

  .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
    background: rgba(0,0,0,0.95);
    padding: 10px 0;
  }

  .nav-links li {
    padding: 12px 20px;
  }

  .nav-links.nav-active {
    display: flex;
  }

  .logo img {
    height: 50px;
  }
}

/* =========================
   SLIDER MOBILE FIX
   ========================= */

@media (max-width: 768px) {

  .slider {
    height: 70vh;
  }

  .slide-caption {
    width: 90%;
    padding: 15px;
  }

  .slide-caption h1 {
    font-size: 20px;
  }

  .slide-caption p {
    font-size: 14px;
  }

  .cta {
    padding: 10px 20px;
    font-size: 14px;
    bottom: 20px;
  }
}

/* =========================
   SERVICES MOBILE
   ========================= */

@media (max-width: 768px) {

  .servicee-list {
    flex-direction: column;
    align-items: center;
  }

  .servicee {
    width: 100%;
    max-width: 90%;
  }
}

/* =========================
   CONTACT PAGE MOBILE
   ========================= */

@media (max-width: 768px) {

  .contact-containero {
    flex-direction: column;
  }
}

/* =========================
   BEFORE / AFTER MOBILE
   ========================= */

@media (max-width: 768px) {

  .before-after {
    max-width: 100%;
  }
}

/* =========================
   WHATSAPP BUTTON MOBILE
   ========================= */

@media (max-width: 768px) {

  .whatsapp-icon {
    width: 45px;
    height: 45px;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }
}

/* =========================
   SMALL PHONES (TRÈS IMPORTANT)
   ========================= */

@media (max-width: 480px) {

  .slide-caption h1 {
    font-size: 18px;
  }

  .slide-caption p {
    font-size: 13px;
  }

  .cta {
    font-size: 12px;
    padding: 8px 15px;
  }
}








