/* --- Fonts & Imports --- */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&display=swap');

@font-face {
    font-family: "General-sans-Variable";
    src: url(../fonts/GeneralSans-Variable.ttf);
}

@font-face {
    font-family: "Roboto-Mono-Variable-Italic";
    src: url(../fonts/Roboto_Mono/RobotoMono-Italic-VariableFont_wght.ttf);
}

@font-face {
    font-family: "Roboto-Mono-Variable";
    src: url(../fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf);
}


/* --- Normalize --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    appearance: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



/* --- Typography --- */
h2 {
    font-size: 60px;
    font-family: "General-sans-Variable";
    font-weight: 800;
    line-height: 60px;
    text-transform: uppercase;
}

h3 {
    font-size: 40px;
    font-family: "General-sans-Variable";
    font-weight: 100;
    line-height: 40px;
}

p {
    font-family: "Roboto-Mono-Variable-Italic";
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: inherit;
        cursor: pointer;
}


/* --- Body --- */
body {
    background: #1C1C1C;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}


/* --- Header --- */
header {
    z-index: 10;
    position: fixed;
    top: 0;
    width: 100vw;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1% 5% 1% 5%;
    color: #FFFEF3;
    text-transform: uppercase;
    font-family: "Roboto-Mono-Variable";
    mix-blend-mode: difference;
    font-size: 15px;
}

button{
    cursor: pointer;
}

/* Liens header/footer/contact : doublons regroupés */
header a,
footer a,
.contact a {
    display: flex;
    flex-direction: column;
    transition: transform 1s ease;
}

header a:hover,
footer a:hover,
.contact a:hover {
    transform: translateY(-100%);
}

header a::after,
footer a::after,
.contact a::after {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    transition: transform 1s ease;
}

header #ContactBtn::after,
footer #ContactBtn::after {
    font-weight: bolder;
}

.header-link-container,
.conact-link-container {
    overflow: hidden;
    display: inline-block;
    position: relative;
}

.right-header,
.right-footer {
    display: flex;
    flex-direction: row;
    column-gap: 30px;
}


/* --- footer --- */

footer {
    z-index: 10;
    width: 100vw;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1% 5% 1% 5%;
    color: #FFFEF3;
    text-transform: uppercase;
    font-family: "Roboto-Mono-Variable";
    font-size: 15px;
}

.footer-link-container {
    overflow: hidden !important;
    display: inline-block;
    position: relative;
    width: fit-content;
}


/* --- Logos --- */
.logoBM0 {
    user-select: none;
    position: sticky;
    z-index: 0;
}

.logoBM0,
.logoBM0 object {
    pointer-events: none;
}

.logoBM0 img {
    user-select: none;
    -webkit-user-drag: none;
}



/* --- Hero Section --- */
.intro {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;

}

.logoWrap{
    width: 100%;
}

.Hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: absolute;
    gap: 3vw;
}

.Flying-Images {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    will-change: transform;
}

.Hero .Flying-Images {
    width: 100px;
    height: 100px;
    position: absolute;
    object-fit: cover;
    z-index: 5;
}

/* Images médias masquées : doublons regroupés */
.Hero .medias img,
.citation .medias img {
    width: 1px;
    height: 1px;
    top: 0;
    left: 0;
    position: absolute;
    visibility: hidden;
    pointer-events: none;
}

.Hero .intro-down-arow {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5vh;
}

.Hero .intro-down-arow img {
    width: 20px;
}


.hero-mobile{
    display: none;
}

.hero-mobile svg{
    width: 70vw;
}


/* --- Intro Section --- */
.Intro-Section {
    height: 100svh;
    background-color: #FFFEF3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.Intro-Text-Container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #1C1C1C;
}

/* Spans inline-block : doublons regroupés */
.Intro-Line span,
.Section-Intro .sentence span {
    display: inline-block;
}

.Intro-Line .letter {
    clip-path: polygon(-5% 0, -5% 104%, 105% 104%, 105% 0);
}


/* --- Section Intro --- */
.Section-Intro .scroll {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.Section-Intro .pin-height {
    height: 250vh;
}

.Section-Intro .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    background-color: #FFFEF3;
    /* text-align: left; */
    padding: 0 5% 0 5%;
    row-gap: 1vh;
    overflow: hidden;
}

.Section-Intro .sentence {
    /* font: 300 137px "General-sans-Variable";
    text-transform: uppercase; */
    color: #1C1C1C;
    /* line-height: 147px; */
    font-size: 80px;
    font-family: "General-sans-Variable";
    font-weight: 800;
    line-height: 80px;
    text-transform: uppercase;
    overflow: hidden;
    width: 100%;
    z-index: 1;
    position: relative;
    text-align: center;
}

.Section-Intro .letter {
    clip-path: polygon(-5% 5%, -5% 114%, 105% 114%, 105% 5%);
}


/* --- Terrain --- */
.terrain-container {
    height: 100%;
    width: 1000px;
    transform-origin: center center;
    will-change: transform;
    overflow: hidden;
    position: relative;
}

.terrain-BG {
    background-image: url(../assets/img/05e3c9f9cc9717d0c9c4e9ea431dfa0566133705.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    pointer-events: none;
}

.sentenceWithImage {
    display: flex;
    flex-direction: row;
    column-gap: 1%;
    overflow: hidden;
}


/* --- Section Infos --- */
.Section-Infos {
    height: 100vh;
    width: 100vw;
    background-color: #FFFEF3;
    overflow: hidden;
    color: #1C1C1C;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    row-gap: 30px;
    padding: 0 30% 0 30%;
    position: relative;
    border-bottom: solid #1C1C1C 1px;
    border-top: solid #1C1C1C 1px;
}

.Section-Infos h2,
.Section-Infos p {
    z-index: 1;
}

.bastian {
    width: 15vw;
    position: absolute;
    z-index: 2;
}

.split-lines-citation .line {
    display: block;
    overflow: hidden;
}

.split-lines-citation .word {
    display: inline-block;
}

.hover-citation .word {
    text-decoration: underline #1C1C1C;
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.1em;
    cursor: pointer;
}


/* --- Citation --- */
.citation {
    height: 100vh;
    background-color: #FFFEF3;
    color: #1C1C1C;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5% 0 5%;
    z-index: 3;
}

.citation-container h2 {
    text-align: center;
}

.citation span {
    text-decoration: underline;
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.1em;
    cursor: pointer;
}

.citation-float {
    width: 100px;
    user-select: none;
    -webkit-user-drag: none;
}


/* --- Works --- */
.works {
    display: flex;
    height: auto;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.works .container {
    width: max-content;
    white-space: nowrap;
    display: flex;
    gap: 15px;
    padding: 0 1vw 0 0;
    user-select: none;
    cursor: grab;
}

.works .card {
    width: 40vw;
    height: 40vw;
    aspect-ratio: 0.9;
    transform-origin: 50% 100%;
    cursor: pointer;
}

.works img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 0.03em;
    pointer-events: none;
}

.works-head {
    display: flex;
    flex-direction: column;
    color: #FFFEF3;
    width: 100%;
    padding: 5% 5% 5% 5%;
    row-gap: 2%;
}


/* --- Offres --- */
.offres {
    height: auto;
    width: 100vw;
    display: flex;
    flex-direction: row;
    background-color: #FFFEF3;
    padding: 5%;
    border-bottom: solid #1C1C1C 1px;
}

.offres .left-column {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding-right: 5%;
    row-gap: 2%;
    color: #1C1C1C;
}

.offres .left-column p {
    width: 50%;
}

.offres .right-column {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.offres .right-column .wrapper {
    width: 100%;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
}

.slider-one {
    width: 100%;
    height: 50vh;
    border: 1px solid #FFFEF3;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.slider-one .slide {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    color: #FFFEF3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    padding: 5%;
    background-color: #1C1C1C;
    background-image: url(../assets/img/BM0BGBLACK.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.slide-head {
    width: 60%;
    display: flex;
    flex-direction: column;
    row-gap: 1vh;
}

.slide-head .char,
.slide-head .word {
    will-change: transform, opacity;
}

.slide button {
    background-color: #FFFEF3;
    color: #1C1C1C;
    font-family: "General-sans-Variable";
    font-size: 20px;
    line-height: 20px;
    padding: 10px;
    border: none;
    z-index: 5;
}

.offres .right-column .buttons {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.offres .right-column .buttons button {
    padding: 0;
    cursor: pointer;
    background-color: unset;
    border: none;
}

.offres .right-column button object {
    user-select: none;
    pointer-events: none;
}

.offreIlu {
    width: 350px;
    position: absolute;
    right: -10%;
    bottom: -25%;
    will-change: transform, opacity;
    transform-style: preserve-3d;
    transform-origin: 60% 60%;
    transform: translateZ(0.01px);
    pointer-events: none;
    max-width: none;
    z-index: 0;
}

button{
    z-index: 5;
}

.offre1 {
    z-index: 3;
}

.offre2 {
    z-index: 2;
}

.offre3 {
    z-index: 1;
}


.mwg_effect016 {
    overflow: hidden;
    background-color: #FFFEF3;
}

.mwg_effect016 .pin-height {
    height: 1500vh;
    position: relative;
}

.mwg_effect016 .container {
    width: 90px;
    aspect-ratio: 1;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mwg_effect016 .media-wrapper {
    position: absolute;
    inset: 0;
}

.mwg_effect016 .media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(60vw, 0);
}


/* --- contact --- */
.contactlink {
    color: #1C1C1C !important;
    text-transform: uppercase;
    font-family: "Roboto-Mono-Variable";
    font-size: 40px;
    font-weight: 100;
    position: absolute;
    bottom: 0;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: left;
    row-gap: 5%;
    justify-content: center;
    text-align: left;
    height: 100vh;
    padding: 1% 5% 1% 5%;
}

.footer-link-container{
    width: fit-content;
}

.contactlink p{
    width: 50%;
}










@media screen and (max-width: 767px) {
  
/* --- Typography --- */
h2 {
    font-size: 40px;
    font-family: "General-sans-Variable";
    font-weight: 800;
    line-height: 40px;
    text-transform: uppercase;
}

h3 {
    font-size: 30px;
    font-family: "General-sans-Variable";
    font-weight: 100;
    line-height: 30px;
}

p {
    font-family: "Roboto-Mono-Variable-Italic";
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: inherit;
        cursor: pointer;
}


.Section-Intro .sentence{
    font-size: 40px;
    font-family: "General-sans-Variable";
    font-weight: 800;
    line-height: 40px !important;
    text-transform: uppercase;
}

.terrain-container{
    width: 200px;
}

.Section-Infos{
    padding: 0 10% 0 10%;
}

.bastian{
    width: 55vw;
}

.works .card {
    width: 70vw;
    height: 90vw;
    aspect-ratio: 0.9;
    transform-origin: 50% 100%;
    cursor: pointer;
}

.offres{
    flex-direction: column;
}

.offres .left-column{
    width: 100%;
}

.offres .left-column p {
    width: 80%;
    padding-top: 5%;
}

.offres .right-column {
    width: 100%;
    margin-top: 5%;
}

.slide-head{
    width: 100%;
}

.offreIlu{
    width: 200px;
    right: -20%;
    bottom: -15%;
}

.contactlink p {
    width: 100%;
}

.contactlink a{
    font-size: 20px;
}

.left-header{
    display: none;
}

header{
    font-size: 13px;
    justify-content: center;
}

.left-footer{
    display: none;
}

footer{
    font-size: 13px !important;
    justify-content: center !important;
}

.intro {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.logoWrap{
    margin-bottom: -20px;
}

.citation{
    display: none;
}

.Section-Intro{
    display: none;
}


.mwg_effect016 .container{
    display: none;
}

.mwg_effect016 .pin-height {
    height: 80vh;
    position: relative;
}

.works {
    display: flex;
    height: 100vh;
    align-items: start;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.works .card {
        width: 80vw;
        height: 70vh;
        aspect-ratio: 0.9;
        transform-origin: 50% 100%;
        cursor: pointer;
}

.hero-wrapper{
    display: none;
}

.hero-mobile{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1C1C1C;
}

}