/* STYLES.CSS */

/* VARIABLES */
:root {
  --color_txt : #000;
  --grid_unit: calc(100vw / 40);
  --fontSize_unit: 10px;
}



/* RESET */
html{width: 100%; height: 100%; font-size:17px;}
body{ width: 100%;height: 100%;  color:#000; height: 100%; background: #FFF;font-family: 'National', sans-serif;
font-size:1rem;line-height: 1.25; font-weight: 300;margin: 0; padding: 0; overflow-x: hidden;}
* {font-family: 'National', sans-serif;  box-sizing: border-box; position: relative; }
img{ max-width: 100%; height: auto;}
ul{ margin: 0; display: block; text-align: left; padding: 0;  }
li{ margin: 0.2em 0 ;  list-style: none; min-height:1.36em; padding-left: 6px; }
#page {width: 100vw;}
::selection { background:#000000; color:#FFF}
.adresse p::selection, .menu_footer p::selection { background:#FFF; color:var(--vert)}
figure{margin: 0; margin-bottom: 20px;}
figcaption{font-size: 12px;}
div, section{  box-sizing: border-box; position: relative; display: block;  }
p{ font-family: 'National', sans-serif; font-size:1em; line-height: 1.25em; margin-block-start:0em;   margin-block-end: 12px; }
h1{ line-height: 1em; padding-bottom: 0.5em; font-family: 'National', sans-serif;  font-size:2em; margin-block-start: 0px; margin-block-end: 0px; margin-inline-start: 0px; margin-inline-end: 0px; }
h2{ line-height: 1.1em; padding-bottom: 0.5em;font-family: 'National', sans-serif; font-size:1.7em; margin-block-start: 0px; margin-block-end: 0px; margin-inline-start: 0px; margin-inline-end: 0px; }
h3, h4, h5, h5{ line-height: 1.15em; padding-bottom: 0.5em; font-family: 'National', sans-serif; font-size:1rem; }

main{padding: var(--grid_unit); position: absolute; width:100%}
a{text-decoration: none; color:#000; outline: none}
blockquote { margin-inline-start: 0px; margin-inline-end: 0px; }
strong{ font-weight: bold}
.bold{ font-weight: bolder}
.bolditalic{ font-weight: bold; font-style: italic;}
.invisible{ display: none; }
sup {vertical-align: super;font-size:smaller;line-height: 1;}
.displayNone{ display: none; }

.block-type-gallery ul{column-count: 3; column-gap: 10px;}
.block-type-gallery ul li{margin: 0; padding: 0; margin-bottom: 5px}
.block-type-video iframe{width: 100%; height: 350px;}
.search .fleche{
  font-size: 30px;
  margin-right: 10px;
  display: inline-block;
  margin-bottom: -9px;
  vertical-align: bottom;
}

/* titres */
.txt_9 { font-size: calc( var(--fontSize_unit) * 0.9) ;  }
.txt_10 { font-size: var(--fontSize_unit) ;  }
.txt_12 { font-size: calc( var(--fontSize_unit) * 1.2) ;  }
.txt_14 { font-size: calc( var(--fontSize_unit) * 1.4); }
.txt_16 { font-size: calc( var(--fontSize_unit) * 1.6); }
.txt_28 { font-size: calc( var(--fontSize_unit) * 2.8); }
.txt_36 { font-size: calc( var(--fontSize_unit) * 3.6); }
.txt_l { font-size: calc( var(--fontSize_unit) * 2.8); }
.txt_xl { font-size: calc( var(--fontSize_unit) * 4.2); }
.maj{ text-transform: uppercase; }
.bold{ font-weight: bold; }
.italic{ font-style: italic; }
.content_projets{display: flex;margin: 40px;}
.cols_wrapper{justify-content: space-evenly; width: 100%;  display: flex; }

/* header */
.header { padding: var(--grid_unit); display: flex; flex-flow: row;  align-items: center;  width: 100%;  max-width: 100vw; }
.header .main_logo{ width:15vw; margin-right: var(--grid_unit); min-width: 185px;}
.header .main_logo h1{margin-bottom: 0px; padding-bottom: 0px; font-size: 42px; font-weight: 100;}
.header .main_logo p{font-size: 12px; font-style: italic; margin: 0; line-height: 10px;font-weight: 220;}
.header .main_logo p strong{font-weight: 500;}
.header .main_nav a { font-size: calc( var(--fontSize_unit) * 1.8); font-weight: lighter; text-transform: lowercase;  margin-right: var(--grid_unit); }
.header .main_nav a:hover{border-bottom: 1px solid; padding-bottom: 2px;}
.header .main_nav a.active{font-weight: 700; border-bottom: 1px solid; padding-bottom: 2px;}
.header .filtreSearch{  display: flex;}
.header .filtreSearch .input100 {font-size: 0.85em;  padding:0.3em; width: 120px; font-family: inherit;  display: block;  background: transparent;   line-height: 1.2;  font-weight: 300; border: none; border-bottom: 1px solid #000; padding-bottom: 2px; padding-left:0px; transition:border-color 1s;}
.header .filtreSearch .input100::placeholder {font-style: italic; color: grey; }
.header .filtreSearch .pict_search{ width: calc( var(--fontSize_unit) * 2); height: calc( var(--fontSize_unit) * 2); }
.header .filtreSearch .pict_search:hover{ cursor: pointer; transform: scale(1.1); }
.content_projets{  display: flex;  margin:0px; margin-left: 20px;}
.header .filtreSearch .input100:focus,
.header .filtreSearch .input100:focus-visible{outline: none;}

/* Important styles */
#menu_toggle { display: none; width: 30px; height: 30px; margin: 30px auto 10px; cursor: pointer; position: fixed; top: 16px; margin: 0; right: 20px;}
#menu_toggle span:after,
#menu_toggle span:before { content: ""; position: absolute; left: 0; top: -9px;}
#menu_toggle span:after{top: 9px;}
#menu_toggle span {position: absolute;display: block;top: 14px;}
#menu_toggle span,
#menu_toggle span:after,
#menu_toggle span:before {width: 100%;height: 2px;background-color:#000;transition: all 0.3s, background-color 1s;backface-visibility: hidden;border-radius: 0px;}
#menu_toggle.on span {background-color: transparent;transition: all 0.3s, background-color 0s;}
#menu_toggle.on span:before {transform: rotate(45deg) translate(5px, 5px);}
#menu_toggle.on span:after {transform: rotate(-45deg) translate(7px, -8px);}

.night #menu_toggle span, .night #menu_toggle span::after, .night #menu_toggle span::before {background-color: #fff;}
.night #menu_toggle.on span{background-color: transparent;}
.night .fancybox-bg{background-color: #000;}
.night .pict_search svg{fill: #000;}
ul.filtres{transition: border-color 1s;}
.night ul.filtres{border-color:#fff;}
svg .search_pictline {transition: stroke 1s;}
.night svg .search_pictline {stroke: #FFF};
.header .filtreSearch .input100 {transition: all 1s; border-color: #000}
.night .header .filtreSearch .input100 {border-color: #fff; color: #FFF}
.night .fancybox-content{background: black}
.night ul.filtres li a.noresult{opacity: 0.5;}

.fancybox-button--zoom,
.fancybox-button--play,
.fancybox-button--thumbs{display: none !important}

#box_actus{max-width: 700px; border: 1px solid #000;}
.night #box_actus{border-color: #FFF;}

/* home */
.filtres{margin-right: 25px; /*width: 33%;*/ text-transform: uppercase;}
.lesfiltres {width: 50%; max-width: 650px;}
.lesfiltres .lesfiltres_wrapper{display: flex;align-items: start; justify-content: space-between; width:100%; position: sticky;top: 15px;}
.lesprojets{width: 50%;}
.titrefiltre{display: block; position:absolute; transform-origin:right; transform: translate(calc(-100% - 14px), -10px) rotate(-90deg);}

ul.filtres{ border-left: 2px solid #000; width:33%}
ul.filtres:first-child{width:27%; min-width: 120px;}

ul.filtres:nth-child(2){min-width: 150px;}
ul.filtres:nth-child(3){min-width: 170px;}
ul.filtres li{font-size: 15px; line-height: 14px; margin: 0; display: block; padding: 4px 0px; padding-left: 6px;}
ul.filtres li a{font-size: 15px; padding: 0 ; line-height: 14px; margin: 0; /*padding-right: 30px;*/}
ul.filtres li a.is-checked{font-weight: bold; /*padding-right: 20px;*/}
ul.filtres li a.is-checked::before{content: ""; /*display: inline-block; width: 10px;*/}
ul.filtres li a.noresult{opacity: 0.2;}
/* ul.filtres li a[data-result]:after{display: inline-block;width: 25px;margin-left: 5px;}
ul.filtres li a[data-result]:not(.noresult){padding-right: 0px;} */
ul.filtres li a[data-result="1"]:after{content:" (1)";}
ul.filtres li a[data-result="2"]:after{content:" (2)"}
ul.filtres li a[data-result="3"]:after{content:" (3)"}
ul.filtres li a[data-result="4"]:after{content:" (4)"}
ul.filtres li a[data-result="5"]:after{content:" (5)"}
ul.filtres li a[data-result="6"]:after{content:" (6)"}
ul.filtres li a[data-result="7"]:after{content:" (7)"}
ul.filtres li a[data-result="8"]:after{content:" (8)"}
ul.filtres li a[data-result="9"]:after{content:" (9)"}
ul.filtres li a[data-result="10"]:after{content:" (10)"}
ul.filtres li a[data-result="11"]:after{content:" (11)"}
ul.filtres li a[data-result="12"]:after{content:" (12)"}
ul.filtres li a[data-result="13"]:after{content:" (13)"}
ul.filtres li a[data-result="14"]:after{content:" (14)"}
ul.filtres li a[data-result="15"]:after{content:" (15)"}
ul.filtres li a[data-result="16"]:after{content:" (16)"}
ul.filtres li a[data-result="17"]:after{content:" (17)"}
ul.filtres li a[data-result="18"]:after{content:" (18)"}
ul.filtres li a[data-result="19"]:after{content:" (19)"}
ul.filtres li a[data-result="20"]:after{content:" (20)"}
ul.filtres li a[data-result="21"]:after{content:" (21)"}
ul.filtres li a[data-result="22"]:after{content:" (22)"}
ul.filtres li a[data-result="23"]:after{content:" (23)"}
ul.filtres li a[data-result="24"]:after{content:" (24)"}
ul.filtres li a[data-result="25"]:after{content:" (25)"}
ul.filtres li a[data-result="26"]:after{content:" (26)"}
ul.filtres li a[data-result="27"]:after{content:" (27)"}
ul.filtres li a[data-result="28"]:after{content:" (28)"}
ul.filtres li a[data-result="29"]:after{content:" (29)"}
ul.filtres li a[data-result="30"]:after{content:" (30)"}

ul.filtres li a.is-checked[data-result]:after{content:"";}

div#apercu_projet{ position: sticky; display: none; width: 200px; height: 127px; top: 0; left: 0; margin-top: -127px; margin-left: 120px; z-index: 100000;}
div#apercu_projet img{ width:200px; height:127px; object-fit: cover; }
div#apercu_projet.actif{ display: block}

#logo{
  margin:30px;
  margin-top:40px;
}
#logo h1{
  font-weight: 100;
  line-height: 25px;
  font-size: 42px;
}
#logo p{
  font-size: 14px;
}

/* */
.filtreSearch{
  display: flex;
}
.input100 {
  font-family: inherit;
  display: block;
  background: transparent;
  font-size: 18px;
  color: #000;
  line-height: 1.2;
  padding: 0 5px;
  font-weight: 300;
  border: none;
  border-bottom: 2px solid #000;
}

header{
  display: flex;
  flex-flow: row;
  align-items: center;
  width: 100%;
  max-width: 100vw;
}

.footer{ display: none; }

header nav a{
  margin-right: 15px;
}

.projetsGrid{line-height: 1;}
.page_wrapper{display: flex; justify-content: center; width: 100%; max-width: 100vw;}
.projetsGrid .grid-item .sanslien,
.projetsGrid .grid-item a{text-transform: uppercase; font-size: 1.75rem; font-weight: 500; line-height: 1;}
.projetsGrid .grid-item a:hover{}

.grid-item{display: inline; }

.grid-item.off{display: none;}
.projetsGrid span.croix{display: inline; font-size: 1.75rem; font-weight: 500;}
.grid-item.last + span.croix{display:none}
.grid-item.off + span.croix{display:none}
.projetsGrid .grid-item .sanslien,
.projetsGrid .grid-item a{transition: opacity .1s .3s, color 1s;}
.projetsGrid span.croix{transition: opacity .1s .3s}
.projetsGrid.onover .grid-item .sanslien,
.projetsGrid.onover .grid-item a{transition: opacity .1s 0s, color 1s; opacity: .1;}
.projetsGrid.onover span.croix{transition: opacity .1s 0s; opacity: .1;}
.projetsGrid.onover .grid-item a.onover{transition: opacity 0s ; opacity: .99;}
.night .projetsGrid.onover .grid-item .sanslien,
.night .projetsGrid.onover .grid-item a{opacity: .5;}
.night .projetsGrid.onover .grid-item a.onover{opacity: .99;}
.night .projetsGrid.onover span.croix{opacity: .5;}

/* Page projet */
.projet .cols_wrapper div{border:0px dotted cyan;}
.projet .cols_wrapper{ justify-content:flex-start;; width: 100%;  padding:0; display: flex; }
.projet .cols_wrapper .col1{width: 100%;  }
.projet .cols_wrapper .col1 .title{ padding-right: 4em; }
.projet .cols_txt{ display: flex; width: auto; }
.projet .cols_txt .col_txt1{ width: calc(var(--grid_unit) * 8);  padding-right: var(--grid_unit); }
.projet .cols_txt .col_txt1 .sstitre{ margin-bottom: 2em; }
.projet .cols_txt .col_txt1 .sstitre:after{ content: ""; width: 10px; height: 1px; background: black; position: absolute; bottom: -1em; left: 0; }
.projet .cols_txt .col_txt1 .cartouche{ margin-bottom: 2em; }
.projet .cols_txt .col_txt2{ width:  calc(var(--grid_unit) * 11); }
.projet .cols_wrapper .col2 .lien_back{ margin-top: 1em; }
.projet .cols_wrapper .col2{ width:  calc(var(--grid_unit) * 16.1); margin-left: var(--grid_unit); display: flex; flex-direction: column; }
.projet .cols_wrapper .col2 .align_right{  }
.projet .cols_wrapper .col2 .imgs_wrapper{ float: right; align-content: flex-start; display: flex; flex-wrap: wrap; width:  calc(var(--grid_unit) * 16.1); }
.projet .cols_wrapper .col2 .img_wrapper{ width: calc(var(--grid_unit) * 4); height: calc(var(--grid_unit) * 4); padding: 4px; overflow: hidden; object-fit: cover; }
.projet .cols_wrapper .col2 .img_wrapper img{ width: 100%; height: 100%; object-fit: cover; }
.projet .cols_wrapper .col2 .img_wrapper:hover{ opacity: 0.9; cursor: pointer; }
.projet .prevnext{ display: flex;  justify-content: space-between; width:90px; height:28px; position: fixed; bottom: calc(var(--grid_unit) * 2 );left: 100vw; transform: translateX(calc(-100% - var(--grid_unit) * 2 ) );font-size: 2rem; font-weight: 600;}
.projet .prevnext .fleche{ height: 100%; }
.projet .cols_wrapper .col2 .img_wrapper img{ opacity: 0; animation: .3s  fadeIn cubic-bezier(0.67, 0.09, 0.16, 0.96)  .5s 1 normal forwards;  }
.projet .cols_wrapper .col2 .img_wrapper:nth-child(3n+1) img{ animation-delay: .1s; }
.projet .cols_wrapper .col2 .img_wrapper:nth-child(3n+2) img{ animation-delay: .2s; }
.projet .cols_wrapper .col2 .img_wrapper:nth-child(3n+3) img{ animation-delay: .3s; }
.projet .cols_wrapper .col1 h1{text-transform: uppercase; font-size: 2rem; font-weight: 600; line-height: 1;}

.projet .mobile_gallery{ display: none;}
.projet .cols_txt  .description{  margin-top: 2em;  }
.projet .cols_txt  .description:after{  content: ""; width: 10px; height: 1px; background: black; position: absolute; top: -1em; left: 0; }

.projet .cols_txt  .description_comp{ margin-top: 2em; font-weight: 500; }
.projet .cols_txt .description_comp:after{  content: ""; width: 10px; height: 1px; background: black; position: absolute; top: -1em; left: 0; }

.cols_wrapper{justify-content: flex-start;}
.cols_wrapper .col1{width:calc(50% - var(--grid_unit)/2); max-width: 650px; margin-right: var(--grid_unit);}
.cols_wrapper .col2{width:calc(50% - var(--grid_unit)/2); }
.cols_wrapper .col1 .wrapper{position: sticky; top: 15px;}

.agence span.mil{font-size: 8px; vertical-align: super;}
.agence .annee{cursor: pointer;font-weight: 500; font-size: 18px; margin: 0 0 5px; user-select: none;}
.agence .annee + .projets{display: none;}
.agence .annee.open + .projets{display: block;}
.agence .annee.open:after{content:"↘";color: #e6007e;font-family: 'National', sans-serif;font-weight: 500;font-size: 17px;}
.agence .projetsGrid span.croix{font-size: 1.25rem;}
.agence .projetsGrid .grid-item .sanslien,
.agence .projetsGrid .grid-item a {font-size: 1.25rem;}

.filtres_mobile{display: none;}

/* RESPONSIVE Design */
@media screen and (max-width: 900px) {
  .lesfiltres{
    margin-bottom: 35px;
    height: 110px;
  }
  .filtres{
    display: none;

  }

  .filtres_mobile {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      margin-bottom: 10px;
  }
  .filtres_mobile select{margin-left: 10px;
    width: 200px;
    background: white;
    border: 1px solid #000;
    border-radius: 10px;
    padding: 3px 7px;}
  .filtres_mobile label{width: 90px; font-weight: 600;}

  :root {
    --grid_unit: calc(100vw / 40);
    --fontSize_unit: 2.5vw;
    --fontSize_unit: 16px;
  }
  #page {width: 100%;}
  #menu_toggle{display: block; z-index: 1000;}
  .header{flex-flow: column; position: sticky; top: 0; z-index: 1000;  background: white; max-height: 80px; overflow: hidden; transition: max-height .7s, background-color 1s;  }
  .night .header{background: black;}
  .header.on{max-height: 310px;}

  /* .header .main_nav{display:none; } */
  .header .main_nav{display:flex; flex-flow: column; margin:20px 0; margin-top: 30px;}
  /* .header .filtreSearch{display:none; } */
  .header .main_nav + .filtreSearch{display: flex; margin-left: 28px; margin-bottom: 20px;}
  .header .main_logo {width: 60vw; align-self: start; width: 50vw; align-self: start; min-width: 160px;}
  .header .main_nav a{text-align: center; margin: 7px 0 ;}
  .cols_wrapper{justify-content: space-evenly; width: 100%;  padding:0; display: block}
  .cols_wrapper .col1 {width: 100%; margin-bottom: 30px;}
  .cols_wrapper .col2 {width: 100%;}

  main{padding: 15px;}
  /* span.croix{opacity: .3; margin:0 5px; display: inline-block;}
  div.projetsGrid *:nth-child(4n+3)>a{color: #e6007e} */
  /* span.croix{color: #e6007e}
  div.projetsGrid *:nth-child(4n+3)>a{opacity: .3} */
  span.croix{color: #e6007e; margin:0 5px; display: inline-block;}
  /* div.projetsGrid *:nth-child(4n+3)>a{color: #e6007e} */

  /* projet  */
  .projet .cols_wrapper{  flex-direction: column; }
  .projet .cols_txt .col_txt1, .projet .cols_txt .col_txt2{ width: 100%; }
  .projet .cols_txt { flex-direction: column; }
  .projet .mobile_gallery{ width: 100%; display: flex; margin-bottom: 1em; }
  .projet .mobile_gallery .img_wrapper{  height: 18vw; width: 100%; padding: 1vw; }
  .projet .mobile_gallery .img_wrapper img{ width:100%; height: 100%; object-fit: cover;}
  .projet .cols_wrapper .col2 .imgs_wrapper{ display: none; }
  .projet .cols_wrapper .col1 .title{ padding-right: 1em;}
  .projet .prevnext{bottom: 24px; position: absolute; margin-right: 100px; right: 200px; }
  .projet .cols_txt .col_txt1 .sstitre:after {display: none;}
  .titrefiltre{display: block; position:absolute; transform-origin:right; transform: translate(calc(-100% - 14px), -10px) rotate(-90deg); width: calc(100% ); width: 100%}
  .projet .cols_txt .col_txt1 .cartouche {margin-bottom: 0;}

  .content_projets {
    display: block;
    width: 100%;
    margin: 0px;
  }
  .lesfiltres {
    display: block;
    width: 100%;
    position: relative;
    margin-bottom: 35px;

  }
  .lesfiltres .lesfiltres_wrapper {
    width: 100%;
    position: relative;
    display: block;
    width: 100%;
  }
  ul.filtres {
    border: none;
    width: 100%;
    margin-bottom: 10px;
    border: none;
    max-height: 25px;
    overflow: hidden;
  }
  ul.filtres.open {
    max-height: 100px;
    overflow: scroll;
  }
  .titrefiltre {
    transform: none;
    position: relative;
    border-bottom: 2px solid;
    cursor: pointer;
    user-select: none;
    position: absolute;
    width: calc(100% - 30px);
  }
  li.titrefiltre + li{
    margin-top: 30px;
  }
  ul.filtres li.titrefiltre {
    padding-left: 0;
  }
  .lesprojets {
    width: 100%;
  }
  .projetsGrid span.croix{
    font-size: 1.5rem;
  }
  .projetsGrid .grid-item a {
    font-size: 1.5rem;
  }
  ul.filtres:first-child{width:100%;}
}


@media screen and (max-width: 320px) {
  .header .main_logo h1{font-size: 29px;}
  .header .main_logo p{font-size: 10px; line-height: 10px;}
}


/* keyframes */
@keyframes fadeIn{
  to { opacity: 1; }
}
