main {
  overflow: hidden;
}

.absoluteTitle {
  position: relative;
  z-index: 2;
}

.absoluteTitle p {
  position: relative;
  z-index: 1;
  background-color: var(--white);
  width: fit-content;
  padding-inline-end: 1rem;
  color: var(--gray-dark);
  margin: 0;
}

.absoluteTitle::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0.125rem;
  top: 50%;
  background-color: var(--gray-dark);
}

@media (max-width: 959px) {
  .desktopMargin {
    margin-left: 0 !important;
  }
}

@media (min-width: 960px) {
  .absoluteTitle {
    position: absolute;
    left: 0;
    translate: 1rem;
    height: 100%;
  }

  .absoluteTitle p {
    writing-mode: vertical-rl;
    rotate: 180deg;
    padding-inline-end: 2rem;
    padding-inline-start: 1rem;
  }

  .absoluteTitle::after {
    top: unset;
    left: 50%;
    top: 0;
    width: 0.125rem;
    height: 100%;
  }
}

@media (min-width: 1200px) {
  .absoluteTitle {
    translate: 2rem;
  }
}

/* bandeau */
.bandeau {
  height: 70vh;
  color: var(--white);
  position: relative;
}


.bandeau ul {
  height: 100%;
}

.bandeau li {
  background: no-repeat center center / cover;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.bandeau li>div {
  width: 100%;
}

.bandeau li .card {
  clip-path: var(--clip-path);
  background-color: #00000099;
  width: 25rem;
  margin-left: auto;
}

.bandeau li .card p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.bandeau h2 {
  color: var(--white);
}

.bandeau .controllers {
  position: absolute;
  z-index: 1;
  inset: 0;
  margin-block: auto;
  height: fit-content;
  display: flex;
  justify-content: space-between;
}

.bandeau .controllers a {
  color: var(--white);
  padding: 0.5rem;

  transition: color var(--transition), background-color var(--transition);
}

.bandeau .controllers a:hover {
  background-color: var(--white);
  color: var(--cyan);
}

@media (max-width: 959px) {
  .bandeau {
    height: calc(100vh - 88px);
  }

  .bandeau li .card {
    box-sizing: border-box;
    width: 100%;
  }

  .bandeau li h2 {
    font-size: 1.25rem;
  }

  .bandeau li p {
    font-size: 0.875rem;
  }
}

/* entreprise */
.entreprise {
  background-color: var(--gray);
}

.entreprise .cards {
  width: 220%;
  max-width: 90rem;
}

.entreprise .cards img {
  width: 100%;
  max-width: 3rem;
}

.entreprise .cards h3 {
  font-size: 1.25rem;
}

.entreprise .cards p {
  line-height: 1.2;
}

.entreprise article {
  /* min-width: 25rem; */
  position: relative;
  z-index: 1;
  color: var(--white);
}

.entreprise article>div {
  clip-path: var(--clip-path);
  background-color: var(--cyan);
}

.entreprise .img img {
  width: calc(100% + 40px);
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.entreprise .absoluteTitle p {
  background-color: var(--gray);
}

.entreprise .absoluteTitle::after {
  height: calc(100% - 140px);
}

@media (max-width: 959px) {
  .entreprise .cards {
    width: unset;
    translate: 0 0;
  }

  .entreprise .img img {
    width: calc(100% + 60px);
    translate: -30px;
  }

  .entreprise .absoluteTitle::after {
    height: 0.125rem;
  }
}

@media (max-width: 639px) {
  .entreprise .img img {
    width: calc(100% + 30px);
    translate: -15px;
  }
}

/* cats + temoignage */

.cats {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* .cats .title,
  .temoignages .title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  } */
.cats .controllers a,
.temoignages .controllers a {
  padding: 0.5rem;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  transition: color var(--transition), background-color var(--transition);
}

.cats .controllers a:hover,
.temoignages .controllers a:hover {
  background-color: var(--cyan);
  color: var(--white);
}

.cats .uk-container,
.temoignages .uk-container {
  position: relative;
}

@media (min-width: 960px) {

  .cats .uk-container::after,
  .temoignages .uk-container::after {
    content: "";
    position: absolute;
    inset-block: -70px;
    background-color: var(--white);
    left: 80px;
    translate: -100%;
    width: 100%;
    z-index: 1;
  }
}

@media (min-width: 1200px) {

  .cats .uk-container::after,
  .temoignages .uk-container::after {
    left: 110px;
  }
}

/* cats */

.cats li {
  width: min(80%, 25rem);
}

.cats li a {
  overflow: hidden;
  display: block;
}

.cats li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--cyan);
  width: 1.5rem;
  height: 1.5rem;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  transition: background-color var(--transition);
}

.cats li img {
  clip-path: var(--clip-path);
  aspect-ratio: 4 / 3;

  width: 100%;
  transition: scale var(--transition);
}

.cats h3 {
  position: relative;
  z-index: 1;
  color: var(--white);
  background-color: var(--cyan);
  transition: background-color var(--transition);
}

.cats h3::after {
  content: "";
  position: absolute;
  top: -1.4rem;
  left: 1.5rem;
  background-color: var(--cyan);
  width: 1.5rem;
  height: 1.5rem;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  transition: background-color var(--transition);
}

.cats li:hover::after {
  background-color: var(--red);
}

.cats li:hover img {
  scale: 1.05;
}

.cats li:hover h3 {
  background-color: var(--red);
}

.cats li:hover h3::after {
  background-color: var(--red);
}

/* temoignage */
.temoignages {
  background-color: var(--gray-light);
}

.temoignages .absoluteTitle p {
  background-color: var(--gray-light);
}

.temoignages li h3 {
  font-family: var(--markmywords);
  font-size: 2rem;
  font-weight: normal;
}

.temoignages .uk-container::after {
  background-color: var(--gray-light);
}

.temoignages .controllers {
  position: absolute;
  z-index: 1;
  inset-inline: 0;
  top: 50%;
  translate: 0 -50%;
}

@media (max-width: 640px) {
  .temoignages .controllers {
    top: 100%;
  }
}

/* Actus home */

.actusHome article {
  margin-top: 0 !important
}

.actusHome article img {
  aspect-ratio: 4 / 3;
  width: 100%;
  clip-path: var(--clip-path);
}

.actusHome article .uk-card-media-top {
  position: relative;
}

.actusHome article .uk-card-media-top::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--cyan);
  width: 1.5rem;
  height: 1.5rem;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  transition: background-color var(--transition);
}

/* renseignemenets */
.renseignements {
  background-color: var(--gray);
}

.renseignements>img {
  max-width: none;
  width: 100%;
}

.renseignements .icon-tabler-message {
  width: 2.5rem;
  color: var(--red);
}

.renseignements .contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}