/* HERO */
.home-hero {
  padding: 0;
}

.home-hero {
  position: relative;
  min-height: auto;
}

.home-hero::after {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    134.59deg,
    rgba(7, 20, 59, 0.8) 25.18%,
    rgba(141, 147, 165, 0.8) 65.47%,
    rgba(255, 255, 255, 0.8) 100%
  );
  z-index: 1;
}

.home-hero .wp-block-cover__inner-container {
  z-index: 2;
}

.home-hero .wp-block-cover__inner-container .home-hero-intro {
  column-gap: 200px;
  row-gap: 24px;
}

.home-hero-intro .home-hero-image {
  width: calc(50% + 20px);
  height: 75%;
  position: absolute;
  top: 0;
  right: -20px;
  z-index: -1;
}

.home-hero-intro .home-hero-image img {
  object-fit: cover;
  position: relative;
}

.home-hero-intro .home-hero-image img::after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #0000001a;
}

.home-hero-cta.wp-block-columns {
  gap: 0;
}

.home-hero-cta .wp-block-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 32px 0 32px;
  background-color: var(--white);
  transition: background-color 0.3s ease;
}

.home-hero-cta .wp-block-column:not(:last-child) {
  border-right: 1px solid var(--mid-grey);
}

.home-hero-cta h2 {
  line-height: 90%;
}

.home-hero-cta h2 {
  font-family: var(--clash-grotesk);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 120%;
}

.home-hero-cta h2 a {
  color: var(--blue-primary);
  text-decoration: none;
}

.home-hero-cta p {
  color: var(--blue-secondary);
}

.home-hero-cta .wp-block-group h2 {
  margin-bottom: 24px;
}

.home-hero-cta .wp-block-group img,
.home-hero-cta .wp-block-group p {
  margin-bottom: 8px;
}

.home-hero-cta .fleche {
  background-color: var(--blue-primary);
  padding: 12px;
  width: fit-content;
  transition: background-color 0.3s ease;
}

.home-hero-cta .wp-block-column h2 a,
.home-hero-cta .wp-block-column p {
  transition: color 0.3s ease;
}

.home-hero-cta .wp-block-column:hover {
  background-color: var(--blue-primary);
}

.home-hero-cta .wp-block-column:hover h2 a,
.home-hero-cta .wp-block-column:hover p {
  color: var(--white);
}

.home-hero-cta .wp-block-column:hover .fleche {
  background-color: var(--orange-primary);
}

/* GRILLE */
.home-grille {
  position: relative;
  gap: 0;
  margin: 0;
  z-index: 1;
}

.home-grille .home-grille-carte {
  padding: 48px 52px;
  position: relative;
}

.home-grille h3 {
  font-family: var(--clash-grotesk);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 100%;
}

.home-grille h3,
.home-grille p {
  margin-bottom: 24px;
}

.home-grille .home-grille-image figure {
  height: 100%;
  width: 100%;
}

.home-grille .home-grille-image figure img {
  height: 100%;
  width: 100% !important;
  object-fit: cover;
}

.texte-scrolling {
  display: flex;
  width: fit-content;
  height: auto;
  z-index: 0;
  position: absolute;
  bottom: 50%;
  animation: defilement 10s linear infinite;
}

.texte-scrolling img {
  display: block;
  height: 120px;
  object-fit: contain;
  min-width: fit-content;
}

@keyframes defilement {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}