@font-face {
    font-family:"Gt-pressura";
    src: url("../fonts/GT-Pressura-Standard-Regular.woff2");
    font-weight:100;
}

@font-face {
    font-family:"Gt-pressura";
    src: url("../fonts/GT-Pressura-Standard-Bold.woff2");
    font-weight:400;
}


body{
    margin:0px;
    padding: 0px;
    overflow-x: hidden;
    font-family: "Gt-pressura";
    color: black;
    font-size: 2em;
    font-weight:100;
}

footer{
    position: relative;
    background-color: #B3FDFF;
    z-index: 100;
}

.icon-envloppe{
    height: 2.9rem;
    position: absolute;
    left: 11rem;
    top: -0.25rem;
}

.saut{
    margin-bottom: 0rem;
}

.icon-phone{
    height: 3.6rem;
    position: absolute;
    left: 13.5rem;
    top: -1rem;
}

.icon-Cv{
    height: 2.9rem;
    position: absolute;
    left: 4.5rem;
    top: -0.25rem;
}

.colonne-foot{
    margin: 2rem 0rem;
    position: relative;
}

.colonne-foot + .colonne-foot{
    margin: 0rem 0rem 4rem;
}

footer ul {
    margin: 0.5rem 0rem;
}

h1{
    text-transform: uppercase;
    font-size: 1em;
}

h2, h3 {
    font-weight: bold;
    font-size: 1.3em;
    line-height: 1.5em;
}

h3{
    text-transform: uppercase;
    font-size: 1em;
}

.projet-item h3{
    margin: 1rem 0rem ;
}

img{
    max-width: 100%;
    height: auto;
    align-content: center;
}

.info{
    font-size: 0.5em;
}

a{
    color: #000;
    font-size: 1.7rem ;
    text-decoration: underline 2px;
}

p{
    font-size: 0.7em;
    line-height: 1.3em;
}



ul, li{
    list-style-type: none;
    padding: 0 !important;
    margin-top: 20px;
}

#navbarNav.offcanvas {
  width: 100vw !important;
  height: 100vh !important;  
  height: 100dvh !important;
  z-index: 2000 !important;
}

.offcanvas-header{
    padding: 0;
}

.fond-change-header{
    height: 85vh;
    width: 100vw;
    margin: -61px 0px 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fond-change-header img{
    width: 40%;
}

.offcanvas-body img{
    width: 70%;
}

.navopen-col-liens{
flex: 1;
display: flex;
flex-direction: column;
margin: 0rem;
padding: 0rem;
background-color: #FFFEB5;

align-items: center;
}

.navopen-col-liens a{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.navopen-col-liens > a{
    flex: 1 1 0;
    min-height: 0;
}

.navopen-col-liens img{
    flex: 1 1 0; 
    min-height: 0;  
    width: 100%;
    height: auto;
    object-fit: contain; 
}

html.snap-actif{
    scroll-snap-type: y mandatory;
}

.projet-item{
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fond-change-header,
.propos-section{
    scroll-snap-align: start;
}

.propos-section{
    height: 100vw;
    width: 100vw;
    align-items: center;
    justify-content: center;
    display: flex;
    position: relative;
    overflow: hidden;
}

.propos-section video {
filter: blur(0.5rem);
  min-width: 100vh;
  min-height: 100vh;
  z-index: 0;
}

.propos-section a{
    position: absolute;
    z-index: 100;
}

.vignette{
   width: 100%;
}

.vignette img{
    box-shadow: 0px 9px 4px rgba(0, 0, 0, 0.10);
    cursor: pointer;
}

.ligne{
    background-color: #000;
    height: 2px;
    width: 100%;
}

.quitter-mobile{
    height: 10%;
    background-color: #8CFF93;
    align-items: center;
    justify-content: center;
    display: flex;
    align-self: flex-end;
    border-radius: 0;
    border: none;
    color: #000;
}

.quitter-mobile a {
    height: 10vh;
}

.ouvrir-detail{

    height: 100vh;
    background-color: #FFFEB5;
    align-items: center;
    border-radius: 0;
    color: #000;
    padding: 0rem;

}

#detailContenu{
    overflow-y: auto;
}

div#detailContenu p:last-child{
    margin-bottom: 10rem;
}

.contenu-projet {
  overflow: clip; 
  padding: 0rem;
}

.mep-projet{
    display: flex;
    flex-direction: column;
    padding: 0rem 2rem;
}

.mep-projet img{
    padding-bottom: 2rem;
}

.detail-revele {
  transition: opacity 0.4s ease;
}

.enfant-tip-toggle{
    position: relative;
    transform: rotate(-90deg);
}

#tip-toggle{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;   
    cursor: pointer;
    position: relative;
}



.ouvrir-detail.col-6 {
  cursor: auto;
}

.type-mandat{
    min-width: 100%;
    height: auto;
    background-color:#FF8CC0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2.5rem;
}

.type-mandat img /*le picto dans le type mandat*/{
height: 5rem;
}

.type-mandat h2 /*h2 dans le type mandat*/{
font-size: 0.7em;
display: block;
margin: 0rem;
}

.quitter-desktop{

    height: 100vh;
    width: 5em;
    background-color: #8CFF93;
    align-items: center;
    border-radius: 0;
    border: none;
    color: #000;
    justify-content: center;
}

.quitter-desktop a{
    transform: rotate(90deg);
}

.offcanvas-body{
   padding: 0;
  flex-grow: 1;   
  min-height: 0;
}

.offcanvas-body > .container-fluid,
.offcanvas-body > .container-fluid > .row {
  height: 100%;
}


.autolayout{
    display: flex;
    justify-content: space-between;
}

.autolayout-navprojet{
    display: flex;
    justify-content: space-between;
    max-width: 100%;
}

.autolayout-navprojet img{
    cursor: pointer;
    width: 4rem;
}

.shadow-bottom{
    box-shadow: 0px 9px 4px rgba(0, 0, 0, 0.10);
}

.shadow-top{
    box-shadow: 0px -9px 4px rgba(0, 0, 0, 0.10);
}

.shadow-right{
    box-shadow: 9px 0px 4px rgba(0, 0, 0, 0.10);
}

.shadow-left{
    box-shadow: -9px 0px 4px rgba(0, 0, 0, 0.10);
}

.ligne-navopen-haut{
    border-left: 2px solid #000 !important;
    border-bottom: 2px solid #000 !important;
}

.ligne-navopen-bas{
    border-left: 2px solid #000 !important;
    border-top: 2px solid #000 !important;
}

.ligne-gauche{
    border-left:2px solid #000 !important;
}

.ligne-haut{
    border-top:2px solid #000 !important;
}

.ligne-droite{
        border-right:2px solid #000 !important;
}

.ligne-bas{
        border-bottom:2px solid #000 !important;
}


#burgermenu{
    height: 4em;
    mix-blend-mode: difference !important; /*à modifier ça marche pas…*/
    z-index: 100;
        position: relative;
    top: -0.4rem;
}

button{
    border: 0px !important;
}

button.navbar-toggler{
    color: rgba(0, 0, 0, 0.0);
}

button.navbar-toggler:link, button.navbar-toggler:visited{
    border: 0px !important;
}

button.navbar-toggler:hover, button.navbar-toggler:active{
    border: 0px !important;
}

.bg-primary{
    background-color: #FFFEB5 !important;
}

.col-scroll-catch{
    display: flex;
    overflow: hidden;
    flex-direction: column;
   align-items: center;
    padding: 4rem;
}

.col-scroll-catch > div{
    width: 100%;  
}

.fond-phrase{
    position: relative; 
    max-width: 100%;
    height: 40%;      
    flex-shrink: 0;
    overflow: hidden;
    margin: 9rem 0rem 1rem;
}

.fond-phrase .calque{
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    opacity: 0;
    background-repeat: no-repeat;
}

.fond-phrase .calque.actif{
    opacity: 1;
}

.about-intro{

    width: 100%;
    margin-bottom: 16px;

}

.about-img-changer{
    position: fixed;
    top: 20vh;
    left: 50%;          
    width: 50%;       
    height: 30rem;
    overflow: hidden; 
}

.about-img-changer .calque{
    position: absolute;
    inset: 0;
    background-size: contain;   /* ou contain si tu veux voir l'image en entier */
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.4s ease;   /* même durée que .detail-revele */
}

.about-img-changer .calque.actif{
    opacity: 1;
}

.about-img{
    position: relative;
    height: auto;
    max-width: 100%;
}

/* le texte passe au-dessus des images */
.col-scroll-catch h1,
.col-scroll-catch h2,
.col-scroll-catch .ligne{
    position: relative;
    z-index: 1;
}

#logo{
    height: 9rem;
}


/*--------------------------------*/

@media (min-width: 576px) { 

.propos-section{
    height: 30vw;
}

.travaux-section{

    align-items: center;
    justify-content: center;
    display: flex;
}

.propos-section{
    height: 20rem;
    width: 100vw;
    padding: 0rem;
}

.propos-section video {
  min-width: 150vh;
  min-height: 150vh;
}

}

/*--------------------------------*/

@media (min-width: 768px) { 

.fond-change-header{
    height: 90vh;
}

.fond-change-header img{
    width: 20%;
}


.propos-section{
    height: 30rem;
}

.colonne-foot + .colonne-foot{
    margin: 2rem 0rem;
}

.autolayout-navprojet img{
    width: 7rem;
}

.saut{
    margin-bottom: 0rem;
}

}

/*--------------------------------*/

@media (min-width: 992px) { 

.fond-change-header{
    height: 95vh;
    margin-bottom: 0rem;
}

.fond-change-header img{
    width: 20%;
}

.colonne-foot{
    margin: 2rem 0rem;
    position: relative;
}

.colonne-foot + .colonne-foot{
    margin: 2rem 0rem;
}

#burgermenu{
    height: 3em;
}

body{
    font-size: 3em;
}

.icon-envloppe{
    height: 3.5rem;
    position: absolute;
    left: 16rem;
    top: 0.3rem;
}

.icon-phone{
    height: 5rem;
    left: 19rem;
    top: -1rem;
}

.icon-Cv{
    height: 3.5rem;
    position: absolute;
    left: 5rem;
    top: 0.3rem;
}

p{
    font-size: 0.5em;

}

.type-mandat{
    padding: 2.5rem;
}

  .px-7{
    padding-right: 3em !important;
    padding-left: 3em !important;
}

}

/*-----------NE PAS TOUCHER---------------*/

/* Mode responsive : colonne de détail ouverte = pas de scroll */
@media (max-width: 991.98px) {
  html.detail-ouvert,
  html.detail-ouvert body {
    overflow: hidden;
  }

  .ouvrir-detail.col-12 {
    overflow: hidden;
  }


}

/*--------------------------------*/

@media (min-width: 1200px) { 

.fond-change-header{
    margin-bottom: 0rem;
}

#burgermenu{
    height: 4em;
}



  .px-7{
    padding-right: 4em !important;
    padding-left: 4em !important;
}

}

/*--------------------------------*/

@media (min-width: 1400px) { 

.fond-phrase .calque{
    max-width: 1000%;
    background-size: contain;
}

.px-7{
    padding-right: 6em !important;
    padding-left: 6em !important;
}

}