/* =====================================================================
   NETA-NKÁB — En-tête commun
   ===================================================================== */

/* Polices, variables et boutons : voir nk-theme.css */

/* ---------- Barre d'informations ---------- */
.nkh-topbar {
  background: var(--nk-dark);
  color: #d6dae0;
  font-family: var(--nk-font-text);
  font-size: 13px;
}
.nkh-topbar-inner {
  max-width: var(--nk-container);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nkh-topbar-infos { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.nkh-topbar-infos span, .nkh-topbar-infos a { display: inline-flex; align-items: center; gap: 9px; color: #d6dae0; text-decoration: none; }
.nkh-topbar-infos i { color: var(--nk-orange); font-size: 14px; }
.nkh-topbar-infos a:hover { color: var(--nk-white); }
.nkh-socials { display: flex; gap: 16px; }
.nkh-socials a { color: #d6dae0; font-size: 14px; text-decoration: none; transition: color .2s; }
.nkh-socials a:hover { color: var(--nk-orange); }

/* ---------- En-tête principal ---------- */
.nkh-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--nk-white);
  box-shadow: 0 1px 0 var(--nk-line);
}
.nkh-header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 24, 40, .08); }
.nkh-header-inner {
  max-width: var(--nk-container);
  margin: 0 auto;
  padding: 0 20px;
  height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nkh-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nkh-logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--nk-orange); color: var(--nk-white);
  display: grid; place-items: center;
  font-family: var(--nk-font-title); font-weight: 700; font-size: 18px;
}
.nkh-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nkh-logo-name { font-family: var(--nk-font-title); font-weight: 700; font-size: 23px; letter-spacing: .04em; color: var(--nk-navy); }
.nkh-logo-tag { font-size: 11px; color: var(--nk-muted); letter-spacing: .02em; }

.nkh-nav { height: 100%; }
.nkh-nav ul { display: flex; align-items: stretch; gap: 38px; height: 100%; margin: 0; padding: 0; list-style: none; }
.nkh-nav li { display: flex; }
.nkh-nav a {
  position: relative; display: flex; align-items: center;
  font-family: var(--nk-font-title); font-size: 15px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--nk-ink); text-decoration: none;
  transition: color .2s;
}
.nkh-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--nk-orange);
  transform: scaleX(0); transition: transform .25s;
}
.nkh-nav a:hover, .nkh-nav a.active { color: var(--nk-orange); }
.nkh-nav a.active::after { transform: scaleX(1); }
.nkh-nav .nkh-nav-cta { display: none; }

.nkh-burger {
  display: none;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nkh-burger span { display: block; width: 24px; height: 2px; background: var(--nk-ink); transition: transform .25s, opacity .25s; }
.nkh-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nkh-burger.open span:nth-child(2) { opacity: 0; }
.nkh-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nkh-topbar-infos .nkh-hide-md { display: none; }
  .nkh-nav ul { gap: 26px; }
}
@media (max-width: 900px) {
  .nkh-topbar { display: none; }
  .nkh-header-inner { height: 70px; }
  .nkh-burger { display: flex; }
  .nkh-header .nkh-cta { display: none; }
  .nkh-logo-tag { display: none; }
  .nkh-logo-name { font-size: 20px; white-space: nowrap; }
  .nkh-nav {
    position: absolute; top: 100%; left: 0; right: 0; height: auto;
    background: var(--nk-white);
    box-shadow: 0 16px 30px rgba(16, 24, 40, .12);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nkh-nav.open { max-height: 420px; }
  .nkh-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 20px; }
  .nkh-nav a { padding: 14px 0; border-bottom: 1px solid var(--nk-line); }
  .nkh-nav a::after { display: none; }
  .nkh-nav .nkh-nav-cta { display: flex; padding-top: 16px; }
  .nkh-nav .nkh-nav-cta a { border: 0; padding: 13px 30px; width: 100%; color: var(--nk-white); }
}
