/* ── SHARED HEADER & FOOTER — all secondary pages ── */

/* ── HEADER ── */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  padding: 0 24px;
  height: 54px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.logo-icon { display: block; flex-shrink: 0; }
.brand-name { white-space: nowrap; }
.header-nav {
  display: flex;
  gap: 2px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

/* ── NAV GROUPE NOMMER ── */
.nav-cat {
  font-size: .82rem; font-weight: 700; color: var(--text-2);
  padding: 5px 3px 5px 10px; white-space: nowrap; letter-spacing: .01em;
  text-decoration: none; border-radius: var(--r-sm, 5px); transition: all .1s;
}
.nav-cat:hover { color: var(--text); background: var(--bg); }
.nav-cat--active { color: var(--text); }
.nav-sep {
  font-size: .78rem; color: var(--border, #D9D7CF);
  padding: 0 1px; line-height: 1; pointer-events: none; user-select: none;
  align-self: center;
}
.nav-link {
  font-size: .82rem;
  color: var(--text-2);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: var(--r-sm, 5px);
  transition: all .1s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--bg); }
.nav-link--active { color: var(--text); font-weight: 600; background: var(--bg); }
.nav-link--support {
  color: var(--pink, #72243E);
  background: var(--pink-bg, #FBEAF0);
  border: 1px solid var(--pink-bd, #F4C0D1);
}
.nav-link--support:hover { background: var(--pink-bg, #FBEAF0); }
.btn-propose-nav {
  font-size: .8rem;
  font-weight: 500;
  color: var(--accent, #3C3489);
  background: rgba(60,52,137,.07);
  border: 1px solid rgba(60,52,137,.22);
  border-radius: var(--r-sm, 5px);
  padding: 5px 12px;
  cursor: pointer;
  transition: all .1s;
  flex-shrink: 0;
  white-space: nowrap;
}
.btn-propose-nav:hover { background: rgba(60,52,137,.14); border-color: var(--accent, #3C3489); }

/* ── FOOTER ── */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-card); }
.footer-urgence {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 20px;
  background: #FFF8F0;
  border-bottom: 1px solid #FFE4C4;
  font-size: .77rem;
  color: #7A4500;
  flex-wrap: wrap;
  text-align: center;
}
.footer-urgence svg { flex-shrink: 0; stroke: #C47A00; }
.footer-urgence a { color: #7A4500; }
.footer-urgence a:hover { text-decoration: underline; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.footer-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.footer-nav a {
  font-size: .78rem;
  color: var(--text-3);
  text-decoration: none;
  padding: 3px 8px;
  border-radius: var(--r-sm, 5px);
  transition: color .1s;
}
.footer-nav a:hover { color: var(--text); }
.footer-note { font-size: .74rem; color: var(--text-3); }

@media (max-width: 680px) {
  .header-nav .nav-link:not(.nav-link--support):not(.nav-link--active) { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}
