/* nav.css — Bandeau de navigation unifié (logo RM + liens).
   Fond bleu nuit identique au bandeau des pages "Mes fiches" (#263544).
   Chargé sur toutes les pages de l'application, géré par js/header.js. */

#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: #263544;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#site-header .rm-brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #C99A32;
  text-decoration: none;
  line-height: 1;
}

#site-header .rm-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

#site-header .rm-nav a {
  color: #e6ecf2;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

#site-header .rm-nav a:hover { color: #C99A32; }

#site-header .rm-nav a.rm-login { color: #aebccb; }

#site-header .rm-nav .rm-logout {
  border: 1px solid #aebccb;
  background: transparent;
  color: #aebccb;
  border-radius: 6px;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

#site-header .rm-nav .rm-logout:hover { color: #fff; border-color: #fff; }

#site-header .rm-menu-btn {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #e6ecf2;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}

@media (max-width: 700px) {
  #site-header { flex-wrap: wrap; }
  #site-header .rm-menu-btn { display: inline-flex; }
  #site-header .rm-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 0 4px;
  }
  #site-header .rm-nav.is-open { display: flex; }
  #site-header .rm-nav a { padding: 8px 0; }
  #site-header .rm-nav .rm-logout { margin-top: 8px; }
}
