/* Import de la police Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Style global */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0b0b0b; /* Fond sombre */
  color: #f5f5f5; /* Texte clair */
  line-height: 1.6;
}

/* Header */
header {
  background-color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #FFD700; /* Ligne jaune branding */
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

header .logo img {
  height: 80px; /* Logo agrandi */
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  text-decoration: none;
  color: #f5f5f5;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 1.05em;
}

header nav ul li a:hover {
  color: #FFD700; /* Jaune MelBet */
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  background-size: cover;
  background-position: center;
  color: #fff; /* Texte blanc sur bannière */
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 15px;
  color: #FFD700;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
}

.hero-content p {
  font-size: 1.3em;
  max-width: 700px;
  margin: 0 auto 25px auto;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Bouton CTA ("Join Now" / "Become a Partner") */
.cta-button {
  display: inline-block;
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  padding: 14px 35px;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #FFD700;
  color: #0b0b0b;
}

/* Why Join Section */
.why-join {
  padding: 60px 10%;
  text-align: center;
  background-color: #1a1a1a;
}

.why-join h2 {
  color: #FFD700;
  font-size: 2.2em;
  margin-bottom: 35px;
  font-weight: 700;
}

.benefits {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.benefit {
  flex: 1 1 260px;
  background-color: #222;
  border: 1px solid #333;
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  color: #ddd;
}

.benefit:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.6);
}

.benefit img {
  width: 80px;
  margin-bottom: 20px;
}

.benefit h3 {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 12px;
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 70px 20px;
  background-color: #111;
  color: #fff;
}

.cta h2 {
  font-size: 2.2em;
  color: #FFD700;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2em;
  max-width: 650px;
  margin: 0 auto 25px auto;
}

/* Footer */
footer {
  background-color: #111;
  text-align: center;
  padding: 25px;
  color: #ccc;
  font-size: 0.95em;
  border-top: 3px solid #FFD700;
}

footer a {
  color: #FFD700;
  text-decoration: none;
  margin: 0 6px;
  font-weight: 600;
}

footer a:hover {
  color: #fff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .benefits {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  header nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .hero-content h1 {
    font-size: 2.2em;
  }

  .cta-button {
    font-size: 1.1em;
    padding: 12px 28px;
  }
}

/* Header style (mode sombre) */
.main-header {
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-header .logo img {
  height: 55px;
}

/* Bouton Se Connecter */
.btn-connect {
  background-color: #FFD700;
  color: #000;
  padding: 8px 18px;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}
.btn-connect:hover {
  background-color: #e6c200;
}

/* Sélecteur de langue */
.lang-select {
  cursor: pointer;
  font-weight: bold;
  color: #fff;
}

/* Menu burger */
.menu-toggle {
  font-size: 1.8em;
  cursor: pointer;
  color: #fff;
}

/* Menu mobile (masqué par défaut) */
.mobile-menu {
  display: none;
  background-color: #111;
  position: absolute;
  top: 60px;
  right: 0;
  width: 200px;
  border: 1px solid #FFD700;
}
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu ul li {
  border-bottom: 1px solid #333;
}
.mobile-menu ul li a {
  display: block;
  padding: 10px;
  color: #FFD700;
  text-decoration: none;
}
.mobile-menu ul li a:hover {
  background-color: #FFD700;
  color: #111;
}
.mobile-menu.active {
  display: block;
}

/* Responsive */
@media (min-width: 769px) {
  .menu-toggle, .mobile-menu {
    display: none;
  }
}
/* Header global */
.main-header {
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  border-bottom: 3px solid #FFD700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  position: relative; /* le header défile normalement */
}

.main-header .logo img {
  height: 55px;
}

/* Navigation toujours visible */
.nav-links ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links ul li a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links ul li a:hover {
  color: #fff;
}

/* Bouton SIGN UP */
.btn-connect {
  background-color: #FFD700;
  color: #000;
  padding: 8px 18px;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}
.btn-connect:hover {
  background-color: #e6c200;
}

/* Sélecteur de langue */
.lang-select {
  margin-left: 10px;
  cursor: pointer;
  font-weight: bold;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }
  .main-header {
    flex-direction: column;
    text-align: center;
  }
}

