/* Traitement commun des cartes tarifaires photo et film. */
.pricing-card .features .feature-item {
  position: relative;
  padding-left: 1.45rem;
}

.pricing-card .features .feature-item::after {
  position: absolute;
  top: 1.02rem;
  left: 0.18rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d4aff, #d75fce);
  box-shadow: 0 0 0 4px rgba(109, 74, 255, 0.1);
  content: "";
  transform: translateY(-50%);
}

.feature-quantity {
  white-space: nowrap;
}

/* Une formule courte se lit comme un parcours unique, pas comme une addition de moments. */
.pricing-card .features .feature-item--sequence {
  display: list-item;
}

.feature-item--sequence > strong {
  display: block;
  margin-bottom: 0.53rem;
}

.feature-sequence-option {
  display: block;
  padding: 0.48rem 0.62rem;
  border: 1px solid rgba(109, 74, 255, 0.13);
  border-radius: 0.65rem;
  background: rgba(109, 74, 255, 0.055);
  color: #372f45;
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1.35;
}

.feature-sequence-option + .feature-sequence-option {
  margin-top: 0.45rem;
}

[data-theme="dark"] .feature-sequence-option {
  border-color: rgba(169, 154, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: inherit;
}

[data-theme="dark"] .pricing-card:not(.popular) .features .feature-item::after {
  background: linear-gradient(135deg, #a99aff, #e688de);
  box-shadow: 0 0 0 4px rgba(169, 154, 255, 0.12);
}

/* Les trois fonds restent identiques pour faciliter la comparaison. */
.pricing-card.popular {
  border: 1px solid rgba(111, 76, 255, 0.34);
  background: #fff;
  box-shadow:
    0 16px 38px rgba(91, 61, 185, 0.13),
    0 5px 20px rgba(0, 0, 0, 0.16);
  color: #17131f;
  transform: none;
}

.pricing-card.popular:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 46px rgba(91, 61, 185, 0.17),
    0 10px 30px rgba(0, 0, 0, 0.11);
}

#simple-pricing .pricing-card.popular .formula-positioning,
#simple-pricing .pricing-card.popular .formula-conversion-actions small {
  color: #746d80;
}

.pricing-card.popular .price {
  color: #6661fc !important;
}

.pricing-card.popular .original-price,
[data-theme="dark"] .pricing-card.popular .original-price {
  color: #999;
}

.pricing-card.popular .original-price::after {
  background: #f74b4b;
}

.pricing-card.popular .features li {
  border-bottom-color: #f0f0f0;
}

#simple-pricing .pricing-card.popular .formula-conversion-cta {
  border-color: rgba(111, 76, 255, 0.2);
  background: linear-gradient(135deg, #6847ef, #9b53d8);
  box-shadow: 0 9px 22px rgba(88, 58, 184, 0.18);
  color: #fff;
}

/* Label toujours visible et superposé : il ne modifie aucun alignement. */
.qrc-choice-badge {
  position: absolute;
  top: 14px;
  left: 0;
  z-index: 20;
  display: inline-flex !important;
  align-items: center;
  min-height: 34px;
  box-sizing: border-box;
  padding: 0.58rem 1.8rem 0.58rem 1rem;
  background: #241638;
  box-shadow: 0 8px 18px rgba(35, 20, 58, 0.2);
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.qrc-choice-badge strong {
  color: #d98bd4;
  font-weight: 900;
}

.pricing-card.expired .promotion-timer {
  display: none;
}

[data-theme="dark"] .pricing-card.popular {
  border-color: rgba(111, 76, 255, 0.36);
  background: rgb(209, 203, 242);
  color: #17131f;
}

/* L'offre la plus complète est valorisée sans concurrencer la recommandation. */
.pricing-card.pricing-card--signature {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, #9c7839 0%, #f3dda3 45%, #b58a3d 100%) border-box;
  box-shadow:
    0 18px 44px rgba(92, 65, 22, 0.13),
    0 5px 20px rgba(0, 0, 0, 0.2);
}

.pricing-card.pricing-card--signature:hover {
  box-shadow:
    0 22px 52px rgba(92, 65, 22, 0.18),
    0 10px 30px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .pricing-card.pricing-card--signature {
  background:
    linear-gradient(rgb(209, 203, 242), rgb(209, 203, 242)) padding-box,
    linear-gradient(145deg, #957038 0%, #f2dea7 45%, #b98d41 100%) border-box;
  box-shadow:
    0 18px 46px rgba(214, 175, 92, 0.14),
    0 0 20px rgba(255, 255, 255, 0.32);
}

@media (max-width: 640px) {
  #simple-pricing .pricing-card.popular .pricing-card-content {
    padding-top: 1.85rem;
  }
}
