
    :root {
      --primary-color: rgb(14, 49, 83); /* Bleu foncé */
      --accent-color: rgb(230, 158, 66);  /* Orange bouton */
      --light-bg: #ffffff;
    }

    body {
      margin: 0;
      font-family: 'El Messiri', sans-serif;
      background:#FFFCF6;
    }

    header {
      background:#FFFCF6;
      color: var(--primary-color);
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      border-bottom: 1px solid #ddd;
    position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
    }
p{
    font-family: 'PT Sans', sans-serif;
    }


    header h1 {
      font-size: 1.5rem;
      color: var(--primary-color);
    }

    .nav-wrapper {
      display: flex;
      align-items: center;
      gap: 2rem;
      flex-wrap: wrap;
      transition: max-height 1.4s ease, opacity 1.4s ease;
    }

    nav {
      display: flex;
      gap: 1rem;
      align-items: center;
    }

    nav a {
      color: var(--primary-color);
      text-decoration: none;
      padding: 0.5rem;
      transition: color 0.3s ease;
    }
.envelopeicon{
  color: var(--primary-color);
  font-size:2rem;
}
    nav a:hover {
      color: var(--accent-color);
    }

    /* Dropdown styles */
    .dropdown {
      position: relative;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: white;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      z-index: 1000;
      min-width: 180px;
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.8s ease, transform 0.8s ease;
      pointer-events: none;
    }

    .dropdown:hover .dropdown-content,
    .dropdown.open .dropdown-content {
      display: block;
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .dropdown-content a {
      display: block;
      padding: 0.75rem 1rem;
      color: var(--primary-color);
      text-decoration: none;
      white-space: nowrap;
    }

    .dropdown-content a:hover {
      background-color: var(--accent-color);
      color: white;
    }

    /* Button */
    .btn-devis{
      background: var(--primary-color);
      color: white;
      border: none;
      padding: 1rem 1.2rem;
      border-radius: 10px;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.3s ease;
      text-decoration: none;
    }

    .btn-devis:hover {
      background: rgba(14, 48, 83, 0.89);
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--primary-color);
    }

    .logo{
        width: 200px;
        height:80px;
        object-fit:cover;
    }



/* DESKTOP (> 992px) : rien ne change */


/* VERSION MOBILE */
@media (max-width: 992px) {
  .menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
  }

  .dropdown {
    width: 100%;
  }

  .dropdown > a {
    display: block;
    width: 100%;
    padding: 0.8rem 0;
    text-align: left;
  }



  .nav-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFCF6;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.8s ease, opacity 0.8s ease;
    z-index: 999;
  }

  .nav-wrapper.active {
    max-height: 500px;
    opacity: 1;
  }

  nav {
    flex-direction: column;
    width: 100%;
  }

  nav a {
    width: 100%;
    padding: 0.8rem 0;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
  }

  .dropdown.open .dropdown-content {
    display: block;
    opacity: 1;
    transform: none;
  }

  .btn-devis {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }
}











/* //section 2 */
















 .about {
  padding: 4rem 2rem;
   background:#FFFCF6;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  
}

.about-left {
  flex: 1 1 50%;
  min-width: 280px;
}

.about-right {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Animation initiale désactivée */
.animate-left,
.animate-right {
  opacity: 0;
  transition: all 1s ease;
}

.animate-left {
  transform: translateX(-50px);
}

.animate-right {
  transform: translateX(50px);
}

/* Quand visible : active l’animation */
.animate-left.active,
.animate-right.active {
  opacity: 1;
  transform: translateX(0);
}







.about-container .about-left h2 {
  color: var(--accent-color);
  font-size: 1.5rem;
  position: relative;
  
}

.about-container .about-left h1 {
  color: var(--primary-color);
  font-size: 3rem;
}

.about-container .about-left img {
  width: 200px;
  height: 20px;
  object-fit: cover;
}

.about-container .about-left p {
  color: rgba(3, 3, 3, 0.56);
  line-height: 1.6;
  font-family: 'PT Sans', sans-serif;
  margin-bottom: 2rem;
}

.about-container .about-left ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.about-container .about-left ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #333;
}

.about-container .about-left ul i {
  color: var(--accent-color);
  font-size: 10px;
}

.about-right img {
  max-width: 100%;
  height:auto;
}

.about {
  padding: 4rem 2rem;
   background:#FFFCF6;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  
}

.about-left {
  flex: 1 1 50%;
  min-width: 280px;
}

.about-right {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container .about-left h2 {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.about-container .about-left h1 {
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: 1rem;
}


.about-container .about-left p {
  color: rgba(3, 3, 3, 0.56);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-container .about-left ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.about-container .about-left ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #333;
}

.about-container .about-left ul i {
  color: var(--accent-color);
  font-size: 10px;
}

.about-right img {
  max-width: 100%;
  height: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
  }

  .about-left, .about-right {
    flex: 1 1 100%;
  }

  .about-container .about-left ul {
    justify-content: center;
    text-align: left;
  }

  .about-container .about-left ul li {
    justify-content: flex-start;
  }
}


/* services section *//* services section */
/* services section *//* services section */
/* services section *//* services section */
.services{
  padding: 6rem 2rem;
  background-color:#FAF0E0;
  text-align: left;
}
 .processus{
  padding: 6rem 2rem;
  text-align: left;
}
.services .intro , .processus .intro{
  text-align:center;
}
.services .intro img,.processus .intro img{
  width: 200px;
  height: 20px;
  object-fit: cover;
  position: relative;
  top: -20px;
}
.services h2 , .processus h2{
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.services h1, .processus h1{
margin-top:-15px;
  font-size: 3rem;
   color: var(--primary-color);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #f9f9f9;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: #444;
  font-size: 1rem;
   font-family: 'PT Sans', sans-serif;
  line-height: 1.6;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}


.services-footer {
  text-align: center;
  margin-top: 2rem;
}

.btn-see-all {
      background: var(--primary-color);
      color: white;
      border: none;
      padding: 1.5rem 4rem;
      border-radius: 10px;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.3s ease;
      text-decoration: none;
      position: relative;
      top:50px;
}

.btn-see-all:hover {
  background-color: rgb(15, 26, 71); /* légèrement plus foncé */
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services h2 {
    font-size: 1.6rem;
  }

  .service-card {
    padding: 1.5rem;
  }
}



.service-card {
  background: #f9f9f9;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card img {
  
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.service-text {
  padding: 1.5rem;
  flex-grow: 1;
}

.service-text h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.service-text p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}



/* nos engagements */
/* nos engagements */
/* nos engagements */
.engagements {
  padding: 5rem 2rem;
  text-align: center;
}
.engagements.intro{
  text-align:center;
}
.engagements .intro img{
   width: 200px;
  height: 20px;
  object-fit: cover;
  position: relative;
  top: -20px;
}
.engagements h2 {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.engagements h1{

   margin-top:-15px;
  font-size: 3rem;
   color: var(--primary-color);
}


.engagements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.engagement-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.engagement-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.engagement-item h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.engagement-item p {
  font-size: 1rem;
  color: #555;
  max-width: 260px;
    font-family: 'PT Sans', sans-serif;
}

/* galery */
/* galery */
/* galery */
.gallery {
  padding: 6rem 2rem; /* identique à .services pour cohérence */
 
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  display: block;
}

.gallery-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.gallery-row img {
  flex: 1 1 48%;
  max-width: 100%;
  width: 100%;
  height: 250px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.gallery-row img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .gallery-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .gallery-row img {
    flex: 1 1 100%;
    height: 200px;
  }
}


/* avis clients */
/* avis clients */
/* avis clients */



.testimonial-carousel {
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  
}

.testimonial-carousel{
  padding: 4rem 2rem;
  text-align: center;
 
}
.testimonial-carousel .intro{
  text-align:center;
}
.testimonial-carousel  .intro img{
   width: 200px;
  height: 20px;
  object-fit: cover;
  position: relative;
  top: -20px;
}
.testimonial-carousel  h2 {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.testimonial-carousel  h1{
   margin-top:-15px;
  font-size: 3rem;
   color: var(--primary-color);
} 





.carousel-wrapper {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.8s ease;
  will-change: transform;
}

.testimonial-slide {
  min-width: 100%;
  padding: 2rem;
  box-sizing: border-box;
  border-radius: 12px;
  text-align: center;

 

}

.testimonial-profile {
  display: flex;
  justify-content:center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  text-align: left;


}

.testimonial-name {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.testimonial-stars {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.testimonial-message {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  font-style: italic;
  margin-top: 1rem;
   font-family: 'PT Sans', sans-serif;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: none;
  border: none;
    color: var(--accent-color);
  cursor: pointer;
  z-index: 100;
  transition: color 0.3s ease;
  padding: 10px;
}

.carousel-btn:hover {
  color: var(--accent-color);
}

.carousel-btn.left {
  left: -10px;
}

.carousel-btn.right {
  right: -10px;
}

@media (max-width: 768px) {
  .testimonial-slide {
    padding: 1.5rem;
  }

  .testimonial-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .testimonial-info {
    align-items: center;
  }

  .testimonial-message {
    text-align: center;
  }
}



/* footer */
.site-footer {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 2rem 2rem;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  align-items:center;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h4 {
  color: var(--accent-color);
  /* color: white; */
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-column p {
  margin-bottom: 0.6rem;
  color: #ddd;
  font-size: 0.95rem;
   font-family: 'PT Sans', sans-serif;
}

.footer-column i {
  margin-right: 0.5rem;
  color: var(--accent-color);
  /* color: white; */
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #ccc;
}
.footer-logo {
  width: 200px;
  object-fit: contain;/* adapte pour fond foncé */
}


/* Loader container */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Spinner animation */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--primary-color);
  border-top: 5px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Spin animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hidden state */
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}







/*- Screen Sizes*/
/*import fonts*/
/*media queries*/
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}



.wrapper {
  margin: 3.125em auto;
  padding: 1em 5em 1em;
  max-width: 1000px;
}



/* - &:nth-child(1) {
			 grid-area: entry1;
		 }
   - useful timesaver if there is a lengthy list
*/
.timeline {
  line-height: 1.5em;
  font-size: 14px;
  transition: all 0.4s ease;
  position: relative;
  counter-reset: section;
}
.timeline:before {
  content: "";
  width: 10px;
  height: 100%;
    background: var(--accent-color);
  position: absolute;
  top: 0;
  left: -3.313em;
  border-radius: 40px 40px;
}

.timeline--entry {
  position: relative;
  background-color: #eeeeee;
}
.timeline--entry__title {
   /* background-color: #dddddd28; */
  font-family: "Oswald", Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--accent-color);
  padding: 1em;
  font-family: 'El Messiri', sans-serif;
}



/* .timeline--entry__title:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  position: absolute;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  left: -1em;
  border-right: 10px solid #ec407a;
} */
.timeline--entry__detail {
  /* background-color: #dddddd7a; */
  padding: 1em;
  margin: 0;
  font-family: 'PT Sans', sans-serif;
}
.timeline--entry:before {
  content: "";
  font-family: "Oswald", Georgia, Cambria, "Times New Roman", Times, serif;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3em;
  height: 3em;
  background: var(--accent-color);
  border: 0.2em solid white;
  border-radius: 50%;
  position: absolute;
  counter-increment: section;
  content: counter(section);
  text-shadow: 0 1px 0 #424242;
  left: -4.5em;
}

@supports (display: grid) {
  @media (min-width: 768px) {
    .timeline {
      display: grid;
      grid-gap: 4.75em;
      grid-template-areas: ".  entry1" "entry2  ." ". entry3" "entry4 ." ". entry5";
    }
    .timeline:before {
      left: 49.5%;
    }

    .timeline--entry:nth-child(1) {
      grid-area: entry1;
    }
    .timeline--entry:nth-child(2) {
      grid-area: entry2;
    }
    .timeline--entry:nth-child(3) {
      grid-area: entry3;
    }
    .timeline--entry:nth-child(4) {
      grid-area: entry4;
    }
    .timeline--entry:nth-child(5) {
      grid-area: entry5;
    }
    .timeline--entry:nth-of-type(odd):before {
      left: -3.8em;
    }
    .timeline--entry:nth-of-type(even):not(:nth-of-type(odd)) .timeline--entry__title:before {
      left: 100%;
      border-left: 10px solid #ec407a;
      border-right: 0;
    }
    .timeline--entry:nth-of-type(even):before {
      left: 103%;
    }
  }
}











.calendar-date.disabled {
  background-color: #ddd;
  cursor: not-allowed;
}
.calendar-date.selected {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}
