@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url("https://use.typekit.net/nnb6ftc.css");

:root {
    --white: #ffffff;
    --black: #44423f;
    --blue: #5c534b;
    --cream: rgb(243, 238, 232);
    --beige: #f1ebe3;
    --peach-dark: #edc098;
    --peach-light: #f0d0ba;
    --pink: #dcaf9f;
    --pink-light: #FCF5F0;
    --brown: #c4a88d;
    --brown-dark: #736252;
    --grey: #e1e1e1;
    --poppins: "Poppins", sans-serif;
    --garamond: "adobe-garamond-pro", serif;
}

@media (min-width: 769px) {
    :root {
        --font-size: .0694444444vw;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --font-size: 0.22vw;
    }
}

html {
    font-size: var(--font-size);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 1.15;
    -webkit-text-size-adjust: none;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 18rem;
    font-weight: 500;
    line-height: 1.33;
    color: var(--black);
    position: relative;
    min-height: 100%;
}

html,
body {
    background-color: #FCF5F0;
}

.noScroll {
    overflow: hidden;
    cursor: default;
}


main {
    height: 1000px;
}

main img {
    width: 100%;
}

h2 {
    font-family: 'Butler';
}

/*----- NAV MOBILE -----*/
.nav__mobile {
    width: 100%;
    display: flex;
    position: fixed;
    bottom: -260px;
    left: 0;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: all 1s ease;
    background: var(--white);
    box-shadow: rgb(104 83 62 / 0%) 0px 10px 30px;
}

.nav__mobile a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    padding: 18rem 0;
    color: #b68f67;
    font-size: 20rem;
    letter-spacing: 2rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.6s ease;
    cursor: pointer;
}

.nav__mobile a:first-child {
    border-right: 1px solid #ded6cd;
}

@media (max-width:768px) {
    .nav__mobile {
        bottom: -1px;
        left: 0;
        width: 100%;
        visibility: visible;
        opacity: 1;
    }
}

/*----- MENU DESKTOP -----*/
.menu__desktop {
    display: flex;
    flex-direction: row;
    background-color: var(--light);
    padding: 14rem 20rem;
    align-items: center;
    position: fixed;
    color: var(--peach-light);
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    mix-blend-mode: exclusion;
}

.menu__desktop .left {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo__desktop {
    display: block;
    height: 30rem;
    margin-right: 20rem;
}

.menu__dektop-nav {
    display: flex;
    flex-direction: row;
}

.menu__dektop-nav li a {
    display: block;
    position: relative;
    color: var(--cream);
    margin: 0 20rem;
    letter-spacing: 2rem;
    font-size: 14rem;
    text-transform: uppercase;
    transition: opacity 800ms ease;
    text-decoration: none;
}

.menu__dektop-nav li a:hover {
    color: var(--white);
}

.menu__dektop-nav li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    top: 24rem;
    left: 0;
    background-color: var(--peach-light);
    transition: transform 400ms ease-out;
    transform: scaleX(0);
    transform-origin: bottom right;
}

.menu__dektop-nav li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


.menu__desktop .right {
    margin-left: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.menu__btnContact {
    display: block;
    font-size: 14rem;
    font-family: "Poppins", sans-serif;
    letter-spacing: 2rem;
    text-transform: uppercase;
    padding: 10rem 20rem;
    background-color: transparent;
    margin-right: 10rem;
    border: 1px solid transparent;
    text-decoration: none;
    color: var(--cream);
    transition: all ease 800ms;
}

.menu__btnContact:hover {
    border: 1px solid var(--peach-dark);
    color: var(--peach-dark);
}

.menu__insta {
    display: flex;
    margin-left: 10rem;
    padding: 10rem;
    text-decoration: none;
    transition: opacity ease 600ms;
    color: var(--cream);
}

.menu__insta:hover {
    color: var(--peach-dark);
}

.menu_show {
    opacity: 1;
}

@media (max-width:768px) {
    .menu__desktop {
        display: none;
    }
}

/*----- MENU MOBILE -----*/
.menu_mobile {
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    align-items: center;
    justify-content: center;
    top: 0;
    padding: 50rem 20rem 20rem 20rem;
    left: 0;
    width: 100%;
    height: 100dvh;
    color: var(--peach-light);
    background: var(--pink-light);
    opacity: 0;
    z-index: 1161;
    transition: 400ms;
    overflow-y: auto;
}

.logo__menuMobile {
    display: flex;
    position: absolute;
    top: 1vh;
    width: 130rem;
    margin-top: 20rem;
    z-index: 999;
}

.menu_mobile ul {
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.menu_mobile ul li {
    text-align: center;
}

.menu_mobile ul a {
    display: flex;
    align-items: center;
    font-size: 24rem;
    font-weight: 500;
    padding: 1.6vh 0;
    letter-spacing: 3rem;
    text-align: center;
    align-content: center;
    text-decoration: none;
    justify-content: center;
    color: var(--brown);
}

.menu_mobile ul a a:hover {
    color: var(--peach-dark);
    transition: 300ms linear;
}

.menu_mobile_list {
    gap: 10rem;
}

.close_menu {
    display: block;
    bottom: 20rem;
    z-index: 1999;
    padding: 10px;
    width: 100%;
    text-align: center;
    color: var(--peach-light);
    cursor: pointer;
    transition: all 300ms ease;
}

.close_menu:hover {
    color: var(--brown);
}

.close_menu svg {
    width: 40rem;
    height: 40rem;
}

.menu__mobile_social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 1200;
    width: 100%;
    bottom: 0;
}

.menu__mobile_social a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-color: transparent;
    color: var(--brown);
    margin: 6px;
    font-size: 24rem;
    width: 40rem;
    height: 40rem;
    transition: background-color 800ms ease;
    text-decoration: none;
}

@media (max-width: 900px) {
    .menu_mobile.active {
        display: flex;
        visibility: visible;
        position: fixed;
        left: 0;
        backdrop-filter: blur(60px);
        opacity: 1;
        transition: opacity 600ms;
    }
}

/*----- HEADER -----*/
header {
    position: relative;
    display: flex;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    align-items: center;
    align-self: center;
    overflow: hidden;
    z-index: 10;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

header .content {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 30vw;
    height: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    align-items: center;
    z-index: 99;
    justify-content: space-between;
}

header:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 40vh;
    opacity: .9;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.logo__main {
    position: absolute;
    left: 50%;
    top: 60rem;
    transform: translateX(-50%);
    width: 140rem;
    z-index: 3;
    filter: drop-shadow(0px 0px 60px rgba(0, 0, 0, 1));
    animation: 3s ease 1s normal forwards 1 keemo_fadeInDown;
    opacity: 0;
}

.logo__main-active {
    width: 90px;
    position: fixed;
    top: 4%;
    z-index: 3;
}

header video {
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
}

.video_background {
    object-fit: cover;
    width: 100%;
    max-height: 100%;
    filter: brightness(60%);
}

.video_overlay {
    display: flex;
    position: absolute;
    bottom: 0;
    background: linear-gradient(0deg, var(--cream) 0%, rgb(242 238 231 / 40%) 50%, rgb(44 255 200 / 0%) 100%);
    width: 100%;
    height: 40vh;
    z-index: 2;
}

.header__txt {
    display: flex;
    flex-direction: column;
    position: fixed;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
    bottom: 190rem;
    width: 80%;
    z-index: 3;
    animation: 1800ms ease 600ms normal forwards 1 keemo_fadeInDown;
    opacity: 0;
}

.header__txt-off {
    animation: 1s ease 0s normal forwards 1 ciaoBello;
}

header h1 {
    display: flex;
    flex-direction: column;
    line-height: 32rem;
    text-align: center;
    z-index: 3;
    color: var(--white);
    filter: drop-shadow(0px 0px 60px rgba(0, 0, 0, 0.8));
}

.HT3938 {
    font-family: var(--garamond);
    font-weight: 400;
    font-size: 46rem;
    font-style: italic;
    letter-spacing: -1rem;
    margin-bottom: 10rem;
}

.HT3939 {
    font-family: var(--garamond);
    font-weight: 400;
    font-size: 40rem;
    font-style: normal;
    letter-spacing: -1rem;
    margin-bottom: 10rem;
}

.HT3940 {
    font-family: var(--garamond);
    font-weight: 400;
    font-style: normal;
    font-size: 12rem;
    letter-spacing: 3rem;
    font-family: var(--poppins);
    text-transform: uppercase;
}


@media (max-width: 1024px) {
    header {
        height: 100vh;
        width: 100%;
    }

    .logo__main {
        width: 120rem;
        top: 40rem;
    }
}


/*----- SCROLL DOWN CURSOR -----*/
.scrollDown {
    display: flex;
    position: fixed;
    flex-direction: column;
    left: 50%;
    transform: translateX(-50%);
    bottom: 90rem;
    align-items: center;
    text-decoration: none;
    z-index: 3;
    animation: 2s ease 0s normal forwards 1 keemo_fadeInDown;
    opacity: 0;
}

.scrollDown-off {
    animation: 1s ease 0s normal forwards 1 ciaoBello;
}

.scrollDown .border {
    height: 44rem;
    width: 24rem;
    border: 1px solid var(--white);
    border-radius: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scrollDown .cursor {
    width: 22px;
    stroke: var(--white);
    animation: arrow-scroll 3s infinite ease;
}

@keyframes arrow-scroll {
    0% {
        transform: translateY(8px)
    }

    50% {
        transform: translateY(-9px)
    }

    55% {
        transform: translateY(-9px)
    }

    to {
        transform: translateY(8px)
    }
}

@media (max-width: 1024px) {
    .scrollDown {
        bottom: 110rem;
    }
}




/*--- GO UP BUTTON---*/
.goingup {
    visibility: hidden;
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 99;
    opacity: 0;
    -ms-transform-origin-y: 20px;
    -webkit-transition: all 800ms ease;
    -moz-transition: all 800ms ease;
    -ms-transition: all 800ms ease;
    transition: all 800ms ease;
    mix-blend-mode: exclusion;
}

.goingup-active {
    visibility: visible;
    opacity: 1;
    -webkit-transition: all 800ms ease;
    -moz-transition: all 800ms ease;
    -ms-transition: all 800ms ease;
    transition: all 800ms ease;
}

.goingup a {
    display: block;
    height: auto;
    width: auto;
}

.goingup svg {
    width: 40rem;
    height: 40rem;
    stroke: rgb(114 117 143);
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

@media (max-width: 1024px) {
    .goingup {
        bottom: 80rem;
        right: 20rem;
    }
}




/*----- ANIMATIONS KEEMO -----*/
@keyframes keemo_fadeInDown {
    0% {
        visibility: hidden;
        -webkit-transform: translate(-50%, -100%);
        transform: translate(-50%, -100%);
        opacity: 0;
    }

    100% {
        visibility: visible;
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes ciaoBello {
    0% {
        visibility: visible;
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        visibility: hidden;
        -webkit-transform: translate(-50%, -100%);
        transform: translate(-50%, -100%);
        opacity: 0;
    }
}



/*----- CONTACT MODAL -----*/
.contact__modal {
    visibility: hidden;
    display: flex;
    flex-direction: column;
    position: fixed;
    align-items: center;
    justify-content: center;
    top: 0;
    padding: 20rem;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 90%);
    opacity: 0;
    z-index: 1161;
    transition: 800ms;
    overflow-y: auto;
}

.menu_mobile ul a a:hover {
    color: var(--peach-dark);
    transition: 300ms linear;
}

.close_menu {
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    bottom: 20rem;
    z-index: 1999;
    padding: 10px;
    text-align: center;
    color: var(--brown);
    cursor: pointer;
    width: fit-content;
}

.close_menu:hover {
    color: var(--peach-dark);
}

.close_menu svg {
    width: 50rem;
    height: 50rem;
}

.menu__mobile_social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 1200;
    margin-top: 4vh;
    width: 100%;
    bottom: 0;
}

.contact__modal article ul,
.contact__modal article ul a {
    text-align: center;
    color: var(--brown);
    gap: 10px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 900px) {
    .contact__modal.active {
        display: flex;
        visibility: visible;
        position: fixed;
        backdrop-filter: blur(10px);
        opacity: 1;
        transition: opacity 600ms;
    }
}


/*----- CAROUSEL -----*/
section.realisations {
    background: var(--white);
}

section.realisations .carousel {
    position: relative;
    padding: 60rem 20rem 0 20rem;
}

@media (min-width: 1000px) {
    section.realisations .carousel {
        padding: 60rem 0;
    }
}

@media (max-width: 1000px) {
    section.realisations {
        background: var(--white);
    }
}


/*----- OWL CAROUSEL -----*/
.owl-nav {
    position: absolute;
    display: flex;
    left: 50%;
    top: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}

.owl-prev span {
    font-size: 40rem;
}

.owl-next {
    margin-left: auto;
}

.customNavigation {
    display: flex;
    position: absolute;
    width: 100%;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10rem;
}

.customNavigation a {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pink-light);
    border-radius: 50%;
    opacity: 1;
    margin-top: auto;
    margin-bottom: auto;
    box-shadow: 0px 0px 16px 0px rgb(21 78 93 / 50%);
    top: calc(50% - 20px);
    cursor: pointer;
    z-index: 999;
}

.carousel_nextBtn {
    margin-left: auto;
}



/*----- INTRO -----*/
.intro {
    position: relative;
    background-color: var(--cream);
}

section.intro {
    .container {
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 180rem 120rem 210rem 120rem;
    }

    h2 {
        font-family: var(--garamond);
        letter-spacing: -1rem;
        display: flex;
        flex-direction: column;
        font-size: 44rem;
        line-height: 36rem;
        width: 50%;
        color: #736252;
    }

    img {
        display: flex;
        position: absolute;
        align-items: center;
        justify-content: center;
        left: 50%;
        bottom: -140rem;
        transform: translate(-50%, -50%);
        width: 140rem;
        height: 140rem;
        background-color: var(--cream);
        border-radius: 100%;
        border: 2rem solid var(--cream);
    }

    ;
    z-index: 9;
}

.intro p {
    margin-top: 40rem;
    color: #a2886f;
    text-align: center;
}

.h2_02 {
    margin-left: 33.3333%;
}

@media (max-width: 768px) {
    section.intro {
        .container {
            padding: 160rem 20rem 190rem 20rem;
        }

        h2 {
            width: 80%;
        }

        .paragraphe {
            width: 80%;
        }
    }
}

/*--- SECTION PRES__DUO ----*/
section.pres__duo {
    justify-content: flex-start;
    padding: 0;
}

section.pres__duo {
    .container {
        width: 100%;
        display: flex;
        flex-direction: row;
    }

    .texte {
        color: #FFF;
        padding: 160rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        align-items: center;
        font-weight: 300;
        width: 50%;
        z-index: 2;
    }

    .title span {
        display: block;
        font-family: 'Butler';
        font-size: 48rem;
        margin-bottom: 10rem;
    }

    h2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-family: 'Butler';
        font-size: 48rem;
        font-weight: 300;
        line-height: 52rem;
        margin-bottom: 40rem;
    }

    h2::after {
        content: '';
        display: block;
        width: 40rem;
        height: 1px;
        background-color: var(--blue);
        margin-top: 20rem;
    }

    .image {
        width: 50%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #e9e9e9;
    }

    .paragraphe p {
        font-size: 15rem;
        margin-bottom: 20rem;
    }
}

.tp_img02 {
    background-image: url(../images/homepage/maisontropini_02.jpeg);
}

.tp_img03 {
    background-image: url(../images/homepage/MT_degat_des_eaux.jpg);
}

@media (max-width: 768px) {
    section.pres__duo {
        .container {
            flex-direction: column;
        }

        .image {
            order: 1;
            width: 100%;
            height: 500rem;
        }

        .texte {
            order: 2;
            width: 100%;
            padding: 0 20rem 120rem 20rem;
        }

        .title {
            margin-top: 40rem;
            padding: 60rem 0 20rem 0;
            width: 90%;
        }

        .paragraphe {
            width: 90%;
        }
    }
}


/*----- QUOTE -----*/
.quote {
    height: 600rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--blue);
}

.quote p {
    font-size: 40rem;
    line-height: 46rem;
    font-family: 'Butler';
    font-weight: 300;
    text-align: center;
}

.quote .content {
    display: flex;
    flex-direction: column;
    z-index: 2;
    width: 60%;
    text-align: center;
    mix-blend-mode: color-burn;
    color: #382700;
    opacity: 0.8;
}

.quote span {
    text-transform: uppercase;
    font-size: 14rem;
    display: block;
    margin-top: 30rem;
}

.quote_vidbg {
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.quote_vidcontent {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.quote_vidcontent video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.se-icon svg {
    fill: #6e6363;
    width: 20rem;
    margin-bottom: 20rem;
}

@media (max-width: 768px) {
    .quote {
        height: 560rem;
    }

    .quote .content {
        width: 70%;
    }

    .quote p {
        font-size: 36rem;
        line-height: 40rem;
    }
}

/*----- REALISATIONS -----*/
.realisations {
    display: flex;
    flex-direction: column;
}

section.realisations {
    h2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-family: 'Butler';
        font-size: 44rem;
        font-weight: 300;
        line-height: 52rem;
        background-color: var(--white);
        color: var(--brown-dark);
        width: 80%;
        margin: 0 auto;
        padding: 80rem 10rem 20rem 10rem;
        margin-top: -40rem;
        z-index: 99;
    }

    h2::after {
        content: '';
        display: block;
        width: 40rem;
        height: 1px;
        background-color: var(--brown-dark);
        margin-top: 20rem;
    }
}

/*----- PARTENAIRES -----*/
section.partenaire {
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: var(--pink-light);
        padding: 180rem 20rem 180rem 20rem;
        width: 100%;
    }

    span {
        display: block;
        color: var(--brown-dark);
        margin-top: 44rem;
        border: 1px solid var(--brown-dark);
        padding: 24rem;
        font-size: 16rem;
        text-decoration: none;
    }

    span {
        display: block;
        color: var(--brown-dark);
        margin-top: 44rem;
        border: 1px solid var(--brown-dark);
        padding: 24rem;
        font-size: 16rem;
        text-decoration: none;
    }

    img {
        width: 260rem;
    }
}

.logo_doctolib {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20rem 0;
    text-decoration: none;
}

.logo_doctolib svg {
    width: 100%;
}

/*----- INSTAGRAM -----*/
.instagram {
    display: flex;
    flex-direction: row;
    height: 770rem;
    position: relative;
    z-index: 2;
}

section.instagram {
    .container {
        display: flex;
        flex-direction: column;
        position: absolute;
        padding: 60rem 20rem;
        left: 50%;
        align-items: center;
        width: 60%;
        bottom: 50%;
        transform: translate(-50%, 50%);
        z-index: 1200;
    }

    h2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-family: 'Butler';
        font-size: 44rem;
        font-weight: 300;
        line-height: 52rem;
        color: var(--blue);
        background: var(--pink-light);
        width: 80%;
        padding: 4vh 0 1vh 0;
        z-index: 99;
    }

    h2::after {
        content: '';
        display: block;
        width: 40rem;
        height: 1px;
        background-color: var(--blue);
        margin-top: 20rem;
    }

    p {
        display: block;
        font-size: 18rem;
        margin: 60rem 0;
        color: var(--blue);
        width: 60%;
        text-align: center;
        font-weight: 400;
    }

    a {
        display: block;
        padding: 20rem;
        font-size: 16rem;
        border: 1px solid var(--blue);
        color: var(--blue);
        text-decoration: none;
        text-transform: uppercase;
        transition: all 600ms ease;
    }

    a:hover {
        background-color: var(--blue);
        color: var(--pink-light);
    }
}

.insta__grid {
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    overflow: hidden;
    margin-top: -2vh;
}

.insta__grid>img {
    width: 300rem;
    height: 300rem;
}

@media (max-width: 768px) {
    section.instagram {
        .container {
            padding: 40rem 20rem;
            width: 80%;
        }
    }

    .insta__grid {
        flex-direction: row;
    }

    .insta__grid>img {
        width: 160rem;
        height: 160rem;
    }
}


/*----- CONTACT -----*/
section.contact {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0rem 0 8vh 0;
    background: var(--cream);
}

section.contact {
    h2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-family: 'Butler';
        font-size: 44rem;
        font-weight: 300;
        line-height: 52rem;
        background-color: var(--cream);
        color: var(--brown-dark);
        width: 80%;
        margin: 0 auto;
        padding: 60rem 10rem 0rem 10rem;
        margin-top: -40rem;
        z-index: 99;
    }

    h2::after {
        content: '';
        display: block;
        width: 40rem;
        height: 1px;
        background-color: var(--brown);
        margin-top: 20rem;
    }

    ul {
        text-align: center;
        color: var(--blue);
        margin: 80rem 0;
    }

    ul li a {
        color: var(--blue);
    }

    .map {
        display: block;
        width: 100%;
        height: 500rem;
        background-image: url(../images/contact/map.jpg);
        background-position: center center;
        background-size: cover;
    }

    img {
        display: flex;
        position: absolute;
        align-items: center;
        justify-content: center;
        left: 50%;
        bottom: -140rem;
        transform: translate(-50%, -50%);
        width: 140rem;
        height: 140rem;
        background-color: var(--brown);
        border-radius: 100%;
        border: var(--brown);
    }
}


/*----- COPYRIGHT ------*/
.copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 240rem;
    padding-top: 90rem;
    background-color: var(--brown);
}

.copyright {
    ul {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
        color: #f4eee8;
        font-size: 12rem;
    }

    li {
        margin: 6rem 0;
    }

    a {
        color: #f4eee8;
        text-decoration: none;
    }
}

@media (max-width: 768px) {
    .copyright {
        padding-top: 0rem;
    }
}





/*----- VIDEO IOS HACK ------*/
video::-webkit-media-controls-start-playback-button {
    display: none;
}

.video-js.vjs-controls-enabled .vjs-big-play-button {
    display: none;
}

.video-js.vjs-controls-enabled.vjs-paused .vjs-big-play-button {
    display: block;
}


/*----- Realisations 2 -----*/
.realisations_bis {
    display: flex;
    align-items: center;
    justify-content: center;
}

.album_grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 110rem 0 170rem 0;
}

.ag_item {
    height: 300rem;
}

.ag_item img {
    height: 300rem;
}

html.glightbox-open {
    overflow: initial;
}


/*----- SquareGrid -----*/
.SquareGrid {
    --content-width: 70vw;
    --gutter: 10rem;
    --columns: 1;
    --row-size: calc((var(--content-width) - (var(--gutter) * (var(--columns) - 1))) / var(--columns));

    display: grid;
    width: 100%;
    max-width: var(--content-width);

    grid-template-columns: repeat(var(--columns), 1fr);
    grid-auto-rows: var(--row-size);

    grid-column-gap: var(--gutter);
    grid-row-gap: var(--gutter);
}

@media (max-width: 450px) {
    .SquareGrid {
        --columns: 1;
        --content-width: 74vw;
        --gutter: 16rem;
    }
}

@media (min-width: 750px) {
    .SquareGrid {
        --columns: 3;
        --content-width: 70vw;
        --gutter: 10rem;
    }
}

.SquareGrid .item {
    display: flex;
    align-items: center;
    position: relative;
    background-size: 100%;
    background-position: center center;
    background-color: whitesmoke;
    overflow: hidden;
    transition: background-size 1s ease;
    filter: hue-rotate(20%)
}

.SquareGrid .item::after {
    display: block;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgb(0, 0, 0);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
    height: 100%;
    width: 100%;
    z-index: 1;
}

.SquareGrid .item .title {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 20rem;
    left: 20rem;
    color: var(--white);
    z-index: 2;

    span {
        display: block;
        margin-bottom: 2rem;
        font-size: 12rem;
        font-weight: 300;
        text-transform: uppercase;
        letter-spacing: 2rem;
    }

    span:hover {
        background-color: var(--blue);
        color: var(--pink-light);
    }

    h3 {
        font-size: 24rem;
        font-weight: 400;
        font-family: 'Butler';
    }
}


.SquareGrid .coverGallery {
    transition: all 1s ease;
}

.SquareGrid a:hover>.coverGallery {
    transform: scale(1.2);
}


.owl-dots {
    display: none;
}

/*----- SPÃ‰CIALITÃ‰S -----*/
.specialites {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
}

.specialites h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Butler';
    font-size: 44rem;
    font-weight: 300;
    line-height: 52rem;
    color: var(--brown-dark);
    width: 80%;
    margin: 0 auto;
    padding: 80rem 10rem 20rem 10rem;
    z-index: 99;
}

.specialites .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 70rem 0 130rem 0;
}

.specialites ul {
    display: flex;
    flex-direction: column;
    gap: 1.6vh;
}

.specialites li {
    text-align: center;
    padding: 2vh 5vh;
    border: 1px solid #e4e1dd;
    border-radius: 50px;
    color: var(--brown-dark);
}

/* =================================
           STYLES DU LOADER
           ================================= */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #FCF5F0;
    display: flex;
    flex-direction: column;
    /* Pour empiler le logo et le texte */
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 1500ms ease-out, visibility 0s linear 1500ms;
}

/* NOUVEAU : Conteneur principal pour les deux logos superposÃ©s */
#logo-container {
    position: relative;
    max-width: 16vh;
    width: 16vh;
}

/* NOUVEAU : SVG de fond (gris) */
#logo-container .logo-background {
    display: block;
}

/* MODIFIÃ‰ : Ce conteneur ne sert plus qu'Ã  masquer le logo de premier plan */
#logo-fill-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 400ms linear;
}

/* NOUVEAU : SVG de premier plan (colorÃ©) */
#logo-fill-container .logo-foreground {
    display: block;
    width: 100%;
    height: auto;
}

#loader-text {
    margin-top: 4vh;
    color: #c4a88d;
    font-size: 1.4vh;
}

#loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}