/* Header avec effet Glassmorphism */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(235, 242, 250, 0.8); /* Bleu blanc translucide */
  backdrop-filter: blur(12px); /* Flou d'arrière-plan */
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 102, 140, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
}

/* Logo & Identité */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  height: 55px;
  transition: transform 0.3s ease;
}

.logo-link:hover .nav-logo {
  transform: rotate(-5px) scale(1.05);
}

.logo-text {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.5em;
  color: #06668C;
}

.logo-text span {
  color: #679436;
}

/* Menu de Navigation */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.nav-menu li a {
  padding: 10px 18px;
  text-decoration: none;
  color: #06668C;
  font-weight: 600;
  font-size: 0.95em;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.nav-menu li a i {
  font-size: 0.9em;
  opacity: 0.8;
}

/* États Hover et Active */
.nav-menu li a:hover, 
.nav-menu li a.active {
  background: rgba(103, 148, 54, 0.1);
  color: #679436;
}

/* Bouton Contact distinctif */
.btn-contact-nav {
  background: #06668C !important;
  color: white !important;
  margin-left: 15px;
  box-shadow: 0 4px 15px rgba(6, 102, 140, 0.2);
}

.btn-contact-nav:hover {
  background: #679436 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(103, 148, 54, 0.3);
}

/* Responsive : Menu Burger */
#nav-check { display: none; }

@media (max-width: 992px) {
  .nav-toggler {
    display: block;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-toggler span, 
  .nav-toggler span::before, 
  .nav-toggler span::after {
    display: block;
    width: 28px;
    height: 3px;
    background: #06668C;
    position: relative;
    border-radius: 3px;
    transition: 0.3s;
  }

  .nav-toggler span::before, 
  .nav-toggler span::after {
    content: '';
    position: absolute;
  }

  .nav-toggler span::before { top: -9px; }
  .nav-toggler span::after { bottom: -9px; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  }

  #nav-check:checked ~ .nav-menu {
    right: 0;
  }

  /* Transformation du burger en X quand coché */
  #nav-check:checked + .nav-toggler span { background: transparent; }
  #nav-check:checked + .nav-toggler span::before { transform: rotate(45deg); top: 0; }
  #nav-check:checked + .nav-toggler span::after { transform: rotate(-45deg); bottom: 0; }
}