/* Navigation commune Taxi28.fr — source unique pour toutes les pages */
:root {
  --taxi-menu-yellow: #f6c400;
  --taxi-menu-black: #111111;
}

header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  color: #ffffff !important;
  background: var(--taxi-menu-black) !important;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .14) !important;
}

header .container {
  width: min(1120px, 92%) !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
}

header nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 22px !important;
  min-height: 76px !important;
  padding: 12px 0 !important;
}

header .logo {
  flex: 0 0 auto !important;
  margin: 0 !important;
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -.5px !important;
  white-space: nowrap !important;
}

header .logo a {
  color: #ffffff !important;
  text-decoration: none !important;
}

header .logo span {
  color: var(--taxi-menu-yellow) !important;
}

header .menu {
  display: flex !important;
  flex: 0 1 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 10px 20px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

header .menu a {
  display: inline-block !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  background: transparent !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: .92rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color .15s ease, background-color .15s ease !important;
}

header .menu a:hover,
header .menu a:focus-visible,
header .menu a[aria-current="page"]:not(.cta) {
  color: var(--taxi-menu-yellow) !important;
}

header .menu a.cta,
header .menu a.cta[aria-current="page"] {
  padding: 9px 14px !important;
  border-radius: 8px !important;
  color: var(--taxi-menu-black) !important;
  background: var(--taxi-menu-yellow) !important;
  font-weight: 800 !important;
}

header .menu a.cta:hover,
header .menu a.cta:focus-visible {
  color: var(--taxi-menu-black) !important;
  background: #ffda36 !important;
}

@media (max-width: 900px) {
  header nav {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 13px 0 !important;
  }

  header .logo {
    font-size: 1.7rem !important;
  }

  header .menu {
    justify-content: flex-start !important;
    gap: 7px 16px !important;
    width: 100% !important;
  }
}

@media (max-width: 560px) {
  header nav {
    gap: 8px !important;
  }

  header .logo {
    font-size: 1.55rem !important;
  }

  header .menu {
    gap: 5px 12px !important;
  }

  header .menu a {
    font-size: .84rem !important;
    white-space: normal !important;
  }

  header .menu a.cta {
    padding: 7px 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  header .menu a {
    transition: none !important;
  }
}
