/* Charte commune des outils du CoDiEC Namur-Luxembourg.
   Source : dépôt portail-outils, dossier charte/. Copiée telle quelle dans chaque application
   (avec etoile.png et les polices) : la modifier là puis la recopier partout.
   Ne contient que de la présentation : polices, palette de référence, bandeau. */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }

:root {
  --codiec-orange: #f39200;
  --codiec-violet: #4d3b68;
  --codiec-violet-fonce: #3a265b;
  --codiec-rose: #ed1566;
  --codiec-turquoise: #35baac;
  --codiec-police: "Poppins", "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --codiec-bandeau-fond: #ffffff;
  --codiec-bandeau-texte: #3a265b;
  --codiec-bandeau-bord: #e4e1ea;
}
@media (prefers-color-scheme: dark) {
  :root { --codiec-bandeau-fond: #1d1925; --codiec-bandeau-texte: #e6e0f0; --codiec-bandeau-bord: #342d40; }
}

.bandeau-codiec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px max(16px, calc(50% - 560px));
  background: var(--codiec-bandeau-fond);
  border-bottom: 3px solid var(--codiec-orange);
  font: 600 14px/1.3 var(--codiec-police);
}
.bandeau-codiec a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--codiec-bandeau-texte);
  text-decoration: none;
  border-radius: 6px;
}
.bandeau-codiec a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bandeau-codiec a:focus-visible { outline: 3px solid var(--codiec-orange); outline-offset: 2px; }
.bandeau-codiec img { width: 26px; height: auto; }
.bandeau-codiec .tous-outils { font-weight: 400; font-size: 13px; white-space: nowrap; }
@media (max-width: 420px) { .bandeau-codiec .nom-long { display: none; } }
@media print { .bandeau-codiec { display: none !important; } }
