#box h2 {
    text-transform: uppercase;
    font-size: 3.5rem;
    margin: 20px 80px;
}

#box .box-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

#box .box-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 95%;
}

#box .box-info {
    width: 48%;
    padding: 40px 80px;
}

#box .box-image {
    width: 52%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

#box h4 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin: 0 15px;
}

#box .box-surface{
    font-size: 8rem;
    margin: 0 15px;
    font-weight: bold;
    text-align: end;
}

#box .box-price {
    background-color: var(--secondary-color);
    color: #fff;
    margin: 0;
    padding: 5px 10px;
    font-size: 6rem;
    text-align: center;
    font-family: 'Helvetica', sans-serif;
}

#box .box-price-unit {
    font-size: 3rem;
}

#box .box-caracterisques-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 250px;
}

#box .box-caracterisques-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 30%;
    height: 100%;
    padding: 20px;
}

#box .box-caracterisques-image {
    width: 80%;
}

#box .box-caracterisques-item p {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 10px 0;
    text-align: center;
}

#box .box-button {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#box .box-button button {
    text-transform: uppercase;
    font-size: 3.5rem;
    color: #fff;
    background-color: var(--primary-color);
    padding: 20px 40px;
    margin: 20px 0;
    border: 4px solid var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

#box .box-button button:hover {
    background-color: #fff;
    color: var(--primary-color);
}

#box .box-image-principale {
    width: 100%;
    height: 700px;
}
#box .box-image-principale img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#box .box-image-secondaires {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    margin-top: 20px;
    overflow-x: auto;
    height: 150px;
}

#box .box-image-secondaires img {
    width: 25%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0px 5px;
}

.image-mobile {
    display: none!important;
}

#box .box-img {
    height: 100%;
}

@media (max-width: 1200px) {
    #box h2 {
        font-size: 3rem;
        margin: 20px 40px;
    }

    #box .box-image {
        width: 80%;
    }

    #box .box-item {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    #box .box-info {
        width: 100%;
        padding: 40px;
    }

    #box h4 {
        font-size: 3rem;
        margin: 10px 0;
    }

    #box .box-surface {
        font-size: 6rem;
        margin: 10px 0;
        text-align: center;
    }

    #box .box-price {
        font-size: 5rem;
        margin: 10px 0;
    }

    #box .box-price-unit {
        font-size: 2.5rem;
    }

    #box .box-caracterisques-list {
        height: auto;
    }

    #box .box-caracterisques-image {
        width: 50%;
    }

    #box .box-caracterisques-item p {
        font-size: 2rem;
    }

    #box .box-button button {
        font-size: 3rem;
        padding: 15px 30px;
    }

    #box .box-image-principale {
        height: auto;
    }

    .image-mobile {
        display: block!important;
    }

    .image-desktop {
        display: none!important;
    }
}

@media (max-width: 768px) {
    #box h2 {
        font-size: 2.5rem;
        margin: 20px 20px;
    }

    #box .box-item {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    #box .box-info {
        width: 100%;
        padding: 20px;
    }

    #box h4 {
        font-size: 2.5rem;
        margin: 10px 0;
    }

    #box .box-surface {
        font-size: 5rem;
        margin: 10px 0;
        text-align: center;
    }

    #box .box-price {
        font-size: 4rem;
        margin: 10px 0;
    }

    #box .box-price-unit {
        font-size: 2rem;
    }

    #box .box-caracterisques-list {
        height: 200px;
    }

    #box .box-caracterisques-image {
        width: 80%;
    }

    #box .box-caracterisques-item p {
        font-size: 1.5em;
    }


    #box .box-button button {
        font-size: 2.5rem;
        padding: 15px 30px;
    }

    #box .box-image {
        width: 100%;
        height: auto;
        margin-top: 20px;
        padding: 10px;
    }

    #box .box-image-principale {
        height: 400px;
    }

    .image-mobile {
        display: block!important;
    }

    .image-desktop {
        display: none!important;
    }
}