/* ── HEADER FUTURISTE ─────────────────────────────────────── */

header {
  width: 100%;
  min-width: 920px;
  background: linear-gradient(135deg, #07080f 0%, #0d0e1a 60%, #12141f 100%);
  border-bottom: 1px solid rgba(0,212,255,.15);
  position: relative;
  overflow: hidden;
  height: 90px;
  display: flex;
  align-items: center;
}

/* Ligne neon en bas du header */
header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,212,255,.6) 30%,
    rgba(124,111,255,.6) 60%,
    transparent 100%);
  animation: header-line 4s ease-in-out infinite;
}

@keyframes header-line {
  0%,100% { opacity: .6; }
  50% { opacity: 1; }
}

/* Grille futuriste en arrière-plan */
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Logo */
header #logo {
  margin-left: 6%;
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

header #logo img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(0,212,255,.3));
  transition: filter .3s;
}

header #logo img:hover {
  filter: drop-shadow(0 0 20px rgba(0,212,255,.55));
}

/* Zone connexion/avatar */
header #connexion {
  position: absolute;
  right: 130px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: inline-block;
  margin: 0;
  color: rgba(255,255,255,.75);
  font-family: 'Trebuchet MS', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  text-align: right;
  line-height: 1.3;
  transition: color .2s;
}

header #connexion:hover { color: #00d4ff; }

header #avatar {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0,212,255,.4);
  box-shadow: 0 0 16px rgba(0,212,255,.2);
  transition: border-color .2s, box-shadow .2s;
  display: inline-block;
}

header #avatar:hover {
  border-color: #00d4ff;
  box-shadow: 0 0 24px rgba(0,212,255,.45);
}

header #avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Barre dédicaces ────────────────────────────────────────── */
#barrededi {
  width: 80%;
  max-width: 1280px;
  min-width: 920px;
  margin: 0 auto;
  height: 28px;
  background: rgba(0,212,255,.05);
  border-left: 1px solid rgba(0,212,255,.15);
  border-right: 1px solid rgba(0,212,255,.15);
  border-bottom: 1px solid rgba(0,212,255,.15);
  position: relative;
  overflow: hidden;
}

#barrededi marquee {
  color: rgba(0,212,255,.8) !important;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: .78rem !important;
}

#barrededi marquee font[color="#116399"],
#barrededi marquee font {
  color: rgba(0,212,255,.8) !important;
}
