/* Header responsive et adaptatif */
header {
  background: rgba(0,0,0,0.95);
  border-bottom: 2px solid #0ff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  min-height: 80px;
  box-sizing: border-box;
  overflow: hidden;
}

header h1 {
  font-size: 1rem;
  color: #0ff;
  margin: 0;
  line-height: 1.4;
  text-align: left;
  text-shadow: 0 0 8px #0ff;
  display: block;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin; /* Firefox */
}

header h1::-webkit-scrollbar {
  height: 6px;
}

header h1::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 255, 0.5);
  border-radius: 3px;
}

header h1::-webkit-scrollbar-track {
  background: rgba(0, 255, 255, 0.1);
}

/* Desktop */
@media(min-width: 768px) {
  header {
    min-height: 100px;
    padding: 1rem 2rem;
  }
  header h1 {
    font-size: 1.2rem;
    white-space: normal;
    overflow-x: visible;
  }
}
