.bloc-pre-footer {
  background-color: var(--color-secondary--2);
  border-radius: 28px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
  padding: 3rem 2rem 0rem 2rem;
  overflow: hidden;
  position: relative;
}

.bloc-pre-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../images/prefooter/background-shape.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

.bloc-pre-footer__content {
  max-width: 500px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.bloc-pre-footer .field--name-field-image {
  z-index: 1;
}

.bloc-pre-footer .field--name-field-image img{
  margin-bottom: -2.5rem;
}

.bloc-pre-footer__title {
  font-size: var(--heading-size-l);
  line-height: 110%;
}

.bloc-pre-footer__title p, 
.bloc-pre-footer__text p,
.bloc-pre-footer__link {
  margin: 0;
}

.bloc-pre-footer__text {
  font-size: var(--content-size-m);
}

.bloc-pre-footer__link a {
  display: flex;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: fit-content;
  border-radius: 15px;
  transition: all ease .25s;
  background: var(--color-secondary--1);
  color: var(--color-white);
  border: 1px solid var(--color-white);
  text-decoration: none;
}

.bloc-pre-footer__link a::after {
  display: block;
  content: '';
  width: 30px;
  height: 30px;
  background-image: url(../../images/cta/arrow--white.svg);
  background-position: center;
  background-repeat: no-repeat;
  object-fit: contain;
}

.bloc-pre-footer__link a:hover {
  color: var(--color-secondary--1);
  background: var(--color-white);
  border: 1px solid var(--color-secondary--1);
}

.bloc-pre-footer__link a:hover::after {
  background-image: url(../../images/cta/arrow--green.svg);
}


@media (min-width: 1000px) {
  .bloc-pre-footer {
    flex-direction: row;
    margin: 3rem 0 5rem 0;
    padding: 1rem 1rem 0rem 1rem;
    flex-direction: row;
    gap: 1rem;
  }
  .bloc-pre-footer .field--name-field-image img{
    margin-bottom: unset;
  }
}

@media (min-width: 1300px) {

  .bloc-pre-footer {
    padding: 0rem 1rem 0rem 1rem;
    gap: 2rem;
  }

}