.cards-wrapper {
  background: linear-gradient(to top, var(--color-background) 0%, var(--color-background) 80%, transparent 80%, transparent 100%);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  padding-bottom: 2rem;
}
.cards-wrapper__items {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.cards-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 48px 20px;
  width: 100%;
  max-width: 460px;
  border-radius: 10px;
  background: white;
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.04);
}
.cards-item__image {
  align-self: flex-start;
}
.cards-item__image img {
  display: block;
  height: auto;
  max-width: 100%;
}
.cards-item__title {
  font-weight: bold;
  font-size: var(--heading-size-m);
  text-transform: uppercase;
  margin-top: 1rem;
}
.cards-homepage-item__text {
  line-height: 1.6;
}
.cards-homepage-item__text > p:first-child {
  margin-top: 0.5rem;
}
.cards-homepage-item__link a {
  display: inline-block;
  padding: 1rem 1.5rem;
  background-color: var(--color-primary--1);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 36px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.833rem;
  letter-spacing: 0.5px;
}
.cards-homepage-item__link a:hover {
  filter: brightness(1.1);
}
/* Tablette : 2 colonnes */
@media (min-width: 768px) {
  .cards-wrapper__items {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: unset;
  }
  .cards-item {
    flex: 0 0 calc((100% - 30px) / 2);
    max-width: calc((100% - 30px) / 2);
  }
}
/* Desktop : 3 colonnes */
@media (min-width: 1024px) {
  .cards-item {
    flex: 0 0 calc((100% - 60px) / 3);
    max-width: calc((100% - 60px) / 3);
  }
}
