/* Zonga — barre de navigation style Wizards (header blanc uniquement) */

:root {
  --wiz-ink: #111111;
  --wiz-accent: #e85d04;
  --wiz-header-h: 72px;
}

/* ── Header blanc (séparé du hero) ── */
.wiz-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.04);
}

.wiz-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  min-height: var(--wiz-header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.wiz-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.wiz-logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.wiz-logo span {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wiz-ink);
  line-height: 1;
}

/* Nav — Inter 500 · 13.6px · ls 0.68px · uppercase (Wizards) */
.wiz-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.wiz-nav > li {
  position: relative;
}

.wiz-nav a,
.wiz-nav .wiz-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13.6px;
  font-weight: 500;
  letter-spacing: 0.68px;
  text-transform: uppercase;
  color: var(--wiz-ink);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
  transition: color 0.15s ease;
}

.wiz-nav a:hover,
.wiz-nav a.active,
.wiz-nav .wiz-dropdown-toggle:hover,
.wiz-nav__dropdown.is-open > .wiz-dropdown-toggle {
  color: var(--wiz-accent);
}

.wiz-nav__featured {
  font-weight: 600 !important;
}

.wiz-nav__featured .wiz-nav-icon {
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.wiz-caret {
  font-size: 10px;
  opacity: 0.75;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 2px;
}

.wiz-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.12);
  z-index: 200;
}

.wiz-nav__dropdown.is-open .wiz-dropdown-menu {
  display: block;
}

.wiz-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  font-size: 12.8px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--wiz-ink);
  border-radius: 6px;
}

.wiz-dropdown-menu a:hover {
  background: #fafafa;
  color: var(--wiz-accent);
}

.wiz-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--wiz-ink);
  cursor: pointer;
  border-radius: 8px;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.wiz-header-action:hover {
  background: rgba(17, 17, 17, 0.05);
  color: var(--wiz-accent);
}

.wiz-header-action svg {
  width: 20px;
  height: 20px;
}

.wiz-hamburger {
  display: none;
  margin-left: auto;
  font-size: 22px;
  line-height: 1;
  padding: 8px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--wiz-ink);
}

.topbar--classic { display: none !important; }

@media (max-width: 1023px) {
  .wiz-header__inner {
    padding: 0 16px;
    flex-wrap: wrap;
    min-height: 64px;
  }

  .wiz-hamburger {
    display: block;
  }

  .wiz-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;
    padding: 12px 0 16px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    gap: 0;
  }

  .wiz-nav.is-open {
    display: flex;
  }

  .wiz-nav a,
  .wiz-nav .wiz-dropdown-toggle {
    width: 100%;
    padding: 14px 4px;
    justify-content: flex-start;
  }

  .wiz-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 12px;
    background: transparent;
  }

  .wiz-header-action {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hero-phones {
    display: block !important;
  }
}
