.secteurs-activites-wrapper{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    
    .secteurs-activite-card-image{
        width: 100%;
    }

    .secteurs-activites-card {
        width: calc(33% - 10px);
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        position: relative;
    }
    .secteurs-activite-overlay {
        height: 100%;
        width: 100%;
        position: absolute;
        background: linear-gradient(180deg, rgb(10 18 25 / 0%) 26%, rgb(10 18 25 / 88%) 90%);
        background-color: rgba(10, 18, 25, 0);
        backdrop-filter: blur(0px);
        transition: all 0.7s ease;
    }
    .secteurs-activite-card-content{
        position: absolute;
        bottom: 0;
        display: flex;
        padding: 25px;
        flex-direction: column;
        gap: 0;
        transition: all 1s ease;
    }

    .secteur-activite-button{
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        display: inherit;
        transition: all 1s ease;
        position: relative;
        width: fit-content;
        bottom: -50px;
        padding: 0 2.5em 0 1.5em !important;

    }

    .secteur-activite-button::after {
        content: url(/wp-content/uploads/fleche-btn.svg) !important;
        margin-top: 1px;
        opacity: 1;
        left: auto;
        right: 0.7em;
    }

    .secteurs-activites-card:hover, .secteurs-activites-card:focus {
        .secteurs-activite-card-content {
            gap: 20px;
        }
        .secteur-activite-button{
            max-height: 80px;
            opacity: 1;
            bottom: 0;
            visibility: visible;
            padding: 5px 2.5em 5px 1.5em !important;
        }
        .secteurs-activite-overlay{
            background-color: rgba(10, 18, 25, 0.60);
            backdrop-filter: blur(10px);
        }

    }
    
}

/* Tablette : passe en 1 colonne avant que ça ne se serre trop */
@media screen and (max-width: 900px) {
    .secteurs-activites-wrapper .secteurs-activites-card {
        width: calc(50% - 10px);
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        position: relative;
    }
}

/* Mobile : padding compact */
@media screen and (max-width: 600px) {
    .secteurs-activites-wrapper .secteurs-activites-card {
        width: calc(100% - 10px);
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        position: relative;
    }
}



/* Témoignages secteur — wrapper commun (slider OU card fixe) */
.temoignage-wrapper {
    width: 100%;
    max-width: 73vw;
    border-radius: 12px;
    overflow: hidden;
}
.temoignage-wrapper.swiper-secteurs-temoignages {
    position: relative;
    padding-bottom: 40px; /* place pour la pagination */
}

.secteurs-temoignage-card {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    background: #DCEEF1;
    align-items: center;
}
.secteurs-temoignage-card .temoignage-card-image {
    width: 45%;
    flex-shrink: 0;
    overflow: hidden;
}
.secteurs-temoignage-card .temoignage-card-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}
.secteurs-temoignage-card .temoignage-card-content {
    width: 55%;
    padding: 36px 40px;
    color: #04221D;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.secteurs-temoignage-card .temoignage-card-title {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: space-between;
    align-items: flex-start;
}
.secteurs-temoignage-card .temoignage-card-title h2 {
    flex: 1;
    margin: 0;
    color: #182530;
    font-weight: 700;
}
.secteurs-temoignage-card .icone-temoignage {
    flex-shrink: 0;
    width: 40px;
    height: auto;
    margin-top: 4px;
}
.secteurs-temoignage-card .temoignage-card-contenu {
    color: #1E1E1E;
}
.secteurs-temoignage-card .temoignage-card-contenu p:last-child {
    margin-bottom: 0;
}
.secteurs-temoignage-card .temoignage-card-signature {
    margin-top: auto;
    padding-top: 8px;
    color: #1E1E1E;
}
.secteurs-temoignage-card .temoignage-card-signature p {
    margin: 0;
    padding: 0;
}
.secteurs-temoignage-card .temoignage-card-signature strong {
    font-weight: 700;
}

/* Pagination Swiper */
.swiper-secteurs-temoignages .secteurs-temoignages-pagination {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}
.swiper-secteurs-temoignages .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #BBFEF1;
    opacity: .4;
    border-radius: 50%;
    transition: opacity .2s ease, transform .2s ease;
}
.swiper-secteurs-temoignages .swiper-pagination-bullet-active {
    opacity: 1;
    background: #34B4A3;
    transform: scale(1.2);
}

@media screen and (max-width: 900px) {
    .temoignage-wrapper {
        max-width: 100%;
    }
    .secteurs-temoignage-card {
        flex-direction: column;
    }
    .secteurs-temoignage-card .temoignage-card-image,
    .secteurs-temoignage-card .temoignage-card-content {
        width: 100%;
    }
    .secteurs-temoignage-card .temoignage-card-image {
        aspect-ratio: 16 / 9;
    }
    .secteurs-temoignage-card .temoignage-card-content {
        padding: 28px 24px;
    }
}