* {
    margin: 0;
  }
  
  body {
    font-family: 'Manrope', sans-serif;
 
    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;
  }
  

.debut {
  position: relative;
  width: 100%;

  height: 70vh;
  overflow: visible;
}

.bk {
  position: relative;
  width: 100%;
  height: 70vh;
}

.pneu img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.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;
}

.card2 p{
  text-align: justify;
}



.A2 h3{
  font-size: 1.2em;
  padding-top: 4%;
  padding-bottom: 4%;
  width: 65%;
  margin: auto;
  font-weight: normal;
  text-align: justify;
}


    .section {
      padding: 60px 20px;
    }
    .dark {
      background-color: #333333;
      color: #fff;
    }
    .light {
      background-color: #333333;
      color: #333333;
    }
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: auto;
    }


        .card2 a:hover{
      text-decoration: none;
    }

        .card2 {
      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: 25px;
      text-decoration: none;
      color: #333333;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 0.3s, box-shadow 0.3s;
      animation: fadeInUp 0.8s ease both;
    }

  .card2 h2{
    color:#FFCC00;
  }

.card2 img {
  transition: all 0.3s ease;
}


@keyframes pulseSoft {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
}

.card2:hover img {
  animation: pulseSoft 2s ease-in-out infinite;;
}

    .card2:hover{
      transform: translateY(-6px);
      box-shadow: 0 2px 10px rgb(255, 255, 255);
    }
    .icon {
      height: 150px;
      
      object-fit: contain;
    }
    .fa-icon {
      font-size: 50px;
      color: #FFCC00;
      margin-bottom: 20px;
    }

    p {
      margin: 0 0 10px 0;
      line-height: 1.5;
    }
    .applications {
      font-style: italic;
      font-size: 14px;
    }
    .btn {
      margin-top: auto;
      display: inline-block;
      padding: 10px 15px;
      background-color: #FFCC00;
      color: #333333;
      text-align: center;
      border-radius: 6px;
      font-weight: bold;
      text-decoration: none;
      margin-top: 20px;
      transition: background-color 0.2s;
    }
    .btn:hover {
      background-color: #e6b800;
    }


    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  
    .card h2 {
      color: #FFCC00;
      position: relative;
      padding-bottom: 10px;
    }
    .card h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 3px;
      background-color: #FFCC00;
      border-radius: 2px;
    }
    .applications strong {
      color: #FFCC00;
    }
    .applications {
      font-style: italic;
      color: #b1b1b1;
    }

.plus {
  padding-top: 5%;
}

.plusbk {
  background-image: url('images/fondomaine2.jpg');
  background-size: cover;
  background-position: center;
  height: 25vh;
  width: 100%;
  position: relative;
  overflow: visible; /* permet au texte de déborder */
}

/* Bloc texte qui mord vers le haut */
.plustext {
  position: absolute;
  top: -35%; /* déporte vers le haut */
  left: 0;
  background-color: rgba(51, 51, 51, 0.85);
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
  padding: 2% 3%;
  width: 80%;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.plustext h2 {
  color: #FFCC00;
  font-size: 2em;
  margin: 0;
}

.plustext h3 {
  color: white;
  font-size: 1.2em;
  margin-top: 0.5em;
  font-weight: lighter;
}

.plustext a.btn {
  display: inline-block;
  margin-top: 1em;
  padding: 0.5em 1em;
  background-color: #FFCC00;
  color: black;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}


/*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;
  }
}

