/* ==========================================================================
   NORUBI - bandeau de navigation commun (même contenu sur toutes les pages)
   Autonome : ne dépend d'aucune feuille de page. Chargé avant la feuille a11y.
   ========================================================================== */
.nrb-header { margin: 0 0 clamp(18px, 3vw, 42px); font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.4; text-align: left; }
.nrb-header *, .nrb-header *::before, .nrb-header *::after { box-sizing: border-box; }
/* pages sans conteneur .shell (téléchargements, enfants) : le bandeau gère sa propre largeur */
.nrb-header--standalone { position: relative; z-index: 5; width: min(1180px, calc(100% - 24px)); margin: 14px auto 22px; }
.nrb-header-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 8px 10px; border-radius: 30px;
  background: rgba(255, 255, 255, .84); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .10); backdrop-filter: blur(10px);
}
.nrb-brand {
  padding: 8px 14px; border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif; font-size: 14px; font-weight: 900; letter-spacing: .18em;
  color: #070707; text-decoration: none; white-space: nowrap;
}
.nrb-menu-btn { display: none; }
.nrb-nav { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.nrb-nav ul { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nrb-nav li { margin: 0; padding: 0; }
.nrb-nav li a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 800; color: #070707; text-decoration: none; white-space: nowrap;
}
.nrb-nav li a:hover { background: #fff; }
.nrb-nav a[aria-current="page"] { background: #070707; color: #fff; }
.nrb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nrb-actions a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 900; color: #070707; text-decoration: none; white-space: nowrap;
}
.nrb-line { background: #06C755; }
.nrb-contact { background-image: linear-gradient(180deg, #5aa0df, #3b82c6); }
.nrb-actions a[aria-current="page"] { outline: 2px solid #070707; outline-offset: -2px; }
.nrb-rating { margin: 8px 0 0; text-align: center; font-size: 13px; font-weight: 800; }
.nrb-rating a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 3px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); color: #070707; text-decoration: none;
}
.nrb-rating a span[aria-hidden] { color: #946200; letter-spacing: .08em; }

/* Tablette et mobile : menu repliable (si JavaScript indisponible, les liens restent tous visibles) */
@media (max-width: 900px) {
  .nrb-header-inner { border-radius: 28px; justify-content: space-between; }
  .nrb-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; }
  .nrb-nav ul { flex-direction: column; gap: 2px; }
  .nrb-nav li a { width: 100%; min-height: 44px; }
  .nrb-actions { flex-direction: column; }
  .nrb-actions a { width: 100%; min-height: 46px; }
  html.nrb-js .nrb-menu-btn {
    display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 0; border-radius: 999px;
    background: #070707; color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
  }
  html.nrb-js .nrb-menu-btn::after { content: "▾"; margin-left: 8px; }
  html.nrb-js .nrb-menu-btn[aria-expanded="true"]::after { content: "▴"; }
  html.nrb-js .nrb-nav { display: none; }
  html.nrb-js .nrb-nav.is-open { display: flex; }
}
@media (prefers-reduced-motion: no-preference) {
  .nrb-nav li a, .nrb-actions a { transition: background-color .15s ease; }
}
