/* Navigation commune (includes/header.html) : marine, téléphone en bouton vert toujours visible. */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand-navy);
  --focus: var(--brand-mint);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  height: 84px;
}
.nav-logo img { width: 108px; height: auto; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { border-radius: 6px; font-size: 15px; font-weight: 500; white-space: nowrap; color: var(--brand-mist); }
.nav-links a[aria-current="page"] { font-weight: 600; color: var(--brand-cream); }
.nav-links .nav-links-contact { display: none; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-contact[aria-current="page"] { background: var(--brand-navy-soft); border-color: var(--brand-cream); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  margin-right: -12px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--brand-cream);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-links { gap: 24px; }
  /* place pour « Zones d'intervention » : le téléphone reste, « Me contacter » attend le menu mobile */
  .nav-contact { display: none; }
}

@media (max-width: 900px) {
  /* le numéro reste visible, le reste passe dans le menu */
  .nav-inner { height: 72px; gap: 12px; }
  .nav-logo img { width: 88px; }
  .nav-actions { margin-left: auto; }
  .nav-contact { display: none; }
  .nav-burger { display: flex; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px 0 20px;
    background: var(--brand-navy);
    border-top: 1px solid var(--brand-navy-line);
  }
  .nav-links.open a { padding: 12px var(--gutter); font-size: 16px; }
  .nav-links.open .nav-links-contact { display: block; color: var(--brand-cream); font-weight: 600; }
}

@media (max-width: 400px) {
  .nav-logo img { width: 72px; }
  .nav-actions .btn--sm { padding: 9.5px 14px; font-size: 14px; }
}
