.splide__slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.splide__track {
    height: calc(30vh + 50vw);
    max-height: 100vh;
}

.splide__pagination__page.is-active {
    background-color: var(--primary-color);
}

.home-products {
    margin: 35px auto;
    padding: var(--margin-normal);
    background-color: var(--tertiary-color);
    border-radius: 35px;
    max-width: 1700px;
}

.home-products>.presentation-title {
    margin-bottom: 2rem;
    color: var(--secondary-color);
    text-align: center;
    font-size: clamp(32px, 3vw, 50px);
}

.home-products>.presentation {
    max-width: 1175px;
    margin: auto;
    text-align: center;
    font-size: clamp(15px, 3vw, 24px);
    color: var(--font-grey);
    margin-bottom: 2rem;
}

.card-list {
    gap: var(--margin-small);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    margin-top: 2rem;
    padding: 20px;
}

.card-list .card-item {
    width: calc(50% - var(--margin-small)/2);
    background: var(--white);
    border-radius: 35px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.04);
    list-style: none;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.5s ease;
    height: 840px;
}


.card-list .card-item img {
    width: 100%;
    aspect-ratio: 16/9;
    border-top-right-radius: 35px;
    border-top-left-radius: 35px;
    object-fit: cover;
}

.card-list span {
    display: inline-block;
    background: #F7DFF5;
    margin-top: 32px;
    padding: 8px 15px;
    font-size: 0.75rem;
    border-radius: 50px;
    font-weight: 600;
}

.card-item h3 {
    color: var(--secondary-color);
    font-size: clamp(20px, 2vw, 36px);
    margin-top: 28px;
    margin-left: 28px;
    margin-right: 28px;
    font-family: var(--font-family-Poppins-SemiBold)
}

.card-item p {
    color: var(--font-grey);
    font-size: clamp(15px, 3vw, 24px);
    margin-top: 28px;
    margin-left: 28px;
    margin-right: 28px;
    font-weight: 500;
}

.card-item .card-btn {
    margin: 28px;
    padding: 20px 25px;
    font-size: clamp(17px, 3vw, 23px);
    text-align: center;
    color: var(--font-grey);
    border: 1px solid var(--font-grey);
    font-weight: 700;
    border-radius: 40px;
    transition: 0.2s ease;
    transform: scale(1);
}

.card-list .card-item .card-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.devis {
    margin: 2.5rem auto;
    padding: 40px;
    background-color: var(--tertiary-color);
    border-radius: 35px;
    max-width: 1700px;
}

.devis>.devis-card-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.devis-card-wrapper>.first-column {
    width: 30%;
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
}

.devis-card-wrapper>.first-column>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
}

.devis-card-wrapper>.column {
    padding: 4rem 7rem;
    width: 70%;
    background-color: var(--secondary-color);
    border-top-right-radius: 35px;
    border-bottom-right-radius: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
}

.devis-card-wrapper>.column>h2 {
    font-size: clamp(24px, 6vw, 52px);
    margin-bottom: 2rem;
    color: var(--white);
}

.devis-card-wrapper>.column>p {
    font-size: clamp(18px, 3vw, 30px);
    margin-bottom: 2rem;
    color: var(--white);
}

.devis-card-wrapper>.column>.card-btn {
    margin-top: clamp(22px, 4vw, 32px);
    padding: 20px 25px;
    font-size: clamp(18px, 3vw, 23px);
    text-align: center;
    color: var(--white);
    background-color: var(--primary-color);
    font-weight: 700;
    border-radius: 40px;
    transition: 0.2s ease;
    transform: scale(1);
}

.devis-card-wrapper>.column>.card-btn:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.map {
    margin: 2.5rem auto;
    padding: 40px;
    background-color: var(--tertiary-color);
    border-radius: 35px;
    max-width: 1700px;
}

.map-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.map-wrapper .first-column {
    width: 45%;
    background-color: var(--white);
    color: var(--primary-color);
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
    padding: 2.5rem;
}

.map-wrapper .first-column h2 {
    font-family: var(--font-primary-regular);
    color: var(--secondary-color);
    font-size: clamp(20px, 3vw, 40px);
    font-weight: 700;
    margin-bottom: 2rem;
}

.map-wrapper .first-column .title-alternate {
    color: var(--primary-color);
    font-family: var(--font-primary-regular);
    font-size: clamp(20px, 3vw, 40px);
    font-weight: 700;
}

.map-wrapper .first-column p {
    font-family: var(--font-primary-regular);
    color: var(--primary-color);
    font-size: clamp(20px, 3vw, 28px);
}

.map-wrapper .column {
    width: 55%;
}

.adress-row {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.adress-row img {
    width: 80px;
}

.adress-row p {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid var(--primary-color);
}

#map {
    height: 100%;
    border-top-right-radius: 35px;
    border-bottom-right-radius: 35px;
}

@media screen and (max-width: 1200px) {
    .card-list .card-item {
        width: 100%;
        height: 100%;
        margin-bottom: 10px;
        border-top-right-radius: 35px;
        border-bottom-right-radius: 35px;
    }

    .card-list {
        padding: 0;
    }

    /* .map-wrapper .first-column {
        width: 100%;
    } */

    .map {
        width: 95%;
        padding: 15px;
    }

    .map-wrapper .first-column {
        width: 100%;
        border-top-right-radius: 35px;
        border-bottom-right-radius: 35px;
    }

    #map {
        width: 100%;
        border-radius: 0;
    }

    .map-wrapper .column {
        width: 100%;
        padding: 15px;
        height: 220px;
    }

    .adress-row img {
        width: 40px;
    }

    .devis {
        width: 95%;
    }
}

@media screen and (max-width: 980px) {
    .card-list {
        margin: 0 auto;
    }

    .devis-card-wrapper>.first-column {
        width: 100%;
    }

    .devis-card-wrapper>.column {
        width: 100%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 35px;
        border-bottom-right-radius: 35px;
        padding: 20px;
    }

    .devis-card-wrapper>.first-column>img {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
}