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

body {
  font-family: 'Poppins', sans-serif;
  background: #050505;
  overflow-x: hidden;
}

/* HEADER */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 14px 20px;
}

/* CONTAINER (effet verre) */
.nav-container {
  width: 100%;
  max-width: 1350px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px 20px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition: all 0.3s ease;
  will-change: transform;
}

/* état au scroll */
.nav-container.scrolled {
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.logo-icon {
  width: 45px;
  height: 45px;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(139, 195, 74, 0.2);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-top {
  font-weight: 700;
  color: white;
}

.logo-bottom {
  font-size: 12px;
  color: #b7ff73;
}

/* NAV */

.navbar {
  position: fixed;
  top: 78px;
  left: 12px;
  right: 12px;

  display: flex;
  flex-direction: column;
  gap: 10px;

  padding: 16px;

  background: rgba(20,20,20,0.96);

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 24px;

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.04);

  opacity: 0;
  visibility: hidden;

  transform: translateY(-10px);

  pointer-events: none;

  transition: 0.3s ease;

  z-index: 99999;
}

/* MENU OUVERT */
.navbar.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* LIENS */
.navbar a {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 16px;

  border-radius: 16px;

  color: white;

  font-size: 15px;
  font-weight: 500;

  text-decoration: none !important;

  background: rgba(255,255,255,0.03);

  transition: 0.25s ease;
}

/* HOVER */
.navbar a:hover,
.navbar a:active {
  background: rgba(139,195,74,0.14);
  color: #b7ff73;
}

/* PETITE FLÈCHE */
.navbar a::after {
  content: "›";
  opacity: 0.5;
  font-size: 18px;
}

/* BOUTON INSCRIPTION */
.nav-cta-mobile {
  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: 8px;

  height: 46px;

  border-radius: 16px;

  background: rgba(139,195,74,0.18);

  border: 1px solid rgba(139,195,74,0.35);

  color: #b7ff73;

  font-size: 14px;
  font-weight: 600;

  text-decoration: none;

  box-shadow: 0 10px 30px rgba(139,195,74,0.12);
}

/* suppression soulignement global */
.navbar a,
.navbar a:hover,
.navbar a:visited,
.navbar a:active {
  text-decoration: none !important;
}

/* hover */
.navbar a:hover {
  color: #fff;
  transform: translateY(-1px);
  text-shadow:
    0 0 6px rgba(183, 255, 115, 0.6),
    0 0 14px rgba(183, 255, 115, 0.35),
    0 0 28px rgba(139, 195, 74, 0.25);
}

/* HALO PROPRE */
.navbar a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 180%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(183, 255, 115, 0.20),
    transparent 70%
  );

  filter: blur(12px);
  border-radius: 14px;
  opacity: 0;
  transition: 0.25s ease;
  z-index: -1;
}

.navbar a:hover::before {
  opacity: 1;
}
/* CTA */
.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;

  background: rgba(139, 195, 74, 0.15);
  border: 1px solid rgba(139, 195, 74, 0.35);

  color: #b7ff73;
  font-weight: 600;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition: all 0.25s ease;

  box-shadow: 0 8px 25px rgba(139, 195, 74, 0.12);
}

.nav-cta:hover {
  transform: translateY(-2px);

  background: rgba(139, 195, 74, 0.25);
  border: 1px solid rgba(139, 195, 74, 0.55);

  box-shadow: 0 12px 35px rgba(139, 195, 74, 0.22);
}
/* BURGER */
.burger {
  display: none;
  width: 45px;
  height: 45px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  z-index: 10001;
}

.burger span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: white;
  left: 12px;
}

.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 18px;
  border-radius: 999px;

  font-weight: 600;
  font-size: 15px;

  text-decoration: none;

  transition: all 0.25s ease;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid transparent;
}
.btn-primary {
  background: rgba(139, 195, 74, 0.18);
  border: 1px solid rgba(139, 195, 74, 0.35);
  color: #b7ff73;

  box-shadow: 0 8px 30px rgba(139, 195, 74, 0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);

  background: rgba(139, 195, 74, 0.28);
  border: 1px solid rgba(139, 195, 74, 0.55);

  box-shadow: 0 12px 40px rgba(139, 195, 74, 0.25);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(139, 195, 74, 0.25);

  color: white;
}
.btn-secondary:hover {
  background: rgba(139, 195, 74, 0.10);
  border: 1px solid rgba(139, 195, 74, 0.45);

  transform: translateY(-2px);
}
.navbar a {
  text-decoration: none !important;
}
.navbar a,
.navbar a:hover,
.navbar a:visited,
.navbar a:active {
  text-decoration: none !important;
}
.navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;

  position: static;

  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;

  padding: 0;

  opacity: 1;
  visibility: visible;

  transform: none;
  pointer-events: auto;
}

.navbar a {
  padding: 0;
  background: transparent;
}

.navbar a::after {
  display: none;
}


/* MOBILE */
@media (max-width: 850px) {
    
.countdown {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;

  align-items: center;
  justify-content: center;

  gap: 6px;

  width: 100%;

  white-space: nowrap;
}

.countdown * {
  white-space: nowrap;
  flex-shrink: 0;
}
  .burger {
    display: block;
    z-index: 10001;
  }

  .nav-cta {
    display: inline-flex;
  margin-left: 10px;
  width: 100%;
  justify-content: center;
  margin-top: 10px;

  background: rgba(139, 195, 74, 0.18);
  border: 1px solid rgba(139, 195, 74, 0.35);

  border-radius: 14px;
  padding: 14px;

  text-align: center;
}

  /* =========================
     HEADER CONTAINER ADAPTÉ
  ========================= */
  .nav-container {
  padding: 4px 8px;
  min-height: 52px;

  border-radius: 16px;

  background: rgba(15,15,15,0.82);
  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

  /* =========================
     MOBILE NAV PREMIUM
  ========================= */
 /* =========================
   MOBILE NAV PREMIUM
========================= */
.navbar {
  position: fixed;
  top: 80px;
  left: 12px;
  right: 12px;

  display: flex;
  flex-direction: column;
  gap: 6px;

  padding: 18px;

  background: rgba(0, 0, 0, 0.92);

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 20px;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);

  opacity: 0;
  visibility: hidden;

  transform: translateY(-14px) scale(0.98);

  pointer-events: none;

  transition: all 0.3s ease;

  z-index: 99999;
}
  /* OPEN STATE */
  .navbar.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  /* =========================
     LINKS STYLE (PREMIUM LIST)
  ========================= */
 
  /* hover mobile (tap feedback) */
  .navbar a:active {
    background: rgba(139, 195, 74, 0.12);
    color: #fff;
  }

  /* ICON STYLE OPTION (si tu veux ajouter plus tard) */
  .navbar a::after {
    content: "›";
    opacity: 0.4;
    font-size: 18px;
  }
  .navbar a:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

  /* =========================
     ANIMATION ENTRÉE (STAGGER)
  ========================= */
  .navbar.active a {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar.active a:nth-child(1) { transition-delay: 0.05s; }
  .navbar.active a:nth-child(2) { transition-delay: 0.10s; }
  .navbar.active a:nth-child(3) { transition-delay: 0.15s; }
  .navbar.active a:nth-child(4) { transition-delay: 0.20s; }
  .navbar.active a:nth-child(5) { transition-delay: 0.25s; }
  .navbar.active a:nth-child(6) { transition-delay: 0.30s; }

  .nav-cta {
  display: none;
}

  /* =========================
     BURGER PREMIUM
  ========================= */
 .burger {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border-radius: 12px;

  background: rgba(255,255,255,0.06);
}

  .burger:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .burger span {
  width: 20px;
  height: 2px;

  left: 50%;
  transform: translateX(-50%);

  border-radius: 999px;
}

  .burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }

  /* =========================
     OPTION : MENU OPEN DARK OVERLAY (très premium)
     (à activer si tu ajoutes un div overlay)
  ========================= */

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 9997;
  }

  .menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
 .countdown {
  display: flex;
  flex-direction: row;   /* IMPORTANT */
  flex-wrap: nowrap;     /* empêche retour ligne */
  align-items: center;
  justify-content: center;
  gap: 6px;

  width: 100%;
  white-space: nowrap;
}

/* force tous les éléments internes à rester sur une ligne */
.countdown * {
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.logo-top {
  font-size: 16px;
  line-height: 1.1;
  font-weight: 700;
}

.logo-bottom {
  font-size: 12px;
  line-height: 1.1;
  color: #a0a0a0;
}

.logo {
  gap: 10px;
}

/* mobile */
@media (max-width: 850px) {

  .nav-cta {
    display: none;
  }

.nav-cta-mobile {
  display: flex;
  align-items: center;
  justify-content: center;

  width: auto;
  flex-shrink: 0;

  padding: 5px 10px;

  margin: 0 8px;

  border-radius: 999px;

  background: rgba(139, 195, 74, 0.18);
  border: 1px solid rgba(139, 195, 74, 0.35);

  color: #b7ff73;
  font-size: 12px;
  font-weight: 600;

  white-space: nowrap;
  text-decoration: none;
}
.logo {
  flex: 1;
}

.burger {
  flex-shrink: 0;
}