/* Hero — 3 rouleaux (odomètre) dans des bulles glass */
.hero-reels {
  margin-top: 0.875rem;
  margin-bottom: 0.125rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-reels-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1.2vw, 0.75rem);
  flex-wrap: nowrap;
  max-width: 100%;
}

.hero-reel {
  --hero-reel-h: 2.35rem;
  height: var(--hero-reel-h);
  overflow: hidden;
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
}

@media (min-width: 768px) {
  .hero-reel {
    --hero-reel-h: 2.5rem;
  }
}

.hero-reel-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  transform: translateY(0);
}

.hero-reel-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--hero-reel-h);
  min-height: var(--hero-reel-h);
  flex-shrink: 0;
}

.hero-reel-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 9999px;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(0.625rem, 1.2vw, 0.75rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.82);
  white-space: nowrap;
  background: #f2f2f2;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.hero-reel-bubble span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.hero-reels--left {
  justify-content: flex-start;
}

.hero-reels--left .hero-reels-row {
  justify-content: flex-start;
}

.hero-reels--wide .hero-reel {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
}

.hero-reels--wide .hero-reel-bubble {
  font-size: clamp(0.5625rem, 0.85vw, 0.625rem);
  padding: 4px 7px;
}

@media (min-width: 768px) {
  .hero-reels--wide .hero-reel-bubble {
    font-size: clamp(0.6rem, 0.7vw, 0.6875rem);
    padding: 4px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-reel {
    height: auto;
    overflow: visible;
  }
  .hero-reel-track {
    transform: none !important;
    transition: none !important;
  }
  .hero-reel-item:not(.is-visible) {
    display: none;
  }
  .hero-reel-item.is-visible {
    height: auto;
    min-height: 0;
  }
}
