/* ── Univers ─────────────────────────────────────────────────────────────── */

.flexible-univers {
    padding: 100px 0;
    background: #f4f4f4;
    overflow: hidden;
}

.flexible-univers__inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

.flexible-univers__titre {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 60px;
}

/* Swiper */
.flexible-univers__swiper-outer {
    overflow: hidden;
    width: 100%;
}

.flexible-univers__swiper {
    overflow: visible;
    padding: 20px 40px;
    box-sizing: border-box;
}

.flexible-univers__swiper .swiper-wrapper {
    align-items: stretch;
}

.flexible-univers__swiper .swiper-slide {
    height: auto;
}

/* Card */
.flexible-univers__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    height: 340px;
    padding: 28px 24px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.07);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.flexible-univers__card:hover {
    box-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.13);
    transform: translateY(-4px);
}

/* Icône */
.flexible-univers__card-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.flexible-univers__card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Corps */
.flexible-univers__card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow: hidden;
}

.flexible-univers__card-titre {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0;
    flex-shrink: 0;
}

.flexible-univers__card-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #555;
    margin: 0;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.flexible-univers__card-description::-webkit-scrollbar {
    display: none;
}

/* Footer card */
.flexible-univers__card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
}

.flexible-univers__card-cta {
    font-size: 14px;
    font-weight: 600;
    color: #2d6dbb;
    display: flex;
    align-items: center;
    gap: 6px;
}

.flexible-univers__card-cta::after {
    content: '→';
}

.flexible-univers__card-dots {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.flexible-univers__card-dots span {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2d6dbb;
}

/* Tablette */
@media (max-width: 1024px) {
    .flexible-univers {
        padding: 80px 0;
    }

    .flexible-univers__titre {
        font-size: 38px;
        margin-bottom: 40px;
    }

    .flexible-univers__swiper {
        padding: 20px 24px;
    }

    .flexible-univers__card {
        height: 310px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .flexible-univers {
        padding: 60px 0;
    }

    .flexible-univers__titre {
        font-size: 30px;
        text-align: left;
        margin-bottom: 32px;
    }

    .flexible-univers__inner {
        padding: 0 24px;
    }

    .flexible-univers__swiper {
        padding: 20px 24px;
    }

    .flexible-univers__card {
        height: auto;
        min-height: 260px;
    }

    .flexible-univers__card-description {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }
}
