.module-packs-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1rem;
}
.module-pack {
  height: fit-content;
}
.module-pack--image-wrapper {
  position: relative;
  max-width: 19.69em;
  flex-grow: 1;
}
.module-pack--image {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.module-pack {
  --rotation: -1deg;
}
.module-pack--highlight {
  --rotation: 1deg;
}
.module-pack article {
  position: relative;
  font-size: var(--text-l);
  width: 14em;
  padding: 1.75em;
  border-radius: 1rem;
  z-index: 1;
}
.module-pack article::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  width: 100%;
  transform: translate(-50%, -50%);
  border-radius: 1em;
  background: #fff;
  transition: 0.2s ease;
  z-index: -1;
}
html:not(.touch_screen) a.module-pack:hover article::before {
  height: calc(100% + 1em);
  width: calc(100% + 1em);
}
.module-pack h3 {
  font-size: 1.3em;
  font-weight: 600;
  margin: 0;
}
.module-pack p {
  color: var(--orange);
  margin: 0;
}
.module-pack ul {
  padding: 0;
  margin-top: var(--gap-2xl);
}
a.module-pack ul {
  margin-bottom: calc(var(--gap-2xl) * 2);
}
.module-pack ul li {
  position: relative;
  list-style: none;
  font-size: 0.9em;
  padding-left: 2em;
}
.module-pack ul li::before {
  content: "";
  position: absolute;
  left: 0;
  height: 1.42em;
  width: 1.42em;
  transform: translateY(-10%);
  background-image: url("../images/picto-circle-check-blue.svg");
  background-size: cover;
}
.module-pack ul li + li {
  margin-top: 1em;
}
.module-pack ul li span {
  color: var(--orange);
  display: block;
  margin-top: 0.3em;
}
.module-pack-button {
  display: flex;
  align-items: center;
  position: absolute;
  font-size: 0.9em;
  color: var(--orange);
  bottom: 2rem;
  right: 1rem;
  height: 2.8em;
}
.module-pack-button::before {
  content: "";
  position: absolute;
  right: 0;
  height: 100%;
  width: 2.8em;
  border-radius: 2.8em;
  background: var(--orange);
  transition: 0.2s ease;
  z-index: -1;
}
.module-pack--highlight .module-pack-button::before {
  width: 100%;
}
html:not(.touch_screen) .module-pack:hover .module-pack-button::before {
  width: 2.8em;
}
.module-pack-button span {
  padding: 0 1.2em;
  transform: translateX(0);
  transition: 0.2s ease;
}
.module-pack--highlight .module-pack-button span {
  transform: translateX(0.6em);
  color: #fff;
}
html:not(.touch_screen) .module-pack:hover .module-pack-button span {
  transform: translateX(0.6em);
  color: var(--orange);
}
.module-pack-button img {
  height: 1.5em;
  width: 1.5em;
  margin: 0.65em;
  transform: rotate(-90deg);
  transition: 0.2s ease;
}
html:not(.touch_screen) .module-pack:hover .module-pack-button img {
  transform: rotate(-135deg);
}

.module-pack .html-anim {
  --anim-size: 18rem;
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(31%, -42%);
  z-index: -2;
}
.module-pack .html-anim--mirror {
  top: auto;
  bottom: 0;
  transform: translate(31%, 42%) scaleX(-1) rotate(-180deg);
}

@media screen and (max-width: 1023px) {
  .module-pack article {
    font-size: var(--text-2xl);
  }
  .module-packs-container {
    gap: var(--gap-2xl);
  }
  .module-pack--image-wrapper {
    max-width: 26rem;
  }
}
