.approche-combinatoire {
    position: relative;
    padding: 40px 0 80px;
}

.approche-combinatoire .wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Stacker === */
.approche-stacker {
    position: relative;
    width: 100%;
    padding: 30px 70px 40px;
}

.approche-stacker__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* hauteur calculée pour caser le contenu d'une carte avec marge */
    min-height: 540px;
}

/* La scène où les cartes sont absolument positionnées
   Décalée vers le centre horizontal pour laisser de la place à la pile à gauche */
.approche-stacker__stage {
    position: relative;
    width: 100%;
    height: 100%;
    /* La carte active (translate 0) est centrée horizontalement ; la pile peut
       déborder vers la gauche, les "next" vers la droite */
    margin-left: calc(50% - 340px / 2);
}

/* === Cartes === */
.approche-card {
    position: absolute;
    top: 20px;
    left: 0;
    width: 340px;
    max-width: 75vw;
    min-height: 400px;
    box-sizing: border-box;
    border-radius: 22px;
    padding: 38px 30px;
    color: #fff;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
    transition: transform .55s cubic-bezier(.4, .2, .2, 1), opacity .45s ease;
    transform-origin: center center;
    will-change: transform, opacity;
    display: flex;
}

.approche-card__inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    flex: 1;
}

.approche-card__icon {
    width: 100px;
    height: 100px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.approche-card__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.approche-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.approche-card__title {
    color: #fff;
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.approche-card__text {
    color: #fff;
    font-size: 15px;
    line-height: 1.55;
}

.approche-card__text p {
    margin: 0 0 10px;
}

.approche-card__text p:last-child {
    margin: 0;
}

/* Désactive les puces feuilles globales à l'intérieur des cartes */
body:not(.elementor-editor-active) main .approche-card ul li::before,
body:not(.elementor-editor-active) main .approche-card ol li::before {
    content: none;
    background-image: none;
}

/* === Couleurs de fond === */
.approche-card--vert-500 {
    background: var(--c-vert-500, #5A9143);
}

.approche-card--bleu-500 {
    background: var(--c-bleu-500, #6CB9DD);
}

.approche-card--vert-900 {
    background: var(--c-vert-900, #085D2D);
}

.approche-card--vert-300 {
    background: var(--c-vert-300, #C1C931);
}

/* === Carte outro (transparente) === */
.approche-card--outro {
    background: rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .35);
    color: var(--c-noir-500, #3D3C3A);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    display: flex;
    align-items: center;
}

.approche-card__inner--center {
    justify-content: center;
    align-items: center;
}

.approche-card__outro-text {
    color: var(--c-noir-500, #3D3C3A);
    font-family: inherit;
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* === Navigation (flèches latérales) === */
.approche-nav__btn,
.approche-nav__btn:link,
.approche-nav__btn:visited {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: 0 !important;
    background: rgba(0, 0, 0, .45) !important;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease, opacity .2s ease;
    -webkit-appearance: none;
    appearance: none;
    padding: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15) !important;
    outline: 0;
    text-decoration: none !important;
    z-index: 200;
}

/* Flèche prev : positionnée juste à gauche de la zone d'empilement
   (les cartes sont centrées + pile qui dépasse ~50px à gauche).
   max() garantit un minimum de 8px de marge sur petits écrans. */
.approche-nav__btn--prev {
    left: max(8px, calc(50% - 280px)) !important;
}

.approche-nav__btn--next {
    right: 8px !important;
}

.approche-nav__btn:hover,
.approche-nav__btn:focus,
.approche-nav__btn:active,
.approche-nav__btn:focus-visible {
    background: var(--c-vert-900, #085D2D) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.approche-nav__btn:focus-visible {
    outline: 2px solid var(--c-vert-500, #5A9143);
    outline-offset: 2px;
}

.approche-nav__btn:disabled,
.approche-nav__btn[disabled] {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.approche-nav__btn svg {
    pointer-events: none;
    fill: #fff;
    display: block;
}

.approche-nav__btn svg polygon,
.approche-nav__btn:hover svg polygon,
.approche-nav__btn:focus svg polygon,
.approche-nav__btn:active svg polygon {
    fill: #fff !important;
}

@media (max-width: 900px) {
    .approche-stacker {
        padding: 30px 56px 40px;
    }

    .approche-stacker__viewport {
        min-height: 460px;
    }

    .approche-card {
        width: 280px;
        min-height: 420px;
        padding: 30px 24px;
    }

    .approche-stacker__stage {
        margin-left: calc(50% - 280px / 2);
    }

    .approche-card__icon {
        width: 80px;
        height: 80px;
    }

    .approche-card__title {
        font-size: 18px;
    }

    .approche-card__text {
        font-size: 14px;
    }

    .approche-nav__btn,
    .approche-nav__btn:link,
    .approche-nav__btn:visited {
        width: 40px !important;
        height: 40px !important;
    }

    .approche-nav__btn--prev {
        left: max(8px, calc(50% - 220px)) !important;
    }
}

/* === Mobile : viewport étroit → card plein cadre, flèches sous la card === */
@media (max-width: 600px) {
    .approche-stacker {
        padding: 20px 8px 80px;
    }

    .approche-stacker__viewport {
        min-height: 440px;
    }

    .approche-card {
        width: min(280px, 88vw);
        min-height: 400px;
        padding: 28px 22px;
    }

    .approche-stacker__stage {
        margin-left: calc(50% - min(280px, 88vw) / 2);
    }

    .approche-nav__btn,
    .approche-nav__btn:link,
    .approche-nav__btn:visited {
        top: auto !important;
        bottom: 18px !important;
        transform: none !important;
        width: 44px !important;
        height: 44px !important;
    }

    .approche-nav__btn--prev {
        left: calc(50% - 56px) !important;
    }

    .approche-nav__btn--next {
        right: calc(50% - 56px) !important;
    }
}

.approche-card__outro-link {
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.approche-card__outro-link .approche-card__outro-text {
    transition: color .2s ease-in-out;
}

.approche-card__outro-link:hover .approche-card__outro-text {
    color: var(--c-vert-900, #085D2D);
}

.approche-combinatoire__cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.approche-combinatoire__btn,
.approche-combinatoire__btn:link,
.approche-combinatoire__btn:visited {
    display: inline-block;
    padding: .8rem 3rem;
    background: var(--c-vert-900, #085D2D);
    color: #FFFFFF;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--c-vert-900, #085D2D);
    border-radius: 30px;
    transition: background-color .2s ease-in-out, color .2s ease-in-out;
}

.approche-combinatoire__btn:hover,
.approche-combinatoire__btn:focus {
    background: #FFFFFF;
    color: var(--c-vert-900, #085D2D);
}
