html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@font-face {
  font-family: "Adieu";
  src: url("../fonts/Adieu-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f6f0e6;
  color: black;
  text-align: center;
}

strong {
  font-weight: 600;
  color: black;
}

nav {
  display: flex; /* Alignement en ligne */
  align-items: center; /* Centrage vertical des éléments */
  max-width: 1440px;
  padding: 30px;
  font-family: "Adieu", sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin: 0 auto; /* Centrage du nav sur la page */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 35px; /* Espacement entre les liens */
  margin-left: auto; /* Pousse la liste à droite */
}

nav a {
  text-decoration: none;
  color: black;
}

nav ul li a {
  text-decoration: none;
  color: black;
}

nav ul li a:hover {
  font-style: italic;
  transition: 0.05s ease-in-out;
}

.container {
  width: 80%;

  margin: 5px auto;
  text-align: left;
  font-family: "Adieu", sans-serif;
  font-size: 28px;
}

/* 🔹 Section de Présentation */
.feature {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 100px;
}

#firstfeature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 80px;
}

.feature:nth-child(even) {
  flex-direction: row-reverse;
}

.feature img {
  width: 12%;
  margin: 15%;
  margin-top: 0;
  margin-bottom: 0;
}

#ggalerts {
  width: 24%;
  margin: 14%;
  margin-top: 0;
  margin-bottom: 0;
}

#xlogo {
  width: 10%;
  margin: 14%;
  margin-top: 0;
  margin-bottom: 0;
}

.feature-text {
  width: 50%;
  text-align: left;
}

.feature-text h2 {
  font-size: 24px;
  font-family: "Adieu", sans-serif;
  margin-bottom: 10px;
  color: #222;
}

.feature-text p {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

/* 🔹 Responsive */
@media (max-width: 900px) {
  .feature {
    flex-direction: column;
    text-align: center;
  }

  .feature:nth-child(even) {
    flex-direction: column;
  }

  .feature img {
    width: 80%;
    margin-bottom: 20px;
  }

  .feature-text {
    width: 90%;
    text-align: center;
  }
}

@font-face {
  font-family: "Adieu";
  src: url("../fonts/Adieu-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.title {
  font-family: "Adieu", sans-serif;
  font-size: 22px;
  margin-top: -9%;
}

.content {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 5vh;
}

.contact {
  font-family: "Adieu", sans-serif;
  font-size: 18px;
  margin-bottom: 28px;
  font-weight: 700;
  line-height: 30px;
}

.contact ul {
  list-style: none;
  display: flex;
  gap: 35px; /* Espacement entre les liens */
  padding: 0;
  margin: 0;
}

.contact ul li a {
  color: black;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease;
}

.contact ul li a:hover {
  color: #de4c36; /* Changement de couleur au survol */
}

footer {
  font-family: IBM Plex Mono, sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  position: fixed; /* Fixe le footer en bas */
  bottom: 0;
  left: 0;
  width: 100%; /* Largeur complète */
  background-color: black; /* Fond noir */
  color: white; /* Texte blanc */
  text-align: center;
  padding: 15px 0;
}

.footer-content {
  max-width: 1440px; /* Largeur maximale */
  margin: 0 auto; /* Centre le contenu */
  display: flex;
  justify-content: space-between; /* Aligne les éléments à gauche et à droite */
  align-items: center; /* Centre verticalement */
  padding: 0 20px; /* Espacement intérieur */
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

.footer-right ul {
  list-style: none;
  display: flex;
  gap: 35px; /* Espacement entre les liens */
  padding: 0;
  margin: 0;
}

.footer-right ul li a {
  color: white;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-right ul li a:hover {
  color: #f6f0e6; /* Changement de couleur au survol */
}

.menu-burger {
  position: relative;
}

#burger-toggle {
  background: none;
  border: none;
  font-family: "Adieu", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  padding: 2px 0;
}

#burger-toggle i {
  font-size: 14px;
  position: relative;
  top: 1px; /* Ajuste finement l'alignement vertical de l'icône */
}

#burger-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: 1px solid #ccc;
  padding: 10px;
  z-index: 1000;
}

#burger-links a {
  padding: 8px 12px;
  text-decoration: none;
  color: black;
  font-size: 14px;
  font-family: "Adieu", sans-serif;
  text-align: left;
}

#burger-links a:hover {
  background-color: #f1f1f1;
}

#burger-links.burger-show {
  display: flex;
}

.menu-burger-mobile {
  display: none;
}

@media (max-width: 768px) {
  /* NAVBAR */
  nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .desktop-menu {
    display: none;
  }

  .menu-burger {
    display: none; /* version PC uniquement */
  }

  .menu-burger-mobile {
    display: flex;
    position: relative;
    margin-left: auto;
  }

  #mobile-burger {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: black;
    padding-right: 10px;
  }

  #mobile-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    z-index: 1000;

    /* Animation */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
  }

  #mobile-links.burger-show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  #mobile-links a {
    color: black;
    text-decoration: none;
    font-size: 14px;
    font-family: "Adieu", sans-serif;
  }

  .container {
    width: 90%;
    font-size: 22px;
    text-align: left;
  }

  /* FEATURES (cartes outils) */
  .feature,
  .feature:nth-child(even) {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
  }

  .feature img,
  #ggalerts,
  #xlogo {
    width: 70%;
    margin: 0 auto 20px;
    display: block;
  }

  .feature-text {
    width: 95%;
    text-align: left;
  }

  .feature-text h2 {
    font-size: 20px;
  }

  .feature-text p {
    font-size: 15px;
    line-height: 1.6em;
  }

  /* FOOTER */
  .footer-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }
}
