/* SLIDER PROJETS */
.slider-projets {
  margin-bottom: 28px;
}
@media screen and (min-width: 1025px) {
  .slider-projets {
    margin-bottom: 128px;
  }
}
@media screen and (min-width: 1025px) {
  .slider-projets .container {
    display: flex;
  }
}
.slider-projets .fond-color {
  background: url(../images/bg-fond.png), #edf7ff;
  padding: 56px 0 290px 0;
}
@media screen and (min-width: 768px) {
  .slider-projets .fond-color {
    padding: 128px 0 0 0;
  }
}
.slider-projets .container-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 16px;
  max-width: 1440px;
  width: 100%;
  margin: auto;
}
@media screen and (min-width: 768px) {
  .slider-projets .container-text {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 16px 500px 16px;
    gap: 64px;
    align-items: flex-end;
  }
}
@media screen and (min-width: 1281px) {
  .slider-projets .container-text {
    padding: 0 80px 500px 80px;
  }
}
.slider-projets .container-text h2 {
  color: var(--electricBlue);
}
@media screen and (min-width: 768px) {
  .slider-projets .container-text h2 {
    max-width: 535px;
    width: 100%;
  }
}
@media screen and (min-width: 768px) {
  .slider-projets .container-text p {
    max-width: 681px;
    width: 100%;
    font-size: 1.25rem;
  }
}
.slider-projets .container-slides {
  margin-top: -250px;
}
@media screen and (min-width: 768px) {
  .slider-projets .container-slides {
    margin-top: -436px;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
}
@media screen and (min-width: 1025px) {
  .slider-projets .container-slides {
    max-width: 900px;
  }
}
@media screen and (min-width: 1281px) {
  .slider-projets .container-slides {
    max-width: 1123px;
  }
}
.slider-projets .container-slides .slide-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 16px;
}
@media screen and (min-width: 768px) {
  .slider-projets .container-slides .slide-item {
    padding: 0;
    gap: 48px;
  }
}
.slider-projets .container-slides .slide-item .item-title {
  position: relative;
}
@media screen and (min-width: 768px) {
  .slider-projets .container-slides .slide-item .item-title {
    background: none;
    padding: 0;
  }
}
.slider-projets .container-slides .slide-item .item-title a {
  position: relative;
  display: inline-block;
  width: 100%;
}
.slider-projets .container-slides .slide-item .item-title a h3 {
  padding: 120px 24px 24px 24px;
  font-size: 3rem;
  font-style: normal;
  font-weight: 500;
  line-height: 110%;
  color: var(--white);
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .slider-projets .container-slides .slide-item .item-title a h3 {
    padding: 380px 16px 64px 16px;
  }
}
@media screen and (min-width: 1281px) {
  .slider-projets .container-slides .slide-item .item-title a h3 {
    font-size: 5rem;
    padding: 380px 0 64px 80px;
  }
}
.slider-projets .container-slides .slide-item .item-title a img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  -o-object-fit: cover;
  object-fit: cover;
  max-width: 100%;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.slider-projets .container-slides .slide-item .item-title .link-container {
  position: absolute;
  right: 10px;
  bottom: 31px;
  z-index: 1;
  display: flex;
  gap: 8px;
}
@media screen and (min-width: 450px) {
  .slider-projets .container-slides .slide-item .item-title .link-container {
    right: 24px;
  }
}
@media screen and (min-width: 768px) {
  .slider-projets .container-slides .slide-item .item-title .link-container {
    right: 80px;
    bottom: 64px;
  }
}
.slider-projets
  .container-slides
  .slide-item
  .item-title
  .link-container
  button {
  border: 1px solid var(--white);
  cursor: pointer;
}
.slider-projets
  .container-slides
  .slide-item
  .item-title
  .link-container
  button:first-child {
  padding: 12px 24px;
  line-height: normal;
  color: var(--white);
  border-radius: 50px;
}
.slider-projets
  .container-slides
  .slide-item
  .item-title
  .link-container
  button:last-child {
  height: 43px;
  width: 43px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  display: none;
}
@media screen and (min-width: 450px) {
  .slider-projets
    .container-slides
    .slide-item
    .item-title
    .link-container
    button:last-child {
    display: block;
  }
}
.slider-projets
  .container-slides
  .slide-item
  .item-title
  .link-container
  button:last-child::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  -webkit-mask: url(../images/icons/icon-redirection.svg) no-repeat;
  mask: url(../images/icons/icon-redirection.svg) no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  background-color: var(--white);
  z-index: 1;
  transition: transform 0.5s ease-in-out, background-color 0.5s ease-in-out;
}
.slider-projets
  .container-slides
  .slide-item
  .item-title
  .link-container
  button:last-child::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 0%;
  background-color: var(--sarcelleLight);
  transition: height 0.5s ease-in-out;
}
.slider-projets
  .container-slides
  .slide-item
  .item-title
  .link-container:hover
  button::before {
  background-color: var(--sarcelle);
}
.slider-projets
  .container-slides
  .slide-item
  .item-title
  .link-container:hover
  button::after {
  height: 100%;
}
.slider-projets .container-slides .slide-item .item-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    27deg,
    #008a8f 8.15%,
    rgba(0, 138, 143, 0) 63.32%
  );
  max-width: 100%;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
}
@media screen and (min-width: 768px) {
  .slider-projets .container-slides .slide-item .item-title::after {
    max-width: 100%;
    opacity: 0;
  }
}
.slider-projets .container-slides .slide-item .item-title:hover::after {
  opacity: 1;
}
.slider-projets .container-slides .slide-item .item-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .slider-projets .container-slides .slide-item .item-content {
    padding: 0 16px;
    flex-direction: row;
    gap: 32px;
    justify-content: space-between;
  }
}
@media screen and (min-width: 1281px) {
  .slider-projets .container-slides .slide-item .item-content {
    padding: 0 80px;
  }
}
.slider-projets
  .container-slides
  .slide-item
  .item-content
  .categories-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media screen and (min-width: 768px) {
  .slider-projets
    .container-slides
    .slide-item
    .item-content
    .categories-container {
    flex-direction: column;
  }
}
.slider-projets
  .container-slides
  .slide-item
  .item-content
  .categories-container
  .category {
  border: 1px solid var(--electricBlue);
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.625rem;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  text-transform: uppercase;
}
@media screen and (min-width: 768px) {
  .slider-projets
    .container-slides
    .slide-item
    .item-content
    .categories-container
    .category {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }
}
.slider-projets .container-slides .slide-item .item-content .content-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .slider-projets
    .container-slides
    .slide-item
    .item-content
    .content-container {
    max-width: 766px;
  }
}
.slider-projets
  .container-slides
  .slide-item
  .item-content
  .content-container
  .tags-container {
  display: flex;
  gap: 16px;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: var(--sarcelle);
}
.slider-projets
  .container-slides
  .slide-item
  .item-content
  .content-container
  .tags-container
  p:not(:last-child) {
  display: flex;
  align-items: center;
  gap: 16px;
}
.slider-projets
  .container-slides
  .slide-item
  .item-content
  .content-container
  .tags-container
  p:not(:last-child)::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--sarcelle);
  opacity: 0.4;
}
.slider-projets
  .container-slides
  .slide-item
  .item-content
  .content-container
  > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: var(--greyDark);
}
.slider-projets .item-navigation {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}
@media screen and (min-width: 1025px) {
  .slider-projets .item-navigation {
    max-width: 317px;
    width: 100%;
    margin-top: -436px;
  }
}
.slider-projets .item-navigation .slider-projets-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
@media screen and (min-width: 1025px) {
  .slider-projets .item-navigation .slider-projets-nav {
    flex-direction: column-reverse;
  }
}
@media screen and (min-width: 1025px) {
  .slider-projets .item-navigation .slider-projets-nav.mobile {
    display: none;
  }
}
.slider-projets .item-navigation .slider-projets-nav.desktop {
  display: none;
}
@media screen and (min-width: 1025px) {
  .slider-projets .item-navigation .slider-projets-nav.desktop {
    display: flex;
  }
}
.slider-projets .item-navigation .slider-projets-nav button {
  position: relative;
  height: 56px;
  width: 56px;
  border: 1px solid var(--electricBlue);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media screen and (min-width: 1025px) {
  .slider-projets .item-navigation .slider-projets-nav button {
    height: 93px;
    width: 93px;
  }
}
.slider-projets .item-navigation .slider-projets-nav button.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.slider-projets .item-navigation .slider-projets-nav button::before {
  content: "";
  display: block;
  background-color: var(--electricBlue);
  height: 16px;
  width: 16px;
}
.slider-projets .item-navigation .slider-projets-nav button.owl-prev::before {
  -webkit-mask: url("../images/icons/arrow-left.svg") no-repeat;
  mask: url("../images/icons/arrow-left.svg") no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.slider-projets .item-navigation .slider-projets-nav button.owl-next::before {
  -webkit-mask: url("../images/icons/arrow-right.svg") no-repeat;
  mask: url("../images/icons/arrow-right.svg") no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.slider-projets .item-navigation .slider-projets-nav button::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 0%;
  background-color: var(--blueLight);
  transition: height 0.5s ease-in-out;
  z-index: -1;
}
.slider-projets .item-navigation .slider-projets-nav button:hover::after {
  height: 100%;
}
@media screen and (min-width: 1025px) {
  .slider-projets .item-navigation .link-container a button:first-child {
    display: none;
  }
  .slider-projets .item-navigation .link-container a button:last-child {
    width: 93px;
    height: 93px;
  }
  .slider-projets .item-navigation .link-container a button:last-child::before {
    width: 24px;
    height: 24px;
    -webkit-mask: url(../images/icons/picto-list.svg) no-repeat;
    mask: url(../images/icons/picto-list.svg) no-repeat;
  }
}

/* END SLIDER PROJETS */
