/* ============================================================
   CORFLY — Header classique
   ============================================================ */

.header {
  background: #0d1b2a;
  border-bottom: 3px solid #b07e2f;
  height: 68px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}

.logo:hover { opacity: 0.75; }

.header-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav {
  display: flex;
  gap: 1.8rem;
}

.nav a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  position: relative;
}

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

.nav a.nav-active {
  color: #ffffff;
}

.nav a.nav-active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #b07e2f;
}

.header .btn-gold {
  background: #b07e2f;
  color: #ffffff;
  padding: 0.65rem 1.3rem;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: background 0.25s;
}

.header .btn-gold:hover { background: #c99a4a; }

/* ----------------------------------------------
   RESPONSIVE HEADER — Menu burger
---------------------------------------------- */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .header { height: auto; }

  .header-flex {
    padding: 0 20px;
    height: 64px;
    position: relative;
  }

  .burger { display: flex; }

  .header-right {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #0d1b2a;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 3px solid #b07e2f;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    z-index: 99;
  }

  .header-right.open { display: flex; }

  .nav {
    flex-direction: column;
    gap: 0;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 14px;
  }

  .nav a:last-child { border-bottom: none; }

  .header .btn-gold {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}