/* header.css : l'en-tête de la notice (bandeau, titre, avertissement, intro). */

.notice-head { padding-top: 32px; }

/* Bandeau du haut : logo + numéro de notice à gauche, langue à droite */
.notice-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: var(--frame);
  font: 400 12px/1.4 var(--font-data);
  letter-spacing: .04em;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.logo img { display: block; width: auto; height: 28px; }

/* Sélecteur FR / EN : discret, juste du texte (la langue active est soulignée) */
.lang { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.lang a, .lang [aria-current] { padding: 4px; }
.lang a { color: inherit; text-decoration: none; }
.lang a:hover { color: var(--ink); }
.lang [aria-current] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* Titre : Libre Baskerville Bold */
.notice-title {
  margin: 32px 0 16px;
  font: 700 clamp(26px, 5.5vw, 40px)/1.25 var(--font-title);
}

/* Encadré d'avertissement : élément orange de la charte */
.warn {
  display: inline-block;
  margin: 0 0 24px;
  padding: 4px 10px;
  border: var(--frame);
  border-color: var(--accent);
  color: var(--accent);
  font: 700 12px/1.4 var(--font-text);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Texte d'introduction */
.about {
  max-width: 60ch;
  margin: 0 0 40px;
  font-size: 17px;
  line-height: 1.65;
}

/* Version compacte (pages de projet) : seulement le bandeau */
.notice-head--compact { padding-bottom: 8px; }
