/* ======================================
   HEADING
====================================== */
.expertise__wrapper-heading {
  margin-bottom: 40px;
}

.expertise__wrapper-heading > .title > div > h3 {
  margin: 0;
  color: var(--color-neutral--1);
  font-family: var(--font-poppins);
  font-size: 25px;
  font-weight: 700;
  line-height: 120%;
}

.expertise__wrapper-heading > .description {
  font-family: var(--font-poppins);
  font-size: 18px;
}

/* ======================================
   DESKTOP (999px+)
====================================== */
@media screen and (min-width: 999px) {
  .expertise__wrapper-heading {
    margin-bottom: 80px;
  }

  .expertise__wrapper-heading > .title > div > h3 {
    font-size: 50px;
  }
}

/* ======================================
   ITEMS
====================================== */
.expertise__wrapper-items {
  position: relative;
}

.expertise__wrapper-items > div {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.expertise__item-wrapper_text {
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.expertise__item-wrapper_content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ======================================
   DESKTOP (999px+)
====================================== */
@media screen and (min-width: 999px) {
  .expertise__wrapper-items > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .expertise__wrapper-items::before {
    content: '';
    position: absolute;
    left: -150px;
    top: -40px;
    width: 55vw;
    height: calc(100% + 85px);
    background-color: var(--color-tertiary--dark);
    z-index: -1;
    border-radius: 10px;
  }
}


/* ======================================
   FULL LINK OVERLAY
====================================== */
.expertise__item-wrapper_content {
position: relative;
}
.expertise__full-link {
position: absolute;
top: 110px;
left: 0;
right: 0;
bottom: 0;
z-index: 1;
border-radius: 10px;
}
/* Le CTA reste cliquable par-dessus le lien fantôme */
.expertise__item-wrapper_link {
position: relative;
z-index: 2;
}

/* ======================================
   HOVER CARTE
====================================== */
.expertise__item-wrapper:hover .expertise__item-wrapper_link > div > div > a {
background-color: var(--color-tertiary--dark);
border-color: var(--color-tertiary--dark);
}
