@font-face {
  font-family: 'eurostile';
  src: url(/asset/font/eurostile.TTF);
}
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0a0a;
  color: white;
  font-family: 'eurostile';
}

/* Conteneur bannière - repousser sous la navbar fixe */
#banniere {
  position: relative;
  z-index: auto;
  width: 100%;
  margin-top: 80px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  #banniere {
    margin-top: 0;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 99;
  }
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  padding: 15px 30px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* BANNIÈRE */
.banner {
  padding: 15px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: auto;
  margin-top: 0;
  min-height: 85px;
  display: flex;
  align-items: center;
  width: 100%;
}

@media (max-width: 768px) {
  .banner {
    min-height: 60px;
    padding: 10px 0;
  }
}

/* MARQUEE */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.marquee-content {
  display: inline-flex;
  animation: scrollText 15s linear infinite;
  flex-wrap: nowrap;
  width: fit-content;
}

/* TEXTE DÉFILANT AVEC DÉGRADÉ ANIMÉ */
.marquee span {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-right: 50px;
  text-transform: uppercase;
  font-family: 'Eurostile';

  background: linear-gradient(90deg, #00c6ff, #0072ff, #00c6ff);
  background-size: 200%;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: gradientMove 4s linear infinite;
}

/* ANIMATION SCROLL */
@keyframes scrollText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ANIMATION DU DÉGRADÉ */
@keyframes gradientMove {
  from {
    background-position: 0%;
  }
  to {
    background-position: 200%;
  }
}

/* SOUS TEXTE */
.subtitle {
  text-align: center;
  margin-top: 5px;
  color: #aaa;
  font-size: 0.85rem;
}

/* BONUS : pause au hover 😏 */
.marquee-content:hover {
  animation-play-state: paused;
}

/* RESPONSIVE 📱 */
@media (max-width: 768px) {
  .marquee span {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  
  .banner {
    padding: 15px 0;
    z-index: auto;
    margin-top: 0;
    min-height: 75px;
  }
}