/* Pellicule comparative partagée par les formules film et les offres Signature. */
.film-duration {
  width: 100%;
  box-sizing: border-box;
  margin: 0.2rem 0 1rem;
  padding: 0.72rem 0.78rem 0.66rem;
  border: 1px solid rgba(111, 83, 212, 0.17);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(247, 244, 255, 0.92), rgba(255, 248, 252, 0.92));
  box-shadow: 0 7px 17px rgba(91, 61, 180, 0.06);
}

.film-duration__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.film-duration__heading > span {
  color: #746b82;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.film-duration__heading strong {
  color: #6847ef;
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.film-duration__heading small {
  color: #6e6479;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.film-duration__strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.28rem;
  padding: 0.48rem 0.38rem;
  border-radius: 9px;
  background-color: #2d2733;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1.1px, transparent 1.4px),
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1.1px, transparent 1.4px);
  background-position: 2px 1px, 2px calc(100% - 1px);
  background-repeat: repeat-x;
  background-size: 12px 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 5px 12px rgba(35, 25, 45, 0.15);
}

.film-duration__strip span {
  position: relative;
  display: grid;
  min-width: 0;
  height: 1.7rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: #554e5b;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05);
}

.film-duration__strip span.is-filled {
  border-color: rgba(213, 195, 255, 0.38);
  background: linear-gradient(135deg, #7153e8, #a254d2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 3px 8px rgba(111, 83, 232, 0.32);
  animation: film-duration-frame-wave 4.2s ease-in-out infinite;
}

.film-duration__strip span.is-filled::before {
  width: 0;
  height: 0;
  border-top: 0.28rem solid transparent;
  border-bottom: 0.28rem solid transparent;
  border-left: 0.42rem solid rgba(255, 255, 255, 0.82);
  content: "";
  filter: drop-shadow(0 1px 2px rgba(37, 22, 62, 0.2));
}

.film-duration__strip span:nth-child(2) { animation-delay: 0.14s; }
.film-duration__strip span:nth-child(3) { animation-delay: 0.28s; }
.film-duration__strip span:nth-child(4) { animation-delay: 0.42s; }
.film-duration__strip span:nth-child(5) { animation-delay: 0.56s; }

.film-duration p {
  margin: 0.48rem 0 0;
  color: #655b70;
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.015em;
  text-align: center;
}

.film-duration--maximum {
  border-color: rgba(113, 83, 232, 0.3);
  box-shadow: 0 8px 20px rgba(91, 61, 180, 0.1);
}

.film-duration--signature {
  margin-top: -0.35rem;
}

@keyframes film-duration-frame-wave {
  0%, 70%, 100% { filter: brightness(1); transform: translateY(0); }
  82% { filter: brightness(1.12); transform: translateY(-1px); }
}

@media (max-width: 420px) {
  .film-duration { padding-inline: 0.62rem; }
  .film-duration__strip { gap: 0.22rem; padding-inline: 0.3rem; }
  .film-duration__heading strong { font-size: 1.22rem; }
}

@media (prefers-reduced-motion: reduce) {
  .film-duration__strip span.is-filled { animation: none; }
}
