* {
    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 */
}


  main h1{
    font-size: 2em;
    color: #FFCC00;
    font-weight: lighter;
    
  }

  main h2{
    display: flex;
    flex-direction: column;
    font-size: 1.5em;
    font-weight: lighter;
    color: #FFCC00;
    padding-bottom: 2%;
    padding-top: 2%;
  }


  ul{
    font-weight: lighter;
    padding-left: 5%;
  }



.habillage {
    color: #242424;
    text-decoration: none;
    padding-bottom: 1%;
    padding-top: 1%;
  }


main{
  padding-top: 10%;
  width: 65%;
  margin: auto;
}

a {
  color: #242424;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  main {
    padding-top: 100px;
  }
}

/*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;
  }
}

