


.bandeau-infos-card {
  position: relative;
  padding: 16px 14px;
  background: var(--surface-2, #1c2027);
  border: 1px solid var(--line, #2a2f37);
  border-radius: 6px;
  color: var(--texte-doux, #98a1ad);
  font-size: 0.78rem;
}

.bandeau-infos-header {
  position: absolute;
  top: -0.95em;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 1;
}

.bandeau-infos-badge {
  background: #6d5bd0;
  padding: 2px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  border-radius: 3px;
  white-space: nowrap;
}

.bandeau-infos-carousel {
  position: relative;
  display: grid;
  margin-top: 2px;
  overflow: hidden;
  
}

.bandeau-infos-msg {
  grid-area: 1 / 1;
  text-align: left;
  line-height: 1.5em;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.bandeau-infos-msg-visible {
  opacity: 1;
  transform: translateY(0);
}

.bandeau-infos-msg-sortie {
  opacity: 0;
  transform: translateY(-100%);
}

.bandeau-infos-msg-entree {
  opacity: 0;
  transform: translateY(100%);
}

.bandeau-infos-msg a {
  color: var(--accent-reseau);
  font-weight: 600;
  text-decoration: none;
}

.bandeau-infos-msg a:hover {
  text-decoration: underline;
}

.bandeau-infos-msg strong {
  color: var(--texte);
}

.bandeau-infos-nav {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-forte, #39404a);
  background: var(--surface-0, #0e1014);
  color: var(--texte);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s, background 0.2s, transform 0.15s;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bandeau-infos-nav:hover {
  opacity: 1;
  background: var(--surface-2, #1c2027);
}

.bandeau-infos-nav:active {
  transform: scale(0.9);
}

.bandeau-infos-defi {
  display: block;
  margin-top: 14px;
  border: 1px solid var(--line, #2a2f37);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.bandeau-infos-defi:hover {
  border-color: var(--line-forte, #39404a);
}

.bandeau-infos-defi img {
  display: block;
  width: 100%;
  height: auto;
}


.bandeau-infos-wrap.bandeau-infos-inline .bandeau-infos-defi {
  display: none;
}

@media (min-width: 1560px) {

  .bandeau-infos-wrap.bandeau-infos-inline .bandeau-infos-defi {
    display: block;
  }
}


.bandeau-infos-wrap {
  display: none;
}


.bandeau-infos-wrap.bandeau-infos-inline {
  display: block;
  position: relative;
  width: 100%;
  margin: 16px 0;
  z-index: 1;
}



@media (min-width: 1280px) {

  .bandeau-infos-wrap:not(.bandeau-infos-inline) {
    display: block;
    position: fixed;
    right: calc((100vw - 800px) / 4);
    top: 50%;
    transform: translate(50%, -50%);
    width: 220px;
    margin: 0;
    z-index: 100;
  }
}



@media (min-width: 1560px) {

  .bandeau-infos-wrap.bandeau-infos-inline {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    margin: 0;
    z-index: 100;
  }
}
