* {
    box-sizing: border-box
}

*::-webkit-scrollbar {
    display: none;
    width: 0 !important
}

* {
    overflow: -moz-scrollbars-none
}

* {
    -ms-overflow-style: none
}

html {
    -webkit-tap-highlight-color: transparent
}

input:focus,select:focus,textarea:focus,button:focus {
    outline: none
}

p,h1,h2,h3,h4,h5,h6 {
    margin: 0
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0
}

a {
    color: black;
    text-decoration: none
}

a:hover {
    color: black;
    text-decoration: none
}

html,body,.page {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: fixed;
    -webkit-text-size-adjust: 100%
}

body {
    color: black !important;
    font-weight: lighter !important;
    -webkit-overflow-scrolling: touch;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased
}

main {
    height: 100%;
    min-height: 100%;
    overflow: scroll;
    background-color: white
}

main.hide {
    opacity: 0 !important
}

main.show {
    opacity: 1 !important;
    transition: opacity 0.3s ease-in-out
}

.spinner {
    border: 2px solid #f3f3f3;
    border-radius: 100%;
    border-top: 2px solid #A9A9A9;
    width: 60px;
    height: 60px;
    position: fixed;
    top: calc(50% - 60px / 2);
    left: calc(50% - 60px / 2);
    -webkit-animation: spin 0.8s linear infinite;
    animation: spin 0.8s linear infinite;
    opacity: 1
}

.spinner-project {
    border: 2px solid #f3f3f3;
    border-radius: 100%;
    border-top: 2px solid #A9A9A9;
    width: 60px;
    height: 60px;
    position: absolute;
    top: calc(50% - 60px / 2);
    left: calc(50% - 60px / 2);
    -webkit-animation: spin 0.8s linear infinite;
    animation: spin 0.8s linear infinite;
    opacity: 1
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(360deg)
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@font-face {
    font-family: 'SuisseIntl-Regular';
    src: url("../fonts/suisseintl-regular-webfont.woff2") format("woff2"),url("../fonts/suisseintl-regular-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    unicode-range: U+0041-007A
}

@font-face {
    font-family: 'Rongel';
    src: url("../fonts/rongel-roman-webfont.woff2") format("woff2"),url("../fonts/rongel-roman-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Rongel-Italic';
    src: url("../fonts/rongel-italic-webfont.woff2") format("woff2"),url("../fonts/rongel-italic-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal
}

body {
    font-family: 'Rongel';
    font-size: 26px;
    line-height: 29px
}

em {
    font-family: "Rongel-Italic"
}

i {
    font-family: "Rongel-Italic"
}

.menu-item {
    font-family: 'Instrument Serif';
    font-size: 75px;
    line-height: 75px;
    letter-spacing:-3px
}

.works-list {
    font-size: 34px;
    line-height: 37px
}

.notes {
    font-size: 16px;
    line-height: 18px
}

@media (max-width: 667px) {
    body {
        font-size:23px;
        line-height: 25px
    }

    .menu-item {
      
        font-size: 48px;
        line-height: 43px;
        letter-spacing:-3px
    }

    .notes {
        font-size: 13.5px !important;
        line-height: 15px !important
    }

    .works-list {
        font-size: 23px;
        line-height: 25px
    }
}

@media (min-width: 668px) and (max-width: 1024px) {
    .menu-item {
        font-size: 60px;
        line-height: 58px;
        letter-spacing:-3px
    }
    nav { flex-wrap: wrap; justify-content: center; }
    .menu-item.site-title { width: 100%; text-align: center; order: -1; padding: 0 20px; }
}


header {
    position: fixed;
    width: 100%;
    z-index: 999
}

nav {
    padding-top: 27px;
    width: 100%;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%
}

.menu-item.site-title {
    padding: 0 72px
}

.gallerie-wrap {
    padding: 2%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    padding-top: 135px;
    width: 100%
}

.gallerie-item {
    width: 100%;
    opacity: 0;
    height: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    transition: opacity 0.2s ease-in-out
}

.gallerie-item a {
    width: 100%
}

.gallerie-item img {
    width: 100%;
    height: auto
}

.gallerie-item video {
    width: 100%;
    height: auto
}

.gallerie-text-wrap {
    height: 61px;
    padding: 7px 0 5px 0;
    text-align: center
}

.petite.portrait {
    width: 33.333333%;
    padding: 0 2%
}

.moyenne.portrait {
    width: 38.77%;
    padding: 0 2%
}

.grande.portrait {
    width: 43.91%;
    padding: 0 2%
}

.petite.landscape {
    width: 52.2%;
    padding: 0 2%
}

.petite.landscape.test {
    width: 30.2%;
    padding: 0 2%
}

.moyenne.landscape {
    width: 61.23%;
    padding: 0 2%
}

.grande.landscape {
    width: 72.65%;
    padding: 0 2%
}

.grande {
    width: 100%;
    padding-left: 18%;
    padding-right: 18%
}

.three-col {
    width: 33.333333%;
    padding-left: 2%;
    padding-right: 2%
}

.test {
    position: absolute;
    width: 25%;
    z-index: 999999
}

.small-margin {
    margin-right: 60px
}

.big-margin {
    margin-left: 60px
}

.works-list {
    direction: rtl;
    position: absolute;
    height: 100%;
    overflow-y: scroll;
    top: 0px;
    left: -40px;
    padding: 130px 30px 25px 70px
}

.moveleft {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    transition: 0.3s ease-in-out
}

.works-list-item {
    direction: rtl;
    text-align: left
}

.works-cover {
    position: relative;
    height: 350px;
    width: 350px;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    left: 12.5%;
    top: calc(50% + 40px);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%)
}

.works-cover img {
    left: 0;
    position: absolute;
    max-height: 100%;
    max-width: 100%;
    opacity: 0;
    transition: opacity 0.2s ease-in-out
}

.works-cover video {
    left: 0;
    position: absolute;
    max-height: 100%;
    max-width: 100%;
    z-index: 9999999999;
    opacity: 0;
    transition: opacity 0.2s ease-in-out
}

.showimage {
    opacity: 1 !important;
    transition: opacity 0.2s ease-in-out
}

.works-cover.loaded {
    opacity: 1
}

.project-infos {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    cursor: pointer;
    max-height: 65px;
    transition: max-height 0.3s ease-out;
    background-color: white
}

.project-text {
    position: absolute;
    background-color: white;
    padding-left: 28px;
    padding-right: 28px;
    padding-top: 25px;
    padding-bottom: 65px;
    bottom: 0px;
    width: 100%;
    overflow: hidden;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    transition: all 0.3s ease-out
}

.project-text p {
    max-width: 500px;
    width: 50%;
    cursor: text
}

.open {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
    transition: all 0.3s ease-out;
    opacity: 1 !important
}

.project-images-wrap {
    padding-top: 188px;
    padding-bottom: 65px;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
    height: 100%;
    white-space: nowrap;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden
}

.slideshow-item {
    display: inline-block;
    position: relative;
    height: 100%;
    max-height: 100%
}

.slideshow-item img {
    height: 100%
}

.slideshow-item video {
    height: 100%;
    cursor: pointer
}

.project-images-wrap video:last-child {
    margin-right: 0px
}

.project-images-wrap img:last-child {
    margin-right: 0px
}

.infos {
    width: 100%;
    height: 65px;
    background-color: white;
    bottom: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.project-title {
    padding-left: 28px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    z-index: 9999999;
    background-color: white
}

.next-project {
    padding: 0 28px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    background-color: white;
    z-index: 9999999
}

.next-project a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer
}

.about-wrap {
    padding-left: 30px;
    padding-right: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.about-left-col {
    padding-top: 125px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 100vh;
    width: 50%;
    -webkit-box-flex: 1;
    -ms-flex: 1 auto;
    flex: 1 auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.scroll-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-top: 135px;
    overflow-y: scroll;
    height: 100%
}

.about-text {
    max-width: 1000px
}

.clients {
    padding: 30px 0 0
}

.collapse-clients {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease-out
}

.about-infos {
    margin-top: 32px;
    position: relative;
    bottom: 0;
    padding-bottom: 27px
}

.about-contact {
    margin-top: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.about-contact p:first-of-type {
    margin-right: 20px
}

.about-right-col {
    padding-top: 8.5%;
    height: 100vh;
    padding-left: 30px;
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.about-image-wrap {
    max-height: 67vh;
    width: 37%
}

.about-image-wrap .aspect-ratio {
    width: 100%;
    padding-top: 143.25%;
    position: relative
}

.about-image-wrap .aspect-ratio img {
    position: absolute;
    min-height: 100%;
    max-width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0
}

.adress {
    padding: 10px;
    text-align: center
}

@media (max-width: 1024px) {
    nav {
        padding-top:22px;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }

    .menu-item.site-title {
        width: 100%;
        text-align: center;
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
        padding: 0 15px
    }

    .menu-item.works {
        padding-right: 124px
    }

    .works-list {
        padding-top: 170px
    }

    .gallerie-wrap {
        padding-top: 175px !important
    }

    .works-cover {
        top: calc(50% + 60px)
    }

    .project-images-wrap {
        padding-top: 172px !important
    }

    .project-text p {
        max-width: 65%;
        width: 65%
    }

    .about-wrap {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between
    }

    .about-left-col {
        padding-top: 169px;
        width: 45%
    }

    .about-image-wrap {
        width: 65%
    }

    .about-contact {
        margin-top: 0px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .about-contact p:before {
        content: "— "
    }

    .about-right-col {
        padding-top: 142px
    }
}

@media (max-width: 1024px) and (hover: none) {
    .works-cover {
        display:none
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .gallerie-wrap {
        padding-top:175px !important
    }

    .project-images-wrap {
        padding-top: 222px !important
    }

    .project-text p {
        max-width: 100%;
        width: 100%
    }

    .about-wrap {
        padding-top: 0px
    }

    .about-left-col {
        width: 100%;
        min-height: 0;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1
    }

    .about-right-col {
        padding-top: 0px;
        width: 100%
    }
}

@media only screen and (min-width: 1024px) and (max-height: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) and (hover: none) {
    .works-cover {
        display:none
    }
}

@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) and (hover: none) {
    .gallerie-wrap {
        padding-top:200px
    }

    .project-images-wrap {
        padding-top: 400px !important
    }

    .menu-item {
        font-family: 'SuisseIntl-Regular';
        font-size: 75px;
        line-height: 75px;
        letter-spacing:-3px
    }

    .about-wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .about-right-col {
        padding-top: 240px;
        height: auto !important
    }

    .about-image-wrap {
        max-height: unset !important
    }

    .about-left-col {
        padding-top: 30px
    }
}

@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1.5) and (hover: none) {
    .gallerie-wrap {
        padding-top:140px
    }

    .works-list {
        padding-top: 170px
    }

    .works-cover {
        top: calc(50% + 60px)
    }

    .project-images-wrap {
        padding-top: 240px !important
    }

    .project-text p {
        max-width: 65%;
        width: 65%
    }

    .about-left-col {
        padding-top: 215px
    }

    .about-right-col {
        padding-top: 172px
    }
}

@media (max-width: 768px) {
    .gallerie-wrap {
        padding:150px 45px 0
    }

    .gallerie-item.true {
        display: none
    }

    .petite.portrait {
        width: 75%;
        padding: 0
    }

    .moyenne.portrait {
        width: 75%;
        padding: 0
    }

    .grande.portrait {
        width: 75%;
        padding: 0
    }

    .petite.landscape {
        width: 100%;
        padding: 0
    }

    .moyenne.landscape {
        width: 100%;
        padding: 0
    }

    .grande.landscape {
        width: 100%;
        padding: 0
    }

    .about-wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .about-left-col {
        padding-top: 20px;
        width: 100%;
        min-height: unset
    }

    .about-right-col {
        padding-top: 204px;
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        width: 100%;
        padding-left: 0px;
        height: auto
    }

    .about-image-wrap {
        width: 55%;
        max-height: unset !important
    }
}

@media (max-width: 768px) and (hover: none) {
    .works-cover {
        display:none
    }
}

@media (max-width: 667px) {
    nav {
        -webkit-box-pack:justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding-left: 14px;
        padding-right: 14px;
        padding-top: 14px
    }

    .menu-item.site-title {
        padding: 0
    }

    .gallerie-wrap {
        padding: 150px 15px 0
    }

    .menu-item.works {
        padding-right: 0px
    }

    .works-cover {
        top: calc(50% + 40px)
    }

    .works-list {
        width: 100%;
        overflow-x: hidden;
        left: 0;
        padding: 111px 17px 17px
    }

    .gallerie-image-wrap.true {
        display: none
    }

    .gallerie-item {
        width: 100%
    }

    .project-images-wrap {
        overflow-x: scroll;
        min-height: 0;
        padding-bottom: 50px
    }

    .project-images-wrap img {
        margin-right: -1px
    }

    .project-images-wrap video {
        margin-right: -1px
    }

    .project-infos {
        max-height: 50px;
        height: 50px
    }

    .project-text {
        bottom: 0px;
        padding-bottom: 50px;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 15px
    }

    .project-text p {
        max-width: 100%;
        width: 100%
    }

    .project-title {
        padding-left: 15px;
        padding-bottom: 14px
    }

    .next-project {
        padding: 0 15px;
        padding-bottom: 14px
    }

    .about-wrap {
        padding-left: 15px;
        padding-right: 15px
    }

    .about-left-col {
        padding-bottom: 17px
    }

    .about-left-col {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        width: 100%;
        padding-bottom: 18px;
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 0px;
        overflow-y: visible !important
    }

    .about-right-col {
        height: auto !important;
        width: 100%;
        margin-bottom: 40px;
        padding-top: 153px;
        min-height: 0
    }

    .scroll-wrap {
        padding-top: 0px;
        overflow-y: visible
    }

    .about-image-wrap {
        width: 65%
    }

    .about-infos {
        padding-bottom: 0px
    }
}

@media (max-width: 667px) and (hover: none) {
    .works-cover {
        display:none
    }
}

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: landscape) {
    header {
        display:-webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }

    nav {
        max-width: 390px
    }

    .project-images-wrap {
        padding-top: 115px !important
    }

    .about-image-wrap {
        width: 55%
    }
}

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
    .project-images-wrap {
        padding-top:280px !important
    }

    .about-left-col {
        min-height: unset !important
    }
}

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {
    .gallerie-wrap {
        padding:150px 15px 0
    }

    .petite.portrait {
        width: 75%;
        padding: 0
    }

    .moyenne.portrait {
        width: 75%;
        padding: 0
    }

    .grande.portrait {
        width: 75%;
        padding: 0
    }

    .petite.landscape {
        width: 100%;
        padding: 0
    }

    .moyenne.landscape {
        width: 100%;
        padding: 0
    }

    .grande.landscape {
        width: 100%;
        padding: 0
    }

    header {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }

    nav {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding-left: 14px;
        padding-right: 14px;
        padding-top: 14px;
        max-width: 400px
    }

    .menu-item.works {
        padding-right: 0px
    }

    .works-list {
        width: 100%;
        overflow-x: hidden;
        left: 0;
        padding: 111px 17px 17px
    }

    .gallerie-image-wrap.true {
        display: none
    }

    .gallerie-item {
        width: 100%
    }

    body {
        font-size: 24px;
        line-height: 27px
    }

    .menu-item {
        font-family: 'SuisseIntl-Regular';
        font-size: 48px;
        line-height: 43px;
        letter-spacing:-3px
    }

    .notes {
        font-size: 13.5px;
        line-height: 15px
    }

    .works-list {
        font-size: 24px;
        line-height: 26px
    }

    .project-images-wrap {
        padding-top: 120px !important
    }

    .project-images-wrap {
        overflow-x: scroll;
        min-height: 0;
        padding-bottom: 50px
    }

    .project-images-wrap img {
        margin-right: -1px
    }

    .project-images-wrap video {
        margin-right: -1px
    }

    .project-infos {
        max-height: 50px
    }

    .project-text {
        bottom: 50px;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 15px
    }

    .project-text p {
        max-width: 100%;
        width: 100%
    }

    .project-title {
        padding-left: 15px;
        padding-bottom: 14px
    }

    .next-project {
        padding: 0 15px;
        padding-bottom: 14px
    }

    .about-wrap {
        padding-left: 15px;
        padding-right: 15px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .about-left-col {
        padding-bottom: 17px
    }

    .about-left-col {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        width: 100%;
        padding-bottom: 18px;
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 0px;
        overflow-y: visible !important
    }

    .about-right-col {
        height: auto !important;
        width: 100%;
        margin-bottom: 40px;
        min-height: 0;
        padding-top: 152px
    }

    .scroll-wrap {
        padding-top: 0px;
        overflow-y: visible
    }

    .about-image-wrap {
        max-height: unset !important;
        width: 55%
    }

    .about-infos {
        padding-bottom: 0px
    }
    /* --- CURSEUR TEXTE PERSONNALISÉ --- */
.gallerie-wrap .ajaxload {
  cursor: none;
  position: relative;
}

#text-cursor {
  position: fixed;
  top: 0; left: 0;
  transform: translate3d(-100vw, -100vh, 0);
  pointer-events: none;
  z-index: 999999; /* au-dessus de tout */
  font-family: "Instrument Serif", serif;
  font-size: 14px;
  letter-spacing: .02em;

  color: #111;
  background: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  opacity: 0;
  transition: opacity .15s ease, transform .06s ease;
  white-space: nowrap;
}
#text-cursor.is-visible { opacity: 1; }
.gallerie-wrap .cursor-zone { cursor: none; position: relative; }

}
/* --- CURSEUR TEXTE PERSONNALISÉ --- */
.gallerie-wrap .ajaxload,
.gallerie-wrap .cursor-zone {
  cursor: none;
  position: relative;
}

#text-cursor {
  position: fixed;
  top: 0; left: 0;
  transform: translate3d(-100vw, -100vh, 0);
  pointer-events: none;
  z-index: 999999;
  font-family: "Instrument Serif", serif;
  font-size: 14px;
  letter-spacing: .02em;
  color: #111;
  background: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  opacity: 0;
  transition: opacity .15s ease, transform .06s ease;
  white-space: nowrap;
}
#text-cursor.is-visible { opacity: 1; }

/* === NAV psy : noir sur blanc, couleurs qui se mélangent sur les images === */

/* 0) Sécuriser le conteneur : pas d’isolation ni de fond ni de contexte parasite */
header.header,
nav.navbar {
  background: transparent !important;
  isolation: auto !important;       /* surtout pas isolate */
  transform: none !important;       /* évite un nouveau stacking context */
  filter: none !important;
  opacity: 1 !important;
  pointer-events: none;
}
nav.navbar { pointer-events: auto; } /* clics ok */

/* 1) Appliquer le blend sur les LIENS (et annuler tout recoloriage) */
nav.navbar a {
  /* base blanche => paraît NOIR sur fond BLANC en exclusion,
     et se TEINTE fortement sur les visuels */
  color: #fff !important;
  mix-blend-mode: exclusion !important;   /* “psyché” ; essaye 'difference' si tu veux + de contraste */
  background: transparent !important;
  text-decoration: none;
}

/* 2) Ne jamais écraser la couleur calculée */
nav.navbar a:hover,
nav.navbar a:focus,
nav.navbar a:visited {
  color: inherit !important;
}

/* 3) Si tu as des règles globales (ex: a{color:black}), neutralise-les dans la nav */
nav.navbar * { color: inherit !important; }

nav.navbar a {
  color: #fff !important;
  mix-blend-mode: exclusion !important;
  background: transparent !important;
  text-decoration: none;
}

/* --- Fix blend nav --- */
header.header{
  position: static !important;   /* enlève le contexte du header */
  z-index: auto !important;
  background: transparent !important;
}

/* nav fixe + blend sur toute la barre */
nav.navbar{
  position: fixed !important;
  top: 0; left: 0;
  width: 100%;
  padding-top: 27px;             /* garde ton espacement */
  color: #fff;                   /* base blanche */
  mix-blend-mode: difference;    /* "psyché" (essaie exclusion si tu veux + doux) */
  background: transparent !important;
  pointer-events: auto;
}

/* les liens héritent la couleur calculée, jamais de recoloriage */
nav.navbar a,
nav.navbar a:hover,
nav.navbar a:focus,
nav.navbar a:visited{
  color: inherit !important;
  text-decoration: none;
}

/* NAV fixe, au-dessus de tout, avec blend */
header.header {
  position: static !important;   /* on enlève le contexte du header */
  background: transparent !important;
}

nav.navbar {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  padding-top: 27px;
  background: transparent !important;

  /* au-dessus des images */
  z-index: 2147483647 !important;

  /* effet psyché */
  color: #fff;
  mix-blend-mode: difference; /* essaie 'exclusion' si tu veux plus doux */
}

/* liens = couleur héritée du blend */
nav.navbar a,
nav.navbar a:hover,
nav.navbar a:focus,
nav.navbar a:visited {
  color: inherit !important;
  text-decoration: none;
}

/* Débloquer le scroll quand la nav est en fixed */
nav.navbar {
  height: auto !important;       /* au lieu de 100% */
  pointer-events: none;          /* laisse le scroll passer à travers */
  position: fixed !important;
  top: 0; left: 0; right: 0;
  padding-top: 27px;
  z-index: 2147483647 !important;
  background: transparent !important;

  /* effet psyché */
  color: #fff;
  mix-blend-mode: difference;    /* ou exclusion pour + doux */
}

/* Les liens restent cliquables */
nav.navbar a {
  pointer-events: auto;
  color: inherit !important;
  text-decoration: none;
}


/* Mobile & tablette : le bloc infos apparaît seulement après toutes les images */
@media (max-width: 1024px) {
  .project-infos {
    position: static !important;   /* plus d’absolute/fixed en bas */
    width: 100%;
    max-height: none !important;   /* retire la hauteur limitée/teaser */
    height: auto !important;
    background: #fff;
    cursor: auto;
  }

  /* Le texte à l'intérieur était aussi en absolute : on le remet dans le flux */
  .project-infos .project-text {
    position: static !important;
    width: 100%;
    padding: 24px 28px !important; /* garde un joli padding */
    bottom: auto !important;
  }

  /* On évite qu’un padding-bottom force une “marche” sous la galerie */
  .project-images-wrap {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 1024px) {
  .project-infos {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .project-images-wrap img {
    margin-bottom: -6px !important; /* tu peux descendre à 4px si tu veux encore plus serré */
  }
}

/* --- iOS / mobile : réactiver le scroll de la PAGE, pas d'inner scroller --- */
@media (max-width: 1024px) {
  html, body, .page {
    position: static !important;
    height: auto !important;
    min-height: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* main ne doit plus créer un scroll indépendant */
  main {
    position: static !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    display: block !important;
  }

  /* la galerie doit pouvoir s'étendre en hauteur */
  .project-images-wrap {
    height: auto !important;
    overflow: visible !important;
    white-space: normal !important;
    padding-bottom: 0 !important;
  }

  /* sécurité : aucun item “absolu” qui casse le flux */
  .project-images-wrap .slideshow-item {
    position: static !important;
    display: block !important;
    margin-right: 0 !important;
  }

  /* si un spinner overlay restait fixé, on le coupe en mobile */
  .spinner,
  .spinner-project {
    display: none !important;
  }
}




