:root {
    --lp46-navy: #00152D;
    --lp46-gold: #C7AD68;
    --lp46-gold-dark: #C4AE75;
    --lp46-olive: #7C6E49;
    --lp46-light: #373737;
    --lp46-muted: #4E5F77;
    --lp46-btn-text: #2D3A49;
    --lp46-muted-light: #DADADA;
    --lp46-white: #ffffff;
    --lp46-transition-fast: 0.3s;
    --font-raleway: "Raleway", sans-serif;
    --font-josefin-sans: "Josefin Sans", sans-serif;
    --font-marcellus: "Marcellus", serif;
    --font-vanitas-stencil: "Vanitas Stencil", serif;
}

@font-face {
    font-family: "Vanitas Stencil";
    src: url("../fonts/VanitasStencil-Bold.woff2") format("woff2"),
         url("../fonts/VanitasStencil-Bold.woff") format("woff"),
         url("../fonts/VanitasStencil-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
  scroll-padding-top: 70px;
  scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

a {
    color: var(--lp46-gold);

    &:hover {
        color: var(--lp46-gold-dark);
    }
}

.raleway-400,
.raleway-600,
.raleway-700 {
    font-family: var(--font-raleway);
    font-optical-sizing: auto;
    font-style: normal;
}

.raleway-400 {
    font-weight: 400;
}

.raleway-600 {
    font-weight: 600;
}

.raleway-700 {
    font-weight: 700;
}

.josefin-sans-700 {
    font-family: var(--font-josefin-sans);
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.marcellus-400 {
    font-family: var(--font-marcellus);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.vanitas-stencil-700 {
    font-family: var(--font-vanitas-stencil);
    font-weight: 700;
    font-style: normal;
}

body {
    color: #000000;
    background: var(--lp46-white);
}

ul li::marker,
ol li::marker {
    color: var(--lp46-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Custom container */
.container {
    --bs-gutter-x: 40px;
}

@media (min-width: 1240px) {
    .container {
        max-width: 1240px;
    }
}

.sec-space {
    padding: 55px 0;
}

@media (min-width: 768px) {
    .sec-space {
        padding: 80px 0;
    }
}

@media (max-width: 767.97px) {
    .sec-space + .sec-space {
        padding-top: 0;
    }
}

.sec-space-60 {
    padding: 30px 0;
}

@media (min-width: 768px) {
    .sec-space-60 {
        padding: 60px 0;
    }
}

.sec-space-120 {
    padding: 80px 0;
}

@media (min-width: 768px) {
    .sec-space-120 {
        padding: 120px 0;
    }
}

.sec-decor {
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(-55%);
}

.wrap-cta {
    margin-top: 55px;
}

@media (min-width: 768px) {
    .wrap-cta {
        margin-top: 80px;
    }
}

.lp46-btn {
    padding: 16px 24px;
    line-height: 18px;
    letter-spacing: 0.15px;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    color: var(--lp46-btn-text);
    transition-duration: var(--lp46-transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lp46-btn-gold {
    background-color: var(--lp46-gold);

    &:hover {
        background-color: var(--lp46-olive);
        color: var(--lp46-white);
    }
}

.lp46-btn-download {
    background-color: var(--lp46-muted);
    color: var(--lp46-white);

    &:hover {
        background-color: var(--lp46-olive);
        color: var(--lp46-white);
    }
}

.lp46-sec-ttl {
    font-size: 28px;
    line-height: 1.2em;
    font-weight: 600;
    color: var(--lp46-navy);
}

@media (min-width: 768px) {
    .lp46-sec-ttl {
        font-size: 34px;
    }
}

.lp46-sec-sttl {
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    color: var(--lp46-navy);
}

@media (min-width: 768px) {
    .lp46-sec-sttl {
        font-size: 36px;
    }
}

.lp46-editor {
    font-size: 14px;
    line-height: 22px;
    color: var(--lp46-light);
}

/* lp46-top-nav */
.lp46-top-nav {
    gap: 24px;

    a {
        text-decoration: none;
        color: var(--lp46-white);
        position: relative;
        transition-duration: var(--lp46-transition-fast);

        &::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 100%;
            height: 1px;
            background-color: transparent;
            transition-duration: var(--lp46-transition-fast);
        }

        &:hover {
            &::after {
                background-color: var(--lp46-gold);
            }
        }
    }
}

.bg-white .lp46-top-nav a {
    color: var(--lp46-light);
}

.bg-white .border-bottom {
    border-bottom-color: var(--lp46-navy);
}

.navbar-brand .logo {
    height: 60px;
}


@media (max-width: 1199.97px) {
    .lp46-main-menu {
        position: fixed;
        top: 75px;
        right: 0;
        width: 100%;
        padding: 20px 0 0;
        transform: translateX(100%);
        visibility: hidden;
        transition-duration: var(--lp46-transition-fast);

        &.is-active {
            transform: translateX(0);
            visibility: visible;
        }
    }

    .bg-white .lp46-main-menu {
        background-color: var(--lp46-white);
        border-top: 1px solid var(--lp46-navy);
    }

    .lp46-main-menu .nav {
        flex-direction: column;
        gap: 16px;
    }

    .lp46-main-menu .nav a {
        display: block;
        padding: 8px 20px;
        border-bottom: 1px solid var(--lp46-muted-light);
    }
}

@media (max-width: 768px) {
    .navbar-brand .logo {
        height: 50px;
    }

    .lp46-main-menu {
        top: 65px;
    }
}


/* Top contact */
.lp46-top-contact {
    gap: 16px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border-left: 1px solid var(--lp46-white);
    padding: 0 20px;
    transition-duration: var(--lp46-transition-fast);
}

@media (min-width: 1200px) {
    .lp46-top-contact {
        padding: 0 52px;
    }
}

.bg-white .lp46-top-contact {
    border-left-color: var(--lp46-navy);
}

.lp46-btn-contact {
    font-size: 16px;
    line-height: 22px;
    color: var(--lp46-white);
    transition-duration: var(--lp46-transition-fast);
}

.bg-white .lp46-btn-contact {
    color: var(--lp46-light);
}

.lp46-btn-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: none;
    background: transparent;

    span {
        height: 2px;
        width: 30px;
        border-radius: 4px;
        background-color: var(--lp46-white);
        transition-duration: var(--lp46-transition-fast);
    }
}

.bg-white .lp46-btn-menu span {
    background-color: var(--lp46-light);
}

.lp46-btn-menu.is-active {
    span {
        &:nth-child(1) {
            transform: rotate(45deg) translateY(11px);
        }

        &:nth-child(2) {
            transform: rotate(-45deg) translateY(-11px);
        }
    }
}

/* Hero slider */
.lp46-hero {
    position: relative;
}

.slider-frame {
    width: 100vw;
    height: 100vh;
    position: relative;

    > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .slider-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.25);
        z-index: 0;
    }

    .slider-content {
        position: relative;
        z-index: 1;
        color: var(--lp46-white);
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding-bottom: 120px;
        font-family: var(--font-raleway);
        font-weight: 600;

        > * {
            margin: 0;
        }

        a {
            color: inherit;
            text-decoration: none;
            font-weight: 700;
            font-size: 16px;
            line-height: 18px;
        }

        p {
            font-size: 14px;
            line-height: 20px;
        }

        h4 {
            font-size: 32px;
            line-height: 30px;
            text-transform: uppercase;
            font-weight: 700;
            margin-top: 8px;
        }
    }
}

@media (min-width: 768px) {
    .slider-frame .slider-content {
        padding-bottom: 80px;
        gap: 16px;

        a {
            line-height: 22px;
        }

        p {
            font-size: 18px;
            line-height: 24px;
        }

        h4 {
            font-size: 58px;
            line-height: 52px;
            margin-top: 16px;
        }
    }
}

.lp46-slider-nav {
    position: absolute;
    right: 0;
    bottom: 0;
}

.offer-text {
    font-size: 24px;
    line-height: 33px;
    color: var(--lp46-white);
    text-transform: uppercase;
}

@media (max-width: 767.97px) {
    .offer-text {
        position: absolute;
        left: 20px;
        top: 130px;
        text-shadow: 0px 2px 7px #00000080;
        font-size: 20px;
        line-height: 26px;
    }
}

.lp46-slider-nav-inner {
    background-color: var(--lp46-white);
    padding: 13px 20px;
    gap: 14px;
}

@media (min-width: 768px) {
    .lp46-slider-nav-inner {
        padding: 13px 52px 13px 27px;
    }
}

.lp46-slider-pagination {
    gap: 14px;
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
    color: var(--lp46-navy);

    button {
        border: none;
        background: transparent;
        width: 26px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.lp46-slider-dot {
    font-size: 0;
    margin: 0;
    padding: 0;
    gap: 14px;

    li {
        width: 10px;
        height: 10px;
        flex-shrink: 0;
        border-radius: 50%;
        background-color: var(--lp46-muted-light);
        cursor: pointer;

        &.is-active {
            background-color: var(--lp46-navy);
        }
    }
}

/* Lot */
#lot {
    padding-bottom: 350px;
}

.lp46-dark {
    background: var(--lp46-navy);
    color: var(--lp46-white);
}

.lp46-lots { 
    position: relative;
    row-gap: 48px;
    z-index: 0;
}

.lp46-lots-decor {
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    transform: translate(-70%, -35%);
}

.lp46-lot {
    .lot-ttl {
        font-weight: 700;
        font-size: 32px;
        line-height: 40px;
    }

    .lot-info {
        display: flex;
        align-items: center;
        gap: 8px;

        span:empty {
            width: 16px;
            height: 2px;
            background-color: var(--lp46-gold-dark);
        }
    }

    .lot-des {
        font-size: 14px;
        line-height: 22px;
    }

    .lot-actions {
        display: flex;
        gap: 16px;
        align-items: center;

        a {
            padding-top: 17px;
            padding-right: 24px;
            padding-bottom: 17px;
            padding-left: 24px;
            border: 1px solid var(--lp46-gold);
            text-decoration: none;
            font-family: var(--font-marcellus);
            font-weight: 400;
            font-size: 16px;
            line-height: 18px;
            letter-spacing: 0.15px;
            text-align: center;
            vertical-align: middle;
            text-transform: uppercase;
            color: var(--lp46-white);
            transition-duration: var(--lp46-transition-fast);
            
            &:hover {
                background-color: var(--lp46-gold);
                color: var(--lp46-navy);
            }
        }
    }

    figure {
        position: relative;
        aspect-ratio: 357 / 334;

        img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }
    }

    .lot-reserved {
        position: absolute;
        width: 283px;
        height: 151px;
        top: -3px;
        left: -8px;
        background: url(../images/reserved.png) no-repeat left top/contain;
    }
}

@media (min-width: 768px) {
    .lp46-lot figure {
        aspect-ratio: 590 / 334;
    }
}

/* lp46-services */
.lp46-services {
    border: 2px solid var(--lp46-gold);
    padding: 56px 16px;

    ul {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        font-size: 14px;
        line-height: 22px;
        padding: 0 10px;
        list-style: none;

        li {
            display: flex;
            align-items: start;
            gap: 8px;

            &::before {
                content: "";
                display: block;
                width: 6px;
                height: 6px;
                margin-top: .5em;
                border-radius: 50%;
                background-color: var(--lp46-gold);
                flex-shrink: 0;
            }
        }
    }
}

@media (min-width: 1200px) {
    .lp46-services {
        padding: 56px 102px;

       /*  ul {
            column-gap: 32px;
            padding: 0;

            li {
                width: calc(50% - 16px);
            }
        } */
    }
}

.view-more-btn {
    display: block;
    gap: 8px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    border: none;
    background: none;
    font-family: var(--font-marcellus);
    font-weight: 400;
    font-size: 16px;
    color: var(--lp46-navy);
    line-height: 18px;
    letter-spacing: 0.15px;
    text-transform: uppercase;
    text-decoration: none;
}

.view-more-btn::after {
    display: inline-block;
    content: '';
    width: 100%;
    height: 12px;
    background: url('../images/icon-less.svg') top center no-repeat;
    background-size: auto 100%;
}

.view-more-btn.collapsed::after {
    background-image: url('../images/arrow-down.svg');
}

.view-more-btn:not(.collapsed) .label {
    display: none;
}

.view-more {
    font-family: var(--font-marcellus);
    font-weight: 400;
    font-size: 16px;
    color: var(--lp46-navy);
    line-height: 18px;
    letter-spacing: 0.15px;
    text-transform: uppercase;
    text-decoration: none;
    gap: 8px;
}

.wrap-view-more .view-more,
.wrap-view-more .view-less {
    color: var(--lp46-navy);
    text-decoration: none;
}

.wrap-view-more:not(.is-expanded) ul li.start-view-more,
.wrap-view-more:not(.is-expanded) ul li.start-view-more~li {
    display: none;
}

.wrap-view-more:not(.is-expanded) .view-less {
    display: none;
}

.wrap-view-more.is-expanded .view-more {
    display: none !important;
}

.wrap-view-more.is-expanded .view-less {
    display: inline-flex;
}

@media (max-width: 767.97px) {
    .wrap-show-more .lp46-editor p:not(:first-of-type),
    .wrap-show-more > div:nth-child(2) {
        display: none;
    }

    .wrap-show-more:not(.is-expanded) .lp46-editor p {
        margin-bottom: 0;
    }

    .wrap-show-more .show-more,
    .wrap-show-more .show-less {
        color: var(--lp46-navy);
        text-decoration: none;
        font-weight: 700;
    }

    .wrap-show-more:not(.is-expanded) .show-less {
        display: none!important;
    }

    .wrap-show-more.is-expanded .lp46-editor p,
    .wrap-show-more.is-expanded > div:nth-child(2) {
        display: block;
    }

    .wrap-show-more.is-expanded .show-more {
        display: none;
    }
}

/* Footer */
.footer-menu {
    gap: 16px;

    a {
        color: var(--lp46-light);
        font-size: 14px;
        line-height: 22px;
        text-decoration: none;
    }

    span {
        width: 16px;
        height: 1px;
        background-color: var(--lp46-gold-dark);
    }
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
    line-height: 14px;
    letter-spacing: 0.15px;
    text-align: center;
    color: var(--lp46-navy);
}

@media (min-width: 768px) {
    .footer-info {
        text-align: right;
        font-size: 32px;
        line-height: 22px;
    }
}

/* Connexion page */
.lp46-connexion {
    min-height: 100vh;
    position: relative;
    background: url(../images/connexion.webp) center/cover no-repeat;
    color: var(--lp46-white);
    display: flex;
    align-items: center;
    padding: 80px 0;

    .lp46-connexion-overlay {
        position: absolute;
        inset: 0;
        background: rgba(10, 20, 30, 0.45);
        z-index: 0;
    }

    .lp46-connexion-inner {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: flex-start;
        justify-content: space-around;
        gap: 60px;
        max-width: 1064px;
    }

    .lp46-connexion-center {
        /* background: red; */
        max-width: 450px;
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 24px;

        .lp46-connexion-btn {
            align-self: center !important;
        }

        img {
            display: inline-block;
        }

        & > * {
            width: 100%;
            text-align: center;
            align-self: center;
        }
    }

    .lp46-connexion-left {
        max-width: 520px;
    }

    .lp46-connexion-brand {
        display: flex;
        flex-direction: column;
        gap: 6px;
        text-transform: uppercase;
        letter-spacing: 0.3em;

        .brand-number {
            font-family: var(--font-marcellus);
            font-size: 64px;
            line-height: 1;
            letter-spacing: 0.1em;
        }

        .brand-title {
            font-size: 20px;
            letter-spacing: 0.4em;
        }

        .brand-subtitle {
            font-size: 12px;
            letter-spacing: 0.3em;
            opacity: 0.8;
        }
    }

    .lp46-connexion-desc {
        margin-top: 24px;
        font-size: 16px;
        line-height: 1.36;
        position: relative;
        font-weight: 600;
    }
    
    .lp46-connexion-desc::before {
        content: "";
        display: block;
        position: absolute;
        width: 1px;
        height: 100%;
        top: 0;
        bottom: 0;
        left: -20px;
        background-color: #fff;
        opacity: 0.4;
    }

    .lp46-connexion-right {
        width: 444px;
        max-width: 100%;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .lp46-connexion-block {
        h3 {
            font-size: 20px;
            line-height: 28px;
            font-weight: 500;
            margin-bottom: 12px;
        }
    }

    .lp46-connexion-form {
        display: flex;
        flex-direction: column;
        gap: 12px;

        .form-row {
            display: flex;
            gap: 12px;
        }

        .form-field {
            display: flex;
            flex-direction: column;
            gap: 6px;
            flex: 1;
            position: relative;

            label {
                font-size: 12px;
                opacity: 0.9;
                position: absolute;
                top: 50%;
                left: 14px;
                transform: translateY(-50%);
                color: #373737;
                pointer-events: none;
                transition: all 0.3s ease;
            }

            .is-required {
                color: #ff6b6b;
            }

            input {
                border: none;
                border-radius: 4px;
                padding: 12px 14px;
                font-size: 14px;
                color: #2b2b2b;
                background: #ffffff;
            }
        }

        .form-field.is-active label {
            transform: translateY(-22px);
        }

        .form-field-small {
            max-width: 140px;
            flex: 0 0 140px;
        }

        .form-check {
            font-size: 12px;
            line-height: 18px;
            padding-left: 0;

            label {
                display: flex;
                gap: 8px;
                align-items: flex-start;
            }

            input {
                margin-top: 2px;
                width: 0;
                height: 0;
                position: absolute;
            }

            a {
                color: inherit;
            }
        }

        .form-check__mark {
            width: 16px;
            height: 16px;
            aspect-ratio: 1/1;
            /* flex-shrink: 0; */
            border-radius: 50%;
            border: 1px solid #fff;
            position: relative;
        }

        .form-check__mark::before {
            content: "✓";
            display: block;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #00152D;
            font-weight: 700;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }


        .form-check input:checked + .form-check__mark {
            background-color: #fff;
        }

        .form-check input:checked + .form-check__mark::before {
            opacity: 1;
            visibility: visible;
        }
    }

    .lp46-connexion-btn {
        align-self: flex-start;
        background: var(--lp46-navy);
        color: var(--lp46-white);
        border: none;
        padding: 10px 18px;
        font-size: 12px;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        font-weight: 600;
    }
}

@media (max-width: 991px) {
    .lp46-connexion {
        padding: 60px 0;

        .lp46-connexion-inner {
            flex-direction: column;
            gap: 32px;
        }

        .lp46-connexion-right {
            width: 100%;
            margin-top: 40px;
        }

        .lp46-connexion-form .form-row {
            flex-direction: column;
        }

        .lp46-connexion-form .form-field-small {
            max-width: 100%;
            flex: 1;
        }
    }
}

/** Map */
#map-wrapper iframe {
    aspect-ratio: 16/9;
    width: 100%;
}

/** Modal visites */
.modal-visite .modal-dialog {
    min-height: 80vh;
}

.modal-visite .modal-content {
    height: 100%;
}

.modal-visite iframe{
    width: 100%;
    height: 100%;
    border: 0;
}

#accompagnement {
    padding-top: 150px;
    padding-bottom: 0;

    > .container {
        position: relative;

        &:before {
            display: block;
            position: absolute;
            content: '';
            z-index: 0;
            left: 0;
            top: -0;
            width: 100%;
            height: 300px;
            transform: translateY(-120%);
            background: url(../images/architecte.webp) no-repeat center center;
            background-size: cover;

            @media (max-width: 576px) {
                width: 90%;
                left: 5%;
            }
        }
    }

    .row.top {
        position: relative;
        z-index: 1;
        text-align: center;
        padding-bottom: 5rem;

        h2 {
            text-transform: uppercase;
            text-wrap: pretty;
        }


        @media (max-width: 1024px) {
            padding-bottom: 3rem;
        }
    }

    .steps {
        justify-content: space-between;

        @media (max-width: 1024px) {
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 30px;
        }

        .step {
            position: relative;
            padding-bottom: 30px;
            padding-left: 40px;

            .step-num {
                display: block;
                font-size: 3rem;
                line-height: 1em;
                padding-bottom: .25em;
                color: var(--lp46-gold);
                font-family: var(--font-raleway);
            }

            .desc {
                margin-bottom: 0;

                strong {
                    text-transform: uppercase;
                }
            }

            &:before, &:after {
                display: block;
                position: absolute;
                background: var(--lp46-gold);
                content: '';
                left: 0;
                bottom: 0;
            }

            /* Vertical bar */
            &:before {
                width: 2px;
                height: 60%;
            }

            /* Horizontal bar */
            &:after {
                width: 60%;
                height: 2px;
            }

            &.step-2 {
                &:before {
                    height: 90%;
                }
                &:after {
                    width: 50%;
                }
            }

            &.step-3 {
                &:before {
                    height: 40%;
                }
                &:after {
                    width: 90%;
                }
            }
        }
    }

    .legal {
        margin-top: 150px;
        text-align: center;
        font-size: .9rem;
    }
}