/* =========================================================
   HOPES V11 - HERO LABEL PREMIUM WORD LOOP + LIQUID GLASS
   Le mot « professionnel » reprend le vert du thème.
========================================================= */
.hero-label.hero-label-liquid {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 5px 10px;
  width: fit-content;
  max-width: min(100%, 620px);
  min-height: 48px;
  margin-bottom: 35px;
  padding: 12px 24px;
  border: 1px solid rgba(112, 197, 0, .24);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(112, 197, 0, .07), rgba(255, 255, 255, .38) 48%, rgba(112, 197, 0, .025));
  box-shadow:
    0 18px 42px rgba(15, 26, 18, .12),
    inset 0 1px 0 rgba(255, 255, 255, .78),
    inset 0 0 18px rgba(112, 197, 0, .07);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  transform: translateZ(0);
}

.hero-label-liquid .word-mask {
  position: relative;
  z-index: 3;
  display: inline-block;
  overflow: hidden;
  padding-block: 2px;
  perspective: 900px;
}

.hero-label-liquid .word {
  display: inline-block;
  color: #17231b;
  font-size: clamp(.72rem, .8vw, .88rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: .075em;
  text-transform: uppercase;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(125%) rotateX(-28deg);
  transform-origin: 50% 100%;
  will-change: transform, opacity, filter;
  animation: hopesPremiumWordLoop 6s cubic-bezier(.25, 1, .5, 1) infinite;
}

/* Le mot demandé garde le vert exact du thème HOPES. */
.hero-label-liquid .word-professional {
  color: var(--primary) !important;
  text-shadow: 0 0 18px rgba(112, 197, 0, .10);
}

.hero-label-liquid .word-mask:nth-child(1) .word { animation-delay: 0s; }
.hero-label-liquid .word-mask:nth-child(2) .word { animation-delay: .12s; }
.hero-label-liquid .word-mask:nth-child(3) .word { animation-delay: .24s; }
.hero-label-liquid .word-mask:nth-child(4) .word { animation-delay: .36s; }

/* Reflet miroir liquide. */
.hero-label.hero-label-liquid::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -65%;
  left: -75%;
  width: 38%;
  height: 230%;
  background: linear-gradient(
    90deg,
    rgba(112, 197, 0, 0),
    rgba(255, 255, 255, .18) 30%,
    rgba(112, 197, 0, .30) 50%,
    rgba(255, 255, 255, .16) 68%,
    rgba(112, 197, 0, 0)
  );
  filter: blur(1px);
  transform: rotate(28deg);
  pointer-events: none;
  animation: hopesLiquidShineV11 7s cubic-bezier(.25, 1, .5, 1) infinite;
}

/* Volume translucide mouvant sous les mots. */
.hero-label.hero-label-liquid::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -8%;
  top: -80%;
  width: 44%;
  height: 250%;
  border-radius: 48% 52% 58% 42% / 44% 52% 48% 56%;
  background:
    radial-gradient(circle at 32% 34%, rgba(255, 255, 255, .55), transparent 25%),
    linear-gradient(145deg, rgba(112, 197, 0, .14), rgba(112, 197, 0, .025));
  filter: blur(8px);
  opacity: .72;
  pointer-events: none;
  animation: hopesLiquidVolumeV11 7.5s ease-in-out infinite alternate;
}

@keyframes hopesPremiumWordLoop {
  0% {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(125%) rotateX(-28deg);
  }
  11%, 75% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) rotateX(0deg);
  }
  84%, 100% {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(-125%) rotateX(26deg);
  }
}

@keyframes hopesLiquidShineV11 {
  0%, 12% { left: -75%; opacity: 0; }
  20% { opacity: .9; }
  44% { left: 145%; opacity: .75; }
  52%, 100% { left: 145%; opacity: 0; }
}

@keyframes hopesLiquidVolumeV11 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(-18%, 5%, 0) rotate(13deg) scale(1.08); }
  100% { transform: translate3d(-35%, -2%, 0) rotate(-9deg) scale(.96); }
}

body.dark-mode .hero-label.hero-label-liquid {
  border-color: rgba(112, 197, 0, .28);
  background: linear-gradient(135deg, rgba(112, 197, 0, .08), rgba(255, 255, 255, .055) 48%, rgba(112, 197, 0, .025));
  box-shadow:
    0 20px 48px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255, 255, 255, .12),
    inset 0 0 20px rgba(112, 197, 0, .08);
}

body.dark-mode .hero-label-liquid .word {
  color: #ffffff;
}

body.dark-mode .hero-label-liquid .word-professional {
  color: var(--primary) !important;
}

@media (max-width: 576px) {
  .hero-label.hero-label-liquid {
    gap: 4px 7px;
    padding: 10px 16px;
    border-radius: 18px;
  }

  .hero-label-liquid .word {
    font-size: .64rem;
    letter-spacing: .055em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-label-liquid .word,
  .hero-label.hero-label-liquid::before,
  .hero-label.hero-label-liquid::after {
    animation: none !important;
  }

  .hero-label-liquid .word {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
