/* Bandeau commun aux démonstrations : impossible de les prendre pour de vrais sites.
   Il reste fixé en haut ; chaque démo décale ses éléments collés de --bandeau-demo-h. */

:root { --bandeau-demo-h: 34px; }

body { padding-top: var(--bandeau-demo-h); }

.bandeau-demo {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--bandeau-demo-h);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 0 1rem;
  background: #FFD84D;
  color: #111111;
  font: 600 13px/1 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
}

.bandeau-demo a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bandeau-demo a:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.bandeau-demo__court { display: none; }

@media (max-width: 599px) {
  .bandeau-demo { font-size: 12.5px; gap: .5rem; }
  .bandeau-demo__long { display: none; }
  .bandeau-demo__court { display: inline; }
}

@media (max-width: 374px) {
  .bandeau-demo { font-size: 11px; padding: 0 .5rem; gap: .4rem; }
}

@media print {
  .bandeau-demo { position: static; }
  body { padding-top: 0; }
}
