/* Classe pour l'animation */
.fade-scale {
    opacity: 0.2;
    transform-origin: bottom center;
    transition: opacity 0.8s ease-in, transform 0.4s ease-in;
}

/* Classe pour déclencher l'animation */
.fade-scale.visible {
    opacity: 1;
}

.content-wrapper {
    max-width: 1080px;
    margin: auto;
    padding-bottom: 5rem;
    display: flex;
    flex-direction: column;
}

.project-identity {
    margin: 10rem 0 1rem 0;
}

.project-identity h2 {
    font-size: 3.5rem;
}

.properties {
    display: flex;
}

.property {
    display: flex;
    flex-direction: column;
    align-items: start;
    min-width: 15%;
    font-size: 0.8rem;
}

.property .label {
    font-weight: 100;
}

.property .chip-group {
    display: flex;
    gap: 0.5rem;
}

.property .value {
    padding-top: 0.5rem;
    font-weight: 400;
}

.property .chip {
    margin: 0.4rem 0 0 0;
}

.fullscreen-picture {
    width: 100%;
    margin: 0.5rem 0 0.5rem 0;
    border-radius: 15px;
}

.projects-header {
    margin: 5rem 0 5rem 0;
    width: 40vw;
}

.projects-header--right {
    align-self: flex-end;
}

.projects-header h3 {
    margin-bottom: 1rem;
}

.footer-suggestions {
    max-width: 1110px;
    margin: 0 auto 12rem auto;
}

.footer-suggestions h2 {
    margin-left: 13px;
}

.suggestions-row {
    display: flex;
    overflow: hidden;
    padding: 10px 0;
}

.suggestion {
    padding: 0 15px;
    flex: 1;
    color: #000;
}

.suggestion a {
    text-decoration: none;
    color: #000;
}

.suggestion img {
    width: 100%;
    transition: transform 0.3s ease;
    background-size: cover;
    border-radius: 15px;
}

.suggestion:hover img {
    content: var(--alt);
    transform: scale(1.02);
}

.suggestion-title {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.suggestion-title h5 {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-identity-chips {
    display: flex;
}

.price {
    margin: 8rem 0;
    position: relative;
}

.price img:first-of-type {
    max-width: 80%;
}

.price img:last-of-type {
    position: absolute;
    top: -50%;
    right: 0;
    height: 15rem;
}

.price-divider {
    width: 100%;
    height: 0.7px;
    background-color: white;
    margin: 1rem 0;
}

.price-bottom {
    display: flex;
    justify-content: space-between;
    padding-right: 15.5rem;
}

.--bold {

    font-weight: 700;
}

@media (max-width: 1080px) {

    .property .chip-group {
        flex-direction: column;
        gap: 0;
    }

    .property {
        flex: 1;
    }

    .content-wrapper {
        padding: 0 2rem 5rem 2rem;
    }

    .properties {
        width: 100%;
    }

    .projects-header {
        width: 100%;
    }


    .footer-suggestions {
        width: 100%;
        margin-bottom: 10vh;
    }

    .suggestions-row {
        overflow-x: scroll;
        padding-bottom: 2rem;
        width: 100%;
    }

    .suggestion {
        width: 65vw;
    }

    .suggestion img {
        width: calc(65vw - 30px);
    }

    .suggestion:hover img {
        content: var(--alt);
        transform: scale(1);
    }

    .price {
        margin: 8rem 0;
        position: relative;
    }

    .price-top {
        display: flex;
        flex-direction: row;
        align-items: end;
    }

    .price-top span {
        flex: 1;
        font-weight: 700;
        font-size: 4rem;
    }

    .price img:first-of-type {
        width: 55%;
    }

    .price img:last-of-type {
        position: relative;
        top: 0;
        right: 0;
        height: auto;
        width: 40%;
        margin-left: 5%;
    }

    .price-divider {
        width: 100%;
        height: 0.7px;
        background-color: white;
        margin: 1rem 0;
    }

    .price-bottom {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-right: 15vw;
        gap: 1.5rem;
    }
}