@import "reset.css";
html,
body {
  min-height: 100%;
  height: 100%;
  background: white;
  color: black;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 120%;
  font-size: 16px;
  position: relative;
}
button {
  background-color: transparent;
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
}
.portrait {
  margin: 120px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 1440px) {
  .portrait {
    margin: 90px 0;
  }
}
.portrait h1 {
  margin-top: 20px;
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  line-height: 120%;
  font-size: 80px;
  color: #000000;
  text-align: center;
  padding: 0 20px;
}
@media screen and (max-width: 1440px) {
  .portrait h1 {
    font-size: 56px;
  }
}
@media screen and (max-width: 575px) {
  .portrait h1 {
    font-size: 44px;
  }
}
.portrait h2 {
  margin-top: 20px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 120%;
  font-size: 28px;
  color: #000000;
  text-align: center;
  padding: 0 20px;
}
@media screen and (max-width: 1440px) {
  .portrait h2 {
    font-size: 22px;
  }
}
.portrait p {
  padding-top: 30px;
  margin-bottom: -30px;
  padding-left: 40px;
  padding-right: 40px;
  text-align: center;
  font-size: 18px;
}
.projets {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.projets .content {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: flex-start;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  margin: 40px;
  padding: 0 60px;
}
@media screen and (max-width: 1440px) {
  .projets .content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media screen and (max-width: 1024px) {
  .projets .content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 0 20px;
  }
}
@media screen and (max-width: 575px) {
  .projets .content {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    gap: 20px;
    margin: 20px;
  }
}
.projets .content .projet {
  display: flex;
  flex-direction: column;
}
.projets .content .projet .visuel {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  padding-bottom: 72%;
  background-color: #efefef;
  overflow: hidden;
  opacity: 1;
  transition: transform 0.25s 0.125s cubic-bezier(0.14, 0.94, 0.48, 1.01), box-shadow 0.25s 0.125s cubic-bezier(0.14, 0.94, 0.48, 1.01);
  cursor: pointer;
}
.projets .content .projet .visuel:hover {
  transform: translateY(-10px);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}
.projets .content .projet .visuel:hover .arrow {
  transform: translateX(0);
}
.projets .content .projet .visuel:hover .filtre {
  opacity: 0;
}
.projets .content .projet .visuel .arrow {
  position: absolute;
  z-index: 20;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  transform: translateX(60px);
  transition: transform 0.25s 0.125s cubic-bezier(0.14, 0.94, 0.48, 1.01);
}
@media screen and (max-width: 1440px) {
  .projets .content .projet .visuel .arrow {
    width: 46px;
    height: 46px;
    transform: translateX(46px);
  }
}
@media screen and (max-width: 575px) {
  .projets .content .projet .visuel .arrow {
    width: 60px;
    height: 60px;
    transform: translateX(60px);
  }
}
.projets .content .projet .visuel .arrow img {
  width: 100%;
  height: auto;
}
.projets .content .projet .visuel .miniature {
  position: absolute;
  z-index: 1;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  transform: scale(1) translateX(-20px);
  transition: transform 0.5s cubic-bezier(0.14, 0.94, 0.48, 1.01);
  cursor: pointer;
}
.projets .content .projet .visuel .bg {
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
}
.projets .content .projet .visuel .filtre {
  position: absolute;
  z-index: 9;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.03;
  pointer-events: none;
  transition: opacity 0.25s 0.125s cubic-bezier(0.14, 0.94, 0.48, 1.01);
}
.projets .content .projet .client {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  padding-top: 20px;
  font-size: 28px;
  color: #000000;
  text-align: left;
  opacity: 0;
  line-height: 120%;
  transform: translateX(40px);
}
@media screen and (max-width: 1440px) {
  .projets .content .projet .client {
    font-size: 22px;
  }
}
.projets .content .projet .description {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  line-height: 120%;
  padding-top: 10px;
  font-size: 18px;
  color: #606D8B;
  text-align: left;
  height: 160px;
  opacity: 0;
  line-height: 140%;
  transform: translateX(20px);
  width: 90%;
}
@media screen and (max-width: 1440px) {
  .projets .content .projet .description {
    font-size: 16px;
    height: 120px;
  }
}
