.choice-card--container {
    padding: 24px 16px
}

@media screen and (min-width: 1280px) {
    .choice-card--container {
        padding: 0 80px
    }
}

.choice-card--header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    text-wrap: balance;
    align-items: center;
    margin-bottom: 24px
}

@media screen and (min-width: 992px) {
    .choice-card--header {
        margin-bottom: 64px
    }
}

.choice-card--list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px
}

@media screen and (min-width: 580px) {
    .choice-card--list {
        flex-direction: row;
        align-items: stretch;
        flex-wrap: wrap;
        justify-content: center
    }
}

.choice-card--item {
    width: 100%;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: 300px;
    flex-shrink: 0
}

@media screen and (min-width: 580px) {
    .choice-card--item {
        width: calc(50% - 12px)
    }
}

@media screen and (min-width: 1280px) {
    .choice-card--item {
        width: calc(25% - 16px)
    }
}

.choice-card--item img {
    height: 250px;
    -o-object-fit: cover;
    object-fit: cover
}

.choice-card--item .content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--color);
    padding: 24px 16px;
    flex: 1
}

.choice-card--item .content::before {
    content: '';
    width: 100%;
    height: 32px;
    -webkit-mask: url("../images/pattern.svg") no-repeat top;
    mask: url("../images/pattern.svg") no-repeatr top;
    -webkit-mask-size: cover;
    mask-size: cover;
    background: var(--color);
    position: absolute;
    bottom: calc(100% - 1px);
    left: 0
}

.choice-card--item h3,
.choice-card--item p {
    color: var(--vert-anglais)
}

.choice-card--item .btn {
    margin-top: auto
}

.choice-card h2 {
    color: var(--orange)
}

.choice-card.has-background {
    background: var(--vert)
}

.choice-card.has-background h2 {
    color: white
}

.choice-card.has-background .uptitle {
    color: var(--pomme)
}

.choice-card.has-background .choice-card--container {
    padding-top: 24px;
    padding-bottom: 24px
}

@media screen and (min-width: 992px) {
    .choice-card.has-background .choice-card--container {
        padding-top: 80px;
        padding-bottom: 80px
    }
}