* {
    margin: 0;
  }
  
  body {
    font-family: 'Manrope', sans-serif;
    font-size: 1em;
    background-color: #ffffff;
  }

   body, html {
    overflow-x: hidden; /* À utiliser avec précaution et comme solution temporaire */
}
  
  a {
    color: #242424;
    text-decoration: none;
  }
  

  
  h1 {
    font-size: 3.5em;
    color: #242424;
    font-family: 'Montserrat', sans-serif;
  }
  

  
  p, li {
    font-size: 1.1em;
    color: #242424;
  }
  
  
.fondnous{
    max-width: 100%; 
    height: auto; 
  }






.debut {
  position: relative;
  width: 100%;

  height: 70vh;
  overflow: visible;
}

.bk {
  position: relative;
  width: 100%;
  height: 70vh;
}


.parag0,
.parag {
  position: absolute;
  width: 39vw;
  height: 25vh;
  left: 61.5%;
  top: 47vh;
}

.parag0 {
  background-color: #333333;
  opacity: 0.7;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  z-index: 1;
}

.parag {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: solid 2px #FFCC00;
    border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  z-index: 2;
  background-color: transparent; 
}

.parag2 h2 {
  font-size: 2.6vw;
  font-weight: lighter;
  color: #FFCC00;
  padding-bottom: 2%;
  font-family: 'quicksand', sans-serif;
}

.parag2 h3 {
  font-size: 1.3vw;
  font-weight: lighter;
  font-family: 'Manrope', sans-serif;
  color: white;
}

.pneu video{
  position: absolute;
 object-fit: cover;
  
  overflow: hidden;


  width: 100%;
  height: 100%;

}



.info h1{
  color: #FFCC00;
  font-weight: normal;
  font-size: 2em;
  padding-left: 10%;
  font-family: 'Montserrat', sans-serif;
 
}

.info1{
 
  padding-top: 2%;
   background-color: #242424;
  padding-bottom: 2%;
}




.devis{
  display: flex;
  justify-content: right;
  padding-right: 40px;
  padding-bottom: 40px;
}



.info2{
   padding-bottom: 2%;
  padding-top: 2%;
}

.prestations {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 40px 150px;
      margin-top: 50px;
      padding-bottom: 40px;
      padding-left: 200px;
      padding-right: 200px;
    }


    .prestation-item {
      background-color: #fff;
      border-top: 4px solid #FFCC00;
      border-right: 2px solid #FFCC00;
      border-bottom: 2px solid #FFCC00;
      border-left: none;
      border-radius: 16px;
      padding: 20px;
      color: #333;
      display: flex;
      flex-direction: column;
     
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .prestation-item:hover {
      transform: translateY(-6px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }


.prestation-item img{
  width : 20%;
  height: auto;
}



.k1{
  padding-top: 2%;
  padding-bottom: 2%;

}

.carousel-3d {
  position: relative;
  width: 800px;
  height: 500px;
  perspective: 1000px;
  margin: auto;
}

.carousel-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.6s ease;
  z-index: 1;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 5%;
}

/* Slide active (au centre) */
.carousel-slide.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
  
}

/* Slide à droite */
.carousel-slide.right {
  transform: translate(60%, -50%) scale(0.8) ;
  opacity: 0.6;
  z-index: 2;
}

/* Slide à gauche */
.carousel-slide.left {
  transform: translate(-160%, -50%) scale(0.8) ;
  opacity: 0.6;
  z-index: 2;
}

/* Boutons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: none;
  color: #FFCC00;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 25%;
  z-index: 10;
}

.carousel-btn.prev {
  left: -250px;
}

.carousel-btn.next {
  right: -250px;
}

.carousel-btn:hover {
  transition: ease-in-out 0.3s;
    background: rgba(36, 36, 36, 0.9);
}

.slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.caption {
  position: absolute;
  bottom: -55px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 5;
}

.carousel-slide.active .caption {
  opacity: 1;
}


@media screen and (max-width: 1250px) {
  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }

  .carousel-btn {
    font-size: 1.5rem;
    padding: 8px;
  }
}

@media screen and (max-width: 768px) {
  .carousel-3d {
    width: 100%;
    height: auto;
  }

  .carousel-slide img {
    width: 100%;
    height: auto;
  }

  .carousel-btn {
    font-size: 1.2rem;
    padding: 6px;
  }

  .carousel-btn.prev {
    left: 5px;
  }

  .carousel-btn.next {
    right: 5px;
  }

  .caption {
    font-size: 0.9em;
    padding: 8px 12px;
  }
}

/*Header*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  height: 150px;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 100;
  object-fit: contain;
  display: flex;
  align-items: center;
}

header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 55%;
  width: 45%;
  height: 1px;
  background-color: #FFCC00;
}

.cta {
  background: linear-gradient(#FFCC00, #ffd53c);
  color: rgb(0, 0, 0);
  border-radius: 30px;
  padding: 10px 20px;

  transition: background 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

.logo-link img {
  height: 100px;
  width: auto;
  max-height: 100%;
  display: block;
}

.cta:hover {
  background: linear-gradient(#fddf70, #fde795);
  text-decoration: none;
}

nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

nav > div {
  display: flex;
  align-items: center;
  gap: 20px;
}


nav a {
  font-size: 1em;
  color: #242424;
  text-decoration: none;
  padding: 10px 15px;
  white-space: nowrap;
}


header img {
  width: 12%;
  height: 12%;
}

/* Responsive Header */
@media screen and (max-width: 1024px) {
  nav a:not([href="index.html"]):not(.cta) {
    display: none;
  }

  .cta {
    padding: 8px 16px;
 
  }

  nav a[href="index.html"] {

    padding: 8px 14px;
  }

  .logo-link img {
    height: 45px;
  }

  header {
    height: 65px;
  }
}

@media screen and (max-width: 768px) {
  .cta {

    padding: 6px 12px;
  }

  nav a[href="index.html"] {

    padding: 6px 12px;
  }

  .logo-link img {
    height: 40px;
  }

  header {
    height: 60px;
  }
}

/*Footer*/
footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 55%;
  width: 45%;
  height: 1px;
  background-color: #FFCC00;
}

footer {
  background-color: white;
  padding: 1% 4%;
  position: sticky;  
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

footer .B1 {
  width: 8%;
  height: 8%;
  padding-right: 6%;
}

.infooter {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.infooter2 {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.B2 {
  width: 20%;
  height: auto;
}

.infooter h3 {
  color: #FFCC00;
  font-size: 1em;
  font-weight: normal;
}

.infooter h2 {
  font-weight: lighter;
  font-size: 0.9em;
}

.formulaire {
  color: #FFCC00;
}

.menfooter {
  display: flex;
  flex-direction: column;
  padding-left: 40px;
}

.lien-icone:hover {
  opacity: 0.5;
}

/* Responsive Footer - Au zoom, tout se met à la ligne */
@media screen and (max-width: 1024px) {
  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 30px;
  }
  
  footer::before {
    right: 40%;
    width: 60%;
  }
  
  .infooter {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
  }
  
  .infooter2 {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 15px;
  }
  
  footer .B1 {
    width: 60px;
    height: auto;
    padding-right: 0;
    margin-bottom: 10px;
  }
  
  .txtfoot {
    text-align: left;
    margin-bottom: 15px;
  }
  
  .menfooter {
    padding-left: 0;
    margin-top: 10px;
  }
  
  .lien-icone {
    margin-top: 15px;
    align-self: center;
  }
}

@media screen and (max-width: 768px) {
  footer {
    padding: 15px 20px;
  }
  
  .infooter h3 {
    font-size: 0.9em;
  }
  
  .infooter h2 {
    font-size: 0.8em;
  }
  
  .formulaire {
    font-size: 0.8em;
  }
  
  .B2 {
    width: 15px;
    height: auto;
  }
  
  .menfooter a {
    font-size: 0.8em;
  }
}

.cta2 {
  background: linear-gradient(#FFCC00, #ffd53c);
  color: rgb(0, 0, 0);
  border-radius: 50px;
  padding: 20px 30px;
  width: 10%;
  justify-content: center;
  display: flex;
  align-items: center;
  margin: auto;
}
.cta2:hover {
  background: linear-gradient(#fddf70, #fde795);
  text-decoration: none;
}
