/* ================================
   Qui sommes-nous
   ================================ */
.about {
  position: relative;
  min-height: 0;
  background: var(--gray);
  padding: 120px 20px 90px 20px;
}

.about__main {
  display: flex;
  flex-direction: column;
}

.about__heading {
  max-width: 600px;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  margin-bottom: 140px;
}

.about__img {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  margin-bottom: 60px;
  z-index: 301;
}

.about__img img {
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

.about__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(-82deg, rgba(255,255,255,.99) 4%, rgba(255,255,255,0) 37%);
  mix-blend-mode: hard-light;
  border-radius: var(--radius);
  pointer-events: none;
}

.about__body {
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  margin-bottom: 2px;
}

.about__lead {
  max-width: 600px;
  font-weight: 800;
  margin-bottom: 30px;
}

.about__list {
  max-width: 600px;
  padding-left: 16px;
}

/* ================================
   Prestations (liste dans .about)
   ================================ */
.services__list {
  list-style: none;
  margin-top: 80px;
}

.services__item {
  border-top: 1px solid var(--gray-light);
}

.services__item:first-child {
  border-top: none;
}

.services__item:last-child {
  border-bottom: 1px solid var(--gray-light);
}

.services__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: clamp(36px, 3vw, 48px);
  font-weight: 400;
  line-height: 60px;
  text-transform: uppercase;
  color: var(--black);
  text-align: left;
}

.services__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.4s ease;
}

.services__icon::before,
.services__icon::after {
  content: '';
  position: absolute;
  background: var(--black);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.services__icon::before {
  width: 2px;
  height: 16px;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.services__icon::after {
  width: 16px;
  height: 2px;
}

.services__trigger[aria-expanded="true"] .services__icon::before {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.services__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.services__panel.is-open {
  grid-template-rows: 1fr;
}

.services__panel-inner {
  overflow: hidden;
}

.services__panel-inner p {
  padding-bottom: 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: var(--black);
}

/* ================================
   About + services desktop
   ================================ */
@media (min-width: 1024px) {
  .about {
    padding: 230px 0;
  }

  .about__main {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 200px;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 30px;
  }

  .about__column--primary {
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 160px;
  }

  .about__heading {
    width: 100%;
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    margin-bottom: 0;
  }

  .about__img {
    width: 100%;
    margin: 0;
  }

  .about__column--secondary {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 160px;
  }

  .about__body {
    width: 100%;
    margin-bottom: 0;
  }

  .services__list {
    width: 100%;
    margin-top: 0;
  }

  .services__list li {
    padding: 24px 0;
  }
}
