@import "reset.css";
*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html,
body {
  /*min-height: 100%;
  height: 100%;
 
  color: #222;*/
  color: #343841;
   margin: 0px;
    padding: 0px;
  background-color:rgb(165, 161, 147);
    background: url("/images/bg_gradian2.png") ;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
   
  font-family: Montserrat, Helvetica, sans-serif;
   
  
  
 /* font-weight: 400;
  line-height: 120%;
  font-size: 16px;
  position: relative;*/
}


 @font-face {
    font-family: "AuthenticSignature";
    src:
      local("AuthenticSignature"), local("AuthenticSignature"),
      url("/css/AuthenticSignature.ttf");
   
  }

.fancybox__content{
  width:75% !important;
  height:auto !important;
  max-height:65% !important;
  }

button {
  background-color: transparent;
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
}


.txt_md {
 /*font-family: "AuthenticSignature", serif;*/
 text-transform: none;
 font-size:33px;
}

.logo_md {
 width: 100px;
 height:100px;
}


.portrait {
  margin: 60px 0 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: left;
}

/*.portrait p{
  line-height: 24px;
}*/


.container {
    max-width: 1600px;
    margin: 0;
    padding:30px 20px 30px 20px ;
}

p {
    text-transform: uppercase;
    color: #222;
    font-weight: 900;
    color: transparent;
    font-size: 0px;
}
p span {
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-size: clamp(24px, 9vw, 26px);
     line-height: 110%;

}
p span.descrip {
  
  text-transform: none;
    font-weight: 700;
    font-size: clamp(24px, 8vw, 28px);
    line-height: 110%;

  }

p span.descrip1 {
  
  text-transform: none;
    font-weight: 400;
    font-size: clamp(16px, 8vw, 18px);
    line-height: 140%;
    padding-top:35px;
  }


p span::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateX(-100%);
}
p:nth-child(1) {
    font-weight: 300;
    animation: txt-appearance 0s 1s forwards;
}
p:nth-child(2) {
    animation: txt-appearance 0s 1.25s forwards;
}
p:nth-child(3) {
    animation: txt-appearance 0s 1.55s forwards;
}
p:nth-child(1) span::after {
    background: #41464F;
    animation: slide-in 0.75s ease-out forwards,
    slide-out 0.75s 1s ease-out forwards;
}
p:nth-child(2) span::after {
    background: #343841;
    animation: slide-in 0.75s 0.3s ease-out forwards,
    slide-out 0.75s 1.3s ease-out forwards;
}
p:nth-child(3) span::after {
    background: #A5A193;
    animation: slide-in 0.75s 0.6s ease-out forwards,
    slide-out 0.75s 1.6s ease-out forwards;
}

@keyframes slide-in {
    100% {
        transform: translateX(0%);
    }
}
@keyframes slide-out {
    100% {
        transform: translateX(-100%)
    }
}
@keyframes txt-appearance {
    100% {
        color: #222;
    }
}





@media screen and (max-width: 1440px) {
  .portrait {
    margin: 90px 0;
  }
}
.portrait h1 {
  margin-top: 20px;
  font-family :  Montserrat, Helvetica, sans-serif;
  font-weight: 100;
  line-height: 120%;
  font-size: 80px;
  color: #000000;
  text-align: left;
  padding: 0 20px;
}

.portrait h2 {
  margin-top: 20px;
  font-family :  Montserrat, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 120%;
  font-size: 28px;
  color: #000000;
  text-align: left;
  padding: 0 20px;
}


@media screen and (max-width: 1440px) {
  .portrait {
    margin: 90px 0 90px 20px;
  }
  .portrait h1 {
    font-size: 56px;
  }
  .portrait h2 {
    font-size: 22px;
  }
}
@media screen and (max-width: 575px) {
  .portrait h1 {
    font-size: 44px;
  }
}


/*.portrait p {
  padding-top: 30px;
  margin-bottom: -30px;
  padding-left: 40px;
  padding-right: 40px;
  text-align: left;
  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 0px;
}
@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%;
  max-width:600 px;
  height: 100%;
  padding-bottom: 72%;
  background-color: #efefef;
  overflow: hidden;
  opacity: 1;
  transition: transform 0.25s 0.125s cubic-bezier(0.14, 0.14, 0.18, 0.21), box-shadow 0.25s 0.125s cubic-bezier(0.14, 0.14, 0.18, 0.21);
  cursor: pointer;
}*/
.projets .content .projet .visuel {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 600px;
  height: 100%;
  padding-bottom: 72%;
  background-color: #efefef;
  overflow: hidden;
  opacity: 1;
  cursor: pointer;
  transition: transform 0.25s 0.125s cubic-bezier(0.14, 0.14, 0.18, 0.21), 
              box-shadow 0.25s 0.125s cubic-bezier(0.14, 0.14, 0.18, 0.21);
}

/* Cadre dégradé progressif */
.projets .content .projet .visuel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;

  /* Faux cadre doux */
  box-shadow: inset 0 0 0 30px rgb(165, 161, 147);
  filter: blur(30px); /* adoucit le cadre */
}
  
/* Survol : le cadre apparaît */
.projets .content .projet .visuel:hover::before {
  opacity: 1;
}



.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: 83px;
  height: 84px;
  transform:  translateY(84px);
  transform: translateX(83px);
  transition: transform 0.35s 0.425s 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: #A5A193;
}
.projets .content .projet .visuel .filtre {
  position: absolute;
  z-index: 9;
  width: 100%;
  height: 100%;
  background-color: #222222;
  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:  Montserrat, Helvetica, sans-serif;
  /*font-family: "AuthenticSignature", serif;*/
  text-transform: none;
  font-weight: 500;
  padding-top: 20px;
  font-size: 22px;
  color: #222222;
  text-align: left;
  opacity: 0;
  line-height: 120%;
  transform: translateX(40px);
}

.projets .content .projet .sujet {
  font-family:  Montserrat, Helvetica, sans-serif;
  /*font-family: "AuthenticSignature", serif;*/
  text-transform: none;
  font-weight: 400;
  font-style: italic;
  padding-top: 2px;
  font-size: 14px;
  color: #ffffff !important;
  text-align: left;
  opacity: 0;
  line-height: 120%;
  transform: translateX(40px);
}

.projets .content .projet .savoirplus {
  font-family:  Montserrat, Helvetica, sans-serif;
  
  text-transform: none;
  font-weight: 500;
  padding-bottom: 35px;
  font-size: 14px;
  color: #f59f3b !important;
  text-align: left;
  opacity: 100;
  line-height: 120%;
  text-decoration:  #f59f3b !important;
 
}



@media screen and (max-width: 1440px) {
  .projets .content .projet .client {
    font-size: 22px;
  }
}
.projets .content .projet .description {
  font-family:  Montserrat, Helvetica, sans-serif;
  text-transform: none;
  font-weight: 400;
  line-height: 120%;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 16px;
  color: #41464F;
  text-align: left;
  height: auto;
  opacity: 0;
  line-height: 140%;
  transform: translateX(20px);
  width: 90%;
}
.projets .content .projet .descriptionB {
  font-family:  Montserrat, Helvetica, sans-serif;
  text-transform: none;
  font-weight: 400;
  line-height: 120%;
  padding-top: 10px;
  padding-bottom: 35px;
  font-size: 16px;
  color: #41464F;
  text-align: left;
  height: auto;
  opacity: 0;
  line-height: 140%;
  transform: translateX(20px);
  width: 90%;
}

@media screen and (max-width: 1440px) {
  .projets .content .projet .description {
    font-size: 15px;
    height: auto;
  }.projets .content .projet .descriptionB {
    font-size: 15px;
    height: auto;
  }
}
