* {
  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 */
}

  h1 {
    font-size: 3.5em;
    color: #242424;
    font-family: 'Montserrat', sans-serif;
  }
  
  h2 {
    color: #242424;
    font-family: 'Montserrat', sans-serif;
  }




a {
  color: #242424;
  text-decoration: none;
}


.tabl1{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}





.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;
}

.resume{
  padding-bottom: 3%;
  padding-top: 3%;
}

.resume h3{
  font-size: 1.2em;
  font-weight: lighter;
  font-family: 'Manrope', sans-serif;
  text-align:justify;
  width: 65%;
  margin: auto;
}


.pcg{
  display: flex;
  flex-direction: column;
  background-color: #242424;
  padding-top: 2.5%;
}

.pcg h1{
  color: #FFCC00;
  text-align: center;
  padding-top: 1%;
  padding-bottom: 1%;
  font-weight: normal;
  font-size: 2em;
}



.t{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.t1{
  align-items: center;
  width: 25%;
  height: auto;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 2%;
  padding-bottom: 3%;
}

.t1 h3{
  text-align: justify;
  font-size: 1.2em;
  color: white;
  font-weight: lighter;
}

span{
    color: #FFCC00;
}

.sp h1{
  color: #FFCC00;
  padding-left: 17.5%;
  padding-top: 2%;
  padding-bottom: 2%;
  font-weight: normal;
  font-size: 2.1em;
}

.sp h3{
  font-weight: lighter;
  font-size: 1.2em;
width: 65%;
text-align: justify;
margin: auto;

}


.grosconteneur {
  position: relative;
  width: 100vw;
  height: 75vh;
}

#bordure {
  border: 2px solid #000000;
  z-index: 0;
}

/* Engrenages */
.engrenage1, .engrenage2, .engrenage3, .engrenage4 {

  background-color: white;
  z-index: 1;
}



/* Textes */
.text1, .text2, .text3, .text4 {
  width: 22vw;
  background-color: white;
  padding: 1vh 1vw;
  z-index: 2;
  font-family: 'Manrope', sans-serif;
  font-weight: lighter;
  font-size: 1vw;
  line-height: 1.4em;
  text-align: left;
}

.grosconteneur > div {
  position: absolute;
}

.grosconteneur img {
  width: 7vw;
  height: auto;
}

.grosconteneur h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: lighter;
  font-size: 1.1vw;
  line-height: 1.2em;
  background-color: white;
  padding: 1vh 1vw;
}

.grosconteneur mark {
  color: #FFCC00;
  background-color: white;
}


.padding{
  padding: 10px;
}

.ast{
  background-image: url('images/nightfactory.jpg');
  width: 100%;
 
}

.ast h2{
  color: white;
  text-align:left;
  margin: auto;
  width: 65%;
  font-size: 1.5em;
  padding-top: 3%;
  padding-bottom: 3%;
  font-weight: lighter;
}

.fin{
  position: relative;
  padding-bottom: 4%;
}

.fin h2{
  padding-left: 17.5%;
  font-size: 2em;
  font-weight: normal;
  color: #FFCC00;
  padding-top: 2%;
  padding-bottom: 2%;
}

.fin h3{

width: 65%;
  font-weight: lighter;
  font-size: 1.2em;
  text-align: justify;
  margin: auto;

}

.fin mark{
  background-color: white;
  color: black;
  font-weight: bold;
}

.contact2{
  display: flex;
  justify-content: center;
  margin-top: 1%;
}

.cta2 {
  background: linear-gradient(#FFCC00, #ffd53c);
  color: rgb(0, 0, 0);
  border-radius: 50px;
  width: 14vw;
  display: inline-block;
  text-align: center;
  padding: 1%;
}

.cta2:hover {
  background: linear-gradient(#fddf70, #fde795);
  text-decoration: none;
}


  /*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;
  }
}

