/* Animation unique des 23 kits. Chargee apres les styles propres a chaque page. */
.kit-hero .conteneur {
  grid-template-columns: minmax(0, 1fr) 370px !important;
  gap: 56px !important;
}

.pack-visuel {
  position: relative;
  width: 370px;
  max-width: 370px;
  min-height: 610px;
}

.kit-cover {
  position: relative;
  z-index: 1;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--ombre-nuit);
  transform: rotate(1.5deg);
}

.kit-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.pack-fiches {
  position: absolute;
  z-index: 6;
  top: 48%;
  left: 50%;
  width: 338px;
  height: 478px;
  pointer-events: none;
  isolation: isolate;
  transform: translate(-50%, -50%) rotate(1.5deg);
}

.pack-fiches i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 312px;
  height: 440px;
  margin: auto;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 13px;
  background: #fff var(--kit-image) center top / cover no-repeat;
  box-shadow: 0 1px 0 rgba(10, 22, 40, .08);
  opacity: 0;
  transform: translateY(132px) scale(.96);
  animation: empiler-fiche .72s cubic-bezier(.2, .85, .25, 1) forwards;
  animation-delay: calc(var(--i) * 28ms);
}

.pack-fiches i::before,
.pack-fiches i::after {
  content: none !important;
  display: none !important;
}

.pack-fiches i.fiche-finale {
  z-index: 80;
  background: #fff var(--kit-final-image) center top / cover no-repeat;
  opacity: .98;
}

@keyframes empiler-fiche {
  0% {
    opacity: 0;
    transform: translateY(120px) scale(.94);
  }

  72% {
    opacity: .86;
  }

  100% {
    opacity: .9;
    transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px)) scale(1);
  }
}

.prix-hero {
  position: absolute;
  z-index: 120;
  top: 118px;
  right: -18px;
  width: 164px;
  padding: 15px 16px 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 16px;
  background: linear-gradient(160deg, var(--piment), var(--piment-fonce));
  box-shadow: 0 14px 28px rgba(10, 22, 40, .22);
  color: #fff;
  transform: rotate(3deg);
}

.prix-hero span {
  display: block;
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.prix-hero strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-family: "Libre Franklin", sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.prix-hero .prix-ht,
.preuve .prix-ht,
.prix-stat .prix-ht,
.offre-box .prix .prix-ht,
.decision-offre .prix-ht,
.quick-proof .prix-ht {
  display: inline;
  color: inherit;
  font-family: "Inter", sans-serif;
  font-size: clamp(10px, .36em, 16px);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: .25em;
  white-space: nowrap;
}

.prix-hero em {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .86);
  font-size: 11px;
  font-style: normal;
  line-height: 1.25;
}

.paiement-securise {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 760px;
  margin-top: 11px;
  color: var(--acier);
  font-size: 12.5px;
  line-height: 1.45;
  text-align: left;
}

.paiement-securise > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(30, 122, 70, .12);
  color: #1e7a46;
  font-size: 11px;
  font-weight: 900;
}

.kit-actions .paiement-securise,
.decision-actions .paiement-securise {
  flex: 1 0 100%;
  width: 100%;
  margin-block: 0;
}

.kit-hero .paiement-securise,
.achat .paiement-securise {
  color: #c6d4e4;
}

.kit-hero .paiement-securise > span:first-child,
.achat .paiement-securise > span:first-child {
  background: rgba(255, 255, 255, .1);
  color: #8ee0ad;
}

@media (max-width: 980px) {
  .kit-hero .conteneur {
    grid-template-columns: 1fr !important;
  }

  .pack-visuel {
    width: 100%;
    max-width: 430px;
    min-height: 610px;
    margin-inline: auto;
  }

  .kit-cover {
    max-width: 360px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .pack-visuel {
    min-height: 560px;
  }

  .pack-fiches {
    width: 282px;
    height: 398px;
  }

  .pack-fiches i {
    width: 252px;
    height: 356px;
    border-width: 6px;
  }

  .prix-hero {
    top: 96px;
    right: 0;
    width: 150px;
    padding: 14px 15px;
  }

  .prix-hero strong {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pack-fiches i {
    opacity: .9;
    transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px));
    animation: none;
  }
}
