h1, h2 {
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
}

main .adresse .content-text p,
main .architecture .content-text p,
main .baie .content-text p,
main .prestations .content-text p,
main .formulaire #contentform #headerform p {
    font-family: "poppins", sans-serif;
}

main .header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main .header .video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

main .header nav {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding: 1vw 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    z-index: 2;
    box-shadow: none;
}
.logo_prog {
    margin-left: 300px; /* ajuste la valeur */
}
main .header .content {
    position: relative;
    z-index: 1;
    padding: 4vw 2vw;
    text-align: center;
}

main .header nav .bloc-cta {
    display: flex;
    align-items: center;
    gap: 2vw;
    justify-content: space-between;
}

main .header nav .bloc-cta div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5vw;
}

main .header nav .bloc-cta .lang {
    font-size: 0.9vw;
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    transition: font-weight 0.15s;
}

main .header nav .bloc-cta .lang:hover {
    font-weight: 700;
}

main .header nav .bloc-cta .lang.active {
    text-decoration: underline;
    text-underline-offset: 3px;
}

main .header nav.is-sticky .bloc-cta .lang {
    color: #000;
}

main .header nav .bloc-cta .cta_contact {
    font-size: 0.9vw;
    color: #fff;
    text-decoration: none;
    background-color: #ACA08D;
    padding: 0.5vw 2vw;
}

main .header nav .bloc-cta .cta_tel {
    font-size: 0.9vw;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.30);
    padding: 0.5vw 1vw;
}
/* Image mobile cachée par défaut (desktop) */
main .header nav .cta_contact .cta-mob-img,
main .header nav .cta_tel .cta-mob-img {
    display: none;
}

@media (max-width: 768px) {
    
}
main .header .content h1 {
    font-size: 1.8vw;
    color: #fff;
}

main .header .content hr {
    width: 10vw;
    border: 1px solid #fff;
    margin: 2vw auto;
}

main .header .content h3 {
    font-size: 1.3vw;
    color: #fff;
    font-weight: bold;
}

main .adresse {
    padding: 3vw;
}

main .adresse .content-text {
    width: 65vw;
    text-align: center;
    margin: 0 auto;
    background-color: #fff;
    padding: 2vw 8vw;
    position: relative;
    margin-bottom: -7.5vw;
}

main .adresse .content-text h2 {
    font-size: 1.5vw;
    color: #ACA08D;
    margin-bottom: 1vw;
    line-height: 2vw;
    font-weight: 300;
}

main .adresse .content-text p {
    font-size: 1vw;
    color: #000;
    line-height: 1.5vw;
    margin: 0.5vw 0;
}

main .adresse .content-text .cta_adresse {
    padding: 0.5vw 2vw;
    background-color: #ACA08D;
    color: #fff;
    text-decoration: none;
    font-size: 0.9vw;
    width: fit-content;
    margin: 1vw auto;
}

main .adresse .content-background {
    width: 100%;
    height: auto;
}

main .adresse .content-background img {
    width: 100%;
    height: auto;
}

main .architecture {
    padding: 5vw 3vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F8F0E5;
    gap: 5vw;
}

main .architecture .carousel {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
}

.splide__slide img {
    vertical-align: bottom;
    object-fit: cover;
    width: 100%;
}



main .architecture .content-text h2 {
    font-size: 1.5vw;
    color: #ACA08D;
    margin-bottom: 1vw;
    line-height: 2vw;
    font-weight: 300;
}

main .architecture .content-text p {
    font-size: 1vw;
    color: #000;
    line-height: 1.5vw;
    margin: 0.5vw 0;
}

main .architecture .content-text .cta_architecture {
    padding: 0.5vw 2vw;
    background-color: #ACA08D;
    color: #fff;
    text-decoration: none;
    font-size: 0.9vw;
    width: fit-content;
    margin: 1vw 0;
}

main .baie {
    padding: 5vw 3vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 5vw;
}

main .baie .content-text {
    width: 40vw;
    padding: 0 5vw 3vw 0;
    margin-bottom: -15vw;
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
    gap: 0vw;
}

main .baie .content-text h2 {
    font-size: 1.5vw;
    color: #ACA08D;
    margin-bottom: 1vw;
    line-height: 2vw;
    font-weight: 300;
}

main .baie .content-text p {
    font-size: 1vw;
    color: #000;
    line-height: 1.5vw;
    margin: 0.5vw 0;
}

main .baie .content-text .cta_baie {
    padding: 0.5vw 2vw;
    background-color: #ACA08D;
    color: #fff;
    text-decoration: none;
    font-size: 0.9vw;
    width: fit-content;
    margin: 1vw 0;
}

main .baie .content-background {
    width: 100%;
    height: auto;
}

main .baie .content-background video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

main .prestations {
    padding: 5vw 2vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5vw;
}

main .prestations .carousel {
    width: 70vw;
}

main .prestations .content-text {
    width: 40vw;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
    gap: 0vw;
}

main .prestations .content-text h2 {
    font-size: 1.5vw;
    color: #ACA08D;
    margin-bottom: 1vw;
    line-height: 2vw;
    font-weight: 300;
}

main .prestations .content-text p {
    font-size: 1vw;
    color: #000;
    line-height: 1.5vw;
    margin: 0.5vw 0;
    margin-bottom: 1vw;
}

main .prestations .content-text .cta_prestations {
    padding: 0.5vw 2vw;
    background-color: #ACA08D;
    color: #fff;
    text-decoration: none;
    font-size: 0.9vw;
    width: fit-content;
    margin: 1vw 0;
}

main .prestations .carousel .splide-architecture .splide__slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#formulaire {
    /* background-color: #F8F0E5; */
    height: auto;
}

main .formulaire #contentform {
    background-color: #F8F0E5;
}

main .formulaire #contentform #headerform {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1vw;
}

main .formulaire #contentform #headerform h2 {
    font-size: 1.5vw;
    color: #ACA08D;
    line-height: 2vw;
    font-weight: 300;
    margin-bottom: 0;
    text-align: center;
}

main .formulaire #contentform #headerform p {
    font-size: 1vw;
    color: #000;
    line-height: 1.5vw;
    margin: 0;
    margin-bottom: 1vw;
}

#formulaire p.intro {
    font-family: "MuseoSans-500";
    text-align: center;
    margin-bottom: 20px;
    color: #847359;
}

#civilite .toggle-switch input:not(:checked)~input:not(:checked)~.switch-state:after {
    background: #ACA08D;
    left: 50%;
    transform: translateX(-50%);
}

#civilite .toggle-switch .switch-state:after {
    background: #6d604c;
    left: 0;
    transform: translateX(0);
}

#nomprenom {
    display: flex;
    gap: 1.5%;
    padding: 0 10vw;
}

#formulaire .groupement-input {
    display: flex;
    justify-content: space-between;
    gap: 1vw;
    padding: 0 20vw;
}

#nomprenom .form-group {
    flex: 1;
    min-width: 0;
}

#confirmation {
    color: #ACA08D;
}

@media (max-width: 768px) {
    #nomprenom {
        flex-direction: column;
        gap: 0;
        align-items: baseline;
    }

    #nomprenom .form-group {
        width: 100%;
        margin: 10px 0;
    }
}

.form-control {
    border-radius: 0;
    margin-bottom: 0 !important;
    font-weight: normal;
    font-family: 'MuseoSans-Medium';
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    padding: 0 8px;
    border-bottom: 2px solid #847359;
    background-color: #F8F0E5;
}

#formLead .privacy {
    font-size: 0.7vw;
    color: #000;
    margin-top: 10px;
    text-align: center;
    width: 50%;
    margin: 0.5vw auto;
    font-weight: 300;
}

#formLead .privacy:last-of-type {
    color: #000;
    width: 70%;
}

#formLead .privacy a {
    color: #000;
    text-decoration: underline;

}

#contact-step .toggle-switch input:not(:checked)~input:not(:checked)~.switch-state:after {
    background: #ACA08D;
}

#contact-step .toggle-switch .switch-state:after {
    background: #6d604c;
}

.btn-documentation {
    font-family: 'Poppins';
    font-weight: 300;
    width: 30%;
    border-radius: 0;
    background: #847359 !important;
    padding: 0 4vw;
    height: 3vw;
    line-height: 3vw;
    letter-spacing: 0.2vw;
}

footer {
    width: 100%;
    margin-top: 0;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5vw 10vw 5vw 10vw;
}

footer .footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
}

footer .footer-info > a {
    color: #ACA08D;
    text-decoration: none;
    border: 1px solid #ACA08D;
    background-color: #fff;
    padding: 0.5vw 2vw;
    font-size: 0.9vw;
    width: fit-content;
}

footer .footer-info div a {
    color: #000;
    text-decoration: none;
    font-size: 0.6vw;
    font-weight: 300;
}

footer .footer-logo-prog {
    height: 5vw;
    width: auto;
}

footer .footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1vw;
}

footer .footer-logo p {
    font-size: 0.9vw;
    color: #000;
}

footer .footer-logo img {
    height: 2vw;
    width: auto;
}

/* ---- Sticky nav (apparaît après le scroll du header) ---- */

/* Logo par défaut : emerige blanc visible, sticky caché */
main .header nav .logo_emerige_sticky {
    display: none;
}

/* logo couleur programme caché par défaut, visible uniquement en nav sticky mobile */
main .header nav .logo_prog_clr {
    display: none;
}

main .header nav.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.75vw 4vw;
    background-color: #fff;
    /* backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.30); */
    animation: navSlideDown 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Swap logos quand sticky */
main .header nav.is-sticky .logo_emerige {
    display: none;
}

main .header nav.is-sticky .logo_emerige_sticky {
    display: block;
    height: 2vw;
    width: auto;
}

main .header nav.is-sticky .logo_prog {
    height: 2vw;
    width: auto;
}

/* FR / EN en noir quand sticky — géré dans .lang ci-dessus */

/* Desktop sticky : cta_tel avec bordure taupe */
@media (min-width: 769px) {
    main .header nav.is-sticky div .cta_tel {
        background-color: #fff;
        color: #ACA08D;
        border: 1px solid #ACA08D;
    }
}

/* ---- Flèches carousels ---- */
.carousel-arrows {
    display: flex;
    gap: 1vw;
    margin-top: 1.5vw;
    cursor: pointer;
}

.carousel-arrows--end {
    justify-content: flex-end;
}

.carousel-arrows--start {
    justify-content: flex-start;
}

.carousel-arrows span {
    cursor: pointer;
    user-select: none;
    border: 1px solid #ACA08D;
    padding: 0.5vw 0.75vw;
}

.carousel-arrows img {
    width: 0.5vw;
    height: auto;
}

.carousel-arrows .arrow-prev {
    transform: rotate(180deg);
}

.modal-content:not(#formModal .modal-content) {
    padding: 4vw;
    /* border-radius: 1vw; */
}

.modal-title {
    color: #ACA08D !important;
}

.modal-body h4 {
    font-size: 18px;
    color: #ACA08D;
    margin-bottom: 15px;
}

.modal-header .close {
    background-color: #EBEBEB;
    border-radius: 50%;
    width: 3vw;
    height: 3vw;
    color: #ACA08D;
}

@media(max-width: 768px) {

    main .header nav {
        padding: 5vw 4vw;
    }

    main .header nav.is-sticky {
        position: fixed;
        padding: 3vw 4vw;
        background-color: #fff;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    /* Logo couleur (grimaud_clr) : caché par défaut, visible uniquement en sticky mobile */
    main .header nav .logo_prog_clr {
        display: none !important;
    }

    /* Afficher logo couleur à gauche sur mobile sticky */
    main .header nav.is-sticky .logo_prog_clr {
        display: block !important;
        height: 7vw;
        width: auto;
        order: -1;
        flex-shrink: 0;
    }

    /* Masquer le logo blanc du programme sur mobile sticky */
    main .header nav.is-sticky .logo_prog {
        display: none !important;
    }

    /* Masquer les autres logos Emerige sur mobile sticky */
    main .header nav.is-sticky .logo_emerige,
    main .header nav.is-sticky .logo_emerige_sticky {
        display: none !important;
    }

    /* bloc-cta à droite via space-between */
    main .header nav.is-sticky .bloc-cta {
        margin-left: 0;
        width: auto;
    }

    /* FR/EN en noir */
    main .header nav.is-sticky .bloc-cta .lang {
        color: #000;
        font-size: 5vw;
    }

    /* CTA tel sur mobile sticky : fond ACA08D */
    main .header nav.is-sticky .bloc-cta .cta_tel {
        background-color: #fff;
        border: 1px solid #ACA08D;
        color: #ACA08D;
        padding: 0;
    }

    /* main .header nav.is-sticky .bloc-cta .cta_tel .cta-mob-img {
        filter: brightness(0) saturate(100%) invert(67%) sepia(13%) saturate(400%) hue-rotate(10deg) brightness(94%) contrast(87%);
    } */
    
    /* Version normale */
        main .header nav .cta_tel .cta-mob-img {
            content: url('../img/grimaud/cta-tel-mob.svg');
        }

        /* Version sticky */
        main .header nav.is-sticky .cta_tel .cta-mob-img {
            content: url('../img/grimaud/cta-tel-mob-sticky.svg');
            filter: none;
        }

    .cta_contact .cta-mob-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        }
    main .header nav .bloc-cta {
        width: 100%;
    }

    main .header nav .bloc-cta div {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2vw;
    }

    main .header nav .bloc-cta .lang {
        font-size: 5vw;
    }

    main .header nav .bloc-cta .cta_deco {
        font-size: 6vw;
        color: #fff;
    }

    main .header nav.is-sticky .bloc-cta .cta_deco {
        color: #000;
    }

    main .header nav .cta_contact .cta-label,
    main .header nav .cta_tel .cta-label {
        display: none;
    }

    main .header nav .cta_contact .cta-mob-img,
    main .header nav .cta_tel .cta-mob-img {
        display: block;
        height: 8vw;
        width: auto;
    }

    main .header nav .cta_contact,
    main .header nav .cta_tel {
        display: flex !important;
        align-items: center;
        background: none;
        padding: 2.5vw 3vw !important;
        border: none;
    }
    main .header nav:not(.is-sticky) .cta_tel {
            background: rgba(0, 0, 0, 0.3) !important;
        }
    main .header .content h1 {
        font-size: 7.5vw;
        color: #fff;
    }

    main .header .content hr {
        width: 50vw;
    }

    main .header .content h3 {
        font-size: 4.5vw;
    }

    main .adresse .content-text {
        margin-bottom: 0;
        width: 100%;
        padding: 5vw 0;
    }

    main .adresse .content-text h2 {
        font-size: 5.5vw;
        color: #ACA08D;
        margin-bottom: 5vw;
        line-height: 6vw;
        font-weight: 300;
        padding: 0 10vw;
    }

    main .adresse .content-text p {
        font-size: 3.5vw;
        color: #000;
        line-height: 4vw;
        margin: 4vw 0;
    }

    main .architecture {
        flex-direction: column-reverse;
    }

    main .architecture .content-text h2 {
        font-size: 5.5vw;
        line-height: 6vw;
        text-align: center;
        margin-bottom: 5vw;

    }

    main .architecture .content-text {
        text-align: center;
    }

    main .architecture .content-text p {
        font-size: 3.5vw;
        color: #000;
        line-height: 4vw;
        margin: 3.5vw 0;
    }

    main .architecture .carousel {
        padding: 0 5vw;
    }

    .splide__slide img {
        height: stretch;
    }

    .carousel-arrows span {
        border: 1px solid #ACA08D;
        padding: 1.5vw 4.05vw;
    }

    .carousel-arrows img {
        width: 2vw;
        height: auto;
    }

    main .baie {
        flex-direction: column-reverse;
    }

    main .baie .content-text {
        width: 80%;
        padding: 5vw 0;
        margin: 0 auto;
        margin-top: -15vw;
        position: relative;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: left;
        align-items: flex-start;
        gap: 0vw;
        text-align: center;
    }

    main .baie .content-text h2 {
        font-size: 5.5vw;
        color: #ACA08D;
        margin-bottom: 1vw;
        line-height: 6vw;
        font-weight: 300;
    }

    main .baie .content-text p {
        font-size: 3.5vw;
        color: #000;
        line-height: 4vw;
        margin: 2.5vw 0;
    }

    main .prestations {
        flex-direction: column-reverse;
    }

    main .prestations .content-text h2 {
        font-size: 5.5vw;
        color: #ACA08D;
        margin-bottom: 1vw;
        line-height: 6vw;
        font-weight: 300;
        width: 100%;
    }

    main .prestations .content-text {
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: left;
        align-items: flex-start;
        gap: 0vw;
        text-align: center;
    }

    main .prestations .carousel {
        width: 100%;
    }

    main .prestations {
        padding: 5vw;
    }

    main .prestations .content-text p {
        font-size: 3.5vw;
        line-height: 4vw;
        margin: 3.5vw 0;
        margin-bottom: 5vw;
    }

    main .formulaire #contentform #headerform h2 {
        font-size: 5.5vw;
        line-height: 6vw;
        font-weight: 300;
        margin-bottom: 0;
    }

    main .formulaire #contentform #headerform p {
        font-size: 4vw;
        color: #000;
        line-height: 4.5vw;
        margin: 0;
        margin-bottom: 1vw;
    }

    main .formulaire #contentform #headerform h2 {
        font-size: 5.5vw;
        color: #ACA08D;
        line-height: 6vw;
        font-weight: 300;
        margin-bottom: 0;
    }

    main .formulaire #contentform #headerform p {
        font-size: 4vw;
        color: #000;
        line-height: 4.5vw;
        margin: 5vw 0;
    }

    #formLead .privacy {
        font-size: 2.5vw;
        color: #000;
        margin-top: 10px;
        text-align: center;
        width: 90%;
        margin: 2.5vw auto;
        font-weight: 300;
    }

    .btn-documentation {
        font-family: 'Poppins';
        font-weight: 300;
        width: 75%;
        border-radius: 0;
        background: #847359 !important;
        padding: 0 4vw;
        height: 13vw;
        line-height: 3vw;
        letter-spacing: 0.2vw;
    }

    #formulaire .groupement-input {
        display: flex;
        justify-content: space-between;
        gap: 1vw;
        padding: 0 10vw;
    }

    #formLead .privacy:last-of-type {
        color: #000;
        width: 75%;
        text-align: justify;
    }

    footer {
        width: 100%;
        margin-top: 0;
        background-color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10.5vw 10vw 25vw 10vw;
        flex-direction: column;
        gap: 10vw;
    }

    footer .footer-info      { order: 1; }
    footer .footer-logo      { order: 2; }
    footer .footer-logo-prog { order: 3; }
    footer .mobile           { order: 4; }

    footer .footer-info > a {
        color: #ACA08D;
        text-decoration: none;
        border: 1px solid #ACA08D;
        background-color: #fff;
        padding: 1.5vw 5vw;
        font-size: 4.5vw;
        width: fit-content;
    }

    footer .footer-logo {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1vw;
    }

    footer .footer-logo-prog {
        height: 20vw;
        width: auto;
    }

    footer .footer-logo img {
        height: 15vw;
        width: auto;
    }

    footer .footer-logo p {
        font-size: 3.6vw;
        color: #000;
        margin-bottom: 2vw;
    }

    footer .mention-mob {
        display: flex !important;
        flex-direction: column;
        gap: 1vw;
        text-align: center;
        font-size: 3vw;
    }
     .carousel-arrows.carousel-arrows--end {
        display: none;
    }
    .carousel-arrows.carousel-arrows--start {
        display: none;
    }
    .cta {
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: #847359;
        color: #fff;
        font-family: "Poppins";
        padding-bottom: env(safe-area-inset-bottom, 0px);
        border-top: 2px solid rgba(255, 255, 255, 0.5) !important;
        bottom: 1px !important;
        outline: 5px solid rgb(255, 255, 255) !important;
    }
    
    main .header nav .bloc-cta {
        gap: 4vw;
    }

    .mention-mob a {
        color: #000;
        font-weight: 300;
        font-family: 'ITC-Avant-Garde-Gothic-Pro';
    }
    
    
}