/* =================== EXISTANT =================== */
/* ton CSS actuel top-banner, scrolling-text, contact-fixed etc. */

/* =================== CORRECTION POUR ESCARGOT =================== */
/* Top-banner derrière le header */
.top-banner {
  position: absolute; /* derrière le header animé */
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  color: #000000;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 24px;
  font-weight: bold;
  z-index: 1; /* inférieur au header */
  box-sizing: border-box;
  overflow: hidden;
}

/* Texte défilant */
.scrolling-text-wrapper {
  flex: 1;
  overflow: hidden;
  margin-right: 20px;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Numéro fixe */
.contact-fixed {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: bold;
  flex-shrink: 0;
}

.contact-fixed .phone-icon {
  width: 25px;
  height: 25px;
}

/* Décalage du header pour ne pas être recouvert */
.header-animation {
  position: relative;
  z-index: 2; /* supérieur au top-banner */
  margin-top: 60px; /* hauteur du top-banner */
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .top-banner {
    height: 60px;
    font-size: 16px;
    padding: 0 10px;
    flex-direction: row;   /* reste sur une seule ligne */
    justify-content: space-between;
    gap: 5px;
  }

  .scrolling-text-wrapper {
    margin-right: 10px;
  }

  .scrolling-text {
    animation-duration: 25s;
    font-size: 14px;
  }

  .contact-fixed {
    font-size: 14px;
    gap: 5px;
  }

  .contact-fixed .phone-icon {
    width: 20px;
    height: 20px;
  }

  .header-animation {
    margin-top: 60px; /* même hauteur sur mobile */
  }
}
