/* =========================
   NAVBAR
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;

  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */

.nav-logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-dark);
  text-decoration: none;
}

.nav-logo-text span {
  color: var(--green-light);
}

.nav-logo img {
  height: 72px; /* desktop */
  width: auto;
  display: block;
}

/* =========================
   BTN CONNEXION
========================= */

.btn-login {
  font-size: 0.9rem;
  text-decoration: none;
  color: #3f5248;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 25px;
  
  border: 1px solid transparent;
  background: transparent;

  transition: all 0.3s ease;
}

/* Hover */

.btn-login:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  color: white;
}

/* =========================
   NAV BUTTONS
========================= */


/* Créer mon compte */

.nav-actions .btn-primary {
  background: var(--green-dark);
  color: white;
  padding: 10px 20px;
  border-radius: 30px; /* arrondi premium */
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,95,46,0.15);
}

.nav-actions .btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0,95,46,0.25);
}


/* LINKS */

.nav-links {
  display: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #3f5248;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: var(--green-dark);
}

/* ACTIONS */

.nav-actions {
  display: none;
  gap: 15px;
  align-items: center;
}

.btn-login {
  font-size: 0.9rem;
  text-decoration: none;
  color: #3f5248;
  font-weight: 500;
}

.btn-login:hover {
  color: var(--green-dark);
}

/* Mobile toggle */

.nav-toggle {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--green-dark);
  cursor: pointer;
}

/* MOBILE MENU */

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 18px;

  padding: 25px;
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-menu a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #3f5248;
}

.mobile-menu .mobile-cta {
  background: var(--green-dark);
  color: white;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
}

.mobile-menu.active {
  display: flex;
}

/* DESKTOP */

@media (min-width: 992px) {

  .nav-links {
    display: flex;
  }

  .nav-actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

}
