* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  background-color: #0f172a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.navbar {
  width: 100%;
  max-width: 1200px;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}
.logo {
  display: flex;
  align-items: flex-start;
}
.logo img {
  width: 170px;
  height: auto;
  display: block;
}
.nav-links {
  display: flex;
  list-style: none;
  flex-direction: row;
  gap: 30px;
}

.nav-links a {
  color: #ffffff;
  list-style: none;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #d4a017;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after {
  width: 100%;
}
.mobile-menu-header {
  display: none;
}
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1e293b;
  min-width: 240px;
  padding: 20px 0;
  border-radius: 8px;
  list-style: none;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 2000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 25px 6px;
}

.dropdown-menu li a {
  color: #94a3b8;
  text-transform: none;
  font-size: 15px;
  font-weight: 400;
  display: block;
  padding: 8px 25px;
  width: 100%;
  transition:
    background 0.2s,
    color 0.2s;
}

.dropdown-menu li a:hover {
  background-color: rgba(228, 169, 40, 0.1);
  color: #e4a928;
  padding-left: 30px;
}

.dropdown:hover > a::after {
  width: 0;
}
.open-btn,
.close-btn {
  display: none;
}
.info {
  width: 90%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin: 100px auto;
  align-items: center;
}
.nacelle img {
  width: 100%;
  max-width: 550px;
  display: block;
  margin: auto;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  transition: 0.5s;
}

.nacelle:hover img {
  transform: scale(1.15);
}

.tag {
  display: inline-block;
  background: #e4a92820;
  color: #e4a928;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.information h2 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 20px;
}

.information p {
  color: #d8d8d8;
  line-height: 1.8;
  margin-bottom: 25px;
}

.caractere {
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
}

.caractere li {
  color: #fff;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Tableau */
h3 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 20px;
}
.fiche-technique {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 10px;
}

.fiche-technique tr:nth-child(odd) {
  background: #233146;
}

.fiche-technique tr:nth-child(even) {
  background: #1b2435;
}

.fiche-technique th,
.fiche-technique td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fiche-technique th {
  width: 45%;
  color: #e4a928;
  text-align: left;
}

.fiche-technique td {
  color: #fff;
}
footer {
  padding: 70px 0 40px;
  color: #fff;
}

.footer-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 180px 1fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-logo {
  display: flex;
  align-items: flex-start;
}

.footer-logo img {
  width: 170px;
  height: auto;
  display: block;
}
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h3 {
  color: #ffc23d;
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 18px;
}

.footer-col a {
  color: #d9d9d9;
  text-decoration: none;
  font-size: 17px;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #ffc23d;
  padding-left: 8px;
}

.footer-col p {
  color: #c9c9c9;
  line-height: 1.8;
  font-size: 16px;
}

.footer-bottom {
  width: 100%;
  max-width: 1400px;
  margin: 60px auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  color: #bdbdbd;
}
.footer-bottom a {
  color: #c9c9c9;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #eebd53;
}
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    background-color 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}
@media (max-width: 992px) {
  .info {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .nacelle {
    text-align: center;
  }

  .nacelle img {
    width: 70%;
  }

  .information {
    text-align: center;
  }

  .fiche-technique {
    width: 100%;
  }
}

/* Mobile */

@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .navbar {
    width: 100%;
    padding: 15px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.8); /* Léger fond pour détacher la navbar */
    backdrop-filter: blur(8px);
    border-radius: 12px;
  }

  .logo img {
    width: 120px; /* Taille plus équilibrée sur mobile */
  }

  .open-btn {
    display: block;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .open-btn:hover {
    color: #e4a928;
  }

  /* Menu latéral */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #0b111e;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 30px;
    gap: 25px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-logo {
    width: 110px;
    height: auto;
  }

  .close-btn {
    display: block;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    font-size: 18px;
    color: #fff;
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover {
    color: #e4a928;
    padding-left: 5px;
  }

  .info {
    width: 95%;
    margin: 60px auto;
  }

  .information h2 {
    font-size: 34px;
  }

  .information p {
    font-size: 16px;
  }

  .nacelle img {
    width: 100%;
  }

  .fiche-technique th,
  .fiche-technique td {
    padding: 12px;
    font-size: 14px;
  }
}

/* Petit téléphone */

@media (max-width: 480px) {
  .tag {
    font-size: 12px;
  }

  .information h2 {
    font-size: 28px;
  }

  .caractere li {
    font-size: 14px;
  }

  .fiche-technique th,
  .fiche-technique td {
    font-size: 13px;
    padding: 10px;
  }
  footer {
    padding: 40px 0 20px;
  }

  .footer-container {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-logo img {
    width: 130px;
  }

  .footer-col h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .footer-col a {
    font-size: 15px;
  }

  .footer-bottom {
    margin-top: 30px;
  }
  /* WHATSAPP */
  .whatsapp-btn {
    display: none;
  }
}
@media (max-width: 480px) {
  .logo img {
    width: 100px;
  }
  .nav-links {
    width: 85%;
  }
}
@media (max-width: 480px) {
  .nav-links {
    width: 67%;
  }
}
