@font-face { /* Regular */
    font-family: 'New Caledonia LT Std';
    src: url('./Assets/Fonts/V4/Regular.ttf') format('truetype');
    font-weight: 400; /* la "graisse" des fonts (et du texte qui av l'utiliser) */
    font-style: normal;
}

@font-face { /* Regular */
    font-family: 'New Caledonia LT Std';
    src: url('./Assets/Fonts/V4/Regular\ Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face { /* Bold */
    font-family: 'New Caledonia LT Std';
    src: url('./Assets/Fonts/V4/Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face { /* Bold */
    font-family: 'New Caledonia LT Std';
    src: url('./Assets/Fonts/V4/Bold\ Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face { /* Semi-Bold */
    font-family: 'New Caledonia LT Std';
    src: url('./Assets/Fonts/V4/SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face { /* Semi-Bold */
    font-family: 'New Caledonia LT Std';
    src: url('./Assets/Fonts/V4/SemiBold\ Italic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face { /* Black */
    font-family: 'New Caledonia LT Std';
    src: url('./Assets/Fonts/V4/ExtraBold.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face { /* Black */
    font-family: 'New Caledonia LT Std';
    src: url('./Assets/Fonts/V4/ExtraBold\ Italic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

body {
    position : absolute;
    display : block;
    overflow-x: hidden;
    overflow-y: scroll;
    height : 100%;
    width : 100%;
    --scrollbar-width: 15px;
    
    margin : 0px;
    padding : 0px;
}

#headerSep {
    position : relative;
    top : 0px;
    left : 0px;
    height : 120px;
    width : 100%;
    background : red;
}

.endofpage {
    font-family: consolas;
}

.header {
    font-family : "New Caledonia LT Std", sans-serif;
    font-size : 13px;

    position: fixed;
    z-index : 99;
    top : 0px;
    left: 0;
    right: 0;
    height: 120px;
    line-height: 80px;
    background-color: white;
    border : solid 0.5px rgb(192, 192, 192);

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    transition: transform 0.3s ease;

    button {
        flex-shrink: 0;
        background : white;
        border : solid black 1px;
        text-align: center;
        padding-right : 15px;
        padding-left : 15px;
        padding : 25px;
    }
}
.menu {
    padding: 0 10px;
    flex: 1;
    justify-content: center;
    display: flex;
    gap: 20px;
}
.menu a {
    font-weight: bold;
    text-decoration: center;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 10px;
    color: #000000;
    transition: all 0.1s ease 0.2s;
}
.menu a:hover {
    color: #709faf;
    transition: all 0.3s ease 0.2s;
}

.logo {
    height: 80px;
    line-height: 80px;
}

.logo img {
    height: 60px;
    width: auto;
    vertical-align: middle;
    margin-top : 1.25vh;
    margin-right : -60px;
    margin-left : -5px;
}

/*
            ___SECTION 1___
*/

.section {
    width: 100%;
    height: calc(100vh - 120px);
    min-height: 600px;
    display: flex;
    flex-direction: row;
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    box-sizing: border-box;
    border-bottom : solid rgb(175, 175, 175) 0.5px;
}

#section1 {
    background-image : url("./Assets/Images/PlateauGrisée.png");
}

#section1-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 0;
    position: relative;
}

#section1_button1,#section1_button2 {
    background: black;
    border: none;
    color: #fff;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: "New Caledonia LT Std", sans-serif;
    font-weight: 600;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#section1_button1 {
    padding: 12px 24px;
}

#section1-left p {
    font-family: "New Caledonia LT Std", sans-serif;
    font-size: clamp(60px, 10vw, 140px);
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
    color: #000000;
    letter-spacing: -2px;
}


#section1-right {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 40px 0 80px 0;
    position: relative;
}

#section1-right p {
    font-family: "New Caledonia LT Std", sans-serif;
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 400;
    line-height: 1.4;
    text-align: right;
    color: #000;
    margin: 0 0 50px 0;
    letter-spacing: 0.5px;
}

#section1_button2 {
    padding: 22px 28px;
}

#section1_button2:hover,#section1_button1:hover {
    color: #555;
}

/*
            ___SECTION 2___
*/

#section2, #section3, #section4 {
    width: 100.8%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 32% 68%;
    position: relative;
    overflow: hidden;
    padding: 40px 38px 80px 38px;
    background: #fff;
    color: #000;
}

#section2-left, #section3-left, #section4-left {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 10px;
    position: relative;
}

#section2-left p, #section3-left p, #section4-left p {
    margin: 0;
    font-family: "New Caledonia LT Std", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 3px;
    color: #000;
}

#section2-right, #section3-right, #section4-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px 0 0;
    position: relative;
}

#section2-right h2, #section3-right h2, #section4-right h2 {
    margin: 0;
    max-width: 800px;
    font-family: "New Caledonia LT Std", sans-serif;
    font-size: clamp(32px, 5.2vw, 62px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -2.5px;
    color: #000;
}

#section2-right p, #section4-right p {
    margin: 48px 0 0 0;
    max-width: 780px;
    font-family: "New Caledonia LT Std", sans-serif;
    font-size: clamp(18px, 1.45vw, 24px);
    font-weight: 400;
    line-height: 1.25;
    color: #111;
    letter-spacing: 0;
}

/*
          ___SECTION 3___
*/
#section3 {
    height : fit-content;
}

#section3-bottom {
    width : 95vw;
    height : 100vh;
    margin-top : 50px;

    /*
    img:nth-child(n):nth-child(-n+3) {
        max-width : 30vw;
    }
    */

    /*
    img {
        overflow-y : hidden;
        max-height: fit-content;
        width : calc(10vw - 100px);
    }
    */
    
    img:nth-child(1) {
        width : 35vw;
    }
    img:nth-child(2) {
        width : 25vw;
        position : relative;
        bottom : 25px;
    }
    img:nth-child(3) {
        width : 30vw;
        align-self : flex-end;
    }
}

/*
          ___SECTION 4___
*/

#section4-right {
    h2 {
        border-bottom : solid grey 1px;
    }
    div {
        display : flex;
        flex-direction: row;
        justify-content: space-between;
    }
    p {
        max-width : 500px;
        font-size: clamp(12px, 1.45vw, 20px);
    }
}

/* Footer */
footer {
  background: var(--bg-main);
  border-top: 1px solid var(--border-light);
  padding: 4rem 1.5rem 2rem;
}
.footer-link {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.footer-link:hover { color: var(--accent-black); text-decoration: underline; }




hb {
    position : absolute;
    bottom : 0px;
    right : 0px;
}


@media screen and (max-width: 1024px) {
    #section1 {
        padding: 0 30px;
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .section1-left {
        flex: 1;
        justify-content: center;
        padding: 40px 0 20px 0;
    }
    
    .section1-left p {
        font-size: clamp(50px, 12vw, 90px);
    }
    
    .section1-right {
        flex: 1;
        justify-content: center;
        align-items: flex-start;
        padding: 20px 0 40px 0;
    }
    
    .section1-right p {
        text-align: left;
        font-size: clamp(16px, 3vw, 24px);
    }
    
    #section1_button2 {
        align-self: flex-start;
    }
    
    #section1::after {
        left: 30px;
        right: 30px;
    }
}

@media screen and (max-width: 800px) {
    .header {
        height : 80px;
    }
    .menu {
        padding : 0px;
        margin-right : -50px;
    }
    .menu a {
        transition : none;
        font-size : clamp(8px, 2px, 8px);
        padding : 0px;
        margin : -5px;
        align-self : center;
        justify-content : center;
    }
    .header button {
        font-size : 8px;
        padding : 15px;
    }
    .logo img {
        width : clamp(80px, 20px, 70px);
        margin-top : 1.25vh;
        margin-right : -60px;
        margin-left : -5px;
    }
    #section1 {
        margin-top : -10vh;
        padding: 5px;
        height : calc(50vh - 80px);
    }

    #section1-left {
        margin-left : 15px;
    }
    #section1-left p {
        font-size: clamp(30px, 10vw, 60px);
    }
    
    #section1_button1 {
        font-size: 10px;
        padding: 8px 16px;
        letter-spacing: 2px;
    }
    
    #section1_button2 {
        padding: 12px 16px;
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    #section1-right {
        margin-left : 20px;
        #section1_button2 {
            margin-bottom : -20vh;
        }
        p {
            margin-bottom : 5vh;
        }
    }

    #section2, #section3 {
        max-height: calc(100vh - 120px);
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 35px 20px 60px 20px;
    }

    #section2-left, #section3-left {
        padding-top: 0;
    }

    #section2-right, section3-right {
        padding-right: 0;
    }

    #section2-right h2, #section3-right h2 {
        font-size: clamp(30px, 5vw, 30px);
        letter-spacing: -1.5px;
        line-height: 1;
    }

    #section2-right p, #section3-right p {
        margin-top: 30px;
        font-size: clamp(17px, 4.5vw, 20px);
        line-height: 1.35;
    }

    #section3 {
        height : 20vh;
    }

    #section3 div:nth-child(2) {
        margin-top : -25vh;
    }

    #section3 div:nth-child(3) {
        margin-top : -40vh;
    }

    #section3 #section3-bottom, #section3 #section3-right, #section3 #section3-left {
        height : 10vh;
    }
}

@media screen and (max-width: 1024px) {
    #section2 {
        grid-template-columns: 25% 75%;
        padding: 40px 30px 70px 30px;
    }

    #section2-right {
        padding-right: 20px;
    }

    #section2-right h2 {
        font-size: clamp(30px, 5vw, 42px);
    }

    #section2-right p {
        max-width : 80vw;
        margin-top: 38px;
        font-size: clamp(17px, 2.2vw, 22px);
    }
}
