#services-hero {
  position: relative;
}
#services-hero .section-top {
  align-items: flex-start;
}
#services-hero .section-title {
  margin-bottom: 2rem;
}
#services-hero .section-slogan {
  color: var(--theme-green);
  margin-bottom: 2rem;
}
@media (max-width: 992px) {
  #services-hero {
    padding: 0;
  }
  #services-hero .section-title {
    max-width: 85%;
    margin-bottom: 1rem;
  }
  #services-hero .section-slogan {
    margin-bottom: 1rem;
  }
}


#services-grid {
  padding: 2rem 0;
}
#services-grid .section-top {
  align-items: flex-start;
  margin-bottom: 2rem;
}
#services-grid .service-filters {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 3rem;
}
#services-grid .service-filter-chip {
  font-weight: 500;
  color: var(--main-color);
  font-size: var(--size-14-15-15);
  line-height: 1.3em;
}
#services-grid .service-filter-chip.is-active,
#services-grid .service-filter-chip:hover {
  border-bottom: 2px solid var(--theme-green);
}
.services-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem 1.8rem;
}
.services-grid .service-card {
  aspect-ratio: 1.452;
}
.services-grid .service-card-link {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  text-decoration: none;
  color: #fff;
  border-radius: var(--site-br);
  overflow: hidden;
  isolation: isolate;
  /* background-position: center;
  background-size: cover;
  background-repeat: no-repeat; */
}
.services-grid .service-card-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--main-color);
  mix-blend-mode: multiply;
  opacity: 0.4;
  z-index: -1;
}
.services-grid .service-card-link::after {
  content: "";
  position: absolute;
  inset: 0;

  background-image: inherit;
  background-size: cover;
  background-position: center;

  transform: scale(1);
  transition: transform 0.6s ease;

  z-index: -2;
}
.services-grid .service-card-link:hover::after {
  transform: scale(1.08);
}
.services-grid .service-card-body {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.services-grid .service-card-title {
  position: relative;
  max-width: 68%;
}
.services-grid .card-title {
  color: #fff;
  font-weight: 500;
  font-size: var(--size-16-30-30);
  line-height: 1.1667em;
  text-align: center;
}
.services-grid .service-card-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 150%);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  padding: 0.4em 1em 0.2em 1em;
  border-radius: 999px;
  background-color: var(--theme-pink);
  color: #fff;
  font-weight: 500;
  font-size: var(--size-10-15-15);
  text-transform: uppercase;
  line-height: 1;
}
.services-grid .arrow-rounded-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 31px;
}
#services-grid .services-grid-empty {
  padding: 2rem;
}
@media (max-width: 992px) {
  #services-grid {
    padding: 2rem 0;
  }
  #services-grid .service-filters {
    margin-bottom: 1rem;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 1rem;
  }
  .services-grid .service-card-title {
    max-width: 85%;
  }
  .services-grid .arrow-rounded-button {
    top: 5px;
    right: 5px;
    width: 20px;
  }
}
@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

#services-environnement {
  padding: 8rem 0;
}
#services-environnement .section-wrapper {
  gap: 0 5%;
}
#services-environnement .section-left {
  width: 38%;
  gap: 1rem;
}
#services-environnement .content-wrapper {
  width: 100%;
  background-color: var(--theme-green);
  border-radius: var(--site-br);
  overflow: hidden;
  padding: 10% 8%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: auto;
}
#services-environnement .section-title {
  margin: 0;
}
#services-environnement .content-wrapper .section-title {
  color: #fff;
}
#services-environnement .content-wrapper .section-content {
  color: #fff;
}
#services-environnement .section-right {
  width: 57%;
  align-items: flex-start;
}
#services-environnement .section-right .image-wrapper {
  width: calc(100% + var(--container-margin));
  height: 100%;
  aspect-ratio: 1.753;
  border-bottom-left-radius: var(--site-br);
  border-top-left-radius: var(--site-br);
  overflow: hidden;
}
@media (max-width: 992px) {
  #services-environnement {
    padding: 2rem 0;
  }
  #services-environnement .section-wrapper {
    flex-direction: column-reverse;
  }
  #services-environnement .section-left {
    width: 100%;
    align-items: flex-start;
  }
  #services-environnement .section-right {
    width: 100%;
  }
}

.section-archive-item {
  padding: 4rem 0;
}
.section-archive-item .section-wrapper {
  gap: 0 5%;
}
.section-archive-item.even .section-wrapper {
  flex-direction: row-reverse;
}
.section-archive-item .section-left {
  width: 36%;
  gap: 1rem;
}
.section-archive-item .section-right {
  width: 59%;
  align-items: flex-start;
}
.section-archive-item .section-subtitle {
  margin: 0;
}
.section-archive-item .section-content {
  margin-bottom: 1rem;
}
.section-archive-item .section-content p {
  margin: 0;
}
.section-archive-item .section-right .image-wrapper {
  width: 100%;
  height: 100%;
  aspect-ratio: 1.753;
  border-radius: var(--site-br);
  overflow: hidden;
}
@media (max-width: 992px) {
  .section-archive-item {
    padding: 1rem 0;
  }
  .section-archive-item .section-wrapper, .section-archive-item.even .section-wrapper {
    flex-direction: column-reverse;
  }
  .section-archive-item .section-left {
    width: 100%;
    align-items: flex-start;
  }
  .section-archive-item .section-right {
    width: 100%;
  }
}

#service-hero {
}
#service-hero .section-wrapper {
  gap: 0 8%;
}
#service-hero .section-left {
  width: 42%;
  gap: 2rem 2rem;
}
#service-hero .section-top-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem 2rem;
}
#service-hero .service-logo {
  width: 61px;
  aspect-ratio: 1;
}
#service-hero .titles-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}
#service-hero .titles-wrapper .section-title {
  margin: 0;
}
#service-hero .titles-wrapper .section-subtitle {
  margin: 0;
}
#service-hero .service-card-badge {
  font-weight: 500;
  color: #fff;
  font-size: var(--size-12-18-18);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.6em 1.2em;
  border-radius: 999px;
  background-color: var(--theme-pink);
}
#service-hero .section-content p {
  margin: 0 0 1.2rem 0;
}
#service-hero .bullet-points-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem 1rem;
}
#service-hero .bullet-point {
  width: 100%;
  color: var(--theme-text);
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 1rem 1rem;
}
#service-hero .bullet-point svg {
  width: 20.68px;
  height: 20.68px;
}
#service-hero .site-btn {
  margin-top: 4rem;
}
#service-hero .section-right {
  width: 50%;
  justify-content: flex-start;
  gap: 1rem;
}
#service-hero .service-gallery {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#service-hero .service-gallery-main {
  width: 100%;
  aspect-ratio: 1.533;
  border-radius: var(--site-br);
  overflow: hidden;
  background-color: #f3efe7;
}
#service-hero .service-gallery-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 1rem;
  --displayedThumb: var(--displayedThumbDesktop);
}
#service-hero .service-gallery-wrapper .carousel-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  pointer-events: all;
  opacity: 1;
  visibility: visible;
}
#service-hero .service-gallery-wrapper .carousel-nav.inactif {
  cursor: none;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
#service-hero .service-gallery-wrapper .carousel-nav svg {
  width: 30px;
  height: 30px;
}
#service-hero .service-gallery-wrapper .carousel-next {
  transform: rotateZ(180deg);
}
#service-hero .service-gallery-thumbnails-wrapper {
  width: 100%;
  overflow: hidden;
}
#service-hero .service-gallery-thumbnails {
  width: calc(100% * var(--totalThumb) / var(--displayedThumb));
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 1rem;
  transition: transform 0.3s ease;
}
#service-hero .service-gallery-thumbnail {
  width: calc(100% / var(--displayedThumb));
  aspect-ratio: 1.556;
  padding: 0;
  border: none;
  border-radius: calc(var(--site-br) * 0.65);
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
#service-hero .service-gallery-thumbnail:hover,
#service-hero .service-gallery-thumbnail.is-active {
  opacity: 1;
}
#service-hero .service-gallery-thumbnail img {
  display: block;
}
@media (max-width: 992px) {
  #service-hero {
    padding: 1rem 0 2rem 0;
  }
  #service-hero .section-wrapper {
    flex-direction: column-reverse;
    gap: 2rem 0;
  }
  #service-hero .section-top-wrapper {
    gap: 1rem;
  }
  #service-hero .section-left,
  #service-hero .section-right {
    width: 100%;
    margin: 0;
  }
  #service-hero .site-btn {
    margin-top: 1rem;
  }
  #service-hero .site-btn .btn-title {
    font-size: 12px;
  }

#service-hero .service-gallery-wrapper {
  --displayedThumb: var(--displayedThumbMobile);
}
  #service-hero .service-gallery-thumbnails {

  }
}

#service-campus .section-wrapper {
  background-color: var(--main-color);
  border-radius: var(--site-br);
  overflow: hidden;
  padding: 4rem 4rem;
}
#service-campus .section-top {
  gap: 2rem;
}
#service-campus .map-icon {
  color: var(--theme-pink);
}
#service-campus .map-icon svg {
  width: 51px;
  height: 47.25px;
}
#service-campus .section-title {
  color: #fff;
  text-align: center;
  margin: 0;
}
@media (max-width: 992px) {
  #service-campus {
    padding: 0;
  }
  #service-campus .section-wrapper {
    border-radius: 20px;
  }
}

#service-autres .section-wrapper {
  gap: 0;
}
#service-autres .section-left {
  width: 100%;
  align-items: flex-start;
}
#service-autres .section-title {
  margin: 0 0 2rem 0;
}
@media (max-width: 992px) {
  #service-autres {
    padding: 2rem 0;
  }
  #service-autres .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1rem;
  }
  #service-autres .services-grid .service-card-link {
    border-radius: 20px;
  }
  #service-autres .services-grid .arrow-rounded-button {
    width: 30px;
  }
}
@media (max-width: 767px) {
  #service-autres .services-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
