/* ==========================================================================
   V-Zone Cloud — Navbar publique (style WHMCS / nitrohost)
   ========================================================================== */

:root {
  --vz-nav-primary: #06c4b4;
  --vz-nav-primary-hover: #05a89a;
  --vz-nav-text: #1a1a1a;
  --vz-nav-text-muted: #777777;
  --vz-nav-border: #e8eaed;
  --vz-nav-bg: #ffffff;
  --vz-nav-topbar-h: 38px;
  --vz-nav-main-h: 68px;
  --vz-nav-font: "Source Sans Pro", -apple-system, BlinkMacSystemFont, sans-serif;
  --vz-nav-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  --vz-nav-shadow-sticky: 0 4px 24px rgba(0, 0, 0, 0.08);
  --vz-nav-z: 1050;
  --vz-nav-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --vz-cart-red: #dc2626;
  --vz-mega-bg: #f8f9fb;
  --vz-mega-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --vz-mega-duration: 0.32s;
}

/* Reset conflicts with legacy header */
.vz-navbar {
  position: sticky;
  top: 0;
  z-index: var(--vz-nav-z);
  background: var(--vz-nav-bg);
  font-family: var(--vz-nav-font);
}

.vz-navbar__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

/* ---- Top utility bar ---- */
.vz-navbar__topbar {
  background: var(--vz-nav-bg);
  border-bottom: 1px solid var(--vz-nav-border);
  height: var(--vz-nav-topbar-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--vz-nav-text);
}

.vz-navbar__topbar .vz-navbar__container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  padding-right: clamp(1.5rem, 2.8vw, 2.75rem);
  padding-left: clamp(1rem, 2vw, 1.5rem);
  box-sizing: border-box;
}

.vz-navbar__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  margin-left: auto;
  gap: 0.1rem;
  padding-right: 0.35rem;
}

.vz-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem;
  color: var(--vz-nav-text);
  text-decoration: none;
  border-radius: 4px;
  transition: color var(--vz-nav-transition);
  white-space: nowrap;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.2;
}

.vz-topbar-link:hover {
  color: var(--vz-nav-primary);
}

.vz-topbar-link i {
  font-size: 0.875rem;
  color: var(--vz-nav-text);
}

.vz-topbar-link:hover i {
  color: var(--vz-nav-primary);
}

.vz-topbar-phone span {
  font-weight: 400;
}

.vz-topbar-sep {
  width: 1px;
  height: 16px;
  background: var(--vz-nav-border);
  margin: 0 0.35rem;
  flex-shrink: 0;
}

.vz-topbar-lang .vz-flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Drapeaux CSS inline — zéro requête réseau */
.vz-flag {
  display: inline-block;
  width: 18px;
  height: 13px;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  background-size: cover;
  background-repeat: no-repeat;
}

.vz-flag--fr {
  background: linear-gradient(
    90deg,
    #002395 0 33.33%,
    #ffffff 33.33% 66.66%,
    #ed2939 66.66% 100%
  );
}

.vz-flag--gb {
  background:
    linear-gradient(
      33deg,
      transparent 38%,
      #ffffff 38% 42%,
      #c8102e 42% 58%,
      #ffffff 58% 62%,
      transparent 62%
    ),
    linear-gradient(
      -33deg,
      transparent 38%,
      #ffffff 38% 42%,
      #c8102e 42% 58%,
      #ffffff 58% 62%,
      transparent 62%
    ),
    linear-gradient(
      90deg,
      transparent 42%,
      #ffffff 42% 58%,
      transparent 58%
    ),
    linear-gradient(
      0deg,
      transparent 42%,
      #ffffff 42% 58%,
      transparent 58%
    ),
    #012169;
}

.vz-flag--es {
  background: linear-gradient(
    180deg,
    #aa151b 0 25%,
    #f1bf00 25% 75%,
    #aa151b 75% 100%
  );
}

.vz-flag--sw {
  background:
    linear-gradient(0deg, #000 0 33%, #fff 33% 66%, #006600 66% 100%);
  position: relative;
}

.vz-flag--sw::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 40%;
  height: 50%;
  background: #bb0000;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* ---- Sélecteur de langue ---- */
.vz-lang-switcher {
  position: relative;
}

.vz-lang-trigger {
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 400;
}

.vz-lang-chevron {
  font-size: 0.55rem;
  opacity: 0.5;
  transition: transform var(--vz-nav-transition);
}

.vz-lang-switcher.is-open .vz-lang-chevron {
  transform: rotate(180deg);
}

.vz-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 168px;
  background: #fff;
  border: 1px solid var(--vz-nav-border);
  border-radius: 8px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
  padding: 0.35rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: calc(var(--vz-nav-z) + 2);
}

.vz-lang-switcher.is-open .vz-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vz-lang-form {
  margin: 0;
}

.vz-lang-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--vz-nav-text);
  text-align: left;
  transition: background 0.15s, color 0.15s;
}

.vz-lang-option:hover {
  background: #f0fdfc;
  color: var(--vz-nav-primary);
}

.vz-lang-option.is-active {
  background: #f0fdfc;
  font-weight: 600;
  color: var(--vz-nav-primary);
  cursor: default;
}

.vz-lang-option:disabled {
  opacity: 1;
}

.vz-lang-check {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--vz-nav-primary);
}

.vz-lang-option.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.vz-lang-switcher--compact {
  width: 100%;
}

.vz-lang-switcher--compact .vz-lang-trigger {
  width: 100%;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 1px solid var(--vz-nav-border);
  border-radius: 8px;
  background: #fff;
}

.vz-lang-switcher--compact .vz-lang-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: 1px solid var(--vz-nav-border);
  margin-top: 0.5rem;
  display: none;
}

.vz-lang-switcher--compact.is-open .vz-lang-menu {
  display: block;
}

.vz-nav-mobile-lang {
  margin-bottom: 0.75rem;
}

.vz-nav-mobile-lang .vz-lang-label {
  flex: 1;
  text-align: left;
}


.vz-topbar-cart,
.vz-right-cart {
  position: relative;
  margin-right: 0.25rem;
}

.vz-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #cbd5e1;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.vz-cart-badge--active {
  background: var(--vz-cart-red);
  animation: vz-cart-blink 1.1s ease-in-out infinite;
}

@keyframes vz-cart-blink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
    box-shadow: 0 0 10px 3px rgba(220, 38, 38, 0.55);
  }
}

/* ---- Main bar ---- */
.vz-navbar__main {
  background: var(--vz-nav-bg);
  box-shadow: var(--vz-nav-shadow);
  transition: box-shadow var(--vz-nav-transition);
  position: relative;
}

.vz-navbar.is-scrolled .vz-navbar__main {
  box-shadow: var(--vz-nav-shadow-sticky);
}

.vz-navbar__main-inner {
  display: flex;
  align-items: center;
  min-height: var(--vz-nav-main-h);
  gap: 0;
  width: 100%;
}

.vz-navbar__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-right: 0;
}

.vz-navbar__logo img {
  height: 42px;
  width: auto;
  display: block;
}

/* Bloc droit : menus + recherche domaine */
.vz-navbar__end {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 0;
}

/* Recherche domaine — après les menus */
.vz-navbar__search {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  padding-left: 1.25rem;
}

.vz-right-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.55rem;
  color: var(--vz-nav-text);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s;
  white-space: nowrap;
  font-weight: 400;
  font-size: 0.8125rem;
}

.vz-right-link:hover {
  color: var(--vz-nav-primary);
}

.vz-right-link i {
  font-size: 1.15rem;
  line-height: 1;
}

/* Navigation */
.vz-navbar__nav {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.vz-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

/* Toggle hamburger */
.vz-navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  transition: background var(--vz-nav-transition);
  flex-shrink: 0;
}

.vz-navbar__toggle:hover {
  background: #f3f4f6;
}

.vz-navbar__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--vz-nav-text);
  border-radius: 2px;
  transition: transform var(--vz-nav-transition), opacity var(--vz-nav-transition);
}

.vz-navbar.is-open .vz-navbar__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.vz-navbar.is-open .vz-navbar__toggle span:nth-child(2) {
  opacity: 0;
}

.vz-navbar.is-open .vz-navbar__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.vz-nav-item {
  position: relative;
}

.vz-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  color: var(--vz-nav-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  border-radius: 0;
  transition: color var(--vz-nav-transition);
  white-space: nowrap;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
}

.vz-nav-link:hover,
.vz-nav-item.is-active > .vz-nav-link {
  color: var(--vz-nav-primary);
}

.vz-nav-chevron {
  font-size: 0.65rem;
  opacity: 0.55;
  transition: transform var(--vz-nav-transition);
}

.vz-nav-item.has-children:hover .vz-nav-chevron,
.vz-nav-item.has-children.is-expanded .vz-nav-chevron,
.vz-nav-item.has-mega:hover > .vz-nav-link .vz-nav-chevron,
.vz-nav-item.has-mega.is-open > .vz-nav-link .vz-nav-chevron {
  transform: rotate(180deg);
}

.vz-nav-item.has-mega:hover > .vz-nav-link,
.vz-nav-item.has-mega.is-open > .vz-nav-link {
  color: var(--vz-nav-primary);
}

/* ---- Mega menu ---- */
.vz-mega-menu {
  display: none;
}

.vz-mega-menu__inner {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.9fr) minmax(190px, 0.95fr);
  gap: 0;
  padding: 0;
  align-items: stretch;
}

.vz-mega-menu__intro {
  padding: 1.15rem 1.25rem 1.15rem 0;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.vz-mega-menu__title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--vz-nav-text);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.vz-mega-menu__desc {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #5c6570;
  max-width: 240px;
}

.vz-mega-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--vz-nav-primary);
  color: var(--vz-nav-text);
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: #fff;
  border-radius: 2px;
  transition: background var(--vz-mega-duration) var(--vz-mega-ease),
    color var(--vz-mega-duration) var(--vz-mega-ease),
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.vz-mega-menu__cta:hover {
  background: var(--vz-nav-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6, 196, 180, 0.25);
}

.vz-mega-menu__links {
  padding: 1.15rem 1.25rem;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.vz-mega-menu__subtitle {
  margin: 0 0 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #8b939e;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.vz-mega-menu__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.vz-mega-menu__links li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.55rem;
  margin: 0 -0.55rem;
  color: #2d3748;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.22s var(--vz-mega-ease),
    color 0.22s ease,
    transform 0.22s var(--vz-mega-ease);
}

.vz-mega-menu__links li a i {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 6px;
  color: #6b7280;
  font-size: 0.8rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s var(--vz-mega-ease);
}

.vz-mega-menu__links li a:hover {
  color: var(--vz-nav-primary);
  background: rgba(6, 196, 180, 0.08);
  transform: translateX(3px);
}

.vz-mega-menu__links li a:hover i {
  background: var(--vz-nav-primary);
  color: #fff;
  transform: scale(1.05);
}

/* Promo domaine */
.vz-mega-menu__promo {
  padding: 1.15rem 0 1.15rem 1.25rem;
  display: flex;
  align-items: stretch;
}

.vz-domain-promo {
  position: relative;
  width: 100%;
  min-height: 0;
  background: linear-gradient(145deg, #ffffff 0%, #f3f4f6 100%);
  border-radius: 8px;
  padding: 0.9rem 1rem 0.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.vz-domain-promo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--vz-nav-primary), #34d399);
}

.vz-domain-promo__track {
  position: relative;
  min-height: 108px;
}

.vz-domain-promo__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(16px);
  transition: opacity 0.5s var(--vz-mega-ease),
    transform 0.5s var(--vz-mega-ease),
    visibility 0.5s;
}

.vz-domain-promo__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  position: relative;
}

.vz-domain-promo__slide.is-leaving {
  opacity: 0;
  transform: translateX(-16px);
  position: absolute;
}

.vz-domain-promo__ext {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--vz-nav-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.vz-domain-promo__tagline {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #5c6570;
  max-width: 200px;
}

.vz-domain-promo__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.55rem;
}

.vz-domain-promo__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--vz-nav-text);
  line-height: 1;
}

.vz-domain-promo__old {
  font-size: 0.6875rem;
  color: #9ca3af;
}

.vz-domain-promo__old s {
  text-decoration: line-through;
}

.vz-domain-promo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  background: #111827;
  color: #fff;
  text-decoration: none;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 3px;
  transition: background 0.22s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.vz-domain-promo__btn:hover {
  background: var(--vz-nav-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(6, 196, 180, 0.35);
}

.vz-domain-promo__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.45rem;
  padding-top: 0.25rem;
}

.vz-domain-promo__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s var(--vz-mega-ease);
}

.vz-domain-promo__dot.is-active {
  background: var(--vz-nav-primary);
  width: 18px;
  border-radius: 999px;
}

.vz-domain-promo__dot:hover {
  background: #9ca3af;
}

.vz-domain-promo--empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 100px;
  gap: 0.6rem;
}

.vz-domain-promo__empty {
  margin: 0;
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.55;
}

/* Legacy dropdown (fallback) */
.vz-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 0.45rem 0;
  background: #fff;
  border: 1px solid var(--vz-nav-border);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 10;
}

.vz-nav-item.has-children:hover > .vz-dropdown,
.vz-nav-item.has-children:focus-within > .vz-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vz-dropdown li a {
  display: block;
  padding: 0.6rem 1.15rem;
  color: var(--vz-nav-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.vz-dropdown li a:hover {
  background: #f0fdfc;
  color: var(--vz-nav-primary);
}

/* Domain search */
.vz-domain-search {
  display: flex;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.vz-domain-search i {
  position: absolute;
  left: 0;
  color: var(--vz-nav-text-muted);
  font-size: 0.9375rem;
  pointer-events: none;
}

.vz-domain-search input {
  width: 170px;
  padding: 0.35rem 0.5rem 0.35rem 1.5rem;
  border: none;
  border-bottom: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--vz-nav-text-muted);
  transition: color 0.2s, width 0.2s;
}

.vz-domain-search input::placeholder {
  color: var(--vz-nav-text-muted);
  font-weight: 400;
}

.vz-domain-search input:focus {
  outline: none;
  color: var(--vz-nav-text);
  width: 190px;
}

.vz-domain-search input:focus::placeholder {
  color: #aaa;
}

/* Mobile-only blocks inside drawer */
.vz-nav-mobile-head,
.vz-nav-mobile-foot {
  display: none;
}

.vz-nav-overlay {
  display: none;
}

/* Body lock */
body.vz-nav-open {
  overflow: hidden;
}

/* ---- Responsive ---- */
@media (max-width: 1199.98px) {
  .vz-domain-search input {
    width: 145px;
  }

  .vz-domain-search input:focus {
    width: 160px;
  }

  .vz-nav-link {
    padding: 0.5rem 0.65rem;
    font-size: 0.875rem;
  }

  .vz-topbar-phone span {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .vz-navbar__topbar {
    display: none;
  }

  .vz-navbar__end {
    display: contents;
    margin-left: 0;
  }

  .vz-navbar__search {
    display: none !important;
  }

  .vz-navbar__toggle {
    display: flex;
    order: 3;
  }

  .vz-navbar__logo {
    order: 1;
    margin-right: 0;
  }

  /* Mobile quick actions beside toggle */
  .vz-navbar__mobile-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    order: 2;
    margin-left: auto;
    margin-right: 0.25rem;
  }

  .vz-navbar__main-inner {
    justify-content: space-between;
  }

  .vz-navbar__mobile-actions .vz-right-link {
    padding: 0.55rem;
  }

  .vz-navbar__mobile-actions .vz-right-link i {
    font-size: 1.3rem;
  }

  .vz-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--vz-nav-transition), visibility var(--vz-nav-transition);
    z-index: calc(var(--vz-nav-z) - 1);
  }

  .vz-navbar.is-open .vz-nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  .vz-navbar__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 88vw);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    background: #fff;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform var(--vz-nav-transition);
    z-index: var(--vz-nav-z);
    overflow: hidden;
  }

  .vz-navbar.is-open .vz-navbar__nav {
    transform: translateX(0);
  }

  .vz-nav-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--vz-nav-border);
    flex-shrink: 0;
  }

  .vz-nav-mobile-head img {
    height: 34px;
  }

  .vz-nav-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f3f4f6;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--vz-nav-text);
    transition: background 0.15s;
  }

  .vz-nav-close:hover {
    background: #e5e7eb;
  }

  .vz-nav-scroll {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.5rem 0 1rem;
  }

  .vz-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .vz-nav-item {
    width: 100%;
    border-bottom: 1px solid #f3f4f6;
  }

  .vz-nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    font-size: 1.0625rem;
    font-weight: 700;
    border-radius: 0;
  }

  .vz-mega-menu {
    display: block;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #f9fafb;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    pointer-events: auto;
  }

  .vz-nav-item.has-mega.is-expanded > .vz-mega-menu {
    max-height: 520px;
  }

  .vz-mega-menu__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .vz-mega-menu__intro,
  .vz-mega-menu__promo {
    display: none;
  }

  .vz-mega-menu__links {
    padding: 0;
    border: none;
  }

  .vz-mega-menu__subtitle {
    display: none;
  }

  .vz-mega-menu__links li a {
    padding: 0.85rem 1.25rem 0.85rem 2rem;
    margin: 0;
    border-radius: 0;
    font-size: 0.9375rem;
    transform: none;
  }

  .vz-mega-menu__links li a i {
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    font-size: 0.9rem;
  }

  .vz-mega-menu__links li a:hover {
    background: transparent;
    transform: none;
  }

  .vz-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #f9fafb;
  }

  .vz-nav-item.has-children.is-expanded > .vz-dropdown {
    max-height: 500px;
  }

  .vz-dropdown li a {
    padding: 0.75rem 1.25rem 0.75rem 2rem;
    font-size: 0.9375rem;
  }

  .vz-domain-search {
    margin: 0;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--vz-nav-border);
    width: 100%;
  }

  .vz-domain-search input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid var(--vz-nav-border);
    border-radius: 8px;
    background: #f9fafb;
  }

  .vz-domain-search input:focus {
    width: 100%;
    border-color: var(--vz-nav-primary);
    background: #fff;
  }

  .vz-nav-mobile-foot {
    display: block;
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid var(--vz-nav-border);
    background: #fafafa;
    flex-shrink: 0;
  }

  .vz-nav-mobile-foot .vz-btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--vz-nav-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: background 0.15s;
    border: none;
    cursor: pointer;
  }

  .vz-nav-mobile-foot .vz-btn-login:hover {
    background: var(--vz-nav-primary-hover);
    color: #fff;
  }

  .vz-nav-mobile-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--vz-nav-text-muted);
    text-decoration: none;
  }

  .vz-nav-mobile-contact:hover {
    color: var(--vz-nav-primary);
  }
}

@media (max-width: 575.98px) {
  .vz-navbar__container {
    padding: 0 1rem;
  }

  .vz-navbar__logo img {
    height: 36px;
  }
}

@media (min-width: 992px) {
  .vz-navbar__mobile-actions {
    display: none;
  }

  .vz-navbar__end {
    display: flex;
    align-items: center;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .vz-navbar__search {
    display: flex;
  }

  .vz-navbar__nav {
    position: static;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    transform: none;
    box-shadow: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    flex: 0 0 auto;
  }

  .vz-domain-search--mobile,
  .vz-nav-mobile-head,
  .vz-nav-mobile-foot {
    display: none !important;
  }

  .vz-nav-scroll {
    overflow: visible;
    flex: 0 1 auto;
    padding: 0;
  }

  .vz-nav-item.has-mega {
    position: static;
  }

  .vz-mega-menu {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--vz-mega-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.995);
    transform-origin: top center;
    transition: opacity var(--vz-mega-duration) var(--vz-mega-ease),
      transform var(--vz-mega-duration) var(--vz-mega-ease),
      visibility var(--vz-mega-duration);
    z-index: calc(var(--vz-nav-z) - 1);
    pointer-events: none;
  }

  .vz-mega-menu::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
  }

  .vz-mega-menu__inner {
    padding: 0 1.25rem;
    max-height: min(320px, 55vh);
    overflow: hidden;
  }

  .vz-mega-menu__intro,
  .vz-mega-menu__links,
  .vz-mega-menu__promo {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s var(--vz-mega-ease), transform 0.35s var(--vz-mega-ease);
  }

  .vz-nav-item.has-mega:hover > .vz-mega-menu,
  .vz-nav-item.has-mega.is-open > .vz-mega-menu,
  .vz-nav-item.has-mega:focus-within > .vz-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .vz-nav-item.has-mega:hover > .vz-mega-menu .vz-mega-menu__intro,
  .vz-nav-item.has-mega.is-open > .vz-mega-menu .vz-mega-menu__intro,
  .vz-nav-item.has-mega:focus-within > .vz-mega-menu .vz-mega-menu__intro {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.04s;
  }

  .vz-nav-item.has-mega:hover > .vz-mega-menu .vz-mega-menu__links,
  .vz-nav-item.has-mega.is-open > .vz-mega-menu .vz-mega-menu__links,
  .vz-nav-item.has-mega:focus-within > .vz-mega-menu .vz-mega-menu__links {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }

  .vz-nav-item.has-mega:hover > .vz-mega-menu .vz-mega-menu__promo,
  .vz-nav-item.has-mega.is-open > .vz-mega-menu .vz-mega-menu__promo,
  .vz-nav-item.has-mega:focus-within > .vz-mega-menu .vz-mega-menu__promo {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.16s;
  }

  .vz-navbar.mega-open .vz-navbar__main {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  }
}

@media (max-width: 991.98px) {
  .vz-domain-search--desktop {
    display: none;
  }
}

/* Forcer la disposition desktop : logo à gauche, menus + recherche à droite */
@media (min-width: 992px) {
  .vz-navbar .vz-navbar__topbar {
    justify-content: flex-end !important;
    width: 100% !important;
  }

  .vz-navbar .vz-navbar__topbar .vz-navbar__container {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
    padding-right: clamp(1.5rem, 2.8vw, 2.75rem) !important;
    box-sizing: border-box !important;
  }

  .vz-navbar .vz-navbar__topbar-inner {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-left: auto !important;
    width: auto !important;
    text-align: right !important;
    padding-right: 0.35rem !important;
  }

  .vz-navbar .vz-navbar__main-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .vz-navbar .vz-navbar__logo {
    flex: 0 0 auto !important;
    margin-right: 0 !important;
  }

  .vz-navbar .vz-navbar__end {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    margin-left: auto !important;
    width: auto !important;
  }

  .vz-navbar .vz-navbar__nav {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
  }

  .vz-navbar .vz-nav-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
  }
}
